From 310913f9ddf767ba232fadb5c32ee255622f9843 Mon Sep 17 00:00:00 2001 From: LinMoQC Date: Tue, 20 Feb 2024 15:24:55 +0000 Subject: [PATCH] deploy: 13162df26f64e492c466b397bb15901e1cbab8bd --- .../{index--QSuqtyw.js => index--2t6i7pD.js} | 2 +- .../{index-rnndzlgz.js => index-DS5Cr3VX.js} | 442 +++++++++--------- index.html | 2 +- 3 files changed, 223 insertions(+), 223 deletions(-) rename assets/{index--QSuqtyw.js => index--2t6i7pD.js} (99%) rename assets/{index-rnndzlgz.js => index-DS5Cr3VX.js} (74%) diff --git a/assets/index--QSuqtyw.js b/assets/index--2t6i7pD.js similarity index 99% rename from assets/index--QSuqtyw.js rename to assets/index--2t6i7pD.js index 3b91829..f39a488 100644 --- a/assets/index--QSuqtyw.js +++ b/assets/index--2t6i7pD.js @@ -1,4 +1,4 @@ -import{g as hl}from"./index-rnndzlgz.js";function cl(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&cl(t)}),n}class Ir{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function _l(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ue(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const i in a)t[i]=a[i]}),t}const Ml="",Ar=n=>!!n.scope,Ll=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,i)=>`${a}${"_".repeat(i+1)}`)].join(" ")}return`${e}${n}`};class xl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=_l(e)}openNode(e){if(!Ar(e))return;const t=Ll(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){Ar(e)&&(this.buffer+=Ml)}value(){return this.buffer}span(e){this.buffer+=``}}const vr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class dr{constructor(){this.rootNode=vr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=vr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{dr._collapse(t)}))}}class Pl extends dr{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new xl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function dl(n){return Se("(?=",n,")")}function wl(n){return Se("(?:",n,")*")}function kl(n){return Se("(?:",n,")?")}function Se(...n){return n.map(t=>Oe(t)).join("")}function Ul(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function ur(...n){return"("+(Ul(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function ul(n){return new RegExp(n.toString()+"|").exec("").length-1}function Fl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const Bl=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function mr(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const i=t;let o=Oe(a),s="";for(;o.length>0;){const r=Bl.exec(o);if(!r){s+=o;break}s+=o.substring(0,r.index),o=o.substring(r.index+r[0].length),r[0][0]==="\\"&&r[1]?s+="\\"+String(Number(r[1])+i):(s+=r[0],r[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Gl=/\b\B/,ml="[a-zA-Z]\\w*",Er="[a-zA-Z_]\\w*",El="\\b\\d+(\\.\\d+)?",pl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Sl="\\b(0b[01]+)",Yl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ql=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=Se(e,/.*\b/,n.binary,/\b.*/)),ue({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Hl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Vl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},Wl={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Me=function(n,e,t={}){const a=ue({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=ur("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:Se(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},zl=Me("//","$"),Kl=Me("/\\*","\\*/"),$l=Me("#","$"),Ql={scope:"number",begin:El,relevance:0},Xl={scope:"number",begin:pl,relevance:0},Zl={scope:"number",begin:Sl,relevance:0},Jl={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},jl={scope:"title",begin:ml,relevance:0},ec={scope:"title",begin:Er,relevance:0},tc={begin:"\\.\\s*"+Er,relevance:0},nc=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var De=Object.freeze({__proto__:null,APOS_STRING_MODE:Hl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:Zl,BINARY_NUMBER_RE:Sl,COMMENT:Me,C_BLOCK_COMMENT_MODE:Kl,C_LINE_COMMENT_MODE:zl,C_NUMBER_MODE:Xl,C_NUMBER_RE:pl,END_SAME_AS_BEGIN:nc,HASH_COMMENT_MODE:$l,IDENT_RE:ml,MATCH_NOTHING_RE:Gl,METHOD_GUARD:tc,NUMBER_MODE:Ql,NUMBER_RE:El,PHRASAL_WORDS_MODE:Wl,QUOTE_STRING_MODE:Vl,REGEXP_MODE:Jl,RE_STARTERS_RE:Yl,SHEBANG:ql,TITLE_MODE:jl,UNDERSCORE_IDENT_RE:Er,UNDERSCORE_TITLE_MODE:ec});function ac(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function rc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function ic(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=ac,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function oc(n,e){Array.isArray(n.illegal)&&(n.illegal=ur(...n.illegal))}function sc(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function lc(n,e){n.relevance===void 0&&(n.relevance=1)}const cc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=Se(t.beforeMatch,dl(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},_c=["of","and","for","in","not","or","if","then","parent","list","value"],dc="keyword";function gl(n,e,t=dc){const a=Object.create(null);return typeof n=="string"?i(t,n.split(" ")):Array.isArray(n)?i(t,n):Object.keys(n).forEach(function(o){Object.assign(a,gl(n[o],e,o))}),a;function i(o,s){e&&(s=s.map(r=>r.toLowerCase())),s.forEach(function(r){const l=r.split("|");a[l[0]]=[o,uc(l[0],l[1])]})}}function uc(n,e){return e?Number(e):mc(n)?0:1}function mc(n){return _c.includes(n.toLowerCase())}const yr={},pe=n=>{console.error(n)},Dr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},Te=(n,e)=>{yr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),yr[`${n}/${e}`]=!0)},he=new Error;function Tl(n,e,{key:t}){let a=0;const i=n[t],o={},s={};for(let r=1;r<=e.length;r++)s[r+a]=i[r],o[r+a]=!0,a+=ul(e[r-1]);n[t]=s,n[t]._emit=o,n[t]._multi=!0}function Ec(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;Tl(n,n.begin,{key:"beginScope"}),n.begin=mr(n.begin,{joinWith:""})}}function pc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;Tl(n,n.end,{key:"endScope"}),n.end=mr(n.end,{joinWith:""})}}function Sc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function gc(n){Sc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Ec(n),pc(n)}function Tc(n){function e(s,r){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(r?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,r]),this.matchAt+=ul(r)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const r=this.regexes.map(l=>l[1]);this.matcherRe=e(mr(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(r);if(!l)return null;const c=l.findIndex((d,m)=>m>0&&d!==void 0),_=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,_)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const l=new t;return this.rules.slice(r).forEach(([c,_])=>l.addRule(c,_)),l.compile(),this.multiRegexes[r]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(r,l){this.rules.push([r,l]),l.type==="begin"&&this.count++}exec(r){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(r);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const _=this.getMatcher(0);_.lastIndex=this.lastIndex+1,c=_.exec(r)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const r=new a;return s.contains.forEach(l=>r.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&r.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&r.addRule(s.illegal,{type:"illegal"}),r}function o(s,r){const l=s;if(s.isCompiled)return l;[rc,sc,gc,cc].forEach(_=>_(s,r)),n.compilerExtensions.forEach(_=>_(s,r)),s.__beforeBegin=null,[ic,oc,lc].forEach(_=>_(s,r)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=gl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(c,!0),r&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&r.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+r.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(_){return bc(_==="self"?s:_)})),s.contains.forEach(function(_){o(_,l)}),s.starts&&o(s.starts,r),l.matcher=i(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=ue(n.classNameAliases||{}),o(n)}function bl(n){return n?n.endsWithParent||bl(n.starts):!1}function bc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return ue(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:bl(n)?ue(n,{starts:n.starts?ue(n.starts):null}):Object.isFrozen(n)?ue(n):n}var Rc="11.9.0";class Cc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const xe=_l,hr=ue,Mr=Symbol("nomatch"),Nc=7,Rl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pl};function l(b){return r.noHighlightRe.test(b)}function c(b){let v=b.className+" ";v+=b.parentNode?b.parentNode.className:"";const M=r.languageDetectRe.exec(v);if(M){const w=h(M[1]);return w||(Dr(o.replace("{}",M[1])),Dr("Falling back to no-highlight mode for this block.",b)),w?M[1]:"no-highlight"}return v.split(/\s+/).find(w=>l(w)||h(w))}function _(b,v,M){let w="",F="";typeof v=="object"?(w=b,M=v.ignoreIllegals,F=v.language):(Te("10.7.0","highlight(lang, code, ...args) has been deprecated."),Te("10.7.0",`Please use highlight(code, options) instead. +import{g as hl}from"./index-DS5Cr3VX.js";function cl(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&cl(t)}),n}class Ir{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function _l(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ue(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const i in a)t[i]=a[i]}),t}const Ml="",Ar=n=>!!n.scope,Ll=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,i)=>`${a}${"_".repeat(i+1)}`)].join(" ")}return`${e}${n}`};class xl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=_l(e)}openNode(e){if(!Ar(e))return;const t=Ll(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){Ar(e)&&(this.buffer+=Ml)}value(){return this.buffer}span(e){this.buffer+=``}}const vr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class dr{constructor(){this.rootNode=vr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=vr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{dr._collapse(t)}))}}class Pl extends dr{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new xl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function dl(n){return Se("(?=",n,")")}function wl(n){return Se("(?:",n,")*")}function kl(n){return Se("(?:",n,")?")}function Se(...n){return n.map(t=>Oe(t)).join("")}function Ul(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function ur(...n){return"("+(Ul(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function ul(n){return new RegExp(n.toString()+"|").exec("").length-1}function Fl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const Bl=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function mr(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const i=t;let o=Oe(a),s="";for(;o.length>0;){const r=Bl.exec(o);if(!r){s+=o;break}s+=o.substring(0,r.index),o=o.substring(r.index+r[0].length),r[0][0]==="\\"&&r[1]?s+="\\"+String(Number(r[1])+i):(s+=r[0],r[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Gl=/\b\B/,ml="[a-zA-Z]\\w*",Er="[a-zA-Z_]\\w*",El="\\b\\d+(\\.\\d+)?",pl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Sl="\\b(0b[01]+)",Yl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ql=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=Se(e,/.*\b/,n.binary,/\b.*/)),ue({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Hl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Vl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},Wl={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Me=function(n,e,t={}){const a=ue({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=ur("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:Se(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},zl=Me("//","$"),Kl=Me("/\\*","\\*/"),$l=Me("#","$"),Ql={scope:"number",begin:El,relevance:0},Xl={scope:"number",begin:pl,relevance:0},Zl={scope:"number",begin:Sl,relevance:0},Jl={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},jl={scope:"title",begin:ml,relevance:0},ec={scope:"title",begin:Er,relevance:0},tc={begin:"\\.\\s*"+Er,relevance:0},nc=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var De=Object.freeze({__proto__:null,APOS_STRING_MODE:Hl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:Zl,BINARY_NUMBER_RE:Sl,COMMENT:Me,C_BLOCK_COMMENT_MODE:Kl,C_LINE_COMMENT_MODE:zl,C_NUMBER_MODE:Xl,C_NUMBER_RE:pl,END_SAME_AS_BEGIN:nc,HASH_COMMENT_MODE:$l,IDENT_RE:ml,MATCH_NOTHING_RE:Gl,METHOD_GUARD:tc,NUMBER_MODE:Ql,NUMBER_RE:El,PHRASAL_WORDS_MODE:Wl,QUOTE_STRING_MODE:Vl,REGEXP_MODE:Jl,RE_STARTERS_RE:Yl,SHEBANG:ql,TITLE_MODE:jl,UNDERSCORE_IDENT_RE:Er,UNDERSCORE_TITLE_MODE:ec});function ac(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function rc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function ic(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=ac,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function oc(n,e){Array.isArray(n.illegal)&&(n.illegal=ur(...n.illegal))}function sc(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function lc(n,e){n.relevance===void 0&&(n.relevance=1)}const cc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=Se(t.beforeMatch,dl(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},_c=["of","and","for","in","not","or","if","then","parent","list","value"],dc="keyword";function gl(n,e,t=dc){const a=Object.create(null);return typeof n=="string"?i(t,n.split(" ")):Array.isArray(n)?i(t,n):Object.keys(n).forEach(function(o){Object.assign(a,gl(n[o],e,o))}),a;function i(o,s){e&&(s=s.map(r=>r.toLowerCase())),s.forEach(function(r){const l=r.split("|");a[l[0]]=[o,uc(l[0],l[1])]})}}function uc(n,e){return e?Number(e):mc(n)?0:1}function mc(n){return _c.includes(n.toLowerCase())}const yr={},pe=n=>{console.error(n)},Dr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},Te=(n,e)=>{yr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),yr[`${n}/${e}`]=!0)},he=new Error;function Tl(n,e,{key:t}){let a=0;const i=n[t],o={},s={};for(let r=1;r<=e.length;r++)s[r+a]=i[r],o[r+a]=!0,a+=ul(e[r-1]);n[t]=s,n[t]._emit=o,n[t]._multi=!0}function Ec(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;Tl(n,n.begin,{key:"beginScope"}),n.begin=mr(n.begin,{joinWith:""})}}function pc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;Tl(n,n.end,{key:"endScope"}),n.end=mr(n.end,{joinWith:""})}}function Sc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function gc(n){Sc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Ec(n),pc(n)}function Tc(n){function e(s,r){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(r?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,r]),this.matchAt+=ul(r)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const r=this.regexes.map(l=>l[1]);this.matcherRe=e(mr(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(r);if(!l)return null;const c=l.findIndex((d,m)=>m>0&&d!==void 0),_=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,_)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const l=new t;return this.rules.slice(r).forEach(([c,_])=>l.addRule(c,_)),l.compile(),this.multiRegexes[r]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(r,l){this.rules.push([r,l]),l.type==="begin"&&this.count++}exec(r){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(r);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const _=this.getMatcher(0);_.lastIndex=this.lastIndex+1,c=_.exec(r)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const r=new a;return s.contains.forEach(l=>r.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&r.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&r.addRule(s.illegal,{type:"illegal"}),r}function o(s,r){const l=s;if(s.isCompiled)return l;[rc,sc,gc,cc].forEach(_=>_(s,r)),n.compilerExtensions.forEach(_=>_(s,r)),s.__beforeBegin=null,[ic,oc,lc].forEach(_=>_(s,r)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=gl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(c,!0),r&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&r.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+r.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(_){return bc(_==="self"?s:_)})),s.contains.forEach(function(_){o(_,l)}),s.starts&&o(s.starts,r),l.matcher=i(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=ue(n.classNameAliases||{}),o(n)}function bl(n){return n?n.endsWithParent||bl(n.starts):!1}function bc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return ue(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:bl(n)?ue(n,{starts:n.starts?ue(n.starts):null}):Object.isFrozen(n)?ue(n):n}var Rc="11.9.0";class Cc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const xe=_l,hr=ue,Mr=Symbol("nomatch"),Nc=7,Rl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pl};function l(b){return r.noHighlightRe.test(b)}function c(b){let v=b.className+" ";v+=b.parentNode?b.parentNode.className:"";const M=r.languageDetectRe.exec(v);if(M){const w=h(M[1]);return w||(Dr(o.replace("{}",M[1])),Dr("Falling back to no-highlight mode for this block.",b)),w?M[1]:"no-highlight"}return v.split(/\s+/).find(w=>l(w)||h(w))}function _(b,v,M){let w="",F="";typeof v=="object"?(w=b,M=v.ignoreIllegals,F=v.language):(Te("10.7.0","highlight(lang, code, ...args) has been deprecated."),Te("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),F=b,w=v),M===void 0&&(M=!0);const X={code:w,language:F};k("before:highlight",X);const J=X.result?X.result:d(X.language,X.code,M);return J.code=X.code,k("after:highlight",J),J}function d(b,v,M,w){const F=Object.create(null);function X(O,y){return O.keywords[y]}function J(){if(!x.keywords){Z.addText(V);return}let O=0;x.keywordPatternRe.lastIndex=0;let y=x.keywordPatternRe.exec(V),P="";for(;y;){P+=V.substring(O,y.index);const U=re.case_insensitive?y[0].toLowerCase():y[0],ne=X(x,U);if(ne){const[oe,Ae]=ne;if(Z.addText(P),P="",F[U]=(F[U]||0)+1,F[U]<=Nc&&(Ee+=Ae),oe.startsWith("_"))P+=y[0];else{const ve=re.classNameAliases[oe]||oe;H(y[0],ve)}}else P+=y[0];O=x.keywordPatternRe.lastIndex,y=x.keywordPatternRe.exec(V)}P+=V.substring(O),Z.addText(P)}function te(){if(V==="")return;let O=null;if(typeof x.subLanguage=="string"){if(!e[x.subLanguage]){Z.addText(V);return}O=d(x.subLanguage,V,!0,Ne[x.subLanguage]),Ne[x.subLanguage]=O._top}else O=E(V,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(Ee+=O.relevance),Z.__addSublanguage(O._emitter,O.language)}function B(){x.subLanguage!=null?te():J(),V=""}function H(O,y){O!==""&&(Z.startScope(y),Z.addText(O),Z.endScope())}function W(O,y){let P=1;const U=y.length-1;for(;P<=U;){if(!O._emit[P]){P++;continue}const ne=re.classNameAliases[O[P]]||O[P],oe=y[P];ne?H(oe,ne):(V=oe,J(),V=""),P++}}function Y(O,y){return O.scope&&typeof O.scope=="string"&&Z.openNode(re.classNameAliases[O.scope]||O.scope),O.beginScope&&(O.beginScope._wrap?(H(V,re.classNameAliases[O.beginScope._wrap]||O.beginScope._wrap),V=""):O.beginScope._multi&&(W(O.beginScope,y),V="")),x=Object.create(O,{parent:{value:x}}),x}function $(O,y,P){let U=Fl(O.endRe,P);if(U){if(O["on:end"]){const ne=new Ir(O);O["on:end"](y,ne),ne.isMatchIgnored&&(U=!1)}if(U){for(;O.endsParent&&O.parent;)O=O.parent;return O}}if(O.endsWithParent)return $(O.parent,y,P)}function j(O){return x.matcher.regexIndex===0?(V+=O[0],1):(le=!0,0)}function ee(O){const y=O[0],P=O.rule,U=new Ir(P),ne=[P.__beforeBegin,P["on:begin"]];for(const oe of ne)if(oe&&(oe(O,U),U.isMatchIgnored))return j(y);return P.skip?V+=y:(P.excludeBegin&&(V+=y),B(),!P.returnBegin&&!P.excludeBegin&&(V=y)),Y(P,O),P.returnBegin?0:y.length}function ie(O){const y=O[0],P=v.substring(O.index),U=$(x,O,P);if(!U)return Mr;const ne=x;x.endScope&&x.endScope._wrap?(B(),H(y,x.endScope._wrap)):x.endScope&&x.endScope._multi?(B(),W(x.endScope,O)):ne.skip?V+=y:(ne.returnEnd||ne.excludeEnd||(V+=y),B(),ne.excludeEnd&&(V=y));do x.scope&&Z.closeNode(),!x.skip&&!x.subLanguage&&(Ee+=x.relevance),x=x.parent;while(x!==U.parent);return U.starts&&Y(U.starts,O),ne.returnEnd?0:y.length}function se(){const O=[];for(let y=x;y!==re;y=y.parent)y.scope&&O.unshift(y.scope);O.forEach(y=>Z.openNode(y))}let de={};function Re(O,y){const P=y&&y[0];if(V+=O,P==null)return B(),0;if(de.type==="begin"&&y.type==="end"&&de.index===y.index&&P===""){if(V+=v.slice(y.index,y.index+1),!i){const U=new Error(`0 width match regex (${b})`);throw U.languageName=b,U.badRule=de.rule,U}return 1}if(de=y,y.type==="begin")return ee(y);if(y.type==="illegal"&&!M){const U=new Error('Illegal lexeme "'+P+'" for mode "'+(x.scope||"")+'"');throw U.mode=x,U}else if(y.type==="end"){const U=ie(y);if(U!==Mr)return U}if(y.type==="illegal"&&P==="")return 1;if(_e>1e5&&_e>y.index*3)throw new Error("potential infinite loop, way more iterations than matches");return V+=P,P.length}const re=h(b);if(!re)throw pe(o.replace("{}",b)),new Error('Unknown language: "'+b+'"');const Ce=Tc(re);let me="",x=w||Ce;const Ne={},Z=new r.__emitter(r);se();let V="",Ee=0,ce=0,_e=0,le=!1;try{if(re.__emitTokens)re.__emitTokens(v,Z);else{for(x.matcher.considerAll();;){_e++,le?le=!1:x.matcher.considerAll(),x.matcher.lastIndex=ce;const O=x.matcher.exec(v);if(!O)break;const y=v.substring(ce,O.index),P=Re(y,O);ce=O.index+P}Re(v.substring(ce))}return Z.finalize(),me=Z.toHTML(),{language:b,value:me,relevance:Ee,illegal:!1,_emitter:Z,_top:x}}catch(O){if(O.message&&O.message.includes("Illegal"))return{language:b,value:xe(v),illegal:!0,relevance:0,_illegalBy:{message:O.message,index:ce,context:v.slice(ce-100,ce+100),mode:O.mode,resultSoFar:me},_emitter:Z};if(i)return{language:b,value:xe(v),illegal:!1,relevance:0,errorRaised:O,_emitter:Z,_top:x};throw O}}function m(b){const v={value:xe(b),illegal:!1,relevance:0,_top:s,_emitter:new r.__emitter(r)};return v._emitter.addText(b),v}function E(b,v){v=v||r.languages||Object.keys(e);const M=m(b),w=v.filter(h).filter(D).map(B=>d(B,b,!1));w.unshift(M);const F=w.sort((B,H)=>{if(B.relevance!==H.relevance)return H.relevance-B.relevance;if(B.language&&H.language){if(h(B.language).supersetOf===H.language)return 1;if(h(H.language).supersetOf===B.language)return-1}return 0}),[X,J]=F,te=X;return te.secondBest=J,te}function p(b,v,M){const w=v&&t[v]||M;b.classList.add("hljs"),b.classList.add(`language-${w}`)}function S(b){let v=null;const M=c(b);if(l(M))return;if(k("before:highlightElement",{el:b,language:M}),b.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",b);return}if(b.children.length>0&&(r.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(b)),r.throwUnescapedHTML))throw new Cc("One of your code blocks includes unescaped HTML.",b.innerHTML);v=b;const w=v.textContent,F=M?_(w,{language:M,ignoreIllegals:!0}):E(w);b.innerHTML=F.value,b.dataset.highlighted="yes",p(b,M,F.language),b.result={language:F.language,re:F.relevance,relevance:F.relevance},F.secondBest&&(b.secondBest={language:F.secondBest.language,relevance:F.secondBest.relevance}),k("after:highlightElement",{el:b,result:F,text:w})}function g(b){r=hr(r,b)}const T=()=>{f(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function R(){f(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let N=!1;function f(){if(document.readyState==="loading"){N=!0;return}document.querySelectorAll(r.cssSelector).forEach(S)}function I(){N&&f()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function C(b,v){let M=null;try{M=v(n)}catch(w){if(pe("Language definition for '{}' could not be registered.".replace("{}",b)),i)pe(w);else throw w;M=s}M.name||(M.name=b),e[b]=M,M.rawDefinition=v.bind(null,n),M.aliases&&G(M.aliases,{languageName:b})}function L(b){delete e[b];for(const v of Object.keys(t))t[v]===b&&delete t[v]}function A(){return Object.keys(e)}function h(b){return b=(b||"").toLowerCase(),e[b]||e[t[b]]}function G(b,{languageName:v}){typeof b=="string"&&(b=[b]),b.forEach(M=>{t[M.toLowerCase()]=v})}function D(b){const v=h(b);return v&&!v.disableAutodetect}function q(b){b["before:highlightBlock"]&&!b["before:highlightElement"]&&(b["before:highlightElement"]=v=>{b["before:highlightBlock"](Object.assign({block:v.el},v))}),b["after:highlightBlock"]&&!b["after:highlightElement"]&&(b["after:highlightElement"]=v=>{b["after:highlightBlock"](Object.assign({block:v.el},v))})}function ae(b){q(b),a.push(b)}function K(b){const v=a.indexOf(b);v!==-1&&a.splice(v,1)}function k(b,v){const M=b;a.forEach(function(w){w[M]&&w[M](v)})}function Q(b){return Te("10.7.0","highlightBlock will be removed entirely in v12.0"),Te("10.7.0","Please use highlightElement now."),S(b)}Object.assign(n,{highlight:_,highlightAuto:E,highlightAll:f,highlightElement:S,highlightBlock:Q,configure:g,initHighlighting:T,initHighlightingOnLoad:R,registerLanguage:C,unregisterLanguage:L,listLanguages:A,getLanguage:h,registerAliases:G,autoDetection:D,inherit:hr,addPlugin:ae,removePlugin:K}),n.debugMode=function(){i=!1},n.safeMode=function(){i=!0},n.versionString=Rc,n.regex={concat:Se,lookahead:dl,either:ur,optional:kl,anyNumberOfTimes:wl};for(const b in De)typeof De[b]=="object"&&cl(De[b]);return Object.assign(n,De),n},be=Rl({});be.newInstance=()=>Rl({});var fc=be;be.HighlightJS=be;be.default=be;var Pe,Lr;function Oc(){if(Lr)return Pe;Lr=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",o="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",E="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",w="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",J="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",te="null истина ложь неопределено",B=e.inherit(e.NUMBER_MODE),H={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},W={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Y=e.inherit(e.C_LINE_COMMENT_MODE),$={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:o+l},contains:[Y]},j={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},ee={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:te},contains:[B,H,W]},Y]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:o,built_in:E,class:w,type:J,literal:te},contains:[$,ee,Y,j,B,H,W]}}return Pe=n,Pe}var we,xr;function Ic(){if(xr)return we;xr=1;function n(e){const t=e.regex,a=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=e.COMMENT(/;/,/$/),s={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},r={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},_={scope:"attribute",match:t.concat(a,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},_,o,s,r,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return we=n,we}var ke,Pr;function Ac(){if(Pr)return ke;Pr=1;function n(e){const t=e.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return ke=n,ke}var Ue,wr;function vc(){if(wr)return Ue;wr=1;function n(e){const t=e.regex,a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=t.concat(a,t.concat("(\\.",a,")*")),o=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,s={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},{begin:t.concat(/:\s*/,o)}]},e.METHOD_GUARD],illegal:/#/}}return Ue=n,Ue}var Fe,kr;function yc(){if(kr)return Fe;kr=1;function n(e){const t="\\d(_|\\d)*",a="[eE][-+]?"+t,i=t+"(\\."+t+")?("+a+")?",o="\\w+",r="\\b("+(t+"#"+o+"(\\."+o+")?#("+a+")?")+"|"+i+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,_=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[_,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:r,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[_,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},d]}}return Fe=n,Fe}var Be,Ur;function Dc(){if(Ur)return Be;Ur=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[t,a]};return t.contains=[i],a.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Be=n,Be}var Ge,Fr;function hc(){if(Fr)return Ge;Fr=1;function n(e){const t={className:"number",begin:/[$%]\d+/},a={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},o={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,o,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},i,a,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Ge=n,Ge}var Ye,Br;function Mc(){if(Br)return Ye;Br=1;function n(e){const t=e.regex,a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,a]},o=e.COMMENT(/--/,/$/),s=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",o]}),r=[o,s,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...r],illegal:/\/\/|->|=>|\[\[/}}return Ye=n,Ye}var qe,Gr;function Lc(){if(Gr)return qe;Gr=1;function n(e){const t="[A-Za-z_][0-9A-Za-z_]*",a={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},o={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},r={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,o,e.REGEXP_MODE];const l=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return qe=n,qe}var He,Yr;function xc(){if(Yr)return He;Yr=1;function n(t){const a=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",l="(?!struct)("+o+"|"+a.optional(s)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},m={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},E={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:a.optional(s)+t.IDENT_RE,relevance:0},S=a.optional(s)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],T=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],N=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],C={type:T,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},L={className:"function.dispatch",relevance:0,keywords:{_hint:N},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},A=[L,E,c,i,t.C_BLOCK_COMMENT_MODE,m,d],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:A.concat([{begin:/\(/,end:/\)/,keywords:C,contains:A.concat(["self"]),relevance:0}]),relevance:0},G={className:"function",begin:"("+l+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:C,relevance:0},{begin:S,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,m]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,d,m,c,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,d,m,c]}]},c,i,t.C_BLOCK_COMMENT_MODE,E]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"",keywords:C,contains:["self",c]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const a={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=n(t),o=i.keywords;return o.type=[...o.type,...a.type],o.literal=[...o.literal,...a.literal],o.built_in=[...o.built_in,...a.built_in],o._hints=a._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}return He=e,He}var Ve,qr;function Pc(){if(qr)return Ve;qr=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Ve=n,Ve}var We,Hr;function wc(){if(Hr)return We;Hr=1;function n(e){const t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},r=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),_={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,c,l,r,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,r,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[_],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[_],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:_}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return We=n,We}var ze,Vr;function kc(){if(Vr)return ze;Vr=1;function n(e){const t=e.regex,a={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],o=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],r={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,r,...i,...o,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return ze=n,ze}var Ke,Wr;function Uc(){if(Wr)return Ke;Wr=1;function n(e){const t=e.regex,a=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],i=["get","set","args","call"];return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Ke=n,Ke}var $e,zr;function Fc(){if(zr)return $e;zr=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return $e=n,$e}var Qe,Kr;function Bc(){if(Kr)return Qe;Kr=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",a=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",o="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",s={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},r={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},_={className:"meta",begin:"#",end:"$",keywords:{keyword:a},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,s]},d={className:"symbol",begin:"@[A-z0-9_]+"},m={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[r,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:o,literal:i},contains:[s,r,l,c,_,d,m]}}return Qe=n,Qe}var Xe,$r;function Gc(){if($r)return Xe;$r=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return Xe=n,Xe}var Ze,Qr;function Yc(){if(Qr)return Ze;Qr=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:a},contains:[t,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return Ze=n,Ze}var Je,Xr;function qc(){if(Xr)return Je;Xr=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,s={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},r={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s};return{name:"X++",aliases:["x++"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},r]}}return Je=n,Je}var je,Zr;function Hc(){if(Zr)return je;Zr=1;function n(e){const t=e.regex,a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},r={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,o]};o.contains.push(r);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},_={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],E=e.SHEBANG({binary:`(${m.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},S=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],T={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],N=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],f=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],I=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:S,literal:g,built_in:[...R,...N,"set","shopt",...f,...I]},contains:[E,e.SHEBANG(),p,d,e.HASH_COMMENT_MODE,s,T,r,l,c,_,a]}}return je=n,je}var et,Jr;function Vc(){if(Jr)return et;Jr=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return et=n,et}var tt,jr;function Wc(){if(jr)return tt;jr=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return tt=n,tt}var nt,ei;function zc(){if(ei)return nt;ei=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return nt=n,nt}var at,ti;function Kc(){if(ti)return at;ti=1;function n(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="("+i+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},m={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},p=t.optional(o)+e.IDENT_RE+"\\s*\\(",T={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},R=[m,l,a,e.C_BLOCK_COMMENT_MODE,d,_],N={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:T,contains:R.concat([{begin:/\(/,end:/\)/,keywords:T,contains:R.concat(["self"]),relevance:0}]),relevance:0},f={begin:"("+r+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:T,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:T,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(E,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,a,e.C_BLOCK_COMMENT_MODE,m]};return{name:"C",aliases:["h"],keywords:T,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:m,strings:_,keywords:T}}}return at=n,at}var rt,ni;function $c(){if(ni)return rt;ni=1;function n(e){const t=e.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",o=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},r={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},_={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:[s,r,e.NUMBER_MODE]},...o]},d=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],m={match:[/OBJECT/,/\s+/,t.either(...d),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},s,r,l,c,e.NUMBER_MODE,m,_]}}return rt=n,rt}var it,ai;function Qc(){if(ai)return it;ai=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],a=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],o={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:a,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},o]}}return it=n,it}var ot,ri;function Xc(){if(ri)return ot;ri=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],a=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],o={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},s=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[o]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return o.contains=s,{name:"Ceylon",keywords:{keyword:t.concat(a),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(s)}}return ot=n,ot}var st,ii;function Zc(){if(ii)return st;ii=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return st=n,st}var lt,oi;function Jc(){if(oi)return lt;oi=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",a="[#]?["+t+"]["+t+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",o={$pattern:a,built_in:i+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},s={begin:a,relevance:0},r={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d={scope:"punctuation",match:/,/,relevance:0},m=e.COMMENT(";","$",{relevance:0}),E={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+a+")?\\{",end:"[\\]\\}]",relevance:0},S={className:"symbol",begin:"[:]{1,2}"+a},g={begin:"\\(",end:"\\)"},T={endsWithParent:!0,relevance:0},R={keywords:o,className:"name",begin:a,relevance:0,starts:T},N=[d,g,l,c,_,m,S,p,r,E,s],f={beginKeywords:i,keywords:{$pattern:a,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(N)};return g.contains=[f,R,T],T.contains=N,p.contains=N,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[d,g,l,c,_,m,S,p,r,E]}}return lt=n,lt}var ct,si;function jc(){if(si)return ct;si=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return ct=n,ct}var _t,li;function e_(){if(li)return _t;li=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return _t=n,_t}var dt,ci;function t_(){if(ci)return dt;ci=1;const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=[].concat(i,t,a);function s(r){const l=["npm","print"],c=["yes","no","on","off"],_=["then","unless","until","loop","by","when","and","or","is","isnt","not"],d=["var","const","let","function","static"],m=I=>C=>!I.includes(C),E={keyword:n.concat(_).filter(m(d)),literal:e.concat(c),built_in:o.concat(l)},p="[A-Za-z$_][0-9A-Za-z$_]*",S={className:"subst",begin:/#\{/,end:/\}/,keywords:E},g=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,S]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,S]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[S,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+p},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];S.contains=g;const T=r.inherit(r.TITLE_MODE,{begin:p}),R="(\\(.*\\)\\s*)?\\B[-=]>",N={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(g)}]},f={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:E};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:E,illegal:/\/\*/,contains:[...g,r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+p+"\\s*=\\s*"+R,end:"[-=]>",returnBegin:!0,contains:[T,N]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:R,end:"[-=]>",returnBegin:!0,contains:[N]}]},f,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return dt=s,dt}var ut,_i;function n_(){if(_i)return ut;_i=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return ut=n,ut}var mt,di;function a_(){if(di)return mt;di=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return mt=n,mt}var Et,ui;function r_(){if(ui)return Et;ui=1;function n(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="(?!struct)("+i+"|"+t.optional(o)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},m={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0},p=t.optional(o)+e.IDENT_RE+"\\s*\\(",S=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],T=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],R=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],I={type:g,keyword:S,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:T},C={className:"function.dispatch",relevance:0,keywords:{_hint:R},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},L=[C,m,l,a,e.C_BLOCK_COMMENT_MODE,d,_],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:L.concat([{begin:/\(/,end:/\)/,keywords:I,contains:L.concat(["self"]),relevance:0}]),relevance:0},h={className:"function",begin:"("+r+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:I,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:I,relevance:0},{begin:p,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[_,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,a,e.C_BLOCK_COMMENT_MODE,m]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:I,illegal:"",keywords:I,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:I},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Et=n,Et}var pt,mi;function i_(){if(mi)return pt;mi=1;function n(e){const t="primitive rsc_template",a="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+a.split(" ").join("|")+")\\s+",keywords:a,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return pt=n,pt}var St,Ei;function o_(){if(Ei)return St;Ei=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",a="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",o="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",s="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",r={$pattern:i,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:r},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},_={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r};function d(R,N){const f=[{begin:R,end:N}];return f[0].contains=f,f}const m={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},E={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},p={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},S={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},T=[_,m,E,S,p,g,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:o,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:o,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[m,{begin:o}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+a+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=T,_.contains=T.slice(1),{name:"Crystal",aliases:["cr"],keywords:r,contains:T}}return St=n,St}var gt,pi;function s_(){if(pi)return gt;pi=1;function n(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],r={keyword:o.concat(s),built_in:t,literal:i},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(_,{illegal:/\n/}),m={className:"subst",begin:/\{/,end:/\}/,keywords:r},E=e.inherit(m,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,E]},S={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]},g=e.inherit(S,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},E]});m.contains=[S,p,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],E.contains=[g,p,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const T={variants:[S,p,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},R={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},N=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:r,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},T,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,R,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,R,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+N+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,R],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[T,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}}return gt=n,gt}var Tt,Si;function l_(){if(Si)return Tt;Si=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return Tt=n,Tt}var bt,gi;function c_(){if(gi)return bt;gi=1;const n=r=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:r.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:r.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(r){const l=r.regex,c=n(r),_={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},d="and or not only",m=/@-?\w[\w]*(-\w+)*/,E="[a-zA-Z-][a-zA-Z0-9_-]*",p=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,_,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+E,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:m},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return bt=s,bt}var Rt,Ti;function __(){if(Ti)return Rt;Ti=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",o="0[bB][01_]+",s="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",r="0[xX]"+s,l="([eE][+-]?"+i+")",c="("+i+"(\\.\\d*|"+l+")|\\d+\\."+i+"|\\."+a+l+"?)",_="(0[xX]("+s+"\\."+s+"|\\.?"+s+")[pP][+-]?"+i+")",d="("+a+"|"+o+"|"+r+")",m="("+_+"|"+c+")",E=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,p={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},S={className:"number",begin:"\\b("+m+"([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+E+"|.)",end:"'",illegal:"."},R={className:"string",begin:'"',contains:[{begin:E,relevance:0}],end:'"[cwd]?'},N={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},f={className:"string",begin:"`",end:"`[cwd]?"},I={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},L={className:"meta",begin:"^#!",end:"$",relevance:5},A={className:"meta",begin:"#(line)",end:"$",relevance:5},h={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},G=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,G,I,R,N,f,C,S,p,g,L,A,h]}}return Rt=n,Rt}var Ct,bi;function d_(){if(bi)return Ct;bi=1;function n(e){const t=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},r={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},_={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},m=e.inherit(_,{contains:[]}),E=e.inherit(d,{contains:[]});_.contains.push(E),d.contains.push(m);let p=[a,c];return[_,d,m,E].forEach(T=>{T.contains=T.contains.concat(p)}),p=p.concat(_,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},a,s,_,d,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},o,i,c,r]}}return Ct=n,Ct}var Nt,Ri;function u_(){if(Ri)return Nt;Ri=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]}]};a.contains=[e.C_NUMBER_MODE,i];const o=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],s=o.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:o.concat(s).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return Nt=n,Nt}var ft,Ci;function m_(){if(Ci)return ft;Ci=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},r={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[o,r,i].concat(a)},i].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[o,r,e.NUMBER_MODE,s,l,c,i].concat(a)}}return ft=n,ft}var Ot,Ni;function E_(){if(Ni)return Ot;Ni=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Ot=n,Ot}var It,fi;function p_(){if(fi)return It;fi=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return It=n,It}var At,Oi;function S_(){if(Oi)return At;Oi=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return At=n,At}var vt,Ii;function g_(){if(Ii)return vt;Ii=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"variable",begin:/&[a-z\d_]*\b/},s={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},r={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[a,o]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},_={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},d={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},m={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},E={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[_,o,s,r,c,m,d,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,t,i,E,{begin:e.IDENT_RE+"::",keywords:""}]}}return ht=n,ht}var Mt,Di;function C_(){if(Di)return Mt;Di=1;function n(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return Mt=n,Mt}var Lt,hi;function N_(){if(hi)return Lt;hi=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),a={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},o={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,a,o]}}return Lt=n,Lt}var xt,Mi;function f_(){if(Mi)return xt;Mi=1;function n(e){const t=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:r},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},d={match:/\\[\s\S]/,scope:"char.escape",relevance:0},m=`[/|([{<"']`,E=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],p=C=>({scope:"char.escape",begin:t.concat(/\\/,C),relevance:0}),S={className:"string",begin:"~[a-z](?="+m+")",contains:E.map(C=>e.inherit(C,{contains:[p(C.end),d,l]}))},g={className:"string",begin:"~[A-Z](?="+m+")",contains:E.map(C=>e.inherit(C,{contains:[p(C.end)]}))},T={className:"regex",variants:[{begin:"~r(?="+m+")",contains:E.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[p(C.end),d,l]}))},{begin:"~R(?="+m+")",contains:E.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[p(C.end)]}))}]},R={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},N={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},f=e.inherit(N,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),I=[R,T,g,S,e.HASH_COMMENT_MODE,f,N,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[R,{begin:i}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=I,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:I}}return xt=n,xt}var Pt,Li;function O_(){if(Li)return Pt;Li=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},o={begin:/\{/,end:/\}/,contains:i.contains},s={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,i,o,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},s,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,a,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return Pt=n,Pt}var wt,xi;function I_(){if(xi)return wt;xi=1;function n(e){const t=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(i,/(::\w+)*/),r={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},_=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:r},m={className:"string",contains:[e.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,d]})]}]},E="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",S={className:"number",relevance:0,variants:[{begin:`\\b(${E})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:r}]},L=[m,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:r},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[m,{begin:a}],relevance:0},S,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:r},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,_),relevance:0}].concat(c,_);d.contains=L,g.contains=L;const D=[{begin:/^\s*=>/,starts:{end:"$",contains:L}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:r,contains:L}}];return _.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:r,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(D).concat(_).concat(L)}}return wt=n,wt}var kt,Pi;function A_(){if(Pi)return kt;Pi=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return kt=n,kt}var Ut,wi;function v_(){if(wi)return Ut;wi=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return Ut=n,Ut}var Ft,ki;function y_(){if(ki)return Ft;ki=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",a="("+t+":"+t+"|"+t+")",i={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},o=e.COMMENT("%","$"),s={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},r={begin:"fun\\s+"+t+"/\\d+"},l={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},_={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},d={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},m={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},E={beginKeywords:"fun receive if try case",end:"end",keywords:i};E.contains=[o,r,e.inherit(e.APOS_STRING_MODE,{className:""}),E,l,e.QUOTE_STRING_MODE,s,c,_,d,m];const p=[o,r,E,l,e.QUOTE_STRING_MODE,s,c,_,d,m];l.contains[1].contains=p,c.contains=p,m.contains[1].contains=p;const S=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],g={className:"params",begin:"\\(",end:"\\)",contains:p};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[g,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:i,contains:p}},o,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:S.map(T=>`${T}|1.5`).join(" ")},contains:[g]},s,e.QUOTE_STRING_MODE,m,_,d,c,{begin:/\.$/}]}}return Ft=n,Ft}var Bt,Ui;function D_(){if(Ui)return Bt;Ui=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return Bt=n,Bt}var Gt,Fi;function h_(){if(Fi)return Gt;Fi=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return Gt=n,Gt}var Yt,Bi;function M_(){if(Bi)return Yt;Bi=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},a={className:"string",variants:[{begin:'"',end:'"'}]},o={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,a,o,e.C_NUMBER_MODE]}}return Yt=n,Yt}var qt,Gi;function L_(){if(Gi)return qt;Gi=1;function n(e){const t=e.regex,a={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},o=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,r={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,s,o)},{begin:t.concat(/\b\d+/,s,o)},{begin:t.concat(/\.\d+/,s,o)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,a]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},i,r]}}return qt=n,qt}var Ht,Yi;function x_(){if(Yi)return Ht;Yi=1;function n(r){return new RegExp(r.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(r){return r?typeof r=="string"?r:r.source:null}function t(r){return a("(?=",r,")")}function a(...r){return r.map(c=>e(c)).join("")}function i(r){const l=r[r.length-1];return typeof l=="object"&&l.constructor===Object?(r.splice(r.length-1,1),l):{}}function o(...r){return"("+(i(r).capture?"":"?:")+r.map(_=>e(_)).join("|")+")"}function s(r){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},_=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],d=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],m=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],E=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],S={keyword:l,literal:d,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":m},T={variants:[r.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),r.C_LINE_COMMENT_MODE]},R=/[a-zA-Z_](\w|')*/,N={scope:"variable",begin:/``/,end:/``/},f=/\B('|\^)/,I={scope:"symbol",variants:[{match:a(f,/``.*?``/)},{match:a(f,r.UNDERSCORE_IDENT_RE)}],relevance:0},C=function({includeEqual:B}){let H;B?H="!%&*+-/<=>@^|~?":H="!%&*+-/<>@^|~?";const W=Array.from(H),Y=a("[",...W.map(n),"]"),$=o(Y,/\./),j=a($,t($)),ee=o(a(j,$,"*"),a(Y,"+"));return{scope:"operator",match:o(ee,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},L=C({includeEqual:!0}),A=C({includeEqual:!1}),h=function(B,H){return{begin:a(B,t(a(/\s*/,o(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:H,end:t(o(/\n/,/=/)),relevance:0,keywords:r.inherit(S,{type:E}),contains:[T,I,r.inherit(N,{scope:null}),A]}},G=h(/:/,"operator"),D=h(/\bof\b/,"keyword"),q={begin:[/(^|\s+)/,/type/,/\s+/,R],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:S,contains:[T,r.inherit(N,{scope:null}),I,{scope:"operator",match:/<|>/},G]},ae={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},K={begin:[/^\s*/,a(/#/,o(..._)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},k={variants:[r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE]},Q={scope:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE]},b={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},r.BACKSLASH_ESCAPE]},v={scope:"string",begin:/"""/,end:/"""/,relevance:2},M={scope:"subst",begin:/\{/,end:/\}/,keywords:S},w={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},r.BACKSLASH_ESCAPE,M]},F={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},r.BACKSLASH_ESCAPE,M]},X={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},M],relevance:2},J={scope:"string",match:a(/'/,o(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return M.contains=[F,w,b,Q,J,c,T,N,G,ae,K,k,I,L],{name:"F#",aliases:["fs","f#"],keywords:S,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[X,F,w,v,b,Q,J]},T,N,q,{scope:"meta",begin:/\[\]/,relevance:2,contains:[N,v,b,Q,J,k]},D,G,ae,K,k,I,L]}}return Ht=s,Ht}var Vt,qi;function P_(){if(qi)return Vt;qi=1;function n(e){const t=e.regex,a={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},o={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},r={begin:"/",end:"/",keywords:a,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[s,r,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:a,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,o]},e.C_NUMBER_MODE,o]}}return Vt=n,Vt}var Wt,Hi;function w_(){if(Hi)return Wt;Hi=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]},o={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},s=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,o]}],r={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(E,p,S){const g=e.inherit({className:"function",beginKeywords:E,end:p,excludeEnd:!0,contains:[].concat(s)},S||{});return g.contains.push(r),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(a),g},c={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},_={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},d={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},m={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,c,d,_,"self"]};return d.contains.push(m),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,_,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,a,m]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},d,o]}}return Wt=n,Wt}var zt,Vi;function k_(){if(Vi)return zt;Vi=1;function n(e){const t="[A-Z_][A-Z0-9_.]*",a="%",i={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},o={className:"meta",begin:"([O])([0-9]+)"},s=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),r=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),s,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[s],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a},o].concat(r)}}return zt=n,zt}var Kt,Wi;function U_(){if(Wi)return Kt;Wi=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Kt=n,Kt}var $t,zi;function F_(){if(zi)return $t;zi=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return $t=n,$t}var Qt,Ki;function B_(){if(Ki)return Qt;Ki=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Qt=n,Qt}var Xt,$i;function G_(){if($i)return Xt;$i=1;function n(e){const s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return tn=n,tn}var nn,eo;function z_(){if(eo)return nn;eo=1;function n(e){const t=e.regex,a={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},o=/""|"[^"]+"/,s=/''|'[^']+'/,r=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,_=t.either(o,s,r,l),d=t.concat(t.optional(/\.|\.\/|\//),_,t.anyNumberOfTimes(t.concat(c,_))),m=t.concat("(",r,"|",l,")(?==)"),E={begin:d},p=e.inherit(E,{keywords:i}),S={begin:/\(/,end:/\)/},g={className:"attr",begin:m,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,p,S]}}},T={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},R={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,T,g,p,S],returnEnd:!0},N=e.inherit(E,{className:"name",keywords:a,starts:e.inherit(R,{end:/\)/})});S.contains=[N];const f=e.inherit(E,{keywords:a,className:"name",starts:e.inherit(R,{end:/\}\}/})}),I=e.inherit(E,{keywords:a,className:"name"}),C=e.inherit(E,{className:"name",keywords:a,starts:e.inherit(R,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[f],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[f]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}return nn=n,nn}var an,to;function K_(){if(to)return an;to=1;function n(e){const t="([0-9]_*)+",a="([0-9a-fA-F]_*)+",i="([01]_*)+",o="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",_={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},d={className:"meta",begin:/\{-#/,end:/#-\}/},m={className:"meta",begin:"^#",end:"$"},E={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},p={begin:"\\(",end:"\\)",illegal:'"',contains:[d,m,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),_]},S={begin:/\{/,end:/\}/,contains:p.contains},g={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${a})(\\.(${a}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${o})\\b`},{match:`\\b0[bB](${i})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[p,_],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[p,_],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[E,p,_]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[d,E,p,S,_]},{beginKeywords:"default",end:"$",contains:[E,p,_]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,_]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[E,e.QUOTE_STRING_MODE,_]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},d,m,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,g,E,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},_,{begin:"->|<-"}]}}return an=n,an}var rn,no;function $_(){if(no)return rn;no=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",a=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:a,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return rn=n,rn}var on,ao;function Q_(){if(ao)return on;ao=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return on=n,on}var sn,ro;function X_(){if(ro)return sn;ro=1;function n(e){const t=e.regex,a="HTTP/([32]|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,o={className:"attribute",begin:t.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(o,{relevance:0})]}}return sn=n,sn}var ln,io;function Z_(){if(io)return ln;io=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",a="["+t+"]["+t+"0-9/;:]*",i={$pattern:a,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},o="[-+]?\\d+(\\.\\d+)?",s={begin:a,relevance:0},r={className:"number",begin:o,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},m={className:"comment",begin:"\\^"+a},E=e.COMMENT("\\^\\{","\\}"),p={className:"symbol",begin:"[:]{1,2}"+a},S={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},T={className:"name",relevance:0,keywords:i,begin:a,starts:g},R=[S,l,m,E,c,p,d,r,_,s];return S.contains=[e.COMMENT("comment",""),T,g],g.contains=R,d.contains=R,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),S,l,m,E,c,p,d,r,_]}}return ln=n,ln}var cn,oo;function J_(){if(oo)return cn;oo=1;function n(e){const t="\\[",a="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:a}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:a,contains:["self"]}]}}return cn=n,cn}var _n,so;function j_(){if(so)return _n;so=1;function n(e){const t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,s,o,r,a,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,_=/"(\\"|[^"])*"/,d=/'[^']*'/,m=t.either(c,_,d),E=t.concat(m,"(\\s*\\.\\s*",m,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:E,className:"attr",starts:{end:/$/,contains:[i,l,s,o,r,a]}}]}}return _n=n,_n}var dn,lo;function ed(){if(lo)return dn;lo=1;function n(e){const t=e.regex,a={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\d+/,o,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,a]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return dn=n,dn}var un,co;function td(){if(co)return un;co=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",a="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",i="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",B="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Cl="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",Nl="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",fl="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Ol="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Il=B+Cl,Al=fl,vl="null true false nil ",Tr={className:"number",begin:e.NUMBER_RE,relevance:0},br={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Rr={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},yl={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Rr]},Dl={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Rr]},Cr={variants:[yl,Dl]},ye={$pattern:t,keyword:i,built_in:Il,class:Al,literal:vl},Le={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:ye,relevance:0},Nr={className:"type",begin:":[ \\t]*("+Ol.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},fr={className:"variable",keywords:ye,begin:t,relevance:0,contains:[Nr,Le]},Or=a+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:ye,illegal:"\\$|\\?|%|,|;$|~|#|@|i(s,r,l-1))}function o(s){const r=s.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+i("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),p={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},S={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},g={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[s.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,illegal:/<\/|#/,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[s.BACKSLASH_ESCAPE]},s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[r.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[g,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",s.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[S,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,a,s.C_BLOCK_COMMENT_MODE]},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},a,S]}}return mn=o,mn}var En,uo;function ad(){if(uo)return En;uo=1;const n="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],r=[].concat(o,a,i);function l(c){const _=c.regex,d=(W,{after:Y})=>{const $="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(W,Y)=>{const $=W[0].length+W.index,j=W.input[$];if(j==="<"||j===","){Y.ignoreMatch();return}j===">"&&(d(W,{after:$})||Y.ignoreMatch());let ee;const ie=W.input.substring($);if(ee=ie.match(/^\s*=/)){Y.ignoreMatch();return}if((ee=ie.match(/^\s+extends\s+/))&&ee.index===0){Y.ignoreMatch();return}}},g={$pattern:n,keyword:e,literal:t,built_in:r,"variable.language":s},T="[0-9](_?[0-9])*",R=`\\.(${T})`,N="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${N})((${R})|\\.)?|(${R}))[eE][+-]?(${T})\\b`},{begin:`\\b(${N})\\b((${R})\\b|\\.)?|(${R})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},I={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"xml"}},L={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"css"}},A={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,I],subLanguage:"graphql"}},h={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,I]},D={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:m+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},q=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,L,A,h,{match:/\$\d+/},f];I.contains=q.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(q)});const ae=[].concat(D,I.contains),K=ae.concat([{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(ae)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:K},Q={variants:[{match:[/class/,/\s+/,m,/\s+/,/extends/,/\s+/,_.concat(m,"(",_.concat(/\./,m),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,m],scope:{1:"keyword",3:"title.class"}}]},b={relevance:0,match:_.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...i]}},v={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,m,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},w={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function F(W){return _.concat("(?!",W.join("|"),")")}const X={match:_.concat(/\b/,F([...o,"super","import"]),m,_.lookahead(/\(/)),className:"title.function",relevance:0},J={begin:_.concat(/\./,_.lookahead(_.concat(m,/(?![0-9A-Za-z$_(])/))),end:m,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},te={match:[/get|set/,/\s+/,m,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},B="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,m,/\s*/,/=\s*/,/(async\s*)?/,_.lookahead(B)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:K,CLASS_REFERENCE:b},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),v,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,C,L,A,h,D,{match:/\$\d+/},f,b,{className:"attr",begin:m+_.lookahead(":"),relevance:0},H,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,c.REGEXP_MODE,{className:"function",begin:B,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:K}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:E.begin,end:E.end},{match:p},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,c.inherit(c.TITLE_MODE,{begin:m,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+m,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},X,w,Q,te,{match:/\$[(.]/}]}}return En=l,En}var pn,mo;function rd(){if(mo)return pn;mo=1;function n(e){const a={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},o={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},s={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,s,i,o,a]}}return pn=n,pn}var Sn,Eo;function id(){if(Eo)return Sn;Eo=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],o={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[t,a,e.QUOTE_STRING_MODE,o,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Sn=n,Sn}var gn,po;function od(){if(po)return gn;po=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",s={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},r={keywords:s,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},_={className:"subst",begin:/\$\(/,end:/\)/,keywords:s},d={className:"variable",begin:"\\$"+t},m={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},E={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],begin:"`",end:"`"},p={className:"meta",begin:"@"+t},S={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return r.name="Julia",r.contains=[l,c,m,E,p,S,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],_.contains=r.contains,r}return gn=n,gn}var Tn,So;function sd(){if(So)return Tn;So=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Tn=n,Tn}var bn,go;function ld(){if(go)return bn;go=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(o){const s={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:o.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[o.C_NUMBER_MODE]},_={className:"variable",begin:"\\$"+o.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[_,c]},{begin:"'",end:"'",illegal:/\n/,contains:[o.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[o.BACKSLASH_ESCAPE,_,c]}]};c.contains.push(d);const m={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+o.UNDERSCORE_IDENT_RE+")?"},E={className:"meta",begin:"@"+o.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[o.inherit(d,{className:"string"}),"self"]}]},p=a,S=o.COMMENT("/\\*","\\*/",{contains:[o.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:o.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},T=g;return T.variants[1].contains=[g],g.variants[1].contains=[T],{name:"Kotlin",aliases:["kt","kts"],keywords:s,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),o.C_LINE_COMMENT_MODE,S,r,l,m,E,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:s,relevance:5,contains:[{begin:o.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[o.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,o.C_LINE_COMMENT_MODE,S],relevance:0},o.C_LINE_COMMENT_MODE,S,m,E,d,o.C_NUMBER_MODE]},S]},{begin:[/class|interface|trait/,/\s+/,o.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},o.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},m,E]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` `},p]}}return bn=i,bn}var Rn,To;function cd(){if(To)return Rn;To=1;function n(e){const t="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",i="\\]|\\?>",o={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},s=e.COMMENT("",{relevance:0}),r={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[s]}},l={className:"meta",begin:"\\[/noprocess|"+a},c={className:"symbol",begin:"'"+t+"'"},_=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:o,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[s]}},r,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:o,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[s]}},r,l].concat(_)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(_)}}return Rn=n,Rn}var Cn,bo;function _d(){if(bo)return Cn;bo=1;function n(e){const a=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(D=>D+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(D=>D+"(?![a-zA-Z:_])").join("|")),o=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],r={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:o}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:s},_={className:"built_in",relevance:0,begin:/[$&^_]/},d={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},m=e.COMMENT("%","$",{relevance:0}),E=[r,l,c,_,d,m],p={begin:/\{/,end:/\}/,relevance:0,contains:["self",...E]},S=e.inherit(p,{relevance:0,endsParent:!0,contains:[p,...E]}),g={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[p,...E]},T={begin:/\s+/,relevance:0},R=[S],N=[g],f=function(D,q){return{contains:[T],starts:{relevance:0,contains:D,starts:q}}},I=function(D,q){return{begin:"\\\\"+D+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+D},relevance:0,contains:[T],starts:q}},C=function(D,q){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+D+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},f(R,q))},L=(D="string")=>e.END_SAME_AS_BEGIN({className:D,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),A=function(D){return{className:"string",end:"(?=\\\\end\\{"+D+"\\})"}},h=(D="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:D,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),G=[...["verb","lstinline"].map(D=>I(D,{contains:[L()]})),I("mint",f(R,{contains:[L()]})),I("mintinline",f(R,{contains:[h(),L()]})),I("url",{contains:[h("link"),h("link")]}),I("hyperref",{contains:[h("link")]}),I("href",f(N,{contains:[h("link")]})),...[].concat(...["","\\*"].map(D=>[C("verbatim"+D,A("verbatim"+D)),C("filecontents"+D,f(R,A("filecontents"+D))),...["","B","L"].map(q=>C(q+"Verbatim"+D,f(N,A(q+"Verbatim"+D))))])),C("minted",f(N,f(R,A("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...G,...E]}}return Cn=n,Cn}var Nn,Ro;function dd(){if(Ro)return Nn;Ro=1;function n(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Nn=n,Nn}var fn,Co;function ud(){if(Co)return fn;Co=1;function n(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,i={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},o={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[i]};return i.contains.unshift(o),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[i]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return fn=n,fn}var On,No;function md(){if(No)return On;No=1;const n=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),s=a.concat(i);function r(l){const c=n(l),_=s,d="and or not only",m="[\\w-]+",E="("+m+"|@\\{"+m+"\\})",p=[],S=[],g=function(D){return{className:"string",begin:"~?"+D+".*?"+D}},T=function(D,q,ae){return{className:D,begin:q,relevance:ae}},R={$pattern:/[a-z-]+/,keyword:d,attribute:t.join(" ")},N={begin:"\\(",end:"\\)",contains:S,keywords:R,relevance:0};S.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,g("'"),g('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,N,T("variable","@@?"+m,10),T("variable","@\\{"+m+"\\}"),T("built_in","~?`[^`]*?`"),{className:"attribute",begin:m+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const f=S.concat({begin:/\{/,end:/\}/,contains:p}),I={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(S)},C={begin:E+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:S}}]},L={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:R,returnEnd:!0,contains:S,relevance:0}},A={className:"variable",variants:[{begin:"@"+m+"\\s*:",relevance:15},{begin:"@"+m}],starts:{end:"[;}]",returnEnd:!0,contains:f}},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:E,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,I,T("keyword","all\\b"),T("variable","@\\{"+m+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,T("selector-tag",E,0),T("selector-id","#"+E),T("selector-class","\\."+E,0),T("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:f},{begin:"!important"},c.FUNCTION_DISPATCH]},G={begin:m+`:(:)?(${_.join("|")})`,returnBegin:!0,contains:[h]};return p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,L,A,G,C,h,I,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return On=r,On}var In,fo;function Ed(){if(fo)return In;fo=1;function n(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",o={className:"literal",begin:"\\b(t{1}|nil)\\b"},s={className:"number",variants:[{begin:i,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+i+" +"+i,end:"\\)"}]},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},_={className:"symbol",begin:"[:&]"+t},d={begin:t,relevance:0},m={begin:a},p={contains:[s,r,c,_,{begin:"\\(",end:"\\)",contains:["self",o,r,s,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},S={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},g={begin:"\\(\\s*",end:"\\)"},T={endsWithParent:!0,relevance:0};return g.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:a}]},T],T.contains=[p,S,g,o,s,r,l,c,_,m,d],{name:"Lisp",illegal:/\S/,contains:[s,e.SHEBANG(),o,r,l,p,S,g,d]}}return In=n,In}var An,Oo;function pd(){if(Oo)return An;Oo=1;function n(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),o=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[o,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(a),illegal:";$|^\\[|^=|&|\\{"}}return An=n,An}var vn,Io;function Sd(){if(Io)return vn;Io=1;const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=[].concat(i,t,a);function s(r){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],_=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],d={keyword:n.concat(_),literal:e.concat(c),built_in:o.concat(l)},m="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",E=r.inherit(r.TITLE_MODE,{begin:m}),p={className:"subst",begin:/#\{/,end:/\}/,keywords:d},S={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:d},g=[r.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,p,S]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,p,S]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[p,r.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+m},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];p.contains=g;const T={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(g)}]},R={begin:"(#=>|=>|\\|>>|-?->|!->)"},N={variants:[{match:[/class\s+/,m,/\s+extends\s+/,m]},{match:[/class\s+/,m]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"LiveScript",aliases:["ls"],keywords:d,illegal:/\/\*/,contains:g.concat([r.COMMENT("\\/\\*","\\*\\/"),r.HASH_COMMENT_MODE,R,{className:"function",contains:[E,T],returnBegin:!0,variants:[{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},N,{begin:m+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return vn=s,vn}var yn,Ao;function gd(){if(Ao)return yn;Ao=1;function n(e){const t=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},o={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},r={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:t.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},_={className:"title",variants:[{begin:t.concat(/@/,a)},{begin:/@\d+/},{begin:t.concat(/!/,a)},{begin:t.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},_,s,o,c,l,r]}}return yn=n,yn}var Dn,vo;function Td(){if(vo)return Dn;vo=1;function n(e){const a={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},o={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},s={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[a,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},s,o,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return Dn=n,Dn}var hn,yo;function bd(){if(yo)return hn;yo=1;function n(e){const t="\\[=*\\[",a="\\]=*\\]",i={begin:t,end:a,contains:["self"]},o=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,a,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:a,contains:[i],relevance:5}])}}return hn=n,hn}var Mn,Do;function Rd(){if(Do)return Mn;Do=1;function n(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{S.has(L[0])||A.ignoreMatch()}},{className:"symbol",relevance:0,begin:p}]},T={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},R={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},N={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},f={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},I={className:"brace",relevance:0,begin:/[[\](){}]/},C={className:"message-name",relevance:0,begin:a.concat("::",p)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),N,f,C,g,T,t.QUOTE_STRING_MODE,E,R,I]}}return Ln=e,Ln}var xn,Mo;function Nd(){if(Mo)return xn;Mo=1;function n(e){const t="('|\\.')+",a={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return xn=n,xn}var Pn,Lo;function fd(){if(Lo)return Pn;Lo=1;function n(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return Pn=n,Pn}var wn,xo;function Od(){if(xo)return wn;xo=1;function n(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},a,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,o,s,{begin:/:-/},{begin:/\.$/}]}}return kn=n,kn}var Un,wo;function Ad(){if(wo)return Un;wo=1;function n(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Un=n,Un}var Fn,ko;function vd(){if(ko)return Fn;ko=1;function n(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return Fn=n,Fn}var Bn,Uo;function yd(){if(Uo)return Bn;Uo=1;function n(e){const t=e.regex,a=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,o={$pattern:/[\w.]+/,keyword:a.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:o},r={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,s,l],_=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(p,S,g="\\1")=>{const T=g==="\\1"?g:t.concat(g,S);return t.concat(t.concat("(?:",p,")"),S,/(?:\\.|[^\\\/])*?/,T,/(?:\\.|[^\\\/])*?/,g,i)},m=(p,S,g)=>t.concat(t.concat("(?:",p,")"),S,/(?:\\.|[^\\\/])*?/,g,i),E=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),r,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(..._,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:m("(?:m|qr)?",/\//,/\//)},{begin:m("m|qr",t.either(..._,{capture:!0}),/\1/)},{begin:m("m|qr",/\(/,/\)/)},{begin:m("m|qr",/\[/,/\]/)},{begin:m("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=E,r.contains=E,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:E}}return Bn=n,Bn}var Gn,Fo;function Dd(){if(Fo)return Gn;Fo=1;function n(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return Gn=n,Gn}var Yn,Bo;function hd(){if(Bo)return Yn;Bo=1;function n(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},a={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),a,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return Yn=n,Yn}var qn,Go;function Md(){if(Go)return qn;Go=1;function n(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:t},o=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=o;const s=e.inherit(e.TITLE_MODE,{begin:a}),r="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+r,end:"[-=]>",returnBegin:!0,contains:[s,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:r,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[s]},s]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return qn=n,qn}var Hn,Yo;function Ld(){if(Yo)return Hn;Yo=1;function n(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return Hn=n,Hn}var Vn,qo;function xd(){if(qo)return Vn;qo=1;function n(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},a={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},o={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),o,i,t,a]}}return Vn=n,Vn}var Wn,Ho;function Pd(){if(Ho)return Wn;Ho=1;function n(e){const t=e.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},o={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:o.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:o}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Wn=n,Wn}var zn,Vo;function wd(){if(Vo)return zn;Vo=1;function n(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return zn=n,zn}var Kn,Wo;function kd(){if(Wo)return Kn;Wo=1;function n(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},a={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},i={className:"char.escape",begin:/''\$/},o={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},s={className:"string",contains:[i,a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},r=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,o];return a.contains=r,{name:"Nix",aliases:["nixos"],keywords:t,contains:r}}return Kn=n,Kn}var $n,zo;function Ud(){if(zo)return $n;zo=1;function n(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return $n=n,$n}var Qn,Ko;function Fd(){if(Ko)return Qn;Ko=1;function n(e){const t=e.regex,a=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],i=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],o=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],s={className:"variable.constant",begin:t.concat(/\$/,t.either(...a))},r={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},_={className:"params",begin:t.either(...i)},d={className:"keyword",begin:t.concat(/!/,t.either(...o))},m={className:"char.escape",begin:/\$(\\[nrt]|\$)/},E={className:"title.function",begin:/\w+::\w+/},p={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[m,s,r,l,c]},S=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],g=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],T={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},N={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:S,literal:g},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),N,T,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},p,d,r,l,c,_,E,e.NUMBER_MODE]}}return Qn=n,Qn}var Xn,$o;function Bd(){if($o)return Xn;$o=1;function n(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Xn=n,Xn}var Zn,Qo;function Gd(){if(Qo)return Zn;Qo=1;function n(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return Zn=n,Zn}var Jn,Xo;function Yd(){if(Xo)return Jn;Xo=1;function n(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},r={className:"params",begin:"\\(",end:"\\)",contains:["self",i,o,t,a]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[r,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,s,o,t,l,c]}}return Jn=n,Jn}var jn,Zo;function qd(){if(Zo)return jn;Zo=1;function n(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),o={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},s={className:"string",begin:"(#\\d+)+"},r={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[o,s]},a,i]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[a,i,e.C_LINE_COMMENT_MODE,o,s,e.NUMBER_MODE,r,l]}}return jn=n,jn}var ea,Jo;function Hd(){if(Jo)return ea;Jo=1;function n(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return ea=n,ea}var ta,jo;function Vd(){if(jo)return ta;jo=1;function n(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},a={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,a]}}return ta=n,ta}var na,es;function Wd(){if(es)return na;es=1;function n(e){const t=e.COMMENT("--","$"),a="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",o="<<\\s*"+a+"\\s*>>",s="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",r="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",_=c.trim().split(" ").map(function(g){return g.split("|")[0]}).join("|"),d="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",m="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",E="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",S="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(g){return g.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:s+l+r,built_in:d+m+E},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+S+")\\s*\\("},{begin:"\\.("+_+")\\b"},{begin:"\\b("+_+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+_+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:o,relevance:10}]}}return na=n,na}var aa,ts;function zd(){if(ts)return aa;ts=1;function n(e){const t=e.regex,a=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),s={scope:"variable",match:"\\$+"+i},r={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(K,k)=>{k.data._beginMatch=K[1]||K[2]},"on:end":(K,k)=>{k.data._beginMatch!==K[1]&&k.ignoreMatch()}},m=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),E=`[ ]`,p={scope:"string",variants:[_,c,d,m]},S={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},g=["false","null","true"],T=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],R=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],f={keyword:T,literal:(K=>{const k=[];return K.forEach(Q=>{k.push(Q),Q.toLowerCase()===Q?k.push(Q.toUpperCase()):k.push(Q.toLowerCase())}),k})(g),built_in:R},I=K=>K.map(k=>k.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(E,"+"),t.concat("(?!",I(R).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},L=t.concat(i,"\\b(?!\\()"),A={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),L],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),L],scope:{1:"title.class",3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},h={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},G={relevance:0,begin:/\(/,end:/\)/,keywords:f,contains:[h,s,A,e.C_BLOCK_COMMENT_MODE,p,S,C]},D={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",I(T).join("\\b|"),"|",I(R).join("\\b|"),"\\b)"),i,t.concat(E,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[G]};G.contains.push(D);const q=[h,A,e.C_BLOCK_COMMENT_MODE,p,S,C],ae={begin:t.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...q]},...q,{scope:"meta",match:o}]};return{case_insensitive:!1,keywords:f,contains:[ae,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},r,{scope:"variable.language",match:/\$this\b/},s,D,A,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:f,contains:["self",s,A,e.C_BLOCK_COMMENT_MODE,p,S]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,S]}}return aa=n,aa}var ra,ns;function Kd(){if(ns)return ra;ns=1;function n(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return ra=n,ra}var ia,as;function $d(){if(as)return ia;as=1;function n(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return ia=n,ia}var oa,rs;function Qd(){if(rs)return oa;rs=1;function n(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},a={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},o={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},s={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},r={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[s,a,i,o,r,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return oa=n,oa}var sa,is;function Xd(){if(is)return sa;is=1;function n(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],a="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",i="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",o={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},s=/\w[\w\d]*((-)[\w\d]+)*/,r={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},d={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},m={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},E=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[m]}),p={className:"built_in",variants:[{begin:"(".concat(a,")+(-)[\\w\\d]+")}]},S={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},g={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:s,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},T={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,d,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},R={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},N={className:"selector-tag",begin:/@\B/,relevance:0},f={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(o.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},I=[f,E,r,e.NUMBER_MODE,_,d,p,l,c,N],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",I,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return f.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:o,contains:I.concat(S,g,T,R,C)}}return sa=n,sa}var la,os;function Zd(){if(os)return la;os=1;function n(e){const t=e.regex,a=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],i=e.IDENT_RE,o={variants:[{match:t.concat(t.either(...a),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,i,t.lookahead(/\s*\(/)),className:"title.function"}]},s={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},r={relevance:0,match:[/\./,i],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],_=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...a,..._],type:c},contains:[l,s,o,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return la=n,la}var ca,ss;function Jd(){if(ss)return ca;ss=1;function n(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return ca=n,ca}var _a,ls;function jd(){if(ls)return _a;ls=1;function n(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},a={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},o={begin:/\[/,end:/\]/},s={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},r={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},d=[t,a,i,{begin:/:-/},o,s,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,r,l,c,e.C_NUMBER_MODE];return i.contains=d,o.contains=d,{name:"Prolog",contains:d.concat([{begin:/\.$/}])}}return _a=n,_a}var da,cs;function eu(){if(cs)return da;cs=1;function n(e){const t="[ \\t\\f]*",a="[ \\t\\f]+",i=t+"[:=]"+t,o=a,s="("+i+"|"+o+")",r="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:s,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:r+i},{begin:r+o}],contains:[{className:"attr",begin:r,endsParent:!0}],starts:l},{className:"attr",begin:r+t+"$"}]}}return da=n,da}var ua,_s;function tu(){if(_s)return ua;_s=1;function n(e){const t=["package","import","option","optional","required","repeated","group","oneof"],a=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:a,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return ua=n,ua}var ma,ds;function nu(){if(ds)return ma;ds=1;function n(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},a=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",o=e.inherit(e.TITLE_MODE,{begin:i}),s={className:"variable",begin:"\\$"+i},r={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[a,s,r,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[o,a]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[r,a,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},s]}],relevance:0}]}}return ma=n,ma}var Ea,us;function au(){if(us)return Ea;us=1;function n(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},a={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,a]}}return Ea=n,Ea}var pa,ms;function ru(){if(ms)return pa;ms=1;function n(e){const t=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},_={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},d={begin:/\{\{/,relevance:0},m={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,_]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E="[0-9](_?[0-9])*",p=`(\\b(${E}))?\\.(${E})|\\b(${E})\\.`,S=`\\b|${i.join("|")}`,g={className:"number",relevance:0,variants:[{begin:`(\\b(${E})|(${p}))[eE][+-]?(${E})[jJ]?(?=${S})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${S})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${S})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${S})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${S})`},{begin:`\\b(${E})[jJ](?=${S})`}]},T={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},R={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,g,m,e.HASH_COMMENT_MODE]}]};return _.contains=[m,g,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,g,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},m,T,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[R]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[g,R,m]}]}}return pa=n,pa}var Sa,Es;function iu(){if(Es)return Sa;Es=1;function n(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Sa=n,Sa}var ga,ps;function ou(){if(ps)return ga;ps=1;function n(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return ga=n,ga}var Ta,Ss;function su(){if(Ss)return Ta;Ss=1;function n(e){const t=e.regex,a={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",o={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},r={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},l={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:t.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:a,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,o,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},r,l,c],illegal:/#/}}return Ta=n,Ta}var ba,gs;function lu(){if(gs)return ba;gs=1;function n(e){const t=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[s,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return ba=n,ba}var Ra,Ts;function cu(){if(Ts)return Ra;Ts=1;function n(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return Ra=n,Ra}var Ca,bs;function _u(){if(bs)return Ca;bs=1;function n(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),l,c,r,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,r,{className:"literal",begin:"\\b("+o.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+s.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return fa=n,fa}var Oa,Ns;function mu(){if(Ns)return Oa;Ns=1;function n(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],a=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],o={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:t,type:a},illegal:""},a]}}return Aa=n,Aa}var va,Is;function Su(){if(Is)return va;Is=1;function n(e){const t=e.regex,a=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],i=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],o=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:a},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...o)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return va=n,va}var ya,As;function gu(){if(As)return ya;As=1;function n(e){const t=e.regex,a={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},o={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},s={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},r={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r]},c={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[r]},_={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},d={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},m=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],E={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,s,c,l,e.C_NUMBER_MODE,_,d,...m,E,a]}}return ya=n,ya}var Da,vs;function Tu(){if(vs)return Da;vs=1;function n(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",a="(-|\\+)?\\d+([./]\\d+)?",i=a+"[+\\-]"+a+"i",o={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},s={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},r={className:"number",variants:[{begin:a,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],_={begin:t,relevance:0},d={className:"symbol",begin:"'"+t},m={endsWithParent:!0,relevance:0},E={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",s,l,r,_,d]}]},p={className:"name",relevance:0,begin:t,keywords:o},g={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[p,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[_]}]},p,m]};return m.contains=[s,r,l,_,d,E,g].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),r,l,d,E,g].concat(c)}}return Da=n,Da}var ha,ys;function bu(){if(ys)return ha;ys=1;function n(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return ha=n,ha}var Ma,Ds;function Ru(){if(Ds)return Ma;Ds=1;const n=r=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:r.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:r.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],o=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(r){const l=n(r),c=i,_=a,d="@[a-z-]+",m="and or not only",p={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+_.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},p,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,p,l.HEXCOLOR,l.CSS_NUMBER_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:d,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:m,attribute:t.join(" ")},contains:[{begin:d,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Ma=s,Ma}var La,hs;function Cu(){if(hs)return La;hs=1;function n(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return La=n,La}var xa,Ms;function Nu(){if(Ms)return xa;Ms=1;function n(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],a=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+a.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: diff --git a/assets/index-rnndzlgz.js b/assets/index-DS5Cr3VX.js similarity index 74% rename from assets/index-rnndzlgz.js rename to assets/index-DS5Cr3VX.js index 427f737..7471bab 100644 --- a/assets/index-rnndzlgz.js +++ b/assets/index-DS5Cr3VX.js @@ -1,4 +1,4 @@ -function TRe(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var go=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var MRe={exports:{}},lz={},RRe={exports:{}},Lr={};/** +function MRe(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var mo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function so(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var RRe={exports:{}},sz={},IRe={exports:{}},Lr={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function TRe(e,t){for(var n=0;n>>1,V=L[z];if(0>>1;zi(K,j))Xi(G,K)?(L[z]=G,L[X]=j,z=X):(L[z]=K,L[U]=j,z=U);else if(Xi(G,j))L[z]=G,L[X]=j,z=X;else break e}}return B}function i(L,B){var j=L.sortIndex-B.sortIndex;return j!==0?j:L.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,f=null,h=3,d=!1,p=!1,g=!1,m=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(L){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=L)r(u),B.sortIndex=B.expirationTime,t(s,B);else break;B=n(u)}}function C(L){if(g=!1,b(L),!p)if(n(s)!==null)p=!0,k(x);else{var B=n(u);B!==null&&D(C,B.startTime-L)}}function x(L,B){p=!1,g&&(g=!1,v(O),O=-1),d=!0;var j=h;try{for(b(B),f=n(s);f!==null&&(!(f.expirationTime>B)||L&&!T());){var z=f.callback;if(typeof z=="function"){f.callback=null,h=f.priorityLevel;var V=z(f.expirationTime<=B);B=e.unstable_now(),typeof V=="function"?f.callback=V:f===n(s)&&r(s),b(B)}else r(s);f=n(s)}if(f!==null)var W=!0;else{var U=n(u);U!==null&&D(C,U.startTime-B),W=!1}return W}finally{f=null,h=j,d=!1}}var S=!1,w=null,O=-1,$=5,P=-1;function T(){return!(e.unstable_now()-P<$)}function R(){if(w!==null){var L=e.unstable_now();P=L;var B=!0;try{B=w(!0,L)}finally{B?M():(S=!1,w=null)}}else S=!1}var M;if(typeof y=="function")M=function(){y(R)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,N=A.port2;A.port1.onmessage=R,M=function(){N.postMessage(null)}}else M=function(){m(R,0)};function k(L){w=L,S||(S=!0,M())}function D(L,B){O=m(function(){L(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){p||d||(p=!0,k(x))},e.unstable_forceFrameRate=function(L){0>L||125z?(L.sortIndex=j,t(u,L),n(s)===null&&L===n(u)&&(g?(v(O),O=-1):g=!0,D(C,j-z))):(L.sortIndex=V,t(s,L),p||d||(p=!0,k(x))),L},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(L){var B=h;return function(){var j=h;h=B;try{return L.apply(this,arguments)}finally{h=j}}}})(HRe);FRe.exports=HRe;var fst=FRe.exports;/** + */(function(e){function t(L,B){var k=L.length;L.push(B);e:for(;0>>1,q=L[z];if(0>>1;zi(K,k))Xi(G,K)?(L[z]=G,L[X]=k,z=X):(L[z]=K,L[U]=k,z=U);else if(Xi(G,k))L[z]=G,L[X]=k,z=X;else break e}}return B}function i(L,B){var k=L.sortIndex-B.sortIndex;return k!==0?k:L.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,f=null,h=3,d=!1,p=!1,g=!1,m=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(L){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=L)r(u),B.sortIndex=B.expirationTime,t(s,B);else break;B=n(u)}}function C(L){if(g=!1,b(L),!p)if(n(s)!==null)p=!0,j(x);else{var B=n(u);B!==null&&D(C,B.startTime-L)}}function x(L,B){p=!1,g&&(g=!1,v(O),O=-1),d=!0;var k=h;try{for(b(B),f=n(s);f!==null&&(!(f.expirationTime>B)||L&&!T());){var z=f.callback;if(typeof z=="function"){f.callback=null,h=f.priorityLevel;var q=z(f.expirationTime<=B);B=e.unstable_now(),typeof q=="function"?f.callback=q:f===n(s)&&r(s),b(B)}else r(s);f=n(s)}if(f!==null)var W=!0;else{var U=n(u);U!==null&&D(C,U.startTime-B),W=!1}return W}finally{f=null,h=k,d=!1}}var S=!1,w=null,O=-1,$=5,P=-1;function T(){return!(e.unstable_now()-P<$)}function R(){if(w!==null){var L=e.unstable_now();P=L;var B=!0;try{B=w(!0,L)}finally{B?M():(S=!1,w=null)}}else S=!1}var M;if(typeof y=="function")M=function(){y(R)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,N=A.port2;A.port1.onmessage=R,M=function(){N.postMessage(null)}}else M=function(){m(R,0)};function j(L){w=L,S||(S=!0,M())}function D(L,B){O=m(function(){L(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){p||d||(p=!0,j(x))},e.unstable_forceFrameRate=function(L){0>L||125z?(L.sortIndex=k,t(u,L),n(s)===null&&L===n(u)&&(g?(v(O),O=-1):g=!0,D(C,k-z))):(L.sortIndex=q,t(s,L),p||d||(p=!0,j(x))),L},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(L){var B=h;return function(){var k=h;h=B;try{return L.apply(this,arguments)}finally{h=k}}}})(WRe);HRe.exports=WRe;var fst=HRe.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function TRe(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uY=Object.prototype.hasOwnProperty,pst=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Pde={},Tde={};function hst(e){return uY.call(Tde,e)?!0:uY.call(Pde,e)?!1:pst.test(e)?Tde[e]=!0:(Pde[e]=!0,!1)}function gst(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mst(e,t,n,r){if(t===null||typeof t>"u"||gst(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jl(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var ol={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ol[e]=new Jl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ol[t]=new Jl(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ol[e]=new Jl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ol[e]=new Jl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ol[e]=new Jl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ol[e]=new Jl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ol[e]=new Jl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ol[e]=new Jl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ol[e]=new Jl(e,5,!1,e.toLowerCase(),null,!1,!1)});var $te=/[\-:]([a-z])/g;function Pte(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($te,Pte);ol[t]=new Jl(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($te,Pte);ol[t]=new Jl(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($te,Pte);ol[t]=new Jl(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ol[e]=new Jl(e,1,!1,e.toLowerCase(),null,!1,!1)});ol.xlinkHref=new Jl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ol[e]=new Jl(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tte(e,t,n,r){var i=ol.hasOwnProperty(t)?ol[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dY=Object.prototype.hasOwnProperty,pst=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Tde={},Mde={};function hst(e){return dY.call(Mde,e)?!0:dY.call(Tde,e)?!1:pst.test(e)?Mde[e]=!0:(Tde[e]=!0,!1)}function gst(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mst(e,t,n,r){if(t===null||typeof t>"u"||gst(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jl(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var ol={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ol[e]=new Jl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ol[t]=new Jl(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ol[e]=new Jl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ol[e]=new Jl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ol[e]=new Jl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ol[e]=new Jl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ol[e]=new Jl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ol[e]=new Jl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ol[e]=new Jl(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pte=/[\-:]([a-z])/g;function Tte(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pte,Tte);ol[t]=new Jl(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Pte,Tte);ol[t]=new Jl(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pte,Tte);ol[t]=new Jl(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ol[e]=new Jl(e,1,!1,e.toLowerCase(),null,!1,!1)});ol.xlinkHref=new Jl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ol[e]=new Jl(e,1,!1,e.toLowerCase(),null,!0,!0)});function Mte(e,t,n,r){var i=ol.hasOwnProperty(t)?ol[t]:null;(i!==null?i.type!==0:r||!(2l||i[a]!==o[l]){var s=` -`+i[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{YW=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V8(e):""}function vst(e){switch(e.tag){case 5:return V8(e.type);case 16:return V8("Lazy");case 13:return V8("Suspense");case 19:return V8("SuspenseList");case 0:case 2:case 15:return e=ZW(e.type,!1),e;case 11:return e=ZW(e.type.render,!1),e;case 1:return e=ZW(e.type,!0),e;default:return""}}function hY(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case B2:return"Fragment";case z2:return"Portal";case dY:return"Profiler";case Mte:return"StrictMode";case fY:return"Suspense";case pY:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case URe:return(e.displayName||"Context")+".Consumer";case VRe:return(e._context.displayName||"Context")+".Provider";case Rte:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ite:return t=e.displayName||null,t!==null?t:hY(e.type)||"Memo";case E1:t=e._payload,e=e._init;try{return hY(e(t))}catch{}}return null}function yst(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return hY(t);case 8:return t===Mte?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function p0(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function KRe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bst(e){var t=KRe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function NT(e){e._valueTracker||(e._valueTracker=bst(e))}function XRe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=KRe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function pj(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function gY(e,t){var n=t.checked;return yo({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rde(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=p0(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function YRe(e,t){t=t.checked,t!=null&&Tte(e,"checked",t,!1)}function mY(e,t){YRe(e,t);var n=p0(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?vY(e,t.type,n):t.hasOwnProperty("defaultValue")&&vY(e,t.type,p0(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ide(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function vY(e,t,n){(t!=="number"||pj(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var U8=Array.isArray;function C3(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=AT.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yE(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var S9={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cst=["Webkit","ms","Moz","O"];Object.keys(S9).forEach(function(e){Cst.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),S9[t]=S9[e]})});function eIe(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||S9.hasOwnProperty(e)&&S9[e]?(""+t).trim():t+"px"}function tIe(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=eIe(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Sst=yo({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function CY(e,t){if(t){if(Sst[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(rn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(rn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(rn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(rn(62))}}function SY(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xY=null;function Nte(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _Y=null,S3=null,x3=null;function kde(e){if(e=p$(e)){if(typeof _Y!="function")throw Error(rn(280));var t=e.stateNode;t&&(t=fz(t),_Y(e.stateNode,e.type,t))}}function nIe(e){S3?x3?x3.push(e):x3=[e]:S3=e}function rIe(){if(S3){var e=S3,t=x3;if(x3=S3=null,kde(e),t)for(e=0;e>>=0,e===0?32:31-(Ist(e)/Nst|0)|0}var kT=64,jT=4194304;function G8(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function vj(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=G8(l):(o&=a,o!==0&&(r=G8(o)))}else a=n&~i,a!==0?r=G8(a):o!==0&&(r=G8(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function d$(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gd(t),e[t]=n}function Dst(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_9),qde=" ",Vde=!1;function _Ie(e,t){switch(e){case"keyup":return dct.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wIe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var F2=!1;function pct(e,t){switch(e){case"compositionend":return wIe(t);case"keypress":return t.which!==32?null:(Vde=!0,qde);case"textInput":return e=t.data,e===qde&&Vde?null:e;default:return null}}function hct(e,t){if(F2)return e==="compositionend"||!Fte&&_Ie(e,t)?(e=SIe(),ok=Lte=z1=null,F2=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xde(n)}}function PIe(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?PIe(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function TIe(){for(var e=window,t=pj();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=pj(e.document)}return t}function Hte(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _ct(e){var t=TIe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&PIe(n.ownerDocument.documentElement,n)){if(r!==null&&Hte(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Yde(n,o);var a=Yde(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,H2=null,TY=null,O9=null,MY=!1;function Zde(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;MY||H2==null||H2!==pj(r)||(r=H2,"selectionStart"in r&&Hte(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),O9&&wE(O9,r)||(O9=r,r=Cj(TY,"onSelect"),0V2||(e.current=jY[V2],jY[V2]=null,V2--)}function Bi(e,t){V2++,jY[V2]=e.current,e.current=t}var h0={},Tl=P0(h0),Os=P0(!1),Yv=h0;function X3(e,t){var n=e.type.contextTypes;if(!n)return h0;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Es(e){return e=e.childContextTypes,e!=null}function xj(){Qi(Os),Qi(Tl)}function ife(e,t,n){if(Tl.current!==h0)throw Error(rn(168));Bi(Tl,t),Bi(Os,n)}function LIe(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(rn(108,yst(e)||"Unknown",i));return yo({},n,r)}function _j(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||h0,Yv=Tl.current,Bi(Tl,e),Bi(Os,Os.current),!0}function ofe(e,t,n){var r=e.stateNode;if(!r)throw Error(rn(169));n?(e=LIe(e,t,Yv),r.__reactInternalMemoizedMergedChildContext=e,Qi(Os),Qi(Tl),Bi(Tl,e)):Qi(Os),Bi(Os,n)}var Dp=null,pz=!1,dq=!1;function zIe(e){Dp===null?Dp=[e]:Dp.push(e)}function kct(e){pz=!0,zIe(e)}function T0(){if(!dq&&Dp!==null){dq=!0;var e=0,t=yi;try{var n=Dp;for(yi=1;e>=a,i-=a,Up=1<<32-gd(t)+i|n<O?($=w,w=null):$=w.sibling;var P=h(v,w,b[O],C);if(P===null){w===null&&(w=$);break}e&&w&&P.alternate===null&&t(v,w),y=o(P,y,O),S===null?x=P:S.sibling=P,S=P,w=$}if(O===b.length)return n(v,w),lo&&ev(v,O),x;if(w===null){for(;OO?($=w,w=null):$=w.sibling;var T=h(v,w,P.value,C);if(T===null){w===null&&(w=$);break}e&&w&&T.alternate===null&&t(v,w),y=o(T,y,O),S===null?x=T:S.sibling=T,S=T,w=$}if(P.done)return n(v,w),lo&&ev(v,O),x;if(w===null){for(;!P.done;O++,P=b.next())P=f(v,P.value,C),P!==null&&(y=o(P,y,O),S===null?x=P:S.sibling=P,S=P);return lo&&ev(v,O),x}for(w=r(v,w);!P.done;O++,P=b.next())P=d(w,v,O,P.value,C),P!==null&&(e&&P.alternate!==null&&w.delete(P.key===null?O:P.key),y=o(P,y,O),S===null?x=P:S.sibling=P,S=P);return e&&w.forEach(function(R){return t(v,R)}),lo&&ev(v,O),x}function m(v,y,b,C){if(typeof b=="object"&&b!==null&&b.type===B2&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case IT:e:{for(var x=b.key,S=y;S!==null;){if(S.key===x){if(x=b.type,x===B2){if(S.tag===7){n(v,S.sibling),y=i(S,b.props.children),y.return=v,v=y;break e}}else if(S.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===E1&&ffe(x)===S.type){n(v,S.sibling),y=i(S,b.props),y.ref=k6(v,S,b),y.return=v,v=y;break e}n(v,S);break}else t(v,S);S=S.sibling}b.type===B2?(y=Av(b.props.children,v.mode,C,b.key),y.return=v,v=y):(C=pk(b.type,b.key,b.props,null,v.mode,C),C.ref=k6(v,y,b),C.return=v,v=C)}return a(v);case z2:e:{for(S=b.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){n(v,y.sibling),y=i(y,b.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=bq(b,v.mode,C),y.return=v,v=y}return a(v);case E1:return S=b._init,m(v,y,S(b._payload),C)}if(U8(b))return p(v,y,b,C);if(M6(b))return g(v,y,b,C);WT(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(n(v,y.sibling),y=i(y,b),y.return=v,v=y):(n(v,y),y=yq(b,v.mode,C),y.return=v,v=y),a(v)):n(v,y)}return m}var Z3=GIe(!0),KIe=GIe(!1),h$={},_f=P0(h$),PE=P0(h$),TE=P0(h$);function vv(e){if(e===h$)throw Error(rn(174));return e}function Zte(e,t){switch(Bi(TE,t),Bi(PE,e),Bi(_f,h$),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:bY(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=bY(t,e)}Qi(_f),Bi(_f,t)}function Q3(){Qi(_f),Qi(PE),Qi(TE)}function XIe(e){vv(TE.current);var t=vv(_f.current),n=bY(t,e.type);t!==n&&(Bi(PE,e),Bi(_f,n))}function Qte(e){PE.current===e&&(Qi(_f),Qi(PE))}var fo=P0(0);function Tj(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fq=[];function Jte(){for(var e=0;en?n:4,e(!0);var r=pq.transition;pq.transition={};try{e(!1),t()}finally{yi=n,pq.transition=r}}function dNe(){return hu().memoizedState}function zct(e,t,n){var r=e0(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fNe(e))pNe(t,n);else if(n=WIe(e,t,n,r),n!==null){var i=Xl();md(n,e,r,i),hNe(n,t,r)}}function Bct(e,t,n){var r=e0(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fNe(e))pNe(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,wd(l,a)){var s=t.interleaved;s===null?(i.next=i,Xte(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=WIe(e,t,i,r),n!==null&&(i=Xl(),md(n,e,r,i),hNe(n,t,r))}}function fNe(e){var t=e.alternate;return e===vo||t!==null&&t===vo}function pNe(e,t){E9=Mj=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hNe(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kte(e,n)}}var Rj={readContext:pu,useCallback:ml,useContext:ml,useEffect:ml,useImperativeHandle:ml,useInsertionEffect:ml,useLayoutEffect:ml,useMemo:ml,useReducer:ml,useRef:ml,useState:ml,useDebugValue:ml,useDeferredValue:ml,useTransition:ml,useMutableSource:ml,useSyncExternalStore:ml,useId:ml,unstable_isNewReconciler:!1},Fct={readContext:pu,useCallback:function(e,t){return nf().memoizedState=[e,t===void 0?null:t],e},useContext:pu,useEffect:hfe,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ck(4194308,4,aNe.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ck(4194308,4,e,t)},useInsertionEffect:function(e,t){return ck(4,2,e,t)},useMemo:function(e,t){var n=nf();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nf();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=zct.bind(null,vo,e),[r.memoizedState,e]},useRef:function(e){var t=nf();return e={current:e},t.memoizedState=e},useState:pfe,useDebugValue:ine,useDeferredValue:function(e){return nf().memoizedState=e},useTransition:function(){var e=pfe(!1),t=e[0];return e=Lct.bind(null,e[1]),nf().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vo,i=nf();if(lo){if(n===void 0)throw Error(rn(407));n=n()}else{if(n=t(),za===null)throw Error(rn(349));Qv&30||QIe(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,hfe(eNe.bind(null,r,o,e),[e]),r.flags|=2048,IE(9,JIe.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=nf(),t=za.identifierPrefix;if(lo){var n=Gp,r=Up;n=(r&~(1<<32-gd(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ME++,0")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{ZW=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?U8(e):""}function vst(e){switch(e.tag){case 5:return U8(e.type);case 16:return U8("Lazy");case 13:return U8("Suspense");case 19:return U8("SuspenseList");case 0:case 2:case 15:return e=QW(e.type,!1),e;case 11:return e=QW(e.type.render,!1),e;case 1:return e=QW(e.type,!0),e;default:return""}}function gY(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case B2:return"Fragment";case z2:return"Portal";case fY:return"Profiler";case Rte:return"StrictMode";case pY:return"Suspense";case hY:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case GRe:return(e.displayName||"Context")+".Consumer";case URe:return(e._context.displayName||"Context")+".Provider";case Ite:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nte:return t=e.displayName||null,t!==null?t:gY(e.type)||"Memo";case E1:t=e._payload,e=e._init;try{return gY(e(t))}catch{}}return null}function yst(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gY(t);case 8:return t===Rte?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function p0(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function XRe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bst(e){var t=XRe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function AT(e){e._valueTracker||(e._valueTracker=bst(e))}function YRe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=XRe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function hj(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function mY(e,t){var n=t.checked;return bo({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ide(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=p0(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ZRe(e,t){t=t.checked,t!=null&&Mte(e,"checked",t,!1)}function vY(e,t){ZRe(e,t);var n=p0(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?yY(e,t.type,n):t.hasOwnProperty("defaultValue")&&yY(e,t.type,p0(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nde(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function yY(e,t,n){(t!=="number"||hj(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var G8=Array.isArray;function C3(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=kT.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function bE(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var x9={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Cst=["Webkit","ms","Moz","O"];Object.keys(x9).forEach(function(e){Cst.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),x9[t]=x9[e]})});function tIe(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||x9.hasOwnProperty(e)&&x9[e]?(""+t).trim():t+"px"}function nIe(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=tIe(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Sst=bo({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function SY(e,t){if(t){if(Sst[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(rn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(rn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(rn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(rn(62))}}function xY(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _Y=null;function Ate(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wY=null,S3=null,x3=null;function jde(e){if(e=h$(e)){if(typeof wY!="function")throw Error(rn(280));var t=e.stateNode;t&&(t=pz(t),wY(e.stateNode,e.type,t))}}function rIe(e){S3?x3?x3.push(e):x3=[e]:S3=e}function iIe(){if(S3){var e=S3,t=x3;if(x3=S3=null,jde(e),t)for(e=0;e>>=0,e===0?32:31-(Ist(e)/Nst|0)|0}var jT=64,DT=4194304;function K8(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function yj(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=K8(l):(o&=a,o!==0&&(r=K8(o)))}else a=n&~i,a!==0?r=K8(a):o!==0&&(r=K8(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function f$(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gd(t),e[t]=n}function Dst(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=w9),Vde=" ",Ude=!1;function wIe(e,t){switch(e){case"keyup":return dct.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function OIe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var F2=!1;function pct(e,t){switch(e){case"compositionend":return OIe(t);case"keypress":return t.which!==32?null:(Ude=!0,Vde);case"textInput":return e=t.data,e===Vde&&Ude?null:e;default:return null}}function hct(e,t){if(F2)return e==="compositionend"||!Hte&&wIe(e,t)?(e=xIe(),ak=zte=z1=null,F2=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Yde(n)}}function TIe(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?TIe(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function MIe(){for(var e=window,t=hj();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=hj(e.document)}return t}function Wte(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _ct(e){var t=MIe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&TIe(n.ownerDocument.documentElement,n)){if(r!==null&&Wte(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Zde(n,o);var a=Zde(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,H2=null,MY=null,E9=null,RY=!1;function Qde(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;RY||H2==null||H2!==hj(r)||(r=H2,"selectionStart"in r&&Wte(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),E9&&OE(E9,r)||(E9=r,r=Sj(MY,"onSelect"),0V2||(e.current=DY[V2],DY[V2]=null,V2--)}function Bi(e,t){V2++,DY[V2]=e.current,e.current=t}var h0={},Tl=P0(h0),Os=P0(!1),Yv=h0;function X3(e,t){var n=e.type.contextTypes;if(!n)return h0;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Es(e){return e=e.childContextTypes,e!=null}function _j(){Qi(Os),Qi(Tl)}function ofe(e,t,n){if(Tl.current!==h0)throw Error(rn(168));Bi(Tl,t),Bi(Os,n)}function zIe(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(rn(108,yst(e)||"Unknown",i));return bo({},n,r)}function wj(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||h0,Yv=Tl.current,Bi(Tl,e),Bi(Os,Os.current),!0}function afe(e,t,n){var r=e.stateNode;if(!r)throw Error(rn(169));n?(e=zIe(e,t,Yv),r.__reactInternalMemoizedMergedChildContext=e,Qi(Os),Qi(Tl),Bi(Tl,e)):Qi(Os),Bi(Os,n)}var Dp=null,hz=!1,fq=!1;function BIe(e){Dp===null?Dp=[e]:Dp.push(e)}function kct(e){hz=!0,BIe(e)}function T0(){if(!fq&&Dp!==null){fq=!0;var e=0,t=yi;try{var n=Dp;for(yi=1;e>=a,i-=a,Up=1<<32-gd(t)+i|n<O?($=w,w=null):$=w.sibling;var P=h(v,w,b[O],C);if(P===null){w===null&&(w=$);break}e&&w&&P.alternate===null&&t(v,w),y=o(P,y,O),S===null?x=P:S.sibling=P,S=P,w=$}if(O===b.length)return n(v,w),lo&&ev(v,O),x;if(w===null){for(;OO?($=w,w=null):$=w.sibling;var T=h(v,w,P.value,C);if(T===null){w===null&&(w=$);break}e&&w&&T.alternate===null&&t(v,w),y=o(T,y,O),S===null?x=T:S.sibling=T,S=T,w=$}if(P.done)return n(v,w),lo&&ev(v,O),x;if(w===null){for(;!P.done;O++,P=b.next())P=f(v,P.value,C),P!==null&&(y=o(P,y,O),S===null?x=P:S.sibling=P,S=P);return lo&&ev(v,O),x}for(w=r(v,w);!P.done;O++,P=b.next())P=d(w,v,O,P.value,C),P!==null&&(e&&P.alternate!==null&&w.delete(P.key===null?O:P.key),y=o(P,y,O),S===null?x=P:S.sibling=P,S=P);return e&&w.forEach(function(R){return t(v,R)}),lo&&ev(v,O),x}function m(v,y,b,C){if(typeof b=="object"&&b!==null&&b.type===B2&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case NT:e:{for(var x=b.key,S=y;S!==null;){if(S.key===x){if(x=b.type,x===B2){if(S.tag===7){n(v,S.sibling),y=i(S,b.props.children),y.return=v,v=y;break e}}else if(S.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===E1&&pfe(x)===S.type){n(v,S.sibling),y=i(S,b.props),y.ref=k6(v,S,b),y.return=v,v=y;break e}n(v,S);break}else t(v,S);S=S.sibling}b.type===B2?(y=Av(b.props.children,v.mode,C,b.key),y.return=v,v=y):(C=hk(b.type,b.key,b.props,null,v.mode,C),C.ref=k6(v,y,b),C.return=v,v=C)}return a(v);case z2:e:{for(S=b.key;y!==null;){if(y.key===S)if(y.tag===4&&y.stateNode.containerInfo===b.containerInfo&&y.stateNode.implementation===b.implementation){n(v,y.sibling),y=i(y,b.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=Cq(b,v.mode,C),y.return=v,v=y}return a(v);case E1:return S=b._init,m(v,y,S(b._payload),C)}if(G8(b))return p(v,y,b,C);if(M6(b))return g(v,y,b,C);qT(v,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,y!==null&&y.tag===6?(n(v,y.sibling),y=i(y,b),y.return=v,v=y):(n(v,y),y=bq(b,v.mode,C),y.return=v,v=y),a(v)):n(v,y)}return m}var Z3=KIe(!0),XIe=KIe(!1),g$={},_f=P0(g$),TE=P0(g$),ME=P0(g$);function vv(e){if(e===g$)throw Error(rn(174));return e}function Qte(e,t){switch(Bi(ME,t),Bi(TE,e),Bi(_f,g$),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:CY(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=CY(t,e)}Qi(_f),Bi(_f,t)}function Q3(){Qi(_f),Qi(TE),Qi(ME)}function YIe(e){vv(ME.current);var t=vv(_f.current),n=CY(t,e.type);t!==n&&(Bi(TE,e),Bi(_f,n))}function Jte(e){TE.current===e&&(Qi(_f),Qi(TE))}var po=P0(0);function Mj(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pq=[];function ene(){for(var e=0;en?n:4,e(!0);var r=hq.transition;hq.transition={};try{e(!1),t()}finally{yi=n,hq.transition=r}}function fNe(){return hu().memoizedState}function zct(e,t,n){var r=e0(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pNe(e))hNe(t,n);else if(n=qIe(e,t,n,r),n!==null){var i=Xl();md(n,e,r,i),gNe(n,t,r)}}function Bct(e,t,n){var r=e0(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pNe(e))hNe(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,wd(l,a)){var s=t.interleaved;s===null?(i.next=i,Yte(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=qIe(e,t,i,r),n!==null&&(i=Xl(),md(n,e,r,i),gNe(n,t,r))}}function pNe(e){var t=e.alternate;return e===yo||t!==null&&t===yo}function hNe(e,t){$9=Rj=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gNe(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jte(e,n)}}var Ij={readContext:pu,useCallback:ml,useContext:ml,useEffect:ml,useImperativeHandle:ml,useInsertionEffect:ml,useLayoutEffect:ml,useMemo:ml,useReducer:ml,useRef:ml,useState:ml,useDebugValue:ml,useDeferredValue:ml,useTransition:ml,useMutableSource:ml,useSyncExternalStore:ml,useId:ml,unstable_isNewReconciler:!1},Fct={readContext:pu,useCallback:function(e,t){return nf().memoizedState=[e,t===void 0?null:t],e},useContext:pu,useEffect:gfe,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,uk(4194308,4,lNe.bind(null,t,e),n)},useLayoutEffect:function(e,t){return uk(4194308,4,e,t)},useInsertionEffect:function(e,t){return uk(4,2,e,t)},useMemo:function(e,t){var n=nf();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nf();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=zct.bind(null,yo,e),[r.memoizedState,e]},useRef:function(e){var t=nf();return e={current:e},t.memoizedState=e},useState:hfe,useDebugValue:one,useDeferredValue:function(e){return nf().memoizedState=e},useTransition:function(){var e=hfe(!1),t=e[0];return e=Lct.bind(null,e[1]),nf().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=yo,i=nf();if(lo){if(n===void 0)throw Error(rn(407));n=n()}else{if(n=t(),za===null)throw Error(rn(349));Qv&30||JIe(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,gfe(tNe.bind(null,r,o,e),[e]),r.flags|=2048,NE(9,eNe.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=nf(),t=za.identifierPrefix;if(lo){var n=Gp,r=Up;n=(r&~(1<<32-gd(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=RE++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[lf]=t,e[$E]=r,_Ne(e,t,!1,!1),t.stateNode=e;e:{switch(a=SY(n,r),n){case"dialog":Ui("cancel",e),Ui("close",e),i=r;break;case"iframe":case"object":case"embed":Ui("load",e),i=r;break;case"video":case"audio":for(i=0;ie4&&(t.flags|=128,r=!0,j6(o,!1),t.lanes=4194304)}else{if(!r)if(e=Tj(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),j6(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!lo)return vl(t),null}else 2*Ho()-o.renderingStartTime>e4&&n!==1073741824&&(t.flags|=128,r=!0,j6(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ho(),t.sibling=null,n=fo.current,Bi(fo,r?n&1|2:n&1),t):(vl(t),null);case 22:case 23:return une(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tc&1073741824&&(vl(t),t.subtreeFlags&6&&(t.flags|=8192)):vl(t),null;case 24:return null;case 25:return null}throw Error(rn(156,t.tag))}function Xct(e,t){switch(qte(t),t.tag){case 1:return Es(t.type)&&xj(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Q3(),Qi(Os),Qi(Tl),Jte(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qte(t),null;case 13:if(Qi(fo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(rn(340));Y3()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qi(fo),null;case 4:return Q3(),null;case 10:return Kte(t.type._context),null;case 22:case 23:return une(),null;case 24:return null;default:return null}}var VT=!1,xl=!1,Yct=typeof WeakSet=="function"?WeakSet:Set,Rn=null;function X2(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Oo(e,t,r)}else n.current=null}function KY(e,t,n){try{n()}catch(r){Oo(e,t,r)}}var _fe=!1;function Zct(e,t){if(RY=yj,e=TIe(),Hte(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var d;f!==n||i!==0&&f.nodeType!==3||(l=a+i),f!==o||r!==0&&f.nodeType!==3||(s=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(d=f.firstChild)!==null;)h=f,f=d;for(;;){if(f===e)break t;if(h===n&&++u===i&&(l=a),h===o&&++c===r&&(s=a),(d=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=d}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(IY={focusedElem:e,selectionRange:n},yj=!1,Rn=t;Rn!==null;)if(t=Rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Rn=e;else for(;Rn!==null;){t=Rn;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,m=p.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:nd(t.type,g),m);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(rn(163))}}catch(C){Oo(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,Rn=e;break}Rn=t.return}return p=_fe,_fe=!1,p}function $9(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&KY(t,n,o)}i=i.next}while(i!==r)}}function mz(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function XY(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ENe(e){var t=e.alternate;t!==null&&(e.alternate=null,ENe(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lf],delete t[$E],delete t[kY],delete t[Nct],delete t[Act])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $Ne(e){return e.tag===5||e.tag===3||e.tag===4}function wfe(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$Ne(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function YY(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Sj));else if(r!==4&&(e=e.child,e!==null))for(YY(e,t,n),e=e.sibling;e!==null;)YY(e,t,n),e=e.sibling}function ZY(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ZY(e,t,n),e=e.sibling;e!==null;)ZY(e,t,n),e=e.sibling}var Qa=null,od=!1;function Jh(e,t,n){for(n=n.child;n!==null;)PNe(e,t,n),n=n.sibling}function PNe(e,t,n){if(xf&&typeof xf.onCommitFiberUnmount=="function")try{xf.onCommitFiberUnmount(sz,n)}catch{}switch(n.tag){case 5:xl||X2(n,t);case 6:var r=Qa,i=od;Qa=null,Jh(e,t,n),Qa=r,od=i,Qa!==null&&(od?(e=Qa,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qa.removeChild(n.stateNode));break;case 18:Qa!==null&&(od?(e=Qa,n=n.stateNode,e.nodeType===8?uq(e.parentNode,n):e.nodeType===1&&uq(e,n),xE(e)):uq(Qa,n.stateNode));break;case 4:r=Qa,i=od,Qa=n.stateNode.containerInfo,od=!0,Jh(e,t,n),Qa=r,od=i;break;case 0:case 11:case 14:case 15:if(!xl&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&KY(n,t,a),i=i.next}while(i!==r)}Jh(e,t,n);break;case 1:if(!xl&&(X2(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Oo(n,t,l)}Jh(e,t,n);break;case 21:Jh(e,t,n);break;case 22:n.mode&1?(xl=(r=xl)||n.memoizedState!==null,Jh(e,t,n),xl=r):Jh(e,t,n);break;default:Jh(e,t,n)}}function Ofe(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yct),t.forEach(function(r){var i=aut.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Du(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Ho()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jct(r/1960))-r,10e?16:e,B1===null)var r=!1;else{if(e=B1,B1=null,Aj=0,Ur&6)throw Error(rn(331));var i=Ur;for(Ur|=4,Rn=e.current;Rn!==null;){var o=Rn,a=o.child;if(Rn.flags&16){var l=o.deletions;if(l!==null){for(var s=0;sHo()-sne?Nv(e,0):lne|=n),$s(e,t)}function jNe(e,t){t===0&&(e.mode&1?(t=jT,jT<<=1,!(jT&130023424)&&(jT=4194304)):t=1);var n=Xl();e=sh(e,t),e!==null&&(d$(e,t,n),$s(e,n))}function out(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jNe(e,n)}function aut(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(rn(314))}r!==null&&r.delete(t),jNe(e,n)}var DNe;DNe=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Os.current)xs=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return xs=!1,Gct(e,t,n);xs=!!(e.flags&131072)}else xs=!1,lo&&t.flags&1048576&&BIe(t,Oj,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;uk(e,t),e=t.pendingProps;var i=X3(t,Tl.current);w3(t,n),i=tne(null,t,r,e,i,n);var o=nne();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Es(r)?(o=!0,_j(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Yte(t),i.updater=hz,t.stateNode=i,i._reactInternals=t,FY(t,r,e,n),t=qY(null,t,r,!0,o,n)):(t.tag=0,lo&&o&&Wte(t),Wl(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(uk(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=sut(r),e=nd(r,e),i){case 0:t=WY(null,t,r,e,n);break e;case 1:t=Cfe(null,t,r,e,n);break e;case 11:t=yfe(null,t,r,e,n);break e;case 14:t=bfe(null,t,r,nd(r.type,e),n);break e}throw Error(rn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),WY(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),Cfe(e,t,r,i,n);case 3:e:{if(CNe(t),e===null)throw Error(rn(387));r=t.pendingProps,o=t.memoizedState,i=o.element,qIe(e,t),Pj(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=J3(Error(rn(423)),t),t=Sfe(e,t,r,n,i);break e}else if(r!==i){i=J3(Error(rn(424)),t),t=Sfe(e,t,r,n,i);break e}else for(lc=Z1(t.stateNode.containerInfo.firstChild),mc=t,lo=!0,cd=null,n=KIe(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Y3(),r===i){t=ch(e,t,n);break e}Wl(e,t,r,n)}t=t.child}return t;case 5:return XIe(t),e===null&&LY(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,NY(r,i)?a=null:o!==null&&NY(r,o)&&(t.flags|=32),bNe(e,t),Wl(e,t,a,n),t.child;case 6:return e===null&&LY(t),null;case 13:return SNe(e,t,n);case 4:return Zte(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Z3(t,null,r,n):Wl(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),yfe(e,t,r,i,n);case 7:return Wl(e,t,t.pendingProps,n),t.child;case 8:return Wl(e,t,t.pendingProps.children,n),t.child;case 12:return Wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Bi(Ej,r._currentValue),r._currentValue=a,o!==null)if(wd(o.value,a)){if(o.children===i.children&&!Os.current){t=ch(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Yp(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),zY(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(rn(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),zY(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Wl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,w3(t,n),i=pu(i),r=r(i),t.flags|=1,Wl(e,t,r,n),t.child;case 14:return r=t.type,i=nd(r,t.pendingProps),i=nd(r.type,i),bfe(e,t,r,i,n);case 15:return vNe(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),uk(e,t),t.tag=1,Es(r)?(e=!0,_j(t)):e=!1,w3(t,n),UIe(t,r,i),FY(t,r,i,n),qY(null,t,r,!0,e,n);case 19:return xNe(e,t,n);case 22:return yNe(e,t,n)}throw Error(rn(156,t.tag))};function LNe(e,t){return uIe(e,t)}function lut(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tu(e,t,n,r){return new lut(e,t,n,r)}function fne(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sut(e){if(typeof e=="function")return fne(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rte)return 11;if(e===Ite)return 14}return 2}function t0(e,t){var n=e.alternate;return n===null?(n=tu(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function pk(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")fne(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case B2:return Av(n.children,i,o,t);case Mte:a=8,i|=8;break;case dY:return e=tu(12,n,t,i|2),e.elementType=dY,e.lanes=o,e;case fY:return e=tu(13,n,t,i),e.elementType=fY,e.lanes=o,e;case pY:return e=tu(19,n,t,i),e.elementType=pY,e.lanes=o,e;case GRe:return yz(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case VRe:a=10;break e;case URe:a=9;break e;case Rte:a=11;break e;case Ite:a=14;break e;case E1:a=16,r=null;break e}throw Error(rn(130,e==null?e:typeof e,""))}return t=tu(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Av(e,t,n,r){return e=tu(7,e,r,t),e.lanes=n,e}function yz(e,t,n,r){return e=tu(22,e,r,t),e.elementType=GRe,e.lanes=n,e.stateNode={isHidden:!1},e}function yq(e,t,n){return e=tu(6,e,null,t),e.lanes=n,e}function bq(e,t,n){return t=tu(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cut(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=JW(0),this.expirationTimes=JW(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=JW(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function pne(e,t,n,r,i,o,a,l,s){return e=new cut(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=tu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yte(o),e}function uut(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(HNe)}catch(e){console.error(e)}}HNe(),BRe.exports=Mc;var Ns=BRe.exports;const Dj=bo(Ns),vne=TRe({__proto__:null,default:Dj},[Ns]);var Nfe=Ns;cY.createRoot=Nfe.createRoot,cY.hydrateRoot=Nfe.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function vq(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function WY(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var qct=typeof WeakMap=="function"?WeakMap:Map;function mNe(e,t,n){n=Yp(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Aj||(Aj=!0,JY=r),WY(e,t)},n}function vNe(e,t,n){n=Yp(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){WY(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){WY(e,t),typeof r!="function"&&(J1===null?J1=new Set([this]):J1.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function mfe(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qct;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=iut.bind(null,e,t,n),t.then(e,e))}function vfe(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function yfe(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Yp(-1,1),t.tag=2,Q1(n,t,1))),n.lanes|=1),e)}var Vct=$h.ReactCurrentOwner,xs=!1;function Wl(e,t,n,r){t.child=e===null?XIe(t,null,n,r):Z3(t,e.child,n,r)}function bfe(e,t,n,r,i){n=n.render;var o=t.ref;return w3(t,i),r=nne(e,t,n,r,o,i),n=rne(),e!==null&&!xs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ch(e,t,i)):(lo&&n&&qte(t),t.flags|=1,Wl(e,t,r,i),t.child)}function Cfe(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!pne(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,yNe(e,t,o,r,i)):(e=hk(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:OE,n(a,r)&&e.ref===t.ref)return ch(e,t,i)}return t.flags|=1,e=t0(o,r),e.ref=t.ref,e.return=t,t.child=e}function yNe(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(OE(o,r)&&e.ref===t.ref)if(xs=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(xs=!0);else return t.lanes=e.lanes,ch(e,t,i)}return qY(e,t,n,r,i)}function bNe(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bi(Y2,tc),tc|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bi(Y2,tc),tc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Bi(Y2,tc),tc|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Bi(Y2,tc),tc|=r;return Wl(e,t,i,n),t.child}function CNe(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function qY(e,t,n,r,i){var o=Es(n)?Yv:Tl.current;return o=X3(t,o),w3(t,i),n=nne(e,t,n,r,o,i),r=rne(),e!==null&&!xs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ch(e,t,i)):(lo&&r&&qte(t),t.flags|=1,Wl(e,t,n,i),t.child)}function Sfe(e,t,n,r,i){if(Es(n)){var o=!0;wj(t)}else o=!1;if(w3(t,i),t.stateNode===null)dk(e,t),GIe(t,n,r),HY(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=pu(u):(u=Es(n)?Yv:Tl.current,u=X3(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==u)&&ffe(t,a,r,u),$1=!1;var h=t.memoizedState;a.state=h,Tj(t,r,a,i),s=t.memoizedState,l!==r||h!==s||Os.current||$1?(typeof c=="function"&&(FY(t,n,c,r),s=t.memoizedState),(l=$1||dfe(t,n,l,r,h,s,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,VIe(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nd(t.type,l),a.props=u,f=t.pendingProps,h=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=pu(s):(s=Es(n)?Yv:Tl.current,s=X3(t,s));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||h!==s)&&ffe(t,a,r,s),$1=!1,h=t.memoizedState,a.state=h,Tj(t,r,a,i);var p=t.memoizedState;l!==f||h!==p||Os.current||$1?(typeof d=="function"&&(FY(t,n,d,r),p=t.memoizedState),(u=$1||dfe(t,n,u,r,h,p,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,p,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,p,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return VY(e,t,n,r,o,i)}function VY(e,t,n,r,i,o){CNe(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&afe(t,n,!1),ch(e,t,o);r=t.stateNode,Vct.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Z3(t,e.child,null,o),t.child=Z3(t,null,l,o)):Wl(e,t,l,o),t.memoizedState=r.state,i&&afe(t,n,!0),t.child}function SNe(e){var t=e.stateNode;t.pendingContext?ofe(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ofe(e,t.context,!1),Qte(e,t.containerInfo)}function xfe(e,t,n,r,i){return Y3(),Ute(i),t.flags|=256,Wl(e,t,n,r),t.child}var UY={dehydrated:null,treeContext:null,retryLane:0};function GY(e){return{baseLanes:e,cachePool:null,transitions:null}}function xNe(e,t,n){var r=t.pendingProps,i=po.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Bi(po,i&1),e===null)return zY(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=bz(a,r,0,null),e=Av(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=GY(n),t.memoizedState=UY,e):ane(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Uct(e,t,a,r,l,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,l=i.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=t0(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=t0(l,o):(o=Av(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?GY(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=UY,r}return o=e.child,e=o.sibling,r=t0(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ane(e,t){return t=bz({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function VT(e,t,n,r){return r!==null&&Ute(r),Z3(t,e.child,null,n),e=ane(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Uct(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=vq(Error(rn(422))),VT(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=bz({mode:"visible",children:r.children},i,0,null),o=Av(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Z3(t,e.child,null,a),t.child.memoizedState=GY(a),t.memoizedState=UY,o);if(!(t.mode&1))return VT(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(rn(419)),r=vq(o,r,void 0),VT(e,t,a,r)}if(l=(a&e.childLanes)!==0,xs||l){if(r=za,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,sh(e,i),md(r,e,i,-1))}return fne(),r=vq(Error(rn(421))),VT(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=out.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,lc=Z1(i.nextSibling),mc=t,lo=!0,cd=null,e!==null&&(Zc[Qc++]=Up,Zc[Qc++]=Gp,Zc[Qc++]=Zv,Up=e.id,Gp=e.overflow,Zv=t),t=ane(t,r.children),t.flags|=4096,t)}function _fe(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),BY(e.return,t,n)}function yq(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function _Ne(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Wl(e,t,r.children,n),r=po.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_fe(e,n,t);else if(e.tag===19)_fe(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Bi(po,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Mj(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),yq(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Mj(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}yq(t,!0,n,null,o);break;case"together":yq(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function dk(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ch(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jv|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(rn(153));if(t.child!==null){for(e=t.child,n=t0(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=t0(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Gct(e,t,n){switch(t.tag){case 3:SNe(t),Y3();break;case 5:YIe(t);break;case 1:Es(t.type)&&wj(t);break;case 4:Qte(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Bi($j,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Bi(po,po.current&1),t.flags|=128,null):n&t.child.childLanes?xNe(e,t,n):(Bi(po,po.current&1),e=ch(e,t,n),e!==null?e.sibling:null);Bi(po,po.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return _Ne(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Bi(po,po.current),r)break;return null;case 22:case 23:return t.lanes=0,bNe(e,t,n)}return ch(e,t,n)}var wNe,KY,ONe,ENe;wNe=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};KY=function(){};ONe=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vv(_f.current);var o=null;switch(n){case"input":i=mY(e,i),r=mY(e,r),o=[];break;case"select":i=bo({},i,{value:void 0}),r=bo({},r,{value:void 0}),o=[];break;case"textarea":i=bY(e,i),r=bY(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xj)}SY(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(yE.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(yE.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Ui("scroll",e),o||l===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};ENe=function(e,t,n,r){n!==r&&(t.flags|=4)};function j6(e,t){if(!lo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vl(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kct(e,t,n){var r=t.pendingProps;switch(Vte(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vl(t),null;case 1:return Es(t.type)&&_j(),vl(t),null;case 3:return r=t.stateNode,Q3(),Qi(Os),Qi(Tl),ene(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(WT(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,cd!==null&&(nZ(cd),cd=null))),KY(e,t),vl(t),null;case 5:Jte(t);var i=vv(ME.current);if(n=t.type,e!==null&&t.stateNode!=null)ONe(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(rn(166));return vl(t),null}if(e=vv(_f.current),WT(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[lf]=t,r[PE]=o,e=(t.mode&1)!==0,n){case"dialog":Ui("cancel",r),Ui("close",r);break;case"iframe":case"object":case"embed":Ui("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[lf]=t,e[PE]=r,wNe(e,t,!1,!1),t.stateNode=e;e:{switch(a=xY(n,r),n){case"dialog":Ui("cancel",e),Ui("close",e),i=r;break;case"iframe":case"object":case"embed":Ui("load",e),i=r;break;case"video":case"audio":for(i=0;ie4&&(t.flags|=128,r=!0,j6(o,!1),t.lanes=4194304)}else{if(!r)if(e=Mj(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),j6(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!lo)return vl(t),null}else 2*Ho()-o.renderingStartTime>e4&&n!==1073741824&&(t.flags|=128,r=!0,j6(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ho(),t.sibling=null,n=po.current,Bi(po,r?n&1|2:n&1),t):(vl(t),null);case 22:case 23:return dne(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tc&1073741824&&(vl(t),t.subtreeFlags&6&&(t.flags|=8192)):vl(t),null;case 24:return null;case 25:return null}throw Error(rn(156,t.tag))}function Xct(e,t){switch(Vte(t),t.tag){case 1:return Es(t.type)&&_j(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Q3(),Qi(Os),Qi(Tl),ene(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jte(t),null;case 13:if(Qi(po),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(rn(340));Y3()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qi(po),null;case 4:return Q3(),null;case 10:return Xte(t.type._context),null;case 22:case 23:return dne(),null;case 24:return null;default:return null}}var UT=!1,xl=!1,Yct=typeof WeakSet=="function"?WeakSet:Set,Rn=null;function X2(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Oo(e,t,r)}else n.current=null}function XY(e,t,n){try{n()}catch(r){Oo(e,t,r)}}var wfe=!1;function Zct(e,t){if(IY=bj,e=MIe(),Wte(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var d;f!==n||i!==0&&f.nodeType!==3||(l=a+i),f!==o||r!==0&&f.nodeType!==3||(s=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(d=f.firstChild)!==null;)h=f,f=d;for(;;){if(f===e)break t;if(h===n&&++u===i&&(l=a),h===o&&++c===r&&(s=a),(d=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=d}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(NY={focusedElem:e,selectionRange:n},bj=!1,Rn=t;Rn!==null;)if(t=Rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Rn=e;else for(;Rn!==null;){t=Rn;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,m=p.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:nd(t.type,g),m);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(rn(163))}}catch(C){Oo(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,Rn=e;break}Rn=t.return}return p=wfe,wfe=!1,p}function P9(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&XY(t,n,o)}i=i.next}while(i!==r)}}function vz(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function YY(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function $Ne(e){var t=e.alternate;t!==null&&(e.alternate=null,$Ne(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lf],delete t[PE],delete t[jY],delete t[Nct],delete t[Act])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function PNe(e){return e.tag===5||e.tag===3||e.tag===4}function Ofe(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||PNe(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ZY(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xj));else if(r!==4&&(e=e.child,e!==null))for(ZY(e,t,n),e=e.sibling;e!==null;)ZY(e,t,n),e=e.sibling}function QY(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(QY(e,t,n),e=e.sibling;e!==null;)QY(e,t,n),e=e.sibling}var Qa=null,od=!1;function Jh(e,t,n){for(n=n.child;n!==null;)TNe(e,t,n),n=n.sibling}function TNe(e,t,n){if(xf&&typeof xf.onCommitFiberUnmount=="function")try{xf.onCommitFiberUnmount(cz,n)}catch{}switch(n.tag){case 5:xl||X2(n,t);case 6:var r=Qa,i=od;Qa=null,Jh(e,t,n),Qa=r,od=i,Qa!==null&&(od?(e=Qa,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qa.removeChild(n.stateNode));break;case 18:Qa!==null&&(od?(e=Qa,n=n.stateNode,e.nodeType===8?dq(e.parentNode,n):e.nodeType===1&&dq(e,n),_E(e)):dq(Qa,n.stateNode));break;case 4:r=Qa,i=od,Qa=n.stateNode.containerInfo,od=!0,Jh(e,t,n),Qa=r,od=i;break;case 0:case 11:case 14:case 15:if(!xl&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&XY(n,t,a),i=i.next}while(i!==r)}Jh(e,t,n);break;case 1:if(!xl&&(X2(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Oo(n,t,l)}Jh(e,t,n);break;case 21:Jh(e,t,n);break;case 22:n.mode&1?(xl=(r=xl)||n.memoizedState!==null,Jh(e,t,n),xl=r):Jh(e,t,n);break;default:Jh(e,t,n)}}function Efe(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yct),t.forEach(function(r){var i=aut.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Du(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Ho()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jct(r/1960))-r,10e?16:e,B1===null)var r=!1;else{if(e=B1,B1=null,kj=0,Ur&6)throw Error(rn(331));var i=Ur;for(Ur|=4,Rn=e.current;Rn!==null;){var o=Rn,a=o.child;if(Rn.flags&16){var l=o.deletions;if(l!==null){for(var s=0;sHo()-cne?Nv(e,0):sne|=n),$s(e,t)}function DNe(e,t){t===0&&(e.mode&1?(t=DT,DT<<=1,!(DT&130023424)&&(DT=4194304)):t=1);var n=Xl();e=sh(e,t),e!==null&&(f$(e,t,n),$s(e,n))}function out(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),DNe(e,n)}function aut(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(rn(314))}r!==null&&r.delete(t),DNe(e,n)}var LNe;LNe=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Os.current)xs=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return xs=!1,Gct(e,t,n);xs=!!(e.flags&131072)}else xs=!1,lo&&t.flags&1048576&&FIe(t,Ej,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;dk(e,t),e=t.pendingProps;var i=X3(t,Tl.current);w3(t,n),i=nne(null,t,r,e,i,n);var o=rne();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Es(r)?(o=!0,wj(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zte(t),i.updater=gz,t.stateNode=i,i._reactInternals=t,HY(t,r,e,n),t=VY(null,t,r,!0,o,n)):(t.tag=0,lo&&o&&qte(t),Wl(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(dk(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=sut(r),e=nd(r,e),i){case 0:t=qY(null,t,r,e,n);break e;case 1:t=Sfe(null,t,r,e,n);break e;case 11:t=bfe(null,t,r,e,n);break e;case 14:t=Cfe(null,t,r,nd(r.type,e),n);break e}throw Error(rn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),qY(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),Sfe(e,t,r,i,n);case 3:e:{if(SNe(t),e===null)throw Error(rn(387));r=t.pendingProps,o=t.memoizedState,i=o.element,VIe(e,t),Tj(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=J3(Error(rn(423)),t),t=xfe(e,t,r,n,i);break e}else if(r!==i){i=J3(Error(rn(424)),t),t=xfe(e,t,r,n,i);break e}else for(lc=Z1(t.stateNode.containerInfo.firstChild),mc=t,lo=!0,cd=null,n=XIe(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Y3(),r===i){t=ch(e,t,n);break e}Wl(e,t,r,n)}t=t.child}return t;case 5:return YIe(t),e===null&&zY(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,AY(r,i)?a=null:o!==null&&AY(r,o)&&(t.flags|=32),CNe(e,t),Wl(e,t,a,n),t.child;case 6:return e===null&&zY(t),null;case 13:return xNe(e,t,n);case 4:return Qte(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Z3(t,null,r,n):Wl(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),bfe(e,t,r,i,n);case 7:return Wl(e,t,t.pendingProps,n),t.child;case 8:return Wl(e,t,t.pendingProps.children,n),t.child;case 12:return Wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Bi($j,r._currentValue),r._currentValue=a,o!==null)if(wd(o.value,a)){if(o.children===i.children&&!Os.current){t=ch(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Yp(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),BY(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(rn(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),BY(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Wl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,w3(t,n),i=pu(i),r=r(i),t.flags|=1,Wl(e,t,r,n),t.child;case 14:return r=t.type,i=nd(r,t.pendingProps),i=nd(r.type,i),Cfe(e,t,r,i,n);case 15:return yNe(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nd(r,i),dk(e,t),t.tag=1,Es(r)?(e=!0,wj(t)):e=!1,w3(t,n),GIe(t,r,i),HY(t,r,i,n),VY(null,t,r,!0,e,n);case 19:return _Ne(e,t,n);case 22:return bNe(e,t,n)}throw Error(rn(156,t.tag))};function zNe(e,t){return dIe(e,t)}function lut(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tu(e,t,n,r){return new lut(e,t,n,r)}function pne(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sut(e){if(typeof e=="function")return pne(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ite)return 11;if(e===Nte)return 14}return 2}function t0(e,t){var n=e.alternate;return n===null?(n=tu(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function hk(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")pne(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case B2:return Av(n.children,i,o,t);case Rte:a=8,i|=8;break;case fY:return e=tu(12,n,t,i|2),e.elementType=fY,e.lanes=o,e;case pY:return e=tu(13,n,t,i),e.elementType=pY,e.lanes=o,e;case hY:return e=tu(19,n,t,i),e.elementType=hY,e.lanes=o,e;case KRe:return bz(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case URe:a=10;break e;case GRe:a=9;break e;case Ite:a=11;break e;case Nte:a=14;break e;case E1:a=16,r=null;break e}throw Error(rn(130,e==null?e:typeof e,""))}return t=tu(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Av(e,t,n,r){return e=tu(7,e,r,t),e.lanes=n,e}function bz(e,t,n,r){return e=tu(22,e,r,t),e.elementType=KRe,e.lanes=n,e.stateNode={isHidden:!1},e}function bq(e,t,n){return e=tu(6,e,null,t),e.lanes=n,e}function Cq(e,t,n){return t=tu(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cut(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eq(0),this.expirationTimes=eq(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eq(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function hne(e,t,n,r,i,o,a,l,s){return e=new cut(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=tu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zte(o),e}function uut(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(WNe)}catch(e){console.error(e)}}WNe(),FRe.exports=Mc;var Ns=FRe.exports;const Lj=so(Ns),yne=MRe({__proto__:null,default:Lj},[Ns]);var Afe=Ns;uY.createRoot=Afe.createRoot,uY.hydrateRoot=Afe.hydrateRoot;/** * @remix-run/router v1.15.0 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function g0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mut(){return Math.random().toString(36).substr(2,8)}function kfe(e,t){return{usr:e.state,key:e.key,idx:t}}function AE(e,t,n,r){return n===void 0&&(n=null),Eo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ff(t):t,{state:n,key:t&&t.key||r||mut()})}function ty(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ff(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function vut(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,l=Bo.Pop,s=null,u=c();u==null&&(u=0,a.replaceState(Eo({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function f(){l=Bo.Pop;let m=c(),v=m==null?null:m-u;u=m,s&&s({action:l,location:g.location,delta:v})}function h(m,v){l=Bo.Push;let y=AE(g.location,m,v);n&&n(y,m),u=c()+1;let b=kfe(y,u),C=g.createHref(y);try{a.pushState(b,"",C)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(C)}o&&s&&s({action:l,location:g.location,delta:1})}function d(m,v){l=Bo.Replace;let y=AE(g.location,m,v);n&&n(y,m),u=c();let b=kfe(y,u),C=g.createHref(y);a.replaceState(b,"",C),o&&s&&s({action:l,location:g.location,delta:0})}function p(m){let v=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof m=="string"?m:ty(m);return Ir(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return l},get location(){return e(i,a)},listen(m){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(Afe,f),s=m,()=>{i.removeEventListener(Afe,f),s=null}},createHref(m){return t(i,m)},createURL:p,encodeLocation(m){let v=p(m);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:d,go(m){return a.go(m)}};return g}var wo;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wo||(wo={}));const yut=new Set(["lazy","caseSensitive","path","id","index","children"]);function but(e){return e.index===!0}function nZ(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let a=[...n,o],l=typeof i.id=="string"?i.id:a.join("-");if(Ir(i.index!==!0||!i.children,"Cannot specify children on an index route"),Ir(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),but(i)){let s=Eo({},i,t(i),{id:l});return r[l]=s,s}else{let s=Eo({},i,t(i),{id:l,children:void 0});return r[l]=s,i.children&&(s.children=nZ(i.children,t,a,r)),s}})}function Z2(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ff(t):t,i=aC(r.pathname||"/",n);if(i==null)return null;let o=WNe(e);Sut(o);let a=null;for(let l=0;a==null&&l{let s={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};s.relativePath.startsWith("/")&&(Ir(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Zp([r,s.relativePath]),c=n.concat(s);o.children&&o.children.length>0&&(Ir(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),WNe(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:Put(u,o.index),routesMeta:c})};return e.forEach((o,a)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,a);else for(let s of qNe(o.path))i(o,a,s)}),t}function qNe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=qNe(r.join("/")),l=[];return l.push(...a.map(s=>s===""?o:[o,s].join("/"))),i&&l.push(...a),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function Sut(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Tut(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xut=/^:[\w-]+$/,_ut=3,wut=2,Out=1,Eut=10,$ut=-2,jfe=e=>e==="*";function Put(e,t){let n=e.split("/"),r=n.length;return n.some(jfe)&&(r+=$ut),t&&(r+=wut),n.filter(i=>!jfe(i)).reduce((i,o)=>i+(xut.test(o)?_ut:o===""?Out:Eut),r)}function Tut(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Mut(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;a{let{paramName:h,isOptional:d}=c;if(h==="*"){let g=l[f]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const p=l[f];return d&&!p?u[h]=void 0:u[h]=Aut(p||"",h),u},{}),pathname:o,pathnameBase:a,pattern:e}}function Iut(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),g0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Nut(e){try{return decodeURI(e)}catch(t){return g0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Aut(e,t){try{return decodeURIComponent(e)}catch(n){return g0(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function aC(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function kut(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ff(e):e;return{pathname:n?n.startsWith("/")?n:jut(n,t):t,search:Lut(r),hash:zut(i)}}function jut(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Cq(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function VNe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function yne(e,t){let n=VNe(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function bne(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ff(e):(i=Eo({},e),Ir(!i.pathname||!i.pathname.includes("?"),Cq("?","pathname","search",i)),Ir(!i.pathname||!i.pathname.includes("#"),Cq("#","pathname","hash",i)),Ir(!i.search||!i.search.includes("#"),Cq("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}l=f>=0?t[f]:"/"}let s=kut(i,l),u=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Zp=e=>e.join("/").replace(/\/\/+/g,"/"),Dut=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lut=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zut=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Cne{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function UNe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const GNe=["post","put","patch","delete"],But=new Set(GNe),Fut=["get",...GNe],Hut=new Set(Fut),Wut=new Set([301,302,303,307,308]),qut=new Set([307,308]),Sq={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Vut={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},L6={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},KNe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uut=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),XNe="remix-router-transitions";function Gut(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Ir(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let we=e.detectErrorBoundary;i=De=>({hasErrorBoundary:we(De)})}else i=Uut;let o={},a=nZ(e.routes,i,void 0,o),l,s=e.basename||"/",u=Eo({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,f=new Set,h=null,d=null,p=null,g=e.hydrationData!=null,m=Z2(a,e.history.location,s),v=null;if(m==null){let we=Uc(404,{pathname:e.history.location.pathname}),{matches:De,route:We}=qfe(a);m=De,v={[We.id]:we}}let y,b=m.some(we=>we.route.lazy),C=m.some(we=>we.route.loader);if(b)y=!1;else if(!C)y=!0;else if(u.v7_partialHydration){let we=e.hydrationData?e.hydrationData.loaderData:null,De=e.hydrationData?e.hydrationData.errors:null;y=m.every(We=>We.route.loader&&We.route.loader.hydrate!==!0&&(we&&we[We.route.id]!==void 0||De&&De[We.route.id]!==void 0))}else y=e.hydrationData!=null;let x,S={historyAction:e.history.action,location:e.history.location,matches:m,initialized:y,navigation:Sq,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},w=Bo.Pop,O=!1,$,P=!1,T=new Map,R=null,M=!1,A=!1,N=[],k=[],D=new Map,L=0,B=-1,j=new Map,z=new Set,V=new Map,W=new Map,U=new Set,K=new Map,X=new Map,G=!1;function Y(){if(c=e.history.listen(we=>{let{action:De,location:We,delta:Ge}=we;if(G){G=!1;return}g0(X.size===0||Ge!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Je=$e({currentLocation:S.location,nextLocation:We,historyAction:De});if(Je&&Ge!=null){G=!0,e.history.go(Ge*-1),Ee(Je,{state:"blocked",location:We,proceed(){Ee(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:We}),e.history.go(Ge)},reset(){let bt=new Map(S.blockers);bt.set(Je,L6),Q({blockers:bt})}});return}return oe(De,We)}),n){idt(t,T);let we=()=>odt(t,T);t.addEventListener("pagehide",we),R=()=>t.removeEventListener("pagehide",we)}return S.initialized||oe(Bo.Pop,S.location,{initialHydration:!0}),x}function J(){c&&c(),R&&R(),f.clear(),$&&$.abort(),S.fetchers.forEach((we,De)=>ce(De)),S.blockers.forEach((we,De)=>me(De))}function ee(we){return f.add(we),()=>f.delete(we)}function Q(we,De){De===void 0&&(De={}),S=Eo({},S,we);let We=[],Ge=[];u.v7_fetcherPersist&&S.fetchers.forEach((Je,bt)=>{Je.state==="idle"&&(U.has(bt)?Ge.push(bt):We.push(bt))}),[...f].forEach(Je=>Je(S,{deletedFetchers:Ge,unstable_viewTransitionOpts:De.viewTransitionOpts,unstable_flushSync:De.flushSync===!0})),u.v7_fetcherPersist&&(We.forEach(Je=>S.fetchers.delete(Je)),Ge.forEach(Je=>ce(Je)))}function te(we,De,We){var Ge,Je;let{flushSync:bt}=We===void 0?{}:We,at=S.actionData!=null&&S.navigation.formMethod!=null&&ad(S.navigation.formMethod)&&S.navigation.state==="loading"&&((Ge=we.state)==null?void 0:Ge._isRedirect)!==!0,et;De.actionData?Object.keys(De.actionData).length>0?et=De.actionData:et=null:at?et=S.actionData:et=null;let rt=De.loaderData?Wfe(S.loaderData,De.loaderData,De.matches||[],De.errors):S.loaderData,Ze=S.blockers;Ze.size>0&&(Ze=new Map(Ze),Ze.forEach((ot,dt)=>Ze.set(dt,L6)));let wt=O===!0||S.navigation.formMethod!=null&&ad(S.navigation.formMethod)&&((Je=we.state)==null?void 0:Je._isRedirect)!==!0;l&&(a=l,l=void 0),M||w===Bo.Pop||(w===Bo.Push?e.history.push(we,we.state):w===Bo.Replace&&e.history.replace(we,we.state));let ut;if(w===Bo.Pop){let ot=T.get(S.location.pathname);ot&&ot.has(we.pathname)?ut={currentLocation:S.location,nextLocation:we}:T.has(we.pathname)&&(ut={currentLocation:we,nextLocation:S.location})}else if(P){let ot=T.get(S.location.pathname);ot?ot.add(we.pathname):(ot=new Set([we.pathname]),T.set(S.location.pathname,ot)),ut={currentLocation:S.location,nextLocation:we}}Q(Eo({},De,{actionData:et,loaderData:rt,historyAction:w,location:we,initialized:!0,navigation:Sq,revalidation:"idle",restoreScrollPosition:ft(we,De.matches||S.matches),preventScrollReset:wt,blockers:Ze}),{viewTransitionOpts:ut,flushSync:bt===!0}),w=Bo.Pop,O=!1,P=!1,M=!1,A=!1,N=[],k=[]}async function ne(we,De){if(typeof we=="number"){e.history.go(we);return}let We=rZ(S.location,S.matches,s,u.v7_prependBasename,we,u.v7_relativeSplatPath,De==null?void 0:De.fromRouteId,De==null?void 0:De.relative),{path:Ge,submission:Je,error:bt}=Dfe(u.v7_normalizeFormMethod,!1,We,De),at=S.location,et=AE(S.location,Ge,De&&De.state);et=Eo({},et,e.history.encodeLocation(et));let rt=De&&De.replace!=null?De.replace:void 0,Ze=Bo.Push;rt===!0?Ze=Bo.Replace:rt===!1||Je!=null&&ad(Je.formMethod)&&Je.formAction===S.location.pathname+S.location.search&&(Ze=Bo.Replace);let wt=De&&"preventScrollReset"in De?De.preventScrollReset===!0:void 0,ut=(De&&De.unstable_flushSync)===!0,ot=$e({currentLocation:at,nextLocation:et,historyAction:Ze});if(ot){Ee(ot,{state:"blocked",location:et,proceed(){Ee(ot,{state:"proceeding",proceed:void 0,reset:void 0,location:et}),ne(we,De)},reset(){let dt=new Map(S.blockers);dt.set(ot,L6),Q({blockers:dt})}});return}return await oe(Ze,et,{submission:Je,pendingError:bt,preventScrollReset:wt,replace:De&&De.replace,enableViewTransition:De&&De.unstable_viewTransition,flushSync:ut})}function re(){if(Ie(),Q({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){oe(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}oe(w||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function oe(we,De,We){$&&$.abort(),$=null,w=we,M=(We&&We.startUninterruptedRevalidation)===!0,lt(S.location,S.matches),O=(We&&We.preventScrollReset)===!0,P=(We&&We.enableViewTransition)===!0;let Ge=l||a,Je=We&&We.overrideNavigation,bt=Z2(Ge,De,s),at=(We&&We.flushSync)===!0;if(!bt){let dt=Uc(404,{pathname:De.pathname}),{matches:_t,route:Ot}=qfe(Ge);Le(),te(De,{matches:_t,loaderData:{},errors:{[Ot.id]:dt}},{flushSync:at});return}if(S.initialized&&!A&&Qut(S.location,De)&&!(We&&We.submission&&ad(We.submission.formMethod))){te(De,{matches:bt},{flushSync:at});return}$=new AbortController;let et=B6(e.history,De,$.signal,We&&We.submission),rt,Ze;if(We&&We.pendingError)Ze={[M9(bt).route.id]:We.pendingError};else if(We&&We.submission&&ad(We.submission.formMethod)){let dt=await se(et,De,We.submission,bt,{replace:We.replace,flushSync:at});if(dt.shortCircuited)return;rt=dt.pendingActionData,Ze=dt.pendingActionError,Je=xq(De,We.submission),at=!1,et=new Request(et.url,{signal:et.signal})}let{shortCircuited:wt,loaderData:ut,errors:ot}=await ye(et,De,bt,Je,We&&We.submission,We&&We.fetcherSubmission,We&&We.replace,We&&We.initialHydration===!0,at,rt,Ze);wt||($=null,te(De,Eo({matches:bt},rt?{actionData:rt}:{},{loaderData:ut,errors:ot})))}async function se(we,De,We,Ge,Je){Je===void 0&&(Je={}),Ie();let bt=ndt(De,We);Q({navigation:bt},{flushSync:Je.flushSync===!0});let at,et=oZ(Ge,De);if(!et.route.action&&!et.route.lazy)at={type:wo.error,error:Uc(405,{method:we.method,pathname:De.pathname,routeId:et.route.id})};else if(at=await z6("action",we,et,Ge,o,i,s,u.v7_relativeSplatPath),we.signal.aborted)return{shortCircuited:!0};if(bv(at)){let rt;return Je&&Je.replace!=null?rt=Je.replace:rt=at.location===S.location.pathname+S.location.search,await ve(S,at,{submission:We,replace:rt}),{shortCircuited:!0}}if(Q2(at)){let rt=M9(Ge,et.route.id);return(Je&&Je.replace)!==!0&&(w=Bo.Push),{pendingActionData:{},pendingActionError:{[rt.route.id]:at.error}}}if(yv(at))throw Uc(400,{type:"defer-action"});return{pendingActionData:{[et.route.id]:at.data}}}async function ye(we,De,We,Ge,Je,bt,at,et,rt,Ze,wt){let ut=Ge||xq(De,Je),ot=Je||bt||Gfe(ut),dt=l||a,[_t,Ot]=Lfe(e.history,S,We,ot,De,u.v7_partialHydration&&et===!0,A,N,k,U,V,z,dt,s,Ze,wt);if(Le(zt=>!(We&&We.some(Qt=>Qt.route.id===zt))||_t&&_t.some(Qt=>Qt.route.id===zt)),B=++L,_t.length===0&&Ot.length===0){let zt=He();return te(De,Eo({matches:We,loaderData:{},errors:wt||null},Ze?{actionData:Ze}:{},zt?{fetchers:new Map(S.fetchers)}:{}),{flushSync:rt}),{shortCircuited:!0}}if(!M&&(!u.v7_partialHydration||!et)){Ot.forEach(Qt=>{let Pt=S.fetchers.get(Qt.key),ct=F6(void 0,Pt?Pt.data:void 0);S.fetchers.set(Qt.key,ct)});let zt=Ze||S.actionData;Q(Eo({navigation:ut},zt?Object.keys(zt).length===0?{actionData:null}:{actionData:zt}:{},Ot.length>0?{fetchers:new Map(S.fetchers)}:{}),{flushSync:rt})}Ot.forEach(zt=>{D.has(zt.key)&&Ne(zt.key),zt.controller&&D.set(zt.key,zt.controller)});let Ct=()=>Ot.forEach(zt=>Ne(zt.key));$&&$.signal.addEventListener("abort",Ct);let{results:mt,loaderResults:It,fetcherResults:nt}=await ke(S.matches,We,_t,Ot,we);if(we.signal.aborted)return{shortCircuited:!0};$&&$.signal.removeEventListener("abort",Ct),Ot.forEach(zt=>D.delete(zt.key));let yt=Vfe(mt);if(yt){if(yt.idx>=_t.length){let zt=Ot[yt.idx-_t.length].key;z.add(zt)}return await ve(S,yt.result,{replace:at}),{shortCircuited:!0}}let{loaderData:xt,errors:At}=Hfe(S,We,_t,It,wt,Ot,nt,K);K.forEach((zt,Qt)=>{zt.subscribe(Pt=>{(Pt||zt.done)&&K.delete(Qt)})});let cn=He(),Ht=Be(B),$t=cn||Ht||Ot.length>0;return Eo({loaderData:xt,errors:At},$t?{fetchers:new Map(S.fetchers)}:{})}function be(we,De,We,Ge){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");D.has(we)&&Ne(we);let Je=(Ge&&Ge.unstable_flushSync)===!0,bt=l||a,at=rZ(S.location,S.matches,s,u.v7_prependBasename,We,u.v7_relativeSplatPath,De,Ge==null?void 0:Ge.relative),et=Z2(bt,at,s);if(!et){Pe(we,De,Uc(404,{pathname:at}),{flushSync:Je});return}let{path:rt,submission:Ze,error:wt}=Dfe(u.v7_normalizeFormMethod,!0,at,Ge);if(wt){Pe(we,De,wt,{flushSync:Je});return}let ut=oZ(et,rt);if(O=(Ge&&Ge.preventScrollReset)===!0,Ze&&ad(Ze.formMethod)){he(we,De,rt,ut,et,Je,Ze);return}V.set(we,{routeId:De,path:rt}),le(we,De,rt,ut,et,Je,Ze)}async function he(we,De,We,Ge,Je,bt,at){if(Ie(),V.delete(we),!Ge.route.action&&!Ge.route.lazy){let Qt=Uc(405,{method:at.formMethod,pathname:We,routeId:De});Pe(we,De,Qt,{flushSync:bt});return}let et=S.fetchers.get(we);Oe(we,rdt(at,et),{flushSync:bt});let rt=new AbortController,Ze=B6(e.history,We,rt.signal,at);D.set(we,rt);let wt=L,ut=await z6("action",Ze,Ge,Je,o,i,s,u.v7_relativeSplatPath);if(Ze.signal.aborted){D.get(we)===rt&&D.delete(we);return}if(u.v7_fetcherPersist&&U.has(we)){if(bv(ut)||Q2(ut)){Oe(we,S1(void 0));return}}else{if(bv(ut))if(D.delete(we),B>wt){Oe(we,S1(void 0));return}else return z.add(we),Oe(we,F6(at)),ve(S,ut,{fetcherSubmission:at});if(Q2(ut)){Pe(we,De,ut.error);return}}if(yv(ut))throw Uc(400,{type:"defer-action"});let ot=S.navigation.location||S.location,dt=B6(e.history,ot,rt.signal),_t=l||a,Ot=S.navigation.state!=="idle"?Z2(_t,S.navigation.location,s):S.matches;Ir(Ot,"Didn't find any matches after fetcher action");let Ct=++L;j.set(we,Ct);let mt=F6(at,ut.data);S.fetchers.set(we,mt);let[It,nt]=Lfe(e.history,S,Ot,at,ot,!1,A,N,k,U,V,z,_t,s,{[Ge.route.id]:ut.data},void 0);nt.filter(Qt=>Qt.key!==we).forEach(Qt=>{let Pt=Qt.key,ct=S.fetchers.get(Pt),Wt=F6(void 0,ct?ct.data:void 0);S.fetchers.set(Pt,Wt),D.has(Pt)&&Ne(Pt),Qt.controller&&D.set(Pt,Qt.controller)}),Q({fetchers:new Map(S.fetchers)});let yt=()=>nt.forEach(Qt=>Ne(Qt.key));rt.signal.addEventListener("abort",yt);let{results:xt,loaderResults:At,fetcherResults:cn}=await ke(S.matches,Ot,It,nt,dt);if(rt.signal.aborted)return;rt.signal.removeEventListener("abort",yt),j.delete(we),D.delete(we),nt.forEach(Qt=>D.delete(Qt.key));let Ht=Vfe(xt);if(Ht){if(Ht.idx>=It.length){let Qt=nt[Ht.idx-It.length].key;z.add(Qt)}return ve(S,Ht.result)}let{loaderData:$t,errors:zt}=Hfe(S,S.matches,It,At,void 0,nt,cn,K);if(S.fetchers.has(we)){let Qt=S1(ut.data);S.fetchers.set(we,Qt)}Be(Ct),S.navigation.state==="loading"&&Ct>B?(Ir(w,"Expected pending action"),$&&$.abort(),te(S.navigation.location,{matches:Ot,loaderData:$t,errors:zt,fetchers:new Map(S.fetchers)})):(Q({errors:zt,loaderData:Wfe(S.loaderData,$t,Ot,zt),fetchers:new Map(S.fetchers)}),A=!1)}async function le(we,De,We,Ge,Je,bt,at){let et=S.fetchers.get(we);Oe(we,F6(at,et?et.data:void 0),{flushSync:bt});let rt=new AbortController,Ze=B6(e.history,We,rt.signal);D.set(we,rt);let wt=L,ut=await z6("loader",Ze,Ge,Je,o,i,s,u.v7_relativeSplatPath);if(yv(ut)&&(ut=await QNe(ut,Ze.signal,!0)||ut),D.get(we)===rt&&D.delete(we),!Ze.signal.aborted){if(U.has(we)){Oe(we,S1(void 0));return}if(bv(ut))if(B>wt){Oe(we,S1(void 0));return}else{z.add(we),await ve(S,ut);return}if(Q2(ut)){Pe(we,De,ut.error);return}Ir(!yv(ut),"Unhandled fetcher deferred data"),Oe(we,S1(ut.data))}}async function ve(we,De,We){let{submission:Ge,fetcherSubmission:Je,replace:bt}=We===void 0?{}:We;De.revalidate&&(A=!0);let at=AE(we.location,De.location,{_isRedirect:!0});if(Ir(at,"Expected a location on the redirect navigation"),n){let ot=!1;if(De.reloadDocument)ot=!0;else if(KNe.test(De.location)){const dt=e.history.createURL(De.location);ot=dt.origin!==t.location.origin||aC(dt.pathname,s)==null}if(ot){bt?t.location.replace(De.location):t.location.assign(De.location);return}}$=null;let et=bt===!0?Bo.Replace:Bo.Push,{formMethod:rt,formAction:Ze,formEncType:wt}=we.navigation;!Ge&&!Je&&rt&&Ze&&wt&&(Ge=Gfe(we.navigation));let ut=Ge||Je;if(qut.has(De.status)&&ut&&ad(ut.formMethod))await oe(et,at,{submission:Eo({},ut,{formAction:De.location}),preventScrollReset:O});else{let ot=xq(at,Ge);await oe(et,at,{overrideNavigation:ot,fetcherSubmission:Je,preventScrollReset:O})}}async function ke(we,De,We,Ge,Je){let bt=await Promise.all([...We.map(rt=>z6("loader",Je,rt,De,o,i,s,u.v7_relativeSplatPath)),...Ge.map(rt=>rt.matches&&rt.match&&rt.controller?z6("loader",B6(e.history,rt.path,rt.controller.signal),rt.match,rt.matches,o,i,s,u.v7_relativeSplatPath):{type:wo.error,error:Uc(404,{pathname:rt.path})})]),at=bt.slice(0,We.length),et=bt.slice(We.length);return await Promise.all([Ufe(we,We,at,at.map(()=>Je.signal),!1,S.loaderData),Ufe(we,Ge.map(rt=>rt.match),et,Ge.map(rt=>rt.controller?rt.controller.signal:null),!0)]),{results:bt,loaderResults:at,fetcherResults:et}}function Ie(){A=!0,N.push(...Le()),V.forEach((we,De)=>{D.has(De)&&(k.push(De),Ne(De))})}function Oe(we,De,We){We===void 0&&(We={}),S.fetchers.set(we,De),Q({fetchers:new Map(S.fetchers)},{flushSync:(We&&We.flushSync)===!0})}function Pe(we,De,We,Ge){Ge===void 0&&(Ge={});let Je=M9(S.matches,De);ce(we),Q({errors:{[Je.route.id]:We},fetchers:new Map(S.fetchers)},{flushSync:(Ge&&Ge.flushSync)===!0})}function _e(we){return u.v7_fetcherPersist&&(W.set(we,(W.get(we)||0)+1),U.has(we)&&U.delete(we)),S.fetchers.get(we)||Vut}function ce(we){let De=S.fetchers.get(we);D.has(we)&&!(De&&De.state==="loading"&&j.has(we))&&Ne(we),V.delete(we),j.delete(we),z.delete(we),U.delete(we),S.fetchers.delete(we)}function Te(we){if(u.v7_fetcherPersist){let De=(W.get(we)||0)-1;De<=0?(W.delete(we),U.add(we)):W.set(we,De)}else ce(we);Q({fetchers:new Map(S.fetchers)})}function Ne(we){let De=D.get(we);Ir(De,"Expected fetch controller: "+we),De.abort(),D.delete(we)}function je(we){for(let De of we){let We=_e(De),Ge=S1(We.data);S.fetchers.set(De,Ge)}}function He(){let we=[],De=!1;for(let We of z){let Ge=S.fetchers.get(We);Ir(Ge,"Expected fetcher: "+We),Ge.state==="loading"&&(z.delete(We),we.push(We),De=!0)}return je(we),De}function Be(we){let De=[];for(let[We,Ge]of j)if(Ge0}function qe(we,De){let We=S.blockers.get(we)||L6;return X.get(we)!==De&&X.set(we,De),We}function me(we){S.blockers.delete(we),X.delete(we)}function Ee(we,De){let We=S.blockers.get(we)||L6;Ir(We.state==="unblocked"&&De.state==="blocked"||We.state==="blocked"&&De.state==="blocked"||We.state==="blocked"&&De.state==="proceeding"||We.state==="blocked"&&De.state==="unblocked"||We.state==="proceeding"&&De.state==="unblocked","Invalid blocker state transition: "+We.state+" -> "+De.state);let Ge=new Map(S.blockers);Ge.set(we,De),Q({blockers:Ge})}function $e(we){let{currentLocation:De,nextLocation:We,historyAction:Ge}=we;if(X.size===0)return;X.size>1&&g0(!1,"A router only supports one blocker at a time");let Je=Array.from(X.entries()),[bt,at]=Je[Je.length-1],et=S.blockers.get(bt);if(!(et&&et.state==="proceeding")&&at({currentLocation:De,nextLocation:We,historyAction:Ge}))return bt}function Le(we){let De=[];return K.forEach((We,Ge)=>{(!we||we(Ge))&&(We.cancel(),De.push(Ge),K.delete(Ge))}),De}function Fe(we,De,We){if(h=we,p=De,d=We||null,!g&&S.navigation===Sq){g=!0;let Ge=ft(S.location,S.matches);Ge!=null&&Q({restoreScrollPosition:Ge})}return()=>{h=null,p=null,d=null}}function Ke(we,De){return d&&d(we,De.map(Ge=>Cut(Ge,S.loaderData)))||we.key}function lt(we,De){if(h&&p){let We=Ke(we,De);h[We]=p()}}function ft(we,De){if(h){let We=Ke(we,De),Ge=h[We];if(typeof Ge=="number")return Ge}return null}function Ye(we){o={},l=nZ(we,i,void 0,o)}return x={get basename(){return s},get future(){return u},get state(){return S},get routes(){return a},get window(){return t},initialize:Y,subscribe:ee,enableScrollRestoration:Fe,navigate:ne,fetch:be,revalidate:re,createHref:we=>e.history.createHref(we),encodeLocation:we=>e.history.encodeLocation(we),getFetcher:_e,deleteFetcher:Te,dispose:J,getBlocker:qe,deleteBlocker:me,_internalFetchControllers:D,_internalActiveDeferreds:K,_internalSetRoutes:Ye},x}function Kut(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function rZ(e,t,n,r,i,o,a,l){let s,u;if(a){s=[];for(let f of t)if(s.push(f),f.route.id===a){u=f;break}}else s=t,u=t[t.length-1];let c=bne(i||".",yne(s,o),aC(e.pathname,n)||e.pathname,l==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!Sne(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Zp([n,c.pathname])),ty(c)}function Dfe(e,t,n,r){if(!r||!Kut(r))return{path:n};if(r.formMethod&&!tdt(r.formMethod))return{path:n,error:Uc(405,{method:r.formMethod})};let i=()=>({path:n,error:Uc(400,{type:"invalid-body"})}),o=r.formMethod||"get",a=e?o.toUpperCase():o.toLowerCase(),l=ZNe(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!ad(a))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((d,p)=>{let[g,m]=p;return""+d+g+"="+m+` -`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!ad(a))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:l,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}Ir(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=iZ(r.formData),u=r.formData;else if(r.body instanceof FormData)s=iZ(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=Ffe(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=Ffe(s)}catch{return i()}let c={formMethod:a,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ad(c.formMethod))return{path:n,submission:c};let f=Ff(n);return t&&f.search&&Sne(f.search)&&s.append("index",""),f.search="?"+s,{path:ty(f),submission:c}}function Xut(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Lfe(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g){let m=g?Object.values(g)[0]:p?Object.values(p)[0]:void 0,v=e.createURL(t.location),y=e.createURL(i),b=g?Object.keys(g)[0]:void 0,x=Xut(n,b).filter((w,O)=>{let{route:$}=w;if($.lazy)return!0;if($.loader==null)return!1;if(o)return $.loader.hydrate?!0:t.loaderData[$.id]===void 0&&(!t.errors||t.errors[$.id]===void 0);if(Yut(t.loaderData,t.matches[O],w)||l.some(R=>R===w.route.id))return!0;let P=t.matches[O],T=w;return zfe(w,Eo({currentUrl:v,currentParams:P.params,nextUrl:y,nextParams:T.params},r,{actionResult:m,defaultShouldRevalidate:a||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||YNe(P,T)}))}),S=[];return c.forEach((w,O)=>{if(o||!n.some(M=>M.route.id===w.routeId)||u.has(O))return;let $=Z2(h,w.path,d);if(!$){S.push({key:O,routeId:w.routeId,path:w.path,matches:null,match:null,controller:null});return}let P=t.fetchers.get(O),T=oZ($,w.path),R=!1;f.has(O)?R=!1:s.includes(O)?R=!0:P&&P.state!=="idle"&&P.data===void 0?R=a:R=zfe(T,Eo({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:m,defaultShouldRevalidate:a})),R&&S.push({key:O,routeId:w.routeId,path:w.path,matches:$,match:T,controller:new AbortController})}),[x,S]}function Yut(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function YNe(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function zfe(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Bfe(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Ir(i,"No route found in manifest");let o={};for(let a in r){let s=i[a]!==void 0&&a!=="hasErrorBoundary";g0(!s,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!s&&!yut.has(a)&&(o[a]=r[a])}Object.assign(i,o),Object.assign(i,Eo({},t(i),{lazy:void 0}))}async function z6(e,t,n,r,i,o,a,l,s){s===void 0&&(s={});let u,c,f,h=g=>{let m,v=new Promise((y,b)=>m=b);return f=()=>m(),t.signal.addEventListener("abort",f),Promise.race([g({request:t,params:n.params,context:s.requestContext}),v])};try{let g=n.route[e];if(n.route.lazy)if(g){let m,v=await Promise.all([h(g).catch(y=>{m=y}),Bfe(n.route,o,i)]);if(m)throw m;c=v[0]}else if(await Bfe(n.route,o,i),g=n.route[e],g)c=await h(g);else if(e==="action"){let m=new URL(t.url),v=m.pathname+m.search;throw Uc(405,{method:t.method,pathname:v,routeId:n.route.id})}else return{type:wo.data,data:void 0};else if(g)c=await h(g);else{let m=new URL(t.url),v=m.pathname+m.search;throw Uc(404,{pathname:v})}Ir(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(g){u=wo.error,c=g}finally{f&&t.signal.removeEventListener("abort",f)}if(edt(c)){let g=c.status;if(Wut.has(g)){let v=c.headers.get("Location");if(Ir(v,"Redirects returned/thrown from loaders/actions must have a Location header"),!KNe.test(v))v=rZ(new URL(t.url),r.slice(0,r.indexOf(n)+1),a,!0,v,l);else if(!s.isStaticRequest){let y=new URL(t.url),b=v.startsWith("//")?new URL(y.protocol+v):new URL(v),C=aC(b.pathname,a)!=null;b.origin===y.origin&&C&&(v=b.pathname+b.search+b.hash)}if(s.isStaticRequest)throw c.headers.set("Location",v),c;return{type:wo.redirect,status:g,location:v,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===wo.error?wo.error:wo.data,response:c};let m;try{let v=c.headers.get("Content-Type");v&&/\bapplication\/json\b/.test(v)?c.body==null?m=null:m=await c.json():m=await c.text()}catch(v){return{type:wo.error,error:v}}return u===wo.error?{type:u,error:new Cne(g,c.statusText,m),headers:c.headers}:{type:wo.data,data:m,statusCode:c.status,headers:c.headers}}if(u===wo.error)return{type:u,error:c};if(Jut(c)){var d,p;return{type:wo.deferred,deferredData:c,statusCode:(d=c.init)==null?void 0:d.status,headers:((p=c.init)==null?void 0:p.headers)&&new Headers(c.init.headers)}}return{type:wo.data,data:c}}function B6(e,t,n,r){let i=e.createURL(ZNe(t)).toString(),o={signal:n};if(r&&ad(r.formMethod)){let{formMethod:a,formEncType:l}=r;o.method=a.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(r.json)):l==="text/plain"?o.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?o.body=iZ(r.formData):o.body=r.formData}return new Request(i,o)}function iZ(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Ffe(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Zut(e,t,n,r,i){let o={},a=null,l,s=!1,u={};return n.forEach((c,f)=>{let h=t[f].route.id;if(Ir(!bv(c),"Cannot handle redirect results in processLoaderData"),Q2(c)){let d=M9(e,h),p=c.error;r&&(p=Object.values(r)[0],r=void 0),a=a||{},a[d.route.id]==null&&(a[d.route.id]=p),o[h]=void 0,s||(s=!0,l=UNe(c.error)?c.error.status:500),c.headers&&(u[h]=c.headers)}else yv(c)?(i.set(h,c.deferredData),o[h]=c.deferredData.data):o[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[h]=c.headers)}),r&&(a=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:a,statusCode:l||200,loaderHeaders:u}}function Hfe(e,t,n,r,i,o,a,l){let{loaderData:s,errors:u}=Zut(t,n,r,i,l);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function qfe(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Uc(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(a="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(a="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",l='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new Cne(e||500,a,new Error(l),!0)}function Vfe(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(bv(n))return{result:n,idx:t}}}function ZNe(e){let t=typeof e=="string"?Ff(e):e;return ty(Eo({},t,{hash:""}))}function Qut(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function yv(e){return e.type===wo.deferred}function Q2(e){return e.type===wo.error}function bv(e){return(e&&e.type)===wo.redirect}function Jut(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function edt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function tdt(e){return Hut.has(e.toLowerCase())}function ad(e){return But.has(e.toLowerCase())}async function Ufe(e,t,n,r,i,o){for(let a=0;af.route.id===s.route.id),c=u!=null&&!YNe(u,s)&&(o&&o[s.route.id])!==void 0;if(yv(l)&&(i||c)){let f=r[a];Ir(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await QNe(l,f,i).then(h=>{h&&(n[a]=h||n[a])})}}}async function QNe(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:wo.data,data:e.deferredData.unwrappedData}}catch(i){return{type:wo.error,error:i}}return{type:wo.data,data:e.deferredData.data}}}function Sne(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function oZ(e,t){let n=typeof t=="string"?Ff(t).search:t.search;if(e[e.length-1].route.index&&Sne(n||""))return e[e.length-1];let r=VNe(e);return r[r.length-1]}function Gfe(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function xq(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ndt(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function F6(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function rdt(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function S1(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function idt(e,t){try{let n=e.sessionStorage.getItem(XNe);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function odt(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(XNe,JSON.stringify(n))}catch(r){g0(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + */function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function g0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mut(){return Math.random().toString(36).substr(2,8)}function jfe(e,t){return{usr:e.state,key:e.key,idx:t}}function kE(e,t,n,r){return n===void 0&&(n=null),Eo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ff(t):t,{state:n,key:t&&t.key||r||mut()})}function ty(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Ff(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function vut(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,l=Bo.Pop,s=null,u=c();u==null&&(u=0,a.replaceState(Eo({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function f(){l=Bo.Pop;let m=c(),v=m==null?null:m-u;u=m,s&&s({action:l,location:g.location,delta:v})}function h(m,v){l=Bo.Push;let y=kE(g.location,m,v);n&&n(y,m),u=c()+1;let b=jfe(y,u),C=g.createHref(y);try{a.pushState(b,"",C)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(C)}o&&s&&s({action:l,location:g.location,delta:1})}function d(m,v){l=Bo.Replace;let y=kE(g.location,m,v);n&&n(y,m),u=c();let b=jfe(y,u),C=g.createHref(y);a.replaceState(b,"",C),o&&s&&s({action:l,location:g.location,delta:0})}function p(m){let v=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof m=="string"?m:ty(m);return Ir(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return l},get location(){return e(i,a)},listen(m){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(kfe,f),s=m,()=>{i.removeEventListener(kfe,f),s=null}},createHref(m){return t(i,m)},createURL:p,encodeLocation(m){let v=p(m);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:d,go(m){return a.go(m)}};return g}var wo;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wo||(wo={}));const yut=new Set(["lazy","caseSensitive","path","id","index","children"]);function but(e){return e.index===!0}function rZ(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let a=[...n,o],l=typeof i.id=="string"?i.id:a.join("-");if(Ir(i.index!==!0||!i.children,"Cannot specify children on an index route"),Ir(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),but(i)){let s=Eo({},i,t(i),{id:l});return r[l]=s,s}else{let s=Eo({},i,t(i),{id:l,children:void 0});return r[l]=s,i.children&&(s.children=rZ(i.children,t,a,r)),s}})}function Z2(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Ff(t):t,i=aC(r.pathname||"/",n);if(i==null)return null;let o=qNe(e);Sut(o);let a=null;for(let l=0;a==null&&l{let s={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};s.relativePath.startsWith("/")&&(Ir(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Zp([r,s.relativePath]),c=n.concat(s);o.children&&o.children.length>0&&(Ir(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),qNe(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:Put(u,o.index),routesMeta:c})};return e.forEach((o,a)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,a);else for(let s of VNe(o.path))i(o,a,s)}),t}function VNe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=VNe(r.join("/")),l=[];return l.push(...a.map(s=>s===""?o:[o,s].join("/"))),i&&l.push(...a),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function Sut(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Tut(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const xut=/^:[\w-]+$/,_ut=3,wut=2,Out=1,Eut=10,$ut=-2,Dfe=e=>e==="*";function Put(e,t){let n=e.split("/"),r=n.length;return n.some(Dfe)&&(r+=$ut),t&&(r+=wut),n.filter(i=>!Dfe(i)).reduce((i,o)=>i+(xut.test(o)?_ut:o===""?Out:Eut),r)}function Tut(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Mut(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;a{let{paramName:h,isOptional:d}=c;if(h==="*"){let g=l[f]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const p=l[f];return d&&!p?u[h]=void 0:u[h]=Aut(p||"",h),u},{}),pathname:o,pathnameBase:a,pattern:e}}function Iut(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),g0(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Nut(e){try{return decodeURI(e)}catch(t){return g0(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Aut(e,t){try{return decodeURIComponent(e)}catch(n){return g0(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function aC(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function kut(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ff(e):e;return{pathname:n?n.startsWith("/")?n:jut(n,t):t,search:Lut(r),hash:zut(i)}}function jut(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Sq(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function UNe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function bne(e,t){let n=UNe(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Cne(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ff(e):(i=Eo({},e),Ir(!i.pathname||!i.pathname.includes("?"),Sq("?","pathname","search",i)),Ir(!i.pathname||!i.pathname.includes("#"),Sq("#","pathname","hash",i)),Ir(!i.search||!i.search.includes("#"),Sq("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}l=f>=0?t[f]:"/"}let s=kut(i,l),u=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Zp=e=>e.join("/").replace(/\/\/+/g,"/"),Dut=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Lut=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zut=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Sne{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function GNe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const KNe=["post","put","patch","delete"],But=new Set(KNe),Fut=["get",...KNe],Hut=new Set(Fut),Wut=new Set([301,302,303,307,308]),qut=new Set([307,308]),xq={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Vut={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},L6={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},XNe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uut=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),YNe="remix-router-transitions";function Gut(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Ir(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let we=e.detectErrorBoundary;i=De=>({hasErrorBoundary:we(De)})}else i=Uut;let o={},a=rZ(e.routes,i,void 0,o),l,s=e.basename||"/",u=Eo({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,f=new Set,h=null,d=null,p=null,g=e.hydrationData!=null,m=Z2(a,e.history.location,s),v=null;if(m==null){let we=Uc(404,{pathname:e.history.location.pathname}),{matches:De,route:We}=Vfe(a);m=De,v={[We.id]:we}}let y,b=m.some(we=>we.route.lazy),C=m.some(we=>we.route.loader);if(b)y=!1;else if(!C)y=!0;else if(u.v7_partialHydration){let we=e.hydrationData?e.hydrationData.loaderData:null,De=e.hydrationData?e.hydrationData.errors:null;y=m.every(We=>We.route.loader&&We.route.loader.hydrate!==!0&&(we&&we[We.route.id]!==void 0||De&&De[We.route.id]!==void 0))}else y=e.hydrationData!=null;let x,S={historyAction:e.history.action,location:e.history.location,matches:m,initialized:y,navigation:xq,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},w=Bo.Pop,O=!1,$,P=!1,T=new Map,R=null,M=!1,A=!1,N=[],j=[],D=new Map,L=0,B=-1,k=new Map,z=new Set,q=new Map,W=new Map,U=new Set,K=new Map,X=new Map,G=!1;function Y(){if(c=e.history.listen(we=>{let{action:De,location:We,delta:Ge}=we;if(G){G=!1;return}g0(X.size===0||Ge!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Je=$e({currentLocation:S.location,nextLocation:We,historyAction:De});if(Je&&Ge!=null){G=!0,e.history.go(Ge*-1),Ee(Je,{state:"blocked",location:We,proceed(){Ee(Je,{state:"proceeding",proceed:void 0,reset:void 0,location:We}),e.history.go(Ge)},reset(){let bt=new Map(S.blockers);bt.set(Je,L6),Q({blockers:bt})}});return}return oe(De,We)}),n){idt(t,T);let we=()=>odt(t,T);t.addEventListener("pagehide",we),R=()=>t.removeEventListener("pagehide",we)}return S.initialized||oe(Bo.Pop,S.location,{initialHydration:!0}),x}function J(){c&&c(),R&&R(),f.clear(),$&&$.abort(),S.fetchers.forEach((we,De)=>ce(De)),S.blockers.forEach((we,De)=>me(De))}function ee(we){return f.add(we),()=>f.delete(we)}function Q(we,De){De===void 0&&(De={}),S=Eo({},S,we);let We=[],Ge=[];u.v7_fetcherPersist&&S.fetchers.forEach((Je,bt)=>{Je.state==="idle"&&(U.has(bt)?Ge.push(bt):We.push(bt))}),[...f].forEach(Je=>Je(S,{deletedFetchers:Ge,unstable_viewTransitionOpts:De.viewTransitionOpts,unstable_flushSync:De.flushSync===!0})),u.v7_fetcherPersist&&(We.forEach(Je=>S.fetchers.delete(Je)),Ge.forEach(Je=>ce(Je)))}function te(we,De,We){var Ge,Je;let{flushSync:bt}=We===void 0?{}:We,at=S.actionData!=null&&S.navigation.formMethod!=null&&ad(S.navigation.formMethod)&&S.navigation.state==="loading"&&((Ge=we.state)==null?void 0:Ge._isRedirect)!==!0,et;De.actionData?Object.keys(De.actionData).length>0?et=De.actionData:et=null:at?et=S.actionData:et=null;let rt=De.loaderData?qfe(S.loaderData,De.loaderData,De.matches||[],De.errors):S.loaderData,Ze=S.blockers;Ze.size>0&&(Ze=new Map(Ze),Ze.forEach((ot,dt)=>Ze.set(dt,L6)));let wt=O===!0||S.navigation.formMethod!=null&&ad(S.navigation.formMethod)&&((Je=we.state)==null?void 0:Je._isRedirect)!==!0;l&&(a=l,l=void 0),M||w===Bo.Pop||(w===Bo.Push?e.history.push(we,we.state):w===Bo.Replace&&e.history.replace(we,we.state));let ut;if(w===Bo.Pop){let ot=T.get(S.location.pathname);ot&&ot.has(we.pathname)?ut={currentLocation:S.location,nextLocation:we}:T.has(we.pathname)&&(ut={currentLocation:we,nextLocation:S.location})}else if(P){let ot=T.get(S.location.pathname);ot?ot.add(we.pathname):(ot=new Set([we.pathname]),T.set(S.location.pathname,ot)),ut={currentLocation:S.location,nextLocation:we}}Q(Eo({},De,{actionData:et,loaderData:rt,historyAction:w,location:we,initialized:!0,navigation:xq,revalidation:"idle",restoreScrollPosition:ft(we,De.matches||S.matches),preventScrollReset:wt,blockers:Ze}),{viewTransitionOpts:ut,flushSync:bt===!0}),w=Bo.Pop,O=!1,P=!1,M=!1,A=!1,N=[],j=[]}async function ne(we,De){if(typeof we=="number"){e.history.go(we);return}let We=iZ(S.location,S.matches,s,u.v7_prependBasename,we,u.v7_relativeSplatPath,De==null?void 0:De.fromRouteId,De==null?void 0:De.relative),{path:Ge,submission:Je,error:bt}=Lfe(u.v7_normalizeFormMethod,!1,We,De),at=S.location,et=kE(S.location,Ge,De&&De.state);et=Eo({},et,e.history.encodeLocation(et));let rt=De&&De.replace!=null?De.replace:void 0,Ze=Bo.Push;rt===!0?Ze=Bo.Replace:rt===!1||Je!=null&&ad(Je.formMethod)&&Je.formAction===S.location.pathname+S.location.search&&(Ze=Bo.Replace);let wt=De&&"preventScrollReset"in De?De.preventScrollReset===!0:void 0,ut=(De&&De.unstable_flushSync)===!0,ot=$e({currentLocation:at,nextLocation:et,historyAction:Ze});if(ot){Ee(ot,{state:"blocked",location:et,proceed(){Ee(ot,{state:"proceeding",proceed:void 0,reset:void 0,location:et}),ne(we,De)},reset(){let dt=new Map(S.blockers);dt.set(ot,L6),Q({blockers:dt})}});return}return await oe(Ze,et,{submission:Je,pendingError:bt,preventScrollReset:wt,replace:De&&De.replace,enableViewTransition:De&&De.unstable_viewTransition,flushSync:ut})}function re(){if(Ie(),Q({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){oe(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}oe(w||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function oe(we,De,We){$&&$.abort(),$=null,w=we,M=(We&&We.startUninterruptedRevalidation)===!0,lt(S.location,S.matches),O=(We&&We.preventScrollReset)===!0,P=(We&&We.enableViewTransition)===!0;let Ge=l||a,Je=We&&We.overrideNavigation,bt=Z2(Ge,De,s),at=(We&&We.flushSync)===!0;if(!bt){let dt=Uc(404,{pathname:De.pathname}),{matches:_t,route:Ot}=Vfe(Ge);Le(),te(De,{matches:_t,loaderData:{},errors:{[Ot.id]:dt}},{flushSync:at});return}if(S.initialized&&!A&&Qut(S.location,De)&&!(We&&We.submission&&ad(We.submission.formMethod))){te(De,{matches:bt},{flushSync:at});return}$=new AbortController;let et=B6(e.history,De,$.signal,We&&We.submission),rt,Ze;if(We&&We.pendingError)Ze={[R9(bt).route.id]:We.pendingError};else if(We&&We.submission&&ad(We.submission.formMethod)){let dt=await se(et,De,We.submission,bt,{replace:We.replace,flushSync:at});if(dt.shortCircuited)return;rt=dt.pendingActionData,Ze=dt.pendingActionError,Je=_q(De,We.submission),at=!1,et=new Request(et.url,{signal:et.signal})}let{shortCircuited:wt,loaderData:ut,errors:ot}=await ye(et,De,bt,Je,We&&We.submission,We&&We.fetcherSubmission,We&&We.replace,We&&We.initialHydration===!0,at,rt,Ze);wt||($=null,te(De,Eo({matches:bt},rt?{actionData:rt}:{},{loaderData:ut,errors:ot})))}async function se(we,De,We,Ge,Je){Je===void 0&&(Je={}),Ie();let bt=ndt(De,We);Q({navigation:bt},{flushSync:Je.flushSync===!0});let at,et=aZ(Ge,De);if(!et.route.action&&!et.route.lazy)at={type:wo.error,error:Uc(405,{method:we.method,pathname:De.pathname,routeId:et.route.id})};else if(at=await z6("action",we,et,Ge,o,i,s,u.v7_relativeSplatPath),we.signal.aborted)return{shortCircuited:!0};if(bv(at)){let rt;return Je&&Je.replace!=null?rt=Je.replace:rt=at.location===S.location.pathname+S.location.search,await ve(S,at,{submission:We,replace:rt}),{shortCircuited:!0}}if(Q2(at)){let rt=R9(Ge,et.route.id);return(Je&&Je.replace)!==!0&&(w=Bo.Push),{pendingActionData:{},pendingActionError:{[rt.route.id]:at.error}}}if(yv(at))throw Uc(400,{type:"defer-action"});return{pendingActionData:{[et.route.id]:at.data}}}async function ye(we,De,We,Ge,Je,bt,at,et,rt,Ze,wt){let ut=Ge||_q(De,Je),ot=Je||bt||Kfe(ut),dt=l||a,[_t,Ot]=zfe(e.history,S,We,ot,De,u.v7_partialHydration&&et===!0,A,N,j,U,q,z,dt,s,Ze,wt);if(Le(zt=>!(We&&We.some(Qt=>Qt.route.id===zt))||_t&&_t.some(Qt=>Qt.route.id===zt)),B=++L,_t.length===0&&Ot.length===0){let zt=He();return te(De,Eo({matches:We,loaderData:{},errors:wt||null},Ze?{actionData:Ze}:{},zt?{fetchers:new Map(S.fetchers)}:{}),{flushSync:rt}),{shortCircuited:!0}}if(!M&&(!u.v7_partialHydration||!et)){Ot.forEach(Qt=>{let Pt=S.fetchers.get(Qt.key),ct=F6(void 0,Pt?Pt.data:void 0);S.fetchers.set(Qt.key,ct)});let zt=Ze||S.actionData;Q(Eo({navigation:ut},zt?Object.keys(zt).length===0?{actionData:null}:{actionData:zt}:{},Ot.length>0?{fetchers:new Map(S.fetchers)}:{}),{flushSync:rt})}Ot.forEach(zt=>{D.has(zt.key)&&Ne(zt.key),zt.controller&&D.set(zt.key,zt.controller)});let Ct=()=>Ot.forEach(zt=>Ne(zt.key));$&&$.signal.addEventListener("abort",Ct);let{results:mt,loaderResults:It,fetcherResults:nt}=await ke(S.matches,We,_t,Ot,we);if(we.signal.aborted)return{shortCircuited:!0};$&&$.signal.removeEventListener("abort",Ct),Ot.forEach(zt=>D.delete(zt.key));let yt=Ufe(mt);if(yt){if(yt.idx>=_t.length){let zt=Ot[yt.idx-_t.length].key;z.add(zt)}return await ve(S,yt.result,{replace:at}),{shortCircuited:!0}}let{loaderData:xt,errors:At}=Wfe(S,We,_t,It,wt,Ot,nt,K);K.forEach((zt,Qt)=>{zt.subscribe(Pt=>{(Pt||zt.done)&&K.delete(Qt)})});let cn=He(),Ht=Be(B),$t=cn||Ht||Ot.length>0;return Eo({loaderData:xt,errors:At},$t?{fetchers:new Map(S.fetchers)}:{})}function be(we,De,We,Ge){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");D.has(we)&&Ne(we);let Je=(Ge&&Ge.unstable_flushSync)===!0,bt=l||a,at=iZ(S.location,S.matches,s,u.v7_prependBasename,We,u.v7_relativeSplatPath,De,Ge==null?void 0:Ge.relative),et=Z2(bt,at,s);if(!et){Pe(we,De,Uc(404,{pathname:at}),{flushSync:Je});return}let{path:rt,submission:Ze,error:wt}=Lfe(u.v7_normalizeFormMethod,!0,at,Ge);if(wt){Pe(we,De,wt,{flushSync:Je});return}let ut=aZ(et,rt);if(O=(Ge&&Ge.preventScrollReset)===!0,Ze&&ad(Ze.formMethod)){he(we,De,rt,ut,et,Je,Ze);return}q.set(we,{routeId:De,path:rt}),le(we,De,rt,ut,et,Je,Ze)}async function he(we,De,We,Ge,Je,bt,at){if(Ie(),q.delete(we),!Ge.route.action&&!Ge.route.lazy){let Qt=Uc(405,{method:at.formMethod,pathname:We,routeId:De});Pe(we,De,Qt,{flushSync:bt});return}let et=S.fetchers.get(we);Oe(we,rdt(at,et),{flushSync:bt});let rt=new AbortController,Ze=B6(e.history,We,rt.signal,at);D.set(we,rt);let wt=L,ut=await z6("action",Ze,Ge,Je,o,i,s,u.v7_relativeSplatPath);if(Ze.signal.aborted){D.get(we)===rt&&D.delete(we);return}if(u.v7_fetcherPersist&&U.has(we)){if(bv(ut)||Q2(ut)){Oe(we,S1(void 0));return}}else{if(bv(ut))if(D.delete(we),B>wt){Oe(we,S1(void 0));return}else return z.add(we),Oe(we,F6(at)),ve(S,ut,{fetcherSubmission:at});if(Q2(ut)){Pe(we,De,ut.error);return}}if(yv(ut))throw Uc(400,{type:"defer-action"});let ot=S.navigation.location||S.location,dt=B6(e.history,ot,rt.signal),_t=l||a,Ot=S.navigation.state!=="idle"?Z2(_t,S.navigation.location,s):S.matches;Ir(Ot,"Didn't find any matches after fetcher action");let Ct=++L;k.set(we,Ct);let mt=F6(at,ut.data);S.fetchers.set(we,mt);let[It,nt]=zfe(e.history,S,Ot,at,ot,!1,A,N,j,U,q,z,_t,s,{[Ge.route.id]:ut.data},void 0);nt.filter(Qt=>Qt.key!==we).forEach(Qt=>{let Pt=Qt.key,ct=S.fetchers.get(Pt),Wt=F6(void 0,ct?ct.data:void 0);S.fetchers.set(Pt,Wt),D.has(Pt)&&Ne(Pt),Qt.controller&&D.set(Pt,Qt.controller)}),Q({fetchers:new Map(S.fetchers)});let yt=()=>nt.forEach(Qt=>Ne(Qt.key));rt.signal.addEventListener("abort",yt);let{results:xt,loaderResults:At,fetcherResults:cn}=await ke(S.matches,Ot,It,nt,dt);if(rt.signal.aborted)return;rt.signal.removeEventListener("abort",yt),k.delete(we),D.delete(we),nt.forEach(Qt=>D.delete(Qt.key));let Ht=Ufe(xt);if(Ht){if(Ht.idx>=It.length){let Qt=nt[Ht.idx-It.length].key;z.add(Qt)}return ve(S,Ht.result)}let{loaderData:$t,errors:zt}=Wfe(S,S.matches,It,At,void 0,nt,cn,K);if(S.fetchers.has(we)){let Qt=S1(ut.data);S.fetchers.set(we,Qt)}Be(Ct),S.navigation.state==="loading"&&Ct>B?(Ir(w,"Expected pending action"),$&&$.abort(),te(S.navigation.location,{matches:Ot,loaderData:$t,errors:zt,fetchers:new Map(S.fetchers)})):(Q({errors:zt,loaderData:qfe(S.loaderData,$t,Ot,zt),fetchers:new Map(S.fetchers)}),A=!1)}async function le(we,De,We,Ge,Je,bt,at){let et=S.fetchers.get(we);Oe(we,F6(at,et?et.data:void 0),{flushSync:bt});let rt=new AbortController,Ze=B6(e.history,We,rt.signal);D.set(we,rt);let wt=L,ut=await z6("loader",Ze,Ge,Je,o,i,s,u.v7_relativeSplatPath);if(yv(ut)&&(ut=await JNe(ut,Ze.signal,!0)||ut),D.get(we)===rt&&D.delete(we),!Ze.signal.aborted){if(U.has(we)){Oe(we,S1(void 0));return}if(bv(ut))if(B>wt){Oe(we,S1(void 0));return}else{z.add(we),await ve(S,ut);return}if(Q2(ut)){Pe(we,De,ut.error);return}Ir(!yv(ut),"Unhandled fetcher deferred data"),Oe(we,S1(ut.data))}}async function ve(we,De,We){let{submission:Ge,fetcherSubmission:Je,replace:bt}=We===void 0?{}:We;De.revalidate&&(A=!0);let at=kE(we.location,De.location,{_isRedirect:!0});if(Ir(at,"Expected a location on the redirect navigation"),n){let ot=!1;if(De.reloadDocument)ot=!0;else if(XNe.test(De.location)){const dt=e.history.createURL(De.location);ot=dt.origin!==t.location.origin||aC(dt.pathname,s)==null}if(ot){bt?t.location.replace(De.location):t.location.assign(De.location);return}}$=null;let et=bt===!0?Bo.Replace:Bo.Push,{formMethod:rt,formAction:Ze,formEncType:wt}=we.navigation;!Ge&&!Je&&rt&&Ze&&wt&&(Ge=Kfe(we.navigation));let ut=Ge||Je;if(qut.has(De.status)&&ut&&ad(ut.formMethod))await oe(et,at,{submission:Eo({},ut,{formAction:De.location}),preventScrollReset:O});else{let ot=_q(at,Ge);await oe(et,at,{overrideNavigation:ot,fetcherSubmission:Je,preventScrollReset:O})}}async function ke(we,De,We,Ge,Je){let bt=await Promise.all([...We.map(rt=>z6("loader",Je,rt,De,o,i,s,u.v7_relativeSplatPath)),...Ge.map(rt=>rt.matches&&rt.match&&rt.controller?z6("loader",B6(e.history,rt.path,rt.controller.signal),rt.match,rt.matches,o,i,s,u.v7_relativeSplatPath):{type:wo.error,error:Uc(404,{pathname:rt.path})})]),at=bt.slice(0,We.length),et=bt.slice(We.length);return await Promise.all([Gfe(we,We,at,at.map(()=>Je.signal),!1,S.loaderData),Gfe(we,Ge.map(rt=>rt.match),et,Ge.map(rt=>rt.controller?rt.controller.signal:null),!0)]),{results:bt,loaderResults:at,fetcherResults:et}}function Ie(){A=!0,N.push(...Le()),q.forEach((we,De)=>{D.has(De)&&(j.push(De),Ne(De))})}function Oe(we,De,We){We===void 0&&(We={}),S.fetchers.set(we,De),Q({fetchers:new Map(S.fetchers)},{flushSync:(We&&We.flushSync)===!0})}function Pe(we,De,We,Ge){Ge===void 0&&(Ge={});let Je=R9(S.matches,De);ce(we),Q({errors:{[Je.route.id]:We},fetchers:new Map(S.fetchers)},{flushSync:(Ge&&Ge.flushSync)===!0})}function _e(we){return u.v7_fetcherPersist&&(W.set(we,(W.get(we)||0)+1),U.has(we)&&U.delete(we)),S.fetchers.get(we)||Vut}function ce(we){let De=S.fetchers.get(we);D.has(we)&&!(De&&De.state==="loading"&&k.has(we))&&Ne(we),q.delete(we),k.delete(we),z.delete(we),U.delete(we),S.fetchers.delete(we)}function Te(we){if(u.v7_fetcherPersist){let De=(W.get(we)||0)-1;De<=0?(W.delete(we),U.add(we)):W.set(we,De)}else ce(we);Q({fetchers:new Map(S.fetchers)})}function Ne(we){let De=D.get(we);Ir(De,"Expected fetch controller: "+we),De.abort(),D.delete(we)}function je(we){for(let De of we){let We=_e(De),Ge=S1(We.data);S.fetchers.set(De,Ge)}}function He(){let we=[],De=!1;for(let We of z){let Ge=S.fetchers.get(We);Ir(Ge,"Expected fetcher: "+We),Ge.state==="loading"&&(z.delete(We),we.push(We),De=!0)}return je(we),De}function Be(we){let De=[];for(let[We,Ge]of k)if(Ge0}function qe(we,De){let We=S.blockers.get(we)||L6;return X.get(we)!==De&&X.set(we,De),We}function me(we){S.blockers.delete(we),X.delete(we)}function Ee(we,De){let We=S.blockers.get(we)||L6;Ir(We.state==="unblocked"&&De.state==="blocked"||We.state==="blocked"&&De.state==="blocked"||We.state==="blocked"&&De.state==="proceeding"||We.state==="blocked"&&De.state==="unblocked"||We.state==="proceeding"&&De.state==="unblocked","Invalid blocker state transition: "+We.state+" -> "+De.state);let Ge=new Map(S.blockers);Ge.set(we,De),Q({blockers:Ge})}function $e(we){let{currentLocation:De,nextLocation:We,historyAction:Ge}=we;if(X.size===0)return;X.size>1&&g0(!1,"A router only supports one blocker at a time");let Je=Array.from(X.entries()),[bt,at]=Je[Je.length-1],et=S.blockers.get(bt);if(!(et&&et.state==="proceeding")&&at({currentLocation:De,nextLocation:We,historyAction:Ge}))return bt}function Le(we){let De=[];return K.forEach((We,Ge)=>{(!we||we(Ge))&&(We.cancel(),De.push(Ge),K.delete(Ge))}),De}function Fe(we,De,We){if(h=we,p=De,d=We||null,!g&&S.navigation===xq){g=!0;let Ge=ft(S.location,S.matches);Ge!=null&&Q({restoreScrollPosition:Ge})}return()=>{h=null,p=null,d=null}}function Ke(we,De){return d&&d(we,De.map(Ge=>Cut(Ge,S.loaderData)))||we.key}function lt(we,De){if(h&&p){let We=Ke(we,De);h[We]=p()}}function ft(we,De){if(h){let We=Ke(we,De),Ge=h[We];if(typeof Ge=="number")return Ge}return null}function Ye(we){o={},l=rZ(we,i,void 0,o)}return x={get basename(){return s},get future(){return u},get state(){return S},get routes(){return a},get window(){return t},initialize:Y,subscribe:ee,enableScrollRestoration:Fe,navigate:ne,fetch:be,revalidate:re,createHref:we=>e.history.createHref(we),encodeLocation:we=>e.history.encodeLocation(we),getFetcher:_e,deleteFetcher:Te,dispose:J,getBlocker:qe,deleteBlocker:me,_internalFetchControllers:D,_internalActiveDeferreds:K,_internalSetRoutes:Ye},x}function Kut(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function iZ(e,t,n,r,i,o,a,l){let s,u;if(a){s=[];for(let f of t)if(s.push(f),f.route.id===a){u=f;break}}else s=t,u=t[t.length-1];let c=Cne(i||".",bne(s,o),aC(e.pathname,n)||e.pathname,l==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!xne(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Zp([n,c.pathname])),ty(c)}function Lfe(e,t,n,r){if(!r||!Kut(r))return{path:n};if(r.formMethod&&!tdt(r.formMethod))return{path:n,error:Uc(405,{method:r.formMethod})};let i=()=>({path:n,error:Uc(400,{type:"invalid-body"})}),o=r.formMethod||"get",a=e?o.toUpperCase():o.toLowerCase(),l=QNe(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!ad(a))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((d,p)=>{let[g,m]=p;return""+d+g+"="+m+` +`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!ad(a))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:l,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}Ir(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=oZ(r.formData),u=r.formData;else if(r.body instanceof FormData)s=oZ(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=Hfe(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=Hfe(s)}catch{return i()}let c={formMethod:a,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ad(c.formMethod))return{path:n,submission:c};let f=Ff(n);return t&&f.search&&xne(f.search)&&s.append("index",""),f.search="?"+s,{path:ty(f),submission:c}}function Xut(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function zfe(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g){let m=g?Object.values(g)[0]:p?Object.values(p)[0]:void 0,v=e.createURL(t.location),y=e.createURL(i),b=g?Object.keys(g)[0]:void 0,x=Xut(n,b).filter((w,O)=>{let{route:$}=w;if($.lazy)return!0;if($.loader==null)return!1;if(o)return $.loader.hydrate?!0:t.loaderData[$.id]===void 0&&(!t.errors||t.errors[$.id]===void 0);if(Yut(t.loaderData,t.matches[O],w)||l.some(R=>R===w.route.id))return!0;let P=t.matches[O],T=w;return Bfe(w,Eo({currentUrl:v,currentParams:P.params,nextUrl:y,nextParams:T.params},r,{actionResult:m,defaultShouldRevalidate:a||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||ZNe(P,T)}))}),S=[];return c.forEach((w,O)=>{if(o||!n.some(M=>M.route.id===w.routeId)||u.has(O))return;let $=Z2(h,w.path,d);if(!$){S.push({key:O,routeId:w.routeId,path:w.path,matches:null,match:null,controller:null});return}let P=t.fetchers.get(O),T=aZ($,w.path),R=!1;f.has(O)?R=!1:s.includes(O)?R=!0:P&&P.state!=="idle"&&P.data===void 0?R=a:R=Bfe(T,Eo({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:m,defaultShouldRevalidate:a})),R&&S.push({key:O,routeId:w.routeId,path:w.path,matches:$,match:T,controller:new AbortController})}),[x,S]}function Yut(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function ZNe(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Bfe(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Ffe(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Ir(i,"No route found in manifest");let o={};for(let a in r){let s=i[a]!==void 0&&a!=="hasErrorBoundary";g0(!s,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!s&&!yut.has(a)&&(o[a]=r[a])}Object.assign(i,o),Object.assign(i,Eo({},t(i),{lazy:void 0}))}async function z6(e,t,n,r,i,o,a,l,s){s===void 0&&(s={});let u,c,f,h=g=>{let m,v=new Promise((y,b)=>m=b);return f=()=>m(),t.signal.addEventListener("abort",f),Promise.race([g({request:t,params:n.params,context:s.requestContext}),v])};try{let g=n.route[e];if(n.route.lazy)if(g){let m,v=await Promise.all([h(g).catch(y=>{m=y}),Ffe(n.route,o,i)]);if(m)throw m;c=v[0]}else if(await Ffe(n.route,o,i),g=n.route[e],g)c=await h(g);else if(e==="action"){let m=new URL(t.url),v=m.pathname+m.search;throw Uc(405,{method:t.method,pathname:v,routeId:n.route.id})}else return{type:wo.data,data:void 0};else if(g)c=await h(g);else{let m=new URL(t.url),v=m.pathname+m.search;throw Uc(404,{pathname:v})}Ir(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(g){u=wo.error,c=g}finally{f&&t.signal.removeEventListener("abort",f)}if(edt(c)){let g=c.status;if(Wut.has(g)){let v=c.headers.get("Location");if(Ir(v,"Redirects returned/thrown from loaders/actions must have a Location header"),!XNe.test(v))v=iZ(new URL(t.url),r.slice(0,r.indexOf(n)+1),a,!0,v,l);else if(!s.isStaticRequest){let y=new URL(t.url),b=v.startsWith("//")?new URL(y.protocol+v):new URL(v),C=aC(b.pathname,a)!=null;b.origin===y.origin&&C&&(v=b.pathname+b.search+b.hash)}if(s.isStaticRequest)throw c.headers.set("Location",v),c;return{type:wo.redirect,status:g,location:v,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===wo.error?wo.error:wo.data,response:c};let m;try{let v=c.headers.get("Content-Type");v&&/\bapplication\/json\b/.test(v)?c.body==null?m=null:m=await c.json():m=await c.text()}catch(v){return{type:wo.error,error:v}}return u===wo.error?{type:u,error:new Sne(g,c.statusText,m),headers:c.headers}:{type:wo.data,data:m,statusCode:c.status,headers:c.headers}}if(u===wo.error)return{type:u,error:c};if(Jut(c)){var d,p;return{type:wo.deferred,deferredData:c,statusCode:(d=c.init)==null?void 0:d.status,headers:((p=c.init)==null?void 0:p.headers)&&new Headers(c.init.headers)}}return{type:wo.data,data:c}}function B6(e,t,n,r){let i=e.createURL(QNe(t)).toString(),o={signal:n};if(r&&ad(r.formMethod)){let{formMethod:a,formEncType:l}=r;o.method=a.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(r.json)):l==="text/plain"?o.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?o.body=oZ(r.formData):o.body=r.formData}return new Request(i,o)}function oZ(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Hfe(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Zut(e,t,n,r,i){let o={},a=null,l,s=!1,u={};return n.forEach((c,f)=>{let h=t[f].route.id;if(Ir(!bv(c),"Cannot handle redirect results in processLoaderData"),Q2(c)){let d=R9(e,h),p=c.error;r&&(p=Object.values(r)[0],r=void 0),a=a||{},a[d.route.id]==null&&(a[d.route.id]=p),o[h]=void 0,s||(s=!0,l=GNe(c.error)?c.error.status:500),c.headers&&(u[h]=c.headers)}else yv(c)?(i.set(h,c.deferredData),o[h]=c.deferredData.data):o[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[h]=c.headers)}),r&&(a=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:a,statusCode:l||200,loaderHeaders:u}}function Wfe(e,t,n,r,i,o,a,l){let{loaderData:s,errors:u}=Zut(t,n,r,i,l);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Vfe(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Uc(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(a="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(a="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",l='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new Sne(e||500,a,new Error(l),!0)}function Ufe(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(bv(n))return{result:n,idx:t}}}function QNe(e){let t=typeof e=="string"?Ff(e):e;return ty(Eo({},t,{hash:""}))}function Qut(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function yv(e){return e.type===wo.deferred}function Q2(e){return e.type===wo.error}function bv(e){return(e&&e.type)===wo.redirect}function Jut(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function edt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function tdt(e){return Hut.has(e.toLowerCase())}function ad(e){return But.has(e.toLowerCase())}async function Gfe(e,t,n,r,i,o){for(let a=0;af.route.id===s.route.id),c=u!=null&&!ZNe(u,s)&&(o&&o[s.route.id])!==void 0;if(yv(l)&&(i||c)){let f=r[a];Ir(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await JNe(l,f,i).then(h=>{h&&(n[a]=h||n[a])})}}}async function JNe(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:wo.data,data:e.deferredData.unwrappedData}}catch(i){return{type:wo.error,error:i}}return{type:wo.data,data:e.deferredData.data}}}function xne(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function aZ(e,t){let n=typeof t=="string"?Ff(t).search:t.search;if(e[e.length-1].route.index&&xne(n||""))return e[e.length-1];let r=UNe(e);return r[r.length-1]}function Kfe(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function _q(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ndt(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function F6(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function rdt(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function S1(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function idt(e,t){try{let n=e.sessionStorage.getItem(YNe);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function odt(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(YNe,JSON.stringify(n))}catch(r){g0(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.22.0 * * Copyright (c) Remix Software Inc. @@ -56,7 +56,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function kE(){return kE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),_.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=bne(u,JSON.parse(a),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Zp([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,a,o,e])}const sdt=_.createContext(null);function cdt(e){let t=_.useContext(Ph).outlet;return t&&_.createElement(sdt.Provider,{value:e},t)}function udt(){let{matches:e}=_.useContext(Ph),t=e[e.length-1];return t?t.params:{}}function nAe(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(Ty),{matches:i}=_.useContext(Ph),{pathname:o}=Oz(),a=JSON.stringify(yne(i,r.v7_relativeSplatPath));return _.useMemo(()=>bne(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function ddt(e,t,n,r){g$()||Ir(!1);let{navigator:i}=_.useContext(Ty),{matches:o}=_.useContext(Ph),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=Oz(),c;if(t){var f;let m=typeof t=="string"?Ff(t):t;s==="/"||(f=m.pathname)!=null&&f.startsWith(s)||Ir(!1),c=m}else c=u;let h=c.pathname||"/",d=s==="/"?h:h.slice(s.length)||"/",p=Z2(e,{pathname:d}),g=mdt(p&&p.map(m=>Object.assign({},m,{params:Object.assign({},l,m.params),pathname:Zp([s,i.encodeLocation?i.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?s:Zp([s,i.encodeLocation?i.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n,r);return t&&g?_.createElement(wz.Provider,{value:{location:kE({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bo.Pop}},g):g}function fdt(){let e=Cdt(),t=UNe(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const pdt=_.createElement(fdt,null);class hdt extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(Ph.Provider,{value:this.props.routeContext},_.createElement(eAe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gdt(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(_z);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(Ph.Provider,{value:t},r)}function mdt(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let a=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));c>=0||Ir(!1),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,f,h)=>{let d,p=!1,g=null,m=null;n&&(d=l&&f.route.id?l[f.route.id]:void 0,g=f.route.errorElement||pdt,s&&(u<0&&h===0?(xdt("route-fallback",!1),p=!0,m=null):u===h&&(p=!0,m=f.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,h+1)),y=()=>{let b;return d?b=g:p?b=m:f.route.Component?b=_.createElement(f.route.Component,null):f.route.element?b=f.route.element:b=c,_.createElement(gdt,{match:f,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:b})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?_.createElement(hdt,{location:n.location,revalidation:n.revalidation,component:g,error:d,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var rAe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(rAe||{}),Lj=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Lj||{});function vdt(e){let t=_.useContext(_z);return t||Ir(!1),t}function ydt(e){let t=_.useContext(JNe);return t||Ir(!1),t}function bdt(e){let t=_.useContext(Ph);return t||Ir(!1),t}function iAe(e){let t=bdt(),n=t.matches[t.matches.length-1];return n.route.id||Ir(!1),n.route.id}function Cdt(){var e;let t=_.useContext(eAe),n=ydt(Lj.UseRouteError),r=iAe(Lj.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Sdt(){let{router:e}=vdt(rAe.UseNavigateStable),t=iAe(Lj.UseNavigateStable),n=_.useRef(!1);return tAe(()=>{n.current=!0}),_.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,kE({fromRouteId:t},o)))},[e,t])}const Kfe={};function xdt(e,t,n){!t&&!Kfe[e]&&(Kfe[e]=!0)}function oAe(e){return cdt(e.context)}function _dt(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Bo.Pop,navigator:o,static:a=!1,future:l}=e;g$()&&Ir(!1);let s=t.replace(/^\/*/,"/"),u=_.useMemo(()=>({basename:s,navigator:o,static:a,future:kE({v7_relativeSplatPath:!1},l)}),[s,l,o,a]);typeof r=="string"&&(r=Ff(r));let{pathname:c="/",search:f="",hash:h="",state:d=null,key:p="default"}=r,g=_.useMemo(()=>{let m=aC(c,s);return m==null?null:{location:{pathname:m,search:f,hash:h,state:d,key:p},navigationType:i}},[s,c,f,h,d,p,i]);return g==null?null:_.createElement(Ty.Provider,{value:u},_.createElement(wz.Provider,{children:n,value:g}))}new Promise(()=>{});function wdt(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:_.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function jE(){return jE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),_.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=Cne(u,JSON.parse(a),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Zp([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,a,o,e])}const sdt=_.createContext(null);function cdt(e){let t=_.useContext(Ph).outlet;return t&&_.createElement(sdt.Provider,{value:e},t)}function udt(){let{matches:e}=_.useContext(Ph),t=e[e.length-1];return t?t.params:{}}function rAe(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(Ty),{matches:i}=_.useContext(Ph),{pathname:o}=Ez(),a=JSON.stringify(bne(i,r.v7_relativeSplatPath));return _.useMemo(()=>Cne(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function ddt(e,t,n,r){m$()||Ir(!1);let{navigator:i}=_.useContext(Ty),{matches:o}=_.useContext(Ph),a=o[o.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=Ez(),c;if(t){var f;let m=typeof t=="string"?Ff(t):t;s==="/"||(f=m.pathname)!=null&&f.startsWith(s)||Ir(!1),c=m}else c=u;let h=c.pathname||"/",d=s==="/"?h:h.slice(s.length)||"/",p=Z2(e,{pathname:d}),g=mdt(p&&p.map(m=>Object.assign({},m,{params:Object.assign({},l,m.params),pathname:Zp([s,i.encodeLocation?i.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?s:Zp([s,i.encodeLocation?i.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n,r);return t&&g?_.createElement(Oz.Provider,{value:{location:jE({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bo.Pop}},g):g}function fdt(){let e=Cdt(),t=GNe(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:i},n):null,null)}const pdt=_.createElement(fdt,null);class hdt extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?_.createElement(Ph.Provider,{value:this.props.routeContext},_.createElement(tAe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gdt(e){let{routeContext:t,match:n,children:r}=e,i=_.useContext(wz);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement(Ph.Provider,{value:t},r)}function mdt(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let a=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));c>=0||Ir(!1),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,f,h)=>{let d,p=!1,g=null,m=null;n&&(d=l&&f.route.id?l[f.route.id]:void 0,g=f.route.errorElement||pdt,s&&(u<0&&h===0?(xdt("route-fallback",!1),p=!0,m=null):u===h&&(p=!0,m=f.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,h+1)),y=()=>{let b;return d?b=g:p?b=m:f.route.Component?b=_.createElement(f.route.Component,null):f.route.element?b=f.route.element:b=c,_.createElement(gdt,{match:f,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:b})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?_.createElement(hdt,{location:n.location,revalidation:n.revalidation,component:g,error:d,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var iAe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(iAe||{}),zj=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zj||{});function vdt(e){let t=_.useContext(wz);return t||Ir(!1),t}function ydt(e){let t=_.useContext(eAe);return t||Ir(!1),t}function bdt(e){let t=_.useContext(Ph);return t||Ir(!1),t}function oAe(e){let t=bdt(),n=t.matches[t.matches.length-1];return n.route.id||Ir(!1),n.route.id}function Cdt(){var e;let t=_.useContext(tAe),n=ydt(zj.UseRouteError),r=oAe(zj.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Sdt(){let{router:e}=vdt(iAe.UseNavigateStable),t=oAe(zj.UseNavigateStable),n=_.useRef(!1);return nAe(()=>{n.current=!0}),_.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,jE({fromRouteId:t},o)))},[e,t])}const Xfe={};function xdt(e,t,n){!t&&!Xfe[e]&&(Xfe[e]=!0)}function aAe(e){return cdt(e.context)}function _dt(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Bo.Pop,navigator:o,static:a=!1,future:l}=e;m$()&&Ir(!1);let s=t.replace(/^\/*/,"/"),u=_.useMemo(()=>({basename:s,navigator:o,static:a,future:jE({v7_relativeSplatPath:!1},l)}),[s,l,o,a]);typeof r=="string"&&(r=Ff(r));let{pathname:c="/",search:f="",hash:h="",state:d=null,key:p="default"}=r,g=_.useMemo(()=>{let m=aC(c,s);return m==null?null:{location:{pathname:m,search:f,hash:h,state:d,key:p},navigationType:i}},[s,c,f,h,d,p,i]);return g==null?null:_.createElement(Ty.Provider,{value:u},_.createElement(Oz.Provider,{children:n,value:g}))}new Promise(()=>{});function wdt(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:_.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.22.0 * * Copyright (c) Remix Software Inc. @@ -65,11 +65,11 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function jE(){return jE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Edt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $dt(e,t){return e.button===0&&(!t||t==="_self")&&!Edt(e)}const Pdt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Tdt="6";try{window.__reactRouterVersion=Tdt}catch{}function Mdt(e,t){return Gut({basename:t==null?void 0:t.basename,future:jE({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:gut({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Rdt(),routes:e,mapRouteProperties:wdt,window:t==null?void 0:t.window}).initialize()}function Rdt(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=jE({},t,{errors:Idt(t.errors)})),t}function Idt(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Cne(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let a=new o(i.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const Ndt=_.createContext({isTransitioning:!1}),Adt=_.createContext(new Map),kdt="startTransition",Xfe=f0[kdt],jdt="flushSync",Yfe=vne[jdt];function Ddt(e){Xfe?Xfe(e):e()}function H6(e){Yfe?Yfe(e):e()}class Ldt{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function zdt(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=_.useState(n.state),[a,l]=_.useState(),[s,u]=_.useState({isTransitioning:!1}),[c,f]=_.useState(),[h,d]=_.useState(),[p,g]=_.useState(),m=_.useRef(new Map),{v7_startTransition:v}=r||{},y=_.useCallback(w=>{v?Ddt(w):w()},[v]),b=_.useCallback((w,O)=>{let{deletedFetchers:$,unstable_flushSync:P,unstable_viewTransitionOpts:T}=O;$.forEach(M=>m.current.delete(M)),w.fetchers.forEach((M,A)=>{M.data!==void 0&&m.current.set(A,M.data)});let R=n.window==null||typeof n.window.document.startViewTransition!="function";if(!T||R){P?H6(()=>o(w)):y(()=>o(w));return}if(P){H6(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:T.currentLocation,nextLocation:T.nextLocation})});let M=n.window.document.startViewTransition(()=>{H6(()=>o(w))});M.finished.finally(()=>{H6(()=>{f(void 0),d(void 0),l(void 0),u({isTransitioning:!1})})}),H6(()=>d(M));return}h?(c&&c.resolve(),h.skipTransition(),g({state:w,currentLocation:T.currentLocation,nextLocation:T.nextLocation})):(l(w),u({isTransitioning:!0,flushSync:!1,currentLocation:T.currentLocation,nextLocation:T.nextLocation}))},[n.window,h,c,m,y]);_.useLayoutEffect(()=>n.subscribe(b),[n,b]),_.useEffect(()=>{s.isTransitioning&&!s.flushSync&&f(new Ldt)},[s]),_.useEffect(()=>{if(c&&a&&n.window){let w=a,O=c.promise,$=n.window.document.startViewTransition(async()=>{y(()=>o(w)),await O});$.finished.finally(()=>{f(void 0),d(void 0),l(void 0),u({isTransitioning:!1})}),d($)}},[y,a,c,n.window]),_.useEffect(()=>{c&&a&&i.location.key===a.location.key&&c.resolve()},[c,h,i.location,a]),_.useEffect(()=>{!s.isTransitioning&&p&&(l(p.state),u({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}),g(void 0))},[s.isTransitioning,p]),_.useEffect(()=>{},[]);let C=_.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,O,$)=>n.navigate(w,{state:O,preventScrollReset:$==null?void 0:$.preventScrollReset}),replace:(w,O,$)=>n.navigate(w,{replace:!0,state:O,preventScrollReset:$==null?void 0:$.preventScrollReset})}),[n]),x=n.basename||"/",S=_.useMemo(()=>({router:n,navigator:C,static:!1,basename:x}),[n,C,x]);return _.createElement(_.Fragment,null,_.createElement(_z.Provider,{value:S},_.createElement(JNe.Provider,{value:i},_.createElement(Adt.Provider,{value:m.current},_.createElement(Ndt.Provider,{value:s},_.createElement(_dt,{basename:x,location:i.location,navigationType:i.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?_.createElement(Bdt,{routes:n.routes,future:n.future,state:i}):t))))),null)}function Bdt(e){let{routes:t,future:n,state:r}=e;return ddt(t,void 0,r,n)}const Fdt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hdt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zfe=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,h=Odt(t,Pdt),{basename:d}=_.useContext(Ty),p,g=!1;if(typeof u=="string"&&Hdt.test(u)&&(p=u,Fdt))try{let b=new URL(window.location.href),C=u.startsWith("//")?new URL(b.protocol+u):new URL(u),x=aC(C.pathname,d);C.origin===b.origin&&x!=null?u=x+C.search+C.hash:g=!0}catch{}let m=adt(u,{relative:i}),v=Wdt(u,{replace:a,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:f});function y(b){r&&r(b),b.defaultPrevented||v(b)}return _.createElement("a",jE({},h,{href:p||m,onClick:g||o?r:y,ref:n,target:s}))});var Qfe;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Qfe||(Qfe={}));var Jfe;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Jfe||(Jfe={}));function Wdt(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=My(),u=Oz(),c=nAe(e,{relative:a});return _.useCallback(f=>{if($dt(f,n)){f.preventDefault();let h=r!==void 0?r:ty(u)===ty(c);s(e,{replace:h,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:l})}},[u,s,c,r,i,n,e,o,a,l])}var _q={exports:{}};/*! + */function DE(){return DE=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Edt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $dt(e,t){return e.button===0&&(!t||t==="_self")&&!Edt(e)}const Pdt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Tdt="6";try{window.__reactRouterVersion=Tdt}catch{}function Mdt(e,t){return Gut({basename:t==null?void 0:t.basename,future:DE({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:gut({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Rdt(),routes:e,mapRouteProperties:wdt,window:t==null?void 0:t.window}).initialize()}function Rdt(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=DE({},t,{errors:Idt(t.errors)})),t}function Idt(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Sne(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let a=new o(i.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const Ndt=_.createContext({isTransitioning:!1}),Adt=_.createContext(new Map),kdt="startTransition",Yfe=f0[kdt],jdt="flushSync",Zfe=yne[jdt];function Ddt(e){Yfe?Yfe(e):e()}function H6(e){Zfe?Zfe(e):e()}class Ldt{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function zdt(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=_.useState(n.state),[a,l]=_.useState(),[s,u]=_.useState({isTransitioning:!1}),[c,f]=_.useState(),[h,d]=_.useState(),[p,g]=_.useState(),m=_.useRef(new Map),{v7_startTransition:v}=r||{},y=_.useCallback(w=>{v?Ddt(w):w()},[v]),b=_.useCallback((w,O)=>{let{deletedFetchers:$,unstable_flushSync:P,unstable_viewTransitionOpts:T}=O;$.forEach(M=>m.current.delete(M)),w.fetchers.forEach((M,A)=>{M.data!==void 0&&m.current.set(A,M.data)});let R=n.window==null||typeof n.window.document.startViewTransition!="function";if(!T||R){P?H6(()=>o(w)):y(()=>o(w));return}if(P){H6(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:T.currentLocation,nextLocation:T.nextLocation})});let M=n.window.document.startViewTransition(()=>{H6(()=>o(w))});M.finished.finally(()=>{H6(()=>{f(void 0),d(void 0),l(void 0),u({isTransitioning:!1})})}),H6(()=>d(M));return}h?(c&&c.resolve(),h.skipTransition(),g({state:w,currentLocation:T.currentLocation,nextLocation:T.nextLocation})):(l(w),u({isTransitioning:!0,flushSync:!1,currentLocation:T.currentLocation,nextLocation:T.nextLocation}))},[n.window,h,c,m,y]);_.useLayoutEffect(()=>n.subscribe(b),[n,b]),_.useEffect(()=>{s.isTransitioning&&!s.flushSync&&f(new Ldt)},[s]),_.useEffect(()=>{if(c&&a&&n.window){let w=a,O=c.promise,$=n.window.document.startViewTransition(async()=>{y(()=>o(w)),await O});$.finished.finally(()=>{f(void 0),d(void 0),l(void 0),u({isTransitioning:!1})}),d($)}},[y,a,c,n.window]),_.useEffect(()=>{c&&a&&i.location.key===a.location.key&&c.resolve()},[c,h,i.location,a]),_.useEffect(()=>{!s.isTransitioning&&p&&(l(p.state),u({isTransitioning:!0,flushSync:!1,currentLocation:p.currentLocation,nextLocation:p.nextLocation}),g(void 0))},[s.isTransitioning,p]),_.useEffect(()=>{},[]);let C=_.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,O,$)=>n.navigate(w,{state:O,preventScrollReset:$==null?void 0:$.preventScrollReset}),replace:(w,O,$)=>n.navigate(w,{replace:!0,state:O,preventScrollReset:$==null?void 0:$.preventScrollReset})}),[n]),x=n.basename||"/",S=_.useMemo(()=>({router:n,navigator:C,static:!1,basename:x}),[n,C,x]);return _.createElement(_.Fragment,null,_.createElement(wz.Provider,{value:S},_.createElement(eAe.Provider,{value:i},_.createElement(Adt.Provider,{value:m.current},_.createElement(Ndt.Provider,{value:s},_.createElement(_dt,{basename:x,location:i.location,navigationType:i.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?_.createElement(Bdt,{routes:n.routes,future:n.future,state:i}):t))))),null)}function Bdt(e){let{routes:t,future:n,state:r}=e;return ddt(t,void 0,r,n)}const Fdt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hdt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qfe=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:f}=t,h=Odt(t,Pdt),{basename:d}=_.useContext(Ty),p,g=!1;if(typeof u=="string"&&Hdt.test(u)&&(p=u,Fdt))try{let b=new URL(window.location.href),C=u.startsWith("//")?new URL(b.protocol+u):new URL(u),x=aC(C.pathname,d);C.origin===b.origin&&x!=null?u=x+C.search+C.hash:g=!0}catch{}let m=adt(u,{relative:i}),v=Wdt(u,{replace:a,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:f});function y(b){r&&r(b),b.defaultPrevented||v(b)}return _.createElement("a",DE({},h,{href:p||m,onClick:g||o?r:y,ref:n,target:s}))});var Jfe;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Jfe||(Jfe={}));var epe;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(epe||(epe={}));function Wdt(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=My(),u=Ez(),c=rAe(e,{relative:a});return _.useCallback(f=>{if($dt(f,n)){f.preventDefault();let h=r!==void 0?r:ty(u)===ty(c);s(e,{replace:h,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:l})}},[u,s,c,r,i,n,e,o,a,l])}var wq={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/var epe;function Tt(){return epe||(epe=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",a=0;a1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Se.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Wo(r)):_ne.isFragment(r)&&r.props?n=n.concat(Wo(r.props.children,t)):n.push(r))}),n}var aZ={},Udt=function(t){};function Gdt(e,t){}function Kdt(e,t){}function Xdt(){aZ={}}function aAe(e,t,n){!t&&!aZ[n]&&(e(!1,n),aZ[n]=!0)}function Dr(e,t){aAe(Gdt,e,t)}function lAe(e,t){aAe(Kdt,e,t)}Dr.preMessage=Udt;Dr.resetWarned=Xdt;Dr.noteOnce=lAe;function bn(e){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bn(e)}function Ydt(e,t){if(bn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(bn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function sAe(e){var t=Ydt(e,"string");return bn(t)=="symbol"?t:String(t)}function ue(e,t,n){return t=sAe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rpe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t0},e.prototype.connect_=function(){!sZ||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rft?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!sZ||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=nft.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),dAe=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof t4(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new fft(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof t4(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new pft(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),pAe=typeof WeakMap<"u"?new WeakMap:new uAe,hAe=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ift.getInstance(),r=new hft(t,n,this);pAe.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){hAe.prototype[e]=function(){var t;return(t=pAe.get(this))[e].apply(t,arguments)}});var wne=function(){return typeof Bj.ResizeObserver<"u"?Bj.ResizeObserver:hAe}(),F1=new Map;function gft(e){e.forEach(function(t){var n,r=t.target;(n=F1.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var gAe=new wne(gft),mft=null;function vft(e,t){F1.has(e)||(F1.set(e,new Set),gAe.observe(e)),F1.get(e).add(t)}function yft(e,t){F1.has(e)&&(F1.get(e).delete(t),F1.get(e).size||(gAe.unobserve(e),F1.delete(e)))}function Yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ope(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;ape+=1;var r=ape;function i(o){if(o===0)bAe(r),t();else{var a=vAe(function(){i(o-1)});Ene.set(r,a)}}return i(n),r};rr.cancel=function(e){var t=Ene.get(e);return bAe(e),yAe(t)};function CAe(e){if(Array.isArray(e))return e}function $ft(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}function SAe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e,t){return CAe(e)||$ft(e,t)||One(e,t)||SAe()}function Hj(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function oa(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function dZ(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var lpe="data-rc-order",spe="data-rc-priority",Pft="rc-util-key",fZ=new Map;function xAe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Pft}function Pz(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Tft(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function _Ae(e){return Array.from((fZ.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function wAe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!oa())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=Tft(r),l=a==="prependQueue",s=document.createElement("style");s.setAttribute(lpe,a),l&&o&&s.setAttribute(spe,"".concat(o)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=e;var u=Pz(t),c=u.firstChild;if(r){if(l){var f=_Ae(u).filter(function(h){if(!["prepend","prependQueue"].includes(h.getAttribute(lpe)))return!1;var d=Number(h.getAttribute(spe)||0);return o>=d});if(f.length)return u.insertBefore(s,f[f.length-1].nextSibling),s}u.insertBefore(s,c)}else u.appendChild(s);return s}function OAe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Pz(t);return _Ae(n).find(function(r){return r.getAttribute(xAe(t))===e})}function LE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=OAe(e,t);if(n){var r=Pz(t);r.removeChild(n)}}function Mft(e,t){var n=fZ.get(e);if(!n||!dZ(document,n)){var r=wAe("",t),i=r.parentNode;fZ.set(e,i),e.removeChild(r)}}function m0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Pz(n);Mft(r,n);var i=OAe(t,n);if(i){var o,a;if((o=n.csp)!==null&&o!==void 0&&o.nonce&&i.nonce!==((a=n.csp)===null||a===void 0?void 0:a.nonce)){var l;i.nonce=(l=n.csp)===null||l===void 0?void 0:l.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var s=wAe(e,n);return s.setAttribute(xAe(n),t),s}function Rft(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function an(e,t){if(e==null)return{};var n=Rft(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(o);if(Dr(!s,"Warning: There may be circular references"),s)return!1;if(o===a)return!0;if(n&&l>1)return!1;r.add(o);var u=l+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var s;a=(s=a)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&o&&(a.value[1]=this.cacheCallTimes++),(i=a)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,c){var f=Me(u,2),h=f[1];return i.internalGet(c)[1]0,void 0),cpe+=1}return Zr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),Oq=new Pne;function i4(e){var t=Array.isArray(e)?e:[e];return Oq.has(t)||Oq.set(t,new Tne(t)),Oq.get(t)}var Dft=new WeakMap,Eq={};function Lft(e,t){for(var n=Dft,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=fe(fe({},i),{},(r={},ue(r,n4,t),ue(r,vd,n),r)),l=Object.keys(a).map(function(s){var u=a[s];return u?"".concat(s,'="').concat(u,'"'):null}).filter(function(s){return s}).join(" ");return"")}var Ine=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Hft=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var o=Me(i,2),a=o[0],l=o[1];return"".concat(a,":").concat(l,";")}).join(""),"}"):""},EAe=function(t,n,r){var i={},o={};return Object.entries(t).forEach(function(a){var l,s,u=Me(a,2),c=u[0],f=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[c])o[c]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[c])){var h,d=Ine(c,r==null?void 0:r.prefix);i[d]=typeof f=="number"&&!(r!=null&&(h=r.unitless)!==null&&h!==void 0&&h[c])?"".concat(f,"px"):String(f),o[c]="var(".concat(d,")")}}),[o,Hft(i,n,{scope:r==null?void 0:r.scope})]},fpe=oa()?_.useLayoutEffect:_.useEffect,er=function(t,n){var r=_.useRef(!0);fpe(function(){return t(r.current)},n),fpe(function(){return r.current=!1,function(){r.current=!0}},[])},jv=function(t,n){er(function(r){if(!r)return t()},n)},Wft=fe({},f0),ppe=Wft.useInsertionEffect,qft=function(t,n,r){_.useMemo(t,r),er(function(){return n(!0)},r)},Vft=ppe?function(e,t,n){return ppe(function(){return e(),t()},n)}:qft,Uft=fe({},f0),Gft=Uft.useInsertionEffect,Kft=function(t){var n=[],r=!1;function i(o){r||n.push(o)}return _.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),i},Xft=function(){return function(t){t()}},Yft=typeof Gft<"u"?Kft:Xft;function Nne(e,t,n,r,i){var o=_.useContext(r4),a=o.cache,l=[e].concat(vt(t)),s=pZ(l),u=Yft([s]),c=function(p){a.opUpdate(s,function(g){var m=g||[void 0,void 0],v=Me(m,2),y=v[0],b=y===void 0?0:y,C=v[1],x=C,S=x||n(),w=[b,S];return p?p(w):w})};_.useMemo(function(){c()},[s]);var f=a.opGet(s),h=f[1];return Vft(function(){i==null||i(h)},function(d){return c(function(p){var g=Me(p,2),m=g[0],v=g[1];return d&&m===0&&(i==null||i(h)),[m+1,v]}),function(){a.opUpdate(s,function(p){var g=p||[],m=Me(g,2),v=m[0],y=v===void 0?0:v,b=m[1],C=y-1;return C===0?(u(function(){(d||!a.opGet(s))&&(r==null||r(b,!1))}),null):[y-1,b]})}},[s]),h}var Zft={},Qft="css",cv=new Map;function Jft(e){cv.set(e,(cv.get(e)||0)+1)}function ept(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(n4,'="').concat(e,'"]'));n.forEach(function(r){if(r[H1]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var tpt=0;function npt(e,t){cv.set(e,(cv.get(e)||0)-1);var n=Array.from(cv.keys()),r=n.filter(function(i){var o=cv.get(i)||0;return o<=0});n.length-r.length>tpt&&r.forEach(function(i){ept(i,t),cv.delete(i)})}var Ane=function(t,n,r,i){var o=r.getDerivativeToken(t),a=fe(fe({},o),n);return i&&(a=i(a)),a},$Ae="token";function PAe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.useContext(r4),i=r.cache.instanceId,o=r.container,a=n.salt,l=a===void 0?"":a,s=n.override,u=s===void 0?Zft:s,c=n.formatToken,f=n.getComputedToken,h=n.cssVar,d=Lft(function(){return Object.assign.apply(Object,[{}].concat(vt(t)))},t),p=R9(d),g=R9(u),m=h?R9(h):"",v=Nne($Ae,[l,e.id,p,g,m],function(){var y,b=f?f(d,u,e):Ane(d,u,e,c),C=fe({},b),x="";if(h){var S=EAe(b,h.key,{prefix:h.prefix,ignore:h.ignore,unitless:h.unitless,preserve:h.preserve}),w=Me(S,2);b=w[0],x=w[1]}var O=dpe(b,l);b._tokenKey=O,C._tokenKey=dpe(C,l);var $=(y=h==null?void 0:h.key)!==null&&y!==void 0?y:O;b._themeKey=$,Jft($);var P="".concat(Qft,"-").concat(Hj(O));return b._hashId=P,[b,P,C,x,(h==null?void 0:h.key)||""]},function(y){npt(y[0]._themeKey,i)},function(y){var b=Me(y,4),C=b[0],x=b[3];if(h&&x){var S=m0(x,Hj("css-variables-".concat(C._themeKey)),{mark:vd,prepend:"queue",attachTo:o,priority:-999});S[H1]=i,S.setAttribute(n4,C._themeKey)}});return v}var rpt=function(t,n,r){var i=Me(t,5),o=i[2],a=i[3],l=i[4],s=r||{},u=s.plain;if(!a)return null;var c=o._tokenKey,f=-999,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},d=zE(a,l,c,h,u);return[f,c,d]},TAe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},MAe="comm",RAe="rule",IAe="decl",ipt="@import",opt="@keyframes",apt="@layer",NAe=Math.abs,kne=String.fromCharCode;function AAe(e){return e.trim()}function hk(e,t,n){return e.replace(t,n)}function lpt(e,t,n){return e.indexOf(t,n)}function BE(e,t){return e.charCodeAt(t)|0}function FE(e,t,n){return e.slice(t,n)}function Lp(e){return e.length}function spt(e){return e.length}function KT(e,t){return t.push(e),e}var Tz=1,o4=1,kAe=0,gu=0,ta=0,lC="";function jne(e,t,n,r,i,o,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Tz,column:o4,length:a,return:"",siblings:l}}function cpt(){return ta}function upt(){return ta=gu>0?BE(lC,--gu):0,o4--,ta===10&&(o4=1,Tz--),ta}function yd(){return ta=gu2||gZ(ta)>3?"":" "}function hpt(e,t){for(;--t&&yd()&&!(ta<48||ta>102||ta>57&&ta<65||ta>70&&ta<97););return Mz(e,gk()+(t<6&&Dv()==32&&yd()==32))}function mZ(e){for(;yd();)switch(ta){case e:return gu;case 34:case 39:e!==34&&e!==39&&mZ(ta);break;case 40:e===41&&mZ(e);break;case 92:yd();break}return gu}function gpt(e,t){for(;yd()&&e+ta!==57;)if(e+ta===84&&Dv()===47)break;return"/*"+Mz(t,gu-1)+"*"+kne(e===47?e:yd())}function mpt(e){for(;!gZ(Dv());)yd();return Mz(e,gu)}function vpt(e){return fpt(mk("",null,null,null,[""],e=dpt(e),0,[0],e))}function mk(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,f=a,h=0,d=0,p=0,g=1,m=1,v=1,y=0,b="",C=i,x=o,S=r,w=b;m;)switch(p=y,y=yd()){case 40:if(p!=108&&BE(w,f-1)==58){lpt(w+=hk(Mq(y),"&","&\f"),"&\f",NAe(u?l[u-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:w+=Mq(y);break;case 9:case 10:case 13:case 32:w+=ppt(p);break;case 92:w+=hpt(gk()-1,7);continue;case 47:switch(Dv()){case 42:case 47:KT(ypt(gpt(yd(),gk()),t,n,s),s);break;default:w+="/"}break;case 123*g:l[u++]=Lp(w)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+c:v==-1&&(w=hk(w,/\f/g,"")),d>0&&Lp(w)-f&&KT(d>32?gpe(w+";",r,n,f-1,s):gpe(hk(w," ","")+";",r,n,f-2,s),s);break;case 59:w+=";";default:if(KT(S=hpe(w,t,n,u,c,i,l,b,C=[],x=[],f,o),o),y===123)if(c===0)mk(w,t,S,S,C,o,f,l,x);else switch(h===99&&BE(w,3)===110?100:h){case 100:case 108:case 109:case 115:mk(e,S,S,r&&KT(hpe(e,S,S,0,0,i,l,b,i,C=[],f,x),x),i,x,f,l,r?C:x);break;default:mk(w,S,S,S,[""],x,0,l,x)}}u=c=d=0,g=v=1,b=w="",f=a;break;case 58:f=1+Lp(w),d=p;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&upt()==125)continue}switch(w+=kne(y),y*g){case 38:v=c>0?1:(w+="\f",-1);break;case 44:l[u++]=(Lp(w)-1)*v,v=1;break;case 64:Dv()===45&&(w+=Mq(yd())),h=Dv(),c=f=Lp(b=w+=mpt(gk())),y++;break;case 45:p===45&&Lp(w)==2&&(g=0)}}return o}function hpe(e,t,n,r,i,o,a,l,s,u,c,f){for(var h=i-1,d=i===0?o:[""],p=spt(d),g=0,m=0,v=0;g0?d[y]+" "+b:hk(b,/&\f/g,d[y])))&&(s[v++]=C);return jne(e,t,n,i===0?RAe:l,s,u,c,f)}function ypt(e,t,n,r){return jne(e,t,n,MAe,kne(cpt()),FE(e,2,-2),0,r)}function gpe(e,t,n,r,i){return jne(e,t,n,IAe,FE(e,0,r),FE(e,r+1,-1),r,i)}function vZ(e,t){for(var n="",r=0;r1}function Spt(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var xpt=function(t,n,r){var i=Spt(r),o=i.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(Cpt)&&Cv("Concat ':not' selector not support in legacy browsers.",r)},_pt=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Cv("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(l){return l.trim()});i.length===4&&i[1]!==i[3]&&Cv("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&Cv("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var o=n.split("/").map(function(l){return l.trim()}),a=o.reduce(function(l,s){if(l)return l;var u=s.split(" ").map(function(c){return c.trim()});return u.length>=2&&u[0]!==u[1]||u.length===3&&u[1]!==u[2]||u.length===4&&u[2]!==u[3]?!0:l},!1);a&&Cv("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},wpt=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&Cv("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},Opt=function(t,n,r){r.parentSelectors.some(function(i){var o=i.split(",");return o.some(function(a){return a.split("&").length>2})})&&Cv("Should not use more than one `&` in a selector.",r)},I9="data-ant-cssinjs-cache-path",jAe="_FILE_STYLE__";function Ept(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var Lv,DAe=!0;function $pt(){if(!Lv&&(Lv={},oa())){var e=document.createElement("div");e.className=I9,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var o=i.split(":"),a=Me(o,2),l=a[0],s=a[1];Lv[l]=s});var n=document.querySelector("style[".concat(I9,"]"));if(n){var r;DAe=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Ppt(e){return $pt(),!!Lv[e]}function Tpt(e){var t=Lv[e],n=null;if(t&&oa())if(DAe)n=jAe;else{var r=document.querySelector("style[".concat(vd,'="').concat(Lv[e],'"]'));r?n=r.innerHTML:delete Lv[e]}return[n,t]}var Mpt="_skip_check_",LAe="_multi_value_";function yZ(e){var t=vZ(vpt(e),bpt);return t.replace(/\{%%%\:[^;];}/g,";")}function Rpt(e){return bn(e)==="object"&&e&&(Mpt in e||LAe in e)}function Ipt(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(a){var l,s=a.trim().split(/\s+/),u=s[0]||"",c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u="".concat(c).concat(i).concat(u.slice(c.length)),[u].concat(vt(s.slice(1))).join(" ")});return o.join(",")}var Npt=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,o=r.injectHash,a=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,c=n.transformers,f=c===void 0?[]:c;n.linters;var h="",d={};function p(b){var C=b.getName(l);if(!d[C]){var x=e(b.style,n,{root:!1,parentSelectors:a}),S=Me(x,1),w=S[0];d[C]="@keyframes ".concat(b.getName(l)).concat(w)}}function g(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(x){Array.isArray(x)?g(x,C):x&&C.push(x)}),C}var m=g(Array.isArray(t)?t:[t]);if(m.forEach(function(b){var C=typeof b=="string"&&!i?{}:b;if(typeof C=="string")h+="".concat(C,` -`);else if(C._keyframe)p(C);else{var x=f.reduce(function(S,w){var O;return(w==null||(O=w.visit)===null||O===void 0?void 0:O.call(w,S))||S},C);Object.keys(x).forEach(function(S){var w=x[S];if(bn(w)==="object"&&w&&(S!=="animationName"||!w._keyframe)&&!Rpt(w)){var O=!1,$=S.trim(),P=!1;(i||o)&&l?$.startsWith("@")?O=!0:$=Ipt(S,l,u):i&&!l&&($==="&"||$==="")&&($="",P=!0);var T=e(w,n,{root:P,injectHash:O,parentSelectors:[].concat(vt(a),[$])}),R=Me(T,2),M=R[0],A=R[1];d=fe(fe({},d),A),h+="".concat($).concat(M)}else{let D=function(L,B){var j=L.replace(/[A-Z]/g,function(V){return"-".concat(V.toLowerCase())}),z=B;!TAe[L]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),L==="animationName"&&B!==null&&B!==void 0&&B._keyframe&&(p(B),z=B.getName(l)),h+="".concat(j,":").concat(z,";")};var N,k=(N=w==null?void 0:w.value)!==null&&N!==void 0?N:w;bn(w)==="object"&&w!==null&&w!==void 0&&w[LAe]&&Array.isArray(k)?k.forEach(function(L){D(S,L)}):D(S,k)}})}}),!i)h="{".concat(h,"}");else if(s&&zft()){var v=s.split(","),y=v[v.length-1].trim();h="@layer ".concat(y," {").concat(h,"}"),v.length>1&&(h="@layer ".concat(s,"{%%%:%}").concat(h))}return[h,d]};function zAe(e,t){return Hj("".concat(e.join("%")).concat(t))}function Apt(){return null}var BAe="style";function Wj(e,t){var n=e.token,r=e.path,i=e.hashId,o=e.layer,a=e.nonce,l=e.clientOnly,s=e.order,u=s===void 0?0:s,c=_.useContext(r4),f=c.autoClear;c.mock;var h=c.defaultCache,d=c.hashPriority,p=c.container,g=c.ssrInline,m=c.transformers,v=c.linters,y=c.cache,b=n._tokenKey,C=[b].concat(vt(r)),x=hZ,S=Nne(BAe,C,function(){var T=C.join("|");if(Ppt(T)){var R=Tpt(T),M=Me(R,2),A=M[0],N=M[1];if(A)return[A,b,N,{},l,u]}var k=t(),D=Npt(k,{hashId:i,hashPriority:d,layer:o,path:r.join("-"),transformers:m,linters:v}),L=Me(D,2),B=L[0],j=L[1],z=yZ(B),V=zAe(C,z);return[z,b,V,j,l,u]},function(T,R){var M=Me(T,3),A=M[2];(R||f)&&hZ&&LE(A,{mark:vd})},function(T){var R=Me(T,4),M=R[0];R[1];var A=R[2],N=R[3];if(x&&M!==jAe){var k={mark:vd,prepend:"queue",attachTo:p,priority:u},D=typeof a=="function"?a():a;D&&(k.csp={nonce:D});var L=m0(M,A,k);L[H1]=y.instanceId,L.setAttribute(n4,b),Object.keys(N).forEach(function(B){m0(yZ(N[B]),"_effect-".concat(B),k)})}}),w=Me(S,3),O=w[0],$=w[1],P=w[2];return function(T){var R;if(!g||x||!h)R=_.createElement(Apt,null);else{var M;R=_.createElement("style",Qe({},(M={},ue(M,n4,$),ue(M,vd,P),M),{dangerouslySetInnerHTML:{__html:O}}))}return _.createElement(_.Fragment,null,R,T)}}var kpt=function(t,n,r){var i=Me(t,6),o=i[0],a=i[1],l=i[2],s=i[3],u=i[4],c=i[5],f=r||{},h=f.plain;if(u)return null;var d=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return d=zE(o,a,l,p,h),s&&Object.keys(s).forEach(function(g){if(!n[g]){n[g]=!0;var m=yZ(s[g]);d+=zE(m,a,"_effect-".concat(g),p,h)}}),[c,l,d]},FAe="cssVar",HAe=function(t,n){var r=t.key,i=t.prefix,o=t.unitless,a=t.ignore,l=t.token,s=t.scope,u=s===void 0?"":s,c=_.useContext(r4),f=c.cache.instanceId,h=c.container,d=l._tokenKey,p=[].concat(vt(t.path),[r,u,d]),g=Nne(FAe,p,function(){var m=n(),v=EAe(m,r,{prefix:i,unitless:o,ignore:a,scope:u}),y=Me(v,2),b=y[0],C=y[1],x=zAe(p,C);return[b,C,x,r]},function(m){var v=Me(m,3),y=v[2];hZ&&LE(y,{mark:vd})},function(m){var v=Me(m,3),y=v[1],b=v[2];if(y){var C=m0(y,b,{mark:vd,prepend:"queue",attachTo:h,priority:-999});C[H1]=f,C.setAttribute(n4,r)}});return g},jpt=function(t,n,r){var i=Me(t,4),o=i[1],a=i[2],l=i[3],s=r||{},u=s.plain;if(!o)return null;var c=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},h=zE(o,l,a,f,u);return[c,a,h]},W6,Dpt=(W6={},ue(W6,BAe,kpt),ue(W6,$Ae,rpt),ue(W6,FAe,jpt),W6);function Lpt(e){return e!==null}function zpt(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,o=n.types,a=o===void 0?["style","token","cssVar"]:o,l=new RegExp("^(".concat((typeof a=="string"?[a]:a).join("|"),")%")),s=Array.from(e.cache.keys()).filter(function(h){return l.test(h)}),u={},c={},f="";return s.map(function(h){var d=h.replace(l,"").replace(/%/g,"|"),p=h.split("%"),g=Me(p,1),m=g[0],v=Dpt[m],y=v(e.cache.get(h)[1],u,{plain:i});if(!y)return null;var b=Me(y,3),C=b[0],x=b[1],S=b[2];return h.startsWith("style")&&(c[d]=x),[C,S]}).filter(Lpt).sort(function(h,d){var p=Me(h,1),g=p[0],m=Me(d,1),v=m[0];return g-v}).forEach(function(h){var d=Me(h,2),p=d[1];f+=p}),f+=zE(".".concat(I9,'{content:"').concat(Ept(c),'";}'),void 0,void 0,ue({},I9,I9),i),f}var lr=function(){function e(t,n){Yr(this,e),ue(this,"name",void 0),ue(this,"style",void 0),ue(this,"_keyframe",!0),this.name=t,this.style=n}return Zr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Bpt(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i="",o=0;return[r.reduce(function(a,l){if(l.includes("(")||l.includes(")")){var s=l.split("(").length-1,u=l.split(")").length-1;o+=s-u}return o===0?(a.push(i+l),i=""):o>0&&(i+=l),a},[]),!!n]}function Lb(e){return e.notSplit=!0,e}var Fpt={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Lb(["borderTop","borderBottom"]),borderBlockStart:Lb(["borderTop"]),borderBlockEnd:Lb(["borderBottom"]),borderInline:Lb(["borderLeft","borderRight"]),borderInlineStart:Lb(["borderLeft"]),borderInlineEnd:Lb(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function XT(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var Hpt={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],o=Fpt[r];if(o&&(typeof i=="number"||typeof i=="string")){var a=Bpt(i),l=Me(a,2),s=l[0],u=l[1];o.length&&o.notSplit?o.forEach(function(c){n[c]=XT(i,u)}):o.length===1?n[o[0]]=XT(i,u):o.length===2?o.forEach(function(c,f){var h;n[c]=XT((h=s[f])!==null&&h!==void 0?h:s[0],u)}):o.length===4?o.forEach(function(c,f){var h,d;n[c]=XT((h=(d=s[f])!==null&&d!==void 0?d:s[f-2])!==null&&h!==void 0?h:s[0],u)}):n[r]=i}else n[r]=i}),n}},Rq=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Wpt(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var qpt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,o=i===void 0?5:i,a=t.mediaQuery,l=a===void 0?!1:a,s=function(f,h){if(!h)return f;var d=parseFloat(h);if(d<=1)return f;var p=Wpt(d/r,o);return"".concat(p,"rem")},u=function(f){var h=fe({},f);return Object.entries(f).forEach(function(d){var p=Me(d,2),g=p[0],m=p[1];if(typeof m=="string"&&m.includes("px")){var v=m.replace(Rq,s);h[g]=v}!TAe[g]&&typeof m=="number"&&m!==0&&(h[g]="".concat(m,"px").replace(Rq,s));var y=g.trim();if(y.startsWith("@")&&y.includes("px")&&l){var b=g.replace(Rq,s);h[b]=h[g],delete h[g]}}),h};return{visit:u}},Vpt={supportModernCSS:function(){return Bft()&&Fft()}};const Upt=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:lr,NaNLinter:wpt,StyleProvider:kft,Theme:Tne,_experimental:Vpt,createCache:$ne,createTheme:i4,extractStyle:zpt,getComputedToken:Ane,legacyLogicalPropertiesTransformer:Hpt,legacyNotSelectorLinter:xpt,logicalPropertiesLinter:_pt,parentSelectorLinter:Opt,px2remTransformer:qpt,token2CSSVar:Ine,unit:xe,useCSSVarRegister:HAe,useCacheToken:PAe,useStyleRegister:Wj},Symbol.toStringTag,{value:"Module"}));var Dne=_.createContext({});function WAe(e){return CAe(e)||mAe(e)||One(e)||SAe()}function _s(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!_s(e,t.slice(0,-1))?e:qAe(e,t,n,r)}function Gpt(e){return bn(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function mpe(e){return Array.isArray(e)?[]:{}}var Kpt=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function J2(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=Xpt,e},VAe=_.createContext(void 0);var UAe={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"},Zpt={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const Qpt={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},GAe=Qpt,Jpt={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"]},Zpt),timePickerLocale:Object.assign({},GAe)},HE=Jpt,Vs="${label} is not a valid ${type}",Sc={locale:"en",Pagination:UAe,DatePicker:HE,TimePicker:GAe,Calendar:HE,global:{placeholder:"Please select"},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",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"},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:Vs,method:Vs,array:Vs,object:Vs,number:Vs,date:Vs,boolean:Vs,integer:Vs,float:Vs,regexp:Vs,email:Vs,url:Vs,hex:Vs},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"}};let vk=Object.assign({},Sc.Modal),yk=[];const vpe=()=>yk.reduce((e,t)=>Object.assign(Object.assign({},e),t),Sc.Modal);function eht(e){if(e){const t=Object.assign({},e);return yk.push(t),vk=vpe(),()=>{yk=yk.filter(n=>n!==t),vk=vpe()}}vk=Object.assign({},Sc.Modal)}function KAe(){return vk}const tht=_.createContext(void 0),Lne=tht,nht=(e,t)=>{const n=_.useContext(Lne),r=_.useMemo(()=>{var o;const a=t||Sc[e],l=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),l||{})},[e,t,n]),i=_.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Sc.locale:o},[n]);return[r,i]},xu=nht,rht="internalMark",iht=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;_.useEffect(()=>eht(t&&t.Modal),[t]);const i=_.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return _.createElement(Lne.Provider,{value:i},n)},oht=iht;function rl(e,t){aht(e)&&(e="100%");var n=lht(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function YT(e){return Math.min(1,Math.max(0,e))}function aht(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function lht(e){return typeof e=="string"&&e.indexOf("%")!==-1}function XAe(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Sv(e){return e<=1?"".concat(Number(e)*100,"%"):e}function fd(e){return e.length===1?"0"+e:String(e)}function YAe(e,t,n){return{r:rl(e,255)*255,g:rl(t,255)*255,b:rl(n,255)*255}}function bZ(e,t,n){e=rl(e,255),t=rl(t,255),n=rl(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,l=(r+i)/2;if(r===i)a=0,o=0;else{var s=r-i;switch(a=l>.5?s/(2-r-i):s/(r+i),r){case e:o=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ZAe(e,t,n){var r,i,o;if(e=rl(e,360),t=rl(t,100),n=rl(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=Iq(l,a,e+1/3),i=Iq(l,a,e),o=Iq(l,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function qj(e,t,n){e=rl(e,255),t=rl(t,255),n=rl(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,l=r-i,s=r===0?0:l/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Uj={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function uv(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=tke(e)),typeof e=="object"&&(ef(e.r)&&ef(e.g)&&ef(e.b)?(t=YAe(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ef(e.h)&&ef(e.s)&&ef(e.v)?(r=Sv(e.s),i=Sv(e.v),t=QAe(e.h,r,i),a=!0,l="hsv"):ef(e.h)&&ef(e.s)&&ef(e.l)&&(r=Sv(e.s),o=Sv(e.l),t=ZAe(e.h,r,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=XAe(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var sht="[-\\+]?\\d+%?",cht="[-\\+]?\\d*\\.\\d+%?",W1="(?:".concat(cht,")|(?:").concat(sht,")"),Nq="[\\s|\\(]+(".concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")\\s*\\)?"),Aq="[\\s|\\(]+(".concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")\\s*\\)?"),Qu={CSS_UNIT:new RegExp(W1),rgb:new RegExp("rgb"+Nq),rgba:new RegExp("rgba"+Aq),hsl:new RegExp("hsl"+Nq),hsla:new RegExp("hsla"+Aq),hsv:new RegExp("hsv"+Nq),hsva:new RegExp("hsva"+Aq),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tke(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Uj[e])e=Uj[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Qu.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qu.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qu.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Qu.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qu.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Qu.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qu.hex8.exec(e),n?{r:gs(n[1]),g:gs(n[2]),b:gs(n[3]),a:SZ(n[4]),format:t?"name":"hex8"}:(n=Qu.hex6.exec(e),n?{r:gs(n[1]),g:gs(n[2]),b:gs(n[3]),format:t?"name":"hex"}:(n=Qu.hex4.exec(e),n?{r:gs(n[1]+n[1]),g:gs(n[2]+n[2]),b:gs(n[3]+n[3]),a:SZ(n[4]+n[4]),format:t?"name":"hex8"}:(n=Qu.hex3.exec(e),n?{r:gs(n[1]+n[1]),g:gs(n[2]+n[2]),b:gs(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ef(e){return!!Qu.CSS_UNIT.exec(String(e))}var Gn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=eke(t)),this.originalInput=t;var i=uv(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=XAe(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=qj(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=qj(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=bZ(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=bZ(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Vj(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),JAe(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(rl(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(rl(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Vj(this.r,this.g,this.b,!1),n=0,r=Object.entries(Uj);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=YT(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=YT(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=YT(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=YT(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a=4.5;case"AAlarge":return o>=3;case"AAAsmall":return o>=7;default:return!1}}function rke(e,t,n){n===void 0&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var r=null,i=0,o=n.includeFallbackColors,a=n.level,l=n.size,s=0,u=t;si&&(i=f,r=new Gn(c))}return nke(e,r,{level:a,size:l})||!o?r:(n.includeFallbackColors=!1,rke(e,["#fff","#000"],n))}function uht(e,t){var n=new Gn(e),r="#"+CZ(n.r,n.g,n.b,n.a),i=r,o=n.gradientType?"GradientType = 1, ":"";if(t){var a=new Gn(t);i="#"+CZ(a.r,a.g,a.b,a.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(o,"startColorstr=").concat(r,",endColorstr=").concat(i,")")}function dht(e,t){var n={r:Sv(e.r),g:Sv(e.g),b:Sv(e.b)};return e.a!==void 0&&(n.a=Number(e.a)),new Gn(n,t)}function fht(){return new Gn({r:Math.random(),g:Math.random(),b:Math.random()})}function ike(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(ike(e));return e.count=t,n}var r=pht(e.hue,e.seed),i=hht(r,e),o=ght(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Gn(a)}function pht(e,t){var n=vht(e),r=Gj(n,t);return r<0&&(r=360+r),r}function hht(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Gj([0,100],t.seed);var n=oke(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return Gj([r,i],t.seed)}function ght(e,t,n){var r=mht(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return Gj([r,i],n.seed)}function mht(e,t){for(var n=oke(e).lowerBounds,r=0;r=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function vht(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Fne.find(function(a){return a.name===e});if(n){var r=ake(n);if(r.hueRange)return r.hueRange}var i=new Gn(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function oke(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Fne;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function Gj(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function ake(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Fne=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];const yht=Object.freeze(Object.defineProperty({__proto__:null,TinyColor:Gn,bounds:Fne,convertDecimalToHex:zne,convertHexToDecimal:SZ,default:ype,fromRatio:dht,hslToRgb:ZAe,hsvToRgb:QAe,inputToRGB:uv,isReadable:nke,isValidCSSUnit:ef,legacyRandom:fht,mostReadable:rke,names:Uj,numberInputToObject:eke,parseIntFromHex:gs,random:ike,readability:Bne,rgbToHex:Vj,rgbToHsl:bZ,rgbToHsv:qj,rgbToRgb:YAe,rgbaToArgbHex:CZ,rgbaToHex:JAe,stringInputToObject:tke,tinycolor:ype,toMsFilter:uht},Symbol.toStringTag,{value:"Module"}));var ZT=2,bpe=.16,bht=.05,Cht=.05,Sht=.15,lke=5,ske=4,xht=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Cpe(e){var t=e.r,n=e.g,r=e.b,i=qj(t,n,r);return{h:i.h*360,s:i.s,v:i.v}}function QT(e){var t=e.r,n=e.g,r=e.b;return"#".concat(Vj(t,n,r,!1))}function _ht(e,t,n){var r=n/100,i={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return i}function Spe(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-ZT*t:Math.round(e.h)+ZT*t:r=n?Math.round(e.h)+ZT*t:Math.round(e.h)-ZT*t,r<0?r+=360:r>=360&&(r-=360),r}function xpe(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-bpe*t:t===ske?r=e.s+bpe:r=e.s+bht*t,r>1&&(r=1),n&&t===lke&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function _pe(e,t,n){var r;return n?r=e.v+Cht*t:r=e.v-Sht*t,r>1&&(r=1),Number(r.toFixed(2))}function Af(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=uv(e),i=lke;i>0;i-=1){var o=Cpe(r),a=QT(uv({h:Spe(o,i,!0),s:xpe(o,i,!0),v:_pe(o,i,!0)}));n.push(a)}n.push(QT(r));for(var l=1;l<=ske;l+=1){var s=Cpe(r),u=QT(uv({h:Spe(s,l),s:xpe(s,l),v:_pe(s,l)}));n.push(u)}return t.theme==="dark"?xht.map(function(c){var f=c.index,h=c.opacity,d=QT(_ht(uv(t.backgroundColor||"#141414"),uv(n[f]),h*100));return d}):n}var zv={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Fa={},bk={};Object.keys(zv).forEach(function(e){Fa[e]=Af(zv[e]),Fa[e].primary=Fa[e][5],bk[e]=Af(zv[e],{theme:"dark",backgroundColor:"#141414"}),bk[e].primary=bk[e][5]});var wht=Fa.red,Oht=Fa.volcano,Eht=Fa.gold,$ht=Fa.orange,Pht=Fa.yellow,Tht=Fa.lime,Mht=Fa.green,Rht=Fa.cyan,Kj=Fa.blue,Iht=Fa.geekblue,Nht=Fa.purple,Aht=Fa.magenta,kht=Fa.grey,jht=Fa.grey;const Dht=Object.freeze(Object.defineProperty({__proto__:null,blue:Kj,cyan:Rht,geekblue:Iht,generate:Af,gold:Eht,gray:jht,green:Mht,grey:kht,lime:Tht,magenta:Aht,orange:$ht,presetDarkPalettes:bk,presetPalettes:Fa,presetPrimaryColors:zv,purple:Nht,red:wht,volcano:Oht,yellow:Pht},Symbol.toStringTag,{value:"Module"})),cke=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Lht(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Hne={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},a4=Object.assign(Object.assign({},Hne),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + */var npe;function Vdt(){if(npe)return si;npe=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),p;p=Symbol.for("react.module.reference");function g(m){if(typeof m=="object"&&m!==null){var v=m.$$typeof;switch(v){case e:switch(m=m.type,m){case n:case i:case r:case u:case c:return m;default:switch(m=m&&m.$$typeof,m){case l:case a:case s:case h:case f:case o:return m;default:return v}}case t:return v}}}return si.ContextConsumer=a,si.ContextProvider=o,si.Element=e,si.ForwardRef=s,si.Fragment=n,si.Lazy=h,si.Memo=f,si.Portal=t,si.Profiler=i,si.StrictMode=r,si.Suspense=u,si.SuspenseList=c,si.isAsyncMode=function(){return!1},si.isConcurrentMode=function(){return!1},si.isContextConsumer=function(m){return g(m)===a},si.isContextProvider=function(m){return g(m)===o},si.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},si.isForwardRef=function(m){return g(m)===s},si.isFragment=function(m){return g(m)===n},si.isLazy=function(m){return g(m)===h},si.isMemo=function(m){return g(m)===f},si.isPortal=function(m){return g(m)===t},si.isProfiler=function(m){return g(m)===i},si.isStrictMode=function(m){return g(m)===r},si.isSuspense=function(m){return g(m)===u},si.isSuspenseList=function(m){return g(m)===c},si.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===i||m===r||m===u||m===c||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===f||m.$$typeof===o||m.$$typeof===a||m.$$typeof===s||m.$$typeof===p||m.getModuleId!==void 0)},si.typeOf=g,si}var rpe;function _ne(){return rpe||(rpe=1,Oq.exports=Vdt()),Oq.exports}var wne=_ne();function Wo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Se.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Wo(r)):wne.isFragment(r)&&r.props?n=n.concat(Wo(r.props.children,t)):n.push(r))}),n}var lZ={},Udt=function(t){};function Gdt(e,t){}function Kdt(e,t){}function Xdt(){lZ={}}function lAe(e,t,n){!t&&!lZ[n]&&(e(!1,n),lZ[n]=!0)}function Dr(e,t){lAe(Gdt,e,t)}function sAe(e,t){lAe(Kdt,e,t)}Dr.preMessage=Udt;Dr.resetWarned=Xdt;Dr.noteOnce=sAe;function bn(e){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bn(e)}function Ydt(e,t){if(bn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(bn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cAe(e){var t=Ydt(e,"string");return bn(t)=="symbol"?t:String(t)}function ue(e,t,n){return t=cAe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ipe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t0},e.prototype.connect_=function(){!cZ||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rft?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!cZ||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=nft.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),fAe=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof t4(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new fft(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof t4(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new pft(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),hAe=typeof WeakMap<"u"?new WeakMap:new dAe,gAe=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ift.getInstance(),r=new hft(t,n,this);hAe.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){gAe.prototype[e]=function(){var t;return(t=hAe.get(this))[e].apply(t,arguments)}});var One=function(){return typeof Fj.ResizeObserver<"u"?Fj.ResizeObserver:gAe}(),F1=new Map;function gft(e){e.forEach(function(t){var n,r=t.target;(n=F1.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var mAe=new One(gft),mft=null;function vft(e,t){F1.has(e)||(F1.set(e,new Set),mAe.observe(e)),F1.get(e).add(t)}function yft(e,t){F1.has(e)&&(F1.get(e).delete(t),F1.get(e).size||(mAe.unobserve(e),F1.delete(e)))}function Yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ape(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;lpe+=1;var r=lpe;function i(o){if(o===0)CAe(r),t();else{var a=yAe(function(){i(o-1)});$ne.set(r,a)}}return i(n),r};rr.cancel=function(e){var t=$ne.get(e);return CAe(e),bAe(t)};function SAe(e){if(Array.isArray(e))return e}function $ft(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}function xAe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e,t){return SAe(e)||$ft(e,t)||Ene(e,t)||xAe()}function Wj(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function oa(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function fZ(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var spe="data-rc-order",cpe="data-rc-priority",Pft="rc-util-key",pZ=new Map;function _Ae(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Pft}function Tz(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Tft(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function wAe(e){return Array.from((pZ.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function OAe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!oa())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=Tft(r),l=a==="prependQueue",s=document.createElement("style");s.setAttribute(spe,a),l&&o&&s.setAttribute(cpe,"".concat(o)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=e;var u=Tz(t),c=u.firstChild;if(r){if(l){var f=wAe(u).filter(function(h){if(!["prepend","prependQueue"].includes(h.getAttribute(spe)))return!1;var d=Number(h.getAttribute(cpe)||0);return o>=d});if(f.length)return u.insertBefore(s,f[f.length-1].nextSibling),s}u.insertBefore(s,c)}else u.appendChild(s);return s}function EAe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Tz(t);return wAe(n).find(function(r){return r.getAttribute(_Ae(t))===e})}function zE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=EAe(e,t);if(n){var r=Tz(t);r.removeChild(n)}}function Mft(e,t){var n=pZ.get(e);if(!n||!fZ(document,n)){var r=OAe("",t),i=r.parentNode;pZ.set(e,i),e.removeChild(r)}}function m0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Tz(n);Mft(r,n);var i=EAe(t,n);if(i){var o,a;if((o=n.csp)!==null&&o!==void 0&&o.nonce&&i.nonce!==((a=n.csp)===null||a===void 0?void 0:a.nonce)){var l;i.nonce=(l=n.csp)===null||l===void 0?void 0:l.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var s=OAe(e,n);return s.setAttribute(_Ae(n),t),s}function Rft(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function an(e,t){if(e==null)return{};var n=Rft(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(o);if(Dr(!s,"Warning: There may be circular references"),s)return!1;if(o===a)return!0;if(n&&l>1)return!1;r.add(o);var u=l+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(l){if(!a)a=void 0;else{var s;a=(s=a)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=a)!==null&&r!==void 0&&r.value&&o&&(a.value[1]=this.cacheCallTimes++),(i=a)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,c){var f=Me(u,2),h=f[1];return i.internalGet(c)[1]0,void 0),upe+=1}return Zr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),Eq=new Tne;function i4(e){var t=Array.isArray(e)?e:[e];return Eq.has(t)||Eq.set(t,new Mne(t)),Eq.get(t)}var Dft=new WeakMap,$q={};function Lft(e,t){for(var n=Dft,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=fe(fe({},i),{},(r={},ue(r,n4,t),ue(r,vd,n),r)),l=Object.keys(a).map(function(s){var u=a[s];return u?"".concat(s,'="').concat(u,'"'):null}).filter(function(s){return s}).join(" ");return"")}var Nne=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Hft=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var o=Me(i,2),a=o[0],l=o[1];return"".concat(a,":").concat(l,";")}).join(""),"}"):""},$Ae=function(t,n,r){var i={},o={};return Object.entries(t).forEach(function(a){var l,s,u=Me(a,2),c=u[0],f=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[c])o[c]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[c])){var h,d=Nne(c,r==null?void 0:r.prefix);i[d]=typeof f=="number"&&!(r!=null&&(h=r.unitless)!==null&&h!==void 0&&h[c])?"".concat(f,"px"):String(f),o[c]="var(".concat(d,")")}}),[o,Hft(i,n,{scope:r==null?void 0:r.scope})]},ppe=oa()?_.useLayoutEffect:_.useEffect,er=function(t,n){var r=_.useRef(!0);ppe(function(){return t(r.current)},n),ppe(function(){return r.current=!1,function(){r.current=!0}},[])},jv=function(t,n){er(function(r){if(!r)return t()},n)},Wft=fe({},f0),hpe=Wft.useInsertionEffect,qft=function(t,n,r){_.useMemo(t,r),er(function(){return n(!0)},r)},Vft=hpe?function(e,t,n){return hpe(function(){return e(),t()},n)}:qft,Uft=fe({},f0),Gft=Uft.useInsertionEffect,Kft=function(t){var n=[],r=!1;function i(o){r||n.push(o)}return _.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),i},Xft=function(){return function(t){t()}},Yft=typeof Gft<"u"?Kft:Xft;function Ane(e,t,n,r,i){var o=_.useContext(r4),a=o.cache,l=[e].concat(vt(t)),s=hZ(l),u=Yft([s]),c=function(p){a.opUpdate(s,function(g){var m=g||[void 0,void 0],v=Me(m,2),y=v[0],b=y===void 0?0:y,C=v[1],x=C,S=x||n(),w=[b,S];return p?p(w):w})};_.useMemo(function(){c()},[s]);var f=a.opGet(s),h=f[1];return Vft(function(){i==null||i(h)},function(d){return c(function(p){var g=Me(p,2),m=g[0],v=g[1];return d&&m===0&&(i==null||i(h)),[m+1,v]}),function(){a.opUpdate(s,function(p){var g=p||[],m=Me(g,2),v=m[0],y=v===void 0?0:v,b=m[1],C=y-1;return C===0?(u(function(){(d||!a.opGet(s))&&(r==null||r(b,!1))}),null):[y-1,b]})}},[s]),h}var Zft={},Qft="css",cv=new Map;function Jft(e){cv.set(e,(cv.get(e)||0)+1)}function ept(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(n4,'="').concat(e,'"]'));n.forEach(function(r){if(r[H1]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var tpt=0;function npt(e,t){cv.set(e,(cv.get(e)||0)-1);var n=Array.from(cv.keys()),r=n.filter(function(i){var o=cv.get(i)||0;return o<=0});n.length-r.length>tpt&&r.forEach(function(i){ept(i,t),cv.delete(i)})}var kne=function(t,n,r,i){var o=r.getDerivativeToken(t),a=fe(fe({},o),n);return i&&(a=i(a)),a},PAe="token";function TAe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.useContext(r4),i=r.cache.instanceId,o=r.container,a=n.salt,l=a===void 0?"":a,s=n.override,u=s===void 0?Zft:s,c=n.formatToken,f=n.getComputedToken,h=n.cssVar,d=Lft(function(){return Object.assign.apply(Object,[{}].concat(vt(t)))},t),p=I9(d),g=I9(u),m=h?I9(h):"",v=Ane(PAe,[l,e.id,p,g,m],function(){var y,b=f?f(d,u,e):kne(d,u,e,c),C=fe({},b),x="";if(h){var S=$Ae(b,h.key,{prefix:h.prefix,ignore:h.ignore,unitless:h.unitless,preserve:h.preserve}),w=Me(S,2);b=w[0],x=w[1]}var O=fpe(b,l);b._tokenKey=O,C._tokenKey=fpe(C,l);var $=(y=h==null?void 0:h.key)!==null&&y!==void 0?y:O;b._themeKey=$,Jft($);var P="".concat(Qft,"-").concat(Wj(O));return b._hashId=P,[b,P,C,x,(h==null?void 0:h.key)||""]},function(y){npt(y[0]._themeKey,i)},function(y){var b=Me(y,4),C=b[0],x=b[3];if(h&&x){var S=m0(x,Wj("css-variables-".concat(C._themeKey)),{mark:vd,prepend:"queue",attachTo:o,priority:-999});S[H1]=i,S.setAttribute(n4,C._themeKey)}});return v}var rpt=function(t,n,r){var i=Me(t,5),o=i[2],a=i[3],l=i[4],s=r||{},u=s.plain;if(!a)return null;var c=o._tokenKey,f=-999,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},d=BE(a,l,c,h,u);return[f,c,d]},MAe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},RAe="comm",IAe="rule",NAe="decl",ipt="@import",opt="@keyframes",apt="@layer",AAe=Math.abs,jne=String.fromCharCode;function kAe(e){return e.trim()}function gk(e,t,n){return e.replace(t,n)}function lpt(e,t,n){return e.indexOf(t,n)}function FE(e,t){return e.charCodeAt(t)|0}function HE(e,t,n){return e.slice(t,n)}function Lp(e){return e.length}function spt(e){return e.length}function XT(e,t){return t.push(e),e}var Mz=1,o4=1,jAe=0,gu=0,ta=0,lC="";function Dne(e,t,n,r,i,o,a,l){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Mz,column:o4,length:a,return:"",siblings:l}}function cpt(){return ta}function upt(){return ta=gu>0?FE(lC,--gu):0,o4--,ta===10&&(o4=1,Mz--),ta}function yd(){return ta=gu2||mZ(ta)>3?"":" "}function hpt(e,t){for(;--t&&yd()&&!(ta<48||ta>102||ta>57&&ta<65||ta>70&&ta<97););return Rz(e,mk()+(t<6&&Dv()==32&&yd()==32))}function vZ(e){for(;yd();)switch(ta){case e:return gu;case 34:case 39:e!==34&&e!==39&&vZ(ta);break;case 40:e===41&&vZ(e);break;case 92:yd();break}return gu}function gpt(e,t){for(;yd()&&e+ta!==57;)if(e+ta===84&&Dv()===47)break;return"/*"+Rz(t,gu-1)+"*"+jne(e===47?e:yd())}function mpt(e){for(;!mZ(Dv());)yd();return Rz(e,gu)}function vpt(e){return fpt(vk("",null,null,null,[""],e=dpt(e),0,[0],e))}function vk(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,f=a,h=0,d=0,p=0,g=1,m=1,v=1,y=0,b="",C=i,x=o,S=r,w=b;m;)switch(p=y,y=yd()){case 40:if(p!=108&&FE(w,f-1)==58){lpt(w+=gk(Rq(y),"&","&\f"),"&\f",AAe(u?l[u-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:w+=Rq(y);break;case 9:case 10:case 13:case 32:w+=ppt(p);break;case 92:w+=hpt(mk()-1,7);continue;case 47:switch(Dv()){case 42:case 47:XT(ypt(gpt(yd(),mk()),t,n,s),s);break;default:w+="/"}break;case 123*g:l[u++]=Lp(w)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+c:v==-1&&(w=gk(w,/\f/g,"")),d>0&&Lp(w)-f&&XT(d>32?mpe(w+";",r,n,f-1,s):mpe(gk(w," ","")+";",r,n,f-2,s),s);break;case 59:w+=";";default:if(XT(S=gpe(w,t,n,u,c,i,l,b,C=[],x=[],f,o),o),y===123)if(c===0)vk(w,t,S,S,C,o,f,l,x);else switch(h===99&&FE(w,3)===110?100:h){case 100:case 108:case 109:case 115:vk(e,S,S,r&&XT(gpe(e,S,S,0,0,i,l,b,i,C=[],f,x),x),i,x,f,l,r?C:x);break;default:vk(w,S,S,S,[""],x,0,l,x)}}u=c=d=0,g=v=1,b=w="",f=a;break;case 58:f=1+Lp(w),d=p;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&upt()==125)continue}switch(w+=jne(y),y*g){case 38:v=c>0?1:(w+="\f",-1);break;case 44:l[u++]=(Lp(w)-1)*v,v=1;break;case 64:Dv()===45&&(w+=Rq(yd())),h=Dv(),c=f=Lp(b=w+=mpt(mk())),y++;break;case 45:p===45&&Lp(w)==2&&(g=0)}}return o}function gpe(e,t,n,r,i,o,a,l,s,u,c,f){for(var h=i-1,d=i===0?o:[""],p=spt(d),g=0,m=0,v=0;g0?d[y]+" "+b:gk(b,/&\f/g,d[y])))&&(s[v++]=C);return Dne(e,t,n,i===0?IAe:l,s,u,c,f)}function ypt(e,t,n,r){return Dne(e,t,n,RAe,jne(cpt()),HE(e,2,-2),0,r)}function mpe(e,t,n,r,i){return Dne(e,t,n,NAe,HE(e,0,r),HE(e,r+1,-1),r,i)}function yZ(e,t){for(var n="",r=0;r1}function Spt(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var xpt=function(t,n,r){var i=Spt(r),o=i.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(Cpt)&&Cv("Concat ':not' selector not support in legacy browsers.",r)},_pt=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":Cv("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(l){return l.trim()});i.length===4&&i[1]!==i[3]&&Cv("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&Cv("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var o=n.split("/").map(function(l){return l.trim()}),a=o.reduce(function(l,s){if(l)return l;var u=s.split(" ").map(function(c){return c.trim()});return u.length>=2&&u[0]!==u[1]||u.length===3&&u[1]!==u[2]||u.length===4&&u[2]!==u[3]?!0:l},!1);a&&Cv("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},wpt=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&Cv("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},Opt=function(t,n,r){r.parentSelectors.some(function(i){var o=i.split(",");return o.some(function(a){return a.split("&").length>2})})&&Cv("Should not use more than one `&` in a selector.",r)},N9="data-ant-cssinjs-cache-path",DAe="_FILE_STYLE__";function Ept(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var Lv,LAe=!0;function $pt(){if(!Lv&&(Lv={},oa())){var e=document.createElement("div");e.className=N9,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var o=i.split(":"),a=Me(o,2),l=a[0],s=a[1];Lv[l]=s});var n=document.querySelector("style[".concat(N9,"]"));if(n){var r;LAe=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Ppt(e){return $pt(),!!Lv[e]}function Tpt(e){var t=Lv[e],n=null;if(t&&oa())if(LAe)n=DAe;else{var r=document.querySelector("style[".concat(vd,'="').concat(Lv[e],'"]'));r?n=r.innerHTML:delete Lv[e]}return[n,t]}var Mpt="_skip_check_",zAe="_multi_value_";function bZ(e){var t=yZ(vpt(e),bpt);return t.replace(/\{%%%\:[^;];}/g,";")}function Rpt(e){return bn(e)==="object"&&e&&(Mpt in e||zAe in e)}function Ipt(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(a){var l,s=a.trim().split(/\s+/),u=s[0]||"",c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u="".concat(c).concat(i).concat(u.slice(c.length)),[u].concat(vt(s.slice(1))).join(" ")});return o.join(",")}var Npt=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,o=r.injectHash,a=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,c=n.transformers,f=c===void 0?[]:c;n.linters;var h="",d={};function p(b){var C=b.getName(l);if(!d[C]){var x=e(b.style,n,{root:!1,parentSelectors:a}),S=Me(x,1),w=S[0];d[C]="@keyframes ".concat(b.getName(l)).concat(w)}}function g(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return b.forEach(function(x){Array.isArray(x)?g(x,C):x&&C.push(x)}),C}var m=g(Array.isArray(t)?t:[t]);if(m.forEach(function(b){var C=typeof b=="string"&&!i?{}:b;if(typeof C=="string")h+="".concat(C,` +`);else if(C._keyframe)p(C);else{var x=f.reduce(function(S,w){var O;return(w==null||(O=w.visit)===null||O===void 0?void 0:O.call(w,S))||S},C);Object.keys(x).forEach(function(S){var w=x[S];if(bn(w)==="object"&&w&&(S!=="animationName"||!w._keyframe)&&!Rpt(w)){var O=!1,$=S.trim(),P=!1;(i||o)&&l?$.startsWith("@")?O=!0:$=Ipt(S,l,u):i&&!l&&($==="&"||$==="")&&($="",P=!0);var T=e(w,n,{root:P,injectHash:O,parentSelectors:[].concat(vt(a),[$])}),R=Me(T,2),M=R[0],A=R[1];d=fe(fe({},d),A),h+="".concat($).concat(M)}else{let D=function(L,B){var k=L.replace(/[A-Z]/g,function(q){return"-".concat(q.toLowerCase())}),z=B;!MAe[L]&&typeof z=="number"&&z!==0&&(z="".concat(z,"px")),L==="animationName"&&B!==null&&B!==void 0&&B._keyframe&&(p(B),z=B.getName(l)),h+="".concat(k,":").concat(z,";")};var N,j=(N=w==null?void 0:w.value)!==null&&N!==void 0?N:w;bn(w)==="object"&&w!==null&&w!==void 0&&w[zAe]&&Array.isArray(j)?j.forEach(function(L){D(S,L)}):D(S,j)}})}}),!i)h="{".concat(h,"}");else if(s&&zft()){var v=s.split(","),y=v[v.length-1].trim();h="@layer ".concat(y," {").concat(h,"}"),v.length>1&&(h="@layer ".concat(s,"{%%%:%}").concat(h))}return[h,d]};function BAe(e,t){return Wj("".concat(e.join("%")).concat(t))}function Apt(){return null}var FAe="style";function qj(e,t){var n=e.token,r=e.path,i=e.hashId,o=e.layer,a=e.nonce,l=e.clientOnly,s=e.order,u=s===void 0?0:s,c=_.useContext(r4),f=c.autoClear;c.mock;var h=c.defaultCache,d=c.hashPriority,p=c.container,g=c.ssrInline,m=c.transformers,v=c.linters,y=c.cache,b=n._tokenKey,C=[b].concat(vt(r)),x=gZ,S=Ane(FAe,C,function(){var T=C.join("|");if(Ppt(T)){var R=Tpt(T),M=Me(R,2),A=M[0],N=M[1];if(A)return[A,b,N,{},l,u]}var j=t(),D=Npt(j,{hashId:i,hashPriority:d,layer:o,path:r.join("-"),transformers:m,linters:v}),L=Me(D,2),B=L[0],k=L[1],z=bZ(B),q=BAe(C,z);return[z,b,q,k,l,u]},function(T,R){var M=Me(T,3),A=M[2];(R||f)&&gZ&&zE(A,{mark:vd})},function(T){var R=Me(T,4),M=R[0];R[1];var A=R[2],N=R[3];if(x&&M!==DAe){var j={mark:vd,prepend:"queue",attachTo:p,priority:u},D=typeof a=="function"?a():a;D&&(j.csp={nonce:D});var L=m0(M,A,j);L[H1]=y.instanceId,L.setAttribute(n4,b),Object.keys(N).forEach(function(B){m0(bZ(N[B]),"_effect-".concat(B),j)})}}),w=Me(S,3),O=w[0],$=w[1],P=w[2];return function(T){var R;if(!g||x||!h)R=_.createElement(Apt,null);else{var M;R=_.createElement("style",Qe({},(M={},ue(M,n4,$),ue(M,vd,P),M),{dangerouslySetInnerHTML:{__html:O}}))}return _.createElement(_.Fragment,null,R,T)}}var kpt=function(t,n,r){var i=Me(t,6),o=i[0],a=i[1],l=i[2],s=i[3],u=i[4],c=i[5],f=r||{},h=f.plain;if(u)return null;var d=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return d=BE(o,a,l,p,h),s&&Object.keys(s).forEach(function(g){if(!n[g]){n[g]=!0;var m=bZ(s[g]);d+=BE(m,a,"_effect-".concat(g),p,h)}}),[c,l,d]},HAe="cssVar",WAe=function(t,n){var r=t.key,i=t.prefix,o=t.unitless,a=t.ignore,l=t.token,s=t.scope,u=s===void 0?"":s,c=_.useContext(r4),f=c.cache.instanceId,h=c.container,d=l._tokenKey,p=[].concat(vt(t.path),[r,u,d]),g=Ane(HAe,p,function(){var m=n(),v=$Ae(m,r,{prefix:i,unitless:o,ignore:a,scope:u}),y=Me(v,2),b=y[0],C=y[1],x=BAe(p,C);return[b,C,x,r]},function(m){var v=Me(m,3),y=v[2];gZ&&zE(y,{mark:vd})},function(m){var v=Me(m,3),y=v[1],b=v[2];if(y){var C=m0(y,b,{mark:vd,prepend:"queue",attachTo:h,priority:-999});C[H1]=f,C.setAttribute(n4,r)}});return g},jpt=function(t,n,r){var i=Me(t,4),o=i[1],a=i[2],l=i[3],s=r||{},u=s.plain;if(!o)return null;var c=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},h=BE(o,l,a,f,u);return[c,a,h]},W6,Dpt=(W6={},ue(W6,FAe,kpt),ue(W6,PAe,rpt),ue(W6,HAe,jpt),W6);function Lpt(e){return e!==null}function zpt(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,o=n.types,a=o===void 0?["style","token","cssVar"]:o,l=new RegExp("^(".concat((typeof a=="string"?[a]:a).join("|"),")%")),s=Array.from(e.cache.keys()).filter(function(h){return l.test(h)}),u={},c={},f="";return s.map(function(h){var d=h.replace(l,"").replace(/%/g,"|"),p=h.split("%"),g=Me(p,1),m=g[0],v=Dpt[m],y=v(e.cache.get(h)[1],u,{plain:i});if(!y)return null;var b=Me(y,3),C=b[0],x=b[1],S=b[2];return h.startsWith("style")&&(c[d]=x),[C,S]}).filter(Lpt).sort(function(h,d){var p=Me(h,1),g=p[0],m=Me(d,1),v=m[0];return g-v}).forEach(function(h){var d=Me(h,2),p=d[1];f+=p}),f+=BE(".".concat(N9,'{content:"').concat(Ept(c),'";}'),void 0,void 0,ue({},N9,N9),i),f}var lr=function(){function e(t,n){Yr(this,e),ue(this,"name",void 0),ue(this,"style",void 0),ue(this,"_keyframe",!0),this.name=t,this.style=n}return Zr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Bpt(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i="",o=0;return[r.reduce(function(a,l){if(l.includes("(")||l.includes(")")){var s=l.split("(").length-1,u=l.split(")").length-1;o+=s-u}return o===0?(a.push(i+l),i=""):o>0&&(i+=l),a},[]),!!n]}function Lb(e){return e.notSplit=!0,e}var Fpt={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Lb(["borderTop","borderBottom"]),borderBlockStart:Lb(["borderTop"]),borderBlockEnd:Lb(["borderBottom"]),borderInline:Lb(["borderLeft","borderRight"]),borderInlineStart:Lb(["borderLeft"]),borderInlineEnd:Lb(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function YT(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var Hpt={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],o=Fpt[r];if(o&&(typeof i=="number"||typeof i=="string")){var a=Bpt(i),l=Me(a,2),s=l[0],u=l[1];o.length&&o.notSplit?o.forEach(function(c){n[c]=YT(i,u)}):o.length===1?n[o[0]]=YT(i,u):o.length===2?o.forEach(function(c,f){var h;n[c]=YT((h=s[f])!==null&&h!==void 0?h:s[0],u)}):o.length===4?o.forEach(function(c,f){var h,d;n[c]=YT((h=(d=s[f])!==null&&d!==void 0?d:s[f-2])!==null&&h!==void 0?h:s[0],u)}):n[r]=i}else n[r]=i}),n}},Iq=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Wpt(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var qpt=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,o=i===void 0?5:i,a=t.mediaQuery,l=a===void 0?!1:a,s=function(f,h){if(!h)return f;var d=parseFloat(h);if(d<=1)return f;var p=Wpt(d/r,o);return"".concat(p,"rem")},u=function(f){var h=fe({},f);return Object.entries(f).forEach(function(d){var p=Me(d,2),g=p[0],m=p[1];if(typeof m=="string"&&m.includes("px")){var v=m.replace(Iq,s);h[g]=v}!MAe[g]&&typeof m=="number"&&m!==0&&(h[g]="".concat(m,"px").replace(Iq,s));var y=g.trim();if(y.startsWith("@")&&y.includes("px")&&l){var b=g.replace(Iq,s);h[b]=h[g],delete h[g]}}),h};return{visit:u}},Vpt={supportModernCSS:function(){return Bft()&&Fft()}};const Upt=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:lr,NaNLinter:wpt,StyleProvider:kft,Theme:Mne,_experimental:Vpt,createCache:Pne,createTheme:i4,extractStyle:zpt,getComputedToken:kne,legacyLogicalPropertiesTransformer:Hpt,legacyNotSelectorLinter:xpt,logicalPropertiesLinter:_pt,parentSelectorLinter:Opt,px2remTransformer:qpt,token2CSSVar:Nne,unit:xe,useCSSVarRegister:WAe,useCacheToken:TAe,useStyleRegister:qj},Symbol.toStringTag,{value:"Module"}));var Lne=_.createContext({});function qAe(e){return SAe(e)||vAe(e)||Ene(e)||xAe()}function _s(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!_s(e,t.slice(0,-1))?e:VAe(e,t,n,r)}function Gpt(e){return bn(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function vpe(e){return Array.isArray(e)?[]:{}}var Kpt=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function J2(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=Xpt,e},UAe=_.createContext(void 0);var GAe={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"},Zpt={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const Qpt={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},KAe=Qpt,Jpt={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"]},Zpt),timePickerLocale:Object.assign({},KAe)},WE=Jpt,Vs="${label} is not a valid ${type}",Sc={locale:"en",Pagination:GAe,DatePicker:WE,TimePicker:KAe,Calendar:WE,global:{placeholder:"Please select"},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",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"},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:Vs,method:Vs,array:Vs,object:Vs,number:Vs,date:Vs,boolean:Vs,integer:Vs,float:Vs,regexp:Vs,email:Vs,url:Vs,hex:Vs},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"}};let yk=Object.assign({},Sc.Modal),bk=[];const ype=()=>bk.reduce((e,t)=>Object.assign(Object.assign({},e),t),Sc.Modal);function eht(e){if(e){const t=Object.assign({},e);return bk.push(t),yk=ype(),()=>{bk=bk.filter(n=>n!==t),yk=ype()}}yk=Object.assign({},Sc.Modal)}function XAe(){return yk}const tht=_.createContext(void 0),zne=tht,nht=(e,t)=>{const n=_.useContext(zne),r=_.useMemo(()=>{var o;const a=t||Sc[e],l=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),l||{})},[e,t,n]),i=_.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Sc.locale:o},[n]);return[r,i]},xu=nht,rht="internalMark",iht=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;_.useEffect(()=>eht(t&&t.Modal),[t]);const i=_.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return _.createElement(zne.Provider,{value:i},n)},oht=iht;function rl(e,t){aht(e)&&(e="100%");var n=lht(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ZT(e){return Math.min(1,Math.max(0,e))}function aht(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function lht(e){return typeof e=="string"&&e.indexOf("%")!==-1}function YAe(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Sv(e){return e<=1?"".concat(Number(e)*100,"%"):e}function fd(e){return e.length===1?"0"+e:String(e)}function ZAe(e,t,n){return{r:rl(e,255)*255,g:rl(t,255)*255,b:rl(n,255)*255}}function CZ(e,t,n){e=rl(e,255),t=rl(t,255),n=rl(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,l=(r+i)/2;if(r===i)a=0,o=0;else{var s=r-i;switch(a=l>.5?s/(2-r-i):s/(r+i),r){case e:o=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function QAe(e,t,n){var r,i,o;if(e=rl(e,360),t=rl(t,100),n=rl(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=Nq(l,a,e+1/3),i=Nq(l,a,e),o=Nq(l,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Vj(e,t,n){e=rl(e,255),t=rl(t,255),n=rl(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,l=r-i,s=r===0?0:l/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var Gj={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function uv(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=nke(e)),typeof e=="object"&&(ef(e.r)&&ef(e.g)&&ef(e.b)?(t=ZAe(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ef(e.h)&&ef(e.s)&&ef(e.v)?(r=Sv(e.s),i=Sv(e.v),t=JAe(e.h,r,i),a=!0,l="hsv"):ef(e.h)&&ef(e.s)&&ef(e.l)&&(r=Sv(e.s),o=Sv(e.l),t=QAe(e.h,r,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=YAe(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var sht="[-\\+]?\\d+%?",cht="[-\\+]?\\d*\\.\\d+%?",W1="(?:".concat(cht,")|(?:").concat(sht,")"),Aq="[\\s|\\(]+(".concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")\\s*\\)?"),kq="[\\s|\\(]+(".concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")[,|\\s]+(").concat(W1,")\\s*\\)?"),Qu={CSS_UNIT:new RegExp(W1),rgb:new RegExp("rgb"+Aq),rgba:new RegExp("rgba"+kq),hsl:new RegExp("hsl"+Aq),hsla:new RegExp("hsla"+kq),hsv:new RegExp("hsv"+Aq),hsva:new RegExp("hsva"+kq),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nke(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Gj[e])e=Gj[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Qu.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qu.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qu.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Qu.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qu.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Qu.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qu.hex8.exec(e),n?{r:gs(n[1]),g:gs(n[2]),b:gs(n[3]),a:xZ(n[4]),format:t?"name":"hex8"}:(n=Qu.hex6.exec(e),n?{r:gs(n[1]),g:gs(n[2]),b:gs(n[3]),format:t?"name":"hex"}:(n=Qu.hex4.exec(e),n?{r:gs(n[1]+n[1]),g:gs(n[2]+n[2]),b:gs(n[3]+n[3]),a:xZ(n[4]+n[4]),format:t?"name":"hex8"}:(n=Qu.hex3.exec(e),n?{r:gs(n[1]+n[1]),g:gs(n[2]+n[2]),b:gs(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ef(e){return!!Qu.CSS_UNIT.exec(String(e))}var Gn=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=tke(t)),this.originalInput=t;var i=uv(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=YAe(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Vj(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Vj(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=CZ(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=CZ(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Uj(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),eke(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(rl(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(rl(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Uj(this.r,this.g,this.b,!1),n=0,r=Object.entries(Gj);n=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ZT(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ZT(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ZT(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ZT(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a=4.5;case"AAlarge":return o>=3;case"AAAsmall":return o>=7;default:return!1}}function ike(e,t,n){n===void 0&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var r=null,i=0,o=n.includeFallbackColors,a=n.level,l=n.size,s=0,u=t;si&&(i=f,r=new Gn(c))}return rke(e,r,{level:a,size:l})||!o?r:(n.includeFallbackColors=!1,ike(e,["#fff","#000"],n))}function uht(e,t){var n=new Gn(e),r="#"+SZ(n.r,n.g,n.b,n.a),i=r,o=n.gradientType?"GradientType = 1, ":"";if(t){var a=new Gn(t);i="#"+SZ(a.r,a.g,a.b,a.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(o,"startColorstr=").concat(r,",endColorstr=").concat(i,")")}function dht(e,t){var n={r:Sv(e.r),g:Sv(e.g),b:Sv(e.b)};return e.a!==void 0&&(n.a=Number(e.a)),new Gn(n,t)}function fht(){return new Gn({r:Math.random(),g:Math.random(),b:Math.random()})}function oke(e){if(e===void 0&&(e={}),e.count!==void 0&&e.count!==null){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(oke(e));return e.count=t,n}var r=pht(e.hue,e.seed),i=hht(r,e),o=ght(r,i,e),a={h:r,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Gn(a)}function pht(e,t){var n=vht(e),r=Kj(n,t);return r<0&&(r=360+r),r}function hht(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Kj([0,100],t.seed);var n=ake(e).saturationRange,r=n[0],i=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=i-10;break;case"light":i=55;break}return Kj([r,i],t.seed)}function ght(e,t,n){var r=mht(e,t),i=100;switch(n.luminosity){case"dark":i=r+20;break;case"light":r=(i+r)/2;break;case"random":r=0,i=100;break}return Kj([r,i],n.seed)}function mht(e,t){for(var n=ake(e).lowerBounds,r=0;r=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function vht(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var n=Hne.find(function(a){return a.name===e});if(n){var r=lke(n);if(r.hueRange)return r.hueRange}var i=new Gn(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function ake(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=Hne;t=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function Kj(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(t*9301+49297)%233280;var i=t/233280;return Math.floor(r+i*(n-r))}function lke(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],i=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,i]}}var Hne=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}];const yht=Object.freeze(Object.defineProperty({__proto__:null,TinyColor:Gn,bounds:Hne,convertDecimalToHex:Bne,convertHexToDecimal:xZ,default:bpe,fromRatio:dht,hslToRgb:QAe,hsvToRgb:JAe,inputToRGB:uv,isReadable:rke,isValidCSSUnit:ef,legacyRandom:fht,mostReadable:ike,names:Gj,numberInputToObject:tke,parseIntFromHex:gs,random:oke,readability:Fne,rgbToHex:Uj,rgbToHsl:CZ,rgbToHsv:Vj,rgbToRgb:ZAe,rgbaToArgbHex:SZ,rgbaToHex:eke,stringInputToObject:nke,tinycolor:bpe,toMsFilter:uht},Symbol.toStringTag,{value:"Module"}));var QT=2,Cpe=.16,bht=.05,Cht=.05,Sht=.15,ske=5,cke=4,xht=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Spe(e){var t=e.r,n=e.g,r=e.b,i=Vj(t,n,r);return{h:i.h*360,s:i.s,v:i.v}}function JT(e){var t=e.r,n=e.g,r=e.b;return"#".concat(Uj(t,n,r,!1))}function _ht(e,t,n){var r=n/100,i={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return i}function xpe(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-QT*t:Math.round(e.h)+QT*t:r=n?Math.round(e.h)+QT*t:Math.round(e.h)-QT*t,r<0?r+=360:r>=360&&(r-=360),r}function _pe(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-Cpe*t:t===cke?r=e.s+Cpe:r=e.s+bht*t,r>1&&(r=1),n&&t===ske&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function wpe(e,t,n){var r;return n?r=e.v+Cht*t:r=e.v-Sht*t,r>1&&(r=1),Number(r.toFixed(2))}function Af(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=uv(e),i=ske;i>0;i-=1){var o=Spe(r),a=JT(uv({h:xpe(o,i,!0),s:_pe(o,i,!0),v:wpe(o,i,!0)}));n.push(a)}n.push(JT(r));for(var l=1;l<=cke;l+=1){var s=Spe(r),u=JT(uv({h:xpe(s,l),s:_pe(s,l),v:wpe(s,l)}));n.push(u)}return t.theme==="dark"?xht.map(function(c){var f=c.index,h=c.opacity,d=JT(_ht(uv(t.backgroundColor||"#141414"),uv(n[f]),h*100));return d}):n}var zv={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Fa={},Ck={};Object.keys(zv).forEach(function(e){Fa[e]=Af(zv[e]),Fa[e].primary=Fa[e][5],Ck[e]=Af(zv[e],{theme:"dark",backgroundColor:"#141414"}),Ck[e].primary=Ck[e][5]});var wht=Fa.red,Oht=Fa.volcano,Eht=Fa.gold,$ht=Fa.orange,Pht=Fa.yellow,Tht=Fa.lime,Mht=Fa.green,Rht=Fa.cyan,Xj=Fa.blue,Iht=Fa.geekblue,Nht=Fa.purple,Aht=Fa.magenta,kht=Fa.grey,jht=Fa.grey;const Dht=Object.freeze(Object.defineProperty({__proto__:null,blue:Xj,cyan:Rht,geekblue:Iht,generate:Af,gold:Eht,gray:jht,green:Mht,grey:kht,lime:Tht,magenta:Aht,orange:$ht,presetDarkPalettes:Ck,presetPalettes:Fa,presetPrimaryColors:zv,purple:Nht,red:wht,volcano:Oht,yellow:Pht},Symbol.toStringTag,{value:"Module"})),uke=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Lht(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Wne={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},a4=Object.assign(Object.assign({},Wne),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function uke(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,f=n(s),h=n(i),d=n(o),p=n(a),g=n(l),m=r(u,c),v=e.colorLink||e.colorInfo,y=n(v);return Object.assign(Object.assign({},m),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new Gn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const zht=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function Bht(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},zht(r))}const np=(e,t)=>new Gn(e).setAlpha(t).toRgbString(),q6=(e,t)=>new Gn(e).darken(t).toHexString(),Fht=e=>{const t=Af(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Hht=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:np(r,.88),colorTextSecondary:np(r,.65),colorTextTertiary:np(r,.45),colorTextQuaternary:np(r,.25),colorFill:np(r,.15),colorFillSecondary:np(r,.06),colorFillTertiary:np(r,.04),colorFillQuaternary:np(r,.02),colorBgLayout:q6(n,4),colorBgContainer:q6(n,0),colorBgElevated:q6(n,0),colorBgSpotlight:np(r,.85),colorBgBlur:"transparent",colorBorder:q6(n,15),colorBorderSecondary:q6(n,6)}};function Ck(e){return(e+8)/e}function Wht(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(2.71828,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Ck(n)}))}const dke=e=>{const t=Wht(e),n=t.map(c=>c.size),r=t.map(c=>c.lineHeight),i=n[1],o=n[0],a=n[2],l=r[1],s=r[0],u=r[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:s,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(s*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function v$(e){const t=Object.keys(Hne).map(n=>{const r=Af(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i[`${n}${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),uke(e,{generateColorPalettes:Fht,generateNeutralColorPalettes:Hht})),dke(e.fontSize)),Lht(e)),cke(e)),Bht(e))}const fke=i4(v$),WE={token:a4,override:{override:a4},hashed:!0},pke=Se.createContext(WE),Wne="anticon",qht=(e,t)=>t||(e?`ant-${e}`:"ant"),on=_.createContext({getPrefixCls:qht,iconPrefixCls:Wne}),Vht=`-ant-${Date.now()}-${Math.random()}`;function Uht(e,t){const n={},r=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(a,l)=>{const s=new Gn(a),u=Af(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new Gn(t.primaryColor),l=Af(a.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const s=new Gn(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function dke(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,f=n(s),h=n(i),d=n(o),p=n(a),g=n(l),m=r(u,c),v=e.colorLink||e.colorInfo,y=n(v);return Object.assign(Object.assign({},m),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new Gn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const zht=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function Bht(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},zht(r))}const np=(e,t)=>new Gn(e).setAlpha(t).toRgbString(),q6=(e,t)=>new Gn(e).darken(t).toHexString(),Fht=e=>{const t=Af(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Hht=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:np(r,.88),colorTextSecondary:np(r,.65),colorTextTertiary:np(r,.45),colorTextQuaternary:np(r,.25),colorFill:np(r,.15),colorFillSecondary:np(r,.06),colorFillTertiary:np(r,.04),colorFillQuaternary:np(r,.02),colorBgLayout:q6(n,4),colorBgContainer:q6(n,0),colorBgElevated:q6(n,0),colorBgSpotlight:np(r,.85),colorBgBlur:"transparent",colorBorder:q6(n,15),colorBorderSecondary:q6(n,6)}};function Sk(e){return(e+8)/e}function Wht(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(2.71828,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Sk(n)}))}const fke=e=>{const t=Wht(e),n=t.map(c=>c.size),r=t.map(c=>c.lineHeight),i=n[1],o=n[0],a=n[2],l=r[1],s=r[0],u=r[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:s,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(s*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function y$(e){const t=Object.keys(Wne).map(n=>{const r=Af(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i[`${n}${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),dke(e,{generateColorPalettes:Fht,generateNeutralColorPalettes:Hht})),fke(e.fontSize)),Lht(e)),uke(e)),Bht(e))}const pke=i4(y$),qE={token:a4,override:{override:a4},hashed:!0},hke=Se.createContext(qE),qne="anticon",qht=(e,t)=>t||(e?`ant-${e}`:"ant"),on=_.createContext({getPrefixCls:qht,iconPrefixCls:qne}),Vht=`-ant-${Date.now()}-${Math.random()}`;function Uht(e,t){const n={},r=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(a,l)=>{const s=new Gn(a),u=Af(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new Gn(t.primaryColor),l=Af(a.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(a,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(a,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(a,u=>u.setAlpha(u.getAlpha()*.12));const s=new Gn(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` :root { ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` `)} } - `.trim()}function Ght(e,t){const n=Uht(e,t);oa()&&m0(n,`${Vht}-dynamic-theme`)}const xZ=_.createContext(!1),qne=e=>{let{children:t,disabled:n}=e;const r=_.useContext(xZ);return _.createElement(xZ.Provider,{value:n??r},t)},es=xZ,_Z=_.createContext(void 0),Kht=e=>{let{children:t,size:n}=e;const r=_.useContext(_Z);return _.createElement(_Z.Provider,{value:n||r},t)},y$=_Z;function Xht(){const e=_.useContext(es),t=_.useContext(y$);return{componentDisabled:e,componentSize:t}}const qE=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Yht="5.14.1";function kq(e){return e>=0&&e<=255}function JT(e,t){const{r:n,g:r,b:i,a:o}=new Gn(e).toRgb();if(o<1)return e;const{r:a,g:l,b:s}=new Gn(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-a*(1-u))/u),f=Math.round((r-l*(1-u))/u),h=Math.round((i-s*(1-u))/u);if(kq(c)&&kq(f)&&kq(h))return new Gn({r:c,g:f,b:h,a:Math.round(u*100)/100}).toRgbString()}return new Gn({r:n,g:r,b:i,a:1}).toRgbString()}var Zht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[h]});const i=Object.assign(Object.assign({},n),r),o=480,a=576,l=768,s=992,u=1200,c=1600;if(i.motion===!1){const h="0s";i.motionDurationFast=h,i.motionDurationMid=h,i.motionDurationSlow=h}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:JT(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:JT(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:JT(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*4,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:JT(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` + `.trim()}function Ght(e,t){const n=Uht(e,t);oa()&&m0(n,`${Vht}-dynamic-theme`)}const _Z=_.createContext(!1),Vne=e=>{let{children:t,disabled:n}=e;const r=_.useContext(_Z);return _.createElement(_Z.Provider,{value:n??r},t)},es=_Z,wZ=_.createContext(void 0),Kht=e=>{let{children:t,size:n}=e;const r=_.useContext(wZ);return _.createElement(wZ.Provider,{value:n||r},t)},b$=wZ;function Xht(){const e=_.useContext(es),t=_.useContext(b$);return{componentDisabled:e,componentSize:t}}const VE=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Yht="5.14.1";function jq(e){return e>=0&&e<=255}function eM(e,t){const{r:n,g:r,b:i,a:o}=new Gn(e).toRgb();if(o<1)return e;const{r:a,g:l,b:s}=new Gn(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-a*(1-u))/u),f=Math.round((r-l*(1-u))/u),h=Math.round((i-s*(1-u))/u);if(jq(c)&&jq(f)&&jq(h))return new Gn({r:c,g:f,b:h,a:Math.round(u*100)/100}).toRgbString()}return new Gn({r:n,g:r,b:i,a:1}).toRgbString()}var Zht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[h]});const i=Object.assign(Object.assign({},n),r),o=480,a=576,l=768,s=992,u=1200,c=1600;if(i.motion===!1){const h="0s";i.motionDurationFast=h,i.motionDurationMid=h,i.motionDurationSlow=h}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:eM(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:eM(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:eM(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*4,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:eM(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -119,7 +119,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var wpe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=wpe(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=Vne(a),o&&Object.entries(o).forEach(l=>{let[s,u]=l;const{theme:c}=u,f=wpe(u,["theme"]);let h=f;c&&(h=mke(Object.assign(Object.assign({},a),f),{override:f},c)),a[s]=h}),a};function To(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=Se.useContext(pke),o=`${Yht}-${t||""}`,a=n||fke,[l,s,u]=PAe(a,[a4,e],{salt:o,override:r,getComputedToken:mke,formatToken:Vne,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:hke,ignore:gke,preserve:Qht}});return[a,u,t?s:"",l,i]}function ir(e){var t=_.useRef();t.current=e;var n=_.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),xc={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},sr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},sC=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Od=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),t1t=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),n1t=(e,t,n)=>{const{fontFamily:r,fontSize:i}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:o]:{fontFamily:r,fontSize:i,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},uh=e=>({outline:`${xe(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),dh=e=>({"&:focus-visible":Object.assign({},uh(e))});let r1t=Zr(function e(){Yr(this,e)});const vke=r1t;function i1t(e,t,n){return t=Nf(t),$z(e,m$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}let o1t=function(e){ua(t,e);function t(n){var r;return Yr(this,t),r=i1t(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Zr(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(vke);function a1t(e,t,n){return t=Nf(t),$z(e,m$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}const yke="CALC_UNIT";function Dq(e){return typeof e=="number"?`${e}${yke}`:e}let l1t=function(e){ua(t,e);function t(n){var r;return Yr(this,t),r=a1t(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Dq(n):typeof n=="string"&&(r.result=n),r}return Zr(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Dq(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Dq(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:i=!0}=r||{},o=new RegExp(`${yke}`,"g");return this.result=this.result.replace(o,i?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(vke);const s1t=e=>{const t=e==="css"?l1t:o1t;return n=>new t(n)};function c1t(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;rxe(i)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;rxe(i)).join(",")})`}}}const bke=typeof CSSINJS_STATISTIC<"u";let wZ=!0;function Wn(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(i).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>i[a]})})}),wZ=!0,r}const Ope={};function u1t(){}const d1t=e=>{let t,n=e,r=u1t;return bke&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(i,o){return wZ&&t.add(o),i[o]}}),r=(i,o)=>{var a;Ope[i]={global:Array.from(t),component:Object.assign(Object.assign({},(a=Ope[i])===null||a===void 0?void 0:a.component),o)}}),{token:n,keys:t,flush:r}},Cke=(e,t)=>{const[n,r]=To();return Wj({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},sC()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},Ske=(e,t,n)=>{var r;return typeof n=="function"?n(Wn(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},xke=(e,t,n,r)=>{const i=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[s,u]=l;var c;(i!=null&&i[s]||i!=null&&i[u])&&((c=i[u])!==null&&c!==void 0||(i[u]=i==null?void 0:i[s]))})}const o=Object.assign(Object.assign({},n),i);return Object.keys(o).forEach(a=>{o[a]===t[a]&&delete o[a]}),o},f1t=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Une(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=Array.isArray(e)?e:[e,e],[o]=i,a=i.join("-");return function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,c,f,h,d]=To(),{getPrefixCls:p,iconPrefixCls:g,csp:m}=_.useContext(on),v=p(),y=d?"css":"js",b=s1t(y),{max:C,min:x}=c1t(y),S={theme:u,token:h,hashId:f,nonce:()=>m==null?void 0:m.nonce,clientOnly:r.clientOnly,order:r.order||-999};return Wj(Object.assign(Object.assign({},S),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":t1t(h)}]),Cke(g,m),[Wj(Object.assign(Object.assign({},S),{path:[a,l,g]}),()=>{if(r.injectStyle===!1)return[];const{token:O,flush:$}=d1t(h),P=Ske(o,c,n),T=`.${l}`,R=xke(o,c,P,{deprecatedTokens:r.deprecatedTokens});d&&Object.keys(P).forEach(N=>{P[N]=`var(${Ine(N,f1t(o,d.prefix))})`});const M=Wn(O,{componentCls:T,prefixCls:l,iconCls:`.${g}`,antCls:`.${v}`,calc:b,max:C,min:x},d?P:R),A=t(M,{hashId:f,prefixCls:l,rootPrefixCls:v,iconPrefixCls:g});return $(o,R),[r.resetStyle===!1?null:n1t(M,l,s),A]}),f]}}const Ry=(e,t,n,r)=>{const i=Une(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return a=>{let{prefixCls:l,rootCls:s=l}=a;return i(l,s),null}},p1t=(e,t,n)=>{function r(u){return`${e}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:i={},injectStyle:o=!0}=n??{},a={[r("zIndexPopup")]:!0};Object.keys(i).forEach(u=>{a[r(u)]=i[u]});const l=u=>{let{rootCls:c,cssVar:f}=u;const[,h]=To();return HAe({path:[e],prefix:f.prefix,key:f==null?void 0:f.key,unitless:Object.assign(Object.assign({},hke),a),ignore:gke,token:h,scope:c},()=>{const d=Ske(e,h,t),p=xke(e,h,d,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(d).forEach(g=>{p[r(g)]=p[g],delete p[g]}),p}),null};return u=>{const[,,,,c]=To();return[f=>o&&c?Se.createElement(Se.Fragment,null,Se.createElement(l,{rootCls:u,cssVar:c,component:e}),f):f,c==null?void 0:c.key]}},vr=(e,t,n,r)=>{const i=Une(e,t,n,r),o=p1t(Array.isArray(e)?e[0]:e,n,r);return function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;const[,s]=i(a,l),[u,c]=o(l);return[u,s,c]}};function _ke(e,t){return qE.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:l}))},{})}const h1t=Object.assign({},f0),{useId:Epe}=h1t,g1t=()=>"",m1t=typeof Epe>"u"?g1t:Epe;function v1t(e,t){var n;Mh();const r=e||{},i=r.inherit===!1||!t?Object.assign(Object.assign({},WE),{hashed:(n=t==null?void 0:t.hashed)!==null&&n!==void 0?n:WE.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=m1t();return Th(()=>{var a,l;if(!e)return t;const s=Object.assign({},i.components);Object.keys(e.components||{}).forEach(f=>{s[f]=Object.assign(Object.assign({},s[f]),e.components[f])});const u=`css-var-${o.replace(/:/g,"")}`,c=((a=r.cssVar)!==null&&a!==void 0?a:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof i.cssVar=="object"?i.cssVar:{}),typeof r.cssVar=="object"?r.cssVar:{}),{key:typeof r.cssVar=="object"&&((l=r.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},i),r),{token:Object.assign(Object.assign({},i.token),r.token),components:s,cssVar:c})},[r,i],(a,l)=>a.some((s,u)=>{const c=l[u];return!Cc(s,c,!0)}))}var y1t=["children"],wke=_.createContext({});function Oke(e){var t=e.children,n=an(e,y1t);return _.createElement(wke.Provider,{value:n},t)}var b1t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"render",value:function(){return this.props.children}}]),n}(_.Component),nv="none",eM="appear",tM="enter",nM="leave",$pe="none",ld="prepare",e3="start",t3="active",Gne="end",Eke="prepared";function Ppe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function C1t(e,t){var n={animationend:Ppe("Animation","AnimationEnd"),transitionend:Ppe("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var S1t=C1t(oa(),typeof window<"u"?window:{}),$ke={};if(oa()){var x1t=document.createElement("div");$ke=x1t.style}var rM={};function Pke(e){if(rM[e])return rM[e];var t=S1t[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var o=rr(function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)});e.current=o}return _.useEffect(function(){return function(){t()}},[]),[n,t]};var O1t=[ld,e3,t3,Gne],E1t=[ld,Eke],Nke=!1,$1t=!0;function Ake(e){return e===t3||e===Gne}const P1t=function(e,t,n){var r=n0($pe),i=Me(r,2),o=i[0],a=i[1],l=w1t(),s=Me(l,2),u=s[0],c=s[1];function f(){a(ld,!0)}var h=t?E1t:O1t;return Ike(function(){if(o!==$pe&&o!==Gne){var d=h.indexOf(o),p=h[d+1],g=n(o);g===Nke?a(p,!0):p&&u(function(m){function v(){m.isCanceled()||a(p,!0)}g===!0?v():Promise.resolve(g).then(v)})}},[e,o]),_.useEffect(function(){return function(){c()}},[]),[f,o]};function T1t(e,t,n,r){var i=r.motionEnter,o=i===void 0?!0:i,a=r.motionAppear,l=a===void 0?!0:a,s=r.motionLeave,u=s===void 0?!0:s,c=r.motionDeadline,f=r.motionLeaveImmediately,h=r.onAppearPrepare,d=r.onEnterPrepare,p=r.onLeavePrepare,g=r.onAppearStart,m=r.onEnterStart,v=r.onLeaveStart,y=r.onAppearActive,b=r.onEnterActive,C=r.onLeaveActive,x=r.onAppearEnd,S=r.onEnterEnd,w=r.onLeaveEnd,O=r.onVisibleChanged,$=n0(),P=Me($,2),T=P[0],R=P[1],M=n0(nv),A=Me(M,2),N=A[0],k=A[1],D=n0(null),L=Me(D,2),B=L[0],j=L[1],z=_.useRef(!1),V=_.useRef(null);function W(){return n()}var U=_.useRef(!1);function K(){k(nv,!0),j(null,!0)}function X(he){var le=W();if(!(he&&!he.deadline&&he.target!==le)){var ve=U.current,ke;N===eM&&ve?ke=x==null?void 0:x(le,he):N===tM&&ve?ke=S==null?void 0:S(le,he):N===nM&&ve&&(ke=w==null?void 0:w(le,he)),N!==nv&&ve&&ke!==!1&&K()}}var G=_1t(X),Y=Me(G,1),J=Y[0],ee=function(le){var ve,ke,Ie;switch(le){case eM:return ve={},ue(ve,ld,h),ue(ve,e3,g),ue(ve,t3,y),ve;case tM:return ke={},ue(ke,ld,d),ue(ke,e3,m),ue(ke,t3,b),ke;case nM:return Ie={},ue(Ie,ld,p),ue(Ie,e3,v),ue(Ie,t3,C),Ie;default:return{}}},Q=_.useMemo(function(){return ee(N)},[N]),te=P1t(N,!e,function(he){if(he===ld){var le=Q[ld];return le?le(W()):Nke}if(oe in Q){var ve;j(((ve=Q[oe])===null||ve===void 0?void 0:ve.call(Q,W(),null))||null)}return oe===t3&&(J(W()),c>0&&(clearTimeout(V.current),V.current=setTimeout(function(){X({deadline:!0})},c))),oe===Eke&&K(),$1t}),ne=Me(te,2),re=ne[0],oe=ne[1],se=Ake(oe);U.current=se,Ike(function(){R(t);var he=z.current;z.current=!0;var le;!he&&t&&l&&(le=eM),he&&t&&o&&(le=tM),(he&&!t&&u||!he&&f&&!t&&u)&&(le=nM);var ve=ee(le);le&&(e||ve[ld])?(k(le),re()):k(nv)},[t]),_.useEffect(function(){(N===eM&&!l||N===tM&&!o||N===nM&&!u)&&k(nv)},[l,o,u]),_.useEffect(function(){return function(){z.current=!1,clearTimeout(V.current)}},[]);var ye=_.useRef(!1);_.useEffect(function(){T&&(ye.current=!0),T!==void 0&&N===nv&&((ye.current||T)&&(O==null||O(T)),ye.current=!0)},[T,N]);var be=B;return Q[ld]&&oe===e3&&(be=fe({transition:"none"},be)),[N,oe,be,T??t]}function M1t(e){var t=e;bn(e)==="object"&&(t=e.transitionSupport);function n(i,o){return!!(i.motionName&&t&&o!==!1)}var r=_.forwardRef(function(i,o){var a=i.visible,l=a===void 0?!0:a,s=i.removeOnLeave,u=s===void 0?!0:s,c=i.forceRender,f=i.children,h=i.motionName,d=i.leavedClassName,p=i.eventProps,g=_.useContext(wke),m=g.motion,v=n(i,m),y=_.useRef(),b=_.useRef();function C(){try{return y.current instanceof HTMLElement?y.current:kv(b.current)}catch{return null}}var x=T1t(v,l,C,i),S=Me(x,4),w=S[0],O=S[1],$=S[2],P=S[3],T=_.useRef(P);P&&(T.current=!0);var R=_.useCallback(function(j){y.current=j,DE(o,j)},[o]),M,A=fe(fe({},p),{},{visible:l});if(!f)M=null;else if(w===nv)P?M=f(fe({},A),R):!u&&T.current&&d?M=f(fe(fe({},A),{},{className:d}),R):c||!u&&!d?M=f(fe(fe({},A),{},{style:{display:"none"}}),R):M=null;else{var N,k;O===ld?k="prepare":Ake(O)?k="active":O===e3&&(k="start");var D=Rpe(h,"".concat(w,"-").concat(k));M=f(fe(fe({},A),{},{className:Re(Rpe(h,w),(N={},ue(N,D,D&&k),ue(N,h,typeof h=="string"),N)),style:$}),R)}if(_.isValidElement(M)&&bc(M)){var L=M,B=L.ref;B||(M=_.cloneElement(M,{ref:R}))}return _.createElement(b1t,{ref:b},M)});return r.displayName="CSSMotion",r}const aa=M1t(Rke);var OZ="add",EZ="keep",$Z="remove",Lq="removed";function R1t(e){var t;return e&&bn(e)==="object"&&"key"in e?t=e:t={key:e},fe(fe({},t),{},{key:String(t.key)})}function PZ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(R1t)}function I1t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,o=PZ(e),a=PZ(t);o.forEach(function(u){for(var c=!1,f=r;f1});return s.forEach(function(u){n=n.filter(function(c){var f=c.key,h=c.status;return f!==u||h!==$Z}),n.forEach(function(c){c.key===u&&(c.status=EZ)})}),n}var N1t=["component","children","onVisibleChanged","onAllRemoved"],A1t=["status"],k1t=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function j1t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:aa,n=function(r){ua(o,r);var i=ul(o);function o(){var a;Yr(this,o);for(var l=arguments.length,s=new Array(l),u=0;unull;var B1t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const V1t=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Xj=t),n!==void 0&&(kke=n),"holderRender"in e&&(Dke=i),r&&(q1t(r)?Ght(Sk(),r):jke=r)},Kne=()=>({getPrefixCls:(e,t)=>t||(e?`${Sk()}-${e}`:Sk()),getIconPrefixCls:W1t,getRootPrefixCls:()=>Xj||Sk(),getTheme:()=>jke,holderRender:Dke}),U1t=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:o,form:a,locale:l,componentSize:s,direction:u,space:c,virtual:f,dropdownMatchSelectWidth:h,popupMatchSelectWidth:d,popupOverflow:p,legacyLocale:g,parentContext:m,iconPrefixCls:v,theme:y,componentDisabled:b,segmented:C,statistic:x,spin:S,calendar:w,carousel:O,cascader:$,collapse:P,typography:T,checkbox:R,descriptions:M,divider:A,drawer:N,skeleton:k,steps:D,image:L,layout:B,list:j,mentions:z,modal:V,progress:W,result:U,slider:K,breadcrumb:X,menu:G,pagination:Y,input:J,empty:ee,badge:Q,radio:te,rate:ne,switch:re,transfer:oe,avatar:se,message:ye,tag:be,table:he,card:le,tabs:ve,timeline:ke,timePicker:Ie,upload:Oe,notification:Pe,tree:_e,colorPicker:ce,datePicker:Te,rangePicker:Ne,flex:je,wave:He,dropdown:Be,warning:qe,tour:me}=e,Ee=_.useCallback((Ge,Je)=>{const{prefixCls:bt}=e;if(Je)return Je;const at=bt||m.getPrefixCls("");return Ge?`${at}-${Ge}`:at},[m.getPrefixCls,e.prefixCls]),$e=v||m.iconPrefixCls||Wne,Le=n||m.csp;Cke($e,Le);const Fe=v1t(y,m.theme),Ke={csp:Le,autoInsertSpaceInButton:r,alert:i,anchor:o,locale:l||g,direction:u,space:c,virtual:f,popupMatchSelectWidth:d??h,popupOverflow:p,getPrefixCls:Ee,iconPrefixCls:$e,theme:Fe,segmented:C,statistic:x,spin:S,calendar:w,carousel:O,cascader:$,collapse:P,typography:T,checkbox:R,descriptions:M,divider:A,drawer:N,skeleton:k,steps:D,image:L,input:J,layout:B,list:j,mentions:z,modal:V,progress:W,result:U,slider:K,breadcrumb:X,menu:G,pagination:Y,empty:ee,badge:Q,radio:te,rate:ne,switch:re,transfer:oe,avatar:se,message:ye,tag:be,table:he,card:le,tabs:ve,timeline:ke,timePicker:Ie,upload:Oe,notification:Pe,tree:_e,colorPicker:ce,datePicker:Te,rangePicker:Ne,flex:je,wave:He,dropdown:Be,warning:qe,tour:me},lt=Object.assign({},m);Object.keys(Ke).forEach(Ge=>{Ke[Ge]!==void 0&&(lt[Ge]=Ke[Ge])}),F1t.forEach(Ge=>{const Je=e[Ge];Je&&(lt[Ge]=Je)});const ft=Th(()=>lt,lt,(Ge,Je)=>{const bt=Object.keys(Ge),at=Object.keys(Je);return bt.length!==at.length||bt.some(et=>Ge[et]!==Je[et])}),Ye=_.useMemo(()=>({prefixCls:$e,csp:Le}),[$e,Le]);let we=_.createElement(_.Fragment,null,_.createElement(z1t,{dropdownMatchSelectWidth:h}),t);const De=_.useMemo(()=>{var Ge,Je,bt,at;return J2(((Ge=Sc.Form)===null||Ge===void 0?void 0:Ge.defaultValidateMessages)||{},((bt=(Je=ft.locale)===null||Je===void 0?void 0:Je.Form)===null||bt===void 0?void 0:bt.defaultValidateMessages)||{},((at=ft.form)===null||at===void 0?void 0:at.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[ft,a==null?void 0:a.validateMessages]);Object.keys(De).length>0&&(we=_.createElement(VAe.Provider,{value:De},we)),l&&(we=_.createElement(oht,{locale:l,_ANT_MARK__:rht},we)),($e||Le)&&(we=_.createElement(Dne.Provider,{value:Ye},we)),s&&(we=_.createElement(Kht,{size:s},we)),we=_.createElement(L1t,null,we);const We=_.useMemo(()=>{const Ge=Fe||{},{algorithm:Je,token:bt,components:at,cssVar:et}=Ge,rt=B1t(Ge,["algorithm","token","components","cssVar"]),Ze=Je&&(!Array.isArray(Je)||Je.length>0)?i4(Je):fke,wt={};Object.entries(at||{}).forEach(ot=>{let[dt,_t]=ot;const Ot=Object.assign({},_t);"algorithm"in Ot&&(Ot.algorithm===!0?Ot.theme=Ze:(Array.isArray(Ot.algorithm)||typeof Ot.algorithm=="function")&&(Ot.theme=i4(Ot.algorithm)),delete Ot.algorithm),wt[dt]=Ot});const ut=Object.assign(Object.assign({},a4),bt);return Object.assign(Object.assign({},rt),{theme:Ze,token:ut,components:wt,override:Object.assign({override:ut},wt),cssVar:et})},[Fe]);return y&&(we=_.createElement(pke.Provider,{value:We},we)),ft.warning&&(we=_.createElement(Ypt.Provider,{value:ft.warning},we)),b!==void 0&&(we=_.createElement(qne,{disabled:b},we)),_.createElement(on.Provider,{value:ft},we)},cC=e=>{const t=_.useContext(on),n=_.useContext(Lne);return _.createElement(U1t,Object.assign({parentContext:t,legacyLocale:n},e))};cC.ConfigContext=on;cC.SizeContext=y$;cC.config=V1t;cC.useConfig=Xht;Object.defineProperty(cC,"SizeContext",{get:()=>y$});const Td=cC;var G1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const K1t=G1t;function Lke(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function X1t(e){return Lke(e)instanceof ShadowRoot}function Yj(e){return X1t(e)?Lke(e):null}function Y1t(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function Z1t(e,t){Dr(e,"[@ant-design/icons] ".concat(t))}function Ipe(e){return bn(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(bn(e.icon)==="object"||typeof e.icon=="function")}function Npe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Y1t(n)]=r}return t},{})}function TZ(e,t,n){return n?Se.createElement(e.tag,fe(fe({key:t},Npe(e.attrs)),n),(e.children||[]).map(function(r,i){return TZ(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):Se.createElement(e.tag,fe({key:t},Npe(e.attrs)),(e.children||[]).map(function(r,i){return TZ(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function zke(e){return Af(e)[0]}function Bke(e){return e?Array.isArray(e)?e:[e]:[]}var Q1t=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var Ope=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=Ope(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=Une(a),o&&Object.entries(o).forEach(l=>{let[s,u]=l;const{theme:c}=u,f=Ope(u,["theme"]);let h=f;c&&(h=vke(Object.assign(Object.assign({},a),f),{override:f},c)),a[s]=h}),a};function To(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=Se.useContext(hke),o=`${Yht}-${t||""}`,a=n||pke,[l,s,u]=TAe(a,[a4,e],{salt:o,override:r,getComputedToken:vke,formatToken:Une,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:gke,ignore:mke,preserve:Qht}});return[a,u,t?s:"",l,i]}function ir(e){var t=_.useRef();t.current=e;var n=_.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),xc={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},sr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},sC=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Od=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),t1t=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),n1t=(e,t,n)=>{const{fontFamily:r,fontSize:i}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:o]:{fontFamily:r,fontSize:i,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},uh=e=>({outline:`${xe(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),dh=e=>({"&:focus-visible":Object.assign({},uh(e))});let r1t=Zr(function e(){Yr(this,e)});const yke=r1t;function i1t(e,t,n){return t=Nf(t),Pz(e,v$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}let o1t=function(e){ua(t,e);function t(n){var r;return Yr(this,t),r=i1t(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Zr(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(yke);function a1t(e,t,n){return t=Nf(t),Pz(e,v$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}const bke="CALC_UNIT";function Lq(e){return typeof e=="number"?`${e}${bke}`:e}let l1t=function(e){ua(t,e);function t(n){var r;return Yr(this,t),r=a1t(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Lq(n):typeof n=="string"&&(r.result=n),r}return Zr(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Lq(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Lq(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:i=!0}=r||{},o=new RegExp(`${bke}`,"g");return this.result=this.result.replace(o,i?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(yke);const s1t=e=>{const t=e==="css"?l1t:o1t;return n=>new t(n)};function c1t(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;rxe(i)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;rxe(i)).join(",")})`}}}const Cke=typeof CSSINJS_STATISTIC<"u";let OZ=!0;function Wn(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(i).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>i[a]})})}),OZ=!0,r}const Epe={};function u1t(){}const d1t=e=>{let t,n=e,r=u1t;return Cke&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(i,o){return OZ&&t.add(o),i[o]}}),r=(i,o)=>{var a;Epe[i]={global:Array.from(t),component:Object.assign(Object.assign({},(a=Epe[i])===null||a===void 0?void 0:a.component),o)}}),{token:n,keys:t,flush:r}},Ske=(e,t)=>{const[n,r]=To();return qj({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},sC()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},xke=(e,t,n)=>{var r;return typeof n=="function"?n(Wn(t,(r=t[e])!==null&&r!==void 0?r:{})):n??{}},_ke=(e,t,n,r)=>{const i=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(l=>{let[s,u]=l;var c;(i!=null&&i[s]||i!=null&&i[u])&&((c=i[u])!==null&&c!==void 0||(i[u]=i==null?void 0:i[s]))})}const o=Object.assign(Object.assign({},n),i);return Object.keys(o).forEach(a=>{o[a]===t[a]&&delete o[a]}),o},f1t=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Gne(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=Array.isArray(e)?e:[e,e],[o]=i,a=i.join("-");return function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,c,f,h,d]=To(),{getPrefixCls:p,iconPrefixCls:g,csp:m}=_.useContext(on),v=p(),y=d?"css":"js",b=s1t(y),{max:C,min:x}=c1t(y),S={theme:u,token:h,hashId:f,nonce:()=>m==null?void 0:m.nonce,clientOnly:r.clientOnly,order:r.order||-999};return qj(Object.assign(Object.assign({},S),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":t1t(h)}]),Ske(g,m),[qj(Object.assign(Object.assign({},S),{path:[a,l,g]}),()=>{if(r.injectStyle===!1)return[];const{token:O,flush:$}=d1t(h),P=xke(o,c,n),T=`.${l}`,R=_ke(o,c,P,{deprecatedTokens:r.deprecatedTokens});d&&Object.keys(P).forEach(N=>{P[N]=`var(${Nne(N,f1t(o,d.prefix))})`});const M=Wn(O,{componentCls:T,prefixCls:l,iconCls:`.${g}`,antCls:`.${v}`,calc:b,max:C,min:x},d?P:R),A=t(M,{hashId:f,prefixCls:l,rootPrefixCls:v,iconPrefixCls:g});return $(o,R),[r.resetStyle===!1?null:n1t(M,l,s),A]}),f]}}const Ry=(e,t,n,r)=>{const i=Gne(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return a=>{let{prefixCls:l,rootCls:s=l}=a;return i(l,s),null}},p1t=(e,t,n)=>{function r(u){return`${e}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:i={},injectStyle:o=!0}=n??{},a={[r("zIndexPopup")]:!0};Object.keys(i).forEach(u=>{a[r(u)]=i[u]});const l=u=>{let{rootCls:c,cssVar:f}=u;const[,h]=To();return WAe({path:[e],prefix:f.prefix,key:f==null?void 0:f.key,unitless:Object.assign(Object.assign({},gke),a),ignore:mke,token:h,scope:c},()=>{const d=xke(e,h,t),p=_ke(e,h,d,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(d).forEach(g=>{p[r(g)]=p[g],delete p[g]}),p}),null};return u=>{const[,,,,c]=To();return[f=>o&&c?Se.createElement(Se.Fragment,null,Se.createElement(l,{rootCls:u,cssVar:c,component:e}),f):f,c==null?void 0:c.key]}},vr=(e,t,n,r)=>{const i=Gne(e,t,n,r),o=p1t(Array.isArray(e)?e[0]:e,n,r);return function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;const[,s]=i(a,l),[u,c]=o(l);return[u,s,c]}};function wke(e,t){return VE.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:l}))},{})}const h1t=Object.assign({},f0),{useId:$pe}=h1t,g1t=()=>"",m1t=typeof $pe>"u"?g1t:$pe;function v1t(e,t){var n;Mh();const r=e||{},i=r.inherit===!1||!t?Object.assign(Object.assign({},qE),{hashed:(n=t==null?void 0:t.hashed)!==null&&n!==void 0?n:qE.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=m1t();return Th(()=>{var a,l;if(!e)return t;const s=Object.assign({},i.components);Object.keys(e.components||{}).forEach(f=>{s[f]=Object.assign(Object.assign({},s[f]),e.components[f])});const u=`css-var-${o.replace(/:/g,"")}`,c=((a=r.cssVar)!==null&&a!==void 0?a:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof i.cssVar=="object"?i.cssVar:{}),typeof r.cssVar=="object"?r.cssVar:{}),{key:typeof r.cssVar=="object"&&((l=r.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},i),r),{token:Object.assign(Object.assign({},i.token),r.token),components:s,cssVar:c})},[r,i],(a,l)=>a.some((s,u)=>{const c=l[u];return!Cc(s,c,!0)}))}var y1t=["children"],Oke=_.createContext({});function Eke(e){var t=e.children,n=an(e,y1t);return _.createElement(Oke.Provider,{value:n},t)}var b1t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"render",value:function(){return this.props.children}}]),n}(_.Component),nv="none",tM="appear",nM="enter",rM="leave",Ppe="none",ld="prepare",e3="start",t3="active",Kne="end",$ke="prepared";function Tpe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function C1t(e,t){var n={animationend:Tpe("Animation","AnimationEnd"),transitionend:Tpe("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var S1t=C1t(oa(),typeof window<"u"?window:{}),Pke={};if(oa()){var x1t=document.createElement("div");Pke=x1t.style}var iM={};function Tke(e){if(iM[e])return iM[e];var t=S1t[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var o=rr(function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)});e.current=o}return _.useEffect(function(){return function(){t()}},[]),[n,t]};var O1t=[ld,e3,t3,Kne],E1t=[ld,$ke],Ake=!1,$1t=!0;function kke(e){return e===t3||e===Kne}const P1t=function(e,t,n){var r=n0(Ppe),i=Me(r,2),o=i[0],a=i[1],l=w1t(),s=Me(l,2),u=s[0],c=s[1];function f(){a(ld,!0)}var h=t?E1t:O1t;return Nke(function(){if(o!==Ppe&&o!==Kne){var d=h.indexOf(o),p=h[d+1],g=n(o);g===Ake?a(p,!0):p&&u(function(m){function v(){m.isCanceled()||a(p,!0)}g===!0?v():Promise.resolve(g).then(v)})}},[e,o]),_.useEffect(function(){return function(){c()}},[]),[f,o]};function T1t(e,t,n,r){var i=r.motionEnter,o=i===void 0?!0:i,a=r.motionAppear,l=a===void 0?!0:a,s=r.motionLeave,u=s===void 0?!0:s,c=r.motionDeadline,f=r.motionLeaveImmediately,h=r.onAppearPrepare,d=r.onEnterPrepare,p=r.onLeavePrepare,g=r.onAppearStart,m=r.onEnterStart,v=r.onLeaveStart,y=r.onAppearActive,b=r.onEnterActive,C=r.onLeaveActive,x=r.onAppearEnd,S=r.onEnterEnd,w=r.onLeaveEnd,O=r.onVisibleChanged,$=n0(),P=Me($,2),T=P[0],R=P[1],M=n0(nv),A=Me(M,2),N=A[0],j=A[1],D=n0(null),L=Me(D,2),B=L[0],k=L[1],z=_.useRef(!1),q=_.useRef(null);function W(){return n()}var U=_.useRef(!1);function K(){j(nv,!0),k(null,!0)}function X(he){var le=W();if(!(he&&!he.deadline&&he.target!==le)){var ve=U.current,ke;N===tM&&ve?ke=x==null?void 0:x(le,he):N===nM&&ve?ke=S==null?void 0:S(le,he):N===rM&&ve&&(ke=w==null?void 0:w(le,he)),N!==nv&&ve&&ke!==!1&&K()}}var G=_1t(X),Y=Me(G,1),J=Y[0],ee=function(le){var ve,ke,Ie;switch(le){case tM:return ve={},ue(ve,ld,h),ue(ve,e3,g),ue(ve,t3,y),ve;case nM:return ke={},ue(ke,ld,d),ue(ke,e3,m),ue(ke,t3,b),ke;case rM:return Ie={},ue(Ie,ld,p),ue(Ie,e3,v),ue(Ie,t3,C),Ie;default:return{}}},Q=_.useMemo(function(){return ee(N)},[N]),te=P1t(N,!e,function(he){if(he===ld){var le=Q[ld];return le?le(W()):Ake}if(oe in Q){var ve;k(((ve=Q[oe])===null||ve===void 0?void 0:ve.call(Q,W(),null))||null)}return oe===t3&&(J(W()),c>0&&(clearTimeout(q.current),q.current=setTimeout(function(){X({deadline:!0})},c))),oe===$ke&&K(),$1t}),ne=Me(te,2),re=ne[0],oe=ne[1],se=kke(oe);U.current=se,Nke(function(){R(t);var he=z.current;z.current=!0;var le;!he&&t&&l&&(le=tM),he&&t&&o&&(le=nM),(he&&!t&&u||!he&&f&&!t&&u)&&(le=rM);var ve=ee(le);le&&(e||ve[ld])?(j(le),re()):j(nv)},[t]),_.useEffect(function(){(N===tM&&!l||N===nM&&!o||N===rM&&!u)&&j(nv)},[l,o,u]),_.useEffect(function(){return function(){z.current=!1,clearTimeout(q.current)}},[]);var ye=_.useRef(!1);_.useEffect(function(){T&&(ye.current=!0),T!==void 0&&N===nv&&((ye.current||T)&&(O==null||O(T)),ye.current=!0)},[T,N]);var be=B;return Q[ld]&&oe===e3&&(be=fe({transition:"none"},be)),[N,oe,be,T??t]}function M1t(e){var t=e;bn(e)==="object"&&(t=e.transitionSupport);function n(i,o){return!!(i.motionName&&t&&o!==!1)}var r=_.forwardRef(function(i,o){var a=i.visible,l=a===void 0?!0:a,s=i.removeOnLeave,u=s===void 0?!0:s,c=i.forceRender,f=i.children,h=i.motionName,d=i.leavedClassName,p=i.eventProps,g=_.useContext(Oke),m=g.motion,v=n(i,m),y=_.useRef(),b=_.useRef();function C(){try{return y.current instanceof HTMLElement?y.current:kv(b.current)}catch{return null}}var x=T1t(v,l,C,i),S=Me(x,4),w=S[0],O=S[1],$=S[2],P=S[3],T=_.useRef(P);P&&(T.current=!0);var R=_.useCallback(function(k){y.current=k,LE(o,k)},[o]),M,A=fe(fe({},p),{},{visible:l});if(!f)M=null;else if(w===nv)P?M=f(fe({},A),R):!u&&T.current&&d?M=f(fe(fe({},A),{},{className:d}),R):c||!u&&!d?M=f(fe(fe({},A),{},{style:{display:"none"}}),R):M=null;else{var N,j;O===ld?j="prepare":kke(O)?j="active":O===e3&&(j="start");var D=Ipe(h,"".concat(w,"-").concat(j));M=f(fe(fe({},A),{},{className:Re(Ipe(h,w),(N={},ue(N,D,D&&j),ue(N,h,typeof h=="string"),N)),style:$}),R)}if(_.isValidElement(M)&&bc(M)){var L=M,B=L.ref;B||(M=_.cloneElement(M,{ref:R}))}return _.createElement(b1t,{ref:b},M)});return r.displayName="CSSMotion",r}const aa=M1t(Ike);var EZ="add",$Z="keep",PZ="remove",zq="removed";function R1t(e){var t;return e&&bn(e)==="object"&&"key"in e?t=e:t={key:e},fe(fe({},t),{},{key:String(t.key)})}function TZ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(R1t)}function I1t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,o=TZ(e),a=TZ(t);o.forEach(function(u){for(var c=!1,f=r;f1});return s.forEach(function(u){n=n.filter(function(c){var f=c.key,h=c.status;return f!==u||h!==PZ}),n.forEach(function(c){c.key===u&&(c.status=$Z)})}),n}var N1t=["component","children","onVisibleChanged","onAllRemoved"],A1t=["status"],k1t=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function j1t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:aa,n=function(r){ua(o,r);var i=ul(o);function o(){var a;Yr(this,o);for(var l=arguments.length,s=new Array(l),u=0;unull;var B1t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const V1t=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Yj=t),n!==void 0&&(jke=n),"holderRender"in e&&(Lke=i),r&&(q1t(r)?Ght(xk(),r):Dke=r)},Xne=()=>({getPrefixCls:(e,t)=>t||(e?`${xk()}-${e}`:xk()),getIconPrefixCls:W1t,getRootPrefixCls:()=>Yj||xk(),getTheme:()=>Dke,holderRender:Lke}),U1t=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:o,form:a,locale:l,componentSize:s,direction:u,space:c,virtual:f,dropdownMatchSelectWidth:h,popupMatchSelectWidth:d,popupOverflow:p,legacyLocale:g,parentContext:m,iconPrefixCls:v,theme:y,componentDisabled:b,segmented:C,statistic:x,spin:S,calendar:w,carousel:O,cascader:$,collapse:P,typography:T,checkbox:R,descriptions:M,divider:A,drawer:N,skeleton:j,steps:D,image:L,layout:B,list:k,mentions:z,modal:q,progress:W,result:U,slider:K,breadcrumb:X,menu:G,pagination:Y,input:J,empty:ee,badge:Q,radio:te,rate:ne,switch:re,transfer:oe,avatar:se,message:ye,tag:be,table:he,card:le,tabs:ve,timeline:ke,timePicker:Ie,upload:Oe,notification:Pe,tree:_e,colorPicker:ce,datePicker:Te,rangePicker:Ne,flex:je,wave:He,dropdown:Be,warning:qe,tour:me}=e,Ee=_.useCallback((Ge,Je)=>{const{prefixCls:bt}=e;if(Je)return Je;const at=bt||m.getPrefixCls("");return Ge?`${at}-${Ge}`:at},[m.getPrefixCls,e.prefixCls]),$e=v||m.iconPrefixCls||qne,Le=n||m.csp;Ske($e,Le);const Fe=v1t(y,m.theme),Ke={csp:Le,autoInsertSpaceInButton:r,alert:i,anchor:o,locale:l||g,direction:u,space:c,virtual:f,popupMatchSelectWidth:d??h,popupOverflow:p,getPrefixCls:Ee,iconPrefixCls:$e,theme:Fe,segmented:C,statistic:x,spin:S,calendar:w,carousel:O,cascader:$,collapse:P,typography:T,checkbox:R,descriptions:M,divider:A,drawer:N,skeleton:j,steps:D,image:L,input:J,layout:B,list:k,mentions:z,modal:q,progress:W,result:U,slider:K,breadcrumb:X,menu:G,pagination:Y,empty:ee,badge:Q,radio:te,rate:ne,switch:re,transfer:oe,avatar:se,message:ye,tag:be,table:he,card:le,tabs:ve,timeline:ke,timePicker:Ie,upload:Oe,notification:Pe,tree:_e,colorPicker:ce,datePicker:Te,rangePicker:Ne,flex:je,wave:He,dropdown:Be,warning:qe,tour:me},lt=Object.assign({},m);Object.keys(Ke).forEach(Ge=>{Ke[Ge]!==void 0&&(lt[Ge]=Ke[Ge])}),F1t.forEach(Ge=>{const Je=e[Ge];Je&&(lt[Ge]=Je)});const ft=Th(()=>lt,lt,(Ge,Je)=>{const bt=Object.keys(Ge),at=Object.keys(Je);return bt.length!==at.length||bt.some(et=>Ge[et]!==Je[et])}),Ye=_.useMemo(()=>({prefixCls:$e,csp:Le}),[$e,Le]);let we=_.createElement(_.Fragment,null,_.createElement(z1t,{dropdownMatchSelectWidth:h}),t);const De=_.useMemo(()=>{var Ge,Je,bt,at;return J2(((Ge=Sc.Form)===null||Ge===void 0?void 0:Ge.defaultValidateMessages)||{},((bt=(Je=ft.locale)===null||Je===void 0?void 0:Je.Form)===null||bt===void 0?void 0:bt.defaultValidateMessages)||{},((at=ft.form)===null||at===void 0?void 0:at.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[ft,a==null?void 0:a.validateMessages]);Object.keys(De).length>0&&(we=_.createElement(UAe.Provider,{value:De},we)),l&&(we=_.createElement(oht,{locale:l,_ANT_MARK__:rht},we)),($e||Le)&&(we=_.createElement(Lne.Provider,{value:Ye},we)),s&&(we=_.createElement(Kht,{size:s},we)),we=_.createElement(L1t,null,we);const We=_.useMemo(()=>{const Ge=Fe||{},{algorithm:Je,token:bt,components:at,cssVar:et}=Ge,rt=B1t(Ge,["algorithm","token","components","cssVar"]),Ze=Je&&(!Array.isArray(Je)||Je.length>0)?i4(Je):pke,wt={};Object.entries(at||{}).forEach(ot=>{let[dt,_t]=ot;const Ot=Object.assign({},_t);"algorithm"in Ot&&(Ot.algorithm===!0?Ot.theme=Ze:(Array.isArray(Ot.algorithm)||typeof Ot.algorithm=="function")&&(Ot.theme=i4(Ot.algorithm)),delete Ot.algorithm),wt[dt]=Ot});const ut=Object.assign(Object.assign({},a4),bt);return Object.assign(Object.assign({},rt),{theme:Ze,token:ut,components:wt,override:Object.assign({override:ut},wt),cssVar:et})},[Fe]);return y&&(we=_.createElement(hke.Provider,{value:We},we)),ft.warning&&(we=_.createElement(Ypt.Provider,{value:ft.warning},we)),b!==void 0&&(we=_.createElement(Vne,{disabled:b},we)),_.createElement(on.Provider,{value:ft},we)},cC=e=>{const t=_.useContext(on),n=_.useContext(zne);return _.createElement(U1t,Object.assign({parentContext:t,legacyLocale:n},e))};cC.ConfigContext=on;cC.SizeContext=b$;cC.config=V1t;cC.useConfig=Xht;Object.defineProperty(cC,"SizeContext",{get:()=>b$});const Td=cC;var G1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const K1t=G1t;function zke(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function X1t(e){return zke(e)instanceof ShadowRoot}function Zj(e){return X1t(e)?zke(e):null}function Y1t(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function Z1t(e,t){Dr(e,"[@ant-design/icons] ".concat(t))}function Npe(e){return bn(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(bn(e.icon)==="object"||typeof e.icon=="function")}function Ape(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Y1t(n)]=r}return t},{})}function MZ(e,t,n){return n?Se.createElement(e.tag,fe(fe({key:t},Ape(e.attrs)),n),(e.children||[]).map(function(r,i){return MZ(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):Se.createElement(e.tag,fe({key:t},Ape(e.attrs)),(e.children||[]).map(function(r,i){return MZ(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function Bke(e){return Af(e)[0]}function Fke(e){return e?Array.isArray(e)?e:[e]:[]}var Q1t=` .anticon { display: inline-block; color: inherit; @@ -173,7 +173,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,J1t=function(t){var n=_.useContext(Dne),r=n.csp,i=n.prefixCls,o=Q1t;i&&(o=o.replace(/anticon/g,i)),_.useEffect(function(){var a=t.current,l=Yj(a);m0(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},e0t=["icon","className","onClick","style","primaryColor","secondaryColor"],N9={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function t0t(e){var t=e.primaryColor,n=e.secondaryColor;N9.primaryColor=t,N9.secondaryColor=n||zke(t),N9.calculated=!!n}function n0t(){return fe({},N9)}var Iz=function(t){var n=t.icon,r=t.className,i=t.onClick,o=t.style,a=t.primaryColor,l=t.secondaryColor,s=an(t,e0t),u=_.useRef(),c=N9;if(a&&(c={primaryColor:a,secondaryColor:l||zke(a)}),J1t(u),Z1t(Ipe(n),"icon should be icon definiton, but got ".concat(n)),!Ipe(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=fe(fe({},f),{},{icon:f.icon(c.primaryColor,c.secondaryColor)})),TZ(f.icon,"svg-".concat(f.name),fe(fe({className:r,onClick:i,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:u}))};Iz.displayName="IconReact";Iz.getTwoToneColors=n0t;Iz.setTwoToneColors=t0t;const Xne=Iz;function Fke(e){var t=Bke(e),n=Me(t,2),r=n[0],i=n[1];return Xne.setTwoToneColors({primaryColor:r,secondaryColor:i})}function r0t(){var e=Xne.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var i0t=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Fke(Kj.primary);var Nz=_.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,o=e.rotate,a=e.tabIndex,l=e.onClick,s=e.twoToneColor,u=an(e,i0t),c=_.useContext(Dne),f=c.prefixCls,h=f===void 0?"anticon":f,d=c.rootClassName,p=Re(d,h,ue(ue({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!i||r.name==="loading"),n),g=a;g===void 0&&l&&(g=-1);var m=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,v=Bke(s),y=Me(v,2),b=y[0],C=y[1];return _.createElement("span",Qe({role:"img","aria-label":r.name},u,{ref:t,tabIndex:g,onClick:l,className:p}),_.createElement(Xne,{icon:r,primaryColor:b,secondaryColor:C,style:m}))});Nz.displayName="AntdIcon";Nz.getTwoToneColor=r0t;Nz.setTwoToneColor=Fke;const tr=Nz;var o0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:K1t}))};const uC=_.forwardRef(o0t);var a0t={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const l0t=a0t;var s0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:l0t}))};const Rh=_.forwardRef(s0t);var c0t={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const u0t=c0t;var d0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:u0t}))};const Ic=_.forwardRef(d0t);var f0t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const p0t=f0t;var h0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:p0t}))};const Iy=_.forwardRef(h0t);var g0t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const m0t=g0t;var v0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:m0t}))};const Az=_.forwardRef(v0t);var y0t=`accept acceptCharset accessKey action allowFullScreen allowTransparency +`,J1t=function(t){var n=_.useContext(Lne),r=n.csp,i=n.prefixCls,o=Q1t;i&&(o=o.replace(/anticon/g,i)),_.useEffect(function(){var a=t.current,l=Zj(a);m0(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},e0t=["icon","className","onClick","style","primaryColor","secondaryColor"],A9={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function t0t(e){var t=e.primaryColor,n=e.secondaryColor;A9.primaryColor=t,A9.secondaryColor=n||Bke(t),A9.calculated=!!n}function n0t(){return fe({},A9)}var Nz=function(t){var n=t.icon,r=t.className,i=t.onClick,o=t.style,a=t.primaryColor,l=t.secondaryColor,s=an(t,e0t),u=_.useRef(),c=A9;if(a&&(c={primaryColor:a,secondaryColor:l||Bke(a)}),J1t(u),Z1t(Npe(n),"icon should be icon definiton, but got ".concat(n)),!Npe(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=fe(fe({},f),{},{icon:f.icon(c.primaryColor,c.secondaryColor)})),MZ(f.icon,"svg-".concat(f.name),fe(fe({className:r,onClick:i,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:u}))};Nz.displayName="IconReact";Nz.getTwoToneColors=n0t;Nz.setTwoToneColors=t0t;const Yne=Nz;function Hke(e){var t=Fke(e),n=Me(t,2),r=n[0],i=n[1];return Yne.setTwoToneColors({primaryColor:r,secondaryColor:i})}function r0t(){var e=Yne.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var i0t=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Hke(Xj.primary);var Az=_.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,o=e.rotate,a=e.tabIndex,l=e.onClick,s=e.twoToneColor,u=an(e,i0t),c=_.useContext(Lne),f=c.prefixCls,h=f===void 0?"anticon":f,d=c.rootClassName,p=Re(d,h,ue(ue({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!i||r.name==="loading"),n),g=a;g===void 0&&l&&(g=-1);var m=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,v=Fke(s),y=Me(v,2),b=y[0],C=y[1];return _.createElement("span",Qe({role:"img","aria-label":r.name},u,{ref:t,tabIndex:g,onClick:l,className:p}),_.createElement(Yne,{icon:r,primaryColor:b,secondaryColor:C,style:m}))});Az.displayName="AntdIcon";Az.getTwoToneColor=r0t;Az.setTwoToneColor=Hke;const tr=Az;var o0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:K1t}))};const uC=_.forwardRef(o0t);var a0t={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};const l0t=a0t;var s0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:l0t}))};const Rh=_.forwardRef(s0t);var c0t={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const u0t=c0t;var d0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:u0t}))};const Ic=_.forwardRef(d0t);var f0t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};const p0t=f0t;var h0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:p0t}))};const Iy=_.forwardRef(h0t);var g0t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};const m0t=g0t;var v0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:m0t}))};const kz=_.forwardRef(v0t);var y0t=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable @@ -190,20 +190,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,C0t="".concat(y0t," ").concat(b0t).split(/[\s\n]+/),S0t="aria-",x0t="data-";function Ape(e,t){return e.indexOf(t)===0}function qo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=fe({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||Ape(i,S0t))||n.data&&Ape(i,x0t)||n.attr&&C0t.includes(i))&&(r[i]=e[i])}),r}const{isValidElement:Zl}=f0;function Hke(e){return e&&Zl(e)&&e.type===_.Fragment}function Wke(e,t,n){return Zl(e)?_.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Mo(e,t){return Wke(e,e,t)}const iM=(e,t,n,r,i)=>({background:e,border:`${xe(r.lineWidth)} ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),_0t=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:o,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:u,withDescriptionIconSize:c,colorText:f,colorTextHeading:h,withDescriptionPadding:d,defaultPadding:p}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:l},"&-message":{color:h},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,C0t="".concat(y0t," ").concat(b0t).split(/[\s\n]+/),S0t="aria-",x0t="data-";function kpe(e,t){return e.indexOf(t)===0}function qo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=fe({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||kpe(i,S0t))||n.data&&kpe(i,x0t)||n.attr&&C0t.includes(i))&&(r[i]=e[i])}),r}const{isValidElement:Zl}=f0;function Wke(e){return e&&Zl(e)&&e.type===_.Fragment}function qke(e,t,n){return Zl(e)?_.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Mo(e,t){return qke(e,e,t)}const oM=(e,t,n,r,i)=>({background:e,border:`${xe(r.lineWidth)} ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),_0t=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:o,fontSizeLG:a,lineHeight:l,borderRadiusLG:s,motionEaseInOutCirc:u,withDescriptionIconSize:c,colorText:f,colorTextHeading:h,withDescriptionPadding:d,defaultPadding:p}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:s,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:l},"&-message":{color:h},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, padding-top ${n} ${u}, padding-bottom ${n} ${u}, - margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:d,[`${t}-icon`]:{marginInlineEnd:i,fontSize:c,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:h,fontSize:a},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},w0t=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:u,colorErrorBg:c,colorInfo:f,colorInfoBorder:h,colorInfoBg:d}=e;return{[t]:{"&-success":iM(i,r,n,e,t),"&-info":iM(d,h,f,e,t),"&-warning":iM(l,a,o,e,t),"&-error":Object.assign(Object.assign({},iM(c,u,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},O0t=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:xe(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:l}}}}},E0t=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),$0t=vr("Alert",e=>[_0t(e),w0t(e),O0t(e)],E0t);var P0t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=T0t[r]||null;return t?Wke(t,_.createElement("span",{className:`${n}-icon`},t),()=>({className:Re(`${n}-icon`,{[t.props.className]:t.props.className})})):_.createElement(i,{className:`${n}-icon`})},R0t=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i}=e,o=r===!0||r===void 0?_.createElement(Ic,null):r;return t?_.createElement("button",{type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},o):null},I0t=e=>{const{description:t,prefixCls:n,message:r,banner:i,className:o,rootClassName:a,style:l,onMouseEnter:s,onMouseLeave:u,onClick:c,afterClose:f,showIcon:h,closable:d,closeText:p,closeIcon:g,action:m}=e,v=P0t(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[y,b]=_.useState(!1),C=_.useRef(null),{getPrefixCls:x,direction:S,alert:w}=_.useContext(on),O=x("alert",n),[$,P,T]=$0t(O),R=L=>{var B;b(!0),(B=e.onClose)===null||B===void 0||B.call(e,L)},M=_.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),A=_.useMemo(()=>p?!0:typeof d=="boolean"?d:g!==!1&&g!==null&&g!==void 0,[p,g,d]),N=i&&h===void 0?!0:h,k=Re(O,`${O}-${M}`,{[`${O}-with-description`]:!!t,[`${O}-no-icon`]:!N,[`${O}-banner`]:!!i,[`${O}-rtl`]:S==="rtl"},w==null?void 0:w.className,o,a,T,P),D=qo(v,{aria:!0,data:!0});return $(_.createElement(aa,{visible:!y,motionName:`${O}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:L=>({maxHeight:L.offsetHeight}),onLeaveEnd:f},L=>{let{className:B,style:j}=L;return _.createElement("div",Object.assign({ref:C,"data-show":!y,className:Re(k,B),style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.style),l),j),onMouseEnter:s,onMouseLeave:u,onClick:c,role:"alert"},D),N?_.createElement(M0t,{description:t,icon:e.icon,prefixCls:O,type:M}):null,_.createElement("div",{className:`${O}-content`},r?_.createElement("div",{className:`${O}-message`},r):null,t?_.createElement("div",{className:`${O}-description`},t):null),m?_.createElement("div",{className:`${O}-action`},m):null,_.createElement(R0t,{isClosable:A,prefixCls:O,closeIcon:p||(g??(w==null?void 0:w.closeIcon)),handleClose:R}))}))},qke=I0t;function N0t(e,t,n){return t=Nf(t),$z(e,m$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}let A0t=function(e){ua(t,e);function t(){var n;return Yr(this,t),n=N0t(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Zr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,children:o}=this.props,{error:a,info:l}=this.state,s=l&&l.componentStack?l.componentStack:null,u=typeof r>"u"?(a||"").toString():r,c=typeof i>"u"?s:i;return a?_.createElement(qke,{type:"error",message:u,description:_.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},c)}):o}}]),t}(_.Component);const k0t=A0t,Vke=qke;Vke.ErrorBoundary=k0t;const j0t=Vke,kpe=e=>typeof e=="object"&&e!=null&&e.nodeType===1,jpe=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",zq=(e,t)=>{if(e.clientHeight{const i=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightot||o>e&&a=t&&l>=n?o-e-r:a>t&&ln?a-t+i:0,D0t=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Dpe=(e,t)=>{var n,r,i,o;if(typeof document>"u")return[];const{scrollMode:a,block:l,inline:s,boundary:u,skipOverflowHiddenElements:c}=t,f=typeof u=="function"?u:k=>k!==u;if(!kpe(e))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,d=[];let p=e;for(;kpe(p)&&f(p);){if(p=D0t(p),p===h){d.push(p);break}p!=null&&p===document.body&&zq(p)&&!zq(document.documentElement)||p!=null&&zq(p,c)&&d.push(p)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,m=(o=(i=window.visualViewport)==null?void 0:i.height)!=null?o:innerHeight,{scrollX:v,scrollY:y}=window,{height:b,width:C,top:x,right:S,bottom:w,left:O}=e.getBoundingClientRect(),{top:$,right:P,bottom:T,left:R}=(k=>{const D=window.getComputedStyle(k);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let M=l==="start"||l==="nearest"?x-$:l==="end"?w+T:x+b/2-$+T,A=s==="center"?O+C/2-R+P:s==="end"?S+P:O-R;const N=[];for(let k=0;k=0&&O>=0&&w<=m&&S<=g&&x>=j&&w<=V&&O>=W&&S<=z)return N;const U=getComputedStyle(D),K=parseInt(U.borderLeftWidth,10),X=parseInt(U.borderTopWidth,10),G=parseInt(U.borderRightWidth,10),Y=parseInt(U.borderBottomWidth,10);let J=0,ee=0;const Q="offsetWidth"in D?D.offsetWidth-D.clientWidth-K-G:0,te="offsetHeight"in D?D.offsetHeight-D.clientHeight-X-Y:0,ne="offsetWidth"in D?D.offsetWidth===0?0:B/D.offsetWidth:0,re="offsetHeight"in D?D.offsetHeight===0?0:L/D.offsetHeight:0;if(h===D)J=l==="start"?M:l==="end"?M-m:l==="nearest"?oM(y,y+m,m,X,Y,y+M,y+M+b,b):M-m/2,ee=s==="start"?A:s==="center"?A-g/2:s==="end"?A-g:oM(v,v+g,g,K,G,v+A,v+A+C,C),J=Math.max(0,J+y),ee=Math.max(0,ee+v);else{J=l==="start"?M-j-X:l==="end"?M-V+Y+te:l==="nearest"?oM(j,V,L,X,Y+te,M,M+b,b):M-(j+L/2)+te/2,ee=s==="start"?A-W-K:s==="center"?A-(W+B/2)+Q/2:s==="end"?A-z+G+Q:oM(W,z,B,K,G+Q,A,A+C,C);const{scrollLeft:oe,scrollTop:se}=D;J=re===0?0:Math.max(0,Math.min(se+J/re,D.scrollHeight-L/re+te)),ee=ne===0?0:Math.max(0,Math.min(oe+ee/ne,D.scrollWidth-B/ne+Q)),M+=se-J,A+=oe-ee}N.push({el:D,top:J,left:ee})}return N},L0t=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Uke(e,t){if(!e.isConnected||!(i=>{let o=i;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(i=>{const o=window.getComputedStyle(i);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(Dpe(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:o,left:a}of Dpe(e,L0t(t))){const l=o-n.top+n.bottom,s=a-n.left+n.right;i.scroll({top:l,left:s,behavior:r})}}const z0t=Object.freeze(Object.defineProperty({__proto__:null,default:Uke},Symbol.toStringTag,{value:"Module"}));function MZ(e){return e!=null&&e===e.window}function B0t(e,t){var n,r;if(typeof window>"u")return 0;const i=t?"scrollTop":"scrollLeft";let o=0;return MZ(e)?o=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?o=e.documentElement[i]:(e instanceof HTMLElement||e)&&(o=e[i]),e&&!MZ(e)&&typeof o!="number"&&(o=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[i]),o}function F0t(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function H0t(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=B0t(o,!0),l=Date.now(),s=()=>{const c=Date.now()-l,f=F0t(c>i?i:c,a,e,i);MZ(o)?o.scrollTo(window.pageXOffset,f):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=f:o.scrollTop=f,c{const[,,,,t]=To();return t?`${e}-css-var`:""};var ht={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ht.F1&&n<=ht.F12)return!1;switch(n){case ht.ALT:case ht.CAPS_LOCK:case ht.CONTEXT_MENU:case ht.CTRL:case ht.DOWN:case ht.END:case ht.ESC:case ht.HOME:case ht.INSERT:case ht.LEFT:case ht.MAC_FF_META:case ht.META:case ht.NUMLOCK:case ht.NUM_CENTER:case ht.PAGE_DOWN:case ht.PAGE_UP:case ht.PAUSE:case ht.PRINT_SCREEN:case ht.RIGHT:case ht.SHIFT:case ht.UP:case ht.WIN_KEY:case ht.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ht.ZERO&&t<=ht.NINE||t>=ht.NUM_ZERO&&t<=ht.NUM_MULTIPLY||t>=ht.A&&t<=ht.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ht.SPACE:case ht.QUESTION_MARK:case ht.NUM_PLUS:case ht.NUM_MINUS:case ht.NUM_PERIOD:case ht.NUM_DIVISION:case ht.SEMICOLON:case ht.DASH:case ht.EQUALS:case ht.COMMA:case ht.PERIOD:case ht.SLASH:case ht.APOSTROPHE:case ht.SINGLE_QUOTE:case ht.OPEN_SQUARE_BRACKET:case ht.BACKSLASH:case ht.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},kz=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,o=e.duration,a=o===void 0?4.5:o,l=e.eventKey,s=e.content,u=e.closable,c=e.closeIcon,f=c===void 0?"x":c,h=e.props,d=e.onClick,p=e.onNoticeClose,g=e.times,m=e.hovering,v=_.useState(!1),y=Me(v,2),b=y[0],C=y[1],x=m||b,S=function(){p(l)},w=function(P){(P.key==="Enter"||P.code==="Enter"||P.keyCode===ht.ENTER)&&S()};_.useEffect(function(){if(!x&&a>0){var $=setTimeout(function(){S()},a*1e3);return function(){clearTimeout($)}}},[a,x,g]);var O="".concat(n,"-notice");return _.createElement("div",Qe({},h,{ref:t,className:Re(O,i,ue({},"".concat(O,"-closable"),u)),style:r,onMouseEnter:function(P){var T;C(!0),h==null||(T=h.onMouseEnter)===null||T===void 0||T.call(h,P)},onMouseLeave:function(P){var T;C(!1),h==null||(T=h.onMouseLeave)===null||T===void 0||T.call(h,P)},onClick:d}),_.createElement("div",{className:"".concat(O,"-content")},s),u&&_.createElement("a",{tabIndex:0,className:"".concat(O,"-close"),onKeyDown:w,onClick:function(P){P.preventDefault(),P.stopPropagation(),S()}},f))}),Gke=Se.createContext({}),Yne=function(t){var n=t.children,r=t.classNames;return Se.createElement(Gke.Provider,{value:{classNames:r}},n)},Lpe=8,zpe=3,Bpe=16,W0t=function(t){var n={offset:Lpe,threshold:zpe,gap:Bpe};if(t&&bn(t)==="object"){var r,i,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:Lpe,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:zpe,n.gap=(o=t.gap)!==null&&o!==void 0?o:Bpe}return[!!t,n]},q0t=["className","style","classNames","styles"],V0t=function(t){var n,r=t.configList,i=t.placement,o=t.prefixCls,a=t.className,l=t.style,s=t.motion,u=t.onAllNoticeRemoved,c=t.onNoticeClose,f=t.stack,h=_.useContext(Gke),d=h.classNames,p=_.useRef({}),g=_.useState(null),m=Me(g,2),v=m[0],y=m[1],b=_.useState([]),C=Me(b,2),x=C[0],S=C[1],w=r.map(function(D){return{config:D,key:String(D.key)}}),O=W0t(f),$=Me(O,2),P=$[0],T=$[1],R=T.offset,M=T.threshold,A=T.gap,N=P&&(x.length>0||w.length<=M),k=typeof s=="function"?s(i):s;return _.useEffect(function(){P&&x.length>1&&S(function(D){return D.filter(function(L){return w.some(function(B){var j=B.key;return L===j})})})},[x,w,P]),_.useEffect(function(){var D;if(P&&p.current[(D=w[w.length-1])===null||D===void 0?void 0:D.key]){var L;y(p.current[(L=w[w.length-1])===null||L===void 0?void 0:L.key])}},[w,P]),Se.createElement(Rz,Qe({key:i,className:Re(o,"".concat(o,"-").concat(i),d==null?void 0:d.list,a,(n={},ue(n,"".concat(o,"-stack"),!!P),ue(n,"".concat(o,"-stack-expanded"),N),n)),style:l,keys:w,motionAppear:!0},k,{onAllRemoved:function(){u(i)}}),function(D,L){var B=D.config,j=D.className,z=D.style,V=D.index,W=B,U=W.key,K=W.times,X=String(U),G=B,Y=G.className,J=G.style,ee=G.classNames,Q=G.styles,te=an(G,q0t),ne=w.findIndex(function(Pe){return Pe.key===X}),re={};if(P){var oe=w.length-1-(ne>-1?ne:V-1),se=i==="top"||i==="bottom"?"-50%":"0";if(oe>0){var ye,be,he;re.height=N?(ye=p.current[X])===null||ye===void 0?void 0:ye.offsetHeight:v==null?void 0:v.offsetHeight;for(var le=0,ve=0;ve-1?p.current[X]=_e:delete p.current[X]},prefixCls:o,classNames:ee,styles:Q,className:Re(Y,d==null?void 0:d.notice),style:J,times:K,key:U,eventKey:U,onNoticeClose:c,hovering:P&&x.length>0})))})},U0t=_.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,o=e.motion,a=e.maxCount,l=e.className,s=e.style,u=e.onAllRemoved,c=e.stack,f=e.renderNotifications,h=_.useState([]),d=Me(h,2),p=d[0],g=d[1],m=function($){var P,T=p.find(function(R){return R.key===$});T==null||(P=T.onClose)===null||P===void 0||P.call(T),g(function(R){return R.filter(function(M){return M.key!==$})})};_.useImperativeHandle(t,function(){return{open:function($){g(function(P){var T=vt(P),R=T.findIndex(function(N){return N.key===$.key}),M=fe({},$);if(R>=0){var A;M.times=(((A=P[R])===null||A===void 0?void 0:A.times)||0)+1,T[R]=M}else M.times=0,T.push(M);return a>0&&T.length>a&&(T=T.slice(-a)),T})},close:function($){m($)},destroy:function(){g([])}}});var v=_.useState({}),y=Me(v,2),b=y[0],C=y[1];_.useEffect(function(){var O={};p.forEach(function($){var P=$.placement,T=P===void 0?"topRight":P;T&&(O[T]=O[T]||[],O[T].push($))}),Object.keys(b).forEach(function($){O[$]=O[$]||[]}),C(O)},[p]);var x=function($){C(function(P){var T=fe({},P),R=T[$]||[];return R.length||delete T[$],T})},S=_.useRef(!1);if(_.useEffect(function(){Object.keys(b).length>0?S.current=!0:S.current&&(u==null||u(),S.current=!1)},[b]),!i)return null;var w=Object.keys(b);return Ns.createPortal(_.createElement(_.Fragment,null,w.map(function(O){var $=b[O],P=_.createElement(V0t,{key:O,configList:$,placement:O,prefixCls:r,className:l==null?void 0:l(O),style:s==null?void 0:s(O),motion:o,onNoticeClose:m,onAllNoticeRemoved:x,stack:c});return f?f(P,{prefixCls:r,key:O}):P})),i)}),G0t=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],K0t=function(){return document.body},Fpe=0;function X0t(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?K0t:t,r=e.motion,i=e.prefixCls,o=e.maxCount,a=e.className,l=e.style,s=e.onAllRemoved,u=e.stack,c=e.renderNotifications,f=an(e,G0t),h=_.useState(),d=Me(h,2),p=d[0],g=d[1],m=_.useRef(),v=_.createElement(U0t,{container:p,ref:m,prefixCls:i,motion:r,maxCount:o,className:a,style:l,onAllRemoved:s,stack:u,renderNotifications:c}),y=_.useState([]),b=Me(y,2),C=b[0],x=b[1],S=_.useMemo(function(){return{open:function(O){var $=X0t(f,O);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat(Fpe),Fpe+=1),x(function(P){return[].concat(vt(P),[{type:"open",config:$}])})},close:function(O){x(function($){return[].concat(vt($),[{type:"close",key:O}])})},destroy:function(){x(function(O){return[].concat(vt(O),[{type:"destroy"}])})}}},[]);return _.useEffect(function(){g(n())}),_.useEffect(function(){m.current&&C.length&&(C.forEach(function(w){switch(w.type){case"open":m.current.open(w.config);break;case"close":m.current.close(w.key);break;case"destroy":m.current.destroy();break}}),x(function(w){return w.filter(function(O){return!C.includes(O)})}))},[C]),[S,v]}const Y0t=Object.freeze(Object.defineProperty({__proto__:null,Notice:kz,NotificationProvider:Yne,useNotification:Zne},Symbol.toStringTag,{value:"Module"}));var Z0t={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const Q0t=Z0t;var J0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:Q0t}))};const v0=_.forwardRef(J0t),egt=Se.createContext(void 0),jz=egt,rv=100,tgt=10,Dz=rv*tgt,Kke={Modal:rv,Drawer:rv,Popover:rv,Popconfirm:rv,Tooltip:rv,Tour:rv},ngt={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function rgt(e){return e in Kke}function Hf(e,t){const[,n]=To(),r=Se.useContext(jz),i=rgt(e);if(t!==void 0)return[t,t];let o=r??0;return i?(o+=(r?0:n.zIndexPopupBase)+Kke[e],o=Math.min(o,n.zIndexPopupBase+Dz)):o+=ngt[e],[r===void 0?t:o,o]}const igt=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:o,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:c,motionDurationSlow:f,marginXS:h,paddingXS:d,borderRadiusLG:p,zIndexPopup:g,contentPadding:m,contentBg:v}=e,y=`${t}-notice`,b=new lr("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d,transform:"translateY(0)",opacity:1}}),C=new lr("MessageMoveOut",{"0%":{maxHeight:e.height,padding:d,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:d,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:h,fontSize:u},[`${y}-content`]:{display:"inline-block",padding:m,background:v,borderRadius:p,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n}, + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:d,[`${t}-icon`]:{marginInlineEnd:i,fontSize:c,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:h,fontSize:a},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},w0t=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:l,colorError:s,colorErrorBorder:u,colorErrorBg:c,colorInfo:f,colorInfoBorder:h,colorInfoBg:d}=e;return{[t]:{"&-success":oM(i,r,n,e,t),"&-info":oM(d,h,f,e,t),"&-warning":oM(l,a,o,e,t),"&-error":Object.assign(Object.assign({},oM(c,u,s,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},O0t=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:xe(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:l}}}}},E0t=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),$0t=vr("Alert",e=>[_0t(e),w0t(e),O0t(e)],E0t);var P0t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=T0t[r]||null;return t?qke(t,_.createElement("span",{className:`${n}-icon`},t),()=>({className:Re(`${n}-icon`,{[t.props.className]:t.props.className})})):_.createElement(i,{className:`${n}-icon`})},R0t=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i}=e,o=r===!0||r===void 0?_.createElement(Ic,null):r;return t?_.createElement("button",{type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},o):null},I0t=e=>{const{description:t,prefixCls:n,message:r,banner:i,className:o,rootClassName:a,style:l,onMouseEnter:s,onMouseLeave:u,onClick:c,afterClose:f,showIcon:h,closable:d,closeText:p,closeIcon:g,action:m}=e,v=P0t(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[y,b]=_.useState(!1),C=_.useRef(null),{getPrefixCls:x,direction:S,alert:w}=_.useContext(on),O=x("alert",n),[$,P,T]=$0t(O),R=L=>{var B;b(!0),(B=e.onClose)===null||B===void 0||B.call(e,L)},M=_.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),A=_.useMemo(()=>p?!0:typeof d=="boolean"?d:g!==!1&&g!==null&&g!==void 0,[p,g,d]),N=i&&h===void 0?!0:h,j=Re(O,`${O}-${M}`,{[`${O}-with-description`]:!!t,[`${O}-no-icon`]:!N,[`${O}-banner`]:!!i,[`${O}-rtl`]:S==="rtl"},w==null?void 0:w.className,o,a,T,P),D=qo(v,{aria:!0,data:!0});return $(_.createElement(aa,{visible:!y,motionName:`${O}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:L=>({maxHeight:L.offsetHeight}),onLeaveEnd:f},L=>{let{className:B,style:k}=L;return _.createElement("div",Object.assign({ref:C,"data-show":!y,className:Re(j,B),style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.style),l),k),onMouseEnter:s,onMouseLeave:u,onClick:c,role:"alert"},D),N?_.createElement(M0t,{description:t,icon:e.icon,prefixCls:O,type:M}):null,_.createElement("div",{className:`${O}-content`},r?_.createElement("div",{className:`${O}-message`},r):null,t?_.createElement("div",{className:`${O}-description`},t):null),m?_.createElement("div",{className:`${O}-action`},m):null,_.createElement(R0t,{isClosable:A,prefixCls:O,closeIcon:p||(g??(w==null?void 0:w.closeIcon)),handleClose:R}))}))},Vke=I0t;function N0t(e,t,n){return t=Nf(t),Pz(e,v$()?Reflect.construct(t,n||[],Nf(e).constructor):t.apply(e,n))}let A0t=function(e){ua(t,e);function t(){var n;return Yr(this,t),n=N0t(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Zr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,children:o}=this.props,{error:a,info:l}=this.state,s=l&&l.componentStack?l.componentStack:null,u=typeof r>"u"?(a||"").toString():r,c=typeof i>"u"?s:i;return a?_.createElement(Vke,{type:"error",message:u,description:_.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},c)}):o}}]),t}(_.Component);const k0t=A0t,Uke=Vke;Uke.ErrorBoundary=k0t;const j0t=Uke;var aM={},jpe;function D0t(){if(jpe)return aM;jpe=1,Object.defineProperty(aM,"__esModule",{value:!0});const e=o=>typeof o=="object"&&o!=null&&o.nodeType===1,t=(o,a)=>(!a||o!=="hidden")&&o!=="visible"&&o!=="clip",n=(o,a)=>{if(o.clientHeight{const u=(c=>{if(!c.ownerDocument||!c.ownerDocument.defaultView)return null;try{return c.ownerDocument.defaultView.frameElement}catch{return null}})(s);return!!u&&(u.clientHeightca||c>o&&f=a&&h>=l?c-o-s:f>a&&hl?f-a+u:0,i=o=>{const a=o.parentElement;return a??(o.getRootNode().host||null)};return aM.compute=(o,a)=>{var l,s,u,c;if(typeof document>"u")return[];const{scrollMode:f,block:h,inline:d,boundary:p,skipOverflowHiddenElements:g}=a,m=typeof p=="function"?p:z=>z!==p;if(!e(o))throw new TypeError("Invalid target");const v=document.scrollingElement||document.documentElement,y=[];let b=o;for(;e(b)&&m(b);){if(b=i(b),b===v){y.push(b);break}b!=null&&b===document.body&&n(b)&&!n(document.documentElement)||b!=null&&n(b,g)&&y.push(b)}const C=(s=(l=window.visualViewport)==null?void 0:l.width)!=null?s:innerWidth,x=(c=(u=window.visualViewport)==null?void 0:u.height)!=null?c:innerHeight,{scrollX:S,scrollY:w}=window,{height:O,width:$,top:P,right:T,bottom:R,left:M}=o.getBoundingClientRect(),{top:A,right:N,bottom:j,left:D}=(z=>{const q=window.getComputedStyle(z);return{top:parseFloat(q.scrollMarginTop)||0,right:parseFloat(q.scrollMarginRight)||0,bottom:parseFloat(q.scrollMarginBottom)||0,left:parseFloat(q.scrollMarginLeft)||0}})(o);let L=h==="start"||h==="nearest"?P-A:h==="end"?R+j:P+O/2-A+j,B=d==="center"?M+$/2-D+N:d==="end"?T+N:M-D;const k=[];for(let z=0;z=0&&M>=0&&R<=x&&T<=C&&P>=K&&R<=G&&M>=Y&&T<=X)return k;const J=getComputedStyle(q),ee=parseInt(J.borderLeftWidth,10),Q=parseInt(J.borderTopWidth,10),te=parseInt(J.borderRightWidth,10),ne=parseInt(J.borderBottomWidth,10);let re=0,oe=0;const se="offsetWidth"in q?q.offsetWidth-q.clientWidth-ee-te:0,ye="offsetHeight"in q?q.offsetHeight-q.clientHeight-Q-ne:0,be="offsetWidth"in q?q.offsetWidth===0?0:U/q.offsetWidth:0,he="offsetHeight"in q?q.offsetHeight===0?0:W/q.offsetHeight:0;if(v===q)re=h==="start"?L:h==="end"?L-x:h==="nearest"?r(w,w+x,x,Q,ne,w+L,w+L+O,O):L-x/2,oe=d==="start"?B:d==="center"?B-C/2:d==="end"?B-C:r(S,S+C,C,ee,te,S+B,S+B+$,$),re=Math.max(0,re+w),oe=Math.max(0,oe+S);else{re=h==="start"?L-K-Q:h==="end"?L-G+ne+ye:h==="nearest"?r(K,G,W,Q,ne+ye,L,L+O,O):L-(K+W/2)+ye/2,oe=d==="start"?B-Y-ee:d==="center"?B-(Y+U/2)+se/2:d==="end"?B-X+te+se:r(Y,X,U,ee,te+se,B,B+$,$);const{scrollLeft:le,scrollTop:ve}=q;re=he===0?0:Math.max(0,Math.min(ve+re/he,q.scrollHeight-W/he+ye)),oe=be===0?0:Math.max(0,Math.min(le+oe/be,q.scrollWidth-U/be+se)),L+=ve-re,B+=le-oe}k.push({el:q,top:re,left:oe})}return k},aM}var Bq,Dpe;function Zne(){if(Dpe)return Bq;Dpe=1;var e=D0t();const t=n=>n===!1?{block:"end",inline:"nearest"}:(r=>r===Object(r)&&Object.keys(r).length!==0)(n)?n:{block:"start",inline:"nearest"};return Bq=function(n,r){if(!n.isConnected||!(a=>{let l=a;for(;l&&l.parentNode;){if(l.parentNode===document)return!0;l=l.parentNode instanceof ShadowRoot?l.parentNode.host:l.parentNode}return!1})(n))return;const i=(a=>{const l=window.getComputedStyle(a);return{top:parseFloat(l.scrollMarginTop)||0,right:parseFloat(l.scrollMarginRight)||0,bottom:parseFloat(l.scrollMarginBottom)||0,left:parseFloat(l.scrollMarginLeft)||0}})(n);if((a=>typeof a=="object"&&typeof a.behavior=="function")(r))return r.behavior(e.compute(n,r));const o=typeof r=="boolean"||r==null?void 0:r.behavior;for(const{el:a,top:l,left:s}of e.compute(n,t(r))){const u=l-i.top+i.bottom,c=s-i.left+i.right;a.scroll({top:u,left:c,behavior:o})}},Bq}var L0t=Zne();const z0t=so(L0t);function RZ(e){return e!=null&&e===e.window}function B0t(e,t){var n,r;if(typeof window>"u")return 0;const i=t?"scrollTop":"scrollLeft";let o=0;return RZ(e)?o=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?o=e.documentElement[i]:(e instanceof HTMLElement||e)&&(o=e[i]),e&&!RZ(e)&&typeof o!="number"&&(o=(r=((n=e.ownerDocument)!==null&&n!==void 0?n:e).documentElement)===null||r===void 0?void 0:r[i]),o}function F0t(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function H0t(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=B0t(o,!0),l=Date.now(),s=()=>{const c=Date.now()-l,f=F0t(c>i?i:c,a,e,i);RZ(o)?o.scrollTo(window.pageXOffset,f):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=f:o.scrollTop=f,c{const[,,,,t]=To();return t?`${e}-css-var`:""};var ht={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ht.F1&&n<=ht.F12)return!1;switch(n){case ht.ALT:case ht.CAPS_LOCK:case ht.CONTEXT_MENU:case ht.CTRL:case ht.DOWN:case ht.END:case ht.ESC:case ht.HOME:case ht.INSERT:case ht.LEFT:case ht.MAC_FF_META:case ht.META:case ht.NUMLOCK:case ht.NUM_CENTER:case ht.PAGE_DOWN:case ht.PAGE_UP:case ht.PAUSE:case ht.PRINT_SCREEN:case ht.RIGHT:case ht.SHIFT:case ht.UP:case ht.WIN_KEY:case ht.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ht.ZERO&&t<=ht.NINE||t>=ht.NUM_ZERO&&t<=ht.NUM_MULTIPLY||t>=ht.A&&t<=ht.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ht.SPACE:case ht.QUESTION_MARK:case ht.NUM_PLUS:case ht.NUM_MINUS:case ht.NUM_PERIOD:case ht.NUM_DIVISION:case ht.SEMICOLON:case ht.DASH:case ht.EQUALS:case ht.COMMA:case ht.PERIOD:case ht.SLASH:case ht.APOSTROPHE:case ht.SINGLE_QUOTE:case ht.OPEN_SQUARE_BRACKET:case ht.BACKSLASH:case ht.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},jz=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,o=e.duration,a=o===void 0?4.5:o,l=e.eventKey,s=e.content,u=e.closable,c=e.closeIcon,f=c===void 0?"x":c,h=e.props,d=e.onClick,p=e.onNoticeClose,g=e.times,m=e.hovering,v=_.useState(!1),y=Me(v,2),b=y[0],C=y[1],x=m||b,S=function(){p(l)},w=function(P){(P.key==="Enter"||P.code==="Enter"||P.keyCode===ht.ENTER)&&S()};_.useEffect(function(){if(!x&&a>0){var $=setTimeout(function(){S()},a*1e3);return function(){clearTimeout($)}}},[a,x,g]);var O="".concat(n,"-notice");return _.createElement("div",Qe({},h,{ref:t,className:Re(O,i,ue({},"".concat(O,"-closable"),u)),style:r,onMouseEnter:function(P){var T;C(!0),h==null||(T=h.onMouseEnter)===null||T===void 0||T.call(h,P)},onMouseLeave:function(P){var T;C(!1),h==null||(T=h.onMouseLeave)===null||T===void 0||T.call(h,P)},onClick:d}),_.createElement("div",{className:"".concat(O,"-content")},s),u&&_.createElement("a",{tabIndex:0,className:"".concat(O,"-close"),onKeyDown:w,onClick:function(P){P.preventDefault(),P.stopPropagation(),S()}},f))}),Gke=Se.createContext({}),Qne=function(t){var n=t.children,r=t.classNames;return Se.createElement(Gke.Provider,{value:{classNames:r}},n)},Lpe=8,zpe=3,Bpe=16,W0t=function(t){var n={offset:Lpe,threshold:zpe,gap:Bpe};if(t&&bn(t)==="object"){var r,i,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:Lpe,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:zpe,n.gap=(o=t.gap)!==null&&o!==void 0?o:Bpe}return[!!t,n]},q0t=["className","style","classNames","styles"],V0t=function(t){var n,r=t.configList,i=t.placement,o=t.prefixCls,a=t.className,l=t.style,s=t.motion,u=t.onAllNoticeRemoved,c=t.onNoticeClose,f=t.stack,h=_.useContext(Gke),d=h.classNames,p=_.useRef({}),g=_.useState(null),m=Me(g,2),v=m[0],y=m[1],b=_.useState([]),C=Me(b,2),x=C[0],S=C[1],w=r.map(function(D){return{config:D,key:String(D.key)}}),O=W0t(f),$=Me(O,2),P=$[0],T=$[1],R=T.offset,M=T.threshold,A=T.gap,N=P&&(x.length>0||w.length<=M),j=typeof s=="function"?s(i):s;return _.useEffect(function(){P&&x.length>1&&S(function(D){return D.filter(function(L){return w.some(function(B){var k=B.key;return L===k})})})},[x,w,P]),_.useEffect(function(){var D;if(P&&p.current[(D=w[w.length-1])===null||D===void 0?void 0:D.key]){var L;y(p.current[(L=w[w.length-1])===null||L===void 0?void 0:L.key])}},[w,P]),Se.createElement(Iz,Qe({key:i,className:Re(o,"".concat(o,"-").concat(i),d==null?void 0:d.list,a,(n={},ue(n,"".concat(o,"-stack"),!!P),ue(n,"".concat(o,"-stack-expanded"),N),n)),style:l,keys:w,motionAppear:!0},j,{onAllRemoved:function(){u(i)}}),function(D,L){var B=D.config,k=D.className,z=D.style,q=D.index,W=B,U=W.key,K=W.times,X=String(U),G=B,Y=G.className,J=G.style,ee=G.classNames,Q=G.styles,te=an(G,q0t),ne=w.findIndex(function(Pe){return Pe.key===X}),re={};if(P){var oe=w.length-1-(ne>-1?ne:q-1),se=i==="top"||i==="bottom"?"-50%":"0";if(oe>0){var ye,be,he;re.height=N?(ye=p.current[X])===null||ye===void 0?void 0:ye.offsetHeight:v==null?void 0:v.offsetHeight;for(var le=0,ve=0;ve-1?p.current[X]=_e:delete p.current[X]},prefixCls:o,classNames:ee,styles:Q,className:Re(Y,d==null?void 0:d.notice),style:J,times:K,key:U,eventKey:U,onNoticeClose:c,hovering:P&&x.length>0})))})},U0t=_.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,o=e.motion,a=e.maxCount,l=e.className,s=e.style,u=e.onAllRemoved,c=e.stack,f=e.renderNotifications,h=_.useState([]),d=Me(h,2),p=d[0],g=d[1],m=function($){var P,T=p.find(function(R){return R.key===$});T==null||(P=T.onClose)===null||P===void 0||P.call(T),g(function(R){return R.filter(function(M){return M.key!==$})})};_.useImperativeHandle(t,function(){return{open:function($){g(function(P){var T=vt(P),R=T.findIndex(function(N){return N.key===$.key}),M=fe({},$);if(R>=0){var A;M.times=(((A=P[R])===null||A===void 0?void 0:A.times)||0)+1,T[R]=M}else M.times=0,T.push(M);return a>0&&T.length>a&&(T=T.slice(-a)),T})},close:function($){m($)},destroy:function(){g([])}}});var v=_.useState({}),y=Me(v,2),b=y[0],C=y[1];_.useEffect(function(){var O={};p.forEach(function($){var P=$.placement,T=P===void 0?"topRight":P;T&&(O[T]=O[T]||[],O[T].push($))}),Object.keys(b).forEach(function($){O[$]=O[$]||[]}),C(O)},[p]);var x=function($){C(function(P){var T=fe({},P),R=T[$]||[];return R.length||delete T[$],T})},S=_.useRef(!1);if(_.useEffect(function(){Object.keys(b).length>0?S.current=!0:S.current&&(u==null||u(),S.current=!1)},[b]),!i)return null;var w=Object.keys(b);return Ns.createPortal(_.createElement(_.Fragment,null,w.map(function(O){var $=b[O],P=_.createElement(V0t,{key:O,configList:$,placement:O,prefixCls:r,className:l==null?void 0:l(O),style:s==null?void 0:s(O),motion:o,onNoticeClose:m,onAllNoticeRemoved:x,stack:c});return f?f(P,{prefixCls:r,key:O}):P})),i)}),G0t=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],K0t=function(){return document.body},Fpe=0;function X0t(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?K0t:t,r=e.motion,i=e.prefixCls,o=e.maxCount,a=e.className,l=e.style,s=e.onAllRemoved,u=e.stack,c=e.renderNotifications,f=an(e,G0t),h=_.useState(),d=Me(h,2),p=d[0],g=d[1],m=_.useRef(),v=_.createElement(U0t,{container:p,ref:m,prefixCls:i,motion:r,maxCount:o,className:a,style:l,onAllRemoved:s,stack:u,renderNotifications:c}),y=_.useState([]),b=Me(y,2),C=b[0],x=b[1],S=_.useMemo(function(){return{open:function(O){var $=X0t(f,O);($.key===null||$.key===void 0)&&($.key="rc-notification-".concat(Fpe),Fpe+=1),x(function(P){return[].concat(vt(P),[{type:"open",config:$}])})},close:function(O){x(function($){return[].concat(vt($),[{type:"close",key:O}])})},destroy:function(){x(function(O){return[].concat(vt(O),[{type:"destroy"}])})}}},[]);return _.useEffect(function(){g(n())}),_.useEffect(function(){m.current&&C.length&&(C.forEach(function(w){switch(w.type){case"open":m.current.open(w.config);break;case"close":m.current.close(w.key);break;case"destroy":m.current.destroy();break}}),x(function(w){return w.filter(function(O){return!C.includes(O)})}))},[C]),[S,v]}const Y0t=Object.freeze(Object.defineProperty({__proto__:null,Notice:jz,NotificationProvider:Qne,useNotification:Jne},Symbol.toStringTag,{value:"Module"}));var Z0t={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const Q0t=Z0t;var J0t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:Q0t}))};const v0=_.forwardRef(J0t),egt=Se.createContext(void 0),Dz=egt,rv=100,tgt=10,Lz=rv*tgt,Kke={Modal:rv,Drawer:rv,Popover:rv,Popconfirm:rv,Tooltip:rv,Tour:rv},ngt={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function rgt(e){return e in Kke}function Hf(e,t){const[,n]=To(),r=Se.useContext(Dz),i=rgt(e);if(t!==void 0)return[t,t];let o=r??0;return i?(o+=(r?0:n.zIndexPopupBase)+Kke[e],o=Math.min(o,n.zIndexPopupBase+Lz)):o+=ngt[e],[r===void 0?t:o,o]}const igt=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:o,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:u,motionEaseInOutCirc:c,motionDurationSlow:f,marginXS:h,paddingXS:d,borderRadiusLG:p,zIndexPopup:g,contentPadding:m,contentBg:v}=e,y=`${t}-notice`,b=new lr("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d,transform:"translateY(0)",opacity:1}}),C=new lr("MessageMoveOut",{"0%":{maxHeight:e.height,padding:d,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:d,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:h,fontSize:u},[`${y}-content`]:{display:"inline-block",padding:m,background:v,borderRadius:p,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n}, ${t}-loading > ${n}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},sr(e)),{color:i,position:"fixed",top:h,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:c},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:f,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${y}-wrapper`]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},ogt=e=>({zIndexPopup:e.zIndexPopupBase+Dz+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),Xke=vr("Message",e=>{const t=Wn(e,{height:150});return[igt(t)]},ogt);var agt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return _.createElement("div",{className:Re(`${t}-custom-content`,`${t}-${n}`)},r||lgt[n],_.createElement("span",null,i))},sgt=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:o}=e,a=agt(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=_.useContext(on),s=t||l("message"),u=di(s),[c,f,h]=Xke(s,u);return c(_.createElement(kz,Object.assign({},a,{prefixCls:s,className:Re(n,f,`${s}-notice-pure-panel`,h,u),eventKey:"pure",duration:null,content:_.createElement(Yke,{prefixCls:s,type:r,icon:i},o)})))},cgt=sgt;function ugt(e,t){return{motionName:t??`${e}-move-up`}}function Qne(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}var dgt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=di(n),[i,o,a]=Xke(n,r);return i(_.createElement(Yne,{classNames:{list:Re(o,a,r)}},t))},ggt=(e,t)=>{let{prefixCls:n,key:r}=t;return _.createElement(hgt,{prefixCls:n,key:r},e)},mgt=_.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:o,duration:a=pgt,rtl:l,transitionName:s,onAllRemoved:u}=e,{getPrefixCls:c,getPopupContainer:f,message:h,direction:d}=_.useContext(on),p=r||c("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??fgt}),m=()=>Re({[`${p}-rtl`]:l??d==="rtl"}),v=()=>ugt(p,s),y=_.createElement("span",{className:`${p}-close-x`},_.createElement(Ic,{className:`${p}-close-icon`})),[b,C]=Zne({prefixCls:p,style:g,className:m,motion:v,closable:!1,closeIcon:y,duration:a,getContainer:()=>(i==null?void 0:i())||(f==null?void 0:f())||document.body,maxCount:o,onAllRemoved:u,renderNotifications:ggt});return _.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:p,message:h})),C});let Hpe=0;function Zke(e){const t=_.useRef(null);return Mh(),[_.useMemo(()=>{const r=s=>{var u;(u=t.current)===null||u===void 0||u.close(s)},i=s=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:u,prefixCls:c,message:f}=t.current,h=`${c}-notice`,{content:d,icon:p,type:g,key:m,className:v,style:y,onClose:b}=s,C=dgt(s,["content","icon","type","key","className","style","onClose"]);let x=m;return x==null&&(Hpe+=1,x=`antd-message-${Hpe}`),Qne(S=>(u(Object.assign(Object.assign({},C),{key:x,content:_.createElement(Yke,{prefixCls:c,type:g,icon:p},d),placement:"top",className:Re(g&&`${h}-${g}`,v,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),y),onClose:()=>{b==null||b(),S()}})),()=>{r(x)}))},a={open:i,destroy:s=>{var u;s!==void 0?r(s):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(c,f,h)=>{let d;c&&typeof c=="object"&&"content"in c?d=c:d={content:c};let p,g;typeof f=="function"?g=f:(p=f,g=h);const m=Object.assign(Object.assign({onClose:g,duration:p},d),{type:s});return i(m)};a[s]=u}),a},[]),_.createElement(mgt,Object.assign({key:"message-holder"},e,{ref:t}))]}function vgt(e){return Zke(e)}function ygt(){const[e,t]=_.useState([]),n=_.useCallback(r=>(t(i=>[].concat(vt(i),[r])),()=>{t(i=>i.filter(o=>o!==r))}),[]);return[e,n]}function al(){al=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(k,D,L){k[D]=L.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(k,D,L){return Object.defineProperty(k,D,{value:L,enumerable:!0,configurable:!0,writable:!0}),k[D]}try{u({},"")}catch{u=function(L,B,j){return L[B]=j}}function c(k,D,L,B){var j=D&&D.prototype instanceof v?D:v,z=Object.create(j.prototype),V=new A(B||[]);return i(z,"_invoke",{value:P(k,L,V)}),z}function f(k,D,L){try{return{type:"normal",arg:k.call(D,L)}}catch(B){return{type:"throw",arg:B}}}t.wrap=c;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function y(){}function b(){}var C={};u(C,a,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(N([])));S&&S!==n&&r.call(S,a)&&(C=S);var w=b.prototype=v.prototype=Object.create(C);function O(k){["next","throw","return"].forEach(function(D){u(k,D,function(L){return this._invoke(D,L)})})}function $(k,D){function L(j,z,V,W){var U=f(k[j],k,z);if(U.type!=="throw"){var K=U.arg,X=K.value;return X&&bn(X)=="object"&&r.call(X,"__await")?D.resolve(X.__await).then(function(G){L("next",G,V,W)},function(G){L("throw",G,V,W)}):D.resolve(X).then(function(G){K.value=G,V(K)},function(G){return L("throw",G,V,W)})}W(U.arg)}var B;i(this,"_invoke",{value:function(z,V){function W(){return new D(function(U,K){L(z,V,U,K)})}return B=B?B.then(W,W):W()}})}function P(k,D,L){var B=h;return function(j,z){if(B===p)throw new Error("Generator is already running");if(B===g){if(j==="throw")throw z;return{value:e,done:!0}}for(L.method=j,L.arg=z;;){var V=L.delegate;if(V){var W=T(V,L);if(W){if(W===m)continue;return W}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(B===h)throw B=g,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);B=p;var U=f(k,D,L);if(U.type==="normal"){if(B=L.done?g:d,U.arg===m)continue;return{value:U.arg,done:L.done}}U.type==="throw"&&(B=g,L.method="throw",L.arg=U.arg)}}}function T(k,D){var L=D.method,B=k.iterator[L];if(B===e)return D.delegate=null,L==="throw"&&k.iterator.return&&(D.method="return",D.arg=e,T(k,D),D.method==="throw")||L!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+L+"' method")),m;var j=f(B,k.iterator,D.arg);if(j.type==="throw")return D.method="throw",D.arg=j.arg,D.delegate=null,m;var z=j.arg;return z?z.done?(D[k.resultName]=z.value,D.next=k.nextLoc,D.method!=="return"&&(D.method="next",D.arg=e),D.delegate=null,m):z:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,m)}function R(k){var D={tryLoc:k[0]};1 in k&&(D.catchLoc=k[1]),2 in k&&(D.finallyLoc=k[2],D.afterLoc=k[3]),this.tryEntries.push(D)}function M(k){var D=k.completion||{};D.type="normal",delete D.arg,k.completion=D}function A(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(R,this),this.reset(!0)}function N(k){if(k||k===""){var D=k[a];if(D)return D.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var L=-1,B=function j(){for(;++L=0;--j){var z=this.tryEntries[j],V=z.completion;if(z.tryLoc==="root")return B("end");if(z.tryLoc<=this.prev){var W=r.call(z,"catchLoc"),U=r.call(z,"finallyLoc");if(W&&U){if(this.prev=0;--B){var j=this.tryEntries[B];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev=0;--L){var B=this.tryEntries[L];if(B.finallyLoc===D)return this.complete(B.completion,B.afterLoc),M(B),m}},catch:function(D){for(var L=this.tryEntries.length-1;L>=0;--L){var B=this.tryEntries[L];if(B.tryLoc===D){var j=B.completion;if(j.type==="throw"){var z=j.arg;M(B)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(D,L,B){return this.delegate={iterator:N(D),resultName:L,nextLoc:B},this.method==="next"&&(this.arg=e),m}},t}function Wpe(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,i)}function M0(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(s){Wpe(o,r,i,a,l,"next",s)}function l(s){Wpe(o,r,i,a,l,"throw",s)}a(void 0)})}}var b$=fe({},vne),bgt=b$.version,Cgt=b$.render,Sgt=b$.unmountComponentAtNode,Lz;try{var xgt=Number((bgt||"").split(".")[0]);xgt>=18&&(Lz=b$.createRoot)}catch{}function qpe(e){var t=b$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&bn(t)==="object"&&(t.usingClientEntryPoint=e)}var Zj="__rc_react_root__";function _gt(e,t){qpe(!0);var n=t[Zj]||Lz(t);qpe(!1),n.render(e),t[Zj]=n}function wgt(e,t){Cgt(e,t)}function zz(e,t){if(Lz){_gt(e,t);return}wgt(e,t)}function Ogt(e){return RZ.apply(this,arguments)}function RZ(){return RZ=M0(al().mark(function e(t){return al().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[Zj])===null||i===void 0||i.unmount(),delete t[Zj]}));case 1:case"end":return r.stop()}},e)})),RZ.apply(this,arguments)}function Egt(e){Sgt(e)}function Qke(e){return IZ.apply(this,arguments)}function IZ(){return IZ=M0(al().mark(function e(t){return al().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Lz===void 0){r.next=2;break}return r.abrupt("return",Ogt(t));case 2:Egt(t);case 3:case"end":return r.stop()}},e)})),IZ.apply(this,arguments)}const Bq=()=>({height:0,opacity:0}),Vpe=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},$gt=e=>({height:e?e.offsetHeight:0}),Fq=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",l4=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:Bq,onEnterStart:Bq,onAppearActive:Vpe,onEnterActive:Vpe,onLeaveStart:$gt,onLeaveActive:Bq,onAppearEnd:Fq,onEnterEnd:Fq,onLeaveEnd:Fq,motionDeadline:500}},As=(e,t,n)=>n!==void 0?n:`${e}-${t}`,C$=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1},Pgt=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},Tgt=Une("Wave",e=>[Pgt(e)]);function Mgt(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Hq(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Mgt(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Rgt(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Hq(t)?t:Hq(n)?n:Hq(r)?r:null}const Bz="ant-wave-target";function Wq(e){return Number.isNaN(e)?0:e}const Igt=e=>{const{className:t,target:n,component:r}=e,i=_.useRef(null),[o,a]=_.useState(null),[l,s]=_.useState([]),[u,c]=_.useState(0),[f,h]=_.useState(0),[d,p]=_.useState(0),[g,m]=_.useState(0),[v,y]=_.useState(!1),b={left:u,top:f,width:d,height:g,borderRadius:l.map(S=>`${S}px`).join(" ")};o&&(b["--wave-color"]=o);function C(){const S=getComputedStyle(n);a(Rgt(n));const w=S.position==="static",{borderLeftWidth:O,borderTopWidth:$}=S;c(w?n.offsetLeft:Wq(-parseFloat(O))),h(w?n.offsetTop:Wq(-parseFloat($))),p(n.offsetWidth),m(n.offsetHeight);const{borderTopLeftRadius:P,borderTopRightRadius:T,borderBottomLeftRadius:R,borderBottomRightRadius:M}=S;s([P,T,M,R].map(A=>Wq(parseFloat(A))))}if(_.useEffect(()=>{if(n){const S=rr(()=>{C(),y(!0)});let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(C),w.observe(n)),()=>{rr.cancel(S),w==null||w.disconnect()}}},[]),!v)return null;const x=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Bz));return _.createElement(aa,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(S,w)=>{var O;if(w.deadline||w.propertyName==="opacity"){const $=(O=i.current)===null||O===void 0?void 0:O.parentElement;Qke($).then(()=>{$==null||$.remove()})}return!1}},S=>{let{className:w}=S;return _.createElement("div",{ref:i,className:Re(t,{"wave-quick":x},w),style:b})})},Ngt=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild),zz(_.createElement(Igt,Object.assign({},t,{target:e})),i)},Agt=Ngt;function kgt(e,t,n){const{wave:r}=_.useContext(on),[,i,o]=To(),a=ir(u=>{const c=e.current;if(r!=null&&r.disabled||!c)return;const f=c.querySelector(`.${Bz}`)||c,{showEffect:h}=r||{};(h||Agt)(f,{className:t,token:i,component:n,event:u,hashId:o})}),l=_.useRef();return u=>{rr.cancel(l.current),l.current=rr(()=>{a(u)})}}const jgt=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=_.useContext(on),o=_.useRef(null),a=i("wave"),[,l]=Tgt(a),s=kgt(o,Re(a,l),r);if(Se.useEffect(()=>{const c=o.current;if(!c||c.nodeType!==1||n)return;const f=h=>{!C$(h.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(h)};return c.addEventListener("click",f,!0),()=>{c.removeEventListener("click",f,!0)}},[n]),!Se.isValidElement(t))return t??null;const u=bc(t)?cl(t.ref,o):o;return Mo(t,{ref:u})},S$=jgt,Go=e=>{const t=Se.useContext(y$);return Se.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Dgt=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Lgt=Dgt,zgt=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},Bgt=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Jke=vr("Space",e=>{const t=Wn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[zgt(t),Bgt(t),Lgt(t)]},()=>({}),{resetStyle:!1});var eje=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=_.useContext(Fz),r=_.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,l=i==="vertical"?"-vertical-":"-";return Re(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:o,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},fh=e=>{let{children:t}=e;return _.createElement(Fz.Provider,{value:null},t)},Fgt=e=>{var{children:t}=e,n=eje(e,["children"]);return _.createElement(Fz.Provider,{value:n},t)},Hgt=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{size:r,direction:i,block:o,prefixCls:a,className:l,rootClassName:s,children:u}=e,c=eje(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Go(b=>r??b),h=t("space-compact",a),[d,p]=Jke(h),g=Re(h,p,{[`${h}-rtl`]:n==="rtl",[`${h}-block`]:o,[`${h}-vertical`]:i==="vertical"},l,s),m=_.useContext(Fz),v=Wo(u),y=_.useMemo(()=>v.map((b,C)=>{const x=b&&b.key||`${h}-item-${C}`;return _.createElement(Fgt,{key:x,compactSize:f,compactDirection:i,isFirstItem:C===0&&(!m||(m==null?void 0:m.isFirstItem)),isLastItem:C===v.length-1&&(!m||(m==null?void 0:m.isLastItem))},b)}),[r,v,m]);return v.length===0?null:d(_.createElement("div",Object.assign({className:g},c),y))},Wgt=Hgt;var qgt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,size:i,className:o}=e,a=qgt(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=To();let u="";switch(i){case"large":u="lg";break;case"small":u="sm";break}const c=Re(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},o,s);return _.createElement(tje.Provider,{value:i},_.createElement("div",Object.assign({},a,{className:c})))},Ugt=Vgt,Upe=/^[\u4e00-\u9fa5]{2}$/,NZ=Upe.test.bind(Upe);function Jne(e){return e==="danger"?{danger:!0}:{type:e}}function Gpe(e){return typeof e=="string"}function qq(e){return e==="text"||e==="link"}function Ggt(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Gpe(e.type)&&NZ(e.props.children)?Mo(e,{children:e.props.children.split("").join(n)}):Gpe(e)?NZ(e)?Se.createElement("span",null,e.split("").join(n)):Se.createElement("span",null,e):Hke(e)?Se.createElement("span",null,e):e}function Kgt(e,t){let n=!1;const r=[];return Se.Children.forEach(e,i=>{const o=typeof i,a=o==="string"||o==="number";if(n&&a){const l=r.length-1,s=r[l];r[l]=`${s}${i}`}else r.push(i);n=a}),Se.Children.map(r,i=>Ggt(i,t))}const Xgt=_.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:o}=e,a=Re(`${o}-icon`,n);return Se.createElement("span",{ref:t,className:a,style:r},i)}),nje=Xgt,Kpe=_.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:o}=e;const a=Re(`${n}-loading-icon`,r);return Se.createElement(nje,{prefixCls:n,className:a,style:i,ref:t},Se.createElement(v0,{className:o}))}),Vq=()=>({width:0,opacity:0,transform:"scale(0)"}),Uq=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Ygt=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:o}=e,a=!!n;return r?Se.createElement(Kpe,{prefixCls:t,className:i,style:o}):Se.createElement(aa,{visible:a,motionName:`${t}-loading-icon-motion`,motionLeave:a,removeOnLeave:!0,onAppearStart:Vq,onAppearActive:Uq,onEnterStart:Vq,onEnterActive:Uq,onLeaveStart:Uq,onLeaveActive:Vq},(l,s)=>{let{className:u,style:c}=l;return Se.createElement(Kpe,{prefixCls:t,className:i,style:Object.assign(Object.assign({},o),c),ref:s,iconClassName:u})})},Zgt=Ygt,Xpe=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Qgt=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Xpe(`${t}-primary`,i),Xpe(`${t}-danger`,o)]}},Jgt=Qgt,rje=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Wn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},ije=e=>{var t,n,r,i,o,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,c=(i=e.contentLineHeight)!==null&&i!==void 0?i:Ck(l),f=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:Ck(s),h=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:Ck(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:u,contentLineHeight:c,contentLineHeightSM:f,contentLineHeightLG:h,paddingBlock:Math.max((e.controlHeight-l*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*h)/2-e.lineWidth,0)}},emt=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},dh(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ph=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),tmt=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),nmt=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),rmt=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),VE=(e,t,n,r,i,o,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ph(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:o||void 0}})}),ere=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},rmt(e))}),oje=e=>Object.assign({},ere(e)),Qj=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),aje=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},oje(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ph(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),VE(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ph(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),VE(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),ere(e))}),imt=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},oje(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),ph(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),VE(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},ph(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),VE(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),ere(e))}),omt=e=>Object.assign(Object.assign({},aje(e)),{borderStyle:"dashed"}),amt=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ph(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Qj(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ph(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Qj(e))}),lmt=e=>Object.assign(Object.assign(Object.assign({},ph(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Qj(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Qj(e)),ph(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),smt=e=>{const{componentCls:t}=e;return{[`${t}-default`]:aje(e),[`${t}-primary`]:imt(e),[`${t}-dashed`]:omt(e),[`${t}-link`]:amt(e),[`${t}-text`]:lmt(e),[`${t}-ghost`]:VE(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},tre=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,lineHeight:o,borderRadius:a,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:u}=e,c=`${n}-icon-only`;return[{[`${t}`]:{fontSize:i,lineHeight:o,height:r,padding:`${xe(u)} ${xe(l)}`,borderRadius:a,[`&${c}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:tmt(e)},{[`${n}${n}-round${t}`]:nmt(e)}]},cmt=e=>{const t=Wn(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return tre(t,e.componentCls)},umt=e=>{const t=Wn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return tre(t,`${e.componentCls}-sm`)},dmt=e=>{const t=Wn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return tre(t,`${e.componentCls}-lg`)},fmt=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},pmt=vr("Button",e=>{const t=rje(e);return[emt(t),cmt(t),umt(t),dmt(t),fmt(t),smt(t),Jgt(t)]},ije,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function hmt(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",l=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function gmt(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function x$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},hmt(e,r,t)),gmt(n,r,t))}}function mmt(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function vmt(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function ymt(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},mmt(e,t)),vmt(e.componentCls,t))}}const bmt=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${xe(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${xe(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Cmt=Ry(["Button","compact"],e=>{const t=rje(e);return[x$(t),ymt(t),bmt(t)]},ije);var Smt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{loading:i=!1,prefixCls:o,type:a="default",danger:l,shape:s="default",size:u,styles:c,disabled:f,className:h,rootClassName:d,children:p,icon:g,ghost:m=!1,block:v=!1,htmlType:y="button",classNames:b,style:C={}}=e,x=Smt(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:S,autoInsertSpaceInButton:w,direction:O,button:$}=_.useContext(on),P=S("btn",o),[T,R,M]=pmt(P),A=_.useContext(es),N=f??A,k=_.useContext(tje),D=_.useMemo(()=>xmt(i),[i]),[L,B]=_.useState(D.loading),[j,z]=_.useState(!1),W=cl(t,_.createRef()),U=_.Children.count(p)===1&&!g&&!qq(a);_.useEffect(()=>{let ve=null;D.delay>0?ve=setTimeout(()=>{ve=null,B(!0)},D.delay):B(D.loading);function ke(){ve&&(clearTimeout(ve),ve=null)}return ke},[D]),_.useEffect(()=>{if(!W||!W.current||w===!1)return;const ve=W.current.textContent;U&&NZ(ve)?j||z(!0):j&&z(!1)},[W]);const K=ve=>{const{onClick:ke}=e;if(L||N){ve.preventDefault();return}ke==null||ke(ve)},X=w!==!1,{compactSize:G,compactItemClassnames:Y}=Ih(P,O),J={large:"lg",small:"sm",middle:void 0},ee=Go(ve=>{var ke,Ie;return(Ie=(ke=u??G)!==null&&ke!==void 0?ke:k)!==null&&Ie!==void 0?Ie:ve}),Q=ee&&J[ee]||"",te=L?"loading":g,ne=bi(x,["navigate"]),re=Re(P,R,M,{[`${P}-${s}`]:s!=="default"&&s,[`${P}-${a}`]:a,[`${P}-${Q}`]:Q,[`${P}-icon-only`]:!p&&p!==0&&!!te,[`${P}-background-ghost`]:m&&!qq(a),[`${P}-loading`]:L,[`${P}-two-chinese-chars`]:j&&X&&!L,[`${P}-block`]:v,[`${P}-dangerous`]:!!l,[`${P}-rtl`]:O==="rtl"},Y,h,d,$==null?void 0:$.className),oe=Object.assign(Object.assign({},$==null?void 0:$.style),C),se=Re(b==null?void 0:b.icon,(n=$==null?void 0:$.classNames)===null||n===void 0?void 0:n.icon),ye=Object.assign(Object.assign({},(c==null?void 0:c.icon)||{}),((r=$==null?void 0:$.styles)===null||r===void 0?void 0:r.icon)||{}),be=g&&!L?Se.createElement(nje,{prefixCls:P,className:se,style:ye},g):Se.createElement(Zgt,{existIcon:!!g,prefixCls:P,loading:!!L}),he=p||p===0?Kgt(p,U&&X):null;if(ne.href!==void 0)return T(Se.createElement("a",Object.assign({},ne,{className:Re(re,{[`${P}-disabled`]:N}),href:N?void 0:ne.href,style:oe,onClick:K,ref:W,tabIndex:N?-1:0}),be,he));let le=Se.createElement("button",Object.assign({},x,{type:y,className:re,style:oe,onClick:K,disabled:N,ref:W}),be,he,!!Y&&Se.createElement(Cmt,{key:"compact",prefixCls:P}));return qq(a)||(le=Se.createElement(S$,{component:"Button",disabled:!!L},le)),T(le)},nre=_.forwardRef(_mt);nre.Group=Ugt;nre.__ANT_BUTTON=!0;const Ei=nre;function Ype(e){return!!(e&&e.then)}const wmt=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:o,autoFocus:a,emitEvent:l,isSilent:s,quitOnNullishReturnValue:u,actionFn:c}=e,f=_.useRef(!1),h=_.useRef(null),[d,p]=n0(!1),g=function(){o==null||o.apply(void 0,arguments)};_.useEffect(()=>{let y=null;return a&&(y=setTimeout(()=>{var b;(b=h.current)===null||b===void 0||b.focus()})),()=>{y&&clearTimeout(y)}},[]);const m=y=>{Ype(y)&&(p(!0),y.then(function(){p(!1,!0),g.apply(void 0,arguments),f.current=!1},b=>{if(p(!1,!0),f.current=!1,!(s!=null&&s()))return Promise.reject(b)}))},v=y=>{if(f.current)return;if(f.current=!0,!c){g();return}let b;if(l){if(b=c(y),u&&!Ype(b)){f.current=!1,g(y);return}}else if(c.length)b=c(o),f.current=!1;else if(b=c(),!b){g();return}m(b)};return _.createElement(Ei,Object.assign({},Jne(t),{onClick:v,loading:d,prefixCls:r},i,{ref:h}),n)},rre=wmt,_$=Se.createContext({}),{Provider:lje}=_$,Omt=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:o,close:a,onCancel:l,onConfirm:s}=_.useContext(_$);return i?Se.createElement(rre,{isSilent:r,actionFn:l,close:function(){a==null||a.apply(void 0,arguments),s==null||s(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},Zpe=Omt,Emt=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:o,okType:a,onConfirm:l,onOk:s}=_.useContext(_$);return Se.createElement(rre,{isSilent:n,type:a||"primary",actionFn:s,close:function(){t==null||t.apply(void 0,arguments),l==null||l(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},o)},Qpe=Emt;var sje=_.createContext(null),Jpe=[];function $mt(e,t){var n=_.useState(function(){if(!oa())return null;var p=document.createElement("div");return p}),r=Me(n,1),i=r[0],o=_.useRef(!1),a=_.useContext(sje),l=_.useState(Jpe),s=Me(l,2),u=s[0],c=s[1],f=a||(o.current?void 0:function(p){c(function(g){var m=[p].concat(vt(g));return m})});function h(){i.parentElement||document.body.appendChild(i),o.current=!0}function d(){var p;(p=i.parentElement)===null||p===void 0||p.removeChild(i),o.current=!1}return er(function(){return e?a?a(h):h():d(),d},[e]),er(function(){u.length&&(u.forEach(function(p){return p()}),c(Jpe))},[u]),[i,f]}var Gq;function AZ(e){if(typeof document>"u")return 0;if(e||Gq===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var o=t.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),Gq=i-o}return Gq}function ehe(e){var t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?AZ():n}function kZ(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:ehe(n),height:ehe(r)}}function Pmt(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Tmt="rc-util-locker-".concat(Date.now()),the=0;function Mmt(e){var t=!!e,n=_.useState(function(){return the+=1,"".concat(Tmt,"_").concat(the)}),r=Me(n,1),i=r[0];er(function(){if(t){var o=kZ(document.body).width,a=Pmt();m0(` + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:f,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${y}-wrapper`]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},ogt=e=>({zIndexPopup:e.zIndexPopupBase+Lz+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),Xke=vr("Message",e=>{const t=Wn(e,{height:150});return[igt(t)]},ogt);var agt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return _.createElement("div",{className:Re(`${t}-custom-content`,`${t}-${n}`)},r||lgt[n],_.createElement("span",null,i))},sgt=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:o}=e,a=agt(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=_.useContext(on),s=t||l("message"),u=di(s),[c,f,h]=Xke(s,u);return c(_.createElement(jz,Object.assign({},a,{prefixCls:s,className:Re(n,f,`${s}-notice-pure-panel`,h,u),eventKey:"pure",duration:null,content:_.createElement(Yke,{prefixCls:s,type:r,icon:i},o)})))},cgt=sgt;function ugt(e,t){return{motionName:t??`${e}-move-up`}}function ere(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}var dgt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=di(n),[i,o,a]=Xke(n,r);return i(_.createElement(Qne,{classNames:{list:Re(o,a,r)}},t))},ggt=(e,t)=>{let{prefixCls:n,key:r}=t;return _.createElement(hgt,{prefixCls:n,key:r},e)},mgt=_.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:o,duration:a=pgt,rtl:l,transitionName:s,onAllRemoved:u}=e,{getPrefixCls:c,getPopupContainer:f,message:h,direction:d}=_.useContext(on),p=r||c("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??fgt}),m=()=>Re({[`${p}-rtl`]:l??d==="rtl"}),v=()=>ugt(p,s),y=_.createElement("span",{className:`${p}-close-x`},_.createElement(Ic,{className:`${p}-close-icon`})),[b,C]=Jne({prefixCls:p,style:g,className:m,motion:v,closable:!1,closeIcon:y,duration:a,getContainer:()=>(i==null?void 0:i())||(f==null?void 0:f())||document.body,maxCount:o,onAllRemoved:u,renderNotifications:ggt});return _.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:p,message:h})),C});let Hpe=0;function Zke(e){const t=_.useRef(null);return Mh(),[_.useMemo(()=>{const r=s=>{var u;(u=t.current)===null||u===void 0||u.close(s)},i=s=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:u,prefixCls:c,message:f}=t.current,h=`${c}-notice`,{content:d,icon:p,type:g,key:m,className:v,style:y,onClose:b}=s,C=dgt(s,["content","icon","type","key","className","style","onClose"]);let x=m;return x==null&&(Hpe+=1,x=`antd-message-${Hpe}`),ere(S=>(u(Object.assign(Object.assign({},C),{key:x,content:_.createElement(Yke,{prefixCls:c,type:g,icon:p},d),placement:"top",className:Re(g&&`${h}-${g}`,v,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),y),onClose:()=>{b==null||b(),S()}})),()=>{r(x)}))},a={open:i,destroy:s=>{var u;s!==void 0?r(s):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const u=(c,f,h)=>{let d;c&&typeof c=="object"&&"content"in c?d=c:d={content:c};let p,g;typeof f=="function"?g=f:(p=f,g=h);const m=Object.assign(Object.assign({onClose:g,duration:p},d),{type:s});return i(m)};a[s]=u}),a},[]),_.createElement(mgt,Object.assign({key:"message-holder"},e,{ref:t}))]}function vgt(e){return Zke(e)}function ygt(){const[e,t]=_.useState([]),n=_.useCallback(r=>(t(i=>[].concat(vt(i),[r])),()=>{t(i=>i.filter(o=>o!==r))}),[]);return[e,n]}function al(){al=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(j,D,L){j[D]=L.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(j,D,L){return Object.defineProperty(j,D,{value:L,enumerable:!0,configurable:!0,writable:!0}),j[D]}try{u({},"")}catch{u=function(L,B,k){return L[B]=k}}function c(j,D,L,B){var k=D&&D.prototype instanceof v?D:v,z=Object.create(k.prototype),q=new A(B||[]);return i(z,"_invoke",{value:P(j,L,q)}),z}function f(j,D,L){try{return{type:"normal",arg:j.call(D,L)}}catch(B){return{type:"throw",arg:B}}}t.wrap=c;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function y(){}function b(){}var C={};u(C,a,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(N([])));S&&S!==n&&r.call(S,a)&&(C=S);var w=b.prototype=v.prototype=Object.create(C);function O(j){["next","throw","return"].forEach(function(D){u(j,D,function(L){return this._invoke(D,L)})})}function $(j,D){function L(k,z,q,W){var U=f(j[k],j,z);if(U.type!=="throw"){var K=U.arg,X=K.value;return X&&bn(X)=="object"&&r.call(X,"__await")?D.resolve(X.__await).then(function(G){L("next",G,q,W)},function(G){L("throw",G,q,W)}):D.resolve(X).then(function(G){K.value=G,q(K)},function(G){return L("throw",G,q,W)})}W(U.arg)}var B;i(this,"_invoke",{value:function(z,q){function W(){return new D(function(U,K){L(z,q,U,K)})}return B=B?B.then(W,W):W()}})}function P(j,D,L){var B=h;return function(k,z){if(B===p)throw new Error("Generator is already running");if(B===g){if(k==="throw")throw z;return{value:e,done:!0}}for(L.method=k,L.arg=z;;){var q=L.delegate;if(q){var W=T(q,L);if(W){if(W===m)continue;return W}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(B===h)throw B=g,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);B=p;var U=f(j,D,L);if(U.type==="normal"){if(B=L.done?g:d,U.arg===m)continue;return{value:U.arg,done:L.done}}U.type==="throw"&&(B=g,L.method="throw",L.arg=U.arg)}}}function T(j,D){var L=D.method,B=j.iterator[L];if(B===e)return D.delegate=null,L==="throw"&&j.iterator.return&&(D.method="return",D.arg=e,T(j,D),D.method==="throw")||L!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+L+"' method")),m;var k=f(B,j.iterator,D.arg);if(k.type==="throw")return D.method="throw",D.arg=k.arg,D.delegate=null,m;var z=k.arg;return z?z.done?(D[j.resultName]=z.value,D.next=j.nextLoc,D.method!=="return"&&(D.method="next",D.arg=e),D.delegate=null,m):z:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,m)}function R(j){var D={tryLoc:j[0]};1 in j&&(D.catchLoc=j[1]),2 in j&&(D.finallyLoc=j[2],D.afterLoc=j[3]),this.tryEntries.push(D)}function M(j){var D=j.completion||{};D.type="normal",delete D.arg,j.completion=D}function A(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(R,this),this.reset(!0)}function N(j){if(j||j===""){var D=j[a];if(D)return D.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var L=-1,B=function k(){for(;++L=0;--k){var z=this.tryEntries[k],q=z.completion;if(z.tryLoc==="root")return B("end");if(z.tryLoc<=this.prev){var W=r.call(z,"catchLoc"),U=r.call(z,"finallyLoc");if(W&&U){if(this.prev=0;--B){var k=this.tryEntries[B];if(k.tryLoc<=this.prev&&r.call(k,"finallyLoc")&&this.prev=0;--L){var B=this.tryEntries[L];if(B.finallyLoc===D)return this.complete(B.completion,B.afterLoc),M(B),m}},catch:function(D){for(var L=this.tryEntries.length-1;L>=0;--L){var B=this.tryEntries[L];if(B.tryLoc===D){var k=B.completion;if(k.type==="throw"){var z=k.arg;M(B)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(D,L,B){return this.delegate={iterator:N(D),resultName:L,nextLoc:B},this.method==="next"&&(this.arg=e),m}},t}function Wpe(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(u){n(u);return}l.done?t(s):Promise.resolve(s).then(r,i)}function M0(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(s){Wpe(o,r,i,a,l,"next",s)}function l(s){Wpe(o,r,i,a,l,"throw",s)}a(void 0)})}}var C$=fe({},yne),bgt=C$.version,Cgt=C$.render,Sgt=C$.unmountComponentAtNode,zz;try{var xgt=Number((bgt||"").split(".")[0]);xgt>=18&&(zz=C$.createRoot)}catch{}function qpe(e){var t=C$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&bn(t)==="object"&&(t.usingClientEntryPoint=e)}var Qj="__rc_react_root__";function _gt(e,t){qpe(!0);var n=t[Qj]||zz(t);qpe(!1),n.render(e),t[Qj]=n}function wgt(e,t){Cgt(e,t)}function Bz(e,t){if(zz){_gt(e,t);return}wgt(e,t)}function Ogt(e){return IZ.apply(this,arguments)}function IZ(){return IZ=M0(al().mark(function e(t){return al().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[Qj])===null||i===void 0||i.unmount(),delete t[Qj]}));case 1:case"end":return r.stop()}},e)})),IZ.apply(this,arguments)}function Egt(e){Sgt(e)}function Qke(e){return NZ.apply(this,arguments)}function NZ(){return NZ=M0(al().mark(function e(t){return al().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(zz===void 0){r.next=2;break}return r.abrupt("return",Ogt(t));case 2:Egt(t);case 3:case"end":return r.stop()}},e)})),NZ.apply(this,arguments)}const Fq=()=>({height:0,opacity:0}),Vpe=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},$gt=e=>({height:e?e.offsetHeight:0}),Hq=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",l4=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:Fq,onEnterStart:Fq,onAppearActive:Vpe,onEnterActive:Vpe,onLeaveStart:$gt,onLeaveActive:Fq,onAppearEnd:Hq,onEnterEnd:Hq,onLeaveEnd:Hq,motionDeadline:500}},As=(e,t,n)=>n!==void 0?n:`${e}-${t}`,S$=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1},Pgt=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},Tgt=Gne("Wave",e=>[Pgt(e)]);function Mgt(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Wq(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Mgt(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Rgt(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Wq(t)?t:Wq(n)?n:Wq(r)?r:null}const Fz="ant-wave-target";function qq(e){return Number.isNaN(e)?0:e}const Igt=e=>{const{className:t,target:n,component:r}=e,i=_.useRef(null),[o,a]=_.useState(null),[l,s]=_.useState([]),[u,c]=_.useState(0),[f,h]=_.useState(0),[d,p]=_.useState(0),[g,m]=_.useState(0),[v,y]=_.useState(!1),b={left:u,top:f,width:d,height:g,borderRadius:l.map(S=>`${S}px`).join(" ")};o&&(b["--wave-color"]=o);function C(){const S=getComputedStyle(n);a(Rgt(n));const w=S.position==="static",{borderLeftWidth:O,borderTopWidth:$}=S;c(w?n.offsetLeft:qq(-parseFloat(O))),h(w?n.offsetTop:qq(-parseFloat($))),p(n.offsetWidth),m(n.offsetHeight);const{borderTopLeftRadius:P,borderTopRightRadius:T,borderBottomLeftRadius:R,borderBottomRightRadius:M}=S;s([P,T,M,R].map(A=>qq(parseFloat(A))))}if(_.useEffect(()=>{if(n){const S=rr(()=>{C(),y(!0)});let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(C),w.observe(n)),()=>{rr.cancel(S),w==null||w.disconnect()}}},[]),!v)return null;const x=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Fz));return _.createElement(aa,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(S,w)=>{var O;if(w.deadline||w.propertyName==="opacity"){const $=(O=i.current)===null||O===void 0?void 0:O.parentElement;Qke($).then(()=>{$==null||$.remove()})}return!1}},S=>{let{className:w}=S;return _.createElement("div",{ref:i,className:Re(t,{"wave-quick":x},w),style:b})})},Ngt=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild),Bz(_.createElement(Igt,Object.assign({},t,{target:e})),i)},Agt=Ngt;function kgt(e,t,n){const{wave:r}=_.useContext(on),[,i,o]=To(),a=ir(u=>{const c=e.current;if(r!=null&&r.disabled||!c)return;const f=c.querySelector(`.${Fz}`)||c,{showEffect:h}=r||{};(h||Agt)(f,{className:t,token:i,component:n,event:u,hashId:o})}),l=_.useRef();return u=>{rr.cancel(l.current),l.current=rr(()=>{a(u)})}}const jgt=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=_.useContext(on),o=_.useRef(null),a=i("wave"),[,l]=Tgt(a),s=kgt(o,Re(a,l),r);if(Se.useEffect(()=>{const c=o.current;if(!c||c.nodeType!==1||n)return;const f=h=>{!S$(h.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(h)};return c.addEventListener("click",f,!0),()=>{c.removeEventListener("click",f,!0)}},[n]),!Se.isValidElement(t))return t??null;const u=bc(t)?cl(t.ref,o):o;return Mo(t,{ref:u})},x$=jgt,Go=e=>{const t=Se.useContext(b$);return Se.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Dgt=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Lgt=Dgt,zgt=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},Bgt=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Jke=vr("Space",e=>{const t=Wn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[zgt(t),Bgt(t),Lgt(t)]},()=>({}),{resetStyle:!1});var eje=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=_.useContext(Hz),r=_.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,l=i==="vertical"?"-vertical-":"-";return Re(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:o,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},fh=e=>{let{children:t}=e;return _.createElement(Hz.Provider,{value:null},t)},Fgt=e=>{var{children:t}=e,n=eje(e,["children"]);return _.createElement(Hz.Provider,{value:n},t)},Hgt=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{size:r,direction:i,block:o,prefixCls:a,className:l,rootClassName:s,children:u}=e,c=eje(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Go(b=>r??b),h=t("space-compact",a),[d,p]=Jke(h),g=Re(h,p,{[`${h}-rtl`]:n==="rtl",[`${h}-block`]:o,[`${h}-vertical`]:i==="vertical"},l,s),m=_.useContext(Hz),v=Wo(u),y=_.useMemo(()=>v.map((b,C)=>{const x=b&&b.key||`${h}-item-${C}`;return _.createElement(Fgt,{key:x,compactSize:f,compactDirection:i,isFirstItem:C===0&&(!m||(m==null?void 0:m.isFirstItem)),isLastItem:C===v.length-1&&(!m||(m==null?void 0:m.isLastItem))},b)}),[r,v,m]);return v.length===0?null:d(_.createElement("div",Object.assign({className:g},c),y))},Wgt=Hgt;var qgt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,size:i,className:o}=e,a=qgt(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=To();let u="";switch(i){case"large":u="lg";break;case"small":u="sm";break}const c=Re(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:n==="rtl"},o,s);return _.createElement(tje.Provider,{value:i},_.createElement("div",Object.assign({},a,{className:c})))},Ugt=Vgt,Upe=/^[\u4e00-\u9fa5]{2}$/,AZ=Upe.test.bind(Upe);function tre(e){return e==="danger"?{danger:!0}:{type:e}}function Gpe(e){return typeof e=="string"}function Vq(e){return e==="text"||e==="link"}function Ggt(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Gpe(e.type)&&AZ(e.props.children)?Mo(e,{children:e.props.children.split("").join(n)}):Gpe(e)?AZ(e)?Se.createElement("span",null,e.split("").join(n)):Se.createElement("span",null,e):Wke(e)?Se.createElement("span",null,e):e}function Kgt(e,t){let n=!1;const r=[];return Se.Children.forEach(e,i=>{const o=typeof i,a=o==="string"||o==="number";if(n&&a){const l=r.length-1,s=r[l];r[l]=`${s}${i}`}else r.push(i);n=a}),Se.Children.map(r,i=>Ggt(i,t))}const Xgt=_.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:o}=e,a=Re(`${o}-icon`,n);return Se.createElement("span",{ref:t,className:a,style:r},i)}),nje=Xgt,Kpe=_.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:o}=e;const a=Re(`${n}-loading-icon`,r);return Se.createElement(nje,{prefixCls:n,className:a,style:i,ref:t},Se.createElement(v0,{className:o}))}),Uq=()=>({width:0,opacity:0,transform:"scale(0)"}),Gq=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Ygt=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:o}=e,a=!!n;return r?Se.createElement(Kpe,{prefixCls:t,className:i,style:o}):Se.createElement(aa,{visible:a,motionName:`${t}-loading-icon-motion`,motionLeave:a,removeOnLeave:!0,onAppearStart:Uq,onAppearActive:Gq,onEnterStart:Uq,onEnterActive:Gq,onLeaveStart:Gq,onLeaveActive:Uq},(l,s)=>{let{className:u,style:c}=l;return Se.createElement(Kpe,{prefixCls:t,className:i,style:Object.assign(Object.assign({},o),c),ref:s,iconClassName:u})})},Zgt=Ygt,Xpe=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Qgt=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Xpe(`${t}-primary`,i),Xpe(`${t}-danger`,o)]}},Jgt=Qgt,rje=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Wn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},ije=e=>{var t,n,r,i,o,a;const l=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,c=(i=e.contentLineHeight)!==null&&i!==void 0?i:Sk(l),f=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:Sk(s),h=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:Sk(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:l,contentFontSizeSM:s,contentFontSizeLG:u,contentLineHeight:c,contentLineHeightSM:f,contentLineHeightLG:h,paddingBlock:Math.max((e.controlHeight-l*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*h)/2-e.lineWidth,0)}},emt=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},dh(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ph=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),tmt=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),nmt=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),rmt=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),UE=(e,t,n,r,i,o,a,l)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ph(e,Object.assign({background:t},a),Object.assign({background:t},l))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:o||void 0}})}),nre=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},rmt(e))}),oje=e=>Object.assign({},nre(e)),Jj=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),aje=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},oje(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ph(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),UE(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ph(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),UE(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),nre(e))}),imt=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},oje(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),ph(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),UE(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},ph(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),UE(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),nre(e))}),omt=e=>Object.assign(Object.assign({},aje(e)),{borderStyle:"dashed"}),amt=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},ph(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Jj(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ph(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Jj(e))}),lmt=e=>Object.assign(Object.assign(Object.assign({},ph(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Jj(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Jj(e)),ph(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBg}))}),smt=e=>{const{componentCls:t}=e;return{[`${t}-default`]:aje(e),[`${t}-primary`]:imt(e),[`${t}-dashed`]:omt(e),[`${t}-link`]:amt(e),[`${t}-text`]:lmt(e),[`${t}-ghost`]:UE(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},rre=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,lineHeight:o,borderRadius:a,buttonPaddingHorizontal:l,iconCls:s,buttonPaddingVertical:u}=e,c=`${n}-icon-only`;return[{[`${t}`]:{fontSize:i,lineHeight:o,height:r,padding:`${xe(u)} ${xe(l)}`,borderRadius:a,[`&${c}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:tmt(e)},{[`${n}${n}-round${t}`]:nmt(e)}]},cmt=e=>{const t=Wn(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return rre(t,e.componentCls)},umt=e=>{const t=Wn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return rre(t,`${e.componentCls}-sm`)},dmt=e=>{const t=Wn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return rre(t,`${e.componentCls}-lg`)},fmt=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},pmt=vr("Button",e=>{const t=rje(e);return[emt(t),cmt(t),umt(t),dmt(t),fmt(t),smt(t),Jgt(t)]},ije,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function hmt(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",l=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function gmt(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function _$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},hmt(e,r,t)),gmt(n,r,t))}}function mmt(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function vmt(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function ymt(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},mmt(e,t)),vmt(e.componentCls,t))}}const bmt=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${xe(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${xe(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Cmt=Ry(["Button","compact"],e=>{const t=rje(e);return[_$(t),ymt(t),bmt(t)]},ije);var Smt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{loading:i=!1,prefixCls:o,type:a="default",danger:l,shape:s="default",size:u,styles:c,disabled:f,className:h,rootClassName:d,children:p,icon:g,ghost:m=!1,block:v=!1,htmlType:y="button",classNames:b,style:C={}}=e,x=Smt(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:S,autoInsertSpaceInButton:w,direction:O,button:$}=_.useContext(on),P=S("btn",o),[T,R,M]=pmt(P),A=_.useContext(es),N=f??A,j=_.useContext(tje),D=_.useMemo(()=>xmt(i),[i]),[L,B]=_.useState(D.loading),[k,z]=_.useState(!1),W=cl(t,_.createRef()),U=_.Children.count(p)===1&&!g&&!Vq(a);_.useEffect(()=>{let ve=null;D.delay>0?ve=setTimeout(()=>{ve=null,B(!0)},D.delay):B(D.loading);function ke(){ve&&(clearTimeout(ve),ve=null)}return ke},[D]),_.useEffect(()=>{if(!W||!W.current||w===!1)return;const ve=W.current.textContent;U&&AZ(ve)?k||z(!0):k&&z(!1)},[W]);const K=ve=>{const{onClick:ke}=e;if(L||N){ve.preventDefault();return}ke==null||ke(ve)},X=w!==!1,{compactSize:G,compactItemClassnames:Y}=Ih(P,O),J={large:"lg",small:"sm",middle:void 0},ee=Go(ve=>{var ke,Ie;return(Ie=(ke=u??G)!==null&&ke!==void 0?ke:j)!==null&&Ie!==void 0?Ie:ve}),Q=ee&&J[ee]||"",te=L?"loading":g,ne=bi(x,["navigate"]),re=Re(P,R,M,{[`${P}-${s}`]:s!=="default"&&s,[`${P}-${a}`]:a,[`${P}-${Q}`]:Q,[`${P}-icon-only`]:!p&&p!==0&&!!te,[`${P}-background-ghost`]:m&&!Vq(a),[`${P}-loading`]:L,[`${P}-two-chinese-chars`]:k&&X&&!L,[`${P}-block`]:v,[`${P}-dangerous`]:!!l,[`${P}-rtl`]:O==="rtl"},Y,h,d,$==null?void 0:$.className),oe=Object.assign(Object.assign({},$==null?void 0:$.style),C),se=Re(b==null?void 0:b.icon,(n=$==null?void 0:$.classNames)===null||n===void 0?void 0:n.icon),ye=Object.assign(Object.assign({},(c==null?void 0:c.icon)||{}),((r=$==null?void 0:$.styles)===null||r===void 0?void 0:r.icon)||{}),be=g&&!L?Se.createElement(nje,{prefixCls:P,className:se,style:ye},g):Se.createElement(Zgt,{existIcon:!!g,prefixCls:P,loading:!!L}),he=p||p===0?Kgt(p,U&&X):null;if(ne.href!==void 0)return T(Se.createElement("a",Object.assign({},ne,{className:Re(re,{[`${P}-disabled`]:N}),href:N?void 0:ne.href,style:oe,onClick:K,ref:W,tabIndex:N?-1:0}),be,he));let le=Se.createElement("button",Object.assign({},x,{type:y,className:re,style:oe,onClick:K,disabled:N,ref:W}),be,he,!!Y&&Se.createElement(Cmt,{key:"compact",prefixCls:P}));return Vq(a)||(le=Se.createElement(x$,{component:"Button",disabled:!!L},le)),T(le)},ire=_.forwardRef(_mt);ire.Group=Ugt;ire.__ANT_BUTTON=!0;const Ei=ire;function Ype(e){return!!(e&&e.then)}const wmt=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:o,autoFocus:a,emitEvent:l,isSilent:s,quitOnNullishReturnValue:u,actionFn:c}=e,f=_.useRef(!1),h=_.useRef(null),[d,p]=n0(!1),g=function(){o==null||o.apply(void 0,arguments)};_.useEffect(()=>{let y=null;return a&&(y=setTimeout(()=>{var b;(b=h.current)===null||b===void 0||b.focus()})),()=>{y&&clearTimeout(y)}},[]);const m=y=>{Ype(y)&&(p(!0),y.then(function(){p(!1,!0),g.apply(void 0,arguments),f.current=!1},b=>{if(p(!1,!0),f.current=!1,!(s!=null&&s()))return Promise.reject(b)}))},v=y=>{if(f.current)return;if(f.current=!0,!c){g();return}let b;if(l){if(b=c(y),u&&!Ype(b)){f.current=!1,g(y);return}}else if(c.length)b=c(o),f.current=!1;else if(b=c(),!b){g();return}m(b)};return _.createElement(Ei,Object.assign({},tre(t),{onClick:v,loading:d,prefixCls:r},i,{ref:h}),n)},ore=wmt,w$=Se.createContext({}),{Provider:lje}=w$,Omt=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:o,close:a,onCancel:l,onConfirm:s}=_.useContext(w$);return i?Se.createElement(ore,{isSilent:r,actionFn:l,close:function(){a==null||a.apply(void 0,arguments),s==null||s(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},Zpe=Omt,Emt=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:o,okType:a,onConfirm:l,onOk:s}=_.useContext(w$);return Se.createElement(ore,{isSilent:n,type:a||"primary",actionFn:s,close:function(){t==null||t.apply(void 0,arguments),l==null||l(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},o)},Qpe=Emt;var sje=_.createContext(null),Jpe=[];function $mt(e,t){var n=_.useState(function(){if(!oa())return null;var p=document.createElement("div");return p}),r=Me(n,1),i=r[0],o=_.useRef(!1),a=_.useContext(sje),l=_.useState(Jpe),s=Me(l,2),u=s[0],c=s[1],f=a||(o.current?void 0:function(p){c(function(g){var m=[p].concat(vt(g));return m})});function h(){i.parentElement||document.body.appendChild(i),o.current=!0}function d(){var p;(p=i.parentElement)===null||p===void 0||p.removeChild(i),o.current=!1}return er(function(){return e?a?a(h):h():d(),d},[e]),er(function(){u.length&&(u.forEach(function(p){return p()}),c(Jpe))},[u]),[i,f]}var Kq;function kZ(e){if(typeof document>"u")return 0;if(e||Kq===void 0){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var o=t.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),Kq=i-o}return Kq}function ehe(e){var t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?kZ():n}function jZ(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:ehe(n),height:ehe(r)}}function Pmt(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Tmt="rc-util-locker-".concat(Date.now()),the=0;function Mmt(e){var t=!!e,n=_.useState(function(){return the+=1,"".concat(Tmt,"_").concat(the)}),r=Me(n,1),i=r[0];er(function(){if(t){var o=jZ(document.body).width,a=Pmt();m0(` html body { overflow-y: hidden; `.concat(a?"width: calc(100% - ".concat(o,"px);"):"",` -}`),i)}else LE(i);return function(){LE(i)}},[t,i])}var nhe=!1;function Rmt(e){return typeof e=="boolean"&&(nhe=e),nhe}var rhe=function(t){return t===!1?!1:!oa()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Ny=_.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var o=e.autoDestroy,a=o===void 0?!0:o,l=e.children,s=_.useState(n),u=Me(s,2),c=u[0],f=u[1],h=c||n;_.useEffect(function(){(a||n)&&f(n)},[n,a]);var d=_.useState(function(){return rhe(i)}),p=Me(d,2),g=p[0],m=p[1];_.useEffect(function(){var T=rhe(i);m(T??null)});var v=$mt(h&&!g),y=Me(v,2),b=y[0],C=y[1],x=g??b;Mmt(r&&n&&oa()&&(x===b||x===document.body));var S=null;if(l&&bc(l)&&t){var w=l;S=w.ref}var O=Pd(S,t);if(!h||!oa()||g===void 0)return null;var $=x===!1||Rmt(),P=l;return t&&(P=_.cloneElement(l,{ref:O})),_.createElement(sje.Provider,{value:C},$?P:Ns.createPortal(P,x))}),cje=_.createContext({});function Imt(){var e=fe({},f0);return e.useId}var ihe=0,ohe=Imt();const ire=ohe?function(t){var n=ohe();return t||n}:function(t){var n=_.useState("ssr-id"),r=Me(n,2),i=r[0],o=r[1];return _.useEffect(function(){var a=ihe;ihe+=1,o("rc_unique_".concat(a))},[]),t||i};function ahe(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function lhe(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function Nmt(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=lhe(i),n.top+=lhe(i,!0),n}const Amt=_.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var she={width:0,height:0,overflow:"hidden",outline:"none"},ore=Se.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.title,a=e.ariaId,l=e.footer,s=e.closable,u=e.closeIcon,c=e.onClose,f=e.children,h=e.bodyStyle,d=e.bodyProps,p=e.modalRender,g=e.onMouseDown,m=e.onMouseUp,v=e.holderRef,y=e.visible,b=e.forceRender,C=e.width,x=e.height,S=e.classNames,w=e.styles,O=Se.useContext(cje),$=O.panel,P=Pd(v,$),T=_.useRef(),R=_.useRef();Se.useImperativeHandle(t,function(){return{focus:function(){var B;(B=T.current)===null||B===void 0||B.focus()},changeActive:function(B){var j=document,z=j.activeElement;B&&z===R.current?T.current.focus():!B&&z===T.current&&R.current.focus()}}});var M={};C!==void 0&&(M.width=C),x!==void 0&&(M.height=x);var A;l&&(A=Se.createElement("div",{className:Re("".concat(n,"-footer"),S==null?void 0:S.footer),style:fe({},w==null?void 0:w.footer)},l));var N;o&&(N=Se.createElement("div",{className:Re("".concat(n,"-header"),S==null?void 0:S.header),style:fe({},w==null?void 0:w.header)},Se.createElement("div",{className:"".concat(n,"-title"),id:a},o)));var k;s&&(k=Se.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:"".concat(n,"-close")},u||Se.createElement("span",{className:"".concat(n,"-close-x")})));var D=Se.createElement("div",{className:Re("".concat(n,"-content"),S==null?void 0:S.content),style:w==null?void 0:w.content},k,N,Se.createElement("div",Qe({className:Re("".concat(n,"-body"),S==null?void 0:S.body),style:fe(fe({},h),w==null?void 0:w.body)},d),f),A);return Se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?a:null,"aria-modal":"true",ref:P,style:fe(fe({},i),M),className:Re(n,r),onMouseDown:g,onMouseUp:m},Se.createElement("div",{tabIndex:0,ref:T,style:she,"aria-hidden":"true"}),Se.createElement(Amt,{shouldUpdate:y||b},p?p(D):D),Se.createElement("div",{tabIndex:0,ref:R,style:she,"aria-hidden":"true"}))}),uje=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,i=e.style,o=e.className,a=e.visible,l=e.forceRender,s=e.destroyOnClose,u=e.motionName,c=e.ariaId,f=e.onVisibleChanged,h=e.mousePosition,d=_.useRef(),p=_.useState(),g=Me(p,2),m=g[0],v=g[1],y={};m&&(y.transformOrigin=m);function b(){var C=Nmt(d.current);v(h?"".concat(h.x-C.left,"px ").concat(h.y-C.top,"px"):"")}return _.createElement(aa,{visible:a,onVisibleChanged:f,onAppearPrepare:b,onEnterPrepare:b,forceRender:l,motionName:u,removeOnLeave:s,ref:d},function(C,x){var S=C.className,w=C.style;return _.createElement(ore,Qe({},e,{ref:t,title:r,ariaId:c,prefixCls:n,holderRef:x,style:fe(fe(fe({},w),i),y),className:Re(o,S)}))})});uje.displayName="Content";function kmt(e){var t=e.prefixCls,n=e.style,r=e.visible,i=e.maskProps,o=e.motionName,a=e.className;return _.createElement(aa,{key:"mask",visible:r,motionName:o,leavedClassName:"".concat(t,"-mask-hidden")},function(l,s){var u=l.className,c=l.style;return _.createElement("div",Qe({ref:s,style:fe(fe({},c),n),className:Re("".concat(t,"-mask"),u,a)},i))})}function jmt(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,i=e.visible,o=i===void 0?!1:i,a=e.keyboard,l=a===void 0?!0:a,s=e.focusTriggerAfterClose,u=s===void 0?!0:s,c=e.wrapStyle,f=e.wrapClassName,h=e.wrapProps,d=e.onClose,p=e.afterOpenChange,g=e.afterClose,m=e.transitionName,v=e.animation,y=e.closable,b=y===void 0?!0:y,C=e.mask,x=C===void 0?!0:C,S=e.maskTransitionName,w=e.maskAnimation,O=e.maskClosable,$=O===void 0?!0:O,P=e.maskStyle,T=e.maskProps,R=e.rootClassName,M=e.classNames,A=e.styles,N=_.useRef(),k=_.useRef(),D=_.useRef(),L=_.useState(o),B=Me(L,2),j=B[0],z=B[1],V=ire();function W(){dZ(k.current,document.activeElement)||(N.current=document.activeElement)}function U(){if(!dZ(k.current,document.activeElement)){var ne;(ne=D.current)===null||ne===void 0||ne.focus()}}function K(ne){if(ne)U();else{if(z(!1),x&&N.current&&u){try{N.current.focus({preventScroll:!0})}catch{}N.current=null}j&&(g==null||g())}p==null||p(ne)}function X(ne){d==null||d(ne)}var G=_.useRef(!1),Y=_.useRef(),J=function(){clearTimeout(Y.current),G.current=!0},ee=function(){Y.current=setTimeout(function(){G.current=!1})},Q=null;$&&(Q=function(re){G.current?G.current=!1:k.current===re.target&&X(re)});function te(ne){if(l&&ne.keyCode===ht.ESC){ne.stopPropagation(),X(ne);return}o&&ne.keyCode===ht.TAB&&D.current.changeActive(!ne.shiftKey)}return _.useEffect(function(){o&&(z(!0),W())},[o]),_.useEffect(function(){return function(){clearTimeout(Y.current)}},[]),_.createElement("div",Qe({className:Re("".concat(n,"-root"),R)},qo(e,{data:!0})),_.createElement(kmt,{prefixCls:n,visible:x&&o,motionName:ahe(n,S,w),style:fe(fe({zIndex:r},P),A==null?void 0:A.mask),maskProps:T,className:M==null?void 0:M.mask}),_.createElement("div",Qe({tabIndex:-1,onKeyDown:te,className:Re("".concat(n,"-wrap"),f,M==null?void 0:M.wrapper),ref:k,onClick:Q,style:fe(fe(fe({zIndex:r},c),A==null?void 0:A.wrapper),{},{display:j?null:"none"})},h),_.createElement(uje,Qe({},e,{onMouseDown:J,onMouseUp:ee,ref:D,closable:b,ariaId:V,prefixCls:n,visible:o&&j,onClose:X,onVisibleChanged:K,motionName:ahe(n,m,v)}))))}var Hz=function(t){var n=t.visible,r=t.getContainer,i=t.forceRender,o=t.destroyOnClose,a=o===void 0?!1:o,l=t.afterClose,s=t.panelRef,u=_.useState(n),c=Me(u,2),f=c[0],h=c[1],d=_.useMemo(function(){return{panel:s}},[s]);return _.useEffect(function(){n&&h(!0)},[n]),!i&&a&&!f?null:_.createElement(cje.Provider,{value:d},_.createElement(Ny,{open:n||i||f,autoDestroy:!1,getContainer:r,autoLock:n||f},_.createElement(jmt,Qe({},t,{destroyOnClose:a,afterClose:function(){l==null||l(),h(!1)}}))))};Hz.displayName="Dialog";const Dmt=Object.freeze(Object.defineProperty({__proto__:null,Panel:ore,default:Hz},Symbol.toStringTag,{value:"Module"}));function Lmt(e,t,n){return typeof e=="boolean"?e:t===void 0?!!n:t!==!1&&t!==null}function dje(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Se.createElement(Ic,null),i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!Lmt(e,t,i))return[!1,null];const a=typeof t=="boolean"||t===void 0||t===null?r:t;return[!0,n?n(a):a]}var fje=function(t){if(oa()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(i){return i in r.style})}return!1},zmt=function(t,n){if(!fje(t))return!1;var r=document.createElement("div"),i=r.style[t];return r.style[t]=n,r.style[t]!==i};function Bmt(e,t){return!Array.isArray(e)&&t!==void 0?zmt(e,t):fje(e)}const Fmt=()=>oa()&&window.document.documentElement;var xv="RC_FORM_INTERNAL_HOOKS",_i=function(){Dr(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},y0=_.createContext({getFieldValue:_i,getFieldsValue:_i,getFieldError:_i,getFieldWarning:_i,getFieldsError:_i,isFieldsTouched:_i,isFieldTouched:_i,isFieldValidating:_i,isFieldsValidating:_i,resetFields:_i,setFields:_i,setFieldValue:_i,setFieldsValue:_i,validateFields:_i,submit:_i,getInternalHooks:function(){return _i(),{dispatch:_i,initEntityValue:_i,registerField:_i,useSubscribe:_i,setInitialValues:_i,destroyForm:_i,setCallbacks:_i,registerWatch:_i,getFields:_i,setValidateMessages:_i,setPreserve:_i,getInitialValue:_i}}}),s4=_.createContext(null);function jZ(e){return e==null?[]:Array.isArray(e)?e:[e]}function Hmt(e){return e&&!!e._init}function _v(){return _v=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function xk(e,t,n){return qmt()?xk=Reflect.construct.bind():xk=function(i,o,a){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(i,l),u=new s;return a&&UE(u,a.prototype),u},xk.apply(null,arguments)}function Vmt(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function LZ(e){var t=typeof Map=="function"?new Map:void 0;return LZ=function(r){if(r===null||!Vmt(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return xk(r,arguments,DZ(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),UE(i,r)},LZ(e)}var Umt=/%[sdj%]/g,Gmt=function(){};function zZ(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function sc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function Kmt(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Oa(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Kmt(t)&&typeof e=="string"&&!e)}function Xmt(e,t,n){var r=[],i=0,o=e.length;function a(l){r.push.apply(r,l||[]),i++,i===o&&n(r)}e.forEach(function(l){t(l,a)})}function che(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l3&&arguments[3]!==void 0?arguments[3]:Se.createElement(Ic,null),i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!Lmt(e,t,i))return[!1,null];const a=typeof t=="boolean"||t===void 0||t===null?r:t;return[!0,n?n(a):a]}var fje=function(t){if(oa()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(i){return i in r.style})}return!1},zmt=function(t,n){if(!fje(t))return!1;var r=document.createElement("div"),i=r.style[t];return r.style[t]=n,r.style[t]!==i};function Bmt(e,t){return!Array.isArray(e)&&t!==void 0?zmt(e,t):fje(e)}const Fmt=()=>oa()&&window.document.documentElement;var xv="RC_FORM_INTERNAL_HOOKS",_i=function(){Dr(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},y0=_.createContext({getFieldValue:_i,getFieldsValue:_i,getFieldError:_i,getFieldWarning:_i,getFieldsError:_i,isFieldsTouched:_i,isFieldTouched:_i,isFieldValidating:_i,isFieldsValidating:_i,resetFields:_i,setFields:_i,setFieldValue:_i,setFieldsValue:_i,validateFields:_i,submit:_i,getInternalHooks:function(){return _i(),{dispatch:_i,initEntityValue:_i,registerField:_i,useSubscribe:_i,setInitialValues:_i,destroyForm:_i,setCallbacks:_i,registerWatch:_i,getFields:_i,setValidateMessages:_i,setPreserve:_i,getInitialValue:_i}}}),s4=_.createContext(null);function DZ(e){return e==null?[]:Array.isArray(e)?e:[e]}function Hmt(e){return e&&!!e._init}function _v(){return _v=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _k(e,t,n){return qmt()?_k=Reflect.construct.bind():_k=function(i,o,a){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(i,l),u=new s;return a&&GE(u,a.prototype),u},_k.apply(null,arguments)}function Vmt(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zZ(e){var t=typeof Map=="function"?new Map:void 0;return zZ=function(r){if(r===null||!Vmt(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return _k(r,arguments,LZ(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),GE(i,r)},zZ(e)}var Umt=/%[sdj%]/g,Gmt=function(){};function BZ(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function sc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function Kmt(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Oa(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Kmt(t)&&typeof e=="string"&&!e)}function Xmt(e,t,n){var r=[],i=0,o=e.length;function a(l){r.push.apply(r,l||[]),i++,i===o&&n(r)}e.forEach(function(l){t(l,a)})}function che(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},X8={integer:function(t){return X8.number(t)&&parseInt(t,10)===t},float:function(t){return X8.number(t)&&!X8.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!X8.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(phe.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(tvt())},hex:function(t){return typeof t=="string"&&!!t.match(phe.hex)}},nvt=function(t,n,r,i,o){if(t.required&&n===void 0){pje(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?X8[l](n)||i.push(sc(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&i.push(sc(o.messages.types[l],t.fullField,t.type))},rvt=function(t,n,r,i,o){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,h=typeof n=="number",d=typeof n=="string",p=Array.isArray(n);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),d&&(c=n.replace(u,"_").length),a?c!==t.len&&i.push(sc(o.messages[f].len,t.fullField,t.len)):l&&!s&&ct.max?i.push(sc(o.messages[f].max,t.fullField,t.max)):l&&s&&(ct.max)&&i.push(sc(o.messages[f].range,t.fullField,t.min,t.max))},zb="enum",ivt=function(t,n,r,i,o){t[zb]=Array.isArray(t[zb])?t[zb]:[],t[zb].indexOf(n)===-1&&i.push(sc(o.messages[zb],t.fullField,t[zb].join(", ")))},ovt=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(sc(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(sc(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},jr={required:pje,whitespace:evt,type:nvt,range:rvt,enum:ivt,pattern:ovt},avt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"string")&&!t.required)return r();jr.required(t,n,i,a,o,"string"),Oa(n,"string")||(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o),jr.pattern(t,n,i,a,o),t.whitespace===!0&&jr.whitespace(t,n,i,a,o))}r(a)},lvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},svt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},cvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},uvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),Oa(n)||jr.type(t,n,i,a,o)}r(a)},dvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},fvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},pvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();jr.required(t,n,i,a,o,"array"),n!=null&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},hvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},gvt="enum",mvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr[gvt](t,n,i,a,o)}r(a)},vvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"string")&&!t.required)return r();jr.required(t,n,i,a,o),Oa(n,"string")||jr.pattern(t,n,i,a,o)}r(a)},yvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"date")&&!t.required)return r();if(jr.required(t,n,i,a,o),!Oa(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),jr.type(t,s,i,a,o),s&&jr.range(t,s.getTime(),i,a,o)}}r(a)},bvt=function(t,n,r,i,o){var a=[],l=Array.isArray(n)?"array":typeof n;jr.required(t,n,i,a,o,l),r(a)},Kq=function(t,n,r,i,o){var a=t.type,l=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Oa(n,a)&&!t.required)return r();jr.required(t,n,i,l,o,a),Oa(n,a)||jr.type(t,n,i,l,o)}r(l)},Cvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o)}r(a)},A9={string:avt,method:lvt,number:svt,boolean:cvt,regexp:uvt,integer:dvt,float:fvt,array:pvt,object:hvt,enum:mvt,pattern:vvt,date:yvt,url:Kq,hex:Kq,email:Kq,required:bvt,any:Cvt};function BZ(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var FZ=BZ(),w$=function(){function e(n){this.rules=null,this._messages=FZ,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=fhe(BZ(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var l=r,s=i,u=o;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(g){var m=[],v={};function y(C){if(Array.isArray(C)){var x;m=(x=m).concat.apply(x,C)}else m.push(C)}for(var b=0;b2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return gje(t,r,n)})}function gje(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function Ovt(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||bn(e)!=="object"||bn(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return vt(i).every(function(o){var a=e[o],l=t[o];return typeof a=="function"&&typeof l=="function"?!0:a===l})}function Evt(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&bn(t.target)==="object"&&e in t.target?t.target[e]:t}function vhe(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat(vt(e.slice(0,n)),[i],vt(e.slice(n,t)),vt(e.slice(t+1,r))):o<0?[].concat(vt(e.slice(0,t)),vt(e.slice(t+1,n+1)),[i],vt(e.slice(n+1,r))):e}var $vt=["name"],Lc=[];function yhe(e,t,n,r,i,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var are=function(e){ua(n,e);var t=ul(n);function n(r){var i;if(Yr(this,n),i=t.call(this,r),ue(St(i),"state",{resetCount:0}),ue(St(i),"cancelRegisterFunc",null),ue(St(i),"mounted",!1),ue(St(i),"touched",!1),ue(St(i),"dirty",!1),ue(St(i),"validatePromise",void 0),ue(St(i),"prevValidating",void 0),ue(St(i),"errors",Lc),ue(St(i),"warnings",Lc),ue(St(i),"cancelRegister",function(){var s=i.props,u=s.preserve,c=s.isListField,f=s.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(c,u,zo(f)),i.cancelRegisterFunc=null}),ue(St(i),"getNamePath",function(){var s=i.props,u=s.name,c=s.fieldContext,f=c.prefixName,h=f===void 0?[]:f;return u!==void 0?[].concat(vt(h),vt(u)):[]}),ue(St(i),"getRules",function(){var s=i.props,u=s.rules,c=u===void 0?[]:u,f=s.fieldContext;return c.map(function(h){return typeof h=="function"?h(f):h})}),ue(St(i),"refresh",function(){i.mounted&&i.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),ue(St(i),"metaCache",null),ue(St(i),"triggerMetaEvent",function(s){var u=i.props.onMetaChange;if(u){var c=fe(fe({},i.getMeta()),{},{destroy:s});Cc(i.metaCache,c)||u(c),i.metaCache=c}else i.metaCache=null}),ue(St(i),"onStoreChange",function(s,u,c){var f=i.props,h=f.shouldUpdate,d=f.dependencies,p=d===void 0?[]:d,g=f.onReset,m=c.store,v=i.getNamePath(),y=i.getValue(s),b=i.getValue(m),C=u&&E3(u,v);switch(c.type==="valueUpdate"&&c.source==="external"&&y!==b&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent()),c.type){case"reset":if(!u||C){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(h){i.reRender();return}break}case"setField":{var x=c.data;if(C){"touched"in x&&(i.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(i.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(i.errors=x.errors||Lc),"warnings"in x&&(i.warnings=x.warnings||Lc),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in x&&E3(u,v,!0)){i.reRender();return}if(h&&!v.length&&yhe(h,s,m,y,b,c)){i.reRender();return}break}case"dependenciesUpdate":{var S=p.map(zo);if(S.some(function(w){return E3(c.relatedFields,w)})){i.reRender();return}break}default:if(C||(!p.length||v.length||h)&&yhe(h,s,m,y,b,c)){i.reRender();return}break}h===!0&&i.reRender()}),ue(St(i),"validateRules",function(s){var u=i.getNamePath(),c=i.getValue(),f=s||{},h=f.triggerName,d=f.validateOnly,p=d===void 0?!1:d,g=Promise.resolve().then(M0(al().mark(function m(){var v,y,b,C,x,S,w;return al().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(i.mounted){$.next=2;break}return $.abrupt("return",[]);case 2:if(v=i.props,y=v.validateFirst,b=y===void 0?!1:y,C=v.messageVariables,x=v.validateDebounce,S=i.getRules(),h&&(S=S.filter(function(P){return P}).filter(function(P){var T=P.validateTrigger;if(!T)return!0;var R=jZ(T);return R.includes(h)})),!(x&&h)){$.next=10;break}return $.next=8,new Promise(function(P){setTimeout(P,x)});case 8:if(i.validatePromise===g){$.next=10;break}return $.abrupt("return",[]);case 10:return w=xvt(u,c,S,s,b,C),w.catch(function(P){return P}).then(function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lc;if(i.validatePromise===g){var T;i.validatePromise=null;var R=[],M=[];(T=P.forEach)===null||T===void 0||T.call(P,function(A){var N=A.rule.warningOnly,k=A.errors,D=k===void 0?Lc:k;N?M.push.apply(M,vt(D)):R.push.apply(R,vt(D))}),i.errors=R,i.warnings=M,i.triggerMetaEvent(),i.reRender()}}),$.abrupt("return",w);case 13:case"end":return $.stop()}},m)})));return p||(i.validatePromise=g,i.dirty=!0,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent(),i.reRender()),g}),ue(St(i),"isFieldValidating",function(){return!!i.validatePromise}),ue(St(i),"isFieldTouched",function(){return i.touched}),ue(St(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var s=i.props.fieldContext,u=s.getInternalHooks(xv),c=u.getInitialValue;return c(i.getNamePath())!==void 0}),ue(St(i),"getErrors",function(){return i.errors}),ue(St(i),"getWarnings",function(){return i.warnings}),ue(St(i),"isListField",function(){return i.props.isListField}),ue(St(i),"isList",function(){return i.props.isList}),ue(St(i),"isPreserve",function(){return i.props.preserve}),ue(St(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var s={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return s}),ue(St(i),"getOnlyChild",function(s){if(typeof s=="function"){var u=i.getMeta();return fe(fe({},i.getOnlyChild(s(i.getControlled(),u,i.props.fieldContext))),{},{isFunction:!0})}var c=Wo(s);return c.length!==1||!_.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),ue(St(i),"getValue",function(s){var u=i.props.fieldContext.getFieldsValue,c=i.getNamePath();return _s(s||u(!0),c)}),ue(St(i),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=i.props,c=u.trigger,f=u.validateTrigger,h=u.getValueFromEvent,d=u.normalize,p=u.valuePropName,g=u.getValueProps,m=u.fieldContext,v=f!==void 0?f:m.validateTrigger,y=i.getNamePath(),b=m.getInternalHooks,C=m.getFieldsValue,x=b(xv),S=x.dispatch,w=i.getValue(),O=g||function(R){return ue({},p,R)},$=s[c],P=fe(fe({},s),O(w));P[c]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var R,M=arguments.length,A=new Array(M),N=0;N=0&&P<=T.length?(c.keys=[].concat(vt(c.keys.slice(0,P)),[c.id],vt(c.keys.slice(P))),b([].concat(vt(T.slice(0,P)),[$],vt(T.slice(P))))):(c.keys=[].concat(vt(c.keys),[c.id]),b([].concat(vt(T),[$]))),c.id+=1},remove:function($){var P=x(),T=new Set(Array.isArray($)?$:[$]);T.size<=0||(c.keys=c.keys.filter(function(R,M){return!T.has(M)}),b(P.filter(function(R,M){return!T.has(M)})))},move:function($,P){if($!==P){var T=x();$<0||$>=T.length||P<0||P>=T.length||(c.keys=vhe(c.keys,$,P),b(vhe(T,$,P)))}}},w=y||[];return Array.isArray(w)||(w=[]),r(w.map(function(O,$){var P=c.keys[$];return P===void 0&&(c.keys[$]=c.id,P=c.keys[$],c.id+=1),{name:$,key:P,isListField:!0}}),S,m)})))}function Pvt(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,o){e.forEach(function(a,l){a.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}var mje="__@field_split__";function Xq(e){return e.map(function(t){return"".concat(bn(t),":").concat(t)}).join(mje)}var Bb=function(){function e(){Yr(this,e),ue(this,"kvs",new Map)}return Zr(e,[{key:"set",value:function(n,r){this.kvs.set(Xq(n),r)}},{key:"get",value:function(n){return this.kvs.get(Xq(n))}},{key:"update",value:function(n,r){var i=this.get(n),o=r(i);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Xq(n))}},{key:"map",value:function(n){return vt(this.kvs.entries()).map(function(r){var i=Me(r,2),o=i[0],a=i[1],l=o.split(mje);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),c=Me(u,3),f=c[1],h=c[2];return f==="number"?Number(h):h}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,o=r.value;return n[i.join(".")]=o,null}),n}}]),e}(),Tvt=["name"],Mvt=Zr(function e(t){var n=this;Yr(this,e),ue(this,"formHooked",!1),ue(this,"forceRootUpdate",void 0),ue(this,"subscribable",!0),ue(this,"store",{}),ue(this,"fieldEntities",[]),ue(this,"initialValues",{}),ue(this,"callbacks",{}),ue(this,"validateMessages",null),ue(this,"preserve",null),ue(this,"lastValidatePromise",null),ue(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ue(this,"getInternalHooks",function(r){return r===xv?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Dr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ue(this,"useSubscribe",function(r){n.subscribable=r}),ue(this,"prevWithoutPreserves",null),ue(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var o,a=J2(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(l){var s=l.key;a=Yc(a,s,_s(r,s))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),ue(this,"destroyForm",function(){var r=new Bb;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||r.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=r}),ue(this,"getInitialValue",function(r){var i=_s(n.initialValues,r);return r.length?J2(i):i}),ue(this,"setCallbacks",function(r){n.callbacks=r}),ue(this,"setValidateMessages",function(r){n.validateMessages=r}),ue(this,"setPreserve",function(r){n.preserve=r}),ue(this,"watchList",[]),ue(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ue(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(i,o,r)})}}),ue(this,"timeoutId",null),ue(this,"warningUnhooked",function(){}),ue(this,"updateStore",function(r){n.store=r}),ue(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ue(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new Bb;return n.getFieldEntities(r).forEach(function(o){var a=o.getNamePath();i.set(a,o)}),i}),ue(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(o){var a=zo(o);return i.get(a)||{INVALIDATE_NAME_PATH:zo(o)}})}),ue(this,"getFieldsValue",function(r,i){n.warningUnhooked();var o,a,l;if(r===!0||Array.isArray(r)?(o=r,a=i):r&&bn(r)==="object"&&(l=r.strict,a=r.filter),o===!0&&!a)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),u=[];return s.forEach(function(c){var f,h,d="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(l){var p,g;if((p=(g=c).isList)!==null&&p!==void 0&&p.call(g))return}else if(!o&&(f=(h=c).isListField)!==null&&f!==void 0&&f.call(h))return;if(!a)u.push(d);else{var m="getMeta"in c?c.getMeta():null;a(m)&&u.push(d)}}),mhe(n.store,u.map(zo))}),ue(this,"getFieldValue",function(r){n.warningUnhooked();var i=zo(r);return _s(n.store,i)}),ue(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(o,a){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:zo(r[a]),errors:[],warnings:[]}})}),ue(this,"getFieldError",function(r){n.warningUnhooked();var i=zo(r),o=n.getFieldsError([i])[0];return o.errors}),ue(this,"getFieldWarning",function(r){n.warningUnhooked();var i=zo(r),o=n.getFieldsError([i])[0];return o.warnings}),ue(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},i=new Bb,o=n.getFieldEntities(!0);o.forEach(function(s){var u=s.props.initialValue,c=s.getNamePath();if(u!==void 0){var f=i.get(c)||new Set;f.add({entity:s,value:u}),i.set(c,f)}});var a=function(u){u.forEach(function(c){var f=c.props.initialValue;if(f!==void 0){var h=c.getNamePath(),d=n.getInitialValue(h);if(d!==void 0)Dr(!1,"Form already set 'initialValues' with path '".concat(h.join("."),"'. Field can not overwrite it."));else{var p=i.get(h);if(p&&p.size>1)Dr(!1,"Multiple Field with path '".concat(h.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(p){var g=n.getFieldValue(h),m=c.isListField();!m&&(!r.skipExist||g===void 0)&&n.updateStore(Yc(n.store,h,vt(p)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=i.get(s);if(u){var c;(c=l).push.apply(c,vt(vt(u).map(function(f){return f.entity})))}})):l=o,a(l)}),ue(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(J2(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(zo);o.forEach(function(a){var l=n.getInitialValue(a);n.updateStore(Yc(n.store,a,l))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(i,o,{type:"reset"}),n.notifyWatch(o)}),ue(this,"setFields",function(r){n.warningUnhooked();var i=n.store,o=[];r.forEach(function(a){var l=a.name,s=an(a,Tvt),u=zo(l);o.push(u),"value"in s&&n.updateStore(Yc(n.store,u,s.value)),n.notifyObservers(i,[u],{type:"setField",data:a})}),n.notifyWatch(o)}),ue(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(o){var a=o.getNamePath(),l=o.getMeta(),s=fe(fe({},l),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return i}),ue(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var o=r.getNamePath(),a=_s(n.store,o);a===void 0&&n.updateStore(Yc(n.store,o,i))}}),ue(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),ue(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!a||s.length>1)){var u=a?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==u&&n.fieldEntities.every(function(f){return!gje(f.getNamePath(),i)})){var c=n.store;n.updateStore(Yc(c,i,u,!0)),n.notifyObservers(c,[i],{type:"remove"}),n.triggerDependenciesUpdate(c,i)}}n.notifyWatch([i])}}),ue(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,o=r.value;n.updateValue(i,o);break}case"validateField":{var a=r.namePath,l=r.triggerName;n.validateFields([a],{triggerName:l});break}}}),ue(this,"notifyObservers",function(r,i,o){if(n.subscribable){var a=fe(fe({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,i,a)})}else n.forceRootUpdate()}),ue(this,"triggerDependenciesUpdate",function(r,i){var o=n.getDependencyChildrenFields(i);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[i].concat(vt(o))}),o}),ue(this,"updateValue",function(r,i){var o=zo(r),a=n.store;n.updateStore(Yc(n.store,o,i)),n.notifyObservers(a,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var l=n.triggerDependenciesUpdate(a,o),s=n.callbacks.onValuesChange;if(s){var u=mhe(n.store,[o]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(vt(l)))}),ue(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var o=J2(n.store,r);n.updateStore(o)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),ue(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i}])}),ue(this,"getDependencyChildrenFields",function(r){var i=new Set,o=[],a=new Bb;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(c){var f=zo(c);a.update(f,function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return h.add(s),h})})});var l=function s(u){var c=a.get(u)||new Set;c.forEach(function(f){if(!i.has(f)){i.add(f);var h=f.getNamePath();f.isFieldDirty()&&h.length&&(o.push(h),s(h))}})};return l(r),o}),ue(this,"triggerOnFieldsChange",function(r,i){var o=n.callbacks.onFieldsChange;if(o){var a=n.getFields();if(i){var l=new Bb;i.forEach(function(u){var c=u.name,f=u.errors;l.set(c,f)}),a.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=a.filter(function(u){var c=u.name;return E3(r,c)});s.length&&o(s,a)}}),ue(this,"validateFields",function(r,i){n.warningUnhooked();var o,a;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(o=r,a=i):a=r;var l=!!o,s=l?o.map(zo):[],u=[],c=String(Date.now()),f=new Set,h=a||{},d=h.recursive,p=h.dirty;n.getFieldEntities(!0).forEach(function(y){if(l||s.push(y.getNamePath()),!(!y.props.rules||!y.props.rules.length)&&!(p&&!y.isFieldDirty())){var b=y.getNamePath();if(f.add(b.join(c)),!l||E3(s,b,d)){var C=y.validateRules(fe({validateMessages:fe(fe({},hje),n.validateMessages)},a));u.push(C.then(function(){return{name:b,errors:[],warnings:[]}}).catch(function(x){var S,w=[],O=[];return(S=x.forEach)===null||S===void 0||S.call(x,function($){var P=$.rule.warningOnly,T=$.errors;P?O.push.apply(O,vt(T)):w.push.apply(w,vt(T))}),w.length?Promise.reject({name:b,errors:w,warnings:O}):{name:b,errors:w,warnings:O}}))}}});var g=Pvt(u);n.lastValidatePromise=g,g.catch(function(y){return y}).then(function(y){var b=y.map(function(C){var x=C.name;return x});n.notifyObservers(n.store,b,{type:"validateFinish"}),n.triggerOnFieldsChange(b,y)});var m=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(y){var b=y.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:b,outOfDate:n.lastValidatePromise!==g})});m.catch(function(y){return y});var v=s.filter(function(y){return f.has(y.join(c))});return n.triggerOnFieldsChange(v),m}),ue(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(o){console.error(o)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function qz(e){var t=_.useRef(),n=_.useState({}),r=Me(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){i({})},a=new Mvt(o);t.current=a.getForm()}return[t.current]}var UZ=_.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),sre=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,o=t.children,a=_.useContext(UZ),l=_.useRef({});return _.createElement(UZ.Provider,{value:fe(fe({},a),{},{validateMessages:fe(fe({},a.validateMessages),n),triggerFormChange:function(u,c){r&&r(u,{changedFields:c,forms:l.current}),a.triggerFormChange(u,c)},triggerFormFinish:function(u,c){i&&i(u,{values:c,forms:l.current}),a.triggerFormFinish(u,c)},registerForm:function(u,c){u&&(l.current=fe(fe({},l.current),{},ue({},u,c))),a.registerForm(u,c)},unregisterForm:function(u){var c=fe({},l.current);delete c[u],l.current=c,a.unregisterForm(u)}})},o)},Rvt=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Ivt=function(t,n){var r=t.name,i=t.initialValues,o=t.fields,a=t.form,l=t.preserve,s=t.children,u=t.component,c=u===void 0?"form":u,f=t.validateMessages,h=t.validateTrigger,d=h===void 0?"onChange":h,p=t.onValuesChange,g=t.onFieldsChange,m=t.onFinish,v=t.onFinishFailed,y=an(t,Rvt),b=_.useContext(UZ),C=qz(a),x=Me(C,1),S=x[0],w=S.getInternalHooks(xv),O=w.useSubscribe,$=w.setInitialValues,P=w.setCallbacks,T=w.setValidateMessages,R=w.setPreserve,M=w.destroyForm;_.useImperativeHandle(n,function(){return S}),_.useEffect(function(){return b.registerForm(r,S),function(){b.unregisterForm(r)}},[b,S,r]),T(fe(fe({},b.validateMessages),f)),P({onValuesChange:p,onFieldsChange:function(V){if(b.triggerFormChange(r,V),g){for(var W=arguments.length,U=new Array(W>1?W-1:0),K=1;K{}}),vje=_.createContext(null),yje=e=>{const t=bi(e,["prefixCls"]);return _.createElement(sre,Object.assign({},t))},ure=_.createContext({prefixCls:""}),la=_.createContext({}),c4=e=>{let{children:t,status:n,override:r}=e;const i=_.useContext(la),o=_.useMemo(()=>{const a=Object.assign({},i);return r&&delete a.isFormItemInput,n&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[n,r,i]);return _.createElement(la.Provider,{value:o},t)},bje=_.createContext(void 0);function Che(){}const kvt=_.createContext({add:Che,remove:Che});function jvt(e){const t=_.useContext(kvt),n=_.useRef();return ir(i=>{if(i){const o=e?i.querySelector(e):i;t.add(o),n.current=o}else t.remove(n.current)})}const Dvt=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=_.useContext(_$);return Se.createElement(Ei,Object.assign({onClick:n},e),t)},She=Dvt,Lvt=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=_.useContext(_$);return Se.createElement(Ei,Object.assign({},Jne(n),{loading:e,onClick:i},t),r)},xhe=Lvt;function Cje(e,t){return Se.createElement("span",{className:`${e}-close-x`},t||Se.createElement(Ic,{className:`${e}-close-icon`}))}const Sje=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:i,onOk:o,onCancel:a,okButtonProps:l,cancelButtonProps:s,footer:u}=e,[c]=xu("Modal",KAe()),f=t||(c==null?void 0:c.okText),h=r||(c==null?void 0:c.cancelText),d={confirmLoading:i,okButtonProps:l,cancelButtonProps:s,okTextLocale:f,cancelTextLocale:h,okType:n,onOk:o,onCancel:a},p=Se.useMemo(()=>d,vt(Object.values(d)));let g;return typeof u=="function"||typeof u>"u"?(g=Se.createElement(Se.Fragment,null,Se.createElement(She,null),Se.createElement(xhe,null)),typeof u=="function"&&(g=u(g,{OkBtn:xhe,CancelBtn:She})),g=Se.createElement(lje,{value:p},g)):g=u,Se.createElement(qne,{disabled:!1},g)},zvt=e=>({animationDuration:e,animationFillMode:"both"}),Bvt=e=>({animationDuration:e,animationFillMode:"both"}),Vz=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),l=new RegExp("^"+i+"$"),s=function(C){return C&&C.exact?o:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+i+t(C)+")","g")};s.v4=function(b){return b&&b.exact?a:new RegExp(""+t(b)+n+t(b),"g")},s.v6=function(b){return b&&b.exact?l:new RegExp(""+t(b)+i+t(b),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=s.v4().source,h=s.v6().source,d="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",v='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+h+"|"+d+p+g+")"+m+v;return lM=new RegExp("(?:^"+y+"$)","i"),lM},phe={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Y8={integer:function(t){return Y8.number(t)&&parseInt(t,10)===t},float:function(t){return Y8.number(t)&&!Y8.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Y8.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(phe.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(tvt())},hex:function(t){return typeof t=="string"&&!!t.match(phe.hex)}},nvt=function(t,n,r,i,o){if(t.required&&n===void 0){pje(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Y8[l](n)||i.push(sc(o.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&i.push(sc(o.messages.types[l],t.fullField,t.type))},rvt=function(t,n,r,i,o){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,h=typeof n=="number",d=typeof n=="string",p=Array.isArray(n);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),d&&(c=n.replace(u,"_").length),a?c!==t.len&&i.push(sc(o.messages[f].len,t.fullField,t.len)):l&&!s&&ct.max?i.push(sc(o.messages[f].max,t.fullField,t.max)):l&&s&&(ct.max)&&i.push(sc(o.messages[f].range,t.fullField,t.min,t.max))},zb="enum",ivt=function(t,n,r,i,o){t[zb]=Array.isArray(t[zb])?t[zb]:[],t[zb].indexOf(n)===-1&&i.push(sc(o.messages[zb],t.fullField,t[zb].join(", ")))},ovt=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(sc(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(sc(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},jr={required:pje,whitespace:evt,type:nvt,range:rvt,enum:ivt,pattern:ovt},avt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"string")&&!t.required)return r();jr.required(t,n,i,a,o,"string"),Oa(n,"string")||(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o),jr.pattern(t,n,i,a,o),t.whitespace===!0&&jr.whitespace(t,n,i,a,o))}r(a)},lvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},svt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},cvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},uvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),Oa(n)||jr.type(t,n,i,a,o)}r(a)},dvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},fvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},pvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();jr.required(t,n,i,a,o,"array"),n!=null&&(jr.type(t,n,i,a,o),jr.range(t,n,i,a,o))}r(a)},hvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr.type(t,n,i,a,o)}r(a)},gvt="enum",mvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o),n!==void 0&&jr[gvt](t,n,i,a,o)}r(a)},vvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"string")&&!t.required)return r();jr.required(t,n,i,a,o),Oa(n,"string")||jr.pattern(t,n,i,a,o)}r(a)},yvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n,"date")&&!t.required)return r();if(jr.required(t,n,i,a,o),!Oa(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),jr.type(t,s,i,a,o),s&&jr.range(t,s.getTime(),i,a,o)}}r(a)},bvt=function(t,n,r,i,o){var a=[],l=Array.isArray(n)?"array":typeof n;jr.required(t,n,i,a,o,l),r(a)},Xq=function(t,n,r,i,o){var a=t.type,l=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Oa(n,a)&&!t.required)return r();jr.required(t,n,i,l,o,a),Oa(n,a)||jr.type(t,n,i,l,o)}r(l)},Cvt=function(t,n,r,i,o){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Oa(n)&&!t.required)return r();jr.required(t,n,i,a,o)}r(a)},k9={string:avt,method:lvt,number:svt,boolean:cvt,regexp:uvt,integer:dvt,float:fvt,array:pvt,object:hvt,enum:mvt,pattern:vvt,date:yvt,url:Xq,hex:Xq,email:Xq,required:bvt,any:Cvt};function FZ(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var HZ=FZ(),O$=function(){function e(n){this.rules=null,this._messages=HZ,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=fhe(FZ(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var l=r,s=i,u=o;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(g){var m=[],v={};function y(C){if(Array.isArray(C)){var x;m=(x=m).concat.apply(x,C)}else m.push(C)}for(var b=0;b2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return gje(t,r,n)})}function gje(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function Ovt(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||bn(e)!=="object"||bn(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return vt(i).every(function(o){var a=e[o],l=t[o];return typeof a=="function"&&typeof l=="function"?!0:a===l})}function Evt(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&bn(t.target)==="object"&&e in t.target?t.target[e]:t}function vhe(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat(vt(e.slice(0,n)),[i],vt(e.slice(n,t)),vt(e.slice(t+1,r))):o<0?[].concat(vt(e.slice(0,t)),vt(e.slice(t+1,n+1)),[i],vt(e.slice(n+1,r))):e}var $vt=["name"],Lc=[];function yhe(e,t,n,r,i,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var sre=function(e){ua(n,e);var t=ul(n);function n(r){var i;if(Yr(this,n),i=t.call(this,r),ue(St(i),"state",{resetCount:0}),ue(St(i),"cancelRegisterFunc",null),ue(St(i),"mounted",!1),ue(St(i),"touched",!1),ue(St(i),"dirty",!1),ue(St(i),"validatePromise",void 0),ue(St(i),"prevValidating",void 0),ue(St(i),"errors",Lc),ue(St(i),"warnings",Lc),ue(St(i),"cancelRegister",function(){var s=i.props,u=s.preserve,c=s.isListField,f=s.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(c,u,zo(f)),i.cancelRegisterFunc=null}),ue(St(i),"getNamePath",function(){var s=i.props,u=s.name,c=s.fieldContext,f=c.prefixName,h=f===void 0?[]:f;return u!==void 0?[].concat(vt(h),vt(u)):[]}),ue(St(i),"getRules",function(){var s=i.props,u=s.rules,c=u===void 0?[]:u,f=s.fieldContext;return c.map(function(h){return typeof h=="function"?h(f):h})}),ue(St(i),"refresh",function(){i.mounted&&i.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),ue(St(i),"metaCache",null),ue(St(i),"triggerMetaEvent",function(s){var u=i.props.onMetaChange;if(u){var c=fe(fe({},i.getMeta()),{},{destroy:s});Cc(i.metaCache,c)||u(c),i.metaCache=c}else i.metaCache=null}),ue(St(i),"onStoreChange",function(s,u,c){var f=i.props,h=f.shouldUpdate,d=f.dependencies,p=d===void 0?[]:d,g=f.onReset,m=c.store,v=i.getNamePath(),y=i.getValue(s),b=i.getValue(m),C=u&&E3(u,v);switch(c.type==="valueUpdate"&&c.source==="external"&&y!==b&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent()),c.type){case"reset":if(!u||C){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(h){i.reRender();return}break}case"setField":{var x=c.data;if(C){"touched"in x&&(i.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(i.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(i.errors=x.errors||Lc),"warnings"in x&&(i.warnings=x.warnings||Lc),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in x&&E3(u,v,!0)){i.reRender();return}if(h&&!v.length&&yhe(h,s,m,y,b,c)){i.reRender();return}break}case"dependenciesUpdate":{var S=p.map(zo);if(S.some(function(w){return E3(c.relatedFields,w)})){i.reRender();return}break}default:if(C||(!p.length||v.length||h)&&yhe(h,s,m,y,b,c)){i.reRender();return}break}h===!0&&i.reRender()}),ue(St(i),"validateRules",function(s){var u=i.getNamePath(),c=i.getValue(),f=s||{},h=f.triggerName,d=f.validateOnly,p=d===void 0?!1:d,g=Promise.resolve().then(M0(al().mark(function m(){var v,y,b,C,x,S,w;return al().wrap(function($){for(;;)switch($.prev=$.next){case 0:if(i.mounted){$.next=2;break}return $.abrupt("return",[]);case 2:if(v=i.props,y=v.validateFirst,b=y===void 0?!1:y,C=v.messageVariables,x=v.validateDebounce,S=i.getRules(),h&&(S=S.filter(function(P){return P}).filter(function(P){var T=P.validateTrigger;if(!T)return!0;var R=DZ(T);return R.includes(h)})),!(x&&h)){$.next=10;break}return $.next=8,new Promise(function(P){setTimeout(P,x)});case 8:if(i.validatePromise===g){$.next=10;break}return $.abrupt("return",[]);case 10:return w=xvt(u,c,S,s,b,C),w.catch(function(P){return P}).then(function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Lc;if(i.validatePromise===g){var T;i.validatePromise=null;var R=[],M=[];(T=P.forEach)===null||T===void 0||T.call(P,function(A){var N=A.rule.warningOnly,j=A.errors,D=j===void 0?Lc:j;N?M.push.apply(M,vt(D)):R.push.apply(R,vt(D))}),i.errors=R,i.warnings=M,i.triggerMetaEvent(),i.reRender()}}),$.abrupt("return",w);case 13:case"end":return $.stop()}},m)})));return p||(i.validatePromise=g,i.dirty=!0,i.errors=Lc,i.warnings=Lc,i.triggerMetaEvent(),i.reRender()),g}),ue(St(i),"isFieldValidating",function(){return!!i.validatePromise}),ue(St(i),"isFieldTouched",function(){return i.touched}),ue(St(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var s=i.props.fieldContext,u=s.getInternalHooks(xv),c=u.getInitialValue;return c(i.getNamePath())!==void 0}),ue(St(i),"getErrors",function(){return i.errors}),ue(St(i),"getWarnings",function(){return i.warnings}),ue(St(i),"isListField",function(){return i.props.isListField}),ue(St(i),"isList",function(){return i.props.isList}),ue(St(i),"isPreserve",function(){return i.props.preserve}),ue(St(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var s={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return s}),ue(St(i),"getOnlyChild",function(s){if(typeof s=="function"){var u=i.getMeta();return fe(fe({},i.getOnlyChild(s(i.getControlled(),u,i.props.fieldContext))),{},{isFunction:!0})}var c=Wo(s);return c.length!==1||!_.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),ue(St(i),"getValue",function(s){var u=i.props.fieldContext.getFieldsValue,c=i.getNamePath();return _s(s||u(!0),c)}),ue(St(i),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=i.props,c=u.trigger,f=u.validateTrigger,h=u.getValueFromEvent,d=u.normalize,p=u.valuePropName,g=u.getValueProps,m=u.fieldContext,v=f!==void 0?f:m.validateTrigger,y=i.getNamePath(),b=m.getInternalHooks,C=m.getFieldsValue,x=b(xv),S=x.dispatch,w=i.getValue(),O=g||function(R){return ue({},p,R)},$=s[c],P=fe(fe({},s),O(w));P[c]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var R,M=arguments.length,A=new Array(M),N=0;N=0&&P<=T.length?(c.keys=[].concat(vt(c.keys.slice(0,P)),[c.id],vt(c.keys.slice(P))),b([].concat(vt(T.slice(0,P)),[$],vt(T.slice(P))))):(c.keys=[].concat(vt(c.keys),[c.id]),b([].concat(vt(T),[$]))),c.id+=1},remove:function($){var P=x(),T=new Set(Array.isArray($)?$:[$]);T.size<=0||(c.keys=c.keys.filter(function(R,M){return!T.has(M)}),b(P.filter(function(R,M){return!T.has(M)})))},move:function($,P){if($!==P){var T=x();$<0||$>=T.length||P<0||P>=T.length||(c.keys=vhe(c.keys,$,P),b(vhe(T,$,P)))}}},w=y||[];return Array.isArray(w)||(w=[]),r(w.map(function(O,$){var P=c.keys[$];return P===void 0&&(c.keys[$]=c.id,P=c.keys[$],c.id+=1),{name:$,key:P,isListField:!0}}),S,m)})))}function Pvt(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,o){e.forEach(function(a,l){a.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}var mje="__@field_split__";function Yq(e){return e.map(function(t){return"".concat(bn(t),":").concat(t)}).join(mje)}var Bb=function(){function e(){Yr(this,e),ue(this,"kvs",new Map)}return Zr(e,[{key:"set",value:function(n,r){this.kvs.set(Yq(n),r)}},{key:"get",value:function(n){return this.kvs.get(Yq(n))}},{key:"update",value:function(n,r){var i=this.get(n),o=r(i);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Yq(n))}},{key:"map",value:function(n){return vt(this.kvs.entries()).map(function(r){var i=Me(r,2),o=i[0],a=i[1],l=o.split(mje);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),c=Me(u,3),f=c[1],h=c[2];return f==="number"?Number(h):h}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,o=r.value;return n[i.join(".")]=o,null}),n}}]),e}(),Tvt=["name"],Mvt=Zr(function e(t){var n=this;Yr(this,e),ue(this,"formHooked",!1),ue(this,"forceRootUpdate",void 0),ue(this,"subscribable",!0),ue(this,"store",{}),ue(this,"fieldEntities",[]),ue(this,"initialValues",{}),ue(this,"callbacks",{}),ue(this,"validateMessages",null),ue(this,"preserve",null),ue(this,"lastValidatePromise",null),ue(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ue(this,"getInternalHooks",function(r){return r===xv?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Dr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ue(this,"useSubscribe",function(r){n.subscribable=r}),ue(this,"prevWithoutPreserves",null),ue(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var o,a=J2(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(l){var s=l.key;a=Yc(a,s,_s(r,s))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),ue(this,"destroyForm",function(){var r=new Bb;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||r.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=r}),ue(this,"getInitialValue",function(r){var i=_s(n.initialValues,r);return r.length?J2(i):i}),ue(this,"setCallbacks",function(r){n.callbacks=r}),ue(this,"setValidateMessages",function(r){n.validateMessages=r}),ue(this,"setPreserve",function(r){n.preserve=r}),ue(this,"watchList",[]),ue(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ue(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(i,o,r)})}}),ue(this,"timeoutId",null),ue(this,"warningUnhooked",function(){}),ue(this,"updateStore",function(r){n.store=r}),ue(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ue(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new Bb;return n.getFieldEntities(r).forEach(function(o){var a=o.getNamePath();i.set(a,o)}),i}),ue(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(o){var a=zo(o);return i.get(a)||{INVALIDATE_NAME_PATH:zo(o)}})}),ue(this,"getFieldsValue",function(r,i){n.warningUnhooked();var o,a,l;if(r===!0||Array.isArray(r)?(o=r,a=i):r&&bn(r)==="object"&&(l=r.strict,a=r.filter),o===!0&&!a)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),u=[];return s.forEach(function(c){var f,h,d="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(l){var p,g;if((p=(g=c).isList)!==null&&p!==void 0&&p.call(g))return}else if(!o&&(f=(h=c).isListField)!==null&&f!==void 0&&f.call(h))return;if(!a)u.push(d);else{var m="getMeta"in c?c.getMeta():null;a(m)&&u.push(d)}}),mhe(n.store,u.map(zo))}),ue(this,"getFieldValue",function(r){n.warningUnhooked();var i=zo(r);return _s(n.store,i)}),ue(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(o,a){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:zo(r[a]),errors:[],warnings:[]}})}),ue(this,"getFieldError",function(r){n.warningUnhooked();var i=zo(r),o=n.getFieldsError([i])[0];return o.errors}),ue(this,"getFieldWarning",function(r){n.warningUnhooked();var i=zo(r),o=n.getFieldsError([i])[0];return o.warnings}),ue(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},i=new Bb,o=n.getFieldEntities(!0);o.forEach(function(s){var u=s.props.initialValue,c=s.getNamePath();if(u!==void 0){var f=i.get(c)||new Set;f.add({entity:s,value:u}),i.set(c,f)}});var a=function(u){u.forEach(function(c){var f=c.props.initialValue;if(f!==void 0){var h=c.getNamePath(),d=n.getInitialValue(h);if(d!==void 0)Dr(!1,"Form already set 'initialValues' with path '".concat(h.join("."),"'. Field can not overwrite it."));else{var p=i.get(h);if(p&&p.size>1)Dr(!1,"Multiple Field with path '".concat(h.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(p){var g=n.getFieldValue(h),m=c.isListField();!m&&(!r.skipExist||g===void 0)&&n.updateStore(Yc(n.store,h,vt(p)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=i.get(s);if(u){var c;(c=l).push.apply(c,vt(vt(u).map(function(f){return f.entity})))}})):l=o,a(l)}),ue(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(J2(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(zo);o.forEach(function(a){var l=n.getInitialValue(a);n.updateStore(Yc(n.store,a,l))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(i,o,{type:"reset"}),n.notifyWatch(o)}),ue(this,"setFields",function(r){n.warningUnhooked();var i=n.store,o=[];r.forEach(function(a){var l=a.name,s=an(a,Tvt),u=zo(l);o.push(u),"value"in s&&n.updateStore(Yc(n.store,u,s.value)),n.notifyObservers(i,[u],{type:"setField",data:a})}),n.notifyWatch(o)}),ue(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(o){var a=o.getNamePath(),l=o.getMeta(),s=fe(fe({},l),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return i}),ue(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var o=r.getNamePath(),a=_s(n.store,o);a===void 0&&n.updateStore(Yc(n.store,o,i))}}),ue(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),ue(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(l)&&(!a||s.length>1)){var u=a?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==u&&n.fieldEntities.every(function(f){return!gje(f.getNamePath(),i)})){var c=n.store;n.updateStore(Yc(c,i,u,!0)),n.notifyObservers(c,[i],{type:"remove"}),n.triggerDependenciesUpdate(c,i)}}n.notifyWatch([i])}}),ue(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,o=r.value;n.updateValue(i,o);break}case"validateField":{var a=r.namePath,l=r.triggerName;n.validateFields([a],{triggerName:l});break}}}),ue(this,"notifyObservers",function(r,i,o){if(n.subscribable){var a=fe(fe({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,i,a)})}else n.forceRootUpdate()}),ue(this,"triggerDependenciesUpdate",function(r,i){var o=n.getDependencyChildrenFields(i);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[i].concat(vt(o))}),o}),ue(this,"updateValue",function(r,i){var o=zo(r),a=n.store;n.updateStore(Yc(n.store,o,i)),n.notifyObservers(a,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var l=n.triggerDependenciesUpdate(a,o),s=n.callbacks.onValuesChange;if(s){var u=mhe(n.store,[o]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(vt(l)))}),ue(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var o=J2(n.store,r);n.updateStore(o)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),ue(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i}])}),ue(this,"getDependencyChildrenFields",function(r){var i=new Set,o=[],a=new Bb;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(c){var f=zo(c);a.update(f,function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return h.add(s),h})})});var l=function s(u){var c=a.get(u)||new Set;c.forEach(function(f){if(!i.has(f)){i.add(f);var h=f.getNamePath();f.isFieldDirty()&&h.length&&(o.push(h),s(h))}})};return l(r),o}),ue(this,"triggerOnFieldsChange",function(r,i){var o=n.callbacks.onFieldsChange;if(o){var a=n.getFields();if(i){var l=new Bb;i.forEach(function(u){var c=u.name,f=u.errors;l.set(c,f)}),a.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=a.filter(function(u){var c=u.name;return E3(r,c)});s.length&&o(s,a)}}),ue(this,"validateFields",function(r,i){n.warningUnhooked();var o,a;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(o=r,a=i):a=r;var l=!!o,s=l?o.map(zo):[],u=[],c=String(Date.now()),f=new Set,h=a||{},d=h.recursive,p=h.dirty;n.getFieldEntities(!0).forEach(function(y){if(l||s.push(y.getNamePath()),!(!y.props.rules||!y.props.rules.length)&&!(p&&!y.isFieldDirty())){var b=y.getNamePath();if(f.add(b.join(c)),!l||E3(s,b,d)){var C=y.validateRules(fe({validateMessages:fe(fe({},hje),n.validateMessages)},a));u.push(C.then(function(){return{name:b,errors:[],warnings:[]}}).catch(function(x){var S,w=[],O=[];return(S=x.forEach)===null||S===void 0||S.call(x,function($){var P=$.rule.warningOnly,T=$.errors;P?O.push.apply(O,vt(T)):w.push.apply(w,vt(T))}),w.length?Promise.reject({name:b,errors:w,warnings:O}):{name:b,errors:w,warnings:O}}))}}});var g=Pvt(u);n.lastValidatePromise=g,g.catch(function(y){return y}).then(function(y){var b=y.map(function(C){var x=C.name;return x});n.notifyObservers(n.store,b,{type:"validateFinish"}),n.triggerOnFieldsChange(b,y)});var m=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(y){var b=y.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:b,outOfDate:n.lastValidatePromise!==g})});m.catch(function(y){return y});var v=s.filter(function(y){return f.has(y.join(c))});return n.triggerOnFieldsChange(v),m}),ue(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(o){console.error(o)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function Vz(e){var t=_.useRef(),n=_.useState({}),r=Me(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){i({})},a=new Mvt(o);t.current=a.getForm()}return[t.current]}var GZ=_.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ure=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,o=t.children,a=_.useContext(GZ),l=_.useRef({});return _.createElement(GZ.Provider,{value:fe(fe({},a),{},{validateMessages:fe(fe({},a.validateMessages),n),triggerFormChange:function(u,c){r&&r(u,{changedFields:c,forms:l.current}),a.triggerFormChange(u,c)},triggerFormFinish:function(u,c){i&&i(u,{values:c,forms:l.current}),a.triggerFormFinish(u,c)},registerForm:function(u,c){u&&(l.current=fe(fe({},l.current),{},ue({},u,c))),a.registerForm(u,c)},unregisterForm:function(u){var c=fe({},l.current);delete c[u],l.current=c,a.unregisterForm(u)}})},o)},Rvt=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Ivt=function(t,n){var r=t.name,i=t.initialValues,o=t.fields,a=t.form,l=t.preserve,s=t.children,u=t.component,c=u===void 0?"form":u,f=t.validateMessages,h=t.validateTrigger,d=h===void 0?"onChange":h,p=t.onValuesChange,g=t.onFieldsChange,m=t.onFinish,v=t.onFinishFailed,y=an(t,Rvt),b=_.useContext(GZ),C=Vz(a),x=Me(C,1),S=x[0],w=S.getInternalHooks(xv),O=w.useSubscribe,$=w.setInitialValues,P=w.setCallbacks,T=w.setValidateMessages,R=w.setPreserve,M=w.destroyForm;_.useImperativeHandle(n,function(){return S}),_.useEffect(function(){return b.registerForm(r,S),function(){b.unregisterForm(r)}},[b,S,r]),T(fe(fe({},b.validateMessages),f)),P({onValuesChange:p,onFieldsChange:function(q){if(b.triggerFormChange(r,q),g){for(var W=arguments.length,U=new Array(W>1?W-1:0),K=1;K{}}),vje=_.createContext(null),yje=e=>{const t=bi(e,["prefixCls"]);return _.createElement(ure,Object.assign({},t))},fre=_.createContext({prefixCls:""}),la=_.createContext({}),c4=e=>{let{children:t,status:n,override:r}=e;const i=_.useContext(la),o=_.useMemo(()=>{const a=Object.assign({},i);return r&&delete a.isFormItemInput,n&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[n,r,i]);return _.createElement(la.Provider,{value:o},t)},bje=_.createContext(void 0);function Che(){}const kvt=_.createContext({add:Che,remove:Che});function jvt(e){const t=_.useContext(kvt),n=_.useRef();return ir(i=>{if(i){const o=e?i.querySelector(e):i;t.add(o),n.current=o}else t.remove(n.current)})}const Dvt=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=_.useContext(w$);return Se.createElement(Ei,Object.assign({onClick:n},e),t)},She=Dvt,Lvt=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=_.useContext(w$);return Se.createElement(Ei,Object.assign({},tre(n),{loading:e,onClick:i},t),r)},xhe=Lvt;function Cje(e,t){return Se.createElement("span",{className:`${e}-close-x`},t||Se.createElement(Ic,{className:`${e}-close-icon`}))}const Sje=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:i,onOk:o,onCancel:a,okButtonProps:l,cancelButtonProps:s,footer:u}=e,[c]=xu("Modal",XAe()),f=t||(c==null?void 0:c.okText),h=r||(c==null?void 0:c.cancelText),d={confirmLoading:i,okButtonProps:l,cancelButtonProps:s,okTextLocale:f,cancelTextLocale:h,okType:n,onOk:o,onCancel:a},p=Se.useMemo(()=>d,vt(Object.values(d)));let g;return typeof u=="function"||typeof u>"u"?(g=Se.createElement(Se.Fragment,null,Se.createElement(She,null),Se.createElement(xhe,null)),typeof u=="function"&&(g=u(g,{OkBtn:xhe,CancelBtn:She})),g=Se.createElement(lje,{value:p},g)):g=u,Se.createElement(Vne,{disabled:!1},g)},zvt=e=>({animationDuration:e,animationFillMode:"both"}),Bvt=e=>({animationDuration:e,animationFillMode:"both"}),Uz=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${o}${e}-enter, ${o}${e}-appear `]:Object.assign(Object.assign({},zvt(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},Bvt(r)),{animationPlayState:"paused"}),[` ${o}${e}-enter${e}-enter-active, ${o}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Fvt=new lr("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Hvt=new lr("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),dre=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[Vz(r,Fvt,Hvt,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Fvt=new lr("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Hvt=new lr("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),pre=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[Uz(r,Fvt,Hvt,e.motionDurationMid,t),{[` ${i}${r}-enter, ${i}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},Wvt=new lr("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qvt=new lr("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Vvt=new lr("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Uvt=new lr("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Gvt=new lr("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Kvt=new lr("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Xvt=new lr("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Yvt=new lr("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Zvt={"move-up":{inKeyframes:Xvt,outKeyframes:Yvt},"move-down":{inKeyframes:Wvt,outKeyframes:qvt},"move-left":{inKeyframes:Vvt,outKeyframes:Uvt},"move-right":{inKeyframes:Gvt,outKeyframes:Kvt}},u4=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=Zvt[t];return[Vz(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},Wvt=new lr("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qvt=new lr("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Vvt=new lr("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Uvt=new lr("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Gvt=new lr("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Kvt=new lr("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Xvt=new lr("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Yvt=new lr("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Zvt={"move-up":{inKeyframes:Xvt,outKeyframes:Yvt},"move-down":{inKeyframes:Wvt,outKeyframes:qvt},"move-left":{inKeyframes:Vvt,outKeyframes:Uvt},"move-right":{inKeyframes:Gvt,outKeyframes:Kvt}},u4=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=Zvt[t];return[Uz(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Uz=new lr("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Gz=new lr("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Kz=new lr("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Xz=new lr("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Qvt=new lr("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Jvt=new lr("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),eyt=new lr("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),tyt=new lr("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),nyt={"slide-up":{inKeyframes:Uz,outKeyframes:Gz},"slide-down":{inKeyframes:Kz,outKeyframes:Xz},"slide-left":{inKeyframes:Qvt,outKeyframes:Jvt},"slide-right":{inKeyframes:eyt,outKeyframes:tyt}},kf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=nyt[t];return[Vz(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Gz=new lr("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Kz=new lr("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Xz=new lr("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Yz=new lr("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Qvt=new lr("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Jvt=new lr("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),eyt=new lr("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),tyt=new lr("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),nyt={"slide-up":{inKeyframes:Gz,outKeyframes:Kz},"slide-down":{inKeyframes:Xz,outKeyframes:Yz},"slide-left":{inKeyframes:Qvt,outKeyframes:Jvt},"slide-right":{inKeyframes:eyt,outKeyframes:tyt}},kf=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=nyt[t];return[Uz(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},fre=new lr("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ryt=new lr("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),_he=new lr("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),whe=new lr("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),iyt=new lr("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),oyt=new lr("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),ayt=new lr("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),lyt=new lr("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),syt=new lr("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),cyt=new lr("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),uyt=new lr("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),dyt=new lr("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),fyt={zoom:{inKeyframes:fre,outKeyframes:ryt},"zoom-big":{inKeyframes:_he,outKeyframes:whe},"zoom-big-fast":{inKeyframes:_he,outKeyframes:whe},"zoom-left":{inKeyframes:ayt,outKeyframes:lyt},"zoom-right":{inKeyframes:syt,outKeyframes:cyt},"zoom-up":{inKeyframes:iyt,outKeyframes:oyt},"zoom-down":{inKeyframes:uyt,outKeyframes:dyt}},dC=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=fyt[t];return[Vz(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},hre=new lr("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ryt=new lr("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),_he=new lr("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),whe=new lr("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),iyt=new lr("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),oyt=new lr("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),ayt=new lr("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),lyt=new lr("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),syt=new lr("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),cyt=new lr("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),uyt=new lr("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),dyt=new lr("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),fyt={zoom:{inKeyframes:hre,outKeyframes:ryt},"zoom-big":{inKeyframes:_he,outKeyframes:whe},"zoom-big-fast":{inKeyframes:_he,outKeyframes:whe},"zoom-left":{inKeyframes:ayt,outKeyframes:lyt},"zoom-right":{inKeyframes:syt,outKeyframes:cyt},"zoom-up":{inKeyframes:iyt,outKeyframes:oyt},"zoom-down":{inKeyframes:uyt,outKeyframes:dyt}},dC=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=fyt[t];return[Uz(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},pyt=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),O$=pyt;function Ohe(e){return{position:e,inset:0}}const xje=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Ohe("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Ohe("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:dre(e)}]},hyt=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${xe(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},sr(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${xe(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${xe(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},dh(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),E$=pyt;function Ohe(e){return{position:e,inset:0}}const xje=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Ohe("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Ohe("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:pre(e)}]},hyt=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${xe(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},sr(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${xe(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${xe(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},dh(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},gyt=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},_je=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Wn(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},wje=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${xe(e.paddingMD)} ${xe(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${xe(e.padding)} ${xe(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${xe(e.paddingXS)} ${xe(e.padding)}`:0,footerBorderTop:e.wireframe?`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${xe(e.padding*2)} ${xe(e.padding*2)} ${xe(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),Oje=vr("Modal",e=>{const t=_je(e);return[hyt(t),gyt(t),xje(t),dC(t,"zoom")]},wje,{unitless:{titleLineHeight:!0}});var myt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{GZ={x:e.pageX,y:e.pageY},setTimeout(()=>{GZ=null},100)};Fmt()&&document.documentElement.addEventListener("click",vyt,!0);const yyt=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:i,modal:o}=_.useContext(on),a=V=>{const{onCancel:W}=e;W==null||W(V)},l=V=>{const{onOk:W}=e;W==null||W(V)},{prefixCls:s,className:u,rootClassName:c,open:f,wrapClassName:h,centered:d,getContainer:p,closeIcon:g,closable:m,focusTriggerAfterClose:v=!0,style:y,visible:b,width:C=520,footer:x,classNames:S,styles:w}=e,O=myt(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),$=r("modal",s),P=r(),T=di($),[R,M,A]=Oje($,T),N=Re(h,{[`${$}-centered`]:!!d,[`${$}-wrap-rtl`]:i==="rtl"}),k=x!==null&&_.createElement(Sje,Object.assign({},e,{onOk:l,onCancel:a})),[D,L]=dje(m,typeof g<"u"?g:o==null?void 0:o.closeIcon,V=>Cje($,V),_.createElement(Ic,{className:`${$}-close-icon`}),!0),B=jvt(`.${$}-content`),[j,z]=Hf("Modal",O.zIndex);return R(_.createElement(fh,null,_.createElement(c4,{status:!0,override:!0},_.createElement(jz.Provider,{value:z},_.createElement(Hz,Object.assign({width:C},O,{zIndex:j,getContainer:p===void 0?n:p,prefixCls:$,rootClassName:Re(M,c,A,T),footer:k,visible:f??b,mousePosition:(t=O.mousePosition)!==null&&t!==void 0?t:GZ,onClose:a,closable:D,closeIcon:L,focusTriggerAfterClose:v,transitionName:As(P,"zoom",e.transitionName),maskTransitionName:As(P,"fade",e.maskTransitionName),className:Re(M,u,o==null?void 0:o.className),style:Object.assign(Object.assign({},o==null?void 0:o.style),y),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),S),{wrapper:Re(N,S==null?void 0:S.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),w),panelRef:B}))))))},Eje=yyt,byt=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:o,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:u}=e,c=`${t}-confirm`;return{[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:Object.assign({},Od()),[`&${t} ${t}-body`]:{padding:u},[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(i).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${xe(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${c}-content`]:{color:e.colorText,fontSize:o,lineHeight:a},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls}, - ${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Cyt=Ry(["Modal","confirm"],e=>{const t=_je(e);return[byt(t)]},wje,{order:-1e3});var Syt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iy,vt(Object.values(y))),C=_.createElement(_.Fragment,null,_.createElement(Zpe,null),_.createElement(Qpe,null)),x=e.title!==void 0&&e.title!==null,S=`${o}-body`;return _.createElement("div",{className:`${o}-body-wrapper`},_.createElement("div",{className:Re(S,{[`${S}-has-title`]:x})},f,_.createElement("div",{className:`${o}-paragraph`},x&&_.createElement("span",{className:`${o}-title`},e.title),_.createElement("div",{className:`${o}-content`},e.content))),s===void 0||typeof s=="function"?_.createElement(lje,{value:b},_.createElement("div",{className:`${o}-btns`},typeof s=="function"?s(C,{OkBtn:Qpe,CancelBtn:Zpe}):C)):s,_.createElement(Cyt,{prefixCls:t}))}const xyt=e=>{const{close:t,zIndex:n,afterClose:r,open:i,keyboard:o,centered:a,getContainer:l,maskStyle:s,direction:u,prefixCls:c,wrapClassName:f,rootPrefixCls:h,bodyStyle:d,closable:p=!1,closeIcon:g,modalRender:m,focusTriggerAfterClose:v,onConfirm:y,styles:b}=e,C=`${c}-confirm`,x=e.width||416,S=e.style||{},w=e.mask===void 0?!0:e.mask,O=e.maskClosable===void 0?!1:e.maskClosable,$=Re(C,`${C}-${e.type}`,{[`${C}-rtl`]:u==="rtl"},e.className),[,P]=To(),T=_.useMemo(()=>n!==void 0?n:P.zIndexPopupBase+Dz,[n,P]);return _.createElement(Eje,{prefixCls:c,className:$,wrapClassName:Re({[`${C}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),y==null||y(!1)},open:i,title:"",footer:null,transitionName:As(h||"","zoom",e.transitionName),maskTransitionName:As(h||"","fade",e.maskTransitionName),mask:w,maskClosable:O,style:S,styles:Object.assign({body:d,mask:s},b),width:x,zIndex:T,afterClose:r,keyboard:o,centered:a,getContainer:l,closable:p,closeIcon:g,modalRender:m,focusTriggerAfterClose:v},_.createElement($je,Object.assign({},e,{confirmPrefixCls:C})))},_yt=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return _.createElement(Td,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},_.createElement(xyt,Object.assign({},e)))},Pje=_yt,wv=[];let Tje="";function Mje(){return Tje}const wyt=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:o}=e,a=KAe(),l=_.useContext(on),s=Mje()||l.getPrefixCls(),u=r||`${s}-modal`;let c=i;return c===!1&&(c=void 0),Se.createElement(Pje,Object.assign({},e,{rootPrefixCls:s,prefixCls:u,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:o??l.direction,locale:(n=(t=l.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:a,getContainer:c}))};function E$(e){const t=Kne(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),i;function o(){for(var u=arguments.length,c=new Array(u),f=0;fd&&d.triggerCancel);e.onCancel&&h&&e.onCancel.apply(e,[()=>{}].concat(vt(c.slice(1))));for(let d=0;d{const c=t.getPrefixCls(void 0,Mje()),f=t.getIconPrefixCls(),h=t.getTheme(),d=Se.createElement(wyt,Object.assign({},u));zz(Se.createElement(Td,{prefixCls:c,iconPrefixCls:f,theme:h},t.holderRender?t.holderRender(d):d),n)})}function l(){for(var u=arguments.length,c=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),o.apply(this,c)}}),r.visible&&delete r.visible,a(r)}function s(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),a(r)}return a(r),wv.push(l),{destroy:l,update:s}}function Rje(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Ije(e){return Object.assign(Object.assign({},e),{type:"info"})}function Nje(e){return Object.assign(Object.assign({},e),{type:"success"})}function Aje(e){return Object.assign(Object.assign({},e),{type:"error"})}function kje(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Oyt(e){let{rootPrefixCls:t}=e;Tje=t}var Eyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{afterClose:r,config:i}=e,o=Eyt(e,["afterClose","config"]);const[a,l]=_.useState(!0),[s,u]=_.useState(i),{direction:c,getPrefixCls:f}=_.useContext(on),h=f("modal"),d=f(),p=()=>{var y;r(),(y=s.afterClose)===null||y===void 0||y.call(s)},g=function(){l(!1);for(var y=arguments.length,b=new Array(y),C=0;CS&&S.triggerCancel);s.onCancel&&x&&s.onCancel.apply(s,[()=>{}].concat(vt(b.slice(1))))};_.useImperativeHandle(t,()=>({destroy:g,update:y=>{u(b=>Object.assign(Object.assign({},b),y))}}));const m=(n=s.okCancel)!==null&&n!==void 0?n:s.type==="confirm",[v]=xu("Modal",Sc.Modal);return _.createElement(Pje,Object.assign({prefixCls:h,rootPrefixCls:d},s,{close:g,open:a,afterClose:p,okText:s.okText||(m?v==null?void 0:v.okText:v==null?void 0:v.justOkText),direction:s.direction||c,cancelText:s.cancelText||(v==null?void 0:v.cancelText)},o))},Pyt=_.forwardRef($yt);let Ehe=0;const Tyt=_.memo(_.forwardRef((e,t)=>{const[n,r]=ygt();return _.useImperativeHandle(t,()=>({patchElement:r}),[]),_.createElement(_.Fragment,null,n)}));function Myt(){const e=_.useRef(null),[t,n]=_.useState([]);_.useEffect(()=>{t.length&&(vt(t).forEach(a=>{a()}),n([]))},[t]);const r=_.useCallback(o=>function(l){var s;Ehe+=1;const u=_.createRef();let c;const f=new Promise(m=>{c=m});let h=!1,d;const p=_.createElement(Pyt,{key:`modal-${Ehe}`,config:o(l),ref:u,afterClose:()=>{d==null||d()},isSilent:()=>h,onConfirm:m=>{c(m)}});return d=(s=e.current)===null||s===void 0?void 0:s.patchElement(p),d&&wv.push(d),{destroy:()=>{function m(){var v;(v=u.current)===null||v===void 0||v.destroy()}u.current?m():n(v=>[].concat(vt(v),[m]))},update:m=>{function v(){var y;(y=u.current)===null||y===void 0||y.update(m)}u.current?v():n(y=>[].concat(vt(y),[v]))},then:m=>(h=!0,f.then(m))}},[]);return[_.useMemo(()=>({info:r(Ije),success:r(Nje),error:r(Aje),warning:r(Rje),confirm:r(kje)}),[]),_.createElement(Tyt,{key:"modal-holder",ref:e})]}const Ryt=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,o=new lr("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new lr("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),l=new lr("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),s=new lr("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}}}}},Iyt=Ryt,Nyt=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],Ayt={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},kyt=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[Ayt[t]]:{value:0,_skip_check_:!0}}}}},jyt=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},Dyt=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},jyt(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},Dyt(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},Nyt.map(n=>kyt(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},zyt=Lyt,jje=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:u,colorError:c,colorTextHeading:f,notificationBg:h,notificationPadding:d,notificationMarginEdge:p,fontSize:g,lineHeight:m,width:v,notificationIconSize:y,colorText:b}=e,C=`${n}-notice`;return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:h,borderRadius:a,boxShadow:r,[C]:{padding:d,width:v,maxWidth:`calc(100vw - ${xe(e.calc(p).mul(2).equal())})`,overflow:"hidden",lineHeight:m,wordWrap:"break-word"},[`${n}-close-icon`]:{fontSize:g,cursor:"pointer"},[`${C}-message`]:{marginBottom:e.marginXS,color:f,fontSize:i,lineHeight:e.lineHeightLG},[`${C}-description`]:{fontSize:g,color:b},[`${C}-closable ${C}-message`]:{paddingInlineEnd:e.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:i},[`${C}-with-icon ${C}-description`]:{marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:g},[`${C}-icon`]:{position:"absolute",fontSize:y,lineHeight:1,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:c}},[`${C}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.closeBtnHoverBg}},[`${C}-btn`]:{float:"right",marginTop:e.marginSM}}},Byt=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,a=`${t}-notice`,l=new lr("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:l,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},jje(e))}}]},Dje=e=>({zIndexPopup:e.zIndexPopupBase+Dz+50,width:384,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent}),Lje=e=>{const t=e.paddingMD,n=e.paddingLG;return Wn(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${xe(e.paddingMD)} ${xe(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3})},zje=vr("Notification",e=>{const t=Lje(e);return[Byt(t),Iyt(t),zyt(t)]},Dje),Fyt=Ry(["Notification","PurePanel"],e=>{const t=`${e.componentCls}-notice`,n=Lje(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},jje(n)),{width:n.width,maxWidth:`calc(100vw - ${xe(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},Dje);var Hyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a,role:l="alert"}=e;let s=null;return n?s=_.createElement("span",{className:`${t}-icon`},n):r&&(s=_.createElement(Wyt[r]||null,{className:Re(`${t}-icon`,`${t}-icon-${r}`)})),_.createElement("div",{className:Re({[`${t}-with-icon`]:s}),role:l},s,_.createElement("div",{className:`${t}-message`},i),_.createElement("div",{className:`${t}-description`},o),a&&_.createElement("div",{className:`${t}-btn`},a))},qyt=e=>{const{prefixCls:t,className:n,icon:r,type:i,message:o,description:a,btn:l,closable:s=!0,closeIcon:u,className:c}=e,f=Hyt(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:h}=_.useContext(on),d=t||h("notification"),p=`${d}-notice`,g=di(d),[m,v,y]=zje(d,g);return m(_.createElement("div",{className:Re(`${p}-pure-panel`,v,n,y,g)},_.createElement(Fyt,{prefixCls:d}),_.createElement(kz,Object.assign({},f,{prefixCls:d,eventKey:"pure",duration:null,closable:s,className:Re({notificationClassName:c}),closeIcon:pre(d,u),content:_.createElement(Bje,{prefixCls:p,icon:r,type:i,message:o,description:a,btn:l})}))))},Vyt=qyt;function Uyt(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function Gyt(e){return{motionName:`${e}-fade`}}var Kyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=di(n),[i,o,a]=zje(n,r);return i(Se.createElement(Yne,{classNames:{list:Re(o,a,r)}},t))},Qyt=(e,t)=>{let{prefixCls:n,key:r}=t;return Se.createElement(Zyt,{prefixCls:n,key:r},e)},Jyt=Se.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:i,getContainer:o,maxCount:a,rtl:l,onAllRemoved:s,stack:u,duration:c}=e,{getPrefixCls:f,getPopupContainer:h,notification:d,direction:p}=_.useContext(on),[,g]=To(),m=i||f("notification"),v=S=>Uyt(S,n??$he,r??$he),y=()=>Re({[`${m}-rtl`]:l??p==="rtl"}),b=()=>Gyt(m),[C,x]=Zne({prefixCls:m,style:v,className:y,motion:b,closable:!0,closeIcon:pre(m),duration:c??Xyt,getContainer:()=>(o==null?void 0:o())||(h==null?void 0:h())||document.body,maxCount:a,onAllRemoved:s,renderNotifications:Qyt,stack:u===!1?!1:{threshold:typeof u=="object"?u==null?void 0:u.threshold:void 0,offset:8,gap:g.margin}});return Se.useImperativeHandle(t,()=>Object.assign(Object.assign({},C),{prefixCls:m,notification:d})),x});function Fje(e){const t=Se.useRef(null);return Mh(),[Se.useMemo(()=>{const r=l=>{var s;if(!t.current)return;const{open:u,prefixCls:c,notification:f}=t.current,h=`${c}-notice`,{message:d,description:p,icon:g,type:m,btn:v,className:y,style:b,role:C="alert",closeIcon:x}=l,S=Kyt(l,["message","description","icon","type","btn","className","style","role","closeIcon"]),w=pre(h,typeof x<"u"?x:f==null?void 0:f.closeIcon);return u(Object.assign(Object.assign({placement:(s=e==null?void 0:e.placement)!==null&&s!==void 0?s:Yyt},S),{content:Se.createElement(Bje,{prefixCls:h,icon:g,type:m,message:d,description:p,btn:v,role:C}),className:Re(m&&`${h}-${m}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),b),closeIcon:w,closable:!!w}))},o={open:r,destroy:l=>{var s,u;l!==void 0?(s=t.current)===null||s===void 0||s.close(l):(u=t.current)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(l=>{o[l]=s=>r(Object.assign(Object.assign({},s),{type:l}))}),o},[]),Se.createElement(Jyt,Object.assign({key:"notification-holder"},e,{ref:t}))]}function ebt(e){return Fje(e)}const Hje=Se.createContext({});function Wje(e){return t=>_.createElement(Td,{theme:{token:{motion:!1,zIndexPopupBase:0}}},_.createElement(e,Object.assign({},t)))}const fC=(e,t,n,r)=>Wje(o=>{const{prefixCls:a,style:l}=o,s=_.useRef(null),[u,c]=_.useState(0),[f,h]=_.useState(0),[d,p]=zn(!1,{value:o.open}),{getPrefixCls:g}=_.useContext(on),m=g(t||"select",a);_.useEffect(()=>{if(p(!0),typeof ResizeObserver<"u"){const b=new ResizeObserver(x=>{const S=x[0].target;c(S.offsetHeight+8),h(S.offsetWidth)}),C=setInterval(()=>{var x;const S=n?`.${n(m)}`:`.${m}-dropdown`,w=(x=s.current)===null||x===void 0?void 0:x.querySelector(S);w&&(clearInterval(C),b.observe(w))},10);return()=>{clearInterval(C),b.disconnect()}}},[]);let v=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},l),{margin:0}),open:d,visible:d,getPopupContainer:()=>s.current});r&&(v=r(v));const y={paddingBottom:u,position:"relative",minWidth:f};return _.createElement("div",{ref:s,style:y},_.createElement(e,Object.assign({},v)))}),Yz=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Zz=function(t){var n=t.className,r=t.customizeIcon,i=t.customizeIconProps,o=t.children,a=t.onMouseDown,l=t.onClick,s=typeof r=="function"?r(i):r;return _.createElement("span",{className:n,onMouseDown:function(c){c.preventDefault(),a==null||a(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},s!==void 0?s:_.createElement("span",{className:Re(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},o))},tbt=function(t,n,r,i,o){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,u=Se.useMemo(function(){if(bn(i)==="object")return i.clearIcon;if(o)return o},[i,o]),c=Se.useMemo(function(){return!!(!a&&i&&(r.length||l)&&!(s==="combobox"&&l===""))},[i,a,r.length,l,s]);return{allowClear:c,clearIcon:Se.createElement(Zz,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},qje=_.createContext(null);function Qz(){return _.useContext(qje)}function nbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=_.useState(!1),n=Me(t,2),r=n[0],i=n[1],o=_.useRef(null),a=function(){window.clearTimeout(o.current)};_.useEffect(function(){return a},[]);var l=function(u,c){a(),o.current=window.setTimeout(function(){i(u),c&&c()},e)};return[r,l,a]}function Vje(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=_.useRef(null),n=_.useRef(null);_.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(i){(i||t.current===null)&&(t.current=i),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function rbt(e,t,n,r){var i=_.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},_.useEffect(function(){function o(a){var l;if(!((l=i.current)!==null&&l!==void 0&&l.customizedTrigger)){var s=a.target;s.shadowRoot&&a.composed&&(s=a.composedPath()[0]||s),i.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(s)&&u!==s})&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}var ibt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Fb=void 0;function obt(e,t){var n=e.prefixCls,r=e.invalidate,i=e.item,o=e.renderItem,a=e.responsive,l=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,c=e.className,f=e.style,h=e.children,d=e.display,p=e.order,g=e.component,m=g===void 0?"div":g,v=an(e,ibt),y=a&&!d;function b(O){s(u,O)}_.useEffect(function(){return function(){b(null)}},[]);var C=o&&i!==Fb?o(i):h,x;r||(x={opacity:y?0:1,height:y?0:Fb,overflowY:y?"hidden":Fb,order:a?p:Fb,pointerEvents:y?"none":Fb,position:y?"absolute":Fb});var S={};y&&(S["aria-hidden"]=!0);var w=_.createElement(m,Qe({className:Re(!r&&n,c),style:fe(fe({},x),f)},S,v,{ref:t}),C);return a&&(w=_.createElement(Ba,{onResize:function($){var P=$.offsetWidth;b(P)},disabled:l},w)),w}var k9=_.forwardRef(obt);k9.displayName="Item";function abt(e){if(typeof MessageChannel>"u")rr(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function lbt(){var e=_.useRef(null),t=function(r){e.current||(e.current=[],abt(function(){Ns.unstable_batchedUpdates(function(){e.current.forEach(function(i){i()}),e.current=null})})),e.current.push(r)};return t}function V6(e,t){var n=_.useState(t),r=Me(n,2),i=r[0],o=r[1],a=ir(function(l){e(function(){o(l)})});return[i,a]}var Jj=Se.createContext(null),sbt=["component"],cbt=["className"],ubt=["className"],dbt=function(t,n){var r=_.useContext(Jj);if(!r){var i=t.component,o=i===void 0?"div":i,a=an(t,sbt);return _.createElement(o,Qe({},a,{ref:n}))}var l=r.className,s=an(r,cbt),u=t.className,c=an(t,ubt);return _.createElement(Jj.Provider,{value:null},_.createElement(k9,Qe({ref:n,className:Re(l,u)},s,c)))},Uje=_.forwardRef(dbt);Uje.displayName="RawItem";var fbt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Gje="responsive",Kje="invalidate";function pbt(e){return"+ ".concat(e.length," ...")}function hbt(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,i=e.data,o=i===void 0?[]:i,a=e.renderItem,l=e.renderRawItem,s=e.itemKey,u=e.itemWidth,c=u===void 0?10:u,f=e.ssr,h=e.style,d=e.className,p=e.maxCount,g=e.renderRest,m=e.renderRawRest,v=e.suffix,y=e.component,b=y===void 0?"div":y,C=e.itemComponent,x=e.onVisibleChange,S=an(e,fbt),w=f==="full",O=lbt(),$=V6(O,null),P=Me($,2),T=P[0],R=P[1],M=T||0,A=V6(O,new Map),N=Me(A,2),k=N[0],D=N[1],L=V6(O,0),B=Me(L,2),j=B[0],z=B[1],V=V6(O,0),W=Me(V,2),U=W[0],K=W[1],X=V6(O,0),G=Me(X,2),Y=G[0],J=G[1],ee=_.useState(null),Q=Me(ee,2),te=Q[0],ne=Q[1],re=_.useState(null),oe=Me(re,2),se=oe[0],ye=oe[1],be=_.useMemo(function(){return se===null&&w?Number.MAX_SAFE_INTEGER:se||0},[se,T]),he=_.useState(!1),le=Me(he,2),ve=le[0],ke=le[1],Ie="".concat(r,"-item"),Oe=Math.max(j,U),Pe=p===Gje,_e=o.length&&Pe,ce=p===Kje,Te=_e||typeof p=="number"&&o.length>p,Ne=_.useMemo(function(){var Je=o;return _e?T===null&&w?Je=o:Je=o.slice(0,Math.min(o.length,M/c)):typeof p=="number"&&(Je=o.slice(0,p)),Je},[o,c,T,p,_e]),je=_.useMemo(function(){return _e?o.slice(be+1):o.slice(Ne.length)},[o,Ne,_e,be]),He=_.useCallback(function(Je,bt){var at;return typeof s=="function"?s(Je):(at=s&&(Je==null?void 0:Je[s]))!==null&&at!==void 0?at:bt},[s]),Be=_.useCallback(a||function(Je){return Je},[a]);function qe(Je,bt,at){se===Je&&(bt===void 0||bt===te)||(ye(Je),at||(ke(JeM){qe(et-1,Je-rt-Y+U);break}}v&&Fe(0)+Y>M&&ne(null)}},[M,k,U,Y,He,Ne]);var Ke=ve&&!!je.length,lt={};te!==null&&_e&&(lt={position:"absolute",left:te,top:0});var ft={prefixCls:Ie,responsive:_e,component:C,invalidate:ce},Ye=l?function(Je,bt){var at=He(Je,bt);return _.createElement(Jj.Provider,{key:at,value:fe(fe({},ft),{},{order:bt,item:Je,itemKey:at,registerSize:Ee,display:bt<=be})},l(Je,bt))}:function(Je,bt){var at=He(Je,bt);return _.createElement(k9,Qe({},ft,{order:bt,key:at,item:Je,renderItem:Be,itemKey:at,registerSize:Ee,display:bt<=be}))},we,De={order:Ke?be:Number.MAX_SAFE_INTEGER,className:"".concat(Ie,"-rest"),registerSize:$e,display:Ke};if(m)m&&(we=_.createElement(Jj.Provider,{value:fe(fe({},ft),De)},m(je)));else{var We=g||pbt;we=_.createElement(k9,Qe({},ft,De),typeof We=="function"?We(je):We)}var Ge=_.createElement(b,Qe({className:Re(!ce&&r,d),style:h,ref:t},S),Ne.map(Ye),Te?we:null,v&&_.createElement(k9,Qe({},ft,{responsive:Pe,responsiveDisabled:!_e,order:be,className:"".concat(Ie,"-suffix"),registerSize:Le,display:!0,style:lt}),v));return Pe&&(Ge=_.createElement(Ba,{onResize:me,disabled:!_e},Ge)),Ge}var bd=_.forwardRef(hbt);bd.displayName="Overflow";bd.Item=Uje;bd.RESPONSIVE=Gje;bd.INVALIDATE=Kje;var gbt=function(t,n){var r,i=t.prefixCls,o=t.id,a=t.inputElement,l=t.disabled,s=t.tabIndex,u=t.autoFocus,c=t.autoComplete,f=t.editable,h=t.activeDescendantId,d=t.value,p=t.maxLength,g=t.onKeyDown,m=t.onMouseDown,v=t.onChange,y=t.onPaste,b=t.onCompositionStart,C=t.onCompositionEnd,x=t.open,S=t.attrs,w=a||_.createElement("input",null),O=w,$=O.ref,P=O.props,T=P.onKeyDown,R=P.onChange,M=P.onMouseDown,A=P.onCompositionStart,N=P.onCompositionEnd,k=P.style;return"maxLength"in w.props,w=_.cloneElement(w,fe(fe(fe({type:"search"},P),{},{id:o,ref:cl(n,$),disabled:l,tabIndex:s,autoComplete:c||"off",autoFocus:u,className:Re("".concat(i,"-selection-search-input"),(r=w)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":x?h:void 0},S),{},{value:f?d:"",maxLength:p,readOnly:!f,unselectable:f?null:"on",style:fe(fe({},k),{},{opacity:f?null:0}),onKeyDown:function(L){g(L),T&&T(L)},onMouseDown:function(L){m(L),M&&M(L)},onChange:function(L){v(L),R&&R(L)},onCompositionStart:function(L){b(L),A&&A(L)},onCompositionEnd:function(L){C(L),N&&N(L)},onPaste:y})),w},Xje=_.forwardRef(gbt);function Yje(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var mbt=typeof window<"u"&&window.document&&window.document.documentElement,vbt=mbt;function ybt(e){return e!=null}function bbt(e){return!e&&e!==0}function Phe(e){return["string","number"].includes(bn(e))}function Zje(e){var t=void 0;return e&&(Phe(e.title)?t=e.title.toString():Phe(e.label)&&(t=e.label.toString())),t}function Cbt(e,t){vbt?_.useLayoutEffect(e,t):_.useEffect(e,t)}function Sbt(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var The=function(t){t.preventDefault(),t.stopPropagation()},xbt=function(t){var n=t.id,r=t.prefixCls,i=t.values,o=t.open,a=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,u=t.placeholder,c=t.disabled,f=t.mode,h=t.showSearch,d=t.autoFocus,p=t.autoComplete,g=t.activeDescendantId,m=t.tabIndex,v=t.removeIcon,y=t.maxTagCount,b=t.maxTagTextLength,C=t.maxTagPlaceholder,x=C===void 0?function(ne){return"+ ".concat(ne.length," ...")}:C,S=t.tagRender,w=t.onToggleOpen,O=t.onRemove,$=t.onInputChange,P=t.onInputPaste,T=t.onInputKeyDown,R=t.onInputMouseDown,M=t.onInputCompositionStart,A=t.onInputCompositionEnd,N=_.useRef(null),k=_.useState(0),D=Me(k,2),L=D[0],B=D[1],j=_.useState(!1),z=Me(j,2),V=z[0],W=z[1],U="".concat(r,"-selection"),K=o||f==="multiple"&&l===!1||f==="tags"?a:"",X=f==="tags"||f==="multiple"&&l===!1||h&&(o||V);Cbt(function(){B(N.current.scrollWidth)},[K]);var G=function(re,oe,se,ye,be){return _.createElement("span",{title:Zje(re),className:Re("".concat(U,"-item"),ue({},"".concat(U,"-item-disabled"),se))},_.createElement("span",{className:"".concat(U,"-item-content")},oe),ye&&_.createElement(Zz,{className:"".concat(U,"-item-remove"),onMouseDown:The,onClick:be,customizeIcon:v},"×"))},Y=function(re,oe,se,ye,be){var he=function(ve){The(ve),w(!o)};return _.createElement("span",{onMouseDown:he},S({label:oe,value:re,disabled:se,closable:ye,onClose:be}))},J=function(re){var oe=re.disabled,se=re.label,ye=re.value,be=!c&&!oe,he=se;if(typeof b=="number"&&(typeof se=="string"||typeof se=="number")){var le=String(he);le.length>b&&(he="".concat(le.slice(0,b),"..."))}var ve=function(Ie){Ie&&Ie.stopPropagation(),O(re)};return typeof S=="function"?Y(ye,he,oe,be,ve):G(re,he,oe,be,ve)},ee=function(re){var oe=typeof x=="function"?x(re):x;return G({title:oe},oe,!1)},Q=_.createElement("div",{className:"".concat(U,"-search"),style:{width:L},onFocus:function(){W(!0)},onBlur:function(){W(!1)}},_.createElement(Xje,{ref:s,open:o,prefixCls:r,id:n,inputElement:null,disabled:c,autoFocus:d,autoComplete:p,editable:X,activeDescendantId:g,value:K,onKeyDown:T,onMouseDown:R,onChange:$,onPaste:P,onCompositionStart:M,onCompositionEnd:A,tabIndex:m,attrs:qo(t,!0)}),_.createElement("span",{ref:N,className:"".concat(U,"-search-mirror"),"aria-hidden":!0},K," ")),te=_.createElement(bd,{prefixCls:"".concat(U,"-overflow"),data:i,renderItem:J,renderRest:ee,suffix:Q,itemKey:Sbt,maxCount:y});return _.createElement(_.Fragment,null,te,!i.length&&!K&&_.createElement("span",{className:"".concat(U,"-placeholder")},u))},_bt=function(t){var n=t.inputElement,r=t.prefixCls,i=t.id,o=t.inputRef,a=t.disabled,l=t.autoFocus,s=t.autoComplete,u=t.activeDescendantId,c=t.mode,f=t.open,h=t.values,d=t.placeholder,p=t.tabIndex,g=t.showSearch,m=t.searchValue,v=t.activeValue,y=t.maxLength,b=t.onInputKeyDown,C=t.onInputMouseDown,x=t.onInputChange,S=t.onInputPaste,w=t.onInputCompositionStart,O=t.onInputCompositionEnd,$=t.title,P=_.useState(!1),T=Me(P,2),R=T[0],M=T[1],A=c==="combobox",N=A||g,k=h[0],D=m||"";A&&v&&!R&&(D=v),_.useEffect(function(){A&&M(!1)},[A,v]);var L=c!=="combobox"&&!f&&!g?!1:!!D,B=$===void 0?Zje(k):$,j=_.useMemo(function(){return k?null:_.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},d)},[k,L,d,r]);return _.createElement(_.Fragment,null,_.createElement("span",{className:"".concat(r,"-selection-search")},_.createElement(Xje,{ref:o,prefixCls:r,id:i,open:f,inputElement:n,disabled:a,autoFocus:l,autoComplete:s,editable:N,activeDescendantId:u,value:D,onKeyDown:b,onMouseDown:C,onChange:function(V){M(!0),x(V)},onPaste:S,onCompositionStart:w,onCompositionEnd:O,tabIndex:p,attrs:qo(t,!0),maxLength:A?y:void 0})),!A&&k?_.createElement("span",{className:"".concat(r,"-selection-item"),title:B,style:L?{visibility:"hidden"}:void 0},k.label):null,j)};function wbt(e){return![ht.ESC,ht.SHIFT,ht.BACKSPACE,ht.TAB,ht.WIN_KEY,ht.ALT,ht.META,ht.WIN_KEY_RIGHT,ht.CTRL,ht.SEMICOLON,ht.EQUALS,ht.CAPS_LOCK,ht.CONTEXT_MENU,ht.F1,ht.F2,ht.F3,ht.F4,ht.F5,ht.F6,ht.F7,ht.F8,ht.F9,ht.F10,ht.F11,ht.F12].includes(e)}var Obt=function(t,n){var r=_.useRef(null),i=_.useRef(!1),o=t.prefixCls,a=t.open,l=t.mode,s=t.showSearch,u=t.tokenWithEnter,c=t.autoClearSearchValue,f=t.onSearch,h=t.onSearchSubmit,d=t.onToggleOpen,p=t.onInputKeyDown,g=t.domRef;_.useImperativeHandle(n,function(){return{focus:function(){r.current.focus()},blur:function(){r.current.blur()}}});var m=Vje(0),v=Me(m,2),y=v[0],b=v[1],C=function(D){var L=D.which;(L===ht.UP||L===ht.DOWN)&&D.preventDefault(),p&&p(D),L===ht.ENTER&&l==="tags"&&!i.current&&!a&&(h==null||h(D.target.value)),wbt(L)&&d(!0)},x=function(){b(!0)},S=_.useRef(null),w=function(D){f(D,!0,i.current)!==!1&&d(!0)},O=function(){i.current=!0},$=function(D){i.current=!1,l!=="combobox"&&w(D.target.value)},P=function(D){var L=D.target.value;if(u&&S.current&&/[\r\n]/.test(S.current)){var B=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(B,S.current)}S.current=null,w(L)},T=function(D){var L=D.clipboardData,B=L==null?void 0:L.getData("text");S.current=B||""},R=function(D){var L=D.target;if(L!==r.current){var B=document.body.style.msTouchAction!==void 0;B?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(D){var L=y();D.target!==r.current&&!L&&l!=="combobox"&&D.preventDefault(),(l!=="combobox"&&(!s||!L)||!a)&&(a&&c!==!1&&f("",!0,!1),d())},A={inputRef:r,onInputKeyDown:C,onInputMouseDown:x,onInputChange:P,onInputPaste:T,onInputCompositionStart:O,onInputCompositionEnd:$},N=l==="multiple"||l==="tags"?_.createElement(xbt,Qe({},t,A)):_.createElement(_bt,Qe({},t,A));return _.createElement("div",{ref:g,className:"".concat(o,"-selector"),onClick:R,onMouseDown:M},N)},Ebt=_.forwardRef(Obt);function $bt(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,l=o.content,s=i.x,u=s===void 0?0:s,c=i.y,f=c===void 0?0:c,h=_.useRef();if(!n||!n.points)return null;var d={position:"absolute"};if(n.autoArrow!==!1){var p=n.points[0],g=n.points[1],m=p[0],v=p[1],y=g[0],b=g[1];m===y||!["t","b"].includes(m)?d.top=f:m==="t"?d.top=0:d.bottom=0,v===b||!["l","r"].includes(v)?d.left=u:v==="l"?d.left=0:d.right=0}return _.createElement("div",{ref:h,className:Re("".concat(t,"-arrow"),a),style:d},l)}function Pbt(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?_.createElement(aa,Qe({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var l=a.className;return _.createElement("div",{style:{zIndex:r},className:Re("".concat(t,"-mask"),l)})}):null}var Tbt=_.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),Mbt=_.forwardRef(function(e,t){var n=e.popup,r=e.className,i=e.prefixCls,o=e.style,a=e.target,l=e.onVisibleChanged,s=e.open,u=e.keepDom,c=e.fresh,f=e.onClick,h=e.mask,d=e.arrow,p=e.arrowPos,g=e.align,m=e.motion,v=e.maskMotion,y=e.forceRender,b=e.getPopupContainer,C=e.autoDestroy,x=e.portal,S=e.zIndex,w=e.onMouseEnter,O=e.onMouseLeave,$=e.onPointerEnter,P=e.ready,T=e.offsetX,R=e.offsetY,M=e.offsetR,A=e.offsetB,N=e.onAlign,k=e.onPrepare,D=e.stretch,L=e.targetWidth,B=e.targetHeight,j=typeof n=="function"?n():n,z=s||u,V=(b==null?void 0:b.length)>0,W=_.useState(!b||!V),U=Me(W,2),K=U[0],X=U[1];if(er(function(){!K&&V&&a&&X(!0)},[K,V,a]),!K)return null;var G="auto",Y={left:"-1000vw",top:"-1000vh",right:G,bottom:G};if(P||!s){var J,ee=g.points,Q=g.dynamicInset||((J=g._experimental)===null||J===void 0?void 0:J.dynamicInset),te=Q&&ee[0][1]==="r",ne=Q&&ee[0][0]==="b";te?(Y.right=M,Y.left=G):(Y.left=T,Y.right=G),ne?(Y.bottom=A,Y.top=G):(Y.top=R,Y.bottom=G)}var re={};return D&&(D.includes("height")&&B?re.height=B:D.includes("minHeight")&&B&&(re.minHeight=B),D.includes("width")&&L?re.width=L:D.includes("minWidth")&&L&&(re.minWidth=L)),s||(re.pointerEvents="none"),_.createElement(x,{open:y||z,getContainer:b&&function(){return b(a)},autoDestroy:C},_.createElement(Pbt,{prefixCls:i,open:s,zIndex:S,mask:h,motion:v}),_.createElement(Ba,{onResize:N,disabled:!s},function(oe){return _.createElement(aa,Qe({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:"".concat(i,"-hidden")},m,{onAppearPrepare:k,onEnterPrepare:k,visible:s,onVisibleChanged:function(ye){var be;m==null||(be=m.onVisibleChanged)===null||be===void 0||be.call(m,ye),l(ye)}}),function(se,ye){var be=se.className,he=se.style,le=Re(i,be,r);return _.createElement("div",{ref:cl(oe,t,ye),className:le,style:fe(fe(fe(fe({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},Y),re),he),{},{boxSizing:"border-box",zIndex:S},o),onMouseEnter:w,onMouseLeave:O,onPointerEnter:$,onClick:f},d&&_.createElement($bt,{prefixCls:i,arrow:d,arrowPos:p,align:g}),_.createElement(Tbt,{cache:!s&&!c},j))})}))}),Rbt=_.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=bc(n),o=_.useCallback(function(l){DE(t,r?r(l):l)},[r]),a=Pd(o,n.ref);return i?_.cloneElement(n,{ref:a}):n}),Mhe=_.createContext(null);function Rhe(e){return e?Array.isArray(e)?e:[e]:[]}function Ibt(e,t,n,r){return _.useMemo(function(){var i=Rhe(n??t),o=Rhe(r??t),a=new Set(i),l=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,n,r])}function Nbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Abt(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function U6(e){return GE(parseFloat(e),0)}function Nhe(e,t){var n=fe({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var i=$$(r).getComputedStyle(r),o=i.overflow,a=i.overflowClipMargin,l=i.borderTopWidth,s=i.borderBottomWidth,u=i.borderLeftWidth,c=i.borderRightWidth,f=r.getBoundingClientRect(),h=r.offsetHeight,d=r.clientHeight,p=r.offsetWidth,g=r.clientWidth,m=U6(l),v=U6(s),y=U6(u),b=U6(c),C=GE(Math.round(f.width/p*1e3)/1e3),x=GE(Math.round(f.height/h*1e3)/1e3),S=(p-g-y-b)*C,w=(h-d-m-v)*x,O=m*x,$=v*x,P=y*C,T=b*C,R=0,M=0;if(o==="clip"){var A=U6(a);R=A*C,M=A*x}var N=f.x+P-R,k=f.y+O-M,D=N+f.width+2*R-P-T-S,L=k+f.height+2*M-O-$-w;n.left=Math.max(n.left,N),n.top=Math.max(n.top,k),n.right=Math.min(n.right,D),n.bottom=Math.min(n.bottom,L)}}),n}function Ahe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function khe(e,t){var n=t||[],r=Me(n,2),i=r[0],o=r[1];return[Ahe(e.width,i),Ahe(e.height,o)]}function jhe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Hb(e,t){var n=t[0],r=t[1],i,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?i=e.x:r==="r"?i=e.x+e.width:i=e.x+e.width/2,{x:i,y:o}}function e1(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,i){return i===t?n[r]||"c":r}).join("")}function kbt(e,t,n,r,i,o,a){var l=_.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),s=Me(l,2),u=s[0],c=s[1],f=_.useRef(0),h=_.useMemo(function(){return t?KZ(t):[]},[t]),d=_.useRef({}),p=function(){d.current={}};e||p();var g=ir(function(){if(t&&n&&e){let Yt=function(Zn,$r){var qa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:le,Pa=j.x+Zn,Xo=j.y+$r,fa=Pa+J,Hs=Xo+Y,Ws=Math.max(Pa,qa.left),Z0=Math.max(Xo,qa.top),qh=Math.min(fa,qa.right),Yf=Math.min(Hs,qa.bottom);return Math.max(0,(qh-Ws)*(Yf-Z0))},Mn=function(){Ot=j.y+We,Ct=Ot+Y,mt=j.x+De,It=mt+J};var y,b,C=t,x=C.ownerDocument,S=$$(C),w=S.getComputedStyle(C),O=w.width,$=w.height,P=w.position,T=C.style.left,R=C.style.top,M=C.style.right,A=C.style.bottom,N=C.style.overflow,k=fe(fe({},i[r]),o),D=x.createElement("div");(y=C.parentElement)===null||y===void 0||y.appendChild(D),D.style.left="".concat(C.offsetLeft,"px"),D.style.top="".concat(C.offsetTop,"px"),D.style.position=P,D.style.height="".concat(C.offsetHeight,"px"),D.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto",C.style.overflow="hidden";var L;if(Array.isArray(n))L={x:n[0],y:n[1],width:0,height:0};else{var B=n.getBoundingClientRect();L={x:B.x,y:B.y,width:B.width,height:B.height}}var j=C.getBoundingClientRect(),z=x.documentElement,V=z.clientWidth,W=z.clientHeight,U=z.scrollWidth,K=z.scrollHeight,X=z.scrollTop,G=z.scrollLeft,Y=j.height,J=j.width,ee=L.height,Q=L.width,te={left:0,top:0,right:V,bottom:W},ne={left:-G,top:-X,right:U-G,bottom:K-X},re=k.htmlRegion,oe="visible",se="visibleFirst";re!=="scroll"&&re!==se&&(re=oe);var ye=re===se,be=Nhe(ne,h),he=Nhe(te,h),le=re===oe?he:be,ve=ye?he:le;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var ke=C.getBoundingClientRect();C.style.left=T,C.style.top=R,C.style.right=M,C.style.bottom=A,C.style.overflow=N,(b=C.parentElement)===null||b===void 0||b.removeChild(D);var Ie=GE(Math.round(J/parseFloat(O)*1e3)/1e3),Oe=GE(Math.round(Y/parseFloat($)*1e3)/1e3);if(Ie===0||Oe===0||zj(n)&&!C$(n))return;var Pe=k.offset,_e=k.targetOffset,ce=khe(j,Pe),Te=Me(ce,2),Ne=Te[0],je=Te[1],He=khe(L,_e),Be=Me(He,2),qe=Be[0],me=Be[1];L.x-=qe,L.y-=me;var Ee=k.points||[],$e=Me(Ee,2),Le=$e[0],Fe=$e[1],Ke=jhe(Fe),lt=jhe(Le),ft=Hb(L,Ke),Ye=Hb(j,lt),we=fe({},k),De=ft.x-Ye.x+Ne,We=ft.y-Ye.y+je,Ge=Yt(De,We),Je=Yt(De,We,he),bt=Hb(L,["t","l"]),at=Hb(j,["t","l"]),et=Hb(L,["b","r"]),rt=Hb(j,["b","r"]),Ze=k.overflow||{},wt=Ze.adjustX,ut=Ze.adjustY,ot=Ze.shiftX,dt=Ze.shiftY,_t=function($r){return typeof $r=="boolean"?$r:$r>=0},Ot,Ct,mt,It;Mn();var nt=_t(ut),yt=lt[0]===Ke[0];if(nt&<[0]==="t"&&(Ct>ve.bottom||d.current.bt)){var xt=We;yt?xt-=Y-ee:xt=bt.y-rt.y-je;var At=Yt(De,xt),cn=Yt(De,xt,he);At>Ge||At===Ge&&(!ye||cn>=Je)?(d.current.bt=!0,We=xt,je=-je,we.points=[e1(lt,0),e1(Ke,0)]):d.current.bt=!1}if(nt&<[0]==="b"&&(OtGe||$t===Ge&&(!ye||zt>=Je)?(d.current.tb=!0,We=Ht,je=-je,we.points=[e1(lt,0),e1(Ke,0)]):d.current.tb=!1}var Qt=_t(wt),Pt=lt[1]===Ke[1];if(Qt&<[1]==="l"&&(It>ve.right||d.current.rl)){var ct=De;Pt?ct-=J-Q:ct=bt.x-rt.x-Ne;var Wt=Yt(ct,We),wn=Yt(ct,We,he);Wt>Ge||Wt===Ge&&(!ye||wn>=Je)?(d.current.rl=!0,De=ct,Ne=-Ne,we.points=[e1(lt,1),e1(Ke,1)]):d.current.rl=!1}if(Qt&<[1]==="r"&&(mtGe||gt===Ge&&(!ye||Bt>=Je)?(d.current.lr=!0,De=kt,Ne=-Ne,we.points=[e1(lt,1),e1(Ke,1)]):d.current.lr=!1}Mn();var Nn=ot===!0?0:ot;typeof Nn=="number"&&(mthe.right&&(De-=It-he.right-Ne,L.x>he.right-Nn&&(De+=L.x-he.right+Nn)));var Or=dt===!0?0:dt;typeof Or=="number"&&(Othe.bottom&&(We-=Ct-he.bottom-je,L.y>he.bottom-Or&&(We+=L.y-he.bottom+Or)));var Ar=j.x+De,ei=Ar+J,ar=j.y+We,Sn=ar+Y,pi=L.x,On=pi+Q,En=L.y,en=En+ee,gn=Math.max(Ar,pi),qn=Math.min(ei,On),yr=(gn+qn)/2,mn=yr-Ar,Zt=Math.max(ar,En),nn=Math.min(Sn,en),Dn=(Zt+nn)/2,Xn=Dn-ar;a==null||a(t,we);var ur=ke.right-j.x-(De+j.width),qt=ke.bottom-j.y-(We+j.height);c({ready:!0,offsetX:De/Ie,offsetY:We/Oe,offsetR:ur/Ie,offsetB:qt/Oe,arrowX:mn/Ie,arrowY:Xn/Oe,scaleX:Ie,scaleY:Oe,align:we})}}),m=function(){f.current+=1;var b=f.current;Promise.resolve().then(function(){f.current===b&&g()})},v=function(){c(function(b){return fe(fe({},b),{},{ready:!1})})};return er(v,[r]),er(function(){e||v()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,m]}function jbt(e,t,n,r,i){er(function(){if(e&&t&&n){let f=function(){r(),i()};var o=t,a=n,l=KZ(o),s=KZ(a),u=$$(a),c=new Set([u].concat(vt(l),vt(s)));return c.forEach(function(h){h.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){c.forEach(function(h){h.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function Dbt(e,t,n,r,i,o,a,l){var s=_.useRef(e),u=_.useRef(!1);s.current!==e&&(u.current=!0,s.current=e),_.useEffect(function(){var c=rr(function(){u.current=!1});return function(){rr.cancel(c)}},[e]),_.useEffect(function(){if(t&&r&&(!i||o)){var c=function(){var S=!1,w=function(P){var T=P.target;S=a(T)},O=function(P){var T=P.target;!u.current&&s.current&&!S&&!a(T)&&l(!1)};return[w,O]},f=c(),h=Me(f,2),d=h[0],p=h[1],g=c(),m=Me(g,2),v=m[0],y=m[1],b=$$(r);b.addEventListener("mousedown",d,!0),b.addEventListener("click",p,!0),b.addEventListener("contextmenu",p,!0);var C=Yj(n);return C&&(C.addEventListener("mousedown",v,!0),C.addEventListener("click",y,!0),C.addEventListener("contextmenu",y,!0)),function(){b.removeEventListener("mousedown",d,!0),b.removeEventListener("click",p,!0),b.removeEventListener("contextmenu",p,!0),C&&(C.removeEventListener("mousedown",v,!0),C.removeEventListener("click",y,!0),C.removeEventListener("contextmenu",y,!0))}}},[t,n,r,i,o])}var Lbt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function zbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ny,t=_.forwardRef(function(n,r){var i=n.prefixCls,o=i===void 0?"rc-trigger-popup":i,a=n.children,l=n.action,s=l===void 0?"hover":l,u=n.showAction,c=n.hideAction,f=n.popupVisible,h=n.defaultPopupVisible,d=n.onPopupVisibleChange,p=n.afterPopupVisibleChange,g=n.mouseEnterDelay,m=n.mouseLeaveDelay,v=m===void 0?.1:m,y=n.focusDelay,b=n.blurDelay,C=n.mask,x=n.maskClosable,S=x===void 0?!0:x,w=n.getPopupContainer,O=n.forceRender,$=n.autoDestroy,P=n.destroyPopupOnHide,T=n.popup,R=n.popupClassName,M=n.popupStyle,A=n.popupPlacement,N=n.builtinPlacements,k=N===void 0?{}:N,D=n.popupAlign,L=n.zIndex,B=n.stretch,j=n.getPopupClassNameFromAlign,z=n.fresh,V=n.alignPoint,W=n.onPopupClick,U=n.onPopupAlign,K=n.arrow,X=n.popupMotion,G=n.maskMotion,Y=n.popupTransitionName,J=n.popupAnimation,ee=n.maskTransitionName,Q=n.maskAnimation,te=n.className,ne=n.getTriggerDOMNode,re=an(n,Lbt),oe=$||P||!1,se=_.useState(!1),ye=Me(se,2),be=ye[0],he=ye[1];er(function(){he(Yz())},[]);var le=_.useRef({}),ve=_.useContext(Mhe),ke=_.useMemo(function(){return{registerSubPopup:function(Yn,Ti){le.current[Yn]=Ti,ve==null||ve.registerSubPopup(Yn,Ti)}}},[ve]),Ie=ire(),Oe=_.useState(null),Pe=Me(Oe,2),_e=Pe[0],ce=Pe[1],Te=ir(function(Pn){zj(Pn)&&_e!==Pn&&ce(Pn),ve==null||ve.registerSubPopup(Ie,Pn)}),Ne=_.useState(null),je=Me(Ne,2),He=je[0],Be=je[1],qe=_.useRef(null),me=ir(function(Pn){zj(Pn)&&He!==Pn&&(Be(Pn),qe.current=Pn)}),Ee=_.Children.only(a),$e=(Ee==null?void 0:Ee.props)||{},Le={},Fe=ir(function(Pn){var Yn,Ti,ro=He;return(ro==null?void 0:ro.contains(Pn))||((Yn=Yj(ro))===null||Yn===void 0?void 0:Yn.host)===Pn||Pn===ro||(_e==null?void 0:_e.contains(Pn))||((Ti=Yj(_e))===null||Ti===void 0?void 0:Ti.host)===Pn||Pn===_e||Object.values(le.current).some(function(ai){return(ai==null?void 0:ai.contains(Pn))||Pn===ai})}),Ke=Ihe(o,X,J,Y),lt=Ihe(o,G,Q,ee),ft=_.useState(h||!1),Ye=Me(ft,2),we=Ye[0],De=Ye[1],We=f??we,Ge=ir(function(Pn){f===void 0&&De(Pn)});er(function(){De(f||!1)},[f]);var Je=_.useRef(We);Je.current=We;var bt=_.useRef([]);bt.current=[];var at=ir(function(Pn){var Yn;Ge(Pn),((Yn=bt.current[bt.current.length-1])!==null&&Yn!==void 0?Yn:We)!==Pn&&(bt.current.push(Pn),d==null||d(Pn))}),et=_.useRef(),rt=function(){clearTimeout(et.current)},Ze=function(Yn){var Ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),Ti===0?at(Yn):et.current=setTimeout(function(){at(Yn)},Ti*1e3)};_.useEffect(function(){return rt},[]);var wt=_.useState(!1),ut=Me(wt,2),ot=ut[0],dt=ut[1];er(function(Pn){(!Pn||We)&&dt(!0)},[We]);var _t=_.useState(null),Ot=Me(_t,2),Ct=Ot[0],mt=Ot[1],It=_.useState([0,0]),nt=Me(It,2),yt=nt[0],xt=nt[1],At=function(Yn){xt([Yn.clientX,Yn.clientY])},cn=kbt(We,_e,V?yt:He,A,k,D,U),Ht=Me(cn,11),$t=Ht[0],zt=Ht[1],Qt=Ht[2],Pt=Ht[3],ct=Ht[4],Wt=Ht[5],wn=Ht[6],kt=Ht[7],gt=Ht[8],Bt=Ht[9],Nn=Ht[10],Or=Ibt(be,s,u,c),Ar=Me(Or,2),ei=Ar[0],ar=Ar[1],Sn=ei.has("click"),pi=ar.has("click")||ar.has("contextMenu"),On=ir(function(){ot||Nn()}),En=function(){Je.current&&V&&pi&&Ze(!1)};jbt(We,He,_e,On,En),er(function(){On()},[yt,A]),er(function(){We&&!(k!=null&&k[A])&&On()},[JSON.stringify(D)]);var en=_.useMemo(function(){var Pn=Abt(k,o,Bt,V);return Re(Pn,j==null?void 0:j(Bt))},[Bt,j,k,o,V]);_.useImperativeHandle(r,function(){return{nativeElement:qe.current,forceAlign:On}});var gn=_.useState(0),qn=Me(gn,2),yr=qn[0],mn=qn[1],Zt=_.useState(0),nn=Me(Zt,2),Dn=nn[0],Xn=nn[1],ur=function(){if(B&&He){var Yn=He.getBoundingClientRect();mn(Yn.width),Xn(Yn.height)}},qt=function(){ur(),On()},Yt=function(Yn){dt(!1),Nn(),p==null||p(Yn)},Mn=function(){return new Promise(function(Yn){ur(),mt(function(){return Yn})})};er(function(){Ct&&(Nn(),Ct(),mt(null))},[Ct]);function Zn(Pn,Yn,Ti,ro){Le[Pn]=function(ai){var Ru;ro==null||ro(ai),Ze(Yn,Ti);for(var jc=arguments.length,Q0=new Array(jc>1?jc-1:0),Iu=1;Iu1?Ti-1:0),ai=1;ai1?Ti-1:0),ai=1;ai1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=Qje(n,!1),a=o.label,l=o.value,s=o.options,u=o.groupLabel;function c(f,h){Array.isArray(f)&&f.forEach(function(d){if(h||!(s in d)){var p=d[l];i.push({key:Dhe(d,i.length),groupOption:h,data:d,label:d[a],value:p})}else{var g=d[u];g===void 0&&r&&(g=d.label),i.push({key:Dhe(d,i.length),group:!0,data:d,label:g}),c(d[s],!0)}})}return c(e,!1),i}function XZ(e){var t=fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Dr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Vbt=function(t,n,r){if(!n||!n.length)return null;var i=!1,o=function l(s,u){var c=WAe(u),f=c[0],h=c.slice(1);if(!f)return[s];var d=s.split(f);return i=i||d.length>1,d.reduce(function(p,g){return[].concat(vt(p),vt(l(g,h)))},[]).filter(Boolean)},a=o(t,n);return i?typeof r<"u"?a.slice(0,r):a:null},hre=_.createContext(null),Ubt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Gbt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],YZ=function(t){return t==="tags"||t==="multiple"},Jz=_.forwardRef(function(e,t){var n,r,i=e.id,o=e.prefixCls,a=e.className,l=e.showSearch,s=e.tagRender,u=e.direction,c=e.omitDomProps,f=e.displayValues,h=e.onDisplayValuesChange,d=e.emptyOptions,p=e.notFoundContent,g=p===void 0?"Not Found":p,m=e.onClear,v=e.mode,y=e.disabled,b=e.loading,C=e.getInputElement,x=e.getRawInputElement,S=e.open,w=e.defaultOpen,O=e.onDropdownVisibleChange,$=e.activeValue,P=e.onActiveValueChange,T=e.activeDescendantId,R=e.searchValue,M=e.autoClearSearchValue,A=e.onSearch,N=e.onSearchSplit,k=e.tokenSeparators,D=e.allowClear,L=e.suffixIcon,B=e.clearIcon,j=e.OptionList,z=e.animation,V=e.transitionName,W=e.dropdownStyle,U=e.dropdownClassName,K=e.dropdownMatchSelectWidth,X=e.dropdownRender,G=e.dropdownAlign,Y=e.placement,J=e.builtinPlacements,ee=e.getPopupContainer,Q=e.showAction,te=Q===void 0?[]:Q,ne=e.onFocus,re=e.onBlur,oe=e.onKeyUp,se=e.onKeyDown,ye=e.onMouseDown,be=an(e,Ubt),he=YZ(v),le=(l!==void 0?l:he)||v==="combobox",ve=fe({},be);Gbt.forEach(function(en){delete ve[en]}),c==null||c.forEach(function(en){delete ve[en]});var ke=_.useState(!1),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1];_.useEffect(function(){Pe(Yz())},[]);var _e=_.useRef(null),ce=_.useRef(null),Te=_.useRef(null),Ne=_.useRef(null),je=_.useRef(null),He=_.useRef(!1),Be=nbt(),qe=Me(Be,3),me=qe[0],Ee=qe[1],$e=qe[2];_.useImperativeHandle(t,function(){var en,gn;return{focus:(en=Ne.current)===null||en===void 0?void 0:en.focus,blur:(gn=Ne.current)===null||gn===void 0?void 0:gn.blur,scrollTo:function(yr){var mn;return(mn=je.current)===null||mn===void 0?void 0:mn.scrollTo(yr)}}});var Le=_.useMemo(function(){var en;if(v!=="combobox")return R;var gn=(en=f[0])===null||en===void 0?void 0:en.value;return typeof gn=="string"||typeof gn=="number"?String(gn):""},[R,v,f]),Fe=v==="combobox"&&typeof C=="function"&&C()||null,Ke=typeof x=="function"&&x(),lt=Pd(ce,Ke==null||(n=Ke.props)===null||n===void 0?void 0:n.ref),ft=_.useState(!1),Ye=Me(ft,2),we=Ye[0],De=Ye[1];er(function(){De(!0)},[]);var We=zn(!1,{defaultValue:w,value:S}),Ge=Me(We,2),Je=Ge[0],bt=Ge[1],at=we?Je:!1,et=!g&&d;(y||et&&at&&v==="combobox")&&(at=!1);var rt=et?!1:at,Ze=_.useCallback(function(en){var gn=en!==void 0?en:!at;y||(bt(gn),at!==gn&&(O==null||O(gn)))},[y,at,bt,O]),wt=_.useMemo(function(){return(k||[]).some(function(en){return[` + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},gyt=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},_je=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Wn(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},wje=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${xe(e.paddingMD)} ${xe(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${xe(e.padding)} ${xe(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${xe(e.paddingXS)} ${xe(e.padding)}`:0,footerBorderTop:e.wireframe?`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${xe(e.padding*2)} ${xe(e.padding*2)} ${xe(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),Oje=vr("Modal",e=>{const t=_je(e);return[hyt(t),gyt(t),xje(t),dC(t,"zoom")]},wje,{unitless:{titleLineHeight:!0}});var myt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{KZ={x:e.pageX,y:e.pageY},setTimeout(()=>{KZ=null},100)};Fmt()&&document.documentElement.addEventListener("click",vyt,!0);const yyt=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:i,modal:o}=_.useContext(on),a=q=>{const{onCancel:W}=e;W==null||W(q)},l=q=>{const{onOk:W}=e;W==null||W(q)},{prefixCls:s,className:u,rootClassName:c,open:f,wrapClassName:h,centered:d,getContainer:p,closeIcon:g,closable:m,focusTriggerAfterClose:v=!0,style:y,visible:b,width:C=520,footer:x,classNames:S,styles:w}=e,O=myt(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),$=r("modal",s),P=r(),T=di($),[R,M,A]=Oje($,T),N=Re(h,{[`${$}-centered`]:!!d,[`${$}-wrap-rtl`]:i==="rtl"}),j=x!==null&&_.createElement(Sje,Object.assign({},e,{onOk:l,onCancel:a})),[D,L]=dje(m,typeof g<"u"?g:o==null?void 0:o.closeIcon,q=>Cje($,q),_.createElement(Ic,{className:`${$}-close-icon`}),!0),B=jvt(`.${$}-content`),[k,z]=Hf("Modal",O.zIndex);return R(_.createElement(fh,null,_.createElement(c4,{status:!0,override:!0},_.createElement(Dz.Provider,{value:z},_.createElement(Wz,Object.assign({width:C},O,{zIndex:k,getContainer:p===void 0?n:p,prefixCls:$,rootClassName:Re(M,c,A,T),footer:j,visible:f??b,mousePosition:(t=O.mousePosition)!==null&&t!==void 0?t:KZ,onClose:a,closable:D,closeIcon:L,focusTriggerAfterClose:v,transitionName:As(P,"zoom",e.transitionName),maskTransitionName:As(P,"fade",e.maskTransitionName),className:Re(M,u,o==null?void 0:o.className),style:Object.assign(Object.assign({},o==null?void 0:o.style),y),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),S),{wrapper:Re(N,S==null?void 0:S.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),w),panelRef:B}))))))},Eje=yyt,byt=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:o,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:u}=e,c=`${t}-confirm`;return{[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:Object.assign({},Od()),[`&${t} ${t}-body`]:{padding:u},[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(i).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${xe(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${c}-content`]:{color:e.colorText,fontSize:o,lineHeight:a},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls}, + ${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Cyt=Ry(["Modal","confirm"],e=>{const t=_je(e);return[byt(t)]},wje,{order:-1e3});var Syt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iy,vt(Object.values(y))),C=_.createElement(_.Fragment,null,_.createElement(Zpe,null),_.createElement(Qpe,null)),x=e.title!==void 0&&e.title!==null,S=`${o}-body`;return _.createElement("div",{className:`${o}-body-wrapper`},_.createElement("div",{className:Re(S,{[`${S}-has-title`]:x})},f,_.createElement("div",{className:`${o}-paragraph`},x&&_.createElement("span",{className:`${o}-title`},e.title),_.createElement("div",{className:`${o}-content`},e.content))),s===void 0||typeof s=="function"?_.createElement(lje,{value:b},_.createElement("div",{className:`${o}-btns`},typeof s=="function"?s(C,{OkBtn:Qpe,CancelBtn:Zpe}):C)):s,_.createElement(Cyt,{prefixCls:t}))}const xyt=e=>{const{close:t,zIndex:n,afterClose:r,open:i,keyboard:o,centered:a,getContainer:l,maskStyle:s,direction:u,prefixCls:c,wrapClassName:f,rootPrefixCls:h,bodyStyle:d,closable:p=!1,closeIcon:g,modalRender:m,focusTriggerAfterClose:v,onConfirm:y,styles:b}=e,C=`${c}-confirm`,x=e.width||416,S=e.style||{},w=e.mask===void 0?!0:e.mask,O=e.maskClosable===void 0?!1:e.maskClosable,$=Re(C,`${C}-${e.type}`,{[`${C}-rtl`]:u==="rtl"},e.className),[,P]=To(),T=_.useMemo(()=>n!==void 0?n:P.zIndexPopupBase+Lz,[n,P]);return _.createElement(Eje,{prefixCls:c,className:$,wrapClassName:Re({[`${C}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),y==null||y(!1)},open:i,title:"",footer:null,transitionName:As(h||"","zoom",e.transitionName),maskTransitionName:As(h||"","fade",e.maskTransitionName),mask:w,maskClosable:O,style:S,styles:Object.assign({body:d,mask:s},b),width:x,zIndex:T,afterClose:r,keyboard:o,centered:a,getContainer:l,closable:p,closeIcon:g,modalRender:m,focusTriggerAfterClose:v},_.createElement($je,Object.assign({},e,{confirmPrefixCls:C})))},_yt=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return _.createElement(Td,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},_.createElement(xyt,Object.assign({},e)))},Pje=_yt,wv=[];let Tje="";function Mje(){return Tje}const wyt=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:o}=e,a=XAe(),l=_.useContext(on),s=Mje()||l.getPrefixCls(),u=r||`${s}-modal`;let c=i;return c===!1&&(c=void 0),Se.createElement(Pje,Object.assign({},e,{rootPrefixCls:s,prefixCls:u,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:o??l.direction,locale:(n=(t=l.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:a,getContainer:c}))};function $$(e){const t=Xne(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),i;function o(){for(var u=arguments.length,c=new Array(u),f=0;fd&&d.triggerCancel);e.onCancel&&h&&e.onCancel.apply(e,[()=>{}].concat(vt(c.slice(1))));for(let d=0;d{const c=t.getPrefixCls(void 0,Mje()),f=t.getIconPrefixCls(),h=t.getTheme(),d=Se.createElement(wyt,Object.assign({},u));Bz(Se.createElement(Td,{prefixCls:c,iconPrefixCls:f,theme:h},t.holderRender?t.holderRender(d):d),n)})}function l(){for(var u=arguments.length,c=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),o.apply(this,c)}}),r.visible&&delete r.visible,a(r)}function s(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),a(r)}return a(r),wv.push(l),{destroy:l,update:s}}function Rje(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Ije(e){return Object.assign(Object.assign({},e),{type:"info"})}function Nje(e){return Object.assign(Object.assign({},e),{type:"success"})}function Aje(e){return Object.assign(Object.assign({},e),{type:"error"})}function kje(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Oyt(e){let{rootPrefixCls:t}=e;Tje=t}var Eyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{afterClose:r,config:i}=e,o=Eyt(e,["afterClose","config"]);const[a,l]=_.useState(!0),[s,u]=_.useState(i),{direction:c,getPrefixCls:f}=_.useContext(on),h=f("modal"),d=f(),p=()=>{var y;r(),(y=s.afterClose)===null||y===void 0||y.call(s)},g=function(){l(!1);for(var y=arguments.length,b=new Array(y),C=0;CS&&S.triggerCancel);s.onCancel&&x&&s.onCancel.apply(s,[()=>{}].concat(vt(b.slice(1))))};_.useImperativeHandle(t,()=>({destroy:g,update:y=>{u(b=>Object.assign(Object.assign({},b),y))}}));const m=(n=s.okCancel)!==null&&n!==void 0?n:s.type==="confirm",[v]=xu("Modal",Sc.Modal);return _.createElement(Pje,Object.assign({prefixCls:h,rootPrefixCls:d},s,{close:g,open:a,afterClose:p,okText:s.okText||(m?v==null?void 0:v.okText:v==null?void 0:v.justOkText),direction:s.direction||c,cancelText:s.cancelText||(v==null?void 0:v.cancelText)},o))},Pyt=_.forwardRef($yt);let Ehe=0;const Tyt=_.memo(_.forwardRef((e,t)=>{const[n,r]=ygt();return _.useImperativeHandle(t,()=>({patchElement:r}),[]),_.createElement(_.Fragment,null,n)}));function Myt(){const e=_.useRef(null),[t,n]=_.useState([]);_.useEffect(()=>{t.length&&(vt(t).forEach(a=>{a()}),n([]))},[t]);const r=_.useCallback(o=>function(l){var s;Ehe+=1;const u=_.createRef();let c;const f=new Promise(m=>{c=m});let h=!1,d;const p=_.createElement(Pyt,{key:`modal-${Ehe}`,config:o(l),ref:u,afterClose:()=>{d==null||d()},isSilent:()=>h,onConfirm:m=>{c(m)}});return d=(s=e.current)===null||s===void 0?void 0:s.patchElement(p),d&&wv.push(d),{destroy:()=>{function m(){var v;(v=u.current)===null||v===void 0||v.destroy()}u.current?m():n(v=>[].concat(vt(v),[m]))},update:m=>{function v(){var y;(y=u.current)===null||y===void 0||y.update(m)}u.current?v():n(y=>[].concat(vt(y),[v]))},then:m=>(h=!0,f.then(m))}},[]);return[_.useMemo(()=>({info:r(Ije),success:r(Nje),error:r(Aje),warning:r(Rje),confirm:r(kje)}),[]),_.createElement(Tyt,{key:"modal-holder",ref:e})]}const Ryt=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,o=new lr("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new lr("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),l=new lr("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),s=new lr("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}}}}},Iyt=Ryt,Nyt=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],Ayt={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},kyt=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[Ayt[t]]:{value:0,_skip_check_:!0}}}}},jyt=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},Dyt=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},jyt(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},Dyt(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},Nyt.map(n=>kyt(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},zyt=Lyt,jje=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:u,colorError:c,colorTextHeading:f,notificationBg:h,notificationPadding:d,notificationMarginEdge:p,fontSize:g,lineHeight:m,width:v,notificationIconSize:y,colorText:b}=e,C=`${n}-notice`;return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:h,borderRadius:a,boxShadow:r,[C]:{padding:d,width:v,maxWidth:`calc(100vw - ${xe(e.calc(p).mul(2).equal())})`,overflow:"hidden",lineHeight:m,wordWrap:"break-word"},[`${n}-close-icon`]:{fontSize:g,cursor:"pointer"},[`${C}-message`]:{marginBottom:e.marginXS,color:f,fontSize:i,lineHeight:e.lineHeightLG},[`${C}-description`]:{fontSize:g,color:b},[`${C}-closable ${C}-message`]:{paddingInlineEnd:e.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:i},[`${C}-with-icon ${C}-description`]:{marginInlineStart:e.calc(e.marginSM).add(y).equal(),fontSize:g},[`${C}-icon`]:{position:"absolute",fontSize:y,lineHeight:1,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:c}},[`${C}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.closeBtnHoverBg}},[`${C}-btn`]:{float:"right",marginTop:e.marginSM}}},Byt=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,a=`${t}-notice`,l=new lr("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:l,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},jje(e))}}]},Dje=e=>({zIndexPopup:e.zIndexPopupBase+Lz+50,width:384,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent}),Lje=e=>{const t=e.paddingMD,n=e.paddingLG;return Wn(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${xe(e.paddingMD)} ${xe(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3})},zje=vr("Notification",e=>{const t=Lje(e);return[Byt(t),Iyt(t),zyt(t)]},Dje),Fyt=Ry(["Notification","PurePanel"],e=>{const t=`${e.componentCls}-notice`,n=Lje(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},jje(n)),{width:n.width,maxWidth:`calc(100vw - ${xe(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},Dje);var Hyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a,role:l="alert"}=e;let s=null;return n?s=_.createElement("span",{className:`${t}-icon`},n):r&&(s=_.createElement(Wyt[r]||null,{className:Re(`${t}-icon`,`${t}-icon-${r}`)})),_.createElement("div",{className:Re({[`${t}-with-icon`]:s}),role:l},s,_.createElement("div",{className:`${t}-message`},i),_.createElement("div",{className:`${t}-description`},o),a&&_.createElement("div",{className:`${t}-btn`},a))},qyt=e=>{const{prefixCls:t,className:n,icon:r,type:i,message:o,description:a,btn:l,closable:s=!0,closeIcon:u,className:c}=e,f=Hyt(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:h}=_.useContext(on),d=t||h("notification"),p=`${d}-notice`,g=di(d),[m,v,y]=zje(d,g);return m(_.createElement("div",{className:Re(`${p}-pure-panel`,v,n,y,g)},_.createElement(Fyt,{prefixCls:d}),_.createElement(jz,Object.assign({},f,{prefixCls:d,eventKey:"pure",duration:null,closable:s,className:Re({notificationClassName:c}),closeIcon:gre(d,u),content:_.createElement(Bje,{prefixCls:p,icon:r,type:i,message:o,description:a,btn:l})}))))},Vyt=qyt;function Uyt(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function Gyt(e){return{motionName:`${e}-fade`}}var Kyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=di(n),[i,o,a]=zje(n,r);return i(Se.createElement(Qne,{classNames:{list:Re(o,a,r)}},t))},Qyt=(e,t)=>{let{prefixCls:n,key:r}=t;return Se.createElement(Zyt,{prefixCls:n,key:r},e)},Jyt=Se.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:i,getContainer:o,maxCount:a,rtl:l,onAllRemoved:s,stack:u,duration:c}=e,{getPrefixCls:f,getPopupContainer:h,notification:d,direction:p}=_.useContext(on),[,g]=To(),m=i||f("notification"),v=S=>Uyt(S,n??$he,r??$he),y=()=>Re({[`${m}-rtl`]:l??p==="rtl"}),b=()=>Gyt(m),[C,x]=Jne({prefixCls:m,style:v,className:y,motion:b,closable:!0,closeIcon:gre(m),duration:c??Xyt,getContainer:()=>(o==null?void 0:o())||(h==null?void 0:h())||document.body,maxCount:a,onAllRemoved:s,renderNotifications:Qyt,stack:u===!1?!1:{threshold:typeof u=="object"?u==null?void 0:u.threshold:void 0,offset:8,gap:g.margin}});return Se.useImperativeHandle(t,()=>Object.assign(Object.assign({},C),{prefixCls:m,notification:d})),x});function Fje(e){const t=Se.useRef(null);return Mh(),[Se.useMemo(()=>{const r=l=>{var s;if(!t.current)return;const{open:u,prefixCls:c,notification:f}=t.current,h=`${c}-notice`,{message:d,description:p,icon:g,type:m,btn:v,className:y,style:b,role:C="alert",closeIcon:x}=l,S=Kyt(l,["message","description","icon","type","btn","className","style","role","closeIcon"]),w=gre(h,typeof x<"u"?x:f==null?void 0:f.closeIcon);return u(Object.assign(Object.assign({placement:(s=e==null?void 0:e.placement)!==null&&s!==void 0?s:Yyt},S),{content:Se.createElement(Bje,{prefixCls:h,icon:g,type:m,message:d,description:p,btn:v,role:C}),className:Re(m&&`${h}-${m}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),b),closeIcon:w,closable:!!w}))},o={open:r,destroy:l=>{var s,u;l!==void 0?(s=t.current)===null||s===void 0||s.close(l):(u=t.current)===null||u===void 0||u.destroy()}};return["success","info","warning","error"].forEach(l=>{o[l]=s=>r(Object.assign(Object.assign({},s),{type:l}))}),o},[]),Se.createElement(Jyt,Object.assign({key:"notification-holder"},e,{ref:t}))]}function ebt(e){return Fje(e)}const Hje=Se.createContext({});function Wje(e){return t=>_.createElement(Td,{theme:{token:{motion:!1,zIndexPopupBase:0}}},_.createElement(e,Object.assign({},t)))}const fC=(e,t,n,r)=>Wje(o=>{const{prefixCls:a,style:l}=o,s=_.useRef(null),[u,c]=_.useState(0),[f,h]=_.useState(0),[d,p]=zn(!1,{value:o.open}),{getPrefixCls:g}=_.useContext(on),m=g(t||"select",a);_.useEffect(()=>{if(p(!0),typeof ResizeObserver<"u"){const b=new ResizeObserver(x=>{const S=x[0].target;c(S.offsetHeight+8),h(S.offsetWidth)}),C=setInterval(()=>{var x;const S=n?`.${n(m)}`:`.${m}-dropdown`,w=(x=s.current)===null||x===void 0?void 0:x.querySelector(S);w&&(clearInterval(C),b.observe(w))},10);return()=>{clearInterval(C),b.disconnect()}}},[]);let v=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},l),{margin:0}),open:d,visible:d,getPopupContainer:()=>s.current});r&&(v=r(v));const y={paddingBottom:u,position:"relative",minWidth:f};return _.createElement("div",{ref:s,style:y},_.createElement(e,Object.assign({},v)))}),Zz=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};var Qz=function(t){var n=t.className,r=t.customizeIcon,i=t.customizeIconProps,o=t.children,a=t.onMouseDown,l=t.onClick,s=typeof r=="function"?r(i):r;return _.createElement("span",{className:n,onMouseDown:function(c){c.preventDefault(),a==null||a(c)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},s!==void 0?s:_.createElement("span",{className:Re(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},o))},tbt=function(t,n,r,i,o){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,l=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0,u=Se.useMemo(function(){if(bn(i)==="object")return i.clearIcon;if(o)return o},[i,o]),c=Se.useMemo(function(){return!!(!a&&i&&(r.length||l)&&!(s==="combobox"&&l===""))},[i,a,r.length,l,s]);return{allowClear:c,clearIcon:Se.createElement(Qz,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},qje=_.createContext(null);function Jz(){return _.useContext(qje)}function nbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=_.useState(!1),n=Me(t,2),r=n[0],i=n[1],o=_.useRef(null),a=function(){window.clearTimeout(o.current)};_.useEffect(function(){return a},[]);var l=function(u,c){a(),o.current=window.setTimeout(function(){i(u),c&&c()},e)};return[r,l,a]}function Vje(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=_.useRef(null),n=_.useRef(null);_.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(i){(i||t.current===null)&&(t.current=i),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function rbt(e,t,n,r){var i=_.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},_.useEffect(function(){function o(a){var l;if(!((l=i.current)!==null&&l!==void 0&&l.customizedTrigger)){var s=a.target;s.shadowRoot&&a.composed&&(s=a.composedPath()[0]||s),i.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(s)&&u!==s})&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}var ibt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Fb=void 0;function obt(e,t){var n=e.prefixCls,r=e.invalidate,i=e.item,o=e.renderItem,a=e.responsive,l=e.responsiveDisabled,s=e.registerSize,u=e.itemKey,c=e.className,f=e.style,h=e.children,d=e.display,p=e.order,g=e.component,m=g===void 0?"div":g,v=an(e,ibt),y=a&&!d;function b(O){s(u,O)}_.useEffect(function(){return function(){b(null)}},[]);var C=o&&i!==Fb?o(i):h,x;r||(x={opacity:y?0:1,height:y?0:Fb,overflowY:y?"hidden":Fb,order:a?p:Fb,pointerEvents:y?"none":Fb,position:y?"absolute":Fb});var S={};y&&(S["aria-hidden"]=!0);var w=_.createElement(m,Qe({className:Re(!r&&n,c),style:fe(fe({},x),f)},S,v,{ref:t}),C);return a&&(w=_.createElement(Ba,{onResize:function($){var P=$.offsetWidth;b(P)},disabled:l},w)),w}var j9=_.forwardRef(obt);j9.displayName="Item";function abt(e){if(typeof MessageChannel>"u")rr(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function lbt(){var e=_.useRef(null),t=function(r){e.current||(e.current=[],abt(function(){Ns.unstable_batchedUpdates(function(){e.current.forEach(function(i){i()}),e.current=null})})),e.current.push(r)};return t}function V6(e,t){var n=_.useState(t),r=Me(n,2),i=r[0],o=r[1],a=ir(function(l){e(function(){o(l)})});return[i,a]}var eD=Se.createContext(null),sbt=["component"],cbt=["className"],ubt=["className"],dbt=function(t,n){var r=_.useContext(eD);if(!r){var i=t.component,o=i===void 0?"div":i,a=an(t,sbt);return _.createElement(o,Qe({},a,{ref:n}))}var l=r.className,s=an(r,cbt),u=t.className,c=an(t,ubt);return _.createElement(eD.Provider,{value:null},_.createElement(j9,Qe({ref:n,className:Re(l,u)},s,c)))},Uje=_.forwardRef(dbt);Uje.displayName="RawItem";var fbt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Gje="responsive",Kje="invalidate";function pbt(e){return"+ ".concat(e.length," ...")}function hbt(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,i=e.data,o=i===void 0?[]:i,a=e.renderItem,l=e.renderRawItem,s=e.itemKey,u=e.itemWidth,c=u===void 0?10:u,f=e.ssr,h=e.style,d=e.className,p=e.maxCount,g=e.renderRest,m=e.renderRawRest,v=e.suffix,y=e.component,b=y===void 0?"div":y,C=e.itemComponent,x=e.onVisibleChange,S=an(e,fbt),w=f==="full",O=lbt(),$=V6(O,null),P=Me($,2),T=P[0],R=P[1],M=T||0,A=V6(O,new Map),N=Me(A,2),j=N[0],D=N[1],L=V6(O,0),B=Me(L,2),k=B[0],z=B[1],q=V6(O,0),W=Me(q,2),U=W[0],K=W[1],X=V6(O,0),G=Me(X,2),Y=G[0],J=G[1],ee=_.useState(null),Q=Me(ee,2),te=Q[0],ne=Q[1],re=_.useState(null),oe=Me(re,2),se=oe[0],ye=oe[1],be=_.useMemo(function(){return se===null&&w?Number.MAX_SAFE_INTEGER:se||0},[se,T]),he=_.useState(!1),le=Me(he,2),ve=le[0],ke=le[1],Ie="".concat(r,"-item"),Oe=Math.max(k,U),Pe=p===Gje,_e=o.length&&Pe,ce=p===Kje,Te=_e||typeof p=="number"&&o.length>p,Ne=_.useMemo(function(){var Je=o;return _e?T===null&&w?Je=o:Je=o.slice(0,Math.min(o.length,M/c)):typeof p=="number"&&(Je=o.slice(0,p)),Je},[o,c,T,p,_e]),je=_.useMemo(function(){return _e?o.slice(be+1):o.slice(Ne.length)},[o,Ne,_e,be]),He=_.useCallback(function(Je,bt){var at;return typeof s=="function"?s(Je):(at=s&&(Je==null?void 0:Je[s]))!==null&&at!==void 0?at:bt},[s]),Be=_.useCallback(a||function(Je){return Je},[a]);function qe(Je,bt,at){se===Je&&(bt===void 0||bt===te)||(ye(Je),at||(ke(JeM){qe(et-1,Je-rt-Y+U);break}}v&&Fe(0)+Y>M&&ne(null)}},[M,j,U,Y,He,Ne]);var Ke=ve&&!!je.length,lt={};te!==null&&_e&&(lt={position:"absolute",left:te,top:0});var ft={prefixCls:Ie,responsive:_e,component:C,invalidate:ce},Ye=l?function(Je,bt){var at=He(Je,bt);return _.createElement(eD.Provider,{key:at,value:fe(fe({},ft),{},{order:bt,item:Je,itemKey:at,registerSize:Ee,display:bt<=be})},l(Je,bt))}:function(Je,bt){var at=He(Je,bt);return _.createElement(j9,Qe({},ft,{order:bt,key:at,item:Je,renderItem:Be,itemKey:at,registerSize:Ee,display:bt<=be}))},we,De={order:Ke?be:Number.MAX_SAFE_INTEGER,className:"".concat(Ie,"-rest"),registerSize:$e,display:Ke};if(m)m&&(we=_.createElement(eD.Provider,{value:fe(fe({},ft),De)},m(je)));else{var We=g||pbt;we=_.createElement(j9,Qe({},ft,De),typeof We=="function"?We(je):We)}var Ge=_.createElement(b,Qe({className:Re(!ce&&r,d),style:h,ref:t},S),Ne.map(Ye),Te?we:null,v&&_.createElement(j9,Qe({},ft,{responsive:Pe,responsiveDisabled:!_e,order:be,className:"".concat(Ie,"-suffix"),registerSize:Le,display:!0,style:lt}),v));return Pe&&(Ge=_.createElement(Ba,{onResize:me,disabled:!_e},Ge)),Ge}var bd=_.forwardRef(hbt);bd.displayName="Overflow";bd.Item=Uje;bd.RESPONSIVE=Gje;bd.INVALIDATE=Kje;var gbt=function(t,n){var r,i=t.prefixCls,o=t.id,a=t.inputElement,l=t.disabled,s=t.tabIndex,u=t.autoFocus,c=t.autoComplete,f=t.editable,h=t.activeDescendantId,d=t.value,p=t.maxLength,g=t.onKeyDown,m=t.onMouseDown,v=t.onChange,y=t.onPaste,b=t.onCompositionStart,C=t.onCompositionEnd,x=t.open,S=t.attrs,w=a||_.createElement("input",null),O=w,$=O.ref,P=O.props,T=P.onKeyDown,R=P.onChange,M=P.onMouseDown,A=P.onCompositionStart,N=P.onCompositionEnd,j=P.style;return"maxLength"in w.props,w=_.cloneElement(w,fe(fe(fe({type:"search"},P),{},{id:o,ref:cl(n,$),disabled:l,tabIndex:s,autoComplete:c||"off",autoFocus:u,className:Re("".concat(i,"-selection-search-input"),(r=w)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":x?h:void 0},S),{},{value:f?d:"",maxLength:p,readOnly:!f,unselectable:f?null:"on",style:fe(fe({},j),{},{opacity:f?null:0}),onKeyDown:function(L){g(L),T&&T(L)},onMouseDown:function(L){m(L),M&&M(L)},onChange:function(L){v(L),R&&R(L)},onCompositionStart:function(L){b(L),A&&A(L)},onCompositionEnd:function(L){C(L),N&&N(L)},onPaste:y})),w},Xje=_.forwardRef(gbt);function Yje(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var mbt=typeof window<"u"&&window.document&&window.document.documentElement,vbt=mbt;function ybt(e){return e!=null}function bbt(e){return!e&&e!==0}function Phe(e){return["string","number"].includes(bn(e))}function Zje(e){var t=void 0;return e&&(Phe(e.title)?t=e.title.toString():Phe(e.label)&&(t=e.label.toString())),t}function Cbt(e,t){vbt?_.useLayoutEffect(e,t):_.useEffect(e,t)}function Sbt(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var The=function(t){t.preventDefault(),t.stopPropagation()},xbt=function(t){var n=t.id,r=t.prefixCls,i=t.values,o=t.open,a=t.searchValue,l=t.autoClearSearchValue,s=t.inputRef,u=t.placeholder,c=t.disabled,f=t.mode,h=t.showSearch,d=t.autoFocus,p=t.autoComplete,g=t.activeDescendantId,m=t.tabIndex,v=t.removeIcon,y=t.maxTagCount,b=t.maxTagTextLength,C=t.maxTagPlaceholder,x=C===void 0?function(ne){return"+ ".concat(ne.length," ...")}:C,S=t.tagRender,w=t.onToggleOpen,O=t.onRemove,$=t.onInputChange,P=t.onInputPaste,T=t.onInputKeyDown,R=t.onInputMouseDown,M=t.onInputCompositionStart,A=t.onInputCompositionEnd,N=_.useRef(null),j=_.useState(0),D=Me(j,2),L=D[0],B=D[1],k=_.useState(!1),z=Me(k,2),q=z[0],W=z[1],U="".concat(r,"-selection"),K=o||f==="multiple"&&l===!1||f==="tags"?a:"",X=f==="tags"||f==="multiple"&&l===!1||h&&(o||q);Cbt(function(){B(N.current.scrollWidth)},[K]);var G=function(re,oe,se,ye,be){return _.createElement("span",{title:Zje(re),className:Re("".concat(U,"-item"),ue({},"".concat(U,"-item-disabled"),se))},_.createElement("span",{className:"".concat(U,"-item-content")},oe),ye&&_.createElement(Qz,{className:"".concat(U,"-item-remove"),onMouseDown:The,onClick:be,customizeIcon:v},"×"))},Y=function(re,oe,se,ye,be){var he=function(ve){The(ve),w(!o)};return _.createElement("span",{onMouseDown:he},S({label:oe,value:re,disabled:se,closable:ye,onClose:be}))},J=function(re){var oe=re.disabled,se=re.label,ye=re.value,be=!c&&!oe,he=se;if(typeof b=="number"&&(typeof se=="string"||typeof se=="number")){var le=String(he);le.length>b&&(he="".concat(le.slice(0,b),"..."))}var ve=function(Ie){Ie&&Ie.stopPropagation(),O(re)};return typeof S=="function"?Y(ye,he,oe,be,ve):G(re,he,oe,be,ve)},ee=function(re){var oe=typeof x=="function"?x(re):x;return G({title:oe},oe,!1)},Q=_.createElement("div",{className:"".concat(U,"-search"),style:{width:L},onFocus:function(){W(!0)},onBlur:function(){W(!1)}},_.createElement(Xje,{ref:s,open:o,prefixCls:r,id:n,inputElement:null,disabled:c,autoFocus:d,autoComplete:p,editable:X,activeDescendantId:g,value:K,onKeyDown:T,onMouseDown:R,onChange:$,onPaste:P,onCompositionStart:M,onCompositionEnd:A,tabIndex:m,attrs:qo(t,!0)}),_.createElement("span",{ref:N,className:"".concat(U,"-search-mirror"),"aria-hidden":!0},K," ")),te=_.createElement(bd,{prefixCls:"".concat(U,"-overflow"),data:i,renderItem:J,renderRest:ee,suffix:Q,itemKey:Sbt,maxCount:y});return _.createElement(_.Fragment,null,te,!i.length&&!K&&_.createElement("span",{className:"".concat(U,"-placeholder")},u))},_bt=function(t){var n=t.inputElement,r=t.prefixCls,i=t.id,o=t.inputRef,a=t.disabled,l=t.autoFocus,s=t.autoComplete,u=t.activeDescendantId,c=t.mode,f=t.open,h=t.values,d=t.placeholder,p=t.tabIndex,g=t.showSearch,m=t.searchValue,v=t.activeValue,y=t.maxLength,b=t.onInputKeyDown,C=t.onInputMouseDown,x=t.onInputChange,S=t.onInputPaste,w=t.onInputCompositionStart,O=t.onInputCompositionEnd,$=t.title,P=_.useState(!1),T=Me(P,2),R=T[0],M=T[1],A=c==="combobox",N=A||g,j=h[0],D=m||"";A&&v&&!R&&(D=v),_.useEffect(function(){A&&M(!1)},[A,v]);var L=c!=="combobox"&&!f&&!g?!1:!!D,B=$===void 0?Zje(j):$,k=_.useMemo(function(){return j?null:_.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},d)},[j,L,d,r]);return _.createElement(_.Fragment,null,_.createElement("span",{className:"".concat(r,"-selection-search")},_.createElement(Xje,{ref:o,prefixCls:r,id:i,open:f,inputElement:n,disabled:a,autoFocus:l,autoComplete:s,editable:N,activeDescendantId:u,value:D,onKeyDown:b,onMouseDown:C,onChange:function(q){M(!0),x(q)},onPaste:S,onCompositionStart:w,onCompositionEnd:O,tabIndex:p,attrs:qo(t,!0),maxLength:A?y:void 0})),!A&&j?_.createElement("span",{className:"".concat(r,"-selection-item"),title:B,style:L?{visibility:"hidden"}:void 0},j.label):null,k)};function wbt(e){return![ht.ESC,ht.SHIFT,ht.BACKSPACE,ht.TAB,ht.WIN_KEY,ht.ALT,ht.META,ht.WIN_KEY_RIGHT,ht.CTRL,ht.SEMICOLON,ht.EQUALS,ht.CAPS_LOCK,ht.CONTEXT_MENU,ht.F1,ht.F2,ht.F3,ht.F4,ht.F5,ht.F6,ht.F7,ht.F8,ht.F9,ht.F10,ht.F11,ht.F12].includes(e)}var Obt=function(t,n){var r=_.useRef(null),i=_.useRef(!1),o=t.prefixCls,a=t.open,l=t.mode,s=t.showSearch,u=t.tokenWithEnter,c=t.autoClearSearchValue,f=t.onSearch,h=t.onSearchSubmit,d=t.onToggleOpen,p=t.onInputKeyDown,g=t.domRef;_.useImperativeHandle(n,function(){return{focus:function(){r.current.focus()},blur:function(){r.current.blur()}}});var m=Vje(0),v=Me(m,2),y=v[0],b=v[1],C=function(D){var L=D.which;(L===ht.UP||L===ht.DOWN)&&D.preventDefault(),p&&p(D),L===ht.ENTER&&l==="tags"&&!i.current&&!a&&(h==null||h(D.target.value)),wbt(L)&&d(!0)},x=function(){b(!0)},S=_.useRef(null),w=function(D){f(D,!0,i.current)!==!1&&d(!0)},O=function(){i.current=!0},$=function(D){i.current=!1,l!=="combobox"&&w(D.target.value)},P=function(D){var L=D.target.value;if(u&&S.current&&/[\r\n]/.test(S.current)){var B=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(B,S.current)}S.current=null,w(L)},T=function(D){var L=D.clipboardData,B=L==null?void 0:L.getData("text");S.current=B||""},R=function(D){var L=D.target;if(L!==r.current){var B=document.body.style.msTouchAction!==void 0;B?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(D){var L=y();D.target!==r.current&&!L&&l!=="combobox"&&D.preventDefault(),(l!=="combobox"&&(!s||!L)||!a)&&(a&&c!==!1&&f("",!0,!1),d())},A={inputRef:r,onInputKeyDown:C,onInputMouseDown:x,onInputChange:P,onInputPaste:T,onInputCompositionStart:O,onInputCompositionEnd:$},N=l==="multiple"||l==="tags"?_.createElement(xbt,Qe({},t,A)):_.createElement(_bt,Qe({},t,A));return _.createElement("div",{ref:g,className:"".concat(o,"-selector"),onClick:R,onMouseDown:M},N)},Ebt=_.forwardRef(Obt);function $bt(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,l=o.content,s=i.x,u=s===void 0?0:s,c=i.y,f=c===void 0?0:c,h=_.useRef();if(!n||!n.points)return null;var d={position:"absolute"};if(n.autoArrow!==!1){var p=n.points[0],g=n.points[1],m=p[0],v=p[1],y=g[0],b=g[1];m===y||!["t","b"].includes(m)?d.top=f:m==="t"?d.top=0:d.bottom=0,v===b||!["l","r"].includes(v)?d.left=u:v==="l"?d.left=0:d.right=0}return _.createElement("div",{ref:h,className:Re("".concat(t,"-arrow"),a),style:d},l)}function Pbt(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?_.createElement(aa,Qe({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var l=a.className;return _.createElement("div",{style:{zIndex:r},className:Re("".concat(t,"-mask"),l)})}):null}var Tbt=_.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),Mbt=_.forwardRef(function(e,t){var n=e.popup,r=e.className,i=e.prefixCls,o=e.style,a=e.target,l=e.onVisibleChanged,s=e.open,u=e.keepDom,c=e.fresh,f=e.onClick,h=e.mask,d=e.arrow,p=e.arrowPos,g=e.align,m=e.motion,v=e.maskMotion,y=e.forceRender,b=e.getPopupContainer,C=e.autoDestroy,x=e.portal,S=e.zIndex,w=e.onMouseEnter,O=e.onMouseLeave,$=e.onPointerEnter,P=e.ready,T=e.offsetX,R=e.offsetY,M=e.offsetR,A=e.offsetB,N=e.onAlign,j=e.onPrepare,D=e.stretch,L=e.targetWidth,B=e.targetHeight,k=typeof n=="function"?n():n,z=s||u,q=(b==null?void 0:b.length)>0,W=_.useState(!b||!q),U=Me(W,2),K=U[0],X=U[1];if(er(function(){!K&&q&&a&&X(!0)},[K,q,a]),!K)return null;var G="auto",Y={left:"-1000vw",top:"-1000vh",right:G,bottom:G};if(P||!s){var J,ee=g.points,Q=g.dynamicInset||((J=g._experimental)===null||J===void 0?void 0:J.dynamicInset),te=Q&&ee[0][1]==="r",ne=Q&&ee[0][0]==="b";te?(Y.right=M,Y.left=G):(Y.left=T,Y.right=G),ne?(Y.bottom=A,Y.top=G):(Y.top=R,Y.bottom=G)}var re={};return D&&(D.includes("height")&&B?re.height=B:D.includes("minHeight")&&B&&(re.minHeight=B),D.includes("width")&&L?re.width=L:D.includes("minWidth")&&L&&(re.minWidth=L)),s||(re.pointerEvents="none"),_.createElement(x,{open:y||z,getContainer:b&&function(){return b(a)},autoDestroy:C},_.createElement(Pbt,{prefixCls:i,open:s,zIndex:S,mask:h,motion:v}),_.createElement(Ba,{onResize:N,disabled:!s},function(oe){return _.createElement(aa,Qe({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:"".concat(i,"-hidden")},m,{onAppearPrepare:j,onEnterPrepare:j,visible:s,onVisibleChanged:function(ye){var be;m==null||(be=m.onVisibleChanged)===null||be===void 0||be.call(m,ye),l(ye)}}),function(se,ye){var be=se.className,he=se.style,le=Re(i,be,r);return _.createElement("div",{ref:cl(oe,t,ye),className:le,style:fe(fe(fe(fe({"--arrow-x":"".concat(p.x||0,"px"),"--arrow-y":"".concat(p.y||0,"px")},Y),re),he),{},{boxSizing:"border-box",zIndex:S},o),onMouseEnter:w,onMouseLeave:O,onPointerEnter:$,onClick:f},d&&_.createElement($bt,{prefixCls:i,arrow:d,arrowPos:p,align:g}),_.createElement(Tbt,{cache:!s&&!c},k))})}))}),Rbt=_.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=bc(n),o=_.useCallback(function(l){LE(t,r?r(l):l)},[r]),a=Pd(o,n.ref);return i?_.cloneElement(n,{ref:a}):n}),Mhe=_.createContext(null);function Rhe(e){return e?Array.isArray(e)?e:[e]:[]}function Ibt(e,t,n,r){return _.useMemo(function(){var i=Rhe(n??t),o=Rhe(r??t),a=new Set(i),l=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,n,r])}function Nbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Abt(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function U6(e){return KE(parseFloat(e),0)}function Nhe(e,t){var n=fe({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var i=P$(r).getComputedStyle(r),o=i.overflow,a=i.overflowClipMargin,l=i.borderTopWidth,s=i.borderBottomWidth,u=i.borderLeftWidth,c=i.borderRightWidth,f=r.getBoundingClientRect(),h=r.offsetHeight,d=r.clientHeight,p=r.offsetWidth,g=r.clientWidth,m=U6(l),v=U6(s),y=U6(u),b=U6(c),C=KE(Math.round(f.width/p*1e3)/1e3),x=KE(Math.round(f.height/h*1e3)/1e3),S=(p-g-y-b)*C,w=(h-d-m-v)*x,O=m*x,$=v*x,P=y*C,T=b*C,R=0,M=0;if(o==="clip"){var A=U6(a);R=A*C,M=A*x}var N=f.x+P-R,j=f.y+O-M,D=N+f.width+2*R-P-T-S,L=j+f.height+2*M-O-$-w;n.left=Math.max(n.left,N),n.top=Math.max(n.top,j),n.right=Math.min(n.right,D),n.bottom=Math.min(n.bottom,L)}}),n}function Ahe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function khe(e,t){var n=t||[],r=Me(n,2),i=r[0],o=r[1];return[Ahe(e.width,i),Ahe(e.height,o)]}function jhe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Hb(e,t){var n=t[0],r=t[1],i,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?i=e.x:r==="r"?i=e.x+e.width:i=e.x+e.width/2,{x:i,y:o}}function e1(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,i){return i===t?n[r]||"c":r}).join("")}function kbt(e,t,n,r,i,o,a){var l=_.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),s=Me(l,2),u=s[0],c=s[1],f=_.useRef(0),h=_.useMemo(function(){return t?XZ(t):[]},[t]),d=_.useRef({}),p=function(){d.current={}};e||p();var g=ir(function(){if(t&&n&&e){let Yt=function(Zn,$r){var qa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:le,Pa=k.x+Zn,Xo=k.y+$r,fa=Pa+J,Hs=Xo+Y,Ws=Math.max(Pa,qa.left),Z0=Math.max(Xo,qa.top),qh=Math.min(fa,qa.right),Yf=Math.min(Hs,qa.bottom);return Math.max(0,(qh-Ws)*(Yf-Z0))},Mn=function(){Ot=k.y+We,Ct=Ot+Y,mt=k.x+De,It=mt+J};var y,b,C=t,x=C.ownerDocument,S=P$(C),w=S.getComputedStyle(C),O=w.width,$=w.height,P=w.position,T=C.style.left,R=C.style.top,M=C.style.right,A=C.style.bottom,N=C.style.overflow,j=fe(fe({},i[r]),o),D=x.createElement("div");(y=C.parentElement)===null||y===void 0||y.appendChild(D),D.style.left="".concat(C.offsetLeft,"px"),D.style.top="".concat(C.offsetTop,"px"),D.style.position=P,D.style.height="".concat(C.offsetHeight,"px"),D.style.width="".concat(C.offsetWidth,"px"),C.style.left="0",C.style.top="0",C.style.right="auto",C.style.bottom="auto",C.style.overflow="hidden";var L;if(Array.isArray(n))L={x:n[0],y:n[1],width:0,height:0};else{var B=n.getBoundingClientRect();L={x:B.x,y:B.y,width:B.width,height:B.height}}var k=C.getBoundingClientRect(),z=x.documentElement,q=z.clientWidth,W=z.clientHeight,U=z.scrollWidth,K=z.scrollHeight,X=z.scrollTop,G=z.scrollLeft,Y=k.height,J=k.width,ee=L.height,Q=L.width,te={left:0,top:0,right:q,bottom:W},ne={left:-G,top:-X,right:U-G,bottom:K-X},re=j.htmlRegion,oe="visible",se="visibleFirst";re!=="scroll"&&re!==se&&(re=oe);var ye=re===se,be=Nhe(ne,h),he=Nhe(te,h),le=re===oe?he:be,ve=ye?he:le;C.style.left="auto",C.style.top="auto",C.style.right="0",C.style.bottom="0";var ke=C.getBoundingClientRect();C.style.left=T,C.style.top=R,C.style.right=M,C.style.bottom=A,C.style.overflow=N,(b=C.parentElement)===null||b===void 0||b.removeChild(D);var Ie=KE(Math.round(J/parseFloat(O)*1e3)/1e3),Oe=KE(Math.round(Y/parseFloat($)*1e3)/1e3);if(Ie===0||Oe===0||Bj(n)&&!S$(n))return;var Pe=j.offset,_e=j.targetOffset,ce=khe(k,Pe),Te=Me(ce,2),Ne=Te[0],je=Te[1],He=khe(L,_e),Be=Me(He,2),qe=Be[0],me=Be[1];L.x-=qe,L.y-=me;var Ee=j.points||[],$e=Me(Ee,2),Le=$e[0],Fe=$e[1],Ke=jhe(Fe),lt=jhe(Le),ft=Hb(L,Ke),Ye=Hb(k,lt),we=fe({},j),De=ft.x-Ye.x+Ne,We=ft.y-Ye.y+je,Ge=Yt(De,We),Je=Yt(De,We,he),bt=Hb(L,["t","l"]),at=Hb(k,["t","l"]),et=Hb(L,["b","r"]),rt=Hb(k,["b","r"]),Ze=j.overflow||{},wt=Ze.adjustX,ut=Ze.adjustY,ot=Ze.shiftX,dt=Ze.shiftY,_t=function($r){return typeof $r=="boolean"?$r:$r>=0},Ot,Ct,mt,It;Mn();var nt=_t(ut),yt=lt[0]===Ke[0];if(nt&<[0]==="t"&&(Ct>ve.bottom||d.current.bt)){var xt=We;yt?xt-=Y-ee:xt=bt.y-rt.y-je;var At=Yt(De,xt),cn=Yt(De,xt,he);At>Ge||At===Ge&&(!ye||cn>=Je)?(d.current.bt=!0,We=xt,je=-je,we.points=[e1(lt,0),e1(Ke,0)]):d.current.bt=!1}if(nt&<[0]==="b"&&(OtGe||$t===Ge&&(!ye||zt>=Je)?(d.current.tb=!0,We=Ht,je=-je,we.points=[e1(lt,0),e1(Ke,0)]):d.current.tb=!1}var Qt=_t(wt),Pt=lt[1]===Ke[1];if(Qt&<[1]==="l"&&(It>ve.right||d.current.rl)){var ct=De;Pt?ct-=J-Q:ct=bt.x-rt.x-Ne;var Wt=Yt(ct,We),wn=Yt(ct,We,he);Wt>Ge||Wt===Ge&&(!ye||wn>=Je)?(d.current.rl=!0,De=ct,Ne=-Ne,we.points=[e1(lt,1),e1(Ke,1)]):d.current.rl=!1}if(Qt&<[1]==="r"&&(mtGe||gt===Ge&&(!ye||Bt>=Je)?(d.current.lr=!0,De=kt,Ne=-Ne,we.points=[e1(lt,1),e1(Ke,1)]):d.current.lr=!1}Mn();var Nn=ot===!0?0:ot;typeof Nn=="number"&&(mthe.right&&(De-=It-he.right-Ne,L.x>he.right-Nn&&(De+=L.x-he.right+Nn)));var Or=dt===!0?0:dt;typeof Or=="number"&&(Othe.bottom&&(We-=Ct-he.bottom-je,L.y>he.bottom-Or&&(We+=L.y-he.bottom+Or)));var Ar=k.x+De,ei=Ar+J,ar=k.y+We,Sn=ar+Y,pi=L.x,On=pi+Q,En=L.y,en=En+ee,gn=Math.max(Ar,pi),qn=Math.min(ei,On),yr=(gn+qn)/2,mn=yr-Ar,Zt=Math.max(ar,En),nn=Math.min(Sn,en),Dn=(Zt+nn)/2,Xn=Dn-ar;a==null||a(t,we);var cr=ke.right-k.x-(De+k.width),qt=ke.bottom-k.y-(We+k.height);c({ready:!0,offsetX:De/Ie,offsetY:We/Oe,offsetR:cr/Ie,offsetB:qt/Oe,arrowX:mn/Ie,arrowY:Xn/Oe,scaleX:Ie,scaleY:Oe,align:we})}}),m=function(){f.current+=1;var b=f.current;Promise.resolve().then(function(){f.current===b&&g()})},v=function(){c(function(b){return fe(fe({},b),{},{ready:!1})})};return er(v,[r]),er(function(){e||v()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,m]}function jbt(e,t,n,r,i){er(function(){if(e&&t&&n){let f=function(){r(),i()};var o=t,a=n,l=XZ(o),s=XZ(a),u=P$(a),c=new Set([u].concat(vt(l),vt(s)));return c.forEach(function(h){h.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){c.forEach(function(h){h.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function Dbt(e,t,n,r,i,o,a,l){var s=_.useRef(e),u=_.useRef(!1);s.current!==e&&(u.current=!0,s.current=e),_.useEffect(function(){var c=rr(function(){u.current=!1});return function(){rr.cancel(c)}},[e]),_.useEffect(function(){if(t&&r&&(!i||o)){var c=function(){var S=!1,w=function(P){var T=P.target;S=a(T)},O=function(P){var T=P.target;!u.current&&s.current&&!S&&!a(T)&&l(!1)};return[w,O]},f=c(),h=Me(f,2),d=h[0],p=h[1],g=c(),m=Me(g,2),v=m[0],y=m[1],b=P$(r);b.addEventListener("mousedown",d,!0),b.addEventListener("click",p,!0),b.addEventListener("contextmenu",p,!0);var C=Zj(n);return C&&(C.addEventListener("mousedown",v,!0),C.addEventListener("click",y,!0),C.addEventListener("contextmenu",y,!0)),function(){b.removeEventListener("mousedown",d,!0),b.removeEventListener("click",p,!0),b.removeEventListener("contextmenu",p,!0),C&&(C.removeEventListener("mousedown",v,!0),C.removeEventListener("click",y,!0),C.removeEventListener("contextmenu",y,!0))}}},[t,n,r,i,o])}var Lbt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function zbt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ny,t=_.forwardRef(function(n,r){var i=n.prefixCls,o=i===void 0?"rc-trigger-popup":i,a=n.children,l=n.action,s=l===void 0?"hover":l,u=n.showAction,c=n.hideAction,f=n.popupVisible,h=n.defaultPopupVisible,d=n.onPopupVisibleChange,p=n.afterPopupVisibleChange,g=n.mouseEnterDelay,m=n.mouseLeaveDelay,v=m===void 0?.1:m,y=n.focusDelay,b=n.blurDelay,C=n.mask,x=n.maskClosable,S=x===void 0?!0:x,w=n.getPopupContainer,O=n.forceRender,$=n.autoDestroy,P=n.destroyPopupOnHide,T=n.popup,R=n.popupClassName,M=n.popupStyle,A=n.popupPlacement,N=n.builtinPlacements,j=N===void 0?{}:N,D=n.popupAlign,L=n.zIndex,B=n.stretch,k=n.getPopupClassNameFromAlign,z=n.fresh,q=n.alignPoint,W=n.onPopupClick,U=n.onPopupAlign,K=n.arrow,X=n.popupMotion,G=n.maskMotion,Y=n.popupTransitionName,J=n.popupAnimation,ee=n.maskTransitionName,Q=n.maskAnimation,te=n.className,ne=n.getTriggerDOMNode,re=an(n,Lbt),oe=$||P||!1,se=_.useState(!1),ye=Me(se,2),be=ye[0],he=ye[1];er(function(){he(Zz())},[]);var le=_.useRef({}),ve=_.useContext(Mhe),ke=_.useMemo(function(){return{registerSubPopup:function(Yn,Ti){le.current[Yn]=Ti,ve==null||ve.registerSubPopup(Yn,Ti)}}},[ve]),Ie=are(),Oe=_.useState(null),Pe=Me(Oe,2),_e=Pe[0],ce=Pe[1],Te=ir(function(Pn){Bj(Pn)&&_e!==Pn&&ce(Pn),ve==null||ve.registerSubPopup(Ie,Pn)}),Ne=_.useState(null),je=Me(Ne,2),He=je[0],Be=je[1],qe=_.useRef(null),me=ir(function(Pn){Bj(Pn)&&He!==Pn&&(Be(Pn),qe.current=Pn)}),Ee=_.Children.only(a),$e=(Ee==null?void 0:Ee.props)||{},Le={},Fe=ir(function(Pn){var Yn,Ti,ro=He;return(ro==null?void 0:ro.contains(Pn))||((Yn=Zj(ro))===null||Yn===void 0?void 0:Yn.host)===Pn||Pn===ro||(_e==null?void 0:_e.contains(Pn))||((Ti=Zj(_e))===null||Ti===void 0?void 0:Ti.host)===Pn||Pn===_e||Object.values(le.current).some(function(ai){return(ai==null?void 0:ai.contains(Pn))||Pn===ai})}),Ke=Ihe(o,X,J,Y),lt=Ihe(o,G,Q,ee),ft=_.useState(h||!1),Ye=Me(ft,2),we=Ye[0],De=Ye[1],We=f??we,Ge=ir(function(Pn){f===void 0&&De(Pn)});er(function(){De(f||!1)},[f]);var Je=_.useRef(We);Je.current=We;var bt=_.useRef([]);bt.current=[];var at=ir(function(Pn){var Yn;Ge(Pn),((Yn=bt.current[bt.current.length-1])!==null&&Yn!==void 0?Yn:We)!==Pn&&(bt.current.push(Pn),d==null||d(Pn))}),et=_.useRef(),rt=function(){clearTimeout(et.current)},Ze=function(Yn){var Ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),Ti===0?at(Yn):et.current=setTimeout(function(){at(Yn)},Ti*1e3)};_.useEffect(function(){return rt},[]);var wt=_.useState(!1),ut=Me(wt,2),ot=ut[0],dt=ut[1];er(function(Pn){(!Pn||We)&&dt(!0)},[We]);var _t=_.useState(null),Ot=Me(_t,2),Ct=Ot[0],mt=Ot[1],It=_.useState([0,0]),nt=Me(It,2),yt=nt[0],xt=nt[1],At=function(Yn){xt([Yn.clientX,Yn.clientY])},cn=kbt(We,_e,q?yt:He,A,j,D,U),Ht=Me(cn,11),$t=Ht[0],zt=Ht[1],Qt=Ht[2],Pt=Ht[3],ct=Ht[4],Wt=Ht[5],wn=Ht[6],kt=Ht[7],gt=Ht[8],Bt=Ht[9],Nn=Ht[10],Or=Ibt(be,s,u,c),Ar=Me(Or,2),ei=Ar[0],ar=Ar[1],Sn=ei.has("click"),pi=ar.has("click")||ar.has("contextMenu"),On=ir(function(){ot||Nn()}),En=function(){Je.current&&q&&pi&&Ze(!1)};jbt(We,He,_e,On,En),er(function(){On()},[yt,A]),er(function(){We&&!(j!=null&&j[A])&&On()},[JSON.stringify(D)]);var en=_.useMemo(function(){var Pn=Abt(j,o,Bt,q);return Re(Pn,k==null?void 0:k(Bt))},[Bt,k,j,o,q]);_.useImperativeHandle(r,function(){return{nativeElement:qe.current,forceAlign:On}});var gn=_.useState(0),qn=Me(gn,2),yr=qn[0],mn=qn[1],Zt=_.useState(0),nn=Me(Zt,2),Dn=nn[0],Xn=nn[1],cr=function(){if(B&&He){var Yn=He.getBoundingClientRect();mn(Yn.width),Xn(Yn.height)}},qt=function(){cr(),On()},Yt=function(Yn){dt(!1),Nn(),p==null||p(Yn)},Mn=function(){return new Promise(function(Yn){cr(),mt(function(){return Yn})})};er(function(){Ct&&(Nn(),Ct(),mt(null))},[Ct]);function Zn(Pn,Yn,Ti,ro){Le[Pn]=function(ai){var Ru;ro==null||ro(ai),Ze(Yn,Ti);for(var jc=arguments.length,Q0=new Array(jc>1?jc-1:0),Iu=1;Iu1?Ti-1:0),ai=1;ai1?Ti-1:0),ai=1;ai1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=Qje(n,!1),a=o.label,l=o.value,s=o.options,u=o.groupLabel;function c(f,h){Array.isArray(f)&&f.forEach(function(d){if(h||!(s in d)){var p=d[l];i.push({key:Dhe(d,i.length),groupOption:h,data:d,label:d[a],value:p})}else{var g=d[u];g===void 0&&r&&(g=d.label),i.push({key:Dhe(d,i.length),group:!0,data:d,label:g}),c(d[s],!0)}})}return c(e,!1),i}function YZ(e){var t=fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Dr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Vbt=function(t,n,r){if(!n||!n.length)return null;var i=!1,o=function l(s,u){var c=qAe(u),f=c[0],h=c.slice(1);if(!f)return[s];var d=s.split(f);return i=i||d.length>1,d.reduce(function(p,g){return[].concat(vt(p),vt(l(g,h)))},[]).filter(Boolean)},a=o(t,n);return i?typeof r<"u"?a.slice(0,r):a:null},mre=_.createContext(null),Ubt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Gbt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ZZ=function(t){return t==="tags"||t==="multiple"},eB=_.forwardRef(function(e,t){var n,r,i=e.id,o=e.prefixCls,a=e.className,l=e.showSearch,s=e.tagRender,u=e.direction,c=e.omitDomProps,f=e.displayValues,h=e.onDisplayValuesChange,d=e.emptyOptions,p=e.notFoundContent,g=p===void 0?"Not Found":p,m=e.onClear,v=e.mode,y=e.disabled,b=e.loading,C=e.getInputElement,x=e.getRawInputElement,S=e.open,w=e.defaultOpen,O=e.onDropdownVisibleChange,$=e.activeValue,P=e.onActiveValueChange,T=e.activeDescendantId,R=e.searchValue,M=e.autoClearSearchValue,A=e.onSearch,N=e.onSearchSplit,j=e.tokenSeparators,D=e.allowClear,L=e.suffixIcon,B=e.clearIcon,k=e.OptionList,z=e.animation,q=e.transitionName,W=e.dropdownStyle,U=e.dropdownClassName,K=e.dropdownMatchSelectWidth,X=e.dropdownRender,G=e.dropdownAlign,Y=e.placement,J=e.builtinPlacements,ee=e.getPopupContainer,Q=e.showAction,te=Q===void 0?[]:Q,ne=e.onFocus,re=e.onBlur,oe=e.onKeyUp,se=e.onKeyDown,ye=e.onMouseDown,be=an(e,Ubt),he=ZZ(v),le=(l!==void 0?l:he)||v==="combobox",ve=fe({},be);Gbt.forEach(function(en){delete ve[en]}),c==null||c.forEach(function(en){delete ve[en]});var ke=_.useState(!1),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1];_.useEffect(function(){Pe(Zz())},[]);var _e=_.useRef(null),ce=_.useRef(null),Te=_.useRef(null),Ne=_.useRef(null),je=_.useRef(null),He=_.useRef(!1),Be=nbt(),qe=Me(Be,3),me=qe[0],Ee=qe[1],$e=qe[2];_.useImperativeHandle(t,function(){var en,gn;return{focus:(en=Ne.current)===null||en===void 0?void 0:en.focus,blur:(gn=Ne.current)===null||gn===void 0?void 0:gn.blur,scrollTo:function(yr){var mn;return(mn=je.current)===null||mn===void 0?void 0:mn.scrollTo(yr)}}});var Le=_.useMemo(function(){var en;if(v!=="combobox")return R;var gn=(en=f[0])===null||en===void 0?void 0:en.value;return typeof gn=="string"||typeof gn=="number"?String(gn):""},[R,v,f]),Fe=v==="combobox"&&typeof C=="function"&&C()||null,Ke=typeof x=="function"&&x(),lt=Pd(ce,Ke==null||(n=Ke.props)===null||n===void 0?void 0:n.ref),ft=_.useState(!1),Ye=Me(ft,2),we=Ye[0],De=Ye[1];er(function(){De(!0)},[]);var We=zn(!1,{defaultValue:w,value:S}),Ge=Me(We,2),Je=Ge[0],bt=Ge[1],at=we?Je:!1,et=!g&&d;(y||et&&at&&v==="combobox")&&(at=!1);var rt=et?!1:at,Ze=_.useCallback(function(en){var gn=en!==void 0?en:!at;y||(bt(gn),at!==gn&&(O==null||O(gn)))},[y,at,bt,O]),wt=_.useMemo(function(){return(j||[]).some(function(en){return[` `,`\r -`].includes(en)})},[k]),ut=_.useContext(hre)||{},ot=ut.maxCount,dt=ut.rawValues,_t=function(gn,qn,yr){if(!((dt==null?void 0:dt.size)>=ot)){var mn=!0,Zt=gn;P==null||P(null);var nn=Vbt(gn,k,ot&&ot-dt.size),Dn=yr?null:nn;return v!=="combobox"&&Dn&&(Zt="",N==null||N(Dn),Ze(!1),mn=!1),A&&Le!==Zt&&A(Zt,{source:qn?"typing":"effect"}),mn}},Ot=function(gn){!gn||!gn.trim()||A(gn,{source:"submit"})};_.useEffect(function(){!at&&!he&&v!=="combobox"&&_t("",!1,!1)},[at]),_.useEffect(function(){Je&&y&&bt(!1),y&&!He.current&&Ee(!1)},[y]);var Ct=Vje(),mt=Me(Ct,2),It=mt[0],nt=mt[1],yt=function(gn){var qn=It(),yr=gn.which;if(yr===ht.ENTER&&(v!=="combobox"&&gn.preventDefault(),at||Ze(!0)),nt(!!Le),yr===ht.BACKSPACE&&!qn&&he&&!Le&&f.length){for(var mn=vt(f),Zt=null,nn=mn.length-1;nn>=0;nn-=1){var Dn=mn[nn];if(!Dn.disabled){mn.splice(nn,1),Zt=Dn;break}}Zt&&h(mn,{type:"remove",values:[Zt]})}for(var Xn=arguments.length,ur=new Array(Xn>1?Xn-1:0),qt=1;qt1?qn-1:0),mn=1;mn1?nn-1:0),Xn=1;Xn0,W=_.useMemo(function(){if(o===0||j===0)return 0;var te=o/j;return te*z},[o,j,z]),U=function(ne){ne.stopPropagation(),ne.preventDefault()},K=_.useRef({top:W,dragging:v,pageY:x,startTop:$});K.current={top:W,dragging:v,pageY:x,startTop:$};var X=function(ne){y(!0),S(Lhe(ne,c)),P(K.current.top),l(),ne.stopPropagation(),ne.preventDefault()};_.useEffect(function(){var te=function(se){se.preventDefault()},ne=R.current,re=M.current;return ne.addEventListener("touchstart",te),re.addEventListener("touchstart",X),function(){ne.removeEventListener("touchstart",te),re.removeEventListener("touchstart",X)}},[]);var G=_.useRef();G.current=j;var Y=_.useRef();Y.current=z,_.useEffect(function(){if(v){var te,ne=function(se){var ye=K.current,be=ye.dragging,he=ye.pageY,le=ye.startTop;if(rr.cancel(te),be){var ve=Lhe(se,c)-he,ke=le;!T&&c?ke-=ve:ke+=ve;var Ie=G.current,Oe=Y.current,Pe=Oe?ke/Oe:0,_e=Math.ceil(Pe*Ie);_e=Math.max(_e,0),_e=Math.min(_e,Ie),te=rr(function(){u(_e,c)})}},re=function(){y(!1),s()};return window.addEventListener("mousemove",ne),window.addEventListener("touchmove",ne),window.addEventListener("mouseup",re),window.addEventListener("touchend",re),function(){window.removeEventListener("mousemove",ne),window.removeEventListener("touchmove",ne),window.removeEventListener("mouseup",re),window.removeEventListener("touchend",re),rr.cancel(te)}}},[v]),_.useEffect(function(){B()},[o]),_.useImperativeHandle(t,function(){return{delayHidden:B}});var J="".concat(r,"-scrollbar"),ee={position:"absolute",visibility:k&&V?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(ee.height=8,ee.left=0,ee.right=0,ee.bottom=0,Q.height="100%",Q.width=f,T?Q.left=W:Q.right=W):(ee.width=8,ee.top=0,ee.bottom=0,T?ee.right=0:ee.left=0,Q.width="100%",Q.height=f,Q.top=W),_.createElement("div",{ref:R,className:Re(J,(n={},ue(n,"".concat(J,"-horizontal"),c),ue(n,"".concat(J,"-vertical"),!c),ue(n,"".concat(J,"-visible"),k),n)),style:fe(fe({},ee),d),onMouseDown:U,onMouseMove:B},_.createElement("div",{ref:M,className:Re("".concat(J,"-thumb"),ue({},"".concat(J,"-thumb-moving"),v)),style:fe(fe({},Q),p),onMouseDown:X}))});function Kbt(e){var t=e.children,n=e.setRef,r=_.useCallback(function(i){n(i)},[]);return _.cloneElement(t,{ref:r})}function Xbt(e,t,n,r,i,o,a){var l=a.getKey;return e.slice(t,n+1).map(function(s,u){var c=t+u,f=o(s,c,{style:{width:r}}),h=l(s);return _.createElement(Kbt,{key:h,setRef:function(p){return i(s,p)}},f)})}var Ybt=function(){function e(){Yr(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Zr(e,[{key:"set",value:function(n,r){this.maps[n]=r,this.id+=1}},{key:"get",value:function(n){return this.maps[n]}}]),e}();function Zbt(e,t,n){var r=_.useState(0),i=Me(r,2),o=i[0],a=i[1],l=_.useRef(new Map),s=_.useRef(new Ybt),u=_.useRef();function c(){rr.cancel(u.current)}function f(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;c();var p=function(){l.current.forEach(function(m,v){if(m&&m.offsetParent){var y=kv(m),b=y.offsetHeight;s.current.get(v)!==b&&s.current.set(v,y.offsetHeight)}}),a(function(m){return m+1})};d?p():u.current=rr(p)}function h(d,p){var g=e(d),m=l.current.get(g);p?(l.current.set(g,p),f()):l.current.delete(g),!m!=!p&&(p?t==null||t(d):n==null||n(d))}return _.useEffect(function(){return c},[]),[h,f,s.current,o]}var Qbt=10;function Jbt(e,t,n,r,i,o,a,l){var s=_.useRef(),u=_.useState(null),c=Me(u,2),f=c[0],h=c[1];return er(function(){if(f&&f.times=0;A-=1){var N=i(t[A]),k=n.get(N);if(k===void 0){y=!0;break}if(M-=k,M<=0)break}switch(x){case"top":C=w-m;break;case"bottom":C=O-v+m;break;default:{var D=e.current.scrollTop,L=D+v;wL&&(b="bottom")}}C!==null&&a(C),C!==f.lastTop&&(y=!0)}y&&h(fe(fe({},f),{},{times:f.times+1,targetAlign:b,lastTop:C}))}},[f,e.current]),function(d){if(d==null){l();return}if(rr.cancel(s.current),typeof d=="number")a(d);else if(d&&bn(d)==="object"){var p,g=d.align;"index"in d?p=d.index:p=t.findIndex(function(y){return i(y)===d.key});var m=d.offset,v=m===void 0?0:m;h({times:0,index:p,offset:v,originAlign:g})}}}function e2t(e,t,n){var r=e.length,i=t.length,o,a;if(r===0&&i===0)return null;r"u"?"undefined":bn(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const eDe=function(e,t){var n=_.useRef(!1),r=_.useRef(null);function i(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var o=_.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=a<0&&o.current.top||a>0&&o.current.bottom;return l&&s?(clearTimeout(r.current),n.current=!1):(!s||n.current)&&i(),!n.current&&s}};function n2t(e,t,n,r,i){var o=_.useRef(0),a=_.useRef(null),l=_.useRef(null),s=_.useRef(!1),u=eDe(t,n);function c(m,v){rr.cancel(a.current),o.current+=v,l.current=v,!u(v)&&(Bhe||m.preventDefault(),a.current=rr(function(){var y=s.current?10:1;i(o.current*y),o.current=0}))}function f(m,v){i(v,!0),Bhe||m.preventDefault()}var h=_.useRef(null),d=_.useRef(null);function p(m){if(e){rr.cancel(d.current),d.current=rr(function(){h.current=null},2);var v=m.deltaX,y=m.deltaY,b=m.shiftKey,C=v,x=y;(h.current==="sx"||!h.current&&b&&y&&!v)&&(C=y,x=0,h.current="sx");var S=Math.abs(C),w=Math.abs(x);h.current===null&&(h.current=r&&S>w?"x":"y"),h.current==="y"?c(m,x):f(m,C)}}function g(m){e&&(s.current=m.detail===l.current)}return[p,g]}var r2t=14/15;function i2t(e,t,n){var r=_.useRef(!1),i=_.useRef(0),o=_.useRef(null),a=_.useRef(null),l,s=function(h){if(r.current){var d=Math.ceil(h.touches[0].pageY),p=i.current-d;i.current=d,n(p)&&h.preventDefault(),clearInterval(a.current),a.current=setInterval(function(){p*=r2t,(!n(p,!0)||Math.abs(p)<=.1)&&clearInterval(a.current)},16)}},u=function(){r.current=!1,l()},c=function(h){l(),h.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(h.touches[0].pageY),o.current=h.target,o.current.addEventListener("touchmove",s),o.current.addEventListener("touchend",u))};l=function(){o.current&&(o.current.removeEventListener("touchmove",s),o.current.removeEventListener("touchend",u))},er(function(){return e&&t.current.addEventListener("touchstart",c),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",c),l(),clearInterval(a.current)}},[e])}var o2t=20;function Fhe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*100;return isNaN(n)&&(n=0),n=Math.max(n,o2t),n=Math.min(n,e/2),Math.floor(n)}function a2t(e,t,n,r){var i=_.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=Me(i,2),a=o[0],l=o[1],s=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c,h=a.get(c),d=a.get(f);if(h===void 0||d===void 0)for(var p=e.length,g=l.length;go||!!g),T=p==="rtl",R=Re(r,ue({},"".concat(r,"-rtl"),T),i),M=c||s2t,A=_.useRef(),N=_.useRef(),k=_.useState(0),D=Me(k,2),L=D[0],B=D[1],j=_.useState(0),z=Me(j,2),V=z[0],W=z[1],U=_.useState(!1),K=Me(U,2),X=K[0],G=K[1],Y=function(){G(!0)},J=function(){G(!1)},ee=_.useCallback(function(nt){return typeof h=="function"?h(nt):nt==null?void 0:nt[h]},[h]),Q={getKey:ee};function te(nt){B(function(yt){var xt;typeof nt=="function"?xt=nt(yt):xt=nt;var At=lt(xt);return A.current.scrollTop=At,At})}var ne=_.useRef({start:0,end:M.length}),re=_.useRef(),oe=t2t(M,ee),se=Me(oe,1),ye=se[0];re.current=ye;var be=Zbt(ee,null,null),he=Me(be,4),le=he[0],ve=he[1],ke=he[2],Ie=he[3],Oe=_.useMemo(function(){if(!$)return{scrollHeight:void 0,start:0,end:M.length-1,offset:void 0};if(!P){var nt;return{scrollHeight:((nt=N.current)===null||nt===void 0?void 0:nt.offsetHeight)||0,start:0,end:M.length-1,offset:void 0}}for(var yt=0,xt,At,cn,Ht=M.length,$t=0;$t=L&&xt===void 0&&(xt=$t,At=yt),ct>L+o&&cn===void 0&&(cn=$t),yt=ct}return xt===void 0&&(xt=0,At=0,cn=Math.ceil(o/a)),cn===void 0&&(cn=M.length-1),cn=Math.min(cn+1,M.length-1),{scrollHeight:yt,start:xt,end:cn,offset:At}},[P,$,L,M,Ie,o]),Pe=Oe.scrollHeight,_e=Oe.start,ce=Oe.end,Te=Oe.offset;ne.current.start=_e,ne.current.end=ce;var Ne=_.useState({width:0,height:o}),je=Me(Ne,2),He=je[0],Be=je[1],qe=function(yt){Be({width:yt.width||yt.offsetWidth,height:yt.height||yt.offsetHeight})},me=_.useRef(),Ee=_.useRef(),$e=_.useMemo(function(){return Fhe(He.width,g)},[He.width,g]),Le=_.useMemo(function(){return Fhe(He.height,Pe)},[He.height,Pe]),Fe=Pe-o,Ke=_.useRef(Fe);Ke.current=Fe;function lt(nt){var yt=nt;return Number.isNaN(Ke.current)||(yt=Math.min(yt,Ke.current)),yt=Math.max(yt,0),yt}var ft=L<=0,Ye=L>=Fe,we=eDe(ft,Ye),De=function(){return{x:T?-V:V,y:L}},We=_.useRef(De()),Ge=ir(function(){if(b){var nt=De();(We.current.x!==nt.x||We.current.y!==nt.y)&&(b(nt),We.current=nt)}});function Je(nt,yt){var xt=nt;yt?(Ns.flushSync(function(){W(xt)}),Ge()):te(xt)}function bt(nt){var yt=nt.currentTarget.scrollTop;yt!==L&&te(yt),y==null||y(nt),Ge()}var at=function(yt){var xt=yt,At=g-He.width;return xt=Math.max(xt,0),xt=Math.min(xt,At),xt},et=ir(function(nt,yt){yt?(Ns.flushSync(function(){W(function(xt){var At=xt+(T?-nt:nt);return at(At)})}),Ge()):te(function(xt){var At=xt+nt;return At})}),rt=n2t($,ft,Ye,!!g,et),Ze=Me(rt,2),wt=Ze[0],ut=Ze[1];i2t($,A,function(nt,yt){return we(nt,yt)?!1:(wt({preventDefault:function(){},deltaY:nt}),!0)}),er(function(){function nt(xt){$&&xt.preventDefault()}var yt=A.current;return yt.addEventListener("wheel",wt),yt.addEventListener("DOMMouseScroll",ut),yt.addEventListener("MozMousePixelScroll",nt),function(){yt.removeEventListener("wheel",wt),yt.removeEventListener("DOMMouseScroll",ut),yt.removeEventListener("MozMousePixelScroll",nt)}},[$]),er(function(){g&&W(function(nt){return at(nt)})},[He.width,g]);var ot=function(){var yt,xt;(yt=me.current)===null||yt===void 0||yt.delayHidden(),(xt=Ee.current)===null||xt===void 0||xt.delayHidden()},dt=Jbt(A,M,ke,a,ee,function(){return ve(!0)},te,ot);_.useImperativeHandle(t,function(){return{getScrollInfo:De,scrollTo:function(yt){function xt(At){return At&&bn(At)==="object"&&("left"in At||"top"in At)}xt(yt)?(yt.left!==void 0&&W(at(yt.left)),dt(yt.top)):dt(yt)}}}),er(function(){if(C){var nt=M.slice(_e,ce+1);C(nt,M)}},[_e,ce,M]);var _t=a2t(M,ee,ke,a),Ot=S==null?void 0:S({start:_e,end:ce,virtual:P,offsetX:V,offsetY:Te,rtl:T,getSize:_t}),Ct=Xbt(M,_e,ce,g,le,f,Q),mt=null;o&&(mt=fe(ue({},s?"height":"maxHeight",o),c2t),$&&(mt.overflowY="hidden",g&&(mt.overflowX="hidden"),X&&(mt.pointerEvents="none")));var It={};return T&&(It.dir="rtl"),_.createElement("div",Qe({style:fe(fe({},u),{},{position:"relative"}),className:R},It,O),_.createElement(Ba,{onResize:qe},_.createElement(v,{className:"".concat(r,"-holder"),style:mt,ref:A,onScroll:bt,onMouseEnter:ot},_.createElement(Jje,{prefixCls:r,height:Pe,offsetX:V,offsetY:Te,scrollWidth:g,onInnerResize:ve,ref:N,innerProps:x,rtl:T,extra:Ot},Ct))),P&&Pe>o&&_.createElement(zhe,{ref:me,prefixCls:r,scrollOffset:L,scrollRange:Pe,rtl:T,onScroll:Je,onStartMove:Y,onStopMove:J,spinSize:Le,containerSize:He.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),P&&g&&_.createElement(zhe,{ref:Ee,prefixCls:r,scrollOffset:V,scrollRange:g,rtl:T,onScroll:Je,onStartMove:Y,onStopMove:J,spinSize:$e,containerSize:He.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var nB=_.forwardRef(u2t);nB.displayName="List";function d2t(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var f2t=["disabled","title","children","style","className"];function Hhe(e){return typeof e=="string"||typeof e=="number"}var p2t=function(t,n){var r=Qz(),i=r.prefixCls,o=r.id,a=r.open,l=r.multiple,s=r.mode,u=r.searchValue,c=r.toggleOpen,f=r.notFoundContent,h=r.onPopupScroll,d=_.useContext(hre),p=d.maxCount,g=d.flattenOptions,m=d.onActiveValue,v=d.defaultActiveFirstOption,y=d.onSelect,b=d.menuItemSelectedIcon,C=d.rawValues,x=d.fieldNames,S=d.virtual,w=d.direction,O=d.listHeight,$=d.listItemHeight,P=d.optionRender,T="".concat(i,"-item"),R=Th(function(){return g},[a,g],function(ee,Q){return Q[0]&&ee[1]!==Q[1]}),M=_.useRef(null),A=_.useMemo(function(){return l&&typeof p<"u"&&(C==null?void 0:C.size)>=p},[l,p,C==null?void 0:C.size]),N=function(Q){Q.preventDefault()},k=function(Q){var te;(te=M.current)===null||te===void 0||te.scrollTo(typeof Q=="number"?{index:Q}:Q)},D=function(Q){for(var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ne=R.length,re=0;re1&&arguments[1]!==void 0?arguments[1]:!1;z(Q);var ne={source:te?"keyboard":"mouse"},re=R[Q];if(!re){m(null,-1,ne);return}m(re.value,Q,ne)};_.useEffect(function(){V(v!==!1?D(0):-1)},[R.length,u]);var W=_.useCallback(function(ee){return C.has(ee)&&s!=="combobox"},[s,vt(C).toString(),C.size]);_.useEffect(function(){var ee=setTimeout(function(){if(!l&&a&&C.size===1){var te=Array.from(C)[0],ne=R.findIndex(function(re){var oe=re.data;return oe.value===te});ne!==-1&&(V(ne),k(ne))}});if(a){var Q;(Q=M.current)===null||Q===void 0||Q.scrollTo(void 0)}return function(){return clearTimeout(ee)}},[a,u]);var U=function(Q){Q!==void 0&&y(Q,{selected:!C.has(Q)}),l||c(!1)};if(_.useImperativeHandle(n,function(){return{onKeyDown:function(Q){var te=Q.which,ne=Q.ctrlKey;switch(te){case ht.N:case ht.P:case ht.UP:case ht.DOWN:{var re=0;if(te===ht.UP?re=-1:te===ht.DOWN?re=1:d2t()&&ne&&(te===ht.N?re=1:te===ht.P&&(re=-1)),re!==0){var oe=D(j+re,re);k(oe),V(oe,!0)}break}case ht.ENTER:{var se,ye=R[j];ye&&!(ye!=null&&(se=ye.data)!==null&&se!==void 0&&se.disabled)&&!A?U(ye.value):U(void 0),a&&Q.preventDefault();break}case ht.ESC:c(!1),a&&Q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Q){k(Q)}}}),R.length===0)return _.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(T,"-empty"),onMouseDown:N},f);var K=Object.keys(x).map(function(ee){return x[ee]}),X=function(Q){return Q.label};function G(ee,Q){var te=ee.group;return{role:te?"presentation":"option",id:"".concat(o,"_list_").concat(Q)}}var Y=function(Q){var te=R[Q];if(!te)return null;var ne=te.data||{},re=ne.value,oe=te.group,se=qo(ne,!0),ye=X(te);return te?_.createElement("div",Qe({"aria-label":typeof ye=="string"&&!oe?ye:null},se,{key:Q},G(te,Q),{"aria-selected":W(re)}),re):null},J={role:"listbox",id:"".concat(o,"_list")};return _.createElement(_.Fragment,null,S&&_.createElement("div",Qe({},J,{style:{height:0,width:0,overflow:"hidden"}}),Y(j-1),Y(j),Y(j+1)),_.createElement(nB,{itemKey:"key",ref:M,data:R,height:O,itemHeight:$,fullHeight:!1,onMouseDown:N,onScroll:h,virtual:S,direction:w,innerProps:S?null:J},function(ee,Q){var te,ne=ee.group,re=ee.groupOption,oe=ee.data,se=ee.label,ye=ee.value,be=oe.key;if(ne){var he,le=(he=oe.title)!==null&&he!==void 0?he:Hhe(se)?se.toString():void 0;return _.createElement("div",{className:Re(T,"".concat(T,"-group")),title:le},se!==void 0?se:be)}var ve=oe.disabled,ke=oe.title;oe.children;var Ie=oe.style,Oe=oe.className,Pe=an(oe,f2t),_e=bi(Pe,K),ce=W(ye),Te=ve||!ce&&A,Ne="".concat(T,"-option"),je=Re(T,Ne,Oe,(te={},ue(te,"".concat(Ne,"-grouped"),re),ue(te,"".concat(Ne,"-active"),j===Q&&!Te),ue(te,"".concat(Ne,"-disabled"),Te),ue(te,"".concat(Ne,"-selected"),ce),te)),He=X(ee),Be=!b||typeof b=="function"||ce,qe=typeof He=="number"?He:He||ye,me=Hhe(qe)?qe.toString():void 0;return ke!==void 0&&(me=ke),_.createElement("div",Qe({},qo(_e),S?{}:G(ee,Q),{"aria-selected":ce,className:je,title:me,onMouseMove:function(){j===Q||Te||V(Q)},onClick:function(){Te||U(ye)},style:Ie}),_.createElement("div",{className:"".concat(Ne,"-content")},typeof P=="function"?P(ee,{index:Q}):qe),_.isValidElement(b)||ce,Be&&_.createElement(Zz,{className:"".concat(T,"-option-state"),customizeIcon:b,customizeIconProps:{value:ye,disabled:Te,isSelected:ce}},ce?"✓":null))}))},h2t=_.forwardRef(p2t);const g2t=function(e,t){var n=_.useRef({values:new Map,options:new Map}),r=_.useMemo(function(){var o=n.current,a=o.values,l=o.options,s=e.map(function(f){if(f.label===void 0){var h;return fe(fe({},f),{},{label:(h=a.get(f.value))===null||h===void 0?void 0:h.label})}return f}),u=new Map,c=new Map;return s.forEach(function(f){u.set(f.value,f),c.set(f.value,t.get(f.value)||l.get(f.value))}),n.current.values=u,n.current.options=c,s},[e,t]),i=_.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,i]};function Yq(e,t){return Yje(e).join("").toUpperCase().includes(t)}const m2t=function(e,t,n,r,i){return _.useMemo(function(){if(!n||r===!1)return e;var o=t.options,a=t.label,l=t.value,s=[],u=typeof r=="function",c=n.toUpperCase(),f=u?r:function(d,p){return i?Yq(p[i],c):p[o]?Yq(p[a!=="children"?a:"label"],c):Yq(p[l],c)},h=u?function(d){return XZ(d)}:function(d){return d};return e.forEach(function(d){if(d[o]){var p=f(n,h(d));if(p)s.push(d);else{var g=d[o].filter(function(m){return f(n,h(m))});g.length&&s.push(fe(fe({},d),{},ue({},o,g)))}return}f(n,h(d))&&s.push(d)}),s},[e,r,i,n,t])};var Whe=0,v2t=oa();function y2t(){var e;return v2t?(e=Whe,Whe+=1):e="TEST_OR_SSR",e}function gre(e){var t=_.useState(),n=Me(t,2),r=n[0],i=n[1];return _.useEffect(function(){i("rc_select_".concat(y2t()))},[]),e||r}var b2t=["children","value"],C2t=["children"];function S2t(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,a=an(r,b2t);return fe({key:n,value:o!==void 0?o:n,children:i},a)}function tDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Wo(e).map(function(n,r){if(!_.isValidElement(n)||!n.type)return null;var i=n,o=i.type.isSelectOptGroup,a=i.key,l=i.props,s=l.children,u=an(l,C2t);return t||!o?S2t(n):fe(fe({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},u),{},{options:tDe(s)})}).filter(function(n){return n})}var x2t=function(t,n,r,i,o){return _.useMemo(function(){var a=t,l=!t;l&&(a=tDe(n));var s=new Map,u=new Map,c=function(d,p,g){g&&typeof g=="string"&&d.set(p[g],p)},f=function h(d){for(var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g2&&arguments[2]!==void 0?arguments[2]:{},wt=Ze.source,ut=wt===void 0?"keyboard":wt;ft(rt),a&&r==="combobox"&&et!==null&&ut==="keyboard"&&Le(String(et))},[a,r]),De=function(rt,Ze,wt){var ut=function(){var xt,At=Oe(rt);return[L?{label:At==null?void 0:At[X.label],value:rt,key:(xt=At==null?void 0:At.key)!==null&&xt!==void 0?xt:rt}:rt,XZ(At)]};if(Ze&&d){var ot=ut(),dt=Me(ot,2),_t=dt[0],Ot=dt[1];d(_t,Ot)}else if(!Ze&&p&&wt!=="clear"){var Ct=ut(),mt=Me(Ct,2),It=mt[0],nt=mt[1];p(It,nt)}},We=qhe(function(et,rt){var Ze,wt=W?rt.selected:!0;wt?Ze=W?[].concat(vt(Ie),[et]):[et]:Ze=Ie.filter(function(ut){return ut.value!==et}),qe(Ze),De(et,wt),r==="combobox"?Le(""):(!YZ||h)&&(ee(""),Le(""))}),Ge=function(rt,Ze){qe(rt);var wt=Ze.type,ut=Ze.values;(wt==="remove"||wt==="clear")&&ut.forEach(function(ot){De(ot.value,!1,wt)})},Je=function(rt,Ze){if(ee(rt),Le(null),Ze.source==="submit"){var wt=(rt||"").trim();if(wt){var ut=Array.from(new Set([].concat(vt(_e),[wt])));qe(ut),De(wt,!0),ee("")}return}Ze.source!=="blur"&&(r==="combobox"&&qe(rt),c==null||c(rt))},bt=function(rt){var Ze=rt;r!=="tags"&&(Ze=rt.map(function(ut){var ot=ne.get(ut);return ot==null?void 0:ot.value}).filter(function(ut){return ut!==void 0}));var wt=Array.from(new Set([].concat(vt(_e),vt(Ze))));qe(wt),wt.forEach(function(ut){De(ut,!0)})},at=_.useMemo(function(){var et=P!==!1&&m!==!1;return fe(fe({},Q),{},{flattenOptions:Be,onActiveValue:we,defaultActiveFirstOption:Ye,onSelect:We,menuItemSelectedIcon:$,rawValues:_e,fieldNames:X,virtual:et,direction:T,listHeight:M,listItemHeight:N,childrenAsData:U,maxCount:j,optionRender:S})},[j,Q,Be,we,Ye,We,$,_e,X,P,m,T,M,N,U,S]);return _.createElement(hre.Provider,{value:at},_.createElement(Jz,Qe({},z,{id:V,prefixCls:o,ref:t,omitDomProps:w2t,mode:r,displayValues:Pe,onDisplayValuesChange:Ge,direction:T,searchValue:J,onSearch:Je,autoClearSearchValue:h,onSearchSplit:bt,dropdownMatchSelectWidth:m,OptionList:h2t,emptyOptions:!Be.length,activeValue:$e,activeDescendantId:"".concat(V,"_list_").concat(lt)})))}),rB=E2t;rB.Option=tB;rB.OptGroup=eB;const $2t=Object.freeze(Object.defineProperty({__proto__:null,BaseSelect:Jz,OptGroup:eB,Option:tB,default:rB,useBaseProps:Qz},Symbol.toStringTag,{value:"Module"}));function jf(e,t,n){return Re({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const jy=(e,t)=>t||e,P2t=()=>{const[,e]=To(),n=new Gn(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return _.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},_.createElement("g",{fill:"none",fillRule:"evenodd"},_.createElement("g",{transform:"translate(24 31.67)"},_.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),_.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),_.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),_.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),_.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),_.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),_.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},_.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),_.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},T2t=P2t,M2t=()=>{const[,e]=To(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:o,shadowColor:a,contentColor:l}=_.useMemo(()=>({borderColor:new Gn(t).onBackground(i).toHexShortString(),shadowColor:new Gn(n).onBackground(i).toHexShortString(),contentColor:new Gn(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return _.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},_.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},_.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),_.createElement("g",{fillRule:"nonzero",stroke:o},_.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),_.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},R2t=M2t,I2t=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},N2t=vr("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,i=Wn(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[I2t(i)]});var A2t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{className:t,rootClassName:n,prefixCls:r,image:i=nDe,description:o,children:a,imageStyle:l,style:s}=e,u=A2t(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:c,direction:f,empty:h}=_.useContext(on),d=c("empty",r),[p,g,m]=N2t(d),[v]=xu("Empty"),y=typeof o<"u"?o:v==null?void 0:v.description,b=typeof y=="string"?y:"empty";let C=null;return typeof i=="string"?C=_.createElement("img",{alt:b,src:i}):C=i,p(_.createElement("div",Object.assign({className:Re(g,m,d,h==null?void 0:h.className,{[`${d}-normal`]:i===rDe,[`${d}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},h==null?void 0:h.style),s)},u),_.createElement("div",{className:`${d}-image`,style:l},C),y&&_.createElement("div",{className:`${d}-description`},y),a&&_.createElement("div",{className:`${d}-footer`},a)))};mre.PRESENTED_IMAGE_DEFAULT=nDe;mre.PRESENTED_IMAGE_SIMPLE=rDe;const dv=mre,k2t=e=>{const{componentName:t}=e,{getPrefixCls:n}=_.useContext(on),r=n("empty");switch(t){case"Table":case"List":return Se.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Se.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return Se.createElement(dv,null)}},vre=k2t,j2t=["outlined","borderless","filled"],Dy=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=_.useContext(bje);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n??"outlined";const i=j2t.includes(r);return[r,i]},D2t=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function iDe(e,t){return e||D2t(t)}const Vhe=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:"relative",display:"block",minHeight:t,padding:i,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},L2t=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` +`].includes(en)})},[j]),ut=_.useContext(mre)||{},ot=ut.maxCount,dt=ut.rawValues,_t=function(gn,qn,yr){if(!((dt==null?void 0:dt.size)>=ot)){var mn=!0,Zt=gn;P==null||P(null);var nn=Vbt(gn,j,ot&&ot-dt.size),Dn=yr?null:nn;return v!=="combobox"&&Dn&&(Zt="",N==null||N(Dn),Ze(!1),mn=!1),A&&Le!==Zt&&A(Zt,{source:qn?"typing":"effect"}),mn}},Ot=function(gn){!gn||!gn.trim()||A(gn,{source:"submit"})};_.useEffect(function(){!at&&!he&&v!=="combobox"&&_t("",!1,!1)},[at]),_.useEffect(function(){Je&&y&&bt(!1),y&&!He.current&&Ee(!1)},[y]);var Ct=Vje(),mt=Me(Ct,2),It=mt[0],nt=mt[1],yt=function(gn){var qn=It(),yr=gn.which;if(yr===ht.ENTER&&(v!=="combobox"&&gn.preventDefault(),at||Ze(!0)),nt(!!Le),yr===ht.BACKSPACE&&!qn&&he&&!Le&&f.length){for(var mn=vt(f),Zt=null,nn=mn.length-1;nn>=0;nn-=1){var Dn=mn[nn];if(!Dn.disabled){mn.splice(nn,1),Zt=Dn;break}}Zt&&h(mn,{type:"remove",values:[Zt]})}for(var Xn=arguments.length,cr=new Array(Xn>1?Xn-1:0),qt=1;qt1?qn-1:0),mn=1;mn1?nn-1:0),Xn=1;Xn0,W=_.useMemo(function(){if(o===0||k===0)return 0;var te=o/k;return te*z},[o,k,z]),U=function(ne){ne.stopPropagation(),ne.preventDefault()},K=_.useRef({top:W,dragging:v,pageY:x,startTop:$});K.current={top:W,dragging:v,pageY:x,startTop:$};var X=function(ne){y(!0),S(Lhe(ne,c)),P(K.current.top),l(),ne.stopPropagation(),ne.preventDefault()};_.useEffect(function(){var te=function(se){se.preventDefault()},ne=R.current,re=M.current;return ne.addEventListener("touchstart",te),re.addEventListener("touchstart",X),function(){ne.removeEventListener("touchstart",te),re.removeEventListener("touchstart",X)}},[]);var G=_.useRef();G.current=k;var Y=_.useRef();Y.current=z,_.useEffect(function(){if(v){var te,ne=function(se){var ye=K.current,be=ye.dragging,he=ye.pageY,le=ye.startTop;if(rr.cancel(te),be){var ve=Lhe(se,c)-he,ke=le;!T&&c?ke-=ve:ke+=ve;var Ie=G.current,Oe=Y.current,Pe=Oe?ke/Oe:0,_e=Math.ceil(Pe*Ie);_e=Math.max(_e,0),_e=Math.min(_e,Ie),te=rr(function(){u(_e,c)})}},re=function(){y(!1),s()};return window.addEventListener("mousemove",ne),window.addEventListener("touchmove",ne),window.addEventListener("mouseup",re),window.addEventListener("touchend",re),function(){window.removeEventListener("mousemove",ne),window.removeEventListener("touchmove",ne),window.removeEventListener("mouseup",re),window.removeEventListener("touchend",re),rr.cancel(te)}}},[v]),_.useEffect(function(){B()},[o]),_.useImperativeHandle(t,function(){return{delayHidden:B}});var J="".concat(r,"-scrollbar"),ee={position:"absolute",visibility:j&&q?null:"hidden"},Q={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(ee.height=8,ee.left=0,ee.right=0,ee.bottom=0,Q.height="100%",Q.width=f,T?Q.left=W:Q.right=W):(ee.width=8,ee.top=0,ee.bottom=0,T?ee.right=0:ee.left=0,Q.width="100%",Q.height=f,Q.top=W),_.createElement("div",{ref:R,className:Re(J,(n={},ue(n,"".concat(J,"-horizontal"),c),ue(n,"".concat(J,"-vertical"),!c),ue(n,"".concat(J,"-visible"),j),n)),style:fe(fe({},ee),d),onMouseDown:U,onMouseMove:B},_.createElement("div",{ref:M,className:Re("".concat(J,"-thumb"),ue({},"".concat(J,"-thumb-moving"),v)),style:fe(fe({},Q),p),onMouseDown:X}))});function Kbt(e){var t=e.children,n=e.setRef,r=_.useCallback(function(i){n(i)},[]);return _.cloneElement(t,{ref:r})}function Xbt(e,t,n,r,i,o,a){var l=a.getKey;return e.slice(t,n+1).map(function(s,u){var c=t+u,f=o(s,c,{style:{width:r}}),h=l(s);return _.createElement(Kbt,{key:h,setRef:function(p){return i(s,p)}},f)})}var Ybt=function(){function e(){Yr(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Zr(e,[{key:"set",value:function(n,r){this.maps[n]=r,this.id+=1}},{key:"get",value:function(n){return this.maps[n]}}]),e}();function Zbt(e,t,n){var r=_.useState(0),i=Me(r,2),o=i[0],a=i[1],l=_.useRef(new Map),s=_.useRef(new Ybt),u=_.useRef();function c(){rr.cancel(u.current)}function f(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;c();var p=function(){l.current.forEach(function(m,v){if(m&&m.offsetParent){var y=kv(m),b=y.offsetHeight;s.current.get(v)!==b&&s.current.set(v,y.offsetHeight)}}),a(function(m){return m+1})};d?p():u.current=rr(p)}function h(d,p){var g=e(d),m=l.current.get(g);p?(l.current.set(g,p),f()):l.current.delete(g),!m!=!p&&(p?t==null||t(d):n==null||n(d))}return _.useEffect(function(){return c},[]),[h,f,s.current,o]}var Qbt=10;function Jbt(e,t,n,r,i,o,a,l){var s=_.useRef(),u=_.useState(null),c=Me(u,2),f=c[0],h=c[1];return er(function(){if(f&&f.times=0;A-=1){var N=i(t[A]),j=n.get(N);if(j===void 0){y=!0;break}if(M-=j,M<=0)break}switch(x){case"top":C=w-m;break;case"bottom":C=O-v+m;break;default:{var D=e.current.scrollTop,L=D+v;wL&&(b="bottom")}}C!==null&&a(C),C!==f.lastTop&&(y=!0)}y&&h(fe(fe({},f),{},{times:f.times+1,targetAlign:b,lastTop:C}))}},[f,e.current]),function(d){if(d==null){l();return}if(rr.cancel(s.current),typeof d=="number")a(d);else if(d&&bn(d)==="object"){var p,g=d.align;"index"in d?p=d.index:p=t.findIndex(function(y){return i(y)===d.key});var m=d.offset,v=m===void 0?0:m;h({times:0,index:p,offset:v,originAlign:g})}}}function e2t(e,t,n){var r=e.length,i=t.length,o,a;if(r===0&&i===0)return null;r"u"?"undefined":bn(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const eDe=function(e,t){var n=_.useRef(!1),r=_.useRef(null);function i(){clearTimeout(r.current),n.current=!0,r.current=setTimeout(function(){n.current=!1},50)}var o=_.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=a<0&&o.current.top||a>0&&o.current.bottom;return l&&s?(clearTimeout(r.current),n.current=!1):(!s||n.current)&&i(),!n.current&&s}};function n2t(e,t,n,r,i){var o=_.useRef(0),a=_.useRef(null),l=_.useRef(null),s=_.useRef(!1),u=eDe(t,n);function c(m,v){rr.cancel(a.current),o.current+=v,l.current=v,!u(v)&&(Bhe||m.preventDefault(),a.current=rr(function(){var y=s.current?10:1;i(o.current*y),o.current=0}))}function f(m,v){i(v,!0),Bhe||m.preventDefault()}var h=_.useRef(null),d=_.useRef(null);function p(m){if(e){rr.cancel(d.current),d.current=rr(function(){h.current=null},2);var v=m.deltaX,y=m.deltaY,b=m.shiftKey,C=v,x=y;(h.current==="sx"||!h.current&&b&&y&&!v)&&(C=y,x=0,h.current="sx");var S=Math.abs(C),w=Math.abs(x);h.current===null&&(h.current=r&&S>w?"x":"y"),h.current==="y"?c(m,x):f(m,C)}}function g(m){e&&(s.current=m.detail===l.current)}return[p,g]}var r2t=14/15;function i2t(e,t,n){var r=_.useRef(!1),i=_.useRef(0),o=_.useRef(null),a=_.useRef(null),l,s=function(h){if(r.current){var d=Math.ceil(h.touches[0].pageY),p=i.current-d;i.current=d,n(p)&&h.preventDefault(),clearInterval(a.current),a.current=setInterval(function(){p*=r2t,(!n(p,!0)||Math.abs(p)<=.1)&&clearInterval(a.current)},16)}},u=function(){r.current=!1,l()},c=function(h){l(),h.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(h.touches[0].pageY),o.current=h.target,o.current.addEventListener("touchmove",s),o.current.addEventListener("touchend",u))};l=function(){o.current&&(o.current.removeEventListener("touchmove",s),o.current.removeEventListener("touchend",u))},er(function(){return e&&t.current.addEventListener("touchstart",c),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",c),l(),clearInterval(a.current)}},[e])}var o2t=20;function Fhe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*100;return isNaN(n)&&(n=0),n=Math.max(n,o2t),n=Math.min(n,e/2),Math.floor(n)}function a2t(e,t,n,r){var i=_.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=Me(i,2),a=o[0],l=o[1],s=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c,h=a.get(c),d=a.get(f);if(h===void 0||d===void 0)for(var p=e.length,g=l.length;go||!!g),T=p==="rtl",R=Re(r,ue({},"".concat(r,"-rtl"),T),i),M=c||s2t,A=_.useRef(),N=_.useRef(),j=_.useState(0),D=Me(j,2),L=D[0],B=D[1],k=_.useState(0),z=Me(k,2),q=z[0],W=z[1],U=_.useState(!1),K=Me(U,2),X=K[0],G=K[1],Y=function(){G(!0)},J=function(){G(!1)},ee=_.useCallback(function(nt){return typeof h=="function"?h(nt):nt==null?void 0:nt[h]},[h]),Q={getKey:ee};function te(nt){B(function(yt){var xt;typeof nt=="function"?xt=nt(yt):xt=nt;var At=lt(xt);return A.current.scrollTop=At,At})}var ne=_.useRef({start:0,end:M.length}),re=_.useRef(),oe=t2t(M,ee),se=Me(oe,1),ye=se[0];re.current=ye;var be=Zbt(ee,null,null),he=Me(be,4),le=he[0],ve=he[1],ke=he[2],Ie=he[3],Oe=_.useMemo(function(){if(!$)return{scrollHeight:void 0,start:0,end:M.length-1,offset:void 0};if(!P){var nt;return{scrollHeight:((nt=N.current)===null||nt===void 0?void 0:nt.offsetHeight)||0,start:0,end:M.length-1,offset:void 0}}for(var yt=0,xt,At,cn,Ht=M.length,$t=0;$t=L&&xt===void 0&&(xt=$t,At=yt),ct>L+o&&cn===void 0&&(cn=$t),yt=ct}return xt===void 0&&(xt=0,At=0,cn=Math.ceil(o/a)),cn===void 0&&(cn=M.length-1),cn=Math.min(cn+1,M.length-1),{scrollHeight:yt,start:xt,end:cn,offset:At}},[P,$,L,M,Ie,o]),Pe=Oe.scrollHeight,_e=Oe.start,ce=Oe.end,Te=Oe.offset;ne.current.start=_e,ne.current.end=ce;var Ne=_.useState({width:0,height:o}),je=Me(Ne,2),He=je[0],Be=je[1],qe=function(yt){Be({width:yt.width||yt.offsetWidth,height:yt.height||yt.offsetHeight})},me=_.useRef(),Ee=_.useRef(),$e=_.useMemo(function(){return Fhe(He.width,g)},[He.width,g]),Le=_.useMemo(function(){return Fhe(He.height,Pe)},[He.height,Pe]),Fe=Pe-o,Ke=_.useRef(Fe);Ke.current=Fe;function lt(nt){var yt=nt;return Number.isNaN(Ke.current)||(yt=Math.min(yt,Ke.current)),yt=Math.max(yt,0),yt}var ft=L<=0,Ye=L>=Fe,we=eDe(ft,Ye),De=function(){return{x:T?-q:q,y:L}},We=_.useRef(De()),Ge=ir(function(){if(b){var nt=De();(We.current.x!==nt.x||We.current.y!==nt.y)&&(b(nt),We.current=nt)}});function Je(nt,yt){var xt=nt;yt?(Ns.flushSync(function(){W(xt)}),Ge()):te(xt)}function bt(nt){var yt=nt.currentTarget.scrollTop;yt!==L&&te(yt),y==null||y(nt),Ge()}var at=function(yt){var xt=yt,At=g-He.width;return xt=Math.max(xt,0),xt=Math.min(xt,At),xt},et=ir(function(nt,yt){yt?(Ns.flushSync(function(){W(function(xt){var At=xt+(T?-nt:nt);return at(At)})}),Ge()):te(function(xt){var At=xt+nt;return At})}),rt=n2t($,ft,Ye,!!g,et),Ze=Me(rt,2),wt=Ze[0],ut=Ze[1];i2t($,A,function(nt,yt){return we(nt,yt)?!1:(wt({preventDefault:function(){},deltaY:nt}),!0)}),er(function(){function nt(xt){$&&xt.preventDefault()}var yt=A.current;return yt.addEventListener("wheel",wt),yt.addEventListener("DOMMouseScroll",ut),yt.addEventListener("MozMousePixelScroll",nt),function(){yt.removeEventListener("wheel",wt),yt.removeEventListener("DOMMouseScroll",ut),yt.removeEventListener("MozMousePixelScroll",nt)}},[$]),er(function(){g&&W(function(nt){return at(nt)})},[He.width,g]);var ot=function(){var yt,xt;(yt=me.current)===null||yt===void 0||yt.delayHidden(),(xt=Ee.current)===null||xt===void 0||xt.delayHidden()},dt=Jbt(A,M,ke,a,ee,function(){return ve(!0)},te,ot);_.useImperativeHandle(t,function(){return{getScrollInfo:De,scrollTo:function(yt){function xt(At){return At&&bn(At)==="object"&&("left"in At||"top"in At)}xt(yt)?(yt.left!==void 0&&W(at(yt.left)),dt(yt.top)):dt(yt)}}}),er(function(){if(C){var nt=M.slice(_e,ce+1);C(nt,M)}},[_e,ce,M]);var _t=a2t(M,ee,ke,a),Ot=S==null?void 0:S({start:_e,end:ce,virtual:P,offsetX:q,offsetY:Te,rtl:T,getSize:_t}),Ct=Xbt(M,_e,ce,g,le,f,Q),mt=null;o&&(mt=fe(ue({},s?"height":"maxHeight",o),c2t),$&&(mt.overflowY="hidden",g&&(mt.overflowX="hidden"),X&&(mt.pointerEvents="none")));var It={};return T&&(It.dir="rtl"),_.createElement("div",Qe({style:fe(fe({},u),{},{position:"relative"}),className:R},It,O),_.createElement(Ba,{onResize:qe},_.createElement(v,{className:"".concat(r,"-holder"),style:mt,ref:A,onScroll:bt,onMouseEnter:ot},_.createElement(Jje,{prefixCls:r,height:Pe,offsetX:q,offsetY:Te,scrollWidth:g,onInnerResize:ve,ref:N,innerProps:x,rtl:T,extra:Ot},Ct))),P&&Pe>o&&_.createElement(zhe,{ref:me,prefixCls:r,scrollOffset:L,scrollRange:Pe,rtl:T,onScroll:Je,onStartMove:Y,onStopMove:J,spinSize:Le,containerSize:He.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),P&&g&&_.createElement(zhe,{ref:Ee,prefixCls:r,scrollOffset:q,scrollRange:g,rtl:T,onScroll:Je,onStartMove:Y,onStopMove:J,spinSize:$e,containerSize:He.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var rB=_.forwardRef(u2t);rB.displayName="List";function d2t(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var f2t=["disabled","title","children","style","className"];function Hhe(e){return typeof e=="string"||typeof e=="number"}var p2t=function(t,n){var r=Jz(),i=r.prefixCls,o=r.id,a=r.open,l=r.multiple,s=r.mode,u=r.searchValue,c=r.toggleOpen,f=r.notFoundContent,h=r.onPopupScroll,d=_.useContext(mre),p=d.maxCount,g=d.flattenOptions,m=d.onActiveValue,v=d.defaultActiveFirstOption,y=d.onSelect,b=d.menuItemSelectedIcon,C=d.rawValues,x=d.fieldNames,S=d.virtual,w=d.direction,O=d.listHeight,$=d.listItemHeight,P=d.optionRender,T="".concat(i,"-item"),R=Th(function(){return g},[a,g],function(ee,Q){return Q[0]&&ee[1]!==Q[1]}),M=_.useRef(null),A=_.useMemo(function(){return l&&typeof p<"u"&&(C==null?void 0:C.size)>=p},[l,p,C==null?void 0:C.size]),N=function(Q){Q.preventDefault()},j=function(Q){var te;(te=M.current)===null||te===void 0||te.scrollTo(typeof Q=="number"?{index:Q}:Q)},D=function(Q){for(var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ne=R.length,re=0;re1&&arguments[1]!==void 0?arguments[1]:!1;z(Q);var ne={source:te?"keyboard":"mouse"},re=R[Q];if(!re){m(null,-1,ne);return}m(re.value,Q,ne)};_.useEffect(function(){q(v!==!1?D(0):-1)},[R.length,u]);var W=_.useCallback(function(ee){return C.has(ee)&&s!=="combobox"},[s,vt(C).toString(),C.size]);_.useEffect(function(){var ee=setTimeout(function(){if(!l&&a&&C.size===1){var te=Array.from(C)[0],ne=R.findIndex(function(re){var oe=re.data;return oe.value===te});ne!==-1&&(q(ne),j(ne))}});if(a){var Q;(Q=M.current)===null||Q===void 0||Q.scrollTo(void 0)}return function(){return clearTimeout(ee)}},[a,u]);var U=function(Q){Q!==void 0&&y(Q,{selected:!C.has(Q)}),l||c(!1)};if(_.useImperativeHandle(n,function(){return{onKeyDown:function(Q){var te=Q.which,ne=Q.ctrlKey;switch(te){case ht.N:case ht.P:case ht.UP:case ht.DOWN:{var re=0;if(te===ht.UP?re=-1:te===ht.DOWN?re=1:d2t()&&ne&&(te===ht.N?re=1:te===ht.P&&(re=-1)),re!==0){var oe=D(k+re,re);j(oe),q(oe,!0)}break}case ht.ENTER:{var se,ye=R[k];ye&&!(ye!=null&&(se=ye.data)!==null&&se!==void 0&&se.disabled)&&!A?U(ye.value):U(void 0),a&&Q.preventDefault();break}case ht.ESC:c(!1),a&&Q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Q){j(Q)}}}),R.length===0)return _.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(T,"-empty"),onMouseDown:N},f);var K=Object.keys(x).map(function(ee){return x[ee]}),X=function(Q){return Q.label};function G(ee,Q){var te=ee.group;return{role:te?"presentation":"option",id:"".concat(o,"_list_").concat(Q)}}var Y=function(Q){var te=R[Q];if(!te)return null;var ne=te.data||{},re=ne.value,oe=te.group,se=qo(ne,!0),ye=X(te);return te?_.createElement("div",Qe({"aria-label":typeof ye=="string"&&!oe?ye:null},se,{key:Q},G(te,Q),{"aria-selected":W(re)}),re):null},J={role:"listbox",id:"".concat(o,"_list")};return _.createElement(_.Fragment,null,S&&_.createElement("div",Qe({},J,{style:{height:0,width:0,overflow:"hidden"}}),Y(k-1),Y(k),Y(k+1)),_.createElement(rB,{itemKey:"key",ref:M,data:R,height:O,itemHeight:$,fullHeight:!1,onMouseDown:N,onScroll:h,virtual:S,direction:w,innerProps:S?null:J},function(ee,Q){var te,ne=ee.group,re=ee.groupOption,oe=ee.data,se=ee.label,ye=ee.value,be=oe.key;if(ne){var he,le=(he=oe.title)!==null&&he!==void 0?he:Hhe(se)?se.toString():void 0;return _.createElement("div",{className:Re(T,"".concat(T,"-group")),title:le},se!==void 0?se:be)}var ve=oe.disabled,ke=oe.title;oe.children;var Ie=oe.style,Oe=oe.className,Pe=an(oe,f2t),_e=bi(Pe,K),ce=W(ye),Te=ve||!ce&&A,Ne="".concat(T,"-option"),je=Re(T,Ne,Oe,(te={},ue(te,"".concat(Ne,"-grouped"),re),ue(te,"".concat(Ne,"-active"),k===Q&&!Te),ue(te,"".concat(Ne,"-disabled"),Te),ue(te,"".concat(Ne,"-selected"),ce),te)),He=X(ee),Be=!b||typeof b=="function"||ce,qe=typeof He=="number"?He:He||ye,me=Hhe(qe)?qe.toString():void 0;return ke!==void 0&&(me=ke),_.createElement("div",Qe({},qo(_e),S?{}:G(ee,Q),{"aria-selected":ce,className:je,title:me,onMouseMove:function(){k===Q||Te||q(Q)},onClick:function(){Te||U(ye)},style:Ie}),_.createElement("div",{className:"".concat(Ne,"-content")},typeof P=="function"?P(ee,{index:Q}):qe),_.isValidElement(b)||ce,Be&&_.createElement(Qz,{className:"".concat(T,"-option-state"),customizeIcon:b,customizeIconProps:{value:ye,disabled:Te,isSelected:ce}},ce?"✓":null))}))},h2t=_.forwardRef(p2t);const g2t=function(e,t){var n=_.useRef({values:new Map,options:new Map}),r=_.useMemo(function(){var o=n.current,a=o.values,l=o.options,s=e.map(function(f){if(f.label===void 0){var h;return fe(fe({},f),{},{label:(h=a.get(f.value))===null||h===void 0?void 0:h.label})}return f}),u=new Map,c=new Map;return s.forEach(function(f){u.set(f.value,f),c.set(f.value,t.get(f.value)||l.get(f.value))}),n.current.values=u,n.current.options=c,s},[e,t]),i=_.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,i]};function Zq(e,t){return Yje(e).join("").toUpperCase().includes(t)}const m2t=function(e,t,n,r,i){return _.useMemo(function(){if(!n||r===!1)return e;var o=t.options,a=t.label,l=t.value,s=[],u=typeof r=="function",c=n.toUpperCase(),f=u?r:function(d,p){return i?Zq(p[i],c):p[o]?Zq(p[a!=="children"?a:"label"],c):Zq(p[l],c)},h=u?function(d){return YZ(d)}:function(d){return d};return e.forEach(function(d){if(d[o]){var p=f(n,h(d));if(p)s.push(d);else{var g=d[o].filter(function(m){return f(n,h(m))});g.length&&s.push(fe(fe({},d),{},ue({},o,g)))}return}f(n,h(d))&&s.push(d)}),s},[e,r,i,n,t])};var Whe=0,v2t=oa();function y2t(){var e;return v2t?(e=Whe,Whe+=1):e="TEST_OR_SSR",e}function vre(e){var t=_.useState(),n=Me(t,2),r=n[0],i=n[1];return _.useEffect(function(){i("rc_select_".concat(y2t()))},[]),e||r}var b2t=["children","value"],C2t=["children"];function S2t(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,a=an(r,b2t);return fe({key:n,value:o!==void 0?o:n,children:i},a)}function tDe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Wo(e).map(function(n,r){if(!_.isValidElement(n)||!n.type)return null;var i=n,o=i.type.isSelectOptGroup,a=i.key,l=i.props,s=l.children,u=an(l,C2t);return t||!o?S2t(n):fe(fe({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},u),{},{options:tDe(s)})}).filter(function(n){return n})}var x2t=function(t,n,r,i,o){return _.useMemo(function(){var a=t,l=!t;l&&(a=tDe(n));var s=new Map,u=new Map,c=function(d,p,g){g&&typeof g=="string"&&d.set(p[g],p)},f=function h(d){for(var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g2&&arguments[2]!==void 0?arguments[2]:{},wt=Ze.source,ut=wt===void 0?"keyboard":wt;ft(rt),a&&r==="combobox"&&et!==null&&ut==="keyboard"&&Le(String(et))},[a,r]),De=function(rt,Ze,wt){var ut=function(){var xt,At=Oe(rt);return[L?{label:At==null?void 0:At[X.label],value:rt,key:(xt=At==null?void 0:At.key)!==null&&xt!==void 0?xt:rt}:rt,YZ(At)]};if(Ze&&d){var ot=ut(),dt=Me(ot,2),_t=dt[0],Ot=dt[1];d(_t,Ot)}else if(!Ze&&p&&wt!=="clear"){var Ct=ut(),mt=Me(Ct,2),It=mt[0],nt=mt[1];p(It,nt)}},We=qhe(function(et,rt){var Ze,wt=W?rt.selected:!0;wt?Ze=W?[].concat(vt(Ie),[et]):[et]:Ze=Ie.filter(function(ut){return ut.value!==et}),qe(Ze),De(et,wt),r==="combobox"?Le(""):(!ZZ||h)&&(ee(""),Le(""))}),Ge=function(rt,Ze){qe(rt);var wt=Ze.type,ut=Ze.values;(wt==="remove"||wt==="clear")&&ut.forEach(function(ot){De(ot.value,!1,wt)})},Je=function(rt,Ze){if(ee(rt),Le(null),Ze.source==="submit"){var wt=(rt||"").trim();if(wt){var ut=Array.from(new Set([].concat(vt(_e),[wt])));qe(ut),De(wt,!0),ee("")}return}Ze.source!=="blur"&&(r==="combobox"&&qe(rt),c==null||c(rt))},bt=function(rt){var Ze=rt;r!=="tags"&&(Ze=rt.map(function(ut){var ot=ne.get(ut);return ot==null?void 0:ot.value}).filter(function(ut){return ut!==void 0}));var wt=Array.from(new Set([].concat(vt(_e),vt(Ze))));qe(wt),wt.forEach(function(ut){De(ut,!0)})},at=_.useMemo(function(){var et=P!==!1&&m!==!1;return fe(fe({},Q),{},{flattenOptions:Be,onActiveValue:we,defaultActiveFirstOption:Ye,onSelect:We,menuItemSelectedIcon:$,rawValues:_e,fieldNames:X,virtual:et,direction:T,listHeight:M,listItemHeight:N,childrenAsData:U,maxCount:k,optionRender:S})},[k,Q,Be,we,Ye,We,$,_e,X,P,m,T,M,N,U,S]);return _.createElement(mre.Provider,{value:at},_.createElement(eB,Qe({},z,{id:q,prefixCls:o,ref:t,omitDomProps:w2t,mode:r,displayValues:Pe,onDisplayValuesChange:Ge,direction:T,searchValue:J,onSearch:Je,autoClearSearchValue:h,onSearchSplit:bt,dropdownMatchSelectWidth:m,OptionList:h2t,emptyOptions:!Be.length,activeValue:$e,activeDescendantId:"".concat(q,"_list_").concat(lt)})))}),iB=E2t;iB.Option=nB;iB.OptGroup=tB;const $2t=Object.freeze(Object.defineProperty({__proto__:null,BaseSelect:eB,OptGroup:tB,Option:nB,default:iB,useBaseProps:Jz},Symbol.toStringTag,{value:"Module"}));function jf(e,t,n){return Re({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const jy=(e,t)=>t||e,P2t=()=>{const[,e]=To(),n=new Gn(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return _.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},_.createElement("g",{fill:"none",fillRule:"evenodd"},_.createElement("g",{transform:"translate(24 31.67)"},_.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),_.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),_.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),_.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),_.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),_.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),_.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},_.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),_.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},T2t=P2t,M2t=()=>{const[,e]=To(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:i}=e,{borderColor:o,shadowColor:a,contentColor:l}=_.useMemo(()=>({borderColor:new Gn(t).onBackground(i).toHexShortString(),shadowColor:new Gn(n).onBackground(i).toHexShortString(),contentColor:new Gn(r).onBackground(i).toHexShortString()}),[t,n,r,i]);return _.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},_.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},_.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),_.createElement("g",{fillRule:"nonzero",stroke:o},_.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),_.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))},R2t=M2t,I2t=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},N2t=vr("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,i=Wn(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[I2t(i)]});var A2t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{className:t,rootClassName:n,prefixCls:r,image:i=nDe,description:o,children:a,imageStyle:l,style:s}=e,u=A2t(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:c,direction:f,empty:h}=_.useContext(on),d=c("empty",r),[p,g,m]=N2t(d),[v]=xu("Empty"),y=typeof o<"u"?o:v==null?void 0:v.description,b=typeof y=="string"?y:"empty";let C=null;return typeof i=="string"?C=_.createElement("img",{alt:b,src:i}):C=i,p(_.createElement("div",Object.assign({className:Re(g,m,d,h==null?void 0:h.className,{[`${d}-normal`]:i===rDe,[`${d}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},h==null?void 0:h.style),s)},u),_.createElement("div",{className:`${d}-image`,style:l},C),y&&_.createElement("div",{className:`${d}-description`},y),a&&_.createElement("div",{className:`${d}-footer`},a)))};yre.PRESENTED_IMAGE_DEFAULT=nDe;yre.PRESENTED_IMAGE_SIMPLE=rDe;const dv=yre,k2t=e=>{const{componentName:t}=e,{getPrefixCls:n}=_.useContext(on),r=n("empty");switch(t){case"Table":case"List":return Se.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Se.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return Se.createElement(dv,null)}},bre=k2t,j2t=["outlined","borderless","filled"],Dy=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=_.useContext(bje);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n??"outlined";const i=j2t.includes(r);return[r,i]},D2t=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function iDe(e,t){return e||D2t(t)}const Vhe=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:"relative",display:"block",minHeight:t,padding:i,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},L2t=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` ${i}${l}bottomLeft, ${o}${l}bottomLeft - `]:{animationName:Uz},[` + `]:{animationName:Gz},[` ${i}${l}topLeft, ${o}${l}topLeft, ${i}${l}topRight, ${o}${l}topRight - `]:{animationName:Kz},[`${a}${l}bottomLeft`]:{animationName:Gz},[` + `]:{animationName:Xz},[`${a}${l}bottomLeft`]:{animationName:Kz},[` ${a}${l}topLeft, ${a}${l}topRight - `]:{animationName:Xz},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},Vhe(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},xc),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Vhe(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down")]},Wb=2,z2t=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},yre=(e,t)=>{const{componentCls:n,iconCls:r}=e,i=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,a=z2t(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{[i]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(Wb).mul(2).equal(),paddingBlock:e.calc(a).sub(Wb).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${xe(Wb)} 0`,lineHeight:xe(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:o,marginTop:Wb,marginBottom:Wb,lineHeight:xe(e.calc(o).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(Wb).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},sC()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:xe(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Zq(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",i={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + `]:{animationName:Yz},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},Vhe(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},xc),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Vhe(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down")]},Wb=2,z2t=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},Cre=(e,t)=>{const{componentCls:n,iconCls:r}=e,i=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,a=z2t(e),l=t?`${n}-${t}`:"";return{[`${n}-multiple${l}`]:{[i]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(Wb).mul(2).equal(),paddingBlock:e.calc(a).sub(Wb).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${xe(Wb)} 0`,lineHeight:xe(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:o,marginTop:Wb,marginBottom:Wb,lineHeight:xe(e.calc(o).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(Wb).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},sC()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:xe(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Qq(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",i={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` &${n}-show-arrow ${n}-selector, &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[yre(e,t),i]}const B2t=e=>{const{componentCls:t}=e,n=Wn(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Wn(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Zq(e),Zq(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Zq(r,"lg")]};function Qq(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,o=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},sr(e,!0)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Cre(e,t),i]}const B2t=e=>{const{componentCls:t}=e,n=Wn(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Wn(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Qq(e),Qq(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Qq(r,"lg")]};function Jq(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:i}=e,o=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},sr(e,!0)),{display:"flex",borderRadius:i,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${n}-selection-item, ${n}-selection-placeholder `]:{padding:0,lineHeight:xe(o),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${n}-show-arrow ${n}-selection-item, &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${xe(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:xe(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${xe(r)}`,"&:after":{display:"none"}}}}}}}function F2t(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Qq(e),Qq(Wn(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${xe(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${xe(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:xe(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${xe(r)}`,"&:after":{display:"none"}}}}}}}function F2t(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Jq(e),Jq(Wn(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${xe(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Qq(Wn(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const H2t=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:i,zIndexPopupBase:o,colorText:a,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:u,colorBgContainer:c,colorFillSecondary:f,controlHeightLG:h,controlHeightSM:d,colorBgContainerDisabled:p,colorTextDisabled:g}=e;return{zIndexPopup:o+50,optionSelectedColor:a,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:u,optionPadding:`${(r-t*n)/2}px ${i}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:c,clearBg:c,singleItemHeightLG:h,multipleItemBg:f,multipleItemBorderColor:"transparent",multipleItemHeight:d,multipleItemHeightLG:r,multipleSelectorBgDisabled:p,multipleItemColorDisabled:g,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},oDe=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:i}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${xe(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${xe(i)} ${t.activeShadowColor}`,outline:0}}}},Uhe=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},oDe(e,t))}),W2t=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},oDe(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Uhe(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Uhe(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),aDe=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${xe(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Ghe=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},aDe(e,t))}),q2t=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},aDe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),Ghe(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Ghe(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),V2t=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),U2t=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},W2t(e)),q2t(e)),V2t(e))}),G2t=U2t,K2t=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},X2t=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Y2t=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},K2t(e)),X2t(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},xc),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},xc),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},sC()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},Z2t=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Y2t(e),F2t(e),B2t(e),L2t(e),{[`${t}-rtl`]:{direction:"rtl"}},x$(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},lDe=vr("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Wn(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Z2t(r),G2t(r)]},H2t,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Q2t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const J2t=Q2t;var e3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:J2t}))};const iB=_.forwardRef(e3t);var t3t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const n3t=t3t;var r3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:n3t}))};const oB=_.forwardRef(r3t);var i3t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const o3t=i3t;var a3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:o3t}))};const bre=_.forwardRef(a3t);function Cre(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:o,multiple:a,hasFeedback:l,prefixCls:s,showSuffixIcon:u,feedbackIcon:c,showArrow:f,componentName:h}=e;const d=n??_.createElement(Rh,null),p=y=>t===null&&!l&&!f?null:_.createElement(_.Fragment,null,u!==!1&&y,l&&c);let g=null;if(t!==void 0)g=p(t);else if(o)g=p(_.createElement(v0,{spin:!0}));else{const y=`${s}-suffix`;g=b=>{let{open:C,showSearch:x}=b;return p(C&&x?_.createElement(bre,{className:y}):_.createElement(oB,{className:y}))}}let m=null;r!==void 0?m=r:a?m=_.createElement(iB,null):m=null;let v=null;return i!==void 0?v=i:v=_.createElement(Ic,null),{clearIcon:d,suffixIcon:g,itemIcon:m,removeIcon:v}}function sDe(e,t){return t!==void 0?t:e!==null}var l3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i,className:o,rootClassName:a,getPopupContainer:l,popupClassName:s,dropdownClassName:u,listHeight:c=256,placement:f,listItemHeight:h,size:d,disabled:p,notFoundContent:g,status:m,builtinPlacements:v,dropdownMatchSelectWidth:y,popupMatchSelectWidth:b,direction:C,style:x,allowClear:S,variant:w,dropdownStyle:O,transitionName:$,tagRender:P,maxCount:T}=e,R=l3t(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:M,getPrefixCls:A,renderEmpty:N,direction:k,virtual:D,popupMatchSelectWidth:L,popupOverflow:B,select:j}=_.useContext(on),[,z]=To(),V=h??(z==null?void 0:z.controlHeight),W=A("select",r),U=A(),K=C??k,{compactSize:X,compactItemClassnames:G}=Ih(W,K),[Y,J]=Dy(w,i),ee=di(W),[Q,te,ne]=lDe(W,ee),re=_.useMemo(()=>{const{mode:Le}=e;if(Le!=="combobox")return Le===cDe?"combobox":Le},[e.mode]),oe=re==="multiple"||re==="tags",se=sDe(e.suffixIcon,e.showArrow),ye=(n=b??y)!==null&&n!==void 0?n:L,{status:be,hasFeedback:he,isFormItemInput:le,feedbackIcon:ve}=_.useContext(la),ke=jy(be,m);let Ie;g!==void 0?Ie=g:re==="combobox"?Ie=null:Ie=(N==null?void 0:N("Select"))||_.createElement(vre,{componentName:"Select"});const{suffixIcon:Oe,itemIcon:Pe,removeIcon:_e,clearIcon:ce}=Cre(Object.assign(Object.assign({},R),{multiple:oe,hasFeedback:he,feedbackIcon:ve,showSuffixIcon:se,prefixCls:W,componentName:"Select"})),Te=S===!0?{clearIcon:ce}:S,Ne=bi(R,["suffixIcon","itemIcon"]),je=Re(s||u,{[`${W}-dropdown-${K}`]:K==="rtl"},a,ne,ee,te),He=Go(Le=>{var Fe;return(Fe=d??X)!==null&&Fe!==void 0?Fe:Le}),Be=_.useContext(es),qe=p??Be,me=Re({[`${W}-lg`]:He==="large",[`${W}-sm`]:He==="small",[`${W}-rtl`]:K==="rtl",[`${W}-${Y}`]:J,[`${W}-in-form-item`]:le},jf(W,ke,he),G,j==null?void 0:j.className,o,a,ne,ee,te),Ee=_.useMemo(()=>f!==void 0?f:K==="rtl"?"bottomRight":"bottomLeft",[f,K]),[$e]=Hf("SelectLike",O==null?void 0:O.zIndex);return Q(_.createElement(rB,Object.assign({ref:t,virtual:D,showSearch:j==null?void 0:j.showSearch},Ne,{style:Object.assign(Object.assign({},j==null?void 0:j.style),x),dropdownMatchSelectWidth:ye,transitionName:As(U,"slide-up",$),builtinPlacements:iDe(v,B),listHeight:c,listItemHeight:V,mode:re,prefixCls:W,placement:Ee,direction:K,suffixIcon:Oe,menuItemSelectedIcon:Pe,removeIcon:_e,allowClear:Te,notFoundContent:Ie,className:me,getPopupContainer:l||M,dropdownClassName:je,disabled:qe,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:$e}),maxCount:oe?T:void 0,tagRender:oe?P:void 0})))},pC=_.forwardRef(s3t),c3t=fC(pC);pC.SECRET_COMBOBOX_MODE_DO_NOT_USE=cDe;pC.Option=tB;pC.OptGroup=eB;pC._InternalPanelDoNotUseOrYouWillBeFired=c3t;const Ps=pC,d4=["xxl","xl","lg","md","sm","xs"],u3t=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),d3t=e=>{const t=e,n=[].concat(d4).reverse();return n.forEach((r,i)=>{const o=r.toUpperCase(),a=`screen${o}Min`,l=`screen${o}`;if(!(t[a]<=t[l]))throw new Error(`${a}<=${l} fails : !(${t[a]}<=${t[l]})`);if(i{const n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],l=u=>{let{matches:c}=u;this.dispatch(Object.assign(Object.assign({},i),{[o]:c}))},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}function aB(){const[,e]=_.useReducer(t=>t+1,0);return e}function lB(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=_.useRef({}),n=aB(),r=uDe();return er(()=>{const i=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(i)},[]),t.current}const f3t=_.createContext({}),ZZ=f3t,p3t=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:u,textFontSizeLG:c,textFontSizeSM:f,borderRadius:h,borderRadiusLG:d,borderRadiusSM:p,lineWidth:g,lineType:m}=e,v=(y,b,C)=>({width:y,height:y,borderRadius:"50%",[`&${n}-square`]:{borderRadius:C},[`&${n}-icon`]:{fontSize:b,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${xe(g)} ${m} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),v(a,u,h)),{"&-lg":Object.assign({},v(l,c,d)),"&-sm":Object.assign({},v(s,f,p)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},h3t=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},g3t=e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:u,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:l,textFontSizeSM:i,groupSpace:u,groupOverlapping:-s,groupBorderColor:c}},dDe=vr("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Wn(e,{avatarBg:n,avatarColor:t});return[p3t(r),h3t(r)]},g3t);var m3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const[n,r]=_.useState(1),[i,o]=_.useState(!1),[a,l]=_.useState(!0),s=_.useRef(null),u=_.useRef(null),c=cl(t,s),{getPrefixCls:f,avatar:h}=_.useContext(on),d=_.useContext(ZZ),p=()=>{if(!u.current||!s.current)return;const Y=u.current.offsetWidth,J=s.current.offsetWidth;if(Y!==0&&J!==0){const{gap:ee=4}=e;ee*2{o(!0)},[]),_.useEffect(()=>{l(!0),r(1)},[e.src]),_.useEffect(p,[e.gap]);const g=()=>{const{onError:Y}=e;(Y==null?void 0:Y())!==!1&&l(!1)},{prefixCls:m,shape:v,size:y,src:b,srcSet:C,icon:x,className:S,rootClassName:w,alt:O,draggable:$,children:P,crossOrigin:T}=e,R=m3t(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),M=Go(Y=>{var J,ee;return(ee=(J=y??(d==null?void 0:d.size))!==null&&J!==void 0?J:Y)!==null&&ee!==void 0?ee:"default"}),A=Object.keys(typeof M=="object"?M||{}:{}).some(Y=>["xs","sm","md","lg","xl","xxl"].includes(Y)),N=lB(A),k=_.useMemo(()=>{if(typeof M!="object")return{};const Y=d4.find(ee=>N[ee]),J=M[Y];return J?{width:J,height:J,fontSize:J&&(x||P)?J/2:18}:{}},[N,M]),D=f("avatar",m),L=di(D),[B,j,z]=dDe(D,L),V=Re({[`${D}-lg`]:M==="large",[`${D}-sm`]:M==="small"}),W=_.isValidElement(b),U=v||(d==null?void 0:d.shape)||"circle",K=Re(D,V,h==null?void 0:h.className,`${D}-${U}`,{[`${D}-image`]:W||b&&a,[`${D}-icon`]:!!x},z,L,S,w,j),X=typeof M=="number"?{width:M,height:M,fontSize:x?M/2:18}:{};let G;if(typeof b=="string"&&a)G=_.createElement("img",{src:b,draggable:$,srcSet:C,onError:g,alt:O,crossOrigin:T});else if(W)G=b;else if(x)G=x;else if(i||n!==1){const Y=`scale(${n})`,J={msTransform:Y,WebkitTransform:Y,transform:Y};G=_.createElement(Ba,{onResize:p},_.createElement("span",{className:`${D}-string`,ref:u,style:Object.assign({},J)},P))}else G=_.createElement("span",{className:`${D}-string`,style:{opacity:0},ref:u},P);return delete R.onError,delete R.gap,B(_.createElement("span",Object.assign({},R,{style:Object.assign(Object.assign(Object.assign(Object.assign({},X),k),h==null?void 0:h.style),R.style),className:K,ref:c}),G))},y3t=_.forwardRef(v3t),fDe=y3t,f4=e=>e?typeof e=="function"?e():e:null;function sB(e){var t=e.children,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle,o=e.className,a=e.style;return _.createElement("div",{className:Re("".concat(n,"-content"),o),style:a},_.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:i},typeof t=="function"?t():t))}var qb={shiftX:64,adjustY:1},Vb={adjustX:1,shiftY:!0},zc=[0,0],b3t={left:{points:["cr","cl"],overflow:Vb,offset:[-4,0],targetOffset:zc},right:{points:["cl","cr"],overflow:Vb,offset:[4,0],targetOffset:zc},top:{points:["bc","tc"],overflow:qb,offset:[0,-4],targetOffset:zc},bottom:{points:["tc","bc"],overflow:qb,offset:[0,4],targetOffset:zc},topLeft:{points:["bl","tl"],overflow:qb,offset:[0,-4],targetOffset:zc},leftTop:{points:["tr","tl"],overflow:Vb,offset:[-4,0],targetOffset:zc},topRight:{points:["br","tr"],overflow:qb,offset:[0,-4],targetOffset:zc},rightTop:{points:["tl","tr"],overflow:Vb,offset:[4,0],targetOffset:zc},bottomRight:{points:["tr","br"],overflow:qb,offset:[0,4],targetOffset:zc},rightBottom:{points:["bl","br"],overflow:Vb,offset:[4,0],targetOffset:zc},bottomLeft:{points:["tl","bl"],overflow:qb,offset:[0,4],targetOffset:zc},leftBottom:{points:["br","bl"],overflow:Vb,offset:[-4,0],targetOffset:zc}},C3t=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S3t=function(t,n){var r=t.overlayClassName,i=t.trigger,o=i===void 0?["hover"]:i,a=t.mouseEnterDelay,l=a===void 0?0:a,s=t.mouseLeaveDelay,u=s===void 0?.1:s,c=t.overlayStyle,f=t.prefixCls,h=f===void 0?"rc-tooltip":f,d=t.children,p=t.onVisibleChange,g=t.afterVisibleChange,m=t.transitionName,v=t.animation,y=t.motion,b=t.placement,C=b===void 0?"right":b,x=t.align,S=x===void 0?{}:x,w=t.destroyTooltipOnHide,O=w===void 0?!1:w,$=t.defaultVisible,P=t.getTooltipContainer,T=t.overlayInnerStyle;t.arrowContent;var R=t.overlay,M=t.id,A=t.showArrow,N=A===void 0?!0:A,k=an(t,C3t),D=_.useRef(null);_.useImperativeHandle(n,function(){return D.current});var L=fe({},k);"visible"in t&&(L.popupVisible=t.visible);var B=function(){return _.createElement(sB,{key:"content",prefixCls:h,id:M,overlayInnerStyle:T},R)};return _.createElement(ky,Qe({popupClassName:r,prefixCls:h,popup:B,action:o,builtinPlacements:b3t,popupPlacement:C,ref:D,popupAlign:S,getPopupContainer:P,onPopupVisibleChange:p,afterPopupVisibleChange:g,popupTransitionName:m,popupAnimation:v,popupMotion:y,defaultPopupVisible:$,autoDestroy:O,mouseLeaveDelay:u,popupStyle:c,mouseEnterDelay:l,arrow:N},L),d)};const pDe=_.forwardRef(S3t),x3t=Object.freeze(Object.defineProperty({__proto__:null,Popup:sB,default:pDe},Symbol.toStringTag,{value:"Module"}));function cB(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,o=0,a=i,l=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),u=i-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*i-u,h=c,d=2*i-l,p=s,g=2*i-o,m=a,v=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),y=r*(Math.sqrt(2)-1),b=`polygon(${y}px 100%, 50% ${y}px, ${2*i-y}px 100%, ${y}px 100%)`,C=`path('M ${o} ${a} A ${r} ${r} 0 0 0 ${l} ${s} L ${u} ${c} A ${n} ${n} 0 0 1 ${f} ${h} L ${d} ${p} A ${r} ${r} 0 0 0 ${g} ${m} Z')`;return{arrowShadowWidth:v,arrowPath:C,arrowPolygon:b}}const hDe=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:o,arrowShadowWidth:a,borderRadiusXS:l,calc:s}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${xe(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},gDe=8;function uB(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?gDe:r}}function lM(e,t){return e?t:{}}function Sre(e,t,n){const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:o,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},hDe(e,t,i)),{"&:before":{background:t}})]},lM(!!s.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),lM(!!s.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),lM(!!s.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),lM(!!s.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function _3t(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const a=Object.assign(Object.assign({},o),i);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const Khe={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},w3t={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},O3t=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function mDe(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:o,visibleFirst:a}=e,l=t/2,s={};return Object.keys(Khe).forEach(u=>{const c=r&&w3t[u]||Khe[u],f=Object.assign(Object.assign({},c),{offset:[0,0],dynamicInset:!0});switch(s[u]=f,O3t.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-l-i;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=l+i;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-l-i;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=l+i;break}const h=uB({contentRadius:o,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-h.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=h.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-h.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":f.offset[1]=h.arrowOffsetHorizontal+l;break}f.overflow=_3t(u,h,t,n),a&&(f.htmlRegion="visibleFirst")}),s}const E3t=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:o,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${xe(e.calc(u).div(2).equal())} ${xe(c)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:o,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(o,gDe)}},[`${t}-content`]:{position:"relative"}}),_ke(e,(f,h)=>{let{darkColor:d}=h;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:d},[`${t}-arrow`]:{"--antd-arrow-background-color":d}}}})),{"&-rtl":{direction:"rtl"}})},Sre(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},$3t=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},uB({contentRadius:e.borderRadius,limitVerticalRadius:!0})),cB(Wn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),vDe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return vr("Tooltip",r=>{const{borderRadius:i,colorTextLightSolid:o,colorBgSpotlight:a}=r,l=Wn(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a});return[E3t(l),dC(r,"zoom-big-fast")]},$3t,{resetStyle:!1,injectStyle:t})(e)},P3t=qE.map(e=>`${e}-inverse`),T3t=["success","processing","error","default","warning"];function yDe(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(vt(P3t),vt(qE)).includes(e):qE.includes(e)}function M3t(e){return T3t.includes(e)}function bDe(e,t){const n=yDe(t),r=Re({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}const R3t=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:o,overlayInnerStyle:a}=e,{getPrefixCls:l}=_.useContext(on),s=l("tooltip",t),[u,c,f]=vDe(s),h=bDe(s,o),d=h.arrowStyle,p=Object.assign(Object.assign({},a),h.overlayStyle),g=Re(c,f,s,`${s}-pure`,`${s}-placement-${r}`,n,h.className);return u(_.createElement("div",{className:g,style:d},_.createElement("div",{className:`${s}-arrow`}),_.createElement(sB,Object.assign({},e,{className:c,prefixCls:s,overlayInnerStyle:p}),i)))},I3t=R3t;var N3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{prefixCls:i,openClassName:o,getTooltipContainer:a,overlayClassName:l,color:s,overlayInnerStyle:u,children:c,afterOpenChange:f,afterVisibleChange:h,destroyTooltipOnHide:d,arrow:p=!0,title:g,overlay:m,builtinPlacements:v,arrowPointAtCenter:y=!1,autoAdjustOverflow:b=!0}=e,C=!!p,[,x]=To(),{getPopupContainer:S,getPrefixCls:w,direction:O}=_.useContext(on),$=Mh(),P=_.useRef(null),T=()=>{var Ie;(Ie=P.current)===null||Ie===void 0||Ie.forceAlign()};_.useImperativeHandle(t,()=>({forceAlign:T,forcePopupAlign:()=>{$.deprecated(!1,"forcePopupAlign","forceAlign"),T()}}));const[R,M]=zn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),A=!g&&!m&&g!==0,N=Ie=>{var Oe,Pe;M(A?!1:Ie),A||((Oe=e.onOpenChange)===null||Oe===void 0||Oe.call(e,Ie),(Pe=e.onVisibleChange)===null||Pe===void 0||Pe.call(e,Ie))},k=_.useMemo(()=>{var Ie,Oe;let Pe=y;return typeof p=="object"&&(Pe=(Oe=(Ie=p.pointAtCenter)!==null&&Ie!==void 0?Ie:p.arrowPointAtCenter)!==null&&Oe!==void 0?Oe:y),v||mDe({arrowPointAtCenter:Pe,autoAdjustOverflow:b,arrowWidth:C?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[y,p,v,x]),D=_.useMemo(()=>g===0?g:m||g||"",[m,g]),L=_.createElement(fh,null,typeof D=="function"?D():D),{getPopupContainer:B,placement:j="top",mouseEnterDelay:z=.1,mouseLeaveDelay:V=.1,overlayStyle:W,rootClassName:U}=e,K=N3t(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),X=w("tooltip",i),G=w(),Y=e["data-popover-inject"];let J=R;!("open"in e)&&!("visible"in e)&&A&&(J=!1);const ee=Zl(c)&&!Hke(c)?c:_.createElement("span",null,c),Q=ee.props,te=!Q.className||typeof Q.className=="string"?Re(Q.className,o||`${X}-open`):Q.className,[ne,re,oe]=vDe(X,!Y),se=bDe(X,s),ye=se.arrowStyle,be=Object.assign(Object.assign({},u),se.overlayStyle),he=Re(l,{[`${X}-rtl`]:O==="rtl"},se.className,U,re,oe),[le,ve]=Hf("Tooltip",K.zIndex),ke=_.createElement(pDe,Object.assign({},K,{zIndex:le,showArrow:C,placement:j,mouseEnterDelay:z,mouseLeaveDelay:V,prefixCls:X,overlayClassName:he,overlayStyle:Object.assign(Object.assign({},ye),W),getTooltipContainer:B||a||S,ref:P,builtinPlacements:k,overlay:L,visible:J,onVisibleChange:N,afterVisibleChange:f??h,overlayInnerStyle:be,arrowContent:_.createElement("span",{className:`${X}-arrow-content`}),motion:{motionName:As(G,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!d}),J?Mo(ee,{className:te}):ee);return ne(_.createElement(jz.Provider,{value:ve},ke))});CDe._InternalPanelDoNotUseOrYouWillBeFired=I3t;const Ly=CDe,A3t=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:u,titleMarginBottom:c,colorBgElevated:f,popoverBg:h,titleBorderBottom:d,innerContentPadding:p,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:h,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:c,color:l,fontWeight:i,borderBottom:d,padding:g},[`${t}-inner-content`]:{color:n,padding:p}})},Sre(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},k3t=e=>{const{componentCls:t}=e;return{[t]:qE.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},j3t=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:o,zIndexPopupBase:a,borderRadiusLG:l,marginXS:s,lineType:u,colorSplit:c,paddingSM:f}=e,h=n-r,d=h/2,p=h/2-t,g=i;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},cB(e)),uB({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:s,titlePadding:o?`${d}px ${g}px ${p}px`:0,titleBorderBottom:o?`${t}px ${u} ${c}`:"none",innerContentPadding:o?`${f}px ${g}px`:0})},SDe=vr("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Wn(e,{popoverBg:t,popoverColor:n});return[A3t(r),k3t(r),dC(r,"zoom-big")]},j3t,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var D3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t&&!n?null:_.createElement(_.Fragment,null,t&&_.createElement("div",{className:`${e}-title`},f4(t)),_.createElement("div",{className:`${e}-inner-content`},f4(n))),z3t=e=>{const{hashId:t,prefixCls:n,className:r,style:i,placement:o="top",title:a,content:l,children:s}=e;return _.createElement("div",{className:Re(t,n,`${n}-pure`,`${n}-placement-${o}`,r),style:i},_.createElement("div",{className:`${n}-arrow`}),_.createElement(sB,Object.assign({},e,{className:t,prefixCls:n}),s||L3t(n,a,l)))},B3t=e=>{const{prefixCls:t,className:n}=e,r=D3t(e,["prefixCls","className"]),{getPrefixCls:i}=_.useContext(on),o=i("popover",t),[a,l,s]=SDe(o);return a(_.createElement(z3t,Object.assign({},r,{prefixCls:o,hashId:l,className:Re(n,s)})))},xDe=B3t;var F3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{title:t,content:n,prefixCls:r}=e;return _.createElement(_.Fragment,null,t&&_.createElement("div",{className:`${r}-title`},f4(t)),_.createElement("div",{className:`${r}-inner-content`},f4(n)))},_De=_.forwardRef((e,t)=>{const{prefixCls:n,title:r,content:i,overlayClassName:o,placement:a="top",trigger:l="hover",mouseEnterDelay:s=.1,mouseLeaveDelay:u=.1,overlayStyle:c={}}=e,f=F3t(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:h}=_.useContext(on),d=h("popover",n),[p,g,m]=SDe(d),v=h(),y=Re(o,g,m);return p(_.createElement(Ly,Object.assign({placement:a,trigger:l,mouseEnterDelay:s,mouseLeaveDelay:u,overlayStyle:c},f,{prefixCls:d,overlayClassName:y,ref:t,overlay:r||i?_.createElement(H3t,{prefixCls:d,title:r,content:i}):null,transitionName:As(v,"zoom-big",f.transitionName),"data-popover-inject":!0})))});_De._InternalPanelDoNotUseOrYouWillBeFired=xDe;const xre=_De,Xhe=e=>{const{size:t,shape:n}=_.useContext(ZZ),r=_.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return _.createElement(ZZ.Provider,{value:r},e.children)},W3t=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,className:i,rootClassName:o,style:a,maxCount:l,maxStyle:s,size:u,shape:c,maxPopoverPlacement:f="top",maxPopoverTrigger:h="hover",children:d}=e,p=t("avatar",r),g=`${p}-group`,m=di(p),[v,y,b]=dDe(p,m),C=Re(g,{[`${g}-rtl`]:n==="rtl"},b,m,i,o,y),x=Wo(d).map((w,O)=>Mo(w,{key:`avatar-key-${O}`})),S=x.length;if(l&&l1&&arguments[1]!==void 0?arguments[1]:!1;if(C$(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function o4t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=vt(e.querySelectorAll("*")).filter(function(r){return Yhe(r,t)});return Yhe(e,t)&&n.unshift(e),n}var QZ=ht.LEFT,JZ=ht.RIGHT,eQ=ht.UP,_k=ht.DOWN,wk=ht.ENTER,IDe=ht.ESC,G6=ht.HOME,K6=ht.END,Zhe=[eQ,_k,QZ,JZ];function a4t(e,t,n,r){var i,o,a,l,s="prev",u="next",c="children",f="parent";if(e==="inline"&&r===wk)return{inlineTrigger:!0};var h=(i={},ue(i,eQ,s),ue(i,_k,u),i),d=(o={},ue(o,QZ,n?u:s),ue(o,JZ,n?s:u),ue(o,_k,c),ue(o,wk,c),o),p=(a={},ue(a,eQ,s),ue(a,_k,u),ue(a,wk,c),ue(a,IDe,f),ue(a,QZ,n?c:f),ue(a,JZ,n?f:c),a),g={inline:h,horizontal:d,vertical:p,inlineSub:h,horizontalSub:p,verticalSub:p},m=(l=g["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[r];switch(m){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}function l4t(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function s4t(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Ore(e,t){var n=o4t(e,!0);return n.filter(function(r){return t.has(r)})}function Qhe(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var i=Ore(e,t),o=i.length,a=i.findIndex(function(l){return n===l});return r<0?a===-1?a=o-1:a-=1:r>0&&(a+=1),a=(a+o)%o,i[a]}var tQ=function(t,n){var r=new Set,i=new Map,o=new Map;return t.forEach(function(a){var l=document.querySelector("[data-menu-id='".concat($De(n,a),"']"));l&&(r.add(l),o.set(l,a),i.set(a,l))}),{elements:r,key2element:i,element2key:o}};function c4t(e,t,n,r,i,o,a,l,s,u){var c=_.useRef(),f=_.useRef();f.current=t;var h=function(){rr.cancel(c.current)};return _.useEffect(function(){return function(){h()}},[]),function(d){var p=d.which;if([].concat(Zhe,[wk,IDe,G6,K6]).includes(p)){var g=o(),m=tQ(g,r),v=m,y=v.elements,b=v.key2element,C=v.element2key,x=b.get(t),S=s4t(x,y),w=C.get(S),O=a4t(e,a(w,!0).length===1,n,p);if(!O&&p!==G6&&p!==K6)return;(Zhe.includes(p)||[G6,K6].includes(p))&&d.preventDefault();var $=function(D){if(D){var L=D,B=D.querySelector("a");B!=null&&B.getAttribute("href")&&(L=B);var j=C.get(D);l(j),h(),c.current=rr(function(){f.current===j&&L.focus()})}};if([G6,K6].includes(p)||O.sibling||!S){var P;!S||e==="inline"?P=i.current:P=l4t(S);var T,R=Ore(P,y);p===G6?T=R[0]:p===K6?T=R[R.length-1]:T=Qhe(P,y,S,O.offset),$(T)}else if(O.inlineTrigger)s(w);else if(O.offset>0)s(w,!0),h(),c.current=rr(function(){m=tQ(g,r);var k=S.getAttribute("aria-controls"),D=document.getElementById(k),L=Qhe(D,m.elements);$(L)},5);else if(O.offset<0){var M=a(w,!0),A=M[M.length-2],N=b.get(A);s(A,!1),$(N)}}u==null||u(d)}}function u4t(e){Promise.resolve().then(e)}var Ere="__RC_UTIL_PATH_SPLIT__",Jhe=function(t){return t.join(Ere)},d4t=function(t){return t.split(Ere)},nQ="rc-menu-more";function f4t(){var e=_.useState({}),t=Me(e,2),n=t[1],r=_.useRef(new Map),i=_.useRef(new Map),o=_.useState([]),a=Me(o,2),l=a[0],s=a[1],u=_.useRef(0),c=_.useRef(!1),f=function(){c.current||n({})},h=_.useCallback(function(b,C){var x=Jhe(C);i.current.set(x,b),r.current.set(b,x),u.current+=1;var S=u.current;u4t(function(){S===u.current&&f()})},[]),d=_.useCallback(function(b,C){var x=Jhe(C);i.current.delete(x),r.current.delete(b)},[]),p=_.useCallback(function(b){s(b)},[]),g=_.useCallback(function(b,C){var x=r.current.get(b)||"",S=d4t(x);return C&&l.includes(S[0])&&S.unshift(nQ),S},[l]),m=_.useCallback(function(b,C){return b.some(function(x){var S=g(x,!0);return S.includes(C)})},[g]),v=function(){var C=vt(r.current.keys());return l.length&&C.push(nQ),C},y=_.useCallback(function(b){var C="".concat(r.current.get(b)).concat(Ere),x=new Set;return vt(i.current.keys()).forEach(function(S){S.startsWith(C)&&x.add(i.current.get(S))}),x},[]);return _.useEffect(function(){return function(){c.current=!0}},[]),{registerPath:h,unregisterPath:d,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:g,getKeys:v,getSubPathKeys:y}}function Y8(e){var t=_.useRef(e);t.current=e;var n=_.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a1&&(y.motionAppear=!1);var b=y.onVisibleChanged;return y.onVisibleChanged=function(C){return!h.current&&!C&&m(!0),b==null?void 0:b(C)},g?null:_.createElement(XE,{mode:o,locked:!h.current},_.createElement(aa,Qe({visible:v},y,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var x=C.className,S=C.style;return _.createElement($re,{id:t,className:x,style:S},i)}))}var T4t=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],M4t=["active"],R4t=function(t){var n,r=t.style,i=t.className,o=t.title,a=t.eventKey;t.warnKey;var l=t.disabled,s=t.internalPopupClose,u=t.children,c=t.itemIcon,f=t.expandIcon,h=t.popupClassName,d=t.popupOffset,p=t.popupStyle,g=t.onClick,m=t.onMouseEnter,v=t.onMouseLeave,y=t.onTitleClick,b=t.onTitleMouseEnter,C=t.onTitleMouseLeave,x=an(t,T4t),S=PDe(a),w=_.useContext(Ed),O=w.prefixCls,$=w.mode,P=w.openKeys,T=w.disabled,R=w.overflowDisabled,M=w.activeKey,A=w.selectedKeys,N=w.itemIcon,k=w.expandIcon,D=w.onItemClick,L=w.onOpenChange,B=w.onActive,j=_.useContext(wre),z=j._internalRenderSubMenuItem,V=_.useContext(RDe),W=V.isSubPathKey,U=zy(),K="".concat(O,"-submenu"),X=T||l,G=_.useRef(),Y=_.useRef(),J=c??N,ee=f??k,Q=P.includes(a),te=!R&&Q,ne=W(A,a),re=NDe(a,X,b,C),oe=re.active,se=an(re,M4t),ye=_.useState(!1),be=Me(ye,2),he=be[0],le=be[1],ve=function($e){X||le($e)},ke=function($e){ve(!0),m==null||m({key:a,domEvent:$e})},Ie=function($e){ve(!1),v==null||v({key:a,domEvent:$e})},Oe=_.useMemo(function(){return oe||($!=="inline"?he||W([M],a):!1)},[$,oe,M,he,a,W]),Pe=ADe(U.length),_e=function($e){X||(y==null||y({key:a,domEvent:$e}),$==="inline"&&L(a,!Q))},ce=Y8(function(Ee){g==null||g(eD(Ee)),D(Ee)}),Te=function($e){$!=="inline"&&L(a,$e)},Ne=function(){B(a)},je=S&&"".concat(S,"-popup"),He=_.createElement("div",Qe({role:"menuitem",style:Pe,className:"".concat(K,"-title"),tabIndex:X?null:-1,ref:G,title:typeof o=="string"?o:null,"data-menu-id":R&&S?null:S,"aria-expanded":te,"aria-haspopup":!0,"aria-controls":je,"aria-disabled":X,onClick:_e,onFocus:Ne},se),o,_.createElement(kDe,{icon:$!=="horizontal"?ee:void 0,props:fe(fe({},t),{},{isOpen:te,isSubMenu:!0})},_.createElement("i",{className:"".concat(K,"-arrow")}))),Be=_.useRef($);if($!=="inline"&&U.length>1?Be.current="vertical":Be.current=$,!R){var qe=Be.current;He=_.createElement($4t,{mode:qe,prefixCls:K,visible:!s&&te&&$!=="inline",popupClassName:h,popupOffset:d,popupStyle:p,popup:_.createElement(XE,{mode:qe==="horizontal"?"vertical":qe},_.createElement($re,{id:je,ref:Y},u)),disabled:X,onVisibleChange:Te},He)}var me=_.createElement(bd.Item,Qe({role:"none"},x,{component:"li",style:r,className:Re(K,"".concat(K,"-").concat($),i,(n={},ue(n,"".concat(K,"-open"),te),ue(n,"".concat(K,"-active"),Oe),ue(n,"".concat(K,"-selected"),ne),ue(n,"".concat(K,"-disabled"),X),n)),onMouseEnter:ke,onMouseLeave:Ie}),He,!R&&_.createElement(P4t,{id:je,open:te,keyPath:U},u));return z&&(me=z(me,t,{selected:ne,active:Oe,open:te,disabled:X})),_.createElement(XE,{onItemClick:ce,mode:$==="horizontal"?"vertical":$,itemIcon:J,expandIcon:ee},me)};function P$(e){var t=e.eventKey,n=e.children,r=zy(t),i=Pre(n,r),o=dB();_.useEffect(function(){if(o)return o.registerPath(t,r),function(){o.unregisterPath(t,r)}},[r]);var a;return o?a=i:a=_.createElement(R4t,e,i),_.createElement(MDe.Provider,{value:r},a)}var I4t=["className","title","eventKey","children"],N4t=["children"],A4t=function(t){var n=t.className,r=t.title;t.eventKey;var i=t.children,o=an(t,I4t),a=_.useContext(Ed),l=a.prefixCls,s="".concat(l,"-item-group");return _.createElement("li",Qe({role:"presentation"},o,{onClick:function(c){return c.stopPropagation()},className:Re(s,n)}),_.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:typeof r=="string"?r:void 0},r),_.createElement("ul",{role:"group",className:"".concat(s,"-list")},i))};function p4(e){var t=e.children,n=an(e,N4t),r=zy(n.eventKey),i=Pre(t,r),o=dB();return o?i:_.createElement(A4t,bi(n,["warnKey"]),i)}function fB(e){var t=e.className,n=e.style,r=_.useContext(Ed),i=r.prefixCls,o=dB();return o?null:_.createElement("li",{role:"separator",className:Re("".concat(i,"-item-divider"),t),style:n})}var k4t=["label","children","key","type"];function rQ(e){return(e||[]).map(function(t,n){if(t&&bn(t)==="object"){var r=t,i=r.label,o=r.children,a=r.key,l=r.type,s=an(r,k4t),u=a??"tmp-".concat(n);return o||l==="group"?l==="group"?_.createElement(p4,Qe({key:u},s,{title:i}),rQ(o)):_.createElement(P$,Qe({key:u},s,{title:i}),rQ(o)):l==="divider"?_.createElement(fB,Qe({key:u},s)):_.createElement(gh,Qe({key:u},s),i)}return null}).filter(function(t){return t})}function j4t(e,t,n){var r=e;return t&&(r=rQ(t)),Pre(r,n)}var D4t=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Kb=[],L4t=_.forwardRef(function(e,t){var n,r,i=e,o=i.prefixCls,a=o===void 0?"rc-menu":o,l=i.rootClassName,s=i.style,u=i.className,c=i.tabIndex,f=c===void 0?0:c,h=i.items,d=i.children,p=i.direction,g=i.id,m=i.mode,v=m===void 0?"vertical":m,y=i.inlineCollapsed,b=i.disabled,C=i.disabledOverflow,x=i.subMenuOpenDelay,S=x===void 0?.1:x,w=i.subMenuCloseDelay,O=w===void 0?.1:w,$=i.forceSubMenuRender,P=i.defaultOpenKeys,T=i.openKeys,R=i.activeKey,M=i.defaultActiveFirst,A=i.selectable,N=A===void 0?!0:A,k=i.multiple,D=k===void 0?!1:k,L=i.defaultSelectedKeys,B=i.selectedKeys,j=i.onSelect,z=i.onDeselect,V=i.inlineIndent,W=V===void 0?24:V,U=i.motion,K=i.defaultMotions,X=i.triggerSubMenuAction,G=X===void 0?"hover":X,Y=i.builtinPlacements,J=i.itemIcon,ee=i.expandIcon,Q=i.overflowedIndicator,te=Q===void 0?"...":Q,ne=i.overflowedIndicatorPopupClassName,re=i.getPopupContainer,oe=i.onClick,se=i.onOpenChange,ye=i.onKeyDown;i.openAnimation,i.openTransitionName;var be=i._internalRenderMenuItem,he=i._internalRenderSubMenuItem,le=an(i,D4t),ve=_.useMemo(function(){return j4t(d,h,Kb)},[d,h]),ke=_.useState(!1),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1],_e=_.useRef(),ce=h4t(g),Te=p==="rtl",Ne=zn(P,{value:T,postState:function(En){return En||Kb}}),je=Me(Ne,2),He=je[0],Be=je[1],qe=function(En){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function gn(){Be(En),se==null||se(En)}en?Ns.flushSync(gn):gn()},me=_.useState(He),Ee=Me(me,2),$e=Ee[0],Le=Ee[1],Fe=_.useRef(!1),Ke=_.useMemo(function(){return(v==="inline"||v==="vertical")&&y?["vertical",y]:[v,!1]},[v,y]),lt=Me(Ke,2),ft=lt[0],Ye=lt[1],we=ft==="inline",De=_.useState(ft),We=Me(De,2),Ge=We[0],Je=We[1],bt=_.useState(Ye),at=Me(bt,2),et=at[0],rt=at[1];_.useEffect(function(){Je(ft),rt(Ye),Fe.current&&(we?Be($e):qe(Kb))},[ft,Ye]);var Ze=_.useState(0),wt=Me(Ze,2),ut=wt[0],ot=wt[1],dt=ut>=ve.length-1||Ge!=="horizontal"||C;_.useEffect(function(){we&&Le(He)},[He]),_.useEffect(function(){return Fe.current=!0,function(){Fe.current=!1}},[]);var _t=f4t(),Ot=_t.registerPath,Ct=_t.unregisterPath,mt=_t.refreshOverflowKeys,It=_t.isSubPathKey,nt=_t.getKeyPath,yt=_t.getKeys,xt=_t.getSubPathKeys,At=_.useMemo(function(){return{registerPath:Ot,unregisterPath:Ct}},[Ot,Ct]),cn=_.useMemo(function(){return{isSubPathKey:It}},[It]);_.useEffect(function(){mt(dt?Kb:ve.slice(ut+1).map(function(On){return On.key}))},[ut,dt]);var Ht=zn(R||M&&((n=ve[0])===null||n===void 0?void 0:n.key),{value:R}),$t=Me(Ht,2),zt=$t[0],Qt=$t[1],Pt=Y8(function(On){Qt(On)}),ct=Y8(function(){Qt(void 0)});_.useImperativeHandle(t,function(){return{list:_e.current,focus:function(En){var en,gn=yt(),qn=tQ(gn,ce),yr=qn.elements,mn=qn.key2element,Zt=qn.element2key,nn=Ore(_e.current,yr),Dn=zt??(nn[0]?Zt.get(nn[0]):(en=ve.find(function(qt){return!qt.props.disabled}))===null||en===void 0?void 0:en.key),Xn=mn.get(Dn);if(Dn&&Xn){var ur;Xn==null||(ur=Xn.focus)===null||ur===void 0||ur.call(Xn,En)}}}});var Wt=zn(L||[],{value:B,postState:function(En){return Array.isArray(En)?En:En==null?Kb:[En]}}),wn=Me(Wt,2),kt=wn[0],gt=wn[1],Bt=function(En){if(N){var en=En.key,gn=kt.includes(en),qn;D?gn?qn=kt.filter(function(mn){return mn!==en}):qn=[].concat(vt(kt),[en]):qn=[en],gt(qn);var yr=fe(fe({},En),{},{selectedKeys:qn});gn?z==null||z(yr):j==null||j(yr)}!D&&He.length&&Ge!=="inline"&&qe(Kb)},Nn=Y8(function(On){oe==null||oe(eD(On)),Bt(On)}),Or=Y8(function(On,En){var en=He.filter(function(qn){return qn!==On});if(En)en.push(On);else if(Ge!=="inline"){var gn=xt(On);en=en.filter(function(qn){return!gn.has(qn)})}Cc(He,en,!0)||qe(en,!0)}),Ar=function(En,en){var gn=en??!He.includes(En);Or(En,gn)},ei=c4t(Ge,zt,Te,ce,_e,yt,nt,Qt,Ar,ye);_.useEffect(function(){Pe(!0)},[]);var ar=_.useMemo(function(){return{_internalRenderMenuItem:be,_internalRenderSubMenuItem:he}},[be,he]),Sn=Ge!=="horizontal"||C?ve:ve.map(function(On,En){return _.createElement(XE,{key:On.key,overflowDisabled:En>ut},On)}),pi=_.createElement(bd,Qe({id:g,ref:_e,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:gh,className:Re(a,"".concat(a,"-root"),"".concat(a,"-").concat(Ge),u,(r={},ue(r,"".concat(a,"-inline-collapsed"),et),ue(r,"".concat(a,"-rtl"),Te),r),l),dir:p,style:s,role:"menu",tabIndex:f,data:Sn,renderRawItem:function(En){return En},renderRawRest:function(En){var en=En.length,gn=en?ve.slice(-en):null;return _.createElement(P$,{eventKey:nQ,title:te,disabled:dt,internalPopupClose:en===0,popupClassName:ne},gn)},maxCount:Ge!=="horizontal"||C?bd.INVALIDATE:bd.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(En){ot(En)},onKeyDown:ei},le));return _.createElement(wre.Provider,{value:ar},_.createElement(EDe.Provider,{value:ce},_.createElement(XE,{prefixCls:a,rootClassName:l,mode:Ge,openKeys:He,rtl:Te,disabled:b,motion:Oe?U:null,defaultMotions:Oe?K:null,activeKey:zt,onActive:Pt,onInactive:ct,selectedKeys:kt,inlineIndent:W,subMenuOpenDelay:S,subMenuCloseDelay:O,forceSubMenuRender:$,builtinPlacements:Y,triggerSubMenuAction:G,getPopupContainer:re,itemIcon:J,expandIcon:ee,onItemClick:Nn,onOpenChange:Or},_.createElement(RDe.Provider,{value:cn},pi),_.createElement("div",{style:{display:"none"},"aria-hidden":!0},_.createElement(TDe.Provider,{value:At},ve)))))}),R0=L4t;R0.Item=gh;R0.SubMenu=P$;R0.ItemGroup=p4;R0.Divider=fB;const z4t=Object.freeze(Object.defineProperty({__proto__:null,Divider:fB,Item:gh,ItemGroup:p4,MenuItem:gh,MenuItemGroup:p4,SubMenu:P$,default:R0,useFullPath:zy},Symbol.toStringTag,{value:"Module"}));var B4t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const F4t=B4t;var H4t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:F4t}))};const iQ=_.forwardRef(H4t),DDe=_.createContext({});var W4t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const q4t=W4t;var V4t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:q4t}))};const Tre=_.forwardRef(V4t);var U4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,dashed:r}=e,i=U4t(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=_.useContext(on),a=o("menu",t),l=Re({[`${a}-item-divider-dashed`]:!!r},n);return _.createElement(fB,Object.assign({className:l},i))},LDe=G4t,K4t=_.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),tD=K4t,X4t=e=>{var t;const{className:n,children:r,icon:i,title:o,danger:a}=e,{prefixCls:l,firstLevel:s,direction:u,disableMenuItemTitleTooltip:c,inlineCollapsed:f}=_.useContext(tD),h=y=>{const b=_.createElement("span",{className:`${l}-title-content`},r);return(!i||Zl(r)&&r.type==="span")&&r&&y&&s&&typeof r=="string"?_.createElement("div",{className:`${l}-inline-collapsed-noicon`},r.charAt(0)):b},{siderCollapsed:d}=_.useContext(DDe);let p=o;typeof o>"u"?p=s?r:"":o===!1&&(p="");const g={title:p};!d&&!f&&(g.title=null,g.open=!1);const m=Wo(r).length;let v=_.createElement(gh,Object.assign({},bi(e,["title","icon","danger"]),{className:Re({[`${l}-item-danger`]:a,[`${l}-item-only-child`]:(i?m+1:m)===1},n),title:typeof o=="string"?o:void 0}),Mo(i,{className:Re(Zl(i)?(t=i.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),h(f));return c||(v=_.createElement(Ly,Object.assign({},g,{placement:u==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`}),v)),v},zDe=X4t,Y4t=e=>{var t;const{popupClassName:n,icon:r,title:i,theme:o}=e,a=_.useContext(tD),{prefixCls:l,inlineCollapsed:s,theme:u}=a,c=zy();let f;if(!r)f=s&&!c.length&&i&&typeof i=="string"?_.createElement("div",{className:`${l}-inline-collapsed-noicon`},i.charAt(0)):_.createElement("span",{className:`${l}-title-content`},i);else{const p=Zl(i)&&i.type==="span";f=_.createElement(_.Fragment,null,Mo(r,{className:Re(Zl(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),p?i:_.createElement("span",{className:`${l}-title-content`},i))}const h=_.useMemo(()=>Object.assign(Object.assign({},a),{firstLevel:!1}),[a]),[d]=Hf("Menu");return _.createElement(tD.Provider,{value:h},_.createElement(P$,Object.assign({},bi(e,["icon"]),{title:f,popupClassName:Re(l,n,`${l}-${o||u}`),popupStyle:{zIndex:d}})))},BDe=Y4t;var Z4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(t&&typeof t=="object"){const r=t,{label:i,children:o,key:a,type:l}=r,s=Z4t(r,["label","children","key","type"]),u=a??`tmp-${n}`;return o||l==="group"?l==="group"?_.createElement(p4,Object.assign({key:u},s,{title:i}),oQ(o)):_.createElement(BDe,Object.assign({key:u},s,{title:i}),oQ(o)):l==="divider"?_.createElement(LDe,Object.assign({key:u},s)):_.createElement(zDe,Object.assign({key:u},s),i)}return null}).filter(t=>t)}function Q4t(e){return _.useMemo(()=>e&&oQ(e),[e])}var J4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{children:n}=e,r=J4t(e,["children"]),i=_.useContext(aQ),o=_.useMemo(()=>Object.assign(Object.assign({},i),r),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),a=cAe(n),l=Pd(t,a?n.ref:null);return _.createElement(aQ.Provider,{value:o},_.createElement(fh,null,a?_.cloneElement(n,{ref:l}):n))}),t1e=aQ,eCt=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:o,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${xe(o)} ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Jq(Wn(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const H2t=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:i,zIndexPopupBase:o,colorText:a,fontWeightStrong:l,controlItemBgActive:s,controlItemBgHover:u,colorBgContainer:c,colorFillSecondary:f,controlHeightLG:h,controlHeightSM:d,colorBgContainerDisabled:p,colorTextDisabled:g}=e;return{zIndexPopup:o+50,optionSelectedColor:a,optionSelectedFontWeight:l,optionSelectedBg:s,optionActiveBg:u,optionPadding:`${(r-t*n)/2}px ${i}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:c,clearBg:c,singleItemHeightLG:h,multipleItemBg:f,multipleItemBorderColor:"transparent",multipleItemHeight:d,multipleItemHeightLG:r,multipleSelectorBgDisabled:p,multipleItemColorDisabled:g,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},oDe=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:i}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${xe(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${xe(i)} ${t.activeShadowColor}`,outline:0}}}},Uhe=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},oDe(e,t))}),W2t=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},oDe(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Uhe(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Uhe(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),aDe=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${xe(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Ghe=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},aDe(e,t))}),q2t=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},aDe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),Ghe(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Ghe(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),V2t=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),U2t=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},W2t(e)),q2t(e)),V2t(e))}),G2t=U2t,K2t=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},X2t=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Y2t=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},K2t(e)),X2t(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},xc),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},xc),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},sC()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},Z2t=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Y2t(e),F2t(e),B2t(e),L2t(e),{[`${t}-rtl`]:{direction:"rtl"}},_$(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},lDe=vr("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Wn(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Z2t(r),G2t(r)]},H2t,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Q2t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const J2t=Q2t;var e3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:J2t}))};const oB=_.forwardRef(e3t);var t3t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const n3t=t3t;var r3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:n3t}))};const aB=_.forwardRef(r3t);var i3t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const o3t=i3t;var a3t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:o3t}))};const Sre=_.forwardRef(a3t);function xre(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:o,multiple:a,hasFeedback:l,prefixCls:s,showSuffixIcon:u,feedbackIcon:c,showArrow:f,componentName:h}=e;const d=n??_.createElement(Rh,null),p=y=>t===null&&!l&&!f?null:_.createElement(_.Fragment,null,u!==!1&&y,l&&c);let g=null;if(t!==void 0)g=p(t);else if(o)g=p(_.createElement(v0,{spin:!0}));else{const y=`${s}-suffix`;g=b=>{let{open:C,showSearch:x}=b;return p(C&&x?_.createElement(Sre,{className:y}):_.createElement(aB,{className:y}))}}let m=null;r!==void 0?m=r:a?m=_.createElement(oB,null):m=null;let v=null;return i!==void 0?v=i:v=_.createElement(Ic,null),{clearIcon:d,suffixIcon:g,itemIcon:m,removeIcon:v}}function sDe(e,t){return t!==void 0?t:e!==null}var l3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i,className:o,rootClassName:a,getPopupContainer:l,popupClassName:s,dropdownClassName:u,listHeight:c=256,placement:f,listItemHeight:h,size:d,disabled:p,notFoundContent:g,status:m,builtinPlacements:v,dropdownMatchSelectWidth:y,popupMatchSelectWidth:b,direction:C,style:x,allowClear:S,variant:w,dropdownStyle:O,transitionName:$,tagRender:P,maxCount:T}=e,R=l3t(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:M,getPrefixCls:A,renderEmpty:N,direction:j,virtual:D,popupMatchSelectWidth:L,popupOverflow:B,select:k}=_.useContext(on),[,z]=To(),q=h??(z==null?void 0:z.controlHeight),W=A("select",r),U=A(),K=C??j,{compactSize:X,compactItemClassnames:G}=Ih(W,K),[Y,J]=Dy(w,i),ee=di(W),[Q,te,ne]=lDe(W,ee),re=_.useMemo(()=>{const{mode:Le}=e;if(Le!=="combobox")return Le===cDe?"combobox":Le},[e.mode]),oe=re==="multiple"||re==="tags",se=sDe(e.suffixIcon,e.showArrow),ye=(n=b??y)!==null&&n!==void 0?n:L,{status:be,hasFeedback:he,isFormItemInput:le,feedbackIcon:ve}=_.useContext(la),ke=jy(be,m);let Ie;g!==void 0?Ie=g:re==="combobox"?Ie=null:Ie=(N==null?void 0:N("Select"))||_.createElement(bre,{componentName:"Select"});const{suffixIcon:Oe,itemIcon:Pe,removeIcon:_e,clearIcon:ce}=xre(Object.assign(Object.assign({},R),{multiple:oe,hasFeedback:he,feedbackIcon:ve,showSuffixIcon:se,prefixCls:W,componentName:"Select"})),Te=S===!0?{clearIcon:ce}:S,Ne=bi(R,["suffixIcon","itemIcon"]),je=Re(s||u,{[`${W}-dropdown-${K}`]:K==="rtl"},a,ne,ee,te),He=Go(Le=>{var Fe;return(Fe=d??X)!==null&&Fe!==void 0?Fe:Le}),Be=_.useContext(es),qe=p??Be,me=Re({[`${W}-lg`]:He==="large",[`${W}-sm`]:He==="small",[`${W}-rtl`]:K==="rtl",[`${W}-${Y}`]:J,[`${W}-in-form-item`]:le},jf(W,ke,he),G,k==null?void 0:k.className,o,a,ne,ee,te),Ee=_.useMemo(()=>f!==void 0?f:K==="rtl"?"bottomRight":"bottomLeft",[f,K]),[$e]=Hf("SelectLike",O==null?void 0:O.zIndex);return Q(_.createElement(iB,Object.assign({ref:t,virtual:D,showSearch:k==null?void 0:k.showSearch},Ne,{style:Object.assign(Object.assign({},k==null?void 0:k.style),x),dropdownMatchSelectWidth:ye,transitionName:As(U,"slide-up",$),builtinPlacements:iDe(v,B),listHeight:c,listItemHeight:q,mode:re,prefixCls:W,placement:Ee,direction:K,suffixIcon:Oe,menuItemSelectedIcon:Pe,removeIcon:_e,allowClear:Te,notFoundContent:Ie,className:me,getPopupContainer:l||M,dropdownClassName:je,disabled:qe,dropdownStyle:Object.assign(Object.assign({},O),{zIndex:$e}),maxCount:oe?T:void 0,tagRender:oe?P:void 0})))},pC=_.forwardRef(s3t),c3t=fC(pC);pC.SECRET_COMBOBOX_MODE_DO_NOT_USE=cDe;pC.Option=nB;pC.OptGroup=tB;pC._InternalPanelDoNotUseOrYouWillBeFired=c3t;const Ps=pC,d4=["xxl","xl","lg","md","sm","xs"],u3t=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),d3t=e=>{const t=e,n=[].concat(d4).reverse();return n.forEach((r,i)=>{const o=r.toUpperCase(),a=`screen${o}Min`,l=`screen${o}`;if(!(t[a]<=t[l]))throw new Error(`${a}<=${l} fails : !(${t[a]}<=${t[l]})`);if(i{const n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],l=this.matchHandlers[a];l==null||l.mql.removeListener(l==null?void 0:l.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],l=u=>{let{matches:c}=u;this.dispatch(Object.assign(Object.assign({},i),{[o]:c}))},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s)})},responsiveMap:t}},[e])}function lB(){const[,e]=_.useReducer(t=>t+1,0);return e}function sB(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=_.useRef({}),n=lB(),r=uDe();return er(()=>{const i=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(i)},[]),t.current}const f3t=_.createContext({}),QZ=f3t,p3t=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:l,containerSizeSM:s,textFontSize:u,textFontSizeLG:c,textFontSizeSM:f,borderRadius:h,borderRadiusLG:d,borderRadiusSM:p,lineWidth:g,lineType:m}=e,v=(y,b,C)=>({width:y,height:y,borderRadius:"50%",[`&${n}-square`]:{borderRadius:C},[`&${n}-icon`]:{fontSize:b,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${xe(g)} ${m} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),v(a,u,h)),{"&-lg":Object.assign({},v(l,c,d)),"&-sm":Object.assign({},v(s,f,p)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},h3t=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},g3t=e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:l,marginXS:s,marginXXS:u,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:l,textFontSizeSM:i,groupSpace:u,groupOverlapping:-s,groupBorderColor:c}},dDe=vr("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Wn(e,{avatarBg:n,avatarColor:t});return[p3t(r),h3t(r)]},g3t);var m3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const[n,r]=_.useState(1),[i,o]=_.useState(!1),[a,l]=_.useState(!0),s=_.useRef(null),u=_.useRef(null),c=cl(t,s),{getPrefixCls:f,avatar:h}=_.useContext(on),d=_.useContext(QZ),p=()=>{if(!u.current||!s.current)return;const Y=u.current.offsetWidth,J=s.current.offsetWidth;if(Y!==0&&J!==0){const{gap:ee=4}=e;ee*2{o(!0)},[]),_.useEffect(()=>{l(!0),r(1)},[e.src]),_.useEffect(p,[e.gap]);const g=()=>{const{onError:Y}=e;(Y==null?void 0:Y())!==!1&&l(!1)},{prefixCls:m,shape:v,size:y,src:b,srcSet:C,icon:x,className:S,rootClassName:w,alt:O,draggable:$,children:P,crossOrigin:T}=e,R=m3t(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),M=Go(Y=>{var J,ee;return(ee=(J=y??(d==null?void 0:d.size))!==null&&J!==void 0?J:Y)!==null&&ee!==void 0?ee:"default"}),A=Object.keys(typeof M=="object"?M||{}:{}).some(Y=>["xs","sm","md","lg","xl","xxl"].includes(Y)),N=sB(A),j=_.useMemo(()=>{if(typeof M!="object")return{};const Y=d4.find(ee=>N[ee]),J=M[Y];return J?{width:J,height:J,fontSize:J&&(x||P)?J/2:18}:{}},[N,M]),D=f("avatar",m),L=di(D),[B,k,z]=dDe(D,L),q=Re({[`${D}-lg`]:M==="large",[`${D}-sm`]:M==="small"}),W=_.isValidElement(b),U=v||(d==null?void 0:d.shape)||"circle",K=Re(D,q,h==null?void 0:h.className,`${D}-${U}`,{[`${D}-image`]:W||b&&a,[`${D}-icon`]:!!x},z,L,S,w,k),X=typeof M=="number"?{width:M,height:M,fontSize:x?M/2:18}:{};let G;if(typeof b=="string"&&a)G=_.createElement("img",{src:b,draggable:$,srcSet:C,onError:g,alt:O,crossOrigin:T});else if(W)G=b;else if(x)G=x;else if(i||n!==1){const Y=`scale(${n})`,J={msTransform:Y,WebkitTransform:Y,transform:Y};G=_.createElement(Ba,{onResize:p},_.createElement("span",{className:`${D}-string`,ref:u,style:Object.assign({},J)},P))}else G=_.createElement("span",{className:`${D}-string`,style:{opacity:0},ref:u},P);return delete R.onError,delete R.gap,B(_.createElement("span",Object.assign({},R,{style:Object.assign(Object.assign(Object.assign(Object.assign({},X),j),h==null?void 0:h.style),R.style),className:K,ref:c}),G))},y3t=_.forwardRef(v3t),fDe=y3t,f4=e=>e?typeof e=="function"?e():e:null;function cB(e){var t=e.children,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle,o=e.className,a=e.style;return _.createElement("div",{className:Re("".concat(n,"-content"),o),style:a},_.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:i},typeof t=="function"?t():t))}var qb={shiftX:64,adjustY:1},Vb={adjustX:1,shiftY:!0},zc=[0,0],b3t={left:{points:["cr","cl"],overflow:Vb,offset:[-4,0],targetOffset:zc},right:{points:["cl","cr"],overflow:Vb,offset:[4,0],targetOffset:zc},top:{points:["bc","tc"],overflow:qb,offset:[0,-4],targetOffset:zc},bottom:{points:["tc","bc"],overflow:qb,offset:[0,4],targetOffset:zc},topLeft:{points:["bl","tl"],overflow:qb,offset:[0,-4],targetOffset:zc},leftTop:{points:["tr","tl"],overflow:Vb,offset:[-4,0],targetOffset:zc},topRight:{points:["br","tr"],overflow:qb,offset:[0,-4],targetOffset:zc},rightTop:{points:["tl","tr"],overflow:Vb,offset:[4,0],targetOffset:zc},bottomRight:{points:["tr","br"],overflow:qb,offset:[0,4],targetOffset:zc},rightBottom:{points:["bl","br"],overflow:Vb,offset:[4,0],targetOffset:zc},bottomLeft:{points:["tl","bl"],overflow:qb,offset:[0,4],targetOffset:zc},leftBottom:{points:["br","bl"],overflow:Vb,offset:[-4,0],targetOffset:zc}},C3t=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S3t=function(t,n){var r=t.overlayClassName,i=t.trigger,o=i===void 0?["hover"]:i,a=t.mouseEnterDelay,l=a===void 0?0:a,s=t.mouseLeaveDelay,u=s===void 0?.1:s,c=t.overlayStyle,f=t.prefixCls,h=f===void 0?"rc-tooltip":f,d=t.children,p=t.onVisibleChange,g=t.afterVisibleChange,m=t.transitionName,v=t.animation,y=t.motion,b=t.placement,C=b===void 0?"right":b,x=t.align,S=x===void 0?{}:x,w=t.destroyTooltipOnHide,O=w===void 0?!1:w,$=t.defaultVisible,P=t.getTooltipContainer,T=t.overlayInnerStyle;t.arrowContent;var R=t.overlay,M=t.id,A=t.showArrow,N=A===void 0?!0:A,j=an(t,C3t),D=_.useRef(null);_.useImperativeHandle(n,function(){return D.current});var L=fe({},j);"visible"in t&&(L.popupVisible=t.visible);var B=function(){return _.createElement(cB,{key:"content",prefixCls:h,id:M,overlayInnerStyle:T},R)};return _.createElement(ky,Qe({popupClassName:r,prefixCls:h,popup:B,action:o,builtinPlacements:b3t,popupPlacement:C,ref:D,popupAlign:S,getPopupContainer:P,onPopupVisibleChange:p,afterPopupVisibleChange:g,popupTransitionName:m,popupAnimation:v,popupMotion:y,defaultPopupVisible:$,autoDestroy:O,mouseLeaveDelay:u,popupStyle:c,mouseEnterDelay:l,arrow:N},L),d)};const pDe=_.forwardRef(S3t),x3t=Object.freeze(Object.defineProperty({__proto__:null,Popup:cB,default:pDe},Symbol.toStringTag,{value:"Module"}));function uB(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,o=0,a=i,l=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),u=i-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*i-u,h=c,d=2*i-l,p=s,g=2*i-o,m=a,v=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),y=r*(Math.sqrt(2)-1),b=`polygon(${y}px 100%, 50% ${y}px, ${2*i-y}px 100%, ${y}px 100%)`,C=`path('M ${o} ${a} A ${r} ${r} 0 0 0 ${l} ${s} L ${u} ${c} A ${n} ${n} 0 0 1 ${f} ${h} L ${d} ${p} A ${r} ${r} 0 0 0 ${g} ${m} Z')`;return{arrowShadowWidth:v,arrowPath:C,arrowPolygon:b}}const hDe=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:o,arrowShadowWidth:a,borderRadiusXS:l,calc:s}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${xe(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},gDe=8;function dB(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?gDe:r}}function sM(e,t){return e?t:{}}function _re(e,t,n){const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:o,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},hDe(e,t,i)),{"&:before":{background:t}})]},sM(!!s.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-topRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),sM(!!s.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${r}-arrow`]:{left:{_skip_check_:!0,value:a}},[`&-placement-bottomRight > ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}})),sM(!!s.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),sM(!!s.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function _3t(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const a=Object.assign(Object.assign({},o),i);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const Khe={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},w3t={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},O3t=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function mDe(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:o,visibleFirst:a}=e,l=t/2,s={};return Object.keys(Khe).forEach(u=>{const c=r&&w3t[u]||Khe[u],f=Object.assign(Object.assign({},c),{offset:[0,0],dynamicInset:!0});switch(s[u]=f,O3t.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-l-i;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=l+i;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-l-i;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=l+i;break}const h=dB({contentRadius:o,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-h.arrowOffsetHorizontal-l;break;case"topRight":case"bottomRight":f.offset[0]=h.arrowOffsetHorizontal+l;break;case"leftTop":case"rightTop":f.offset[1]=-h.arrowOffsetHorizontal-l;break;case"leftBottom":case"rightBottom":f.offset[1]=h.arrowOffsetHorizontal+l;break}f.overflow=_3t(u,h,t,n),a&&(f.htmlRegion="visibleFirst")}),s}const E3t=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:o,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${xe(e.calc(u).div(2).equal())} ${xe(c)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:o,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(o,gDe)}},[`${t}-content`]:{position:"relative"}}),wke(e,(f,h)=>{let{darkColor:d}=h;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:d},[`${t}-arrow`]:{"--antd-arrow-background-color":d}}}})),{"&-rtl":{direction:"rtl"}})},_re(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},$3t=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},dB({contentRadius:e.borderRadius,limitVerticalRadius:!0})),uB(Wn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),vDe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return vr("Tooltip",r=>{const{borderRadius:i,colorTextLightSolid:o,colorBgSpotlight:a}=r,l=Wn(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a});return[E3t(l),dC(r,"zoom-big-fast")]},$3t,{resetStyle:!1,injectStyle:t})(e)},P3t=VE.map(e=>`${e}-inverse`),T3t=["success","processing","error","default","warning"];function yDe(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(vt(P3t),vt(VE)).includes(e):VE.includes(e)}function M3t(e){return T3t.includes(e)}function bDe(e,t){const n=yDe(t),r=Re({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}const R3t=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:o,overlayInnerStyle:a}=e,{getPrefixCls:l}=_.useContext(on),s=l("tooltip",t),[u,c,f]=vDe(s),h=bDe(s,o),d=h.arrowStyle,p=Object.assign(Object.assign({},a),h.overlayStyle),g=Re(c,f,s,`${s}-pure`,`${s}-placement-${r}`,n,h.className);return u(_.createElement("div",{className:g,style:d},_.createElement("div",{className:`${s}-arrow`}),_.createElement(cB,Object.assign({},e,{className:c,prefixCls:s,overlayInnerStyle:p}),i)))},I3t=R3t;var N3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{prefixCls:i,openClassName:o,getTooltipContainer:a,overlayClassName:l,color:s,overlayInnerStyle:u,children:c,afterOpenChange:f,afterVisibleChange:h,destroyTooltipOnHide:d,arrow:p=!0,title:g,overlay:m,builtinPlacements:v,arrowPointAtCenter:y=!1,autoAdjustOverflow:b=!0}=e,C=!!p,[,x]=To(),{getPopupContainer:S,getPrefixCls:w,direction:O}=_.useContext(on),$=Mh(),P=_.useRef(null),T=()=>{var Ie;(Ie=P.current)===null||Ie===void 0||Ie.forceAlign()};_.useImperativeHandle(t,()=>({forceAlign:T,forcePopupAlign:()=>{$.deprecated(!1,"forcePopupAlign","forceAlign"),T()}}));const[R,M]=zn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),A=!g&&!m&&g!==0,N=Ie=>{var Oe,Pe;M(A?!1:Ie),A||((Oe=e.onOpenChange)===null||Oe===void 0||Oe.call(e,Ie),(Pe=e.onVisibleChange)===null||Pe===void 0||Pe.call(e,Ie))},j=_.useMemo(()=>{var Ie,Oe;let Pe=y;return typeof p=="object"&&(Pe=(Oe=(Ie=p.pointAtCenter)!==null&&Ie!==void 0?Ie:p.arrowPointAtCenter)!==null&&Oe!==void 0?Oe:y),v||mDe({arrowPointAtCenter:Pe,autoAdjustOverflow:b,arrowWidth:C?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[y,p,v,x]),D=_.useMemo(()=>g===0?g:m||g||"",[m,g]),L=_.createElement(fh,null,typeof D=="function"?D():D),{getPopupContainer:B,placement:k="top",mouseEnterDelay:z=.1,mouseLeaveDelay:q=.1,overlayStyle:W,rootClassName:U}=e,K=N3t(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),X=w("tooltip",i),G=w(),Y=e["data-popover-inject"];let J=R;!("open"in e)&&!("visible"in e)&&A&&(J=!1);const ee=Zl(c)&&!Wke(c)?c:_.createElement("span",null,c),Q=ee.props,te=!Q.className||typeof Q.className=="string"?Re(Q.className,o||`${X}-open`):Q.className,[ne,re,oe]=vDe(X,!Y),se=bDe(X,s),ye=se.arrowStyle,be=Object.assign(Object.assign({},u),se.overlayStyle),he=Re(l,{[`${X}-rtl`]:O==="rtl"},se.className,U,re,oe),[le,ve]=Hf("Tooltip",K.zIndex),ke=_.createElement(pDe,Object.assign({},K,{zIndex:le,showArrow:C,placement:k,mouseEnterDelay:z,mouseLeaveDelay:q,prefixCls:X,overlayClassName:he,overlayStyle:Object.assign(Object.assign({},ye),W),getTooltipContainer:B||a||S,ref:P,builtinPlacements:j,overlay:L,visible:J,onVisibleChange:N,afterVisibleChange:f??h,overlayInnerStyle:be,arrowContent:_.createElement("span",{className:`${X}-arrow-content`}),motion:{motionName:As(G,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!d}),J?Mo(ee,{className:te}):ee);return ne(_.createElement(Dz.Provider,{value:ve},ke))});CDe._InternalPanelDoNotUseOrYouWillBeFired=I3t;const Ly=CDe,A3t=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:o,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:s,zIndexPopup:u,titleMarginBottom:c,colorBgElevated:f,popoverBg:h,titleBorderBottom:d,innerContentPadding:p,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:h,backgroundClip:"padding-box",borderRadius:s,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:c,color:l,fontWeight:i,borderBottom:d,padding:g},[`${t}-inner-content`]:{color:n,padding:p}})},_re(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},k3t=e=>{const{componentCls:t}=e;return{[t]:VE.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},j3t=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:o,zIndexPopupBase:a,borderRadiusLG:l,marginXS:s,lineType:u,colorSplit:c,paddingSM:f}=e,h=n-r,d=h/2,p=h/2-t,g=i;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},uB(e)),dB({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:s,titlePadding:o?`${d}px ${g}px ${p}px`:0,titleBorderBottom:o?`${t}px ${u} ${c}`:"none",innerContentPadding:o?`${f}px ${g}px`:0})},SDe=vr("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Wn(e,{popoverBg:t,popoverColor:n});return[A3t(r),k3t(r),dC(r,"zoom-big")]},j3t,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var D3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t&&!n?null:_.createElement(_.Fragment,null,t&&_.createElement("div",{className:`${e}-title`},f4(t)),_.createElement("div",{className:`${e}-inner-content`},f4(n))),z3t=e=>{const{hashId:t,prefixCls:n,className:r,style:i,placement:o="top",title:a,content:l,children:s}=e;return _.createElement("div",{className:Re(t,n,`${n}-pure`,`${n}-placement-${o}`,r),style:i},_.createElement("div",{className:`${n}-arrow`}),_.createElement(cB,Object.assign({},e,{className:t,prefixCls:n}),s||L3t(n,a,l)))},B3t=e=>{const{prefixCls:t,className:n}=e,r=D3t(e,["prefixCls","className"]),{getPrefixCls:i}=_.useContext(on),o=i("popover",t),[a,l,s]=SDe(o);return a(_.createElement(z3t,Object.assign({},r,{prefixCls:o,hashId:l,className:Re(n,s)})))},xDe=B3t;var F3t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{title:t,content:n,prefixCls:r}=e;return _.createElement(_.Fragment,null,t&&_.createElement("div",{className:`${r}-title`},f4(t)),_.createElement("div",{className:`${r}-inner-content`},f4(n)))},_De=_.forwardRef((e,t)=>{const{prefixCls:n,title:r,content:i,overlayClassName:o,placement:a="top",trigger:l="hover",mouseEnterDelay:s=.1,mouseLeaveDelay:u=.1,overlayStyle:c={}}=e,f=F3t(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:h}=_.useContext(on),d=h("popover",n),[p,g,m]=SDe(d),v=h(),y=Re(o,g,m);return p(_.createElement(Ly,Object.assign({placement:a,trigger:l,mouseEnterDelay:s,mouseLeaveDelay:u,overlayStyle:c},f,{prefixCls:d,overlayClassName:y,ref:t,overlay:r||i?_.createElement(H3t,{prefixCls:d,title:r,content:i}):null,transitionName:As(v,"zoom-big",f.transitionName),"data-popover-inject":!0})))});_De._InternalPanelDoNotUseOrYouWillBeFired=xDe;const wre=_De,Xhe=e=>{const{size:t,shape:n}=_.useContext(QZ),r=_.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return _.createElement(QZ.Provider,{value:r},e.children)},W3t=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,className:i,rootClassName:o,style:a,maxCount:l,maxStyle:s,size:u,shape:c,maxPopoverPlacement:f="top",maxPopoverTrigger:h="hover",children:d}=e,p=t("avatar",r),g=`${p}-group`,m=di(p),[v,y,b]=dDe(p,m),C=Re(g,{[`${g}-rtl`]:n==="rtl"},b,m,i,o,y),x=Wo(d).map((w,O)=>Mo(w,{key:`avatar-key-${O}`})),S=x.length;if(l&&l1&&arguments[1]!==void 0?arguments[1]:!1;if(S$(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function o4t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=vt(e.querySelectorAll("*")).filter(function(r){return Yhe(r,t)});return Yhe(e,t)&&n.unshift(e),n}var JZ=ht.LEFT,eQ=ht.RIGHT,tQ=ht.UP,wk=ht.DOWN,Ok=ht.ENTER,IDe=ht.ESC,G6=ht.HOME,K6=ht.END,Zhe=[tQ,wk,JZ,eQ];function a4t(e,t,n,r){var i,o,a,l,s="prev",u="next",c="children",f="parent";if(e==="inline"&&r===Ok)return{inlineTrigger:!0};var h=(i={},ue(i,tQ,s),ue(i,wk,u),i),d=(o={},ue(o,JZ,n?u:s),ue(o,eQ,n?s:u),ue(o,wk,c),ue(o,Ok,c),o),p=(a={},ue(a,tQ,s),ue(a,wk,u),ue(a,Ok,c),ue(a,IDe,f),ue(a,JZ,n?c:f),ue(a,eQ,n?f:c),a),g={inline:h,horizontal:d,vertical:p,inlineSub:h,horizontalSub:p,verticalSub:p},m=(l=g["".concat(e).concat(t?"":"Sub")])===null||l===void 0?void 0:l[r];switch(m){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}function l4t(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function s4t(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function $re(e,t){var n=o4t(e,!0);return n.filter(function(r){return t.has(r)})}function Qhe(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var i=$re(e,t),o=i.length,a=i.findIndex(function(l){return n===l});return r<0?a===-1?a=o-1:a-=1:r>0&&(a+=1),a=(a+o)%o,i[a]}var nQ=function(t,n){var r=new Set,i=new Map,o=new Map;return t.forEach(function(a){var l=document.querySelector("[data-menu-id='".concat($De(n,a),"']"));l&&(r.add(l),o.set(l,a),i.set(a,l))}),{elements:r,key2element:i,element2key:o}};function c4t(e,t,n,r,i,o,a,l,s,u){var c=_.useRef(),f=_.useRef();f.current=t;var h=function(){rr.cancel(c.current)};return _.useEffect(function(){return function(){h()}},[]),function(d){var p=d.which;if([].concat(Zhe,[Ok,IDe,G6,K6]).includes(p)){var g=o(),m=nQ(g,r),v=m,y=v.elements,b=v.key2element,C=v.element2key,x=b.get(t),S=s4t(x,y),w=C.get(S),O=a4t(e,a(w,!0).length===1,n,p);if(!O&&p!==G6&&p!==K6)return;(Zhe.includes(p)||[G6,K6].includes(p))&&d.preventDefault();var $=function(D){if(D){var L=D,B=D.querySelector("a");B!=null&&B.getAttribute("href")&&(L=B);var k=C.get(D);l(k),h(),c.current=rr(function(){f.current===k&&L.focus()})}};if([G6,K6].includes(p)||O.sibling||!S){var P;!S||e==="inline"?P=i.current:P=l4t(S);var T,R=$re(P,y);p===G6?T=R[0]:p===K6?T=R[R.length-1]:T=Qhe(P,y,S,O.offset),$(T)}else if(O.inlineTrigger)s(w);else if(O.offset>0)s(w,!0),h(),c.current=rr(function(){m=nQ(g,r);var j=S.getAttribute("aria-controls"),D=document.getElementById(j),L=Qhe(D,m.elements);$(L)},5);else if(O.offset<0){var M=a(w,!0),A=M[M.length-2],N=b.get(A);s(A,!1),$(N)}}u==null||u(d)}}function u4t(e){Promise.resolve().then(e)}var Pre="__RC_UTIL_PATH_SPLIT__",Jhe=function(t){return t.join(Pre)},d4t=function(t){return t.split(Pre)},rQ="rc-menu-more";function f4t(){var e=_.useState({}),t=Me(e,2),n=t[1],r=_.useRef(new Map),i=_.useRef(new Map),o=_.useState([]),a=Me(o,2),l=a[0],s=a[1],u=_.useRef(0),c=_.useRef(!1),f=function(){c.current||n({})},h=_.useCallback(function(b,C){var x=Jhe(C);i.current.set(x,b),r.current.set(b,x),u.current+=1;var S=u.current;u4t(function(){S===u.current&&f()})},[]),d=_.useCallback(function(b,C){var x=Jhe(C);i.current.delete(x),r.current.delete(b)},[]),p=_.useCallback(function(b){s(b)},[]),g=_.useCallback(function(b,C){var x=r.current.get(b)||"",S=d4t(x);return C&&l.includes(S[0])&&S.unshift(rQ),S},[l]),m=_.useCallback(function(b,C){return b.some(function(x){var S=g(x,!0);return S.includes(C)})},[g]),v=function(){var C=vt(r.current.keys());return l.length&&C.push(rQ),C},y=_.useCallback(function(b){var C="".concat(r.current.get(b)).concat(Pre),x=new Set;return vt(i.current.keys()).forEach(function(S){S.startsWith(C)&&x.add(i.current.get(S))}),x},[]);return _.useEffect(function(){return function(){c.current=!0}},[]),{registerPath:h,unregisterPath:d,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:g,getKeys:v,getSubPathKeys:y}}function Z8(e){var t=_.useRef(e);t.current=e;var n=_.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a1&&(y.motionAppear=!1);var b=y.onVisibleChanged;return y.onVisibleChanged=function(C){return!h.current&&!C&&m(!0),b==null?void 0:b(C)},g?null:_.createElement(YE,{mode:o,locked:!h.current},_.createElement(aa,Qe({visible:v},y,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),function(C){var x=C.className,S=C.style;return _.createElement(Tre,{id:t,className:x,style:S},i)}))}var T4t=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],M4t=["active"],R4t=function(t){var n,r=t.style,i=t.className,o=t.title,a=t.eventKey;t.warnKey;var l=t.disabled,s=t.internalPopupClose,u=t.children,c=t.itemIcon,f=t.expandIcon,h=t.popupClassName,d=t.popupOffset,p=t.popupStyle,g=t.onClick,m=t.onMouseEnter,v=t.onMouseLeave,y=t.onTitleClick,b=t.onTitleMouseEnter,C=t.onTitleMouseLeave,x=an(t,T4t),S=PDe(a),w=_.useContext(Ed),O=w.prefixCls,$=w.mode,P=w.openKeys,T=w.disabled,R=w.overflowDisabled,M=w.activeKey,A=w.selectedKeys,N=w.itemIcon,j=w.expandIcon,D=w.onItemClick,L=w.onOpenChange,B=w.onActive,k=_.useContext(Ere),z=k._internalRenderSubMenuItem,q=_.useContext(RDe),W=q.isSubPathKey,U=zy(),K="".concat(O,"-submenu"),X=T||l,G=_.useRef(),Y=_.useRef(),J=c??N,ee=f??j,Q=P.includes(a),te=!R&&Q,ne=W(A,a),re=NDe(a,X,b,C),oe=re.active,se=an(re,M4t),ye=_.useState(!1),be=Me(ye,2),he=be[0],le=be[1],ve=function($e){X||le($e)},ke=function($e){ve(!0),m==null||m({key:a,domEvent:$e})},Ie=function($e){ve(!1),v==null||v({key:a,domEvent:$e})},Oe=_.useMemo(function(){return oe||($!=="inline"?he||W([M],a):!1)},[$,oe,M,he,a,W]),Pe=ADe(U.length),_e=function($e){X||(y==null||y({key:a,domEvent:$e}),$==="inline"&&L(a,!Q))},ce=Z8(function(Ee){g==null||g(tD(Ee)),D(Ee)}),Te=function($e){$!=="inline"&&L(a,$e)},Ne=function(){B(a)},je=S&&"".concat(S,"-popup"),He=_.createElement("div",Qe({role:"menuitem",style:Pe,className:"".concat(K,"-title"),tabIndex:X?null:-1,ref:G,title:typeof o=="string"?o:null,"data-menu-id":R&&S?null:S,"aria-expanded":te,"aria-haspopup":!0,"aria-controls":je,"aria-disabled":X,onClick:_e,onFocus:Ne},se),o,_.createElement(kDe,{icon:$!=="horizontal"?ee:void 0,props:fe(fe({},t),{},{isOpen:te,isSubMenu:!0})},_.createElement("i",{className:"".concat(K,"-arrow")}))),Be=_.useRef($);if($!=="inline"&&U.length>1?Be.current="vertical":Be.current=$,!R){var qe=Be.current;He=_.createElement($4t,{mode:qe,prefixCls:K,visible:!s&&te&&$!=="inline",popupClassName:h,popupOffset:d,popupStyle:p,popup:_.createElement(YE,{mode:qe==="horizontal"?"vertical":qe},_.createElement(Tre,{id:je,ref:Y},u)),disabled:X,onVisibleChange:Te},He)}var me=_.createElement(bd.Item,Qe({role:"none"},x,{component:"li",style:r,className:Re(K,"".concat(K,"-").concat($),i,(n={},ue(n,"".concat(K,"-open"),te),ue(n,"".concat(K,"-active"),Oe),ue(n,"".concat(K,"-selected"),ne),ue(n,"".concat(K,"-disabled"),X),n)),onMouseEnter:ke,onMouseLeave:Ie}),He,!R&&_.createElement(P4t,{id:je,open:te,keyPath:U},u));return z&&(me=z(me,t,{selected:ne,active:Oe,open:te,disabled:X})),_.createElement(YE,{onItemClick:ce,mode:$==="horizontal"?"vertical":$,itemIcon:J,expandIcon:ee},me)};function T$(e){var t=e.eventKey,n=e.children,r=zy(t),i=Mre(n,r),o=fB();_.useEffect(function(){if(o)return o.registerPath(t,r),function(){o.unregisterPath(t,r)}},[r]);var a;return o?a=i:a=_.createElement(R4t,e,i),_.createElement(MDe.Provider,{value:r},a)}var I4t=["className","title","eventKey","children"],N4t=["children"],A4t=function(t){var n=t.className,r=t.title;t.eventKey;var i=t.children,o=an(t,I4t),a=_.useContext(Ed),l=a.prefixCls,s="".concat(l,"-item-group");return _.createElement("li",Qe({role:"presentation"},o,{onClick:function(c){return c.stopPropagation()},className:Re(s,n)}),_.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:typeof r=="string"?r:void 0},r),_.createElement("ul",{role:"group",className:"".concat(s,"-list")},i))};function p4(e){var t=e.children,n=an(e,N4t),r=zy(n.eventKey),i=Mre(t,r),o=fB();return o?i:_.createElement(A4t,bi(n,["warnKey"]),i)}function pB(e){var t=e.className,n=e.style,r=_.useContext(Ed),i=r.prefixCls,o=fB();return o?null:_.createElement("li",{role:"separator",className:Re("".concat(i,"-item-divider"),t),style:n})}var k4t=["label","children","key","type"];function iQ(e){return(e||[]).map(function(t,n){if(t&&bn(t)==="object"){var r=t,i=r.label,o=r.children,a=r.key,l=r.type,s=an(r,k4t),u=a??"tmp-".concat(n);return o||l==="group"?l==="group"?_.createElement(p4,Qe({key:u},s,{title:i}),iQ(o)):_.createElement(T$,Qe({key:u},s,{title:i}),iQ(o)):l==="divider"?_.createElement(pB,Qe({key:u},s)):_.createElement(gh,Qe({key:u},s),i)}return null}).filter(function(t){return t})}function j4t(e,t,n){var r=e;return t&&(r=iQ(t)),Mre(r,n)}var D4t=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Kb=[],L4t=_.forwardRef(function(e,t){var n,r,i=e,o=i.prefixCls,a=o===void 0?"rc-menu":o,l=i.rootClassName,s=i.style,u=i.className,c=i.tabIndex,f=c===void 0?0:c,h=i.items,d=i.children,p=i.direction,g=i.id,m=i.mode,v=m===void 0?"vertical":m,y=i.inlineCollapsed,b=i.disabled,C=i.disabledOverflow,x=i.subMenuOpenDelay,S=x===void 0?.1:x,w=i.subMenuCloseDelay,O=w===void 0?.1:w,$=i.forceSubMenuRender,P=i.defaultOpenKeys,T=i.openKeys,R=i.activeKey,M=i.defaultActiveFirst,A=i.selectable,N=A===void 0?!0:A,j=i.multiple,D=j===void 0?!1:j,L=i.defaultSelectedKeys,B=i.selectedKeys,k=i.onSelect,z=i.onDeselect,q=i.inlineIndent,W=q===void 0?24:q,U=i.motion,K=i.defaultMotions,X=i.triggerSubMenuAction,G=X===void 0?"hover":X,Y=i.builtinPlacements,J=i.itemIcon,ee=i.expandIcon,Q=i.overflowedIndicator,te=Q===void 0?"...":Q,ne=i.overflowedIndicatorPopupClassName,re=i.getPopupContainer,oe=i.onClick,se=i.onOpenChange,ye=i.onKeyDown;i.openAnimation,i.openTransitionName;var be=i._internalRenderMenuItem,he=i._internalRenderSubMenuItem,le=an(i,D4t),ve=_.useMemo(function(){return j4t(d,h,Kb)},[d,h]),ke=_.useState(!1),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1],_e=_.useRef(),ce=h4t(g),Te=p==="rtl",Ne=zn(P,{value:T,postState:function(En){return En||Kb}}),je=Me(Ne,2),He=je[0],Be=je[1],qe=function(En){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function gn(){Be(En),se==null||se(En)}en?Ns.flushSync(gn):gn()},me=_.useState(He),Ee=Me(me,2),$e=Ee[0],Le=Ee[1],Fe=_.useRef(!1),Ke=_.useMemo(function(){return(v==="inline"||v==="vertical")&&y?["vertical",y]:[v,!1]},[v,y]),lt=Me(Ke,2),ft=lt[0],Ye=lt[1],we=ft==="inline",De=_.useState(ft),We=Me(De,2),Ge=We[0],Je=We[1],bt=_.useState(Ye),at=Me(bt,2),et=at[0],rt=at[1];_.useEffect(function(){Je(ft),rt(Ye),Fe.current&&(we?Be($e):qe(Kb))},[ft,Ye]);var Ze=_.useState(0),wt=Me(Ze,2),ut=wt[0],ot=wt[1],dt=ut>=ve.length-1||Ge!=="horizontal"||C;_.useEffect(function(){we&&Le(He)},[He]),_.useEffect(function(){return Fe.current=!0,function(){Fe.current=!1}},[]);var _t=f4t(),Ot=_t.registerPath,Ct=_t.unregisterPath,mt=_t.refreshOverflowKeys,It=_t.isSubPathKey,nt=_t.getKeyPath,yt=_t.getKeys,xt=_t.getSubPathKeys,At=_.useMemo(function(){return{registerPath:Ot,unregisterPath:Ct}},[Ot,Ct]),cn=_.useMemo(function(){return{isSubPathKey:It}},[It]);_.useEffect(function(){mt(dt?Kb:ve.slice(ut+1).map(function(On){return On.key}))},[ut,dt]);var Ht=zn(R||M&&((n=ve[0])===null||n===void 0?void 0:n.key),{value:R}),$t=Me(Ht,2),zt=$t[0],Qt=$t[1],Pt=Z8(function(On){Qt(On)}),ct=Z8(function(){Qt(void 0)});_.useImperativeHandle(t,function(){return{list:_e.current,focus:function(En){var en,gn=yt(),qn=nQ(gn,ce),yr=qn.elements,mn=qn.key2element,Zt=qn.element2key,nn=$re(_e.current,yr),Dn=zt??(nn[0]?Zt.get(nn[0]):(en=ve.find(function(qt){return!qt.props.disabled}))===null||en===void 0?void 0:en.key),Xn=mn.get(Dn);if(Dn&&Xn){var cr;Xn==null||(cr=Xn.focus)===null||cr===void 0||cr.call(Xn,En)}}}});var Wt=zn(L||[],{value:B,postState:function(En){return Array.isArray(En)?En:En==null?Kb:[En]}}),wn=Me(Wt,2),kt=wn[0],gt=wn[1],Bt=function(En){if(N){var en=En.key,gn=kt.includes(en),qn;D?gn?qn=kt.filter(function(mn){return mn!==en}):qn=[].concat(vt(kt),[en]):qn=[en],gt(qn);var yr=fe(fe({},En),{},{selectedKeys:qn});gn?z==null||z(yr):k==null||k(yr)}!D&&He.length&&Ge!=="inline"&&qe(Kb)},Nn=Z8(function(On){oe==null||oe(tD(On)),Bt(On)}),Or=Z8(function(On,En){var en=He.filter(function(qn){return qn!==On});if(En)en.push(On);else if(Ge!=="inline"){var gn=xt(On);en=en.filter(function(qn){return!gn.has(qn)})}Cc(He,en,!0)||qe(en,!0)}),Ar=function(En,en){var gn=en??!He.includes(En);Or(En,gn)},ei=c4t(Ge,zt,Te,ce,_e,yt,nt,Qt,Ar,ye);_.useEffect(function(){Pe(!0)},[]);var ar=_.useMemo(function(){return{_internalRenderMenuItem:be,_internalRenderSubMenuItem:he}},[be,he]),Sn=Ge!=="horizontal"||C?ve:ve.map(function(On,En){return _.createElement(YE,{key:On.key,overflowDisabled:En>ut},On)}),pi=_.createElement(bd,Qe({id:g,ref:_e,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:gh,className:Re(a,"".concat(a,"-root"),"".concat(a,"-").concat(Ge),u,(r={},ue(r,"".concat(a,"-inline-collapsed"),et),ue(r,"".concat(a,"-rtl"),Te),r),l),dir:p,style:s,role:"menu",tabIndex:f,data:Sn,renderRawItem:function(En){return En},renderRawRest:function(En){var en=En.length,gn=en?ve.slice(-en):null;return _.createElement(T$,{eventKey:rQ,title:te,disabled:dt,internalPopupClose:en===0,popupClassName:ne},gn)},maxCount:Ge!=="horizontal"||C?bd.INVALIDATE:bd.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(En){ot(En)},onKeyDown:ei},le));return _.createElement(Ere.Provider,{value:ar},_.createElement(EDe.Provider,{value:ce},_.createElement(YE,{prefixCls:a,rootClassName:l,mode:Ge,openKeys:He,rtl:Te,disabled:b,motion:Oe?U:null,defaultMotions:Oe?K:null,activeKey:zt,onActive:Pt,onInactive:ct,selectedKeys:kt,inlineIndent:W,subMenuOpenDelay:S,subMenuCloseDelay:O,forceSubMenuRender:$,builtinPlacements:Y,triggerSubMenuAction:G,getPopupContainer:re,itemIcon:J,expandIcon:ee,onItemClick:Nn,onOpenChange:Or},_.createElement(RDe.Provider,{value:cn},pi),_.createElement("div",{style:{display:"none"},"aria-hidden":!0},_.createElement(TDe.Provider,{value:At},ve)))))}),R0=L4t;R0.Item=gh;R0.SubMenu=T$;R0.ItemGroup=p4;R0.Divider=pB;const z4t=Object.freeze(Object.defineProperty({__proto__:null,Divider:pB,Item:gh,ItemGroup:p4,MenuItem:gh,MenuItemGroup:p4,SubMenu:T$,default:R0,useFullPath:zy},Symbol.toStringTag,{value:"Module"}));var B4t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const F4t=B4t;var H4t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:F4t}))};const oQ=_.forwardRef(H4t),DDe=_.createContext({});var W4t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const q4t=W4t;var V4t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:q4t}))};const Rre=_.forwardRef(V4t);var U4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,dashed:r}=e,i=U4t(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=_.useContext(on),a=o("menu",t),l=Re({[`${a}-item-divider-dashed`]:!!r},n);return _.createElement(pB,Object.assign({className:l},i))},LDe=G4t,K4t=_.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),nD=K4t,X4t=e=>{var t;const{className:n,children:r,icon:i,title:o,danger:a}=e,{prefixCls:l,firstLevel:s,direction:u,disableMenuItemTitleTooltip:c,inlineCollapsed:f}=_.useContext(nD),h=y=>{const b=_.createElement("span",{className:`${l}-title-content`},r);return(!i||Zl(r)&&r.type==="span")&&r&&y&&s&&typeof r=="string"?_.createElement("div",{className:`${l}-inline-collapsed-noicon`},r.charAt(0)):b},{siderCollapsed:d}=_.useContext(DDe);let p=o;typeof o>"u"?p=s?r:"":o===!1&&(p="");const g={title:p};!d&&!f&&(g.title=null,g.open=!1);const m=Wo(r).length;let v=_.createElement(gh,Object.assign({},bi(e,["title","icon","danger"]),{className:Re({[`${l}-item-danger`]:a,[`${l}-item-only-child`]:(i?m+1:m)===1},n),title:typeof o=="string"?o:void 0}),Mo(i,{className:Re(Zl(i)?(t=i.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),h(f));return c||(v=_.createElement(Ly,Object.assign({},g,{placement:u==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`}),v)),v},zDe=X4t,Y4t=e=>{var t;const{popupClassName:n,icon:r,title:i,theme:o}=e,a=_.useContext(nD),{prefixCls:l,inlineCollapsed:s,theme:u}=a,c=zy();let f;if(!r)f=s&&!c.length&&i&&typeof i=="string"?_.createElement("div",{className:`${l}-inline-collapsed-noicon`},i.charAt(0)):_.createElement("span",{className:`${l}-title-content`},i);else{const p=Zl(i)&&i.type==="span";f=_.createElement(_.Fragment,null,Mo(r,{className:Re(Zl(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),p?i:_.createElement("span",{className:`${l}-title-content`},i))}const h=_.useMemo(()=>Object.assign(Object.assign({},a),{firstLevel:!1}),[a]),[d]=Hf("Menu");return _.createElement(nD.Provider,{value:h},_.createElement(T$,Object.assign({},bi(e,["icon"]),{title:f,popupClassName:Re(l,n,`${l}-${o||u}`),popupStyle:{zIndex:d}})))},BDe=Y4t;var Z4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(t&&typeof t=="object"){const r=t,{label:i,children:o,key:a,type:l}=r,s=Z4t(r,["label","children","key","type"]),u=a??`tmp-${n}`;return o||l==="group"?l==="group"?_.createElement(p4,Object.assign({key:u},s,{title:i}),aQ(o)):_.createElement(BDe,Object.assign({key:u},s,{title:i}),aQ(o)):l==="divider"?_.createElement(LDe,Object.assign({key:u},s)):_.createElement(zDe,Object.assign({key:u},s),i)}return null}).filter(t=>t)}function Q4t(e){return _.useMemo(()=>e&&aQ(e),[e])}var J4t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{children:n}=e,r=J4t(e,["children"]),i=_.useContext(lQ),o=_.useMemo(()=>Object.assign(Object.assign({},i),r),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),a=uAe(n),l=Pd(t,a?n.ref:null);return _.createElement(lQ.Provider,{value:o},_.createElement(fh,null,a?_.cloneElement(n,{ref:l}):n))}),t1e=lQ,eCt=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:o,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${xe(o)} ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},tCt=eCt,nCt=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${xe(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${xe(n)})`}}}}},rCt=nCt,n1e=e=>Object.assign({},uh(e)),iCt=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:i,groupTitleColor:o,itemBg:a,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:u,activeBarWidth:c,activeBarBorderWidth:f,motionDurationSlow:h,motionEaseInOut:d,motionEaseOut:p,itemPaddingInline:g,motionDurationMid:m,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:C,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:w,dangerItemActiveBg:O,dangerItemSelectedBg:$,popupBg:P,itemHoverBg:T,itemActiveBg:R,menuSubMenuBg:M,horizontalItemSelectedColor:A,horizontalItemSelectedBg:N,horizontalItemBorderRadius:k,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},n1e(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:i}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},n1e(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:R}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:R}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:$}},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:P},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:P},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:k,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${xe(u)} solid transparent`,transition:`border-color ${h} ${d}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:u,borderBottomColor:A}},"&-selected":{color:A,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:u,borderBottomColor:A}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${xe(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${xe(c)} solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${m} ${p}`,`opacity ${m} ${p}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${m} ${d}`,`opacity ${m} ${d}`].join(",")}}}}}},r1e=iCt,i1e=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:a,itemMarginBlock:l,itemWidth:s}=e,u=e.calc(o).add(i).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:xe(n),paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:s},[`> ${t}-item, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${xe(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${xe(n)})`}}}}},rCt=nCt,n1e=e=>Object.assign({},uh(e)),iCt=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:i,groupTitleColor:o,itemBg:a,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:u,activeBarWidth:c,activeBarBorderWidth:f,motionDurationSlow:h,motionEaseInOut:d,motionEaseOut:p,itemPaddingInline:g,motionDurationMid:m,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:C,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:w,dangerItemActiveBg:O,dangerItemSelectedBg:$,popupBg:P,itemHoverBg:T,itemActiveBg:R,menuSubMenuBg:M,horizontalItemSelectedColor:A,horizontalItemSelectedBg:N,horizontalItemBorderRadius:j,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},n1e(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:i}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},n1e(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:R}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:R}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:$}},[`&${n}-submenu > ${n}`]:{backgroundColor:M},[`&${n}-popup > ${n}`]:{backgroundColor:P},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:P},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:j,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${xe(u)} solid transparent`,transition:`border-color ${h} ${d}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:u,borderBottomColor:A}},"&-selected":{color:A,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:u,borderBottomColor:A}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${xe(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${xe(c)} solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${m} ${p}`,`opacity ${m} ${p}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${m} ${d}`,`opacity ${m} ${d}`].join(",")}}}}}},r1e=iCt,i1e=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:a,itemMarginBlock:l,itemWidth:s}=e,u=e.calc(o).add(i).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:xe(n),paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:s},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:xe(n)},[`${t}-item-group-list ${t}-submenu-title, ${t}-submenu-title`]:{paddingInlineEnd:u}}},oCt=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:i,dropdownWidth:o,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:u,itemMarginInline:c,fontSizeLG:f,motionDurationSlow:h,paddingXS:d,boxShadowSecondary:p,collapsedWidth:g,collapsedIconSize:m}=e,v={height:r,lineHeight:xe(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},i1e(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},i1e(e)),{boxShadow:p})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${xe(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${h}`,`background ${h}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, @@ -274,25 +274,25 @@ html body { ${t}-submenu-arrow, ${t}-submenu-expand-icon `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:m,lineHeight:xe(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:Object.assign(Object.assign({},xc),{paddingInline:d})}}]},aCt=oCt,o1e=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:o,iconCls:a,iconSize:l,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${i}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${r} ${o}`,`margin ${n} ${i}`,`color ${n}`].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:[`opacity ${n} ${i}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},sC()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},a1e=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:o,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(o).mul(.6).equal(),height:e.calc(o).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:i,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${xe(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${xe(a)})`}}}}},lCt=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:o,motionEaseInOut:a,paddingXS:l,padding:s,colorSplit:u,lineWidth:c,zIndexPopup:f,borderRadiusLG:h,subMenuItemBorderRadius:d,menuArrowSize:p,menuArrowOffset:g,lineType:m,groupTitleLineHeight:v,groupTitleFontSize:y}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},Od()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),Od()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${xe(l)} ${xe(s)}`,fontSize:y,lineHeight:v,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i} ${a}`,`background ${i} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${i} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${i}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:m,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),o1e(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${xe(e.calc(r).mul(2).equal())} ${xe(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:h,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:h},o1e(e)),a1e(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:d},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${a}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),a1e(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${xe(g)})`},"&::after":{transform:`rotate(45deg) translateX(${xe(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${xe(e.calc(p).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${xe(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${xe(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},sCt=e=>{var t,n,r;const{colorPrimary:i,colorError:o,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:c,colorFillAlter:f,colorFillContent:h,lineWidth:d,lineWidthBold:p,controlItemBgActive:g,colorBgTextHover:m,controlHeightLG:v,lineHeight:y,colorBgElevated:b,marginXXS:C,padding:x,fontSize:S,controlHeightSM:w,fontSizeLG:O,colorTextLightSolid:$,colorErrorHover:P}=e,T=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,R=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:d,M=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,A=new Gn($).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:i,horizontalItemHoverColor:i,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:i,itemSelectedColor:i,colorItemTextSelectedHorizontal:i,horizontalItemSelectedColor:i,colorItemBg:c,itemBg:c,colorItemBgHover:m,itemHoverBg:m,colorItemBgActive:h,itemActiveBg:g,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:T,colorActiveBarHeight:p,activeBarHeight:p,colorActiveBarBorderSize:d,activeBarBorderWidth:R,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:M,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:y,collapsedWidth:v*2,popupBg:b,itemMarginBlock:C,itemPaddingInline:x,horizontalLineHeight:`${v*1.15}px`,iconSize:S,iconMarginInlineEnd:w-S,collapsedIconSize:O,groupTitleFontSize:S,darkItemDisabledColor:new Gn($).setAlpha(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$,darkItemSelectedBg:i,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:$,darkDangerItemHoverColor:P,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:o,itemWidth:T?`calc(100% + ${R}px)`:`calc(100% - ${M*2}px)`}},cCt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return vr("Menu",i=>{const{colorBgElevated:o,colorPrimary:a,colorTextLightSolid:l,controlHeightLG:s,fontSize:u,darkItemColor:c,darkDangerItemColor:f,darkItemBg:h,darkSubMenuItemBg:d,darkItemSelectedColor:p,darkItemSelectedBg:g,darkDangerItemSelectedBg:m,darkItemHoverBg:v,darkGroupTitleColor:y,darkItemHoverColor:b,darkItemDisabledColor:C,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:w,popupBg:O,darkPopupBg:$}=i,P=i.calc(u).div(7).mul(5).equal(),T=Wn(i,{menuArrowSize:P,menuHorizontalHeight:i.calc(s).mul(1.15).equal(),menuArrowOffset:i.calc(P).mul(.25).equal(),menuSubMenuBg:o,calc:i.calc,popupBg:O}),R=Wn(T,{itemColor:c,itemHoverColor:b,groupTitleColor:y,itemSelectedColor:p,itemBg:h,popupBg:$,subMenuItemBg:d,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:v,itemDisabledColor:C,dangerItemColor:f,dangerItemHoverColor:x,dangerItemSelectedColor:S,dangerItemActiveBg:w,dangerItemSelectedBg:m,menuSubMenuBg:d,horizontalItemSelectedColor:l,horizontalItemSelectedBg:a});return[lCt(T),tCt(T),aCt(T),r1e(T,"light"),r1e(R,"dark"),rCt(T),O$(T),kf(T,"slide-up"),kf(T,"slide-down"),dC(T,"zoom-big")]},sCt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)};var uCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=_.useContext(t1e),o=i||{},{getPrefixCls:a,getPopupContainer:l,direction:s,menu:u}=_.useContext(on),c=a(),{prefixCls:f,className:h,style:d,theme:p="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:v,siderCollapsed:y,items:b,children:C,rootClassName:x,mode:S,selectable:w,onClick:O,overflowedIndicatorPopupClassName:$}=e,P=uCt(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),T=bi(P,["collapsedWidth"]),R=Q4t(b)||C;(n=o.validator)===null||n===void 0||n.call(o,{mode:S});const M=ir(function(){var X;O==null||O.apply(void 0,arguments),(X=o.onClick)===null||X===void 0||X.call(o)}),A=o.mode||S,N=w??o.selectable,k=_.useMemo(()=>y!==void 0?y:v,[v,y]),D={horizontal:{motionName:`${c}-slide-up`},inline:l4(c),other:{motionName:`${c}-zoom-big`}},L=a("menu",f||o.prefixCls),B=di(L),[j,z,V]=cCt(L,B,!i),W=Re(`${L}-${p}`,u==null?void 0:u.className,h);let U;if(typeof g=="function")U=g;else if(g===null||g===!1)U=null;else if(o.expandIcon===null||o.expandIcon===!1)U=null;else{const X=g??o.expandIcon;U=Mo(X,{className:Re(`${L}-submenu-expand-icon`,Zl(X)?(r=X.props)===null||r===void 0?void 0:r.className:"")})}const K=_.useMemo(()=>({prefixCls:L,inlineCollapsed:k||!1,direction:s,firstLevel:!0,theme:p,mode:A,disableMenuItemTitleTooltip:m}),[L,k,s,m,p]);return j(_.createElement(t1e.Provider,{value:null},_.createElement(tD.Provider,{value:K},_.createElement(R0,Object.assign({getPopupContainer:l,overflowedIndicator:_.createElement(Tre,null),overflowedIndicatorPopupClassName:Re(L,`${L}-${p}`,$),mode:A,selectable:N,onClick:M},T,{inlineCollapsed:k,style:Object.assign(Object.assign({},u==null?void 0:u.style),d),className:W,prefixCls:L,direction:s,defaultMotions:D,expandIcon:U,ref:t,rootClassName:Re(x,z,o.rootClassName,V,B)}),R))))}),fCt=dCt,T$=_.forwardRef((e,t)=>{const n=_.useRef(null),r=_.useContext(DDe);return _.useImperativeHandle(t,()=>({menu:n.current,focus:i=>{var o;(o=n.current)===null||o===void 0||o.focus(i)}})),_.createElement(fCt,Object.assign({ref:n},e,r))});T$.Item=zDe;T$.SubMenu=BDe;T$.Divider=LDe;T$.ItemGroup=p4;const Mre=T$,pCt=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},hCt=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:o,antCls:a,iconCls:l,motionDurationMid:s,paddingBlock:u,fontSize:c,dropdownEdgeChildPadding:f,colorTextDisabled:h,fontSizeIcon:d,controlPaddingHorizontal:p,colorBgElevated:g}=e;return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(o).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:d}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:d},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${xe(g)})`},"&::after":{transform:`rotate(45deg) translateX(${xe(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${xe(e.calc(p).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${xe(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${xe(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},sCt=e=>{var t,n,r;const{colorPrimary:i,colorError:o,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:u,colorBgContainer:c,colorFillAlter:f,colorFillContent:h,lineWidth:d,lineWidthBold:p,controlItemBgActive:g,colorBgTextHover:m,controlHeightLG:v,lineHeight:y,colorBgElevated:b,marginXXS:C,padding:x,fontSize:S,controlHeightSM:w,fontSizeLG:O,colorTextLightSolid:$,colorErrorHover:P}=e,T=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,R=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:d,M=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,A=new Gn($).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:i,horizontalItemHoverColor:i,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:i,itemSelectedColor:i,colorItemTextSelectedHorizontal:i,horizontalItemSelectedColor:i,colorItemBg:c,itemBg:c,colorItemBgHover:m,itemHoverBg:m,colorItemBgActive:h,itemActiveBg:g,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:T,colorActiveBarHeight:p,activeBarHeight:p,colorActiveBarBorderSize:d,activeBarBorderWidth:R,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:M,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:y,collapsedWidth:v*2,popupBg:b,itemMarginBlock:C,itemPaddingInline:x,horizontalLineHeight:`${v*1.15}px`,iconSize:S,iconMarginInlineEnd:w-S,collapsedIconSize:O,groupTitleFontSize:S,darkItemDisabledColor:new Gn($).setAlpha(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$,darkItemSelectedBg:i,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:$,darkDangerItemHoverColor:P,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:o,itemWidth:T?`calc(100% + ${R}px)`:`calc(100% - ${M*2}px)`}},cCt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return vr("Menu",i=>{const{colorBgElevated:o,colorPrimary:a,colorTextLightSolid:l,controlHeightLG:s,fontSize:u,darkItemColor:c,darkDangerItemColor:f,darkItemBg:h,darkSubMenuItemBg:d,darkItemSelectedColor:p,darkItemSelectedBg:g,darkDangerItemSelectedBg:m,darkItemHoverBg:v,darkGroupTitleColor:y,darkItemHoverColor:b,darkItemDisabledColor:C,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:w,popupBg:O,darkPopupBg:$}=i,P=i.calc(u).div(7).mul(5).equal(),T=Wn(i,{menuArrowSize:P,menuHorizontalHeight:i.calc(s).mul(1.15).equal(),menuArrowOffset:i.calc(P).mul(.25).equal(),menuSubMenuBg:o,calc:i.calc,popupBg:O}),R=Wn(T,{itemColor:c,itemHoverColor:b,groupTitleColor:y,itemSelectedColor:p,itemBg:h,popupBg:$,subMenuItemBg:d,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:v,itemDisabledColor:C,dangerItemColor:f,dangerItemHoverColor:x,dangerItemSelectedColor:S,dangerItemActiveBg:w,dangerItemSelectedBg:m,menuSubMenuBg:d,horizontalItemSelectedColor:l,horizontalItemSelectedBg:a});return[lCt(T),tCt(T),aCt(T),r1e(T,"light"),r1e(R,"dark"),rCt(T),E$(T),kf(T,"slide-up"),kf(T,"slide-down"),dC(T,"zoom-big")]},sCt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)};var uCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=_.useContext(t1e),o=i||{},{getPrefixCls:a,getPopupContainer:l,direction:s,menu:u}=_.useContext(on),c=a(),{prefixCls:f,className:h,style:d,theme:p="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:v,siderCollapsed:y,items:b,children:C,rootClassName:x,mode:S,selectable:w,onClick:O,overflowedIndicatorPopupClassName:$}=e,P=uCt(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),T=bi(P,["collapsedWidth"]),R=Q4t(b)||C;(n=o.validator)===null||n===void 0||n.call(o,{mode:S});const M=ir(function(){var X;O==null||O.apply(void 0,arguments),(X=o.onClick)===null||X===void 0||X.call(o)}),A=o.mode||S,N=w??o.selectable,j=_.useMemo(()=>y!==void 0?y:v,[v,y]),D={horizontal:{motionName:`${c}-slide-up`},inline:l4(c),other:{motionName:`${c}-zoom-big`}},L=a("menu",f||o.prefixCls),B=di(L),[k,z,q]=cCt(L,B,!i),W=Re(`${L}-${p}`,u==null?void 0:u.className,h);let U;if(typeof g=="function")U=g;else if(g===null||g===!1)U=null;else if(o.expandIcon===null||o.expandIcon===!1)U=null;else{const X=g??o.expandIcon;U=Mo(X,{className:Re(`${L}-submenu-expand-icon`,Zl(X)?(r=X.props)===null||r===void 0?void 0:r.className:"")})}const K=_.useMemo(()=>({prefixCls:L,inlineCollapsed:j||!1,direction:s,firstLevel:!0,theme:p,mode:A,disableMenuItemTitleTooltip:m}),[L,j,s,m,p]);return k(_.createElement(t1e.Provider,{value:null},_.createElement(nD.Provider,{value:K},_.createElement(R0,Object.assign({getPopupContainer:l,overflowedIndicator:_.createElement(Rre,null),overflowedIndicatorPopupClassName:Re(L,`${L}-${p}`,$),mode:A,selectable:N,onClick:M},T,{inlineCollapsed:j,style:Object.assign(Object.assign({},u==null?void 0:u.style),d),className:W,prefixCls:L,direction:s,defaultMotions:D,expandIcon:U,ref:t,rootClassName:Re(x,z,o.rootClassName,q,B)}),R))))}),fCt=dCt,M$=_.forwardRef((e,t)=>{const n=_.useRef(null),r=_.useContext(DDe);return _.useImperativeHandle(t,()=>({menu:n.current,focus:i=>{var o;(o=n.current)===null||o===void 0||o.focus(i)}})),_.createElement(fCt,Object.assign({ref:n},e,r))});M$.Item=zDe;M$.SubMenu=BDe;M$.Divider=LDe;M$.ItemGroup=p4;const Ire=M$,pCt=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},hCt=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:o,antCls:a,iconCls:l,motionDurationMid:s,paddingBlock:u,fontSize:c,dropdownEdgeChildPadding:f,colorTextDisabled:h,fontSizeIcon:d,controlPaddingHorizontal:p,colorBgElevated:g}=e;return[{[t]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(o).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:d}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:d},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft, &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft, &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom, &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom, &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight, - &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Uz},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft, + &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Gz},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft, &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft, &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top, &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top, &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight, - &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Kz},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft, + &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Xz},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft, &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom, - &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Gz},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft, + &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Kz},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft, &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top, - &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Xz}})},Sre(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},dh(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${xe(u)} ${xe(p)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${xe(u)} ${xe(p)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},dh(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:d,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${xe(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(p).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down"),dC(e,"zoom-big")]]},gCt=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},uB({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),cB(e)),mCt=vr("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,o=Wn(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[hCt(o),pCt(o)]},gCt),Rre=e=>{const{menu:t,arrow:n,prefixCls:r,children:i,trigger:o,disabled:a,dropdownRender:l,getPopupContainer:s,overlayClassName:u,rootClassName:c,overlayStyle:f,open:h,onOpenChange:d,visible:p,onVisibleChange:g,mouseEnterDelay:m=.15,mouseLeaveDelay:v=.1,autoAdjustOverflow:y=!0,placement:b="",overlay:C,transitionName:x}=e,{getPopupContainer:S,getPrefixCls:w,direction:O,dropdown:$}=_.useContext(on);Mh();const P=_.useMemo(()=>{const te=w();return x!==void 0?x:b.includes("top")?`${te}-slide-down`:`${te}-slide-up`},[w,b,x]),T=_.useMemo(()=>b?b.includes("Center")?b.slice(0,b.indexOf("Center")):b:O==="rtl"?"bottomRight":"bottomLeft",[b,O]),R=w("dropdown",r),M=di(R),[A,N,k]=mCt(R,M),[,D]=To(),L=_.Children.only(i),B=Mo(L,{className:Re(`${R}-trigger`,{[`${R}-rtl`]:O==="rtl"},L.props.className),disabled:a}),j=a?[]:o;let z;j&&j.includes("contextMenu")&&(z=!0);const[V,W]=zn(!1,{value:h??p}),U=ir(te=>{d==null||d(te,{source:"trigger"}),g==null||g(te),W(te)}),K=Re(u,c,N,k,M,$==null?void 0:$.className,{[`${R}-rtl`]:O==="rtl"}),X=mDe({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:y,offset:D.marginXXS,arrowWidth:n?D.sizePopupArrow:0,borderRadius:D.borderRadius}),G=_.useCallback(()=>{t!=null&&t.selectable&&(t!=null&&t.multiple)||(d==null||d(!1,{source:"menu"}),W(!1))},[t==null?void 0:t.selectable,t==null?void 0:t.multiple]),Y=()=>{let te;return t!=null&&t.items?te=_.createElement(Mre,Object.assign({},t)):typeof C=="function"?te=C():te=C,l&&(te=l(te)),te=_.Children.only(typeof te=="string"?_.createElement("span",null,te):te),_.createElement(FDe,{prefixCls:`${R}-menu`,rootClassName:Re(k,M),expandIcon:_.createElement("span",{className:`${R}-menu-submenu-arrow`},_.createElement(KE,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:G,validator:ne=>{}},te)},[J,ee]=Hf("Dropdown",f==null?void 0:f.zIndex);let Q=_.createElement(_re,Object.assign({alignPoint:z},bi(e,["rootClassName"]),{mouseEnterDelay:m,mouseLeaveDelay:v,visible:V,builtinPlacements:X,arrow:!!n,overlayClassName:K,prefixCls:R,getPopupContainer:s||S,transitionName:P,trigger:j,overlay:Y,placement:T,onVisibleChange:U,overlayStyle:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),f),{zIndex:J})}),B);return J&&(Q=_.createElement(jz.Provider,{value:ee},Q)),A(Q)};function vCt(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const yCt=fC(Rre,"dropdown",e=>e,vCt),bCt=e=>_.createElement(yCt,Object.assign({},e),_.createElement("span",null));Rre._InternalPanelDoNotUseOrYouWillBeFired=bCt;const Ire=Rre,HDe=e=>{let{children:t}=e;const{getPrefixCls:n}=_.useContext(on),r=n("breadcrumb");return _.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};HDe.__ANT_BREADCRUMB_SEPARATOR=!0;const Nre=HDe;var CCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[i]||r)}function WDe(e,t,n,r){if(n==null)return null;const{className:i,onClick:o}=t,a=CCt(t,["className","onClick"]),l=Object.assign(Object.assign({},qo(a,{data:!0,aria:!0})),{onClick:o});return r!==void 0?_.createElement("a",Object.assign({},l,{className:Re(`${e}-link`,i),href:r}),n):_.createElement("span",Object.assign({},l,{className:Re(`${e}-link`,i)}),n)}function xCt(e,t){return(r,i,o,a,l)=>{if(t)return t(r,i,o,a);const s=SCt(r,i);return WDe(e,r,s,l)}}var lQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,separator:n="/",children:r,menu:i,overlay:o,dropdownProps:a,href:l}=e,u=(c=>{if(i||o){const f=Object.assign({},a);if(i){const h=i||{},{items:d}=h,p=lQ(h,["items"]);f.menu=Object.assign(Object.assign({},p),{items:d==null?void 0:d.map((g,m)=>{var{key:v,title:y,label:b,path:C}=g,x=lQ(g,["key","title","label","path"]);let S=b??y;return C&&(S=_.createElement("a",{href:`${l}${C}`},S)),Object.assign(Object.assign({},x),{key:v??m,label:S})})})}else o&&(f.overlay=o);return _.createElement(Ire,Object.assign({placement:"bottom"},f),_.createElement("span",{className:`${t}-overlay-link`},c,_.createElement(oB,null)))}return c})(r);return u!=null?_.createElement(_.Fragment,null,_.createElement("li",null,u),n&&_.createElement(Nre,null,n)):null},VDe=e=>{const{prefixCls:t,children:n,href:r}=e,i=lQ(e,["prefixCls","children","href"]),{getPrefixCls:o}=_.useContext(on),a=o("breadcrumb",t);return _.createElement(qDe,Object.assign({},i,{prefixCls:a}),WDe(a,i,n,r))};VDe.__ANT_BREADCRUMB_ITEM=!0;const _Ct=VDe,wCt=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${xe(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},dh(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Yz}})},_re(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},dh(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${xe(u)} ${xe(p)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${xe(u)} ${xe(p)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},dh(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:d,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${xe(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(p).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down"),dC(e,"zoom-big")]]},gCt=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},dB({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),uB(e)),mCt=vr("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,o=Wn(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[hCt(o),pCt(o)]},gCt),Nre=e=>{const{menu:t,arrow:n,prefixCls:r,children:i,trigger:o,disabled:a,dropdownRender:l,getPopupContainer:s,overlayClassName:u,rootClassName:c,overlayStyle:f,open:h,onOpenChange:d,visible:p,onVisibleChange:g,mouseEnterDelay:m=.15,mouseLeaveDelay:v=.1,autoAdjustOverflow:y=!0,placement:b="",overlay:C,transitionName:x}=e,{getPopupContainer:S,getPrefixCls:w,direction:O,dropdown:$}=_.useContext(on);Mh();const P=_.useMemo(()=>{const te=w();return x!==void 0?x:b.includes("top")?`${te}-slide-down`:`${te}-slide-up`},[w,b,x]),T=_.useMemo(()=>b?b.includes("Center")?b.slice(0,b.indexOf("Center")):b:O==="rtl"?"bottomRight":"bottomLeft",[b,O]),R=w("dropdown",r),M=di(R),[A,N,j]=mCt(R,M),[,D]=To(),L=_.Children.only(i),B=Mo(L,{className:Re(`${R}-trigger`,{[`${R}-rtl`]:O==="rtl"},L.props.className),disabled:a}),k=a?[]:o;let z;k&&k.includes("contextMenu")&&(z=!0);const[q,W]=zn(!1,{value:h??p}),U=ir(te=>{d==null||d(te,{source:"trigger"}),g==null||g(te),W(te)}),K=Re(u,c,N,j,M,$==null?void 0:$.className,{[`${R}-rtl`]:O==="rtl"}),X=mDe({arrowPointAtCenter:typeof n=="object"&&n.pointAtCenter,autoAdjustOverflow:y,offset:D.marginXXS,arrowWidth:n?D.sizePopupArrow:0,borderRadius:D.borderRadius}),G=_.useCallback(()=>{t!=null&&t.selectable&&(t!=null&&t.multiple)||(d==null||d(!1,{source:"menu"}),W(!1))},[t==null?void 0:t.selectable,t==null?void 0:t.multiple]),Y=()=>{let te;return t!=null&&t.items?te=_.createElement(Ire,Object.assign({},t)):typeof C=="function"?te=C():te=C,l&&(te=l(te)),te=_.Children.only(typeof te=="string"?_.createElement("span",null,te):te),_.createElement(FDe,{prefixCls:`${R}-menu`,rootClassName:Re(j,M),expandIcon:_.createElement("span",{className:`${R}-menu-submenu-arrow`},_.createElement(XE,{className:`${R}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:G,validator:ne=>{}},te)},[J,ee]=Hf("Dropdown",f==null?void 0:f.zIndex);let Q=_.createElement(Ore,Object.assign({alignPoint:z},bi(e,["rootClassName"]),{mouseEnterDelay:m,mouseLeaveDelay:v,visible:q,builtinPlacements:X,arrow:!!n,overlayClassName:K,prefixCls:R,getPopupContainer:s||S,transitionName:P,trigger:k,overlay:Y,placement:T,onVisibleChange:U,overlayStyle:Object.assign(Object.assign(Object.assign({},$==null?void 0:$.style),f),{zIndex:J})}),B);return J&&(Q=_.createElement(Dz.Provider,{value:ee},Q)),A(Q)};function vCt(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const yCt=fC(Nre,"dropdown",e=>e,vCt),bCt=e=>_.createElement(yCt,Object.assign({},e),_.createElement("span",null));Nre._InternalPanelDoNotUseOrYouWillBeFired=bCt;const Are=Nre,HDe=e=>{let{children:t}=e;const{getPrefixCls:n}=_.useContext(on),r=n("breadcrumb");return _.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};HDe.__ANT_BREADCRUMB_SEPARATOR=!0;const kre=HDe;var CCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[i]||r)}function WDe(e,t,n,r){if(n==null)return null;const{className:i,onClick:o}=t,a=CCt(t,["className","onClick"]),l=Object.assign(Object.assign({},qo(a,{data:!0,aria:!0})),{onClick:o});return r!==void 0?_.createElement("a",Object.assign({},l,{className:Re(`${e}-link`,i),href:r}),n):_.createElement("span",Object.assign({},l,{className:Re(`${e}-link`,i)}),n)}function xCt(e,t){return(r,i,o,a,l)=>{if(t)return t(r,i,o,a);const s=SCt(r,i);return WDe(e,r,s,l)}}var sQ=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,separator:n="/",children:r,menu:i,overlay:o,dropdownProps:a,href:l}=e,u=(c=>{if(i||o){const f=Object.assign({},a);if(i){const h=i||{},{items:d}=h,p=sQ(h,["items"]);f.menu=Object.assign(Object.assign({},p),{items:d==null?void 0:d.map((g,m)=>{var{key:v,title:y,label:b,path:C}=g,x=sQ(g,["key","title","label","path"]);let S=b??y;return C&&(S=_.createElement("a",{href:`${l}${C}`},S)),Object.assign(Object.assign({},x),{key:v??m,label:S})})})}else o&&(f.overlay=o);return _.createElement(Are,Object.assign({placement:"bottom"},f),_.createElement("span",{className:`${t}-overlay-link`},c,_.createElement(aB,null)))}return c})(r);return u!=null?_.createElement(_.Fragment,null,_.createElement("li",null,u),n&&_.createElement(kre,null,n)):null},VDe=e=>{const{prefixCls:t,children:n,href:r}=e,i=sQ(e,["prefixCls","children","href"]),{getPrefixCls:o}=_.useContext(on),a=o("breadcrumb",t);return _.createElement(qDe,Object.assign({},i,{prefixCls:a}),WDe(a,i,n,r))};VDe.__ANT_BREADCRUMB_ITEM=!0;const _Ct=VDe,wCt=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${xe(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},dh(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${xe(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},OCt=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),ECt=vr("Breadcrumb",e=>{const t=Wn(e,{});return wCt(t)},OCt);var l1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{breadcrumbName:a}=o,l=l1e(o,["breadcrumbName"]);return Object.assign(Object.assign({},l),{title:a})})}),i}function PCt(e,t){return _.useMemo(()=>e||(t?t.map($Ct):null),[e,t])}var TCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},Are=e=>{const{prefixCls:t,separator:n="/",style:r,className:i,rootClassName:o,routes:a,items:l,children:s,itemRender:u,params:c={}}=e,f=TCt(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:h,direction:d,breadcrumb:p}=_.useContext(on);let g;const m=h("breadcrumb",t),[v,y,b]=ECt(m),C=PCt(l,a),x=xCt(m,u);if(C&&C.length>0){const O=[],$=l||a;g=C.map((P,T)=>{const{path:R,key:M,type:A,menu:N,overlay:k,onClick:D,className:L,separator:B,dropdownProps:j}=P,z=MCt(c,R);z!==void 0&&O.push(z);const V=M??T;if(A==="separator")return _.createElement(Nre,{key:V},B);const W={},U=T===C.length-1;N?W.menu=N:k&&(W.overlay=k);let{href:K}=P;return O.length&&z!==void 0&&(K=`#/${O.join("/")}`),_.createElement(qDe,Object.assign({key:V},W,qo(P,{data:!0,aria:!0}),{className:L,dropdownProps:j,href:K,separator:U?"":n,onClick:D,prefixCls:m}),x(P,c,$,O,K))})}else if(s){const O=Wo(s).length;g=Wo(s).map(($,P)=>{if(!$)return $;const T=P===O-1;return Mo($,{separator:T?"":n,key:P})})}const S=Re(m,p==null?void 0:p.className,{[`${m}-rtl`]:d==="rtl"},i,o,y,b),w=Object.assign(Object.assign({},p==null?void 0:p.style),r);return v(_.createElement("nav",Object.assign({className:S,style:w},f),_.createElement("ol",null,g)))};Are.Item=_Ct;Are.Separator=Nre;const sM=Are;var UDe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(go,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",l="minute",s="hour",u="day",c="week",f="month",h="quarter",d="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var N=["th","st","nd","rd"],k=A%100;return"["+A+(N[(k-20)%10]||N[k]||N[0])+"]"}},b=function(A,N,k){var D=String(A);return!D||D.length>=N?A:""+Array(N+1-D.length).join(k)+A},C={s:b,z:function(A){var N=-A.utcOffset(),k=Math.abs(N),D=Math.floor(k/60),L=k%60;return(N<=0?"+":"-")+b(D,2,"0")+":"+b(L,2,"0")},m:function A(N,k){if(N.date()1)return A(j[0])}else{var z=N.name;S[z]=N,L=z}return!D&&L&&(x=L),L||!D&&x},P=function(A,N){if(O(A))return A.clone();var k=typeof N=="object"?N:{};return k.date=A,k.args=arguments,new R(k)},T=C;T.l=$,T.i=O,T.w=function(A,N){return P(A,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var R=function(){function A(k){this.$L=$(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[w]=!0}var N=A.prototype;return N.parse=function(k){this.$d=function(D){var L=D.date,B=D.utc;if(L===null)return new Date(NaN);if(T.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var j=L.match(m);if(j){var z=j[2]-1||0,V=(j[7]||"0").substring(0,3);return B?new Date(Date.UTC(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,V)):new Date(j[1],z,j[3]||1,j[4]||0,j[5]||0,j[6]||0,V)}}return new Date(L)}(k),this.init()},N.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},N.$utils=function(){return T},N.isValid=function(){return this.$d.toString()!==g},N.isSame=function(k,D){var L=P(k);return this.startOf(D)<=L&&L<=this.endOf(D)},N.isAfter=function(k,D){return P(k)25){var c=a(this).startOf(r).add(1,r).date(u),f=a(this).endOf(n);if(c.isBefore(f))return 1}var h=a(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),d=this.diff(h,n,!0);return d<0?a(this).startOf("week").week():Math.ceil(d)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})}(tV)),tV.exports}var kCt=XDe();const jCt=bo(kCt);var nV={exports:{}},d1e;function YDe(){return d1e||(d1e=1,function(e,t){(function(n,r){e.exports=r()})(go,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})}(nV)),nV.exports}var DCt=YDe();const LCt=bo(DCt);var rV={exports:{}},f1e;function ZDe(){return f1e||(f1e=1,function(e,t){(function(n,r){e.exports=r()})(go,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(a){var l=this,s=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),c=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return o.bind(this)(c)}}})}(rV)),rV.exports}var zCt=ZDe();const BCt=bo(zCt);var iV={exports:{}},p1e;function QDe(){return p1e||(p1e=1,function(e,t){(function(n,r){e.exports=r()})(go,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,l={},s=function(g){return(g=+g)+(g>68?1900:2e3)},u=function(g){return function(m){this[g]=+m}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var v=m.match(/([+-]|\d\d)/g),y=60*v[1]+(+v[2]||0);return y===0?0:v[0]==="+"?-y:y}(g)}],f=function(g){var m=l[g];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(g,m){var v,y=l.meridiem;if(y){for(var b=1;b<=24;b+=1)if(g.indexOf(y(b,0,m))>-1){v=b>12;break}}else v=g===(m?"pm":"PM");return v},d={A:[a,function(g){this.afternoon=h(g,!1)}],a:[a,function(g){this.afternoon=h(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[i,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[i,u("day")],Do:[a,function(g){var m=l.ordinal,v=g.match(/\d+/);if(this.day=v[0],m)for(var y=1;y<=31;y+=1)m(y).replace(/\[|\]/g,"")===g&&(this.day=y)}],M:[o,u("month")],MM:[i,u("month")],MMM:[a,function(g){var m=f("months"),v=(f("monthsShort")||m.map(function(y){return y.slice(0,3)})).indexOf(g)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[a,function(g){var m=f("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(g){this.year=s(g)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function p(g){var m,v;m=g,v=l&&l.formats;for(var y=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,P,T){var R=T&&T.toUpperCase();return P||v[T]||n[T]||v[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,A,N){return A||N.slice(1)})})).match(r),b=y.length,C=0;C-1)return new Date((D==="X"?1e3:1)*k);var B=p(D)(k),j=B.year,z=B.month,V=B.day,W=B.hours,U=B.minutes,K=B.seconds,X=B.milliseconds,G=B.zone,Y=new Date,J=V||(j||z?1:Y.getDate()),ee=j||Y.getFullYear(),Q=0;j&&!z||(Q=z>0?z-1:Y.getMonth());var te=W||0,ne=U||0,re=K||0,oe=X||0;return G?new Date(Date.UTC(ee,Q,J,te,ne,re,oe+60*G.offset*1e3)):L?new Date(Date.UTC(ee,Q,J,te,ne,re,oe)):new Date(ee,Q,J,te,ne,re,oe)}catch{return new Date("")}}(x,O,S),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),T&&x!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var M=O.length,A=1;A<=M;A+=1){w[1]=O[A-1];var N=v.apply(this,w);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}A===M&&(this.$d=new Date(""))}else b.call(this,C)}}})}(iV)),iV.exports}var FCt=QDe();const HCt=bo(FCt);$o.extend(HCt);$o.extend(BCt);$o.extend(ICt);$o.extend(ACt);$o.extend(jCt);$o.extend(LCt);$o.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var a=(o||"").replace("Wo","wo");return r.bind(this)(a)}});var WCt={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},cg=function(t){var n=WCt[t];return n||t.split("_")[0]},h1e=function(){lAe(!1,"Not match any format. Please help to fire a issue about this.")},JDe={getNow:function(){return $o()},getFixedDate:function(t){return $o(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return $o().locale(cg(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(cg(t)).weekday(0)},getWeek:function(t,n){return n.locale(cg(t)).week()},getShortWeekDays:function(t){return $o().locale(cg(t)).localeData().weekdaysMin()},getShortMonths:function(t){return $o().locale(cg(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(cg(t)).format(r)},parse:function(t,n,r){for(var i=cg(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=_.useState([!1,!1]),i=Me(r,2),o=i[0],a=i[1],l=function(c,f){a(function(h){return j9(h,f,c)})},s=_.useMemo(function(){return o.map(function(u,c){if(u)return!0;var f=e[c];return f?!!(!n[c]&&!f||f&&t(f,{activeIndex:c})):!1})},[e,o,t,n]);return[s,l]}function iLe(e,t,n,r,i){var o="",a=[];return e&&a.push(i?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),o=a.join(":"),r&&(o+=".SSS"),i&&(o+=" A"),o}function VCt(e,t,n,r,i,o){var a=e.fieldDateTimeFormat,l=e.fieldDateFormat,s=e.fieldTimeFormat,u=e.fieldMonthFormat,c=e.fieldYearFormat,f=e.fieldWeekFormat,h=e.fieldQuarterFormat,d=e.yearFormat,p=e.cellYearFormat,g=e.cellQuarterFormat,m=e.dayFormat,v=e.cellDateFormat,y=iLe(t,n,r,i,o);return fe(fe({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(y),fieldDateFormat:l||"YYYY-MM-DD",fieldTimeFormat:s||y,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:c||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:h||"YYYY-[Q]Q",yearFormat:d||"YYYY",cellYearFormat:p||"YYYY",cellQuarterFormat:g||"[Q]Q",cellDateFormat:v||m||"D"})}function oLe(e,t){var n=t.showHour,r=t.showMinute,i=t.showSecond,o=t.showMillisecond,a=t.use12Hours;return Se.useMemo(function(){return VCt(e,n,r,i,o,a)},[e,n,r,i,o,a])}function X6(e,t,n){return n??t.some(function(r){return e.includes(r)})}var UCt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function GCt(e){var t=pB(e,UCt),n=e.format,r=e.picker,i=null;return n&&(i=n,Array.isArray(i)&&(i=i[0]),i=bn(i)==="object"?i.format:i),r==="time"&&(t.format=i),[t,i]}function KCt(e){return e&&typeof e=="string"}function aLe(e){var t=e.showTime,n=GCt(e),r=Me(n,2),i=r[0],o=r[1],a=t&&bn(t)==="object"?t:{},l=fe(fe({defaultOpenValue:a.defaultOpenValue||a.defaultValue},i),a),s=l.showMillisecond,u=l.showHour,c=l.showMinute,f=l.showSecond;return!u&&!c&&!f&&!s&&(u=!0,c=!0,f=!0),[l,fe(fe({},l),{},{showHour:u,showMinute:c,showSecond:f,showMillisecond:s}),l.format,o]}function lLe(e,t,n,r,i){var o=e==="time";if(e==="datetime"||o){for(var a=r,l=tLe(e,i,null),s=l,u=[t,n],c=0;c1&&(a=t.addDate(a,-7)),a}function wa(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i=="function"?i(e):n.locale.format(r.locale,e,i):""}function nD(e,t,n){var r=t,i=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(a,l){n?r=e[a](r,e[i[l]](n)):r=e[a](r,0)}),r}function QCt(e,t,n,r,i){var o=ir(function(a,l){return!!(n&&n(a,l)||r&&e.isAfter(r,a)&&!wl(e,t,r,a,l.type)||i&&e.isAfter(a,i)&&!wl(e,t,i,a,l.type))});return o}function JCt(e,t,n){return _.useMemo(function(){var r=tLe(e,t,n),i=By(r),o=i[0],a=bn(o)==="object"&&o.type==="mask"?o.format:null;return[i.map(function(l){return typeof l=="string"||typeof l=="function"?l:l.format}),a]},[e,t,n])}function e6t(e,t,n){return typeof e[0]=="function"||n?!0:t}function t6t(e,t,n,r){var i=ir(function(o,a){var l=fe({type:t},a);if(delete l.activeIndex,!e.isValidate(o)||n&&n(o,l))return!0;if((t==="date"||t==="time")&&r){var s,u=((s=r.disabledTime)===null||s===void 0?void 0:s.call(r,o,a&&a.activeIndex===1?"end":"start"))||{},c=u.disabledHours,f=u.disabledMinutes,h=u.disabledSeconds,d=u.disabledMilliseconds,p=r.disabledHours,g=r.disabledMinutes,m=r.disabledSeconds,v=c||p,y=f||g,b=h||m,C=e.getHour(o),x=e.getMinute(o),S=e.getSecond(o),w=e.getMillisecond(o);if(v&&v().includes(C)||y&&y(C).includes(x)||b&&b(C,x).includes(S)||d&&d(C,x,S).includes(w))return!0}return!1});return i}function uM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=_.useMemo(function(){var r=e&&By(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function uLe(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,o=i===void 0?"date":i,a=e.prefixCls,l=a===void 0?"rc-picker":a,s=e.styles,u=s===void 0?{}:s,c=e.classNames,f=c===void 0?{}:c,h=e.order,d=h===void 0?!0:h,p=e.components,g=p===void 0?{}:p,m=e.inputRender,v=e.allowClear,y=e.clearIcon,b=e.needConfirm,C=e.multiple,x=e.format,S=e.inputReadOnly,w=e.disabledDate,O=e.minDate,$=e.maxDate,P=e.showTime,T=e.value,R=e.defaultValue,M=e.pickerValue,A=e.defaultPickerValue,N=uM(T),k=uM(R),D=uM(M),L=uM(A),B=o==="date"&&P?"datetime":o,j=B==="time"||B==="datetime",z=j||C,V=b??j,W=aLe(e),U=Me(W,4),K=U[0],X=U[1],G=U[2],Y=U[3],J=oLe(r,X),ee=_.useMemo(function(){return lLe(B,G,Y,K,J)},[B,G,Y,K,J]),Q=_.useMemo(function(){return fe(fe({},e),{},{prefixCls:l,locale:J,picker:o,styles:u,classNames:f,order:d,components:fe({input:m},g),clearIcon:XCt(l,v,y),showTime:ee,value:N,defaultValue:k,pickerValue:D,defaultPickerValue:L},t==null?void 0:t())},[e]),te=JCt(B,J,x),ne=Me(te,2),re=ne[0],oe=ne[1],se=e6t(re,S,C),ye=QCt(n,r,w,O,$),be=t6t(n,o,w,ee),he=_.useMemo(function(){return fe(fe({},Q),{},{needConfirm:V,inputReadOnly:se,disabledDate:ye})},[Q,V,se,ye]);return[he,B,z,re,oe,be]}function n6t(e,t,n){var r=zn(t,{value:e}),i=Me(r,2),o=i[0],a=i[1],l=Se.useRef(e),s=Se.useRef(),u=function(){rr.cancel(s.current)},c=ir(function(){a(l.current),n&&o!==l.current&&n(l.current)}),f=ir(function(h,d){u(),l.current=h,h||d?c():s.current=rr(c)});return Se.useEffect(function(){return u},[]),[o,f]}function dLe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=n.every(function(c){return c})?!1:e,o=n6t(i,t||!1,r),a=Me(o,2),l=a[0],s=a[1];function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||l)&&s(c,f.force)}return[l,u]}function fLe(e){var t=_.useRef();return _.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(){var i;(i=t.current)===null||i===void 0||i.focus()},blur:function(){var i;(i=t.current)===null||i===void 0||i.blur()}}}),t}function pLe(e,t){return _.useMemo(function(){return e||(t?(Dr(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=Me(n,2),i=r[0],o=r[1];return{label:i,value:o}})):[])},[e,t])}function Bre(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=_.useRef(t);r.current=t,jv(function(){if(e)r.current(e);else{var i=rr(function(){r.current(e)},n);return function(){rr.cancel(i)}}},[e])}function hLe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=_.useState(0),r=Me(n,2),i=r[0],o=r[1],a=_.useState(!1),l=Me(a,2),s=l[0],u=l[1],c=_.useRef([]),f=_.useRef(null),h=function(m){u(m)},d=function(m){return m&&(f.current=m),f.current},p=function(m){var v=c.current,y=new Set(v.filter(function(C){return m[C]||t[C]})),b=v[v.length-1]===0?1:0;return y.size>=2||e[b]?null:b};return Bre(s,function(){s||(c.current=[])}),_.useEffect(function(){s&&c.current.push(i)},[s,i]),[s,h,d,i,o,p,c.current]}function r6t(e,t,n,r,i,o){var a=n[n.length-1],l=n.find(function(u){return e[u]}),s=function(c,f){var h=Me(e,2),d=h[0],p=h[1],g=fe(fe({},f),{},{from:a!==l?e[l]:void 0});return a===1&&t[0]&&d&&!wl(r,i,d,c,g.type)&&r.isAfter(d,c)||a===0&&t[1]&&p&&!wl(r,i,p,c,g.type)&&r.isAfter(c,p)?!0:o==null?void 0:o(c,g)};return s}function Q8(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var aV=[];function gLe(e,t,n,r,i,o,a,l){var s=arguments.length>8&&arguments[8]!==void 0?arguments[8]:aV,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:aV,c=arguments.length>10&&arguments[10]!==void 0?arguments[10]:aV,f=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,d=arguments.length>13?arguments[13]:void 0,p=a==="time",g=o||0,m=function(D){var L=e.getNow();return p&&(L=nD(e,L)),s[D]||n[D]||L},v=Me(u,2),y=v[0],b=v[1],C=zn(function(){return m(0)},{value:y}),x=Me(C,2),S=x[0],w=x[1],O=zn(function(){return m(1)},{value:b}),$=Me(O,2),P=$[0],T=$[1],R=_.useMemo(function(){var k=[S,P][g];return p?k:nD(e,k,c[g])},[p,S,P,g,e,c]),M=function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",B=[w,T][g];B(D);var j=[S,P];j[g]=D,f&&(!wl(e,t,S,j[0],a)||!wl(e,t,P,j[1],a))&&f(j,{source:L,range:g===1?"end":"start",mode:r})},A=function(D,L){if(l){var B={date:"month",week:"month",month:"year",quarter:"year"},j=B[a];if(j&&!wl(e,t,D,L,j))return Q8(e,a,L,-1);if(a==="year"){var z=Math.floor(e.getYear(D)/10),V=Math.floor(e.getYear(L)/10);if(z!==V)return Q8(e,a,L,-1)}}return L},N=_.useRef(null);return er(function(){if(i&&!s[g]){var k=p?null:e.getNow();if(N.current!==null&&N.current!==g?k=[S,P][g^1]:n[g]?k=g===0?n[0]:A(n[0],n[1]):n[g^1]&&(k=n[g^1]),k){h&&e.isAfter(h,k)&&(k=h);var D=l?Q8(e,a,k,1):k;d&&e.isAfter(D,d)&&(k=Q8(e,a,d,-1)),M(k,"reset")}}},[i,g,n[g]]),_.useEffect(function(){i?N.current=g:N.current=null},[i,g]),er(function(){i&&s&&s[g]&&M(s[g],"reset")},[i,g]),[R,M]}function mLe(e,t){var n=_.useRef(e),r=_.useState({}),i=Me(r,2),o=i[1],a=function(u){return u&&t!==void 0?t:n.current},l=function(u){n.current=u,o({})};return[a,l,a(!0)]}var i6t=[];function vLe(e,t,n){var r=function(a){return a.map(function(l){return wa(l,{generateConfig:e,locale:t,format:n[0]})})},i=function(a,l){for(var s=Math.max(a.length,l.length),u=-1,c=0;c2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,a=[],l=n>=1?n|0:1,s=e;s<=t;s+=l){var u=i.includes(s);(!u||!r)&&a.push({label:jre(s,o),value:s,disabled:u})}return a}function Fre(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,o=r.hourStep,a=o===void 0?1:o,l=r.minuteStep,s=l===void 0?1:l,u=r.secondStep,c=u===void 0?1:u,f=r.millisecondStep,h=f===void 0?100:f,d=r.hideDisabledOptions,p=r.disabledTime,g=r.disabledHours,m=r.disabledMinutes,v=r.disabledSeconds,y=_.useMemo(function(){return n||e.getNow()},[n,e]),b=_.useCallback(function(L){var B=(p==null?void 0:p(L))||{};return[B.disabledHours||g||dM,B.disabledMinutes||m||dM,B.disabledSeconds||v||dM,B.disabledMilliseconds||dM]},[p,g,m,v]),C=_.useMemo(function(){return b(y)},[y,b]),x=Me(C,4),S=x[0],w=x[1],O=x[2],$=x[3],P=_.useCallback(function(L,B,j,z){var V=fM(0,23,a,d,L()),W=i?V.map(function(G){return fe(fe({},G),{},{label:jre(G.value%12||12,2)})}):V,U=function(Y){return fM(0,59,s,d,B(Y))},K=function(Y,J){return fM(0,59,c,d,j(Y,J))},X=function(Y,J,ee){return fM(0,999,h,d,z(Y,J,ee),3)};return[W,U,K,X]},[d,a,i,h,s,c]),T=_.useMemo(function(){return P(S,w,O,$)},[P,S,w,O,$]),R=Me(T,4),M=R[0],A=R[1],N=R[2],k=R[3],D=function(B,j){var z=function(){return M},V=A,W=N,U=k;if(j){var K=b(j),X=Me(K,4),G=X[0],Y=X[1],J=X[2],ee=X[3],Q=P(G,Y,J,ee),te=Me(Q,4),ne=te[0],re=te[1],oe=te[2],se=te[3];z=function(){return ne},V=re,W=oe,U=se}var ye=a6t(B,z,V,W,U,e);return ye};return[D,M,A,N,k]}function l6t(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,i=e.showNow,o=e.showTime,a=e.onSubmit,l=e.onNow,s=e.invalid,u=e.needConfirm,c=e.generateConfig,f=e.disabledDate,h=_.useContext(Md),d=h.prefixCls,p=h.locale,g=h.button,m=g===void 0?"button":g,v=c.getNow(),y=Fre(c,o,v),b=Me(y,1),C=b[0],x=r==null?void 0:r(t),S=f(v,{type:t}),w=function(){if(!S){var A=C(v);l(A)}},O="".concat(d,"-now"),$="".concat(O,"-btn"),P=i&&_.createElement("li",{className:O},_.createElement("a",{className:Re($,S&&"".concat($,"-disabled")),"aria-disabled":S,onClick:w},n==="date"?p.today:p.now)),T=u&&_.createElement("li",{className:"".concat(d,"-ok")},_.createElement(m,{disabled:s,onClick:a},p.ok)),R=(P||T)&&_.createElement("ul",{className:"".concat(d,"-ranges")},P,T);return!x&&!R?null:_.createElement("div",{className:"".concat(d,"-footer")},x&&_.createElement("div",{className:"".concat(d,"-footer-extra")},x),R)}function xLe(e,t,n){function r(i,o){var a=i.findIndex(function(s){return wl(e,t,s,o,n)});if(a===-1)return[].concat(vt(i),[o]);var l=vt(i);return l.splice(a,1),l}return r}var Fy=_.createContext(null);function gB(){return _.useContext(Fy)}function hC(e,t){var n=e.prefixCls,r=e.generateConfig,i=e.locale,o=e.disabledDate,a=e.minDate,l=e.maxDate,s=e.cellRender,u=e.hoverValue,c=e.hoverRangeValue,f=e.onHover,h=e.values,d=e.pickerValue,p=e.onSelect,g=e.prevIcon,m=e.nextIcon,v=e.superPrevIcon,y=e.superNextIcon,b=r.getNow(),C={now:b,values:h,pickerValue:d,prefixCls:n,disabledDate:o,minDate:a,maxDate:l,cellRender:s,hoverValue:u,hoverRangeValue:c,onHover:f,locale:i,generateConfig:r,onSelect:p,panelType:t,prevIcon:g,nextIcon:m,superPrevIcon:v,superNextIcon:y};return[C,b]}var r0=_.createContext({});function M$(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,i=e.getCellDate,o=e.prefixColumn,a=e.rowClassName,l=e.titleFormat,s=e.getCellText,u=e.getCellClassName,c=e.headerCells,f=e.cellSelection,h=f===void 0?!0:f,d=e.disabledDate,p=gB(),g=p.prefixCls,m=p.panelType,v=p.now,y=p.disabledDate,b=p.cellRender,C=p.onHover,x=p.hoverValue,S=p.hoverRangeValue,w=p.generateConfig,O=p.values,$=p.locale,P=p.onSelect,T=d||y,R="".concat(g,"-cell"),M=_.useContext(r0),A=M.onCellDblClick,N=function(W){return O.some(function(U){return U&&wl(w,$,W,U,m)})},k=[],D=0;D1&&arguments[1]!==void 0?arguments[1]:!1;ke(Ee),m==null||m(Ee),$e&&Ie(Ee)},Pe=function(Ee,$e){J(Ee),$e&&Oe($e),Ie($e,Ee)},_e=function(Ee){if(be(Ee),Oe(Ee),Y!==C){var $e=["decade","year"],Le=[].concat($e,["month"]),Fe={quarter:[].concat($e,["quarter"]),week:[].concat(vt(Le),["week"]),date:[].concat(vt(Le),["date"])},Ke=Fe[C]||Le,lt=Ke.indexOf(Y),ft=Ke[lt+1];ft&&Pe(ft,Ee)}},ce=_.useMemo(function(){var me,Ee;if(Array.isArray(w)){var $e=Me(w,2);me=$e[0],Ee=$e[1]}else me=w;return!me&&!Ee?null:(me=me||Ee,Ee=Ee||me,i.isAfter(me,Ee)?[Ee,me]:[me,Ee])},[w,i]),Te=Dre(O,$,P),Ne=R[ee]||y6t[ee]||mB,je=_.useContext(r0),He=_.useMemo(function(){return fe(fe({},je),{},{hideHeader:M})},[je,M]),Be="".concat(A,"-panel"),qe=pB(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return _.createElement(r0.Provider,{value:He},_.createElement("div",{ref:N,tabIndex:s,className:Re(Be,ue({},"".concat(Be,"-rtl"),o==="rtl"))},_.createElement(Ne,Qe({},qe,{showTime:U,prefixCls:A,locale:V,generateConfig:i,onModeChange:Pe,pickerValue:ve,onPickerValueChange:function(Ee){Oe(Ee,!0)},value:se[0],onSelect:_e,values:se,cellRender:Te,hoverRangeValue:ce,hoverValue:S}))))}var D9=_.memo(_.forwardRef(b6t));function C6t(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,i=e.onPickerValueChange,o=e.onSubmit,a=e.range,l=e.hoverValue,s=_.useContext(Md),u=s.prefixCls,c=s.generateConfig,f=_.useCallback(function(v,y){return Q8(c,t,v,y)},[c,t]),h=_.useMemo(function(){return f(r,1)},[r,f]),d=function(y){i(f(y,-1))},p={onCellDblClick:function(){o()}},g=t==="time",m=fe(fe({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:g});return a?m.hoverRangeValue=l:m.hoverValue=l,n?_.createElement("div",{className:"".concat(u,"-panels")},_.createElement(r0.Provider,{value:fe(fe({},p),{},{hideNext:!0})},_.createElement(D9,m)),_.createElement(r0.Provider,{value:fe(fe({},p),{},{hidePrev:!0})},_.createElement(D9,Qe({},m,{pickerValue:h,onPickerValueChange:d})))):_.createElement(r0.Provider,{value:fe({},p)},_.createElement(D9,m))}function m1e(e){return typeof e=="function"?e():e}function S6t(e){var t=e.prefixCls,n=e.presets,r=e.onClick,i=e.onHover;return n.length?_.createElement("div",{className:"".concat(t,"-presets")},_.createElement("ul",null,n.map(function(o,a){var l=o.label,s=o.value;return _.createElement("li",{key:a,onClick:function(){r(m1e(s))},onMouseEnter:function(){i(m1e(s))},onMouseLeave:function(){i(null)}},l)}))):null}function wLe(e){var t=e.panelRender,n=e.internalMode,r=e.picker,i=e.showNow,o=e.range,a=e.multiple,l=e.activeOffset,s=l===void 0?0:l,u=e.presets,c=e.onPresetHover,f=e.onPresetSubmit,h=e.onFocus,d=e.onBlur,p=e.direction,g=e.value,m=e.onSelect,v=e.isInvalid,y=e.defaultOpenValue,b=e.onOk,C=e.onSubmit,x=_.useContext(Md),S=x.prefixCls,w="".concat(S,"-panel"),O=p==="rtl",$=_.useRef(null),P=_.useRef(null),T=_.useState(0),R=Me(T,2),M=R[0],A=R[1],N=_.useState(0),k=Me(N,2),D=k[0],L=k[1],B=function(ne){ne.offsetWidth&&A(ne.offsetWidth)};_.useEffect(function(){if(o){var te,ne=((te=$.current)===null||te===void 0?void 0:te.offsetWidth)||0,re=M-ne;s<=re?L(0):L(s+ne-M)}},[M,s,o]);function j(te){return te.filter(function(ne){return ne})}var z=_.useMemo(function(){return j(By(g))},[g]),V=r==="time"&&!z.length,W=_.useMemo(function(){return V?j([y]):z},[V,z,y]),U=V?y:z,K=_.useMemo(function(){return W.length?W.some(function(te){return v(te)}):!0},[W,v]),X=function(){V&&m(y),b(),C()},G=_.createElement("div",{className:"".concat(S,"-panel-layout")},_.createElement(S6t,{prefixCls:S,presets:u,onClick:f,onHover:c}),_.createElement("div",null,_.createElement(C6t,Qe({},e,{value:U})),_.createElement(l6t,Qe({},e,{showNow:a?!1:i,invalid:K,onSubmit:X}))));t&&(G=t(G));var Y="".concat(w,"-container"),J="marginLeft",ee="marginRight",Q=_.createElement("div",{tabIndex:-1,className:Re(Y,"".concat(S,"-").concat(n,"-panel-container")),style:ue(ue({},O?ee:J,D),O?J:ee,"auto"),onFocus:h,onBlur:d},G);return o&&(Q=_.createElement("div",{ref:P,className:Re("".concat(S,"-range-wrapper"),"".concat(S,"-").concat(r,"-range-wrapper"))},_.createElement("div",{ref:$,className:"".concat(S,"-range-arrow"),style:ue({},O?"right":"left",s)}),_.createElement(Ba,{onResize:B},Q))),Q}function OLe(e,t){var n=e.format,r=e.maskFormat,i=e.generateConfig,o=e.locale,a=e.preserveInvalidOnBlur,l=e.inputReadOnly,s=e.required,u=e["aria-required"],c=e.onSubmit,f=e.onFocus,h=e.onBlur,d=e.onInputChange,p=e.onInvalid,g=e.open,m=e.onOpenChange,v=e.onKeyDown,y=e.onChange,b=e.activeHelp,C=e.name,x=e.autoComplete,S=e.id,w=e.value,O=e.invalid,$=e.placeholder,P=e.disabled,T=e.activeIndex,R=e.allHelp,M=e.picker,A=function(V,W){var U=i.locale.parse(o.locale,V,[W]);return U&&i.isValidate(U)?U:null},N=n[0],k=_.useCallback(function(z){return wa(z,{locale:o,format:N,generateConfig:i})},[o,i,N]),D=_.useMemo(function(){return w.map(k)},[w,k]),L=_.useMemo(function(){var z=M==="time"?8:10,V=typeof N=="function"?N(i.getNow()).length:N.length;return Math.max(z,V)+2},[N,M,i]),B=function(V){for(var W=0;W=l&&n<=s)return o;var u=Math.min(Math.abs(n-l),Math.abs(n-s));u0?Je:bt));var Ze=rt+De,wt=bt-Je+1;return String(Je+(wt+Ze-Je)%wt)};switch(Ee){case"Backspace":case"Delete":$e="",Le=Ke;break;case"ArrowLeft":$e="",lt(-1);break;case"ArrowRight":$e="",lt(1);break;case"ArrowUp":$e="",Le=ft(1);break;case"ArrowDown":$e="",Le=ft(-1);break;default:isNaN(Number(Ee))||($e=z+Ee,Le=$e);break}if($e!==null&&(V($e),$e.length>=Fe&&(lt(1),V(""))),Le!==null){var Ye=Q.slice(0,ye)+jre(Le,Fe)+Q.slice(be);le(Ye.slice(0,a.length))}ee({})},He=_.useRef();er(function(){if(!(!M||!a||Ie.current)){if(!re.match(Q)){le(a);return}return ne.current.setSelectionRange(ye,be),He.current=rr(function(){ne.current.setSelectionRange(ye,be)}),function(){rr.cancel(He.current)}}},[re,a,M,Q,K,ye,be,J,le]);var Be=a?{onFocus:_e,onBlur:Te,onKeyDown:je,onMouseDown:Oe,onMouseUp:Pe,onPaste:ke}:{};return _.createElement("div",{ref:te,className:Re(P,ue(ue({},"".concat(P,"-active"),n&&i),"".concat(P,"-placeholder"),u))},_.createElement($,Qe({ref:ne,"aria-invalid":g,autoComplete:"off"},v,{onKeyDown:Ne,onBlur:ce},Be,{value:Q,onChange:ve})),_.createElement(vB,{type:"suffix",icon:o}),m)}),P6t=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","onMouseDown","required","aria-required","autoFocus"];function T6t(e,t){var n=e.id,r=e.clearIcon,i=e.suffixIcon,o=e.separator,a=o===void 0?"~":o,l=e.activeIndex;e.activeHelp,e.allHelp;var s=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,c=e.className,f=e.style,h=e.onClick,d=e.onClear,p=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,m=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveOffset,b=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,x=an(e,P6t),S=v==="rtl",w=_.useContext(Md),O=w.prefixCls,$=_.useMemo(function(){if(typeof n=="string")return[n];var Y=n||{};return[Y.start,Y.end]},[n]),P=_.useRef(),T=_.useRef(),R=_.useRef(),M=function(J){var ee;return(ee=[T,R][J])===null||ee===void 0?void 0:ee.current};_.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(){var J,ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;(J=M(ee))===null||J===void 0||J.focus()},blur:function(){var J,ee;(J=M(0))===null||J===void 0||J.blur(),(ee=M(1))===null||ee===void 0||ee.blur()}}});var A=ELe(x),N=_.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),k=OLe(fe(fe({},e),{},{id:$,placeholder:N})),D=Me(k,1),L=D[0],B=S?"right":"left",j=_.useState(ue({position:"absolute",width:0},B,0)),z=Me(j,2),V=z[0],W=z[1],U=ir(function(){var Y=M(l);if(Y){var J=Y.nativeElement,ee=J.offsetWidth,Q=J.offsetLeft,te=J.offsetParent,ne=Q;if(S){var re=te,oe=getComputedStyle(re);ne=re.offsetWidth-parseFloat(oe.borderRightWidth)-parseFloat(oe.borderLeftWidth)-Q-ee}W(function(se){return fe(fe({},se),{},ue({width:ee},B,ne))}),y(l===0?0:ne)}});_.useEffect(function(){U()},[l]);var K=r&&(p[0]&&!g[0]||p[1]&&!g[1]),X=C&&!g[0],G=C&&!X&&!g[1];return _.createElement(Ba,{onResize:U},_.createElement("div",Qe({},A,{className:Re(O,"".concat(O,"-range"),ue(ue(ue(ue({},"".concat(O,"-focused"),s),"".concat(O,"-disabled"),g.every(function(Y){return Y})),"".concat(O,"-invalid"),m.some(function(Y){return Y})),"".concat(O,"-rtl"),S),c),style:f,ref:P,onClick:h,onMouseDown:function(J){var ee=J.target;ee!==T.current.inputElement&&ee!==R.current.inputElement&&J.preventDefault(),b==null||b(J)}}),_.createElement(uQ,Qe({ref:T},L(0),{autoFocus:X,"date-range":"start"})),_.createElement("div",{className:"".concat(O,"-range-separator")},a),_.createElement(uQ,Qe({ref:R},L(1),{autoFocus:G,"date-range":"end"})),_.createElement("div",{className:"".concat(O,"-active-bar"),style:V}),_.createElement(vB,{type:"suffix",icon:i}),K&&_.createElement(cQ,{icon:r,onClear:d})))}var M6t=_.forwardRef(T6t);function y1e(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function hM(e){return e===1?"end":"start"}function R6t(e,t){var n=uLe(e,function(){var qt=e.disabled,Yt=e.allowEmpty,Mn=y1e(qt,!1),Zn=y1e(Yt,!1);return{disabled:Mn,allowEmpty:Zn}}),r=Me(n,6),i=r[0],o=r[1],a=r[2],l=r[3],s=r[4],u=r[5],c=i.prefixCls,f=i.styles,h=i.classNames,d=i.defaultValue,p=i.value,g=i.needConfirm,m=i.onKeyDown,v=i.disabled,y=i.allowEmpty,b=i.disabledDate,C=i.minDate,x=i.maxDate,S=i.defaultOpen,w=i.open,O=i.onOpenChange,$=i.locale,P=i.generateConfig,T=i.picker,R=i.showNow,M=i.showToday,A=i.showTime,N=i.mode,k=i.onPanelChange,D=i.onCalendarChange,L=i.onOk,B=i.defaultPickerValue,j=i.pickerValue,z=i.onPickerValueChange,V=i.inputReadOnly,W=i.suffixIcon,U=i.onFocus,K=i.onBlur,X=i.presets,G=i.ranges,Y=i.components,J=i.cellRender,ee=i.dateRender,Q=i.monthCellRender,te=i.onClick,ne=fLe(t),re=dLe(w,S,v,O),oe=Me(re,2),se=oe[0],ye=oe[1],be=function(Yt,Mn){(v.some(function(Zn){return!Zn})||!Yt)&&ye(Yt,Mn)},he=bLe(P,$,l,!0,!1,d,p,D,L),le=Me(he,5),ve=le[0],ke=le[1],Ie=le[2],Oe=le[3],Pe=le[4],_e=Ie(),ce=hLe(v,y),Te=Me(ce,7),Ne=Te[0],je=Te[1],He=Te[2],Be=Te[3],qe=Te[4],me=Te[5],Ee=Te[6],$e=function(Yt,Mn){je(!0),U==null||U(Yt,{range:hM(Mn??Be)})},Le=function(Yt,Mn){je(!1),K==null||K(Yt,{range:hM(Mn??Be)})},Fe=_.useMemo(function(){if(!A)return null;var qt=A.disabledTime,Yt=qt?function(Mn){var Zn=hM(Be);return qt(Mn,Zn)}:void 0;return fe(fe({},A),{},{disabledTime:Yt})},[A,Be]),Ke=zn([T,T],{value:N}),lt=Me(Ke,2),ft=lt[0],Ye=lt[1],we=ft[Be]||T,De=we==="date"&&Fe?"datetime":we,We=De===T&&De!=="time",Ge=SLe(T,we,R,M,!0),Je=CLe(i,ve,ke,Ie,Oe,v,l,Ne,se,u),bt=Me(Je,2),at=bt[0],et=bt[1],rt=r6t(_e,v,Ee,P,$,b),Ze=rLe(_e,u,y),wt=Me(Ze,2),ut=wt[0],ot=wt[1],dt=gLe(P,$,_e,ft,se,Be,o,We,B,j,Fe==null?void 0:Fe.defaultOpenValue,z,C,x),_t=Me(dt,2),Ot=_t[0],Ct=_t[1],mt=ir(function(qt,Yt,Mn){var Zn=j9(ft,Be,Yt);if((Zn[0]!==ft[0]||Zn[1]!==ft[1])&&Ye(Zn),k&&Mn!==!1){var $r=vt(_e);qt&&($r[Be]=qt),k($r,Zn)}}),It=function(Yt,Mn){return j9(_e,Mn,Yt)},nt=function(Yt,Mn){var Zn=_e;Yt&&(Zn=It(Yt,Be));var $r=me(Zn);Oe(Zn),at(Be,$r===null),$r===null?be(!1,{force:!0}):Mn||ne.current.focus($r)},yt=function(Yt){if(!ne.current.nativeElement.contains(document.activeElement)){var Mn=v.findIndex(function(Zn){return!Zn});Mn>=0&&ne.current.focus(Mn)}be(!0),te==null||te(Yt)},xt=function(){et(null),be(!1,{force:!0})},At=_.useState(null),cn=Me(At,2),Ht=cn[0],$t=cn[1],zt=_.useState(null),Qt=Me(zt,2),Pt=Qt[0],ct=Qt[1],Wt=_.useMemo(function(){return Pt||_e},[_e,Pt]);_.useEffect(function(){se||ct(null)},[se]);var wn=_.useState(0),kt=Me(wn,2),gt=kt[0],Bt=kt[1],Nn=pLe(X,G),Or=function(Yt){ct(Yt),$t("preset")},Ar=function(Yt){var Mn=et(Yt);Mn&&be(!1,{force:!0})},ei=function(Yt){nt(Yt)},ar=function(Yt){ct(Yt?It(Yt,Be):null),$t("cell")},Sn=function(Yt){be(!0),$e(Yt)},pi=function(Yt){He("panel");var Mn=j9(_e,Be,Yt);Oe(Mn),!g&&!a&&o===De&&nt(Yt)},On=function(){be(!1)},En=Dre(J,ee,Q,hM(Be)),en=_e[Be]||null,gn=ir(function(qt){return u(qt,{activeIndex:Be})}),qn=_.useMemo(function(){var qt=qo(i,!1),Yt=bi(i,[].concat(vt(Object.keys(qt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return Yt},[i]),yr=_.createElement(wLe,Qe({},qn,{showNow:Ge,showTime:Fe,range:!0,multiplePanel:We,activeOffset:gt,disabledDate:rt,onFocus:Sn,onBlur:Le,picker:T,mode:we,internalMode:De,onPanelChange:mt,format:s,value:en,isInvalid:gn,onChange:null,onSelect:pi,pickerValue:Ot,defaultOpenValue:By(A==null?void 0:A.defaultOpenValue)[Be],onPickerValueChange:Ct,hoverValue:Wt,onHover:ar,needConfirm:g,onSubmit:nt,onOk:Pe,presets:Nn,onPresetHover:Or,onPresetSubmit:Ar,onNow:ei,cellRender:En})),mn=function(Yt,Mn){var Zn=It(Yt,Mn);Oe(Zn)},Zt=function(){He("input")},nn=function(Yt,Mn){He("input"),be(!0,{inherit:!0}),qe(Mn),$e(Yt,Mn)},Dn=function(Yt,Mn){be(!1),Le(Yt,Mn)},Xn=function(Yt,Mn){Yt.key==="Tab"&&nt(null,!0),m==null||m(Yt,Mn)},ur=_.useMemo(function(){return{prefixCls:c,locale:$,generateConfig:P,button:Y.button,input:Y.input}},[c,$,P,Y.button,Y.input]);return er(function(){se&&Be!==void 0&&mt(null,T,!1)},[se,Be,T]),er(function(){var qt=He();!se&&qt==="input"&&(be(!1),nt(null,!0)),!se&&a&&!g&&qt==="panel"&&(be(!0),nt())},[se]),_.createElement(Md.Provider,{value:ur},_.createElement(eLe,Qe({},nLe(i),{popupElement:yr,popupStyle:f.popup,popupClassName:h.popup,visible:se,onClose:On,range:!0}),_.createElement(M6t,Qe({},i,{ref:ne,suffixIcon:W,activeIndex:Ne||se?Be:null,activeHelp:!!Pt,allHelp:!!Pt&&Ht==="preset",focused:Ne,onFocus:nn,onBlur:Dn,onKeyDown:Xn,onSubmit:nt,value:Wt,maskFormat:s,onChange:mn,onInputChange:Zt,format:l,inputReadOnly:V,disabled:v,open:se,onOpenChange:be,onClick:yt,onClear:xt,invalid:ut,onInvalid:ot,onActiveOffset:Bt}))))}var $Le=_.forwardRef(R6t);function I6t(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,o=i===void 0?"×":i,a=e.formatDate,l=e.disabled,s=e.maxTagCount,u="".concat(t,"-selector"),c="".concat(t,"-selection"),f="".concat(c,"-overflow");function h(g,m){return _.createElement("span",{className:Re("".concat(c,"-item")),title:typeof g=="string"?g:null},_.createElement("span",{className:"".concat(c,"-item-content")},g),!l&&m&&_.createElement("span",{onMouseDown:function(y){y.preventDefault()},onClick:m,className:"".concat(c,"-item-remove")},o))}function d(g){var m=a(g),v=function(b){b&&b.stopPropagation(),r(g)};return h(m,v)}function p(g){var m="+ ".concat(g.length," ...");return h(m)}return _.createElement("div",{className:u},_.createElement(bd,{prefixCls:f,data:n,renderItem:d,renderRest:p,itemKey:function(m){return a(m)},maxCount:s}))}var N6t=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function A6t(e,t){e.id;var n=e.open,r=e.clearIcon,i=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var a=e.locale,l=e.generateConfig;e.placeholder;var s=e.className,u=e.style,c=e.onClick,f=e.onClear,h=e.internalPicker,d=e.value,p=e.onChange,g=e.onSubmit;e.onInputChange;var m=e.multiple,v=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var y=e.disabled,b=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var x=e.onMouseDown;e.required,e["aria-required"];var S=e.autoFocus,w=e.removeIcon,O=an(e,N6t),$=C==="rtl",P=_.useContext(Md),T=P.prefixCls,R=_.useRef(),M=_.useRef();_.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(){var U;(U=M.current)===null||U===void 0||U.focus()},blur:function(){var U;(U=M.current)===null||U===void 0||U.blur()}}});var A=ELe(O),N=function(U){p([U])},k=function(U){var K=d.filter(function(X){return X&&!wl(l,a,X,U,h)});p(K),n||g()},D=OLe(fe(fe({},e),{},{onChange:N}),function(W){var U=W.valueTexts;return{value:U[0]||"",active:o}}),L=Me(D,2),B=L[0],j=L[1],z=!!(r&&d.length&&!y),V=m?_.createElement(_.Fragment,null,_.createElement(I6t,{prefixCls:T,value:d,onRemove:k,formatDate:j,maxTagCount:v,disabled:y,removeIcon:w}),_.createElement("input",{className:"".concat(T,"-multiple-input"),value:d.map(j).join(","),ref:M,readOnly:!0,autoFocus:S}),_.createElement(vB,{type:"suffix",icon:i}),z&&_.createElement(cQ,{icon:r,onClear:f})):_.createElement(uQ,Qe({ref:M},B(),{autoFocus:S,suffixIcon:i,clearIcon:z&&_.createElement(cQ,{icon:r,onClear:f}),showActiveCls:!1}));return _.createElement("div",Qe({},A,{className:Re(T,ue(ue(ue(ue(ue({},"".concat(T,"-multiple"),m),"".concat(T,"-focused"),o),"".concat(T,"-disabled"),y),"".concat(T,"-invalid"),b),"".concat(T,"-rtl"),$),s),style:u,ref:R,onClick:c,onMouseDown:function(U){var K,X=U.target;X!==((K=M.current)===null||K===void 0?void 0:K.inputElement)&&U.preventDefault(),x==null||x(U)}}),V)}var k6t=_.forwardRef(A6t);function j6t(e,t){var n=uLe(e),r=Me(n,6),i=r[0],o=r[1],a=r[2],l=r[3],s=r[4],u=r[5],c=i,f=c.prefixCls,h=c.styles,d=c.classNames,p=c.order,g=c.defaultValue,m=c.value,v=c.needConfirm,y=c.onChange,b=c.onKeyDown,C=c.disabled,x=c.disabledDate,S=c.minDate,w=c.maxDate,O=c.defaultOpen,$=c.open,P=c.onOpenChange,T=c.locale,R=c.generateConfig,M=c.picker,A=c.showNow,N=c.showToday,k=c.showTime,D=c.mode,L=c.onPanelChange,B=c.onCalendarChange,j=c.onOk,z=c.multiple,V=c.defaultPickerValue,W=c.pickerValue,U=c.onPickerValueChange,K=c.inputReadOnly,X=c.suffixIcon,G=c.removeIcon,Y=c.onFocus,J=c.onBlur,ee=c.presets,Q=c.components,te=c.cellRender,ne=c.dateRender,re=c.monthCellRender,oe=c.onClick,se=fLe(t);function ye(Zt){return Zt===null?null:z?Zt:Zt[0]}var be=xLe(R,T,o),he=dLe($,O,[C],P),le=Me(he,2),ve=le[0],ke=le[1],Ie=function(nn,Dn,Xn){if(B){var ur=fe({},Xn);delete ur.range,B(ye(nn),ye(Dn),ur)}},Oe=function(nn){j==null||j(ye(nn))},Pe=bLe(R,T,l,!1,p,g,m,Ie,Oe),_e=Me(Pe,5),ce=_e[0],Te=_e[1],Ne=_e[2],je=_e[3],He=_e[4],Be=Ne(),qe=hLe([C]),me=Me(qe,4),Ee=me[0],$e=me[1],Le=me[2],Fe=me[3],Ke=function(nn){$e(!0),Y==null||Y(nn,{})},lt=function(nn){$e(!1),J==null||J(nn,{})},ft=zn(M,{value:D}),Ye=Me(ft,2),we=Ye[0],De=Ye[1],We=we==="date"&&k?"datetime":we,Ge=SLe(M,we,A,N),Je=y&&function(Zt,nn){y(ye(Zt),ye(nn))},bt=CLe(fe(fe({},i),{},{onChange:Je}),ce,Te,Ne,je,[],l,Ee,ve,u),at=Me(bt,2),et=at[1],rt=rLe(Be,u),Ze=Me(rt,2),wt=Ze[0],ut=Ze[1],ot=_.useMemo(function(){return wt.some(function(Zt){return Zt})},[wt]),dt=function(nn,Dn){if(U){var Xn=fe(fe({},Dn),{},{mode:Dn.mode[0]});delete Xn.range,U(nn[0],Xn)}},_t=gLe(R,T,Be,[we],ve,Fe,o,!1,V,W,By(k==null?void 0:k.defaultOpenValue),dt,S,w),Ot=Me(_t,2),Ct=Ot[0],mt=Ot[1],It=ir(function(Zt,nn,Dn){if(De(nn),L&&Dn!==!1){var Xn=Zt||Be[Be.length-1];L(Xn,nn)}}),nt=function(){et(Ne()),ke(!1,{force:!0})},yt=function(nn){!C&&!se.current.nativeElement.contains(document.activeElement)&&se.current.focus(),ke(!0),oe==null||oe(nn)},xt=function(){et(null),ke(!1,{force:!0})},At=_.useState(null),cn=Me(At,2),Ht=cn[0],$t=cn[1],zt=_.useState(null),Qt=Me(zt,2),Pt=Qt[0],ct=Qt[1],Wt=_.useMemo(function(){var Zt=[Pt].concat(vt(Be)).filter(function(nn){return nn});return z?Zt:Zt.slice(0,1)},[Be,Pt,z]),wn=_.useMemo(function(){return!z&&Pt?[Pt]:Be.filter(function(Zt){return Zt})},[Be,Pt,z]);_.useEffect(function(){ve||ct(null)},[ve]);var kt=pLe(ee),gt=function(nn){ct(nn),$t("preset")},Bt=function(nn){var Dn=z?be(Ne(),nn):[nn],Xn=et(Dn);Xn&&!z&&ke(!1,{force:!0})},Nn=function(nn){Bt(nn)},Or=function(nn){ct(nn),$t("cell")},Ar=function(nn){ke(!0),Ke(nn)},ei=function(nn){Le("panel");var Dn=z?be(Ne(),nn):[nn];je(Dn),!v&&!a&&o===We&&nt()},ar=function(){ke(!1)},Sn=Dre(te,ne,re),pi=_.useMemo(function(){var Zt=qo(i,!1),nn=bi(i,[].concat(vt(Object.keys(Zt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return fe(fe({},nn),{},{multiple:i.multiple})},[i]),On=_.createElement(wLe,Qe({},pi,{showNow:Ge,showTime:k,disabledDate:x,onFocus:Ar,onBlur:lt,picker:M,mode:we,internalMode:We,onPanelChange:It,format:s,value:Be,isInvalid:u,onChange:null,onSelect:ei,pickerValue:Ct,defaultOpenValue:k==null?void 0:k.defaultOpenValue,onPickerValueChange:mt,hoverValue:Wt,onHover:Or,needConfirm:v,onSubmit:nt,onOk:He,presets:kt,onPresetHover:gt,onPresetSubmit:Bt,onNow:Nn,cellRender:Sn})),En=function(nn){je(nn)},en=function(){Le("input")},gn=function(nn){Le("input"),ke(!0,{inherit:!0}),Ke(nn)},qn=function(nn){ke(!1),lt(nn)},yr=function(nn,Dn){nn.key==="Tab"&&nt(),b==null||b(nn,Dn)},mn=_.useMemo(function(){return{prefixCls:f,locale:T,generateConfig:R,button:Q.button,input:Q.input}},[f,T,R,Q.button,Q.input]);return er(function(){ve&&Fe!==void 0&&It(null,M,!1)},[ve,Fe,M]),er(function(){var Zt=Le();!ve&&Zt==="input"&&(ke(!1),nt()),!ve&&a&&!v&&Zt==="panel"&&(ke(!0),nt())},[ve]),_.createElement(Md.Provider,{value:mn},_.createElement(eLe,Qe({},nLe(i),{popupElement:On,popupStyle:h.popup,popupClassName:d.popup,visible:ve,onClose:ar}),_.createElement(k6t,Qe({},i,{ref:se,suffixIcon:X,removeIcon:G,activeHelp:!!Pt,allHelp:!!Pt&&Ht==="preset",focused:Ee,onFocus:gn,onBlur:qn,onKeyDown:yr,onSubmit:nt,value:wn,maskFormat:s,onChange:En,onInputChange:en,internalPicker:o,format:l,inputReadOnly:K,disabled:C,open:ve,onOpenChange:ke,onClick:yt,onClear:xt,invalid:ot,onInvalid:function(nn){ut(nn,0)}}))))}var dQ=_.forwardRef(j6t);const D6t=Object.freeze(Object.defineProperty({__proto__:null,Picker:dQ,PickerPanel:D9,RangePicker:$Le,default:dQ},Symbol.toStringTag,{value:"Module"})),PLe=_.createContext(null),L6t=PLe.Provider,TLe=_.createContext(null),z6t=TLe.Provider;var B6t=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],rD=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-checkbox":r,o=e.className,a=e.style,l=e.checked,s=e.disabled,u=e.defaultChecked,c=u===void 0?!1:u,f=e.type,h=f===void 0?"checkbox":f,d=e.title,p=e.onChange,g=an(e,B6t),m=_.useRef(null),v=zn(c,{value:l}),y=Me(v,2),b=y[0],C=y[1];_.useImperativeHandle(t,function(){return{focus:function(){var O;(O=m.current)===null||O===void 0||O.focus()},blur:function(){var O;(O=m.current)===null||O===void 0||O.blur()},input:m.current}});var x=Re(i,o,(n={},ue(n,"".concat(i,"-checked"),b),ue(n,"".concat(i,"-disabled"),s),n)),S=function(O){s||("checked"in e||C(O.target.checked),p==null||p({target:fe(fe({},e),{},{type:h,checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent}))};return _.createElement("span",{className:x,title:d,style:a},_.createElement("input",Qe({},g,{className:"".concat(i,"-input"),ref:m,onChange:S,disabled:s,checked:!!b,type:h})),_.createElement("span",{className:"".concat(i,"-inner")}))});const F6t=Object.freeze(Object.defineProperty({__proto__:null,Checkbox:rD,default:rD},Symbol.toStringTag,{value:"Module"})),H6t=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},sr(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},W6t=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:i,motionDurationSlow:o,motionDurationMid:a,motionEaseInOutCirc:l,colorBgContainer:s,colorBorder:u,lineWidth:c,colorBgContainerDisabled:f,colorTextDisabled:h,paddingXS:d,dotColorDisabled:p,lineType:g,radioColor:m,radioBgColor:v,calc:y}=e,b=`${t}-inner`,x=y(i).sub(y(4).mul(2)),S=y(1).mul(i).equal();return{[`${t}-wrapper`]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${xe(c)} ${g} ${r}`,borderRadius:"50%",visibility:"hidden",content:'""'},[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${b}`]:{borderColor:r},[`${t}-input:focus-visible + ${b}`]:Object.assign({},uh(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:y(1).mul(i).div(-2).equal(),marginInlineStart:y(1).mul(i).div(-2).equal(),backgroundColor:m,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${o} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:s,borderColor:u,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[b]:{borderColor:r,backgroundColor:v,"&::after":{transform:`scale(${e.calc(e.dotSize).div(i).equal()})`,opacity:1,transition:`all ${o} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[b]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:p}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`&${t}-checked`]:{[b]:{"&::after":{transform:`scale(${y(x).div(i).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:d,paddingInlineEnd:d}})}},q6t=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:u,fontSize:c,buttonBg:f,fontSizeLG:h,controlHeightLG:d,controlHeightSM:p,paddingXS:g,borderRadius:m,borderRadiusSM:v,borderRadiusLG:y,buttonCheckedBg:b,buttonSolidCheckedColor:C,colorTextDisabled:x,colorBgContainerDisabled:S,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:O,colorPrimary:$,colorPrimaryHover:P,colorPrimaryActive:T,buttonSolidCheckedBg:R,buttonSolidCheckedHoverBg:M,buttonSolidCheckedActiveBg:A,calc:N}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:xe(N(n).sub(N(i).mul(2)).equal()),background:f,border:`${xe(i)} ${o} ${a}`,borderBlockStartWidth:N(i).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:N(i).mul(-1).equal(),insetInlineStart:N(i).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${xe(i)} ${o} ${a}`,borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m},"&:first-child:last-child":{borderRadius:m},[`${r}-group-large &`]:{height:d,fontSize:h,lineHeight:xe(N(d).sub(N(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${r}-group-small &`]:{height:p,paddingInline:N(g).sub(i).equal(),paddingBlock:0,lineHeight:xe(N(p).sub(N(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":Object.assign({},uh(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:b,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:P,borderColor:P,"&::before":{backgroundColor:P}},"&:active":{color:T,borderColor:T,"&::before":{backgroundColor:T}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:R,borderColor:R,"&:hover":{color:C,background:M,borderColor:M},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:x,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:S,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:O,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},V6t=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:o,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:u,colorTextLightSolid:c,colorPrimary:f,colorPrimaryHover:h,colorPrimaryActive:d,colorWhite:p}=e,g=4,m=o,v=t?m-g*2:m-(g+i)*2;return{radioSize:m,dotSize:v,dotColorDisabled:s,buttonSolidCheckedColor:c,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:h,buttonSolidCheckedActiveBg:d,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:s,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?f:p,radioBgColor:t?l:f}},MLe=vr("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${xe(n)} ${t}`,o=Wn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[H6t(o),W6t(o),q6t(o)]},V6t,{unitless:{radioSize:!0,dotSize:!0}});var U6t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=_.useContext(PLe),o=_.useContext(TLe),{getPrefixCls:a,direction:l,radio:s}=_.useContext(on),u=_.useRef(null),c=cl(t,u),{isFormItemInput:f}=_.useContext(la),h=A=>{var N,k;(N=e.onChange)===null||N===void 0||N.call(e,A),(k=i==null?void 0:i.onChange)===null||k===void 0||k.call(i,A)},{prefixCls:d,className:p,rootClassName:g,children:m,style:v,title:y}=e,b=U6t(e,["prefixCls","className","rootClassName","children","style","title"]),C=a("radio",d),x=((i==null?void 0:i.optionType)||o)==="button",S=x?`${C}-button`:C,w=di(C),[O,$,P]=MLe(C,w),T=Object.assign({},b),R=_.useContext(es);i&&(T.name=i.name,T.onChange=h,T.checked=e.value===i.value,T.disabled=(n=T.disabled)!==null&&n!==void 0?n:i.disabled),T.disabled=(r=T.disabled)!==null&&r!==void 0?r:R;const M=Re(`${S}-wrapper`,{[`${S}-wrapper-checked`]:T.checked,[`${S}-wrapper-disabled`]:T.disabled,[`${S}-wrapper-rtl`]:l==="rtl",[`${S}-wrapper-in-form-item`]:f},s==null?void 0:s.className,p,g,$,P,w);return O(_.createElement(S$,{component:"Radio",disabled:T.disabled},_.createElement("label",{className:M,style:Object.assign(Object.assign({},s==null?void 0:s.style),v),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:y},_.createElement(rD,Object.assign({},T,{className:Re(T.className,!x&&Bz),type:"radio",prefixCls:S,ref:c})),m!==void 0?_.createElement("span",null,m):null)))},K6t=_.forwardRef(G6t),iD=K6t,X6t=_.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=_.useContext(on),[i,o]=zn(e.defaultValue,{value:e.value}),a=A=>{const N=i,k=A.target.value;"value"in e||o(k);const{onChange:D}=e;D&&k!==N&&D(A)},{prefixCls:l,className:s,rootClassName:u,options:c,buttonStyle:f="outline",disabled:h,children:d,size:p,style:g,id:m,onMouseEnter:v,onMouseLeave:y,onFocus:b,onBlur:C}=e,x=n("radio",l),S=`${x}-group`,w=di(x),[O,$,P]=MLe(x,w);let T=d;c&&c.length>0&&(T=c.map(A=>typeof A=="string"||typeof A=="number"?_.createElement(iD,{key:A.toString(),prefixCls:x,disabled:h,value:A,checked:i===A},A):_.createElement(iD,{key:`radio-group-value-options-${A.value}`,prefixCls:x,disabled:A.disabled||h,value:A.value,checked:i===A.value,title:A.title,style:A.style,id:A.id,required:A.required},A.label)));const R=Go(p),M=Re(S,`${S}-${f}`,{[`${S}-${R}`]:R,[`${S}-rtl`]:r==="rtl"},s,u,$,P,w);return O(_.createElement("div",Object.assign({},qo(e,{aria:!0,data:!0}),{className:M,style:g,onMouseEnter:v,onMouseLeave:y,onFocus:b,onBlur:C,id:m,ref:t}),_.createElement(L6t,{value:{onChange:a,value:i,disabled:e.disabled,name:e.name,optionType:e.optionType}},T)))}),RLe=_.memo(X6t);var Y6t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n}=_.useContext(on),{prefixCls:r}=e,i=Y6t(e,["prefixCls"]),o=n("radio",r);return _.createElement(z6t,{value:"button"},_.createElement(iD,Object.assign({prefixCls:o},i,{type:"radio",ref:t})))},fQ=_.forwardRef(Z6t),yB=iD;yB.Button=fQ;yB.Group=RLe;yB.__ANT_RADIO=!0;const rc=yB,Q6t=10,J6t=20;function eSt(e){const{fullscreen:t,validRange:n,generateConfig:r,locale:i,prefixCls:o,value:a,onChange:l,divRef:s}=e,u=r.getYear(a||r.getNow());let c=u-Q6t,f=c+J6t;n&&(c=r.getYear(n[0]),f=r.getYear(n[1])+1);const h=i&&i.year==="年"?"年":"",d=[];for(let p=c;p{let g=r.setYear(a,p);if(n){const[m,v]=n,y=r.getYear(g),b=r.getMonth(g);y===r.getYear(v)&&b>r.getMonth(v)&&(g=r.setMonth(g,r.getMonth(v))),y===r.getYear(m)&&bs.current})}function tSt(e){const{prefixCls:t,fullscreen:n,validRange:r,value:i,generateConfig:o,locale:a,onChange:l,divRef:s}=e,u=o.getMonth(i||o.getNow());let c=0,f=11;if(r){const[p,g]=r,m=o.getYear(i);o.getYear(g)===m&&(f=o.getMonth(g)),o.getYear(p)===m&&(c=o.getMonth(p))}const h=a.shortMonths||o.locale.getShortMonths(a.locale),d=[];for(let p=c;p<=f;p+=1)d.push({label:h[p],value:p});return _.createElement(Ps,{size:n?void 0:"small",className:`${t}-month-select`,value:u,options:d,onChange:p=>{l(o.setMonth(i,p))},getPopupContainer:()=>s.current})}function nSt(e){const{prefixCls:t,locale:n,mode:r,fullscreen:i,onModeChange:o}=e;return _.createElement(RLe,{onChange:a=>{let{target:{value:l}}=a;o(l)},value:r,size:i?void 0:"small",className:`${t}-mode-switch`},_.createElement(fQ,{value:"month"},n.month),_.createElement(fQ,{value:"year"},n.year))}function rSt(e){const{prefixCls:t,fullscreen:n,mode:r,onChange:i,onModeChange:o}=e,a=_.useRef(null),l=_.useContext(la),s=_.useMemo(()=>Object.assign(Object.assign({},l),{isFormItemInput:!1}),[l]),u=Object.assign(Object.assign({},e),{fullscreen:n,divRef:a});return _.createElement("div",{className:`${t}-header`,ref:a},_.createElement(la.Provider,{value:s},_.createElement(eSt,Object.assign({},u,{onChange:c=>{i(c,"year")}})),r==="month"&&_.createElement(tSt,Object.assign({},u,{onChange:c=>{i(c,"month")}}))),_.createElement(nSt,Object.assign({},u,{onModeChange:o})))}function bB(e){return Wn(e,{inputAffixPadding:e.paddingXXS})}const CB=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:o,controlHeightLG:a,fontSizeLG:l,lineHeightLG:s,paddingSM:u,controlPaddingHorizontalSM:c,controlPaddingHorizontal:f,colorFillAlter:h,colorPrimaryHover:d,colorPrimary:p,controlOutlineWidth:g,controlOutline:m,colorErrorOutline:v,colorWarningOutline:y,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-i,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-i,0),paddingBlockLG:Math.ceil((a-l*s)/2*10)/10-i,paddingInline:u-i,paddingInlineSM:c-i,paddingInlineLG:f-i,addonBg:h,activeBorderColor:p,hoverBorderColor:d,activeShadow:`0 0 0 ${g}px ${m}`,errorActiveShadow:`0 0 0 ${g}px ${v}`,warningActiveShadow:`0 0 0 ${g}px ${y}`,hoverBg:b,activeBg:b,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},iSt=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),SB=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},iSt(Wn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),Hre=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),b1e=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Hre(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Wre=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Hre(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},SB(e))}),b1e(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),b1e(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),C1e=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),ILe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},C1e(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),C1e(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},SB(e))}})}),qre=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),NLe=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),S1e=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},NLe(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Vre=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},NLe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},SB(e))}),S1e(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),S1e(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),x1e=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),ALe=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},x1e(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),x1e(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ure=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),kLe=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${xe(t)} ${xe(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Gre=e=>({padding:`${xe(e.paddingBlockSM)} ${xe(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),R$=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${xe(e.paddingBlock)} ${xe(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ure(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},kLe(e)),"&-sm":Object.assign({},Gre(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),jLe=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},kLe(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Gre(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${xe(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${xe(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${xe(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${xe(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Od()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${xe(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},OCt=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),ECt=vr("Breadcrumb",e=>{const t=Wn(e,{});return wCt(t)},OCt);var l1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{breadcrumbName:a}=o,l=l1e(o,["breadcrumbName"]);return Object.assign(Object.assign({},l),{title:a})})}),i}function PCt(e,t){return _.useMemo(()=>e||(t?t.map($Ct):null),[e,t])}var TCt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},jre=e=>{const{prefixCls:t,separator:n="/",style:r,className:i,rootClassName:o,routes:a,items:l,children:s,itemRender:u,params:c={}}=e,f=TCt(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:h,direction:d,breadcrumb:p}=_.useContext(on);let g;const m=h("breadcrumb",t),[v,y,b]=ECt(m),C=PCt(l,a),x=xCt(m,u);if(C&&C.length>0){const O=[],$=l||a;g=C.map((P,T)=>{const{path:R,key:M,type:A,menu:N,overlay:j,onClick:D,className:L,separator:B,dropdownProps:k}=P,z=MCt(c,R);z!==void 0&&O.push(z);const q=M??T;if(A==="separator")return _.createElement(kre,{key:q},B);const W={},U=T===C.length-1;N?W.menu=N:j&&(W.overlay=j);let{href:K}=P;return O.length&&z!==void 0&&(K=`#/${O.join("/")}`),_.createElement(qDe,Object.assign({key:q},W,qo(P,{data:!0,aria:!0}),{className:L,dropdownProps:k,href:K,separator:U?"":n,onClick:D,prefixCls:m}),x(P,c,$,O,K))})}else if(s){const O=Wo(s).length;g=Wo(s).map(($,P)=>{if(!$)return $;const T=P===O-1;return Mo($,{separator:T?"":n,key:P})})}const S=Re(m,p==null?void 0:p.className,{[`${m}-rtl`]:d==="rtl"},i,o,y,b),w=Object.assign(Object.assign({},p==null?void 0:p.style),r);return v(_.createElement("nav",Object.assign({className:S,style:w},f),_.createElement("ol",null,g)))};jre.Item=_Ct;jre.Separator=kre;const cM=jre;var UDe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(mo,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",l="minute",s="hour",u="day",c="week",f="month",h="quarter",d="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var N=["th","st","nd","rd"],j=A%100;return"["+A+(N[(j-20)%10]||N[j]||N[0])+"]"}},b=function(A,N,j){var D=String(A);return!D||D.length>=N?A:""+Array(N+1-D.length).join(j)+A},C={s:b,z:function(A){var N=-A.utcOffset(),j=Math.abs(N),D=Math.floor(j/60),L=j%60;return(N<=0?"+":"-")+b(D,2,"0")+":"+b(L,2,"0")},m:function A(N,j){if(N.date()1)return A(k[0])}else{var z=N.name;S[z]=N,L=z}return!D&&L&&(x=L),L||!D&&x},P=function(A,N){if(O(A))return A.clone();var j=typeof N=="object"?N:{};return j.date=A,j.args=arguments,new R(j)},T=C;T.l=$,T.i=O,T.w=function(A,N){return P(A,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var R=function(){function A(j){this.$L=$(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[w]=!0}var N=A.prototype;return N.parse=function(j){this.$d=function(D){var L=D.date,B=D.utc;if(L===null)return new Date(NaN);if(T.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var k=L.match(m);if(k){var z=k[2]-1||0,q=(k[7]||"0").substring(0,3);return B?new Date(Date.UTC(k[1],z,k[3]||1,k[4]||0,k[5]||0,k[6]||0,q)):new Date(k[1],z,k[3]||1,k[4]||0,k[5]||0,k[6]||0,q)}}return new Date(L)}(j),this.init()},N.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},N.$utils=function(){return T},N.isValid=function(){return this.$d.toString()!==g},N.isSame=function(j,D){var L=P(j);return this.startOf(D)<=L&&L<=this.endOf(D)},N.isAfter=function(j,D){return P(j)25){var c=a(this).startOf(r).add(1,r).date(u),f=a(this).endOf(n);if(c.isBefore(f))return 1}var h=a(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),d=this.diff(h,n,!0);return d<0?a(this).startOf("week").week():Math.ceil(d)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})}(nV)),nV.exports}var kCt=XDe();const jCt=so(kCt);var rV={exports:{}},d1e;function YDe(){return d1e||(d1e=1,function(e,t){(function(n,r){e.exports=r()})(mo,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})}(rV)),rV.exports}var DCt=YDe();const LCt=so(DCt);var iV={exports:{}},f1e;function ZDe(){return f1e||(f1e=1,function(e,t){(function(n,r){e.exports=r()})(mo,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(a){var l=this,s=this.$locale();if(!this.isValid())return o.bind(this)(a);var u=this.$utils(),c=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return o.bind(this)(c)}}})}(iV)),iV.exports}var zCt=ZDe();const BCt=so(zCt);var oV={exports:{}},p1e;function QDe(){return p1e||(p1e=1,function(e,t){(function(n,r){e.exports=r()})(mo,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,l={},s=function(g){return(g=+g)+(g>68?1900:2e3)},u=function(g){return function(m){this[g]=+m}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var v=m.match(/([+-]|\d\d)/g),y=60*v[1]+(+v[2]||0);return y===0?0:v[0]==="+"?-y:y}(g)}],f=function(g){var m=l[g];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(g,m){var v,y=l.meridiem;if(y){for(var b=1;b<=24;b+=1)if(g.indexOf(y(b,0,m))>-1){v=b>12;break}}else v=g===(m?"pm":"PM");return v},d={A:[a,function(g){this.afternoon=h(g,!1)}],a:[a,function(g){this.afternoon=h(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[i,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[i,u("day")],Do:[a,function(g){var m=l.ordinal,v=g.match(/\d+/);if(this.day=v[0],m)for(var y=1;y<=31;y+=1)m(y).replace(/\[|\]/g,"")===g&&(this.day=y)}],M:[o,u("month")],MM:[i,u("month")],MMM:[a,function(g){var m=f("months"),v=(f("monthsShort")||m.map(function(y){return y.slice(0,3)})).indexOf(g)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[a,function(g){var m=f("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(g){this.year=s(g)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function p(g){var m,v;m=g,v=l&&l.formats;for(var y=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,P,T){var R=T&&T.toUpperCase();return P||v[T]||n[T]||v[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,A,N){return A||N.slice(1)})})).match(r),b=y.length,C=0;C-1)return new Date((D==="X"?1e3:1)*j);var B=p(D)(j),k=B.year,z=B.month,q=B.day,W=B.hours,U=B.minutes,K=B.seconds,X=B.milliseconds,G=B.zone,Y=new Date,J=q||(k||z?1:Y.getDate()),ee=k||Y.getFullYear(),Q=0;k&&!z||(Q=z>0?z-1:Y.getMonth());var te=W||0,ne=U||0,re=K||0,oe=X||0;return G?new Date(Date.UTC(ee,Q,J,te,ne,re,oe+60*G.offset*1e3)):L?new Date(Date.UTC(ee,Q,J,te,ne,re,oe)):new Date(ee,Q,J,te,ne,re,oe)}catch{return new Date("")}}(x,O,S),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),T&&x!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var M=O.length,A=1;A<=M;A+=1){w[1]=O[A-1];var N=v.apply(this,w);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}A===M&&(this.$d=new Date(""))}else b.call(this,C)}}})}(oV)),oV.exports}var FCt=QDe();const HCt=so(FCt);$o.extend(HCt);$o.extend(BCt);$o.extend(ICt);$o.extend(ACt);$o.extend(jCt);$o.extend(LCt);$o.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var a=(o||"").replace("Wo","wo");return r.bind(this)(a)}});var WCt={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},cg=function(t){var n=WCt[t];return n||t.split("_")[0]},h1e=function(){sAe(!1,"Not match any format. Please help to fire a issue about this.")},JDe={getNow:function(){return $o()},getFixedDate:function(t){return $o(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return $o().locale(cg(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(cg(t)).weekday(0)},getWeek:function(t,n){return n.locale(cg(t)).week()},getShortWeekDays:function(t){return $o().locale(cg(t)).localeData().weekdaysMin()},getShortMonths:function(t){return $o().locale(cg(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(cg(t)).format(r)},parse:function(t,n,r){for(var i=cg(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=_.useState([!1,!1]),i=Me(r,2),o=i[0],a=i[1],l=function(c,f){a(function(h){return D9(h,f,c)})},s=_.useMemo(function(){return o.map(function(u,c){if(u)return!0;var f=e[c];return f?!!(!n[c]&&!f||f&&t(f,{activeIndex:c})):!1})},[e,o,t,n]);return[s,l]}function iLe(e,t,n,r,i){var o="",a=[];return e&&a.push(i?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),o=a.join(":"),r&&(o+=".SSS"),i&&(o+=" A"),o}function VCt(e,t,n,r,i,o){var a=e.fieldDateTimeFormat,l=e.fieldDateFormat,s=e.fieldTimeFormat,u=e.fieldMonthFormat,c=e.fieldYearFormat,f=e.fieldWeekFormat,h=e.fieldQuarterFormat,d=e.yearFormat,p=e.cellYearFormat,g=e.cellQuarterFormat,m=e.dayFormat,v=e.cellDateFormat,y=iLe(t,n,r,i,o);return fe(fe({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(y),fieldDateFormat:l||"YYYY-MM-DD",fieldTimeFormat:s||y,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:c||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:h||"YYYY-[Q]Q",yearFormat:d||"YYYY",cellYearFormat:p||"YYYY",cellQuarterFormat:g||"[Q]Q",cellDateFormat:v||m||"D"})}function oLe(e,t){var n=t.showHour,r=t.showMinute,i=t.showSecond,o=t.showMillisecond,a=t.use12Hours;return Se.useMemo(function(){return VCt(e,n,r,i,o,a)},[e,n,r,i,o,a])}function X6(e,t,n){return n??t.some(function(r){return e.includes(r)})}var UCt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function GCt(e){var t=hB(e,UCt),n=e.format,r=e.picker,i=null;return n&&(i=n,Array.isArray(i)&&(i=i[0]),i=bn(i)==="object"?i.format:i),r==="time"&&(t.format=i),[t,i]}function KCt(e){return e&&typeof e=="string"}function aLe(e){var t=e.showTime,n=GCt(e),r=Me(n,2),i=r[0],o=r[1],a=t&&bn(t)==="object"?t:{},l=fe(fe({defaultOpenValue:a.defaultOpenValue||a.defaultValue},i),a),s=l.showMillisecond,u=l.showHour,c=l.showMinute,f=l.showSecond;return!u&&!c&&!f&&!s&&(u=!0,c=!0,f=!0),[l,fe(fe({},l),{},{showHour:u,showMinute:c,showSecond:f,showMillisecond:s}),l.format,o]}function lLe(e,t,n,r,i){var o=e==="time";if(e==="datetime"||o){for(var a=r,l=tLe(e,i,null),s=l,u=[t,n],c=0;c1&&(a=t.addDate(a,-7)),a}function wa(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i=="function"?i(e):n.locale.format(r.locale,e,i):""}function rD(e,t,n){var r=t,i=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(a,l){n?r=e[a](r,e[i[l]](n)):r=e[a](r,0)}),r}function QCt(e,t,n,r,i){var o=ir(function(a,l){return!!(n&&n(a,l)||r&&e.isAfter(r,a)&&!wl(e,t,r,a,l.type)||i&&e.isAfter(a,i)&&!wl(e,t,i,a,l.type))});return o}function JCt(e,t,n){return _.useMemo(function(){var r=tLe(e,t,n),i=By(r),o=i[0],a=bn(o)==="object"&&o.type==="mask"?o.format:null;return[i.map(function(l){return typeof l=="string"||typeof l=="function"?l:l.format}),a]},[e,t,n])}function e6t(e,t,n){return typeof e[0]=="function"||n?!0:t}function t6t(e,t,n,r){var i=ir(function(o,a){var l=fe({type:t},a);if(delete l.activeIndex,!e.isValidate(o)||n&&n(o,l))return!0;if((t==="date"||t==="time")&&r){var s,u=((s=r.disabledTime)===null||s===void 0?void 0:s.call(r,o,a&&a.activeIndex===1?"end":"start"))||{},c=u.disabledHours,f=u.disabledMinutes,h=u.disabledSeconds,d=u.disabledMilliseconds,p=r.disabledHours,g=r.disabledMinutes,m=r.disabledSeconds,v=c||p,y=f||g,b=h||m,C=e.getHour(o),x=e.getMinute(o),S=e.getSecond(o),w=e.getMillisecond(o);if(v&&v().includes(C)||y&&y(C).includes(x)||b&&b(C,x).includes(S)||d&&d(C,x,S).includes(w))return!0}return!1});return i}function dM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=_.useMemo(function(){var r=e&&By(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function uLe(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,o=i===void 0?"date":i,a=e.prefixCls,l=a===void 0?"rc-picker":a,s=e.styles,u=s===void 0?{}:s,c=e.classNames,f=c===void 0?{}:c,h=e.order,d=h===void 0?!0:h,p=e.components,g=p===void 0?{}:p,m=e.inputRender,v=e.allowClear,y=e.clearIcon,b=e.needConfirm,C=e.multiple,x=e.format,S=e.inputReadOnly,w=e.disabledDate,O=e.minDate,$=e.maxDate,P=e.showTime,T=e.value,R=e.defaultValue,M=e.pickerValue,A=e.defaultPickerValue,N=dM(T),j=dM(R),D=dM(M),L=dM(A),B=o==="date"&&P?"datetime":o,k=B==="time"||B==="datetime",z=k||C,q=b??k,W=aLe(e),U=Me(W,4),K=U[0],X=U[1],G=U[2],Y=U[3],J=oLe(r,X),ee=_.useMemo(function(){return lLe(B,G,Y,K,J)},[B,G,Y,K,J]),Q=_.useMemo(function(){return fe(fe({},e),{},{prefixCls:l,locale:J,picker:o,styles:u,classNames:f,order:d,components:fe({input:m},g),clearIcon:XCt(l,v,y),showTime:ee,value:N,defaultValue:j,pickerValue:D,defaultPickerValue:L},t==null?void 0:t())},[e]),te=JCt(B,J,x),ne=Me(te,2),re=ne[0],oe=ne[1],se=e6t(re,S,C),ye=QCt(n,r,w,O,$),be=t6t(n,o,w,ee),he=_.useMemo(function(){return fe(fe({},Q),{},{needConfirm:q,inputReadOnly:se,disabledDate:ye})},[Q,q,se,ye]);return[he,B,z,re,oe,be]}function n6t(e,t,n){var r=zn(t,{value:e}),i=Me(r,2),o=i[0],a=i[1],l=Se.useRef(e),s=Se.useRef(),u=function(){rr.cancel(s.current)},c=ir(function(){a(l.current),n&&o!==l.current&&n(l.current)}),f=ir(function(h,d){u(),l.current=h,h||d?c():s.current=rr(c)});return Se.useEffect(function(){return u},[]),[o,f]}function dLe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=n.every(function(c){return c})?!1:e,o=n6t(i,t||!1,r),a=Me(o,2),l=a[0],s=a[1];function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||l)&&s(c,f.force)}return[l,u]}function fLe(e){var t=_.useRef();return _.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(){var i;(i=t.current)===null||i===void 0||i.focus()},blur:function(){var i;(i=t.current)===null||i===void 0||i.blur()}}}),t}function pLe(e,t){return _.useMemo(function(){return e||(t?(Dr(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=Me(n,2),i=r[0],o=r[1];return{label:i,value:o}})):[])},[e,t])}function Hre(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=_.useRef(t);r.current=t,jv(function(){if(e)r.current(e);else{var i=rr(function(){r.current(e)},n);return function(){rr.cancel(i)}}},[e])}function hLe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=_.useState(0),r=Me(n,2),i=r[0],o=r[1],a=_.useState(!1),l=Me(a,2),s=l[0],u=l[1],c=_.useRef([]),f=_.useRef(null),h=function(m){u(m)},d=function(m){return m&&(f.current=m),f.current},p=function(m){var v=c.current,y=new Set(v.filter(function(C){return m[C]||t[C]})),b=v[v.length-1]===0?1:0;return y.size>=2||e[b]?null:b};return Hre(s,function(){s||(c.current=[])}),_.useEffect(function(){s&&c.current.push(i)},[s,i]),[s,h,d,i,o,p,c.current]}function r6t(e,t,n,r,i,o){var a=n[n.length-1],l=n.find(function(u){return e[u]}),s=function(c,f){var h=Me(e,2),d=h[0],p=h[1],g=fe(fe({},f),{},{from:a!==l?e[l]:void 0});return a===1&&t[0]&&d&&!wl(r,i,d,c,g.type)&&r.isAfter(d,c)||a===0&&t[1]&&p&&!wl(r,i,p,c,g.type)&&r.isAfter(c,p)?!0:o==null?void 0:o(c,g)};return s}function J8(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var lV=[];function gLe(e,t,n,r,i,o,a,l){var s=arguments.length>8&&arguments[8]!==void 0?arguments[8]:lV,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:lV,c=arguments.length>10&&arguments[10]!==void 0?arguments[10]:lV,f=arguments.length>11?arguments[11]:void 0,h=arguments.length>12?arguments[12]:void 0,d=arguments.length>13?arguments[13]:void 0,p=a==="time",g=o||0,m=function(D){var L=e.getNow();return p&&(L=rD(e,L)),s[D]||n[D]||L},v=Me(u,2),y=v[0],b=v[1],C=zn(function(){return m(0)},{value:y}),x=Me(C,2),S=x[0],w=x[1],O=zn(function(){return m(1)},{value:b}),$=Me(O,2),P=$[0],T=$[1],R=_.useMemo(function(){var j=[S,P][g];return p?j:rD(e,j,c[g])},[p,S,P,g,e,c]),M=function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",B=[w,T][g];B(D);var k=[S,P];k[g]=D,f&&(!wl(e,t,S,k[0],a)||!wl(e,t,P,k[1],a))&&f(k,{source:L,range:g===1?"end":"start",mode:r})},A=function(D,L){if(l){var B={date:"month",week:"month",month:"year",quarter:"year"},k=B[a];if(k&&!wl(e,t,D,L,k))return J8(e,a,L,-1);if(a==="year"){var z=Math.floor(e.getYear(D)/10),q=Math.floor(e.getYear(L)/10);if(z!==q)return J8(e,a,L,-1)}}return L},N=_.useRef(null);return er(function(){if(i&&!s[g]){var j=p?null:e.getNow();if(N.current!==null&&N.current!==g?j=[S,P][g^1]:n[g]?j=g===0?n[0]:A(n[0],n[1]):n[g^1]&&(j=n[g^1]),j){h&&e.isAfter(h,j)&&(j=h);var D=l?J8(e,a,j,1):j;d&&e.isAfter(D,d)&&(j=J8(e,a,d,-1)),M(j,"reset")}}},[i,g,n[g]]),_.useEffect(function(){i?N.current=g:N.current=null},[i,g]),er(function(){i&&s&&s[g]&&M(s[g],"reset")},[i,g]),[R,M]}function mLe(e,t){var n=_.useRef(e),r=_.useState({}),i=Me(r,2),o=i[1],a=function(u){return u&&t!==void 0?t:n.current},l=function(u){n.current=u,o({})};return[a,l,a(!0)]}var i6t=[];function vLe(e,t,n){var r=function(a){return a.map(function(l){return wa(l,{generateConfig:e,locale:t,format:n[0]})})},i=function(a,l){for(var s=Math.max(a.length,l.length),u=-1,c=0;c2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,a=[],l=n>=1?n|0:1,s=e;s<=t;s+=l){var u=i.includes(s);(!u||!r)&&a.push({label:Lre(s,o),value:s,disabled:u})}return a}function Wre(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,o=r.hourStep,a=o===void 0?1:o,l=r.minuteStep,s=l===void 0?1:l,u=r.secondStep,c=u===void 0?1:u,f=r.millisecondStep,h=f===void 0?100:f,d=r.hideDisabledOptions,p=r.disabledTime,g=r.disabledHours,m=r.disabledMinutes,v=r.disabledSeconds,y=_.useMemo(function(){return n||e.getNow()},[n,e]),b=_.useCallback(function(L){var B=(p==null?void 0:p(L))||{};return[B.disabledHours||g||fM,B.disabledMinutes||m||fM,B.disabledSeconds||v||fM,B.disabledMilliseconds||fM]},[p,g,m,v]),C=_.useMemo(function(){return b(y)},[y,b]),x=Me(C,4),S=x[0],w=x[1],O=x[2],$=x[3],P=_.useCallback(function(L,B,k,z){var q=pM(0,23,a,d,L()),W=i?q.map(function(G){return fe(fe({},G),{},{label:Lre(G.value%12||12,2)})}):q,U=function(Y){return pM(0,59,s,d,B(Y))},K=function(Y,J){return pM(0,59,c,d,k(Y,J))},X=function(Y,J,ee){return pM(0,999,h,d,z(Y,J,ee),3)};return[W,U,K,X]},[d,a,i,h,s,c]),T=_.useMemo(function(){return P(S,w,O,$)},[P,S,w,O,$]),R=Me(T,4),M=R[0],A=R[1],N=R[2],j=R[3],D=function(B,k){var z=function(){return M},q=A,W=N,U=j;if(k){var K=b(k),X=Me(K,4),G=X[0],Y=X[1],J=X[2],ee=X[3],Q=P(G,Y,J,ee),te=Me(Q,4),ne=te[0],re=te[1],oe=te[2],se=te[3];z=function(){return ne},q=re,W=oe,U=se}var ye=a6t(B,z,q,W,U,e);return ye};return[D,M,A,N,j]}function l6t(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,i=e.showNow,o=e.showTime,a=e.onSubmit,l=e.onNow,s=e.invalid,u=e.needConfirm,c=e.generateConfig,f=e.disabledDate,h=_.useContext(Md),d=h.prefixCls,p=h.locale,g=h.button,m=g===void 0?"button":g,v=c.getNow(),y=Wre(c,o,v),b=Me(y,1),C=b[0],x=r==null?void 0:r(t),S=f(v,{type:t}),w=function(){if(!S){var A=C(v);l(A)}},O="".concat(d,"-now"),$="".concat(O,"-btn"),P=i&&_.createElement("li",{className:O},_.createElement("a",{className:Re($,S&&"".concat($,"-disabled")),"aria-disabled":S,onClick:w},n==="date"?p.today:p.now)),T=u&&_.createElement("li",{className:"".concat(d,"-ok")},_.createElement(m,{disabled:s,onClick:a},p.ok)),R=(P||T)&&_.createElement("ul",{className:"".concat(d,"-ranges")},P,T);return!x&&!R?null:_.createElement("div",{className:"".concat(d,"-footer")},x&&_.createElement("div",{className:"".concat(d,"-footer-extra")},x),R)}function xLe(e,t,n){function r(i,o){var a=i.findIndex(function(s){return wl(e,t,s,o,n)});if(a===-1)return[].concat(vt(i),[o]);var l=vt(i);return l.splice(a,1),l}return r}var Fy=_.createContext(null);function mB(){return _.useContext(Fy)}function hC(e,t){var n=e.prefixCls,r=e.generateConfig,i=e.locale,o=e.disabledDate,a=e.minDate,l=e.maxDate,s=e.cellRender,u=e.hoverValue,c=e.hoverRangeValue,f=e.onHover,h=e.values,d=e.pickerValue,p=e.onSelect,g=e.prevIcon,m=e.nextIcon,v=e.superPrevIcon,y=e.superNextIcon,b=r.getNow(),C={now:b,values:h,pickerValue:d,prefixCls:n,disabledDate:o,minDate:a,maxDate:l,cellRender:s,hoverValue:u,hoverRangeValue:c,onHover:f,locale:i,generateConfig:r,onSelect:p,panelType:t,prevIcon:g,nextIcon:m,superPrevIcon:v,superNextIcon:y};return[C,b]}var r0=_.createContext({});function R$(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,i=e.getCellDate,o=e.prefixColumn,a=e.rowClassName,l=e.titleFormat,s=e.getCellText,u=e.getCellClassName,c=e.headerCells,f=e.cellSelection,h=f===void 0?!0:f,d=e.disabledDate,p=mB(),g=p.prefixCls,m=p.panelType,v=p.now,y=p.disabledDate,b=p.cellRender,C=p.onHover,x=p.hoverValue,S=p.hoverRangeValue,w=p.generateConfig,O=p.values,$=p.locale,P=p.onSelect,T=d||y,R="".concat(g,"-cell"),M=_.useContext(r0),A=M.onCellDblClick,N=function(W){return O.some(function(U){return U&&wl(w,$,W,U,m)})},j=[],D=0;D1&&arguments[1]!==void 0?arguments[1]:!1;ke(Ee),m==null||m(Ee),$e&&Ie(Ee)},Pe=function(Ee,$e){J(Ee),$e&&Oe($e),Ie($e,Ee)},_e=function(Ee){if(be(Ee),Oe(Ee),Y!==C){var $e=["decade","year"],Le=[].concat($e,["month"]),Fe={quarter:[].concat($e,["quarter"]),week:[].concat(vt(Le),["week"]),date:[].concat(vt(Le),["date"])},Ke=Fe[C]||Le,lt=Ke.indexOf(Y),ft=Ke[lt+1];ft&&Pe(ft,Ee)}},ce=_.useMemo(function(){var me,Ee;if(Array.isArray(w)){var $e=Me(w,2);me=$e[0],Ee=$e[1]}else me=w;return!me&&!Ee?null:(me=me||Ee,Ee=Ee||me,i.isAfter(me,Ee)?[Ee,me]:[me,Ee])},[w,i]),Te=zre(O,$,P),Ne=R[ee]||y6t[ee]||vB,je=_.useContext(r0),He=_.useMemo(function(){return fe(fe({},je),{},{hideHeader:M})},[je,M]),Be="".concat(A,"-panel"),qe=hB(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return _.createElement(r0.Provider,{value:He},_.createElement("div",{ref:N,tabIndex:s,className:Re(Be,ue({},"".concat(Be,"-rtl"),o==="rtl"))},_.createElement(Ne,Qe({},qe,{showTime:U,prefixCls:A,locale:q,generateConfig:i,onModeChange:Pe,pickerValue:ve,onPickerValueChange:function(Ee){Oe(Ee,!0)},value:se[0],onSelect:_e,values:se,cellRender:Te,hoverRangeValue:ce,hoverValue:S}))))}var L9=_.memo(_.forwardRef(b6t));function C6t(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,i=e.onPickerValueChange,o=e.onSubmit,a=e.range,l=e.hoverValue,s=_.useContext(Md),u=s.prefixCls,c=s.generateConfig,f=_.useCallback(function(v,y){return J8(c,t,v,y)},[c,t]),h=_.useMemo(function(){return f(r,1)},[r,f]),d=function(y){i(f(y,-1))},p={onCellDblClick:function(){o()}},g=t==="time",m=fe(fe({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:g});return a?m.hoverRangeValue=l:m.hoverValue=l,n?_.createElement("div",{className:"".concat(u,"-panels")},_.createElement(r0.Provider,{value:fe(fe({},p),{},{hideNext:!0})},_.createElement(L9,m)),_.createElement(r0.Provider,{value:fe(fe({},p),{},{hidePrev:!0})},_.createElement(L9,Qe({},m,{pickerValue:h,onPickerValueChange:d})))):_.createElement(r0.Provider,{value:fe({},p)},_.createElement(L9,m))}function m1e(e){return typeof e=="function"?e():e}function S6t(e){var t=e.prefixCls,n=e.presets,r=e.onClick,i=e.onHover;return n.length?_.createElement("div",{className:"".concat(t,"-presets")},_.createElement("ul",null,n.map(function(o,a){var l=o.label,s=o.value;return _.createElement("li",{key:a,onClick:function(){r(m1e(s))},onMouseEnter:function(){i(m1e(s))},onMouseLeave:function(){i(null)}},l)}))):null}function wLe(e){var t=e.panelRender,n=e.internalMode,r=e.picker,i=e.showNow,o=e.range,a=e.multiple,l=e.activeOffset,s=l===void 0?0:l,u=e.presets,c=e.onPresetHover,f=e.onPresetSubmit,h=e.onFocus,d=e.onBlur,p=e.direction,g=e.value,m=e.onSelect,v=e.isInvalid,y=e.defaultOpenValue,b=e.onOk,C=e.onSubmit,x=_.useContext(Md),S=x.prefixCls,w="".concat(S,"-panel"),O=p==="rtl",$=_.useRef(null),P=_.useRef(null),T=_.useState(0),R=Me(T,2),M=R[0],A=R[1],N=_.useState(0),j=Me(N,2),D=j[0],L=j[1],B=function(ne){ne.offsetWidth&&A(ne.offsetWidth)};_.useEffect(function(){if(o){var te,ne=((te=$.current)===null||te===void 0?void 0:te.offsetWidth)||0,re=M-ne;s<=re?L(0):L(s+ne-M)}},[M,s,o]);function k(te){return te.filter(function(ne){return ne})}var z=_.useMemo(function(){return k(By(g))},[g]),q=r==="time"&&!z.length,W=_.useMemo(function(){return q?k([y]):z},[q,z,y]),U=q?y:z,K=_.useMemo(function(){return W.length?W.some(function(te){return v(te)}):!0},[W,v]),X=function(){q&&m(y),b(),C()},G=_.createElement("div",{className:"".concat(S,"-panel-layout")},_.createElement(S6t,{prefixCls:S,presets:u,onClick:f,onHover:c}),_.createElement("div",null,_.createElement(C6t,Qe({},e,{value:U})),_.createElement(l6t,Qe({},e,{showNow:a?!1:i,invalid:K,onSubmit:X}))));t&&(G=t(G));var Y="".concat(w,"-container"),J="marginLeft",ee="marginRight",Q=_.createElement("div",{tabIndex:-1,className:Re(Y,"".concat(S,"-").concat(n,"-panel-container")),style:ue(ue({},O?ee:J,D),O?J:ee,"auto"),onFocus:h,onBlur:d},G);return o&&(Q=_.createElement("div",{ref:P,className:Re("".concat(S,"-range-wrapper"),"".concat(S,"-").concat(r,"-range-wrapper"))},_.createElement("div",{ref:$,className:"".concat(S,"-range-arrow"),style:ue({},O?"right":"left",s)}),_.createElement(Ba,{onResize:B},Q))),Q}function OLe(e,t){var n=e.format,r=e.maskFormat,i=e.generateConfig,o=e.locale,a=e.preserveInvalidOnBlur,l=e.inputReadOnly,s=e.required,u=e["aria-required"],c=e.onSubmit,f=e.onFocus,h=e.onBlur,d=e.onInputChange,p=e.onInvalid,g=e.open,m=e.onOpenChange,v=e.onKeyDown,y=e.onChange,b=e.activeHelp,C=e.name,x=e.autoComplete,S=e.id,w=e.value,O=e.invalid,$=e.placeholder,P=e.disabled,T=e.activeIndex,R=e.allHelp,M=e.picker,A=function(q,W){var U=i.locale.parse(o.locale,q,[W]);return U&&i.isValidate(U)?U:null},N=n[0],j=_.useCallback(function(z){return wa(z,{locale:o,format:N,generateConfig:i})},[o,i,N]),D=_.useMemo(function(){return w.map(j)},[w,j]),L=_.useMemo(function(){var z=M==="time"?8:10,q=typeof N=="function"?N(i.getNow()).length:N.length;return Math.max(z,q)+2},[N,M,i]),B=function(q){for(var W=0;W=l&&n<=s)return o;var u=Math.min(Math.abs(n-l),Math.abs(n-s));u0?Je:bt));var Ze=rt+De,wt=bt-Je+1;return String(Je+(wt+Ze-Je)%wt)};switch(Ee){case"Backspace":case"Delete":$e="",Le=Ke;break;case"ArrowLeft":$e="",lt(-1);break;case"ArrowRight":$e="",lt(1);break;case"ArrowUp":$e="",Le=ft(1);break;case"ArrowDown":$e="",Le=ft(-1);break;default:isNaN(Number(Ee))||($e=z+Ee,Le=$e);break}if($e!==null&&(q($e),$e.length>=Fe&&(lt(1),q(""))),Le!==null){var Ye=Q.slice(0,ye)+Lre(Le,Fe)+Q.slice(be);le(Ye.slice(0,a.length))}ee({})},He=_.useRef();er(function(){if(!(!M||!a||Ie.current)){if(!re.match(Q)){le(a);return}return ne.current.setSelectionRange(ye,be),He.current=rr(function(){ne.current.setSelectionRange(ye,be)}),function(){rr.cancel(He.current)}}},[re,a,M,Q,K,ye,be,J,le]);var Be=a?{onFocus:_e,onBlur:Te,onKeyDown:je,onMouseDown:Oe,onMouseUp:Pe,onPaste:ke}:{};return _.createElement("div",{ref:te,className:Re(P,ue(ue({},"".concat(P,"-active"),n&&i),"".concat(P,"-placeholder"),u))},_.createElement($,Qe({ref:ne,"aria-invalid":g,autoComplete:"off"},v,{onKeyDown:Ne,onBlur:ce},Be,{value:Q,onChange:ve})),_.createElement(yB,{type:"suffix",icon:o}),m)}),P6t=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","onMouseDown","required","aria-required","autoFocus"];function T6t(e,t){var n=e.id,r=e.clearIcon,i=e.suffixIcon,o=e.separator,a=o===void 0?"~":o,l=e.activeIndex;e.activeHelp,e.allHelp;var s=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,c=e.className,f=e.style,h=e.onClick,d=e.onClear,p=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,m=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveOffset,b=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,x=an(e,P6t),S=v==="rtl",w=_.useContext(Md),O=w.prefixCls,$=_.useMemo(function(){if(typeof n=="string")return[n];var Y=n||{};return[Y.start,Y.end]},[n]),P=_.useRef(),T=_.useRef(),R=_.useRef(),M=function(J){var ee;return(ee=[T,R][J])===null||ee===void 0?void 0:ee.current};_.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(){var J,ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;(J=M(ee))===null||J===void 0||J.focus()},blur:function(){var J,ee;(J=M(0))===null||J===void 0||J.blur(),(ee=M(1))===null||ee===void 0||ee.blur()}}});var A=ELe(x),N=_.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),j=OLe(fe(fe({},e),{},{id:$,placeholder:N})),D=Me(j,1),L=D[0],B=S?"right":"left",k=_.useState(ue({position:"absolute",width:0},B,0)),z=Me(k,2),q=z[0],W=z[1],U=ir(function(){var Y=M(l);if(Y){var J=Y.nativeElement,ee=J.offsetWidth,Q=J.offsetLeft,te=J.offsetParent,ne=Q;if(S){var re=te,oe=getComputedStyle(re);ne=re.offsetWidth-parseFloat(oe.borderRightWidth)-parseFloat(oe.borderLeftWidth)-Q-ee}W(function(se){return fe(fe({},se),{},ue({width:ee},B,ne))}),y(l===0?0:ne)}});_.useEffect(function(){U()},[l]);var K=r&&(p[0]&&!g[0]||p[1]&&!g[1]),X=C&&!g[0],G=C&&!X&&!g[1];return _.createElement(Ba,{onResize:U},_.createElement("div",Qe({},A,{className:Re(O,"".concat(O,"-range"),ue(ue(ue(ue({},"".concat(O,"-focused"),s),"".concat(O,"-disabled"),g.every(function(Y){return Y})),"".concat(O,"-invalid"),m.some(function(Y){return Y})),"".concat(O,"-rtl"),S),c),style:f,ref:P,onClick:h,onMouseDown:function(J){var ee=J.target;ee!==T.current.inputElement&&ee!==R.current.inputElement&&J.preventDefault(),b==null||b(J)}}),_.createElement(dQ,Qe({ref:T},L(0),{autoFocus:X,"date-range":"start"})),_.createElement("div",{className:"".concat(O,"-range-separator")},a),_.createElement(dQ,Qe({ref:R},L(1),{autoFocus:G,"date-range":"end"})),_.createElement("div",{className:"".concat(O,"-active-bar"),style:q}),_.createElement(yB,{type:"suffix",icon:i}),K&&_.createElement(uQ,{icon:r,onClear:d})))}var M6t=_.forwardRef(T6t);function y1e(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function gM(e){return e===1?"end":"start"}function R6t(e,t){var n=uLe(e,function(){var qt=e.disabled,Yt=e.allowEmpty,Mn=y1e(qt,!1),Zn=y1e(Yt,!1);return{disabled:Mn,allowEmpty:Zn}}),r=Me(n,6),i=r[0],o=r[1],a=r[2],l=r[3],s=r[4],u=r[5],c=i.prefixCls,f=i.styles,h=i.classNames,d=i.defaultValue,p=i.value,g=i.needConfirm,m=i.onKeyDown,v=i.disabled,y=i.allowEmpty,b=i.disabledDate,C=i.minDate,x=i.maxDate,S=i.defaultOpen,w=i.open,O=i.onOpenChange,$=i.locale,P=i.generateConfig,T=i.picker,R=i.showNow,M=i.showToday,A=i.showTime,N=i.mode,j=i.onPanelChange,D=i.onCalendarChange,L=i.onOk,B=i.defaultPickerValue,k=i.pickerValue,z=i.onPickerValueChange,q=i.inputReadOnly,W=i.suffixIcon,U=i.onFocus,K=i.onBlur,X=i.presets,G=i.ranges,Y=i.components,J=i.cellRender,ee=i.dateRender,Q=i.monthCellRender,te=i.onClick,ne=fLe(t),re=dLe(w,S,v,O),oe=Me(re,2),se=oe[0],ye=oe[1],be=function(Yt,Mn){(v.some(function(Zn){return!Zn})||!Yt)&&ye(Yt,Mn)},he=bLe(P,$,l,!0,!1,d,p,D,L),le=Me(he,5),ve=le[0],ke=le[1],Ie=le[2],Oe=le[3],Pe=le[4],_e=Ie(),ce=hLe(v,y),Te=Me(ce,7),Ne=Te[0],je=Te[1],He=Te[2],Be=Te[3],qe=Te[4],me=Te[5],Ee=Te[6],$e=function(Yt,Mn){je(!0),U==null||U(Yt,{range:gM(Mn??Be)})},Le=function(Yt,Mn){je(!1),K==null||K(Yt,{range:gM(Mn??Be)})},Fe=_.useMemo(function(){if(!A)return null;var qt=A.disabledTime,Yt=qt?function(Mn){var Zn=gM(Be);return qt(Mn,Zn)}:void 0;return fe(fe({},A),{},{disabledTime:Yt})},[A,Be]),Ke=zn([T,T],{value:N}),lt=Me(Ke,2),ft=lt[0],Ye=lt[1],we=ft[Be]||T,De=we==="date"&&Fe?"datetime":we,We=De===T&&De!=="time",Ge=SLe(T,we,R,M,!0),Je=CLe(i,ve,ke,Ie,Oe,v,l,Ne,se,u),bt=Me(Je,2),at=bt[0],et=bt[1],rt=r6t(_e,v,Ee,P,$,b),Ze=rLe(_e,u,y),wt=Me(Ze,2),ut=wt[0],ot=wt[1],dt=gLe(P,$,_e,ft,se,Be,o,We,B,k,Fe==null?void 0:Fe.defaultOpenValue,z,C,x),_t=Me(dt,2),Ot=_t[0],Ct=_t[1],mt=ir(function(qt,Yt,Mn){var Zn=D9(ft,Be,Yt);if((Zn[0]!==ft[0]||Zn[1]!==ft[1])&&Ye(Zn),j&&Mn!==!1){var $r=vt(_e);qt&&($r[Be]=qt),j($r,Zn)}}),It=function(Yt,Mn){return D9(_e,Mn,Yt)},nt=function(Yt,Mn){var Zn=_e;Yt&&(Zn=It(Yt,Be));var $r=me(Zn);Oe(Zn),at(Be,$r===null),$r===null?be(!1,{force:!0}):Mn||ne.current.focus($r)},yt=function(Yt){if(!ne.current.nativeElement.contains(document.activeElement)){var Mn=v.findIndex(function(Zn){return!Zn});Mn>=0&&ne.current.focus(Mn)}be(!0),te==null||te(Yt)},xt=function(){et(null),be(!1,{force:!0})},At=_.useState(null),cn=Me(At,2),Ht=cn[0],$t=cn[1],zt=_.useState(null),Qt=Me(zt,2),Pt=Qt[0],ct=Qt[1],Wt=_.useMemo(function(){return Pt||_e},[_e,Pt]);_.useEffect(function(){se||ct(null)},[se]);var wn=_.useState(0),kt=Me(wn,2),gt=kt[0],Bt=kt[1],Nn=pLe(X,G),Or=function(Yt){ct(Yt),$t("preset")},Ar=function(Yt){var Mn=et(Yt);Mn&&be(!1,{force:!0})},ei=function(Yt){nt(Yt)},ar=function(Yt){ct(Yt?It(Yt,Be):null),$t("cell")},Sn=function(Yt){be(!0),$e(Yt)},pi=function(Yt){He("panel");var Mn=D9(_e,Be,Yt);Oe(Mn),!g&&!a&&o===De&&nt(Yt)},On=function(){be(!1)},En=zre(J,ee,Q,gM(Be)),en=_e[Be]||null,gn=ir(function(qt){return u(qt,{activeIndex:Be})}),qn=_.useMemo(function(){var qt=qo(i,!1),Yt=bi(i,[].concat(vt(Object.keys(qt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return Yt},[i]),yr=_.createElement(wLe,Qe({},qn,{showNow:Ge,showTime:Fe,range:!0,multiplePanel:We,activeOffset:gt,disabledDate:rt,onFocus:Sn,onBlur:Le,picker:T,mode:we,internalMode:De,onPanelChange:mt,format:s,value:en,isInvalid:gn,onChange:null,onSelect:pi,pickerValue:Ot,defaultOpenValue:By(A==null?void 0:A.defaultOpenValue)[Be],onPickerValueChange:Ct,hoverValue:Wt,onHover:ar,needConfirm:g,onSubmit:nt,onOk:Pe,presets:Nn,onPresetHover:Or,onPresetSubmit:Ar,onNow:ei,cellRender:En})),mn=function(Yt,Mn){var Zn=It(Yt,Mn);Oe(Zn)},Zt=function(){He("input")},nn=function(Yt,Mn){He("input"),be(!0,{inherit:!0}),qe(Mn),$e(Yt,Mn)},Dn=function(Yt,Mn){be(!1),Le(Yt,Mn)},Xn=function(Yt,Mn){Yt.key==="Tab"&&nt(null,!0),m==null||m(Yt,Mn)},cr=_.useMemo(function(){return{prefixCls:c,locale:$,generateConfig:P,button:Y.button,input:Y.input}},[c,$,P,Y.button,Y.input]);return er(function(){se&&Be!==void 0&&mt(null,T,!1)},[se,Be,T]),er(function(){var qt=He();!se&&qt==="input"&&(be(!1),nt(null,!0)),!se&&a&&!g&&qt==="panel"&&(be(!0),nt())},[se]),_.createElement(Md.Provider,{value:cr},_.createElement(eLe,Qe({},nLe(i),{popupElement:yr,popupStyle:f.popup,popupClassName:h.popup,visible:se,onClose:On,range:!0}),_.createElement(M6t,Qe({},i,{ref:ne,suffixIcon:W,activeIndex:Ne||se?Be:null,activeHelp:!!Pt,allHelp:!!Pt&&Ht==="preset",focused:Ne,onFocus:nn,onBlur:Dn,onKeyDown:Xn,onSubmit:nt,value:Wt,maskFormat:s,onChange:mn,onInputChange:Zt,format:l,inputReadOnly:q,disabled:v,open:se,onOpenChange:be,onClick:yt,onClear:xt,invalid:ut,onInvalid:ot,onActiveOffset:Bt}))))}var $Le=_.forwardRef(R6t);function I6t(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,o=i===void 0?"×":i,a=e.formatDate,l=e.disabled,s=e.maxTagCount,u="".concat(t,"-selector"),c="".concat(t,"-selection"),f="".concat(c,"-overflow");function h(g,m){return _.createElement("span",{className:Re("".concat(c,"-item")),title:typeof g=="string"?g:null},_.createElement("span",{className:"".concat(c,"-item-content")},g),!l&&m&&_.createElement("span",{onMouseDown:function(y){y.preventDefault()},onClick:m,className:"".concat(c,"-item-remove")},o))}function d(g){var m=a(g),v=function(b){b&&b.stopPropagation(),r(g)};return h(m,v)}function p(g){var m="+ ".concat(g.length," ...");return h(m)}return _.createElement("div",{className:u},_.createElement(bd,{prefixCls:f,data:n,renderItem:d,renderRest:p,itemKey:function(m){return a(m)},maxCount:s}))}var N6t=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function A6t(e,t){e.id;var n=e.open,r=e.clearIcon,i=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var a=e.locale,l=e.generateConfig;e.placeholder;var s=e.className,u=e.style,c=e.onClick,f=e.onClear,h=e.internalPicker,d=e.value,p=e.onChange,g=e.onSubmit;e.onInputChange;var m=e.multiple,v=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var y=e.disabled,b=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var x=e.onMouseDown;e.required,e["aria-required"];var S=e.autoFocus,w=e.removeIcon,O=an(e,N6t),$=C==="rtl",P=_.useContext(Md),T=P.prefixCls,R=_.useRef(),M=_.useRef();_.useImperativeHandle(t,function(){return{nativeElement:R.current,focus:function(){var U;(U=M.current)===null||U===void 0||U.focus()},blur:function(){var U;(U=M.current)===null||U===void 0||U.blur()}}});var A=ELe(O),N=function(U){p([U])},j=function(U){var K=d.filter(function(X){return X&&!wl(l,a,X,U,h)});p(K),n||g()},D=OLe(fe(fe({},e),{},{onChange:N}),function(W){var U=W.valueTexts;return{value:U[0]||"",active:o}}),L=Me(D,2),B=L[0],k=L[1],z=!!(r&&d.length&&!y),q=m?_.createElement(_.Fragment,null,_.createElement(I6t,{prefixCls:T,value:d,onRemove:j,formatDate:k,maxTagCount:v,disabled:y,removeIcon:w}),_.createElement("input",{className:"".concat(T,"-multiple-input"),value:d.map(k).join(","),ref:M,readOnly:!0,autoFocus:S}),_.createElement(yB,{type:"suffix",icon:i}),z&&_.createElement(uQ,{icon:r,onClear:f})):_.createElement(dQ,Qe({ref:M},B(),{autoFocus:S,suffixIcon:i,clearIcon:z&&_.createElement(uQ,{icon:r,onClear:f}),showActiveCls:!1}));return _.createElement("div",Qe({},A,{className:Re(T,ue(ue(ue(ue(ue({},"".concat(T,"-multiple"),m),"".concat(T,"-focused"),o),"".concat(T,"-disabled"),y),"".concat(T,"-invalid"),b),"".concat(T,"-rtl"),$),s),style:u,ref:R,onClick:c,onMouseDown:function(U){var K,X=U.target;X!==((K=M.current)===null||K===void 0?void 0:K.inputElement)&&U.preventDefault(),x==null||x(U)}}),q)}var k6t=_.forwardRef(A6t);function j6t(e,t){var n=uLe(e),r=Me(n,6),i=r[0],o=r[1],a=r[2],l=r[3],s=r[4],u=r[5],c=i,f=c.prefixCls,h=c.styles,d=c.classNames,p=c.order,g=c.defaultValue,m=c.value,v=c.needConfirm,y=c.onChange,b=c.onKeyDown,C=c.disabled,x=c.disabledDate,S=c.minDate,w=c.maxDate,O=c.defaultOpen,$=c.open,P=c.onOpenChange,T=c.locale,R=c.generateConfig,M=c.picker,A=c.showNow,N=c.showToday,j=c.showTime,D=c.mode,L=c.onPanelChange,B=c.onCalendarChange,k=c.onOk,z=c.multiple,q=c.defaultPickerValue,W=c.pickerValue,U=c.onPickerValueChange,K=c.inputReadOnly,X=c.suffixIcon,G=c.removeIcon,Y=c.onFocus,J=c.onBlur,ee=c.presets,Q=c.components,te=c.cellRender,ne=c.dateRender,re=c.monthCellRender,oe=c.onClick,se=fLe(t);function ye(Zt){return Zt===null?null:z?Zt:Zt[0]}var be=xLe(R,T,o),he=dLe($,O,[C],P),le=Me(he,2),ve=le[0],ke=le[1],Ie=function(nn,Dn,Xn){if(B){var cr=fe({},Xn);delete cr.range,B(ye(nn),ye(Dn),cr)}},Oe=function(nn){k==null||k(ye(nn))},Pe=bLe(R,T,l,!1,p,g,m,Ie,Oe),_e=Me(Pe,5),ce=_e[0],Te=_e[1],Ne=_e[2],je=_e[3],He=_e[4],Be=Ne(),qe=hLe([C]),me=Me(qe,4),Ee=me[0],$e=me[1],Le=me[2],Fe=me[3],Ke=function(nn){$e(!0),Y==null||Y(nn,{})},lt=function(nn){$e(!1),J==null||J(nn,{})},ft=zn(M,{value:D}),Ye=Me(ft,2),we=Ye[0],De=Ye[1],We=we==="date"&&j?"datetime":we,Ge=SLe(M,we,A,N),Je=y&&function(Zt,nn){y(ye(Zt),ye(nn))},bt=CLe(fe(fe({},i),{},{onChange:Je}),ce,Te,Ne,je,[],l,Ee,ve,u),at=Me(bt,2),et=at[1],rt=rLe(Be,u),Ze=Me(rt,2),wt=Ze[0],ut=Ze[1],ot=_.useMemo(function(){return wt.some(function(Zt){return Zt})},[wt]),dt=function(nn,Dn){if(U){var Xn=fe(fe({},Dn),{},{mode:Dn.mode[0]});delete Xn.range,U(nn[0],Xn)}},_t=gLe(R,T,Be,[we],ve,Fe,o,!1,q,W,By(j==null?void 0:j.defaultOpenValue),dt,S,w),Ot=Me(_t,2),Ct=Ot[0],mt=Ot[1],It=ir(function(Zt,nn,Dn){if(De(nn),L&&Dn!==!1){var Xn=Zt||Be[Be.length-1];L(Xn,nn)}}),nt=function(){et(Ne()),ke(!1,{force:!0})},yt=function(nn){!C&&!se.current.nativeElement.contains(document.activeElement)&&se.current.focus(),ke(!0),oe==null||oe(nn)},xt=function(){et(null),ke(!1,{force:!0})},At=_.useState(null),cn=Me(At,2),Ht=cn[0],$t=cn[1],zt=_.useState(null),Qt=Me(zt,2),Pt=Qt[0],ct=Qt[1],Wt=_.useMemo(function(){var Zt=[Pt].concat(vt(Be)).filter(function(nn){return nn});return z?Zt:Zt.slice(0,1)},[Be,Pt,z]),wn=_.useMemo(function(){return!z&&Pt?[Pt]:Be.filter(function(Zt){return Zt})},[Be,Pt,z]);_.useEffect(function(){ve||ct(null)},[ve]);var kt=pLe(ee),gt=function(nn){ct(nn),$t("preset")},Bt=function(nn){var Dn=z?be(Ne(),nn):[nn],Xn=et(Dn);Xn&&!z&&ke(!1,{force:!0})},Nn=function(nn){Bt(nn)},Or=function(nn){ct(nn),$t("cell")},Ar=function(nn){ke(!0),Ke(nn)},ei=function(nn){Le("panel");var Dn=z?be(Ne(),nn):[nn];je(Dn),!v&&!a&&o===We&&nt()},ar=function(){ke(!1)},Sn=zre(te,ne,re),pi=_.useMemo(function(){var Zt=qo(i,!1),nn=bi(i,[].concat(vt(Object.keys(Zt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return fe(fe({},nn),{},{multiple:i.multiple})},[i]),On=_.createElement(wLe,Qe({},pi,{showNow:Ge,showTime:j,disabledDate:x,onFocus:Ar,onBlur:lt,picker:M,mode:we,internalMode:We,onPanelChange:It,format:s,value:Be,isInvalid:u,onChange:null,onSelect:ei,pickerValue:Ct,defaultOpenValue:j==null?void 0:j.defaultOpenValue,onPickerValueChange:mt,hoverValue:Wt,onHover:Or,needConfirm:v,onSubmit:nt,onOk:He,presets:kt,onPresetHover:gt,onPresetSubmit:Bt,onNow:Nn,cellRender:Sn})),En=function(nn){je(nn)},en=function(){Le("input")},gn=function(nn){Le("input"),ke(!0,{inherit:!0}),Ke(nn)},qn=function(nn){ke(!1),lt(nn)},yr=function(nn,Dn){nn.key==="Tab"&&nt(),b==null||b(nn,Dn)},mn=_.useMemo(function(){return{prefixCls:f,locale:T,generateConfig:R,button:Q.button,input:Q.input}},[f,T,R,Q.button,Q.input]);return er(function(){ve&&Fe!==void 0&&It(null,M,!1)},[ve,Fe,M]),er(function(){var Zt=Le();!ve&&Zt==="input"&&(ke(!1),nt()),!ve&&a&&!v&&Zt==="panel"&&(ke(!0),nt())},[ve]),_.createElement(Md.Provider,{value:mn},_.createElement(eLe,Qe({},nLe(i),{popupElement:On,popupStyle:h.popup,popupClassName:d.popup,visible:ve,onClose:ar}),_.createElement(k6t,Qe({},i,{ref:se,suffixIcon:X,removeIcon:G,activeHelp:!!Pt,allHelp:!!Pt&&Ht==="preset",focused:Ee,onFocus:gn,onBlur:qn,onKeyDown:yr,onSubmit:nt,value:wn,maskFormat:s,onChange:En,onInputChange:en,internalPicker:o,format:l,inputReadOnly:K,disabled:C,open:ve,onOpenChange:ke,onClick:yt,onClear:xt,invalid:ot,onInvalid:function(nn){ut(nn,0)}}))))}var fQ=_.forwardRef(j6t);const D6t=Object.freeze(Object.defineProperty({__proto__:null,Picker:fQ,PickerPanel:L9,RangePicker:$Le,default:fQ},Symbol.toStringTag,{value:"Module"})),PLe=_.createContext(null),L6t=PLe.Provider,TLe=_.createContext(null),z6t=TLe.Provider;var B6t=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],iD=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-checkbox":r,o=e.className,a=e.style,l=e.checked,s=e.disabled,u=e.defaultChecked,c=u===void 0?!1:u,f=e.type,h=f===void 0?"checkbox":f,d=e.title,p=e.onChange,g=an(e,B6t),m=_.useRef(null),v=zn(c,{value:l}),y=Me(v,2),b=y[0],C=y[1];_.useImperativeHandle(t,function(){return{focus:function(){var O;(O=m.current)===null||O===void 0||O.focus()},blur:function(){var O;(O=m.current)===null||O===void 0||O.blur()},input:m.current}});var x=Re(i,o,(n={},ue(n,"".concat(i,"-checked"),b),ue(n,"".concat(i,"-disabled"),s),n)),S=function(O){s||("checked"in e||C(O.target.checked),p==null||p({target:fe(fe({},e),{},{type:h,checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent}))};return _.createElement("span",{className:x,title:d,style:a},_.createElement("input",Qe({},g,{className:"".concat(i,"-input"),ref:m,onChange:S,disabled:s,checked:!!b,type:h})),_.createElement("span",{className:"".concat(i,"-inner")}))});const F6t=Object.freeze(Object.defineProperty({__proto__:null,Checkbox:iD,default:iD},Symbol.toStringTag,{value:"Module"})),H6t=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},sr(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},W6t=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:i,motionDurationSlow:o,motionDurationMid:a,motionEaseInOutCirc:l,colorBgContainer:s,colorBorder:u,lineWidth:c,colorBgContainerDisabled:f,colorTextDisabled:h,paddingXS:d,dotColorDisabled:p,lineType:g,radioColor:m,radioBgColor:v,calc:y}=e,b=`${t}-inner`,x=y(i).sub(y(4).mul(2)),S=y(1).mul(i).equal();return{[`${t}-wrapper`]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${xe(c)} ${g} ${r}`,borderRadius:"50%",visibility:"hidden",content:'""'},[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${b}`]:{borderColor:r},[`${t}-input:focus-visible + ${b}`]:Object.assign({},uh(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:y(1).mul(i).div(-2).equal(),marginInlineStart:y(1).mul(i).div(-2).equal(),backgroundColor:m,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${o} ${l}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:s,borderColor:u,borderStyle:"solid",borderWidth:c,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[b]:{borderColor:r,backgroundColor:v,"&::after":{transform:`scale(${e.calc(e.dotSize).div(i).equal()})`,opacity:1,transition:`all ${o} ${l}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[b]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:p}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`&${t}-checked`]:{[b]:{"&::after":{transform:`scale(${y(x).div(i).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:d,paddingInlineEnd:d}})}},q6t=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:l,motionDurationMid:s,buttonPaddingInline:u,fontSize:c,buttonBg:f,fontSizeLG:h,controlHeightLG:d,controlHeightSM:p,paddingXS:g,borderRadius:m,borderRadiusSM:v,borderRadiusLG:y,buttonCheckedBg:b,buttonSolidCheckedColor:C,colorTextDisabled:x,colorBgContainerDisabled:S,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:O,colorPrimary:$,colorPrimaryHover:P,colorPrimaryActive:T,buttonSolidCheckedBg:R,buttonSolidCheckedHoverBg:M,buttonSolidCheckedActiveBg:A,calc:N}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:c,lineHeight:xe(N(n).sub(N(i).mul(2)).equal()),background:f,border:`${xe(i)} ${o} ${a}`,borderBlockStartWidth:N(i).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:N(i).mul(-1).equal(),insetInlineStart:N(i).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${l}`,content:'""'}},"&:first-child":{borderInlineStart:`${xe(i)} ${o} ${a}`,borderStartStartRadius:m,borderEndStartRadius:m},"&:last-child":{borderStartEndRadius:m,borderEndEndRadius:m},"&:first-child:last-child":{borderRadius:m},[`${r}-group-large &`]:{height:d,fontSize:h,lineHeight:xe(N(d).sub(N(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},[`${r}-group-small &`]:{height:p,paddingInline:N(g).sub(i).equal(),paddingBlock:0,lineHeight:xe(N(p).sub(N(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":Object.assign({},uh(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:b,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:P,borderColor:P,"&::before":{backgroundColor:P}},"&:active":{color:T,borderColor:T,"&::before":{backgroundColor:T}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:R,borderColor:R,"&:hover":{color:C,background:M,borderColor:M},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:x,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:S,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:O,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},V6t=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:o,colorText:a,colorBgContainer:l,colorTextDisabled:s,controlItemBgActiveDisabled:u,colorTextLightSolid:c,colorPrimary:f,colorPrimaryHover:h,colorPrimaryActive:d,colorWhite:p}=e,g=4,m=o,v=t?m-g*2:m-(g+i)*2;return{radioSize:m,dotSize:v,dotColorDisabled:s,buttonSolidCheckedColor:c,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:h,buttonSolidCheckedActiveBg:d,buttonBg:l,buttonCheckedBg:l,buttonColor:a,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:s,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?f:p,radioBgColor:t?l:f}},MLe=vr("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${xe(n)} ${t}`,o=Wn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[H6t(o),W6t(o),q6t(o)]},V6t,{unitless:{radioSize:!0,dotSize:!0}});var U6t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=_.useContext(PLe),o=_.useContext(TLe),{getPrefixCls:a,direction:l,radio:s}=_.useContext(on),u=_.useRef(null),c=cl(t,u),{isFormItemInput:f}=_.useContext(la),h=A=>{var N,j;(N=e.onChange)===null||N===void 0||N.call(e,A),(j=i==null?void 0:i.onChange)===null||j===void 0||j.call(i,A)},{prefixCls:d,className:p,rootClassName:g,children:m,style:v,title:y}=e,b=U6t(e,["prefixCls","className","rootClassName","children","style","title"]),C=a("radio",d),x=((i==null?void 0:i.optionType)||o)==="button",S=x?`${C}-button`:C,w=di(C),[O,$,P]=MLe(C,w),T=Object.assign({},b),R=_.useContext(es);i&&(T.name=i.name,T.onChange=h,T.checked=e.value===i.value,T.disabled=(n=T.disabled)!==null&&n!==void 0?n:i.disabled),T.disabled=(r=T.disabled)!==null&&r!==void 0?r:R;const M=Re(`${S}-wrapper`,{[`${S}-wrapper-checked`]:T.checked,[`${S}-wrapper-disabled`]:T.disabled,[`${S}-wrapper-rtl`]:l==="rtl",[`${S}-wrapper-in-form-item`]:f},s==null?void 0:s.className,p,g,$,P,w);return O(_.createElement(x$,{component:"Radio",disabled:T.disabled},_.createElement("label",{className:M,style:Object.assign(Object.assign({},s==null?void 0:s.style),v),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:y},_.createElement(iD,Object.assign({},T,{className:Re(T.className,!x&&Fz),type:"radio",prefixCls:S,ref:c})),m!==void 0?_.createElement("span",null,m):null)))},K6t=_.forwardRef(G6t),oD=K6t,X6t=_.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=_.useContext(on),[i,o]=zn(e.defaultValue,{value:e.value}),a=A=>{const N=i,j=A.target.value;"value"in e||o(j);const{onChange:D}=e;D&&j!==N&&D(A)},{prefixCls:l,className:s,rootClassName:u,options:c,buttonStyle:f="outline",disabled:h,children:d,size:p,style:g,id:m,onMouseEnter:v,onMouseLeave:y,onFocus:b,onBlur:C}=e,x=n("radio",l),S=`${x}-group`,w=di(x),[O,$,P]=MLe(x,w);let T=d;c&&c.length>0&&(T=c.map(A=>typeof A=="string"||typeof A=="number"?_.createElement(oD,{key:A.toString(),prefixCls:x,disabled:h,value:A,checked:i===A},A):_.createElement(oD,{key:`radio-group-value-options-${A.value}`,prefixCls:x,disabled:A.disabled||h,value:A.value,checked:i===A.value,title:A.title,style:A.style,id:A.id,required:A.required},A.label)));const R=Go(p),M=Re(S,`${S}-${f}`,{[`${S}-${R}`]:R,[`${S}-rtl`]:r==="rtl"},s,u,$,P,w);return O(_.createElement("div",Object.assign({},qo(e,{aria:!0,data:!0}),{className:M,style:g,onMouseEnter:v,onMouseLeave:y,onFocus:b,onBlur:C,id:m,ref:t}),_.createElement(L6t,{value:{onChange:a,value:i,disabled:e.disabled,name:e.name,optionType:e.optionType}},T)))}),RLe=_.memo(X6t);var Y6t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n}=_.useContext(on),{prefixCls:r}=e,i=Y6t(e,["prefixCls"]),o=n("radio",r);return _.createElement(z6t,{value:"button"},_.createElement(oD,Object.assign({prefixCls:o},i,{type:"radio",ref:t})))},pQ=_.forwardRef(Z6t),bB=oD;bB.Button=pQ;bB.Group=RLe;bB.__ANT_RADIO=!0;const rc=bB,Q6t=10,J6t=20;function eSt(e){const{fullscreen:t,validRange:n,generateConfig:r,locale:i,prefixCls:o,value:a,onChange:l,divRef:s}=e,u=r.getYear(a||r.getNow());let c=u-Q6t,f=c+J6t;n&&(c=r.getYear(n[0]),f=r.getYear(n[1])+1);const h=i&&i.year==="年"?"年":"",d=[];for(let p=c;p{let g=r.setYear(a,p);if(n){const[m,v]=n,y=r.getYear(g),b=r.getMonth(g);y===r.getYear(v)&&b>r.getMonth(v)&&(g=r.setMonth(g,r.getMonth(v))),y===r.getYear(m)&&bs.current})}function tSt(e){const{prefixCls:t,fullscreen:n,validRange:r,value:i,generateConfig:o,locale:a,onChange:l,divRef:s}=e,u=o.getMonth(i||o.getNow());let c=0,f=11;if(r){const[p,g]=r,m=o.getYear(i);o.getYear(g)===m&&(f=o.getMonth(g)),o.getYear(p)===m&&(c=o.getMonth(p))}const h=a.shortMonths||o.locale.getShortMonths(a.locale),d=[];for(let p=c;p<=f;p+=1)d.push({label:h[p],value:p});return _.createElement(Ps,{size:n?void 0:"small",className:`${t}-month-select`,value:u,options:d,onChange:p=>{l(o.setMonth(i,p))},getPopupContainer:()=>s.current})}function nSt(e){const{prefixCls:t,locale:n,mode:r,fullscreen:i,onModeChange:o}=e;return _.createElement(RLe,{onChange:a=>{let{target:{value:l}}=a;o(l)},value:r,size:i?void 0:"small",className:`${t}-mode-switch`},_.createElement(pQ,{value:"month"},n.month),_.createElement(pQ,{value:"year"},n.year))}function rSt(e){const{prefixCls:t,fullscreen:n,mode:r,onChange:i,onModeChange:o}=e,a=_.useRef(null),l=_.useContext(la),s=_.useMemo(()=>Object.assign(Object.assign({},l),{isFormItemInput:!1}),[l]),u=Object.assign(Object.assign({},e),{fullscreen:n,divRef:a});return _.createElement("div",{className:`${t}-header`,ref:a},_.createElement(la.Provider,{value:s},_.createElement(eSt,Object.assign({},u,{onChange:c=>{i(c,"year")}})),r==="month"&&_.createElement(tSt,Object.assign({},u,{onChange:c=>{i(c,"month")}}))),_.createElement(nSt,Object.assign({},u,{onModeChange:o})))}function CB(e){return Wn(e,{inputAffixPadding:e.paddingXXS})}const SB=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:o,controlHeightLG:a,fontSizeLG:l,lineHeightLG:s,paddingSM:u,controlPaddingHorizontalSM:c,controlPaddingHorizontal:f,colorFillAlter:h,colorPrimaryHover:d,colorPrimary:p,controlOutlineWidth:g,controlOutline:m,colorErrorOutline:v,colorWarningOutline:y,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-i,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-i,0),paddingBlockLG:Math.ceil((a-l*s)/2*10)/10-i,paddingInline:u-i,paddingInlineSM:c-i,paddingInlineLG:f-i,addonBg:h,activeBorderColor:p,hoverBorderColor:d,activeShadow:`0 0 0 ${g}px ${m}`,errorActiveShadow:`0 0 0 ${g}px ${v}`,warningActiveShadow:`0 0 0 ${g}px ${y}`,hoverBg:b,activeBg:b,inputFontSize:n,inputFontSizeLG:l,inputFontSizeSM:n}},iSt=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),xB=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},iSt(Wn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),qre=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),b1e=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},qre(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Vre=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qre(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},xB(e))}),b1e(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),b1e(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),C1e=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),ILe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},C1e(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),C1e(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},xB(e))}})}),Ure=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),NLe=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),S1e=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},NLe(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Gre=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},NLe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},xB(e))}),S1e(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),S1e(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),x1e=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),ALe=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},x1e(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),x1e(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Kre=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),kLe=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${xe(t)} ${xe(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},Xre=e=>({padding:`${xe(e.paddingBlockSM)} ${xe(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),I$=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${xe(e.paddingBlock)} ${xe(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Kre(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},kLe(e)),"&-sm":Object.assign({},Xre(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),jLe=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},kLe(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Xre(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${xe(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${xe(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${xe(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${xe(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Od()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -305,38 +305,38 @@ html body { & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${n}-select:last-child > ${n}-select-selector, & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},oSt=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),R$(e)),Wre(e)),Vre(e)),qre(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},aSt=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${xe(e.inputAffixPadding)}`}}}},lSt=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:o,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},R$(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),aSt(e)),{[`${l}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}})}},sSt=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},sr(e)),jLe(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},ILe(e)),ALe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},cSt=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},oSt=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),I$(e)),Vre(e)),Gre(e)),Ure(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},aSt=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${xe(e.inputAffixPadding)}`}}}},lSt=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:o,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},I$(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),aSt(e)),{[`${l}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${i}`,"&:hover":{color:a}}})}},sSt=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},sr(e)),jLe(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},ILe(e)),ALe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},cSt=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, > ${t}, - ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},uSt=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},dSt=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Kre=vr("Input",e=>{const t=Wn(e,bB(e));return[oSt(t),uSt(t),lSt(t),sSt(t),cSt(t),dSt(t),x$(t)]},CB),sV=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:i,lineWidth:o,calc:a}=e,l=t?`${n}-${t}`:"",s=e.calc(i).add(2).equal(),u=()=>a(r).sub(s).sub(a(o).mul(2)),c=e.max(u().div(2).equal(),0),f=e.max(u().sub(c).equal(),0);return[yre(e,t),{[`${n}-multiple${l}`]:{paddingTop:c,paddingBottom:f,paddingInlineStart:c}}]},fSt=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,i=Wn(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=Wn(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[sV(i,"small"),sV(e),sV(o,"large"),yre(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},pSt=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:o,cellHoverBg:a,lineWidth:l,lineType:s,colorPrimary:u,cellActiveWithRangeBg:c,colorTextLightSolid:f,colorTextDisabled:h,cellBgDisabled:d,colorFillSecondary:p}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:xe(r),borderRadius:i,transition:`background ${o}`},[`&:hover:not(${t}-in-view), + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},uSt=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},dSt=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Yre=vr("Input",e=>{const t=Wn(e,CB(e));return[oSt(t),uSt(t),lSt(t),sSt(t),cSt(t),dSt(t),_$(t)]},SB),cV=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:i,lineWidth:o,calc:a}=e,l=t?`${n}-${t}`:"",s=e.calc(i).add(2).equal(),u=()=>a(r).sub(s).sub(a(o).mul(2)),c=e.max(u().div(2).equal(),0),f=e.max(u().sub(c).equal(),0);return[Cre(e,t),{[`${n}-multiple${l}`]:{paddingTop:c,paddingBottom:f,paddingInlineStart:c}}]},fSt=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,i=Wn(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=Wn(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[cV(i,"small"),cV(e),cV(o,"large"),Cre(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},pSt=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:o,cellHoverBg:a,lineWidth:l,lineType:s,colorPrimary:u,cellActiveWithRangeBg:c,colorTextLightSolid:f,colorTextDisabled:h,cellBgDisabled:d,colorFillSecondary:p}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:xe(r),borderRadius:i,transition:`background ${o}`},[`&:hover:not(${t}-in-view), &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${xe(l)} ${s} ${u}`,borderRadius:i,content:'""'}},[`&-in-view${t}-in-range, &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:c}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:f,background:u},[`&${t}-disabled ${n}`]:{background:p}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:h,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:d}},[`&-disabled${t}-today ${n}::before`]:{borderColor:h}}},DLe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:o,cellWidth:a,paddingSM:l,paddingXS:s,paddingXXS:u,colorBgContainer:c,lineWidth:f,lineType:h,borderRadiusLG:d,colorPrimary:p,colorTextHeading:g,colorSplit:m,pickerControlIconBorderWidth:v,colorIcon:y,textHeight:b,motionDurationMid:C,colorIconHover:x,fontWeightStrong:S,cellHeight:w,pickerCellPaddingVertical:O,colorTextDisabled:$,colorText:P,fontSize:T,motionDurationSlow:R,withoutTimeCellHeight:M,pickerQuarterPanelContentHeight:A,borderRadiusSM:N,colorTextLightSolid:k,cellHoverBg:D,timeColumnHeight:L,timeColumnWidth:B,timeCellHeight:j,controlItemBgActive:z,marginXXS:V,pickerDatePanelPaddingHorizontal:W,pickerControlIconMargin:U}=e,K=e.calc(a).mul(7).add(e.calc(W).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:c,borderRadius:d,outline:"none","&-focused":{borderColor:p},"&-rtl":{direction:"rtl",[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:f,background:u},[`&${t}-disabled ${n}`]:{background:p}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:h,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:d}},[`&-disabled${t}-today ${n}::before`]:{borderColor:h}}},DLe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:o,cellWidth:a,paddingSM:l,paddingXS:s,paddingXXS:u,colorBgContainer:c,lineWidth:f,lineType:h,borderRadiusLG:d,colorPrimary:p,colorTextHeading:g,colorSplit:m,pickerControlIconBorderWidth:v,colorIcon:y,textHeight:b,motionDurationMid:C,colorIconHover:x,fontWeightStrong:S,cellHeight:w,pickerCellPaddingVertical:O,colorTextDisabled:$,colorText:P,fontSize:T,motionDurationSlow:R,withoutTimeCellHeight:M,pickerQuarterPanelContentHeight:A,borderRadiusSM:N,colorTextLightSolid:j,cellHoverBg:D,timeColumnHeight:L,timeColumnWidth:B,timeCellHeight:k,controlItemBgActive:z,marginXXS:q,pickerDatePanelPaddingHorizontal:W,pickerControlIconMargin:U}=e,K=e.calc(a).mul(7).add(e.calc(W).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:c,borderRadius:d,outline:"none","&-focused":{borderColor:p},"&-rtl":{direction:"rtl",[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, ${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:K},"&-header":{display:"flex",padding:`0 ${xe(s)}`,color:g,borderBottom:`${xe(f)} ${h} ${m}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:xe(b),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:T,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:S,lineHeight:xe(b),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:s},"&:hover":{color:p}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:v,borderBlockEndWidth:0,borderInlineStartWidth:v,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:U,insetInlineStart:U,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockStartWidth:v,borderBlockEndWidth:0,borderInlineStartWidth:v,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(O).mul(2)).equal(),color:P,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${xe(O)} 0`,color:$,cursor:"pointer","&-in-view":{color:P}},pSt(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(M).mul(4).equal()},[r]:{padding:`0 ${xe(s)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${xe(e.calc(s).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${xe(s)}`},[r]:{width:i}},"&-date-panel":{[`${t}-body`]:{padding:`${xe(s)} ${xe(W)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:N,borderEndStartRadius:N},"&:last-child:before":{borderStartEndRadius:N,borderEndEndRadius:N}},"&:hover td":{"&:before":{background:D}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${n}`]:{"&:before":{background:p},[`&${t}-cell-week`]:{color:new Gn(k).setAlpha(.5).toHexString()},[r]:{color:k}}},"&-range-hover td:before":{background:z}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${xe(s)} ${xe(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${xe(f)} ${h} ${m}`},[`${t}-date-panel, + ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:N,borderEndStartRadius:N},"&:last-child:before":{borderStartEndRadius:N,borderEndEndRadius:N}},"&:hover td":{"&:before":{background:D}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${n}`]:{"&:before":{background:p},[`&${t}-cell-week`]:{color:new Gn(j).setAlpha(.5).toHexString()},[r]:{color:j}}},"&-range-hover td:before":{background:z}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${xe(s)} ${xe(l)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${xe(f)} ${h} ${m}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${R}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:B,margin:`${xe(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc(L).sub(j).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${xe(f)} ${h} ${m}`},"&-active":{background:new Gn(z).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:V,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(B).sub(e.calc(V).mul(2)).equal(),height:j,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(B).sub(j).div(2).equal(),color:P,lineHeight:xe(j),borderRadius:N,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:D}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:z}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:$,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:e.calc(L).sub(j).add(e.calc(u).mul(2)).equal()}}}},hSt=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:o,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:s,lineType:u,colorSplit:c}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${xe(r)} ${u} ${c}`,"&-extra":{padding:`0 ${xe(i)}`,lineHeight:xe(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${xe(r)} ${u} ${c}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:xe(i),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:xe(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:a,background:l,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},LLe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},zLe=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Gn(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Gn(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},gSt=e=>Object.assign(Object.assign(Object.assign(Object.assign({},CB(e)),zLe(e)),cB(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),mSt=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},Wre(e)),Vre(e)),qre(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},cV=(e,t,n,r)=>{const i=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(i).div(2).equal(),0),a=e.max(e.calc(t).sub(i).sub(o).equal(),0);return{padding:`${xe(o)} ${xe(r)} ${xe(a)}`}},vSt=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},ySt=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:i,lineWidth:o,lineType:a,colorBorder:l,borderRadius:s,motionDurationMid:u,colorTextDisabled:c,colorTextPlaceholder:f,controlHeightLG:h,fontSizeLG:d,controlHeightSM:p,paddingInlineSM:g,paddingXS:m,marginXS:v,colorTextDescription:y,lineWidthBold:b,colorPrimary:C,motionDurationSlow:x,zIndexPopup:S,paddingXXS:w,sizePopupArrow:O,colorBgElevated:$,borderRadiusLG:P,boxShadowSecondary:T,borderRadiusSM:R,colorSplit:M,cellHoverBg:A,presetsWidth:N,presetsMaxWidth:k,boxShadowPopoverArrow:D,fontHeight:L,fontHeightLG:B,lineHeightLG:j}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},sr(e)),cV(e,r,L,i)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:s,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Ure(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:c,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},cV(e,h,B,i)),{[`${t}-input > input`]:{fontSize:d,lineHeight:j}}),"&-small":Object.assign({},cV(e,p,L,g)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(m).div(2).equal(),color:c,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:v}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:c,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:y}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:d,color:c,fontSize:d,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:y},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:b,background:C,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${xe(m)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:i},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:g}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},sr(e)),DLe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:B,margin:`${xe(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc(L).sub(k).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${xe(f)} ${h} ${m}`},"&-active":{background:new Gn(z).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:q,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(B).sub(e.calc(q).mul(2)).equal(),height:k,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(B).sub(k).div(2).equal(),color:P,lineHeight:xe(k),borderRadius:N,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:D}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:z}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:$,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${t}-time-panel-column:after`]:{height:e.calc(L).sub(k).add(e.calc(u).mul(2)).equal()}}}},hSt=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:o,colorPrimary:a,cellActiveWithRangeBg:l,colorPrimaryBorder:s,lineType:u,colorSplit:c}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${xe(r)} ${u} ${c}`,"&-extra":{padding:`0 ${xe(i)}`,lineHeight:xe(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${xe(r)} ${u} ${c}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:xe(i),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:xe(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:a,background:l,borderColor:s,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},LLe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},zLe=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Gn(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Gn(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},gSt=e=>Object.assign(Object.assign(Object.assign(Object.assign({},SB(e)),zLe(e)),uB(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),mSt=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},Vre(e)),Gre(e)),Ure(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},uV=(e,t,n,r)=>{const i=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(i).div(2).equal(),0),a=e.max(e.calc(t).sub(i).sub(o).equal(),0);return{padding:`${xe(o)} ${xe(r)} ${xe(a)}`}},vSt=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},ySt=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:i,lineWidth:o,lineType:a,colorBorder:l,borderRadius:s,motionDurationMid:u,colorTextDisabled:c,colorTextPlaceholder:f,controlHeightLG:h,fontSizeLG:d,controlHeightSM:p,paddingInlineSM:g,paddingXS:m,marginXS:v,colorTextDescription:y,lineWidthBold:b,colorPrimary:C,motionDurationSlow:x,zIndexPopup:S,paddingXXS:w,sizePopupArrow:O,colorBgElevated:$,borderRadiusLG:P,boxShadowSecondary:T,borderRadiusSM:R,colorSplit:M,cellHoverBg:A,presetsWidth:N,presetsMaxWidth:j,boxShadowPopoverArrow:D,fontHeight:L,fontHeightLG:B,lineHeightLG:k}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},sr(e)),uV(e,r,L,i)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:s,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},Kre(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:c,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},uV(e,h,B,i)),{[`${t}-input > input`]:{fontSize:d,lineHeight:k}}),"&-small":Object.assign({},uV(e,p,L,g)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(m).div(2).equal(),color:c,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:v}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:c,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:y}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:d,color:c,fontSize:d,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:y},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:b,background:C,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${xe(m)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:i},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:g}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},sr(e)),DLe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},[`&${t}-dropdown-placement-bottomLeft`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Kz},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Xz},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Uz},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Xz},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Gz},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(i).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${x} ease-out`},hDe(e,$,D)),{"&:before":{insetInlineStart:e.calc(i).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$,borderRadius:P,boxShadow:T,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:N,maxWidth:k,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:m,borderInlineEnd:`${xe(o)} ${a} ${M}`,li:Object.assign(Object.assign({},xc),{borderRadius:R,paddingInline:m,paddingBlock:e.calc(p).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:v},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${xe(e.calc(O).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down")]},BLe=vr("DatePicker",e=>{const t=Wn(bB(e),LLe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hSt(t),ySt(t),mSt(t),vSt(t),fSt(t),x$(e,{focusElCls:`${e.componentCls}-focused`})]},gSt),bSt=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:i,itemActiveBg:o}=e;return{[t]:Object.assign(Object.assign(Object.assign({},DLe(e)),sr(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${xe(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:i,border:0,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${xe(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${xe(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${xe(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:o}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${xe(e.calc(e.marginXS).div(2).equal())}`,padding:`${xe(e.calc(e.paddingXS).div(2).equal())} ${xe(e.paddingXS)} 0`,border:0,borderTop:`${xe(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${xe(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${xe(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${xe(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},CSt=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},zLe(e)),SSt=vr("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Wn(e,LLe(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[bSt(n)]},CSt);function FLe(e){function t(o,a){return o&&a&&e.getYear(o)===e.getYear(a)}function n(o,a){return t(o,a)&&e.getMonth(o)===e.getMonth(a)}function r(o,a){return n(o,a)&&e.getDate(o)===e.getDate(a)}return o=>{const{prefixCls:a,className:l,rootClassName:s,style:u,dateFullCellRender:c,dateCellRender:f,monthFullCellRender:h,monthCellRender:d,cellRender:p,fullCellRender:g,headerRender:m,value:v,defaultValue:y,disabledDate:b,mode:C,validRange:x,fullscreen:S=!0,onChange:w,onPanelChange:O,onSelect:$}=o,{getPrefixCls:P,direction:T,calendar:R}=_.useContext(on),M=P("picker",a),A=`${M}-calendar`,[N,k,D]=SSt(M,A),L=e.getNow(),[B,j]=zn(()=>v||e.getNow(),{defaultValue:y,value:v}),[z,V]=zn("month",{value:C}),W=_.useMemo(()=>z==="year"?"month":"date",[z]),U=_.useCallback(re=>(x?e.isAfter(x[0],re)||e.isAfter(re,x[1]):!1)||!!(b!=null&&b(re)),[b,x]),K=(re,oe)=>{O==null||O(re,oe)},X=re=>{j(re),r(re,B)||((W==="date"&&!n(re,B)||W==="month"&&!t(re,B))&&K(re,z),w==null||w(re))},G=re=>{V(re),K(B,re)},Y=(re,oe)=>{X(re),$==null||$(re,{source:oe})},J=()=>{const{locale:re}=o,oe=Object.assign(Object.assign({},HE),re);return oe.lang=Object.assign(Object.assign({},oe.lang),(re||{}).lang),oe},ee=_.useCallback((re,oe)=>g?g(re,oe):c?c(re):_.createElement("div",{className:Re(`${M}-cell-inner`,`${A}-date`,{[`${A}-date-today`]:r(L,re)})},_.createElement("div",{className:`${A}-date-value`},String(e.getDate(re)).padStart(2,"0")),_.createElement("div",{className:`${A}-date-content`},p?p(re,oe):f&&f(re))),[c,f,p,g]),Q=_.useCallback((re,oe)=>{if(g)return g(re,oe);if(h)return h(re);const se=oe.locale.shortMonths||e.locale.getShortMonths(oe.locale.locale);return _.createElement("div",{className:Re(`${M}-cell-inner`,`${A}-date`,{[`${A}-date-today`]:n(L,re)})},_.createElement("div",{className:`${A}-date-value`},se[e.getMonth(re)]),_.createElement("div",{className:`${A}-date-content`},p?p(re,oe):d&&d(re)))},[h,d,p,g]),[te]=xu("Calendar",J),ne=(re,oe)=>{if(oe.type==="date")return ee(re,oe);if(oe.type==="month")return Q(re,Object.assign(Object.assign({},oe),{locale:te==null?void 0:te.lang}))};return N(_.createElement("div",{className:Re(A,{[`${A}-full`]:S,[`${A}-mini`]:!S,[`${A}-rtl`]:T==="rtl"},R==null?void 0:R.className,l,s,k,D),style:Object.assign(Object.assign({},R==null?void 0:R.style),u)},m?m({value:B,type:z,onChange:re=>{Y(re,"customize")},onTypeChange:G}):_.createElement(rSt,{prefixCls:A,value:B,generateConfig:e,mode:z,fullscreen:S,locale:te==null?void 0:te.lang,validRange:x,onChange:Y,onModeChange:G}),_.createElement(D9,{value:B,prefixCls:M,locale:te==null?void 0:te.lang,generateConfig:e,cellRender:ne,onSelect:re=>{Y(re,W)},mode:W,picker:W,disabledDate:U,hideHeader:!0})))}}const HLe=FLe(JDe);HLe.generateCalendar=FLe;const xSt=HLe,_St=e=>{const{prefixCls:t,className:n,style:r,size:i,shape:o}=e,a=Re({[`${t}-lg`]:i==="large",[`${t}-sm`]:i==="small"}),l=Re({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),s=_.useMemo(()=>typeof i=="number"?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return _.createElement("span",{className:Re(t,a,l,n),style:Object.assign(Object.assign({},s),r)})},xB=_St,wSt=new lr("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),_B=e=>({height:e,lineHeight:xe(e)}),$3=e=>Object.assign({width:e},_B(e)),OSt=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:wSt,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),uV=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},_B(e)),ESt=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},$3(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},$3(i)),[`${t}${t}-sm`]:Object.assign({},$3(o))}},$St=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},uV(t,l)),[`${r}-lg`]:Object.assign({},uV(i,l)),[`${r}-sm`]:Object.assign({},uV(o,l))}},_1e=e=>Object.assign({width:e},_B(e)),PSt=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i,calc:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:i},_1e(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},_1e(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},dV=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},fV=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},_B(e)),TSt=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},fV(r,l))},dV(e,r,n)),{[`${n}-lg`]:Object.assign({},fV(i,l))}),dV(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},fV(o,l))}),dV(e,o,`${n}-sm`))},MSt=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:c,gradientFromColor:f,padding:h,marginSM:d,borderRadius:p,titleHeight:g,blockRadius:m,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:h,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},$3(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},$3(u)),[`${n}-sm`]:Object.assign({},$3(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:f,borderRadius:m,[`+ ${i}`]:{marginBlockStart:c}},[`${i}`]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:f,borderRadius:m,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:d,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},TSt(e)),ESt(e)),$St(e)),PSt(e)),[`${t}${t}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Gz},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Yz},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Kz},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(i).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${x} ease-out`},hDe(e,$,D)),{"&:before":{insetInlineStart:e.calc(i).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:$,borderRadius:P,boxShadow:T,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:N,maxWidth:j,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:m,borderInlineEnd:`${xe(o)} ${a} ${M}`,li:Object.assign(Object.assign({},xc),{borderRadius:R,paddingInline:m,paddingBlock:e.calc(p).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:v},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:l}}}}),"&-dropdown-range":{padding:`${xe(e.calc(O).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},kf(e,"slide-up"),kf(e,"slide-down"),u4(e,"move-up"),u4(e,"move-down")]},BLe=vr("DatePicker",e=>{const t=Wn(CB(e),LLe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hSt(t),ySt(t),mSt(t),vSt(t),fSt(t),_$(e,{focusElCls:`${e.componentCls}-focused`})]},gSt),bSt=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:i,itemActiveBg:o}=e;return{[t]:Object.assign(Object.assign(Object.assign({},DLe(e)),sr(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${xe(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:i,border:0,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${xe(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${xe(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${xe(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:o}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${xe(e.calc(e.marginXS).div(2).equal())}`,padding:`${xe(e.calc(e.paddingXS).div(2).equal())} ${xe(e.paddingXS)} 0`,border:0,borderTop:`${xe(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${xe(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${xe(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${xe(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},CSt=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},zLe(e)),SSt=vr("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Wn(e,LLe(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[bSt(n)]},CSt);function FLe(e){function t(o,a){return o&&a&&e.getYear(o)===e.getYear(a)}function n(o,a){return t(o,a)&&e.getMonth(o)===e.getMonth(a)}function r(o,a){return n(o,a)&&e.getDate(o)===e.getDate(a)}return o=>{const{prefixCls:a,className:l,rootClassName:s,style:u,dateFullCellRender:c,dateCellRender:f,monthFullCellRender:h,monthCellRender:d,cellRender:p,fullCellRender:g,headerRender:m,value:v,defaultValue:y,disabledDate:b,mode:C,validRange:x,fullscreen:S=!0,onChange:w,onPanelChange:O,onSelect:$}=o,{getPrefixCls:P,direction:T,calendar:R}=_.useContext(on),M=P("picker",a),A=`${M}-calendar`,[N,j,D]=SSt(M,A),L=e.getNow(),[B,k]=zn(()=>v||e.getNow(),{defaultValue:y,value:v}),[z,q]=zn("month",{value:C}),W=_.useMemo(()=>z==="year"?"month":"date",[z]),U=_.useCallback(re=>(x?e.isAfter(x[0],re)||e.isAfter(re,x[1]):!1)||!!(b!=null&&b(re)),[b,x]),K=(re,oe)=>{O==null||O(re,oe)},X=re=>{k(re),r(re,B)||((W==="date"&&!n(re,B)||W==="month"&&!t(re,B))&&K(re,z),w==null||w(re))},G=re=>{q(re),K(B,re)},Y=(re,oe)=>{X(re),$==null||$(re,{source:oe})},J=()=>{const{locale:re}=o,oe=Object.assign(Object.assign({},WE),re);return oe.lang=Object.assign(Object.assign({},oe.lang),(re||{}).lang),oe},ee=_.useCallback((re,oe)=>g?g(re,oe):c?c(re):_.createElement("div",{className:Re(`${M}-cell-inner`,`${A}-date`,{[`${A}-date-today`]:r(L,re)})},_.createElement("div",{className:`${A}-date-value`},String(e.getDate(re)).padStart(2,"0")),_.createElement("div",{className:`${A}-date-content`},p?p(re,oe):f&&f(re))),[c,f,p,g]),Q=_.useCallback((re,oe)=>{if(g)return g(re,oe);if(h)return h(re);const se=oe.locale.shortMonths||e.locale.getShortMonths(oe.locale.locale);return _.createElement("div",{className:Re(`${M}-cell-inner`,`${A}-date`,{[`${A}-date-today`]:n(L,re)})},_.createElement("div",{className:`${A}-date-value`},se[e.getMonth(re)]),_.createElement("div",{className:`${A}-date-content`},p?p(re,oe):d&&d(re)))},[h,d,p,g]),[te]=xu("Calendar",J),ne=(re,oe)=>{if(oe.type==="date")return ee(re,oe);if(oe.type==="month")return Q(re,Object.assign(Object.assign({},oe),{locale:te==null?void 0:te.lang}))};return N(_.createElement("div",{className:Re(A,{[`${A}-full`]:S,[`${A}-mini`]:!S,[`${A}-rtl`]:T==="rtl"},R==null?void 0:R.className,l,s,j,D),style:Object.assign(Object.assign({},R==null?void 0:R.style),u)},m?m({value:B,type:z,onChange:re=>{Y(re,"customize")},onTypeChange:G}):_.createElement(rSt,{prefixCls:A,value:B,generateConfig:e,mode:z,fullscreen:S,locale:te==null?void 0:te.lang,validRange:x,onChange:Y,onModeChange:G}),_.createElement(L9,{value:B,prefixCls:M,locale:te==null?void 0:te.lang,generateConfig:e,cellRender:ne,onSelect:re=>{Y(re,W)},mode:W,picker:W,disabledDate:U,hideHeader:!0})))}}const HLe=FLe(JDe);HLe.generateCalendar=FLe;const xSt=HLe,_St=e=>{const{prefixCls:t,className:n,style:r,size:i,shape:o}=e,a=Re({[`${t}-lg`]:i==="large",[`${t}-sm`]:i==="small"}),l=Re({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),s=_.useMemo(()=>typeof i=="number"?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return _.createElement("span",{className:Re(t,a,l,n),style:Object.assign(Object.assign({},s),r)})},_B=_St,wSt=new lr("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),wB=e=>({height:e,lineHeight:xe(e)}),$3=e=>Object.assign({width:e},wB(e)),OSt=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:wSt,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),dV=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},wB(e)),ESt=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},$3(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},$3(i)),[`${t}${t}-sm`]:Object.assign({},$3(o))}},$St=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:l}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},dV(t,l)),[`${r}-lg`]:Object.assign({},dV(i,l)),[`${r}-sm`]:Object.assign({},dV(o,l))}},_1e=e=>Object.assign({width:e},wB(e)),PSt=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i,calc:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:i},_1e(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},_1e(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},fV=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},pV=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},wB(e)),TSt=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:l}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:l(r).mul(2).equal(),minWidth:l(r).mul(2).equal()},pV(r,l))},fV(e,r,n)),{[`${n}-lg`]:Object.assign({},pV(i,l))}),fV(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},pV(o,l))}),fV(e,o,`${n}-sm`))},MSt=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:u,controlHeightSM:c,gradientFromColor:f,padding:h,marginSM:d,borderRadius:p,titleHeight:g,blockRadius:m,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:h,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},$3(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},$3(u)),[`${n}-sm`]:Object.assign({},$3(c))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:f,borderRadius:m,[`+ ${i}`]:{marginBlockStart:c}},[`${i}`]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:f,borderRadius:m,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:p}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:d,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},TSt(e)),ESt(e)),$St(e)),PSt(e)),[`${t}${t}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[` ${r}, ${i} > li, ${n}, ${o}, ${a}, ${l} - `]:Object.assign({},OSt(e))}}},RSt=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},mC=vr("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Wn(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[MSt(r)]},RSt,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ISt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,shape:o="circle",size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls","className"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(xB,Object.assign({prefixCls:`${s}-avatar`,shape:o,size:a},h))))},NSt=ISt,ASt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o=!1,size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:o},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(xB,Object.assign({prefixCls:`${s}-button`,size:a},h))))},kSt=ASt,jSt="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",DSt=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o}=e,{getPrefixCls:a}=_.useContext(on),l=a("skeleton",t),[s,u,c]=mC(l),f=Re(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,c);return s(_.createElement("div",{className:f},_.createElement("div",{className:Re(`${l}-image`,n),style:i},_.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},_.createElement("path",{d:jSt,className:`${l}-image-path`})))))},LSt=DSt,zSt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o,size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:o},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(xB,Object.assign({prefixCls:`${s}-input`,size:a},h))))},BSt=zSt;var FSt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const HSt=FSt;var WSt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:HSt}))};const qSt=_.forwardRef(WSt),VSt=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o,children:a}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=Re(s,`${s}-element`,{[`${s}-active`]:o},c,n,r,f),d=a??_.createElement(qSt,null);return u(_.createElement("div",{className:h},_.createElement("div",{className:Re(`${s}-image`,n),style:i},d)))},USt=VSt,GSt=e=>{const t=l=>{const{width:s,rows:u=2}=e;if(Array.isArray(s))return s[l];if(u-1===l)return s},{prefixCls:n,className:r,style:i,rows:o}=e,a=vt(Array(o)).map((l,s)=>_.createElement("li",{key:s,style:{width:t(s)}}));return _.createElement("ul",{className:Re(n,r),style:i},a)},KSt=GSt,XSt=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return _.createElement("h3",{className:Re(t,n),style:Object.assign({width:r},i)})},YSt=XSt;function pV(e){return e&&typeof e=="object"?e:{}}function ZSt(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function QSt(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function JSt(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const vC=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:i,style:o,children:a,avatar:l=!1,title:s=!0,paragraph:u=!0,active:c,round:f}=e,{getPrefixCls:h,direction:d,skeleton:p}=_.useContext(on),g=h("skeleton",t),[m,v,y]=mC(g);if(n||!("loading"in e)){const b=!!l,C=!!s,x=!!u;let S;if(b){const $=Object.assign(Object.assign({prefixCls:`${g}-avatar`},ZSt(C,x)),pV(l));S=_.createElement("div",{className:`${g}-header`},_.createElement(xB,Object.assign({},$)))}let w;if(C||x){let $;if(C){const T=Object.assign(Object.assign({prefixCls:`${g}-title`},QSt(b,x)),pV(s));$=_.createElement(YSt,Object.assign({},T))}let P;if(x){const T=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},JSt(b,C)),pV(u));P=_.createElement(KSt,Object.assign({},T))}w=_.createElement("div",{className:`${g}-content`},$,P)}const O=Re(g,{[`${g}-with-avatar`]:b,[`${g}-active`]:c,[`${g}-rtl`]:d==="rtl",[`${g}-round`]:f},p==null?void 0:p.className,r,i,v,y);return m(_.createElement("div",{className:O,style:Object.assign(Object.assign({},p==null?void 0:p.style),o)},S,w))}return typeof a<"u"?a:null};vC.Button=kSt;vC.Avatar=NSt;vC.Input=BSt;vC.Image=LSt;vC.Node=USt;const WLe=vC;var ext={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const txt=ext;var nxt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:txt}))};const qLe=_.forwardRef(nxt),wB=_.createContext(null);var rxt=function(t){var n=t.activeTabOffset,r=t.horizontal,i=t.rtl,o=t.indicator,a=o===void 0?{}:o,l=a.size,s=a.align,u=s===void 0?"center":s,c=_.useState(),f=Me(c,2),h=f[0],d=f[1],p=_.useRef(),g=Se.useCallback(function(v){return typeof l=="function"?l(v):typeof l=="number"?l:v},[l]);function m(){rr.cancel(p.current)}return _.useEffect(function(){var v={};if(n)if(r){v.width=g(n.width);var y=i?"right":"left";u==="start"&&(v[y]=n[y]),u==="center"&&(v[y]=n[y]+n.width/2,v.transform=i?"translateX(50%)":"translateX(-50%)"),u==="end"&&(v[y]=n[y]+n.width,v.transform="translateX(-100%)")}else v.height=g(n.height),u==="start"&&(v.top=n.top),u==="center"&&(v.top=n.top+n.height/2,v.transform="translateY(-50%)"),u==="end"&&(v.top=n.top+n.height,v.transform="translateY(-100%)");return m(),p.current=rr(function(){d(v)}),m},[n,r,i,u,g]),{style:h}},w1e={width:0,height:0,left:0,top:0};function ixt(e,t,n){return _.useMemo(function(){for(var r,i=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||w1e,a=o.left+o.width,l=0;lA?(R=P,S.current="x"):(R=T,S.current="y"),t(-R,-R)&&$.preventDefault()}var O=_.useRef(null);O.current={onTouchStart:b,onTouchMove:C,onTouchEnd:x,onWheel:w},_.useEffect(function(){function $(M){O.current.onTouchStart(M)}function P(M){O.current.onTouchMove(M)}function T(M){O.current.onTouchEnd(M)}function R(M){O.current.onWheel(M)}return document.addEventListener("touchmove",P,{passive:!1}),document.addEventListener("touchend",T,{passive:!1}),e.current.addEventListener("touchstart",$,{passive:!1}),e.current.addEventListener("wheel",R),function(){document.removeEventListener("touchmove",P),document.removeEventListener("touchend",T)}},[])}function VLe(e){var t=_.useState(0),n=Me(t,2),r=n[0],i=n[1],o=_.useRef(0),a=_.useRef();return a.current=e,jv(function(){var l;(l=a.current)===null||l===void 0||l.call(a)},[r]),function(){o.current===r&&(o.current+=1,i(o.current))}}function lxt(e){var t=_.useRef([]),n=_.useState({}),r=Me(n,2),i=r[1],o=_.useRef(typeof e=="function"?e():e),a=VLe(function(){var s=o.current;t.current.forEach(function(u){s=u(s)}),t.current=[],o.current=s,i({})});function l(s){t.current.push(s),a()}return[o.current,l]}var P1e={width:0,height:0,left:0,top:0,right:0};function sxt(e,t,n,r,i,o,a){var l=a.tabs,s=a.tabPosition,u=a.rtl,c,f,h;return["top","bottom"].includes(s)?(c="width",f=u?"right":"left",h=Math.abs(n)):(c="height",f="top",h=-n),_.useMemo(function(){if(!l.length)return[0,0];for(var d=l.length,p=d,g=0;gh+t){p=g-1;break}}for(var v=0,y=d-1;y>=0;y-=1){var b=e.get(l[y].key)||P1e;if(b[f]=p?[0,0]:[v,p]},[e,t,r,i,o,h,s,l.map(function(d){return d.key}).join("_"),u])}function T1e(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var cxt="TABS_DQ";function ULe(e){return String(e).replace(/"/g,cxt)}function GLe(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var KLe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return!r||r.showAdd===!1?null:_.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:function(l){r.onEdit("add",{event:l})}},r.addIcon||"+")}),M1e=_.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o,a={};return bn(i)==="object"&&!_.isValidElement(i)?a=i:a.right=i,n==="right"&&(o=a.right),n==="left"&&(o=a.left),o?_.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),uxt=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,a=e.mobile,l=e.moreIcon,s=l===void 0?"More":l,u=e.moreTransitionName,c=e.style,f=e.className,h=e.editable,d=e.tabBarGutter,p=e.rtl,g=e.removeAriaLabel,m=e.onTabClick,v=e.getPopupContainer,y=e.popupClassName,b=_.useState(!1),C=Me(b,2),x=C[0],S=C[1],w=_.useState(null),O=Me(w,2),$=O[0],P=O[1],T="".concat(r,"-more-popup"),R="".concat(n,"-dropdown"),M=$!==null?"".concat(T,"-").concat($):null,A=o==null?void 0:o.dropdownAriaLabel;function N(V,W){V.preventDefault(),V.stopPropagation(),h.onEdit("remove",{key:W,event:V})}var k=_.createElement(R0,{onClick:function(W){var U=W.key,K=W.domEvent;m(U,K),S(!1)},prefixCls:"".concat(R,"-menu"),id:T,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[$],"aria-label":A!==void 0?A:"expanded dropdown"},i.map(function(V){var W=V.closable,U=V.disabled,K=V.closeIcon,X=V.key,G=V.label,Y=GLe(W,K,h,U);return _.createElement(gh,{key:X,id:"".concat(T,"-").concat(X),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(X),disabled:U},_.createElement("span",null,G),Y&&_.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(ee){ee.stopPropagation(),N(ee,X)}},K||h.removeIcon||"×"))}));function D(V){for(var W=i.filter(function(Y){return!Y.disabled}),U=W.findIndex(function(Y){return Y.key===$})||0,K=W.length,X=0;Xmt?"left":"right"})}),M=Me(R,2),A=M[0],N=M[1],k=O1e(0,function(Ct,mt){!T&&g&&g({direction:Ct>mt?"top":"bottom"})}),D=Me(k,2),L=D[0],B=D[1],j=_.useState([0,0]),z=Me(j,2),V=z[0],W=z[1],U=_.useState([0,0]),K=Me(U,2),X=K[0],G=K[1],Y=_.useState([0,0]),J=Me(Y,2),ee=J[0],Q=J[1],te=_.useState([0,0]),ne=Me(te,2),re=ne[0],oe=ne[1],se=lxt(new Map),ye=Me(se,2),be=ye[0],he=ye[1],le=ixt(b,be,X[0]),ve=gM(V,T),ke=gM(X,T),Ie=gM(ee,T),Oe=gM(re,T),Pe=veNe?Ne:Ct}var He=_.useRef(null),Be=_.useState(),qe=Me(Be,2),me=qe[0],Ee=qe[1];function $e(){Ee(Date.now())}function Le(){He.current&&clearTimeout(He.current)}axt(w,function(Ct,mt){function It(nt,yt){nt(function(xt){var At=je(xt+yt);return At})}return Pe?(T?It(N,Ct):It(B,mt),Le(),$e(),!0):!1}),_.useEffect(function(){return Le(),me&&(He.current=setTimeout(function(){Ee(0)},100)),Le},[me]);var Fe=sxt(le,_e,T?A:L,ke,Ie,Oe,fe(fe({},e),{},{tabs:b})),Ke=Me(Fe,2),lt=Ke[0],ft=Ke[1],Ye=ir(function(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,mt=le.get(Ct)||{width:0,height:0,left:0,right:0,top:0};if(T){var It=A;l?mt.rightA+_e&&(It=mt.right+mt.width-_e):mt.left<-A?It=-mt.left:mt.left+mt.width>-A+_e&&(It=-(mt.left+mt.width-_e)),B(0),N(je(It))}else{var nt=L;mt.top<-L?nt=-mt.top:mt.top+mt.height>-L+_e&&(nt=-(mt.top+mt.height-_e)),N(0),B(je(nt))}}),we={};f==="top"||f==="bottom"?we[l?"marginRight":"marginLeft"]=h:we.marginTop=h;var De=b.map(function(Ct,mt){var It=Ct.key;return _.createElement(fxt,{id:i,prefixCls:y,key:It,tab:Ct,style:mt===0?void 0:we,closable:Ct.closable,editable:u,active:It===a,renderWrapper:d,removeAriaLabel:c==null?void 0:c.removeAriaLabel,onClick:function(yt){p(It,yt)},onFocus:function(){Ye(It),$e(),w.current&&(l||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),We=function(){return he(function(){var mt,It=new Map,nt=(mt=O.current)===null||mt===void 0?void 0:mt.getBoundingClientRect();return b.forEach(function(yt){var xt,At=yt.key,cn=(xt=O.current)===null||xt===void 0?void 0:xt.querySelector('[data-node-key="'.concat(ULe(At),'"]'));if(cn){var Ht=pxt(cn,nt),$t=Me(Ht,4),zt=$t[0],Qt=$t[1],Pt=$t[2],ct=$t[3];It.set(At,{width:zt,height:Qt,left:Pt,top:ct})}}),It})};_.useEffect(function(){We()},[b.map(function(Ct){return Ct.key}).join("_")]);var Ge=VLe(function(){var Ct=Xb(C),mt=Xb(x),It=Xb(S);W([Ct[0]-mt[0]-It[0],Ct[1]-mt[1]-It[1]]);var nt=Xb(P);Q(nt);var yt=Xb($);oe(yt);var xt=Xb(O);G([xt[0]-nt[0],xt[1]-nt[1]]),We()}),Je=b.slice(0,lt),bt=b.slice(ft+1),at=[].concat(vt(Je),vt(bt)),et=le.get(a),rt=rxt({activeTabOffset:et,horizontal:T,indicator:m,rtl:l}),Ze=rt.style;_.useEffect(function(){Ye()},[a,Te,Ne,T1e(et),T1e(le),T]),_.useEffect(function(){Ge()},[l]);var wt=!!at.length,ut="".concat(y,"-nav-wrap"),ot,dt,_t,Ot;return T?l?(dt=A>0,ot=A!==Ne):(ot=A<0,dt=A!==Te):(_t=L<0,Ot=L!==Te),_.createElement(Ba,{onResize:Ge},_.createElement("div",{ref:Pd(t,C),role:"tablist",className:Re("".concat(y,"-nav"),n),style:r,onKeyDown:function(){$e()}},_.createElement(M1e,{ref:x,position:"left",extra:s,prefixCls:y}),_.createElement(Ba,{onResize:Ge},_.createElement("div",{className:Re(ut,ue(ue(ue(ue({},"".concat(ut,"-ping-left"),ot),"".concat(ut,"-ping-right"),dt),"".concat(ut,"-ping-top"),_t),"".concat(ut,"-ping-bottom"),Ot)),ref:w},_.createElement(Ba,{onResize:Ge},_.createElement("div",{ref:O,className:"".concat(y,"-nav-list"),style:{transform:"translate(".concat(A,"px, ").concat(L,"px)"),transition:me?"none":void 0}},De,_.createElement(KLe,{ref:P,prefixCls:y,locale:c,editable:u,style:fe(fe({},De.length===0?void 0:we),{},{visibility:wt?"hidden":null})}),_.createElement("div",{className:Re("".concat(y,"-ink-bar"),ue({},"".concat(y,"-ink-bar-animated"),o.inkBar)),style:Ze}))))),_.createElement(dxt,Qe({},e,{removeAriaLabel:c==null?void 0:c.removeAriaLabel,ref:$,prefixCls:y,tabs:at,className:!wt&&ce,tabMoving:!!me})),_.createElement(M1e,{ref:S,position:"right",extra:s,prefixCls:y})))}),XLe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.id,a=e.active,l=e.tabKey,s=e.children;return _.createElement("div",{id:o&&"".concat(o,"-panel-").concat(l),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(l),"aria-hidden":!a,style:i,className:Re(n,a&&"".concat(n,"-active"),r),ref:t},s)}),hxt=["renderTabBar"],gxt=["label","key"],mxt=function(t){var n=t.renderTabBar,r=an(t,hxt),i=_.useContext(wB),o=i.tabs;if(n){var a=fe(fe({},r),{},{panes:o.map(function(l){var s=l.label,u=l.key,c=an(l,gxt);return _.createElement(XLe,Qe({tab:s,key:u,tabKey:u},c))})});return n(a,R1e)}return _.createElement(R1e,r)},vxt=["key","forceRender","style","className","destroyInactiveTabPane"],yxt=function(t){var n=t.id,r=t.activeKey,i=t.animated,o=t.tabPosition,a=t.destroyInactiveTabPane,l=_.useContext(wB),s=l.prefixCls,u=l.tabs,c=i.tabPane,f="".concat(s,"-tabpane");return _.createElement("div",{className:Re("".concat(s,"-content-holder"))},_.createElement("div",{className:Re("".concat(s,"-content"),"".concat(s,"-content-").concat(o),ue({},"".concat(s,"-content-animated"),c))},u.map(function(h){var d=h.key,p=h.forceRender,g=h.style,m=h.className,v=h.destroyInactiveTabPane,y=an(h,vxt),b=d===r;return _.createElement(aa,Qe({key:d,visible:b,forceRender:p,removeOnLeave:!!(a||v),leavedClassName:"".concat(f,"-hidden")},i.tabPaneMotion),function(C,x){var S=C.style,w=C.className;return _.createElement(XLe,Qe({},y,{prefixCls:f,id:n,tabKey:d,animated:c,active:b,style:fe(fe({},g),S),className:Re(m,w),ref:x}))})})))};function bxt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=fe({inkBar:!0},bn(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Cxt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],I1e=0,YLe=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tabs":r,o=e.className,a=e.items,l=e.direction,s=e.activeKey,u=e.defaultActiveKey,c=e.editable,f=e.animated,h=e.tabPosition,d=h===void 0?"top":h,p=e.tabBarGutter,g=e.tabBarStyle,m=e.tabBarExtraContent,v=e.locale,y=e.moreIcon,b=e.moreTransitionName,C=e.destroyInactiveTabPane,x=e.renderTabBar,S=e.onChange,w=e.onTabClick,O=e.onTabScroll,$=e.getPopupContainer,P=e.popupClassName,T=e.indicator,R=an(e,Cxt),M=_.useMemo(function(){return(a||[]).filter(function(oe){return oe&&bn(oe)==="object"&&"key"in oe})},[a]),A=l==="rtl",N=bxt(f),k=_.useState(!1),D=Me(k,2),L=D[0],B=D[1];_.useEffect(function(){B(Yz())},[]);var j=zn(function(){var oe;return(oe=M[0])===null||oe===void 0?void 0:oe.key},{value:s,defaultValue:u}),z=Me(j,2),V=z[0],W=z[1],U=_.useState(function(){return M.findIndex(function(oe){return oe.key===V})}),K=Me(U,2),X=K[0],G=K[1];_.useEffect(function(){var oe=M.findIndex(function(ye){return ye.key===V});if(oe===-1){var se;oe=Math.max(0,Math.min(X,M.length-1)),W((se=M[oe])===null||se===void 0?void 0:se.key)}G(oe)},[M.map(function(oe){return oe.key}).join("_"),V,X]);var Y=zn(null,{value:n}),J=Me(Y,2),ee=J[0],Q=J[1];_.useEffect(function(){n||(Q("rc-tabs-".concat(I1e)),I1e+=1)},[]);function te(oe,se){w==null||w(oe,se);var ye=oe!==V;W(oe),ye&&(S==null||S(oe))}var ne={id:ee,activeKey:V,animated:N,tabPosition:d,rtl:A,mobile:L},re=fe(fe({},ne),{},{editable:c,locale:v,moreIcon:y,moreTransitionName:b,tabBarGutter:p,onTabClick:te,onTabScroll:O,extra:m,style:g,panes:null,getPopupContainer:$,popupClassName:P,indicator:T});return _.createElement(wB.Provider,{value:{tabs:M,prefixCls:i}},_.createElement("div",Qe({ref:t,id:n,className:Re(i,"".concat(i,"-").concat(d),ue(ue(ue({},"".concat(i,"-mobile"),L),"".concat(i,"-editable"),c),"".concat(i,"-rtl"),A),o)},R),_.createElement(mxt,Qe({},re,{renderTabBar:x})),_.createElement(yxt,Qe({destroyInactiveTabPane:C},ne,{animated:N}))))});const Sxt=Object.freeze(Object.defineProperty({__proto__:null,default:YLe},Symbol.toStringTag,{value:"Module"})),xxt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function _xt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},xxt),{motionName:As(e,"switch")})),n}var wxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it)}function Ext(e,t){if(e)return e;const n=Wo(t).map(r=>{if(_.isValidElement(r)){const{key:i,props:o}=r,a=o||{},{tab:l}=a,s=wxt(a,["tab"]);return Object.assign(Object.assign({key:String(i)},s),{label:l})}return null});return Oxt(n)}const $xt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[kf(e,"slide-up"),kf(e,"slide-down")]]},Pxt=$xt,Txt=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:o,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${xe(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:xe(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:xe(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xe(e.borderRadiusLG)} 0 0 ${xe(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Mxt=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${xe(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},xc),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${xe(e.paddingXXS)} ${xe(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Rxt=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:o,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + `]:Object.assign({},OSt(e))}}},RSt=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},mC=vr("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Wn(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[MSt(r)]},RSt,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ISt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,shape:o="circle",size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls","className"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(_B,Object.assign({prefixCls:`${s}-avatar`,shape:o,size:a},h))))},NSt=ISt,ASt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o=!1,size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:o},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(_B,Object.assign({prefixCls:`${s}-button`,size:a},h))))},kSt=ASt,jSt="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",DSt=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o}=e,{getPrefixCls:a}=_.useContext(on),l=a("skeleton",t),[s,u,c]=mC(l),f=Re(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,c);return s(_.createElement("div",{className:f},_.createElement("div",{className:Re(`${l}-image`,n),style:i},_.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},_.createElement("path",{d:jSt,className:`${l}-image-path`})))))},LSt=DSt,zSt=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o,size:a="default"}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=bi(e,["prefixCls"]),d=Re(s,`${s}-element`,{[`${s}-active`]:i,[`${s}-block`]:o},n,r,c,f);return u(_.createElement("div",{className:d},_.createElement(_B,Object.assign({prefixCls:`${s}-input`,size:a},h))))},BSt=zSt;var FSt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const HSt=FSt;var WSt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:HSt}))};const qSt=_.forwardRef(WSt),VSt=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o,children:a}=e,{getPrefixCls:l}=_.useContext(on),s=l("skeleton",t),[u,c,f]=mC(s),h=Re(s,`${s}-element`,{[`${s}-active`]:o},c,n,r,f),d=a??_.createElement(qSt,null);return u(_.createElement("div",{className:h},_.createElement("div",{className:Re(`${s}-image`,n),style:i},d)))},USt=VSt,GSt=e=>{const t=l=>{const{width:s,rows:u=2}=e;if(Array.isArray(s))return s[l];if(u-1===l)return s},{prefixCls:n,className:r,style:i,rows:o}=e,a=vt(Array(o)).map((l,s)=>_.createElement("li",{key:s,style:{width:t(s)}}));return _.createElement("ul",{className:Re(n,r),style:i},a)},KSt=GSt,XSt=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return _.createElement("h3",{className:Re(t,n),style:Object.assign({width:r},i)})},YSt=XSt;function hV(e){return e&&typeof e=="object"?e:{}}function ZSt(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function QSt(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function JSt(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const vC=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:i,style:o,children:a,avatar:l=!1,title:s=!0,paragraph:u=!0,active:c,round:f}=e,{getPrefixCls:h,direction:d,skeleton:p}=_.useContext(on),g=h("skeleton",t),[m,v,y]=mC(g);if(n||!("loading"in e)){const b=!!l,C=!!s,x=!!u;let S;if(b){const $=Object.assign(Object.assign({prefixCls:`${g}-avatar`},ZSt(C,x)),hV(l));S=_.createElement("div",{className:`${g}-header`},_.createElement(_B,Object.assign({},$)))}let w;if(C||x){let $;if(C){const T=Object.assign(Object.assign({prefixCls:`${g}-title`},QSt(b,x)),hV(s));$=_.createElement(YSt,Object.assign({},T))}let P;if(x){const T=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},JSt(b,C)),hV(u));P=_.createElement(KSt,Object.assign({},T))}w=_.createElement("div",{className:`${g}-content`},$,P)}const O=Re(g,{[`${g}-with-avatar`]:b,[`${g}-active`]:c,[`${g}-rtl`]:d==="rtl",[`${g}-round`]:f},p==null?void 0:p.className,r,i,v,y);return m(_.createElement("div",{className:O,style:Object.assign(Object.assign({},p==null?void 0:p.style),o)},S,w))}return typeof a<"u"?a:null};vC.Button=kSt;vC.Avatar=NSt;vC.Input=BSt;vC.Image=LSt;vC.Node=USt;const WLe=vC;var ext={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const txt=ext;var nxt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:txt}))};const qLe=_.forwardRef(nxt),OB=_.createContext(null);var rxt=function(t){var n=t.activeTabOffset,r=t.horizontal,i=t.rtl,o=t.indicator,a=o===void 0?{}:o,l=a.size,s=a.align,u=s===void 0?"center":s,c=_.useState(),f=Me(c,2),h=f[0],d=f[1],p=_.useRef(),g=Se.useCallback(function(v){return typeof l=="function"?l(v):typeof l=="number"?l:v},[l]);function m(){rr.cancel(p.current)}return _.useEffect(function(){var v={};if(n)if(r){v.width=g(n.width);var y=i?"right":"left";u==="start"&&(v[y]=n[y]),u==="center"&&(v[y]=n[y]+n.width/2,v.transform=i?"translateX(50%)":"translateX(-50%)"),u==="end"&&(v[y]=n[y]+n.width,v.transform="translateX(-100%)")}else v.height=g(n.height),u==="start"&&(v.top=n.top),u==="center"&&(v.top=n.top+n.height/2,v.transform="translateY(-50%)"),u==="end"&&(v.top=n.top+n.height,v.transform="translateY(-100%)");return m(),p.current=rr(function(){d(v)}),m},[n,r,i,u,g]),{style:h}},w1e={width:0,height:0,left:0,top:0};function ixt(e,t,n){return _.useMemo(function(){for(var r,i=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||w1e,a=o.left+o.width,l=0;lA?(R=P,S.current="x"):(R=T,S.current="y"),t(-R,-R)&&$.preventDefault()}var O=_.useRef(null);O.current={onTouchStart:b,onTouchMove:C,onTouchEnd:x,onWheel:w},_.useEffect(function(){function $(M){O.current.onTouchStart(M)}function P(M){O.current.onTouchMove(M)}function T(M){O.current.onTouchEnd(M)}function R(M){O.current.onWheel(M)}return document.addEventListener("touchmove",P,{passive:!1}),document.addEventListener("touchend",T,{passive:!1}),e.current.addEventListener("touchstart",$,{passive:!1}),e.current.addEventListener("wheel",R),function(){document.removeEventListener("touchmove",P),document.removeEventListener("touchend",T)}},[])}function VLe(e){var t=_.useState(0),n=Me(t,2),r=n[0],i=n[1],o=_.useRef(0),a=_.useRef();return a.current=e,jv(function(){var l;(l=a.current)===null||l===void 0||l.call(a)},[r]),function(){o.current===r&&(o.current+=1,i(o.current))}}function lxt(e){var t=_.useRef([]),n=_.useState({}),r=Me(n,2),i=r[1],o=_.useRef(typeof e=="function"?e():e),a=VLe(function(){var s=o.current;t.current.forEach(function(u){s=u(s)}),t.current=[],o.current=s,i({})});function l(s){t.current.push(s),a()}return[o.current,l]}var P1e={width:0,height:0,left:0,top:0,right:0};function sxt(e,t,n,r,i,o,a){var l=a.tabs,s=a.tabPosition,u=a.rtl,c,f,h;return["top","bottom"].includes(s)?(c="width",f=u?"right":"left",h=Math.abs(n)):(c="height",f="top",h=-n),_.useMemo(function(){if(!l.length)return[0,0];for(var d=l.length,p=d,g=0;gh+t){p=g-1;break}}for(var v=0,y=d-1;y>=0;y-=1){var b=e.get(l[y].key)||P1e;if(b[f]=p?[0,0]:[v,p]},[e,t,r,i,o,h,s,l.map(function(d){return d.key}).join("_"),u])}function T1e(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var cxt="TABS_DQ";function ULe(e){return String(e).replace(/"/g,cxt)}function GLe(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var KLe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return!r||r.showAdd===!1?null:_.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:function(l){r.onEdit("add",{event:l})}},r.addIcon||"+")}),M1e=_.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o,a={};return bn(i)==="object"&&!_.isValidElement(i)?a=i:a.right=i,n==="right"&&(o=a.right),n==="left"&&(o=a.left),o?_.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),uxt=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,a=e.mobile,l=e.moreIcon,s=l===void 0?"More":l,u=e.moreTransitionName,c=e.style,f=e.className,h=e.editable,d=e.tabBarGutter,p=e.rtl,g=e.removeAriaLabel,m=e.onTabClick,v=e.getPopupContainer,y=e.popupClassName,b=_.useState(!1),C=Me(b,2),x=C[0],S=C[1],w=_.useState(null),O=Me(w,2),$=O[0],P=O[1],T="".concat(r,"-more-popup"),R="".concat(n,"-dropdown"),M=$!==null?"".concat(T,"-").concat($):null,A=o==null?void 0:o.dropdownAriaLabel;function N(q,W){q.preventDefault(),q.stopPropagation(),h.onEdit("remove",{key:W,event:q})}var j=_.createElement(R0,{onClick:function(W){var U=W.key,K=W.domEvent;m(U,K),S(!1)},prefixCls:"".concat(R,"-menu"),id:T,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[$],"aria-label":A!==void 0?A:"expanded dropdown"},i.map(function(q){var W=q.closable,U=q.disabled,K=q.closeIcon,X=q.key,G=q.label,Y=GLe(W,K,h,U);return _.createElement(gh,{key:X,id:"".concat(T,"-").concat(X),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(X),disabled:U},_.createElement("span",null,G),Y&&_.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(ee){ee.stopPropagation(),N(ee,X)}},K||h.removeIcon||"×"))}));function D(q){for(var W=i.filter(function(Y){return!Y.disabled}),U=W.findIndex(function(Y){return Y.key===$})||0,K=W.length,X=0;Xmt?"left":"right"})}),M=Me(R,2),A=M[0],N=M[1],j=O1e(0,function(Ct,mt){!T&&g&&g({direction:Ct>mt?"top":"bottom"})}),D=Me(j,2),L=D[0],B=D[1],k=_.useState([0,0]),z=Me(k,2),q=z[0],W=z[1],U=_.useState([0,0]),K=Me(U,2),X=K[0],G=K[1],Y=_.useState([0,0]),J=Me(Y,2),ee=J[0],Q=J[1],te=_.useState([0,0]),ne=Me(te,2),re=ne[0],oe=ne[1],se=lxt(new Map),ye=Me(se,2),be=ye[0],he=ye[1],le=ixt(b,be,X[0]),ve=mM(q,T),ke=mM(X,T),Ie=mM(ee,T),Oe=mM(re,T),Pe=veNe?Ne:Ct}var He=_.useRef(null),Be=_.useState(),qe=Me(Be,2),me=qe[0],Ee=qe[1];function $e(){Ee(Date.now())}function Le(){He.current&&clearTimeout(He.current)}axt(w,function(Ct,mt){function It(nt,yt){nt(function(xt){var At=je(xt+yt);return At})}return Pe?(T?It(N,Ct):It(B,mt),Le(),$e(),!0):!1}),_.useEffect(function(){return Le(),me&&(He.current=setTimeout(function(){Ee(0)},100)),Le},[me]);var Fe=sxt(le,_e,T?A:L,ke,Ie,Oe,fe(fe({},e),{},{tabs:b})),Ke=Me(Fe,2),lt=Ke[0],ft=Ke[1],Ye=ir(function(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,mt=le.get(Ct)||{width:0,height:0,left:0,right:0,top:0};if(T){var It=A;l?mt.rightA+_e&&(It=mt.right+mt.width-_e):mt.left<-A?It=-mt.left:mt.left+mt.width>-A+_e&&(It=-(mt.left+mt.width-_e)),B(0),N(je(It))}else{var nt=L;mt.top<-L?nt=-mt.top:mt.top+mt.height>-L+_e&&(nt=-(mt.top+mt.height-_e)),N(0),B(je(nt))}}),we={};f==="top"||f==="bottom"?we[l?"marginRight":"marginLeft"]=h:we.marginTop=h;var De=b.map(function(Ct,mt){var It=Ct.key;return _.createElement(fxt,{id:i,prefixCls:y,key:It,tab:Ct,style:mt===0?void 0:we,closable:Ct.closable,editable:u,active:It===a,renderWrapper:d,removeAriaLabel:c==null?void 0:c.removeAriaLabel,onClick:function(yt){p(It,yt)},onFocus:function(){Ye(It),$e(),w.current&&(l||(w.current.scrollLeft=0),w.current.scrollTop=0)}})}),We=function(){return he(function(){var mt,It=new Map,nt=(mt=O.current)===null||mt===void 0?void 0:mt.getBoundingClientRect();return b.forEach(function(yt){var xt,At=yt.key,cn=(xt=O.current)===null||xt===void 0?void 0:xt.querySelector('[data-node-key="'.concat(ULe(At),'"]'));if(cn){var Ht=pxt(cn,nt),$t=Me(Ht,4),zt=$t[0],Qt=$t[1],Pt=$t[2],ct=$t[3];It.set(At,{width:zt,height:Qt,left:Pt,top:ct})}}),It})};_.useEffect(function(){We()},[b.map(function(Ct){return Ct.key}).join("_")]);var Ge=VLe(function(){var Ct=Xb(C),mt=Xb(x),It=Xb(S);W([Ct[0]-mt[0]-It[0],Ct[1]-mt[1]-It[1]]);var nt=Xb(P);Q(nt);var yt=Xb($);oe(yt);var xt=Xb(O);G([xt[0]-nt[0],xt[1]-nt[1]]),We()}),Je=b.slice(0,lt),bt=b.slice(ft+1),at=[].concat(vt(Je),vt(bt)),et=le.get(a),rt=rxt({activeTabOffset:et,horizontal:T,indicator:m,rtl:l}),Ze=rt.style;_.useEffect(function(){Ye()},[a,Te,Ne,T1e(et),T1e(le),T]),_.useEffect(function(){Ge()},[l]);var wt=!!at.length,ut="".concat(y,"-nav-wrap"),ot,dt,_t,Ot;return T?l?(dt=A>0,ot=A!==Ne):(ot=A<0,dt=A!==Te):(_t=L<0,Ot=L!==Te),_.createElement(Ba,{onResize:Ge},_.createElement("div",{ref:Pd(t,C),role:"tablist",className:Re("".concat(y,"-nav"),n),style:r,onKeyDown:function(){$e()}},_.createElement(M1e,{ref:x,position:"left",extra:s,prefixCls:y}),_.createElement(Ba,{onResize:Ge},_.createElement("div",{className:Re(ut,ue(ue(ue(ue({},"".concat(ut,"-ping-left"),ot),"".concat(ut,"-ping-right"),dt),"".concat(ut,"-ping-top"),_t),"".concat(ut,"-ping-bottom"),Ot)),ref:w},_.createElement(Ba,{onResize:Ge},_.createElement("div",{ref:O,className:"".concat(y,"-nav-list"),style:{transform:"translate(".concat(A,"px, ").concat(L,"px)"),transition:me?"none":void 0}},De,_.createElement(KLe,{ref:P,prefixCls:y,locale:c,editable:u,style:fe(fe({},De.length===0?void 0:we),{},{visibility:wt?"hidden":null})}),_.createElement("div",{className:Re("".concat(y,"-ink-bar"),ue({},"".concat(y,"-ink-bar-animated"),o.inkBar)),style:Ze}))))),_.createElement(dxt,Qe({},e,{removeAriaLabel:c==null?void 0:c.removeAriaLabel,ref:$,prefixCls:y,tabs:at,className:!wt&&ce,tabMoving:!!me})),_.createElement(M1e,{ref:S,position:"right",extra:s,prefixCls:y})))}),XLe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.id,a=e.active,l=e.tabKey,s=e.children;return _.createElement("div",{id:o&&"".concat(o,"-panel-").concat(l),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(l),"aria-hidden":!a,style:i,className:Re(n,a&&"".concat(n,"-active"),r),ref:t},s)}),hxt=["renderTabBar"],gxt=["label","key"],mxt=function(t){var n=t.renderTabBar,r=an(t,hxt),i=_.useContext(OB),o=i.tabs;if(n){var a=fe(fe({},r),{},{panes:o.map(function(l){var s=l.label,u=l.key,c=an(l,gxt);return _.createElement(XLe,Qe({tab:s,key:u,tabKey:u},c))})});return n(a,R1e)}return _.createElement(R1e,r)},vxt=["key","forceRender","style","className","destroyInactiveTabPane"],yxt=function(t){var n=t.id,r=t.activeKey,i=t.animated,o=t.tabPosition,a=t.destroyInactiveTabPane,l=_.useContext(OB),s=l.prefixCls,u=l.tabs,c=i.tabPane,f="".concat(s,"-tabpane");return _.createElement("div",{className:Re("".concat(s,"-content-holder"))},_.createElement("div",{className:Re("".concat(s,"-content"),"".concat(s,"-content-").concat(o),ue({},"".concat(s,"-content-animated"),c))},u.map(function(h){var d=h.key,p=h.forceRender,g=h.style,m=h.className,v=h.destroyInactiveTabPane,y=an(h,vxt),b=d===r;return _.createElement(aa,Qe({key:d,visible:b,forceRender:p,removeOnLeave:!!(a||v),leavedClassName:"".concat(f,"-hidden")},i.tabPaneMotion),function(C,x){var S=C.style,w=C.className;return _.createElement(XLe,Qe({},y,{prefixCls:f,id:n,tabKey:d,animated:c,active:b,style:fe(fe({},g),S),className:Re(m,w),ref:x}))})})))};function bxt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=fe({inkBar:!0},bn(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Cxt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],I1e=0,YLe=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tabs":r,o=e.className,a=e.items,l=e.direction,s=e.activeKey,u=e.defaultActiveKey,c=e.editable,f=e.animated,h=e.tabPosition,d=h===void 0?"top":h,p=e.tabBarGutter,g=e.tabBarStyle,m=e.tabBarExtraContent,v=e.locale,y=e.moreIcon,b=e.moreTransitionName,C=e.destroyInactiveTabPane,x=e.renderTabBar,S=e.onChange,w=e.onTabClick,O=e.onTabScroll,$=e.getPopupContainer,P=e.popupClassName,T=e.indicator,R=an(e,Cxt),M=_.useMemo(function(){return(a||[]).filter(function(oe){return oe&&bn(oe)==="object"&&"key"in oe})},[a]),A=l==="rtl",N=bxt(f),j=_.useState(!1),D=Me(j,2),L=D[0],B=D[1];_.useEffect(function(){B(Zz())},[]);var k=zn(function(){var oe;return(oe=M[0])===null||oe===void 0?void 0:oe.key},{value:s,defaultValue:u}),z=Me(k,2),q=z[0],W=z[1],U=_.useState(function(){return M.findIndex(function(oe){return oe.key===q})}),K=Me(U,2),X=K[0],G=K[1];_.useEffect(function(){var oe=M.findIndex(function(ye){return ye.key===q});if(oe===-1){var se;oe=Math.max(0,Math.min(X,M.length-1)),W((se=M[oe])===null||se===void 0?void 0:se.key)}G(oe)},[M.map(function(oe){return oe.key}).join("_"),q,X]);var Y=zn(null,{value:n}),J=Me(Y,2),ee=J[0],Q=J[1];_.useEffect(function(){n||(Q("rc-tabs-".concat(I1e)),I1e+=1)},[]);function te(oe,se){w==null||w(oe,se);var ye=oe!==q;W(oe),ye&&(S==null||S(oe))}var ne={id:ee,activeKey:q,animated:N,tabPosition:d,rtl:A,mobile:L},re=fe(fe({},ne),{},{editable:c,locale:v,moreIcon:y,moreTransitionName:b,tabBarGutter:p,onTabClick:te,onTabScroll:O,extra:m,style:g,panes:null,getPopupContainer:$,popupClassName:P,indicator:T});return _.createElement(OB.Provider,{value:{tabs:M,prefixCls:i}},_.createElement("div",Qe({ref:t,id:n,className:Re(i,"".concat(i,"-").concat(d),ue(ue(ue({},"".concat(i,"-mobile"),L),"".concat(i,"-editable"),c),"".concat(i,"-rtl"),A),o)},R),_.createElement(mxt,Qe({},re,{renderTabBar:x})),_.createElement(yxt,Qe({destroyInactiveTabPane:C},ne,{animated:N}))))});const Sxt=Object.freeze(Object.defineProperty({__proto__:null,default:YLe},Symbol.toStringTag,{value:"Module"})),xxt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function _xt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},xxt),{motionName:As(e,"switch")})),n}var wxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it)}function Ext(e,t){if(e)return e;const n=Wo(t).map(r=>{if(_.isValidElement(r)){const{key:i,props:o}=r,a=o||{},{tab:l}=a,s=wxt(a,["tab"]);return Object.assign(Object.assign({key:String(i)},s),{label:l})}return null});return Oxt(n)}const $xt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[kf(e,"slide-up"),kf(e,"slide-down")]]},Pxt=$xt,Txt=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:o,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${xe(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:xe(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:xe(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xe(e.borderRadiusLG)} 0 0 ${xe(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Mxt=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${xe(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},xc),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${xe(e.paddingXXS)} ${xe(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Rxt=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:o,verticalItemMargin:a,calc:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:xe(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Ixt=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:i,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${xe(e.borderRadius)} ${xe(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${xe(e.borderRadius)} ${xe(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xe(e.borderRadius)} ${xe(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xe(e.borderRadius)} 0 0 ${xe(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Nxt=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:o,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},dh(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${i}`]:{margin:0},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},Axt=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:xe(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:xe(e.marginXS)},marginLeft:{_skip_check_:!0,value:xe(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},kxt=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:o,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},padding:`0 ${xe(e.paddingXS)}`,background:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:a}},dh(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Nxt(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},jxt=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Dxt=vr("Tabs",e=>{const t=Wn(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${xe(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${xe(e.horizontalItemGutter)}`});return[Ixt(t),Axt(t),Rxt(t),Mxt(t),Txt(t),kxt(t),Pxt(t)]},jxt),Lxt=()=>null,zxt=Lxt;var Bxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i,o,a,l;const{type:s,className:u,rootClassName:c,size:f,onEdit:h,hideAdd:d,centered:p,addIcon:g,moreIcon:m,popupClassName:v,children:y,items:b,animated:C,style:x,indicatorSize:S,indicator:w}=e,O=Bxt(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:$}=O,{direction:P,tabs:T,getPrefixCls:R,getPopupContainer:M}=_.useContext(on),A=R("tabs",$),N=di(A),[k,D,L]=Dxt(A,N);let B;s==="editable-card"&&(B={onEdit:(X,G)=>{let{key:Y,event:J}=G;h==null||h(X==="add"?J:Y,X)},removeIcon:_.createElement(Ic,null),addIcon:(g??(T==null?void 0:T.addIcon))||_.createElement(qLe,null),showAdd:d!==!0});const j=R(),z=Go(f),V=Ext(b,y),W=_xt(A,C),U=Object.assign(Object.assign({},T==null?void 0:T.style),x),K={align:(t=w==null?void 0:w.align)!==null&&t!==void 0?t:(n=T==null?void 0:T.indicator)===null||n===void 0?void 0:n.align,size:(a=(i=(r=w==null?void 0:w.size)!==null&&r!==void 0?r:S)!==null&&i!==void 0?i:(o=T==null?void 0:T.indicator)===null||o===void 0?void 0:o.size)!==null&&a!==void 0?a:T==null?void 0:T.indicatorSize};return k(_.createElement(YLe,Object.assign({direction:P,getPopupContainer:M,moreTransitionName:`${j}-slide-up`},O,{items:V,className:Re({[`${A}-${z}`]:z,[`${A}-card`]:["card","editable-card"].includes(s),[`${A}-editable-card`]:s==="editable-card",[`${A}-centered`]:p},T==null?void 0:T.className,u,c,D,L,N),popupClassName:Re(v,D,L,N),style:U,editable:B,moreIcon:(l=m??(T==null?void 0:T.moreIcon))!==null&&l!==void 0?l:_.createElement(Tre,null),prefixCls:A,animated:W,indicator:K})))};ZLe.TabPane=zxt;const YE=ZLe;var Fxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=Fxt(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=_.useContext(on),a=o("card",t),l=Re(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return _.createElement("div",Object.assign({},i,{className:l}))},QLe=Hxt,Wxt=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:i,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${xe(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`},Od()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},xc),{[` + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:l(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:xe(l(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:l(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Ixt=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:i,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${xe(e.borderRadius)} ${xe(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${xe(e.borderRadius)} ${xe(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${xe(e.borderRadius)} ${xe(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${xe(e.borderRadius)} 0 0 ${xe(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Nxt=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:o,horizontalItemPadding:a,itemSelectedColor:l,itemColor:s}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:s,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},dh(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${i}`]:{margin:0},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},Axt=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:xe(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:xe(e.marginXS)},marginLeft:{_skip_check_:!0,value:xe(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},kxt=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:o,itemActiveColor:a,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},padding:`0 ${xe(e.paddingXS)}`,background:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} ${l}`,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:a}},dh(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Nxt(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},jxt=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Dxt=vr("Tabs",e=>{const t=Wn(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${xe(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${xe(e.horizontalItemGutter)}`});return[Ixt(t),Axt(t),Rxt(t),Mxt(t),Txt(t),kxt(t),Pxt(t)]},jxt),Lxt=()=>null,zxt=Lxt;var Bxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i,o,a,l;const{type:s,className:u,rootClassName:c,size:f,onEdit:h,hideAdd:d,centered:p,addIcon:g,moreIcon:m,popupClassName:v,children:y,items:b,animated:C,style:x,indicatorSize:S,indicator:w}=e,O=Bxt(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:$}=O,{direction:P,tabs:T,getPrefixCls:R,getPopupContainer:M}=_.useContext(on),A=R("tabs",$),N=di(A),[j,D,L]=Dxt(A,N);let B;s==="editable-card"&&(B={onEdit:(X,G)=>{let{key:Y,event:J}=G;h==null||h(X==="add"?J:Y,X)},removeIcon:_.createElement(Ic,null),addIcon:(g??(T==null?void 0:T.addIcon))||_.createElement(qLe,null),showAdd:d!==!0});const k=R(),z=Go(f),q=Ext(b,y),W=_xt(A,C),U=Object.assign(Object.assign({},T==null?void 0:T.style),x),K={align:(t=w==null?void 0:w.align)!==null&&t!==void 0?t:(n=T==null?void 0:T.indicator)===null||n===void 0?void 0:n.align,size:(a=(i=(r=w==null?void 0:w.size)!==null&&r!==void 0?r:S)!==null&&i!==void 0?i:(o=T==null?void 0:T.indicator)===null||o===void 0?void 0:o.size)!==null&&a!==void 0?a:T==null?void 0:T.indicatorSize};return j(_.createElement(YLe,Object.assign({direction:P,getPopupContainer:M,moreTransitionName:`${k}-slide-up`},O,{items:q,className:Re({[`${A}-${z}`]:z,[`${A}-card`]:["card","editable-card"].includes(s),[`${A}-editable-card`]:s==="editable-card",[`${A}-centered`]:p},T==null?void 0:T.className,u,c,D,L,N),popupClassName:Re(v,D,L,N),style:U,editable:B,moreIcon:(l=m??(T==null?void 0:T.moreIcon))!==null&&l!==void 0?l:_.createElement(Rre,null),prefixCls:A,animated:W,indicator:K})))};ZLe.TabPane=zxt;const ZE=ZLe;var Fxt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=Fxt(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=_.useContext(on),a=o("card",t),l=Re(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return _.createElement("div",Object.assign({},i,{className:l}))},QLe=Hxt,Wxt=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:i,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${xe(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`},Od()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},xc),{[` > ${n}-typography, > ${n}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},qxt=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` @@ -345,30 +345,30 @@ html body { ${xe(i)} ${xe(i)} 0 0 ${n}, ${xe(i)} 0 0 0 ${n} inset, 0 ${xe(i)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},Vxt=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:o,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},Od()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:xe(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:xe(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${o}`}}})},Uxt=e=>Object.assign(Object.assign({margin:`${xe(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Od()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},xc),"&-description":{color:e.colorTextDescription}}),Gxt=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${xe(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${xe(e.padding)} ${xe(n)}`}}},Kxt=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Xxt=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:i,colorBorderSecondary:o,boxShadowTertiary:a,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},sr(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:Wxt(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},Od()),[`${n}-grid`]:qxt(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:Vxt(e),[`${n}-meta`]:Uxt(e)}),[`${n}-bordered`]:{border:`${xe(e.lineWidth)} ${e.lineType} ${o}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:i}}},[`${n}-type-inner`]:Gxt(e),[`${n}-loading`]:Kxt(e),[`${n}-rtl`]:{direction:"rtl"}}},Yxt=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${xe(n)}`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Zxt=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),Qxt=vr("Card",e=>{const t=Wn(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Xxt(t),Yxt(t)]},Zxt);var N1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return _.createElement("ul",{className:t,style:r},n.map((i,o)=>{const a=`action-${o}`;return _.createElement("li",{style:{width:`${100/n.length}%`},key:a},_.createElement("span",null,i))}))},e5t=_.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:i,style:o,extra:a,headStyle:l={},bodyStyle:s={},title:u,loading:c,bordered:f=!0,size:h,type:d,cover:p,actions:g,tabList:m,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:C,hoverable:x,tabProps:S={},classNames:w,styles:O}=e,$=N1e(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:P,direction:T,card:R}=_.useContext(on),M=be=>{var he;(he=e.onTabChange)===null||he===void 0||he.call(e,be)},A=be=>{var he;return Re((he=R==null?void 0:R.classNames)===null||he===void 0?void 0:he[be],w==null?void 0:w[be])},N=be=>{var he;return Object.assign(Object.assign({},(he=R==null?void 0:R.styles)===null||he===void 0?void 0:he[be]),O==null?void 0:O[be])},k=_.useMemo(()=>{let be=!1;return _.Children.forEach(v,he=>{he&&he.type&&he.type===QLe&&(be=!0)}),be},[v]),D=P("card",n),[L,B,j]=Qxt(D),z=_.createElement(WLe,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),V=y!==void 0,W=Object.assign(Object.assign({},S),{[V?"activeKey":"defaultActiveKey"]:V?y:b,tabBarExtraContent:C});let U;const K=Go(h),X=!K||K==="default"?"large":K,G=m?_.createElement(YE,Object.assign({size:X},W,{className:`${D}-head-tabs`,onChange:M,items:m.map(be=>{var{tab:he}=be,le=N1e(be,["tab"]);return Object.assign({label:he},le)})})):null;if(u||a||G){const be=Re(`${D}-head`,A("header")),he=Re(`${D}-head-title`,A("title")),le=Re(`${D}-extra`,A("extra")),ve=Object.assign(Object.assign({},l),N("header"));U=_.createElement("div",{className:be,style:ve},_.createElement("div",{className:`${D}-head-wrapper`},u&&_.createElement("div",{className:he,style:N("title")},u),a&&_.createElement("div",{className:le,style:N("extra")},a)),G)}const Y=Re(`${D}-cover`,A("cover")),J=p?_.createElement("div",{className:Y,style:N("cover")},p):null,ee=Re(`${D}-body`,A("body")),Q=Object.assign(Object.assign({},s),N("body")),te=_.createElement("div",{className:ee,style:Q},c?z:v),ne=Re(`${D}-actions`,A("actions")),re=g&&g.length?_.createElement(Jxt,{actionClasses:ne,actionStyle:N("actions"),actions:g}):null,oe=bi($,["onTabChange"]),se=Re(D,R==null?void 0:R.className,{[`${D}-loading`]:c,[`${D}-bordered`]:f,[`${D}-hoverable`]:x,[`${D}-contain-grid`]:k,[`${D}-contain-tabs`]:m&&m.length,[`${D}-${K}`]:K,[`${D}-type-${d}`]:!!d,[`${D}-rtl`]:T==="rtl"},r,i,B,j),ye=Object.assign(Object.assign({},R==null?void 0:R.style),o);return L(_.createElement("div",Object.assign({ref:t},oe,{className:se,style:ye}),U,J,te,re))}),t5t=e5t;var n5t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,avatar:r,title:i,description:o}=e,a=n5t(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=_.useContext(on),s=l("card",t),u=Re(`${s}-meta`,n),c=r?_.createElement("div",{className:`${s}-meta-avatar`},r):null,f=i?_.createElement("div",{className:`${s}-meta-title`},i):null,h=o?_.createElement("div",{className:`${s}-meta-description`},o):null,d=f||h?_.createElement("div",{className:`${s}-meta-detail`},f,h):null;return _.createElement("div",Object.assign({},a,{className:u}),c,d)},i5t=r5t,Xre=t5t;Xre.Grid=QLe;Xre.Meta=i5t;const mh=Xre;var o5t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function JLe(e,t,n){var r=n||{},i=r.noTrailing,o=i===void 0?!1:i,a=r.noLeading,l=a===void 0?!1:a,s=r.debounceMode,u=s===void 0?void 0:s,c,f=!1,h=0;function d(){c&&clearTimeout(c)}function p(m){var v=m||{},y=v.upcomingOnly,b=y===void 0?!1:y;d(),f=!b}function g(){for(var m=arguments.length,v=new Array(m),y=0;ye?l?(h=Date.now(),o||(c=setTimeout(u?S:x,e))):x():o!==!0&&(c=setTimeout(u?S:x,u===void 0?e-C:e))}return g.cancel=p,g}function Yre(e,t,n){var r=n||{},i=r.atBegin,o=i===void 0?!1:i;return JLe(e,t,{debounceMode:o!==!1})}const a5t=Object.freeze(Object.defineProperty({__proto__:null,debounce:Yre,throttle:JLe},Symbol.toStringTag,{value:"Module"}));function pQ(e,t,n){return Math.max(t,Math.min(e,n))}var P3=function(t){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(t._reactName)||t.preventDefault()},oD=function(t){for(var n=[],r=eze(t),i=tze(t),o=r;o0?1:0):0},s5t=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},hQ=function(t){return t&&t.offsetWidth||0},Zre=function(t){return t&&t.offsetHeight||0},nze=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r,i,o,a;return r=t.startX-t.curX,i=t.startY-t.curY,o=Math.atan2(i,r),a=Math.round(o*180/Math.PI),a<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":n===!0?a>=35&&a<=135?"up":"down":"vertical"},OB=function(t){var n=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(n=!1),n},hV=function(t,n){var r={};return n.forEach(function(i){return r[i]=t[i]}),r},c5t=function(t){var n=Se.Children.count(t.children),r=t.listRef,i=Math.ceil(hQ(r)),o=t.trackRef&&t.trackRef.node,a=Math.ceil(hQ(o)),l;if(t.vertical)l=i;else{var s=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(s*=i/100),l=Math.ceil((i-s)/t.slidesToShow)}var u=r&&Zre(r.querySelector('[data-index="0"]')),c=u*t.slidesToShow,f=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(f=n-1-t.initialSlide);var h=t.lazyLoadedList||[],d=oD(fe(fe({},t),{},{currentSlide:f,lazyLoadedList:h}));h=h.concat(d);var p={slideCount:n,slideWidth:l,listWidth:i,trackWidth:a,currentSlide:f,slideHeight:u,listHeight:c,lazyLoadedList:h};return t.autoplaying===null&&t.autoplay&&(p.autoplaying="playing"),p},u5t=function(t){var n=t.waitForAnimate,r=t.animating,i=t.fade,o=t.infinite,a=t.index,l=t.slideCount,s=t.lazyLoad,u=t.currentSlide,c=t.centerMode,f=t.slidesToScroll,h=t.slidesToShow,d=t.useCSS,p=t.lazyLoadedList;if(n&&r)return{};var g=a,m,v,y,b={},C={},x=o?a:pQ(a,0,l-1);if(i){if(!o&&(a<0||a>=l))return{};a<0?g=a+l:a>=l&&(g=a-l),s&&p.indexOf(g)<0&&(p=p.concat(g)),b={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},C={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+l,o?l%f!==0&&(m=l-l%f):m=0):!OB(t)&&g>u?g=m=u:c&&g>=l?(g=o?l:l-1,m=o?0:l-1):g>=l&&(m=g-l,o?l%f!==0&&(m=0):m=l-h),!o&&g+h>=l&&(m=l-h),v=QE(fe(fe({},t),{},{slideIndex:g})),y=QE(fe(fe({},t),{},{slideIndex:m})),o||(v===y&&(g=m),v=y),s&&(p=p.concat(oD(fe(fe({},t),{},{currentSlide:g})))),d?(b={animating:!0,currentSlide:m,trackStyle:rze(fe(fe({},t),{},{left:v})),lazyLoadedList:p,targetSlide:x},C={animating:!1,currentSlide:m,trackStyle:ZE(fe(fe({},t),{},{left:y})),swipeLeft:null,targetSlide:x}):b={currentSlide:m,trackStyle:ZE(fe(fe({},t),{},{left:y})),lazyLoadedList:p,targetSlide:x};return{state:b,nextState:C}},d5t=function(t,n){var r,i,o,a,l,s=t.slidesToScroll,u=t.slidesToShow,c=t.slideCount,f=t.currentSlide,h=t.targetSlide,d=t.lazyLoad,p=t.infinite;if(a=c%s!==0,r=a?0:(c-f)%s,n.message==="previous")o=r===0?s:u-r,l=f-o,d&&!p&&(i=f-o,l=i===-1?c-1:i),p||(l=h-s);else if(n.message==="next")o=r===0?s:r,l=f+o,d&&!p&&(l=(f+s)%c+r),p||(l=h+s);else if(n.message==="dots")l=n.index*n.slidesToScroll;else if(n.message==="children"){if(l=n.index,p){var g=y5t(fe(fe({},t),{},{targetSlide:l}));l>n.currentSlide&&g==="left"?l=l-c:l10)return{scrolling:!0};l&&(y.swipeLength=$);var P=(s?-1:1)*(y.curX>y.startX?1:-1);l&&(P=y.curY>y.startY?1:-1);var T=Math.ceil(g/m),R=nze(n.touchObject,l),M=y.swipeLength;return v||(u===0&&(R==="right"||R==="down")||u+1>=T&&(R==="left"||R==="up")||!OB(n)&&(R==="left"||R==="up"))&&(M=y.swipeLength*c,f===!1&&h&&(h(R),w.edgeDragged=!0)),!d&&b&&(b(R),w.swiped=!0),o?S=O+M*(C/x)*P:s?S=O-M*P:S=O+M*P,l&&(S=O+M*P),w=fe(fe({},w),{},{touchObject:y,swipeLeft:S,trackStyle:ZE(fe(fe({},n),{},{left:S}))}),Math.abs(y.curX-y.startX)10&&(w.swiping=!0,P3(t)),w}},g5t=function(t,n){var r=n.dragging,i=n.swipe,o=n.touchObject,a=n.listWidth,l=n.touchThreshold,s=n.verticalSwiping,u=n.listHeight,c=n.swipeToSlide,f=n.scrolling,h=n.onSwipe,d=n.targetSlide,p=n.currentSlide,g=n.infinite;if(!r)return i&&P3(t),{};var m=s?u/l:a/l,v=nze(o,s),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!o.swipeLength)return y;if(o.swipeLength>m){P3(t),h&&h(v);var b,C,x=g?p:d;switch(v){case"left":case"up":C=x+k1e(n),b=c?A1e(n,C):C,y.currentDirection=0;break;case"right":case"down":C=x-k1e(n),b=c?A1e(n,C):C,y.currentDirection=1;break;default:b=x}y.triggerSlideHandler=b}else{var S=QE(n);y.trackStyle=rze(fe(fe({},n),{},{left:S}))}return y},m5t=function(t){for(var n=t.infinite?t.slideCount*2:t.slideCount,r=t.infinite?t.slidesToShow*-1:0,i=t.infinite?t.slidesToShow*-1:0,o=[];rr[r.length-1])n=r[r.length-1];else for(var o in r){if(nt.swipeLeft*-1)return r=s,!1}else if(s.offsetLeft-n+hQ(s)/2>t.swipeLeft*-1)return r=s,!1;return!0}),!r)return 0;var a=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,l=Math.abs(r.dataset.index-a)||1;return l}else return t.slidesToScroll},Qre=function(t,n){return n.reduce(function(r,i){return r&&t.hasOwnProperty(i)},!0)?null:console.error("Keys Missing:",t)},ZE=function(t){Qre(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,r,i=t.slideCount+2*t.slidesToShow;t.vertical?r=i*t.slideHeight:n=v5t(t)*t.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var a=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",l=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";o=fe(fe({},o),{},{WebkitTransform:a,transform:l,msTransform:s})}else t.vertical?o.top=t.left:o.left=t.left;return t.fade&&(o={opacity:1}),n&&(o.width=n),r&&(o.height=r),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?o.marginTop=t.left+"px":o.marginLeft=t.left+"px"),o},rze=function(t){Qre(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=ZE(t);return t.useTransform?(n.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,n.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?n.transition="top "+t.speed+"ms "+t.cssEase:n.transition="left "+t.speed+"ms "+t.cssEase,n},QE=function(t){if(t.unslick)return 0;Qre(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=t.slideIndex,r=t.trackRef,i=t.infinite,o=t.centerMode,a=t.slideCount,l=t.slidesToShow,s=t.slidesToScroll,u=t.slideWidth,c=t.listWidth,f=t.variableWidth,h=t.slideHeight,d=t.fade,p=t.vertical,g=0,m,v,y=0;if(d||t.slideCount===1)return 0;var b=0;if(i?(b=-Kp(t),a%s!==0&&n+s>a&&(b=-(n>a?l-(n-a):a%s)),o&&(b+=parseInt(l/2))):(a%s!==0&&n+s>a&&(b=l-a%s),o&&(b=parseInt(l/2))),g=b*u,y=b*h,p?m=n*h*-1+y:m=n*u*-1+g,f===!0){var C,x=r&&r.node;if(C=n+Kp(t),v=x&&x.childNodes[C],m=v?v.offsetLeft*-1:0,o===!0){C=i?n+Kp(t):n,v=x&&x.children[C],m=0;for(var S=0;St.currentSlide?t.targetSlide>t.currentSlide+b5t(t)?"left":"right":t.targetSlide0&&(a+=1),i&&n%2===0&&(a+=1),a}return i?0:n-1},C5t=function(t){var n=t.slidesToShow,r=t.centerMode,i=t.rtl,o=t.centerPadding;if(r){var a=(n-1)/2+1;return parseInt(o)>0&&(a+=1),!i&&n%2===0&&(a+=1),a}return i?n-1:0},j1e=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},gV=function(t){var n,r,i,o,a;t.rtl?a=t.slideCount-1-t.index:a=t.index,i=a<0||a>=t.slideCount,t.centerMode?(o=Math.floor(t.slidesToShow/2),r=(a-t.currentSlide)%t.slideCount===0,a>t.currentSlide-o-1&&a<=t.currentSlide+o&&(n=!0)):n=t.currentSlide<=a&&a=t.slideCount?l=t.targetSlide-t.slideCount:l=t.targetSlide;var s=a===l;return{"slick-slide":!0,"slick-active":n,"slick-center":r,"slick-cloned":i,"slick-current":s}},S5t=function(t){var n={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(n.width=t.slideWidth),t.fade&&(n.position="relative",t.vertical&&t.slideHeight?n.top=-t.index*parseInt(t.slideHeight):n.left=-t.index*parseInt(t.slideWidth),n.opacity=t.currentSlide===t.index?1:0,t.useCSS&&(n.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),n},mV=function(t,n){return t.key+"-"+n},x5t=function(t){var n,r=[],i=[],o=[],a=Se.Children.count(t.children),l=eze(t),s=tze(t);return Se.Children.forEach(t.children,function(u,c){var f,h={message:"children",index:c,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(c)>=0?f=u:f=Se.createElement("div",null);var d=S5t(fe(fe({},t),{},{index:c})),p=f.props.className||"",g=gV(fe(fe({},t),{},{index:c}));if(r.push(Se.cloneElement(f,{key:"original"+mV(f,c),"data-index":c,className:Re(g,p),tabIndex:"-1","aria-hidden":!g["slick-active"],style:fe(fe({outline:"none"},f.props.style||{}),d),onClick:function(y){f.props&&f.props.onClick&&f.props.onClick(y),t.focusOnSelect&&t.focusOnSelect(h)}})),t.infinite&&t.fade===!1){var m=a-c;m<=Kp(t)&&a!==t.slidesToShow&&(n=-m,n>=l&&(f=u),g=gV(fe(fe({},t),{},{index:n})),i.push(Se.cloneElement(f,{key:"precloned"+mV(f,n),"data-index":n,tabIndex:"-1",className:Re(g,p),"aria-hidden":!g["slick-active"],style:fe(fe({},f.props.style||{}),d),onClick:function(y){f.props&&f.props.onClick&&f.props.onClick(y),t.focusOnSelect&&t.focusOnSelect(h)}}))),a!==t.slidesToShow&&(n=a+c,n=C&&h<=y:h===C}),S={message:"dots",index:m,slidesToScroll:u,currentSlide:h},w=this.clickHandler.bind(this,S);g=g.concat(Se.createElement("li",{key:m,className:x},Se.cloneElement(this.props.customPaging(m),{onClick:w})))}return Se.cloneElement(this.props.appendDots(g),fe({className:this.props.dotsClass},p))}}]),n}(Se.PureComponent),E5t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"clickHandler",value:function(i,o){o&&o.preventDefault(),this.props.clickHandler(i,o)}},{key:"render",value:function(){var i={"slick-arrow":!0,"slick-prev":!0},o=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(i["slick-disabled"]=!0,o=null);var a={key:"0","data-role":"none",className:Re(i),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.prevArrow?s=Se.cloneElement(this.props.prevArrow,fe(fe({},a),l)):s=Se.createElement("button",Qe({key:"0",type:"button"},a)," ","Previous"),s}}]),n}(Se.PureComponent),$5t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"clickHandler",value:function(i,o){o&&o.preventDefault(),this.props.clickHandler(i,o)}},{key:"render",value:function(){var i={"slick-arrow":!0,"slick-next":!0},o=this.clickHandler.bind(this,{message:"next"});OB(this.props)||(i["slick-disabled"]=!0,o=null);var a={key:"1","data-role":"none",className:Re(i),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.nextArrow?s=Se.cloneElement(this.props.nextArrow,fe(fe({},a),l)):s=Se.createElement("button",Qe({key:"1",type:"button"},a)," ","Next"),s}}]),n}(Se.PureComponent),P5t=["animating"],T5t=function(e){ua(n,e);var t=ul(n);function n(r){var i;Yr(this,n),i=t.call(this,r),ue(St(i),"listRefHandler",function(a){return i.list=a}),ue(St(i),"trackRefHandler",function(a){return i.track=a}),ue(St(i),"adaptHeight",function(){if(i.props.adaptiveHeight&&i.list){var a=i.list.querySelector('[data-index="'.concat(i.state.currentSlide,'"]'));i.list.style.height=Zre(a)+"px"}}),ue(St(i),"componentDidMount",function(){if(i.props.onInit&&i.props.onInit(),i.props.lazyLoad){var a=oD(fe(fe({},i.props),i.state));a.length>0&&(i.setState(function(s){return{lazyLoadedList:s.lazyLoadedList.concat(a)}}),i.props.onLazyLoad&&i.props.onLazyLoad(a))}var l=fe({listRef:i.list,trackRef:i.track},i.props);i.updateState(l,!0,function(){i.adaptHeight(),i.props.autoplay&&i.autoPlay("playing")}),i.props.lazyLoad==="progressive"&&(i.lazyLoadTimer=setInterval(i.progressiveLazyLoad,1e3)),i.ro=new wne(function(){i.state.animating?(i.onWindowResized(!1),i.callbackTimers.push(setTimeout(function(){return i.onWindowResized()},i.props.speed))):i.onWindowResized()}),i.ro.observe(i.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(s){s.onfocus=i.props.pauseOnFocus?i.onSlideFocus:null,s.onblur=i.props.pauseOnFocus?i.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",i.onWindowResized):window.attachEvent("onresize",i.onWindowResized)}),ue(St(i),"componentWillUnmount",function(){i.animationEndCallback&&clearTimeout(i.animationEndCallback),i.lazyLoadTimer&&clearInterval(i.lazyLoadTimer),i.callbackTimers.length&&(i.callbackTimers.forEach(function(a){return clearTimeout(a)}),i.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",i.onWindowResized):window.detachEvent("onresize",i.onWindowResized),i.autoplayTimer&&clearInterval(i.autoplayTimer),i.ro.disconnect()}),ue(St(i),"componentDidUpdate",function(a){if(i.checkImagesLoad(),i.props.onReInit&&i.props.onReInit(),i.props.lazyLoad){var l=oD(fe(fe({},i.props),i.state));l.length>0&&(i.setState(function(c){return{lazyLoadedList:c.lazyLoadedList.concat(l)}}),i.props.onLazyLoad&&i.props.onLazyLoad(l))}i.adaptHeight();var s=fe(fe({listRef:i.list,trackRef:i.track},i.props),i.state),u=i.didPropsChange(a);u&&i.updateState(s,u,function(){i.state.currentSlide>=Se.Children.count(i.props.children)&&i.changeSlide({message:"index",index:Se.Children.count(i.props.children)-i.props.slidesToShow,currentSlide:i.state.currentSlide}),(a.autoplay!==i.props.autoplay||a.autoplaySpeed!==i.props.autoplaySpeed)&&(!a.autoplay&&i.props.autoplay?i.autoPlay("playing"):i.props.autoplay?i.autoPlay("update"):i.pause("paused"))})}),ue(St(i),"onWindowResized",function(a){i.debouncedResize&&i.debouncedResize.cancel(),i.debouncedResize=Yre(50,function(){return i.resizeWindow(a)}),i.debouncedResize()}),ue(St(i),"resizeWindow",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,l=!!(i.track&&i.track.node);if(l){var s=fe(fe({listRef:i.list,trackRef:i.track},i.props),i.state);i.updateState(s,a,function(){i.props.autoplay?i.autoPlay("update"):i.pause("paused")}),i.setState({animating:!1}),clearTimeout(i.animationEndCallback),delete i.animationEndCallback}}),ue(St(i),"updateState",function(a,l,s){var u=c5t(a);a=fe(fe(fe({},a),u),{},{slideIndex:u.currentSlide});var c=QE(a);a=fe(fe({},a),{},{left:c});var f=ZE(a);(l||Se.Children.count(i.props.children)!==Se.Children.count(a.children))&&(u.trackStyle=f),i.setState(u,s)}),ue(St(i),"ssrInit",function(){if(i.props.variableWidth){var a=0,l=0,s=[],u=Kp(fe(fe(fe({},i.props),i.state),{},{slideCount:i.props.children.length})),c=Ek(fe(fe(fe({},i.props),i.state),{},{slideCount:i.props.children.length}));i.props.children.forEach(function(w){s.push(w.props.style.width),a+=w.props.style.width});for(var f=0;f=l&&i.onWindowResized()};if(!u.onclick)u.onclick=function(){return u.parentNode.focus()};else{var f=u.onclick;u.onclick=function(h){f(h),u.parentNode.focus()}}u.onload||(i.props.lazyLoad?u.onload=function(){i.adaptHeight(),i.callbackTimers.push(setTimeout(i.onWindowResized,i.props.speed))}:(u.onload=c,u.onerror=function(){c(),i.props.onLazyLoadError&&i.props.onLazyLoadError()}))})}),ue(St(i),"progressiveLazyLoad",function(){for(var a=[],l=fe(fe({},i.props),i.state),s=i.state.currentSlide;s=-Kp(l);u--)if(i.state.lazyLoadedList.indexOf(u)<0){a.push(u);break}a.length>0?(i.setState(function(c){return{lazyLoadedList:c.lazyLoadedList.concat(a)}}),i.props.onLazyLoad&&i.props.onLazyLoad(a)):i.lazyLoadTimer&&(clearInterval(i.lazyLoadTimer),delete i.lazyLoadTimer)}),ue(St(i),"slideHandler",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=i.props,u=s.asNavFor,c=s.beforeChange,f=s.onLazyLoad,h=s.speed,d=s.afterChange,p=i.state.currentSlide,g=u5t(fe(fe(fe({index:a},i.props),i.state),{},{trackRef:i.track,useCSS:i.props.useCSS&&!l})),m=g.state,v=g.nextState;if(m){c&&c(p,m.currentSlide);var y=m.lazyLoadedList.filter(function(b){return i.state.lazyLoadedList.indexOf(b)<0});f&&y.length>0&&f(y),!i.props.waitForAnimate&&i.animationEndCallback&&(clearTimeout(i.animationEndCallback),d&&d(p),delete i.animationEndCallback),i.setState(m,function(){u&&i.asNavForIndex!==a&&(i.asNavForIndex=a,u.innerSlider.slideHandler(a)),v&&(i.animationEndCallback=setTimeout(function(){var b=v.animating,C=an(v,P5t);i.setState(C,function(){i.callbackTimers.push(setTimeout(function(){return i.setState({animating:b})},10)),d&&d(m.currentSlide),delete i.animationEndCallback})},h))})}}),ue(St(i),"changeSlide",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=fe(fe({},i.props),i.state),u=d5t(s,a);if(!(u!==0&&!u)&&(l===!0?i.slideHandler(u,l):i.slideHandler(u),i.props.autoplay&&i.autoPlay("update"),i.props.focusOnSelect)){var c=i.list.querySelectorAll(".slick-current");c[0]&&c[0].focus()}}),ue(St(i),"clickHandler",function(a){i.clickable===!1&&(a.stopPropagation(),a.preventDefault()),i.clickable=!0}),ue(St(i),"keyHandler",function(a){var l=f5t(a,i.props.accessibility,i.props.rtl);l!==""&&i.changeSlide({message:l})}),ue(St(i),"selectHandler",function(a){i.changeSlide(a)}),ue(St(i),"disableBodyScroll",function(){var a=function(s){s=s||window.event,s.preventDefault&&s.preventDefault(),s.returnValue=!1};window.ontouchmove=a}),ue(St(i),"enableBodyScroll",function(){window.ontouchmove=null}),ue(St(i),"swipeStart",function(a){i.props.verticalSwiping&&i.disableBodyScroll();var l=p5t(a,i.props.swipe,i.props.draggable);l!==""&&i.setState(l)}),ue(St(i),"swipeMove",function(a){var l=h5t(a,fe(fe(fe({},i.props),i.state),{},{trackRef:i.track,listRef:i.list,slideIndex:i.state.currentSlide}));l&&(l.swiping&&(i.clickable=!1),i.setState(l))}),ue(St(i),"swipeEnd",function(a){var l=g5t(a,fe(fe(fe({},i.props),i.state),{},{trackRef:i.track,listRef:i.list,slideIndex:i.state.currentSlide}));if(l){var s=l.triggerSlideHandler;delete l.triggerSlideHandler,i.setState(l),s!==void 0&&(i.slideHandler(s),i.props.verticalSwiping&&i.enableBodyScroll())}}),ue(St(i),"touchEnd",function(a){i.swipeEnd(a),i.clickable=!0}),ue(St(i),"slickPrev",function(){i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"previous"})},0))}),ue(St(i),"slickNext",function(){i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"next"})},0))}),ue(St(i),"slickGoTo",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a=Number(a),isNaN(a))return"";i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"index",index:a,currentSlide:i.state.currentSlide},l)},0))}),ue(St(i),"play",function(){var a;if(i.props.rtl)a=i.state.currentSlide-i.props.slidesToScroll;else if(OB(fe(fe({},i.props),i.state)))a=i.state.currentSlide+i.props.slidesToScroll;else return!1;i.slideHandler(a)}),ue(St(i),"autoPlay",function(a){i.autoplayTimer&&clearInterval(i.autoplayTimer);var l=i.state.autoplaying;if(a==="update"){if(l==="hovered"||l==="focused"||l==="paused")return}else if(a==="leave"){if(l==="paused"||l==="focused")return}else if(a==="blur"&&(l==="paused"||l==="hovered"))return;i.autoplayTimer=setInterval(i.play,i.props.autoplaySpeed+50),i.setState({autoplaying:"playing"})}),ue(St(i),"pause",function(a){i.autoplayTimer&&(clearInterval(i.autoplayTimer),i.autoplayTimer=null);var l=i.state.autoplaying;a==="paused"?i.setState({autoplaying:"paused"}):a==="focused"?(l==="hovered"||l==="playing")&&i.setState({autoplaying:"focused"}):l==="playing"&&i.setState({autoplaying:"hovered"})}),ue(St(i),"onDotsOver",function(){return i.props.autoplay&&i.pause("hovered")}),ue(St(i),"onDotsLeave",function(){return i.props.autoplay&&i.state.autoplaying==="hovered"&&i.autoPlay("leave")}),ue(St(i),"onTrackOver",function(){return i.props.autoplay&&i.pause("hovered")}),ue(St(i),"onTrackLeave",function(){return i.props.autoplay&&i.state.autoplaying==="hovered"&&i.autoPlay("leave")}),ue(St(i),"onSlideFocus",function(){return i.props.autoplay&&i.pause("focused")}),ue(St(i),"onSlideBlur",function(){return i.props.autoplay&&i.state.autoplaying==="focused"&&i.autoPlay("blur")}),ue(St(i),"render",function(){var a=Re("slick-slider",i.props.className,{"slick-vertical":i.props.vertical,"slick-initialized":!0}),l=fe(fe({},i.props),i.state),s=hV(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=i.props.pauseOnHover;s=fe(fe({},s),{},{onMouseEnter:u?i.onTrackOver:null,onMouseLeave:u?i.onTrackLeave:null,onMouseOver:u?i.onTrackOver:null,focusOnSelect:i.props.focusOnSelect&&i.clickable?i.selectHandler:null});var c;if(i.props.dots===!0&&i.state.slideCount>=i.props.slidesToShow){var f=hV(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),h=i.props.pauseOnDotsHover;f=fe(fe({},f),{},{clickHandler:i.changeSlide,onMouseEnter:h?i.onDotsLeave:null,onMouseOver:h?i.onDotsOver:null,onMouseLeave:h?i.onDotsLeave:null}),c=Se.createElement(O5t,f)}var d,p,g=hV(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=i.changeSlide,i.props.arrows&&(d=Se.createElement(E5t,g),p=Se.createElement($5t,g));var m=null;i.props.vertical&&(m={height:i.state.listHeight});var v=null;i.props.vertical===!1?i.props.centerMode===!0&&(v={padding:"0px "+i.props.centerPadding}):i.props.centerMode===!0&&(v={padding:i.props.centerPadding+" 0px"});var y=fe(fe({},m),v),b=i.props.touchMove,C={className:"slick-list",style:y,onClick:i.clickHandler,onMouseDown:b?i.swipeStart:null,onMouseMove:i.state.dragging&&b?i.swipeMove:null,onMouseUp:b?i.swipeEnd:null,onMouseLeave:i.state.dragging&&b?i.swipeEnd:null,onTouchStart:b?i.swipeStart:null,onTouchMove:i.state.dragging&&b?i.swipeMove:null,onTouchEnd:b?i.touchEnd:null,onTouchCancel:i.state.dragging&&b?i.swipeEnd:null,onKeyDown:i.props.accessibility?i.keyHandler:null},x={className:a,dir:"ltr",style:i.props.style};return i.props.unslick&&(C={className:"slick-list"},x={className:a,style:i.props.style}),Se.createElement("div",x,i.props.unslick?"":d,Se.createElement("div",Qe({ref:i.listRefHandler},C),Se.createElement(_5t,Qe({ref:i.trackRefHandler},s),i.props.children)),i.props.unslick?"":p,i.props.unslick?"":c)}),i.list=null,i.track=null,i.state=fe(fe({},o5t),{},{currentSlide:i.props.initialSlide,slideCount:Se.Children.count(i.props.children)}),i.callbackTimers=[],i.clickable=!0,i.debouncedResize=null;var o=i.ssrInit();return i.state=fe(fe({},i.state),o),i}return Zr(n,[{key:"didPropsChange",value:function(i){for(var o=!1,a=0,l=Object.keys(this.props);a1&&arguments[1]!==void 0?arguments[1]:!1;return i.innerSlider.slickGoTo(o,a)}),ue(St(i),"slickPause",function(){return i.innerSlider.pause("paused")}),ue(St(i),"slickPlay",function(){return i.innerSlider.autoPlay("play")}),i.state={breakpoint:null},i._responsiveMediaHandlers=[],i}return Zr(n,[{key:"media",value:function(i,o){var a=window.matchMedia(i),l=function(u){var c=u.matches;c&&o()};a.addListener(l),l(a),this._responsiveMediaHandlers.push({mql:a,query:i,listener:l})}},{key:"componentDidMount",value:function(){var i=this;if(this.props.responsive){var o=this.props.responsive.map(function(l){return l.breakpoint});o.sort(function(l,s){return l-s}),o.forEach(function(l,s){var u;s===0?u=vV({minWidth:0,maxWidth:l}):u=vV({minWidth:o[s-1]+1,maxWidth:l}),j1e()&&i.media(u,function(){i.setState({breakpoint:l})})});var a=vV({minWidth:o.slice(-1)[0]});j1e()&&this.media(a,function(){i.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(i){i.mql.removeListener(i.listener)})}},{key:"render",value:function(){var i=this,o,a;this.state.breakpoint?(a=this.props.responsive.filter(function(m){return m.breakpoint===i.state.breakpoint}),o=a[0].settings==="unslick"?"unslick":fe(fe(fe({},L1e),this.props),a[0].settings)):o=fe(fe({},L1e),this.props),o.centerMode&&(o.slidesToScroll>1,o.slidesToScroll=1),o.fade&&(o.slidesToShow>1,o.slidesToScroll>1,o.slidesToShow=1,o.slidesToScroll=1);var l=Se.Children.toArray(this.props.children);l=l.filter(function(m){return typeof m=="string"?!!m.trim():!!m}),o.variableWidth&&(o.rows>1||o.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),o.variableWidth=!1);for(var s=[],u=null,c=0;c=l.length));p+=1)d.push(Se.cloneElement(l[p],{key:100*c+10*h+p,tabIndex:-1,style:{width:"".concat(100/o.slidesPerRow,"%"),display:"inline-block"}}));f.push(Se.createElement("div",{key:10*c+h},d))}o.variableWidth?s.push(Se.createElement("div",{key:c,style:{width:u}},f)):s.push(Se.createElement("div",{key:c},f))}if(o==="unslick"){var g="regular slider "+(this.props.className||"");return Se.createElement("div",{className:g},l)}else s.length<=o.slidesToShow&&(o.unslick=!0);return Se.createElement(T5t,Qe({style:this.props.style,ref:this.innerSliderRefHandler},o),s)}}]),n}(Se.Component);const D5t=Object.freeze(Object.defineProperty({__proto__:null,default:j5t},Symbol.toStringTag,{value:"Module"}));var yC=_.createContext(null),T3="__rc_cascader_search_mark__",L5t=function(t,n,r){var i=r.label;return n.some(function(o){return String(o[i]).toLowerCase().includes(t.toLowerCase())})},z5t=function(t,n,r,i){return n.map(function(o){return o[i.label]}).join(" / ")};const B5t=function(e,t,n,r,i,o){var a=i.filter,l=a===void 0?L5t:a,s=i.render,u=s===void 0?z5t:s,c=i.limit,f=c===void 0?50:c,h=i.sort;return _.useMemo(function(){var d=[];if(!e)return[];function p(g,m){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;g.forEach(function(y){if(!(!h&&f!==!1&&f>0&&d.length>=f)){var b=[].concat(vt(m),[y]),C=y[n.children],x=v||y.disabled;if((!C||C.length===0||o)&&l(e,b,{label:n.label})){var S;d.push(fe(fe({},y),{},(S={disabled:x},ue(S,n.label,u(e,b,r,n)),ue(S,T3,b),ue(S,n.children,void 0),S)))}C&&p(y[n.children],b,x)}})}return p(t,[]),h&&d.sort(function(g,m){return h(g[T3],m[T3],e,n)}),f!==!1&&f>0?d.slice(0,f):d},[e,t,n,r,u,o,l,h,f])};var Jre="__RC_CASCADER_SPLIT__",ize="SHOW_PARENT",oze="SHOW_CHILD";function Cd(e){return e.join(Jre)}function h4(e){return e.map(Cd)}function F5t(e){return e.split(Jre)}function aze(e){var t=e||{},n=t.label,r=t.value,i=t.children,o=r||"value";return{label:n||"label",value:o,key:o,children:i||"children"}}function J8(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!((r=e[t.children])!==null&&r!==void 0&&r.length)}function H5t(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}function lze(e,t){return e.map(function(n){var r;return(r=n[T3])===null||r===void 0?void 0:r.map(function(i){return i[t.value]})})}function W5t(e){return Array.isArray(e)&&Array.isArray(e[0])}function aD(e){return e?W5t(e)?e:(e.length===0?[]:[e]).map(function(t){return Array.isArray(t)?t:[t]}):[]}function sze(e,t,n){var r=new Set(e),i=t();return e.filter(function(o){var a=i[o],l=a?a.parent:null,s=a?a.children:null;return a&&a.node.disabled?!0:n===oze?!(s&&s.some(function(u){return u.key&&r.has(u.key)})):!(l&&!l.node.disabled&&r.has(l.key))})}function g4(e,t,n){for(var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=t,o=[],a=function(){var u,c,f,h=e[l],d=(u=i)===null||u===void 0?void 0:u.findIndex(function(g){var m=g[n.value];return r?String(m)===String(h):m===h}),p=d!==-1?(c=i)===null||c===void 0?void 0:c[d]:null;o.push({value:(f=p==null?void 0:p[n.value])!==null&&f!==void 0?f:h,index:d,option:p}),i=p==null?void 0:p[n.children]},l=0;l1&&arguments[1]!==void 0?arguments[1]:null;return c.map(function(h,d){for(var p=uze(f?f.pos:"0",d),g=I$(h[o],p),m,v=0;v1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=t.externalGetKey,a=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,u=o||s,c={},f={},h={posEntities:c,keyEntities:f};return n&&(h=n(h)||h),G5t(e,function(d){var p=d.node,g=d.index,m=d.pos,v=d.key,y=d.parentPos,b=d.level,C=d.nodes,x={node:p,nodes:C,index:g,key:v,pos:m,level:b},S=I$(v,m);c[m]=x,f[S]=x,x.parent=c[y],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),r&&r(x,h)},{externalGetKey:u,childrenPropName:a,fieldNames:l}),i&&i(h),h}function L9(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,u=t.dropPosition,c=t.keyEntities,f=oc(c,e),h={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:i.indexOf(e)!==-1,loading:o.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:l.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1};return h}function Qo(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,o=e.loaded,a=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,c=e.dragOverGapBottom,f=e.pos,h=e.active,d=e.eventKey,p=fe(fe({},t),{},{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:f,active:h,key:d});return"props"in p||Object.defineProperty(p,"props",{get:function(){return Dr(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),p}const K5t=function(e,t){var n=_.useRef({options:null,info:null}),r=_.useCallback(function(){return n.current.options!==e&&(n.current.options=e,n.current.info=N$(e,{fieldNames:t,initWrapper:function(o){return fe(fe({},o),{},{pathKeyEntities:{}})},processEntity:function(o,a){var l=o.nodes.map(function(s){return s[t.value]}).join(Jre);a.pathKeyEntities[l]=o,o.key=l}})),n.current.info.pathKeyEntities},[t,e]);return r};function fze(e,t){var n=_.useMemo(function(){return t||[]},[t]),r=K5t(n,e),i=_.useCallback(function(o){var a=r();return o.map(function(l){var s=a[l].nodes;return s.map(function(u){return u[e.value]})})},[r,e]);return[n,r,i]}function X5t(e){return _.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&bn(e)==="object"&&(t=fe(fe({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}function pze(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function Y5t(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!!(n||r)||i===!1}function Z5t(e,t,n,r){for(var i=new Set(e),o=new Set,a=0;a<=n;a+=1){var l=t.get(a)||new Set;l.forEach(function(f){var h=f.key,d=f.node,p=f.children,g=p===void 0?[]:p;i.has(h)&&!r(d)&&g.filter(function(m){return!r(m.node)}).forEach(function(m){i.add(m.key)})})}for(var s=new Set,u=n;u>=0;u-=1){var c=t.get(u)||new Set;c.forEach(function(f){var h=f.parent,d=f.node;if(!(r(d)||!f.parent||s.has(f.parent.key))){if(r(f.parent.node)){s.add(h.key);return}var p=!0,g=!1;(h.children||[]).filter(function(m){return!r(m.node)}).forEach(function(m){var v=m.key,y=i.has(v);p&&!y&&(p=!1),!g&&(y||o.has(v))&&(g=!0)}),p&&i.add(h.key),g&&o.add(h.key),s.add(h.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(pze(o,i))}}function Q5t(e,t,n,r,i){for(var o=new Set(e),a=new Set(t),l=0;l<=r;l+=1){var s=n.get(l)||new Set;s.forEach(function(h){var d=h.key,p=h.node,g=h.children,m=g===void 0?[]:g;!o.has(d)&&!a.has(d)&&!i(p)&&m.filter(function(v){return!i(v.node)}).forEach(function(v){o.delete(v.key)})})}a=new Set;for(var u=new Set,c=r;c>=0;c-=1){var f=n.get(c)||new Set;f.forEach(function(h){var d=h.parent,p=h.node;if(!(i(p)||!h.parent||u.has(h.parent.key))){if(i(h.parent.node)){u.add(d.key);return}var g=!0,m=!1;(d.children||[]).filter(function(v){return!i(v.node)}).forEach(function(v){var y=v.key,b=o.has(y);g&&!b&&(g=!1),!m&&(b||a.has(y))&&(m=!0)}),g||o.delete(d.key),m&&a.add(d.key),u.add(d.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(pze(a,o))}}function ou(e,t,n,r){var i=[],o;r?o=r:o=Y5t;var a=new Set(e.filter(function(c){var f=!!oc(n,c);return f||i.push(c),f})),l=new Map,s=0;Object.keys(n).forEach(function(c){var f=n[c],h=f.level,d=l.get(h);d||(d=new Set,l.set(h,d)),d.add(f),s=Math.max(s,h)}),Dr(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var u;return t===!0?u=Z5t(a,l,s,o):u=Q5t(a,t.halfCheckedKeys,l,s,o),u}function hze(e,t,n,r,i,o,a,l){return function(s){if(!e)t(s);else{var u=Cd(s),c=h4(n),f=h4(r),h=c.includes(u),d=i.some(function(S){return Cd(S)===u}),p=n,g=i;if(d&&!h)g=i.filter(function(S){return Cd(S)!==u});else{var m=h?c.filter(function(S){return S!==u}):[].concat(vt(c),[u]),v=o(),y;if(h){var b=ou(m,{checked:!1,halfCheckedKeys:f},v);y=b.checkedKeys}else{var C=ou(m,!0,v);y=C.checkedKeys}var x=sze(y,o,l);p=a(x)}t([].concat(vt(g),vt(p)))}}}function gze(e,t,n,r,i){return _.useMemo(function(){var o=i(t),a=Me(o,2),l=a[0],s=a[1];if(!e||!t.length)return[l,[],s];var u=h4(l),c=n(),f=ou(u,!0,c),h=f.checkedKeys,d=f.halfCheckedKeys;return[r(h),r(d),s]},[e,t,n,r,i])}var J5t=_.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function e_t(e){var t,n=e.prefixCls,r=e.checked,i=e.halfChecked,o=e.disabled,a=e.onClick,l=e.disableCheckbox,s=_.useContext(yC),u=s.checkable,c=typeof u!="boolean"?u:null;return _.createElement("span",{className:Re("".concat(n),(t={},ue(t,"".concat(n,"-checked"),r),ue(t,"".concat(n,"-indeterminate"),!r&&i),ue(t,"".concat(n,"-disabled"),o||l),t)),onClick:a},c)}var mze="__cascader_fix_label__";function t_t(e){var t=e.prefixCls,n=e.multiple,r=e.options,i=e.activeValue,o=e.prevValuePath,a=e.onToggleOpen,l=e.onSelect,s=e.onActive,u=e.checkedSet,c=e.halfCheckedSet,f=e.loadingKeys,h=e.isSelectable,d=e.searchValue,p="".concat(t,"-menu"),g="".concat(t,"-menu-item"),m=_.useContext(yC),v=m.fieldNames,y=m.changeOnSelect,b=m.expandTrigger,C=m.expandIcon,x=m.loadingIcon,S=m.dropdownMenuColumnStyle,w=b==="hover",O=_.useMemo(function(){return r.map(function($){var P,T=$.disabled,R=$.disableCheckbox,M=$[T3],A=(P=$[mze])!==null&&P!==void 0?P:$[v.label],N=$[v.value],k=J8($,v),D=M?M.map(function(V){return V[v.value]}):[].concat(vt(o),[N]),L=Cd(D),B=f.includes(L),j=u.has(L),z=c.has(L);return{disabled:T,label:A,value:N,isLeaf:k,isLoading:B,checked:j,halfChecked:z,option:$,disableCheckbox:R,fullPath:D,fullPathKey:L}})},[r,u,v,c,f,o]);return _.createElement("ul",{className:p,role:"menu"},O.map(function($){var P,T=$.disabled,R=$.label,M=$.value,A=$.isLeaf,N=$.isLoading,k=$.checked,D=$.halfChecked,L=$.option,B=$.fullPath,j=$.fullPathKey,z=$.disableCheckbox,V=function(){if(!(T||d)){var X=vt(B);w&&A&&X.pop(),s(X)}},W=function(){h(L)&&l(B,A)},U;return typeof L.title=="string"?U=L.title:typeof R=="string"&&(U=R),_.createElement("li",{key:j,className:Re(g,(P={},ue(P,"".concat(g,"-expand"),!A),ue(P,"".concat(g,"-active"),i===M||i===j),ue(P,"".concat(g,"-disabled"),T),ue(P,"".concat(g,"-loading"),N),P)),style:S,role:"menuitemcheckbox",title:U,"aria-checked":k,"data-path-key":j,onClick:function(){V(),!z&&(!n||A)&&W()},onDoubleClick:function(){y&&a(!1)},onMouseEnter:function(){w&&V()},onMouseDown:function(X){X.preventDefault()}},n&&_.createElement(e_t,{prefixCls:"".concat(t,"-checkbox"),checked:k,halfChecked:D,disabled:T||z,disableCheckbox:z,onClick:function(X){z||(X.stopPropagation(),W())}}),_.createElement("div",{className:"".concat(g,"-content")},R),!N&&C&&!A&&_.createElement("div",{className:"".concat(g,"-expand-icon")},C),N&&x&&_.createElement("div",{className:"".concat(g,"-loading-icon")},x))}))}const n_t=function(e,t){var n=_.useContext(yC),r=n.values,i=r[0],o=_.useState([]),a=Me(o,2),l=a[0],s=a[1];return _.useEffect(function(){t&&!e&&s(i||[])},[t,i]),[l,s]},r_t=function(e,t,n,r,i,o,a){var l=a.direction,s=a.searchValue,u=a.toggleOpen,c=a.open,f=l==="rtl",h=_.useMemo(function(){for(var S=-1,w=t,O=[],$=[],P=r.length,T=lze(t,n),R=function(D){var L=w.findIndex(function(B,j){return(T[j]?Cd(T[j]):B[n.value])===r[D]});if(L===-1)return 1;S=L,O.push(S),$.push(r[D]),w=w[S][n.children]},M=0;M1){var w=p.slice(0,-1);y(w)}else u(!1)},x=function(){var w,O=((w=m[g])===null||w===void 0?void 0:w[n.children])||[],$=O.find(function(T){return!T.disabled});if($){var P=[].concat(vt(p),[$[n.value]]);y(P)}};_.useImperativeHandle(e,function(){return{onKeyDown:function(w){var O=w.which;switch(O){case ht.UP:case ht.DOWN:{var $=0;O===ht.UP?$=-1:O===ht.DOWN&&($=1),$!==0&&b($);break}case ht.LEFT:{if(s)break;f?x():C();break}case ht.RIGHT:{if(s)break;f?C():x();break}case ht.BACKSPACE:{s||C();break}case ht.ENTER:{if(p.length){var P=m[g],T=(P==null?void 0:P[T3])||[];T.length?o(T.map(function(R){return R[n.value]}),T[T.length-1]):o(p,m[g])}break}case ht.ESC:u(!1),c&&w.stopPropagation()}},onKeyUp:function(){}}})};var vze=_.forwardRef(function(e,t){var n,r,i,o=e.prefixCls,a=e.multiple,l=e.searchValue,s=e.toggleOpen,u=e.notFoundContent,c=e.direction,f=e.open,h=_.useRef(),d=c==="rtl",p=_.useContext(yC),g=p.options,m=p.values,v=p.halfValues,y=p.fieldNames,b=p.changeOnSelect,C=p.onSelect,x=p.searchOptions,S=p.dropdownPrefixCls,w=p.loadData,O=p.expandTrigger,$=S||o,P=_.useState([]),T=Me(P,2),R=T[0],M=T[1],A=function(ne){if(!(!w||l)){var re=g4(ne,g,y),oe=re.map(function(be){var he=be.option;return he}),se=oe[oe.length-1];if(se&&!J8(se,y)){var ye=Cd(ne);M(function(be){return[].concat(vt(be),[ye])}),w(oe)}}};_.useEffect(function(){R.length&&R.forEach(function(te){var ne=F5t(te),re=g4(ne,g,y,!0).map(function(se){var ye=se.option;return ye}),oe=re[re.length-1];(!oe||oe[y.children]||J8(oe,y))&&M(function(se){return se.filter(function(ye){return ye!==te})})})},[g,R,y]);var N=_.useMemo(function(){return new Set(h4(m))},[m]),k=_.useMemo(function(){return new Set(h4(v))},[v]),D=n_t(a,f),L=Me(D,2),B=L[0],j=L[1],z=function(ne){j(ne),A(ne)},V=function(ne){var re=ne.disabled,oe=J8(ne,y);return!re&&(oe||b||a)},W=function(ne,re){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;C(ne),!a&&(re||b&&(O==="hover"||oe))&&s(!1)},U=_.useMemo(function(){return l?x:g},[l,x,g]),K=_.useMemo(function(){for(var te=[{options:U}],ne=U,re=lze(ne,y),oe=function(){var be=B[se],he=ne.find(function(ve,ke){return(re[ke]?Cd(re[ke]):ve[y.value])===be}),le=he==null?void 0:he[y.children];if(!(le!=null&&le.length))return 1;ne=le,te.push({options:le})},se=0;se":v,b=n.loadingIcon,C=n.direction,x=n.notFoundContent,S=x===void 0?"Not Found":x,w=!!s,O=zn(u,{value:c,postState:aD}),$=Me(O,2),P=$[0],T=$[1],R=_.useMemo(function(){return aze(f)},[JSON.stringify(f)]),M=fze(R,l),A=Me(M,3),N=A[0],k=A[1],D=A[2],L=cze(N,R),B=gze(w,P,k,D,L),j=Me(B,3),z=j[0],V=j[1],W=j[2],U=ir(function(ee){if(T(ee),d){var Q=aD(ee),te=Q.map(function(oe){return g4(oe,N,R).map(function(se){return se.option})}),ne=w?Q:Q[0],re=w?te:te[0];d(ne,re)}}),K=hze(w,U,z,V,W,k,D,p),X=ir(function(ee){K(ee)}),G=_.useMemo(function(){return{options:N,fieldNames:R,values:z,halfValues:V,changeOnSelect:h,onSelect:X,checkable:s,searchOptions:[],dropdownPrefixCls:null,loadData:g,expandTrigger:m,expandIcon:y,loadingIcon:b,dropdownMenuColumnStyle:null}},[N,R,z,V,h,X,s,g,m,y,b]),Y="".concat(i,"-panel"),J=!N.length;return _.createElement(yC.Provider,{value:G},_.createElement("div",{className:Re(Y,(t={},ue(t,"".concat(Y,"-rtl"),C==="rtl"),ue(t,"".concat(Y,"-empty"),J),t),a),style:o},J?S:_.createElement(vze,{prefixCls:i,searchValue:null,multiple:w,toggleOpen:o_t,open:!0,direction:C})))}var a_t=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"],EB=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-cascader":r,o=e.fieldNames,a=e.defaultValue,l=e.value,s=e.changeOnSelect,u=e.onChange,c=e.displayRender,f=e.checkable,h=e.autoClearSearchValue,d=h===void 0?!0:h,p=e.searchValue,g=e.onSearch,m=e.showSearch,v=e.expandTrigger,y=e.options,b=e.dropdownPrefixCls,C=e.loadData,x=e.popupVisible,S=e.open,w=e.popupClassName,O=e.dropdownClassName,$=e.dropdownMenuColumnStyle,P=e.dropdownStyle,T=e.popupPlacement,R=e.placement,M=e.onDropdownVisibleChange,A=e.onPopupVisibleChange,N=e.expandIcon,k=N===void 0?">":N,D=e.loadingIcon,L=e.children,B=e.dropdownMatchSelectWidth,j=B===void 0?!1:B,z=e.showCheckedStrategy,V=z===void 0?ize:z,W=an(e,a_t),U=gre(n),K=!!f,X=zn(a,{value:l,postState:aD}),G=Me(X,2),Y=G[0],J=G[1],ee=_.useMemo(function(){return aze(o)},[JSON.stringify(o)]),Q=fze(ee,y),te=Me(Q,3),ne=te[0],re=te[1],oe=te[2],se=zn("",{value:p,postState:function(Ge){return Ge||""}}),ye=Me(se,2),be=ye[0],he=ye[1],le=function(Ge,Je){he(Ge),Je.source!=="blur"&&g&&g(Ge)},ve=X5t(m),ke=Me(ve,2),Ie=ke[0],Oe=ke[1],Pe=B5t(be,ne,ee,b||i,Oe,s),_e=cze(ne,ee),ce=gze(K,Y,re,oe,_e),Te=Me(ce,3),Ne=Te[0],je=Te[1],He=Te[2],Be=_.useMemo(function(){var We=h4(Ne),Ge=sze(We,re,V);return[].concat(vt(He),vt(oe(Ge)))},[Ne,re,oe,He,V]),qe=q5t(Be,ne,ee,K,c),me=ir(function(We){if(J(We),u){var Ge=aD(We),Je=Ge.map(function(et){return g4(et,ne,ee).map(function(rt){return rt.option})}),bt=K?Ge:Ge[0],at=K?Je:Je[0];u(bt,at)}}),Ee=hze(K,me,Ne,je,He,re,oe,V),$e=ir(function(We){(!K||d)&&he(""),Ee(We)}),Le=function(Ge,Je){if(Je.type==="clear"){me([]);return}var bt=Je.values[0],at=bt.valueCells;$e(at)},Fe=S!==void 0?S:x,Ke=O||w,lt=R||T,ft=function(Ge){M==null||M(Ge),A==null||A(Ge)},Ye=_.useMemo(function(){return{options:ne,fieldNames:ee,values:Ne,halfValues:je,changeOnSelect:s,onSelect:$e,checkable:f,searchOptions:Pe,dropdownPrefixCls:b,loadData:C,expandTrigger:v,expandIcon:k,loadingIcon:D,dropdownMenuColumnStyle:$}},[ne,ee,Ne,je,s,$e,f,Pe,b,C,v,k,D,$]),we=!(be?Pe:ne).length,De=be&&Oe.matchInputWidth||we?{}:{minWidth:"auto"};return _.createElement(yC.Provider,{value:Ye},_.createElement(Jz,Qe({},W,{ref:t,id:U,prefixCls:i,autoClearSearchValue:d,dropdownMatchSelectWidth:j,dropdownStyle:fe(fe({},De),P),displayValues:qe,onDisplayValuesChange:Le,mode:K?"multiple":void 0,searchValue:be,onSearch:le,showSearch:Ie,OptionList:i_t,emptyOptions:we,open:Fe,dropdownClassName:Ke,placement:lt,onDropdownVisibleChange:ft,getRawInputElement:function(){return L}})))});EB.SHOW_PARENT=ize;EB.SHOW_CHILD=oze;EB.Panel=yze;const l_t=Object.freeze(Object.defineProperty({__proto__:null,Panel:yze,default:EB},Symbol.toStringTag,{value:"Module"})),s_t=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},uh(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${xe(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},Vxt=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:o,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},Od()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:xe(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:xe(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${o}`}}})},Uxt=e=>Object.assign(Object.assign({margin:`${xe(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Od()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},xc),"&-description":{color:e.colorTextDescription}}),Gxt=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${xe(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${xe(e.padding)} ${xe(n)}`}}},Kxt=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Xxt=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:i,colorBorderSecondary:o,boxShadowTertiary:a,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},sr(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:Wxt(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)}`},Od()),[`${n}-grid`]:qxt(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:Vxt(e),[`${n}-meta`]:Uxt(e)}),[`${n}-bordered`]:{border:`${xe(e.lineWidth)} ${e.lineType} ${o}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${xe(e.borderRadiusLG)} ${xe(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:i}}},[`${n}-type-inner`]:Gxt(e),[`${n}-loading`]:Kxt(e),[`${n}-rtl`]:{direction:"rtl"}}},Yxt=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:i}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${xe(n)}`,fontSize:i,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Zxt=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),Qxt=vr("Card",e=>{const t=Wn(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Xxt(t),Yxt(t)]},Zxt);var N1e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return _.createElement("ul",{className:t,style:r},n.map((i,o)=>{const a=`action-${o}`;return _.createElement("li",{style:{width:`${100/n.length}%`},key:a},_.createElement("span",null,i))}))},e5t=_.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:i,style:o,extra:a,headStyle:l={},bodyStyle:s={},title:u,loading:c,bordered:f=!0,size:h,type:d,cover:p,actions:g,tabList:m,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:C,hoverable:x,tabProps:S={},classNames:w,styles:O}=e,$=N1e(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:P,direction:T,card:R}=_.useContext(on),M=be=>{var he;(he=e.onTabChange)===null||he===void 0||he.call(e,be)},A=be=>{var he;return Re((he=R==null?void 0:R.classNames)===null||he===void 0?void 0:he[be],w==null?void 0:w[be])},N=be=>{var he;return Object.assign(Object.assign({},(he=R==null?void 0:R.styles)===null||he===void 0?void 0:he[be]),O==null?void 0:O[be])},j=_.useMemo(()=>{let be=!1;return _.Children.forEach(v,he=>{he&&he.type&&he.type===QLe&&(be=!0)}),be},[v]),D=P("card",n),[L,B,k]=Qxt(D),z=_.createElement(WLe,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),q=y!==void 0,W=Object.assign(Object.assign({},S),{[q?"activeKey":"defaultActiveKey"]:q?y:b,tabBarExtraContent:C});let U;const K=Go(h),X=!K||K==="default"?"large":K,G=m?_.createElement(ZE,Object.assign({size:X},W,{className:`${D}-head-tabs`,onChange:M,items:m.map(be=>{var{tab:he}=be,le=N1e(be,["tab"]);return Object.assign({label:he},le)})})):null;if(u||a||G){const be=Re(`${D}-head`,A("header")),he=Re(`${D}-head-title`,A("title")),le=Re(`${D}-extra`,A("extra")),ve=Object.assign(Object.assign({},l),N("header"));U=_.createElement("div",{className:be,style:ve},_.createElement("div",{className:`${D}-head-wrapper`},u&&_.createElement("div",{className:he,style:N("title")},u),a&&_.createElement("div",{className:le,style:N("extra")},a)),G)}const Y=Re(`${D}-cover`,A("cover")),J=p?_.createElement("div",{className:Y,style:N("cover")},p):null,ee=Re(`${D}-body`,A("body")),Q=Object.assign(Object.assign({},s),N("body")),te=_.createElement("div",{className:ee,style:Q},c?z:v),ne=Re(`${D}-actions`,A("actions")),re=g&&g.length?_.createElement(Jxt,{actionClasses:ne,actionStyle:N("actions"),actions:g}):null,oe=bi($,["onTabChange"]),se=Re(D,R==null?void 0:R.className,{[`${D}-loading`]:c,[`${D}-bordered`]:f,[`${D}-hoverable`]:x,[`${D}-contain-grid`]:j,[`${D}-contain-tabs`]:m&&m.length,[`${D}-${K}`]:K,[`${D}-type-${d}`]:!!d,[`${D}-rtl`]:T==="rtl"},r,i,B,k),ye=Object.assign(Object.assign({},R==null?void 0:R.style),o);return L(_.createElement("div",Object.assign({ref:t},oe,{className:se,style:ye}),U,J,te,re))}),t5t=e5t;var n5t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,avatar:r,title:i,description:o}=e,a=n5t(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:l}=_.useContext(on),s=l("card",t),u=Re(`${s}-meta`,n),c=r?_.createElement("div",{className:`${s}-meta-avatar`},r):null,f=i?_.createElement("div",{className:`${s}-meta-title`},i):null,h=o?_.createElement("div",{className:`${s}-meta-description`},o):null,d=f||h?_.createElement("div",{className:`${s}-meta-detail`},f,h):null;return _.createElement("div",Object.assign({},a,{className:u}),c,d)},i5t=r5t,Zre=t5t;Zre.Grid=QLe;Zre.Meta=i5t;const mh=Zre;var o5t={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},Z6={},A1e;function JLe(){if(A1e)return Z6;A1e=1,Object.defineProperty(Z6,"__esModule",{value:!0});function e(n,r,i){var o=i||{},a=o.noTrailing,l=a===void 0?!1:a,s=o.noLeading,u=s===void 0?!1:s,c=o.debounceMode,f=c===void 0?void 0:c,h,d=!1,p=0;function g(){h&&clearTimeout(h)}function m(y){var b=y||{},C=b.upcomingOnly,x=C===void 0?!1:C;g(),d=!x}function v(){for(var y=arguments.length,b=new Array(y),C=0;Cn?u?(p=Date.now(),l||(h=setTimeout(f?O:w,n))):w():l!==!0&&(h=setTimeout(f?O:w,f===void 0?n-S:n))}return v.cancel=m,v}function t(n,r,i){var o=i||{},a=o.atBegin,l=a===void 0?!1:a;return e(n,r,{debounceMode:l!==!1})}return Z6.debounce=t,Z6.throttle=e,Z6}var eze=JLe();function hQ(e,t,n){return Math.max(t,Math.min(e,n))}var P3=function(t){var n=["onTouchStart","onTouchMove","onWheel"];n.includes(t._reactName)||t.preventDefault()},aD=function(t){for(var n=[],r=tze(t),i=nze(t),o=r;o0?1:0):0},l5t=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},gQ=function(t){return t&&t.offsetWidth||0},Qre=function(t){return t&&t.offsetHeight||0},rze=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r,i,o,a;return r=t.startX-t.curX,i=t.startY-t.curY,o=Math.atan2(i,r),a=Math.round(o*180/Math.PI),a<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":n===!0?a>=35&&a<=135?"up":"down":"vertical"},EB=function(t){var n=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(n=!1),n},gV=function(t,n){var r={};return n.forEach(function(i){return r[i]=t[i]}),r},s5t=function(t){var n=Se.Children.count(t.children),r=t.listRef,i=Math.ceil(gQ(r)),o=t.trackRef&&t.trackRef.node,a=Math.ceil(gQ(o)),l;if(t.vertical)l=i;else{var s=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(s*=i/100),l=Math.ceil((i-s)/t.slidesToShow)}var u=r&&Qre(r.querySelector('[data-index="0"]')),c=u*t.slidesToShow,f=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(f=n-1-t.initialSlide);var h=t.lazyLoadedList||[],d=aD(fe(fe({},t),{},{currentSlide:f,lazyLoadedList:h}));h=h.concat(d);var p={slideCount:n,slideWidth:l,listWidth:i,trackWidth:a,currentSlide:f,slideHeight:u,listHeight:c,lazyLoadedList:h};return t.autoplaying===null&&t.autoplay&&(p.autoplaying="playing"),p},c5t=function(t){var n=t.waitForAnimate,r=t.animating,i=t.fade,o=t.infinite,a=t.index,l=t.slideCount,s=t.lazyLoad,u=t.currentSlide,c=t.centerMode,f=t.slidesToScroll,h=t.slidesToShow,d=t.useCSS,p=t.lazyLoadedList;if(n&&r)return{};var g=a,m,v,y,b={},C={},x=o?a:hQ(a,0,l-1);if(i){if(!o&&(a<0||a>=l))return{};a<0?g=a+l:a>=l&&(g=a-l),s&&p.indexOf(g)<0&&(p=p.concat(g)),b={animating:!0,currentSlide:g,lazyLoadedList:p,targetSlide:g},C={animating:!1,targetSlide:g}}else m=g,g<0?(m=g+l,o?l%f!==0&&(m=l-l%f):m=0):!EB(t)&&g>u?g=m=u:c&&g>=l?(g=o?l:l-1,m=o?0:l-1):g>=l&&(m=g-l,o?l%f!==0&&(m=0):m=l-h),!o&&g+h>=l&&(m=l-h),v=JE(fe(fe({},t),{},{slideIndex:g})),y=JE(fe(fe({},t),{},{slideIndex:m})),o||(v===y&&(g=m),v=y),s&&(p=p.concat(aD(fe(fe({},t),{},{currentSlide:g})))),d?(b={animating:!0,currentSlide:m,trackStyle:ize(fe(fe({},t),{},{left:v})),lazyLoadedList:p,targetSlide:x},C={animating:!1,currentSlide:m,trackStyle:QE(fe(fe({},t),{},{left:y})),swipeLeft:null,targetSlide:x}):b={currentSlide:m,trackStyle:QE(fe(fe({},t),{},{left:y})),lazyLoadedList:p,targetSlide:x};return{state:b,nextState:C}},u5t=function(t,n){var r,i,o,a,l,s=t.slidesToScroll,u=t.slidesToShow,c=t.slideCount,f=t.currentSlide,h=t.targetSlide,d=t.lazyLoad,p=t.infinite;if(a=c%s!==0,r=a?0:(c-f)%s,n.message==="previous")o=r===0?s:u-r,l=f-o,d&&!p&&(i=f-o,l=i===-1?c-1:i),p||(l=h-s);else if(n.message==="next")o=r===0?s:r,l=f+o,d&&!p&&(l=(f+s)%c+r),p||(l=h+s);else if(n.message==="dots")l=n.index*n.slidesToScroll;else if(n.message==="children"){if(l=n.index,p){var g=v5t(fe(fe({},t),{},{targetSlide:l}));l>n.currentSlide&&g==="left"?l=l-c:l10)return{scrolling:!0};l&&(y.swipeLength=$);var P=(s?-1:1)*(y.curX>y.startX?1:-1);l&&(P=y.curY>y.startY?1:-1);var T=Math.ceil(g/m),R=rze(n.touchObject,l),M=y.swipeLength;return v||(u===0&&(R==="right"||R==="down")||u+1>=T&&(R==="left"||R==="up")||!EB(n)&&(R==="left"||R==="up"))&&(M=y.swipeLength*c,f===!1&&h&&(h(R),w.edgeDragged=!0)),!d&&b&&(b(R),w.swiped=!0),o?S=O+M*(C/x)*P:s?S=O-M*P:S=O+M*P,l&&(S=O+M*P),w=fe(fe({},w),{},{touchObject:y,swipeLeft:S,trackStyle:QE(fe(fe({},n),{},{left:S}))}),Math.abs(y.curX-y.startX)10&&(w.swiping=!0,P3(t)),w}},h5t=function(t,n){var r=n.dragging,i=n.swipe,o=n.touchObject,a=n.listWidth,l=n.touchThreshold,s=n.verticalSwiping,u=n.listHeight,c=n.swipeToSlide,f=n.scrolling,h=n.onSwipe,d=n.targetSlide,p=n.currentSlide,g=n.infinite;if(!r)return i&&P3(t),{};var m=s?u/l:a/l,v=rze(o,s),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!o.swipeLength)return y;if(o.swipeLength>m){P3(t),h&&h(v);var b,C,x=g?p:d;switch(v){case"left":case"up":C=x+j1e(n),b=c?k1e(n,C):C,y.currentDirection=0;break;case"right":case"down":C=x-j1e(n),b=c?k1e(n,C):C,y.currentDirection=1;break;default:b=x}y.triggerSlideHandler=b}else{var S=JE(n);y.trackStyle=ize(fe(fe({},n),{},{left:S}))}return y},g5t=function(t){for(var n=t.infinite?t.slideCount*2:t.slideCount,r=t.infinite?t.slidesToShow*-1:0,i=t.infinite?t.slidesToShow*-1:0,o=[];rr[r.length-1])n=r[r.length-1];else for(var o in r){if(nt.swipeLeft*-1)return r=s,!1}else if(s.offsetLeft-n+gQ(s)/2>t.swipeLeft*-1)return r=s,!1;return!0}),!r)return 0;var a=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,l=Math.abs(r.dataset.index-a)||1;return l}else return t.slidesToScroll},Jre=function(t,n){return n.reduce(function(r,i){return r&&t.hasOwnProperty(i)},!0)?null:console.error("Keys Missing:",t)},QE=function(t){Jre(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n,r,i=t.slideCount+2*t.slidesToShow;t.vertical?r=i*t.slideHeight:n=m5t(t)*t.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var a=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",l=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";o=fe(fe({},o),{},{WebkitTransform:a,transform:l,msTransform:s})}else t.vertical?o.top=t.left:o.left=t.left;return t.fade&&(o={opacity:1}),n&&(o.width=n),r&&(o.height=r),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?o.marginTop=t.left+"px":o.marginLeft=t.left+"px"),o},ize=function(t){Jre(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var n=QE(t);return t.useTransform?(n.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,n.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?n.transition="top "+t.speed+"ms "+t.cssEase:n.transition="left "+t.speed+"ms "+t.cssEase,n},JE=function(t){if(t.unslick)return 0;Jre(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var n=t.slideIndex,r=t.trackRef,i=t.infinite,o=t.centerMode,a=t.slideCount,l=t.slidesToShow,s=t.slidesToScroll,u=t.slideWidth,c=t.listWidth,f=t.variableWidth,h=t.slideHeight,d=t.fade,p=t.vertical,g=0,m,v,y=0;if(d||t.slideCount===1)return 0;var b=0;if(i?(b=-Kp(t),a%s!==0&&n+s>a&&(b=-(n>a?l-(n-a):a%s)),o&&(b+=parseInt(l/2))):(a%s!==0&&n+s>a&&(b=l-a%s),o&&(b=parseInt(l/2))),g=b*u,y=b*h,p?m=n*h*-1+y:m=n*u*-1+g,f===!0){var C,x=r&&r.node;if(C=n+Kp(t),v=x&&x.childNodes[C],m=v?v.offsetLeft*-1:0,o===!0){C=i?n+Kp(t):n,v=x&&x.children[C],m=0;for(var S=0;St.currentSlide?t.targetSlide>t.currentSlide+y5t(t)?"left":"right":t.targetSlide0&&(a+=1),i&&n%2===0&&(a+=1),a}return i?0:n-1},b5t=function(t){var n=t.slidesToShow,r=t.centerMode,i=t.rtl,o=t.centerPadding;if(r){var a=(n-1)/2+1;return parseInt(o)>0&&(a+=1),!i&&n%2===0&&(a+=1),a}return i?n-1:0},D1e=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},mV=function(t){var n,r,i,o,a;t.rtl?a=t.slideCount-1-t.index:a=t.index,i=a<0||a>=t.slideCount,t.centerMode?(o=Math.floor(t.slidesToShow/2),r=(a-t.currentSlide)%t.slideCount===0,a>t.currentSlide-o-1&&a<=t.currentSlide+o&&(n=!0)):n=t.currentSlide<=a&&a=t.slideCount?l=t.targetSlide-t.slideCount:l=t.targetSlide;var s=a===l;return{"slick-slide":!0,"slick-active":n,"slick-center":r,"slick-cloned":i,"slick-current":s}},C5t=function(t){var n={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(n.width=t.slideWidth),t.fade&&(n.position="relative",t.vertical&&t.slideHeight?n.top=-t.index*parseInt(t.slideHeight):n.left=-t.index*parseInt(t.slideWidth),n.opacity=t.currentSlide===t.index?1:0,t.useCSS&&(n.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),n},vV=function(t,n){return t.key+"-"+n},S5t=function(t){var n,r=[],i=[],o=[],a=Se.Children.count(t.children),l=tze(t),s=nze(t);return Se.Children.forEach(t.children,function(u,c){var f,h={message:"children",index:c,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(c)>=0?f=u:f=Se.createElement("div",null);var d=C5t(fe(fe({},t),{},{index:c})),p=f.props.className||"",g=mV(fe(fe({},t),{},{index:c}));if(r.push(Se.cloneElement(f,{key:"original"+vV(f,c),"data-index":c,className:Re(g,p),tabIndex:"-1","aria-hidden":!g["slick-active"],style:fe(fe({outline:"none"},f.props.style||{}),d),onClick:function(y){f.props&&f.props.onClick&&f.props.onClick(y),t.focusOnSelect&&t.focusOnSelect(h)}})),t.infinite&&t.fade===!1){var m=a-c;m<=Kp(t)&&a!==t.slidesToShow&&(n=-m,n>=l&&(f=u),g=mV(fe(fe({},t),{},{index:n})),i.push(Se.cloneElement(f,{key:"precloned"+vV(f,n),"data-index":n,tabIndex:"-1",className:Re(g,p),"aria-hidden":!g["slick-active"],style:fe(fe({},f.props.style||{}),d),onClick:function(y){f.props&&f.props.onClick&&f.props.onClick(y),t.focusOnSelect&&t.focusOnSelect(h)}}))),a!==t.slidesToShow&&(n=a+c,n=C&&h<=y:h===C}),S={message:"dots",index:m,slidesToScroll:u,currentSlide:h},w=this.clickHandler.bind(this,S);g=g.concat(Se.createElement("li",{key:m,className:x},Se.cloneElement(this.props.customPaging(m),{onClick:w})))}return Se.cloneElement(this.props.appendDots(g),fe({className:this.props.dotsClass},p))}}]),n}(Se.PureComponent),O5t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"clickHandler",value:function(i,o){o&&o.preventDefault(),this.props.clickHandler(i,o)}},{key:"render",value:function(){var i={"slick-arrow":!0,"slick-prev":!0},o=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(i["slick-disabled"]=!0,o=null);var a={key:"0","data-role":"none",className:Re(i),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.prevArrow?s=Se.cloneElement(this.props.prevArrow,fe(fe({},a),l)):s=Se.createElement("button",Qe({key:"0",type:"button"},a)," ","Previous"),s}}]),n}(Se.PureComponent),E5t=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"clickHandler",value:function(i,o){o&&o.preventDefault(),this.props.clickHandler(i,o)}},{key:"render",value:function(){var i={"slick-arrow":!0,"slick-next":!0},o=this.clickHandler.bind(this,{message:"next"});EB(this.props)||(i["slick-disabled"]=!0,o=null);var a={key:"1","data-role":"none",className:Re(i),style:{display:"block"},onClick:o},l={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},s;return this.props.nextArrow?s=Se.cloneElement(this.props.nextArrow,fe(fe({},a),l)):s=Se.createElement("button",Qe({key:"1",type:"button"},a)," ","Next"),s}}]),n}(Se.PureComponent),$5t=["animating"],P5t=function(e){ua(n,e);var t=ul(n);function n(r){var i;Yr(this,n),i=t.call(this,r),ue(St(i),"listRefHandler",function(a){return i.list=a}),ue(St(i),"trackRefHandler",function(a){return i.track=a}),ue(St(i),"adaptHeight",function(){if(i.props.adaptiveHeight&&i.list){var a=i.list.querySelector('[data-index="'.concat(i.state.currentSlide,'"]'));i.list.style.height=Qre(a)+"px"}}),ue(St(i),"componentDidMount",function(){if(i.props.onInit&&i.props.onInit(),i.props.lazyLoad){var a=aD(fe(fe({},i.props),i.state));a.length>0&&(i.setState(function(s){return{lazyLoadedList:s.lazyLoadedList.concat(a)}}),i.props.onLazyLoad&&i.props.onLazyLoad(a))}var l=fe({listRef:i.list,trackRef:i.track},i.props);i.updateState(l,!0,function(){i.adaptHeight(),i.props.autoplay&&i.autoPlay("playing")}),i.props.lazyLoad==="progressive"&&(i.lazyLoadTimer=setInterval(i.progressiveLazyLoad,1e3)),i.ro=new One(function(){i.state.animating?(i.onWindowResized(!1),i.callbackTimers.push(setTimeout(function(){return i.onWindowResized()},i.props.speed))):i.onWindowResized()}),i.ro.observe(i.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(s){s.onfocus=i.props.pauseOnFocus?i.onSlideFocus:null,s.onblur=i.props.pauseOnFocus?i.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",i.onWindowResized):window.attachEvent("onresize",i.onWindowResized)}),ue(St(i),"componentWillUnmount",function(){i.animationEndCallback&&clearTimeout(i.animationEndCallback),i.lazyLoadTimer&&clearInterval(i.lazyLoadTimer),i.callbackTimers.length&&(i.callbackTimers.forEach(function(a){return clearTimeout(a)}),i.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",i.onWindowResized):window.detachEvent("onresize",i.onWindowResized),i.autoplayTimer&&clearInterval(i.autoplayTimer),i.ro.disconnect()}),ue(St(i),"componentDidUpdate",function(a){if(i.checkImagesLoad(),i.props.onReInit&&i.props.onReInit(),i.props.lazyLoad){var l=aD(fe(fe({},i.props),i.state));l.length>0&&(i.setState(function(c){return{lazyLoadedList:c.lazyLoadedList.concat(l)}}),i.props.onLazyLoad&&i.props.onLazyLoad(l))}i.adaptHeight();var s=fe(fe({listRef:i.list,trackRef:i.track},i.props),i.state),u=i.didPropsChange(a);u&&i.updateState(s,u,function(){i.state.currentSlide>=Se.Children.count(i.props.children)&&i.changeSlide({message:"index",index:Se.Children.count(i.props.children)-i.props.slidesToShow,currentSlide:i.state.currentSlide}),(a.autoplay!==i.props.autoplay||a.autoplaySpeed!==i.props.autoplaySpeed)&&(!a.autoplay&&i.props.autoplay?i.autoPlay("playing"):i.props.autoplay?i.autoPlay("update"):i.pause("paused"))})}),ue(St(i),"onWindowResized",function(a){i.debouncedResize&&i.debouncedResize.cancel(),i.debouncedResize=eze.debounce(50,function(){return i.resizeWindow(a)}),i.debouncedResize()}),ue(St(i),"resizeWindow",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,l=!!(i.track&&i.track.node);if(l){var s=fe(fe({listRef:i.list,trackRef:i.track},i.props),i.state);i.updateState(s,a,function(){i.props.autoplay?i.autoPlay("update"):i.pause("paused")}),i.setState({animating:!1}),clearTimeout(i.animationEndCallback),delete i.animationEndCallback}}),ue(St(i),"updateState",function(a,l,s){var u=s5t(a);a=fe(fe(fe({},a),u),{},{slideIndex:u.currentSlide});var c=JE(a);a=fe(fe({},a),{},{left:c});var f=QE(a);(l||Se.Children.count(i.props.children)!==Se.Children.count(a.children))&&(u.trackStyle=f),i.setState(u,s)}),ue(St(i),"ssrInit",function(){if(i.props.variableWidth){var a=0,l=0,s=[],u=Kp(fe(fe(fe({},i.props),i.state),{},{slideCount:i.props.children.length})),c=$k(fe(fe(fe({},i.props),i.state),{},{slideCount:i.props.children.length}));i.props.children.forEach(function(w){s.push(w.props.style.width),a+=w.props.style.width});for(var f=0;f=l&&i.onWindowResized()};if(!u.onclick)u.onclick=function(){return u.parentNode.focus()};else{var f=u.onclick;u.onclick=function(h){f(h),u.parentNode.focus()}}u.onload||(i.props.lazyLoad?u.onload=function(){i.adaptHeight(),i.callbackTimers.push(setTimeout(i.onWindowResized,i.props.speed))}:(u.onload=c,u.onerror=function(){c(),i.props.onLazyLoadError&&i.props.onLazyLoadError()}))})}),ue(St(i),"progressiveLazyLoad",function(){for(var a=[],l=fe(fe({},i.props),i.state),s=i.state.currentSlide;s=-Kp(l);u--)if(i.state.lazyLoadedList.indexOf(u)<0){a.push(u);break}a.length>0?(i.setState(function(c){return{lazyLoadedList:c.lazyLoadedList.concat(a)}}),i.props.onLazyLoad&&i.props.onLazyLoad(a)):i.lazyLoadTimer&&(clearInterval(i.lazyLoadTimer),delete i.lazyLoadTimer)}),ue(St(i),"slideHandler",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=i.props,u=s.asNavFor,c=s.beforeChange,f=s.onLazyLoad,h=s.speed,d=s.afterChange,p=i.state.currentSlide,g=c5t(fe(fe(fe({index:a},i.props),i.state),{},{trackRef:i.track,useCSS:i.props.useCSS&&!l})),m=g.state,v=g.nextState;if(m){c&&c(p,m.currentSlide);var y=m.lazyLoadedList.filter(function(b){return i.state.lazyLoadedList.indexOf(b)<0});f&&y.length>0&&f(y),!i.props.waitForAnimate&&i.animationEndCallback&&(clearTimeout(i.animationEndCallback),d&&d(p),delete i.animationEndCallback),i.setState(m,function(){u&&i.asNavForIndex!==a&&(i.asNavForIndex=a,u.innerSlider.slideHandler(a)),v&&(i.animationEndCallback=setTimeout(function(){var b=v.animating,C=an(v,$5t);i.setState(C,function(){i.callbackTimers.push(setTimeout(function(){return i.setState({animating:b})},10)),d&&d(m.currentSlide),delete i.animationEndCallback})},h))})}}),ue(St(i),"changeSlide",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=fe(fe({},i.props),i.state),u=u5t(s,a);if(!(u!==0&&!u)&&(l===!0?i.slideHandler(u,l):i.slideHandler(u),i.props.autoplay&&i.autoPlay("update"),i.props.focusOnSelect)){var c=i.list.querySelectorAll(".slick-current");c[0]&&c[0].focus()}}),ue(St(i),"clickHandler",function(a){i.clickable===!1&&(a.stopPropagation(),a.preventDefault()),i.clickable=!0}),ue(St(i),"keyHandler",function(a){var l=d5t(a,i.props.accessibility,i.props.rtl);l!==""&&i.changeSlide({message:l})}),ue(St(i),"selectHandler",function(a){i.changeSlide(a)}),ue(St(i),"disableBodyScroll",function(){var a=function(s){s=s||window.event,s.preventDefault&&s.preventDefault(),s.returnValue=!1};window.ontouchmove=a}),ue(St(i),"enableBodyScroll",function(){window.ontouchmove=null}),ue(St(i),"swipeStart",function(a){i.props.verticalSwiping&&i.disableBodyScroll();var l=f5t(a,i.props.swipe,i.props.draggable);l!==""&&i.setState(l)}),ue(St(i),"swipeMove",function(a){var l=p5t(a,fe(fe(fe({},i.props),i.state),{},{trackRef:i.track,listRef:i.list,slideIndex:i.state.currentSlide}));l&&(l.swiping&&(i.clickable=!1),i.setState(l))}),ue(St(i),"swipeEnd",function(a){var l=h5t(a,fe(fe(fe({},i.props),i.state),{},{trackRef:i.track,listRef:i.list,slideIndex:i.state.currentSlide}));if(l){var s=l.triggerSlideHandler;delete l.triggerSlideHandler,i.setState(l),s!==void 0&&(i.slideHandler(s),i.props.verticalSwiping&&i.enableBodyScroll())}}),ue(St(i),"touchEnd",function(a){i.swipeEnd(a),i.clickable=!0}),ue(St(i),"slickPrev",function(){i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"previous"})},0))}),ue(St(i),"slickNext",function(){i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"next"})},0))}),ue(St(i),"slickGoTo",function(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(a=Number(a),isNaN(a))return"";i.callbackTimers.push(setTimeout(function(){return i.changeSlide({message:"index",index:a,currentSlide:i.state.currentSlide},l)},0))}),ue(St(i),"play",function(){var a;if(i.props.rtl)a=i.state.currentSlide-i.props.slidesToScroll;else if(EB(fe(fe({},i.props),i.state)))a=i.state.currentSlide+i.props.slidesToScroll;else return!1;i.slideHandler(a)}),ue(St(i),"autoPlay",function(a){i.autoplayTimer&&clearInterval(i.autoplayTimer);var l=i.state.autoplaying;if(a==="update"){if(l==="hovered"||l==="focused"||l==="paused")return}else if(a==="leave"){if(l==="paused"||l==="focused")return}else if(a==="blur"&&(l==="paused"||l==="hovered"))return;i.autoplayTimer=setInterval(i.play,i.props.autoplaySpeed+50),i.setState({autoplaying:"playing"})}),ue(St(i),"pause",function(a){i.autoplayTimer&&(clearInterval(i.autoplayTimer),i.autoplayTimer=null);var l=i.state.autoplaying;a==="paused"?i.setState({autoplaying:"paused"}):a==="focused"?(l==="hovered"||l==="playing")&&i.setState({autoplaying:"focused"}):l==="playing"&&i.setState({autoplaying:"hovered"})}),ue(St(i),"onDotsOver",function(){return i.props.autoplay&&i.pause("hovered")}),ue(St(i),"onDotsLeave",function(){return i.props.autoplay&&i.state.autoplaying==="hovered"&&i.autoPlay("leave")}),ue(St(i),"onTrackOver",function(){return i.props.autoplay&&i.pause("hovered")}),ue(St(i),"onTrackLeave",function(){return i.props.autoplay&&i.state.autoplaying==="hovered"&&i.autoPlay("leave")}),ue(St(i),"onSlideFocus",function(){return i.props.autoplay&&i.pause("focused")}),ue(St(i),"onSlideBlur",function(){return i.props.autoplay&&i.state.autoplaying==="focused"&&i.autoPlay("blur")}),ue(St(i),"render",function(){var a=Re("slick-slider",i.props.className,{"slick-vertical":i.props.vertical,"slick-initialized":!0}),l=fe(fe({},i.props),i.state),s=gV(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=i.props.pauseOnHover;s=fe(fe({},s),{},{onMouseEnter:u?i.onTrackOver:null,onMouseLeave:u?i.onTrackLeave:null,onMouseOver:u?i.onTrackOver:null,focusOnSelect:i.props.focusOnSelect&&i.clickable?i.selectHandler:null});var c;if(i.props.dots===!0&&i.state.slideCount>=i.props.slidesToShow){var f=gV(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),h=i.props.pauseOnDotsHover;f=fe(fe({},f),{},{clickHandler:i.changeSlide,onMouseEnter:h?i.onDotsLeave:null,onMouseOver:h?i.onDotsOver:null,onMouseLeave:h?i.onDotsLeave:null}),c=Se.createElement(w5t,f)}var d,p,g=gV(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=i.changeSlide,i.props.arrows&&(d=Se.createElement(O5t,g),p=Se.createElement(E5t,g));var m=null;i.props.vertical&&(m={height:i.state.listHeight});var v=null;i.props.vertical===!1?i.props.centerMode===!0&&(v={padding:"0px "+i.props.centerPadding}):i.props.centerMode===!0&&(v={padding:i.props.centerPadding+" 0px"});var y=fe(fe({},m),v),b=i.props.touchMove,C={className:"slick-list",style:y,onClick:i.clickHandler,onMouseDown:b?i.swipeStart:null,onMouseMove:i.state.dragging&&b?i.swipeMove:null,onMouseUp:b?i.swipeEnd:null,onMouseLeave:i.state.dragging&&b?i.swipeEnd:null,onTouchStart:b?i.swipeStart:null,onTouchMove:i.state.dragging&&b?i.swipeMove:null,onTouchEnd:b?i.touchEnd:null,onTouchCancel:i.state.dragging&&b?i.swipeEnd:null,onKeyDown:i.props.accessibility?i.keyHandler:null},x={className:a,dir:"ltr",style:i.props.style};return i.props.unslick&&(C={className:"slick-list"},x={className:a,style:i.props.style}),Se.createElement("div",x,i.props.unslick?"":d,Se.createElement("div",Qe({ref:i.listRefHandler},C),Se.createElement(x5t,Qe({ref:i.trackRefHandler},s),i.props.children)),i.props.unslick?"":p,i.props.unslick?"":c)}),i.list=null,i.track=null,i.state=fe(fe({},o5t),{},{currentSlide:i.props.initialSlide,slideCount:Se.Children.count(i.props.children)}),i.callbackTimers=[],i.clickable=!0,i.debouncedResize=null;var o=i.ssrInit();return i.state=fe(fe({},i.state),o),i}return Zr(n,[{key:"didPropsChange",value:function(i){for(var o=!1,a=0,l=Object.keys(this.props);a1&&arguments[1]!==void 0?arguments[1]:!1;return i.innerSlider.slickGoTo(o,a)}),ue(St(i),"slickPause",function(){return i.innerSlider.pause("paused")}),ue(St(i),"slickPlay",function(){return i.innerSlider.autoPlay("play")}),i.state={breakpoint:null},i._responsiveMediaHandlers=[],i}return Zr(n,[{key:"media",value:function(i,o){var a=window.matchMedia(i),l=function(u){var c=u.matches;c&&o()};a.addListener(l),l(a),this._responsiveMediaHandlers.push({mql:a,query:i,listener:l})}},{key:"componentDidMount",value:function(){var i=this;if(this.props.responsive){var o=this.props.responsive.map(function(l){return l.breakpoint});o.sort(function(l,s){return l-s}),o.forEach(function(l,s){var u;s===0?u=yV({minWidth:0,maxWidth:l}):u=yV({minWidth:o[s-1]+1,maxWidth:l}),D1e()&&i.media(u,function(){i.setState({breakpoint:l})})});var a=yV({minWidth:o.slice(-1)[0]});D1e()&&this.media(a,function(){i.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(i){i.mql.removeListener(i.listener)})}},{key:"render",value:function(){var i=this,o,a;this.state.breakpoint?(a=this.props.responsive.filter(function(m){return m.breakpoint===i.state.breakpoint}),o=a[0].settings==="unslick"?"unslick":fe(fe(fe({},z1e),this.props),a[0].settings)):o=fe(fe({},z1e),this.props),o.centerMode&&(o.slidesToScroll>1,o.slidesToScroll=1),o.fade&&(o.slidesToShow>1,o.slidesToScroll>1,o.slidesToShow=1,o.slidesToScroll=1);var l=Se.Children.toArray(this.props.children);l=l.filter(function(m){return typeof m=="string"?!!m.trim():!!m}),o.variableWidth&&(o.rows>1||o.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),o.variableWidth=!1);for(var s=[],u=null,c=0;c=l.length));p+=1)d.push(Se.cloneElement(l[p],{key:100*c+10*h+p,tabIndex:-1,style:{width:"".concat(100/o.slidesPerRow,"%"),display:"inline-block"}}));f.push(Se.createElement("div",{key:10*c+h},d))}o.variableWidth?s.push(Se.createElement("div",{key:c,style:{width:u}},f)):s.push(Se.createElement("div",{key:c},f))}if(o==="unslick"){var g="regular slider "+(this.props.className||"");return Se.createElement("div",{className:g},l)}else s.length<=o.slidesToShow&&(o.unslick=!0);return Se.createElement(P5t,Qe({style:this.props.style,ref:this.innerSliderRefHandler},o),s)}}]),n}(Se.Component);const j5t=Object.freeze(Object.defineProperty({__proto__:null,default:k5t},Symbol.toStringTag,{value:"Module"}));var yC=_.createContext(null),T3="__rc_cascader_search_mark__",D5t=function(t,n,r){var i=r.label;return n.some(function(o){return String(o[i]).toLowerCase().includes(t.toLowerCase())})},L5t=function(t,n,r,i){return n.map(function(o){return o[i.label]}).join(" / ")};const z5t=function(e,t,n,r,i,o){var a=i.filter,l=a===void 0?D5t:a,s=i.render,u=s===void 0?L5t:s,c=i.limit,f=c===void 0?50:c,h=i.sort;return _.useMemo(function(){var d=[];if(!e)return[];function p(g,m){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;g.forEach(function(y){if(!(!h&&f!==!1&&f>0&&d.length>=f)){var b=[].concat(vt(m),[y]),C=y[n.children],x=v||y.disabled;if((!C||C.length===0||o)&&l(e,b,{label:n.label})){var S;d.push(fe(fe({},y),{},(S={disabled:x},ue(S,n.label,u(e,b,r,n)),ue(S,T3,b),ue(S,n.children,void 0),S)))}C&&p(y[n.children],b,x)}})}return p(t,[]),h&&d.sort(function(g,m){return h(g[T3],m[T3],e,n)}),f!==!1&&f>0?d.slice(0,f):d},[e,t,n,r,u,o,l,h,f])};var eie="__RC_CASCADER_SPLIT__",oze="SHOW_PARENT",aze="SHOW_CHILD";function Cd(e){return e.join(eie)}function h4(e){return e.map(Cd)}function B5t(e){return e.split(eie)}function lze(e){var t=e||{},n=t.label,r=t.value,i=t.children,o=r||"value";return{label:n||"label",value:o,key:o,children:i||"children"}}function e9(e,t){var n,r;return(n=e.isLeaf)!==null&&n!==void 0?n:!((r=e[t.children])!==null&&r!==void 0&&r.length)}function F5t(e){var t=e.parentElement;if(t){var n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}}function sze(e,t){return e.map(function(n){var r;return(r=n[T3])===null||r===void 0?void 0:r.map(function(i){return i[t.value]})})}function H5t(e){return Array.isArray(e)&&Array.isArray(e[0])}function lD(e){return e?H5t(e)?e:(e.length===0?[]:[e]).map(function(t){return Array.isArray(t)?t:[t]}):[]}function cze(e,t,n){var r=new Set(e),i=t();return e.filter(function(o){var a=i[o],l=a?a.parent:null,s=a?a.children:null;return a&&a.node.disabled?!0:n===aze?!(s&&s.some(function(u){return u.key&&r.has(u.key)})):!(l&&!l.node.disabled&&r.has(l.key))})}function g4(e,t,n){for(var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=t,o=[],a=function(){var u,c,f,h=e[l],d=(u=i)===null||u===void 0?void 0:u.findIndex(function(g){var m=g[n.value];return r?String(m)===String(h):m===h}),p=d!==-1?(c=i)===null||c===void 0?void 0:c[d]:null;o.push({value:(f=p==null?void 0:p[n.value])!==null&&f!==void 0?f:h,index:d,option:p}),i=p==null?void 0:p[n.children]},l=0;l1&&arguments[1]!==void 0?arguments[1]:null;return c.map(function(h,d){for(var p=dze(f?f.pos:"0",d),g=N$(h[o],p),m,v=0;v1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o=t.externalGetKey,a=t.childrenPropName,l=t.fieldNames,s=arguments.length>2?arguments[2]:void 0,u=o||s,c={},f={},h={posEntities:c,keyEntities:f};return n&&(h=n(h)||h),U5t(e,function(d){var p=d.node,g=d.index,m=d.pos,v=d.key,y=d.parentPos,b=d.level,C=d.nodes,x={node:p,nodes:C,index:g,key:v,pos:m,level:b},S=N$(v,m);c[m]=x,f[S]=x,x.parent=c[y],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),r&&r(x,h)},{externalGetKey:u,childrenPropName:a,fieldNames:l}),i&&i(h),h}function z9(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,l=t.halfCheckedKeys,s=t.dragOverNodeKey,u=t.dropPosition,c=t.keyEntities,f=oc(c,e),h={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:i.indexOf(e)!==-1,loading:o.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:l.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:s===e&&u===0,dragOverGapTop:s===e&&u===-1,dragOverGapBottom:s===e&&u===1};return h}function Qo(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,o=e.loaded,a=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,c=e.dragOverGapBottom,f=e.pos,h=e.active,d=e.eventKey,p=fe(fe({},t),{},{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:c,pos:f,active:h,key:d});return"props"in p||Object.defineProperty(p,"props",{get:function(){return Dr(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),p}const G5t=function(e,t){var n=_.useRef({options:null,info:null}),r=_.useCallback(function(){return n.current.options!==e&&(n.current.options=e,n.current.info=A$(e,{fieldNames:t,initWrapper:function(o){return fe(fe({},o),{},{pathKeyEntities:{}})},processEntity:function(o,a){var l=o.nodes.map(function(s){return s[t.value]}).join(eie);a.pathKeyEntities[l]=o,o.key=l}})),n.current.info.pathKeyEntities},[t,e]);return r};function pze(e,t){var n=_.useMemo(function(){return t||[]},[t]),r=G5t(n,e),i=_.useCallback(function(o){var a=r();return o.map(function(l){var s=a[l].nodes;return s.map(function(u){return u[e.value]})})},[r,e]);return[n,r,i]}function K5t(e){return _.useMemo(function(){if(!e)return[!1,{}];var t={matchInputWidth:!0,limit:50};return e&&bn(e)==="object"&&(t=fe(fe({},t),e)),t.limit<=0&&delete t.limit,[!0,t]},[e])}function hze(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function X5t(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!!(n||r)||i===!1}function Y5t(e,t,n,r){for(var i=new Set(e),o=new Set,a=0;a<=n;a+=1){var l=t.get(a)||new Set;l.forEach(function(f){var h=f.key,d=f.node,p=f.children,g=p===void 0?[]:p;i.has(h)&&!r(d)&&g.filter(function(m){return!r(m.node)}).forEach(function(m){i.add(m.key)})})}for(var s=new Set,u=n;u>=0;u-=1){var c=t.get(u)||new Set;c.forEach(function(f){var h=f.parent,d=f.node;if(!(r(d)||!f.parent||s.has(f.parent.key))){if(r(f.parent.node)){s.add(h.key);return}var p=!0,g=!1;(h.children||[]).filter(function(m){return!r(m.node)}).forEach(function(m){var v=m.key,y=i.has(v);p&&!y&&(p=!1),!g&&(y||o.has(v))&&(g=!0)}),p&&i.add(h.key),g&&o.add(h.key),s.add(h.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(hze(o,i))}}function Z5t(e,t,n,r,i){for(var o=new Set(e),a=new Set(t),l=0;l<=r;l+=1){var s=n.get(l)||new Set;s.forEach(function(h){var d=h.key,p=h.node,g=h.children,m=g===void 0?[]:g;!o.has(d)&&!a.has(d)&&!i(p)&&m.filter(function(v){return!i(v.node)}).forEach(function(v){o.delete(v.key)})})}a=new Set;for(var u=new Set,c=r;c>=0;c-=1){var f=n.get(c)||new Set;f.forEach(function(h){var d=h.parent,p=h.node;if(!(i(p)||!h.parent||u.has(h.parent.key))){if(i(h.parent.node)){u.add(d.key);return}var g=!0,m=!1;(d.children||[]).filter(function(v){return!i(v.node)}).forEach(function(v){var y=v.key,b=o.has(y);g&&!b&&(g=!1),!m&&(b||a.has(y))&&(m=!0)}),g||o.delete(d.key),m&&a.add(d.key),u.add(d.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(hze(a,o))}}function ou(e,t,n,r){var i=[],o;r?o=r:o=X5t;var a=new Set(e.filter(function(c){var f=!!oc(n,c);return f||i.push(c),f})),l=new Map,s=0;Object.keys(n).forEach(function(c){var f=n[c],h=f.level,d=l.get(h);d||(d=new Set,l.set(h,d)),d.add(f),s=Math.max(s,h)}),Dr(!i.length,"Tree missing follow keys: ".concat(i.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var u;return t===!0?u=Y5t(a,l,s,o):u=Z5t(a,t.halfCheckedKeys,l,s,o),u}function gze(e,t,n,r,i,o,a,l){return function(s){if(!e)t(s);else{var u=Cd(s),c=h4(n),f=h4(r),h=c.includes(u),d=i.some(function(S){return Cd(S)===u}),p=n,g=i;if(d&&!h)g=i.filter(function(S){return Cd(S)!==u});else{var m=h?c.filter(function(S){return S!==u}):[].concat(vt(c),[u]),v=o(),y;if(h){var b=ou(m,{checked:!1,halfCheckedKeys:f},v);y=b.checkedKeys}else{var C=ou(m,!0,v);y=C.checkedKeys}var x=cze(y,o,l);p=a(x)}t([].concat(vt(g),vt(p)))}}}function mze(e,t,n,r,i){return _.useMemo(function(){var o=i(t),a=Me(o,2),l=a[0],s=a[1];if(!e||!t.length)return[l,[],s];var u=h4(l),c=n(),f=ou(u,!0,c),h=f.checkedKeys,d=f.halfCheckedKeys;return[r(h),r(d),s]},[e,t,n,r,i])}var Q5t=_.memo(function(e){var t=e.children;return t},function(e,t){return!t.open});function J5t(e){var t,n=e.prefixCls,r=e.checked,i=e.halfChecked,o=e.disabled,a=e.onClick,l=e.disableCheckbox,s=_.useContext(yC),u=s.checkable,c=typeof u!="boolean"?u:null;return _.createElement("span",{className:Re("".concat(n),(t={},ue(t,"".concat(n,"-checked"),r),ue(t,"".concat(n,"-indeterminate"),!r&&i),ue(t,"".concat(n,"-disabled"),o||l),t)),onClick:a},c)}var vze="__cascader_fix_label__";function e_t(e){var t=e.prefixCls,n=e.multiple,r=e.options,i=e.activeValue,o=e.prevValuePath,a=e.onToggleOpen,l=e.onSelect,s=e.onActive,u=e.checkedSet,c=e.halfCheckedSet,f=e.loadingKeys,h=e.isSelectable,d=e.searchValue,p="".concat(t,"-menu"),g="".concat(t,"-menu-item"),m=_.useContext(yC),v=m.fieldNames,y=m.changeOnSelect,b=m.expandTrigger,C=m.expandIcon,x=m.loadingIcon,S=m.dropdownMenuColumnStyle,w=b==="hover",O=_.useMemo(function(){return r.map(function($){var P,T=$.disabled,R=$.disableCheckbox,M=$[T3],A=(P=$[vze])!==null&&P!==void 0?P:$[v.label],N=$[v.value],j=e9($,v),D=M?M.map(function(q){return q[v.value]}):[].concat(vt(o),[N]),L=Cd(D),B=f.includes(L),k=u.has(L),z=c.has(L);return{disabled:T,label:A,value:N,isLeaf:j,isLoading:B,checked:k,halfChecked:z,option:$,disableCheckbox:R,fullPath:D,fullPathKey:L}})},[r,u,v,c,f,o]);return _.createElement("ul",{className:p,role:"menu"},O.map(function($){var P,T=$.disabled,R=$.label,M=$.value,A=$.isLeaf,N=$.isLoading,j=$.checked,D=$.halfChecked,L=$.option,B=$.fullPath,k=$.fullPathKey,z=$.disableCheckbox,q=function(){if(!(T||d)){var X=vt(B);w&&A&&X.pop(),s(X)}},W=function(){h(L)&&l(B,A)},U;return typeof L.title=="string"?U=L.title:typeof R=="string"&&(U=R),_.createElement("li",{key:k,className:Re(g,(P={},ue(P,"".concat(g,"-expand"),!A),ue(P,"".concat(g,"-active"),i===M||i===k),ue(P,"".concat(g,"-disabled"),T),ue(P,"".concat(g,"-loading"),N),P)),style:S,role:"menuitemcheckbox",title:U,"aria-checked":j,"data-path-key":k,onClick:function(){q(),!z&&(!n||A)&&W()},onDoubleClick:function(){y&&a(!1)},onMouseEnter:function(){w&&q()},onMouseDown:function(X){X.preventDefault()}},n&&_.createElement(J5t,{prefixCls:"".concat(t,"-checkbox"),checked:j,halfChecked:D,disabled:T||z,disableCheckbox:z,onClick:function(X){z||(X.stopPropagation(),W())}}),_.createElement("div",{className:"".concat(g,"-content")},R),!N&&C&&!A&&_.createElement("div",{className:"".concat(g,"-expand-icon")},C),N&&x&&_.createElement("div",{className:"".concat(g,"-loading-icon")},x))}))}const t_t=function(e,t){var n=_.useContext(yC),r=n.values,i=r[0],o=_.useState([]),a=Me(o,2),l=a[0],s=a[1];return _.useEffect(function(){t&&!e&&s(i||[])},[t,i]),[l,s]},n_t=function(e,t,n,r,i,o,a){var l=a.direction,s=a.searchValue,u=a.toggleOpen,c=a.open,f=l==="rtl",h=_.useMemo(function(){for(var S=-1,w=t,O=[],$=[],P=r.length,T=sze(t,n),R=function(D){var L=w.findIndex(function(B,k){return(T[k]?Cd(T[k]):B[n.value])===r[D]});if(L===-1)return 1;S=L,O.push(S),$.push(r[D]),w=w[S][n.children]},M=0;M1){var w=p.slice(0,-1);y(w)}else u(!1)},x=function(){var w,O=((w=m[g])===null||w===void 0?void 0:w[n.children])||[],$=O.find(function(T){return!T.disabled});if($){var P=[].concat(vt(p),[$[n.value]]);y(P)}};_.useImperativeHandle(e,function(){return{onKeyDown:function(w){var O=w.which;switch(O){case ht.UP:case ht.DOWN:{var $=0;O===ht.UP?$=-1:O===ht.DOWN&&($=1),$!==0&&b($);break}case ht.LEFT:{if(s)break;f?x():C();break}case ht.RIGHT:{if(s)break;f?C():x();break}case ht.BACKSPACE:{s||C();break}case ht.ENTER:{if(p.length){var P=m[g],T=(P==null?void 0:P[T3])||[];T.length?o(T.map(function(R){return R[n.value]}),T[T.length-1]):o(p,m[g])}break}case ht.ESC:u(!1),c&&w.stopPropagation()}},onKeyUp:function(){}}})};var yze=_.forwardRef(function(e,t){var n,r,i,o=e.prefixCls,a=e.multiple,l=e.searchValue,s=e.toggleOpen,u=e.notFoundContent,c=e.direction,f=e.open,h=_.useRef(),d=c==="rtl",p=_.useContext(yC),g=p.options,m=p.values,v=p.halfValues,y=p.fieldNames,b=p.changeOnSelect,C=p.onSelect,x=p.searchOptions,S=p.dropdownPrefixCls,w=p.loadData,O=p.expandTrigger,$=S||o,P=_.useState([]),T=Me(P,2),R=T[0],M=T[1],A=function(ne){if(!(!w||l)){var re=g4(ne,g,y),oe=re.map(function(be){var he=be.option;return he}),se=oe[oe.length-1];if(se&&!e9(se,y)){var ye=Cd(ne);M(function(be){return[].concat(vt(be),[ye])}),w(oe)}}};_.useEffect(function(){R.length&&R.forEach(function(te){var ne=B5t(te),re=g4(ne,g,y,!0).map(function(se){var ye=se.option;return ye}),oe=re[re.length-1];(!oe||oe[y.children]||e9(oe,y))&&M(function(se){return se.filter(function(ye){return ye!==te})})})},[g,R,y]);var N=_.useMemo(function(){return new Set(h4(m))},[m]),j=_.useMemo(function(){return new Set(h4(v))},[v]),D=t_t(a,f),L=Me(D,2),B=L[0],k=L[1],z=function(ne){k(ne),A(ne)},q=function(ne){var re=ne.disabled,oe=e9(ne,y);return!re&&(oe||b||a)},W=function(ne,re){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;C(ne),!a&&(re||b&&(O==="hover"||oe))&&s(!1)},U=_.useMemo(function(){return l?x:g},[l,x,g]),K=_.useMemo(function(){for(var te=[{options:U}],ne=U,re=sze(ne,y),oe=function(){var be=B[se],he=ne.find(function(ve,ke){return(re[ke]?Cd(re[ke]):ve[y.value])===be}),le=he==null?void 0:he[y.children];if(!(le!=null&&le.length))return 1;ne=le,te.push({options:le})},se=0;se":v,b=n.loadingIcon,C=n.direction,x=n.notFoundContent,S=x===void 0?"Not Found":x,w=!!s,O=zn(u,{value:c,postState:lD}),$=Me(O,2),P=$[0],T=$[1],R=_.useMemo(function(){return lze(f)},[JSON.stringify(f)]),M=pze(R,l),A=Me(M,3),N=A[0],j=A[1],D=A[2],L=uze(N,R),B=mze(w,P,j,D,L),k=Me(B,3),z=k[0],q=k[1],W=k[2],U=ir(function(ee){if(T(ee),d){var Q=lD(ee),te=Q.map(function(oe){return g4(oe,N,R).map(function(se){return se.option})}),ne=w?Q:Q[0],re=w?te:te[0];d(ne,re)}}),K=gze(w,U,z,q,W,j,D,p),X=ir(function(ee){K(ee)}),G=_.useMemo(function(){return{options:N,fieldNames:R,values:z,halfValues:q,changeOnSelect:h,onSelect:X,checkable:s,searchOptions:[],dropdownPrefixCls:null,loadData:g,expandTrigger:m,expandIcon:y,loadingIcon:b,dropdownMenuColumnStyle:null}},[N,R,z,q,h,X,s,g,m,y,b]),Y="".concat(i,"-panel"),J=!N.length;return _.createElement(yC.Provider,{value:G},_.createElement("div",{className:Re(Y,(t={},ue(t,"".concat(Y,"-rtl"),C==="rtl"),ue(t,"".concat(Y,"-empty"),J),t),a),style:o},J?S:_.createElement(yze,{prefixCls:i,searchValue:null,multiple:w,toggleOpen:i_t,open:!0,direction:C})))}var o_t=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"],$B=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-cascader":r,o=e.fieldNames,a=e.defaultValue,l=e.value,s=e.changeOnSelect,u=e.onChange,c=e.displayRender,f=e.checkable,h=e.autoClearSearchValue,d=h===void 0?!0:h,p=e.searchValue,g=e.onSearch,m=e.showSearch,v=e.expandTrigger,y=e.options,b=e.dropdownPrefixCls,C=e.loadData,x=e.popupVisible,S=e.open,w=e.popupClassName,O=e.dropdownClassName,$=e.dropdownMenuColumnStyle,P=e.dropdownStyle,T=e.popupPlacement,R=e.placement,M=e.onDropdownVisibleChange,A=e.onPopupVisibleChange,N=e.expandIcon,j=N===void 0?">":N,D=e.loadingIcon,L=e.children,B=e.dropdownMatchSelectWidth,k=B===void 0?!1:B,z=e.showCheckedStrategy,q=z===void 0?oze:z,W=an(e,o_t),U=vre(n),K=!!f,X=zn(a,{value:l,postState:lD}),G=Me(X,2),Y=G[0],J=G[1],ee=_.useMemo(function(){return lze(o)},[JSON.stringify(o)]),Q=pze(ee,y),te=Me(Q,3),ne=te[0],re=te[1],oe=te[2],se=zn("",{value:p,postState:function(Ge){return Ge||""}}),ye=Me(se,2),be=ye[0],he=ye[1],le=function(Ge,Je){he(Ge),Je.source!=="blur"&&g&&g(Ge)},ve=K5t(m),ke=Me(ve,2),Ie=ke[0],Oe=ke[1],Pe=z5t(be,ne,ee,b||i,Oe,s),_e=uze(ne,ee),ce=mze(K,Y,re,oe,_e),Te=Me(ce,3),Ne=Te[0],je=Te[1],He=Te[2],Be=_.useMemo(function(){var We=h4(Ne),Ge=cze(We,re,q);return[].concat(vt(He),vt(oe(Ge)))},[Ne,re,oe,He,q]),qe=W5t(Be,ne,ee,K,c),me=ir(function(We){if(J(We),u){var Ge=lD(We),Je=Ge.map(function(et){return g4(et,ne,ee).map(function(rt){return rt.option})}),bt=K?Ge:Ge[0],at=K?Je:Je[0];u(bt,at)}}),Ee=gze(K,me,Ne,je,He,re,oe,q),$e=ir(function(We){(!K||d)&&he(""),Ee(We)}),Le=function(Ge,Je){if(Je.type==="clear"){me([]);return}var bt=Je.values[0],at=bt.valueCells;$e(at)},Fe=S!==void 0?S:x,Ke=O||w,lt=R||T,ft=function(Ge){M==null||M(Ge),A==null||A(Ge)},Ye=_.useMemo(function(){return{options:ne,fieldNames:ee,values:Ne,halfValues:je,changeOnSelect:s,onSelect:$e,checkable:f,searchOptions:Pe,dropdownPrefixCls:b,loadData:C,expandTrigger:v,expandIcon:j,loadingIcon:D,dropdownMenuColumnStyle:$}},[ne,ee,Ne,je,s,$e,f,Pe,b,C,v,j,D,$]),we=!(be?Pe:ne).length,De=be&&Oe.matchInputWidth||we?{}:{minWidth:"auto"};return _.createElement(yC.Provider,{value:Ye},_.createElement(eB,Qe({},W,{ref:t,id:U,prefixCls:i,autoClearSearchValue:d,dropdownMatchSelectWidth:k,dropdownStyle:fe(fe({},De),P),displayValues:qe,onDisplayValuesChange:Le,mode:K?"multiple":void 0,searchValue:be,onSearch:le,showSearch:Ie,OptionList:r_t,emptyOptions:we,open:Fe,dropdownClassName:Ke,placement:lt,onDropdownVisibleChange:ft,getRawInputElement:function(){return L}})))});$B.SHOW_PARENT=oze;$B.SHOW_CHILD=aze;$B.Panel=bze;const a_t=Object.freeze(Object.defineProperty({__proto__:null,Panel:bze,default:$B},Symbol.toStringTag,{value:"Module"})),l_t=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},sr(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},sr(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},uh(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${xe(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${n}:not(${n}-disabled), ${t}:not(${t}-disabled) `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` ${n}-checked:not(${n}-disabled), ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function eie(e,t){const n=Wn(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[s_t(n)]}const bze=vr("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[eie(n,e)]}),c_t=Se.createContext(null),Cze=c_t;var u_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,className:i,rootClassName:o,children:a,indeterminate:l=!1,style:s,onMouseEnter:u,onMouseLeave:c,skipGroup:f=!1,disabled:h}=e,d=u_t(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:p,direction:g,checkbox:m}=_.useContext(on),v=_.useContext(Cze),{isFormItemInput:y}=_.useContext(la),b=_.useContext(es),C=(n=(v==null?void 0:v.disabled)||h)!==null&&n!==void 0?n:b,x=_.useRef(d.value);_.useEffect(()=>{v==null||v.registerValue(d.value)},[]),_.useEffect(()=>{if(!f)return d.value!==x.current&&(v==null||v.cancelValue(x.current),v==null||v.registerValue(d.value),x.current=d.value),()=>v==null?void 0:v.cancelValue(d.value)},[d.value]);const S=p("checkbox",r),w=di(S),[O,$,P]=bze(S,w),T=Object.assign({},d);v&&!f&&(T.onChange=function(){d.onChange&&d.onChange.apply(d,arguments),v.toggleOption&&v.toggleOption({label:a,value:d.value})},T.name=v.name,T.checked=v.value.includes(d.value));const R=Re(`${S}-wrapper`,{[`${S}-rtl`]:g==="rtl",[`${S}-wrapper-checked`]:T.checked,[`${S}-wrapper-disabled`]:C,[`${S}-wrapper-in-form-item`]:y},m==null?void 0:m.className,i,o,P,w,$),M=Re({[`${S}-indeterminate`]:l},Bz,$),A=l?"mixed":void 0;return O(_.createElement(S$,{component:"Checkbox",disabled:C},_.createElement("label",{className:R,style:Object.assign(Object.assign({},m==null?void 0:m.style),s),onMouseEnter:u,onMouseLeave:c},_.createElement(rD,Object.assign({"aria-checked":A},T,{prefixCls:S,className:M,disabled:C,ref:t})),a!==void 0&&_.createElement("span",null,a))))},f_t=_.forwardRef(d_t),Sze=f_t;var p_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{defaultValue:n,children:r,options:i=[],prefixCls:o,className:a,rootClassName:l,style:s,onChange:u}=e,c=p_t(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:h}=_.useContext(on),[d,p]=_.useState(c.value||n||[]),[g,m]=_.useState([]);_.useEffect(()=>{"value"in c&&p(c.value||[])},[c.value]);const v=_.useMemo(()=>i.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),[i]),y=N=>{m(k=>k.filter(D=>D!==N))},b=N=>{m(k=>[].concat(vt(k),[N]))},C=N=>{const k=d.indexOf(N.value),D=vt(d);k===-1?D.push(N.value):D.splice(k,1),"value"in c||p(D),u==null||u(D.filter(L=>g.includes(L)).sort((L,B)=>{const j=v.findIndex(V=>V.value===L),z=v.findIndex(V=>V.value===B);return j-z}))},x=f("checkbox",o),S=`${x}-group`,w=di(x),[O,$,P]=bze(x,w),T=bi(c,["value","disabled"]),R=i.length?v.map(N=>_.createElement(Sze,{prefixCls:x,key:N.value.toString(),disabled:"disabled"in N?N.disabled:c.disabled,value:N.value,checked:d.includes(N.value),onChange:N.onChange,className:`${S}-item`,style:N.style,title:N.title,id:N.id,required:N.required},N.label)):r,M={toggleOption:C,value:d,disabled:c.disabled,name:c.name,registerValue:b,cancelValue:y},A=Re(S,{[`${S}-rtl`]:h==="rtl"},a,l,P,w,$);return O(_.createElement("div",Object.assign({className:A,style:s},T,{ref:t}),_.createElement(Cze.Provider,{value:M},R)))}),g_t=h_t,tie=Sze;tie.Group=g_t;tie.__ANT_CHECKBOX=!0;const lD=tie,m_t=_.createContext({}),xze=m_t,v_t=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},y_t=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},b_t=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:i}=e,o={};for(let a=i;a>=0;a--)a===0?(o[`${r}${t}-${a}`]={display:"none"},o[`${r}-push-${a}`]={insetInlineStart:"auto"},o[`${r}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${a}`]={marginInlineStart:0},o[`${r}${t}-order-${a}`]={order:0}):(o[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/i*100}%`,maxWidth:`${a/i*100}%`}],o[`${r}${t}-push-${a}`]={insetInlineStart:`${a/i*100}%`},o[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/i*100}%`},o[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/i*100}%`},o[`${r}${t}-order-${a}`]={order:a});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},gQ=(e,t)=>b_t(e,t),C_t=(e,t,n)=>({[`@media (min-width: ${xe(t)})`]:Object.assign({},gQ(e,n))}),S_t=()=>({}),x_t=()=>({}),__t=vr("Grid",v_t,S_t),w_t=vr("Grid",e=>{const t=Wn(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[y_t(t),gQ(t,""),gQ(t,"-xs"),Object.keys(n).map(r=>C_t(t,n[r],r)).reduce((r,i)=>Object.assign(Object.assign({},r),i),{})]},x_t);var O_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=_.useContext(on),{gutter:i,wrap:o}=_.useContext(xze),{prefixCls:a,span:l,order:s,offset:u,push:c,pull:f,className:h,children:d,flex:p,style:g}=e,m=O_t(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),v=n("col",a),[y,b,C]=w_t(v),x={};let S={};E_t.forEach($=>{let P={};const T=e[$];typeof T=="number"?P.span=T:typeof T=="object"&&(P=T||{}),delete m[$],S=Object.assign(Object.assign({},S),{[`${v}-${$}-${P.span}`]:P.span!==void 0,[`${v}-${$}-order-${P.order}`]:P.order||P.order===0,[`${v}-${$}-offset-${P.offset}`]:P.offset||P.offset===0,[`${v}-${$}-push-${P.push}`]:P.push||P.push===0,[`${v}-${$}-pull-${P.pull}`]:P.pull||P.pull===0,[`${v}-rtl`]:r==="rtl"}),P.flex&&(S[`${v}-${$}-flex`]=!0,x[`--${v}-${$}-flex`]=z1e(P.flex))});const w=Re(v,{[`${v}-${l}`]:l!==void 0,[`${v}-order-${s}`]:s,[`${v}-offset-${u}`]:u,[`${v}-push-${c}`]:c,[`${v}-pull-${f}`]:f},h,S,b,C),O={};if(i&&i[0]>0){const $=i[0]/2;O.paddingLeft=$,O.paddingRight=$}return p&&(O.flex=z1e(p),o===!1&&!O.minWidth&&(O.minWidth=0)),y(_.createElement("div",Object.assign({},m,{style:Object.assign(Object.assign(Object.assign({},O),g),x),className:w,ref:t}),d))}),Bv=$_t;var P_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{i()},[JSON.stringify(e),t]),n}const T_t=_.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:i,className:o,style:a,children:l,gutter:s=0,wrap:u}=e,c=P_t(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:h}=_.useContext(on),[d,p]=_.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,m]=_.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),v=B1e(i,g),y=B1e(r,g),b=_.useRef(s),C=uDe();_.useEffect(()=>{const D=C.subscribe(L=>{m(L);const B=b.current||0;(!Array.isArray(B)&&typeof B=="object"||Array.isArray(B)&&(typeof B[0]=="object"||typeof B[1]=="object"))&&p(L)});return()=>C.unsubscribe(D)},[]);const x=()=>{const D=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((B,j)=>{if(typeof B=="object")for(let z=0;z0?P[0]/-2:void 0;M&&(R.marginLeft=M,R.marginRight=M),[,R.rowGap]=P;const[A,N]=P,k=_.useMemo(()=>({gutter:[A,N],wrap:u}),[A,N,u]);return w(_.createElement(xze.Provider,{value:k},_.createElement("div",Object.assign({},c,{className:T,style:Object.assign(Object.assign({},R),a),ref:t}),l)))}),$B=T_t;var _ze=Se.forwardRef(function(e,t){var n,r=e.prefixCls,i=e.forceRender,o=e.className,a=e.style,l=e.children,s=e.isActive,u=e.role,c=Se.useState(s||i),f=Me(c,2),h=f[0],d=f[1];return Se.useEffect(function(){(i||s)&&d(!0)},[i,s]),h?Se.createElement("div",{ref:t,className:Re("".concat(r,"-content"),(n={},ue(n,"".concat(r,"-content-active"),s),ue(n,"".concat(r,"-content-inactive"),!s),n),o),style:a,role:u},Se.createElement("div",{className:"".concat(r,"-content-box")},l)):null});_ze.displayName="PanelContent";var M_t=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],wze=Se.forwardRef(function(e,t){var n,r,i=e.showArrow,o=i===void 0?!0:i,a=e.headerClass,l=e.isActive,s=e.onItemClick,u=e.forceRender,c=e.className,f=e.prefixCls,h=e.collapsible,d=e.accordion,p=e.panelKey,g=e.extra,m=e.header,v=e.expandIcon,y=e.openMotion,b=e.destroyInactivePanel,C=e.children,x=an(e,M_t),S=h==="disabled",w=h==="header",O=h==="icon",$=g!=null&&typeof g!="boolean",P=function(){s==null||s(p)},T=function(D){(D.key==="Enter"||D.keyCode===ht.ENTER||D.which===ht.ENTER)&&P()},R=typeof v=="function"?v(e):Se.createElement("i",{className:"arrow"});R&&(R=Se.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(h)?P:void 0},R));var M=Re((n={},ue(n,"".concat(f,"-item"),!0),ue(n,"".concat(f,"-item-active"),l),ue(n,"".concat(f,"-item-disabled"),S),n),c),A=Re(a,(r={},ue(r,"".concat(f,"-header"),!0),ue(r,"".concat(f,"-header-collapsible-only"),w),ue(r,"".concat(f,"-icon-collapsible-only"),O),r)),N={className:A,"aria-expanded":l,"aria-disabled":S,onKeyDown:T};return!w&&!O&&(N.onClick=P,N.role=d?"tab":"button",N.tabIndex=S?-1:0),Se.createElement("div",Qe({},x,{ref:t,className:M}),Se.createElement("div",N,o&&R,Se.createElement("span",{className:"".concat(f,"-header-text"),onClick:h==="header"?P:void 0},m),$&&Se.createElement("div",{className:"".concat(f,"-extra")},g)),Se.createElement(aa,Qe({visible:l,leavedClassName:"".concat(f,"-content-hidden")},y,{forceRender:u,removeOnLeave:b}),function(k,D){var L=k.className,B=k.style;return Se.createElement(_ze,{ref:D,prefixCls:f,className:L,style:B,isActive:l,forceRender:u,role:d?"tabpanel":void 0},C)}))}),R_t=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],I_t=function(t,n){var r=n.prefixCls,i=n.accordion,o=n.collapsible,a=n.destroyInactivePanel,l=n.onItemClick,s=n.activeKey,u=n.openMotion,c=n.expandIcon;return t.map(function(f,h){var d=f.children,p=f.label,g=f.key,m=f.collapsible,v=f.onItemClick,y=f.destroyInactivePanel,b=an(f,R_t),C=String(g??h),x=m??o,S=y??a,w=function(P){x!=="disabled"&&(l(P),v==null||v(P))},O=!1;return i?O=s[0]===C:O=s.indexOf(C)>-1,Se.createElement(wze,Qe({},b,{prefixCls:r,key:C,panelKey:C,isActive:O,accordion:i,openMotion:u,expandIcon:c,header:p,collapsible:x,onItemClick:w,destroyInactivePanel:S}),d)})},N_t=function(t,n,r){if(!t)return null;var i=r.prefixCls,o=r.accordion,a=r.collapsible,l=r.destroyInactivePanel,s=r.onItemClick,u=r.activeKey,c=r.openMotion,f=r.expandIcon,h=t.key||String(n),d=t.props,p=d.header,g=d.headerClass,m=d.destroyInactivePanel,v=d.collapsible,y=d.onItemClick,b=!1;o?b=u[0]===h:b=u.indexOf(h)>-1;var C=v??a,x=function(O){C!=="disabled"&&(s(O),y==null||y(O))},S={key:h,panelKey:h,header:p,headerClass:g,isActive:b,prefixCls:i,destroyInactivePanel:m??l,openMotion:c,accordion:o,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:C};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(w){typeof S[w]>"u"&&delete S[w]}),Se.cloneElement(t,S))};function A_t(e,t,n){return Array.isArray(e)?I_t(e,n):Wo(t).map(function(r,i){return N_t(r,i,n)})}function k_t(e){var t=e;if(!Array.isArray(t)){var n=bn(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var j_t=Se.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,o=i===void 0?!1:i,a=e.style,l=e.accordion,s=e.className,u=e.children,c=e.collapsible,f=e.openMotion,h=e.expandIcon,d=e.activeKey,p=e.defaultActiveKey,g=e.onChange,m=e.items,v=Re(r,s),y=zn([],{value:d,onChange:function($){return g==null?void 0:g($)},defaultValue:p,postState:k_t}),b=Me(y,2),C=b[0],x=b[1],S=function($){return x(function(){if(l)return C[0]===$?[]:[$];var P=C.indexOf($),T=P>-1;return T?C.filter(function(R){return R!==$}):[].concat(vt(C),[$])})};Dr(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=A_t(m,u,{prefixCls:r,accordion:l,openMotion:f,expandIcon:h,collapsible:c,destroyInactivePanel:o,onItemClick:S,activeKey:C});return Se.createElement("div",{ref:t,className:v,style:a,role:l?"tablist":void 0},w)});const PB=Object.assign(j_t,{Panel:wze});var D_t=PB.Panel;const L_t=Object.freeze(Object.defineProperty({__proto__:null,Panel:D_t,default:PB},Symbol.toStringTag,{value:"Module"})),z_t=_.forwardRef((e,t)=>{const{getPrefixCls:n}=_.useContext(on),{prefixCls:r,className:i,showArrow:o=!0}=e,a=n("collapse",r),l=Re({[`${a}-no-arrow`]:!o},i);return _.createElement(PB.Panel,Object.assign({ref:t},e,{prefixCls:a,className:l}))}),B_t=z_t,F_t=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:o,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:u,lineType:c,colorBorder:f,colorText:h,colorTextHeading:d,colorTextDisabled:p,fontSizeLG:g,lineHeight:m,lineHeightLG:v,marginSM:y,paddingSM:b,paddingLG:C,paddingXS:x,motionDurationSlow:S,fontSizeIcon:w,contentPadding:O,fontHeight:$,fontHeightLG:P}=e,T=`${xe(u)} ${c} ${f}`;return{[t]:Object.assign(Object.assign({},sr(e)),{backgroundColor:i,border:T,borderBottom:0,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:T,"&:last-child":{[` + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function tie(e,t){const n=Wn(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[l_t(n)]}const Cze=vr("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[tie(n,e)]}),s_t=Se.createContext(null),Sze=s_t;var c_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,className:i,rootClassName:o,children:a,indeterminate:l=!1,style:s,onMouseEnter:u,onMouseLeave:c,skipGroup:f=!1,disabled:h}=e,d=c_t(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:p,direction:g,checkbox:m}=_.useContext(on),v=_.useContext(Sze),{isFormItemInput:y}=_.useContext(la),b=_.useContext(es),C=(n=(v==null?void 0:v.disabled)||h)!==null&&n!==void 0?n:b,x=_.useRef(d.value);_.useEffect(()=>{v==null||v.registerValue(d.value)},[]),_.useEffect(()=>{if(!f)return d.value!==x.current&&(v==null||v.cancelValue(x.current),v==null||v.registerValue(d.value),x.current=d.value),()=>v==null?void 0:v.cancelValue(d.value)},[d.value]);const S=p("checkbox",r),w=di(S),[O,$,P]=Cze(S,w),T=Object.assign({},d);v&&!f&&(T.onChange=function(){d.onChange&&d.onChange.apply(d,arguments),v.toggleOption&&v.toggleOption({label:a,value:d.value})},T.name=v.name,T.checked=v.value.includes(d.value));const R=Re(`${S}-wrapper`,{[`${S}-rtl`]:g==="rtl",[`${S}-wrapper-checked`]:T.checked,[`${S}-wrapper-disabled`]:C,[`${S}-wrapper-in-form-item`]:y},m==null?void 0:m.className,i,o,P,w,$),M=Re({[`${S}-indeterminate`]:l},Fz,$),A=l?"mixed":void 0;return O(_.createElement(x$,{component:"Checkbox",disabled:C},_.createElement("label",{className:R,style:Object.assign(Object.assign({},m==null?void 0:m.style),s),onMouseEnter:u,onMouseLeave:c},_.createElement(iD,Object.assign({"aria-checked":A},T,{prefixCls:S,className:M,disabled:C,ref:t})),a!==void 0&&_.createElement("span",null,a))))},d_t=_.forwardRef(u_t),xze=d_t;var f_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{defaultValue:n,children:r,options:i=[],prefixCls:o,className:a,rootClassName:l,style:s,onChange:u}=e,c=f_t(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:h}=_.useContext(on),[d,p]=_.useState(c.value||n||[]),[g,m]=_.useState([]);_.useEffect(()=>{"value"in c&&p(c.value||[])},[c.value]);const v=_.useMemo(()=>i.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),[i]),y=N=>{m(j=>j.filter(D=>D!==N))},b=N=>{m(j=>[].concat(vt(j),[N]))},C=N=>{const j=d.indexOf(N.value),D=vt(d);j===-1?D.push(N.value):D.splice(j,1),"value"in c||p(D),u==null||u(D.filter(L=>g.includes(L)).sort((L,B)=>{const k=v.findIndex(q=>q.value===L),z=v.findIndex(q=>q.value===B);return k-z}))},x=f("checkbox",o),S=`${x}-group`,w=di(x),[O,$,P]=Cze(x,w),T=bi(c,["value","disabled"]),R=i.length?v.map(N=>_.createElement(xze,{prefixCls:x,key:N.value.toString(),disabled:"disabled"in N?N.disabled:c.disabled,value:N.value,checked:d.includes(N.value),onChange:N.onChange,className:`${S}-item`,style:N.style,title:N.title,id:N.id,required:N.required},N.label)):r,M={toggleOption:C,value:d,disabled:c.disabled,name:c.name,registerValue:b,cancelValue:y},A=Re(S,{[`${S}-rtl`]:h==="rtl"},a,l,P,w,$);return O(_.createElement("div",Object.assign({className:A,style:s},T,{ref:t}),_.createElement(Sze.Provider,{value:M},R)))}),h_t=p_t,nie=xze;nie.Group=h_t;nie.__ANT_CHECKBOX=!0;const sD=nie,g_t=_.createContext({}),_ze=g_t,m_t=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},v_t=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},y_t=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:i}=e,o={};for(let a=i;a>=0;a--)a===0?(o[`${r}${t}-${a}`]={display:"none"},o[`${r}-push-${a}`]={insetInlineStart:"auto"},o[`${r}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${a}`]={marginInlineStart:0},o[`${r}${t}-order-${a}`]={order:0}):(o[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/i*100}%`,maxWidth:`${a/i*100}%`}],o[`${r}${t}-push-${a}`]={insetInlineStart:`${a/i*100}%`},o[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/i*100}%`},o[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/i*100}%`},o[`${r}${t}-order-${a}`]={order:a});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},mQ=(e,t)=>y_t(e,t),b_t=(e,t,n)=>({[`@media (min-width: ${xe(t)})`]:Object.assign({},mQ(e,n))}),C_t=()=>({}),S_t=()=>({}),x_t=vr("Grid",m_t,C_t),__t=vr("Grid",e=>{const t=Wn(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[v_t(t),mQ(t,""),mQ(t,"-xs"),Object.keys(n).map(r=>b_t(t,n[r],r)).reduce((r,i)=>Object.assign(Object.assign({},r),i),{})]},S_t);var w_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=_.useContext(on),{gutter:i,wrap:o}=_.useContext(_ze),{prefixCls:a,span:l,order:s,offset:u,push:c,pull:f,className:h,children:d,flex:p,style:g}=e,m=w_t(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),v=n("col",a),[y,b,C]=__t(v),x={};let S={};O_t.forEach($=>{let P={};const T=e[$];typeof T=="number"?P.span=T:typeof T=="object"&&(P=T||{}),delete m[$],S=Object.assign(Object.assign({},S),{[`${v}-${$}-${P.span}`]:P.span!==void 0,[`${v}-${$}-order-${P.order}`]:P.order||P.order===0,[`${v}-${$}-offset-${P.offset}`]:P.offset||P.offset===0,[`${v}-${$}-push-${P.push}`]:P.push||P.push===0,[`${v}-${$}-pull-${P.pull}`]:P.pull||P.pull===0,[`${v}-rtl`]:r==="rtl"}),P.flex&&(S[`${v}-${$}-flex`]=!0,x[`--${v}-${$}-flex`]=B1e(P.flex))});const w=Re(v,{[`${v}-${l}`]:l!==void 0,[`${v}-order-${s}`]:s,[`${v}-offset-${u}`]:u,[`${v}-push-${c}`]:c,[`${v}-pull-${f}`]:f},h,S,b,C),O={};if(i&&i[0]>0){const $=i[0]/2;O.paddingLeft=$,O.paddingRight=$}return p&&(O.flex=B1e(p),o===!1&&!O.minWidth&&(O.minWidth=0)),y(_.createElement("div",Object.assign({},m,{style:Object.assign(Object.assign(Object.assign({},O),g),x),className:w,ref:t}),d))}),Bv=E_t;var $_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{i()},[JSON.stringify(e),t]),n}const P_t=_.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:i,className:o,style:a,children:l,gutter:s=0,wrap:u}=e,c=$_t(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:h}=_.useContext(on),[d,p]=_.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,m]=_.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),v=F1e(i,g),y=F1e(r,g),b=_.useRef(s),C=uDe();_.useEffect(()=>{const D=C.subscribe(L=>{m(L);const B=b.current||0;(!Array.isArray(B)&&typeof B=="object"||Array.isArray(B)&&(typeof B[0]=="object"||typeof B[1]=="object"))&&p(L)});return()=>C.unsubscribe(D)},[]);const x=()=>{const D=[void 0,void 0];return(Array.isArray(s)?s:[s,void 0]).forEach((B,k)=>{if(typeof B=="object")for(let z=0;z0?P[0]/-2:void 0;M&&(R.marginLeft=M,R.marginRight=M),[,R.rowGap]=P;const[A,N]=P,j=_.useMemo(()=>({gutter:[A,N],wrap:u}),[A,N,u]);return w(_.createElement(_ze.Provider,{value:j},_.createElement("div",Object.assign({},c,{className:T,style:Object.assign(Object.assign({},R),a),ref:t}),l)))}),PB=P_t;var wze=Se.forwardRef(function(e,t){var n,r=e.prefixCls,i=e.forceRender,o=e.className,a=e.style,l=e.children,s=e.isActive,u=e.role,c=Se.useState(s||i),f=Me(c,2),h=f[0],d=f[1];return Se.useEffect(function(){(i||s)&&d(!0)},[i,s]),h?Se.createElement("div",{ref:t,className:Re("".concat(r,"-content"),(n={},ue(n,"".concat(r,"-content-active"),s),ue(n,"".concat(r,"-content-inactive"),!s),n),o),style:a,role:u},Se.createElement("div",{className:"".concat(r,"-content-box")},l)):null});wze.displayName="PanelContent";var T_t=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],Oze=Se.forwardRef(function(e,t){var n,r,i=e.showArrow,o=i===void 0?!0:i,a=e.headerClass,l=e.isActive,s=e.onItemClick,u=e.forceRender,c=e.className,f=e.prefixCls,h=e.collapsible,d=e.accordion,p=e.panelKey,g=e.extra,m=e.header,v=e.expandIcon,y=e.openMotion,b=e.destroyInactivePanel,C=e.children,x=an(e,T_t),S=h==="disabled",w=h==="header",O=h==="icon",$=g!=null&&typeof g!="boolean",P=function(){s==null||s(p)},T=function(D){(D.key==="Enter"||D.keyCode===ht.ENTER||D.which===ht.ENTER)&&P()},R=typeof v=="function"?v(e):Se.createElement("i",{className:"arrow"});R&&(R=Se.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(h)?P:void 0},R));var M=Re((n={},ue(n,"".concat(f,"-item"),!0),ue(n,"".concat(f,"-item-active"),l),ue(n,"".concat(f,"-item-disabled"),S),n),c),A=Re(a,(r={},ue(r,"".concat(f,"-header"),!0),ue(r,"".concat(f,"-header-collapsible-only"),w),ue(r,"".concat(f,"-icon-collapsible-only"),O),r)),N={className:A,"aria-expanded":l,"aria-disabled":S,onKeyDown:T};return!w&&!O&&(N.onClick=P,N.role=d?"tab":"button",N.tabIndex=S?-1:0),Se.createElement("div",Qe({},x,{ref:t,className:M}),Se.createElement("div",N,o&&R,Se.createElement("span",{className:"".concat(f,"-header-text"),onClick:h==="header"?P:void 0},m),$&&Se.createElement("div",{className:"".concat(f,"-extra")},g)),Se.createElement(aa,Qe({visible:l,leavedClassName:"".concat(f,"-content-hidden")},y,{forceRender:u,removeOnLeave:b}),function(j,D){var L=j.className,B=j.style;return Se.createElement(wze,{ref:D,prefixCls:f,className:L,style:B,isActive:l,forceRender:u,role:d?"tabpanel":void 0},C)}))}),M_t=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],R_t=function(t,n){var r=n.prefixCls,i=n.accordion,o=n.collapsible,a=n.destroyInactivePanel,l=n.onItemClick,s=n.activeKey,u=n.openMotion,c=n.expandIcon;return t.map(function(f,h){var d=f.children,p=f.label,g=f.key,m=f.collapsible,v=f.onItemClick,y=f.destroyInactivePanel,b=an(f,M_t),C=String(g??h),x=m??o,S=y??a,w=function(P){x!=="disabled"&&(l(P),v==null||v(P))},O=!1;return i?O=s[0]===C:O=s.indexOf(C)>-1,Se.createElement(Oze,Qe({},b,{prefixCls:r,key:C,panelKey:C,isActive:O,accordion:i,openMotion:u,expandIcon:c,header:p,collapsible:x,onItemClick:w,destroyInactivePanel:S}),d)})},I_t=function(t,n,r){if(!t)return null;var i=r.prefixCls,o=r.accordion,a=r.collapsible,l=r.destroyInactivePanel,s=r.onItemClick,u=r.activeKey,c=r.openMotion,f=r.expandIcon,h=t.key||String(n),d=t.props,p=d.header,g=d.headerClass,m=d.destroyInactivePanel,v=d.collapsible,y=d.onItemClick,b=!1;o?b=u[0]===h:b=u.indexOf(h)>-1;var C=v??a,x=function(O){C!=="disabled"&&(s(O),y==null||y(O))},S={key:h,panelKey:h,header:p,headerClass:g,isActive:b,prefixCls:i,destroyInactivePanel:m??l,openMotion:c,accordion:o,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:C};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(w){typeof S[w]>"u"&&delete S[w]}),Se.cloneElement(t,S))};function N_t(e,t,n){return Array.isArray(e)?R_t(e,n):Wo(t).map(function(r,i){return I_t(r,i,n)})}function A_t(e){var t=e;if(!Array.isArray(t)){var n=bn(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var k_t=Se.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,o=i===void 0?!1:i,a=e.style,l=e.accordion,s=e.className,u=e.children,c=e.collapsible,f=e.openMotion,h=e.expandIcon,d=e.activeKey,p=e.defaultActiveKey,g=e.onChange,m=e.items,v=Re(r,s),y=zn([],{value:d,onChange:function($){return g==null?void 0:g($)},defaultValue:p,postState:A_t}),b=Me(y,2),C=b[0],x=b[1],S=function($){return x(function(){if(l)return C[0]===$?[]:[$];var P=C.indexOf($),T=P>-1;return T?C.filter(function(R){return R!==$}):[].concat(vt(C),[$])})};Dr(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=N_t(m,u,{prefixCls:r,accordion:l,openMotion:f,expandIcon:h,collapsible:c,destroyInactivePanel:o,onItemClick:S,activeKey:C});return Se.createElement("div",{ref:t,className:v,style:a,role:l?"tablist":void 0},w)});const TB=Object.assign(k_t,{Panel:Oze});var j_t=TB.Panel;const D_t=Object.freeze(Object.defineProperty({__proto__:null,Panel:j_t,default:TB},Symbol.toStringTag,{value:"Module"})),L_t=_.forwardRef((e,t)=>{const{getPrefixCls:n}=_.useContext(on),{prefixCls:r,className:i,showArrow:o=!0}=e,a=n("collapse",r),l=Re({[`${a}-no-arrow`]:!o},i);return _.createElement(TB.Panel,Object.assign({ref:t},e,{prefixCls:a,className:l}))}),z_t=L_t,B_t=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:o,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:u,lineType:c,colorBorder:f,colorText:h,colorTextHeading:d,colorTextDisabled:p,fontSizeLG:g,lineHeight:m,lineHeightLG:v,marginSM:y,paddingSM:b,paddingLG:C,paddingXS:x,motionDurationSlow:S,fontSizeIcon:w,contentPadding:O,fontHeight:$,fontHeightLG:P}=e,T=`${xe(u)} ${c} ${f}`;return{[t]:Object.assign(Object.assign({},sr(e)),{backgroundColor:i,border:T,borderBottom:0,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:T,"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${xe(s)} ${xe(s)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:d,lineHeight:m,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},sC()),{fontSize:w,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:n,borderTop:T,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(b).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:b}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:v,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:P,marginInlineStart:e.calc(C).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:C}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${xe(s)} ${xe(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:p,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},H_t=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},W_t=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${xe(s)} ${xe(s)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:d,lineHeight:m,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:$,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},sC()),{fontSize:w,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:n,borderTop:T,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(b).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:b}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:v,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:P,marginInlineStart:e.calc(C).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:C}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${xe(s)} ${xe(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:p,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},F_t=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},H_t=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},q_t=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},V_t=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),U_t=vr("Collapse",e=>{const t=Wn(e,{collapseHeaderPaddingSM:`${xe(e.paddingXS)} ${xe(e.paddingSM)}`,collapseHeaderPaddingLG:`${xe(e.padding)} ${xe(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[F_t(t),W_t(t),q_t(t),H_t(t),O$(t)]},V_t),G_t=_.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=_.useContext(on),{prefixCls:o,className:a,rootClassName:l,style:s,bordered:u=!0,ghost:c,size:f,expandIconPosition:h="start",children:d,expandIcon:p}=e,g=Go(P=>{var T;return(T=f??P)!==null&&T!==void 0?T:"middle"}),m=n("collapse",o),v=n(),[y,b,C]=U_t(m),x=_.useMemo(()=>h==="left"?"start":h==="right"?"end":h,[h]),S=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const T=p?p(P):_.createElement(KE,{rotate:P.isActive?90:void 0});return Mo(T,()=>({className:Re(T.props.className,`${m}-arrow`)}))},w=Re(`${m}-icon-position-${x}`,{[`${m}-borderless`]:!u,[`${m}-rtl`]:r==="rtl",[`${m}-ghost`]:!!c,[`${m}-${g}`]:g!=="middle"},i==null?void 0:i.className,a,l,b,C),O=Object.assign(Object.assign({},l4(v)),{motionAppear:!1,leavedClassName:`${m}-content-hidden`}),$=_.useMemo(()=>d?Wo(d).map((P,T)=>{var R,M;if(!((R=P.props)===null||R===void 0)&&R.disabled){const A=(M=P.key)!==null&&M!==void 0?M:String(T),{disabled:N,collapsible:k}=P.props,D=Object.assign(Object.assign({},bi(P.props,["disabled"])),{key:A,collapsible:k??(N?"disabled":void 0)});return Mo(P,D)}return P}):null,[d]);return y(_.createElement(PB,Object.assign({ref:t,openMotion:O},bi(e,["rootClassName"]),{expandIcon:S,prefixCls:m,className:w,style:Object.assign(Object.assign({},i==null?void 0:i.style),s)}),$))}),K_t=Object.assign(G_t,{Panel:B_t}),X_t=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:o,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{borderBlockStart:`${xe(i)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${xe(i)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${xe(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${xe(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${xe(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${xe(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},Y_t=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Z_t=vr("Divider",e=>{const t=Wn(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[X_t(t)]},Y_t,{unitless:{orientationMargin:!0}});var Q_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n,divider:r}=_.useContext(on),{prefixCls:i,type:o="horizontal",orientation:a="center",orientationMargin:l,className:s,rootClassName:u,children:c,dashed:f,plain:h,style:d}=e,p=Q_t(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",i),[m,v,y]=Z_t(g),b=a.length>0?`-${a}`:a,C=!!c,x=a==="left"&&l!=null,S=a==="right"&&l!=null,w=Re(g,r==null?void 0:r.className,v,y,`${g}-${o}`,{[`${g}-with-text`]:C,[`${g}-with-text${b}`]:C,[`${g}-dashed`]:!!f,[`${g}-plain`]:!!h,[`${g}-rtl`]:n==="rtl",[`${g}-no-default-orientation-margin-left`]:x,[`${g}-no-default-orientation-margin-right`]:S},s,u),O=_.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),$=Object.assign(Object.assign({},x&&{marginLeft:O}),S&&{marginRight:O});return m(_.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),d)},p,{role:"separator"}),c&&o!=="vertical"&&_.createElement("span",{className:`${g}-inner-text`,style:$},c)))},ewt=J_t;var twt=["b"],nwt=["v"],bV=function(t){return Math.round(Number(t||0))},rwt=function(t){if(t&&bn(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=an(n,twt);return fe(fe({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},JE=function(e){ua(n,e);var t=ul(n);function n(r){return Yr(this,n),t.call(this,rwt(r))}return Zr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),o=bV(i.s*100),a=bV(i.b*100),l=bV(i.h),s=i.a,u="hsb(".concat(l,", ").concat(o,"%, ").concat(a,"%)"),c="hsba(".concat(l,", ").concat(o,"%, ").concat(a,"%, ").concat(s.toFixed(s===0?0:2),")");return s===1?u:c}},{key:"toHsb",value:function(){var i=this.toHsv();bn(this.originalInput)==="object"&&this.originalInput&&"h"in this.originalInput&&(i=this.originalInput);var o=i;o.v;var a=an(o,nwt);return fe(fe({},a),{},{b:i.v})}}]),n}(Gn),iwt="rc-color-picker",i0=function(t){return t instanceof JE?t:new JE(t)},owt=i0("#1677ff"),Oze=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,o=t.color,a=t.type,l=i.current.getBoundingClientRect(),s=l.width,u=l.height,c=r.current.getBoundingClientRect(),f=c.width,h=c.height,d=f/2,p=h/2,g=(n.x+d)/s,m=1-(n.y+p)/u,v=o.toHsb(),y=g,b=(n.x+d)/s*360;if(a)switch(a){case"hue":return i0(fe(fe({},v),{},{h:b<=0?0:b}));case"alpha":return i0(fe(fe({},v),{},{a:y<=0?0:y}))}return i0({h:v.h,s:g<=0?0:g,b:m>=1?1:m,a:v.a})},Eze=function(t,n,r,i){var o=t.current.getBoundingClientRect(),a=o.width,l=o.height,s=n.current.getBoundingClientRect(),u=s.width,c=s.height,f=u/2,h=c/2,d=r.toHsb();if(!(u===0&&c===0||u!==c)){if(i)switch(i){case"hue":return{x:d.h/360*a-f,y:-h/3};case"alpha":return{x:d.a/1*a-f,y:-h/3}}return{x:d.s*a-f,y:(1-d.b)*l-h}}},TB=function(t){var n=t.color,r=t.prefixCls,i=t.className,o=t.style,a=t.onClick,l="".concat(r,"-color-block");return Se.createElement("div",{className:Re(l,i),style:o,onClick:a},Se.createElement("div",{className:"".concat(l,"-inner"),style:{background:n}}))};function awt(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function $ze(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.direction,o=e.onDragChange,a=e.onDragChangeComplete,l=e.calculate,s=e.color,u=e.disabledDrag,c=_.useState(t||{x:0,y:0}),f=Me(c,2),h=f[0],d=f[1],p=_.useRef(null),g=_.useRef(null),m=_.useRef({flag:!1});_.useEffect(function(){if(m.current.flag===!1){var x=l==null?void 0:l(r);x&&d(x)}},[s,r]),_.useEffect(function(){return function(){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",g.current),p.current=null,g.current=null}},[]);var v=function(S){var w=awt(S),O=w.pageX,$=w.pageY,P=r.current.getBoundingClientRect(),T=P.x,R=P.y,M=P.width,A=P.height,N=n.current.getBoundingClientRect(),k=N.width,D=N.height,L=k/2,B=D/2,j=Math.max(0,Math.min(O-T,M))-L,z=Math.max(0,Math.min($-R,A))-B,V={x:j,y:i==="x"?h.y:z};if(k===0&&D===0||k!==D)return!1;d(V),o==null||o(V)},y=function(S){S.preventDefault(),v(S)},b=function(S){S.preventDefault(),m.current.flag=!1,document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",g.current),p.current=null,g.current=null,a==null||a()},C=function(S){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),!u&&(v(S),m.current.flag=!0,document.addEventListener("mousemove",y),document.addEventListener("mouseup",b),document.addEventListener("touchmove",y),document.addEventListener("touchend",b),p.current=y,g.current=b)};return[h,C]}var Pze=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,o=t.prefixCls;return Se.createElement("div",{className:Re("".concat(o,"-handler"),ue({},"".concat(o,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},Tze=function(t){var n=t.children,r=t.style,i=t.prefixCls;return Se.createElement("div",{className:"".concat(i,"-palette"),style:fe({position:"relative"},r)},n)},Mze=_.forwardRef(function(e,t){var n=e.children,r=e.offset;return Se.createElement("div",{ref:t,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)}),lwt=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,o=t.onChangeComplete,a=t.disabled,l=_.useRef(),s=_.useRef(),u=_.useRef(n),c=$ze({color:n,containerRef:l,targetRef:s,calculate:function(g){return Eze(g,s,n)},onDragChange:function(g){var m=Oze({offset:g,targetRef:s,containerRef:l,color:n});u.current=m,r(m)},onDragChangeComplete:function(){return o==null?void 0:o(u.current)},disabledDrag:a}),f=Me(c,2),h=f[0],d=f[1];return Se.createElement("div",{ref:l,className:"".concat(i,"-select"),onMouseDown:d,onTouchStart:d},Se.createElement(Tze,{prefixCls:i},Se.createElement(Mze,{offset:h,ref:s},Se.createElement(Pze,{color:n.toRgbString(),prefixCls:i})),Se.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},swt=function(t){var n=t.colors,r=t.children,i=t.direction,o=i===void 0?"to right":i,a=t.type,l=t.prefixCls,s=_.useMemo(function(){return n.map(function(u,c){var f=i0(u);return a==="alpha"&&c===n.length-1&&f.setAlpha(1),f.toRgbString()}).join(",")},[n,a]);return Se.createElement("div",{className:"".concat(l,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(o,", ").concat(s,")")}},r)},F1e=function(t){var n=t.gradientColors,r=t.direction,i=t.type,o=i===void 0?"hue":i,a=t.color,l=t.value,s=t.onChange,u=t.onChangeComplete,c=t.disabled,f=t.prefixCls,h=_.useRef(),d=_.useRef(),p=_.useRef(a),g=$ze({color:a,targetRef:d,containerRef:h,calculate:function(C){return Eze(C,d,a,o)},onDragChange:function(C){var x=Oze({offset:C,targetRef:d,containerRef:h,color:a,type:o});p.current=x,s(x)},onDragChangeComplete:function(){u==null||u(p.current,o)},direction:"x",disabledDrag:c}),m=Me(g,2),v=m[0],y=m[1];return Se.createElement("div",{ref:h,className:Re("".concat(f,"-slider"),"".concat(f,"-slider-").concat(o)),onMouseDown:y,onTouchStart:y},Se.createElement(Tze,{prefixCls:f},Se.createElement(Mze,{offset:v,ref:d},Se.createElement(Pze,{size:"small",color:l,prefixCls:f})),Se.createElement(swt,{colors:n,direction:r,type:o,prefixCls:f})))};function H1e(e){return e!==void 0}var cwt=function(t,n){var r=n.defaultValue,i=n.value,o=_.useState(function(){var u;return H1e(i)?u=i:H1e(r)?u=r:u=t,i0(u)}),a=Me(o,2),l=a[0],s=a[1];return _.useEffect(function(){i&&s(i0(i))},[i]),[l,s]},uwt=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];const Rze=_.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,o=i===void 0?iwt:i,a=e.onChange,l=e.onChangeComplete,s=e.className,u=e.style,c=e.panelRender,f=e.disabledAlpha,h=f===void 0?!1:f,d=e.disabled,p=d===void 0?!1:d,g=cwt(owt,{value:n,defaultValue:r}),m=Me(g,2),v=m[0],y=m[1],b=_.useMemo(function(){var O=i0(v.toRgbString());return O.setAlpha(1),O.toRgbString()},[v]),C=Re("".concat(o,"-panel"),s,ue({},"".concat(o,"-panel-disabled"),p)),x={prefixCls:o,onChangeComplete:l,disabled:p},S=function($,P){n||y($),a==null||a($,P)},w=Se.createElement(Se.Fragment,null,Se.createElement(lwt,Qe({color:v,onChange:S},x)),Se.createElement("div",{className:"".concat(o,"-slider-container")},Se.createElement("div",{className:Re("".concat(o,"-slider-group"),ue({},"".concat(o,"-slider-group-disabled-alpha"),h))},Se.createElement(F1e,Qe({gradientColors:uwt,color:v,value:"hsl(".concat(v.toHsb().h,",100%, 50%)"),onChange:function($){return S($,"hue")}},x)),!h&&Se.createElement(F1e,Qe({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",b],color:v,value:v.toRgbString(),onChange:function($){return S($,"alpha")}},x))),Se.createElement(TB,{color:v.toRgbString(),prefixCls:o})));return Se.createElement("div",{className:C,style:u,ref:t},typeof c=="function"?c(w):w)}),dwt=Object.freeze(Object.defineProperty({__proto__:null,Color:JE,ColorBlock:TB,default:Rze},Symbol.toStringTag,{value:"Module"})),Ize=Se.createContext({}),Nze=Se.createContext({}),{Provider:fwt}=Ize,{Provider:pwt}=Nze,$k=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",hwt=(e,t)=>e?$k(e,t):"";let W1e=function(){function e(t){Yr(this,e),this.metaColor=new JE(t),t||this.metaColor.setAlpha(0)}return Zr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return hwt(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),e}();const $l=e=>e instanceof W1e?e:new W1e(e),Pk=e=>Math.round(Number(e||0)),sD=e=>Pk(e.toHsb().a*100),CV=(e,t)=>{const n=e.toHsb();return n.a=t||1,$l(n)},gwt=e=>{let{prefixCls:t,value:n,colorCleared:r,onChange:i}=e;const o=()=>{if(n&&!r){const a=n.toHsb();a.a=0;const l=$l(a);i==null||i(l)}};return Se.createElement("div",{className:`${t}-clear`,onClick:o})},Aze=gwt;var Xp;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(Xp||(Xp={}));var mwt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const vwt=mwt;var ywt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:vwt}))};const bwt=_.forwardRef(ywt);function mQ(){return typeof BigInt=="function"}function kze(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Fv(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";o==="0"&&a==="0"&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(l).concat(r)}}function nie(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Ov(e){var t=String(e);if(nie(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&rie(t)?t.length-t.indexOf(".")-1:0}function MB(e){var t=String(e);if(nie(e)){if(e>Number.MAX_SAFE_INTEGER)return String(mQ()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Fv("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),Swt=function(){function e(t){if(Yr(this,e),ue(this,"origin",""),ue(this,"number",void 0),ue(this,"empty",void 0),kze(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Zr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var i=this.number+r;if(i>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(iNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(i0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":MB(this.number):this.origin}}]),e}();function td(e){return mQ()?new Cwt(e):new Swt(e)}function Tk(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var i=Fv(e),o=i.negativeStr,a=i.integerStr,l=i.decimalStr,s="".concat(t).concat(l),u="".concat(o).concat(a);if(n>=0){var c=Number(l[n]);if(c>=5&&!r){var f=td(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-c));return Tk(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return s===".0"?u:"".concat(u).concat(s)}function xwt(e){return!!(e.addonBefore||e.addonAfter)}function _wt(e){return!!(e.prefix||e.suffix||e.allowClear)}function cD(e,t,n,r){if(n){var i=t;if(t.type==="click"){var o=e.cloneNode(!0);i=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",n(i);return}if(e.type!=="file"&&r!==void 0){var a=e.cloneNode(!0);i=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value=r,n(i);return}n(i)}}function jze(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var i=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(i,i);break;default:e.setSelectionRange(0,i)}}}}var A$=function(t){var n,r,i=t.inputElement,o=t.children,a=t.prefixCls,l=t.prefix,s=t.suffix,u=t.addonBefore,c=t.addonAfter,f=t.className,h=t.style,d=t.disabled,p=t.readOnly,g=t.focused,m=t.triggerFocus,v=t.allowClear,y=t.value,b=t.handleReset,C=t.hidden,x=t.classes,S=t.classNames,w=t.dataAttrs,O=t.styles,$=t.components,P=o??i,T=($==null?void 0:$.affixWrapper)||"span",R=($==null?void 0:$.groupWrapper)||"span",M=($==null?void 0:$.wrapper)||"span",A=($==null?void 0:$.groupAddon)||"span",N=_.useRef(null),k=function(re){var oe;(oe=N.current)!==null&&oe!==void 0&&oe.contains(re.target)&&(m==null||m())},D=_wt(t),L=_.cloneElement(P,{value:y,className:Re(P.props.className,!D&&(S==null?void 0:S.variant))||null});if(D){var B,j=null;if(v){var z,V=!d&&!p&&y,W="".concat(a,"-clear-icon"),U=bn(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";j=Se.createElement("span",{onClick:b,onMouseDown:function(re){return re.preventDefault()},className:Re(W,(z={},ue(z,"".concat(W,"-hidden"),!V),ue(z,"".concat(W,"-has-suffix"),!!s),z)),role:"button",tabIndex:-1},U)}var K="".concat(a,"-affix-wrapper"),X=Re(K,(B={},ue(B,"".concat(a,"-disabled"),d),ue(B,"".concat(K,"-disabled"),d),ue(B,"".concat(K,"-focused"),g),ue(B,"".concat(K,"-readonly"),p),ue(B,"".concat(K,"-input-with-clear-btn"),s&&v&&y),B),x==null?void 0:x.affixWrapper,S==null?void 0:S.affixWrapper,S==null?void 0:S.variant),G=(s||v)&&Se.createElement("span",{className:Re("".concat(a,"-suffix"),S==null?void 0:S.suffix),style:O==null?void 0:O.suffix},j,s);L=Se.createElement(T,Qe({className:X,style:O==null?void 0:O.affixWrapper,onClick:k},w==null?void 0:w.affixWrapper,{ref:N}),l&&Se.createElement("span",{className:Re("".concat(a,"-prefix"),S==null?void 0:S.prefix),style:O==null?void 0:O.prefix},l),L,G)}if(xwt(t)){var Y="".concat(a,"-group"),J="".concat(Y,"-addon"),ee="".concat(Y,"-wrapper"),Q=Re("".concat(a,"-wrapper"),Y,x==null?void 0:x.wrapper,S==null?void 0:S.wrapper),te=Re(ee,ue({},"".concat(ee,"-disabled"),d),x==null?void 0:x.group,S==null?void 0:S.groupWrapper);L=Se.createElement(R,{className:te},Se.createElement(M,{className:Q},u&&Se.createElement(A,{className:J},u),L,c&&Se.createElement(A,{className:J},c)))}return Se.cloneElement(L,{className:Re((n=L.props)===null||n===void 0?void 0:n.className,f)||null,style:fe(fe({},(r=L.props)===null||r===void 0?void 0:r.style),h),hidden:C})},wwt=["show"];function Dze(e,t){return _.useMemo(function(){var n={};t&&(n.show=bn(t)==="object"&&t.formatter?t.formatter:!!t),n=fe(fe({},n),e);var r=n,i=r.show,o=an(r,wwt);return fe(fe({},o),{},{show:!!i,showFormatter:typeof i=="function"?i:void 0,strategy:o.strategy||function(a){return a.length}})},[e,t])}var Owt=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Lze=_.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,i=e.onFocus,o=e.onBlur,a=e.onPressEnter,l=e.onKeyDown,s=e.prefixCls,u=s===void 0?"rc-input":s,c=e.disabled,f=e.htmlSize,h=e.className,d=e.maxLength,p=e.suffix,g=e.showCount,m=e.count,v=e.type,y=v===void 0?"text":v,b=e.classes,C=e.classNames,x=e.styles,S=e.onCompositionStart,w=e.onCompositionEnd,O=an(e,Owt),$=_.useState(!1),P=Me($,2),T=P[0],R=P[1],M=_.useRef(!1),A=_.useRef(null),N=function(le){A.current&&jze(A.current,le)},k=zn(e.defaultValue,{value:e.value}),D=Me(k,2),L=D[0],B=D[1],j=L==null?"":String(L),z=_.useState(null),V=Me(z,2),W=V[0],U=V[1],K=Dze(m,g),X=K.max||d,G=K.strategy(j),Y=!!X&&G>X;_.useImperativeHandle(t,function(){return{focus:N,blur:function(){var le;(le=A.current)===null||le===void 0||le.blur()},setSelectionRange:function(le,ve,ke){var Ie;(Ie=A.current)===null||Ie===void 0||Ie.setSelectionRange(le,ve,ke)},select:function(){var le;(le=A.current)===null||le===void 0||le.select()},input:A.current}}),_.useEffect(function(){R(function(he){return he&&c?!1:he})},[c]);var J=function(le,ve,ke){var Ie=ve;if(!M.current&&K.exceedFormatter&&K.max&&K.strategy(ve)>K.max){if(Ie=K.exceedFormatter(ve,{max:K.max}),ve!==Ie){var Oe,Pe;U([((Oe=A.current)===null||Oe===void 0?void 0:Oe.selectionStart)||0,((Pe=A.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(ke.source==="compositionEnd")return;B(Ie),A.current&&cD(A.current,le,r,Ie)};_.useEffect(function(){if(W){var he;(he=A.current)===null||he===void 0||he.setSelectionRange.apply(he,vt(W))}},[W]);var ee=function(le){J(le,le.target.value,{source:"change"})},Q=function(le){M.current=!1,J(le,le.currentTarget.value,{source:"compositionEnd"}),w==null||w(le)},te=function(le){a&&le.key==="Enter"&&a(le),l==null||l(le)},ne=function(le){R(!0),i==null||i(le)},re=function(le){R(!1),o==null||o(le)},oe=function(le){B(""),N(),A.current&&cD(A.current,le,r)},se=Y&&"".concat(u,"-out-of-range"),ye=function(){var le=bi(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return Se.createElement("input",Qe({autoComplete:n},le,{onChange:ee,onFocus:ne,onBlur:re,onKeyDown:te,className:Re(u,ue({},"".concat(u,"-disabled"),c),C==null?void 0:C.input),style:x==null?void 0:x.input,ref:A,size:f,type:y,onCompositionStart:function(ke){M.current=!0,S==null||S(ke)},onCompositionEnd:Q}))},be=function(){var le=Number(X)>0;if(p||K.show){var ve=K.showFormatter?K.showFormatter({value:j,count:G,maxLength:X}):"".concat(G).concat(le?" / ".concat(X):"");return Se.createElement(Se.Fragment,null,K.show&&Se.createElement("span",{className:Re("".concat(u,"-show-count-suffix"),ue({},"".concat(u,"-show-count-has-suffix"),!!p),C==null?void 0:C.count),style:fe({},x==null?void 0:x.count)},ve),p)}return null};return Se.createElement(A$,Qe({},O,{prefixCls:u,className:Re(h,se),handleReset:oe,value:j,focused:T,triggerFocus:N,suffix:be(),disabled:c,classes:b,classNames:C,styles:x}),ye())});const Ewt=Object.freeze(Object.defineProperty({__proto__:null,BaseInput:A$,default:Lze},Symbol.toStringTag,{value:"Module"}));function $wt(e,t){var n=_.useRef(null);function r(){try{var o=e.selectionStart,a=e.selectionEnd,l=e.value,s=l.substring(0,o),u=l.substring(a);n.current={start:o,end:a,value:l,beforeTxt:s,afterTxt:u}}catch{}}function i(){if(e&&n.current&&t)try{var o=e.value,a=n.current,l=a.beforeTxt,s=a.afterTxt,u=a.start,c=o.length;if(o.endsWith(s))c=o.length-n.current.afterTxt.length;else if(o.startsWith(l))c=l.length;else{var f=l[u-1],h=o.indexOf(f,u-1);h!==-1&&(c=h+1)}e.setSelectionRange(c,c)}catch(d){Dr(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(d.message))}}return[r,i]}var Pwt=function(){var t=_.useState(!1),n=Me(t,2),r=n[0],i=n[1];return er(function(){i(Yz())},[]),r},Twt=200,Mwt=600;function Rwt(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,o=e.downDisabled,a=e.onStep,l=_.useRef(),s=_.useRef([]),u=_.useRef();u.current=a;var c=function(){clearTimeout(l.current)},f=function(b,C){b.preventDefault(),c(),u.current(C);function x(){u.current(C),l.current=setTimeout(x,Twt)}l.current=setTimeout(x,Mwt)};_.useEffect(function(){return function(){c(),s.current.forEach(function(y){return rr.cancel(y)})}},[]);var h=Pwt();if(h)return null;var d="".concat(t,"-handler"),p=Re(d,"".concat(d,"-up"),ue({},"".concat(d,"-up-disabled"),i)),g=Re(d,"".concat(d,"-down"),ue({},"".concat(d,"-down-disabled"),o)),m=function(){return s.current.push(rr(c))},v={unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m};return _.createElement("div",{className:"".concat(d,"-wrap")},_.createElement("span",Qe({},v,{onMouseDown:function(b){f(b,!0)},"aria-label":"Increase Value","aria-disabled":i,className:p}),n||_.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),_.createElement("span",Qe({},v,{onMouseDown:function(b){f(b,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:g}),r||_.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function q1e(e){var t=typeof e=="number"?MB(e):Fv(e).fullStr,n=t.includes(".");return n?Fv(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const Iwt=function(){var e=_.useRef(0),t=function(){rr.cancel(e.current)};return _.useEffect(function(){return t},[]),function(n){t(),e.current=rr(function(){n()})}};var Nwt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur"],Awt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],V1e=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},U1e=function(t){var n=td(t);return n.isInvalidate()?null:n},kwt=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-input-number":r,o=e.className,a=e.style,l=e.min,s=e.max,u=e.step,c=u===void 0?1:u,f=e.defaultValue,h=e.value,d=e.disabled,p=e.readOnly,g=e.upHandler,m=e.downHandler,v=e.keyboard,y=e.changeOnWheel,b=y===void 0?!1:y,C=e.controls,x=C===void 0?!0:C;e.classNames;var S=e.stringMode,w=e.parser,O=e.formatter,$=e.precision,P=e.decimalSeparator,T=e.onChange,R=e.onInput,M=e.onPressEnter,A=e.onStep,N=e.changeOnBlur,k=N===void 0?!0:N,D=an(e,Nwt),L="".concat(i,"-input"),B=_.useRef(null),j=_.useState(!1),z=Me(j,2),V=z[0],W=z[1],U=_.useRef(!1),K=_.useRef(!1),X=_.useRef(!1),G=_.useState(function(){return td(h??f)}),Y=Me(G,2),J=Y[0],ee=Y[1];function Q(we){h===void 0&&ee(we)}var te=_.useCallback(function(we,De){if(!De)return $>=0?$:Math.max(Ov(we),Ov(c))},[$,c]),ne=_.useCallback(function(we){var De=String(we);if(w)return w(De);var We=De;return P&&(We=We.replace(P,".")),We.replace(/[^\w.-]+/g,"")},[w,P]),re=_.useRef(""),oe=_.useCallback(function(we,De){if(O)return O(we,{userTyping:De,input:String(re.current)});var We=typeof we=="number"?MB(we):we;if(!De){var Ge=te(We,De);if(rie(We)&&(P||Ge>=0)){var Je=P||".";We=Tk(We,Je,Ge)}}return We},[O,te,P]),se=_.useState(function(){var we=f??h;return J.isInvalidate()&&["string","number"].includes(bn(we))?Number.isNaN(we)?"":we:oe(J.toString(),!1)}),ye=Me(se,2),be=ye[0],he=ye[1];re.current=be;function le(we,De){he(oe(we.isInvalidate()?we.toString(!1):we.toString(!De),De))}var ve=_.useMemo(function(){return U1e(s)},[s,$]),ke=_.useMemo(function(){return U1e(l)},[l,$]),Ie=_.useMemo(function(){return!ve||!J||J.isInvalidate()?!1:ve.lessEquals(J)},[ve,J]),Oe=_.useMemo(function(){return!ke||!J||J.isInvalidate()?!1:J.lessEquals(ke)},[ke,J]),Pe=$wt(B.current,V),_e=Me(Pe,2),ce=_e[0],Te=_e[1],Ne=function(De){return ve&&!De.lessEquals(ve)?ve:ke&&!ke.lessEquals(De)?ke:null},je=function(De){return!Ne(De)},He=function(De,We){var Ge=De,Je=je(Ge)||Ge.isEmpty();if(!Ge.isEmpty()&&!We&&(Ge=Ne(Ge)||Ge,Je=!0),!p&&!d&&Je){var bt=Ge.toString(),at=te(bt,We);return at>=0&&(Ge=td(Tk(bt,".",at)),je(Ge)||(Ge=td(Tk(bt,".",at,!0)))),Ge.equals(J)||(Q(Ge),T==null||T(Ge.isEmpty()?null:V1e(S,Ge)),h===void 0&&le(Ge,We)),Ge}return J},Be=Iwt(),qe=function we(De){if(ce(),re.current=De,he(De),!K.current){var We=ne(De),Ge=td(We);Ge.isNaN()||He(Ge,!0)}R==null||R(De),Be(function(){var Je=De;w||(Je=De.replace(/。/g,".")),Je!==De&&we(Je)})},me=function(){K.current=!0},Ee=function(){K.current=!1,qe(B.current.value)},$e=function(De){qe(De.target.value)},Le=function(De){var We;if(!(De&&Ie||!De&&Oe)){U.current=!1;var Ge=td(X.current?q1e(c):c);De||(Ge=Ge.negate());var Je=(J||td(0)).add(Ge.toString()),bt=He(Je,!1);A==null||A(V1e(S,bt),{offset:X.current?q1e(c):c,type:De?"up":"down"}),(We=B.current)===null||We===void 0||We.focus()}},Fe=function(De){var We=td(ne(be)),Ge=We;We.isNaN()?Ge=He(J,De):Ge=He(We,De),h!==void 0?le(J,!1):Ge.isNaN()||le(Ge,!1)},Ke=function(){U.current=!0},lt=function(De){var We=De.key,Ge=De.shiftKey;U.current=!0,X.current=Ge,We==="Enter"&&(K.current||(U.current=!1),Fe(!1),M==null||M(De)),v!==!1&&!K.current&&["Up","ArrowUp","Down","ArrowDown"].includes(We)&&(Le(We==="Up"||We==="ArrowUp"),De.preventDefault())},ft=function(){U.current=!1,X.current=!1};_.useEffect(function(){if(b&&V){var we=function(Ge){Le(Ge.deltaY<0),Ge.preventDefault()},De=B.current;if(De)return De.addEventListener("wheel",we,{passive:!1}),function(){return De.removeEventListener("wheel",we)}}});var Ye=function(){k&&Fe(!1),W(!1),U.current=!1};return jv(function(){J.isInvalidate()||le(J,!1)},[$,O]),jv(function(){var we=td(h);ee(we);var De=td(ne(be));(!we.equals(De)||!U.current||O)&&le(we,U.current)},[h]),jv(function(){O&&Te()},[be]),_.createElement("div",{className:Re(i,o,(n={},ue(n,"".concat(i,"-focused"),V),ue(n,"".concat(i,"-disabled"),d),ue(n,"".concat(i,"-readonly"),p),ue(n,"".concat(i,"-not-a-number"),J.isNaN()),ue(n,"".concat(i,"-out-of-range"),!J.isInvalidate()&&!je(J)),n)),style:a,onFocus:function(){W(!0)},onBlur:Ye,onKeyDown:lt,onKeyUp:ft,onCompositionStart:me,onCompositionEnd:Ee,onBeforeInput:Ke},x&&_.createElement(Rwt,{prefixCls:i,upNode:g,downNode:m,upDisabled:Ie,downDisabled:Oe,onStep:Le}),_.createElement("div",{className:"".concat(L,"-wrap")},_.createElement("input",Qe({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":s,"aria-valuenow":J.isInvalidate()?null:J.toString(),step:c},D,{ref:cl(B,t),className:L,value:be,onChange:$e,disabled:d,readOnly:p}))))}),iie=_.forwardRef(function(e,t){var n=e.disabled,r=e.style,i=e.prefixCls,o=e.value,a=e.prefix,l=e.suffix,s=e.addonBefore,u=e.addonAfter,c=e.className,f=e.classNames,h=an(e,Awt),d=_.useRef(null),p=function(m){d.current&&jze(d.current,m)};return _.createElement(A$,{className:c,triggerFocus:p,prefixCls:i,value:o,disabled:n,style:r,prefix:a,suffix:l,addonAfter:u,addonBefore:s,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}},_.createElement(kwt,Qe({prefixCls:i,disabled:n,ref:cl(d,t),className:f==null?void 0:f.input},h)))});iie.displayName="InputNumber";const jwt=Object.freeze(Object.defineProperty({__proto__:null,default:iie},Symbol.toStringTag,{value:"Module"})),Dwt=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},CB(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Gn(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},G1e=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:i}=e;const o=t==="lg"?i:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},Lwt=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,fontSizeLG:o,controlHeightLG:a,controlHeightSM:l,colorError:s,paddingInlineSM:u,paddingBlockSM:c,paddingBlockLG:f,paddingInlineLG:h,colorTextDescription:d,motionDurationMid:p,handleHoverColor:g,paddingInline:m,paddingBlock:v,handleBg:y,handleActiveBg:b,colorTextDisabled:C,borderRadiusSM:x,borderRadiusLG:S,controlWidth:w,handleOpacity:O,handleBorderColor:$,filledHandleBg:P,lineHeightLG:T,calc:R}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),R$(e)),{display:"inline-block",width:w,margin:0,padding:0,borderRadius:i}),Wre(e,{[`${t}-handler-wrap`]:{background:y,[`${t}-handler-down`]:{borderBlockStart:`${xe(n)} ${r} ${$}`}}})),Vre(e,{[`${t}-handler-wrap`]:{background:P,[`${t}-handler-down`]:{borderBlockStart:`${xe(n)} ${r} ${$}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:y}}})),qre(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:T,borderRadius:S,[`input${t}-input`]:{height:R(a).sub(R(n).mul(2)).equal(),padding:`${xe(f)} ${xe(h)}`}},"&-sm":{padding:0,borderRadius:x,[`input${t}-input`]:{height:R(l).sub(R(n).mul(2)).equal(),padding:`${xe(c)} ${xe(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:s}}},"&-group":Object.assign(Object.assign(Object.assign({},sr(e)),jLe(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:S,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:x}}},ILe(e)),ALe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{width:"100%",padding:`${xe(v)} ${xe(m)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),Ure(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:O,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},W_t=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},q_t=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),V_t=vr("Collapse",e=>{const t=Wn(e,{collapseHeaderPaddingSM:`${xe(e.paddingXS)} ${xe(e.paddingSM)}`,collapseHeaderPaddingLG:`${xe(e.padding)} ${xe(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[B_t(t),H_t(t),W_t(t),F_t(t),E$(t)]},q_t),U_t=_.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=_.useContext(on),{prefixCls:o,className:a,rootClassName:l,style:s,bordered:u=!0,ghost:c,size:f,expandIconPosition:h="start",children:d,expandIcon:p}=e,g=Go(P=>{var T;return(T=f??P)!==null&&T!==void 0?T:"middle"}),m=n("collapse",o),v=n(),[y,b,C]=V_t(m),x=_.useMemo(()=>h==="left"?"start":h==="right"?"end":h,[h]),S=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const T=p?p(P):_.createElement(XE,{rotate:P.isActive?90:void 0});return Mo(T,()=>({className:Re(T.props.className,`${m}-arrow`)}))},w=Re(`${m}-icon-position-${x}`,{[`${m}-borderless`]:!u,[`${m}-rtl`]:r==="rtl",[`${m}-ghost`]:!!c,[`${m}-${g}`]:g!=="middle"},i==null?void 0:i.className,a,l,b,C),O=Object.assign(Object.assign({},l4(v)),{motionAppear:!1,leavedClassName:`${m}-content-hidden`}),$=_.useMemo(()=>d?Wo(d).map((P,T)=>{var R,M;if(!((R=P.props)===null||R===void 0)&&R.disabled){const A=(M=P.key)!==null&&M!==void 0?M:String(T),{disabled:N,collapsible:j}=P.props,D=Object.assign(Object.assign({},bi(P.props,["disabled"])),{key:A,collapsible:j??(N?"disabled":void 0)});return Mo(P,D)}return P}):null,[d]);return y(_.createElement(TB,Object.assign({ref:t,openMotion:O},bi(e,["rootClassName"]),{expandIcon:S,prefixCls:m,className:w,style:Object.assign(Object.assign({},i==null?void 0:i.style),s)}),$))}),G_t=Object.assign(U_t,{Panel:z_t}),K_t=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:o,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{borderBlockStart:`${xe(i)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${xe(i)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${xe(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${xe(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${xe(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${xe(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},X_t=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Y_t=vr("Divider",e=>{const t=Wn(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[K_t(t)]},X_t,{unitless:{orientationMargin:!0}});var Z_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n,divider:r}=_.useContext(on),{prefixCls:i,type:o="horizontal",orientation:a="center",orientationMargin:l,className:s,rootClassName:u,children:c,dashed:f,plain:h,style:d}=e,p=Z_t(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",i),[m,v,y]=Y_t(g),b=a.length>0?`-${a}`:a,C=!!c,x=a==="left"&&l!=null,S=a==="right"&&l!=null,w=Re(g,r==null?void 0:r.className,v,y,`${g}-${o}`,{[`${g}-with-text`]:C,[`${g}-with-text${b}`]:C,[`${g}-dashed`]:!!f,[`${g}-plain`]:!!h,[`${g}-rtl`]:n==="rtl",[`${g}-no-default-orientation-margin-left`]:x,[`${g}-no-default-orientation-margin-right`]:S},s,u),O=_.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),$=Object.assign(Object.assign({},x&&{marginLeft:O}),S&&{marginRight:O});return m(_.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),d)},p,{role:"separator"}),c&&o!=="vertical"&&_.createElement("span",{className:`${g}-inner-text`,style:$},c)))},J_t=Q_t;var ewt=["b"],twt=["v"],CV=function(t){return Math.round(Number(t||0))},nwt=function(t){if(t&&bn(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=an(n,ewt);return fe(fe({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},e7=function(e){ua(n,e);var t=ul(n);function n(r){return Yr(this,n),t.call(this,nwt(r))}return Zr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),o=CV(i.s*100),a=CV(i.b*100),l=CV(i.h),s=i.a,u="hsb(".concat(l,", ").concat(o,"%, ").concat(a,"%)"),c="hsba(".concat(l,", ").concat(o,"%, ").concat(a,"%, ").concat(s.toFixed(s===0?0:2),")");return s===1?u:c}},{key:"toHsb",value:function(){var i=this.toHsv();bn(this.originalInput)==="object"&&this.originalInput&&"h"in this.originalInput&&(i=this.originalInput);var o=i;o.v;var a=an(o,twt);return fe(fe({},a),{},{b:i.v})}}]),n}(Gn),rwt="rc-color-picker",i0=function(t){return t instanceof e7?t:new e7(t)},iwt=i0("#1677ff"),Eze=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,o=t.color,a=t.type,l=i.current.getBoundingClientRect(),s=l.width,u=l.height,c=r.current.getBoundingClientRect(),f=c.width,h=c.height,d=f/2,p=h/2,g=(n.x+d)/s,m=1-(n.y+p)/u,v=o.toHsb(),y=g,b=(n.x+d)/s*360;if(a)switch(a){case"hue":return i0(fe(fe({},v),{},{h:b<=0?0:b}));case"alpha":return i0(fe(fe({},v),{},{a:y<=0?0:y}))}return i0({h:v.h,s:g<=0?0:g,b:m>=1?1:m,a:v.a})},$ze=function(t,n,r,i){var o=t.current.getBoundingClientRect(),a=o.width,l=o.height,s=n.current.getBoundingClientRect(),u=s.width,c=s.height,f=u/2,h=c/2,d=r.toHsb();if(!(u===0&&c===0||u!==c)){if(i)switch(i){case"hue":return{x:d.h/360*a-f,y:-h/3};case"alpha":return{x:d.a/1*a-f,y:-h/3}}return{x:d.s*a-f,y:(1-d.b)*l-h}}},MB=function(t){var n=t.color,r=t.prefixCls,i=t.className,o=t.style,a=t.onClick,l="".concat(r,"-color-block");return Se.createElement("div",{className:Re(l,i),style:o,onClick:a},Se.createElement("div",{className:"".concat(l,"-inner"),style:{background:n}}))};function owt(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function Pze(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.direction,o=e.onDragChange,a=e.onDragChangeComplete,l=e.calculate,s=e.color,u=e.disabledDrag,c=_.useState(t||{x:0,y:0}),f=Me(c,2),h=f[0],d=f[1],p=_.useRef(null),g=_.useRef(null),m=_.useRef({flag:!1});_.useEffect(function(){if(m.current.flag===!1){var x=l==null?void 0:l(r);x&&d(x)}},[s,r]),_.useEffect(function(){return function(){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",g.current),p.current=null,g.current=null}},[]);var v=function(S){var w=owt(S),O=w.pageX,$=w.pageY,P=r.current.getBoundingClientRect(),T=P.x,R=P.y,M=P.width,A=P.height,N=n.current.getBoundingClientRect(),j=N.width,D=N.height,L=j/2,B=D/2,k=Math.max(0,Math.min(O-T,M))-L,z=Math.max(0,Math.min($-R,A))-B,q={x:k,y:i==="x"?h.y:z};if(j===0&&D===0||j!==D)return!1;d(q),o==null||o(q)},y=function(S){S.preventDefault(),v(S)},b=function(S){S.preventDefault(),m.current.flag=!1,document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",g.current),p.current=null,g.current=null,a==null||a()},C=function(S){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",g.current),!u&&(v(S),m.current.flag=!0,document.addEventListener("mousemove",y),document.addEventListener("mouseup",b),document.addEventListener("touchmove",y),document.addEventListener("touchend",b),p.current=y,g.current=b)};return[h,C]}var Tze=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,o=t.prefixCls;return Se.createElement("div",{className:Re("".concat(o,"-handler"),ue({},"".concat(o,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},Mze=function(t){var n=t.children,r=t.style,i=t.prefixCls;return Se.createElement("div",{className:"".concat(i,"-palette"),style:fe({position:"relative"},r)},n)},Rze=_.forwardRef(function(e,t){var n=e.children,r=e.offset;return Se.createElement("div",{ref:t,style:{position:"absolute",left:r.x,top:r.y,zIndex:1}},n)}),awt=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,o=t.onChangeComplete,a=t.disabled,l=_.useRef(),s=_.useRef(),u=_.useRef(n),c=Pze({color:n,containerRef:l,targetRef:s,calculate:function(g){return $ze(g,s,n)},onDragChange:function(g){var m=Eze({offset:g,targetRef:s,containerRef:l,color:n});u.current=m,r(m)},onDragChangeComplete:function(){return o==null?void 0:o(u.current)},disabledDrag:a}),f=Me(c,2),h=f[0],d=f[1];return Se.createElement("div",{ref:l,className:"".concat(i,"-select"),onMouseDown:d,onTouchStart:d},Se.createElement(Mze,{prefixCls:i},Se.createElement(Rze,{offset:h,ref:s},Se.createElement(Tze,{color:n.toRgbString(),prefixCls:i})),Se.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},lwt=function(t){var n=t.colors,r=t.children,i=t.direction,o=i===void 0?"to right":i,a=t.type,l=t.prefixCls,s=_.useMemo(function(){return n.map(function(u,c){var f=i0(u);return a==="alpha"&&c===n.length-1&&f.setAlpha(1),f.toRgbString()}).join(",")},[n,a]);return Se.createElement("div",{className:"".concat(l,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(o,", ").concat(s,")")}},r)},H1e=function(t){var n=t.gradientColors,r=t.direction,i=t.type,o=i===void 0?"hue":i,a=t.color,l=t.value,s=t.onChange,u=t.onChangeComplete,c=t.disabled,f=t.prefixCls,h=_.useRef(),d=_.useRef(),p=_.useRef(a),g=Pze({color:a,targetRef:d,containerRef:h,calculate:function(C){return $ze(C,d,a,o)},onDragChange:function(C){var x=Eze({offset:C,targetRef:d,containerRef:h,color:a,type:o});p.current=x,s(x)},onDragChangeComplete:function(){u==null||u(p.current,o)},direction:"x",disabledDrag:c}),m=Me(g,2),v=m[0],y=m[1];return Se.createElement("div",{ref:h,className:Re("".concat(f,"-slider"),"".concat(f,"-slider-").concat(o)),onMouseDown:y,onTouchStart:y},Se.createElement(Mze,{prefixCls:f},Se.createElement(Rze,{offset:v,ref:d},Se.createElement(Tze,{size:"small",color:l,prefixCls:f})),Se.createElement(lwt,{colors:n,direction:r,type:o,prefixCls:f})))};function W1e(e){return e!==void 0}var swt=function(t,n){var r=n.defaultValue,i=n.value,o=_.useState(function(){var u;return W1e(i)?u=i:W1e(r)?u=r:u=t,i0(u)}),a=Me(o,2),l=a[0],s=a[1];return _.useEffect(function(){i&&s(i0(i))},[i]),[l,s]},cwt=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];const Ize=_.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,o=i===void 0?rwt:i,a=e.onChange,l=e.onChangeComplete,s=e.className,u=e.style,c=e.panelRender,f=e.disabledAlpha,h=f===void 0?!1:f,d=e.disabled,p=d===void 0?!1:d,g=swt(iwt,{value:n,defaultValue:r}),m=Me(g,2),v=m[0],y=m[1],b=_.useMemo(function(){var O=i0(v.toRgbString());return O.setAlpha(1),O.toRgbString()},[v]),C=Re("".concat(o,"-panel"),s,ue({},"".concat(o,"-panel-disabled"),p)),x={prefixCls:o,onChangeComplete:l,disabled:p},S=function($,P){n||y($),a==null||a($,P)},w=Se.createElement(Se.Fragment,null,Se.createElement(awt,Qe({color:v,onChange:S},x)),Se.createElement("div",{className:"".concat(o,"-slider-container")},Se.createElement("div",{className:Re("".concat(o,"-slider-group"),ue({},"".concat(o,"-slider-group-disabled-alpha"),h))},Se.createElement(H1e,Qe({gradientColors:cwt,color:v,value:"hsl(".concat(v.toHsb().h,",100%, 50%)"),onChange:function($){return S($,"hue")}},x)),!h&&Se.createElement(H1e,Qe({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",b],color:v,value:v.toRgbString(),onChange:function($){return S($,"alpha")}},x))),Se.createElement(MB,{color:v.toRgbString(),prefixCls:o})));return Se.createElement("div",{className:C,style:u,ref:t},typeof c=="function"?c(w):w)}),uwt=Object.freeze(Object.defineProperty({__proto__:null,Color:e7,ColorBlock:MB,default:Ize},Symbol.toStringTag,{value:"Module"})),Nze=Se.createContext({}),Aze=Se.createContext({}),{Provider:dwt}=Nze,{Provider:fwt}=Aze,Pk=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",pwt=(e,t)=>e?Pk(e,t):"";let q1e=function(){function e(t){Yr(this,e),this.metaColor=new e7(t),t||this.metaColor.setAlpha(0)}return Zr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return pwt(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),e}();const $l=e=>e instanceof q1e?e:new q1e(e),Tk=e=>Math.round(Number(e||0)),cD=e=>Tk(e.toHsb().a*100),SV=(e,t)=>{const n=e.toHsb();return n.a=t||1,$l(n)},hwt=e=>{let{prefixCls:t,value:n,colorCleared:r,onChange:i}=e;const o=()=>{if(n&&!r){const a=n.toHsb();a.a=0;const l=$l(a);i==null||i(l)}};return Se.createElement("div",{className:`${t}-clear`,onClick:o})},kze=hwt;var Xp;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(Xp||(Xp={}));var gwt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const mwt=gwt;var vwt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:mwt}))};const ywt=_.forwardRef(vwt);function vQ(){return typeof BigInt=="function"}function jze(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Fv(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";o==="0"&&a==="0"&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(l).concat(r)}}function rie(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Ov(e){var t=String(e);if(rie(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&iie(t)?t.length-t.indexOf(".")-1:0}function RB(e){var t=String(e);if(rie(e)){if(e>Number.MAX_SAFE_INTEGER)return String(vQ()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Fv("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),Cwt=function(){function e(t){if(Yr(this,e),ue(this,"origin",""),ue(this,"number",void 0),ue(this,"empty",void 0),jze(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Zr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var i=this.number+r;if(i>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(iNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(i0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":RB(this.number):this.origin}}]),e}();function td(e){return vQ()?new bwt(e):new Cwt(e)}function Mk(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var i=Fv(e),o=i.negativeStr,a=i.integerStr,l=i.decimalStr,s="".concat(t).concat(l),u="".concat(o).concat(a);if(n>=0){var c=Number(l[n]);if(c>=5&&!r){var f=td(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-c));return Mk(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return s===".0"?u:"".concat(u).concat(s)}function Swt(e){return!!(e.addonBefore||e.addonAfter)}function xwt(e){return!!(e.prefix||e.suffix||e.allowClear)}function uD(e,t,n,r){if(n){var i=t;if(t.type==="click"){var o=e.cloneNode(!0);i=Object.create(t,{target:{value:o},currentTarget:{value:o}}),o.value="",n(i);return}if(e.type!=="file"&&r!==void 0){var a=e.cloneNode(!0);i=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value=r,n(i);return}n(i)}}function Dze(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var i=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(i,i);break;default:e.setSelectionRange(0,i)}}}}var k$=function(t){var n,r,i=t.inputElement,o=t.children,a=t.prefixCls,l=t.prefix,s=t.suffix,u=t.addonBefore,c=t.addonAfter,f=t.className,h=t.style,d=t.disabled,p=t.readOnly,g=t.focused,m=t.triggerFocus,v=t.allowClear,y=t.value,b=t.handleReset,C=t.hidden,x=t.classes,S=t.classNames,w=t.dataAttrs,O=t.styles,$=t.components,P=o??i,T=($==null?void 0:$.affixWrapper)||"span",R=($==null?void 0:$.groupWrapper)||"span",M=($==null?void 0:$.wrapper)||"span",A=($==null?void 0:$.groupAddon)||"span",N=_.useRef(null),j=function(re){var oe;(oe=N.current)!==null&&oe!==void 0&&oe.contains(re.target)&&(m==null||m())},D=xwt(t),L=_.cloneElement(P,{value:y,className:Re(P.props.className,!D&&(S==null?void 0:S.variant))||null});if(D){var B,k=null;if(v){var z,q=!d&&!p&&y,W="".concat(a,"-clear-icon"),U=bn(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";k=Se.createElement("span",{onClick:b,onMouseDown:function(re){return re.preventDefault()},className:Re(W,(z={},ue(z,"".concat(W,"-hidden"),!q),ue(z,"".concat(W,"-has-suffix"),!!s),z)),role:"button",tabIndex:-1},U)}var K="".concat(a,"-affix-wrapper"),X=Re(K,(B={},ue(B,"".concat(a,"-disabled"),d),ue(B,"".concat(K,"-disabled"),d),ue(B,"".concat(K,"-focused"),g),ue(B,"".concat(K,"-readonly"),p),ue(B,"".concat(K,"-input-with-clear-btn"),s&&v&&y),B),x==null?void 0:x.affixWrapper,S==null?void 0:S.affixWrapper,S==null?void 0:S.variant),G=(s||v)&&Se.createElement("span",{className:Re("".concat(a,"-suffix"),S==null?void 0:S.suffix),style:O==null?void 0:O.suffix},k,s);L=Se.createElement(T,Qe({className:X,style:O==null?void 0:O.affixWrapper,onClick:j},w==null?void 0:w.affixWrapper,{ref:N}),l&&Se.createElement("span",{className:Re("".concat(a,"-prefix"),S==null?void 0:S.prefix),style:O==null?void 0:O.prefix},l),L,G)}if(Swt(t)){var Y="".concat(a,"-group"),J="".concat(Y,"-addon"),ee="".concat(Y,"-wrapper"),Q=Re("".concat(a,"-wrapper"),Y,x==null?void 0:x.wrapper,S==null?void 0:S.wrapper),te=Re(ee,ue({},"".concat(ee,"-disabled"),d),x==null?void 0:x.group,S==null?void 0:S.groupWrapper);L=Se.createElement(R,{className:te},Se.createElement(M,{className:Q},u&&Se.createElement(A,{className:J},u),L,c&&Se.createElement(A,{className:J},c)))}return Se.cloneElement(L,{className:Re((n=L.props)===null||n===void 0?void 0:n.className,f)||null,style:fe(fe({},(r=L.props)===null||r===void 0?void 0:r.style),h),hidden:C})},_wt=["show"];function Lze(e,t){return _.useMemo(function(){var n={};t&&(n.show=bn(t)==="object"&&t.formatter?t.formatter:!!t),n=fe(fe({},n),e);var r=n,i=r.show,o=an(r,_wt);return fe(fe({},o),{},{show:!!i,showFormatter:typeof i=="function"?i:void 0,strategy:o.strategy||function(a){return a.length}})},[e,t])}var wwt=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],zze=_.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,i=e.onFocus,o=e.onBlur,a=e.onPressEnter,l=e.onKeyDown,s=e.prefixCls,u=s===void 0?"rc-input":s,c=e.disabled,f=e.htmlSize,h=e.className,d=e.maxLength,p=e.suffix,g=e.showCount,m=e.count,v=e.type,y=v===void 0?"text":v,b=e.classes,C=e.classNames,x=e.styles,S=e.onCompositionStart,w=e.onCompositionEnd,O=an(e,wwt),$=_.useState(!1),P=Me($,2),T=P[0],R=P[1],M=_.useRef(!1),A=_.useRef(null),N=function(le){A.current&&Dze(A.current,le)},j=zn(e.defaultValue,{value:e.value}),D=Me(j,2),L=D[0],B=D[1],k=L==null?"":String(L),z=_.useState(null),q=Me(z,2),W=q[0],U=q[1],K=Lze(m,g),X=K.max||d,G=K.strategy(k),Y=!!X&&G>X;_.useImperativeHandle(t,function(){return{focus:N,blur:function(){var le;(le=A.current)===null||le===void 0||le.blur()},setSelectionRange:function(le,ve,ke){var Ie;(Ie=A.current)===null||Ie===void 0||Ie.setSelectionRange(le,ve,ke)},select:function(){var le;(le=A.current)===null||le===void 0||le.select()},input:A.current}}),_.useEffect(function(){R(function(he){return he&&c?!1:he})},[c]);var J=function(le,ve,ke){var Ie=ve;if(!M.current&&K.exceedFormatter&&K.max&&K.strategy(ve)>K.max){if(Ie=K.exceedFormatter(ve,{max:K.max}),ve!==Ie){var Oe,Pe;U([((Oe=A.current)===null||Oe===void 0?void 0:Oe.selectionStart)||0,((Pe=A.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(ke.source==="compositionEnd")return;B(Ie),A.current&&uD(A.current,le,r,Ie)};_.useEffect(function(){if(W){var he;(he=A.current)===null||he===void 0||he.setSelectionRange.apply(he,vt(W))}},[W]);var ee=function(le){J(le,le.target.value,{source:"change"})},Q=function(le){M.current=!1,J(le,le.currentTarget.value,{source:"compositionEnd"}),w==null||w(le)},te=function(le){a&&le.key==="Enter"&&a(le),l==null||l(le)},ne=function(le){R(!0),i==null||i(le)},re=function(le){R(!1),o==null||o(le)},oe=function(le){B(""),N(),A.current&&uD(A.current,le,r)},se=Y&&"".concat(u,"-out-of-range"),ye=function(){var le=bi(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return Se.createElement("input",Qe({autoComplete:n},le,{onChange:ee,onFocus:ne,onBlur:re,onKeyDown:te,className:Re(u,ue({},"".concat(u,"-disabled"),c),C==null?void 0:C.input),style:x==null?void 0:x.input,ref:A,size:f,type:y,onCompositionStart:function(ke){M.current=!0,S==null||S(ke)},onCompositionEnd:Q}))},be=function(){var le=Number(X)>0;if(p||K.show){var ve=K.showFormatter?K.showFormatter({value:k,count:G,maxLength:X}):"".concat(G).concat(le?" / ".concat(X):"");return Se.createElement(Se.Fragment,null,K.show&&Se.createElement("span",{className:Re("".concat(u,"-show-count-suffix"),ue({},"".concat(u,"-show-count-has-suffix"),!!p),C==null?void 0:C.count),style:fe({},x==null?void 0:x.count)},ve),p)}return null};return Se.createElement(k$,Qe({},O,{prefixCls:u,className:Re(h,se),handleReset:oe,value:k,focused:T,triggerFocus:N,suffix:be(),disabled:c,classes:b,classNames:C,styles:x}),ye())});const Owt=Object.freeze(Object.defineProperty({__proto__:null,BaseInput:k$,default:zze},Symbol.toStringTag,{value:"Module"}));function Ewt(e,t){var n=_.useRef(null);function r(){try{var o=e.selectionStart,a=e.selectionEnd,l=e.value,s=l.substring(0,o),u=l.substring(a);n.current={start:o,end:a,value:l,beforeTxt:s,afterTxt:u}}catch{}}function i(){if(e&&n.current&&t)try{var o=e.value,a=n.current,l=a.beforeTxt,s=a.afterTxt,u=a.start,c=o.length;if(o.endsWith(s))c=o.length-n.current.afterTxt.length;else if(o.startsWith(l))c=l.length;else{var f=l[u-1],h=o.indexOf(f,u-1);h!==-1&&(c=h+1)}e.setSelectionRange(c,c)}catch(d){Dr(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(d.message))}}return[r,i]}var $wt=function(){var t=_.useState(!1),n=Me(t,2),r=n[0],i=n[1];return er(function(){i(Zz())},[]),r},Pwt=200,Twt=600;function Mwt(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,o=e.downDisabled,a=e.onStep,l=_.useRef(),s=_.useRef([]),u=_.useRef();u.current=a;var c=function(){clearTimeout(l.current)},f=function(b,C){b.preventDefault(),c(),u.current(C);function x(){u.current(C),l.current=setTimeout(x,Pwt)}l.current=setTimeout(x,Twt)};_.useEffect(function(){return function(){c(),s.current.forEach(function(y){return rr.cancel(y)})}},[]);var h=$wt();if(h)return null;var d="".concat(t,"-handler"),p=Re(d,"".concat(d,"-up"),ue({},"".concat(d,"-up-disabled"),i)),g=Re(d,"".concat(d,"-down"),ue({},"".concat(d,"-down-disabled"),o)),m=function(){return s.current.push(rr(c))},v={unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m};return _.createElement("div",{className:"".concat(d,"-wrap")},_.createElement("span",Qe({},v,{onMouseDown:function(b){f(b,!0)},"aria-label":"Increase Value","aria-disabled":i,className:p}),n||_.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),_.createElement("span",Qe({},v,{onMouseDown:function(b){f(b,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:g}),r||_.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function V1e(e){var t=typeof e=="number"?RB(e):Fv(e).fullStr,n=t.includes(".");return n?Fv(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const Rwt=function(){var e=_.useRef(0),t=function(){rr.cancel(e.current)};return _.useEffect(function(){return t},[]),function(n){t(),e.current=rr(function(){n()})}};var Iwt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur"],Nwt=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],U1e=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},G1e=function(t){var n=td(t);return n.isInvalidate()?null:n},Awt=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-input-number":r,o=e.className,a=e.style,l=e.min,s=e.max,u=e.step,c=u===void 0?1:u,f=e.defaultValue,h=e.value,d=e.disabled,p=e.readOnly,g=e.upHandler,m=e.downHandler,v=e.keyboard,y=e.changeOnWheel,b=y===void 0?!1:y,C=e.controls,x=C===void 0?!0:C;e.classNames;var S=e.stringMode,w=e.parser,O=e.formatter,$=e.precision,P=e.decimalSeparator,T=e.onChange,R=e.onInput,M=e.onPressEnter,A=e.onStep,N=e.changeOnBlur,j=N===void 0?!0:N,D=an(e,Iwt),L="".concat(i,"-input"),B=_.useRef(null),k=_.useState(!1),z=Me(k,2),q=z[0],W=z[1],U=_.useRef(!1),K=_.useRef(!1),X=_.useRef(!1),G=_.useState(function(){return td(h??f)}),Y=Me(G,2),J=Y[0],ee=Y[1];function Q(we){h===void 0&&ee(we)}var te=_.useCallback(function(we,De){if(!De)return $>=0?$:Math.max(Ov(we),Ov(c))},[$,c]),ne=_.useCallback(function(we){var De=String(we);if(w)return w(De);var We=De;return P&&(We=We.replace(P,".")),We.replace(/[^\w.-]+/g,"")},[w,P]),re=_.useRef(""),oe=_.useCallback(function(we,De){if(O)return O(we,{userTyping:De,input:String(re.current)});var We=typeof we=="number"?RB(we):we;if(!De){var Ge=te(We,De);if(iie(We)&&(P||Ge>=0)){var Je=P||".";We=Mk(We,Je,Ge)}}return We},[O,te,P]),se=_.useState(function(){var we=f??h;return J.isInvalidate()&&["string","number"].includes(bn(we))?Number.isNaN(we)?"":we:oe(J.toString(),!1)}),ye=Me(se,2),be=ye[0],he=ye[1];re.current=be;function le(we,De){he(oe(we.isInvalidate()?we.toString(!1):we.toString(!De),De))}var ve=_.useMemo(function(){return G1e(s)},[s,$]),ke=_.useMemo(function(){return G1e(l)},[l,$]),Ie=_.useMemo(function(){return!ve||!J||J.isInvalidate()?!1:ve.lessEquals(J)},[ve,J]),Oe=_.useMemo(function(){return!ke||!J||J.isInvalidate()?!1:J.lessEquals(ke)},[ke,J]),Pe=Ewt(B.current,q),_e=Me(Pe,2),ce=_e[0],Te=_e[1],Ne=function(De){return ve&&!De.lessEquals(ve)?ve:ke&&!ke.lessEquals(De)?ke:null},je=function(De){return!Ne(De)},He=function(De,We){var Ge=De,Je=je(Ge)||Ge.isEmpty();if(!Ge.isEmpty()&&!We&&(Ge=Ne(Ge)||Ge,Je=!0),!p&&!d&&Je){var bt=Ge.toString(),at=te(bt,We);return at>=0&&(Ge=td(Mk(bt,".",at)),je(Ge)||(Ge=td(Mk(bt,".",at,!0)))),Ge.equals(J)||(Q(Ge),T==null||T(Ge.isEmpty()?null:U1e(S,Ge)),h===void 0&&le(Ge,We)),Ge}return J},Be=Rwt(),qe=function we(De){if(ce(),re.current=De,he(De),!K.current){var We=ne(De),Ge=td(We);Ge.isNaN()||He(Ge,!0)}R==null||R(De),Be(function(){var Je=De;w||(Je=De.replace(/。/g,".")),Je!==De&&we(Je)})},me=function(){K.current=!0},Ee=function(){K.current=!1,qe(B.current.value)},$e=function(De){qe(De.target.value)},Le=function(De){var We;if(!(De&&Ie||!De&&Oe)){U.current=!1;var Ge=td(X.current?V1e(c):c);De||(Ge=Ge.negate());var Je=(J||td(0)).add(Ge.toString()),bt=He(Je,!1);A==null||A(U1e(S,bt),{offset:X.current?V1e(c):c,type:De?"up":"down"}),(We=B.current)===null||We===void 0||We.focus()}},Fe=function(De){var We=td(ne(be)),Ge=We;We.isNaN()?Ge=He(J,De):Ge=He(We,De),h!==void 0?le(J,!1):Ge.isNaN()||le(Ge,!1)},Ke=function(){U.current=!0},lt=function(De){var We=De.key,Ge=De.shiftKey;U.current=!0,X.current=Ge,We==="Enter"&&(K.current||(U.current=!1),Fe(!1),M==null||M(De)),v!==!1&&!K.current&&["Up","ArrowUp","Down","ArrowDown"].includes(We)&&(Le(We==="Up"||We==="ArrowUp"),De.preventDefault())},ft=function(){U.current=!1,X.current=!1};_.useEffect(function(){if(b&&q){var we=function(Ge){Le(Ge.deltaY<0),Ge.preventDefault()},De=B.current;if(De)return De.addEventListener("wheel",we,{passive:!1}),function(){return De.removeEventListener("wheel",we)}}});var Ye=function(){j&&Fe(!1),W(!1),U.current=!1};return jv(function(){J.isInvalidate()||le(J,!1)},[$,O]),jv(function(){var we=td(h);ee(we);var De=td(ne(be));(!we.equals(De)||!U.current||O)&&le(we,U.current)},[h]),jv(function(){O&&Te()},[be]),_.createElement("div",{className:Re(i,o,(n={},ue(n,"".concat(i,"-focused"),q),ue(n,"".concat(i,"-disabled"),d),ue(n,"".concat(i,"-readonly"),p),ue(n,"".concat(i,"-not-a-number"),J.isNaN()),ue(n,"".concat(i,"-out-of-range"),!J.isInvalidate()&&!je(J)),n)),style:a,onFocus:function(){W(!0)},onBlur:Ye,onKeyDown:lt,onKeyUp:ft,onCompositionStart:me,onCompositionEnd:Ee,onBeforeInput:Ke},x&&_.createElement(Mwt,{prefixCls:i,upNode:g,downNode:m,upDisabled:Ie,downDisabled:Oe,onStep:Le}),_.createElement("div",{className:"".concat(L,"-wrap")},_.createElement("input",Qe({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":s,"aria-valuenow":J.isInvalidate()?null:J.toString(),step:c},D,{ref:cl(B,t),className:L,value:be,onChange:$e,disabled:d,readOnly:p}))))}),oie=_.forwardRef(function(e,t){var n=e.disabled,r=e.style,i=e.prefixCls,o=e.value,a=e.prefix,l=e.suffix,s=e.addonBefore,u=e.addonAfter,c=e.className,f=e.classNames,h=an(e,Nwt),d=_.useRef(null),p=function(m){d.current&&Dze(d.current,m)};return _.createElement(k$,{className:c,triggerFocus:p,prefixCls:i,value:o,disabled:n,style:r,prefix:a,suffix:l,addonAfter:u,addonBefore:s,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}},_.createElement(Awt,Qe({prefixCls:i,disabled:n,ref:cl(d,t),className:f==null?void 0:f.input},h)))});oie.displayName="InputNumber";const kwt=Object.freeze(Object.defineProperty({__proto__:null,default:oie},Symbol.toStringTag,{value:"Module"})),jwt=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},SB(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Gn(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},K1e=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:i}=e;const o=t==="lg"?i:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},Dwt=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,fontSizeLG:o,controlHeightLG:a,controlHeightSM:l,colorError:s,paddingInlineSM:u,paddingBlockSM:c,paddingBlockLG:f,paddingInlineLG:h,colorTextDescription:d,motionDurationMid:p,handleHoverColor:g,paddingInline:m,paddingBlock:v,handleBg:y,handleActiveBg:b,colorTextDisabled:C,borderRadiusSM:x,borderRadiusLG:S,controlWidth:w,handleOpacity:O,handleBorderColor:$,filledHandleBg:P,lineHeightLG:T,calc:R}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),I$(e)),{display:"inline-block",width:w,margin:0,padding:0,borderRadius:i}),Vre(e,{[`${t}-handler-wrap`]:{background:y,[`${t}-handler-down`]:{borderBlockStart:`${xe(n)} ${r} ${$}`}}})),Gre(e,{[`${t}-handler-wrap`]:{background:P,[`${t}-handler-down`]:{borderBlockStart:`${xe(n)} ${r} ${$}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:y}}})),Ure(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:T,borderRadius:S,[`input${t}-input`]:{height:R(a).sub(R(n).mul(2)).equal(),padding:`${xe(f)} ${xe(h)}`}},"&-sm":{padding:0,borderRadius:x,[`input${t}-input`]:{height:R(l).sub(R(n).mul(2)).equal(),padding:`${xe(c)} ${xe(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:s}}},"&-group":Object.assign(Object.assign(Object.assign({},sr(e)),jLe(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:S,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:x}}},ILe(e)),ALe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{width:"100%",padding:`${xe(v)} ${xe(m)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),Kre(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:O,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${xe(n)} ${r} ${$}`,transition:`all ${p} linear`,"&:active":{background:b},"&:hover":{height:"60%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},sC()),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderEndEndRadius:i}},G1e(e,"lg")),G1e(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + `]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},sC()),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderEndEndRadius:i}},K1e(e,"lg")),K1e(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` ${t}-handler-up-disabled, ${t}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:C}})}]},zwt=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:i,controlWidth:o,borderRadiusLG:a,borderRadiusSM:l,paddingInlineLG:s,paddingInlineSM:u,paddingBlockLG:c,paddingBlockSM:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${xe(n)} 0`}},R$(e)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:s,[`input${t}-input`]:{padding:`${xe(c)} 0`}},"&-sm":{borderRadius:l,paddingInlineStart:u,[`input${t}-input`]:{padding:`${xe(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:i},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:i}}})}},Bwt=vr("InputNumber",e=>{const t=Wn(e,bB(e));return[Lwt(t),zwt(t),x$(t)]},Dwt,{unitless:{handleOpacity:!0}});var Fwt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=_.useContext(on),i=_.useRef(null);_.useImperativeHandle(t,()=>i.current);const{className:o,rootClassName:a,size:l,disabled:s,prefixCls:u,addonBefore:c,addonAfter:f,prefix:h,bordered:d,readOnly:p,status:g,controls:m,variant:v}=e,y=Fwt(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),b=n("input-number",u),C=di(b),[x,S,w]=Bwt(b,C),{compactSize:O,compactItemClassnames:$}=Ih(b,r);let P=_.createElement(bwt,{className:`${b}-handler-up-inner`}),T=_.createElement(oB,{className:`${b}-handler-down-inner`});const R=typeof m=="boolean"?m:void 0;typeof m=="object"&&(P=typeof m.upIcon>"u"?P:_.createElement("span",{className:`${b}-handler-up-inner`},m.upIcon),T=typeof m.downIcon>"u"?T:_.createElement("span",{className:`${b}-handler-down-inner`},m.downIcon));const{hasFeedback:M,status:A,isFormItemInput:N,feedbackIcon:k}=_.useContext(la),D=jy(A,g),L=Go(G=>{var Y;return(Y=l??O)!==null&&Y!==void 0?Y:G}),B=_.useContext(es),j=s??B,[z,V]=Dy(v,d),W=M&&_.createElement(_.Fragment,null,k),U=Re({[`${b}-lg`]:L==="large",[`${b}-sm`]:L==="small",[`${b}-rtl`]:r==="rtl",[`${b}-in-form-item`]:N},S),K=`${b}-group`,X=_.createElement(iie,Object.assign({ref:i,disabled:j,className:Re(w,C,o,a,$),upHandler:P,downHandler:T,prefixCls:b,readOnly:p,controls:R,prefix:h,suffix:W,addonAfter:f&&_.createElement(fh,null,_.createElement(c4,{override:!0,status:!0},f)),addonBefore:c&&_.createElement(fh,null,_.createElement(c4,{override:!0,status:!0},c)),classNames:{input:U,variant:Re({[`${b}-${z}`]:V},jf(b,D,M)),affixWrapper:Re({[`${b}-affix-wrapper-sm`]:L==="small",[`${b}-affix-wrapper-lg`]:L==="large",[`${b}-affix-wrapper-rtl`]:r==="rtl"},S),wrapper:Re({[`${K}-rtl`]:r==="rtl"},S),groupWrapper:Re({[`${b}-group-wrapper-sm`]:L==="small",[`${b}-group-wrapper-lg`]:L==="large",[`${b}-group-wrapper-rtl`]:r==="rtl",[`${b}-group-wrapper-${z}`]:V},jf(`${b}-group-wrapper`,D,M),S)}},y));return x(X)}),Bze=zze,Hwt=e=>_.createElement(Td,{theme:{components:{InputNumber:{handleVisible:!0}}}},_.createElement(zze,Object.assign({},e)));Bze._InternalPanelDoNotUseOrYouWillBeFired=Hwt;const Wwt=Bze,qwt=e=>{let{prefixCls:t,min:n=0,max:r=100,value:i,onChange:o,className:a,formatter:l}=e;const s=`${t}-steppers`,[u,c]=_.useState(i);return _.useEffect(()=>{Number.isNaN(i)||c(i)},[i]),Se.createElement(Wwt,{className:Re(s,a),min:n,max:r,value:u,formatter:l,size:"small",onChange:f=>{i||c(f||0),o==null||o(f)}})},Hv=qwt,Vwt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-alpha-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=s=>{const u=o.toHsb();u.a=(s||0)/100;const c=$l(u);n||a(c),r==null||r(c)};return Se.createElement(Hv,{value:sD(o),prefixCls:t,formatter:s=>`${s}%`,className:i,onChange:l})},Uwt=Vwt,Gwt=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,className:i}=e,o=t("input-group",r),a=t("input"),[l,s]=Kre(a),u=Re(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},s,i),c=_.useContext(la),f=_.useMemo(()=>Object.assign(Object.assign({},c),{isFormItemInput:!1}),[c]);return l(_.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},_.createElement(la.Provider,{value:f},e.children)))},Kwt=Gwt;function Fze(e,t){const n=_.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,o,a,l;!((i=e.current)===null||i===void 0)&&i.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return _.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function Xwt(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}const Ywt=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:Se.createElement(Rh,null)}),t};var Zwt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,status:o,size:a,disabled:l,onBlur:s,onFocus:u,suffix:c,allowClear:f,addonAfter:h,addonBefore:d,className:p,style:g,styles:m,rootClassName:v,onChange:y,classNames:b,variant:C}=e,x=Zwt(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:w,input:O}=Se.useContext(on),$=S("input",r),P=_.useRef(null),T=di($),[R,M,A]=Kre($,T),{compactSize:N,compactItemClassnames:k}=Ih($,w),D=Go(ne=>{var re;return(re=a??N)!==null&&re!==void 0?re:ne}),L=Se.useContext(es),B=l??L,{status:j,hasFeedback:z,feedbackIcon:V}=_.useContext(la),W=jy(j,o),U=Xwt(e)||!!z;_.useRef(U);const K=Fze(P,!0),X=ne=>{K(),s==null||s(ne)},G=ne=>{K(),u==null||u(ne)},Y=ne=>{K(),y==null||y(ne)},J=(z||c)&&Se.createElement(Se.Fragment,null,c,z&&V),ee=Ywt(f),[Q,te]=Dy(C,i);return R(Se.createElement(Lze,Object.assign({ref:cl(t,P),prefixCls:$,autoComplete:O==null?void 0:O.autoComplete},x,{disabled:B,onBlur:X,onFocus:G,style:Object.assign(Object.assign({},O==null?void 0:O.style),g),styles:Object.assign(Object.assign({},O==null?void 0:O.styles),m),suffix:J,allowClear:ee,className:Re(p,v,A,T,k,O==null?void 0:O.className),onChange:Y,addonAfter:h&&Se.createElement(fh,null,Se.createElement(c4,{override:!0,status:!0},h)),addonBefore:d&&Se.createElement(fh,null,Se.createElement(c4,{override:!0,status:!0},d)),classNames:Object.assign(Object.assign(Object.assign({},b),O==null?void 0:O.classNames),{input:Re({[`${$}-sm`]:D==="small",[`${$}-lg`]:D==="large",[`${$}-rtl`]:w==="rtl"},b==null?void 0:b.input,(n=O==null?void 0:O.classNames)===null||n===void 0?void 0:n.input,M),variant:Re({[`${$}-${Q}`]:te},jf($,W)),affixWrapper:Re({[`${$}-affix-wrapper-sm`]:D==="small",[`${$}-affix-wrapper-lg`]:D==="large",[`${$}-affix-wrapper-rtl`]:w==="rtl"},M),wrapper:Re({[`${$}-group-rtl`]:w==="rtl"},M),groupWrapper:Re({[`${$}-group-wrapper-sm`]:D==="small",[`${$}-group-wrapper-lg`]:D==="large",[`${$}-group-wrapper-rtl`]:w==="rtl",[`${$}-group-wrapper-${Q}`]:te},jf(`${$}-group-wrapper`,W,z),M)})})))}),oie=Jwt;var eOt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const tOt=eOt;var nOt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:tOt}))};const rOt=_.forwardRef(nOt);var iOt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const oOt=iOt;var aOt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:oOt}))};const aie=_.forwardRef(aOt);var lOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie?_.createElement(aie,null):_.createElement(rOt,null),cOt={click:"onClick",hover:"onMouseOver"},uOt=_.forwardRef((e,t)=>{const{visibilityToggle:n=!0}=e,r=typeof n=="object"&&n.visible!==void 0,[i,o]=_.useState(()=>r?n.visible:!1),a=_.useRef(null);_.useEffect(()=>{r&&o(n.visible)},[r,n]);const l=Fze(a),s=()=>{const{disabled:x}=e;x||(i&&l(),o(S=>{var w;const O=!S;return typeof n=="object"&&((w=n.onVisibleChange)===null||w===void 0||w.call(n,O)),O}))},u=x=>{const{action:S="click",iconRender:w=sOt}=e,O=cOt[S]||"",$=w(i),P={[O]:s,className:`${x}-icon`,key:"passwordIcon",onMouseDown:T=>{T.preventDefault()},onMouseUp:T=>{T.preventDefault()}};return _.cloneElement(_.isValidElement($)?$:_.createElement("span",null,$),P)},{className:c,prefixCls:f,inputPrefixCls:h,size:d}=e,p=lOt(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:g}=_.useContext(on),m=g("input",h),v=g("input-password",f),y=n&&u(v),b=Re(v,c,{[`${v}-${d}`]:!!d}),C=Object.assign(Object.assign({},bi(p,["suffix","iconRender","visibilityToggle"])),{type:i?"text":"password",className:b,prefixCls:m,suffix:y});return d&&(C.size=d),_.createElement(oie,Object.assign({ref:cl(t,a)},C))}),dOt=uOt;var fOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,inputPrefixCls:r,className:i,size:o,suffix:a,enterButton:l=!1,addonAfter:s,loading:u,disabled:c,onSearch:f,onChange:h,onCompositionStart:d,onCompositionEnd:p}=e,g=fOt(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:m,direction:v}=_.useContext(on),y=_.useRef(!1),b=m("input-search",n),C=m("input",r),{compactSize:x}=Ih(b,v),S=Go(j=>{var z;return(z=o??x)!==null&&z!==void 0?z:j}),w=_.useRef(null),O=j=>{j&&j.target&&j.type==="click"&&f&&f(j.target.value,j,{source:"clear"}),h&&h(j)},$=j=>{var z;document.activeElement===((z=w.current)===null||z===void 0?void 0:z.input)&&j.preventDefault()},P=j=>{var z,V;f&&f((V=(z=w.current)===null||z===void 0?void 0:z.input)===null||V===void 0?void 0:V.value,j,{source:"input"})},T=j=>{y.current||u||P(j)},R=typeof l=="boolean"?_.createElement(bre,null):null,M=`${b}-button`;let A;const N=l||{},k=N.type&&N.type.__ANT_BUTTON===!0;k||N.type==="button"?A=Mo(N,Object.assign({onMouseDown:$,onClick:j=>{var z,V;(V=(z=N==null?void 0:N.props)===null||z===void 0?void 0:z.onClick)===null||V===void 0||V.call(z,j),P(j)},key:"enterButton"},k?{className:M,size:S}:{})):A=_.createElement(Ei,{className:M,type:l?"primary":void 0,size:S,disabled:c,key:"enterButton",onMouseDown:$,onClick:P,loading:u,icon:R},l),s&&(A=[A,Mo(s,{key:"addonAfter"})]);const D=Re(b,{[`${b}-rtl`]:v==="rtl",[`${b}-${S}`]:!!S,[`${b}-with-button`]:!!l},i),L=j=>{y.current=!0,d==null||d(j)},B=j=>{y.current=!1,p==null||p(j)};return _.createElement(oie,Object.assign({ref:cl(w,t),onPressEnter:T},g,{size:S,onCompositionStart:L,onCompositionEnd:B,prefixCls:C,addonAfter:A,suffix:a,onChange:O,className:D,disabled:c}))}),hOt=pOt;var gOt=` + `]:{color:C}})}]},Lwt=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:i,controlWidth:o,borderRadiusLG:a,borderRadiusSM:l,paddingInlineLG:s,paddingInlineSM:u,paddingBlockLG:c,paddingBlockSM:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${xe(n)} 0`}},I$(e)),{position:"relative",display:"inline-flex",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:s,[`input${t}-input`]:{padding:`${xe(c)} 0`}},"&-sm":{borderRadius:l,paddingInlineStart:u,[`input${t}-input`]:{padding:`${xe(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:i},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:i}}})}},zwt=vr("InputNumber",e=>{const t=Wn(e,CB(e));return[Dwt(t),Lwt(t),_$(t)]},jwt,{unitless:{handleOpacity:!0}});var Bwt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=_.useContext(on),i=_.useRef(null);_.useImperativeHandle(t,()=>i.current);const{className:o,rootClassName:a,size:l,disabled:s,prefixCls:u,addonBefore:c,addonAfter:f,prefix:h,bordered:d,readOnly:p,status:g,controls:m,variant:v}=e,y=Bwt(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),b=n("input-number",u),C=di(b),[x,S,w]=zwt(b,C),{compactSize:O,compactItemClassnames:$}=Ih(b,r);let P=_.createElement(ywt,{className:`${b}-handler-up-inner`}),T=_.createElement(aB,{className:`${b}-handler-down-inner`});const R=typeof m=="boolean"?m:void 0;typeof m=="object"&&(P=typeof m.upIcon>"u"?P:_.createElement("span",{className:`${b}-handler-up-inner`},m.upIcon),T=typeof m.downIcon>"u"?T:_.createElement("span",{className:`${b}-handler-down-inner`},m.downIcon));const{hasFeedback:M,status:A,isFormItemInput:N,feedbackIcon:j}=_.useContext(la),D=jy(A,g),L=Go(G=>{var Y;return(Y=l??O)!==null&&Y!==void 0?Y:G}),B=_.useContext(es),k=s??B,[z,q]=Dy(v,d),W=M&&_.createElement(_.Fragment,null,j),U=Re({[`${b}-lg`]:L==="large",[`${b}-sm`]:L==="small",[`${b}-rtl`]:r==="rtl",[`${b}-in-form-item`]:N},S),K=`${b}-group`,X=_.createElement(oie,Object.assign({ref:i,disabled:k,className:Re(w,C,o,a,$),upHandler:P,downHandler:T,prefixCls:b,readOnly:p,controls:R,prefix:h,suffix:W,addonAfter:f&&_.createElement(fh,null,_.createElement(c4,{override:!0,status:!0},f)),addonBefore:c&&_.createElement(fh,null,_.createElement(c4,{override:!0,status:!0},c)),classNames:{input:U,variant:Re({[`${b}-${z}`]:q},jf(b,D,M)),affixWrapper:Re({[`${b}-affix-wrapper-sm`]:L==="small",[`${b}-affix-wrapper-lg`]:L==="large",[`${b}-affix-wrapper-rtl`]:r==="rtl"},S),wrapper:Re({[`${K}-rtl`]:r==="rtl"},S),groupWrapper:Re({[`${b}-group-wrapper-sm`]:L==="small",[`${b}-group-wrapper-lg`]:L==="large",[`${b}-group-wrapper-rtl`]:r==="rtl",[`${b}-group-wrapper-${z}`]:q},jf(`${b}-group-wrapper`,D,M),S)}},y));return x(X)}),Fze=Bze,Fwt=e=>_.createElement(Td,{theme:{components:{InputNumber:{handleVisible:!0}}}},_.createElement(Bze,Object.assign({},e)));Fze._InternalPanelDoNotUseOrYouWillBeFired=Fwt;const Hwt=Fze,Wwt=e=>{let{prefixCls:t,min:n=0,max:r=100,value:i,onChange:o,className:a,formatter:l}=e;const s=`${t}-steppers`,[u,c]=_.useState(i);return _.useEffect(()=>{Number.isNaN(i)||c(i)},[i]),Se.createElement(Hwt,{className:Re(s,a),min:n,max:r,value:u,formatter:l,size:"small",onChange:f=>{i||c(f||0),o==null||o(f)}})},Hv=Wwt,qwt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-alpha-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=s=>{const u=o.toHsb();u.a=(s||0)/100;const c=$l(u);n||a(c),r==null||r(c)};return Se.createElement(Hv,{value:cD(o),prefixCls:t,formatter:s=>`${s}%`,className:i,onChange:l})},Vwt=qwt,Uwt=e=>{const{getPrefixCls:t,direction:n}=_.useContext(on),{prefixCls:r,className:i}=e,o=t("input-group",r),a=t("input"),[l,s]=Yre(a),u=Re(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},s,i),c=_.useContext(la),f=_.useMemo(()=>Object.assign(Object.assign({},c),{isFormItemInput:!1}),[c]);return l(_.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},_.createElement(la.Provider,{value:f},e.children)))},Gwt=Uwt;function Hze(e,t){const n=_.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,o,a,l;!((i=e.current)===null||i===void 0)&&i.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return _.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function Kwt(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}const Xwt=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:Se.createElement(Rh,null)}),t};var Ywt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,status:o,size:a,disabled:l,onBlur:s,onFocus:u,suffix:c,allowClear:f,addonAfter:h,addonBefore:d,className:p,style:g,styles:m,rootClassName:v,onChange:y,classNames:b,variant:C}=e,x=Ywt(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:w,input:O}=Se.useContext(on),$=S("input",r),P=_.useRef(null),T=di($),[R,M,A]=Yre($,T),{compactSize:N,compactItemClassnames:j}=Ih($,w),D=Go(ne=>{var re;return(re=a??N)!==null&&re!==void 0?re:ne}),L=Se.useContext(es),B=l??L,{status:k,hasFeedback:z,feedbackIcon:q}=_.useContext(la),W=jy(k,o),U=Kwt(e)||!!z;_.useRef(U);const K=Hze(P,!0),X=ne=>{K(),s==null||s(ne)},G=ne=>{K(),u==null||u(ne)},Y=ne=>{K(),y==null||y(ne)},J=(z||c)&&Se.createElement(Se.Fragment,null,c,z&&q),ee=Xwt(f),[Q,te]=Dy(C,i);return R(Se.createElement(zze,Object.assign({ref:cl(t,P),prefixCls:$,autoComplete:O==null?void 0:O.autoComplete},x,{disabled:B,onBlur:X,onFocus:G,style:Object.assign(Object.assign({},O==null?void 0:O.style),g),styles:Object.assign(Object.assign({},O==null?void 0:O.styles),m),suffix:J,allowClear:ee,className:Re(p,v,A,T,j,O==null?void 0:O.className),onChange:Y,addonAfter:h&&Se.createElement(fh,null,Se.createElement(c4,{override:!0,status:!0},h)),addonBefore:d&&Se.createElement(fh,null,Se.createElement(c4,{override:!0,status:!0},d)),classNames:Object.assign(Object.assign(Object.assign({},b),O==null?void 0:O.classNames),{input:Re({[`${$}-sm`]:D==="small",[`${$}-lg`]:D==="large",[`${$}-rtl`]:w==="rtl"},b==null?void 0:b.input,(n=O==null?void 0:O.classNames)===null||n===void 0?void 0:n.input,M),variant:Re({[`${$}-${Q}`]:te},jf($,W)),affixWrapper:Re({[`${$}-affix-wrapper-sm`]:D==="small",[`${$}-affix-wrapper-lg`]:D==="large",[`${$}-affix-wrapper-rtl`]:w==="rtl"},M),wrapper:Re({[`${$}-group-rtl`]:w==="rtl"},M),groupWrapper:Re({[`${$}-group-wrapper-sm`]:D==="small",[`${$}-group-wrapper-lg`]:D==="large",[`${$}-group-wrapper-rtl`]:w==="rtl",[`${$}-group-wrapper-${Q}`]:te},jf(`${$}-group-wrapper`,W,z),M)})})))}),aie=Qwt;var Jwt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};const eOt=Jwt;var tOt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:eOt}))};const nOt=_.forwardRef(tOt);var rOt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};const iOt=rOt;var oOt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:iOt}))};const lie=_.forwardRef(oOt);var aOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie?_.createElement(lie,null):_.createElement(nOt,null),sOt={click:"onClick",hover:"onMouseOver"},cOt=_.forwardRef((e,t)=>{const{visibilityToggle:n=!0}=e,r=typeof n=="object"&&n.visible!==void 0,[i,o]=_.useState(()=>r?n.visible:!1),a=_.useRef(null);_.useEffect(()=>{r&&o(n.visible)},[r,n]);const l=Hze(a),s=()=>{const{disabled:x}=e;x||(i&&l(),o(S=>{var w;const O=!S;return typeof n=="object"&&((w=n.onVisibleChange)===null||w===void 0||w.call(n,O)),O}))},u=x=>{const{action:S="click",iconRender:w=lOt}=e,O=sOt[S]||"",$=w(i),P={[O]:s,className:`${x}-icon`,key:"passwordIcon",onMouseDown:T=>{T.preventDefault()},onMouseUp:T=>{T.preventDefault()}};return _.cloneElement(_.isValidElement($)?$:_.createElement("span",null,$),P)},{className:c,prefixCls:f,inputPrefixCls:h,size:d}=e,p=aOt(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:g}=_.useContext(on),m=g("input",h),v=g("input-password",f),y=n&&u(v),b=Re(v,c,{[`${v}-${d}`]:!!d}),C=Object.assign(Object.assign({},bi(p,["suffix","iconRender","visibilityToggle"])),{type:i?"text":"password",className:b,prefixCls:m,suffix:y});return d&&(C.size=d),_.createElement(aie,Object.assign({ref:cl(t,a)},C))}),uOt=cOt;var dOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,inputPrefixCls:r,className:i,size:o,suffix:a,enterButton:l=!1,addonAfter:s,loading:u,disabled:c,onSearch:f,onChange:h,onCompositionStart:d,onCompositionEnd:p}=e,g=dOt(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:m,direction:v}=_.useContext(on),y=_.useRef(!1),b=m("input-search",n),C=m("input",r),{compactSize:x}=Ih(b,v),S=Go(k=>{var z;return(z=o??x)!==null&&z!==void 0?z:k}),w=_.useRef(null),O=k=>{k&&k.target&&k.type==="click"&&f&&f(k.target.value,k,{source:"clear"}),h&&h(k)},$=k=>{var z;document.activeElement===((z=w.current)===null||z===void 0?void 0:z.input)&&k.preventDefault()},P=k=>{var z,q;f&&f((q=(z=w.current)===null||z===void 0?void 0:z.input)===null||q===void 0?void 0:q.value,k,{source:"input"})},T=k=>{y.current||u||P(k)},R=typeof l=="boolean"?_.createElement(Sre,null):null,M=`${b}-button`;let A;const N=l||{},j=N.type&&N.type.__ANT_BUTTON===!0;j||N.type==="button"?A=Mo(N,Object.assign({onMouseDown:$,onClick:k=>{var z,q;(q=(z=N==null?void 0:N.props)===null||z===void 0?void 0:z.onClick)===null||q===void 0||q.call(z,k),P(k)},key:"enterButton"},j?{className:M,size:S}:{})):A=_.createElement(Ei,{className:M,type:l?"primary":void 0,size:S,disabled:c,key:"enterButton",onMouseDown:$,onClick:P,loading:u,icon:R},l),s&&(A=[A,Mo(s,{key:"addonAfter"})]);const D=Re(b,{[`${b}-rtl`]:v==="rtl",[`${b}-${S}`]:!!S,[`${b}-with-button`]:!!l},i),L=k=>{y.current=!0,d==null||d(k)},B=k=>{y.current=!1,p==null||p(k)};return _.createElement(aie,Object.assign({ref:cl(w,t),onPressEnter:T},g,{size:S,onCompositionStart:L,onCompositionEnd:B,prefixCls:C,addonAfter:A,suffix:a,onChange:O,className:D,disabled:c}))}),pOt=fOt;var hOt=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -379,19 +379,19 @@ html body { top:0 !important; right:0 !important; pointer-events: none !important; -`,mOt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],SV={},Bc;function vOt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&SV[n])return SV[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=mOt.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),s={sizingStyle:l,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(SV[n]=s),s}function yOt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Bc||(Bc=document.createElement("textarea"),Bc.setAttribute("tab-index","-1"),Bc.setAttribute("aria-hidden","true"),document.body.appendChild(Bc)),e.getAttribute("wrap")?Bc.setAttribute("wrap",e.getAttribute("wrap")):Bc.removeAttribute("wrap");var i=vOt(e,t),o=i.paddingSize,a=i.borderSize,l=i.boxSizing,s=i.sizingStyle;Bc.setAttribute("style","".concat(s,";").concat(gOt)),Bc.value=e.value||e.placeholder||"";var u=void 0,c=void 0,f,h=Bc.scrollHeight;if(l==="border-box"?h+=a:l==="content-box"&&(h-=o),n!==null||r!==null){Bc.value=" ";var d=Bc.scrollHeight-o;n!==null&&(u=d*n,l==="border-box"&&(u=u+o+a),h=Math.max(u,h)),r!==null&&(c=d*r,l==="border-box"&&(c=c+o+a),f=h>c?"":"hidden",h=Math.min(c,h))}var p={height:h,overflowY:f,resize:"none"};return u&&(p.minHeight=u),c&&(p.maxHeight=c),p}var bOt=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],xV=0,_V=1,wV=2,Hze=_.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var i=n.defaultValue,o=n.value,a=n.autoSize,l=n.onResize,s=n.className,u=n.style,c=n.disabled,f=n.onChange;n.onInternalAutoSize;var h=an(n,bOt),d=zn(i,{value:o,postState:function(U){return U??""}}),p=Me(d,2),g=p[0],m=p[1],v=function(U){m(U.target.value),f==null||f(U)},y=_.useRef();_.useImperativeHandle(t,function(){return{textArea:y.current}});var b=_.useMemo(function(){return a&&bn(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=Me(b,2),x=C[0],S=C[1],w=!!a,O=function(){try{if(document.activeElement===y.current){var U=y.current,K=U.selectionStart,X=U.selectionEnd,G=U.scrollTop;y.current.setSelectionRange(K,X),y.current.scrollTop=G}}catch{}},$=_.useState(wV),P=Me($,2),T=P[0],R=P[1],M=_.useState(),A=Me(M,2),N=A[0],k=A[1],D=function(){R(xV)};er(function(){w&&D()},[o,x,S,w]),er(function(){if(T===xV)R(_V);else if(T===_V){var W=yOt(y.current,!1,x,S);R(wV),k(W)}else O()},[T]);var L=_.useRef(),B=function(){rr.cancel(L.current)},j=function(U){T===wV&&(l==null||l(U),a&&(B(),L.current=rr(function(){D()})))};_.useEffect(function(){return B},[]);var z=w?N:null,V=fe(fe({},u),z);return(T===xV||T===_V)&&(V.overflowY="hidden",V.overflowX="hidden"),_.createElement(Ba,{onResize:j,disabled:!(a||l)},_.createElement("textarea",Qe({},h,{ref:y,style:V,className:Re(r,s,ue({},"".concat(r,"-disabled"),c)),disabled:c,value:g,onChange:v})))}),COt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],lie=Se.forwardRef(function(e,t){var n,r,i=e.defaultValue,o=e.value,a=e.onFocus,l=e.onBlur,s=e.onChange,u=e.allowClear,c=e.maxLength,f=e.onCompositionStart,h=e.onCompositionEnd,d=e.suffix,p=e.prefixCls,g=p===void 0?"rc-textarea":p,m=e.showCount,v=e.count,y=e.className,b=e.style,C=e.disabled,x=e.hidden,S=e.classNames,w=e.styles,O=e.onResize,$=an(e,COt),P=zn(i,{value:o,defaultValue:i}),T=Me(P,2),R=T[0],M=T[1],A=R==null?"":String(R),N=Se.useState(!1),k=Me(N,2),D=k[0],L=k[1],B=Se.useRef(!1),j=Se.useState(null),z=Me(j,2),V=z[0],W=z[1],U=_.useRef(null),K=function(){var Ne;return(Ne=U.current)===null||Ne===void 0?void 0:Ne.textArea},X=function(){K().focus()};_.useImperativeHandle(t,function(){return{resizableTextArea:U.current,focus:X,blur:function(){K().blur()}}}),_.useEffect(function(){L(function(Te){return!C&&Te})},[C]);var G=Se.useState(null),Y=Me(G,2),J=Y[0],ee=Y[1];Se.useEffect(function(){if(J){var Te;(Te=K()).setSelectionRange.apply(Te,vt(J))}},[J]);var Q=Dze(v,m),te=(n=Q.max)!==null&&n!==void 0?n:c,ne=Number(te)>0,re=Q.strategy(A),oe=!!te&&re>te,se=function(Ne,je){var He=je;!B.current&&Q.exceedFormatter&&Q.max&&Q.strategy(je)>Q.max&&(He=Q.exceedFormatter(je,{max:Q.max}),je!==He&&ee([K().selectionStart||0,K().selectionEnd||0])),M(He),cD(Ne.currentTarget,Ne,s,He)},ye=function(Ne){B.current=!0,f==null||f(Ne)},be=function(Ne){B.current=!1,se(Ne,Ne.currentTarget.value),h==null||h(Ne)},he=function(Ne){se(Ne,Ne.target.value)},le=function(Ne){var je=$.onPressEnter,He=$.onKeyDown;Ne.key==="Enter"&&je&&je(Ne),He==null||He(Ne)},ve=function(Ne){L(!0),a==null||a(Ne)},ke=function(Ne){L(!1),l==null||l(Ne)},Ie=function(Ne){M(""),X(),cD(K(),Ne,s)},Oe=d,Pe;Q.show&&(Q.showFormatter?Pe=Q.showFormatter({value:A,count:re,maxLength:te}):Pe="".concat(re).concat(ne?" / ".concat(te):""),Oe=Se.createElement(Se.Fragment,null,Oe,Se.createElement("span",{className:Re("".concat(g,"-data-count"),S==null?void 0:S.count),style:w==null?void 0:w.count},Pe)));var _e=function(Ne){var je;O==null||O(Ne),(je=K())!==null&&je!==void 0&&je.style.height&&W(!0)},ce=!$.autoSize&&!m&&!u;return Se.createElement(A$,{value:A,allowClear:u,handleReset:Ie,suffix:Oe,prefixCls:g,classNames:fe(fe({},S),{},{affixWrapper:Re(S==null?void 0:S.affixWrapper,(r={},ue(r,"".concat(g,"-show-count"),m),ue(r,"".concat(g,"-textarea-allow-clear"),u),r))}),disabled:C,focused:D,className:Re(y,oe&&"".concat(g,"-out-of-range")),style:fe(fe({},b),V&&!ce?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Pe=="string"?Pe:void 0}},hidden:x},Se.createElement(Hze,Qe({},$,{maxLength:c,onKeyDown:le,onChange:he,onFocus:ve,onBlur:ke,onCompositionStart:ye,onCompositionEnd:be,className:Re(S==null?void 0:S.textarea),style:fe(fe({},w==null?void 0:w.textarea),{},{resize:b==null?void 0:b.resize}),disabled:C,prefixCls:g,onResize:_e,ref:U})))});const SOt=Object.freeze(Object.defineProperty({__proto__:null,ResizableTextArea:Hze,default:lie},Symbol.toStringTag,{value:"Module"}));var xOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,size:o,disabled:a,status:l,allowClear:s,classNames:u,rootClassName:c,className:f,variant:h}=e,d=xOt(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","variant"]),{getPrefixCls:p,direction:g}=_.useContext(on),m=Go(o),v=_.useContext(es),y=a??v,{status:b,hasFeedback:C,feedbackIcon:x}=_.useContext(la),S=jy(b,l),w=_.useRef(null);_.useImperativeHandle(t,()=>{var k;return{resizableTextArea:(k=w.current)===null||k===void 0?void 0:k.resizableTextArea,focus:D=>{var L,B;Qwt((B=(L=w.current)===null||L===void 0?void 0:L.resizableTextArea)===null||B===void 0?void 0:B.textArea,D)},blur:()=>{var D;return(D=w.current)===null||D===void 0?void 0:D.blur()}}});const O=p("input",r);let $;typeof s=="object"&&(s!=null&&s.clearIcon)?$=s:s&&($={clearIcon:_.createElement(Rh,null)});const P=di(O),[T,R,M]=Kre(O,P),[A,N]=Dy(h,i);return T(_.createElement(lie,Object.assign({},d,{disabled:y,allowClear:$,className:Re(M,P,f,c),classNames:Object.assign(Object.assign({},u),{textarea:Re({[`${O}-sm`]:m==="small",[`${O}-lg`]:m==="large"},R,u==null?void 0:u.textarea),variant:Re({[`${O}-${A}`]:N},jf(O,S)),affixWrapper:Re(`${O}-textarea-affix-wrapper`,{[`${O}-affix-wrapper-rtl`]:g==="rtl",[`${O}-affix-wrapper-sm`]:m==="small",[`${O}-affix-wrapper-lg`]:m==="large",[`${O}-textarea-show-count`]:e.showCount||((n=e.count)===null||n===void 0?void 0:n.show)},R)}),prefixCls:O,suffix:C&&_.createElement("span",{className:`${O}-textarea-suffix`},x),ref:w})))}),wOt=_Ot,k$=oie;k$.Group=Kwt;k$.Search=hOt;k$.TextArea=wOt;k$.Password=dOt;const au=k$,OOt=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,K1e=e=>OOt.test(`#${e}`),EOt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-hex-input`,[o,a]=_.useState(n==null?void 0:n.toHex());_.useEffect(()=>{const s=n==null?void 0:n.toHex();K1e(s)&&n&&a($k(s))},[n]);const l=s=>{const u=s.target.value;a($k(u)),K1e($k(u,!0))&&(r==null||r($l(u)))};return Se.createElement(au,{className:i,value:o,prefix:"#",onChange:l,size:"small"})},$Ot=EOt,POt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-hsb-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=(s,u)=>{const c=o.toHsb();c[u]=u==="h"?s:(s||0)/100;const f=$l(c);n||a(f),r==null||r(f)};return Se.createElement("div",{className:i},Se.createElement(Hv,{max:360,min:0,value:Number(o.toHsb().h),prefixCls:t,className:i,formatter:s=>Pk(s||0).toString(),onChange:s=>l(Number(s),"h")}),Se.createElement(Hv,{max:100,min:0,value:Number(o.toHsb().s)*100,prefixCls:t,className:i,formatter:s=>`${Pk(s||0)}%`,onChange:s=>l(Number(s),"s")}),Se.createElement(Hv,{max:100,min:0,value:Number(o.toHsb().b)*100,prefixCls:t,className:i,formatter:s=>`${Pk(s||0)}%`,onChange:s=>l(Number(s),"b")}))},TOt=POt,MOt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-rgb-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=(s,u)=>{const c=o.toRgb();c[u]=s||0;const f=$l(c);n||a(f),r==null||r(f)};return Se.createElement("div",{className:i},Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().r),prefixCls:t,className:i,onChange:s=>l(Number(s),"r")}),Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().g),prefixCls:t,className:i,onChange:s=>l(Number(s),"g")}),Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().b),prefixCls:t,className:i,onChange:s=>l(Number(s),"b")}))},ROt=MOt,IOt=[Xp.hex,Xp.hsb,Xp.rgb].map(e=>({value:e,label:e.toLocaleUpperCase()})),NOt=e=>{const{prefixCls:t,format:n,value:r,disabledAlpha:i,onFormatChange:o,onChange:a}=e,[l,s]=zn(Xp.hex,{value:n,onChange:o}),u=`${t}-input`,c=h=>{s(h)},f=_.useMemo(()=>{const h={value:r,prefixCls:t,onChange:a};switch(l){case Xp.hsb:return Se.createElement(TOt,Object.assign({},h));case Xp.rgb:return Se.createElement(ROt,Object.assign({},h));case Xp.hex:default:return Se.createElement($Ot,Object.assign({},h))}},[l,t,r,a]);return Se.createElement("div",{className:`${u}-container`},Se.createElement(Ps,{value:l,variant:"borderless",getPopupContainer:h=>h,popupMatchSelectWidth:68,placement:"bottomRight",onChange:c,className:`${t}-format-select`,size:"small",options:IOt}),Se.createElement("div",{className:u},f),!i&&Se.createElement(Uwt,{prefixCls:t,value:r,onChange:a}))},AOt=NOt;var kOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const e=_.useContext(Ize),{prefixCls:t,colorCleared:n,allowClear:r,value:i,disabledAlpha:o,onChange:a,onClear:l,onChangeComplete:s}=e,u=kOt(e,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return Se.createElement(Se.Fragment,null,r&&Se.createElement(Aze,Object.assign({prefixCls:t,value:i,colorCleared:n,onChange:c=>{a==null||a(c),l==null||l()}},u)),Se.createElement(Rze,{prefixCls:t,value:i==null?void 0:i.toHsb(),disabledAlpha:o,onChange:(c,f)=>a==null?void 0:a(c,f,!0),onChangeComplete:s}),Se.createElement(AOt,Object.assign({value:i,onChange:a,prefixCls:t,disabledAlpha:o},u)))},X1e=jOt,OV=e=>e.map(t=>(t.colors=t.colors.map($l),t)),DOt=(e,t)=>{const{r:n,g:r,b:i,a:o}=e.toRgb(),a=new JE(e.toRgbString()).onBackground(t).toHsv();return o<=.5?a.v>.5:n*.299+r*.587+i*.114>192},Y1e=e=>{let{label:t}=e;return`panel-${t}`},LOt=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[o]=xu("ColorPicker"),[,a]=To(),[l]=zn(OV(n),{value:OV(n),postState:OV}),s=`${t}-presets`,u=_.useMemo(()=>l.reduce((h,d)=>{const{defaultOpen:p=!0}=d;return p&&h.push(Y1e(d)),h},[]),[l]),c=h=>{i==null||i(h)},f=l.map(h=>{var d;return{key:Y1e(h),label:Se.createElement("div",{className:`${s}-label`},h==null?void 0:h.label),children:Se.createElement("div",{className:`${s}-items`},Array.isArray(h==null?void 0:h.colors)&&((d=h.colors)===null||d===void 0?void 0:d.length)>0?h.colors.map((p,g)=>Se.createElement(TB,{key:`preset-${g}-${p.toHexString()}`,color:$l(p).toRgbString(),prefixCls:t,className:Re(`${s}-color`,{[`${s}-color-checked`]:p.toHexString()===(r==null?void 0:r.toHexString()),[`${s}-color-bright`]:DOt(p,a.colorBgElevated)}),onClick:()=>c(p)})):Se.createElement("span",{className:`${s}-empty`},o.presetEmpty))}});return Se.createElement("div",{className:s},Se.createElement(K_t,{defaultActiveKey:u,ghost:!0,items:f}))},zOt=LOt,BOt=()=>{const{prefixCls:e,value:t,presets:n,onChange:r}=_.useContext(Nze);return Array.isArray(n)?Se.createElement(zOt,{value:t,presets:n,prefixCls:e,onChange:r}):null},Z1e=BOt;var FOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,presets:n,panelRender:r,color:i,onChange:o,onClear:a}=e,l=FOt(e,["prefixCls","presets","panelRender","color","onChange","onClear"]),s=`${t}-inner`,u=Object.assign({prefixCls:t,value:i,onChange:o,onClear:a},l),c=Se.useMemo(()=>({prefixCls:t,value:i,presets:n,onChange:o}),[t,i,n,o]),f=Se.createElement("div",{className:`${s}-content`},Se.createElement(X1e,null),Array.isArray(n)&&Se.createElement(ewt,null),Se.createElement(Z1e,null));return Se.createElement(fwt,{value:u},Se.createElement(pwt,{value:c},Se.createElement("div",{className:s},typeof r=="function"?r(f,{components:{Picker:X1e,Presets:Z1e}}):f)))},WOt=HOt;var qOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{color:n,prefixCls:r,open:i,colorCleared:o,disabled:a,format:l,className:s,showText:u}=e,c=qOt(e,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),f=`${r}-trigger`,h=_.useMemo(()=>o?Se.createElement(Aze,{prefixCls:r}):Se.createElement(TB,{prefixCls:r,color:n.toRgbString()}),[n,o,r]),d=()=>{const g=n.toHexString().toUpperCase(),m=sD(n);switch(l){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();case"hex":default:return m<100?`${g.slice(0,7)},${m}%`:g}},p=()=>{if(typeof u=="function")return u(n);if(u)return d()};return Se.createElement("div",Object.assign({ref:t,className:Re(f,s,{[`${f}-active`]:i,[`${f}-disabled`]:a})},c),h,u&&Se.createElement("div",{className:`${f}-text`},p()))}),UOt=VOt;function Q1e(e){return e!==void 0}const GOt=(e,t)=>{const{defaultValue:n,value:r}=t,[i,o]=_.useState(()=>{let a;return Q1e(r)?a=r:Q1e(n)?a=n:a=e,$l(a||"")});return _.useEffect(()=>{r&&o($l(r))},[r]),[i,o]},Wze=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),J1e=(e,t)=>{const{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:i,lineWidth:o,colorFillSecondary:a}=e;return{[`${n}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:i},Wze("50%",e.colorFillSecondary)),{[`${n}-color-block-inner`]:{width:"100%",height:"100%",border:`${xe(o)} solid ${a}`,borderRadius:"inherit"}})}},KOt=e=>{const{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:i,colorPickerAlphaInputWidth:o,marginXXS:a,paddingXXS:l,controlHeightSM:s,marginXS:u,fontSizeIcon:c,paddingXS:f,colorTextPlaceholder:h,colorPickerInputNumberHandleWidth:d,lineWidth:p}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${n}-input-number`]:{fontSize:r,lineHeight:i,[`${n}-input-number-input`]:{paddingInlineStart:l,paddingInlineEnd:0},[`${n}-input-number-handler-wrap`]:{width:d}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${xe(o)}`,marginInlineStart:a},[`${t}-format-select${n}-select`]:{marginInlineEnd:u,width:"auto","&-single":{[`${n}-select-selector`]:{padding:0,border:0},[`${n}-select-arrow`]:{insetInlineEnd:0},[`${n}-select-selection-item`]:{paddingInlineEnd:e.calc(c).add(a).equal(),fontSize:r,lineHeight:`${xe(s)}`},[`${n}-select-item-option-content`]:{fontSize:r,lineHeight:i},[`${n}-select-dropdown`]:{[`${n}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:`0 ${xe(f)}`,[`${n}-input`]:{fontSize:r,textTransform:"uppercase",lineHeight:xe(e.calc(s).sub(e.calc(p).mul(2)).equal())},[`${n}-input-prefix`]:{color:h}}}}}},XOt=e=>{const{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:i,marginSM:o,colorBgElevated:a,colorFillSecondary:l,lineWidthBold:s,colorPickerHandlerSize:u,colorPickerHandlerSizeSM:c,colorPickerSliderHeight:f}=e;return{[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:i,inset:0},marginBottom:o},[`${t}-handler`]:{width:u,height:u,border:`${xe(s)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${i}, 0 0 0 1px ${l}`,"&-sm":{width:c,height:c}},[`${t}-slider`]:{borderRadius:e.calc(f).div(2).equal(),[`${t}-palette`]:{height:f},[`${t}-gradient`]:{borderRadius:e.calc(f).div(2).equal(),boxShadow:i},"&-alpha":Wze(`${xe(f)}`,e.colorFillSecondary),"&-hue":{marginBottom:o}},[`${t}-slider-container`]:{display:"flex",gap:o,marginBottom:o,[`${t}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${t}-slider`]:{flex:1,marginBottom:0}}}}}},YOt=e=>{const{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:i,colorPickerPresetColorSize:o,fontSizeSM:a,colorText:l,lineHeightSM:s,lineWidth:u,borderRadius:c,colorFill:f,colorWhite:h,marginXXS:d,paddingXS:p,fontHeightSM:g}=e;return{[`${t}-presets`]:{[`${n}-collapse-item > ${n}-collapse-header`]:{padding:0,[`${n}-collapse-expand-icon`]:{height:g,color:r,paddingInlineEnd:i}},[`${n}-collapse`]:{display:"flex",flexDirection:"column",gap:d},[`${n}-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:`${xe(p)} 0`},"&-label":{fontSize:a,color:l,lineHeight:s},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(d).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:o,height:o,"&::before":{content:'""',pointerEvents:"none",width:e.calc(o).add(e.calc(u).mul(4)).equal(),height:e.calc(o).add(e.calc(u).mul(4)).equal(),position:"absolute",top:e.calc(u).mul(-2).equal(),insetInlineStart:e.calc(u).mul(-2).equal(),borderRadius:c,border:`${xe(u)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:f},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(o).div(13).mul(5).equal(),height:e.calc(o).div(13).mul(8).equal(),border:`${xe(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:h,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}},vQ=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${xe(e.controlOutlineWidth)} ${n}`,outline:0}),ZOt=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},e0e=(e,t,n)=>{const{componentCls:r,borderRadiusSM:i,lineWidth:o,colorSplit:a,red6:l}=e;return{[`${r}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:i,border:`${xe(o)} solid ${a}`,position:"relative",overflow:"hidden"},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:o,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:l}})}},QOt=e=>{const{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:i,colorWarningHover:o,colorErrorOutline:a,colorWarningOutline:l}=e;return{[`&${t}-status-error`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},vQ(e,n,a))},[`&${t}-status-warning`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},vQ(e,r,l))}}},JOt=e=>{const{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:i,controlHeightXS:o,borderRadius:a,borderRadiusSM:l,borderRadiusXS:s,borderRadiusLG:u,fontSizeLG:c}=e;return{[`&${t}-lg`]:{minWidth:n,height:n,borderRadius:u,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:a},[`${t}-trigger-text`]:{fontSize:c}},[`&${t}-sm`]:{minWidth:r,height:r,borderRadius:l,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:s}}}},e8t=e=>{const{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:i,motionDurationMid:o,colorBgElevated:a,colorTextDisabled:l,colorText:s,colorBgContainerDisabled:u,borderRadius:c,marginXS:f,marginSM:h,controlHeight:d,controlHeightSM:p,colorBgTextActive:g,colorPickerPresetColorSize:m,colorPickerPreviewSize:v,lineWidth:y,colorBorder:b,paddingXXS:C,fontSize:x,colorPrimaryHover:S,controlOutline:w}=e;return[{[n]:Object.assign({[`${n}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,[`& > ${t}-divider`]:{margin:`${xe(h)} 0 ${xe(f)}`}},[`${n}-panel`]:Object.assign({},XOt(e))},J1e(e,v)),KOt(e)),YOt(e)),e0e(e,m,{marginInlineStart:"auto",marginBottom:f})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:d,height:d,borderRadius:c,border:`${xe(y)} solid ${b}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${o}`,background:a,padding:e.calc(C).sub(y).equal(),[`${n}-trigger-text`]:{marginInlineStart:f,marginInlineEnd:e.calc(f).sub(e.calc(C).sub(y)).equal(),fontSize:x,color:s},"&:hover":{borderColor:S},[`&${n}-trigger-active`]:Object.assign({},vQ(e,i,w)),"&-disabled":{color:l,background:u,cursor:"not-allowed","&:hover":{borderColor:g},[`${n}-trigger-text`]:{color:l}}},e0e(e,p)),J1e(e,p)),QOt(e)),JOt(e))},ZOt(e))}]},t8t=vr("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:n}=e,r=8,i=Wn(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()});return[e8t(i)]});var n8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:t,defaultValue:n,format:r,defaultFormat:i,allowClear:o=!1,presets:a,children:l,trigger:s="click",open:u,disabled:c,placement:f="bottomLeft",arrow:h=!0,panelRender:d,showText:p,style:g,className:m,size:v,rootClassName:y,prefixCls:b,styles:C,disabledAlpha:x=!1,onFormatChange:S,onChange:w,onClear:O,onOpenChange:$,onChangeComplete:P,getPopupContainer:T,autoAdjustOverflow:R=!0,destroyTooltipOnHide:M}=e,A=n8t(e,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:N,direction:k,colorPicker:D}=_.useContext(on),L=_.useContext(es),B=c??L,[j,z]=GOt("",{value:t,defaultValue:n}),[V,W]=zn(!1,{value:u,postState:ce=>!B&&ce,onChange:$}),[U,K]=zn(r,{value:r,defaultValue:i,onChange:S}),[X,G]=_.useState(!t&&!n),Y=N("color-picker",b),J=_.useMemo(()=>sD(j)<100,[j]),{status:ee}=Se.useContext(la),Q=Go(v),te=di(Y),[ne,re,oe]=t8t(Y,te),se={[`${Y}-rtl`]:k},ye=Re(y,oe,te,se),be=Re(jf(Y,ee),{[`${Y}-sm`]:Q==="small",[`${Y}-lg`]:Q==="large"},D==null?void 0:D.className,ye,m,re),he=Re(Y,ye),le=_.useRef(!0),ve=(ce,Te,Ne)=>{let je=$l(ce);(X||(t===null||!t&&n===null))&&(G(!1),sD(j)===0&&Te!=="alpha"&&(je=CV(je))),x&&J&&(je=CV(je)),Ne?le.current=!1:P==null||P(je),z(je),w==null||w(je,je.toHexString())},ke=()=>{G(!0),O==null||O()},Ie=ce=>{le.current=!0;let Te=$l(ce);x&&J&&(Te=CV(ce)),P==null||P(Te)},Oe={open:V,trigger:s,placement:f,arrow:h,rootClassName:y,getPopupContainer:T,autoAdjustOverflow:R,destroyTooltipOnHide:M},Pe={prefixCls:Y,color:j,allowClear:o,colorCleared:X,disabled:B,disabledAlpha:x,presets:a,panelRender:d,format:U,onFormatChange:K,onChangeComplete:Ie},_e=Object.assign(Object.assign({},D==null?void 0:D.style),g);return ne(Se.createElement(xre,Object.assign({style:C==null?void 0:C.popup,overlayInnerStyle:C==null?void 0:C.popupOverlayInner,onOpenChange:ce=>{le.current&&!B&&W(ce)},content:Se.createElement(c4,{override:!0,status:!0},Se.createElement(WOt,Object.assign({},Pe,{onChange:ve,onChangeComplete:Ie,onClear:ke}))),overlayClassName:he},Oe),l||Se.createElement(UOt,Object.assign({open:V,className:be,style:_e,color:t?$l(t):j,prefixCls:Y,disabled:B,colorCleared:X,showText:p,format:U},A))))},r8t=fC(sie,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));sie._InternalPanelDoNotUseOrYouWillBeFired=r8t;const qze=sie;var i8t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const o8t=i8t;var a8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:o8t}))};const Vze=_.forwardRef(a8t);var l8t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const s8t=l8t;var c8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:s8t}))};const Uze=_.forwardRef(c8t);var u8t={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const d8t=u8t;var f8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:d8t}))};const p8t=_.forwardRef(f8t);function h8t(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function g8t(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function cie(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function Gze(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=Cre(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[_.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),i]}function m8t(e){return _.createElement(Ei,Object.assign({size:"small",type:"primary"},e))}function Kze(e){return _.useMemo(()=>Object.assign({button:m8t},e),[e])}var v8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var i;const{prefixCls:o,getPopupContainer:a,components:l,className:s,style:u,placement:c,size:f,disabled:h,bordered:d=!0,placeholder:p,popupClassName:g,dropdownClassName:m,status:v,rootClassName:y,variant:b}=n,C=v8t(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant"]),x=_.useRef(null),{getPrefixCls:S,direction:w,getPopupContainer:O,rangePicker:$}=_.useContext(on),P=S("picker",o),{compactSize:T,compactItemClassnames:R}=Ih(P,w),{picker:M}=n,A=S(),[N,k]=Dy(b,d),D=di(P),[L,B,j]=BLe(P,D),[z]=Gze(n,P),V=Kze(l),W=Go(re=>{var oe;return(oe=f??T)!==null&&oe!==void 0?oe:re}),U=_.useContext(es),K=h??U,X=_.useContext(la),{hasFeedback:G,status:Y,feedbackIcon:J}=X,ee=_.createElement(_.Fragment,null,M==="time"?_.createElement(Uze,null):_.createElement(Vze,null),G&&J);_.useImperativeHandle(r,()=>x.current);const[Q]=xu("Calendar",HE),te=Object.assign(Object.assign({},Q),n.locale),[ne]=Hf("DatePicker",(i=n.popupStyle)===null||i===void 0?void 0:i.zIndex);return L(_.createElement(fh,null,_.createElement($Le,Object.assign({separator:_.createElement("span",{"aria-label":"to",className:`${P}-separator`},_.createElement(p8t,null)),disabled:K,ref:x,popupAlign:cie(w,c),placeholder:g8t(te,M,p),suffixIcon:ee,prevIcon:_.createElement("span",{className:`${P}-prev-icon`}),nextIcon:_.createElement("span",{className:`${P}-next-icon`}),superPrevIcon:_.createElement("span",{className:`${P}-super-prev-icon`}),superNextIcon:_.createElement("span",{className:`${P}-super-next-icon`}),transitionName:`${A}-slide-up`},C,{className:Re({[`${P}-${W}`]:W,[`${P}-${N}`]:k},jf(P,jy(Y,v),G),B,R,s,$==null?void 0:$.className,j,D,y),style:Object.assign(Object.assign({},$==null?void 0:$.style),u),locale:te.lang,prefixCls:P,getPopupContainer:a||O,generateConfig:e,components:V,direction:w,classNames:{popup:Re(B,g||m,j,D,y)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ne})},allowClear:z}))))})}var b8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var p;const{prefixCls:g,getPopupContainer:m,components:v,style:y,className:b,rootClassName:C,size:x,bordered:S,placement:w,placeholder:O,popupClassName:$,dropdownClassName:P,disabled:T,status:R,variant:M}=h,A=b8t(h,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant"]),{getPrefixCls:N,direction:k,getPopupContainer:D,[c]:L}=_.useContext(on),B=N("picker",g),{compactSize:j,compactItemClassnames:z}=Ih(B,k),V=_.useRef(null),[W,U]=Dy(M,S),K=di(B),[X,G,Y]=BLe(B,K);_.useImperativeHandle(d,()=>V.current);const J={showToday:!0},ee=s||h.picker,Q=N(),[te,ne]=Gze(h,B),re=Kze(v),oe=Go(_e=>{var ce;return(ce=x??j)!==null&&ce!==void 0?ce:_e}),se=_.useContext(es),ye=T??se,be=_.useContext(la),{hasFeedback:he,status:le,feedbackIcon:ve}=be,ke=_.createElement(_.Fragment,null,ee==="time"?_.createElement(Uze,null):_.createElement(Vze,null),he&&ve),[Ie]=xu("DatePicker",HE),Oe=Object.assign(Object.assign({},Ie),h.locale),[Pe]=Hf("DatePicker",(p=h.popupStyle)===null||p===void 0?void 0:p.zIndex);return X(_.createElement(fh,null,_.createElement(dQ,Object.assign({ref:V,placeholder:h8t(Oe,ee,O),suffixIcon:ke,dropdownAlign:cie(k,w),prevIcon:_.createElement("span",{className:`${B}-prev-icon`}),nextIcon:_.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:_.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:_.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${Q}-slide-up`,picker:s},J,A,{locale:Oe.lang,className:Re({[`${B}-${oe}`]:oe,[`${B}-${W}`]:U},jf(B,jy(le,R),he),G,z,L==null?void 0:L.className,b,Y,K,C),style:Object.assign(Object.assign({},L==null?void 0:L.style),y),prefixCls:B,getPopupContainer:m||D,generateConfig:e,components:re,direction:k,disabled:ye,classNames:{popup:Re(G,Y,K,C,$||P)},styles:{popup:Object.assign(Object.assign({},h.popupStyle),{zIndex:Pe})},allowClear:te,removeIcon:ne}))))})}const n=t(),r=t("week","WeekPicker"),i=t("month","MonthPicker"),o=t("year","YearPicker"),a=t("time","TimePicker"),l=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l}}function Xze(e){const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:o,QuarterPicker:a}=C8t(e),l=y8t(e),s=t;return s.WeekPicker=n,s.MonthPicker=r,s.YearPicker=i,s.RangePicker=l,s.TimePicker=o,s.QuarterPicker=a,s}const bC=Xze(JDe);function Yze(e){const t=cie(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const S8t=fC(bC,"picker",null,Yze);bC._InternalPanelDoNotUseOrYouWillBeFired=S8t;const x8t=fC(bC.RangePicker,"picker",null,Yze);bC._InternalRangePanelDoNotUseOrYouWillBeFired=x8t;bC.generatePicker=Xze;const _8t=bC;var t0e=_.createContext(null),Zze=_.createContext({}),w8t=function(t){var n=t.prefixCls,r=t.className,i=t.style,o=t.children,a=t.containerRef,l=t.id,s=t.onMouseEnter,u=t.onMouseOver,c=t.onMouseLeave,f=t.onClick,h=t.onKeyDown,d=t.onKeyUp,p={onMouseEnter:s,onMouseOver:u,onMouseLeave:c,onClick:f,onKeyDown:h,onKeyUp:d},g=_.useContext(Zze),m=g.panel,v=Pd(m,a);return _.createElement(_.Fragment,null,_.createElement("div",Qe({id:l,className:Re("".concat(n,"-content"),r),style:fe({},i),"aria-modal":"true",role:"dialog",ref:v},p),o))};function n0e(e){return typeof e=="string"&&String(Number(e))===e?(Dr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var r0e={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function O8t(e,t){var n,r,i,o=e.prefixCls,a=e.open,l=e.placement,s=e.inline,u=e.push,c=e.forceRender,f=e.autoFocus,h=e.keyboard,d=e.classNames,p=e.rootClassName,g=e.rootStyle,m=e.zIndex,v=e.className,y=e.id,b=e.style,C=e.motion,x=e.width,S=e.height,w=e.children,O=e.mask,$=e.maskClosable,P=e.maskMotion,T=e.maskClassName,R=e.maskStyle,M=e.afterOpenChange,A=e.onClose,N=e.onMouseEnter,k=e.onMouseOver,D=e.onMouseLeave,L=e.onClick,B=e.onKeyDown,j=e.onKeyUp,z=e.styles,V=_.useRef(),W=_.useRef(),U=_.useRef();_.useImperativeHandle(t,function(){return V.current});var K=function(ve){var ke=ve.keyCode,Ie=ve.shiftKey;switch(ke){case ht.TAB:{if(ke===ht.TAB){if(!Ie&&document.activeElement===U.current){var Oe;(Oe=W.current)===null||Oe===void 0||Oe.focus({preventScroll:!0})}else if(Ie&&document.activeElement===W.current){var Pe;(Pe=U.current)===null||Pe===void 0||Pe.focus({preventScroll:!0})}}break}case ht.ESC:{A&&h&&(ve.stopPropagation(),A(ve));break}}};_.useEffect(function(){if(a&&f){var le;(le=V.current)===null||le===void 0||le.focus({preventScroll:!0})}},[a]);var X=_.useState(!1),G=Me(X,2),Y=G[0],J=G[1],ee=_.useContext(t0e),Q;u===!1?Q={distance:0}:u===!0?Q={}:Q=u||{};var te=(n=(r=(i=Q)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:ee==null?void 0:ee.pushDistance)!==null&&n!==void 0?n:180,ne=_.useMemo(function(){return{pushDistance:te,push:function(){J(!0)},pull:function(){J(!1)}}},[te]);_.useEffect(function(){if(a){var le;ee==null||(le=ee.push)===null||le===void 0||le.call(ee)}else{var ve;ee==null||(ve=ee.pull)===null||ve===void 0||ve.call(ee)}},[a]),_.useEffect(function(){return function(){var le;ee==null||(le=ee.pull)===null||le===void 0||le.call(ee)}},[]);var re=O&&_.createElement(aa,Qe({key:"mask"},P,{visible:a}),function(le,ve){var ke=le.className,Ie=le.style;return _.createElement("div",{className:Re("".concat(o,"-mask"),ke,d==null?void 0:d.mask,T),style:fe(fe(fe({},Ie),R),z==null?void 0:z.mask),onClick:$&&a?A:void 0,ref:ve})}),oe=typeof C=="function"?C(l):C,se={};if(Y&&te)switch(l){case"top":se.transform="translateY(".concat(te,"px)");break;case"bottom":se.transform="translateY(".concat(-te,"px)");break;case"left":se.transform="translateX(".concat(te,"px)");break;default:se.transform="translateX(".concat(-te,"px)");break}l==="left"||l==="right"?se.width=n0e(x):se.height=n0e(S);var ye={onMouseEnter:N,onMouseOver:k,onMouseLeave:D,onClick:L,onKeyDown:B,onKeyUp:j},be=_.createElement(aa,Qe({key:"panel"},oe,{visible:a,forceRender:c,onVisibleChanged:function(ve){M==null||M(ve)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(le,ve){var ke=le.className,Ie=le.style;return _.createElement("div",Qe({className:Re("".concat(o,"-content-wrapper"),d==null?void 0:d.wrapper,ke),style:fe(fe(fe({},se),Ie),z==null?void 0:z.wrapper)},qo(e,{data:!0})),_.createElement(w8t,Qe({id:y,containerRef:ve,prefixCls:o,className:Re(v,d==null?void 0:d.content),style:fe(fe({},b),z==null?void 0:z.content)},ye),w))}),he=fe({},g);return m&&(he.zIndex=m),_.createElement(t0e.Provider,{value:ne},_.createElement("div",{className:Re(o,"".concat(o,"-").concat(l),p,ue(ue({},"".concat(o,"-open"),a),"".concat(o,"-inline"),s)),style:he,tabIndex:-1,ref:V,onKeyDown:K},re,_.createElement("div",{tabIndex:0,ref:W,style:r0e,"aria-hidden":"true","data-sentinel":"start"}),be,_.createElement("div",{tabIndex:0,ref:U,style:r0e,"aria-hidden":"true","data-sentinel":"end"})))}var E8t=_.forwardRef(O8t),$8t=function(t){var n=t.open,r=n===void 0?!1:n,i=t.prefixCls,o=i===void 0?"rc-drawer":i,a=t.placement,l=a===void 0?"right":a,s=t.autoFocus,u=s===void 0?!0:s,c=t.keyboard,f=c===void 0?!0:c,h=t.width,d=h===void 0?378:h,p=t.mask,g=p===void 0?!0:p,m=t.maskClosable,v=m===void 0?!0:m,y=t.getContainer,b=t.forceRender,C=t.afterOpenChange,x=t.destroyOnClose,S=t.onMouseEnter,w=t.onMouseOver,O=t.onMouseLeave,$=t.onClick,P=t.onKeyDown,T=t.onKeyUp,R=t.panelRef,M=_.useState(!1),A=Me(M,2),N=A[0],k=A[1],D=_.useState(!1),L=Me(D,2),B=L[0],j=L[1];er(function(){j(!0)},[]);var z=B?r:!1,V=_.useRef(),W=_.useRef();er(function(){z&&(W.current=document.activeElement)},[z]);var U=function(J){var ee;if(k(J),C==null||C(J),!J&&W.current&&!((ee=V.current)!==null&&ee!==void 0&&ee.contains(W.current))){var Q;(Q=W.current)===null||Q===void 0||Q.focus({preventScroll:!0})}},K=_.useMemo(function(){return{panel:R}},[R]);if(!b&&!N&&!z&&x)return null;var X={onMouseEnter:S,onMouseOver:w,onMouseLeave:O,onClick:$,onKeyDown:P,onKeyUp:T},G=fe(fe({},t),{},{open:z,prefixCls:o,placement:l,autoFocus:u,keyboard:f,width:d,mask:g,maskClosable:v,inline:y===!1,afterOpenChange:U,ref:V},X);return _.createElement(Zze.Provider,{value:K},_.createElement(Ny,{open:z||b||N,autoDestroy:!1,getContainer:y,autoLock:g&&(z||N)},_.createElement(E8t,G)))};const P8t=Object.freeze(Object.defineProperty({__proto__:null,default:$8t},Symbol.toStringTag,{value:"Module"}));function i0e(e){return["small","middle","large"].includes(e)}function o0e(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Qze=Se.createContext({latestIndex:0}),T8t=Qze.Provider,M8t=e=>{let{className:t,index:n,children:r,split:i,style:o}=e;const{latestIndex:a}=_.useContext(Qze);return r==null?null:_.createElement(_.Fragment,null,_.createElement("div",{className:t,style:o},r),n{var n,r;const{getPrefixCls:i,space:o,direction:a}=_.useContext(on),{size:l=(o==null?void 0:o.size)||"small",align:s,className:u,rootClassName:c,children:f,direction:h="horizontal",prefixCls:d,split:p,style:g,wrap:m=!1,classNames:v,styles:y}=e,b=I8t(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,x]=Array.isArray(l)?l:[l,l],S=i0e(x),w=i0e(C),O=o0e(x),$=o0e(C),P=Wo(f,{keepEmpty:!0}),T=s===void 0&&h==="horizontal"?"center":s,R=i("space",d),[M,A,N]=Jke(R),k=Re(R,o==null?void 0:o.className,A,`${R}-${h}`,{[`${R}-rtl`]:a==="rtl",[`${R}-align-${T}`]:T,[`${R}-gap-row-${x}`]:S,[`${R}-gap-col-${C}`]:w},u,c,N),D=Re(`${R}-item`,(n=v==null?void 0:v.item)!==null&&n!==void 0?n:(r=o==null?void 0:o.classNames)===null||r===void 0?void 0:r.item);let L=0;const B=P.map((V,W)=>{var U,K;V!=null&&(L=W);const X=V&&V.key||`${D}-${W}`;return _.createElement(R8t,{className:D,key:X,index:W,split:p,style:(U=y==null?void 0:y.item)!==null&&U!==void 0?U:(K=o==null?void 0:o.styles)===null||K===void 0?void 0:K.item},V)}),j=_.useMemo(()=>({latestIndex:L}),[L]);if(P.length===0)return null;const z={};return m&&(z.flexWrap="wrap"),!w&&$&&(z.columnGap=C),!S&&O&&(z.rowGap=x),M(_.createElement("div",Object.assign({ref:t,className:k,style:Object.assign(Object.assign(Object.assign({},z),o==null?void 0:o.style),g)},b),_.createElement(T8t,{value:j},B)))}),Jze=N8t;Jze.Compact=Wgt;const CC=Jze;var A8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPopupContainer:t,getPrefixCls:n,direction:r}=_.useContext(on),{prefixCls:i,type:o="default",danger:a,disabled:l,loading:s,onClick:u,htmlType:c,children:f,className:h,menu:d,arrow:p,autoFocus:g,overlay:m,trigger:v,align:y,open:b,onOpenChange:C,placement:x,getPopupContainer:S,href:w,icon:O=_.createElement(Tre,null),title:$,buttonsRender:P=Y=>Y,mouseEnterDelay:T,mouseLeaveDelay:R,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:N,dropdownRender:k}=e,D=A8t(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),L=n("dropdown",i),B=`${L}-button`,j={menu:d,arrow:p,autoFocus:g,align:y,disabled:l,trigger:l?[]:v,onOpenChange:C,getPopupContainer:S||t,mouseEnterDelay:T,mouseLeaveDelay:R,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:N,dropdownRender:k},{compactSize:z,compactItemClassnames:V}=Ih(L,r),W=Re(B,V,h);"overlay"in e&&(j.overlay=m),"open"in e&&(j.open=b),"placement"in e?j.placement=x:j.placement=r==="rtl"?"bottomLeft":"bottomRight";const U=_.createElement(Ei,{type:o,danger:a,disabled:l,loading:s,onClick:u,htmlType:c,href:w,title:$},f),K=_.createElement(Ei,{type:o,danger:a,icon:O}),[X,G]=P([U,K]);return _.createElement(CC.Compact,Object.assign({className:W,size:z,block:!0},D),X,_.createElement(Ire,Object.assign({},j),G))};eBe.__ANT_BUTTON=!0;const k8t=eBe,tBe=Ire;tBe.Button=k8t;const nBe=tBe;function uD(e){const[t,n]=_.useState(e);return _.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const j8t=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, +`,gOt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],xV={},Bc;function mOt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&xV[n])return xV[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=gOt.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),s={sizingStyle:l,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(xV[n]=s),s}function vOt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Bc||(Bc=document.createElement("textarea"),Bc.setAttribute("tab-index","-1"),Bc.setAttribute("aria-hidden","true"),document.body.appendChild(Bc)),e.getAttribute("wrap")?Bc.setAttribute("wrap",e.getAttribute("wrap")):Bc.removeAttribute("wrap");var i=mOt(e,t),o=i.paddingSize,a=i.borderSize,l=i.boxSizing,s=i.sizingStyle;Bc.setAttribute("style","".concat(s,";").concat(hOt)),Bc.value=e.value||e.placeholder||"";var u=void 0,c=void 0,f,h=Bc.scrollHeight;if(l==="border-box"?h+=a:l==="content-box"&&(h-=o),n!==null||r!==null){Bc.value=" ";var d=Bc.scrollHeight-o;n!==null&&(u=d*n,l==="border-box"&&(u=u+o+a),h=Math.max(u,h)),r!==null&&(c=d*r,l==="border-box"&&(c=c+o+a),f=h>c?"":"hidden",h=Math.min(c,h))}var p={height:h,overflowY:f,resize:"none"};return u&&(p.minHeight=u),c&&(p.maxHeight=c),p}var yOt=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],_V=0,wV=1,OV=2,Wze=_.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var i=n.defaultValue,o=n.value,a=n.autoSize,l=n.onResize,s=n.className,u=n.style,c=n.disabled,f=n.onChange;n.onInternalAutoSize;var h=an(n,yOt),d=zn(i,{value:o,postState:function(U){return U??""}}),p=Me(d,2),g=p[0],m=p[1],v=function(U){m(U.target.value),f==null||f(U)},y=_.useRef();_.useImperativeHandle(t,function(){return{textArea:y.current}});var b=_.useMemo(function(){return a&&bn(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=Me(b,2),x=C[0],S=C[1],w=!!a,O=function(){try{if(document.activeElement===y.current){var U=y.current,K=U.selectionStart,X=U.selectionEnd,G=U.scrollTop;y.current.setSelectionRange(K,X),y.current.scrollTop=G}}catch{}},$=_.useState(OV),P=Me($,2),T=P[0],R=P[1],M=_.useState(),A=Me(M,2),N=A[0],j=A[1],D=function(){R(_V)};er(function(){w&&D()},[o,x,S,w]),er(function(){if(T===_V)R(wV);else if(T===wV){var W=vOt(y.current,!1,x,S);R(OV),j(W)}else O()},[T]);var L=_.useRef(),B=function(){rr.cancel(L.current)},k=function(U){T===OV&&(l==null||l(U),a&&(B(),L.current=rr(function(){D()})))};_.useEffect(function(){return B},[]);var z=w?N:null,q=fe(fe({},u),z);return(T===_V||T===wV)&&(q.overflowY="hidden",q.overflowX="hidden"),_.createElement(Ba,{onResize:k,disabled:!(a||l)},_.createElement("textarea",Qe({},h,{ref:y,style:q,className:Re(r,s,ue({},"".concat(r,"-disabled"),c)),disabled:c,value:g,onChange:v})))}),bOt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],sie=Se.forwardRef(function(e,t){var n,r,i=e.defaultValue,o=e.value,a=e.onFocus,l=e.onBlur,s=e.onChange,u=e.allowClear,c=e.maxLength,f=e.onCompositionStart,h=e.onCompositionEnd,d=e.suffix,p=e.prefixCls,g=p===void 0?"rc-textarea":p,m=e.showCount,v=e.count,y=e.className,b=e.style,C=e.disabled,x=e.hidden,S=e.classNames,w=e.styles,O=e.onResize,$=an(e,bOt),P=zn(i,{value:o,defaultValue:i}),T=Me(P,2),R=T[0],M=T[1],A=R==null?"":String(R),N=Se.useState(!1),j=Me(N,2),D=j[0],L=j[1],B=Se.useRef(!1),k=Se.useState(null),z=Me(k,2),q=z[0],W=z[1],U=_.useRef(null),K=function(){var Ne;return(Ne=U.current)===null||Ne===void 0?void 0:Ne.textArea},X=function(){K().focus()};_.useImperativeHandle(t,function(){return{resizableTextArea:U.current,focus:X,blur:function(){K().blur()}}}),_.useEffect(function(){L(function(Te){return!C&&Te})},[C]);var G=Se.useState(null),Y=Me(G,2),J=Y[0],ee=Y[1];Se.useEffect(function(){if(J){var Te;(Te=K()).setSelectionRange.apply(Te,vt(J))}},[J]);var Q=Lze(v,m),te=(n=Q.max)!==null&&n!==void 0?n:c,ne=Number(te)>0,re=Q.strategy(A),oe=!!te&&re>te,se=function(Ne,je){var He=je;!B.current&&Q.exceedFormatter&&Q.max&&Q.strategy(je)>Q.max&&(He=Q.exceedFormatter(je,{max:Q.max}),je!==He&&ee([K().selectionStart||0,K().selectionEnd||0])),M(He),uD(Ne.currentTarget,Ne,s,He)},ye=function(Ne){B.current=!0,f==null||f(Ne)},be=function(Ne){B.current=!1,se(Ne,Ne.currentTarget.value),h==null||h(Ne)},he=function(Ne){se(Ne,Ne.target.value)},le=function(Ne){var je=$.onPressEnter,He=$.onKeyDown;Ne.key==="Enter"&&je&&je(Ne),He==null||He(Ne)},ve=function(Ne){L(!0),a==null||a(Ne)},ke=function(Ne){L(!1),l==null||l(Ne)},Ie=function(Ne){M(""),X(),uD(K(),Ne,s)},Oe=d,Pe;Q.show&&(Q.showFormatter?Pe=Q.showFormatter({value:A,count:re,maxLength:te}):Pe="".concat(re).concat(ne?" / ".concat(te):""),Oe=Se.createElement(Se.Fragment,null,Oe,Se.createElement("span",{className:Re("".concat(g,"-data-count"),S==null?void 0:S.count),style:w==null?void 0:w.count},Pe)));var _e=function(Ne){var je;O==null||O(Ne),(je=K())!==null&&je!==void 0&&je.style.height&&W(!0)},ce=!$.autoSize&&!m&&!u;return Se.createElement(k$,{value:A,allowClear:u,handleReset:Ie,suffix:Oe,prefixCls:g,classNames:fe(fe({},S),{},{affixWrapper:Re(S==null?void 0:S.affixWrapper,(r={},ue(r,"".concat(g,"-show-count"),m),ue(r,"".concat(g,"-textarea-allow-clear"),u),r))}),disabled:C,focused:D,className:Re(y,oe&&"".concat(g,"-out-of-range")),style:fe(fe({},b),q&&!ce?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Pe=="string"?Pe:void 0}},hidden:x},Se.createElement(Wze,Qe({},$,{maxLength:c,onKeyDown:le,onChange:he,onFocus:ve,onBlur:ke,onCompositionStart:ye,onCompositionEnd:be,className:Re(S==null?void 0:S.textarea),style:fe(fe({},w==null?void 0:w.textarea),{},{resize:b==null?void 0:b.resize}),disabled:C,prefixCls:g,onResize:_e,ref:U})))});const COt=Object.freeze(Object.defineProperty({__proto__:null,ResizableTextArea:Wze,default:sie},Symbol.toStringTag,{value:"Module"}));var SOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,size:o,disabled:a,status:l,allowClear:s,classNames:u,rootClassName:c,className:f,variant:h}=e,d=SOt(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","variant"]),{getPrefixCls:p,direction:g}=_.useContext(on),m=Go(o),v=_.useContext(es),y=a??v,{status:b,hasFeedback:C,feedbackIcon:x}=_.useContext(la),S=jy(b,l),w=_.useRef(null);_.useImperativeHandle(t,()=>{var j;return{resizableTextArea:(j=w.current)===null||j===void 0?void 0:j.resizableTextArea,focus:D=>{var L,B;Zwt((B=(L=w.current)===null||L===void 0?void 0:L.resizableTextArea)===null||B===void 0?void 0:B.textArea,D)},blur:()=>{var D;return(D=w.current)===null||D===void 0?void 0:D.blur()}}});const O=p("input",r);let $;typeof s=="object"&&(s!=null&&s.clearIcon)?$=s:s&&($={clearIcon:_.createElement(Rh,null)});const P=di(O),[T,R,M]=Yre(O,P),[A,N]=Dy(h,i);return T(_.createElement(sie,Object.assign({},d,{disabled:y,allowClear:$,className:Re(M,P,f,c),classNames:Object.assign(Object.assign({},u),{textarea:Re({[`${O}-sm`]:m==="small",[`${O}-lg`]:m==="large"},R,u==null?void 0:u.textarea),variant:Re({[`${O}-${A}`]:N},jf(O,S)),affixWrapper:Re(`${O}-textarea-affix-wrapper`,{[`${O}-affix-wrapper-rtl`]:g==="rtl",[`${O}-affix-wrapper-sm`]:m==="small",[`${O}-affix-wrapper-lg`]:m==="large",[`${O}-textarea-show-count`]:e.showCount||((n=e.count)===null||n===void 0?void 0:n.show)},R)}),prefixCls:O,suffix:C&&_.createElement("span",{className:`${O}-textarea-suffix`},x),ref:w})))}),_Ot=xOt,j$=aie;j$.Group=Gwt;j$.Search=pOt;j$.TextArea=_Ot;j$.Password=uOt;const au=j$,wOt=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,X1e=e=>wOt.test(`#${e}`),OOt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-hex-input`,[o,a]=_.useState(n==null?void 0:n.toHex());_.useEffect(()=>{const s=n==null?void 0:n.toHex();X1e(s)&&n&&a(Pk(s))},[n]);const l=s=>{const u=s.target.value;a(Pk(u)),X1e(Pk(u,!0))&&(r==null||r($l(u)))};return Se.createElement(au,{className:i,value:o,prefix:"#",onChange:l,size:"small"})},EOt=OOt,$Ot=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-hsb-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=(s,u)=>{const c=o.toHsb();c[u]=u==="h"?s:(s||0)/100;const f=$l(c);n||a(f),r==null||r(f)};return Se.createElement("div",{className:i},Se.createElement(Hv,{max:360,min:0,value:Number(o.toHsb().h),prefixCls:t,className:i,formatter:s=>Tk(s||0).toString(),onChange:s=>l(Number(s),"h")}),Se.createElement(Hv,{max:100,min:0,value:Number(o.toHsb().s)*100,prefixCls:t,className:i,formatter:s=>`${Tk(s||0)}%`,onChange:s=>l(Number(s),"s")}),Se.createElement(Hv,{max:100,min:0,value:Number(o.toHsb().b)*100,prefixCls:t,className:i,formatter:s=>`${Tk(s||0)}%`,onChange:s=>l(Number(s),"b")}))},POt=$Ot,TOt=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-rgb-input`,[o,a]=_.useState($l(n||"#000"));_.useEffect(()=>{n&&a(n)},[n]);const l=(s,u)=>{const c=o.toRgb();c[u]=s||0;const f=$l(c);n||a(f),r==null||r(f)};return Se.createElement("div",{className:i},Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().r),prefixCls:t,className:i,onChange:s=>l(Number(s),"r")}),Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().g),prefixCls:t,className:i,onChange:s=>l(Number(s),"g")}),Se.createElement(Hv,{max:255,min:0,value:Number(o.toRgb().b),prefixCls:t,className:i,onChange:s=>l(Number(s),"b")}))},MOt=TOt,ROt=[Xp.hex,Xp.hsb,Xp.rgb].map(e=>({value:e,label:e.toLocaleUpperCase()})),IOt=e=>{const{prefixCls:t,format:n,value:r,disabledAlpha:i,onFormatChange:o,onChange:a}=e,[l,s]=zn(Xp.hex,{value:n,onChange:o}),u=`${t}-input`,c=h=>{s(h)},f=_.useMemo(()=>{const h={value:r,prefixCls:t,onChange:a};switch(l){case Xp.hsb:return Se.createElement(POt,Object.assign({},h));case Xp.rgb:return Se.createElement(MOt,Object.assign({},h));case Xp.hex:default:return Se.createElement(EOt,Object.assign({},h))}},[l,t,r,a]);return Se.createElement("div",{className:`${u}-container`},Se.createElement(Ps,{value:l,variant:"borderless",getPopupContainer:h=>h,popupMatchSelectWidth:68,placement:"bottomRight",onChange:c,className:`${t}-format-select`,size:"small",options:ROt}),Se.createElement("div",{className:u},f),!i&&Se.createElement(Vwt,{prefixCls:t,value:r,onChange:a}))},NOt=IOt;var AOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const e=_.useContext(Nze),{prefixCls:t,colorCleared:n,allowClear:r,value:i,disabledAlpha:o,onChange:a,onClear:l,onChangeComplete:s}=e,u=AOt(e,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return Se.createElement(Se.Fragment,null,r&&Se.createElement(kze,Object.assign({prefixCls:t,value:i,colorCleared:n,onChange:c=>{a==null||a(c),l==null||l()}},u)),Se.createElement(Ize,{prefixCls:t,value:i==null?void 0:i.toHsb(),disabledAlpha:o,onChange:(c,f)=>a==null?void 0:a(c,f,!0),onChangeComplete:s}),Se.createElement(NOt,Object.assign({value:i,onChange:a,prefixCls:t,disabledAlpha:o},u)))},Y1e=kOt,EV=e=>e.map(t=>(t.colors=t.colors.map($l),t)),jOt=(e,t)=>{const{r:n,g:r,b:i,a:o}=e.toRgb(),a=new e7(e.toRgbString()).onBackground(t).toHsv();return o<=.5?a.v>.5:n*.299+r*.587+i*.114>192},Z1e=e=>{let{label:t}=e;return`panel-${t}`},DOt=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[o]=xu("ColorPicker"),[,a]=To(),[l]=zn(EV(n),{value:EV(n),postState:EV}),s=`${t}-presets`,u=_.useMemo(()=>l.reduce((h,d)=>{const{defaultOpen:p=!0}=d;return p&&h.push(Z1e(d)),h},[]),[l]),c=h=>{i==null||i(h)},f=l.map(h=>{var d;return{key:Z1e(h),label:Se.createElement("div",{className:`${s}-label`},h==null?void 0:h.label),children:Se.createElement("div",{className:`${s}-items`},Array.isArray(h==null?void 0:h.colors)&&((d=h.colors)===null||d===void 0?void 0:d.length)>0?h.colors.map((p,g)=>Se.createElement(MB,{key:`preset-${g}-${p.toHexString()}`,color:$l(p).toRgbString(),prefixCls:t,className:Re(`${s}-color`,{[`${s}-color-checked`]:p.toHexString()===(r==null?void 0:r.toHexString()),[`${s}-color-bright`]:jOt(p,a.colorBgElevated)}),onClick:()=>c(p)})):Se.createElement("span",{className:`${s}-empty`},o.presetEmpty))}});return Se.createElement("div",{className:s},Se.createElement(G_t,{defaultActiveKey:u,ghost:!0,items:f}))},LOt=DOt,zOt=()=>{const{prefixCls:e,value:t,presets:n,onChange:r}=_.useContext(Aze);return Array.isArray(n)?Se.createElement(LOt,{value:t,presets:n,prefixCls:e,onChange:r}):null},Q1e=zOt;var BOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,presets:n,panelRender:r,color:i,onChange:o,onClear:a}=e,l=BOt(e,["prefixCls","presets","panelRender","color","onChange","onClear"]),s=`${t}-inner`,u=Object.assign({prefixCls:t,value:i,onChange:o,onClear:a},l),c=Se.useMemo(()=>({prefixCls:t,value:i,presets:n,onChange:o}),[t,i,n,o]),f=Se.createElement("div",{className:`${s}-content`},Se.createElement(Y1e,null),Array.isArray(n)&&Se.createElement(J_t,null),Se.createElement(Q1e,null));return Se.createElement(dwt,{value:u},Se.createElement(fwt,{value:c},Se.createElement("div",{className:s},typeof r=="function"?r(f,{components:{Picker:Y1e,Presets:Q1e}}):f)))},HOt=FOt;var WOt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{color:n,prefixCls:r,open:i,colorCleared:o,disabled:a,format:l,className:s,showText:u}=e,c=WOt(e,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),f=`${r}-trigger`,h=_.useMemo(()=>o?Se.createElement(kze,{prefixCls:r}):Se.createElement(MB,{prefixCls:r,color:n.toRgbString()}),[n,o,r]),d=()=>{const g=n.toHexString().toUpperCase(),m=cD(n);switch(l){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();case"hex":default:return m<100?`${g.slice(0,7)},${m}%`:g}},p=()=>{if(typeof u=="function")return u(n);if(u)return d()};return Se.createElement("div",Object.assign({ref:t,className:Re(f,s,{[`${f}-active`]:i,[`${f}-disabled`]:a})},c),h,u&&Se.createElement("div",{className:`${f}-text`},p()))}),VOt=qOt;function J1e(e){return e!==void 0}const UOt=(e,t)=>{const{defaultValue:n,value:r}=t,[i,o]=_.useState(()=>{let a;return J1e(r)?a=r:J1e(n)?a=n:a=e,$l(a||"")});return _.useEffect(()=>{r&&o($l(r))},[r]),[i,o]},qze=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),e0e=(e,t)=>{const{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:i,lineWidth:o,colorFillSecondary:a}=e;return{[`${n}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:i},qze("50%",e.colorFillSecondary)),{[`${n}-color-block-inner`]:{width:"100%",height:"100%",border:`${xe(o)} solid ${a}`,borderRadius:"inherit"}})}},GOt=e=>{const{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:i,colorPickerAlphaInputWidth:o,marginXXS:a,paddingXXS:l,controlHeightSM:s,marginXS:u,fontSizeIcon:c,paddingXS:f,colorTextPlaceholder:h,colorPickerInputNumberHandleWidth:d,lineWidth:p}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${n}-input-number`]:{fontSize:r,lineHeight:i,[`${n}-input-number-input`]:{paddingInlineStart:l,paddingInlineEnd:0},[`${n}-input-number-handler-wrap`]:{width:d}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${xe(o)}`,marginInlineStart:a},[`${t}-format-select${n}-select`]:{marginInlineEnd:u,width:"auto","&-single":{[`${n}-select-selector`]:{padding:0,border:0},[`${n}-select-arrow`]:{insetInlineEnd:0},[`${n}-select-selection-item`]:{paddingInlineEnd:e.calc(c).add(a).equal(),fontSize:r,lineHeight:`${xe(s)}`},[`${n}-select-item-option-content`]:{fontSize:r,lineHeight:i},[`${n}-select-dropdown`]:{[`${n}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:`0 ${xe(f)}`,[`${n}-input`]:{fontSize:r,textTransform:"uppercase",lineHeight:xe(e.calc(s).sub(e.calc(p).mul(2)).equal())},[`${n}-input-prefix`]:{color:h}}}}}},KOt=e=>{const{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:i,marginSM:o,colorBgElevated:a,colorFillSecondary:l,lineWidthBold:s,colorPickerHandlerSize:u,colorPickerHandlerSizeSM:c,colorPickerSliderHeight:f}=e;return{[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:i,inset:0},marginBottom:o},[`${t}-handler`]:{width:u,height:u,border:`${xe(s)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${i}, 0 0 0 1px ${l}`,"&-sm":{width:c,height:c}},[`${t}-slider`]:{borderRadius:e.calc(f).div(2).equal(),[`${t}-palette`]:{height:f},[`${t}-gradient`]:{borderRadius:e.calc(f).div(2).equal(),boxShadow:i},"&-alpha":qze(`${xe(f)}`,e.colorFillSecondary),"&-hue":{marginBottom:o}},[`${t}-slider-container`]:{display:"flex",gap:o,marginBottom:o,[`${t}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${t}-slider`]:{flex:1,marginBottom:0}}}}}},XOt=e=>{const{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:i,colorPickerPresetColorSize:o,fontSizeSM:a,colorText:l,lineHeightSM:s,lineWidth:u,borderRadius:c,colorFill:f,colorWhite:h,marginXXS:d,paddingXS:p,fontHeightSM:g}=e;return{[`${t}-presets`]:{[`${n}-collapse-item > ${n}-collapse-header`]:{padding:0,[`${n}-collapse-expand-icon`]:{height:g,color:r,paddingInlineEnd:i}},[`${n}-collapse`]:{display:"flex",flexDirection:"column",gap:d},[`${n}-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:`${xe(p)} 0`},"&-label":{fontSize:a,color:l,lineHeight:s},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(d).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:o,height:o,"&::before":{content:'""',pointerEvents:"none",width:e.calc(o).add(e.calc(u).mul(4)).equal(),height:e.calc(o).add(e.calc(u).mul(4)).equal(),position:"absolute",top:e.calc(u).mul(-2).equal(),insetInlineStart:e.calc(u).mul(-2).equal(),borderRadius:c,border:`${xe(u)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:f},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(o).div(13).mul(5).equal(),height:e.calc(o).div(13).mul(8).equal(),border:`${xe(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:h,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}},yQ=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${xe(e.controlOutlineWidth)} ${n}`,outline:0}),YOt=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},t0e=(e,t,n)=>{const{componentCls:r,borderRadiusSM:i,lineWidth:o,colorSplit:a,red6:l}=e;return{[`${r}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:i,border:`${xe(o)} solid ${a}`,position:"relative",overflow:"hidden"},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:o,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:l}})}},ZOt=e=>{const{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:i,colorWarningHover:o,colorErrorOutline:a,colorWarningOutline:l}=e;return{[`&${t}-status-error`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},yQ(e,n,a))},[`&${t}-status-warning`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},yQ(e,r,l))}}},QOt=e=>{const{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:i,controlHeightXS:o,borderRadius:a,borderRadiusSM:l,borderRadiusXS:s,borderRadiusLG:u,fontSizeLG:c}=e;return{[`&${t}-lg`]:{minWidth:n,height:n,borderRadius:u,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:a},[`${t}-trigger-text`]:{fontSize:c}},[`&${t}-sm`]:{minWidth:r,height:r,borderRadius:l,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:s}}}},JOt=e=>{const{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:i,motionDurationMid:o,colorBgElevated:a,colorTextDisabled:l,colorText:s,colorBgContainerDisabled:u,borderRadius:c,marginXS:f,marginSM:h,controlHeight:d,controlHeightSM:p,colorBgTextActive:g,colorPickerPresetColorSize:m,colorPickerPreviewSize:v,lineWidth:y,colorBorder:b,paddingXXS:C,fontSize:x,colorPrimaryHover:S,controlOutline:w}=e;return[{[n]:Object.assign({[`${n}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,[`& > ${t}-divider`]:{margin:`${xe(h)} 0 ${xe(f)}`}},[`${n}-panel`]:Object.assign({},KOt(e))},e0e(e,v)),GOt(e)),XOt(e)),t0e(e,m,{marginInlineStart:"auto",marginBottom:f})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:d,height:d,borderRadius:c,border:`${xe(y)} solid ${b}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${o}`,background:a,padding:e.calc(C).sub(y).equal(),[`${n}-trigger-text`]:{marginInlineStart:f,marginInlineEnd:e.calc(f).sub(e.calc(C).sub(y)).equal(),fontSize:x,color:s},"&:hover":{borderColor:S},[`&${n}-trigger-active`]:Object.assign({},yQ(e,i,w)),"&-disabled":{color:l,background:u,cursor:"not-allowed","&:hover":{borderColor:g},[`${n}-trigger-text`]:{color:l}}},t0e(e,p)),e0e(e,p)),ZOt(e)),QOt(e))},YOt(e))}]},e8t=vr("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:n}=e,r=8,i=Wn(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()});return[JOt(i)]});var t8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:t,defaultValue:n,format:r,defaultFormat:i,allowClear:o=!1,presets:a,children:l,trigger:s="click",open:u,disabled:c,placement:f="bottomLeft",arrow:h=!0,panelRender:d,showText:p,style:g,className:m,size:v,rootClassName:y,prefixCls:b,styles:C,disabledAlpha:x=!1,onFormatChange:S,onChange:w,onClear:O,onOpenChange:$,onChangeComplete:P,getPopupContainer:T,autoAdjustOverflow:R=!0,destroyTooltipOnHide:M}=e,A=t8t(e,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:N,direction:j,colorPicker:D}=_.useContext(on),L=_.useContext(es),B=c??L,[k,z]=UOt("",{value:t,defaultValue:n}),[q,W]=zn(!1,{value:u,postState:ce=>!B&&ce,onChange:$}),[U,K]=zn(r,{value:r,defaultValue:i,onChange:S}),[X,G]=_.useState(!t&&!n),Y=N("color-picker",b),J=_.useMemo(()=>cD(k)<100,[k]),{status:ee}=Se.useContext(la),Q=Go(v),te=di(Y),[ne,re,oe]=e8t(Y,te),se={[`${Y}-rtl`]:j},ye=Re(y,oe,te,se),be=Re(jf(Y,ee),{[`${Y}-sm`]:Q==="small",[`${Y}-lg`]:Q==="large"},D==null?void 0:D.className,ye,m,re),he=Re(Y,ye),le=_.useRef(!0),ve=(ce,Te,Ne)=>{let je=$l(ce);(X||(t===null||!t&&n===null))&&(G(!1),cD(k)===0&&Te!=="alpha"&&(je=SV(je))),x&&J&&(je=SV(je)),Ne?le.current=!1:P==null||P(je),z(je),w==null||w(je,je.toHexString())},ke=()=>{G(!0),O==null||O()},Ie=ce=>{le.current=!0;let Te=$l(ce);x&&J&&(Te=SV(ce)),P==null||P(Te)},Oe={open:q,trigger:s,placement:f,arrow:h,rootClassName:y,getPopupContainer:T,autoAdjustOverflow:R,destroyTooltipOnHide:M},Pe={prefixCls:Y,color:k,allowClear:o,colorCleared:X,disabled:B,disabledAlpha:x,presets:a,panelRender:d,format:U,onFormatChange:K,onChangeComplete:Ie},_e=Object.assign(Object.assign({},D==null?void 0:D.style),g);return ne(Se.createElement(wre,Object.assign({style:C==null?void 0:C.popup,overlayInnerStyle:C==null?void 0:C.popupOverlayInner,onOpenChange:ce=>{le.current&&!B&&W(ce)},content:Se.createElement(c4,{override:!0,status:!0},Se.createElement(HOt,Object.assign({},Pe,{onChange:ve,onChangeComplete:Ie,onClear:ke}))),overlayClassName:he},Oe),l||Se.createElement(VOt,Object.assign({open:q,className:be,style:_e,color:t?$l(t):k,prefixCls:Y,disabled:B,colorCleared:X,showText:p,format:U},A))))},n8t=fC(cie,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));cie._InternalPanelDoNotUseOrYouWillBeFired=n8t;const Vze=cie;var r8t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};const i8t=r8t;var o8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:i8t}))};const Uze=_.forwardRef(o8t);var a8t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};const l8t=a8t;var s8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:l8t}))};const Gze=_.forwardRef(s8t);var c8t={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};const u8t=c8t;var d8t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:u8t}))};const f8t=_.forwardRef(d8t);function p8t(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function h8t(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function uie(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function Kze(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=xre(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[_.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),i]}function g8t(e){return _.createElement(Ei,Object.assign({size:"small",type:"primary"},e))}function Xze(e){return _.useMemo(()=>Object.assign({button:g8t},e),[e])}var m8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var i;const{prefixCls:o,getPopupContainer:a,components:l,className:s,style:u,placement:c,size:f,disabled:h,bordered:d=!0,placeholder:p,popupClassName:g,dropdownClassName:m,status:v,rootClassName:y,variant:b}=n,C=m8t(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant"]),x=_.useRef(null),{getPrefixCls:S,direction:w,getPopupContainer:O,rangePicker:$}=_.useContext(on),P=S("picker",o),{compactSize:T,compactItemClassnames:R}=Ih(P,w),{picker:M}=n,A=S(),[N,j]=Dy(b,d),D=di(P),[L,B,k]=BLe(P,D),[z]=Kze(n,P),q=Xze(l),W=Go(re=>{var oe;return(oe=f??T)!==null&&oe!==void 0?oe:re}),U=_.useContext(es),K=h??U,X=_.useContext(la),{hasFeedback:G,status:Y,feedbackIcon:J}=X,ee=_.createElement(_.Fragment,null,M==="time"?_.createElement(Gze,null):_.createElement(Uze,null),G&&J);_.useImperativeHandle(r,()=>x.current);const[Q]=xu("Calendar",WE),te=Object.assign(Object.assign({},Q),n.locale),[ne]=Hf("DatePicker",(i=n.popupStyle)===null||i===void 0?void 0:i.zIndex);return L(_.createElement(fh,null,_.createElement($Le,Object.assign({separator:_.createElement("span",{"aria-label":"to",className:`${P}-separator`},_.createElement(f8t,null)),disabled:K,ref:x,popupAlign:uie(w,c),placeholder:h8t(te,M,p),suffixIcon:ee,prevIcon:_.createElement("span",{className:`${P}-prev-icon`}),nextIcon:_.createElement("span",{className:`${P}-next-icon`}),superPrevIcon:_.createElement("span",{className:`${P}-super-prev-icon`}),superNextIcon:_.createElement("span",{className:`${P}-super-next-icon`}),transitionName:`${A}-slide-up`},C,{className:Re({[`${P}-${W}`]:W,[`${P}-${N}`]:j},jf(P,jy(Y,v),G),B,R,s,$==null?void 0:$.className,k,D,y),style:Object.assign(Object.assign({},$==null?void 0:$.style),u),locale:te.lang,prefixCls:P,getPopupContainer:a||O,generateConfig:e,components:q,direction:w,classNames:{popup:Re(B,g||m,k,D,y)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:ne})},allowClear:z}))))})}var y8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var p;const{prefixCls:g,getPopupContainer:m,components:v,style:y,className:b,rootClassName:C,size:x,bordered:S,placement:w,placeholder:O,popupClassName:$,dropdownClassName:P,disabled:T,status:R,variant:M}=h,A=y8t(h,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant"]),{getPrefixCls:N,direction:j,getPopupContainer:D,[c]:L}=_.useContext(on),B=N("picker",g),{compactSize:k,compactItemClassnames:z}=Ih(B,j),q=_.useRef(null),[W,U]=Dy(M,S),K=di(B),[X,G,Y]=BLe(B,K);_.useImperativeHandle(d,()=>q.current);const J={showToday:!0},ee=s||h.picker,Q=N(),[te,ne]=Kze(h,B),re=Xze(v),oe=Go(_e=>{var ce;return(ce=x??k)!==null&&ce!==void 0?ce:_e}),se=_.useContext(es),ye=T??se,be=_.useContext(la),{hasFeedback:he,status:le,feedbackIcon:ve}=be,ke=_.createElement(_.Fragment,null,ee==="time"?_.createElement(Gze,null):_.createElement(Uze,null),he&&ve),[Ie]=xu("DatePicker",WE),Oe=Object.assign(Object.assign({},Ie),h.locale),[Pe]=Hf("DatePicker",(p=h.popupStyle)===null||p===void 0?void 0:p.zIndex);return X(_.createElement(fh,null,_.createElement(fQ,Object.assign({ref:q,placeholder:p8t(Oe,ee,O),suffixIcon:ke,dropdownAlign:uie(j,w),prevIcon:_.createElement("span",{className:`${B}-prev-icon`}),nextIcon:_.createElement("span",{className:`${B}-next-icon`}),superPrevIcon:_.createElement("span",{className:`${B}-super-prev-icon`}),superNextIcon:_.createElement("span",{className:`${B}-super-next-icon`}),transitionName:`${Q}-slide-up`,picker:s},J,A,{locale:Oe.lang,className:Re({[`${B}-${oe}`]:oe,[`${B}-${W}`]:U},jf(B,jy(le,R),he),G,z,L==null?void 0:L.className,b,Y,K,C),style:Object.assign(Object.assign({},L==null?void 0:L.style),y),prefixCls:B,getPopupContainer:m||D,generateConfig:e,components:re,direction:j,disabled:ye,classNames:{popup:Re(G,Y,K,C,$||P)},styles:{popup:Object.assign(Object.assign({},h.popupStyle),{zIndex:Pe})},allowClear:te,removeIcon:ne}))))})}const n=t(),r=t("week","WeekPicker"),i=t("month","MonthPicker"),o=t("year","YearPicker"),a=t("time","TimePicker"),l=t("quarter","QuarterPicker");return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a,QuarterPicker:l}}function Yze(e){const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:o,QuarterPicker:a}=b8t(e),l=v8t(e),s=t;return s.WeekPicker=n,s.MonthPicker=r,s.YearPicker=i,s.RangePicker=l,s.TimePicker=o,s.QuarterPicker=a,s}const bC=Yze(JDe);function Zze(e){const t=uie(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const C8t=fC(bC,"picker",null,Zze);bC._InternalPanelDoNotUseOrYouWillBeFired=C8t;const S8t=fC(bC.RangePicker,"picker",null,Zze);bC._InternalRangePanelDoNotUseOrYouWillBeFired=S8t;bC.generatePicker=Yze;const x8t=bC;var n0e=_.createContext(null),Qze=_.createContext({}),_8t=function(t){var n=t.prefixCls,r=t.className,i=t.style,o=t.children,a=t.containerRef,l=t.id,s=t.onMouseEnter,u=t.onMouseOver,c=t.onMouseLeave,f=t.onClick,h=t.onKeyDown,d=t.onKeyUp,p={onMouseEnter:s,onMouseOver:u,onMouseLeave:c,onClick:f,onKeyDown:h,onKeyUp:d},g=_.useContext(Qze),m=g.panel,v=Pd(m,a);return _.createElement(_.Fragment,null,_.createElement("div",Qe({id:l,className:Re("".concat(n,"-content"),r),style:fe({},i),"aria-modal":"true",role:"dialog",ref:v},p),o))};function r0e(e){return typeof e=="string"&&String(Number(e))===e?(Dr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var i0e={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function w8t(e,t){var n,r,i,o=e.prefixCls,a=e.open,l=e.placement,s=e.inline,u=e.push,c=e.forceRender,f=e.autoFocus,h=e.keyboard,d=e.classNames,p=e.rootClassName,g=e.rootStyle,m=e.zIndex,v=e.className,y=e.id,b=e.style,C=e.motion,x=e.width,S=e.height,w=e.children,O=e.mask,$=e.maskClosable,P=e.maskMotion,T=e.maskClassName,R=e.maskStyle,M=e.afterOpenChange,A=e.onClose,N=e.onMouseEnter,j=e.onMouseOver,D=e.onMouseLeave,L=e.onClick,B=e.onKeyDown,k=e.onKeyUp,z=e.styles,q=_.useRef(),W=_.useRef(),U=_.useRef();_.useImperativeHandle(t,function(){return q.current});var K=function(ve){var ke=ve.keyCode,Ie=ve.shiftKey;switch(ke){case ht.TAB:{if(ke===ht.TAB){if(!Ie&&document.activeElement===U.current){var Oe;(Oe=W.current)===null||Oe===void 0||Oe.focus({preventScroll:!0})}else if(Ie&&document.activeElement===W.current){var Pe;(Pe=U.current)===null||Pe===void 0||Pe.focus({preventScroll:!0})}}break}case ht.ESC:{A&&h&&(ve.stopPropagation(),A(ve));break}}};_.useEffect(function(){if(a&&f){var le;(le=q.current)===null||le===void 0||le.focus({preventScroll:!0})}},[a]);var X=_.useState(!1),G=Me(X,2),Y=G[0],J=G[1],ee=_.useContext(n0e),Q;u===!1?Q={distance:0}:u===!0?Q={}:Q=u||{};var te=(n=(r=(i=Q)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:ee==null?void 0:ee.pushDistance)!==null&&n!==void 0?n:180,ne=_.useMemo(function(){return{pushDistance:te,push:function(){J(!0)},pull:function(){J(!1)}}},[te]);_.useEffect(function(){if(a){var le;ee==null||(le=ee.push)===null||le===void 0||le.call(ee)}else{var ve;ee==null||(ve=ee.pull)===null||ve===void 0||ve.call(ee)}},[a]),_.useEffect(function(){return function(){var le;ee==null||(le=ee.pull)===null||le===void 0||le.call(ee)}},[]);var re=O&&_.createElement(aa,Qe({key:"mask"},P,{visible:a}),function(le,ve){var ke=le.className,Ie=le.style;return _.createElement("div",{className:Re("".concat(o,"-mask"),ke,d==null?void 0:d.mask,T),style:fe(fe(fe({},Ie),R),z==null?void 0:z.mask),onClick:$&&a?A:void 0,ref:ve})}),oe=typeof C=="function"?C(l):C,se={};if(Y&&te)switch(l){case"top":se.transform="translateY(".concat(te,"px)");break;case"bottom":se.transform="translateY(".concat(-te,"px)");break;case"left":se.transform="translateX(".concat(te,"px)");break;default:se.transform="translateX(".concat(-te,"px)");break}l==="left"||l==="right"?se.width=r0e(x):se.height=r0e(S);var ye={onMouseEnter:N,onMouseOver:j,onMouseLeave:D,onClick:L,onKeyDown:B,onKeyUp:k},be=_.createElement(aa,Qe({key:"panel"},oe,{visible:a,forceRender:c,onVisibleChanged:function(ve){M==null||M(ve)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(le,ve){var ke=le.className,Ie=le.style;return _.createElement("div",Qe({className:Re("".concat(o,"-content-wrapper"),d==null?void 0:d.wrapper,ke),style:fe(fe(fe({},se),Ie),z==null?void 0:z.wrapper)},qo(e,{data:!0})),_.createElement(_8t,Qe({id:y,containerRef:ve,prefixCls:o,className:Re(v,d==null?void 0:d.content),style:fe(fe({},b),z==null?void 0:z.content)},ye),w))}),he=fe({},g);return m&&(he.zIndex=m),_.createElement(n0e.Provider,{value:ne},_.createElement("div",{className:Re(o,"".concat(o,"-").concat(l),p,ue(ue({},"".concat(o,"-open"),a),"".concat(o,"-inline"),s)),style:he,tabIndex:-1,ref:q,onKeyDown:K},re,_.createElement("div",{tabIndex:0,ref:W,style:i0e,"aria-hidden":"true","data-sentinel":"start"}),be,_.createElement("div",{tabIndex:0,ref:U,style:i0e,"aria-hidden":"true","data-sentinel":"end"})))}var O8t=_.forwardRef(w8t),E8t=function(t){var n=t.open,r=n===void 0?!1:n,i=t.prefixCls,o=i===void 0?"rc-drawer":i,a=t.placement,l=a===void 0?"right":a,s=t.autoFocus,u=s===void 0?!0:s,c=t.keyboard,f=c===void 0?!0:c,h=t.width,d=h===void 0?378:h,p=t.mask,g=p===void 0?!0:p,m=t.maskClosable,v=m===void 0?!0:m,y=t.getContainer,b=t.forceRender,C=t.afterOpenChange,x=t.destroyOnClose,S=t.onMouseEnter,w=t.onMouseOver,O=t.onMouseLeave,$=t.onClick,P=t.onKeyDown,T=t.onKeyUp,R=t.panelRef,M=_.useState(!1),A=Me(M,2),N=A[0],j=A[1],D=_.useState(!1),L=Me(D,2),B=L[0],k=L[1];er(function(){k(!0)},[]);var z=B?r:!1,q=_.useRef(),W=_.useRef();er(function(){z&&(W.current=document.activeElement)},[z]);var U=function(J){var ee;if(j(J),C==null||C(J),!J&&W.current&&!((ee=q.current)!==null&&ee!==void 0&&ee.contains(W.current))){var Q;(Q=W.current)===null||Q===void 0||Q.focus({preventScroll:!0})}},K=_.useMemo(function(){return{panel:R}},[R]);if(!b&&!N&&!z&&x)return null;var X={onMouseEnter:S,onMouseOver:w,onMouseLeave:O,onClick:$,onKeyDown:P,onKeyUp:T},G=fe(fe({},t),{},{open:z,prefixCls:o,placement:l,autoFocus:u,keyboard:f,width:d,mask:g,maskClosable:v,inline:y===!1,afterOpenChange:U,ref:q},X);return _.createElement(Qze.Provider,{value:K},_.createElement(Ny,{open:z||b||N,autoDestroy:!1,getContainer:y,autoLock:g&&(z||N)},_.createElement(O8t,G)))};const $8t=Object.freeze(Object.defineProperty({__proto__:null,default:E8t},Symbol.toStringTag,{value:"Module"}));function o0e(e){return["small","middle","large"].includes(e)}function a0e(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const Jze=Se.createContext({latestIndex:0}),P8t=Jze.Provider,T8t=e=>{let{className:t,index:n,children:r,split:i,style:o}=e;const{latestIndex:a}=_.useContext(Jze);return r==null?null:_.createElement(_.Fragment,null,_.createElement("div",{className:t,style:o},r),n{var n,r;const{getPrefixCls:i,space:o,direction:a}=_.useContext(on),{size:l=(o==null?void 0:o.size)||"small",align:s,className:u,rootClassName:c,children:f,direction:h="horizontal",prefixCls:d,split:p,style:g,wrap:m=!1,classNames:v,styles:y}=e,b=R8t(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,x]=Array.isArray(l)?l:[l,l],S=o0e(x),w=o0e(C),O=a0e(x),$=a0e(C),P=Wo(f,{keepEmpty:!0}),T=s===void 0&&h==="horizontal"?"center":s,R=i("space",d),[M,A,N]=Jke(R),j=Re(R,o==null?void 0:o.className,A,`${R}-${h}`,{[`${R}-rtl`]:a==="rtl",[`${R}-align-${T}`]:T,[`${R}-gap-row-${x}`]:S,[`${R}-gap-col-${C}`]:w},u,c,N),D=Re(`${R}-item`,(n=v==null?void 0:v.item)!==null&&n!==void 0?n:(r=o==null?void 0:o.classNames)===null||r===void 0?void 0:r.item);let L=0;const B=P.map((q,W)=>{var U,K;q!=null&&(L=W);const X=q&&q.key||`${D}-${W}`;return _.createElement(M8t,{className:D,key:X,index:W,split:p,style:(U=y==null?void 0:y.item)!==null&&U!==void 0?U:(K=o==null?void 0:o.styles)===null||K===void 0?void 0:K.item},q)}),k=_.useMemo(()=>({latestIndex:L}),[L]);if(P.length===0)return null;const z={};return m&&(z.flexWrap="wrap"),!w&&$&&(z.columnGap=C),!S&&O&&(z.rowGap=x),M(_.createElement("div",Object.assign({ref:t,className:j,style:Object.assign(Object.assign(Object.assign({},z),o==null?void 0:o.style),g)},b),_.createElement(P8t,{value:k},B)))}),eBe=I8t;eBe.Compact=Wgt;const CC=eBe;var N8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPopupContainer:t,getPrefixCls:n,direction:r}=_.useContext(on),{prefixCls:i,type:o="default",danger:a,disabled:l,loading:s,onClick:u,htmlType:c,children:f,className:h,menu:d,arrow:p,autoFocus:g,overlay:m,trigger:v,align:y,open:b,onOpenChange:C,placement:x,getPopupContainer:S,href:w,icon:O=_.createElement(Rre,null),title:$,buttonsRender:P=Y=>Y,mouseEnterDelay:T,mouseLeaveDelay:R,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:N,dropdownRender:j}=e,D=N8t(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),L=n("dropdown",i),B=`${L}-button`,k={menu:d,arrow:p,autoFocus:g,align:y,disabled:l,trigger:l?[]:v,onOpenChange:C,getPopupContainer:S||t,mouseEnterDelay:T,mouseLeaveDelay:R,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:N,dropdownRender:j},{compactSize:z,compactItemClassnames:q}=Ih(L,r),W=Re(B,q,h);"overlay"in e&&(k.overlay=m),"open"in e&&(k.open=b),"placement"in e?k.placement=x:k.placement=r==="rtl"?"bottomLeft":"bottomRight";const U=_.createElement(Ei,{type:o,danger:a,disabled:l,loading:s,onClick:u,htmlType:c,href:w,title:$},f),K=_.createElement(Ei,{type:o,danger:a,icon:O}),[X,G]=P([U,K]);return _.createElement(CC.Compact,Object.assign({className:W,size:z,block:!0},D),X,_.createElement(Are,Object.assign({},k),G))};tBe.__ANT_BUTTON=!0;const A8t=tBe,nBe=Are;nBe.Button=A8t;const rBe=nBe;function dD(e){const[t,n]=_.useState(e);return _.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const k8t=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, - transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},D8t=j8t,L8t=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${xe(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),a0e=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},z8t=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},sr(e)),L8t(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},a0e(e,e.controlHeightSM)),"&-large":Object.assign({},a0e(e,e.controlHeightLG))})}},B8t=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i,labelRequiredMarkColor:o,labelColor:a,labelFontSize:l,labelHeight:s,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:c,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:s,color:a,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:c},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:fre,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},F8t=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},H8t=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},M2=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),W8t=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:M2(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},q8t=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},j8t=k8t,D8t=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${xe(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),l0e=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},L8t=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},sr(e)),D8t(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},l0e(e,e.controlHeightSM)),"&-large":Object.assign({},l0e(e,e.controlHeightLG))})}},z8t=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i,labelRequiredMarkColor:o,labelColor:a,labelFontSize:l,labelHeight:s,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:c,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${i}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:s,color:a,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:c},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:hre,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},B8t=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},F8t=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},M2=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),H8t=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:M2(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},W8t=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, .${r}-col-24${n}-label, - .${r}-col-xl-24${n}-label`]:M2(e),[`@media (max-width: ${xe(e.screenXSMax)})`]:[W8t(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:M2(e)}}],[`@media (max-width: ${xe(e.screenSMMax)})`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:M2(e)}},[`@media (max-width: ${xe(e.screenMDMax)})`]:{[t]:{[`.${r}-col-md-24${n}-label`]:M2(e)}},[`@media (max-width: ${xe(e.screenLGMax)})`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:M2(e)}}}},V8t=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),rBe=(e,t)=>Wn(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),uie=vr("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=rBe(e,n);return[z8t(r),B8t(r),D8t(r),F8t(r),H8t(r),q8t(r),O$(r),fre]},V8t,{order:-1e3}),l0e=[];function EV(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const U8t=e=>{let{help:t,helpStatus:n,errors:r=l0e,warnings:i=l0e,className:o,fieldId:a,onVisibleChanged:l}=e;const{prefixCls:s}=_.useContext(ure),u=`${s}-item-explain`,c=di(s),[f,h,d]=uie(s,c),p=_.useMemo(()=>l4(s),[s]),g=uD(r),m=uD(i),v=_.useMemo(()=>t!=null?[EV(t,"help",n)]:[].concat(vt(g.map((b,C)=>EV(b,"error","error",C))),vt(m.map((b,C)=>EV(b,"warning","warning",C)))),[t,n,g,m]),y={};return a&&(y.id=`${a}_help`),f(_.createElement(aa,{motionDeadline:p.motionDeadline,motionName:`${s}-show-help`,visible:!!v.length,onVisibleChanged:l},b=>{const{className:C,style:x}=b;return _.createElement("div",Object.assign({},y,{className:Re(u,C,d,c,o,h),style:x,role:"alert"}),_.createElement(Rz,Object.assign({keys:v},l4(s),{motionName:`${s}-show-help-item`,component:!1}),S=>{const{key:w,error:O,errorStatus:$,className:P,style:T}=S;return _.createElement("div",{key:w,className:Re(P,{[`${u}-${$}`]:$}),style:T},O)}))}))},iBe=U8t,G8t=["parentNode"],K8t="form_item";function z9(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function oBe(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:G8t.includes(n)?`${K8t}_${n}`:n}function aBe(e,t,n,r,i,o){let a=r;return o!==void 0?a=o:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||i&&n.validated)&&(a="success"),a}function s0e(e){return z9(e).join("_")}function lBe(e){const[t]=qz(),n=_.useRef({}),r=_.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:i=>o=>{const a=s0e(i);o?n.current[a]=o:delete n.current[a]}},scrollToField:function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=z9(i),l=oBe(a,r.__INTERNAL__.name),s=l?document.getElementById(l):null;s&&Uke(s,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},getFieldInstance:i=>{const o=s0e(i);return n.current[o]}}),[e,t]);return[r]}var X8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=_.useContext(es),{getPrefixCls:r,direction:i,form:o}=_.useContext(on),{prefixCls:a,className:l,rootClassName:s,size:u,disabled:c=n,form:f,colon:h,labelAlign:d,labelWrap:p,labelCol:g,wrapperCol:m,hideRequiredMark:v,layout:y="horizontal",scrollToFirstError:b,requiredMark:C,onFinishFailed:x,name:S,style:w,feedbackIcons:O,variant:$}=e,P=X8t(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),T=Go(u),R=_.useContext(VAe),M=_.useMemo(()=>C!==void 0?C:v?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[v,C,o]),A=h??(o==null?void 0:o.colon),N=r("form",a),k=di(N),[D,L,B]=uie(N,k),j=Re(N,`${N}-${y}`,{[`${N}-hide-required-mark`]:M===!1,[`${N}-rtl`]:i==="rtl",[`${N}-${T}`]:T},B,k,L,o==null?void 0:o.className,l,s),[z]=lBe(f),{__INTERNAL__:V}=z;V.name=S;const W=_.useMemo(()=>({name:S,labelAlign:d,labelCol:g,labelWrap:p,wrapperCol:m,vertical:y==="vertical",colon:A,requiredMark:M,itemRef:V.itemRef,form:z,feedbackIcons:O}),[S,d,g,m,y,A,M,z,O]);_.useImperativeHandle(t,()=>z);const U=(X,G)=>{if(X){let Y={block:"nearest"};typeof X=="object"&&(Y=X),z.scrollToField(G,Y)}},K=X=>{if(x==null||x(X),X.errorFields.length){const G=X.errorFields[0].name;if(b!==void 0){U(b,G);return}o&&o.scrollToFirstError!==void 0&&U(o.scrollToFirstError,G)}};return D(_.createElement(bje.Provider,{value:$},_.createElement(qne,{disabled:c},_.createElement(y$.Provider,{value:T},_.createElement(yje,{validateMessages:R},_.createElement(hh.Provider,{value:W},_.createElement(Ay,Object.assign({id:S},P,{name:S,onFinishFailed:K,form:z,style:Object.assign(Object.assign({},o==null?void 0:o.style),w),className:j}))))))))},Z8t=_.forwardRef(Y8t);function Q8t(e){if(typeof e=="function")return e;const t=Wo(e);return t.length<=1?t[0]:t}const sBe=()=>{const{status:e,errors:t=[],warnings:n=[]}=_.useContext(la);return{status:e,errors:t,warnings:n}};sBe.Context=la;const J8t=sBe;function e9t(e){const[t,n]=_.useState(e),r=_.useRef(null),i=_.useRef([]),o=_.useRef(!1);_.useEffect(()=>(o.current=!1,()=>{o.current=!0,rr.cancel(r.current),r.current=null}),[]);function a(l){o.current||(r.current===null&&(i.current=[],r.current=rr(()=>{r.current=null,n(s=>{let u=s;return i.current.forEach(c=>{u=c(u)}),u})})),i.current.push(l))}return[t,a]}function t9t(){const{itemRef:e}=_.useContext(hh),t=_.useRef({});function n(r,i){const o=i&&typeof i=="object"&&i.ref,a=r.join("_");return(t.current.name!==a||t.current.originRef!==o)&&(t.current.name=a,t.current.originRef=o,t.current.ref=cl(e(r),o)),t.current.ref}return n}const n9t=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},r9t=Ry(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=rBe(e,n);return[n9t(r)]}),i9t=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:i,errors:o,warnings:a,_internalItemRender:l,extra:s,help:u,fieldId:c,marginBottom:f,onErrorVisibleChanged:h}=e,d=`${t}-item`,p=_.useContext(hh),g=r||p.wrapperCol||{},m=Re(`${d}-control`,g.className),v=_.useMemo(()=>Object.assign({},p),[p]);delete v.labelCol,delete v.wrapperCol;const y=_.createElement("div",{className:`${d}-control-input`},_.createElement("div",{className:`${d}-control-input-content`},i)),b=_.useMemo(()=>({prefixCls:t,status:n}),[t,n]),C=f!==null||o.length||a.length?_.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},_.createElement(ure.Provider,{value:b},_.createElement(iBe,{fieldId:c,errors:o,warnings:a,help:u,helpStatus:n,className:`${d}-explain-connected`,onVisibleChanged:h})),!!f&&_.createElement("div",{style:{width:0,height:f}})):null,x={};c&&(x.id=`${c}_extra`);const S=s?_.createElement("div",Object.assign({},x,{className:`${d}-extra`}),s):null,w=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:y,errorList:C,extra:S}):_.createElement(_.Fragment,null,y,C,S);return _.createElement(hh.Provider,{value:v},_.createElement(Bv,Object.assign({},g,{className:m}),w),_.createElement(r9t,{prefixCls:t}))},o9t=i9t;var a9t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const l9t=a9t;var s9t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:l9t}))};const die=_.forwardRef(s9t);var c9t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,label:n,htmlFor:r,labelCol:i,labelAlign:o,colon:a,required:l,requiredMark:s,tooltip:u}=e;var c;const[f]=xu("Form"),{vertical:h,labelAlign:d,labelCol:p,labelWrap:g,colon:m}=_.useContext(hh);if(!n)return null;const v=i||p||{},y=o||d,b=`${t}-item-label`,C=Re(b,y==="left"&&`${b}-left`,v.className,{[`${b}-wrap`]:!!g});let x=n;const S=a===!0||m!==!1&&a!==!1;S&&!h&&typeof n=="string"&&n.trim()!==""&&(x=n.replace(/[:|:]\s*$/,""));const O=u9t(u);if(O){const{icon:R=_.createElement(die,null)}=O,M=c9t(O,["icon"]),A=_.createElement(Ly,Object.assign({},M),_.cloneElement(R,{className:`${t}-item-tooltip`,title:"",onClick:N=>{N.preventDefault()},tabIndex:null}));x=_.createElement(_.Fragment,null,x,A)}const $=s==="optional",P=typeof s=="function";P?x=s(x,{required:!!l}):$&&!l&&(x=_.createElement(_.Fragment,null,x,_.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((c=Sc.Form)===null||c===void 0?void 0:c.optional))));const T=Re({[`${t}-item-required`]:l,[`${t}-item-required-mark-optional`]:$||P,[`${t}-item-no-colon`]:!S});return _.createElement(Bv,Object.assign({},v,{className:C}),_.createElement("label",{htmlFor:r,className:T,title:typeof n=="string"?n:""},x))},f9t=d9t,p9t={success:uC,warning:Iy,error:Rh,validating:v0};function cBe(e){let{children:t,errors:n,warnings:r,hasFeedback:i,validateStatus:o,prefixCls:a,meta:l,noStyle:s}=e;const u=`${a}-item`,{feedbackIcons:c}=_.useContext(hh),f=aBe(n,r,l,null,!!i,o),{isFormItemInput:h,status:d,hasFeedback:p,feedbackIcon:g}=_.useContext(la),m=_.useMemo(()=>{var v;let y;if(i){const C=i!==!0&&i.icons||c,x=f&&((v=C==null?void 0:C({status:f,errors:n,warnings:r}))===null||v===void 0?void 0:v[f]),S=f&&p9t[f];y=x!==!1&&S?_.createElement("span",{className:Re(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||_.createElement(S,null)):null}const b={status:f||"",errors:n,warnings:r,hasFeedback:!!i,feedbackIcon:y,isFormItemInput:!0};return s&&(b.status=(f??d)||"",b.isFormItemInput=h,b.hasFeedback=!!(i??p),b.feedbackIcon=i!==void 0?b.feedbackIcon:g),b},[f,i,s,h,d]);return _.createElement(la.Provider,{value:m},t)}var h9t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(O&&C.current){const k=getComputedStyle(C.current);T(parseInt(k.marginBottom,10))}},[O,$]);const R=k=>{k||T(null)},A=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const D=k?x:u.errors,L=k?S:u.warnings;return aBe(D,L,u,"",!!c,s)}(),N=Re(y,n,r,{[`${y}-with-help`]:w||x.length||S.length,[`${y}-has-feedback`]:A&&c,[`${y}-has-success`]:A==="success",[`${y}-has-warning`]:A==="warning",[`${y}-has-error`]:A==="error",[`${y}-is-validating`]:A==="validating",[`${y}-hidden`]:f});return _.createElement("div",{className:N,style:i,ref:C},_.createElement($B,Object.assign({className:`${y}-row`},bi(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),_.createElement(f9t,Object.assign({htmlFor:d},e,{requiredMark:b,required:p??g,prefixCls:t})),_.createElement(o9t,Object.assign({},e,u,{errors:x,warnings:S,prefixCls:t,status:A,help:o,marginBottom:P,onErrorVisibleChanged:R}),_.createElement(vje.Provider,{value:m},_.createElement(cBe,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:c,validateStatus:A},h)))),!!P&&_.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-P}}))}const m9t="__SPLIT__";function v9t(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>{const o=e[i],a=t[i];return o===a||typeof o=="function"||typeof a=="function"})}const y9t=_.memo(e=>{let{children:t}=e;return t},(e,t)=>v9t(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function c0e(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function b9t(e){const{name:t,noStyle:n,className:r,dependencies:i,prefixCls:o,shouldUpdate:a,rules:l,children:s,required:u,label:c,messageVariables:f,trigger:h="onChange",validateTrigger:d,hidden:p,help:g}=e,{getPrefixCls:m}=_.useContext(on),{name:v}=_.useContext(hh),y=Q8t(s),b=typeof y=="function",C=_.useContext(vje),{validateTrigger:x}=_.useContext(y0),S=d!==void 0?d:x,w=t!=null,O=m("form",o),$=di(O),[P,T,R]=uie(O,$);Mh();const M=_.useContext(s4),A=_.useRef(),[N,k]=e9t({}),[D,L]=n0(()=>c0e()),B=X=>{const G=M==null?void 0:M.getKey(X.name);if(L(X.destroy?c0e():X,!0),n&&g!==!1&&C){let Y=X.name;if(X.destroy)Y=A.current||Y;else if(G!==void 0){const[J,ee]=G;Y=[J].concat(vt(ee)),A.current=Y}C(X,Y)}},j=(X,G)=>{k(Y=>{const J=Object.assign({},Y),Q=[].concat(vt(X.name.slice(0,-1)),vt(G)).join(m9t);return X.destroy?delete J[Q]:J[Q]=X,J})},[z,V]=_.useMemo(()=>{const X=vt(D.errors),G=vt(D.warnings);return Object.values(N).forEach(Y=>{X.push.apply(X,vt(Y.errors||[])),G.push.apply(G,vt(Y.warnings||[]))}),[X,G]},[N,D.errors,D.warnings]),W=t9t();function U(X,G,Y){return n&&!p?_.createElement(cBe,{prefixCls:O,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:D,errors:z,warnings:V,noStyle:!0},X):_.createElement(g9t,Object.assign({key:"row"},e,{className:Re(r,R,$,T),prefixCls:O,fieldId:G,isRequired:Y,errors:z,warnings:V,meta:D,onSubItemMetaChange:j}),X)}if(!w&&!b&&!i)return P(U(y));let K={};return typeof c=="string"?K.label=c:t&&(K.label=String(t)),f&&(K=Object.assign(Object.assign({},K),f)),P(_.createElement(Wz,Object.assign({},e,{messageVariables:K,trigger:h,validateTrigger:S,onMetaChange:B}),(X,G,Y)=>{const J=z9(t).length&&G?G.name:[],ee=oBe(J,v),Q=u!==void 0?u:!!(l&&l.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const oe=re(Y);return oe&&oe.required&&!oe.warningOnly}return!1})),te=Object.assign({},X);let ne=null;if(Array.isArray(y)&&w)ne=y;else if(!(b&&(!(a||i)||w))){if(!(i&&!b&&!w))if(Zl(y)){const re=Object.assign(Object.assign({},y.props),te);if(re.id||(re.id=ee),g||z.length>0||V.length>0||e.extra){const ye=[];(g||z.length>0)&&ye.push(`${ee}_help`),e.extra&&ye.push(`${ee}_extra`),re["aria-describedby"]=ye.join(" ")}z.length>0&&(re["aria-invalid"]="true"),Q&&(re["aria-required"]="true"),bc(y)&&(re.ref=W(J,y)),new Set([].concat(vt(z9(h)),vt(z9(S)))).forEach(ye=>{re[ye]=function(){for(var be,he,le,ve,ke,Ie=arguments.length,Oe=new Array(Ie),Pe=0;Pe{var{prefixCls:t,children:n}=e,r=S9t(e,["prefixCls","children"]);const{getPrefixCls:i}=_.useContext(on),o=i("form",t),a=_.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return _.createElement(lre,Object.assign({},r),(l,s,u)=>_.createElement(ure.Provider,{value:a},n(l.map(c=>Object.assign(Object.assign({},c),{fieldKey:c.key})),s,{errors:u.errors,warnings:u.warnings})))},_9t=x9t;function w9t(){const{form:e}=_.useContext(hh);return e}const dr=Z8t;dr.Item=C9t;dr.List=_9t;dr.ErrorList=iBe;dr.useForm=lBe;dr.useFormInstance=w9t;dr.useWatch=cre;dr.Provider=yje;dr.create=()=>{};function dBe(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function yQ(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var bQ=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],j$=_.createContext(null),u0e=0;function O9t(e,t){var n=_.useState(function(){return u0e+=1,String(u0e)}),r=Me(n,1),i=r[0],o=_.useContext(j$),a={data:t,canPreview:e};return _.useEffect(function(){if(o)return o.register(i,a)},[]),_.useEffect(function(){o&&o.register(i,a)},[e,t]),i}function E9t(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function fBe(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,i=_.useState(n?"loading":"normal"),o=Me(i,2),a=o[0],l=o[1],s=_.useRef(!1),u=a==="error";_.useEffect(function(){var d=!0;return E9t(t).then(function(p){!p&&d&&l("error")}),function(){d=!1}},[t]),_.useEffect(function(){n&&!s.current?l("loading"):u&&l("normal")},[t]);var c=function(){l("normal")},f=function(p){s.current=!1,a==="loading"&&p!==null&&p!==void 0&&p.complete&&(p.naturalWidth||p.naturalHeight)&&(s.current=!0,c())},h=u&&r?{src:r}:{onLoad:c,src:t};return[f,h,a]}function gf(e,t,n,r){var i=Dj.unstable_batchedUpdates?function(a){Dj.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}var mM={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function $9t(e,t,n,r){var i=_.useRef(null),o=_.useRef([]),a=_.useState(mM),l=Me(a,2),s=l[0],u=l[1],c=function(p){u(mM),r&&!Cc(mM,s)&&r({transform:mM,action:p})},f=function(p,g){i.current===null&&(o.current=[],i.current=rr(function(){u(function(m){var v=m;return o.current.forEach(function(y){v=fe(fe({},v),y)}),i.current=null,r==null||r({transform:v,action:g}),v})})),o.current.push(fe(fe({},s),p))},h=function(p,g,m,v,y){var b=e.current,C=b.width,x=b.height,S=b.offsetWidth,w=b.offsetHeight,O=b.offsetLeft,$=b.offsetTop,P=p,T=s.scale*p;T>n?(T=n,P=n/s.scale):Tr){if(t>0)return ue({},e,o);if(t<0&&ir)return ue({},e,t<0?o:-o);return{}}function pBe(e,t,n,r){var i=dBe(),o=i.width,a=i.height,l=null;return e<=o&&t<=a?l={x:0,y:0}:(e>o||t>a)&&(l=fe(fe({},d0e("x",n,e,o)),d0e("y",r,t,a))),l}var n3=1,P9t=1;function T9t(e,t,n,r,i,o,a){var l=i.rotate,s=i.scale,u=i.x,c=i.y,f=_.useState(!1),h=Me(f,2),d=h[0],p=h[1],g=_.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),m=function(x){!t||x.button!==0||(x.preventDefault(),x.stopPropagation(),g.current={diffX:x.pageX-u,diffY:x.pageY-c,transformX:u,transformY:c},p(!0))},v=function(x){n&&d&&o({x:x.pageX-g.current.diffX,y:x.pageY-g.current.diffY},"move")},y=function(){if(n&&d){p(!1);var x=g.current,S=x.transformX,w=x.transformY,O=u!==S&&c!==w;if(!O)return;var $=e.current.offsetWidth*s,P=e.current.offsetHeight*s,T=e.current.getBoundingClientRect(),R=T.left,M=T.top,A=l%180!==0,N=pBe(A?P:$,A?$:P,R,M);N&&o(fe({},N),"dragRebound")}},b=function(x){if(!(!n||x.deltaY==0)){var S=Math.abs(x.deltaY/100),w=Math.min(S,P9t),O=n3+w*r;x.deltaY>0&&(O=n3/O),a(O,"wheel",x.clientX,x.clientY)}};return _.useEffect(function(){var C,x,S,w;if(t){S=gf(window,"mouseup",y,!1),w=gf(window,"mousemove",v,!1);try{window.top!==window.self&&(C=gf(window.top,"mouseup",y,!1),x=gf(window.top,"mousemove",v,!1))}catch{}}return function(){var O,$,P,T;(O=S)===null||O===void 0||O.remove(),($=w)===null||$===void 0||$.remove(),(P=C)===null||P===void 0||P.remove(),(T=x)===null||T===void 0||T.remove()}},[n,d,u,c,l,t]),{isMoving:d,onMouseDown:m,onMouseMove:v,onMouseUp:y,onWheel:b}}function dD(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function M9t(e,t,n,r){var i=dD(e,n),o=dD(t,r);if(i===0&&o===0)return[e.x,e.y];var a=i/(i+o),l=e.x+a*(t.x-e.x),s=e.y+a*(t.y-e.y);return[l,s]}function R9t(e,t,n,r,i,o,a){var l=i.rotate,s=i.scale,u=i.x,c=i.y,f=_.useState(!1),h=Me(f,2),d=h[0],p=h[1],g=_.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),m=function(x){g.current=fe(fe({},g.current),x)},v=function(x){if(t){x.stopPropagation(),p(!0);var S=x.touches,w=S===void 0?[]:S;w.length>1?m({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):m({point1:{x:w[0].clientX-u,y:w[0].clientY-c},eventType:"move"})}},y=function(x){var S=x.touches,w=S===void 0?[]:S,O=g.current,$=O.point1,P=O.point2,T=O.eventType;if(w.length>1&&T==="touchZoom"){var R={x:w[0].clientX,y:w[0].clientY},M={x:w[1].clientX,y:w[1].clientY},A=M9t($,P,R,M),N=Me(A,2),k=N[0],D=N[1],L=dD(R,M)/dD($,P);a(L,"touchZoom",k,D,!0),m({point1:R,point2:M,eventType:"touchZoom"})}else T==="move"&&(o({x:w[0].clientX-$.x,y:w[0].clientY-$.y},"move"),m({eventType:"move"}))},b=function(){if(n){if(d&&p(!1),m({eventType:"none"}),r>s)return o({x:0,y:0,scale:r},"touchZoom");var x=e.current.offsetWidth*s,S=e.current.offsetHeight*s,w=e.current.getBoundingClientRect(),O=w.left,$=w.top,P=l%180!==0,T=pBe(P?S:x,P?x:S,O,$);T&&o(fe({},T),"dragRebound")}};return _.useEffect(function(){var C;return n&&t&&(C=gf(window,"touchmove",function(x){return x.preventDefault()},{passive:!1})),function(){var x;(x=C)===null||x===void 0||x.remove()}},[n,t]),{isTouching:d,onTouchStart:v,onTouchMove:y,onTouchEnd:b}}var I9t=function(t){var n=t.visible,r=t.maskTransitionName,i=t.getContainer,o=t.prefixCls,a=t.rootClassName,l=t.icons,s=t.countRender,u=t.showSwitch,c=t.showProgress,f=t.current,h=t.transform,d=t.count,p=t.scale,g=t.minScale,m=t.maxScale,v=t.closeIcon,y=t.onSwitchLeft,b=t.onSwitchRight,C=t.onClose,x=t.onZoomIn,S=t.onZoomOut,w=t.onRotateRight,O=t.onRotateLeft,$=t.onFlipX,P=t.onFlipY,T=t.toolbarRender,R=t.zIndex,M=_.useContext(j$),A=l.rotateLeft,N=l.rotateRight,k=l.zoomIn,D=l.zoomOut,L=l.close,B=l.left,j=l.right,z=l.flipX,V=l.flipY,W="".concat(o,"-operations-operation");_.useEffect(function(){var G=function(J){J.keyCode===ht.ESC&&C()};return n&&window.addEventListener("keydown",G),function(){window.removeEventListener("keydown",G)}},[n]);var U=[{icon:V,onClick:P,type:"flipY"},{icon:z,onClick:$,type:"flipX"},{icon:A,onClick:O,type:"rotateLeft"},{icon:N,onClick:w,type:"rotateRight"},{icon:D,onClick:S,type:"zoomOut",disabled:p<=g},{icon:k,onClick:x,type:"zoomIn",disabled:p===m}],K=U.map(function(G){var Y,J=G.icon,ee=G.onClick,Q=G.type,te=G.disabled;return _.createElement("div",{className:Re(W,(Y={},ue(Y,"".concat(o,"-operations-operation-").concat(Q),!0),ue(Y,"".concat(o,"-operations-operation-disabled"),!!te),Y)),onClick:ee,key:Q},J)}),X=_.createElement("div",{className:"".concat(o,"-operations")},K);return _.createElement(aa,{visible:n,motionName:r},function(G){var Y=G.className,J=G.style;return _.createElement(Ny,{open:!0,getContainer:i??document.body},_.createElement("div",{className:Re("".concat(o,"-operations-wrapper"),Y,a),style:fe(fe({},J),{},{zIndex:R})},v===null?null:_.createElement("button",{className:"".concat(o,"-close"),onClick:C},v||L),u&&_.createElement(_.Fragment,null,_.createElement("div",{className:Re("".concat(o,"-switch-left"),ue({},"".concat(o,"-switch-left-disabled"),f===0)),onClick:y},B),_.createElement("div",{className:Re("".concat(o,"-switch-right"),ue({},"".concat(o,"-switch-right-disabled"),f===d-1)),onClick:b},j)),_.createElement("div",{className:"".concat(o,"-footer")},c&&_.createElement("div",{className:"".concat(o,"-progress")},s?s(f+1,d):"".concat(f+1," / ").concat(d)),T?T(X,fe({icons:{flipYIcon:K[0],flipXIcon:K[1],rotateLeftIcon:K[2],rotateRightIcon:K[3],zoomOutIcon:K[4],zoomInIcon:K[5]},actions:{onFlipY:P,onFlipX:$,onRotateLeft:O,onRotateRight:w,onZoomOut:S,onZoomIn:x},transform:h},M?{current:f,total:d}:{})):X)))})},N9t=["fallback","src","imgRef"],A9t=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],k9t=function(t){var n=t.fallback,r=t.src,i=t.imgRef,o=an(t,N9t),a=fBe({src:r,fallback:n}),l=Me(a,2),s=l[0],u=l[1];return Se.createElement("img",Qe({ref:function(f){i.current=f,s(f)}},o,u))},hBe=function(t){var n=t.prefixCls,r=t.src,i=t.alt,o=t.fallback,a=t.movable,l=a===void 0?!0:a,s=t.onClose,u=t.visible,c=t.icons,f=c===void 0?{}:c,h=t.rootClassName,d=t.closeIcon,p=t.getContainer,g=t.current,m=g===void 0?0:g,v=t.count,y=v===void 0?1:v,b=t.countRender,C=t.scaleStep,x=C===void 0?.5:C,S=t.minScale,w=S===void 0?1:S,O=t.maxScale,$=O===void 0?50:O,P=t.transitionName,T=P===void 0?"zoom":P,R=t.maskTransitionName,M=R===void 0?"fade":R,A=t.imageRender,N=t.imgCommonProps,k=t.toolbarRender,D=t.onTransform,L=t.onChange,B=an(t,A9t),j=_.useRef(),z=_.useContext(j$),V=z&&y>1,W=z&&y>=1,U=_.useState(!0),K=Me(U,2),X=K[0],G=K[1],Y=$9t(j,w,$,D),J=Y.transform,ee=Y.resetTransform,Q=Y.updateTransform,te=Y.dispatchZoomChange,ne=T9t(j,l,u,x,J,Q,te),re=ne.isMoving,oe=ne.onMouseDown,se=ne.onWheel,ye=R9t(j,l,u,w,J,Q,te),be=ye.isTouching,he=ye.onTouchStart,le=ye.onTouchMove,ve=ye.onTouchEnd,ke=J.rotate,Ie=J.scale,Oe=Re(ue({},"".concat(n,"-moving"),re));_.useEffect(function(){X||G(!0)},[X]);var Pe=function(){ee("close")},_e=function(){te(n3+x,"zoomIn")},ce=function(){te(n3/(n3+x),"zoomOut")},Te=function(){Q({rotate:ke+90},"rotateRight")},Ne=function(){Q({rotate:ke-90},"rotateLeft")},je=function(){Q({flipX:!J.flipX},"flipX")},He=function(){Q({flipY:!J.flipY},"flipY")},Be=function(Fe){Fe==null||Fe.preventDefault(),Fe==null||Fe.stopPropagation(),m>0&&(G(!1),ee("prev"),L==null||L(m-1,m))},qe=function(Fe){Fe==null||Fe.preventDefault(),Fe==null||Fe.stopPropagation(),m({position:e||"absolute",inset:0}),sEt=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new Gn("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},xc),{padding:`0 ${xe(r)}`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},cEt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:i,margin:o,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:s,motionDurationSlow:u,iconCls:c,colorTextLightSolid:f}=e,h=new Gn(n).setAlpha(.1),d=h.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:i,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:i,right:{_skip_check_:!0,value:i},display:"flex",color:f,backgroundColor:h.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:d.toRgbString()},[`& > ${c}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${xe(a)}`,backgroundColor:h.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${c}`]:{color:s},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${c}`]:{fontSize:e.previewOperationSize}}}}},uEt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,l=new Gn(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},dEt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},CQ()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},CQ()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[cEt(e),uEt(e)]}]},fEt=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},sEt(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},CQ())}}},pEt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:dC(e,"zoom"),"&":dre(e,!0)}},hEt=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Gn(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Gn(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Gn(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),gBe=vr("Image",e=>{const t=`${e.componentCls}-preview`,n=Wn(e,{previewCls:t,modalMaskBg:new Gn("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[fEt(n),dEt(n),xje(Wn(n,{componentCls:t})),pEt(n)]},hEt);var gEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{previewPrefixCls:t,preview:n}=e,r=gEt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=_.useContext(on),o=i("image",t),a=`${o}-preview`,l=i(),s=di(o),[u,c,f]=gBe(o,s),[h]=Hf("ImagePreview",typeof n=="object"?n.zIndex:void 0),d=_.useMemo(()=>{var p;if(n===!1)return n;const g=typeof n=="object"?n:{},m=Re(c,f,s,(p=g.rootClassName)!==null&&p!==void 0?p:"");return Object.assign(Object.assign({},g),{transitionName:As(l,"zoom",g.transitionName),maskTransitionName:As(l,"fade",g.maskTransitionName),rootClassName:m,zIndex:h})},[n]);return u(_.createElement(D$.PreviewGroup,Object.assign({preview:d,previewPrefixCls:a,icons:mBe},r)))},vEt=mEt;var p0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,preview:r,className:i,rootClassName:o,style:a}=e,l=p0e(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:s,locale:u=Sc,getPopupContainer:c,image:f}=_.useContext(on),h=s("image",n),d=s(),p=u.Image||Sc.Image,g=di(h),[m,v,y]=gBe(h,g),b=Re(o,v,y,g),C=Re(i,v,f==null?void 0:f.className),[x]=Hf("ImagePreview",typeof r=="object"?r.zIndex:void 0),S=_.useMemo(()=>{var O;if(r===!1)return r;const $=typeof r=="object"?r:{},{getContainer:P,closeIcon:T}=$,R=p0e($,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:_.createElement("div",{className:`${h}-mask-info`},_.createElement(aie,null),p==null?void 0:p.preview),icons:mBe},R),{getContainer:P??c,transitionName:As(d,"zoom",$.transitionName),maskTransitionName:As(d,"fade",$.maskTransitionName),zIndex:x,closeIcon:T??((O=f==null?void 0:f.preview)===null||O===void 0?void 0:O.closeIcon)})},[r,p,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),a);return m(_.createElement(D$,Object.assign({prefixCls:h,preview:S,rootClassName:b,className:C,style:w},l)))};vBe.PreviewGroup=vEt;const yEt=vBe,bEt=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e};var CEt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const SEt=CEt;var xEt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:SEt}))};const h0e=_.forwardRef(xEt);var _Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const wEt=_Et;var OEt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:wEt}))};const g0e=_.forwardRef(OEt);var EEt={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:"页码"},$Et=["10","20","50","100"],PEt=function(t){var n=t.pageSizeOptions,r=n===void 0?$Et:n,i=t.locale,o=t.changeSize,a=t.pageSize,l=t.goButton,s=t.quickGo,u=t.rootPrefixCls,c=t.selectComponentClass,f=t.selectPrefixCls,h=t.disabled,d=t.buildOptionText,p=Se.useState(""),g=Me(p,2),m=g[0],v=g[1],y=function(){return!m||Number.isNaN(m)?void 0:Number(m)},b=typeof d=="function"?d:function(A){return"".concat(A," ").concat(i.items_per_page)},C=function(N){o==null||o(Number(N))},x=function(N){v(N.target.value)},S=function(N){l||m===""||(v(""),!(N.relatedTarget&&(N.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||N.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(s==null||s(y())))},w=function(N){m!==""&&(N.keyCode===ht.ENTER||N.type==="click")&&(v(""),s==null||s(y()))},O=function(){return r.some(function(N){return N.toString()===a.toString()})?r:r.concat([a.toString()]).sort(function(N,k){var D=Number.isNaN(Number(N))?0:Number(N),L=Number.isNaN(Number(k))?0:Number(k);return D-L})},$="".concat(u,"-options");if(!o&&!s)return null;var P=null,T=null,R=null;if(o&&c){var M=O().map(function(A,N){return Se.createElement(c.Option,{key:N,value:A.toString()},b(A))});P=Se.createElement(c,{disabled:h,prefixCls:f,showSearch:!1,className:"".concat($,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||r[0]).toString(),onChange:C,getPopupContainer:function(N){return N.parentNode},"aria-label":i.page_size,defaultOpen:!1},M)}return s&&(l&&(R=typeof l=="boolean"?Se.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:h,className:"".concat($,"-quick-jumper-button")},i.jump_to_confirm):Se.createElement("span",{onClick:w,onKeyUp:w},l)),T=Se.createElement("div",{className:"".concat($,"-quick-jumper")},i.jump_to,Se.createElement("input",{disabled:h,type:"text",value:m,onChange:x,onKeyUp:w,onBlur:S,"aria-label":i.page}),i.page,R)),Se.createElement("li",{className:$},P,T)},Z6=function(t){var n,r=t.rootPrefixCls,i=t.page,o=t.active,a=t.className,l=t.showTitle,s=t.onClick,u=t.onKeyPress,c=t.itemRender,f="".concat(r,"-item"),h=Re(f,"".concat(f,"-").concat(i),(n={},ue(n,"".concat(f,"-active"),o),ue(n,"".concat(f,"-disabled"),!i),n),a),d=function(){s(i)},p=function(v){u(v,s,i)},g=c(i,"page",Se.createElement("a",{rel:"nofollow"},i));return g?Se.createElement("li",{title:l?String(i):null,className:h,onClick:d,onKeyDown:p,tabIndex:0},g):null},TEt=function(t,n,r){return r};function m0e(){}function v0e(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function ug(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var yBe=function(t){var n,r=t.prefixCls,i=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,a=o===void 0?"rc-select":o,l=t.className,s=t.selectComponentClass,u=t.current,c=t.defaultCurrent,f=c===void 0?1:c,h=t.total,d=h===void 0?0:h,p=t.pageSize,g=t.defaultPageSize,m=g===void 0?10:g,v=t.onChange,y=v===void 0?m0e:v,b=t.hideOnSinglePage,C=t.showPrevNextJumpers,x=C===void 0?!0:C,S=t.showQuickJumper,w=t.showLessItems,O=t.showTitle,$=O===void 0?!0:O,P=t.onShowSizeChange,T=P===void 0?m0e:P,R=t.locale,M=R===void 0?EEt:R,A=t.style,N=t.totalBoundaryShowSizeChanger,k=N===void 0?50:N,D=t.disabled,L=t.simple,B=t.showTotal,j=t.showSizeChanger,z=t.pageSizeOptions,V=t.itemRender,W=V===void 0?TEt:V,U=t.jumpPrevIcon,K=t.jumpNextIcon,X=t.prevIcon,G=t.nextIcon,Y=Se.useRef(null),J=zn(10,{value:p,defaultValue:m}),ee=Me(J,2),Q=ee[0],te=ee[1],ne=zn(1,{value:u,defaultValue:f,postState:function(gt){return Math.max(1,Math.min(gt,ug(void 0,Q,d)))}}),re=Me(ne,2),oe=re[0],se=re[1],ye=Se.useState(oe),be=Me(ye,2),he=be[0],le=be[1];_.useEffect(function(){le(oe)},[oe]);var ve=Math.max(1,oe-(w?3:5)),ke=Math.min(ug(void 0,Q,d),oe+(w?3:5));function Ie(kt,gt){var Bt=kt||Se.createElement("button",{type:"button","aria-label":gt,className:"".concat(i,"-item-link")});return typeof kt=="function"&&(Bt=Se.createElement(kt,fe({},t))),Bt}function Oe(kt){var gt=kt.target.value,Bt=ug(void 0,Q,d),Nn;return gt===""?Nn=gt:Number.isNaN(Number(gt))?Nn=he:gt>=Bt?Nn=Bt:Nn=Number(gt),Nn}function Pe(kt){return v0e(kt)&&kt!==oe&&v0e(d)&&d>0}var _e=d>Q?S:!1;function ce(kt){(kt.keyCode===ht.UP||kt.keyCode===ht.DOWN)&&kt.preventDefault()}function Te(kt){var gt=Oe(kt);switch(gt!==he&&le(gt),kt.keyCode){case ht.ENTER:He(gt);break;case ht.UP:He(gt-1);break;case ht.DOWN:He(gt+1);break}}function Ne(kt){He(Oe(kt))}function je(kt){var gt=ug(kt,Q,d),Bt=oe>gt&>!==0?gt:oe;te(kt),le(Bt),T==null||T(oe,kt),se(Bt),y==null||y(Bt,kt)}function He(kt){if(Pe(kt)&&!D){var gt=ug(void 0,Q,d),Bt=kt;return kt>gt?Bt=gt:kt<1&&(Bt=1),Bt!==he&&le(Bt),se(Bt),y==null||y(Bt,Q),Bt}return oe}var Be=oe>1,qe=oek;function Ee(){Be&&He(oe-1)}function $e(){qe&&He(oe+1)}function Le(){He(ve)}function Fe(){He(ke)}function Ke(kt,gt){if(kt.key==="Enter"||kt.charCode===ht.ENTER||kt.keyCode===ht.ENTER){for(var Bt=arguments.length,Nn=new Array(Bt>2?Bt-2:0),Or=2;Ord?d:oe*Q])),et=null,rt=ug(void 0,Q,d);if(b&&d<=Q)return null;var Ze=[],wt={rootPrefixCls:i,onClick:He,onKeyPress:Ke,showTitle:$,itemRender:W,page:-1},ut=oe-1>0?oe-1:0,ot=oe+1=Ct*2&&oe!==3&&(Ze[0]=Se.cloneElement(Ze[0],{className:Re("".concat(i,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(Je)),rt-oe>=Ct*2&&oe!==rt-2){var $t=Ze[Ze.length-1];Ze[Ze.length-1]=Se.cloneElement($t,{className:Re("".concat(i,"-item-before-jump-next"),$t.props.className)}),Ze.push(et)}At!==1&&Ze.unshift(Se.createElement(Z6,Qe({},wt,{key:1,page:1}))),cn!==rt&&Ze.push(Se.createElement(Z6,Qe({},wt,{key:rt,page:rt})))}var zt=De(ut);if(zt){var Qt=!Be||!rt;zt=Se.createElement("li",{title:$?M.prev_page:null,onClick:Ee,tabIndex:Qt?null:0,onKeyDown:lt,className:Re("".concat(i,"-prev"),ue({},"".concat(i,"-disabled"),Qt)),"aria-disabled":Qt},zt)}var Pt=We(ot);if(Pt){var ct,Wt;L?(ct=!qe,Wt=Be?0:null):(ct=!qe||!rt,Wt=ct?null:0),Pt=Se.createElement("li",{title:$?M.next_page:null,onClick:$e,tabIndex:Wt,onKeyDown:ft,className:Re("".concat(i,"-next"),ue({},"".concat(i,"-disabled"),ct)),"aria-disabled":ct},Pt)}var wn=Re(i,l,(n={},ue(n,"".concat(i,"-simple"),L),ue(n,"".concat(i,"-disabled"),D),n));return Se.createElement("ul",Qe({className:wn,style:A,ref:Y},bt),at,zt,L?Ot:Ze,Pt,Se.createElement(PEt,{locale:M,rootPrefixCls:i,disabled:D,selectComponentClass:s,selectPrefixCls:a,changeSize:me?je:null,pageSize:Q,pageSizeOptions:z,quickGo:_e?He:null,goButton:_t}))};const MEt=Object.freeze(Object.defineProperty({__proto__:null,default:yBe},Symbol.toStringTag,{value:"Module"})),bBe=e=>_.createElement(Ps,Object.assign({},e,{showSearch:!0,size:"small"})),CBe=e=>_.createElement(Ps,Object.assign({},e,{showSearch:!0,size:"middle"}));bBe.Option=Ps.Option;CBe.Option=Ps.Option;const REt=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},IEt=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:xe(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + .${r}-col-xl-24${n}-label`]:M2(e),[`@media (max-width: ${xe(e.screenXSMax)})`]:[H8t(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:M2(e)}}],[`@media (max-width: ${xe(e.screenSMMax)})`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:M2(e)}},[`@media (max-width: ${xe(e.screenMDMax)})`]:{[t]:{[`.${r}-col-md-24${n}-label`]:M2(e)}},[`@media (max-width: ${xe(e.screenLGMax)})`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:M2(e)}}}},q8t=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),iBe=(e,t)=>Wn(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),die=vr("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=iBe(e,n);return[L8t(r),z8t(r),j8t(r),B8t(r),F8t(r),W8t(r),E$(r),hre]},q8t,{order:-1e3}),s0e=[];function $V(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const V8t=e=>{let{help:t,helpStatus:n,errors:r=s0e,warnings:i=s0e,className:o,fieldId:a,onVisibleChanged:l}=e;const{prefixCls:s}=_.useContext(fre),u=`${s}-item-explain`,c=di(s),[f,h,d]=die(s,c),p=_.useMemo(()=>l4(s),[s]),g=dD(r),m=dD(i),v=_.useMemo(()=>t!=null?[$V(t,"help",n)]:[].concat(vt(g.map((b,C)=>$V(b,"error","error",C))),vt(m.map((b,C)=>$V(b,"warning","warning",C)))),[t,n,g,m]),y={};return a&&(y.id=`${a}_help`),f(_.createElement(aa,{motionDeadline:p.motionDeadline,motionName:`${s}-show-help`,visible:!!v.length,onVisibleChanged:l},b=>{const{className:C,style:x}=b;return _.createElement("div",Object.assign({},y,{className:Re(u,C,d,c,o,h),style:x,role:"alert"}),_.createElement(Iz,Object.assign({keys:v},l4(s),{motionName:`${s}-show-help-item`,component:!1}),S=>{const{key:w,error:O,errorStatus:$,className:P,style:T}=S;return _.createElement("div",{key:w,className:Re(P,{[`${u}-${$}`]:$}),style:T},O)}))}))},oBe=V8t,U8t=["parentNode"],G8t="form_item";function B9(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function aBe(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:U8t.includes(n)?`${G8t}_${n}`:n}function lBe(e,t,n,r,i,o){let a=r;return o!==void 0?a=o:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||i&&n.validated)&&(a="success"),a}function c0e(e){return B9(e).join("_")}function sBe(e){const[t]=Vz(),n=_.useRef({}),r=_.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:i=>o=>{const a=c0e(i);o?n.current[a]=o:delete n.current[a]}},scrollToField:function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=B9(i),l=aBe(a,r.__INTERNAL__.name),s=l?document.getElementById(l):null;s&&z0t(s,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},getFieldInstance:i=>{const o=c0e(i);return n.current[o]}}),[e,t]);return[r]}var K8t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=_.useContext(es),{getPrefixCls:r,direction:i,form:o}=_.useContext(on),{prefixCls:a,className:l,rootClassName:s,size:u,disabled:c=n,form:f,colon:h,labelAlign:d,labelWrap:p,labelCol:g,wrapperCol:m,hideRequiredMark:v,layout:y="horizontal",scrollToFirstError:b,requiredMark:C,onFinishFailed:x,name:S,style:w,feedbackIcons:O,variant:$}=e,P=K8t(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),T=Go(u),R=_.useContext(UAe),M=_.useMemo(()=>C!==void 0?C:v?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[v,C,o]),A=h??(o==null?void 0:o.colon),N=r("form",a),j=di(N),[D,L,B]=die(N,j),k=Re(N,`${N}-${y}`,{[`${N}-hide-required-mark`]:M===!1,[`${N}-rtl`]:i==="rtl",[`${N}-${T}`]:T},B,j,L,o==null?void 0:o.className,l,s),[z]=sBe(f),{__INTERNAL__:q}=z;q.name=S;const W=_.useMemo(()=>({name:S,labelAlign:d,labelCol:g,labelWrap:p,wrapperCol:m,vertical:y==="vertical",colon:A,requiredMark:M,itemRef:q.itemRef,form:z,feedbackIcons:O}),[S,d,g,m,y,A,M,z,O]);_.useImperativeHandle(t,()=>z);const U=(X,G)=>{if(X){let Y={block:"nearest"};typeof X=="object"&&(Y=X),z.scrollToField(G,Y)}},K=X=>{if(x==null||x(X),X.errorFields.length){const G=X.errorFields[0].name;if(b!==void 0){U(b,G);return}o&&o.scrollToFirstError!==void 0&&U(o.scrollToFirstError,G)}};return D(_.createElement(bje.Provider,{value:$},_.createElement(Vne,{disabled:c},_.createElement(b$.Provider,{value:T},_.createElement(yje,{validateMessages:R},_.createElement(hh.Provider,{value:W},_.createElement(Ay,Object.assign({id:S},P,{name:S,onFinishFailed:K,form:z,style:Object.assign(Object.assign({},o==null?void 0:o.style),w),className:k}))))))))},Y8t=_.forwardRef(X8t);function Z8t(e){if(typeof e=="function")return e;const t=Wo(e);return t.length<=1?t[0]:t}const cBe=()=>{const{status:e,errors:t=[],warnings:n=[]}=_.useContext(la);return{status:e,errors:t,warnings:n}};cBe.Context=la;const Q8t=cBe;function J8t(e){const[t,n]=_.useState(e),r=_.useRef(null),i=_.useRef([]),o=_.useRef(!1);_.useEffect(()=>(o.current=!1,()=>{o.current=!0,rr.cancel(r.current),r.current=null}),[]);function a(l){o.current||(r.current===null&&(i.current=[],r.current=rr(()=>{r.current=null,n(s=>{let u=s;return i.current.forEach(c=>{u=c(u)}),u})})),i.current.push(l))}return[t,a]}function e9t(){const{itemRef:e}=_.useContext(hh),t=_.useRef({});function n(r,i){const o=i&&typeof i=="object"&&i.ref,a=r.join("_");return(t.current.name!==a||t.current.originRef!==o)&&(t.current.name=a,t.current.originRef=o,t.current.ref=cl(e(r),o)),t.current.ref}return n}const t9t=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},n9t=Ry(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=iBe(e,n);return[t9t(r)]}),r9t=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:i,errors:o,warnings:a,_internalItemRender:l,extra:s,help:u,fieldId:c,marginBottom:f,onErrorVisibleChanged:h}=e,d=`${t}-item`,p=_.useContext(hh),g=r||p.wrapperCol||{},m=Re(`${d}-control`,g.className),v=_.useMemo(()=>Object.assign({},p),[p]);delete v.labelCol,delete v.wrapperCol;const y=_.createElement("div",{className:`${d}-control-input`},_.createElement("div",{className:`${d}-control-input-content`},i)),b=_.useMemo(()=>({prefixCls:t,status:n}),[t,n]),C=f!==null||o.length||a.length?_.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},_.createElement(fre.Provider,{value:b},_.createElement(oBe,{fieldId:c,errors:o,warnings:a,help:u,helpStatus:n,className:`${d}-explain-connected`,onVisibleChanged:h})),!!f&&_.createElement("div",{style:{width:0,height:f}})):null,x={};c&&(x.id=`${c}_extra`);const S=s?_.createElement("div",Object.assign({},x,{className:`${d}-extra`}),s):null,w=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:y,errorList:C,extra:S}):_.createElement(_.Fragment,null,y,C,S);return _.createElement(hh.Provider,{value:v},_.createElement(Bv,Object.assign({},g,{className:m}),w),_.createElement(n9t,{prefixCls:t}))},i9t=r9t;var o9t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const a9t=o9t;var l9t=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:a9t}))};const fie=_.forwardRef(l9t);var s9t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,label:n,htmlFor:r,labelCol:i,labelAlign:o,colon:a,required:l,requiredMark:s,tooltip:u}=e;var c;const[f]=xu("Form"),{vertical:h,labelAlign:d,labelCol:p,labelWrap:g,colon:m}=_.useContext(hh);if(!n)return null;const v=i||p||{},y=o||d,b=`${t}-item-label`,C=Re(b,y==="left"&&`${b}-left`,v.className,{[`${b}-wrap`]:!!g});let x=n;const S=a===!0||m!==!1&&a!==!1;S&&!h&&typeof n=="string"&&n.trim()!==""&&(x=n.replace(/[:|:]\s*$/,""));const O=c9t(u);if(O){const{icon:R=_.createElement(fie,null)}=O,M=s9t(O,["icon"]),A=_.createElement(Ly,Object.assign({},M),_.cloneElement(R,{className:`${t}-item-tooltip`,title:"",onClick:N=>{N.preventDefault()},tabIndex:null}));x=_.createElement(_.Fragment,null,x,A)}const $=s==="optional",P=typeof s=="function";P?x=s(x,{required:!!l}):$&&!l&&(x=_.createElement(_.Fragment,null,x,_.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((c=Sc.Form)===null||c===void 0?void 0:c.optional))));const T=Re({[`${t}-item-required`]:l,[`${t}-item-required-mark-optional`]:$||P,[`${t}-item-no-colon`]:!S});return _.createElement(Bv,Object.assign({},v,{className:C}),_.createElement("label",{htmlFor:r,className:T,title:typeof n=="string"?n:""},x))},d9t=u9t,f9t={success:uC,warning:Iy,error:Rh,validating:v0};function uBe(e){let{children:t,errors:n,warnings:r,hasFeedback:i,validateStatus:o,prefixCls:a,meta:l,noStyle:s}=e;const u=`${a}-item`,{feedbackIcons:c}=_.useContext(hh),f=lBe(n,r,l,null,!!i,o),{isFormItemInput:h,status:d,hasFeedback:p,feedbackIcon:g}=_.useContext(la),m=_.useMemo(()=>{var v;let y;if(i){const C=i!==!0&&i.icons||c,x=f&&((v=C==null?void 0:C({status:f,errors:n,warnings:r}))===null||v===void 0?void 0:v[f]),S=f&&f9t[f];y=x!==!1&&S?_.createElement("span",{className:Re(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||_.createElement(S,null)):null}const b={status:f||"",errors:n,warnings:r,hasFeedback:!!i,feedbackIcon:y,isFormItemInput:!0};return s&&(b.status=(f??d)||"",b.isFormItemInput=h,b.hasFeedback=!!(i??p),b.feedbackIcon=i!==void 0?b.feedbackIcon:g),b},[f,i,s,h,d]);return _.createElement(la.Provider,{value:m},t)}var p9t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(O&&C.current){const j=getComputedStyle(C.current);T(parseInt(j.marginBottom,10))}},[O,$]);const R=j=>{j||T(null)},A=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const D=j?x:u.errors,L=j?S:u.warnings;return lBe(D,L,u,"",!!c,s)}(),N=Re(y,n,r,{[`${y}-with-help`]:w||x.length||S.length,[`${y}-has-feedback`]:A&&c,[`${y}-has-success`]:A==="success",[`${y}-has-warning`]:A==="warning",[`${y}-has-error`]:A==="error",[`${y}-is-validating`]:A==="validating",[`${y}-hidden`]:f});return _.createElement("div",{className:N,style:i,ref:C},_.createElement(PB,Object.assign({className:`${y}-row`},bi(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),_.createElement(d9t,Object.assign({htmlFor:d},e,{requiredMark:b,required:p??g,prefixCls:t})),_.createElement(i9t,Object.assign({},e,u,{errors:x,warnings:S,prefixCls:t,status:A,help:o,marginBottom:P,onErrorVisibleChanged:R}),_.createElement(vje.Provider,{value:m},_.createElement(uBe,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:c,validateStatus:A},h)))),!!P&&_.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-P}}))}const g9t="__SPLIT__";function m9t(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>{const o=e[i],a=t[i];return o===a||typeof o=="function"||typeof a=="function"})}const v9t=_.memo(e=>{let{children:t}=e;return t},(e,t)=>m9t(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function u0e(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function y9t(e){const{name:t,noStyle:n,className:r,dependencies:i,prefixCls:o,shouldUpdate:a,rules:l,children:s,required:u,label:c,messageVariables:f,trigger:h="onChange",validateTrigger:d,hidden:p,help:g}=e,{getPrefixCls:m}=_.useContext(on),{name:v}=_.useContext(hh),y=Z8t(s),b=typeof y=="function",C=_.useContext(vje),{validateTrigger:x}=_.useContext(y0),S=d!==void 0?d:x,w=t!=null,O=m("form",o),$=di(O),[P,T,R]=die(O,$);Mh();const M=_.useContext(s4),A=_.useRef(),[N,j]=J8t({}),[D,L]=n0(()=>u0e()),B=X=>{const G=M==null?void 0:M.getKey(X.name);if(L(X.destroy?u0e():X,!0),n&&g!==!1&&C){let Y=X.name;if(X.destroy)Y=A.current||Y;else if(G!==void 0){const[J,ee]=G;Y=[J].concat(vt(ee)),A.current=Y}C(X,Y)}},k=(X,G)=>{j(Y=>{const J=Object.assign({},Y),Q=[].concat(vt(X.name.slice(0,-1)),vt(G)).join(g9t);return X.destroy?delete J[Q]:J[Q]=X,J})},[z,q]=_.useMemo(()=>{const X=vt(D.errors),G=vt(D.warnings);return Object.values(N).forEach(Y=>{X.push.apply(X,vt(Y.errors||[])),G.push.apply(G,vt(Y.warnings||[]))}),[X,G]},[N,D.errors,D.warnings]),W=e9t();function U(X,G,Y){return n&&!p?_.createElement(uBe,{prefixCls:O,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:D,errors:z,warnings:q,noStyle:!0},X):_.createElement(h9t,Object.assign({key:"row"},e,{className:Re(r,R,$,T),prefixCls:O,fieldId:G,isRequired:Y,errors:z,warnings:q,meta:D,onSubItemMetaChange:k}),X)}if(!w&&!b&&!i)return P(U(y));let K={};return typeof c=="string"?K.label=c:t&&(K.label=String(t)),f&&(K=Object.assign(Object.assign({},K),f)),P(_.createElement(qz,Object.assign({},e,{messageVariables:K,trigger:h,validateTrigger:S,onMetaChange:B}),(X,G,Y)=>{const J=B9(t).length&&G?G.name:[],ee=aBe(J,v),Q=u!==void 0?u:!!(l&&l.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const oe=re(Y);return oe&&oe.required&&!oe.warningOnly}return!1})),te=Object.assign({},X);let ne=null;if(Array.isArray(y)&&w)ne=y;else if(!(b&&(!(a||i)||w))){if(!(i&&!b&&!w))if(Zl(y)){const re=Object.assign(Object.assign({},y.props),te);if(re.id||(re.id=ee),g||z.length>0||q.length>0||e.extra){const ye=[];(g||z.length>0)&&ye.push(`${ee}_help`),e.extra&&ye.push(`${ee}_extra`),re["aria-describedby"]=ye.join(" ")}z.length>0&&(re["aria-invalid"]="true"),Q&&(re["aria-required"]="true"),bc(y)&&(re.ref=W(J,y)),new Set([].concat(vt(B9(h)),vt(B9(S)))).forEach(ye=>{re[ye]=function(){for(var be,he,le,ve,ke,Ie=arguments.length,Oe=new Array(Ie),Pe=0;Pe{var{prefixCls:t,children:n}=e,r=C9t(e,["prefixCls","children"]);const{getPrefixCls:i}=_.useContext(on),o=i("form",t),a=_.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return _.createElement(cre,Object.assign({},r),(l,s,u)=>_.createElement(fre.Provider,{value:a},n(l.map(c=>Object.assign(Object.assign({},c),{fieldKey:c.key})),s,{errors:u.errors,warnings:u.warnings})))},x9t=S9t;function _9t(){const{form:e}=_.useContext(hh);return e}const ur=Y8t;ur.Item=b9t;ur.List=x9t;ur.ErrorList=oBe;ur.useForm=sBe;ur.useFormInstance=_9t;ur.useWatch=dre;ur.Provider=yje;ur.create=()=>{};function fBe(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function bQ(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var CQ=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],D$=_.createContext(null),d0e=0;function w9t(e,t){var n=_.useState(function(){return d0e+=1,String(d0e)}),r=Me(n,1),i=r[0],o=_.useContext(D$),a={data:t,canPreview:e};return _.useEffect(function(){if(o)return o.register(i,a)},[]),_.useEffect(function(){o&&o.register(i,a)},[e,t]),i}function O9t(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function pBe(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,i=_.useState(n?"loading":"normal"),o=Me(i,2),a=o[0],l=o[1],s=_.useRef(!1),u=a==="error";_.useEffect(function(){var d=!0;return O9t(t).then(function(p){!p&&d&&l("error")}),function(){d=!1}},[t]),_.useEffect(function(){n&&!s.current?l("loading"):u&&l("normal")},[t]);var c=function(){l("normal")},f=function(p){s.current=!1,a==="loading"&&p!==null&&p!==void 0&&p.complete&&(p.naturalWidth||p.naturalHeight)&&(s.current=!0,c())},h=u&&r?{src:r}:{onLoad:c,src:t};return[f,h,a]}function gf(e,t,n,r){var i=Lj.unstable_batchedUpdates?function(a){Lj.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}var vM={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function E9t(e,t,n,r){var i=_.useRef(null),o=_.useRef([]),a=_.useState(vM),l=Me(a,2),s=l[0],u=l[1],c=function(p){u(vM),r&&!Cc(vM,s)&&r({transform:vM,action:p})},f=function(p,g){i.current===null&&(o.current=[],i.current=rr(function(){u(function(m){var v=m;return o.current.forEach(function(y){v=fe(fe({},v),y)}),i.current=null,r==null||r({transform:v,action:g}),v})})),o.current.push(fe(fe({},s),p))},h=function(p,g,m,v,y){var b=e.current,C=b.width,x=b.height,S=b.offsetWidth,w=b.offsetHeight,O=b.offsetLeft,$=b.offsetTop,P=p,T=s.scale*p;T>n?(T=n,P=n/s.scale):Tr){if(t>0)return ue({},e,o);if(t<0&&ir)return ue({},e,t<0?o:-o);return{}}function hBe(e,t,n,r){var i=fBe(),o=i.width,a=i.height,l=null;return e<=o&&t<=a?l={x:0,y:0}:(e>o||t>a)&&(l=fe(fe({},f0e("x",n,e,o)),f0e("y",r,t,a))),l}var n3=1,$9t=1;function P9t(e,t,n,r,i,o,a){var l=i.rotate,s=i.scale,u=i.x,c=i.y,f=_.useState(!1),h=Me(f,2),d=h[0],p=h[1],g=_.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),m=function(x){!t||x.button!==0||(x.preventDefault(),x.stopPropagation(),g.current={diffX:x.pageX-u,diffY:x.pageY-c,transformX:u,transformY:c},p(!0))},v=function(x){n&&d&&o({x:x.pageX-g.current.diffX,y:x.pageY-g.current.diffY},"move")},y=function(){if(n&&d){p(!1);var x=g.current,S=x.transformX,w=x.transformY,O=u!==S&&c!==w;if(!O)return;var $=e.current.offsetWidth*s,P=e.current.offsetHeight*s,T=e.current.getBoundingClientRect(),R=T.left,M=T.top,A=l%180!==0,N=hBe(A?P:$,A?$:P,R,M);N&&o(fe({},N),"dragRebound")}},b=function(x){if(!(!n||x.deltaY==0)){var S=Math.abs(x.deltaY/100),w=Math.min(S,$9t),O=n3+w*r;x.deltaY>0&&(O=n3/O),a(O,"wheel",x.clientX,x.clientY)}};return _.useEffect(function(){var C,x,S,w;if(t){S=gf(window,"mouseup",y,!1),w=gf(window,"mousemove",v,!1);try{window.top!==window.self&&(C=gf(window.top,"mouseup",y,!1),x=gf(window.top,"mousemove",v,!1))}catch{}}return function(){var O,$,P,T;(O=S)===null||O===void 0||O.remove(),($=w)===null||$===void 0||$.remove(),(P=C)===null||P===void 0||P.remove(),(T=x)===null||T===void 0||T.remove()}},[n,d,u,c,l,t]),{isMoving:d,onMouseDown:m,onMouseMove:v,onMouseUp:y,onWheel:b}}function fD(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function T9t(e,t,n,r){var i=fD(e,n),o=fD(t,r);if(i===0&&o===0)return[e.x,e.y];var a=i/(i+o),l=e.x+a*(t.x-e.x),s=e.y+a*(t.y-e.y);return[l,s]}function M9t(e,t,n,r,i,o,a){var l=i.rotate,s=i.scale,u=i.x,c=i.y,f=_.useState(!1),h=Me(f,2),d=h[0],p=h[1],g=_.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),m=function(x){g.current=fe(fe({},g.current),x)},v=function(x){if(t){x.stopPropagation(),p(!0);var S=x.touches,w=S===void 0?[]:S;w.length>1?m({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):m({point1:{x:w[0].clientX-u,y:w[0].clientY-c},eventType:"move"})}},y=function(x){var S=x.touches,w=S===void 0?[]:S,O=g.current,$=O.point1,P=O.point2,T=O.eventType;if(w.length>1&&T==="touchZoom"){var R={x:w[0].clientX,y:w[0].clientY},M={x:w[1].clientX,y:w[1].clientY},A=T9t($,P,R,M),N=Me(A,2),j=N[0],D=N[1],L=fD(R,M)/fD($,P);a(L,"touchZoom",j,D,!0),m({point1:R,point2:M,eventType:"touchZoom"})}else T==="move"&&(o({x:w[0].clientX-$.x,y:w[0].clientY-$.y},"move"),m({eventType:"move"}))},b=function(){if(n){if(d&&p(!1),m({eventType:"none"}),r>s)return o({x:0,y:0,scale:r},"touchZoom");var x=e.current.offsetWidth*s,S=e.current.offsetHeight*s,w=e.current.getBoundingClientRect(),O=w.left,$=w.top,P=l%180!==0,T=hBe(P?S:x,P?x:S,O,$);T&&o(fe({},T),"dragRebound")}};return _.useEffect(function(){var C;return n&&t&&(C=gf(window,"touchmove",function(x){return x.preventDefault()},{passive:!1})),function(){var x;(x=C)===null||x===void 0||x.remove()}},[n,t]),{isTouching:d,onTouchStart:v,onTouchMove:y,onTouchEnd:b}}var R9t=function(t){var n=t.visible,r=t.maskTransitionName,i=t.getContainer,o=t.prefixCls,a=t.rootClassName,l=t.icons,s=t.countRender,u=t.showSwitch,c=t.showProgress,f=t.current,h=t.transform,d=t.count,p=t.scale,g=t.minScale,m=t.maxScale,v=t.closeIcon,y=t.onSwitchLeft,b=t.onSwitchRight,C=t.onClose,x=t.onZoomIn,S=t.onZoomOut,w=t.onRotateRight,O=t.onRotateLeft,$=t.onFlipX,P=t.onFlipY,T=t.toolbarRender,R=t.zIndex,M=_.useContext(D$),A=l.rotateLeft,N=l.rotateRight,j=l.zoomIn,D=l.zoomOut,L=l.close,B=l.left,k=l.right,z=l.flipX,q=l.flipY,W="".concat(o,"-operations-operation");_.useEffect(function(){var G=function(J){J.keyCode===ht.ESC&&C()};return n&&window.addEventListener("keydown",G),function(){window.removeEventListener("keydown",G)}},[n]);var U=[{icon:q,onClick:P,type:"flipY"},{icon:z,onClick:$,type:"flipX"},{icon:A,onClick:O,type:"rotateLeft"},{icon:N,onClick:w,type:"rotateRight"},{icon:D,onClick:S,type:"zoomOut",disabled:p<=g},{icon:j,onClick:x,type:"zoomIn",disabled:p===m}],K=U.map(function(G){var Y,J=G.icon,ee=G.onClick,Q=G.type,te=G.disabled;return _.createElement("div",{className:Re(W,(Y={},ue(Y,"".concat(o,"-operations-operation-").concat(Q),!0),ue(Y,"".concat(o,"-operations-operation-disabled"),!!te),Y)),onClick:ee,key:Q},J)}),X=_.createElement("div",{className:"".concat(o,"-operations")},K);return _.createElement(aa,{visible:n,motionName:r},function(G){var Y=G.className,J=G.style;return _.createElement(Ny,{open:!0,getContainer:i??document.body},_.createElement("div",{className:Re("".concat(o,"-operations-wrapper"),Y,a),style:fe(fe({},J),{},{zIndex:R})},v===null?null:_.createElement("button",{className:"".concat(o,"-close"),onClick:C},v||L),u&&_.createElement(_.Fragment,null,_.createElement("div",{className:Re("".concat(o,"-switch-left"),ue({},"".concat(o,"-switch-left-disabled"),f===0)),onClick:y},B),_.createElement("div",{className:Re("".concat(o,"-switch-right"),ue({},"".concat(o,"-switch-right-disabled"),f===d-1)),onClick:b},k)),_.createElement("div",{className:"".concat(o,"-footer")},c&&_.createElement("div",{className:"".concat(o,"-progress")},s?s(f+1,d):"".concat(f+1," / ").concat(d)),T?T(X,fe({icons:{flipYIcon:K[0],flipXIcon:K[1],rotateLeftIcon:K[2],rotateRightIcon:K[3],zoomOutIcon:K[4],zoomInIcon:K[5]},actions:{onFlipY:P,onFlipX:$,onRotateLeft:O,onRotateRight:w,onZoomOut:S,onZoomIn:x},transform:h},M?{current:f,total:d}:{})):X)))})},I9t=["fallback","src","imgRef"],N9t=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],A9t=function(t){var n=t.fallback,r=t.src,i=t.imgRef,o=an(t,I9t),a=pBe({src:r,fallback:n}),l=Me(a,2),s=l[0],u=l[1];return Se.createElement("img",Qe({ref:function(f){i.current=f,s(f)}},o,u))},gBe=function(t){var n=t.prefixCls,r=t.src,i=t.alt,o=t.fallback,a=t.movable,l=a===void 0?!0:a,s=t.onClose,u=t.visible,c=t.icons,f=c===void 0?{}:c,h=t.rootClassName,d=t.closeIcon,p=t.getContainer,g=t.current,m=g===void 0?0:g,v=t.count,y=v===void 0?1:v,b=t.countRender,C=t.scaleStep,x=C===void 0?.5:C,S=t.minScale,w=S===void 0?1:S,O=t.maxScale,$=O===void 0?50:O,P=t.transitionName,T=P===void 0?"zoom":P,R=t.maskTransitionName,M=R===void 0?"fade":R,A=t.imageRender,N=t.imgCommonProps,j=t.toolbarRender,D=t.onTransform,L=t.onChange,B=an(t,N9t),k=_.useRef(),z=_.useContext(D$),q=z&&y>1,W=z&&y>=1,U=_.useState(!0),K=Me(U,2),X=K[0],G=K[1],Y=E9t(k,w,$,D),J=Y.transform,ee=Y.resetTransform,Q=Y.updateTransform,te=Y.dispatchZoomChange,ne=P9t(k,l,u,x,J,Q,te),re=ne.isMoving,oe=ne.onMouseDown,se=ne.onWheel,ye=M9t(k,l,u,w,J,Q,te),be=ye.isTouching,he=ye.onTouchStart,le=ye.onTouchMove,ve=ye.onTouchEnd,ke=J.rotate,Ie=J.scale,Oe=Re(ue({},"".concat(n,"-moving"),re));_.useEffect(function(){X||G(!0)},[X]);var Pe=function(){ee("close")},_e=function(){te(n3+x,"zoomIn")},ce=function(){te(n3/(n3+x),"zoomOut")},Te=function(){Q({rotate:ke+90},"rotateRight")},Ne=function(){Q({rotate:ke-90},"rotateLeft")},je=function(){Q({flipX:!J.flipX},"flipX")},He=function(){Q({flipY:!J.flipY},"flipY")},Be=function(Fe){Fe==null||Fe.preventDefault(),Fe==null||Fe.stopPropagation(),m>0&&(G(!1),ee("prev"),L==null||L(m-1,m))},qe=function(Fe){Fe==null||Fe.preventDefault(),Fe==null||Fe.stopPropagation(),m({position:e||"absolute",inset:0}),lEt=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new Gn("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},xc),{padding:`0 ${xe(r)}`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},sEt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:i,margin:o,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:s,motionDurationSlow:u,iconCls:c,colorTextLightSolid:f}=e,h=new Gn(n).setAlpha(.1),d=h.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:i,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:i,right:{_skip_check_:!0,value:i},display:"flex",color:f,backgroundColor:h.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:d.toRgbString()},[`& > ${c}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${xe(a)}`,backgroundColor:h.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${c}`]:{color:s},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${c}`]:{fontSize:e.previewOperationSize}}}}},cEt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,l=new Gn(t).setAlpha(.1),s=l.clone().setAlpha(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:s.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},uEt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},SQ()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},SQ()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[sEt(e),cEt(e)]}]},dEt=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},lEt(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},SQ())}}},fEt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:dC(e,"zoom"),"&":pre(e,!0)}},pEt=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Gn(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Gn(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Gn(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),mBe=vr("Image",e=>{const t=`${e.componentCls}-preview`,n=Wn(e,{previewCls:t,modalMaskBg:new Gn("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[dEt(n),uEt(n),xje(Wn(n,{componentCls:t})),fEt(n)]},pEt);var hEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{previewPrefixCls:t,preview:n}=e,r=hEt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=_.useContext(on),o=i("image",t),a=`${o}-preview`,l=i(),s=di(o),[u,c,f]=mBe(o,s),[h]=Hf("ImagePreview",typeof n=="object"?n.zIndex:void 0),d=_.useMemo(()=>{var p;if(n===!1)return n;const g=typeof n=="object"?n:{},m=Re(c,f,s,(p=g.rootClassName)!==null&&p!==void 0?p:"");return Object.assign(Object.assign({},g),{transitionName:As(l,"zoom",g.transitionName),maskTransitionName:As(l,"fade",g.maskTransitionName),rootClassName:m,zIndex:h})},[n]);return u(_.createElement(L$.PreviewGroup,Object.assign({preview:d,previewPrefixCls:a,icons:vBe},r)))},mEt=gEt;var h0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,preview:r,className:i,rootClassName:o,style:a}=e,l=h0e(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:s,locale:u=Sc,getPopupContainer:c,image:f}=_.useContext(on),h=s("image",n),d=s(),p=u.Image||Sc.Image,g=di(h),[m,v,y]=mBe(h,g),b=Re(o,v,y,g),C=Re(i,v,f==null?void 0:f.className),[x]=Hf("ImagePreview",typeof r=="object"?r.zIndex:void 0),S=_.useMemo(()=>{var O;if(r===!1)return r;const $=typeof r=="object"?r:{},{getContainer:P,closeIcon:T}=$,R=h0e($,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:_.createElement("div",{className:`${h}-mask-info`},_.createElement(lie,null),p==null?void 0:p.preview),icons:vBe},R),{getContainer:P??c,transitionName:As(d,"zoom",$.transitionName),maskTransitionName:As(d,"fade",$.maskTransitionName),zIndex:x,closeIcon:T??((O=f==null?void 0:f.preview)===null||O===void 0?void 0:O.closeIcon)})},[r,p,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},f==null?void 0:f.style),a);return m(_.createElement(L$,Object.assign({prefixCls:h,preview:S,rootClassName:b,className:C,style:w},l)))};yBe.PreviewGroup=mEt;const vEt=yBe,yEt=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e};var bEt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};const CEt=bEt;var SEt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:CEt}))};const g0e=_.forwardRef(SEt);var xEt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};const _Et=xEt;var wEt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:_Et}))};const m0e=_.forwardRef(wEt);var OEt={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:"页码"},EEt=["10","20","50","100"],$Et=function(t){var n=t.pageSizeOptions,r=n===void 0?EEt:n,i=t.locale,o=t.changeSize,a=t.pageSize,l=t.goButton,s=t.quickGo,u=t.rootPrefixCls,c=t.selectComponentClass,f=t.selectPrefixCls,h=t.disabled,d=t.buildOptionText,p=Se.useState(""),g=Me(p,2),m=g[0],v=g[1],y=function(){return!m||Number.isNaN(m)?void 0:Number(m)},b=typeof d=="function"?d:function(A){return"".concat(A," ").concat(i.items_per_page)},C=function(N){o==null||o(Number(N))},x=function(N){v(N.target.value)},S=function(N){l||m===""||(v(""),!(N.relatedTarget&&(N.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||N.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(s==null||s(y())))},w=function(N){m!==""&&(N.keyCode===ht.ENTER||N.type==="click")&&(v(""),s==null||s(y()))},O=function(){return r.some(function(N){return N.toString()===a.toString()})?r:r.concat([a.toString()]).sort(function(N,j){var D=Number.isNaN(Number(N))?0:Number(N),L=Number.isNaN(Number(j))?0:Number(j);return D-L})},$="".concat(u,"-options");if(!o&&!s)return null;var P=null,T=null,R=null;if(o&&c){var M=O().map(function(A,N){return Se.createElement(c.Option,{key:N,value:A.toString()},b(A))});P=Se.createElement(c,{disabled:h,prefixCls:f,showSearch:!1,className:"".concat($,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||r[0]).toString(),onChange:C,getPopupContainer:function(N){return N.parentNode},"aria-label":i.page_size,defaultOpen:!1},M)}return s&&(l&&(R=typeof l=="boolean"?Se.createElement("button",{type:"button",onClick:w,onKeyUp:w,disabled:h,className:"".concat($,"-quick-jumper-button")},i.jump_to_confirm):Se.createElement("span",{onClick:w,onKeyUp:w},l)),T=Se.createElement("div",{className:"".concat($,"-quick-jumper")},i.jump_to,Se.createElement("input",{disabled:h,type:"text",value:m,onChange:x,onKeyUp:w,onBlur:S,"aria-label":i.page}),i.page,R)),Se.createElement("li",{className:$},P,T)},Q6=function(t){var n,r=t.rootPrefixCls,i=t.page,o=t.active,a=t.className,l=t.showTitle,s=t.onClick,u=t.onKeyPress,c=t.itemRender,f="".concat(r,"-item"),h=Re(f,"".concat(f,"-").concat(i),(n={},ue(n,"".concat(f,"-active"),o),ue(n,"".concat(f,"-disabled"),!i),n),a),d=function(){s(i)},p=function(v){u(v,s,i)},g=c(i,"page",Se.createElement("a",{rel:"nofollow"},i));return g?Se.createElement("li",{title:l?String(i):null,className:h,onClick:d,onKeyDown:p,tabIndex:0},g):null},PEt=function(t,n,r){return r};function v0e(){}function y0e(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function ug(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var bBe=function(t){var n,r=t.prefixCls,i=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,a=o===void 0?"rc-select":o,l=t.className,s=t.selectComponentClass,u=t.current,c=t.defaultCurrent,f=c===void 0?1:c,h=t.total,d=h===void 0?0:h,p=t.pageSize,g=t.defaultPageSize,m=g===void 0?10:g,v=t.onChange,y=v===void 0?v0e:v,b=t.hideOnSinglePage,C=t.showPrevNextJumpers,x=C===void 0?!0:C,S=t.showQuickJumper,w=t.showLessItems,O=t.showTitle,$=O===void 0?!0:O,P=t.onShowSizeChange,T=P===void 0?v0e:P,R=t.locale,M=R===void 0?OEt:R,A=t.style,N=t.totalBoundaryShowSizeChanger,j=N===void 0?50:N,D=t.disabled,L=t.simple,B=t.showTotal,k=t.showSizeChanger,z=t.pageSizeOptions,q=t.itemRender,W=q===void 0?PEt:q,U=t.jumpPrevIcon,K=t.jumpNextIcon,X=t.prevIcon,G=t.nextIcon,Y=Se.useRef(null),J=zn(10,{value:p,defaultValue:m}),ee=Me(J,2),Q=ee[0],te=ee[1],ne=zn(1,{value:u,defaultValue:f,postState:function(gt){return Math.max(1,Math.min(gt,ug(void 0,Q,d)))}}),re=Me(ne,2),oe=re[0],se=re[1],ye=Se.useState(oe),be=Me(ye,2),he=be[0],le=be[1];_.useEffect(function(){le(oe)},[oe]);var ve=Math.max(1,oe-(w?3:5)),ke=Math.min(ug(void 0,Q,d),oe+(w?3:5));function Ie(kt,gt){var Bt=kt||Se.createElement("button",{type:"button","aria-label":gt,className:"".concat(i,"-item-link")});return typeof kt=="function"&&(Bt=Se.createElement(kt,fe({},t))),Bt}function Oe(kt){var gt=kt.target.value,Bt=ug(void 0,Q,d),Nn;return gt===""?Nn=gt:Number.isNaN(Number(gt))?Nn=he:gt>=Bt?Nn=Bt:Nn=Number(gt),Nn}function Pe(kt){return y0e(kt)&&kt!==oe&&y0e(d)&&d>0}var _e=d>Q?S:!1;function ce(kt){(kt.keyCode===ht.UP||kt.keyCode===ht.DOWN)&&kt.preventDefault()}function Te(kt){var gt=Oe(kt);switch(gt!==he&&le(gt),kt.keyCode){case ht.ENTER:He(gt);break;case ht.UP:He(gt-1);break;case ht.DOWN:He(gt+1);break}}function Ne(kt){He(Oe(kt))}function je(kt){var gt=ug(kt,Q,d),Bt=oe>gt&>!==0?gt:oe;te(kt),le(Bt),T==null||T(oe,kt),se(Bt),y==null||y(Bt,kt)}function He(kt){if(Pe(kt)&&!D){var gt=ug(void 0,Q,d),Bt=kt;return kt>gt?Bt=gt:kt<1&&(Bt=1),Bt!==he&&le(Bt),se(Bt),y==null||y(Bt,Q),Bt}return oe}var Be=oe>1,qe=oej;function Ee(){Be&&He(oe-1)}function $e(){qe&&He(oe+1)}function Le(){He(ve)}function Fe(){He(ke)}function Ke(kt,gt){if(kt.key==="Enter"||kt.charCode===ht.ENTER||kt.keyCode===ht.ENTER){for(var Bt=arguments.length,Nn=new Array(Bt>2?Bt-2:0),Or=2;Ord?d:oe*Q])),et=null,rt=ug(void 0,Q,d);if(b&&d<=Q)return null;var Ze=[],wt={rootPrefixCls:i,onClick:He,onKeyPress:Ke,showTitle:$,itemRender:W,page:-1},ut=oe-1>0?oe-1:0,ot=oe+1=Ct*2&&oe!==3&&(Ze[0]=Se.cloneElement(Ze[0],{className:Re("".concat(i,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(Je)),rt-oe>=Ct*2&&oe!==rt-2){var $t=Ze[Ze.length-1];Ze[Ze.length-1]=Se.cloneElement($t,{className:Re("".concat(i,"-item-before-jump-next"),$t.props.className)}),Ze.push(et)}At!==1&&Ze.unshift(Se.createElement(Q6,Qe({},wt,{key:1,page:1}))),cn!==rt&&Ze.push(Se.createElement(Q6,Qe({},wt,{key:rt,page:rt})))}var zt=De(ut);if(zt){var Qt=!Be||!rt;zt=Se.createElement("li",{title:$?M.prev_page:null,onClick:Ee,tabIndex:Qt?null:0,onKeyDown:lt,className:Re("".concat(i,"-prev"),ue({},"".concat(i,"-disabled"),Qt)),"aria-disabled":Qt},zt)}var Pt=We(ot);if(Pt){var ct,Wt;L?(ct=!qe,Wt=Be?0:null):(ct=!qe||!rt,Wt=ct?null:0),Pt=Se.createElement("li",{title:$?M.next_page:null,onClick:$e,tabIndex:Wt,onKeyDown:ft,className:Re("".concat(i,"-next"),ue({},"".concat(i,"-disabled"),ct)),"aria-disabled":ct},Pt)}var wn=Re(i,l,(n={},ue(n,"".concat(i,"-simple"),L),ue(n,"".concat(i,"-disabled"),D),n));return Se.createElement("ul",Qe({className:wn,style:A,ref:Y},bt),at,zt,L?Ot:Ze,Pt,Se.createElement($Et,{locale:M,rootPrefixCls:i,disabled:D,selectComponentClass:s,selectPrefixCls:a,changeSize:me?je:null,pageSize:Q,pageSizeOptions:z,quickGo:_e?He:null,goButton:_t}))};const TEt=Object.freeze(Object.defineProperty({__proto__:null,default:bBe},Symbol.toStringTag,{value:"Module"})),CBe=e=>_.createElement(Ps,Object.assign({},e,{showSearch:!0,size:"small"})),SBe=e=>_.createElement(Ps,Object.assign({},e,{showSearch:!0,size:"middle"}));CBe.Option=Ps.Option;SBe.Option=Ps.Option;const MEt=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},REt=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:xe(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM),input:Object.assign(Object.assign({},Gre(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},NEt=e=>{const{componentCls:t}=e;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:xe(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM),input:Object.assign(Object.assign({},Xre(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},IEt=e=>{const{componentCls:t}=e;return{[` &${t}-simple ${t}-prev, &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${xe(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${xe(e.inputOutlineOffset)} 0 ${xe(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},AEt=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + `]:{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:xe(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${xe(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${xe(e.inputOutlineOffset)} 0 ${xe(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},NEt=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` ${t}-prev, ${t}-jump-prev, ${t}-jump-next @@ -400,8 +400,8 @@ html body { ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${xe(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:xe(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},R$(e)),Hre(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},SB(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},kEt=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:xe(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${xe(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},jEt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:xe(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),kEt(e)),AEt(e)),NEt(e)),IEt(e)),REt(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},DEt=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},dh(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},uh(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},uh(e))}}}},SBe=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},CB(e)),xBe=e=>Wn(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},bB(e)),LEt=vr("Pagination",e=>{const t=xBe(e);return[jEt(t),DEt(t)]},SBe),zEt=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},BEt=Ry(["Pagination","bordered"],e=>{const t=xBe(e);return[zEt(t)]},SBe);var FEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:i,style:o,size:a,locale:l,selectComponentClass:s,responsive:u,showSizeChanger:c}=e,f=FEt(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:h}=lB(u),[,d]=To(),{getPrefixCls:p,direction:g,pagination:m={}}=_.useContext(on),v=p("pagination",t),[y,b,C]=LEt(v),x=c??m.showSizeChanger,S=_.useMemo(()=>{const A=_.createElement("span",{className:`${v}-item-ellipsis`},"•••"),N=_.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},g==="rtl"?_.createElement(KE,null):_.createElement(iQ,null)),k=_.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},g==="rtl"?_.createElement(iQ,null):_.createElement(KE,null)),D=_.createElement("a",{className:`${v}-item-link`},_.createElement("div",{className:`${v}-item-container`},g==="rtl"?_.createElement(g0e,{className:`${v}-item-link-icon`}):_.createElement(h0e,{className:`${v}-item-link-icon`}),A)),L=_.createElement("a",{className:`${v}-item-link`},_.createElement("div",{className:`${v}-item-container`},g==="rtl"?_.createElement(h0e,{className:`${v}-item-link-icon`}):_.createElement(g0e,{className:`${v}-item-link-icon`}),A));return{prevIcon:N,nextIcon:k,jumpPrevIcon:D,jumpNextIcon:L}},[g,v]),[w]=xu("Pagination",UAe),O=Object.assign(Object.assign({},w),l),$=Go(a),P=$==="small"||!!(h&&!$&&u),T=p("select",n),R=Re({[`${v}-mini`]:P,[`${v}-rtl`]:g==="rtl",[`${v}-bordered`]:d.wireframe},m==null?void 0:m.className,r,i,b,C),M=Object.assign(Object.assign({},m==null?void 0:m.style),o);return y(_.createElement(_.Fragment,null,d.wireframe&&_.createElement(BEt,{prefixCls:v}),_.createElement(yBe,Object.assign({},S,f,{style:M,prefixCls:v,selectPrefixCls:T,className:R,selectComponentClass:s||(P?bBe:CBe),locale:O,showSizeChanger:x}))))},WEt=HEt,qEt=new lr("antSpinMove",{to:{opacity:1}}),VEt=new lr("antRotate",{to:{transform:"rotate(405deg)"}}),UEt=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${t}-dot ${t}-dot-item`]:{backgroundColor:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:qEt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:VEt,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM,i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG,i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},GEt=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},KEt=vr("Spin",e=>{const t=Wn(e,{spinDotDefault:e.colorTextDescription});return[UEt(t)]},GEt);var XEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:o,size:a="default",tip:l,wrapperClassName:s,style:u,children:c,fullscreen:f=!1}=e,h=XEt(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:d}=_.useContext(on),p=d("spin",t),[g,m,v]=KEt(p),[y,b]=_.useState(()=>n&&!ZEt(n,r));_.useEffect(()=>{if(n){const R=Yre(r,()=>{b(!0)});return R(),()=>{var M;(M=R==null?void 0:R.cancel)===null||M===void 0||M.call(R)}}b(!1)},[r,n]);const C=_.useMemo(()=>typeof c<"u"&&!f,[c,f]),{direction:x,spin:S}=_.useContext(on),w=Re(p,S==null?void 0:S.className,{[`${p}-sm`]:a==="small",[`${p}-lg`]:a==="large",[`${p}-spinning`]:y,[`${p}-show-text`]:!!l,[`${p}-fullscreen`]:f,[`${p}-fullscreen-show`]:f&&y,[`${p}-rtl`]:x==="rtl"},i,o,m,v),O=Re(`${p}-container`,{[`${p}-blur`]:y}),$=bi(h,["indicator"]),P=Object.assign(Object.assign({},S==null?void 0:S.style),u),T=_.createElement("div",Object.assign({},$,{style:P,className:w,"aria-live":"polite","aria-busy":y}),YEt(p,e),l&&(C||f)?_.createElement("div",{className:`${p}-text`},l):null);return g(C?_.createElement("div",Object.assign({},$,{className:Re(`${p}-nested-loading`,s,m,v)}),y&&_.createElement("div",{key:"loading"},T),_.createElement("div",{className:O,key:"container"},c)):T)};_Be.setDefaultIndicator=e=>{Mk=e};const wBe=_Be;function QEt(){var e=_.useState({id:0,callback:null}),t=Me(e,2),n=t[0],r=t[1],i=_.useCallback(function(o){r(function(a){var l=a.id;return{id:l+1,callback:o}})},[]);return _.useEffect(function(){var o;(o=n.callback)===null||o===void 0||o.call(n)},[n]),i}var OBe=_.createContext(null);function JEt(e){var t=_.useContext(OBe),n=t.notFoundContent,r=t.activeIndex,i=t.setActiveIndex,o=t.selectOption,a=t.onFocus,l=t.onBlur,s=e.prefixCls,u=e.options,c=u[r]||{};return _.createElement(R0,{prefixCls:"".concat(s,"-menu"),activeKey:c.key,onSelect:function(h){var d=h.key,p=u.find(function(g){var m=g.key;return m===d});o(p)},onFocus:a,onBlur:l},u.map(function(f,h){var d=f.key,p=f.disabled,g=f.className,m=f.style,v=f.label;return _.createElement(gh,{key:d,disabled:p,className:g,style:m,onMouseEnter:function(){i(h)}},v)}),!u.length&&_.createElement(gh,{disabled:!0},n))}var e7t={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},t7t=function(t){var n=t.prefixCls,r=t.options,i=t.children,o=t.visible,a=t.transitionName,l=t.getPopupContainer,s=t.dropdownClassName,u=t.direction,c=t.placement,f="".concat(n,"-dropdown"),h=_.createElement(JEt,{prefixCls:f,options:r}),d=_.useMemo(function(){var p;return u==="rtl"?p=c==="top"?"topLeft":"bottomLeft":p=c==="top"?"topRight":"bottomRight",p},[u,c]);return _.createElement(ky,{prefixCls:f,popupVisible:o,popup:h,popupPlacement:d,popupTransitionName:a,builtinPlacements:e7t,getPopupContainer:l,popupClassName:s},i)},n7t=function(){return null};function r7t(e){var t=e.selectionStart;return e.value.slice(0,t)}function i7t(e,t){return t.reduce(function(n,r){var i=e.lastIndexOf(r);return i>n.location?{location:i,prefix:r}:n},{location:-1,prefix:""})}function y0e(e){return(e||"").toLowerCase()}function o7t(e,t,n){var r=e[0];if(!r||r===n)return e;for(var i=e,o=t.length,a=0;a=0)return[!0,"",ot,dt]}return[X,ee,re,be]},[g,X,j,je,ee,re,be]),qe=Me(Be,4),me=qe[0],Ee=qe[1],$e=qe[2],Le=qe[3],Fe=Se.useCallback(function(ut){var ot;return p&&p.length>0?ot=p.map(function(dt){var _t;return fe(fe({},dt),{},{key:(_t=dt==null?void 0:dt.key)!==null&&_t!==void 0?_t:dt.value})}):ot=Wo(d).map(function(dt){var _t=dt.props,Ot=dt.key;return fe(fe({},_t),{},{label:_t.children,key:Ot||_t.value})}),ot.filter(function(dt){return b===!1?!0:b(ut,dt)})},[d,p,b]),Ke=Se.useMemo(function(){return Fe(Ee)},[Fe,Ee]),lt=QEt(),ft=function(ot,dt,_t){G(!0),Q(ot),oe(dt),he(_t),Ie(0)},Ye=function(ot){G(!1),he(0),Q(""),lt(ot)},we=function(ot){He(ot),C==null||C(ot)},De=function(ot){var dt=ot.target.value;we(dt)},We=function(ot){var dt,_t=ot.value,Ot=_t===void 0?"":_t,Ct=a7t(je,{measureLocation:Le,targetText:Ot,prefix:$e,selectionStart:(dt=W())===null||dt===void 0?void 0:dt.selectionStart,split:s}),mt=Ct.text,It=Ct.selectionLocation;we(mt),Ye(function(){l7t(W(),It)}),$==null||$(ot,$e)},Ge=function(ot){var dt=ot.which;if(x==null||x(ot),!!me){if(dt===ht.UP||dt===ht.DOWN){var _t=Ke.length,Ot=dt===ht.UP?-1:1,Ct=(ke+Ot+_t)%_t;Ie(Ct),ot.preventDefault()}else if(dt===ht.ESC)Ye();else if(dt===ht.ENTER){if(ot.preventDefault(),!Ke.length){Ye();return}var mt=Ke[ke];We(mt)}}},Je=function(ot){var dt=ot.key,_t=ot.which,Ot=ot.target,Ct=r7t(Ot),mt=i7t(Ct,j),It=mt.location,nt=mt.prefix;if(S==null||S(ot),[ht.ESC,ht.UP,ht.DOWN,ht.ENTER].indexOf(_t)===-1)if(It!==-1){var yt=Ct.slice(It+nt.length),xt=v(yt,s),At=!!Fe(yt).length;xt?(dt===nt||dt==="Shift"||me||yt!==Ee&&At)&&ft(yt,nt,It):me&&Ye(),O&&xt&&O(yt,nt)}else me&&Ye()},bt=function(ot){!me&&w&&w(ot)},at=_.useRef(),et=function(ot){window.clearTimeout(at.current),!_e&&ot&&P&&P(ot),ce(!0)},rt=function(ot){at.current=window.setTimeout(function(){ce(!1),Ye(),T==null||T(ot)},0)},Ze=function(){et()},wt=function(){rt()};return Se.createElement("div",{className:Re(n,r),style:i},Se.createElement(lie,Qe({ref:z,value:je},B,{rows:L,onChange:De,onKeyDown:Ge,onKeyUp:Je,onPressEnter:bt,onFocus:et,onBlur:rt})),me&&Se.createElement("div",{ref:V,className:"".concat(n,"-measure")},je.slice(0,Le),Se.createElement(OBe.Provider,{value:{notFoundContent:c,activeIndex:ke,setActiveIndex:Ie,selectOption:We,onFocus:Ze,onBlur:wt}},Se.createElement(t7t,{prefixCls:n,transitionName:R,placement:M,direction:A,options:Ke,visible:!0,getPopupContainer:N,dropdownClassName:k},Se.createElement("span",null,$e))),je.slice(Le+$e.length)))}),EBe=_.forwardRef(function(e,t){var n=e.suffix,r=e.prefixCls,i=r===void 0?"rc-mentions":r,o=e.defaultValue,a=e.value,l=e.allowClear,s=e.onChange,u=e.classNames,c=e.className,f=e.disabled,h=an(e,d7t),d=zn("",{defaultValue:o,value:a}),p=Me(d,2),g=p[0],m=p[1],v=function(C){m(C),s==null||s(C)},y=function(){v("")};return Se.createElement(A$,{suffix:n,prefixCls:i,value:g,allowClear:l,handleReset:y,className:c,classNames:u,disabled:f},Se.createElement(f7t,Qe({className:u==null?void 0:u.mentions,prefixCls:i,ref:t,onChange:v},h)))});EBe.Option=n7t;const p7t=Object.freeze(Object.defineProperty({__proto__:null,default:EBe},Symbol.toStringTag,{value:"Module"}));let Gc=null,Ev=e=>e(),e7=[],t7={};function b0e(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=t7,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:i}}const h7t=Se.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=_.useContext(on),o=t7.prefixCls||i("message"),a=_.useContext(Hje),[l,s]=Zke(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.message));return Se.useImperativeHandle(t,()=>{const u=Object.assign({},l);return Object.keys(u).forEach(c=>{u[c]=function(){return r(),l[c].apply(l,arguments)}}),{instance:u,sync:r}}),s}),g7t=Se.forwardRef((e,t)=>{const[n,r]=Se.useState(b0e),i=()=>{r(b0e)};Se.useEffect(i,[]);const o=Kne(),a=o.getRootPrefixCls(),l=o.getIconPrefixCls(),s=o.getTheme(),u=Se.createElement(h7t,{ref:t,sync:i,messageConfig:n});return Se.createElement(Td,{prefixCls:a,iconPrefixCls:l,theme:s},o.holderRender?o.holderRender(u):u)});function RB(){if(!Gc){const e=document.createDocumentFragment(),t={fragment:e};Gc=t,Ev(()=>{zz(Se.createElement(g7t,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,RB())})}}),e)});return}Gc.instance&&(e7.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{Ev(()=>{const r=Gc.instance.open(Object.assign(Object.assign({},t7),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":Ev(()=>{Gc==null||Gc.instance.destroy(e.key)});break;default:Ev(()=>{var r;const i=(r=Gc.instance)[t].apply(r,vt(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),e7=[])}function m7t(e){t7=Object.assign(Object.assign({},t7),e),Ev(()=>{var t;(t=Gc==null?void 0:Gc.sync)===null||t===void 0||t.call(Gc)})}function v7t(e){const t=Qne(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return e7.push(i),()=>{r?Ev(()=>{r()}):i.skipped=!0}});return RB(),t}function y7t(e,t){const n=Qne(r=>{let i;const o={type:e,args:t,resolve:r,setCloseFn:a=>{i=a}};return e7.push(o),()=>{i?Ev(()=>{i()}):o.skipped=!0}});return RB(),n}function b7t(e){e7.push({type:"destroy",key:e}),RB()}const C7t=["success","info","warning","error","loading"],S7t={open:v7t,destroy:b7t,config:m7t,useMessage:vgt,_InternalPanelDoNotUseOrYouWillBeFired:cgt},pr=S7t;C7t.forEach(e=>{pr[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:o,title:a,children:l,footer:s}=e,u=x7t(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:c}=_.useContext(on),f=c(),h=t||c("modal"),d=di(f),[p,g,m]=Oje(h,d),v=`${h}-confirm`;let y={};return o?y={closable:i??!1,title:"",footer:"",children:_.createElement($je,Object.assign({},e,{prefixCls:h,confirmPrefixCls:v,rootPrefixCls:f,content:l}))}:y={closable:i??!0,title:a,footer:s!==null&&_.createElement(Sje,Object.assign({},e)),children:l},p(_.createElement(ore,Object.assign({prefixCls:h,className:Re(g,`${h}-pure-panel`,o&&v,o&&`${v}-${o}`,n,m,d)},u,{closeIcon:Cje(h,r),closable:i},y)))},w7t=Wje(_7t);function $Be(e){return E$(Rje(e))}const Rd=Eje;Rd.useModal=Myt;Rd.info=function(t){return E$(Ije(t))};Rd.success=function(t){return E$(Nje(t))};Rd.error=function(t){return E$(Aje(t))};Rd.warning=$Be;Rd.warn=$Be;Rd.confirm=function(t){return E$(kje(t))};Rd.destroyAll=function(){for(;wv.length;){const t=wv.pop();t&&t()}};Rd.config=Oyt;Rd._InternalPanelDoNotUseOrYouWillBeFired=w7t;const vh=Rd;let sd=null,Rk=e=>e(),fD=[],n7={};function C0e(){const{getContainer:e,rtl:t,maxCount:n,top:r,bottom:i}=n7,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,rtl:t,maxCount:n,top:r,bottom:i}}const O7t=Se.forwardRef((e,t)=>{const{notificationConfig:n,sync:r}=e,{getPrefixCls:i}=_.useContext(on),o=n7.prefixCls||i("notification"),a=_.useContext(Hje),[l,s]=Fje(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.notification));return Se.useEffect(r,[]),Se.useImperativeHandle(t,()=>{const u=Object.assign({},l);return Object.keys(u).forEach(c=>{u[c]=function(){return r(),l[c].apply(l,arguments)}}),{instance:u,sync:r}}),s}),E7t=Se.forwardRef((e,t)=>{const[n,r]=Se.useState(C0e),i=()=>{r(C0e)};Se.useEffect(i,[]);const o=Kne(),a=o.getRootPrefixCls(),l=o.getIconPrefixCls(),s=o.getTheme(),u=Se.createElement(O7t,{ref:t,sync:i,notificationConfig:n});return Se.createElement(Td,{prefixCls:a,iconPrefixCls:l,theme:s},o.holderRender?o.holderRender(u):u)});function fie(){if(!sd){const e=document.createDocumentFragment(),t={fragment:e};sd=t,Rk(()=>{zz(Se.createElement(E7t,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,fie())})}}),e)});return}sd.instance&&(fD.forEach(e=>{switch(e.type){case"open":{Rk(()=>{sd.instance.open(Object.assign(Object.assign({},n7),e.config))});break}case"destroy":Rk(()=>{sd==null||sd.instance.destroy(e.key)});break}}),fD=[])}function $7t(e){n7=Object.assign(Object.assign({},n7),e),Rk(()=>{var t;(t=sd==null?void 0:sd.sync)===null||t===void 0||t.call(sd)})}function PBe(e){fD.push({type:"open",config:e}),fie()}function P7t(e){fD.push({type:"destroy",key:e}),fie()}const T7t=["success","info","warning","error"],M7t={open:PBe,destroy:P7t,config:$7t,useNotification:ebt,_InternalPanelDoNotUseOrYouWillBeFired:Vyt},TBe=M7t;T7t.forEach(e=>{TBe[e]=t=>PBe(Object.assign(Object.assign({},t),{type:e}))});const R7t=e=>{const{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:o,colorWarning:a,marginXXS:l,marginXS:s,fontSize:u,fontWeightStrong:c,colorTextHeading:f}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:u,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:c,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}},I7t=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},MBe=vr("Popconfirm",e=>R7t(e),I7t,{resetStyle:!1});var N7t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:o,cancelText:a,okText:l,okType:s="primary",icon:u=_.createElement(Iy,null),showCancel:c=!0,close:f,onConfirm:h,onCancel:d,onPopupClick:p}=e,{getPrefixCls:g}=_.useContext(on),[m]=xu("Popconfirm",Sc.Popconfirm),v=f4(i),y=f4(o);return _.createElement("div",{className:`${t}-inner-content`,onClick:p},_.createElement("div",{className:`${t}-message`},u&&_.createElement("span",{className:`${t}-message-icon`},u),_.createElement("div",{className:`${t}-message-text`},v&&_.createElement("div",{className:Re(`${t}-title`)},v),y&&_.createElement("div",{className:`${t}-description`},y))),_.createElement("div",{className:`${t}-buttons`},c&&_.createElement(Ei,Object.assign({onClick:d,size:"small"},r),a||(m==null?void 0:m.cancelText)),_.createElement(rre,{buttonProps:Object.assign(Object.assign({size:"small"},Jne(s)),n),actionFn:h,close:f,prefixCls:g("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||(m==null?void 0:m.okText))))},A7t=e=>{const{prefixCls:t,placement:n,className:r,style:i}=e,o=N7t(e,["prefixCls","placement","className","style"]),{getPrefixCls:a}=_.useContext(on),l=a("popconfirm",t),[s]=MBe(l);return s(_.createElement(xDe,{placement:n,className:Re(l,r),style:i,content:_.createElement(RBe,Object.assign({prefixCls:l},o))}))},k7t=A7t;var j7t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{prefixCls:i,placement:o="top",trigger:a="click",okType:l="primary",icon:s=_.createElement(Iy,null),children:u,overlayClassName:c,onOpenChange:f,onVisibleChange:h}=e,d=j7t(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:p}=_.useContext(on),[g,m]=zn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),v=(P,T)=>{m(P,!0),h==null||h(P),f==null||f(P,T)},y=P=>{v(!1,P)},b=P=>{var T;return(T=e.onConfirm)===null||T===void 0?void 0:T.call(void 0,P)},C=P=>{var T;v(!1,P),(T=e.onCancel)===null||T===void 0||T.call(void 0,P)},x=P=>{P.keyCode===ht.ESC&&g&&v(!1,P)},S=P=>{const{disabled:T=!1}=e;T||v(P)},w=p("popconfirm",i),O=Re(w,c),[$]=MBe(w);return $(_.createElement(xre,Object.assign({},bi(d,["title"]),{trigger:a,placement:o,onOpenChange:S,open:g,ref:t,overlayClassName:O,content:_.createElement(RBe,Object.assign({okType:l,icon:s},e,{prefixCls:w,close:y,onConfirm:b,onCancel:C})),"data-popover-inject":!0}),Mo(u,{onKeyDown:P=>{var T,R;_.isValidElement(u)&&((R=u==null?void 0:(T=u.props).onKeyDown)===null||R===void 0||R.call(T,P)),x(P)}})))});IBe._InternalPanelDoNotUseOrYouWillBeFired=k7t;const pie=IBe;var NBe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ABe=function(){var t=_.useRef([]),n=_.useRef(null);return _.useEffect(function(){var r=Date.now(),i=!1;t.current.forEach(function(o){if(o){i=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(a.transitionDuration="0s, 0s")}}),i&&(n.current=Date.now())}),t.current},D7t=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],kBe=function(t){var n=fe(fe({},NBe),t),r=n.className,i=n.percent,o=n.prefixCls,a=n.strokeColor,l=n.strokeLinecap,s=n.strokeWidth,u=n.style,c=n.trailColor,f=n.trailWidth,h=n.transition,d=an(n,D7t);delete d.gapPosition;var p=Array.isArray(i)?i:[i],g=Array.isArray(a)?a:[a],m=ABe(),v=s/2,y=100-s/2,b="M ".concat(l==="round"?v:0,",").concat(v,` - L `).concat(l==="round"?y:100,",").concat(v),C="0 0 100 ".concat(s),x=0;return _.createElement("svg",Qe({className:Re("".concat(o,"-line"),r),viewBox:C,preserveAspectRatio:"none",style:u},d),_.createElement("path",{className:"".concat(o,"-line-trail"),d:b,strokeLinecap:l,stroke:c,strokeWidth:f||s,fillOpacity:"0"}),p.map(function(S,w){var O=1;switch(l){case"round":O=1-s/100;break;case"square":O=1-s/2/100;break;default:O=1;break}var $={strokeDasharray:"".concat(S*O,"px, 100px"),strokeDashoffset:"-".concat(x,"px"),transition:h||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},P=g[w]||g[g.length-1];return x+=S,_.createElement("path",{key:w,className:"".concat(o,"-line-path"),d:b,strokeLinecap:l,stroke:P,strokeWidth:s,fillOpacity:"0",ref:function(R){m[w]=R},style:$})}))},S0e=0,L7t=oa();function z7t(){var e;return L7t?(e=S0e,S0e+=1):e="TEST_OR_SSR",e}const B7t=function(e){var t=_.useState(),n=Me(t,2),r=n[0],i=n[1];return _.useEffect(function(){i("rc_progress_".concat(z7t()))},[]),e||r};var x0e=function(t){var n=t.bg,r=t.children;return _.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function _0e(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)})}var F7t=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,i=e.gradientId,o=e.radius,a=e.style,l=e.ptg,s=e.strokeLinecap,u=e.strokeWidth,c=e.size,f=e.gapDegree,h=r&&bn(r)==="object",d=h?"#FFF":void 0,p=c/2,g=_.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:p,cy:p,stroke:d,strokeLinecap:s,strokeWidth:u,opacity:l===0?0:1,style:a,ref:t});if(!h)return g;var m="".concat(i,"-conic"),v=f?"".concat(180+f/2,"deg"):"0deg",y=_0e(r,(360-f)/360),b=_0e(r,1),C="conic-gradient(from ".concat(v,", ").concat(y.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(b.join(", "),")");return _.createElement(_.Fragment,null,_.createElement("mask",{id:m},g),_.createElement("foreignObject",{x:0,y:0,width:c,height:c,mask:"url(#".concat(m,")")},_.createElement(x0e,{bg:x},_.createElement(x0e,{bg:C}))))}),e9=100,$V=function(t,n,r,i,o,a,l,s,u,c){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,h=r/100*360*((360-a)/360),d=a===0?0:{bottom:0,top:180,left:90,right:-90}[l],p=(100-i)/100*n;u==="round"&&i!==100&&(p+=c/2,p>=n&&(p=n-.01));var g=e9/2;return{stroke:typeof s=="string"?s:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:p+f,transform:"rotate(".concat(o+h+d,"deg)"),transformOrigin:"".concat(g,"px ").concat(g,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},H7t=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function w0e(e){var t=e??[];return Array.isArray(t)?t:[t]}var hie=function(t){var n=fe(fe({},NBe),t),r=n.id,i=n.prefixCls,o=n.steps,a=n.strokeWidth,l=n.trailWidth,s=n.gapDegree,u=s===void 0?0:s,c=n.gapPosition,f=n.trailColor,h=n.strokeLinecap,d=n.style,p=n.className,g=n.strokeColor,m=n.percent,v=an(n,H7t),y=e9/2,b=B7t(r),C="".concat(b,"-gradient"),x=y-a/2,S=Math.PI*2*x,w=u>0?90+u/2:-90,O=S*((360-u)/360),$=bn(o)==="object"?o:{count:o,space:2},P=$.count,T=$.space,R=w0e(m),M=w0e(g),A=M.find(function(z){return z&&bn(z)==="object"}),N=A&&bn(A)==="object",k=N?"butt":h,D=$V(S,O,0,100,w,u,c,f,k,a),L=ABe(),B=function(){var V=0;return R.map(function(W,U){var K=M[U]||M[M.length-1],X=$V(S,O,V,W,w,u,c,K,k,a);return V+=W,_.createElement(F7t,{key:U,color:K,ptg:W,radius:x,prefixCls:i,gradientId:C,style:X,strokeLinecap:k,strokeWidth:a,gapDegree:u,ref:function(Y){L[U]=Y},size:e9})}).reverse()},j=function(){var V=Math.round(P*(R[0]/100)),W=100/P,U=0;return new Array(P).fill(null).map(function(K,X){var G=X<=V-1?M[0]:f,Y=G&&bn(G)==="object"?"url(#".concat(C,")"):void 0,J=$V(S,O,U,W,w,u,c,G,"butt",a,T);return U+=(O-J.strokeDashoffset+T)*100/O,_.createElement("circle",{key:X,className:"".concat(i,"-circle-path"),r:x,cx:y,cy:y,stroke:Y,strokeWidth:a,opacity:1,style:J,ref:function(Q){L[X]=Q}})})};return _.createElement("svg",Qe({className:Re("".concat(i,"-circle"),p),viewBox:"0 0 ".concat(e9," ").concat(e9),style:d,id:r,role:"presentation"},v),!P&&_.createElement("circle",{className:"".concat(i,"-circle-trail"),r:x,cx:y,cy:y,stroke:f,strokeLinecap:k,strokeWidth:l||a,style:D}),P?j():B())};const W7t={Line:kBe,Circle:hie},q7t=Object.freeze(Object.defineProperty({__proto__:null,Circle:hie,Line:kBe,default:W7t},Symbol.toStringTag,{value:"Module"}));function o0(e){return!e||e<0?0:e>100?100:e}function pD(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const V7t=e=>{let{percent:t,success:n,successPercent:r}=e;const i=o0(pD({success:n,successPercent:r}));return[i,o0(o0(t)-i)]},U7t=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||zv.green,n||null]},IB=(e,t,n)=>{var r,i,o,a;let l=-1,s=-1;if(t==="step"){const u=n.steps,c=n.strokeWidth;typeof e=="string"||typeof e>"u"?(l=e==="small"?2:14,s=c??8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,s=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return[l,s]},G7t=3,K7t=e=>G7t/e*100,X7t=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:i,gapDegree:o,width:a=120,type:l,children:s,success:u,size:c=a}=e,[f,h]=IB(c,"circle");let{strokeWidth:d}=e;d===void 0&&(d=Math.max(K7t(f),6));const p={width:f,height:h,fontSize:f*.15+6},g=_.useMemo(()=>{if(o||o===0)return o;if(l==="dashboard")return 75},[o,l]),m=i||l==="dashboard"&&"bottom"||void 0,v=Object.prototype.toString.call(e.strokeColor)==="[object Object]",y=U7t({success:u,strokeColor:e.strokeColor}),b=Re(`${t}-inner`,{[`${t}-circle-gradient`]:v}),C=_.createElement(hie,{percent:V7t(e),strokeWidth:d,trailWidth:d,strokeColor:y,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:g,gapPosition:m});return _.createElement("div",{className:b,style:p},f<=20?_.createElement(Ly,{title:s},_.createElement("span",null,C)):_.createElement(_.Fragment,null,C,s))},Y7t=X7t,hD="--progress-line-stroke-color",jBe="--progress-percent",O0e=e=>{const t=e?"100%":"-100%";return new lr(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Z7t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${xe(e.marginXS)})`,paddingInlineEnd:`calc(2em + ${xe(e.paddingXS)})`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${hD})`]},height:"100%",width:`calc(1 / var(${jBe}) * 100%)`,display:"block"}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:O0e(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:O0e(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Q7t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},J7t=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},e$t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},t$t=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),n$t=vr("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Wn(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Z7t(n),Q7t(n),J7t(n),e$t(n)]},t$t);var r$t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},o$t=(e,t)=>{const{from:n=zv.blue,to:r=zv.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=r$t(e,["from","to","direction"]);if(Object.keys(o).length!==0){const l=i$t(o),s=`linear-gradient(${i}, ${l})`;return{background:s,[hD]:s}}const a=`linear-gradient(${i}, ${n}, ${r})`;return{background:a,[hD]:a}},a$t=e=>{const{prefixCls:t,direction:n,percent:r,size:i,strokeWidth:o,strokeColor:a,strokeLinecap:l="round",children:s,trailColor:u=null,success:c}=e,f=a&&typeof a!="string"?o$t(a,n):{[hD]:a,background:a},h=l==="square"||l==="butt"?0:void 0,d=i??[-1,o||(i==="small"?6:8)],[p,g]=IB(d,"line",{strokeWidth:o}),m={backgroundColor:u||void 0,borderRadius:h},v=Object.assign(Object.assign({width:`${o0(r)}%`,height:g,borderRadius:h},f),{[jBe]:o0(r)/100}),y=pD(e),b={width:`${o0(y)}%`,height:g,borderRadius:h,backgroundColor:c==null?void 0:c.strokeColor},C={width:p<0?"100%":p,height:g};return _.createElement(_.Fragment,null,_.createElement("div",{className:`${t}-outer`,style:C},_.createElement("div",{className:`${t}-inner`,style:m},_.createElement("div",{className:`${t}-bg`,style:v}),y!==void 0?_.createElement("div",{className:`${t}-success-bg`,style:b}):null)),s)},l$t=a$t,s$t=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:i=8,strokeColor:o,trailColor:a=null,prefixCls:l,children:s}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,i],[h,d]=IB(f,"step",{steps:n,strokeWidth:i}),p=h/n,g=new Array(n);for(let m=0;m{const{prefixCls:n,className:r,rootClassName:i,steps:o,strokeColor:a,percent:l=0,size:s="default",showInfo:u=!0,type:c="line",status:f,format:h,style:d}=e,p=u$t(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),g=_.useMemo(()=>{var M,A;const N=pD(e);return parseInt(N!==void 0?(M=N??0)===null||M===void 0?void 0:M.toString():(A=l??0)===null||A===void 0?void 0:A.toString(),10)},[l,e.success,e.successPercent]),m=_.useMemo(()=>!d$t.includes(f)&&g>=100?"success":f||"normal",[f,g]),{getPrefixCls:v,direction:y,progress:b}=_.useContext(on),C=v("progress",n),[x,S,w]=n$t(C),O=_.useMemo(()=>{if(!u)return null;const M=pD(e);let A;const N=h||(D=>`${D}%`),k=c==="line";return h||m!=="exception"&&m!=="success"?A=N(o0(l),o0(M)):m==="exception"?A=k?_.createElement(Rh,null):_.createElement(Ic,null):m==="success"&&(A=k?_.createElement(uC,null):_.createElement(iB,null)),_.createElement("span",{className:`${C}-text`,title:typeof A=="string"?A:void 0},A)},[u,l,g,m,c,C,h]),$=Array.isArray(a)?a[0]:a,P=typeof a=="string"||Array.isArray(a)?a:void 0;let T;c==="line"?T=o?_.createElement(c$t,Object.assign({},e,{strokeColor:P,prefixCls:C,steps:o}),O):_.createElement(l$t,Object.assign({},e,{strokeColor:$,prefixCls:C,direction:y}),O):(c==="circle"||c==="dashboard")&&(T=_.createElement(Y7t,Object.assign({},e,{strokeColor:$,prefixCls:C,progressStatus:m}),O));const R=Re(C,`${C}-status-${m}`,`${C}-${c==="dashboard"&&"circle"||o&&"steps"||c}`,{[`${C}-inline-circle`]:c==="circle"&&IB(s,"circle")[0]<=20,[`${C}-show-info`]:u,[`${C}-${s}`]:typeof s=="string",[`${C}-rtl`]:y==="rtl"},b==null?void 0:b.className,r,i,S,w);return x(_.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},b==null?void 0:b.style),d),className:R,role:"progressbar","aria-valuenow":g},bi(p,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),T))}),B9=f$t;var p$t=Object.defineProperty,gD=Object.getOwnPropertySymbols,DBe=Object.prototype.hasOwnProperty,LBe=Object.prototype.propertyIsEnumerable,E0e=(e,t,n)=>t in e?p$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r7=(e,t)=>{for(var n in t||(t={}))DBe.call(t,n)&&E0e(e,n,t[n]);if(gD)for(var n of gD(t))LBe.call(t,n)&&E0e(e,n,t[n]);return e},gie=(e,t)=>{var n={};for(var r in e)DBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&gD)for(var r of gD(e))t.indexOf(r)<0&&LBe.call(e,r)&&(n[r]=e[r]);return n};/** + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${xe(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:xe(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},I$(e)),qre(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},xB(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},AEt=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:xe(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${xe(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${xe(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},kEt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:xe(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),AEt(e)),NEt(e)),IEt(e)),REt(e)),MEt(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},jEt=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},dh(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},uh(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},uh(e))}}}},xBe=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},SB(e)),_Be=e=>Wn(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},CB(e)),DEt=vr("Pagination",e=>{const t=_Be(e);return[kEt(t),jEt(t)]},xBe),LEt=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},zEt=Ry(["Pagination","bordered"],e=>{const t=_Be(e);return[LEt(t)]},xBe);var BEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,selectPrefixCls:n,className:r,rootClassName:i,style:o,size:a,locale:l,selectComponentClass:s,responsive:u,showSizeChanger:c}=e,f=BEt(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:h}=sB(u),[,d]=To(),{getPrefixCls:p,direction:g,pagination:m={}}=_.useContext(on),v=p("pagination",t),[y,b,C]=DEt(v),x=c??m.showSizeChanger,S=_.useMemo(()=>{const A=_.createElement("span",{className:`${v}-item-ellipsis`},"•••"),N=_.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},g==="rtl"?_.createElement(XE,null):_.createElement(oQ,null)),j=_.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},g==="rtl"?_.createElement(oQ,null):_.createElement(XE,null)),D=_.createElement("a",{className:`${v}-item-link`},_.createElement("div",{className:`${v}-item-container`},g==="rtl"?_.createElement(m0e,{className:`${v}-item-link-icon`}):_.createElement(g0e,{className:`${v}-item-link-icon`}),A)),L=_.createElement("a",{className:`${v}-item-link`},_.createElement("div",{className:`${v}-item-container`},g==="rtl"?_.createElement(g0e,{className:`${v}-item-link-icon`}):_.createElement(m0e,{className:`${v}-item-link-icon`}),A));return{prevIcon:N,nextIcon:j,jumpPrevIcon:D,jumpNextIcon:L}},[g,v]),[w]=xu("Pagination",GAe),O=Object.assign(Object.assign({},w),l),$=Go(a),P=$==="small"||!!(h&&!$&&u),T=p("select",n),R=Re({[`${v}-mini`]:P,[`${v}-rtl`]:g==="rtl",[`${v}-bordered`]:d.wireframe},m==null?void 0:m.className,r,i,b,C),M=Object.assign(Object.assign({},m==null?void 0:m.style),o);return y(_.createElement(_.Fragment,null,d.wireframe&&_.createElement(zEt,{prefixCls:v}),_.createElement(bBe,Object.assign({},S,f,{style:M,prefixCls:v,selectPrefixCls:T,className:R,selectComponentClass:s||(P?CBe:SBe),locale:O,showSizeChanger:x}))))},HEt=FEt,WEt=new lr("antSpinMove",{to:{opacity:1}}),qEt=new lr("antRotate",{to:{transform:"rotate(405deg)"}}),VEt=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},sr(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${t}-dot ${t}-dot-item`]:{backgroundColor:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:WEt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:qEt,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM,i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG,i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},UEt=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},GEt=vr("Spin",e=>{const t=Wn(e,{spinDotDefault:e.colorTextDescription});return[VEt(t)]},UEt);var KEt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:o,size:a="default",tip:l,wrapperClassName:s,style:u,children:c,fullscreen:f=!1}=e,h=KEt(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:d}=_.useContext(on),p=d("spin",t),[g,m,v]=GEt(p),[y,b]=_.useState(()=>n&&!YEt(n,r));_.useEffect(()=>{if(n){const R=eze.debounce(r,()=>{b(!0)});return R(),()=>{var M;(M=R==null?void 0:R.cancel)===null||M===void 0||M.call(R)}}b(!1)},[r,n]);const C=_.useMemo(()=>typeof c<"u"&&!f,[c,f]),{direction:x,spin:S}=_.useContext(on),w=Re(p,S==null?void 0:S.className,{[`${p}-sm`]:a==="small",[`${p}-lg`]:a==="large",[`${p}-spinning`]:y,[`${p}-show-text`]:!!l,[`${p}-fullscreen`]:f,[`${p}-fullscreen-show`]:f&&y,[`${p}-rtl`]:x==="rtl"},i,o,m,v),O=Re(`${p}-container`,{[`${p}-blur`]:y}),$=bi(h,["indicator"]),P=Object.assign(Object.assign({},S==null?void 0:S.style),u),T=_.createElement("div",Object.assign({},$,{style:P,className:w,"aria-live":"polite","aria-busy":y}),XEt(p,e),l&&(C||f)?_.createElement("div",{className:`${p}-text`},l):null);return g(C?_.createElement("div",Object.assign({},$,{className:Re(`${p}-nested-loading`,s,m,v)}),y&&_.createElement("div",{key:"loading"},T),_.createElement("div",{className:O,key:"container"},c)):T)};wBe.setDefaultIndicator=e=>{Rk=e};const OBe=wBe;function ZEt(){var e=_.useState({id:0,callback:null}),t=Me(e,2),n=t[0],r=t[1],i=_.useCallback(function(o){r(function(a){var l=a.id;return{id:l+1,callback:o}})},[]);return _.useEffect(function(){var o;(o=n.callback)===null||o===void 0||o.call(n)},[n]),i}var EBe=_.createContext(null);function QEt(e){var t=_.useContext(EBe),n=t.notFoundContent,r=t.activeIndex,i=t.setActiveIndex,o=t.selectOption,a=t.onFocus,l=t.onBlur,s=e.prefixCls,u=e.options,c=u[r]||{};return _.createElement(R0,{prefixCls:"".concat(s,"-menu"),activeKey:c.key,onSelect:function(h){var d=h.key,p=u.find(function(g){var m=g.key;return m===d});o(p)},onFocus:a,onBlur:l},u.map(function(f,h){var d=f.key,p=f.disabled,g=f.className,m=f.style,v=f.label;return _.createElement(gh,{key:d,disabled:p,className:g,style:m,onMouseEnter:function(){i(h)}},v)}),!u.length&&_.createElement(gh,{disabled:!0},n))}var JEt={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},e7t=function(t){var n=t.prefixCls,r=t.options,i=t.children,o=t.visible,a=t.transitionName,l=t.getPopupContainer,s=t.dropdownClassName,u=t.direction,c=t.placement,f="".concat(n,"-dropdown"),h=_.createElement(QEt,{prefixCls:f,options:r}),d=_.useMemo(function(){var p;return u==="rtl"?p=c==="top"?"topLeft":"bottomLeft":p=c==="top"?"topRight":"bottomRight",p},[u,c]);return _.createElement(ky,{prefixCls:f,popupVisible:o,popup:h,popupPlacement:d,popupTransitionName:a,builtinPlacements:JEt,getPopupContainer:l,popupClassName:s},i)},t7t=function(){return null};function n7t(e){var t=e.selectionStart;return e.value.slice(0,t)}function r7t(e,t){return t.reduce(function(n,r){var i=e.lastIndexOf(r);return i>n.location?{location:i,prefix:r}:n},{location:-1,prefix:""})}function b0e(e){return(e||"").toLowerCase()}function i7t(e,t,n){var r=e[0];if(!r||r===n)return e;for(var i=e,o=t.length,a=0;a=0)return[!0,"",ot,dt]}return[X,ee,re,be]},[g,X,k,je,ee,re,be]),qe=Me(Be,4),me=qe[0],Ee=qe[1],$e=qe[2],Le=qe[3],Fe=Se.useCallback(function(ut){var ot;return p&&p.length>0?ot=p.map(function(dt){var _t;return fe(fe({},dt),{},{key:(_t=dt==null?void 0:dt.key)!==null&&_t!==void 0?_t:dt.value})}):ot=Wo(d).map(function(dt){var _t=dt.props,Ot=dt.key;return fe(fe({},_t),{},{label:_t.children,key:Ot||_t.value})}),ot.filter(function(dt){return b===!1?!0:b(ut,dt)})},[d,p,b]),Ke=Se.useMemo(function(){return Fe(Ee)},[Fe,Ee]),lt=ZEt(),ft=function(ot,dt,_t){G(!0),Q(ot),oe(dt),he(_t),Ie(0)},Ye=function(ot){G(!1),he(0),Q(""),lt(ot)},we=function(ot){He(ot),C==null||C(ot)},De=function(ot){var dt=ot.target.value;we(dt)},We=function(ot){var dt,_t=ot.value,Ot=_t===void 0?"":_t,Ct=o7t(je,{measureLocation:Le,targetText:Ot,prefix:$e,selectionStart:(dt=W())===null||dt===void 0?void 0:dt.selectionStart,split:s}),mt=Ct.text,It=Ct.selectionLocation;we(mt),Ye(function(){a7t(W(),It)}),$==null||$(ot,$e)},Ge=function(ot){var dt=ot.which;if(x==null||x(ot),!!me){if(dt===ht.UP||dt===ht.DOWN){var _t=Ke.length,Ot=dt===ht.UP?-1:1,Ct=(ke+Ot+_t)%_t;Ie(Ct),ot.preventDefault()}else if(dt===ht.ESC)Ye();else if(dt===ht.ENTER){if(ot.preventDefault(),!Ke.length){Ye();return}var mt=Ke[ke];We(mt)}}},Je=function(ot){var dt=ot.key,_t=ot.which,Ot=ot.target,Ct=n7t(Ot),mt=r7t(Ct,k),It=mt.location,nt=mt.prefix;if(S==null||S(ot),[ht.ESC,ht.UP,ht.DOWN,ht.ENTER].indexOf(_t)===-1)if(It!==-1){var yt=Ct.slice(It+nt.length),xt=v(yt,s),At=!!Fe(yt).length;xt?(dt===nt||dt==="Shift"||me||yt!==Ee&&At)&&ft(yt,nt,It):me&&Ye(),O&&xt&&O(yt,nt)}else me&&Ye()},bt=function(ot){!me&&w&&w(ot)},at=_.useRef(),et=function(ot){window.clearTimeout(at.current),!_e&&ot&&P&&P(ot),ce(!0)},rt=function(ot){at.current=window.setTimeout(function(){ce(!1),Ye(),T==null||T(ot)},0)},Ze=function(){et()},wt=function(){rt()};return Se.createElement("div",{className:Re(n,r),style:i},Se.createElement(sie,Qe({ref:z,value:je},B,{rows:L,onChange:De,onKeyDown:Ge,onKeyUp:Je,onPressEnter:bt,onFocus:et,onBlur:rt})),me&&Se.createElement("div",{ref:q,className:"".concat(n,"-measure")},je.slice(0,Le),Se.createElement(EBe.Provider,{value:{notFoundContent:c,activeIndex:ke,setActiveIndex:Ie,selectOption:We,onFocus:Ze,onBlur:wt}},Se.createElement(e7t,{prefixCls:n,transitionName:R,placement:M,direction:A,options:Ke,visible:!0,getPopupContainer:N,dropdownClassName:j},Se.createElement("span",null,$e))),je.slice(Le+$e.length)))}),$Be=_.forwardRef(function(e,t){var n=e.suffix,r=e.prefixCls,i=r===void 0?"rc-mentions":r,o=e.defaultValue,a=e.value,l=e.allowClear,s=e.onChange,u=e.classNames,c=e.className,f=e.disabled,h=an(e,u7t),d=zn("",{defaultValue:o,value:a}),p=Me(d,2),g=p[0],m=p[1],v=function(C){m(C),s==null||s(C)},y=function(){v("")};return Se.createElement(k$,{suffix:n,prefixCls:i,value:g,allowClear:l,handleReset:y,className:c,classNames:u,disabled:f},Se.createElement(d7t,Qe({className:u==null?void 0:u.mentions,prefixCls:i,ref:t,onChange:v},h)))});$Be.Option=t7t;const f7t=Object.freeze(Object.defineProperty({__proto__:null,default:$Be},Symbol.toStringTag,{value:"Module"}));let Gc=null,Ev=e=>e(),t7=[],n7={};function C0e(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=n7,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:i}}const p7t=Se.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=_.useContext(on),o=n7.prefixCls||i("message"),a=_.useContext(Hje),[l,s]=Zke(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.message));return Se.useImperativeHandle(t,()=>{const u=Object.assign({},l);return Object.keys(u).forEach(c=>{u[c]=function(){return r(),l[c].apply(l,arguments)}}),{instance:u,sync:r}}),s}),h7t=Se.forwardRef((e,t)=>{const[n,r]=Se.useState(C0e),i=()=>{r(C0e)};Se.useEffect(i,[]);const o=Xne(),a=o.getRootPrefixCls(),l=o.getIconPrefixCls(),s=o.getTheme(),u=Se.createElement(p7t,{ref:t,sync:i,messageConfig:n});return Se.createElement(Td,{prefixCls:a,iconPrefixCls:l,theme:s},o.holderRender?o.holderRender(u):u)});function IB(){if(!Gc){const e=document.createDocumentFragment(),t={fragment:e};Gc=t,Ev(()=>{Bz(Se.createElement(h7t,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,IB())})}}),e)});return}Gc.instance&&(t7.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{Ev(()=>{const r=Gc.instance.open(Object.assign(Object.assign({},n7),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":Ev(()=>{Gc==null||Gc.instance.destroy(e.key)});break;default:Ev(()=>{var r;const i=(r=Gc.instance)[t].apply(r,vt(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),t7=[])}function g7t(e){n7=Object.assign(Object.assign({},n7),e),Ev(()=>{var t;(t=Gc==null?void 0:Gc.sync)===null||t===void 0||t.call(Gc)})}function m7t(e){const t=ere(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return t7.push(i),()=>{r?Ev(()=>{r()}):i.skipped=!0}});return IB(),t}function v7t(e,t){const n=ere(r=>{let i;const o={type:e,args:t,resolve:r,setCloseFn:a=>{i=a}};return t7.push(o),()=>{i?Ev(()=>{i()}):o.skipped=!0}});return IB(),n}function y7t(e){t7.push({type:"destroy",key:e}),IB()}const b7t=["success","info","warning","error","loading"],C7t={open:m7t,destroy:y7t,config:g7t,useMessage:vgt,_InternalPanelDoNotUseOrYouWillBeFired:cgt},fr=C7t;b7t.forEach(e=>{fr[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:o,title:a,children:l,footer:s}=e,u=S7t(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:c}=_.useContext(on),f=c(),h=t||c("modal"),d=di(f),[p,g,m]=Oje(h,d),v=`${h}-confirm`;let y={};return o?y={closable:i??!1,title:"",footer:"",children:_.createElement($je,Object.assign({},e,{prefixCls:h,confirmPrefixCls:v,rootPrefixCls:f,content:l}))}:y={closable:i??!0,title:a,footer:s!==null&&_.createElement(Sje,Object.assign({},e)),children:l},p(_.createElement(lre,Object.assign({prefixCls:h,className:Re(g,`${h}-pure-panel`,o&&v,o&&`${v}-${o}`,n,m,d)},u,{closeIcon:Cje(h,r),closable:i},y)))},_7t=Wje(x7t);function PBe(e){return $$(Rje(e))}const Rd=Eje;Rd.useModal=Myt;Rd.info=function(t){return $$(Ije(t))};Rd.success=function(t){return $$(Nje(t))};Rd.error=function(t){return $$(Aje(t))};Rd.warning=PBe;Rd.warn=PBe;Rd.confirm=function(t){return $$(kje(t))};Rd.destroyAll=function(){for(;wv.length;){const t=wv.pop();t&&t()}};Rd.config=Oyt;Rd._InternalPanelDoNotUseOrYouWillBeFired=_7t;const vh=Rd;let sd=null,Ik=e=>e(),pD=[],r7={};function S0e(){const{getContainer:e,rtl:t,maxCount:n,top:r,bottom:i}=r7,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,rtl:t,maxCount:n,top:r,bottom:i}}const w7t=Se.forwardRef((e,t)=>{const{notificationConfig:n,sync:r}=e,{getPrefixCls:i}=_.useContext(on),o=r7.prefixCls||i("notification"),a=_.useContext(Hje),[l,s]=Fje(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.notification));return Se.useEffect(r,[]),Se.useImperativeHandle(t,()=>{const u=Object.assign({},l);return Object.keys(u).forEach(c=>{u[c]=function(){return r(),l[c].apply(l,arguments)}}),{instance:u,sync:r}}),s}),O7t=Se.forwardRef((e,t)=>{const[n,r]=Se.useState(S0e),i=()=>{r(S0e)};Se.useEffect(i,[]);const o=Xne(),a=o.getRootPrefixCls(),l=o.getIconPrefixCls(),s=o.getTheme(),u=Se.createElement(w7t,{ref:t,sync:i,notificationConfig:n});return Se.createElement(Td,{prefixCls:a,iconPrefixCls:l,theme:s},o.holderRender?o.holderRender(u):u)});function pie(){if(!sd){const e=document.createDocumentFragment(),t={fragment:e};sd=t,Ik(()=>{Bz(Se.createElement(O7t,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,pie())})}}),e)});return}sd.instance&&(pD.forEach(e=>{switch(e.type){case"open":{Ik(()=>{sd.instance.open(Object.assign(Object.assign({},r7),e.config))});break}case"destroy":Ik(()=>{sd==null||sd.instance.destroy(e.key)});break}}),pD=[])}function E7t(e){r7=Object.assign(Object.assign({},r7),e),Ik(()=>{var t;(t=sd==null?void 0:sd.sync)===null||t===void 0||t.call(sd)})}function TBe(e){pD.push({type:"open",config:e}),pie()}function $7t(e){pD.push({type:"destroy",key:e}),pie()}const P7t=["success","info","warning","error"],T7t={open:TBe,destroy:$7t,config:E7t,useNotification:ebt,_InternalPanelDoNotUseOrYouWillBeFired:Vyt},MBe=T7t;P7t.forEach(e=>{MBe[e]=t=>TBe(Object.assign(Object.assign({},t),{type:e}))});const M7t=e=>{const{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:o,colorWarning:a,marginXXS:l,marginXS:s,fontSize:u,fontWeightStrong:c,colorTextHeading:f}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:u},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:u,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:c,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:l,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}},R7t=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},RBe=vr("Popconfirm",e=>M7t(e),R7t,{resetStyle:!1});var I7t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:o,cancelText:a,okText:l,okType:s="primary",icon:u=_.createElement(Iy,null),showCancel:c=!0,close:f,onConfirm:h,onCancel:d,onPopupClick:p}=e,{getPrefixCls:g}=_.useContext(on),[m]=xu("Popconfirm",Sc.Popconfirm),v=f4(i),y=f4(o);return _.createElement("div",{className:`${t}-inner-content`,onClick:p},_.createElement("div",{className:`${t}-message`},u&&_.createElement("span",{className:`${t}-message-icon`},u),_.createElement("div",{className:`${t}-message-text`},v&&_.createElement("div",{className:Re(`${t}-title`)},v),y&&_.createElement("div",{className:`${t}-description`},y))),_.createElement("div",{className:`${t}-buttons`},c&&_.createElement(Ei,Object.assign({onClick:d,size:"small"},r),a||(m==null?void 0:m.cancelText)),_.createElement(ore,{buttonProps:Object.assign(Object.assign({size:"small"},tre(s)),n),actionFn:h,close:f,prefixCls:g("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||(m==null?void 0:m.okText))))},N7t=e=>{const{prefixCls:t,placement:n,className:r,style:i}=e,o=I7t(e,["prefixCls","placement","className","style"]),{getPrefixCls:a}=_.useContext(on),l=a("popconfirm",t),[s]=RBe(l);return s(_.createElement(xDe,{placement:n,className:Re(l,r),style:i,content:_.createElement(IBe,Object.assign({prefixCls:l},o))}))},A7t=N7t;var k7t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const{prefixCls:i,placement:o="top",trigger:a="click",okType:l="primary",icon:s=_.createElement(Iy,null),children:u,overlayClassName:c,onOpenChange:f,onVisibleChange:h}=e,d=k7t(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:p}=_.useContext(on),[g,m]=zn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),v=(P,T)=>{m(P,!0),h==null||h(P),f==null||f(P,T)},y=P=>{v(!1,P)},b=P=>{var T;return(T=e.onConfirm)===null||T===void 0?void 0:T.call(void 0,P)},C=P=>{var T;v(!1,P),(T=e.onCancel)===null||T===void 0||T.call(void 0,P)},x=P=>{P.keyCode===ht.ESC&&g&&v(!1,P)},S=P=>{const{disabled:T=!1}=e;T||v(P)},w=p("popconfirm",i),O=Re(w,c),[$]=RBe(w);return $(_.createElement(wre,Object.assign({},bi(d,["title"]),{trigger:a,placement:o,onOpenChange:S,open:g,ref:t,overlayClassName:O,content:_.createElement(IBe,Object.assign({okType:l,icon:s},e,{prefixCls:w,close:y,onConfirm:b,onCancel:C})),"data-popover-inject":!0}),Mo(u,{onKeyDown:P=>{var T,R;_.isValidElement(u)&&((R=u==null?void 0:(T=u.props).onKeyDown)===null||R===void 0||R.call(T,P)),x(P)}})))});NBe._InternalPanelDoNotUseOrYouWillBeFired=A7t;const hie=NBe;var ABe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},kBe=function(){var t=_.useRef([]),n=_.useRef(null);return _.useEffect(function(){var r=Date.now(),i=!1;t.current.forEach(function(o){if(o){i=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(a.transitionDuration="0s, 0s")}}),i&&(n.current=Date.now())}),t.current},j7t=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],jBe=function(t){var n=fe(fe({},ABe),t),r=n.className,i=n.percent,o=n.prefixCls,a=n.strokeColor,l=n.strokeLinecap,s=n.strokeWidth,u=n.style,c=n.trailColor,f=n.trailWidth,h=n.transition,d=an(n,j7t);delete d.gapPosition;var p=Array.isArray(i)?i:[i],g=Array.isArray(a)?a:[a],m=kBe(),v=s/2,y=100-s/2,b="M ".concat(l==="round"?v:0,",").concat(v,` + L `).concat(l==="round"?y:100,",").concat(v),C="0 0 100 ".concat(s),x=0;return _.createElement("svg",Qe({className:Re("".concat(o,"-line"),r),viewBox:C,preserveAspectRatio:"none",style:u},d),_.createElement("path",{className:"".concat(o,"-line-trail"),d:b,strokeLinecap:l,stroke:c,strokeWidth:f||s,fillOpacity:"0"}),p.map(function(S,w){var O=1;switch(l){case"round":O=1-s/100;break;case"square":O=1-s/2/100;break;default:O=1;break}var $={strokeDasharray:"".concat(S*O,"px, 100px"),strokeDashoffset:"-".concat(x,"px"),transition:h||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},P=g[w]||g[g.length-1];return x+=S,_.createElement("path",{key:w,className:"".concat(o,"-line-path"),d:b,strokeLinecap:l,stroke:P,strokeWidth:s,fillOpacity:"0",ref:function(R){m[w]=R},style:$})}))},x0e=0,D7t=oa();function L7t(){var e;return D7t?(e=x0e,x0e+=1):e="TEST_OR_SSR",e}const z7t=function(e){var t=_.useState(),n=Me(t,2),r=n[0],i=n[1];return _.useEffect(function(){i("rc_progress_".concat(L7t()))},[]),e||r};var _0e=function(t){var n=t.bg,r=t.children;return _.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function w0e(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)})}var B7t=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,i=e.gradientId,o=e.radius,a=e.style,l=e.ptg,s=e.strokeLinecap,u=e.strokeWidth,c=e.size,f=e.gapDegree,h=r&&bn(r)==="object",d=h?"#FFF":void 0,p=c/2,g=_.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:p,cy:p,stroke:d,strokeLinecap:s,strokeWidth:u,opacity:l===0?0:1,style:a,ref:t});if(!h)return g;var m="".concat(i,"-conic"),v=f?"".concat(180+f/2,"deg"):"0deg",y=w0e(r,(360-f)/360),b=w0e(r,1),C="conic-gradient(from ".concat(v,", ").concat(y.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(b.join(", "),")");return _.createElement(_.Fragment,null,_.createElement("mask",{id:m},g),_.createElement("foreignObject",{x:0,y:0,width:c,height:c,mask:"url(#".concat(m,")")},_.createElement(_0e,{bg:x},_.createElement(_0e,{bg:C}))))}),t9=100,PV=function(t,n,r,i,o,a,l,s,u,c){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,h=r/100*360*((360-a)/360),d=a===0?0:{bottom:0,top:180,left:90,right:-90}[l],p=(100-i)/100*n;u==="round"&&i!==100&&(p+=c/2,p>=n&&(p=n-.01));var g=t9/2;return{stroke:typeof s=="string"?s:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:p+f,transform:"rotate(".concat(o+h+d,"deg)"),transformOrigin:"".concat(g,"px ").concat(g,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},F7t=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function O0e(e){var t=e??[];return Array.isArray(t)?t:[t]}var gie=function(t){var n=fe(fe({},ABe),t),r=n.id,i=n.prefixCls,o=n.steps,a=n.strokeWidth,l=n.trailWidth,s=n.gapDegree,u=s===void 0?0:s,c=n.gapPosition,f=n.trailColor,h=n.strokeLinecap,d=n.style,p=n.className,g=n.strokeColor,m=n.percent,v=an(n,F7t),y=t9/2,b=z7t(r),C="".concat(b,"-gradient"),x=y-a/2,S=Math.PI*2*x,w=u>0?90+u/2:-90,O=S*((360-u)/360),$=bn(o)==="object"?o:{count:o,space:2},P=$.count,T=$.space,R=O0e(m),M=O0e(g),A=M.find(function(z){return z&&bn(z)==="object"}),N=A&&bn(A)==="object",j=N?"butt":h,D=PV(S,O,0,100,w,u,c,f,j,a),L=kBe(),B=function(){var q=0;return R.map(function(W,U){var K=M[U]||M[M.length-1],X=PV(S,O,q,W,w,u,c,K,j,a);return q+=W,_.createElement(B7t,{key:U,color:K,ptg:W,radius:x,prefixCls:i,gradientId:C,style:X,strokeLinecap:j,strokeWidth:a,gapDegree:u,ref:function(Y){L[U]=Y},size:t9})}).reverse()},k=function(){var q=Math.round(P*(R[0]/100)),W=100/P,U=0;return new Array(P).fill(null).map(function(K,X){var G=X<=q-1?M[0]:f,Y=G&&bn(G)==="object"?"url(#".concat(C,")"):void 0,J=PV(S,O,U,W,w,u,c,G,"butt",a,T);return U+=(O-J.strokeDashoffset+T)*100/O,_.createElement("circle",{key:X,className:"".concat(i,"-circle-path"),r:x,cx:y,cy:y,stroke:Y,strokeWidth:a,opacity:1,style:J,ref:function(Q){L[X]=Q}})})};return _.createElement("svg",Qe({className:Re("".concat(i,"-circle"),p),viewBox:"0 0 ".concat(t9," ").concat(t9),style:d,id:r,role:"presentation"},v),!P&&_.createElement("circle",{className:"".concat(i,"-circle-trail"),r:x,cx:y,cy:y,stroke:f,strokeLinecap:j,strokeWidth:l||a,style:D}),P?k():B())};const H7t={Line:jBe,Circle:gie},W7t=Object.freeze(Object.defineProperty({__proto__:null,Circle:gie,Line:jBe,default:H7t},Symbol.toStringTag,{value:"Module"}));function o0(e){return!e||e<0?0:e>100?100:e}function hD(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const q7t=e=>{let{percent:t,success:n,successPercent:r}=e;const i=o0(hD({success:n,successPercent:r}));return[i,o0(o0(t)-i)]},V7t=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||zv.green,n||null]},NB=(e,t,n)=>{var r,i,o,a;let l=-1,s=-1;if(t==="step"){const u=n.steps,c=n.strokeWidth;typeof e=="string"||typeof e>"u"?(l=e==="small"?2:14,s=c??8):typeof e=="number"?[l,s]=[e,e]:[l=14,s=8]=e,l*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?s=u||(e==="small"?6:8):typeof e=="number"?[l,s]=[e,e]:[l=-1,s=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[l,s]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[l,s]=[e,e]:(l=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,s=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return[l,s]},U7t=3,G7t=e=>U7t/e*100,K7t=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:i,gapDegree:o,width:a=120,type:l,children:s,success:u,size:c=a}=e,[f,h]=NB(c,"circle");let{strokeWidth:d}=e;d===void 0&&(d=Math.max(G7t(f),6));const p={width:f,height:h,fontSize:f*.15+6},g=_.useMemo(()=>{if(o||o===0)return o;if(l==="dashboard")return 75},[o,l]),m=i||l==="dashboard"&&"bottom"||void 0,v=Object.prototype.toString.call(e.strokeColor)==="[object Object]",y=V7t({success:u,strokeColor:e.strokeColor}),b=Re(`${t}-inner`,{[`${t}-circle-gradient`]:v}),C=_.createElement(gie,{percent:q7t(e),strokeWidth:d,trailWidth:d,strokeColor:y,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:g,gapPosition:m});return _.createElement("div",{className:b,style:p},f<=20?_.createElement(Ly,{title:s},_.createElement("span",null,C)):_.createElement(_.Fragment,null,C,s))},X7t=K7t,gD="--progress-line-stroke-color",DBe="--progress-percent",E0e=e=>{const t=e?"100%":"-100%";return new lr(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Y7t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},sr(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${xe(e.marginXS)})`,paddingInlineEnd:`calc(2em + ${xe(e.paddingXS)})`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${gD})`]},height:"100%",width:`calc(1 / var(${DBe}) * 100%)`,display:"block"}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:E0e(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:E0e(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Z7t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Q7t=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},J7t=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},e$t=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),t$t=vr("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Wn(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[Y7t(n),Z7t(n),Q7t(n),J7t(n)]},e$t);var n$t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},i$t=(e,t)=>{const{from:n=zv.blue,to:r=zv.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=n$t(e,["from","to","direction"]);if(Object.keys(o).length!==0){const l=r$t(o),s=`linear-gradient(${i}, ${l})`;return{background:s,[gD]:s}}const a=`linear-gradient(${i}, ${n}, ${r})`;return{background:a,[gD]:a}},o$t=e=>{const{prefixCls:t,direction:n,percent:r,size:i,strokeWidth:o,strokeColor:a,strokeLinecap:l="round",children:s,trailColor:u=null,success:c}=e,f=a&&typeof a!="string"?i$t(a,n):{[gD]:a,background:a},h=l==="square"||l==="butt"?0:void 0,d=i??[-1,o||(i==="small"?6:8)],[p,g]=NB(d,"line",{strokeWidth:o}),m={backgroundColor:u||void 0,borderRadius:h},v=Object.assign(Object.assign({width:`${o0(r)}%`,height:g,borderRadius:h},f),{[DBe]:o0(r)/100}),y=hD(e),b={width:`${o0(y)}%`,height:g,borderRadius:h,backgroundColor:c==null?void 0:c.strokeColor},C={width:p<0?"100%":p,height:g};return _.createElement(_.Fragment,null,_.createElement("div",{className:`${t}-outer`,style:C},_.createElement("div",{className:`${t}-inner`,style:m},_.createElement("div",{className:`${t}-bg`,style:v}),y!==void 0?_.createElement("div",{className:`${t}-success-bg`,style:b}):null)),s)},a$t=o$t,l$t=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:i=8,strokeColor:o,trailColor:a=null,prefixCls:l,children:s}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,i],[h,d]=NB(f,"step",{steps:n,strokeWidth:i}),p=h/n,g=new Array(n);for(let m=0;m{const{prefixCls:n,className:r,rootClassName:i,steps:o,strokeColor:a,percent:l=0,size:s="default",showInfo:u=!0,type:c="line",status:f,format:h,style:d}=e,p=c$t(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),g=_.useMemo(()=>{var M,A;const N=hD(e);return parseInt(N!==void 0?(M=N??0)===null||M===void 0?void 0:M.toString():(A=l??0)===null||A===void 0?void 0:A.toString(),10)},[l,e.success,e.successPercent]),m=_.useMemo(()=>!u$t.includes(f)&&g>=100?"success":f||"normal",[f,g]),{getPrefixCls:v,direction:y,progress:b}=_.useContext(on),C=v("progress",n),[x,S,w]=t$t(C),O=_.useMemo(()=>{if(!u)return null;const M=hD(e);let A;const N=h||(D=>`${D}%`),j=c==="line";return h||m!=="exception"&&m!=="success"?A=N(o0(l),o0(M)):m==="exception"?A=j?_.createElement(Rh,null):_.createElement(Ic,null):m==="success"&&(A=j?_.createElement(uC,null):_.createElement(oB,null)),_.createElement("span",{className:`${C}-text`,title:typeof A=="string"?A:void 0},A)},[u,l,g,m,c,C,h]),$=Array.isArray(a)?a[0]:a,P=typeof a=="string"||Array.isArray(a)?a:void 0;let T;c==="line"?T=o?_.createElement(s$t,Object.assign({},e,{strokeColor:P,prefixCls:C,steps:o}),O):_.createElement(a$t,Object.assign({},e,{strokeColor:$,prefixCls:C,direction:y}),O):(c==="circle"||c==="dashboard")&&(T=_.createElement(X7t,Object.assign({},e,{strokeColor:$,prefixCls:C,progressStatus:m}),O));const R=Re(C,`${C}-status-${m}`,`${C}-${c==="dashboard"&&"circle"||o&&"steps"||c}`,{[`${C}-inline-circle`]:c==="circle"&&NB(s,"circle")[0]<=20,[`${C}-show-info`]:u,[`${C}-${s}`]:typeof s=="string",[`${C}-rtl`]:y==="rtl"},b==null?void 0:b.className,r,i,S,w);return x(_.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},b==null?void 0:b.style),d),className:R,role:"progressbar","aria-valuenow":g},bi(p,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),T))}),F9=d$t;var f$t=Object.defineProperty,mD=Object.getOwnPropertySymbols,LBe=Object.prototype.hasOwnProperty,zBe=Object.prototype.propertyIsEnumerable,$0e=(e,t,n)=>t in e?f$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i7=(e,t)=>{for(var n in t||(t={}))LBe.call(t,n)&&$0e(e,n,t[n]);if(mD)for(var n of mD(t))zBe.call(t,n)&&$0e(e,n,t[n]);return e},mie=(e,t)=>{var n={};for(var r in e)LBe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mD)for(var r of mD(e))t.indexOf(r)<0&&zBe.call(e,r)&&(n[r]=e[r]);return n};/** * @license QR Code generator library (TypeScript) * Copyright (c) Project Nayuki. * SPDX-License-Identifier: MIT @@ -409,7 +409,7 @@ html body { * @license qrcode.react * Copyright (c) Paul O'Shannessy * SPDX-License-Identifier: ISC - */var zBe={L:r3.QrCode.Ecc.LOW,M:r3.QrCode.Ecc.MEDIUM,Q:r3.QrCode.Ecc.QUARTILE,H:r3.QrCode.Ecc.HIGH},BBe=128,FBe="L",HBe="#FFFFFF",WBe="#000000",qBe=!1,mie=4,h$t=.1;function VBe(e,t=0){const n=[];return e.forEach(function(r,i){let o=null;r.forEach(function(a,l){if(!a&&o!==null){n.push(`M${o+t} ${i+t}h${l-o}v1H${o+t}z`),o=null;return}if(l===r.length-1){if(!a)return;o===null?n.push(`M${l+t},${i+t} h1v1H${l+t}z`):n.push(`M${o+t},${i+t} h${l+1-o}v1H${o+t}z`);return}a&&o===null&&(o=l)})}),n.join("")}function UBe(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((i,o)=>o=t.x+t.w?i:!1))}function GBe(e,t,n,r){if(r==null)return null;const i=n?mie:0,o=e.length+i*2,a=Math.floor(t*h$t),l=o/t,s=(r.width||a)*l,u=(r.height||a)*l,c=r.x==null?e.length/2-s/2:r.x*l,f=r.y==null?e.length/2-u/2:r.y*l;let h=null;if(r.excavate){let d=Math.floor(c),p=Math.floor(f),g=Math.ceil(s+c-d),m=Math.ceil(u+f-p);h={x:d,y:p,w:g,h:m}}return{x:c,y:f,h:u,w:s,excavation:h}}var g$t=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function KBe(e){const t=e,{value:n,size:r=BBe,level:i=FBe,bgColor:o=HBe,fgColor:a=WBe,includeMargin:l=qBe,style:s,imageSettings:u}=t,c=gie(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=u==null?void 0:u.src,h=_.useRef(null),d=_.useRef(null),[p,g]=_.useState(!1);_.useEffect(()=>{if(h.current!=null){const y=h.current,b=y.getContext("2d");if(!b)return;let C=r3.QrCode.encodeText(n,zBe[i]).getModules();const x=l?mie:0,S=C.length+x*2,w=GBe(C,r,l,u),O=d.current,$=w!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;$&&w.excavation!=null&&(C=UBe(C,w.excavation));const P=window.devicePixelRatio||1;y.height=y.width=r*P;const T=r/S*P;b.scale(T,T),b.fillStyle=o,b.fillRect(0,0,S,S),b.fillStyle=a,g$t?b.fill(new Path2D(VBe(C,x))):C.forEach(function(R,M){R.forEach(function(A,N){A&&b.fillRect(N+x,M+x,1,1)})}),$&&b.drawImage(O,w.x+x,w.y+x,w.w,w.h)}}),_.useEffect(()=>{g(!1)},[f]);const m=r7({height:r,width:r},s);let v=null;return f!=null&&(v=Se.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{g(!0)},ref:d})),Se.createElement(Se.Fragment,null,Se.createElement("canvas",r7({style:m,height:r,width:r,ref:h},c)),v)}function XBe(e){const t=e,{value:n,size:r=BBe,level:i=FBe,bgColor:o=HBe,fgColor:a=WBe,includeMargin:l=qBe,imageSettings:s}=t,u=gie(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let c=r3.QrCode.encodeText(n,zBe[i]).getModules();const f=l?mie:0,h=c.length+f*2,d=GBe(c,r,l,s);let p=null;s!=null&&d!=null&&(d.excavation!=null&&(c=UBe(c,d.excavation)),p=Se.createElement("image",{xlinkHref:s.src,height:d.h,width:d.w,x:d.x+f,y:d.y+f,preserveAspectRatio:"none"}));const g=VBe(c,f);return Se.createElement("svg",r7({height:r,width:r,viewBox:`0 0 ${h} ${h}`},u),Se.createElement("path",{fill:o,d:`M0,0 h${h}v${h}H0z`,shapeRendering:"crispEdges"}),Se.createElement("path",{fill:a,d:g,shapeRendering:"crispEdges"}),p)}var m$t=e=>{const t=e,{renderAs:n}=t,r=gie(t,["renderAs"]);return n==="svg"?Se.createElement(XBe,r7({},r)):Se.createElement(KBe,r7({},r))};const v$t=Object.freeze(Object.defineProperty({__proto__:null,QRCodeCanvas:KBe,QRCodeSVG:XBe,default:m$t},Symbol.toStringTag,{value:"Module"}));function y$t(e,t){var n=e.disabled,r=e.prefixCls,i=e.character,o=e.characterRender,a=e.index,l=e.count,s=e.value,u=e.allowHalf,c=e.focused,f=e.onHover,h=e.onClick,d=function(x){f(x,a)},p=function(x){h(x,a)},g=function(x){x.keyCode===ht.ENTER&&h(x,a)},m=a+1,v=new Set([r]);s===0&&a===0&&c?v.add("".concat(r,"-focused")):u&&s+.5>=m&&sa?"true":"false","aria-posinset":a+1,"aria-setsize":l,tabIndex:n?-1:0},Se.createElement("div",{className:"".concat(r,"-first")},y),Se.createElement("div",{className:"".concat(r,"-second")},y)));return o&&(b=o(b,e)),b}const b$t=Se.forwardRef(y$t);function C$t(){var e=_.useRef({});function t(r){return e.current[r]}function n(r){return function(i){e.current[r]=i}}return[t,n]}function S$t(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function x$t(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function _$t(e){var t=x$t(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=S$t(r),t.left}var w$t=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function O$t(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-rate":r,o=e.className,a=e.defaultValue,l=e.value,s=e.count,u=s===void 0?5:s,c=e.allowHalf,f=c===void 0?!1:c,h=e.allowClear,d=h===void 0?!0:h,p=e.character,g=p===void 0?"★":p,m=e.characterRender,v=e.disabled,y=e.direction,b=y===void 0?"ltr":y,C=e.tabIndex,x=C===void 0?0:C,S=e.autoFocus,w=e.onHoverChange,O=e.onChange,$=e.onFocus,P=e.onBlur,T=e.onKeyDown,R=e.onMouseLeave,M=an(e,w$t),A=C$t(),N=Me(A,2),k=N[0],D=N[1],L=Se.useRef(null),B=function(){if(!v){var ce;(ce=L.current)===null||ce===void 0||ce.focus()}};Se.useImperativeHandle(t,function(){return{focus:B,blur:function(){if(!v){var ce;(ce=L.current)===null||ce===void 0||ce.blur()}}}});var j=zn(a||0,{value:l}),z=Me(j,2),V=z[0],W=z[1],U=zn(null),K=Me(U,2),X=K[0],G=K[1],Y=function(ce,Te){var Ne=b==="rtl",je=ce+1;if(f){var He=k(ce),Be=_$t(He),qe=He.clientWidth;(Ne&&Te-Be>qe/2||!Ne&&Te-Be0&&!Ne||Te===ht.RIGHT&&je>0&&Ne?(f?je-=.5:je-=1,J(je),ce.preventDefault()):Te===ht.LEFT&&je3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof g=="number"){var y,b=p[m],C=b+g,x=[];r.forEach(function(P){x.push(P.value)}),x.push(e,t),x.push(l(b));var S=g>0?1:-1;v==="unit"?x.push(l(b+S*n)):x.push(l(C)),x=x.filter(function(P){return P!==null}).filter(function(P){return g<0?P<=b:P>=b}),v==="unit"&&(x=x.filter(function(P){return P!==b}));var w=v==="unit"?b:C;y=x[0];var O=Math.abs(y-w);if(x.forEach(function(P){var T=Math.abs(P-w);T1){var $=vt(p);return $[m]=y,d($,g-S,m,v)}return y}else{if(g==="min")return e;if(g==="max")return t}},c=function(p,g,m){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",y=p[m],b=u(p,g,m,v);return{value:b,changed:b!==y}},f=function(p){return o===null&&p===0||typeof o=="number"&&p3&&arguments[3]!==void 0?arguments[3]:"unit",y=p.map(s),b=y[m],C=u(y,g,m,v);if(y[m]=C,i===!1){var x=o||0;m>0&&y[m-1]!==b&&(y[m]=Math.max(y[m],y[m-1]+x)),m0;$-=1)for(var P=!0;f(y[$]-y[$-1])&&P;){var T=c(y,-1,$-1);y[$-1]=T.value,P=T.changed}for(var R=y.length-1;R>0;R-=1)for(var M=!0;f(y[R]-y[R-1])&&M;){var A=c(y,-1,R-1);y[R-1]=A.value,M=A.changed}for(var N=0;N=0?D:!1},[D,ke]),Oe=_.useMemo(function(){var mt=Object.keys(J||{});return mt.map(function(It){var nt=J[It],yt={value:Number(It)};return nt&&bn(nt)==="object"&&!_.isValidElement(nt)&&("label"in nt||"style"in nt)?(yt.style=nt.style,yt.label=nt.label):yt.label=nt,yt}).filter(function(It){var nt=It.label;return nt||typeof nt=="number"}).sort(function(It,nt){return It.value-nt.value})},[J]),Pe=F$t(le,ve,ke,Oe,N,Ie),_e=Me(Pe,2),ce=_e[0],Te=_e[1],Ne=zn(w,{value:S}),je=Me(Ne,2),He=je[0],Be=je[1],qe=_.useMemo(function(){var mt=He==null?[]:Array.isArray(He)?He:[He],It=Me(mt,1),nt=It[0],yt=nt===void 0?le:nt,xt=He===null?[]:[yt];if(O){if(xt=vt(mt),$||He===void 0){var At=$>=0?$+1:2;for(xt=xt.slice(0,At);xt.length=0&&ye.current.focus(mt)}at(null)},[bt]);var rt=_.useMemo(function(){return L&&ke===null?!1:L},[L,ke]),Ze=function(It,nt){we(It,nt),T==null||T(Ee(me.current))},wt=lt!==-1;_.useEffect(function(){if(!wt){var mt=qe.lastIndexOf(ft);ye.current.focus(mt)}},[wt]);var ut=_.useMemo(function(){return vt(Ye).sort(function(mt,It){return mt-It})},[Ye]),ot=_.useMemo(function(){return O?[ut[0],ut[ut.length-1]]:[le,ut[0]]},[ut,O,le]),dt=Me(ot,2),_t=dt[0],Ot=dt[1];_.useImperativeHandle(t,function(){return{focus:function(){ye.current.focus(0)},blur:function(){var It=document,nt=It.activeElement;be.current.contains(nt)&&(nt==null||nt.blur())}}}),_.useEffect(function(){d&&ye.current.focus(0)},[]);var Ct=_.useMemo(function(){return{min:le,max:ve,direction:he,disabled:c,keyboard:h,step:ke,included:V,includedStart:_t,includedEnd:Ot,range:O,tabIndex:ne,ariaLabelForHandle:re,ariaLabelledByForHandle:oe,ariaValueTextFormatterForHandle:se,styles:s||{},classNames:l||{}}},[le,ve,he,c,h,ke,V,_t,Ot,O,ne,re,oe,se,s,l]);return _.createElement(Hy.Provider,{value:Ct},_.createElement("div",{ref:be,className:Re(i,o,(n={},ue(n,"".concat(i,"-disabled"),c),ue(n,"".concat(i,"-vertical"),j),ue(n,"".concat(i,"-horizontal"),!j),ue(n,"".concat(i,"-with-marks"),Oe.length),n)),style:a,onMouseDown:We},_.createElement("div",{className:Re("".concat(i,"-rail"),l==null?void 0:l.rail),style:fe(fe({},X),s==null?void 0:s.rail)}),_.createElement(U$t,{prefixCls:i,style:U,values:ut,startPoint:W,onStartMove:rt?Ze:null}),_.createElement(V$t,{prefixCls:i,marks:Oe,dots:ee,style:G,activeStyle:Y}),_.createElement(z$t,{ref:ye,prefixCls:i,style:K,values:Ye,draggingIndex:lt,onStartMove:Ze,onOffsetChange:et,onFocus:p,onBlur:g,handleRender:Q,onChangeComplete:Le}),_.createElement(W$t,{prefixCls:i,marks:Oe,onClick:De})))});const K$t=Object.freeze(Object.defineProperty({__proto__:null,default:G$t},Symbol.toStringTag,{value:"Module"})),X$t=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:o="",prefixCls:a}=e;let l;if(typeof n=="function")l=n(t);else{const s=String(t),u=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u||s==="-")l=s;else{const c=u[1];let f=u[2]||"0",h=u[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,o),typeof r=="number"&&(h=h.padEnd(r,"0").slice(0,r>0?r:0)),h&&(h=`${i}${h}`),l=[_.createElement("span",{key:"int",className:`${a}-content-value-int`},c,f),h&&_.createElement("span",{key:"decimal",className:`${a}-content-value-decimal`},h)]}}return _.createElement("span",{className:`${a}-content-value`},l)},Y$t=X$t,Z$t=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,titleFontSize:o,colorTextHeading:a,contentFontSize:l,fontFamily:s}=e;return{[`${t}`]:Object.assign(Object.assign({},sr(e)),{[`${t}-title`]:{marginBottom:n,color:i,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},Q$t=e=>{const{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}},J$t=vr("Statistic",e=>{const t=Wn(e,{});return[Z$t(t)]},Q$t);var ePt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,rootClassName:r,style:i,valueStyle:o,value:a=0,title:l,valueRender:s,prefix:u,suffix:c,loading:f=!1,formatter:h,precision:d,decimalSeparator:p=".",groupSeparator:g=",",onMouseEnter:m,onMouseLeave:v}=e,y=ePt(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:b,direction:C,statistic:x}=_.useContext(on),S=b("statistic",t),[w,O,$]=J$t(S),P=_.createElement(Y$t,{decimalSeparator:p,groupSeparator:g,prefixCls:S,formatter:h,precision:d,value:a}),T=Re(S,{[`${S}-rtl`]:C==="rtl"},x==null?void 0:x.className,n,r,O,$),R=qo(y,{aria:!0,data:!0});return w(_.createElement("div",Object.assign({},R,{className:T,style:Object.assign(Object.assign({},x==null?void 0:x.style),i),onMouseEnter:m,onMouseLeave:v}),l&&_.createElement("div",{className:`${S}-title`},l),_.createElement(WLe,{paragraph:!1,loading:f,className:`${S}-skeleton`},_.createElement("div",{style:o,className:`${S}-content`},u&&_.createElement("span",{className:`${S}-content-prefix`},u),s?s(P):P,c&&_.createElement("span",{className:`${S}-content-suffix`},c)))))},yie=tPt,nPt=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function rPt(e,t){let n=e;const r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(s=>s.slice(1,-1)),o=t.replace(r,"[]"),a=nPt.reduce((s,u)=>{let[c,f]=u;if(s.includes(c)){const h=Math.floor(n/f);return n-=h*f,s.replace(new RegExp(`${c}+`,"g"),d=>{const p=d.length;return h.toString().padStart(p,"0")})}return s},o);let l=0;return a.replace(r,()=>{const s=i[l];return l+=1,s})}function iPt(e,t){const{format:n=""}=t,r=new Date(e).getTime(),i=Date.now(),o=Math.max(r-i,0);return rPt(o,n)}var oPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:t,format:n="HH:mm:ss",onChange:r,onFinish:i}=e,o=oPt(e,["value","format","onChange","onFinish"]),a=aB(),l=_.useRef(null),s=()=>{i==null||i(),l.current&&(clearInterval(l.current),l.current=null)},u=()=>{const h=lPt(t);h>=Date.now()&&(l.current=setInterval(()=>{a(),r==null||r(h-Date.now()),h(u(),()=>{l.current&&(clearInterval(l.current),l.current=null)}),[t]);const c=(h,d)=>iPt(h,Object.assign(Object.assign({},d),{format:n})),f=h=>Mo(h,{title:void 0});return _.createElement(yie,Object.assign({},o,{value:t,valueRender:f,formatter:c}))},cPt=_.memo(sPt);yie.Countdown=cPt;var uPt=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function M0e(e){return typeof e=="string"}function bie(e){var t,n=e.className,r=e.prefixCls,i=e.style,o=e.active,a=e.status,l=e.iconPrefix,s=e.icon;e.wrapperStyle;var u=e.stepNumber,c=e.disabled,f=e.description,h=e.title,d=e.subTitle,p=e.progressDot,g=e.stepIcon,m=e.tailContent,v=e.icons,y=e.stepIndex,b=e.onStepClick,C=e.onClick,x=e.render,S=an(e,uPt),w=!!b&&!c,O={};w&&(O.role="button",O.tabIndex=0,O.onClick=function(A){C==null||C(A),b(y)},O.onKeyDown=function(A){var N=A.which;(N===ht.ENTER||N===ht.SPACE)&&b(y)});var $=function(){var N,k,D=Re("".concat(r,"-icon"),"".concat(l,"icon"),(N={},ue(N,"".concat(l,"icon-").concat(s),s&&M0e(s)),ue(N,"".concat(l,"icon-check"),!s&&a==="finish"&&(v&&!v.finish||!v)),ue(N,"".concat(l,"icon-cross"),!s&&a==="error"&&(v&&!v.error||!v)),N)),L=_.createElement("span",{className:"".concat(r,"-icon-dot")});return p?typeof p=="function"?k=_.createElement("span",{className:"".concat(r,"-icon")},p(L,{index:u-1,status:a,title:h,description:f})):k=_.createElement("span",{className:"".concat(r,"-icon")},L):s&&!M0e(s)?k=_.createElement("span",{className:"".concat(r,"-icon")},s):v&&v.finish&&a==="finish"?k=_.createElement("span",{className:"".concat(r,"-icon")},v.finish):v&&v.error&&a==="error"?k=_.createElement("span",{className:"".concat(r,"-icon")},v.error):s||a==="finish"||a==="error"?k=_.createElement("span",{className:D}):k=_.createElement("span",{className:"".concat(r,"-icon")},u),g&&(k=g({index:u-1,status:a,title:h,description:f,node:k})),k},P=a||"wait",T=Re("".concat(r,"-item"),"".concat(r,"-item-").concat(P),n,(t={},ue(t,"".concat(r,"-item-custom"),s),ue(t,"".concat(r,"-item-active"),o),ue(t,"".concat(r,"-item-disabled"),c===!0),t)),R=fe({},i),M=_.createElement("div",Qe({},S,{className:T,style:R}),_.createElement("div",Qe({onClick:C},O,{className:"".concat(r,"-item-container")}),_.createElement("div",{className:"".concat(r,"-item-tail")},m),_.createElement("div",{className:"".concat(r,"-item-icon")},$()),_.createElement("div",{className:"".concat(r,"-item-content")},_.createElement("div",{className:"".concat(r,"-item-title")},h,d&&_.createElement("div",{title:typeof d=="string"?d:void 0,className:"".concat(r,"-item-subtitle")},d)),f&&_.createElement("div",{className:"".concat(r,"-item-description")},f))));return x&&(M=x(M)||null),M}var dPt=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function NB(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,i=e.style,o=i===void 0?{}:i,a=e.className;e.children;var l=e.direction,s=l===void 0?"horizontal":l,u=e.type,c=u===void 0?"default":u,f=e.labelPlacement,h=f===void 0?"horizontal":f,d=e.iconPrefix,p=d===void 0?"rc":d,g=e.status,m=g===void 0?"process":g,v=e.size,y=e.current,b=y===void 0?0:y,C=e.progressDot,x=C===void 0?!1:C,S=e.stepIcon,w=e.initial,O=w===void 0?0:w,$=e.icons,P=e.onChange,T=e.itemRender,R=e.items,M=R===void 0?[]:R,A=an(e,dPt),N=c==="navigation",k=c==="inline",D=k||x,L=k?"horizontal":s,B=k?void 0:v,j=D?"vertical":h,z=Re(r,"".concat(r,"-").concat(L),a,(t={},ue(t,"".concat(r,"-").concat(B),B),ue(t,"".concat(r,"-label-").concat(j),L==="horizontal"),ue(t,"".concat(r,"-dot"),!!D),ue(t,"".concat(r,"-navigation"),N),ue(t,"".concat(r,"-inline"),k),t)),V=function(K){P&&b!==K&&P(K)},W=function(K,X){var G=fe({},K),Y=O+X;return m==="error"&&X===b-1&&(G.className="".concat(r,"-next-error")),G.status||(Y===b?G.status=m:Y{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:i}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:i,lineHeight:`${xe(i)}`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},hPt=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:i}=e,o=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${xe(o)} ${xe(e.paddingXXS)} 0`,margin:`0 ${xe(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${xe(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(o).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:i}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${xe(e.lineWidth)} ${e.lineType} ${i}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:i},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i,border:`${xe(e.lineWidth)} ${e.lineType} ${i}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${xe(e.calc(n).div(2).equal())})`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},gPt=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:i}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`${xe(e.paddingXXS)} ${xe(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(i).div(2).add(e.controlHeightLG).equal()}}}}}},mPt=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:i,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},xc),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${xe(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:i,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${xe(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},vPt=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.calc(e.iconSize).div(2).sub(e.lineWidth).add(e.paddingXXS).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(e.iconSizeSM).div(2).sub(e.lineWidth).add(e.paddingXXS).equal()},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.calc(e.margin).sub(e.calc(e.lineWidth).mul(2).equal()).equal()}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:e.calc(e.calc(e.iconSize).sub(e.stepsProgressSize).sub(e.calc(e.lineWidth).mul(2).equal()).equal()).div(2).equal(),insetInlineStart:e.calc(e.calc(e.iconSize).sub(e.stepsProgressSize).sub(e.calc(e.lineWidth).mul(2).equal()).equal()).div(2).equal()}}}}},yPt=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:i,dotSize:o,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${xe(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${xe(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal(),paddingInlineEnd:0,lineHeight:`${xe(o)}`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(o).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(o).sub(i).div(2).equal(),width:i,height:i,lineHeight:`${xe(i)}`,background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),top:0,insetInlineStart:e.calc(o).sub(i).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(o).div(2).equal(),insetInlineStart:0,margin:0,padding:`${xe(e.calc(o).add(e.paddingXS).equal())} 0 ${xe(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(o).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(o).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},bPt=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},CPt=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:i,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${xe(e.marginXS)}`,fontSize:r,lineHeight:`${xe(n)}`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:i,lineHeight:`${xe(n)}`,"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:o,fontSize:i},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${xe(n)}`,transform:"none"}}}}},SPt=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${xe(r)}`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${xe(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${xe(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${xe(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${xe(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:`${xe(n)}`}}}}};var o3;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(o3||(o3={}));const vM=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,i=`${e}TitleColor`,o=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[i],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},xPt=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,i=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[i]:Object.assign({},uh(e))}},[`${i}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[i]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:`${xe(e.iconSize)}`,textAlign:"center",borderRadius:e.iconSize,border:`${xe(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).sub(e.paddingXXS).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${xe(e.titleLineHeight)}`,"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},vM(o3.wait,e)),vM(o3.process,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),vM(o3.finish,e)),vM(o3.error,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},_Pt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},wPt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),xPt(e)),_Pt(e)),pPt(e)),CPt(e)),SPt(e)),gPt(e)),yPt(e)),mPt(e)),bPt(e)),vPt(e)),hPt(e))}},OPt=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),EPt=vr("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:i,colorPrimary:o,colorTextDescription:a,colorTextQuaternary:l,colorError:s,colorBorderSecondary:u,colorSplit:c}=e,f=Wn(e,{processIconColor:r,processTitleColor:i,processDescriptionColor:i,processIconBgColor:o,processIconBorderColor:o,processDotColor:o,processTailColor:c,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:c,waitDotColor:t,finishIconColor:o,finishTitleColor:i,finishDescriptionColor:a,finishTailColor:o,finishDotColor:o,errorIconColor:r,errorTitleColor:s,errorDescriptionColor:s,errorTailColor:c,errorIconBgColor:s,errorIconBorderColor:s,errorDotColor:s,stepsNavActiveColor:o,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:u});return[wPt(f)]},OPt);function $Pt(e){return e.filter(t=>t)}function PPt(e,t){if(e)return e;const n=Wo(t).map(r=>{if(_.isValidElement(r)){const{props:i}=r;return Object.assign({},i)}return null});return $Pt(n)}var TPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{percent:t,size:n,className:r,rootClassName:i,direction:o,items:a,responsive:l=!0,current:s=0,children:u,style:c}=e,f=TPt(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:h}=lB(l),{getPrefixCls:d,direction:p,steps:g}=_.useContext(on),m=_.useMemo(()=>l&&h?"vertical":o,[h,o]),v=Go(n),y=d("steps",e.prefixCls),[b,C,x]=EPt(y),S=e.type==="inline",w=d("",e.iconPrefix),O=PPt(a,u),$=S?void 0:t,P=Object.assign(Object.assign({},g==null?void 0:g.style),c),T=Re(g==null?void 0:g.className,{[`${y}-rtl`]:p==="rtl",[`${y}-with-progress`]:$!==void 0},r,i,C,x),R={finish:_.createElement(iB,{className:`${y}-finish-icon`}),error:_.createElement(Ic,{className:`${y}-error-icon`})},M=N=>{let{node:k,status:D}=N;if(D==="process"&&$!==void 0){const L=v==="small"?32:40;return _.createElement("div",{className:`${y}-progress-icon`},_.createElement(B9,{type:"circle",percent:$,size:L,strokeWidth:4,format:()=>null}),k)}return k},A=(N,k)=>N.description?_.createElement(Ly,{title:N.description},k):k;return b(_.createElement(NB,Object.assign({icons:R},f,{style:P,current:s,size:v,items:O,itemRender:S?A:void 0,stepIcon:M,direction:m,prefixCls:y,iconPrefix:w,className:T})))};YBe.Step=NB.Step;const MPt=YBe;var RPt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Cie=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-switch":r,o=e.className,a=e.checked,l=e.defaultChecked,s=e.disabled,u=e.loadingIcon,c=e.checkedChildren,f=e.unCheckedChildren,h=e.onClick,d=e.onChange,p=e.onKeyDown,g=an(e,RPt),m=zn(!1,{value:a,defaultValue:l}),v=Me(m,2),y=v[0],b=v[1];function C(O,$){var P=y;return s||(P=O,b(P),d==null||d(P,$)),P}function x(O){O.which===ht.LEFT?C(!1,O):O.which===ht.RIGHT&&C(!0,O),p==null||p(O)}function S(O){var $=C(!y,O);h==null||h($,O)}var w=Re(i,o,(n={},ue(n,"".concat(i,"-checked"),y),ue(n,"".concat(i,"-disabled"),s),n));return _.createElement("button",Qe({},g,{type:"button",role:"switch","aria-checked":y,disabled:s,className:w,ref:t,onKeyDown:x,onClick:S}),u,_.createElement("span",{className:"".concat(i,"-inner")},_.createElement("span",{className:"".concat(i,"-inner-checked")},c),_.createElement("span",{className:"".concat(i,"-inner-unchecked")},f)))});Cie.displayName="Switch";const IPt=Object.freeze(Object.defineProperty({__proto__:null,default:Cie},Symbol.toStringTag,{value:"Module"})),NPt=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:o,innerMaxMarginSM:a,handleSizeSM:l,calc:s}=e,u=`${t}-inner`,c=xe(s(l).add(s(r).mul(2)).equal()),f=xe(s(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:xe(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${f})`,marginInlineEnd:`calc(100% - ${c} + ${f})`},[`${u}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:s(s(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${f})`,marginInlineEnd:`calc(-100% + ${c} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${xe(s(l).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:s(e.marginXXS).div(2).equal(),marginInlineEnd:s(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:s(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:s(e.marginXXS).div(2).equal()}}}}}}},APt=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},kPt=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:o,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(o).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${xe(a(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},jPt=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:o,handleSize:a,calc:l}=e,s=`${t}-inner`,u=xe(l(a).add(l(r).mul(2)).equal()),c=xe(l(o).mul(2).equal());return{[t]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${c})`,marginInlineEnd:`calc(100% - ${u} + ${c})`},[`${s}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${s}`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${c})`,marginInlineEnd:`calc(-100% + ${u} - ${c})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:l(r).mul(2).equal(),marginInlineEnd:l(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:l(r).mul(-1).mul(2).equal(),marginInlineEnd:l(r).mul(2).equal()}}}}}},DPt=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:`${xe(n)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),dh(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},LPt=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,o=t*n,a=r/2,l=2,s=o-l*2,u=a-l*2;return{trackHeight:o,trackHeightSM:a,trackMinWidth:s*2+l*4,trackMinWidthSM:u*2+l*2,trackPadding:l,handleBg:i,handleSize:s,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new Gn("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+l+l*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+l+l*2}},zPt=vr("Switch",e=>{const t=Wn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[DPt(t),jPt(t),kPt(t),APt(t),NPt(t)]},LPt);var BPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,size:r,disabled:i,loading:o,className:a,rootClassName:l,style:s,checked:u,value:c,defaultChecked:f,defaultValue:h,onChange:d}=e,p=BPt(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[g,m]=zn(!1,{value:u??c,defaultValue:f??h}),{getPrefixCls:v,direction:y,switch:b}=_.useContext(on),C=_.useContext(es),x=(i??C)||o,S=v("switch",n),w=_.createElement("div",{className:`${S}-handle`},o&&_.createElement(v0,{className:`${S}-loading-icon`})),[O,$,P]=zPt(S),T=Go(r),R=Re(b==null?void 0:b.className,{[`${S}-small`]:T==="small",[`${S}-loading`]:o,[`${S}-rtl`]:y==="rtl"},a,l,$,P),M=Object.assign(Object.assign({},b==null?void 0:b.style),s),A=function(){m(arguments.length<=0?void 0:arguments[0]),d==null||d.apply(void 0,arguments)};return O(_.createElement(S$,{component:"Switch"},_.createElement(Cie,Object.assign({},p,{checked:g,onChange:A,prefixCls:S,className:R,style:M,disabled:x,ref:t,loadingIcon:w}))))});ZBe.__ANT_SWITCH=!0;const FPt=ZBe;var zp={},SC="rc-table-internal-hook";function Sie(e){var t=_.createContext(void 0),n=function(i){var o=i.value,a=i.children,l=_.useRef(o);l.current=o;var s=_.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),u=Me(s,1),c=u[0];return er(function(){Ns.unstable_batchedUpdates(function(){c.listeners.forEach(function(f){f(o)})})},[o]),_.createElement(t.Provider,{value:c},a)};return{Context:t,Provider:n,defaultValue:e}}function Ml(e,t){var n=ir(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var h={};return t.forEach(function(d){h[d]=f[d]}),h}),r=_.useContext(e==null?void 0:e.Context),i=r||{},o=i.listeners,a=i.getValue,l=_.useRef();l.current=n(r?a():e==null?void 0:e.defaultValue);var s=_.useState({}),u=Me(s,2),c=u[1];return er(function(){if(!r)return;function f(h){var d=n(h);Cc(l.current,d,!0)||c({})}return o.add(f),function(){o.delete(f)}},[r]),l.current}function HPt(){var e=_.createContext(null);function t(){return _.useContext(e)}function n(i,o){var a=bc(i),l=function(u,c){var f=a?{ref:c}:{},h=_.useRef(0),d=_.useRef(u),p=t();return p!==null?_.createElement(i,Qe({},u,f)):((!o||o(d.current,u))&&(h.current+=1),d.current=u,_.createElement(e.Provider,{value:h.current},_.createElement(i,Qe({},u,f))))};return a?_.forwardRef(l):l}function r(i,o){var a=bc(i),l=function(u,c){var f=a?{ref:c}:{};return t(),_.createElement(i,Qe({},u,f))};return a?_.memo(_.forwardRef(l),o):_.memo(l,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var xie=HPt(),QBe=xie.makeImmutable,xC=xie.responseImmutable,WPt=xie.useImmutableMark,Ls=Sie(),JBe=_.createContext({renderWithProps:!1}),qPt="RC_TABLE_KEY";function VPt(e){return e==null?[]:Array.isArray(e)?e:[e]}function AB(e){var t=[],n={};return e.forEach(function(r){for(var i=r||{},o=i.key,a=i.dataIndex,l=o||VPt(a).join("-")||qPt;n[l];)l="".concat(l,"_next");n[l]=!0,t.push(l)}),t}function xQ(e){return e!=null}function UPt(e){return e&&bn(e)==="object"&&!Array.isArray(e)&&!_.isValidElement(e)}function GPt(e,t,n,r,i,o){var a=_.useContext(JBe),l=WPt(),s=Th(function(){if(xQ(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],c=_s(e,u),f=c,h=void 0;if(i){var d=i(c,e,n);UPt(d)?(f=d.children,h=d.props,a.renderWithProps=!0):f=d}return[f,h]},[l,e,r,t,i,n],function(u,c){if(o){var f=Me(u,2),h=f[1],d=Me(c,2),p=d[1];return o(p,h)}return a.renderWithProps?!0:!Cc(u,c,!0)});return s}function KPt(e,t,n,r){var i=e+t-1;return e<=r&&i>=n}function XPt(e,t){return Ml(Ls,function(n){var r=KPt(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var YPt=function(t){var n=t.ellipsis,r=t.rowType,i=t.children,o,a=n===!0?{showTitle:!0}:n;return a&&(a.showTitle||r==="header")&&(typeof i=="string"||typeof i=="number"?o=i.toString():_.isValidElement(i)&&typeof i.props.children=="string"&&(o=i.props.children)),o};function ZPt(e){var t,n,r,i,o,a,l,s,u=e.component,c=e.children,f=e.ellipsis,h=e.scope,d=e.prefixCls,p=e.className,g=e.align,m=e.record,v=e.render,y=e.dataIndex,b=e.renderIndex,C=e.shouldCellUpdate,x=e.index,S=e.rowType,w=e.colSpan,O=e.rowSpan,$=e.fixLeft,P=e.fixRight,T=e.firstFixLeft,R=e.lastFixLeft,M=e.firstFixRight,A=e.lastFixRight,N=e.appendNode,k=e.additionalProps,D=k===void 0?{}:k,L=e.isSticky,B="".concat(d,"-cell"),j=Ml(Ls,["supportSticky","allColumnsFixedLeft"]),z=j.supportSticky,V=j.allColumnsFixedLeft,W=GPt(m,y,b,c,v,C),U=Me(W,2),K=U[0],X=U[1],G={},Y=typeof $=="number"&&z,J=typeof P=="number"&&z;Y&&(G.position="sticky",G.left=$),J&&(G.position="sticky",G.right=P);var ee=(t=(n=(r=X==null?void 0:X.colSpan)!==null&&r!==void 0?r:D.colSpan)!==null&&n!==void 0?n:w)!==null&&t!==void 0?t:1,Q=(i=(o=(a=X==null?void 0:X.rowSpan)!==null&&a!==void 0?a:D.rowSpan)!==null&&o!==void 0?o:O)!==null&&i!==void 0?i:1,te=XPt(x,Q),ne=Me(te,2),re=ne[0],oe=ne[1],se=ir(function(Ie){var Oe;m&&oe(x,x+Q-1),D==null||(Oe=D.onMouseEnter)===null||Oe===void 0||Oe.call(D,Ie)}),ye=ir(function(Ie){var Oe;m&&oe(-1,-1),D==null||(Oe=D.onMouseLeave)===null||Oe===void 0||Oe.call(D,Ie)});if(ee===0||Q===0)return null;var be=(l=D.title)!==null&&l!==void 0?l:YPt({rowType:S,ellipsis:f,children:K}),he=Re(B,p,(s={},ue(s,"".concat(B,"-fix-left"),Y&&z),ue(s,"".concat(B,"-fix-left-first"),T&&z),ue(s,"".concat(B,"-fix-left-last"),R&&z),ue(s,"".concat(B,"-fix-left-all"),R&&V&&z),ue(s,"".concat(B,"-fix-right"),J&&z),ue(s,"".concat(B,"-fix-right-first"),M&&z),ue(s,"".concat(B,"-fix-right-last"),A&&z),ue(s,"".concat(B,"-ellipsis"),f),ue(s,"".concat(B,"-with-append"),N),ue(s,"".concat(B,"-fix-sticky"),(Y||J)&&L&&z),ue(s,"".concat(B,"-row-hover"),!X&&re),s),D.className,X==null?void 0:X.className),le={};g&&(le.textAlign=g);var ve=fe(fe(fe(fe({},G),D.style),le),X==null?void 0:X.style),ke=K;return bn(ke)==="object"&&!Array.isArray(ke)&&!_.isValidElement(ke)&&(ke=null),f&&(R||M)&&(ke=_.createElement("span",{className:"".concat(B,"-content")},ke)),_.createElement(u,Qe({},X,D,{className:he,style:ve,title:be,scope:h,onMouseEnter:se,onMouseLeave:ye,colSpan:ee!==1?ee:null,rowSpan:Q!==1?Q:null}),N,ke)}const Wy=_.memo(ZPt);function _ie(e,t,n,r,i,o){var a=n[e]||{},l=n[t]||{},s,u;a.fixed==="left"?s=r.left[i==="rtl"?t:e]:l.fixed==="right"&&(u=r.right[i==="rtl"?e:t]);var c=!1,f=!1,h=!1,d=!1,p=n[t+1],g=n[e-1],m=!(o!=null&&o.children);if(i==="rtl"){if(s!==void 0){var v=g&&g.fixed==="left";d=!v&&m}else if(u!==void 0){var y=p&&p.fixed==="right";h=!y&&m}}else if(s!==void 0){var b=p&&p.fixed==="left";c=!b&&m}else if(u!==void 0){var C=g&&g.fixed==="right";f=!C&&m}return{fixLeft:s,fixRight:u,lastFixLeft:c,firstFixRight:f,lastFixRight:h,firstFixLeft:d,isSticky:r.isSticky}}var eFe=_.createContext({});function QPt(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=i===void 0?1:i,a=e.rowSpan,l=e.align,s=Ml(Ls,["prefixCls","direction"]),u=s.prefixCls,c=s.direction,f=_.useContext(eFe),h=f.scrollColumnIndex,d=f.stickyOffsets,p=f.flattenColumns,g=f.columns,m=n+o-1,v=m+1===h?o+1:o,y=_ie(n,n+v-1,p,d,c,g==null?void 0:g[n]);return _.createElement(Wy,Qe({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:l,colSpan:v,rowSpan:a,render:function(){return r}},y))}var JPt=["children"];function eTt(e){var t=e.children,n=an(e,JPt);return _.createElement("tr",n,t)}function kB(e){var t=e.children;return t}kB.Row=eTt;kB.Cell=QPt;function tTt(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=e.columns,o=Ml(Ls,"prefixCls"),a=r.length-1,l=r[a],s=_.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:l!=null&&l.scrollbar?a:null,columns:i}},[l,r,a,n,i]);return _.createElement(eFe.Provider,{value:s},_.createElement("tfoot",{className:"".concat(o,"-summary")},t))}const yM=xC(tTt);var wie=kB;function tFe(e){return null}function nFe(e){return null}function rFe(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var l=o(t),s=i==null?void 0:i.has(l);if(t&&Array.isArray(t[r])&&s)for(var u=0;u1?T-1:0),M=1;M=1?x:""),style:fe(fe({},n),v==null?void 0:v.style)}),p.map(function($,P){var T=$.render,R=$.dataIndex,M=$.className,A=lFe(h,$,P,s,i),N=A.key,k=A.fixedInfo,D=A.appendCellNode,L=A.additionalCellProps;return _.createElement(Wy,Qe({className:M,ellipsis:$.ellipsis,align:$.align,scope:$.rowScope,component:$.rowScope?f:c,prefixCls:d,key:N,record:r,index:i,renderIndex:o,dataIndex:R,render:T,shouldCellUpdate:$.shouldCellUpdate},k,{appendNode:D,additionalProps:L}))})),w;if(b&&(C.current||y)){var O=m(r,i,s+1,y);w=_.createElement(aFe,{expanded:y,className:Re("".concat(d,"-expanded-row"),"".concat(d,"-expanded-row-level-").concat(s+1),x),prefixCls:d,component:u,cellComponent:c,colSpan:p.length,isEmpty:!1},O)}return _.createElement(_.Fragment,null,S,w)}const rTt=xC(nTt);function iTt(e){var t=e.columnKey,n=e.onColumnResize,r=_.useRef();return _.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),_.createElement(Ba,{data:t},_.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function oTt(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return _.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},_.createElement(Ba.Collection,{onBatchResize:function(o){o.forEach(function(a){var l=a.data,s=a.size;r(l,s.offsetWidth)})}},n.map(function(i){return _.createElement(iTt,{key:i,columnKey:i,onColumnResize:r})})))}function aTt(e){var t=e.data,n=e.measureColumnWidth,r=Ml(Ls,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),i=r.prefixCls,o=r.getComponent,a=r.onColumnResize,l=r.flattenColumns,s=r.getRowKey,u=r.expandedKeys,c=r.childrenColumnName,f=r.emptyNode,h=iFe(t,c,u,s),d=_.useRef({renderWithProps:!1}),p=o(["body","wrapper"],"tbody"),g=o(["body","row"],"tr"),m=o(["body","cell"],"td"),v=o(["body","cell"],"th"),y;t.length?y=h.map(function(C,x){var S=C.record,w=C.indent,O=C.index,$=s(S,x);return _.createElement(rTt,{key:$,rowKey:$,record:S,index:x,renderIndex:O,rowComponent:g,cellComponent:m,scopeCellComponent:v,getRowKey:s,indent:w})}):y=_.createElement(aFe,{expanded:!0,className:"".concat(i,"-placeholder"),prefixCls:i,component:g,cellComponent:m,colSpan:l.length,isEmpty:!0},f);var b=AB(l);return _.createElement(JBe.Provider,{value:d.current},_.createElement(p,{className:"".concat(i,"-tbody")},n&&_.createElement(oTt,{prefixCls:i,columnsKey:b,onColumnResize:a}),y))}const lTt=xC(aTt);var sTt=["expandable"],M3="RC_TABLE_INTERNAL_COL_DEFINE";function cTt(e){var t=e.expandable,n=an(e,sTt),r;return"expandable"in e?r=fe(fe({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var uTt=["columnType"];function sFe(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=[],o=r||n.length,a=!1,l=o-1;l>=0;l-=1){var s=t[l],u=n&&n[l],c=u&&u[M3];if(s||c||a){var f=c||{};f.columnType;var h=an(f,uTt);i.unshift(_.createElement("col",Qe({key:l,style:{width:s}},h))),a=!0}}return _.createElement("colgroup",null,i)}var dTt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function fTt(e,t){return _.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:m.ellipsis,align:m.align,component:m.title?o:a,prefixCls:c,key:d[g]},v,{additionalProps:y,rowType:"header"}))}))}function gTt(e){var t=[];function n(a,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var u=l,c=a.filter(Boolean).map(function(f){var h={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},d=1,p=f.children;return p&&p.length>0&&(d=n(p,u,s+1).reduce(function(g,m){return g+m},0),h.hasSubColumns=!0),"colSpan"in f&&(d=f.colSpan),"rowSpan"in f&&(h.rowSpan=f.rowSpan),h.colSpan=d,h.colEnd=h.colStart+d-1,t[s].push(h),u+=d,d});return c}n(e,0);for(var r=t.length,i=function(l){t[l].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=r-l)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function vTt(e,t,n){return _.useMemo(function(){if(t&&t>0){var r=0,i=0;e.forEach(function(h){var d=N0e(t,h.width);d?r+=d:i+=1});var o=Math.max(t,n),a=Math.max(o-r,i),l=i,s=a/i,u=0,c=e.map(function(h){var d=fe({},h),p=N0e(t,d.width);if(p)d.width=p;else{var g=Math.floor(s);d.width=l===1?a:g,a-=g,l-=1}return u+=d.width,d});if(u0?fe(fe({},t),{},{children:cFe(n)}):t})}function _Q(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&bn(n)==="object"}).reduce(function(n,r,i){var o=r.fixed,a=o===!0?"left":o,l="".concat(t,"-").concat(i),s=r.children;return s&&s.length>0?[].concat(vt(n),vt(_Q(s,l).map(function(u){return fe({fixed:a},u)}))):[].concat(vt(n),[fe(fe({key:l},r),{},{fixed:a})])},[])}function CTt(e){return e.map(function(t){var n=t.fixed,r=an(t,bTt),i=n;return n==="left"?i="right":n==="right"&&(i="left"),fe({fixed:i},r)})}function STt(e,t){var n=e.prefixCls,r=e.columns,i=e.children,o=e.expandable,a=e.expandedKeys,l=e.columnTitle,s=e.getRowKey,u=e.onTriggerExpand,c=e.expandIcon,f=e.rowExpandable,h=e.expandIconColumnIndex,d=e.direction,p=e.expandRowByClick,g=e.columnWidth,m=e.fixed,v=e.scrollWidth,y=e.clientWidth,b=_.useMemo(function(){var R=r||Oie(i)||[];return cFe(R.slice())},[r,i]),C=_.useMemo(function(){if(o){var R,M=b.slice();if(!M.includes(zp)){var A=h||0;A>=0&&M.splice(A,0,zp)}var N=M.indexOf(zp);M=M.filter(function(B,j){return B!==zp||j===N});var k=b[N],D;(m==="left"||m)&&!h?D="left":(m==="right"||m)&&h===b.length?D="right":D=k?k.fixed:null;var L=(R={},ue(R,M3,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),ue(R,"title",l),ue(R,"fixed",D),ue(R,"className","".concat(n,"-row-expand-icon-cell")),ue(R,"width",g),ue(R,"render",function(j,z,V){var W=s(z,V),U=a.has(W),K=f?f(z):!0,X=c({prefixCls:n,expanded:U,expandable:K,record:z,onExpand:u});return p?_.createElement("span",{onClick:function(Y){return Y.stopPropagation()}},X):X}),R);return M.map(function(B){return B===zp?L:B})}return b.filter(function(B){return B!==zp})},[o,b,s,a,c,d]),x=_.useMemo(function(){var R=C;return t&&(R=t(R)),R.length||(R=[{render:function(){return null}}]),R},[t,C,d]),S=_.useMemo(function(){return d==="rtl"?CTt(_Q(x)):_Q(x)},[x,d,v]),w=_.useMemo(function(){for(var R=-1,M=S.length-1;M>=0;M-=1){var A=S[M].fixed;if(A==="left"||A===!0){R=M;break}}if(R>=0)for(var N=0;N<=R;N+=1){var k=S[N].fixed;if(k!=="left"&&k!==!0)return!0}var D=S.findIndex(function(j){var z=j.fixed;return z==="right"});if(D>=0)for(var L=D;L=f&&(D=f-h),a({scrollLeft:D/f*(c+2)}),y.current.x=M.pageX},P=function(){if(o.current){var M=yQ(o.current).top,A=M+o.current.offsetHeight,N=s===window?document.documentElement.scrollTop+window.innerHeight:yQ(s).top+s.clientHeight;A-AZ()<=N||M>=N-l?v(function(k){return fe(fe({},k),{},{isHiddenScrollBar:!0})}):v(function(k){return fe(fe({},k),{},{isHiddenScrollBar:!1})})}},T=function(M){v(function(A){return fe(fe({},A),{},{scrollLeft:M/c*f||0})})};return _.useImperativeHandle(n,function(){return{setScrollLeft:T}}),_.useEffect(function(){var R=gf(document.body,"mouseup",w,!1),M=gf(document.body,"mousemove",$,!1);return P(),function(){R.remove(),M.remove()}},[h,x]),_.useEffect(function(){var R=gf(s,"scroll",P,!1),M=gf(window,"resize",P,!1);return function(){R.remove(),M.remove()}},[s]),_.useEffect(function(){m.isHiddenScrollBar||v(function(R){var M=o.current;return M?fe(fe({},R),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):R})},[m.isHiddenScrollBar]),c<=f||!h||m.isHiddenScrollBar?null:_.createElement("div",{style:{height:AZ(),width:f,bottom:l},className:"".concat(u,"-sticky-scroll")},_.createElement("div",{onMouseDown:O,ref:d,className:Re("".concat(u,"-sticky-scroll-bar"),ue({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(m.scrollLeft,"px, 0, 0)")}}))};const RTt=_.forwardRef(MTt);var dFe="rc-table",ITt=[],NTt={};function ATt(){return"No Data"}function kTt(e,t){var n,r=fe({rowKey:"key",prefixCls:dFe,emptyText:ATt},e),i=r.prefixCls,o=r.className,a=r.rowClassName,l=r.style,s=r.data,u=r.rowKey,c=r.scroll,f=r.tableLayout,h=r.direction,d=r.title,p=r.footer,g=r.summary,m=r.caption,v=r.id,y=r.showHeader,b=r.components,C=r.emptyText,x=r.onRow,S=r.onHeaderRow,w=r.internalHooks,O=r.transformColumns,$=r.internalRefs,P=r.tailor,T=r.getContainerWidth,R=r.sticky,M=s||ITt,A=!!M.length,N=w===SC,k=_.useCallback(function(qt,Yt){return _s(b,qt)||Yt},[b]),D=_.useMemo(function(){return typeof u=="function"?u:function(qt){var Yt=qt&&qt[u];return Yt}},[u]),L=k(["body"]),B=$Tt(),j=Me(B,3),z=j[0],V=j[1],W=j[2],U=wTt(r,M,D),K=Me(U,6),X=K[0],G=K[1],Y=K[2],J=K[3],ee=K[4],Q=K[5],te=c==null?void 0:c.x,ne=_.useState(0),re=Me(ne,2),oe=re[0],se=re[1],ye=STt(fe(fe(fe({},r),X),{},{expandable:!!X.expandedRowRender,columnTitle:X.columnTitle,expandedKeys:Y,getRowKey:D,onTriggerExpand:Q,expandIcon:J,expandIconColumnIndex:X.expandIconColumnIndex,direction:h,scrollWidth:N&&P&&typeof te=="number"?te:null,clientWidth:oe}),N?O:null),be=Me(ye,4),he=be[0],le=be[1],ve=be[2],ke=be[3],Ie=ve??te,Oe=_.useMemo(function(){return{columns:he,flattenColumns:le}},[he,le]),Pe=_.useRef(),_e=_.useRef(),ce=_.useRef(),Te=_.useRef();_.useImperativeHandle(t,function(){return{nativeElement:Pe.current,scrollTo:function(Yt){var Mn;if(ce.current instanceof HTMLElement){var Zn=Yt.index,$r=Yt.top,qa=Yt.key;if($r){var Pa;(Pa=ce.current)===null||Pa===void 0||Pa.scrollTo({top:$r})}else{var Xo,fa=qa??D(M[Zn]);(Xo=ce.current.querySelector('[data-row-key="'.concat(fa,'"]')))===null||Xo===void 0||Xo.scrollIntoView()}}else(Mn=ce.current)!==null&&Mn!==void 0&&Mn.scrollTo&&ce.current.scrollTo(Yt)}}});var Ne=_.useRef(),je=_.useState(!1),He=Me(je,2),Be=He[0],qe=He[1],me=_.useState(!1),Ee=Me(me,2),$e=Ee[0],Le=Ee[1],Fe=uFe(new Map),Ke=Me(Fe,2),lt=Ke[0],ft=Ke[1],Ye=AB(le),we=Ye.map(function(qt){return lt.get(qt)}),De=_.useMemo(function(){return we},[we.join("_")]),We=TTt(De,le,h),Ge=c&&xQ(c.y),Je=c&&xQ(Ie)||!!X.fixed,bt=Je&&le.some(function(qt){var Yt=qt.fixed;return Yt}),at=_.useRef(),et=PTt(R,i),rt=et.isSticky,Ze=et.offsetHeader,wt=et.offsetSummary,ut=et.offsetScroll,ot=et.stickyClassName,dt=et.container,_t=_.useMemo(function(){return g==null?void 0:g(M)},[g,M]),Ot=(Ge||rt)&&_.isValidElement(_t)&&_t.type===kB&&_t.props.fixed,Ct,mt,It;Ge&&(mt={overflowY:"scroll",maxHeight:c.y}),Je&&(Ct={overflowX:"auto"},Ge||(mt={overflowY:"hidden"}),It={width:Ie===!0?"auto":Ie,minWidth:"100%"});var nt=_.useCallback(function(qt,Yt){C$(Pe.current)&&ft(function(Mn){if(Mn.get(qt)!==Yt){var Zn=new Map(Mn);return Zn.set(qt,Yt),Zn}return Mn})},[]),yt=ETt(null),xt=Me(yt,2),At=xt[0],cn=xt[1];function Ht(qt,Yt){Yt&&(typeof Yt=="function"?Yt(qt):Yt.scrollLeft!==qt&&(Yt.scrollLeft=qt,Yt.scrollLeft!==qt&&setTimeout(function(){Yt.scrollLeft=qt},0)))}var $t=ir(function(qt){var Yt=qt.currentTarget,Mn=qt.scrollLeft,Zn=h==="rtl",$r=typeof Mn=="number"?Mn:Yt.scrollLeft,qa=Yt||NTt;if(!cn()||cn()===qa){var Pa;At(qa),Ht($r,_e.current),Ht($r,ce.current),Ht($r,Ne.current),Ht($r,(Pa=at.current)===null||Pa===void 0?void 0:Pa.setScrollLeft)}var Xo=Yt||_e.current;if(Xo){var fa=Xo.scrollWidth,Hs=Xo.clientWidth;if(fa===Hs){qe(!1),Le(!1);return}Zn?(qe(-$r0)):(qe($r>0),Le($r1?m-A:0,k=fe(fe(fe({},O),u),{},{flex:"0 0 ".concat(A,"px"),width:"".concat(A,"px"),marginRight:N,pointerEvents:"auto"}),D=_.useMemo(function(){return f?R<=1:P===0||R===0||R>1},[R,P,f]);D?k.visibility="hidden":f&&(k.height=h==null?void 0:h(R));var L=D?function(){return null}:d,B={};return(R===0||P===0)&&(B.rowSpan=1,B.colSpan=1),_.createElement(Wy,Qe({className:Re(g,c),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:C,record:s,index:o,renderIndex:l,dataIndex:p,render:L,shouldCellUpdate:n.shouldCellUpdate},x,{appendNode:S,additionalProps:fe(fe({},w),{},{style:k},B)}))}var zTt=["data","index","className","rowKey","style","extra","getHeight"],BTt=_.forwardRef(function(e,t){var n=e.data,r=e.index,i=e.className,o=e.rowKey,a=e.style,l=e.extra,s=e.getHeight,u=an(e,zTt),c=n.record,f=n.indent,h=n.index,d=Ml(Ls,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),p=d.scrollX,g=d.flattenColumns,m=d.prefixCls,v=d.fixColumn,y=d.componentWidth,b=Ml($ie,["getComponent"]),C=b.getComponent,x=oFe(c,o,r,f),S=C(["body","row"],"div"),w=C(["body","cell"],"div"),O=x.rowSupportExpand,$=x.expanded,P=x.rowProps,T=x.expandedRowRender,R=x.expandedRowClassName,M;if(O&&$){var A=T(c,r,f+1,$),N=R==null?void 0:R(c,r,f),k={};v&&(k={style:ue({},"--virtual-width","".concat(y,"px"))});var D="".concat(m,"-expanded-row-cell");M=_.createElement(S,{className:Re("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(f+1),N)},_.createElement(Wy,{component:w,prefixCls:m,className:Re(D,ue({},"".concat(D,"-fixed"),v)),additionalProps:k},A))}var L=fe(fe({},a),{},{width:p});l&&(L.position="absolute",L.pointerEvents="none");var B=_.createElement(S,Qe({},P,u,{ref:O?null:t,className:Re(i,"".concat(m,"-row"),P==null?void 0:P.className,ue({},"".concat(m,"-row-extra"),l)),style:fe(fe({},L),P==null?void 0:P.style)}),g.map(function(j,z){return _.createElement(LTt,{key:z,component:w,rowInfo:x,column:j,colIndex:z,indent:f,index:r,renderIndex:h,record:c,inverse:l,getHeight:s})}));return O?_.createElement("div",{ref:t},B,M):B}),j0e=xC(BTt),FTt=_.forwardRef(function(e,t){var n=e.data,r=e.onScroll,i=Ml(Ls,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),o=i.flattenColumns,a=i.onColumnResize,l=i.getRowKey,s=i.expandedKeys,u=i.prefixCls,c=i.childrenColumnName,f=i.emptyNode,h=i.scrollX,d=Ml($ie),p=d.sticky,g=d.scrollY,m=d.listItemHeight,v=d.getComponent,y=_.useRef(),b=iFe(n,c,s,l),C=_.useMemo(function(){var N=0;return o.map(function(k){var D=k.width,L=k.key;return N+=D,[L,D,N]})},[o]),x=_.useMemo(function(){return C.map(function(N){return N[2]})},[C]);_.useEffect(function(){C.forEach(function(N){var k=Me(N,2),D=k[0],L=k[1];a(D,L)})},[C]),_.useImperativeHandle(t,function(){var N={scrollTo:function(D){var L;(L=y.current)===null||L===void 0||L.scrollTo(D)}};return Object.defineProperty(N,"scrollLeft",{get:function(){var D;return((D=y.current)===null||D===void 0?void 0:D.getScrollInfo().x)||0},set:function(D){var L;(L=y.current)===null||L===void 0||L.scrollTo({left:D})}}),N});var S=function(k,D){var L,B=(L=b[D])===null||L===void 0?void 0:L.record,j=k.onCell;if(j){var z,V=j(B,D);return(z=V==null?void 0:V.rowSpan)!==null&&z!==void 0?z:1}return 1},w=function(k){var D=k.start,L=k.end,B=k.getSize,j=k.offsetY;if(L<0)return null;for(var z=o.filter(function(ne){return S(ne,D)===0}),V=D,W=function(re){if(z=z.filter(function(oe){return S(oe,re)===0}),!z.length)return V=re,1},U=D;U>=0&&!W(U);U-=1);for(var K=o.filter(function(ne){return S(ne,L)!==1}),X=L,G=function(re){if(K=K.filter(function(oe){return S(oe,re)!==1}),!K.length)return X=Math.max(re-1,L),1},Y=L;Y1})&&J.push(re)},Q=V;Q<=X;Q+=1)ee(Q);var te=J.map(function(ne){var re=b[ne],oe=l(re.record,ne),se=function(he){var le=ne+he-1,ve=l(b[le].record,le),ke=B(oe,ve);return ke.bottom-ke.top},ye=B(oe);return _.createElement(j0e,{key:ne,data:re,rowKey:oe,index:ne,style:{top:-j+ye.top},extra:!0,getHeight:se})});return te},O=_.useMemo(function(){return{columnsOffset:x}},[x]),$="".concat(u,"-tbody"),P=v(["body","wrapper"]),T=v(["body","row"],"div"),R=v(["body","cell"],"div"),M;if(b.length){var A={};p&&(A.position="sticky",A.bottom=0,bn(p)==="object"&&p.offsetScroll&&(A.bottom=p.offsetScroll)),M=_.createElement(nB,{fullHeight:!1,ref:y,styles:{horizontalScrollBar:A},className:Re($,"".concat($,"-virtual")),height:g,itemHeight:m||24,data:b,itemKey:function(k){return l(k.record)},component:P,scrollWidth:h,onVirtualScroll:function(k){var D=k.x;r({scrollLeft:D})},extraRender:w},function(N,k,D){var L=l(N.record,k);return _.createElement(j0e,Qe({data:N,rowKey:L,index:k},D))})}else M=_.createElement(T,{className:Re("".concat(u,"-placeholder"))},_.createElement(Wy,{component:R,prefixCls:u},f));return _.createElement(fFe.Provider,{value:O},M)}),HTt=xC(FTt),WTt=function(t,n){var r=n.ref,i=n.onScroll;return _.createElement(HTt,{ref:r,data:t,onScroll:i})};function qTt(e,t){var n=e.columns,r=e.scroll,i=e.sticky,o=e.prefixCls,a=o===void 0?dFe:o,l=e.className,s=e.listItemHeight,u=e.components,c=r||{},f=c.x,h=c.y;typeof f!="number"&&(f=1),typeof h!="number"&&(h=500);var d=ir(function(g,m){return _s(u,g)||m}),p=_.useMemo(function(){return{sticky:i,scrollY:h,listItemHeight:s,getComponent:d}},[i,h,s,d]);return _.createElement($ie.Provider,{value:p},_.createElement(qy,Qe({},e,{className:Re(l,"".concat(a,"-virtual")),scroll:fe(fe({},r),{},{x:f}),components:fe(fe({},u),{},{body:WTt}),columns:n,internalHooks:SC,tailor:!0,ref:t})))}var VTt=_.forwardRef(qTt);function Pie(e){return QBe(VTt,e)}const UTt=Pie(),GTt=Object.freeze(Object.defineProperty({__proto__:null,Column:tFe,ColumnGroup:nFe,EXPAND_COLUMN:zp,INTERNAL_COL_DEFINE:M3,INTERNAL_HOOKS:SC,Summary:wie,VirtualTable:UTt,default:qy,genTable:Eie,genVirtualTable:Pie},Symbol.toStringTag,{value:"Module"}));function KTt(e){return null}function XTt(e){return null}var Tie=_.createContext(null),YTt=function(t){for(var n=t.prefixCls,r=t.level,i=t.isStart,o=t.isEnd,a="".concat(n,"-indent-unit"),l=[],s=0;s=0&&n.splice(r,1),n}function Mp(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function Mie(e){return e.split("-")}function tMt(e,t){var n=[],r=oc(t,e);function i(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(a){var l=a.key,s=a.children;n.push(l),i(s)})}return i(r.children),n}function nMt(e){if(e.parent){var t=Mie(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function rMt(e){var t=Mie(e.pos);return Number(t[t.length-1])===0}function z0e(e,t,n,r,i,o,a,l,s,u){var c,f=e.clientX,h=e.clientY,d=e.target.getBoundingClientRect(),p=d.top,g=d.height,m=(u==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-f),v=(m-12)/r,y=s.filter(function(k){var D;return(D=l[k])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),b=oc(l,n.props.eventKey);if(h-1.5?o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1:o({dragNode:M,dropNode:A,dropPosition:0})?P=0:o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1:o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1,{dropPosition:P,dropLevelOffset:T,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:$,dropContainerKey:P===0?null:((c=b.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:N}}function B0e(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function PV(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(bn(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Dr(!1,"`checkedKeys` is not an array or an object"),null;return t}function wQ(e,t){var n=new Set;function r(i){if(!n.has(i)){var o=oc(t,i);if(o){n.add(i);var a=o.parent,l=o.node;l.disabled||a&&r(a.key)}}}return(e||[]).forEach(function(i){r(i)}),vt(n)}function iMt(e){const[t,n]=_.useState(null);return[_.useCallback((o,a,l)=>{const s=t??o,u=Math.min(s||0,o),c=Math.max(s||0,o),f=a.slice(u,c+1).map(p=>e(p)),h=f.some(p=>!l.has(p)),d=[];return f.forEach(p=>{h?(l.has(p)||d.push(p),l.add(p)):(l.delete(p),d.push(p))}),n(h?c:null),d},[t]),o=>{n(o)}]}const x1={},OQ="SELECT_ALL",EQ="SELECT_INVERT",$Q="SELECT_NONE",F0e=[],pFe=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(vt(n),vt(pFe(e,r[e]))))}),n},oMt=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:o,onChange:a,onSelect:l,onSelectAll:s,onSelectInvert:u,onSelectNone:c,onSelectMultiple:f,columnWidth:h,type:d,selections:p,fixed:g,renderCell:m,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:C,pageData:x,getRecordByKey:S,getRowKey:w,expandType:O,childrenColumnName:$,locale:P,getPopupContainer:T}=e,R=Mh(),[M,A]=iMt(Q=>Q),[N,k]=zn(r||i||F0e,{value:r}),D=_.useRef(new Map),L=_.useCallback(Q=>{if(n){const te=new Map;Q.forEach(ne=>{let re=S(ne);!re&&D.current.has(ne)&&(re=D.current.get(ne)),te.set(ne,re)}),D.current=te}},[S,n]);_.useEffect(()=>{L(N)},[N]);const{keyEntities:B}=_.useMemo(()=>{if(y)return{keyEntities:null};let Q=C;if(n){const te=new Set(C.map((re,oe)=>w(re,oe))),ne=Array.from(D.current).reduce((re,oe)=>{let[se,ye]=oe;return te.has(se)?re:re.concat(ye)},[]);Q=[].concat(vt(Q),vt(ne))}return N$(Q,{externalGetKey:w,childrenPropName:$})},[C,w,y,$,n]),j=_.useMemo(()=>pFe($,x),[$,x]),z=_.useMemo(()=>{const Q=new Map;return j.forEach((te,ne)=>{const re=w(te,ne),oe=(o?o(te):null)||{};Q.set(re,oe)}),Q},[j,w,o]),V=_.useCallback(Q=>{var te;return!!(!((te=z.get(w(Q)))===null||te===void 0)&&te.disabled)},[z,w]),[W,U]=_.useMemo(()=>{if(y)return[N||[],[]];const{checkedKeys:Q,halfCheckedKeys:te}=ou(N,!0,B,V);return[Q||[],te]},[N,y,B,V]),K=_.useMemo(()=>{const Q=d==="radio"?W.slice(0,1):W;return new Set(Q)},[W,d]),X=_.useMemo(()=>d==="radio"?new Set:new Set(U),[U,d]);_.useEffect(()=>{t||k(F0e)},[!!t]);const G=_.useCallback((Q,te)=>{let ne,re;L(Q),n?(ne=Q,re=Q.map(oe=>D.current.get(oe))):(ne=[],re=[],Q.forEach(oe=>{const se=S(oe);se!==void 0&&(ne.push(oe),re.push(se))})),k(ne),a==null||a(ne,re,{type:te})},[k,S,a,n]),Y=_.useCallback((Q,te,ne,re)=>{if(l){const oe=ne.map(se=>S(se));l(S(Q),te,oe,re)}G(ne,"single")},[l,S,G]),J=_.useMemo(()=>!p||v?null:(p===!0?[OQ,EQ,$Q]:p).map(te=>te===OQ?{key:"all",text:P.selectionAll,onSelect(){G(C.map((ne,re)=>w(ne,re)).filter(ne=>{const re=z.get(ne);return!(re!=null&&re.disabled)||K.has(ne)}),"all")}}:te===EQ?{key:"invert",text:P.selectInvert,onSelect(){const ne=new Set(K);x.forEach((oe,se)=>{const ye=w(oe,se),be=z.get(ye);be!=null&&be.disabled||(ne.has(ye)?ne.delete(ye):ne.add(ye))});const re=Array.from(ne);u&&(R.deprecated(!1,"onSelectInvert","onChange"),u(re)),G(re,"invert")}}:te===$Q?{key:"none",text:P.selectNone,onSelect(){c==null||c(),G(Array.from(K).filter(ne=>{const re=z.get(ne);return re==null?void 0:re.disabled}),"none")}}:te).map(te=>Object.assign(Object.assign({},te),{onSelect:function(){for(var ne,re,oe=arguments.length,se=new Array(oe),ye=0;ye{var te;if(!t)return Q.filter(je=>je!==x1);let ne=vt(Q);const re=new Set(K),oe=j.map(w).filter(je=>!z.get(je).disabled),se=oe.every(je=>re.has(je)),ye=oe.some(je=>re.has(je)),be=()=>{const je=[];se?oe.forEach(Be=>{re.delete(Be),je.push(Be)}):oe.forEach(Be=>{re.has(Be)||(re.add(Be),je.push(Be))});const He=Array.from(re);s==null||s(!se,He.map(Be=>S(Be)),je.map(Be=>S(Be))),G(He,"all"),A(null)};let he,le;if(d!=="radio"){let je;if(J){const Ee={getPopupContainer:T,items:J.map(($e,Le)=>{const{key:Fe,text:Ke,onSelect:lt}=$e;return{key:Fe??Le,onClick:()=>{lt==null||lt(oe)},label:Ke}})};je=_.createElement("div",{className:`${b}-selection-extra`},_.createElement(nBe,{menu:Ee,getPopupContainer:T},_.createElement("span",null,_.createElement(oB,null))))}const He=j.map((Ee,$e)=>{const Le=w(Ee,$e),Fe=z.get(Le)||{};return Object.assign({checked:re.has(Le)},Fe)}).filter(Ee=>{let{disabled:$e}=Ee;return $e}),Be=!!He.length&&He.length===j.length,qe=Be&&He.every(Ee=>{let{checked:$e}=Ee;return $e}),me=Be&&He.some(Ee=>{let{checked:$e}=Ee;return $e});le=_.createElement(lD,{checked:Be?qe:!!j.length&&se,indeterminate:Be?!qe&&me:!se&&ye,onChange:be,disabled:j.length===0||Be,"aria-label":je?"Custom selection":"Select all",skipGroup:!0}),he=!v&&_.createElement("div",{className:`${b}-selection`},le,je)}let ve;d==="radio"?ve=(je,He,Be)=>{const qe=w(He,Be),me=re.has(qe);return{node:_.createElement(rc,Object.assign({},z.get(qe),{checked:me,onClick:Ee=>Ee.stopPropagation(),onChange:Ee=>{re.has(qe)||Y(qe,!0,[qe],Ee.nativeEvent)}})),checked:me}}:ve=(je,He,Be)=>{var qe;const me=w(He,Be),Ee=re.has(me),$e=X.has(me),Le=z.get(me);let Fe;return O==="nest"?Fe=$e:Fe=(qe=Le==null?void 0:Le.indeterminate)!==null&&qe!==void 0?qe:$e,{node:_.createElement(lD,Object.assign({},Le,{indeterminate:Fe,checked:Ee,skipGroup:!0,onClick:Ke=>Ke.stopPropagation(),onChange:Ke=>{let{nativeEvent:lt}=Ke;const{shiftKey:ft}=lt,Ye=oe.findIndex(De=>De===me),we=W.some(De=>oe.includes(De));if(ft&&y&&we){const De=M(Ye,oe,re),We=Array.from(re);f==null||f(!Ee,We.map(Ge=>S(Ge)),De.map(Ge=>S(Ge))),G(We,"multiple")}else{const De=W;if(y){const We=Ee?tf(De,me):Mp(De,me);Y(me,!Ee,We,lt)}else{const We=ou([].concat(vt(De),[me]),!0,B,V),{checkedKeys:Ge,halfCheckedKeys:Je}=We;let bt=Ge;if(Ee){const at=new Set(Ge);at.delete(me),bt=ou(Array.from(at),{checked:!1,halfCheckedKeys:Je},B,V).checkedKeys}Y(me,!Ee,bt,lt)}}A(Ee?null:Ye)}})),checked:Ee}};const ke=(je,He,Be)=>{const{node:qe,checked:me}=ve(je,He,Be);return m?m(me,He,Be,qe):qe};if(!ne.includes(x1))if(ne.findIndex(je=>{var He;return((He=je[M3])===null||He===void 0?void 0:He.columnType)==="EXPAND_COLUMN"})===0){const[je,...He]=ne;ne=[je,x1].concat(vt(He))}else ne=[x1].concat(vt(ne));const Ie=ne.indexOf(x1);ne=ne.filter((je,He)=>je!==x1||He===Ie);const Oe=ne[Ie-1],Pe=ne[Ie+1];let _e=g;_e===void 0&&((Pe==null?void 0:Pe.fixed)!==void 0?_e=Pe.fixed:(Oe==null?void 0:Oe.fixed)!==void 0&&(_e=Oe.fixed)),_e&&Oe&&((te=Oe[M3])===null||te===void 0?void 0:te.columnType)==="EXPAND_COLUMN"&&Oe.fixed===void 0&&(Oe.fixed=_e);const ce=Re(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:p&&d==="checkbox"}),Te=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(le):t.columnTitle:he,Ne={fixed:_e,width:h,className:`${b}-selection-column`,title:Te(),render:ke,onCell:t.onCell,[M3]:{className:ce}};return ne.map(je=>je===x1?Ne:je)},[w,j,t,W,K,X,h,J,O,z,f,Y,V]),K]};function aMt(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function lMt(e,t){return _.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(i,o){return n[o]?n[o]:Reflect.get(i,o)}}):aMt(r,n)})}function sMt(e){return function(n){let{prefixCls:r,onExpand:i,record:o,expanded:a,expandable:l}=n;const s=`${r}-row-expand-icon`;return _.createElement("button",{type:"button",onClick:u=>{i(o,u),u.stopPropagation()},className:Re(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&a,[`${s}-collapsed`]:l&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function cMt(e){return(n,r)=>{const i=n.querySelector(`.${e}-container`);let o=r;if(i){const a=getComputedStyle(i),l=parseInt(a.borderLeftWidth,10),s=parseInt(a.borderRightWidth,10);o=r-l-s}return o}}function oy(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function L$(e,t){return t?`${t}-${e}`:`${e}`}function jB(e,t){return typeof e=="function"?e(t):e}function uMt(e,t){const n=jB(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n}var dMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const fMt=dMt;var pMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:fMt}))};const hMt=_.forwardRef(pMt);function gMt(e){const t=_.useRef(e),n=aB();return[()=>t.current,r=>{t.current=r,n()}]}function mMt(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return _.createElement("div",{style:i})}function hFe(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function vMt(e,t){var n=_.useState(!1),r=Me(n,2),i=r[0],o=r[1];er(function(){if(i)return e(),function(){t()}},[i]),er(function(){return o(!0),function(){o(!1)}},[])}var yMt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],gFe=function(t,n){var r=t.className,i=t.style,o=t.motion,a=t.motionNodes,l=t.motionType,s=t.onMotionStart,u=t.onMotionEnd,c=t.active,f=t.treeNodeRequiredProps,h=an(t,yMt),d=_.useState(!0),p=Me(d,2),g=p[0],m=p[1],v=_.useContext(Tie),y=v.prefixCls,b=a&&l!=="hide";er(function(){a&&b!==g&&m(b)},[a]);var C=function(){a&&s()},x=_.useRef(!1),S=function(){a&&!x.current&&(x.current=!0,u())};vMt(C,S);var w=function($){b===$&&S()};return a?_.createElement(aa,Qe({ref:n,visible:g},o,{motionAppear:l==="show",onVisibleChanged:w}),function(O,$){var P=O.className,T=O.style;return _.createElement("div",{ref:$,className:Re("".concat(y,"-treenode-motion"),P),style:T},a.map(function(R){var M=Object.assign({},(hFe(R.data),R.data)),A=R.title,N=R.key,k=R.isStart,D=R.isEnd;delete M.children;var L=L9(N,f);return _.createElement(iy,Qe({},M,L,{title:A,active:c,data:R.data,key:N,isStart:k,isEnd:D}))}))}):_.createElement(iy,Qe({domRef:n,className:r,style:i},h,{active:c}))};gFe.displayName="MotionTreeNode";var bMt=_.forwardRef(gFe);function CMt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){var l=new Map;o.forEach(function(u){l.set(u,!0)});var s=a.filter(function(u){return!l.has(u)});return s.length===1?s[0]:null}return n ").concat(t);return t}var vFe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var i=e.expandedKeys,o=e.selectedKeys,a=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,c=e.keyEntities,f=e.disabled,h=e.dragging,d=e.dragOverNodeKey,p=e.dropPosition,g=e.motion,m=e.height,v=e.itemHeight,y=e.virtual,b=e.focusable,C=e.activeItem,x=e.focused,S=e.tabIndex,w=e.onKeyDown,O=e.onFocus,$=e.onBlur,P=e.onActiveChange,T=e.onListChangeStart,R=e.onListChangeEnd,M=an(e,SMt),A=_.useRef(null),N=_.useRef(null);_.useImperativeHandle(t,function(){return{scrollTo:function(ve){A.current.scrollTo(ve)},getIndentWidth:function(){return N.current.offsetWidth}}});var k=_.useState(i),D=Me(k,2),L=D[0],B=D[1],j=_.useState(r),z=Me(j,2),V=z[0],W=z[1],U=_.useState(r),K=Me(U,2),X=K[0],G=K[1],Y=_.useState([]),J=Me(Y,2),ee=J[0],Q=J[1],te=_.useState(null),ne=Me(te,2),re=ne[0],oe=ne[1],se=_.useRef(r);se.current=r;function ye(){var le=se.current;W(le),G(le),Q([]),oe(null),R()}er(function(){B(i);var le=CMt(L,i);if(le.key!==null)if(le.add){var ve=V.findIndex(function(ce){var Te=ce.key;return Te===le.key}),ke=V0e(H0e(V,r,le.key),y,m,v),Ie=V.slice();Ie.splice(ve+1,0,q0e),G(Ie),Q(ke),oe("show")}else{var Oe=r.findIndex(function(ce){var Te=ce.key;return Te===le.key}),Pe=V0e(H0e(r,V,le.key),y,m,v),_e=r.slice();_e.splice(Oe+1,0,q0e),G(_e),Q(Pe),oe("hide")}else V!==r&&(W(r),G(r))},[i,r]),_.useEffect(function(){h||ye()},[h]);var be=g?X:r,he={expandedKeys:i,selectedKeys:o,loadedKeys:l,loadingKeys:s,checkedKeys:a,halfCheckedKeys:u,dragOverNodeKey:d,dropPosition:p,keyEntities:c};return _.createElement(_.Fragment,null,x&&C&&_.createElement("span",{style:W0e,"aria-live":"assertive"},_Mt(C)),_.createElement("div",null,_.createElement("input",{style:W0e,disabled:b===!1||f,tabIndex:b!==!1?S:null,onKeyDown:w,onFocus:O,onBlur:$,value:"",onChange:xMt,"aria-label":"for screen reader"})),_.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},_.createElement("div",{className:"".concat(n,"-indent")},_.createElement("div",{ref:N,className:"".concat(n,"-indent-unit")}))),_.createElement(nB,Qe({},M,{data:be,itemKey:U0e,height:m,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(n,"-list"),ref:A,onVisibleChange:function(ve,ke){var Ie=new Set(ve),Oe=ke.filter(function(Pe){return!Ie.has(Pe)});Oe.some(function(Pe){return U0e(Pe)===ay})&&ye()}}),function(le){var ve=le.pos,ke=Object.assign({},(hFe(le.data),le.data)),Ie=le.title,Oe=le.key,Pe=le.isStart,_e=le.isEnd,ce=I$(Oe,ve);delete ke.key,delete ke.children;var Te=L9(ce,he);return _.createElement(bMt,Qe({},ke,Te,{title:Ie,active:!!C&&Oe===C.key,pos:ve,data:le.data,isStart:Pe,isEnd:_e,motion:g,motionNodes:Oe===ay?ee:null,motionType:re,onMotionStart:T,onMotionEnd:ye,treeNodeRequiredProps:he,onMouseMove:function(){P(null)}}))}))});vFe.displayName="NodeList";var wMt=10,z$=function(e){ua(n,e);var t=ul(n);function n(){var r;Yr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,h=f.dragChildrenKeys,d=f.dropPosition,p=f.dropTargetKey,g=f.dropTargetPos,m=f.dropAllowed;if(m){var v=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),p!==null){var y=fe(fe({},L9(p,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===p,data:oc(r.state.keyEntities,p).node}),b=h.indexOf(p)!==-1;Dr(!b,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var C=Mie(g),x={event:l,node:Qo(y),dragNode:r.dragNode?Qo(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(h),dropToGap:d!==0,dropPosition:d+Number(C[C.length-1])};c||v==null||v(x),r.dragNode=null}}}),ue(St(r),"cleanDragState",function(){var l=r.state.draggingNodeKey;l!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),ue(St(r),"triggerExpandActionExpand",function(l,s){var u=r.state,c=u.expandedKeys,f=u.flattenNodes,h=s.expanded,d=s.key,p=s.isLeaf;if(!(p||l.shiftKey||l.metaKey||l.ctrlKey)){var g=f.filter(function(v){return v.key===d})[0],m=Qo(fe(fe({},L9(d,r.getTreeNodeRequiredProps())),{},{data:g.data}));r.setExpandedKeys(h?tf(c,d):Mp(c,d)),r.onNodeExpand(l,m)}}),ue(St(r),"onNodeClick",function(l,s){var u=r.props,c=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(l,s),c==null||c(l,s)}),ue(St(r),"onNodeDoubleClick",function(l,s){var u=r.props,c=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(l,s),c==null||c(l,s)}),ue(St(r),"onNodeSelect",function(l,s){var u=r.state.selectedKeys,c=r.state,f=c.keyEntities,h=c.fieldNames,d=r.props,p=d.onSelect,g=d.multiple,m=s.selected,v=s[h.key],y=!m;y?g?u=Mp(u,v):u=[v]:u=tf(u,v);var b=u.map(function(C){var x=oc(f,C);return x?x.node:null}).filter(function(C){return C});r.setUncontrolledState({selectedKeys:u}),p==null||p(u,{event:"select",selected:y,node:s,selectedNodes:b,nativeEvent:l.nativeEvent})}),ue(St(r),"onNodeCheck",function(l,s,u){var c=r.state,f=c.keyEntities,h=c.checkedKeys,d=c.halfCheckedKeys,p=r.props,g=p.checkStrictly,m=p.onCheck,v=s.key,y,b={event:"check",node:s,checked:u,nativeEvent:l.nativeEvent};if(g){var C=u?Mp(h,v):tf(h,v),x=tf(d,v);y={checked:C,halfChecked:x},b.checkedNodes=C.map(function(T){return oc(f,T)}).filter(function(T){return T}).map(function(T){return T.node}),r.setUncontrolledState({checkedKeys:C})}else{var S=ou([].concat(vt(h),[v]),!0,f),w=S.checkedKeys,O=S.halfCheckedKeys;if(!u){var $=new Set(w);$.delete(v);var P=ou(Array.from($),{checked:!1,halfCheckedKeys:O},f);w=P.checkedKeys,O=P.halfCheckedKeys}y=w,b.checkedNodes=[],b.checkedNodesPositions=[],b.halfCheckedKeys=O,w.forEach(function(T){var R=oc(f,T);if(R){var M=R.node,A=R.pos;b.checkedNodes.push(M),b.checkedNodesPositions.push({node:M,pos:A})}}),r.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:O})}m==null||m(y,b)}),ue(St(r),"onNodeLoad",function(l){var s=l.key,u=new Promise(function(c,f){r.setState(function(h){var d=h.loadedKeys,p=d===void 0?[]:d,g=h.loadingKeys,m=g===void 0?[]:g,v=r.props,y=v.loadData,b=v.onLoad;if(!y||p.indexOf(s)!==-1||m.indexOf(s)!==-1)return null;var C=y(l);return C.then(function(){var x=r.state.loadedKeys,S=Mp(x,s);b==null||b(S,{event:"load",node:l}),r.setUncontrolledState({loadedKeys:S}),r.setState(function(w){return{loadingKeys:tf(w.loadingKeys,s)}}),c()}).catch(function(x){if(r.setState(function(w){return{loadingKeys:tf(w.loadingKeys,s)}}),r.loadingRetryTimes[s]=(r.loadingRetryTimes[s]||0)+1,r.loadingRetryTimes[s]>=wMt){var S=r.state.loadedKeys;Dr(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:Mp(S,s)}),c()}f(x)}),{loadingKeys:Mp(m,s)}})});return u.catch(function(){}),u}),ue(St(r),"onNodeMouseEnter",function(l,s){var u=r.props.onMouseEnter;u==null||u({event:l,node:s})}),ue(St(r),"onNodeMouseLeave",function(l,s){var u=r.props.onMouseLeave;u==null||u({event:l,node:s})}),ue(St(r),"onNodeContextMenu",function(l,s){var u=r.props.onRightClick;u&&(l.preventDefault(),u({event:l,node:s}))}),ue(St(r),"onFocus",function(){var l=r.props.onFocus;r.setState({focused:!0});for(var s=arguments.length,u=new Array(s),c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var c=!1,f=!0,h={};Object.keys(l).forEach(function(d){if(d in r.props){f=!1;return}c=!0,h[d]=l[d]}),c&&(!s||f)&&r.setState(fe(fe({},h),u))}}),ue(St(r),"scrollTo",function(l){r.listRef.current.scrollTo(l)}),r}return Zr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var i=this.props,o=i.activeKey,a=i.itemScrollOffset,l=a===void 0?0:a;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:l}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var i=this.state,o=i.focused,a=i.flattenNodes,l=i.keyEntities,s=i.draggingNodeKey,u=i.activeKey,c=i.dropLevelOffset,f=i.dropContainerKey,h=i.dropTargetKey,d=i.dropPosition,p=i.dragOverNodeKey,g=i.indent,m=this.props,v=m.prefixCls,y=m.className,b=m.style,C=m.showLine,x=m.focusable,S=m.tabIndex,w=S===void 0?0:S,O=m.selectable,$=m.showIcon,P=m.icon,T=m.switcherIcon,R=m.draggable,M=m.checkable,A=m.checkStrictly,N=m.disabled,k=m.motion,D=m.loadData,L=m.filterTreeNode,B=m.height,j=m.itemHeight,z=m.virtual,V=m.titleRender,W=m.dropIndicatorRender,U=m.onContextMenu,K=m.onScroll,X=m.direction,G=m.rootClassName,Y=m.rootStyle,J=qo(this.props,{aria:!0,data:!0}),ee;return R&&(bn(R)==="object"?ee=R:typeof R=="function"?ee={nodeDraggable:R}:ee={}),_.createElement(Tie.Provider,{value:{prefixCls:v,selectable:O,showIcon:$,icon:P,switcherIcon:T,draggable:ee,draggingNodeKey:s,checkable:M,checkStrictly:A,disabled:N,keyEntities:l,dropLevelOffset:c,dropContainerKey:f,dropTargetKey:h,dropPosition:d,dragOverNodeKey:p,indent:g,direction:X,dropIndicatorRender:W,loadData:D,filterTreeNode:L,titleRender:V,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},_.createElement("div",{role:"tree",className:Re(v,y,G,ue(ue(ue({},"".concat(v,"-show-line"),C),"".concat(v,"-focused"),o),"".concat(v,"-active-focused"),u!==null)),style:Y},_.createElement(vFe,Qe({ref:this.listRef,prefixCls:v,style:b,data:a,disabled:N,selectable:O,checkable:!!M,motion:k,dragging:s!==null,height:B,itemHeight:j,virtual:z,focusable:x,focused:o,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:K},this.getTreeNodeRequiredProps(),J))))}}],[{key:"getDerivedStateFromProps",value:function(i,o){var a=o.prevProps,l={prevProps:i};function s(S){return!a&&S in i||a&&a[S]!==i[S]}var u,c=o.fieldNames;if(s("fieldNames")&&(c=m4(i.fieldNames),l.fieldNames=c),s("treeData")?u=i.treeData:s("children")&&(Dr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=dze(i.children)),u){l.treeData=u;var f=N$(u,{fieldNames:c});l.keyEntities=fe(ue({},ay,mFe),f.keyEntities)}var h=l.keyEntities||o.keyEntities;if(s("expandedKeys")||a&&s("autoExpandParent"))l.expandedKeys=i.autoExpandParent||!a&&i.defaultExpandParent?wQ(i.expandedKeys,h):i.expandedKeys;else if(!a&&i.defaultExpandAll){var d=fe({},h);delete d[ay],l.expandedKeys=Object.keys(d).map(function(S){return d[S].key})}else!a&&i.defaultExpandedKeys&&(l.expandedKeys=i.autoExpandParent||i.defaultExpandParent?wQ(i.defaultExpandedKeys,h):i.defaultExpandedKeys);if(l.expandedKeys||delete l.expandedKeys,u||l.expandedKeys){var p=yV(u||o.treeData,l.expandedKeys||o.expandedKeys,c);l.flattenNodes=p}if(i.selectable&&(s("selectedKeys")?l.selectedKeys=B0e(i.selectedKeys,i):!a&&i.defaultSelectedKeys&&(l.selectedKeys=B0e(i.defaultSelectedKeys,i))),i.checkable){var g;if(s("checkedKeys")?g=PV(i.checkedKeys)||{}:!a&&i.defaultCheckedKeys?g=PV(i.defaultCheckedKeys)||{}:u&&(g=PV(i.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),g){var m=g,v=m.checkedKeys,y=v===void 0?[]:v,b=m.halfCheckedKeys,C=b===void 0?[]:b;if(!i.checkStrictly){var x=ou(y,!0,h);y=x.checkedKeys,C=x.halfCheckedKeys}l.checkedKeys=y,l.halfCheckedKeys=C}}return s("loadedKeys")&&(l.loadedKeys=i.loadedKeys),l}}]),n}(_.Component);ue(z$,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:mMt,allowDrop:function(){return!0},expandAction:!1});ue(z$,"TreeNode",iy);const OMt=Object.freeze(Object.defineProperty({__proto__:null,TreeNode:iy,default:z$},Symbol.toStringTag,{value:"Module"}));var EMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const $Mt=EMt;var PMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:$Mt}))};const yFe=_.forwardRef(PMt);var TMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const MMt=TMt;var RMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:MMt}))};const bFe=_.forwardRef(RMt);var IMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const NMt=IMt;var AMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:NMt}))};const kMt=_.forwardRef(AMt);var jMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};const DMt=jMt;var LMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:DMt}))};const zMt=_.forwardRef(LMt),BMt=new lr("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),FMt=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),HMt=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${xe(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),WMt=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:o,nodeSelectedBg:a,nodeHoverBg:l}=t,s=t.paddingXS;return{[n]:Object.assign(Object.assign({},sr(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},uh(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:BMt,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${xe(i)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,lineHeight:`${xe(o)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},FMt(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:`${xe(o)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,borderRadius:t.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${n}-switcher-noop):hover`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:s,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${xe(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${xe(o)}`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:l},[`&${n}-node-selected`]:{backgroundColor:a},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:`${xe(o)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${xe(o)}`,userSelect:"none"},HMt(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${xe(t.calc(o).div(2).equal())} !important`}}}}})}},qMt=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:i,directoryNodeSelectedColor:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:o,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:i},[`${t}-switcher`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent"}}}}}},CFe=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),o=Wn(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i});return[WMt(e,o),qMt(o)]},SFe=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},VMt=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},SFe(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},UMt=vr("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:eie(`${n}-checkbox`,e)},CFe(n,e),O$(e)]},VMt),G0e=4;function GMt(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:o="ltr"}=e,a=o==="ltr"?"left":"right",l=o==="ltr"?"right":"left",s={[a]:-n*i+G0e,[l]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[a]=i+G0e;break}return Se.createElement("div",{style:s,className:`${r}-drop-indicator`})}var KMt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const XMt=KMt;var YMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:XMt}))};const ZMt=_.forwardRef(YMt);var QMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const JMt=QMt;var eRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:JMt}))};const tRt=_.forwardRef(eRt);var nRt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const rRt=nRt;var iRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:rRt}))};const oRt=_.forwardRef(iRt),aRt=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i}=e,{isLeaf:o,expanded:a,loading:l}=r;if(l)return _.createElement(v0,{className:`${t}-switcher-loading-icon`});let s;if(i&&typeof i=="object"&&(s=i.showLeafIcon),o){if(!i)return null;if(typeof s!="boolean"&&s){const f=typeof s=="function"?s(r):s,h=`${t}-switcher-line-custom-icon`;return Zl(f)?Mo(f,{className:Re(f.props.className||"",h)}):f}return s?_.createElement(yFe,{className:`${t}-switcher-line-icon`}):_.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,c=typeof n=="function"?n(r):n;return Zl(c)?Mo(c,{className:Re(c.props.className||"",u)}):c!==void 0?c:i?a?_.createElement(tRt,{className:`${t}-switcher-line-icon`}):_.createElement(oRt,{className:`${t}-switcher-line-icon`}):_.createElement(ZMt,{className:u})},xFe=aRt,lRt=Se.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:i,virtual:o,tree:a}=Se.useContext(on),{prefixCls:l,className:s,showIcon:u=!1,showLine:c,switcherIcon:f,blockNode:h=!1,children:d,checkable:p=!1,selectable:g=!0,draggable:m,motion:v,style:y}=e,b=r("tree",l),C=r(),x=v??Object.assign(Object.assign({},l4(C)),{motionAppear:!1}),S=Object.assign(Object.assign({},e),{checkable:p,selectable:g,showIcon:u,motion:x,blockNode:h,showLine:!!c,dropIndicatorRender:GMt}),[w,O,$]=UMt(b),[,P]=To(),T=P.paddingXS/2+(((n=P.Tree)===null||n===void 0?void 0:n.titleHeight)||P.controlHeightSM),R=Se.useMemo(()=>{if(!m)return!1;let A={};switch(typeof m){case"function":A.nodeDraggable=m;break;case"object":A=Object.assign({},m);break}return A.icon!==!1&&(A.icon=A.icon||Se.createElement(zMt,null)),A},[m]),M=A=>Se.createElement(xFe,{prefixCls:b,switcherIcon:f,treeNodeProps:A,showLine:c});return w(Se.createElement(z$,Object.assign({itemHeight:T,ref:t,virtual:o},S,{style:Object.assign(Object.assign({},a==null?void 0:a.style),y),prefixCls:b,className:Re({[`${b}-icon-hide`]:!u,[`${b}-block-node`]:h,[`${b}-unselectable`]:!g,[`${b}-rtl`]:i==="rtl"},a==null?void 0:a.className,s,O,$),direction:i,checkable:p&&Se.createElement("span",{className:`${b}-checkbox-inner`}),selectable:g,switcherIcon:M,draggable:R}),d))}),_Fe=lRt;var Ap;(function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"})(Ap||(Ap={}));function Rie(e,t,n){const{key:r,children:i}=n;function o(a){const l=a[r],s=a[i];t(l,a)!==!1&&Rie(s||[],t,n)}e.forEach(o)}function sRt(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:i,fieldNames:o}=e;const a=[];let l=Ap.None;if(r&&r===i)return[r];if(!r||!i)return[];function s(u){return u===r||u===i}return Rie(t,u=>{if(l===Ap.End)return!1;if(s(u)){if(a.push(u),l===Ap.None)l=Ap.Start;else if(l===Ap.Start)return l=Ap.End,!1}else l===Ap.Start&&a.push(u);return n.includes(u)},m4(o)),a}function TV(e,t,n){const r=vt(t),i=[];return Rie(e,(o,a)=>{const l=r.indexOf(o);return l!==-1&&(i.push(a),r.splice(l,1)),!!r.length},m4(n)),i}var K0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i}=e,o=K0e(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const a=_.useRef(),l=_.useRef(),s=()=>{const{keyEntities:O}=N$(X0e(o));let $;return n?$=Object.keys(O):r?$=wQ(o.expandedKeys||i||[],O):$=o.expandedKeys||i,$},[u,c]=_.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[f,h]=_.useState(()=>s());_.useEffect(()=>{"selectedKeys"in o&&c(o.selectedKeys)},[o.selectedKeys]),_.useEffect(()=>{"expandedKeys"in o&&h(o.expandedKeys)},[o.expandedKeys]);const d=(O,$)=>{var P;return"expandedKeys"in o||h(O),(P=o.onExpand)===null||P===void 0?void 0:P.call(o,O,$)},p=(O,$)=>{var P;const{multiple:T,fieldNames:R}=o,{node:M,nativeEvent:A}=$,{key:N=""}=M,k=X0e(o),D=Object.assign(Object.assign({},$),{selected:!0}),L=(A==null?void 0:A.ctrlKey)||(A==null?void 0:A.metaKey),B=A==null?void 0:A.shiftKey;let j;T&&L?(j=O,a.current=N,l.current=j,D.selectedNodes=TV(k,j,R)):T&&B?(j=Array.from(new Set([].concat(vt(l.current||[]),vt(sRt({treeData:k,expandedKeys:f,startKey:N,endKey:a.current,fieldNames:R}))))),D.selectedNodes=TV(k,j,R)):(j=[N],a.current=N,l.current=j,D.selectedNodes=TV(k,j,R)),(P=o.onSelect)===null||P===void 0||P.call(o,j,D),"selectedKeys"in o||c(j)},{getPrefixCls:g,direction:m}=_.useContext(on),{prefixCls:v,className:y,showIcon:b=!0,expandAction:C="click"}=o,x=K0e(o,["prefixCls","className","showIcon","expandAction"]),S=g("tree",v),w=Re(`${S}-directory`,{[`${S}-directory-rtl`]:m==="rtl"},y);return _.createElement(_Fe,Object.assign({icon:cRt,ref:t,blockNode:!0},x,{showIcon:b,expandAction:C,prefixCls:S,className:w,expandedKeys:f,selectedKeys:u,onSelect:p,onExpand:d}))},dRt=_.forwardRef(uRt),fRt=dRt,Iie=_Fe;Iie.DirectoryTree=fRt;Iie.TreeNode=iy;const wFe=Iie;function Y0e(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:o}=e;return r?_.createElement("div",{className:`${i}-filter-dropdown-search`},_.createElement(au,{prefix:_.createElement(bre,null),placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${i}-filter-dropdown-search-input`})):null}const pRt=e=>{const{keyCode:t}=e;t===ht.ENTER&&e.stopPropagation()},hRt=_.forwardRef((e,t)=>_.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:pRt,ref:t},e.children)),gRt=hRt;function R3(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[].concat(vt(t),vt(R3(i))))}),t}function mRt(e){return e.some(t=>{let{children:n}=t;return n})}function OFe(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function EFe(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((l,s)=>{const u=String(l.value);if(l.children)return{key:u||s,label:l.text,popupClassName:`${n}-dropdown-submenu`,children:EFe({filters:l.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})};const c=i?lD:rc,f={key:l.value!==void 0?u:s,label:_.createElement(_.Fragment,null,_.createElement(c,{checked:r.includes(u)}),_.createElement("span",null,l.text))};return o.trim()?typeof a=="function"?a(o,l)?f:null:OFe(o,l.text)?f:null:f})}function MV(e){return e||[]}function vRt(e){var t,n;const{tablePrefixCls:r,prefixCls:i,column:o,dropdownPrefixCls:a,columnKey:l,filterMultiple:s,filterMode:u="menu",filterSearch:c=!1,filterState:f,triggerFilter:h,locale:d,children:p,getPopupContainer:g,rootClassName:m}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:y,filterResetToDefaultFilteredValue:b,defaultFilteredValue:C,filterDropdownVisible:x,onFilterDropdownVisibleChange:S}=o,[w,O]=_.useState(!1),$=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),P=se=>{O(se),y==null||y(se),S==null||S(se)},T=(n=v??x)!==null&&n!==void 0?n:w,R=f==null?void 0:f.filteredKeys,[M,A]=gMt(MV(R)),N=se=>{let{selectedKeys:ye}=se;A(ye)},k=(se,ye)=>{let{node:be,checked:he}=ye;N(s?{selectedKeys:se}:{selectedKeys:he&&be.key?[be.key]:[]})};_.useEffect(()=>{w&&N({selectedKeys:MV(R)})},[R]);const[D,L]=_.useState([]),B=se=>{L(se)},[j,z]=_.useState(""),V=se=>{const{value:ye}=se.target;z(ye)};_.useEffect(()=>{w||z("")},[w]);const W=se=>{const ye=se&&se.length?se:null;if(ye===null&&(!f||!f.filteredKeys)||Cc(ye,f==null?void 0:f.filteredKeys,!0))return null;h({column:o,key:l,filteredKeys:ye})},U=()=>{P(!1),W(M())},K=function(){let{confirm:se,closeDropdown:ye}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};se&&W([]),ye&&P(!1),z(""),A(b?(C||[]).map(be=>String(be)):[])},X=function(){let{closeDropdown:se}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};se&&P(!1),W(M())},G=(se,ye)=>{ye.source==="trigger"&&(se&&R!==void 0&&A(MV(R)),P(se),!se&&!o.filterDropdown&&U())},Y=Re({[`${a}-menu-without-submenu`]:!mRt(o.filters||[])}),J=se=>{if(se.target.checked){const ye=R3(o==null?void 0:o.filters).map(be=>String(be));A(ye)}else A([])},ee=se=>{let{filters:ye}=se;return(ye||[]).map((be,he)=>{const le=String(be.value),ve={title:be.text,key:be.value!==void 0?le:String(he)};return be.children&&(ve.children=ee({filters:be.children})),ve})},Q=se=>{var ye;return Object.assign(Object.assign({},se),{text:se.title,value:se.key,children:((ye=se.children)===null||ye===void 0?void 0:ye.map(be=>Q(be)))||[]})};let te;if(typeof o.filterDropdown=="function")te=o.filterDropdown({prefixCls:`${a}-custom`,setSelectedKeys:se=>N({selectedKeys:se}),selectedKeys:M(),confirm:X,clearFilters:K,filters:o.filters,visible:T,close:()=>{P(!1)}});else if(o.filterDropdown)te=o.filterDropdown;else{const se=M()||[],ye=()=>(o.filters||[]).length===0?_.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE,description:d.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):u==="tree"?_.createElement(_.Fragment,null,_.createElement(Y0e,{filterSearch:c,value:j,onChange:V,tablePrefixCls:r,locale:d}),_.createElement("div",{className:`${r}-filter-dropdown-tree`},s?_.createElement(lD,{checked:se.length===R3(o.filters).length,indeterminate:se.length>0&&se.lengthtypeof c=="function"?c(j,Q(he)):OFe(j,he.title):void 0}))):_.createElement(_.Fragment,null,_.createElement(Y0e,{filterSearch:c,value:j,onChange:V,tablePrefixCls:r,locale:d}),_.createElement(Mre,{selectable:!0,multiple:s,prefixCls:`${a}-menu`,className:Y,onSelect:N,onDeselect:N,selectedKeys:se,getPopupContainer:g,openKeys:D,onOpenChange:B,items:EFe({filters:o.filters||[],filterSearch:c,prefixCls:i,filteredKeys:M(),filterMultiple:s,searchValue:j})})),be=()=>b?Cc((C||[]).map(he=>String(he)),se,!0):se.length===0;te=_.createElement(_.Fragment,null,ye(),_.createElement("div",{className:`${i}-dropdown-btns`},_.createElement(Ei,{type:"link",size:"small",disabled:be(),onClick:()=>K()},d.filterReset),_.createElement(Ei,{type:"primary",size:"small",onClick:U},d.filterConfirm)))}o.filterDropdown&&(te=_.createElement(FDe,{selectable:void 0},te));const ne=()=>_.createElement(gRt,{className:`${i}-dropdown`},te);let re;typeof o.filterIcon=="function"?re=o.filterIcon($):o.filterIcon?re=o.filterIcon:re=_.createElement(hMt,null);const{direction:oe}=_.useContext(on);return _.createElement("div",{className:`${i}-column`},_.createElement("span",{className:`${r}-column-title`},p),_.createElement(nBe,{dropdownRender:ne,trigger:["click"],open:T,onOpenChange:G,getPopupContainer:g,placement:oe==="rtl"?"bottomLeft":"bottomRight",rootClassName:m},_.createElement("span",{role:"button",tabIndex:-1,className:Re(`${i}-trigger`,{active:$}),onClick:se=>{se.stopPropagation()}},re)))}function TQ(e,t,n){let r=[];return(e||[]).forEach((i,o)=>{var a;const l=L$(o,n);if(i.filters||"filterDropdown"in i||"onFilter"in i)if("filteredValue"in i){let s=i.filteredValue;"filterDropdown"in i||(s=(a=s==null?void 0:s.map(String))!==null&&a!==void 0?a:s),r.push({column:i,key:oy(i,l),filteredKeys:s,forceFiltered:i.filtered})}else r.push({column:i,key:oy(i,l),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[].concat(vt(r),vt(TQ(i.children,t,l))))}),r}function $Fe(e,t,n,r,i,o,a,l,s){return n.map((u,c)=>{const f=L$(c,l),{filterMultiple:h=!0,filterMode:d,filterSearch:p}=u;let g=u;if(g.filters||g.filterDropdown){const m=oy(g,f),v=r.find(y=>{let{key:b}=y;return m===b});g=Object.assign(Object.assign({},g),{title:y=>_.createElement(vRt,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:m,filterState:v,filterMultiple:h,filterMode:d,filterSearch:p,triggerFilter:o,locale:i,getPopupContainer:a,rootClassName:s},jB(u.title,y))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:$Fe(e,t,g.children,r,i,o,a,f,s)})),g})}function Z0e(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;const a=r,{filters:l,filterDropdown:s}=o;if(s)t[a]=i||null;else if(Array.isArray(i)){const u=R3(l);t[a]=u.filter(c=>i.includes(String(c)))}else t[a]=null}),t}function MQ(e,t,n){return t.reduce((r,i)=>{const{column:{onFilter:o,filters:a},filteredKeys:l}=i;return o&&l&&l.length?r.map(s=>Object.assign({},s)).filter(s=>l.some(u=>{const c=R3(a),f=c.findIndex(d=>String(d)===String(u)),h=f!==-1?c[f]:u;return s[n]&&(s[n]=MQ(s[n],t,n)),o(h,s)})):r},e)}const PFe=e=>e.flatMap(t=>"children"in t?[t].concat(vt(PFe(t.children||[]))):[t]);function yRt(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:o,locale:a,rootClassName:l}=e;Mh();const s=_.useMemo(()=>PFe(r||[]),[r]),[u,c]=_.useState(()=>TQ(s,!0)),f=_.useMemo(()=>{const g=TQ(s,!1);if(g.length===0)return g;let m=!0;if(g.forEach(v=>{let{filteredKeys:y}=v;y!==void 0&&(m=!1)}),m){const v=(s||[]).map((y,b)=>oy(y,L$(b)));return u.filter(y=>{let{key:b}=y;return v.includes(b)}).map(y=>{const b=s[v.findIndex(C=>C===y.key)];return Object.assign(Object.assign({},y),{column:Object.assign(Object.assign({},y.column),b),forceFiltered:b.filtered})})}return g},[s,u]),h=_.useMemo(()=>Z0e(f),[f]),d=g=>{const m=f.filter(v=>{let{key:y}=v;return y!==g.key});m.push(g),c(m),i(Z0e(m),m)};return[g=>$Fe(t,n,g,f,a,d,o,void 0,l),f,h]}function bRt(e,t,n){const r=_.useRef({});function i(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let l=function(s){s.forEach((u,c)=>{const f=n(u,c);a.set(f,u),u&&typeof u=="object"&&t in u&&l(u[t]||[])})};const a=new Map;l(e),r.current={data:e,childrenColumnName:t,kvMap:a,getRowKey:n}}return r.current.kvMap.get(o)}return[i]}var CRt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function xRt(e,t,n){const r=n&&typeof n=="object"?n:{},{total:i=0}=r,o=CRt(r,["total"]),[a,l]=_.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:TFe})),s=bEt(a,o,{total:i>0?i:e}),u=Math.ceil((i||e)/s.pageSize);s.current>u&&(s.current=u||1);const c=(h,d)=>{l({current:h??1,pageSize:d||s.pageSize})},f=(h,d)=>{var p;n&&((p=n.onChange)===null||p===void 0||p.call(n,h,d)),c(h,d),t(h,d||(s==null?void 0:s.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:f}),c]}var _Rt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const wRt=_Rt;var ORt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:wRt}))};const ERt=_.forwardRef(ORt);var $Rt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const PRt=$Rt;var TRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:PRt}))};const MRt=_.forwardRef(TRt),Ik="ascend",RV="descend";function mD(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function Q0e(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function RRt(e,t){return t?e[e.indexOf(t)+1]:e[0]}function RQ(e,t,n){let r=[];function i(o,a){r.push({column:o,key:oy(o,a),multiplePriority:mD(o),sortOrder:o.sortOrder})}return(e||[]).forEach((o,a)=>{const l=L$(a,n);o.children?("sortOrder"in o&&i(o,l),r=[].concat(vt(r),vt(RQ(o.children,t,l)))):o.sorter&&("sortOrder"in o?i(o,l):t&&o.defaultSortOrder&&r.push({column:o,key:oy(o,l),multiplePriority:mD(o),sortOrder:o.defaultSortOrder}))}),r}function MFe(e,t,n,r,i,o,a,l){return(t||[]).map((s,u)=>{const c=L$(u,l);let f=s;if(f.sorter){const h=f.sortDirections||i,d=f.showSorterTooltip===void 0?a:f.showSorterTooltip,p=oy(f,c),g=n.find(O=>{let{key:$}=O;return $===p}),m=g?g.sortOrder:null,v=RRt(h,m);let y;if(s.sortIcon)y=s.sortIcon({sortOrder:m});else{const O=h.includes(Ik)&&_.createElement(MRt,{className:Re(`${e}-column-sorter-up`,{active:m===Ik})}),$=h.includes(RV)&&_.createElement(ERt,{className:Re(`${e}-column-sorter-down`,{active:m===RV})});y=_.createElement("span",{className:Re(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&$)})},_.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,$))}const{cancelSort:b,triggerAsc:C,triggerDesc:x}=o||{};let S=b;v===RV?S=x:v===Ik&&(S=C);const w=typeof d=="object"?Object.assign({title:S},d):{title:S};f=Object.assign(Object.assign({},f),{className:Re(f.className,{[`${e}-column-sort`]:m}),title:O=>{const $=_.createElement("div",{className:`${e}-column-sorters`},_.createElement("span",{className:`${e}-column-title`},jB(s.title,O)),y);return d?_.createElement(Ly,Object.assign({},w),$):$},onHeaderCell:O=>{const $=s.onHeaderCell&&s.onHeaderCell(O)||{},P=$.onClick,T=$.onKeyDown;$.onClick=A=>{r({column:s,key:p,sortOrder:v,multiplePriority:mD(s)}),P==null||P(A)},$.onKeyDown=A=>{A.keyCode===ht.ENTER&&(r({column:s,key:p,sortOrder:v,multiplePriority:mD(s)}),T==null||T(A))};const R=uMt(s.title,{}),M=R==null?void 0:R.toString();return m?$["aria-sort"]=m==="ascend"?"ascending":"descending":$["aria-label"]=M||"",$.className=Re($.className,`${e}-column-has-sorters`),$.tabIndex=0,s.ellipsis&&($.title=(R??"").toString()),$}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:MFe(e,f.children,n,r,i,o,a,c)})),f})}function J0e(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function ege(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(J0e);return t.length===0&&e.length?Object.assign(Object.assign({},J0e(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function IQ(e,t,n){const r=t.slice().sort((a,l)=>l.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:l},sortOrder:s}=a;return Q0e(l)&&s});return o.length?i.sort((a,l)=>{for(let s=0;s{const l=a[n];return l?Object.assign(Object.assign({},a),{[n]:IQ(l,t,n)}):a}):i}function IRt(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:o,showSorterTooltip:a}=e;const[l,s]=_.useState(RQ(n,!0)),u=_.useMemo(()=>{let p=!0;const g=RQ(n,!1);if(!g.length)return l;const m=[];function v(b){p?m.push(b):m.push(Object.assign(Object.assign({},b),{sortOrder:null}))}let y=null;return g.forEach(b=>{y===null?(v(b),b.sortOrder&&(b.multiplePriority===!1?p=!1:y=!0)):(y&&b.multiplePriority!==!1||(p=!1),v(b))}),m},[n,l]),c=_.useMemo(()=>{const p=u.map(g=>{let{column:m,sortOrder:v}=g;return{column:m,order:v}});return{sortColumns:p,sortColumn:p[0]&&p[0].column,sortOrder:p[0]&&p[0].order}},[u]);function f(p){let g;p.multiplePriority===!1||!u.length||u[0].multiplePriority===!1?g=[p]:g=[].concat(vt(u.filter(m=>{let{key:v}=m;return v!==p.key})),[p]),s(g),r(ege(g),g)}return[p=>MFe(t,p,u,f,i,o,a),u,c,()=>ege(u)]}function RFe(e,t){return e.map(n=>{const r=Object.assign({},n);return r.title=jB(n.title,t),"children"in r&&(r.children=RFe(r.children,t)),r})}function NRt(e){return[_.useCallback(n=>RFe(n,e),[e])]}const ARt=Eie((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),kRt=Pie((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),jRt=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:l,calc:s}=e,u=`${xe(n)} ${r} ${i}`,c=(f,h,d)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${xe(s(h).mul(-1).equal())} + */var BBe={L:r3.QrCode.Ecc.LOW,M:r3.QrCode.Ecc.MEDIUM,Q:r3.QrCode.Ecc.QUARTILE,H:r3.QrCode.Ecc.HIGH},FBe=128,HBe="L",WBe="#FFFFFF",qBe="#000000",VBe=!1,vie=4,p$t=.1;function UBe(e,t=0){const n=[];return e.forEach(function(r,i){let o=null;r.forEach(function(a,l){if(!a&&o!==null){n.push(`M${o+t} ${i+t}h${l-o}v1H${o+t}z`),o=null;return}if(l===r.length-1){if(!a)return;o===null?n.push(`M${l+t},${i+t} h1v1H${l+t}z`):n.push(`M${o+t},${i+t} h${l+1-o}v1H${o+t}z`);return}a&&o===null&&(o=l)})}),n.join("")}function GBe(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((i,o)=>o=t.x+t.w?i:!1))}function KBe(e,t,n,r){if(r==null)return null;const i=n?vie:0,o=e.length+i*2,a=Math.floor(t*p$t),l=o/t,s=(r.width||a)*l,u=(r.height||a)*l,c=r.x==null?e.length/2-s/2:r.x*l,f=r.y==null?e.length/2-u/2:r.y*l;let h=null;if(r.excavate){let d=Math.floor(c),p=Math.floor(f),g=Math.ceil(s+c-d),m=Math.ceil(u+f-p);h={x:d,y:p,w:g,h:m}}return{x:c,y:f,h:u,w:s,excavation:h}}var h$t=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function XBe(e){const t=e,{value:n,size:r=FBe,level:i=HBe,bgColor:o=WBe,fgColor:a=qBe,includeMargin:l=VBe,style:s,imageSettings:u}=t,c=mie(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=u==null?void 0:u.src,h=_.useRef(null),d=_.useRef(null),[p,g]=_.useState(!1);_.useEffect(()=>{if(h.current!=null){const y=h.current,b=y.getContext("2d");if(!b)return;let C=r3.QrCode.encodeText(n,BBe[i]).getModules();const x=l?vie:0,S=C.length+x*2,w=KBe(C,r,l,u),O=d.current,$=w!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;$&&w.excavation!=null&&(C=GBe(C,w.excavation));const P=window.devicePixelRatio||1;y.height=y.width=r*P;const T=r/S*P;b.scale(T,T),b.fillStyle=o,b.fillRect(0,0,S,S),b.fillStyle=a,h$t?b.fill(new Path2D(UBe(C,x))):C.forEach(function(R,M){R.forEach(function(A,N){A&&b.fillRect(N+x,M+x,1,1)})}),$&&b.drawImage(O,w.x+x,w.y+x,w.w,w.h)}}),_.useEffect(()=>{g(!1)},[f]);const m=i7({height:r,width:r},s);let v=null;return f!=null&&(v=Se.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{g(!0)},ref:d})),Se.createElement(Se.Fragment,null,Se.createElement("canvas",i7({style:m,height:r,width:r,ref:h},c)),v)}function YBe(e){const t=e,{value:n,size:r=FBe,level:i=HBe,bgColor:o=WBe,fgColor:a=qBe,includeMargin:l=VBe,imageSettings:s}=t,u=mie(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let c=r3.QrCode.encodeText(n,BBe[i]).getModules();const f=l?vie:0,h=c.length+f*2,d=KBe(c,r,l,s);let p=null;s!=null&&d!=null&&(d.excavation!=null&&(c=GBe(c,d.excavation)),p=Se.createElement("image",{xlinkHref:s.src,height:d.h,width:d.w,x:d.x+f,y:d.y+f,preserveAspectRatio:"none"}));const g=UBe(c,f);return Se.createElement("svg",i7({height:r,width:r,viewBox:`0 0 ${h} ${h}`},u),Se.createElement("path",{fill:o,d:`M0,0 h${h}v${h}H0z`,shapeRendering:"crispEdges"}),Se.createElement("path",{fill:a,d:g,shapeRendering:"crispEdges"}),p)}var g$t=e=>{const t=e,{renderAs:n}=t,r=mie(t,["renderAs"]);return n==="svg"?Se.createElement(YBe,i7({},r)):Se.createElement(XBe,i7({},r))};const m$t=Object.freeze(Object.defineProperty({__proto__:null,QRCodeCanvas:XBe,QRCodeSVG:YBe,default:g$t},Symbol.toStringTag,{value:"Module"}));function v$t(e,t){var n=e.disabled,r=e.prefixCls,i=e.character,o=e.characterRender,a=e.index,l=e.count,s=e.value,u=e.allowHalf,c=e.focused,f=e.onHover,h=e.onClick,d=function(x){f(x,a)},p=function(x){h(x,a)},g=function(x){x.keyCode===ht.ENTER&&h(x,a)},m=a+1,v=new Set([r]);s===0&&a===0&&c?v.add("".concat(r,"-focused")):u&&s+.5>=m&&sa?"true":"false","aria-posinset":a+1,"aria-setsize":l,tabIndex:n?-1:0},Se.createElement("div",{className:"".concat(r,"-first")},y),Se.createElement("div",{className:"".concat(r,"-second")},y)));return o&&(b=o(b,e)),b}const y$t=Se.forwardRef(v$t);function b$t(){var e=_.useRef({});function t(r){return e.current[r]}function n(r){return function(i){e.current[r]=i}}return[t,n]}function C$t(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function S$t(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function x$t(e){var t=S$t(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=C$t(r),t.left}var _$t=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function w$t(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-rate":r,o=e.className,a=e.defaultValue,l=e.value,s=e.count,u=s===void 0?5:s,c=e.allowHalf,f=c===void 0?!1:c,h=e.allowClear,d=h===void 0?!0:h,p=e.character,g=p===void 0?"★":p,m=e.characterRender,v=e.disabled,y=e.direction,b=y===void 0?"ltr":y,C=e.tabIndex,x=C===void 0?0:C,S=e.autoFocus,w=e.onHoverChange,O=e.onChange,$=e.onFocus,P=e.onBlur,T=e.onKeyDown,R=e.onMouseLeave,M=an(e,_$t),A=b$t(),N=Me(A,2),j=N[0],D=N[1],L=Se.useRef(null),B=function(){if(!v){var ce;(ce=L.current)===null||ce===void 0||ce.focus()}};Se.useImperativeHandle(t,function(){return{focus:B,blur:function(){if(!v){var ce;(ce=L.current)===null||ce===void 0||ce.blur()}}}});var k=zn(a||0,{value:l}),z=Me(k,2),q=z[0],W=z[1],U=zn(null),K=Me(U,2),X=K[0],G=K[1],Y=function(ce,Te){var Ne=b==="rtl",je=ce+1;if(f){var He=j(ce),Be=x$t(He),qe=He.clientWidth;(Ne&&Te-Be>qe/2||!Ne&&Te-Be0&&!Ne||Te===ht.RIGHT&&je>0&&Ne?(f?je-=.5:je-=1,J(je),ce.preventDefault()):Te===ht.LEFT&&je3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof g=="number"){var y,b=p[m],C=b+g,x=[];r.forEach(function(P){x.push(P.value)}),x.push(e,t),x.push(l(b));var S=g>0?1:-1;v==="unit"?x.push(l(b+S*n)):x.push(l(C)),x=x.filter(function(P){return P!==null}).filter(function(P){return g<0?P<=b:P>=b}),v==="unit"&&(x=x.filter(function(P){return P!==b}));var w=v==="unit"?b:C;y=x[0];var O=Math.abs(y-w);if(x.forEach(function(P){var T=Math.abs(P-w);T1){var $=vt(p);return $[m]=y,d($,g-S,m,v)}return y}else{if(g==="min")return e;if(g==="max")return t}},c=function(p,g,m){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",y=p[m],b=u(p,g,m,v);return{value:b,changed:b!==y}},f=function(p){return o===null&&p===0||typeof o=="number"&&p3&&arguments[3]!==void 0?arguments[3]:"unit",y=p.map(s),b=y[m],C=u(y,g,m,v);if(y[m]=C,i===!1){var x=o||0;m>0&&y[m-1]!==b&&(y[m]=Math.max(y[m],y[m-1]+x)),m0;$-=1)for(var P=!0;f(y[$]-y[$-1])&&P;){var T=c(y,-1,$-1);y[$-1]=T.value,P=T.changed}for(var R=y.length-1;R>0;R-=1)for(var M=!0;f(y[R]-y[R-1])&&M;){var A=c(y,-1,R-1);y[R-1]=A.value,M=A.changed}for(var N=0;N=0?D:!1},[D,ke]),Oe=_.useMemo(function(){var mt=Object.keys(J||{});return mt.map(function(It){var nt=J[It],yt={value:Number(It)};return nt&&bn(nt)==="object"&&!_.isValidElement(nt)&&("label"in nt||"style"in nt)?(yt.style=nt.style,yt.label=nt.label):yt.label=nt,yt}).filter(function(It){var nt=It.label;return nt||typeof nt=="number"}).sort(function(It,nt){return It.value-nt.value})},[J]),Pe=B$t(le,ve,ke,Oe,N,Ie),_e=Me(Pe,2),ce=_e[0],Te=_e[1],Ne=zn(w,{value:S}),je=Me(Ne,2),He=je[0],Be=je[1],qe=_.useMemo(function(){var mt=He==null?[]:Array.isArray(He)?He:[He],It=Me(mt,1),nt=It[0],yt=nt===void 0?le:nt,xt=He===null?[]:[yt];if(O){if(xt=vt(mt),$||He===void 0){var At=$>=0?$+1:2;for(xt=xt.slice(0,At);xt.length=0&&ye.current.focus(mt)}at(null)},[bt]);var rt=_.useMemo(function(){return L&&ke===null?!1:L},[L,ke]),Ze=function(It,nt){we(It,nt),T==null||T(Ee(me.current))},wt=lt!==-1;_.useEffect(function(){if(!wt){var mt=qe.lastIndexOf(ft);ye.current.focus(mt)}},[wt]);var ut=_.useMemo(function(){return vt(Ye).sort(function(mt,It){return mt-It})},[Ye]),ot=_.useMemo(function(){return O?[ut[0],ut[ut.length-1]]:[le,ut[0]]},[ut,O,le]),dt=Me(ot,2),_t=dt[0],Ot=dt[1];_.useImperativeHandle(t,function(){return{focus:function(){ye.current.focus(0)},blur:function(){var It=document,nt=It.activeElement;be.current.contains(nt)&&(nt==null||nt.blur())}}}),_.useEffect(function(){d&&ye.current.focus(0)},[]);var Ct=_.useMemo(function(){return{min:le,max:ve,direction:he,disabled:c,keyboard:h,step:ke,included:q,includedStart:_t,includedEnd:Ot,range:O,tabIndex:ne,ariaLabelForHandle:re,ariaLabelledByForHandle:oe,ariaValueTextFormatterForHandle:se,styles:s||{},classNames:l||{}}},[le,ve,he,c,h,ke,q,_t,Ot,O,ne,re,oe,se,s,l]);return _.createElement(Hy.Provider,{value:Ct},_.createElement("div",{ref:be,className:Re(i,o,(n={},ue(n,"".concat(i,"-disabled"),c),ue(n,"".concat(i,"-vertical"),k),ue(n,"".concat(i,"-horizontal"),!k),ue(n,"".concat(i,"-with-marks"),Oe.length),n)),style:a,onMouseDown:We},_.createElement("div",{className:Re("".concat(i,"-rail"),l==null?void 0:l.rail),style:fe(fe({},X),s==null?void 0:s.rail)}),_.createElement(V$t,{prefixCls:i,style:U,values:ut,startPoint:W,onStartMove:rt?Ze:null}),_.createElement(q$t,{prefixCls:i,marks:Oe,dots:ee,style:G,activeStyle:Y}),_.createElement(L$t,{ref:ye,prefixCls:i,style:K,values:Ye,draggingIndex:lt,onStartMove:Ze,onOffsetChange:et,onFocus:p,onBlur:g,handleRender:Q,onChangeComplete:Le}),_.createElement(H$t,{prefixCls:i,marks:Oe,onClick:De})))});const G$t=Object.freeze(Object.defineProperty({__proto__:null,default:U$t},Symbol.toStringTag,{value:"Module"})),K$t=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:o="",prefixCls:a}=e;let l;if(typeof n=="function")l=n(t);else{const s=String(t),u=s.match(/^(-?)(\d*)(\.(\d+))?$/);if(!u||s==="-")l=s;else{const c=u[1];let f=u[2]||"0",h=u[4]||"";f=f.replace(/\B(?=(\d{3})+(?!\d))/g,o),typeof r=="number"&&(h=h.padEnd(r,"0").slice(0,r>0?r:0)),h&&(h=`${i}${h}`),l=[_.createElement("span",{key:"int",className:`${a}-content-value-int`},c,f),h&&_.createElement("span",{key:"decimal",className:`${a}-content-value-decimal`},h)]}}return _.createElement("span",{className:`${a}-content-value`},l)},X$t=K$t,Y$t=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,titleFontSize:o,colorTextHeading:a,contentFontSize:l,fontFamily:s}=e;return{[`${t}`]:Object.assign(Object.assign({},sr(e)),{[`${t}-title`]:{marginBottom:n,color:i,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}},Z$t=e=>{const{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}},Q$t=vr("Statistic",e=>{const t=Wn(e,{});return[Y$t(t)]},Z$t);var J$t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,rootClassName:r,style:i,valueStyle:o,value:a=0,title:l,valueRender:s,prefix:u,suffix:c,loading:f=!1,formatter:h,precision:d,decimalSeparator:p=".",groupSeparator:g=",",onMouseEnter:m,onMouseLeave:v}=e,y=J$t(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:b,direction:C,statistic:x}=_.useContext(on),S=b("statistic",t),[w,O,$]=Q$t(S),P=_.createElement(X$t,{decimalSeparator:p,groupSeparator:g,prefixCls:S,formatter:h,precision:d,value:a}),T=Re(S,{[`${S}-rtl`]:C==="rtl"},x==null?void 0:x.className,n,r,O,$),R=qo(y,{aria:!0,data:!0});return w(_.createElement("div",Object.assign({},R,{className:T,style:Object.assign(Object.assign({},x==null?void 0:x.style),i),onMouseEnter:m,onMouseLeave:v}),l&&_.createElement("div",{className:`${S}-title`},l),_.createElement(WLe,{paragraph:!1,loading:f,className:`${S}-skeleton`},_.createElement("div",{style:o,className:`${S}-content`},u&&_.createElement("span",{className:`${S}-content-prefix`},u),s?s(P):P,c&&_.createElement("span",{className:`${S}-content-suffix`},c)))))},bie=ePt,tPt=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function nPt(e,t){let n=e;const r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(s=>s.slice(1,-1)),o=t.replace(r,"[]"),a=tPt.reduce((s,u)=>{let[c,f]=u;if(s.includes(c)){const h=Math.floor(n/f);return n-=h*f,s.replace(new RegExp(`${c}+`,"g"),d=>{const p=d.length;return h.toString().padStart(p,"0")})}return s},o);let l=0;return a.replace(r,()=>{const s=i[l];return l+=1,s})}function rPt(e,t){const{format:n=""}=t,r=new Date(e).getTime(),i=Date.now(),o=Math.max(r-i,0);return nPt(o,n)}var iPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:t,format:n="HH:mm:ss",onChange:r,onFinish:i}=e,o=iPt(e,["value","format","onChange","onFinish"]),a=lB(),l=_.useRef(null),s=()=>{i==null||i(),l.current&&(clearInterval(l.current),l.current=null)},u=()=>{const h=aPt(t);h>=Date.now()&&(l.current=setInterval(()=>{a(),r==null||r(h-Date.now()),h(u(),()=>{l.current&&(clearInterval(l.current),l.current=null)}),[t]);const c=(h,d)=>rPt(h,Object.assign(Object.assign({},d),{format:n})),f=h=>Mo(h,{title:void 0});return _.createElement(bie,Object.assign({},o,{value:t,valueRender:f,formatter:c}))},sPt=_.memo(lPt);bie.Countdown=sPt;var cPt=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function R0e(e){return typeof e=="string"}function Cie(e){var t,n=e.className,r=e.prefixCls,i=e.style,o=e.active,a=e.status,l=e.iconPrefix,s=e.icon;e.wrapperStyle;var u=e.stepNumber,c=e.disabled,f=e.description,h=e.title,d=e.subTitle,p=e.progressDot,g=e.stepIcon,m=e.tailContent,v=e.icons,y=e.stepIndex,b=e.onStepClick,C=e.onClick,x=e.render,S=an(e,cPt),w=!!b&&!c,O={};w&&(O.role="button",O.tabIndex=0,O.onClick=function(A){C==null||C(A),b(y)},O.onKeyDown=function(A){var N=A.which;(N===ht.ENTER||N===ht.SPACE)&&b(y)});var $=function(){var N,j,D=Re("".concat(r,"-icon"),"".concat(l,"icon"),(N={},ue(N,"".concat(l,"icon-").concat(s),s&&R0e(s)),ue(N,"".concat(l,"icon-check"),!s&&a==="finish"&&(v&&!v.finish||!v)),ue(N,"".concat(l,"icon-cross"),!s&&a==="error"&&(v&&!v.error||!v)),N)),L=_.createElement("span",{className:"".concat(r,"-icon-dot")});return p?typeof p=="function"?j=_.createElement("span",{className:"".concat(r,"-icon")},p(L,{index:u-1,status:a,title:h,description:f})):j=_.createElement("span",{className:"".concat(r,"-icon")},L):s&&!R0e(s)?j=_.createElement("span",{className:"".concat(r,"-icon")},s):v&&v.finish&&a==="finish"?j=_.createElement("span",{className:"".concat(r,"-icon")},v.finish):v&&v.error&&a==="error"?j=_.createElement("span",{className:"".concat(r,"-icon")},v.error):s||a==="finish"||a==="error"?j=_.createElement("span",{className:D}):j=_.createElement("span",{className:"".concat(r,"-icon")},u),g&&(j=g({index:u-1,status:a,title:h,description:f,node:j})),j},P=a||"wait",T=Re("".concat(r,"-item"),"".concat(r,"-item-").concat(P),n,(t={},ue(t,"".concat(r,"-item-custom"),s),ue(t,"".concat(r,"-item-active"),o),ue(t,"".concat(r,"-item-disabled"),c===!0),t)),R=fe({},i),M=_.createElement("div",Qe({},S,{className:T,style:R}),_.createElement("div",Qe({onClick:C},O,{className:"".concat(r,"-item-container")}),_.createElement("div",{className:"".concat(r,"-item-tail")},m),_.createElement("div",{className:"".concat(r,"-item-icon")},$()),_.createElement("div",{className:"".concat(r,"-item-content")},_.createElement("div",{className:"".concat(r,"-item-title")},h,d&&_.createElement("div",{title:typeof d=="string"?d:void 0,className:"".concat(r,"-item-subtitle")},d)),f&&_.createElement("div",{className:"".concat(r,"-item-description")},f))));return x&&(M=x(M)||null),M}var uPt=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function AB(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,i=e.style,o=i===void 0?{}:i,a=e.className;e.children;var l=e.direction,s=l===void 0?"horizontal":l,u=e.type,c=u===void 0?"default":u,f=e.labelPlacement,h=f===void 0?"horizontal":f,d=e.iconPrefix,p=d===void 0?"rc":d,g=e.status,m=g===void 0?"process":g,v=e.size,y=e.current,b=y===void 0?0:y,C=e.progressDot,x=C===void 0?!1:C,S=e.stepIcon,w=e.initial,O=w===void 0?0:w,$=e.icons,P=e.onChange,T=e.itemRender,R=e.items,M=R===void 0?[]:R,A=an(e,uPt),N=c==="navigation",j=c==="inline",D=j||x,L=j?"horizontal":s,B=j?void 0:v,k=D?"vertical":h,z=Re(r,"".concat(r,"-").concat(L),a,(t={},ue(t,"".concat(r,"-").concat(B),B),ue(t,"".concat(r,"-label-").concat(k),L==="horizontal"),ue(t,"".concat(r,"-dot"),!!D),ue(t,"".concat(r,"-navigation"),N),ue(t,"".concat(r,"-inline"),j),t)),q=function(K){P&&b!==K&&P(K)},W=function(K,X){var G=fe({},K),Y=O+X;return m==="error"&&X===b-1&&(G.className="".concat(r,"-next-error")),G.status||(Y===b?G.status=m:Y{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:i}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:i,lineHeight:`${xe(i)}`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},pPt=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:i}=e,o=e.calc(e.paddingXS).add(e.lineWidth).equal(),a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${xe(o)} ${xe(e.paddingXXS)} 0`,margin:`0 ${xe(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${xe(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(o).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:i}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${xe(e.lineWidth)} ${e.lineType} ${i}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:i},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:i,border:`${xe(e.lineWidth)} ${e.lineType} ${i}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${xe(e.calc(n).div(2).equal())})`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},hPt=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:i}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`${xe(e.paddingXXS)} ${xe(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(i).div(2).add(e.controlHeightLG).equal()}}}}}},gPt=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:i,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},xc),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${xe(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${xe(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${xe(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:i,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${xe(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},mPt=e=>{const{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.calc(e.iconSize).div(2).sub(e.lineWidth).add(e.paddingXXS).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(e.iconSizeSM).div(2).sub(e.lineWidth).add(e.paddingXXS).equal()},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.calc(e.margin).sub(e.calc(e.lineWidth).mul(2).equal()).equal()}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:e.calc(e.calc(e.iconSize).sub(e.stepsProgressSize).sub(e.calc(e.lineWidth).mul(2).equal()).equal()).div(2).equal(),insetInlineStart:e.calc(e.calc(e.iconSize).sub(e.stepsProgressSize).sub(e.calc(e.lineWidth).mul(2).equal()).equal()).div(2).equal()}}}}},vPt=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:i,dotSize:o,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${xe(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${xe(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal(),paddingInlineEnd:0,lineHeight:`${xe(o)}`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(o).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(o).sub(i).div(2).equal(),width:i,height:i,lineHeight:`${xe(i)}`,background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(i).div(2).equal(),top:0,insetInlineStart:e.calc(o).sub(i).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(o).div(2).equal(),insetInlineStart:0,margin:0,padding:`${xe(e.calc(o).add(e.paddingXS).equal())} 0 ${xe(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(o).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(o).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},yPt=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},bPt=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:i,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${xe(e.marginXS)}`,fontSize:r,lineHeight:`${xe(n)}`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:i,lineHeight:`${xe(n)}`,"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:o,fontSize:i},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${xe(n)}`,transform:"none"}}}}},CPt=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${xe(r)}`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${xe(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${xe(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${xe(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${xe(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:`${xe(n)}`}}}}};var o3;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(o3||(o3={}));const yM=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,i=`${e}TitleColor`,o=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,s=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[s],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[i],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},SPt=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,i=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[i]:Object.assign({},uh(e))}},[`${i}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[i]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:`${xe(e.iconSize)}`,textAlign:"center",borderRadius:e.iconSize,border:`${xe(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).sub(e.paddingXXS).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${xe(e.titleLineHeight)}`,"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},yM(o3.wait,e)),yM(o3.process,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),yM(o3.finish,e)),yM(o3.error,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},xPt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},_Pt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),SPt(e)),xPt(e)),fPt(e)),bPt(e)),CPt(e)),hPt(e)),vPt(e)),gPt(e)),yPt(e)),mPt(e)),pPt(e))}},wPt=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),OPt=vr("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:i,colorPrimary:o,colorTextDescription:a,colorTextQuaternary:l,colorError:s,colorBorderSecondary:u,colorSplit:c}=e,f=Wn(e,{processIconColor:r,processTitleColor:i,processDescriptionColor:i,processIconBgColor:o,processIconBorderColor:o,processDotColor:o,processTailColor:c,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:c,waitDotColor:t,finishIconColor:o,finishTitleColor:i,finishDescriptionColor:a,finishTailColor:o,finishDotColor:o,errorIconColor:r,errorTitleColor:s,errorDescriptionColor:s,errorTailColor:c,errorIconBgColor:s,errorIconBorderColor:s,errorDotColor:s,stepsNavActiveColor:o,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:l,inlineTailColor:u});return[_Pt(f)]},wPt);function EPt(e){return e.filter(t=>t)}function $Pt(e,t){if(e)return e;const n=Wo(t).map(r=>{if(_.isValidElement(r)){const{props:i}=r;return Object.assign({},i)}return null});return EPt(n)}var PPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{percent:t,size:n,className:r,rootClassName:i,direction:o,items:a,responsive:l=!0,current:s=0,children:u,style:c}=e,f=PPt(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:h}=sB(l),{getPrefixCls:d,direction:p,steps:g}=_.useContext(on),m=_.useMemo(()=>l&&h?"vertical":o,[h,o]),v=Go(n),y=d("steps",e.prefixCls),[b,C,x]=OPt(y),S=e.type==="inline",w=d("",e.iconPrefix),O=$Pt(a,u),$=S?void 0:t,P=Object.assign(Object.assign({},g==null?void 0:g.style),c),T=Re(g==null?void 0:g.className,{[`${y}-rtl`]:p==="rtl",[`${y}-with-progress`]:$!==void 0},r,i,C,x),R={finish:_.createElement(oB,{className:`${y}-finish-icon`}),error:_.createElement(Ic,{className:`${y}-error-icon`})},M=N=>{let{node:j,status:D}=N;if(D==="process"&&$!==void 0){const L=v==="small"?32:40;return _.createElement("div",{className:`${y}-progress-icon`},_.createElement(F9,{type:"circle",percent:$,size:L,strokeWidth:4,format:()=>null}),j)}return j},A=(N,j)=>N.description?_.createElement(Ly,{title:N.description},j):j;return b(_.createElement(AB,Object.assign({icons:R},f,{style:P,current:s,size:v,items:O,itemRender:S?A:void 0,stepIcon:M,direction:m,prefixCls:y,iconPrefix:w,className:T})))};ZBe.Step=AB.Step;const TPt=ZBe;var MPt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Sie=_.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-switch":r,o=e.className,a=e.checked,l=e.defaultChecked,s=e.disabled,u=e.loadingIcon,c=e.checkedChildren,f=e.unCheckedChildren,h=e.onClick,d=e.onChange,p=e.onKeyDown,g=an(e,MPt),m=zn(!1,{value:a,defaultValue:l}),v=Me(m,2),y=v[0],b=v[1];function C(O,$){var P=y;return s||(P=O,b(P),d==null||d(P,$)),P}function x(O){O.which===ht.LEFT?C(!1,O):O.which===ht.RIGHT&&C(!0,O),p==null||p(O)}function S(O){var $=C(!y,O);h==null||h($,O)}var w=Re(i,o,(n={},ue(n,"".concat(i,"-checked"),y),ue(n,"".concat(i,"-disabled"),s),n));return _.createElement("button",Qe({},g,{type:"button",role:"switch","aria-checked":y,disabled:s,className:w,ref:t,onKeyDown:x,onClick:S}),u,_.createElement("span",{className:"".concat(i,"-inner")},_.createElement("span",{className:"".concat(i,"-inner-checked")},c),_.createElement("span",{className:"".concat(i,"-inner-unchecked")},f)))});Sie.displayName="Switch";const RPt=Object.freeze(Object.defineProperty({__proto__:null,default:Sie},Symbol.toStringTag,{value:"Module"})),IPt=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:o,innerMaxMarginSM:a,handleSizeSM:l,calc:s}=e,u=`${t}-inner`,c=xe(s(l).add(s(r).mul(2)).equal()),f=xe(s(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:xe(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${f})`,marginInlineEnd:`calc(100% - ${c} + ${f})`},[`${u}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:s(s(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${f})`,marginInlineEnd:`calc(-100% + ${c} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${xe(s(l).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:s(e.marginXXS).div(2).equal(),marginInlineEnd:s(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:s(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:s(e.marginXXS).div(2).equal()}}}}}}},NPt=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},APt=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:o,calc:a}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(o).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${xe(a(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},kPt=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:o,handleSize:a,calc:l}=e,s=`${t}-inner`,u=xe(l(a).add(l(r).mul(2)).equal()),c=xe(l(o).mul(2).equal());return{[t]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${c})`,marginInlineEnd:`calc(100% - ${u} + ${c})`},[`${s}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${s}`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${c})`,marginInlineEnd:`calc(-100% + ${u} - ${c})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:l(r).mul(2).equal(),marginInlineEnd:l(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:l(r).mul(-1).mul(2).equal(),marginInlineEnd:l(r).mul(2).equal()}}}}}},jPt=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},sr(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:`${xe(n)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),dh(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},DPt=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,o=t*n,a=r/2,l=2,s=o-l*2,u=a-l*2;return{trackHeight:o,trackHeightSM:a,trackMinWidth:s*2+l*4,trackMinWidthSM:u*2+l*2,trackPadding:l,handleBg:i,handleSize:s,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new Gn("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+l+l*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+l+l*2}},LPt=vr("Switch",e=>{const t=Wn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jPt(t),kPt(t),APt(t),NPt(t),IPt(t)]},DPt);var zPt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,size:r,disabled:i,loading:o,className:a,rootClassName:l,style:s,checked:u,value:c,defaultChecked:f,defaultValue:h,onChange:d}=e,p=zPt(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[g,m]=zn(!1,{value:u??c,defaultValue:f??h}),{getPrefixCls:v,direction:y,switch:b}=_.useContext(on),C=_.useContext(es),x=(i??C)||o,S=v("switch",n),w=_.createElement("div",{className:`${S}-handle`},o&&_.createElement(v0,{className:`${S}-loading-icon`})),[O,$,P]=LPt(S),T=Go(r),R=Re(b==null?void 0:b.className,{[`${S}-small`]:T==="small",[`${S}-loading`]:o,[`${S}-rtl`]:y==="rtl"},a,l,$,P),M=Object.assign(Object.assign({},b==null?void 0:b.style),s),A=function(){m(arguments.length<=0?void 0:arguments[0]),d==null||d.apply(void 0,arguments)};return O(_.createElement(x$,{component:"Switch"},_.createElement(Sie,Object.assign({},p,{checked:g,onChange:A,prefixCls:S,className:R,style:M,disabled:x,ref:t,loadingIcon:w}))))});QBe.__ANT_SWITCH=!0;const BPt=QBe;var zp={},SC="rc-table-internal-hook";function xie(e){var t=_.createContext(void 0),n=function(i){var o=i.value,a=i.children,l=_.useRef(o);l.current=o;var s=_.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),u=Me(s,1),c=u[0];return er(function(){Ns.unstable_batchedUpdates(function(){c.listeners.forEach(function(f){f(o)})})},[o]),_.createElement(t.Provider,{value:c},a)};return{Context:t,Provider:n,defaultValue:e}}function Ml(e,t){var n=ir(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var h={};return t.forEach(function(d){h[d]=f[d]}),h}),r=_.useContext(e==null?void 0:e.Context),i=r||{},o=i.listeners,a=i.getValue,l=_.useRef();l.current=n(r?a():e==null?void 0:e.defaultValue);var s=_.useState({}),u=Me(s,2),c=u[1];return er(function(){if(!r)return;function f(h){var d=n(h);Cc(l.current,d,!0)||c({})}return o.add(f),function(){o.delete(f)}},[r]),l.current}function FPt(){var e=_.createContext(null);function t(){return _.useContext(e)}function n(i,o){var a=bc(i),l=function(u,c){var f=a?{ref:c}:{},h=_.useRef(0),d=_.useRef(u),p=t();return p!==null?_.createElement(i,Qe({},u,f)):((!o||o(d.current,u))&&(h.current+=1),d.current=u,_.createElement(e.Provider,{value:h.current},_.createElement(i,Qe({},u,f))))};return a?_.forwardRef(l):l}function r(i,o){var a=bc(i),l=function(u,c){var f=a?{ref:c}:{};return t(),_.createElement(i,Qe({},u,f))};return a?_.memo(_.forwardRef(l),o):_.memo(l,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var _ie=FPt(),JBe=_ie.makeImmutable,xC=_ie.responseImmutable,HPt=_ie.useImmutableMark,Ls=xie(),eFe=_.createContext({renderWithProps:!1}),WPt="RC_TABLE_KEY";function qPt(e){return e==null?[]:Array.isArray(e)?e:[e]}function kB(e){var t=[],n={};return e.forEach(function(r){for(var i=r||{},o=i.key,a=i.dataIndex,l=o||qPt(a).join("-")||WPt;n[l];)l="".concat(l,"_next");n[l]=!0,t.push(l)}),t}function _Q(e){return e!=null}function VPt(e){return e&&bn(e)==="object"&&!Array.isArray(e)&&!_.isValidElement(e)}function UPt(e,t,n,r,i,o){var a=_.useContext(eFe),l=HPt(),s=Th(function(){if(_Q(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],c=_s(e,u),f=c,h=void 0;if(i){var d=i(c,e,n);VPt(d)?(f=d.children,h=d.props,a.renderWithProps=!0):f=d}return[f,h]},[l,e,r,t,i,n],function(u,c){if(o){var f=Me(u,2),h=f[1],d=Me(c,2),p=d[1];return o(p,h)}return a.renderWithProps?!0:!Cc(u,c,!0)});return s}function GPt(e,t,n,r){var i=e+t-1;return e<=r&&i>=n}function KPt(e,t){return Ml(Ls,function(n){var r=GPt(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var XPt=function(t){var n=t.ellipsis,r=t.rowType,i=t.children,o,a=n===!0?{showTitle:!0}:n;return a&&(a.showTitle||r==="header")&&(typeof i=="string"||typeof i=="number"?o=i.toString():_.isValidElement(i)&&typeof i.props.children=="string"&&(o=i.props.children)),o};function YPt(e){var t,n,r,i,o,a,l,s,u=e.component,c=e.children,f=e.ellipsis,h=e.scope,d=e.prefixCls,p=e.className,g=e.align,m=e.record,v=e.render,y=e.dataIndex,b=e.renderIndex,C=e.shouldCellUpdate,x=e.index,S=e.rowType,w=e.colSpan,O=e.rowSpan,$=e.fixLeft,P=e.fixRight,T=e.firstFixLeft,R=e.lastFixLeft,M=e.firstFixRight,A=e.lastFixRight,N=e.appendNode,j=e.additionalProps,D=j===void 0?{}:j,L=e.isSticky,B="".concat(d,"-cell"),k=Ml(Ls,["supportSticky","allColumnsFixedLeft"]),z=k.supportSticky,q=k.allColumnsFixedLeft,W=UPt(m,y,b,c,v,C),U=Me(W,2),K=U[0],X=U[1],G={},Y=typeof $=="number"&&z,J=typeof P=="number"&&z;Y&&(G.position="sticky",G.left=$),J&&(G.position="sticky",G.right=P);var ee=(t=(n=(r=X==null?void 0:X.colSpan)!==null&&r!==void 0?r:D.colSpan)!==null&&n!==void 0?n:w)!==null&&t!==void 0?t:1,Q=(i=(o=(a=X==null?void 0:X.rowSpan)!==null&&a!==void 0?a:D.rowSpan)!==null&&o!==void 0?o:O)!==null&&i!==void 0?i:1,te=KPt(x,Q),ne=Me(te,2),re=ne[0],oe=ne[1],se=ir(function(Ie){var Oe;m&&oe(x,x+Q-1),D==null||(Oe=D.onMouseEnter)===null||Oe===void 0||Oe.call(D,Ie)}),ye=ir(function(Ie){var Oe;m&&oe(-1,-1),D==null||(Oe=D.onMouseLeave)===null||Oe===void 0||Oe.call(D,Ie)});if(ee===0||Q===0)return null;var be=(l=D.title)!==null&&l!==void 0?l:XPt({rowType:S,ellipsis:f,children:K}),he=Re(B,p,(s={},ue(s,"".concat(B,"-fix-left"),Y&&z),ue(s,"".concat(B,"-fix-left-first"),T&&z),ue(s,"".concat(B,"-fix-left-last"),R&&z),ue(s,"".concat(B,"-fix-left-all"),R&&q&&z),ue(s,"".concat(B,"-fix-right"),J&&z),ue(s,"".concat(B,"-fix-right-first"),M&&z),ue(s,"".concat(B,"-fix-right-last"),A&&z),ue(s,"".concat(B,"-ellipsis"),f),ue(s,"".concat(B,"-with-append"),N),ue(s,"".concat(B,"-fix-sticky"),(Y||J)&&L&&z),ue(s,"".concat(B,"-row-hover"),!X&&re),s),D.className,X==null?void 0:X.className),le={};g&&(le.textAlign=g);var ve=fe(fe(fe(fe({},G),D.style),le),X==null?void 0:X.style),ke=K;return bn(ke)==="object"&&!Array.isArray(ke)&&!_.isValidElement(ke)&&(ke=null),f&&(R||M)&&(ke=_.createElement("span",{className:"".concat(B,"-content")},ke)),_.createElement(u,Qe({},X,D,{className:he,style:ve,title:be,scope:h,onMouseEnter:se,onMouseLeave:ye,colSpan:ee!==1?ee:null,rowSpan:Q!==1?Q:null}),N,ke)}const Wy=_.memo(YPt);function wie(e,t,n,r,i,o){var a=n[e]||{},l=n[t]||{},s,u;a.fixed==="left"?s=r.left[i==="rtl"?t:e]:l.fixed==="right"&&(u=r.right[i==="rtl"?e:t]);var c=!1,f=!1,h=!1,d=!1,p=n[t+1],g=n[e-1],m=!(o!=null&&o.children);if(i==="rtl"){if(s!==void 0){var v=g&&g.fixed==="left";d=!v&&m}else if(u!==void 0){var y=p&&p.fixed==="right";h=!y&&m}}else if(s!==void 0){var b=p&&p.fixed==="left";c=!b&&m}else if(u!==void 0){var C=g&&g.fixed==="right";f=!C&&m}return{fixLeft:s,fixRight:u,lastFixLeft:c,firstFixRight:f,lastFixRight:h,firstFixLeft:d,isSticky:r.isSticky}}var tFe=_.createContext({});function ZPt(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=i===void 0?1:i,a=e.rowSpan,l=e.align,s=Ml(Ls,["prefixCls","direction"]),u=s.prefixCls,c=s.direction,f=_.useContext(tFe),h=f.scrollColumnIndex,d=f.stickyOffsets,p=f.flattenColumns,g=f.columns,m=n+o-1,v=m+1===h?o+1:o,y=wie(n,n+v-1,p,d,c,g==null?void 0:g[n]);return _.createElement(Wy,Qe({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:l,colSpan:v,rowSpan:a,render:function(){return r}},y))}var QPt=["children"];function JPt(e){var t=e.children,n=an(e,QPt);return _.createElement("tr",n,t)}function jB(e){var t=e.children;return t}jB.Row=JPt;jB.Cell=ZPt;function eTt(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=e.columns,o=Ml(Ls,"prefixCls"),a=r.length-1,l=r[a],s=_.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:l!=null&&l.scrollbar?a:null,columns:i}},[l,r,a,n,i]);return _.createElement(tFe.Provider,{value:s},_.createElement("tfoot",{className:"".concat(o,"-summary")},t))}const bM=xC(eTt);var Oie=jB;function nFe(e){return null}function rFe(e){return null}function iFe(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var l=o(t),s=i==null?void 0:i.has(l);if(t&&Array.isArray(t[r])&&s)for(var u=0;u1?T-1:0),M=1;M=1?x:""),style:fe(fe({},n),v==null?void 0:v.style)}),p.map(function($,P){var T=$.render,R=$.dataIndex,M=$.className,A=sFe(h,$,P,s,i),N=A.key,j=A.fixedInfo,D=A.appendCellNode,L=A.additionalCellProps;return _.createElement(Wy,Qe({className:M,ellipsis:$.ellipsis,align:$.align,scope:$.rowScope,component:$.rowScope?f:c,prefixCls:d,key:N,record:r,index:i,renderIndex:o,dataIndex:R,render:T,shouldCellUpdate:$.shouldCellUpdate},j,{appendNode:D,additionalProps:L}))})),w;if(b&&(C.current||y)){var O=m(r,i,s+1,y);w=_.createElement(lFe,{expanded:y,className:Re("".concat(d,"-expanded-row"),"".concat(d,"-expanded-row-level-").concat(s+1),x),prefixCls:d,component:u,cellComponent:c,colSpan:p.length,isEmpty:!1},O)}return _.createElement(_.Fragment,null,S,w)}const nTt=xC(tTt);function rTt(e){var t=e.columnKey,n=e.onColumnResize,r=_.useRef();return _.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),_.createElement(Ba,{data:t},_.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function iTt(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return _.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},_.createElement(Ba.Collection,{onBatchResize:function(o){o.forEach(function(a){var l=a.data,s=a.size;r(l,s.offsetWidth)})}},n.map(function(i){return _.createElement(rTt,{key:i,columnKey:i,onColumnResize:r})})))}function oTt(e){var t=e.data,n=e.measureColumnWidth,r=Ml(Ls,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),i=r.prefixCls,o=r.getComponent,a=r.onColumnResize,l=r.flattenColumns,s=r.getRowKey,u=r.expandedKeys,c=r.childrenColumnName,f=r.emptyNode,h=oFe(t,c,u,s),d=_.useRef({renderWithProps:!1}),p=o(["body","wrapper"],"tbody"),g=o(["body","row"],"tr"),m=o(["body","cell"],"td"),v=o(["body","cell"],"th"),y;t.length?y=h.map(function(C,x){var S=C.record,w=C.indent,O=C.index,$=s(S,x);return _.createElement(nTt,{key:$,rowKey:$,record:S,index:x,renderIndex:O,rowComponent:g,cellComponent:m,scopeCellComponent:v,getRowKey:s,indent:w})}):y=_.createElement(lFe,{expanded:!0,className:"".concat(i,"-placeholder"),prefixCls:i,component:g,cellComponent:m,colSpan:l.length,isEmpty:!0},f);var b=kB(l);return _.createElement(eFe.Provider,{value:d.current},_.createElement(p,{className:"".concat(i,"-tbody")},n&&_.createElement(iTt,{prefixCls:i,columnsKey:b,onColumnResize:a}),y))}const aTt=xC(oTt);var lTt=["expandable"],M3="RC_TABLE_INTERNAL_COL_DEFINE";function sTt(e){var t=e.expandable,n=an(e,lTt),r;return"expandable"in e?r=fe(fe({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var cTt=["columnType"];function cFe(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=[],o=r||n.length,a=!1,l=o-1;l>=0;l-=1){var s=t[l],u=n&&n[l],c=u&&u[M3];if(s||c||a){var f=c||{};f.columnType;var h=an(f,cTt);i.unshift(_.createElement("col",Qe({key:l,style:{width:s}},h))),a=!0}}return _.createElement("colgroup",null,i)}var uTt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function dTt(e,t){return _.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:m.ellipsis,align:m.align,component:m.title?o:a,prefixCls:c,key:d[g]},v,{additionalProps:y,rowType:"header"}))}))}function hTt(e){var t=[];function n(a,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var u=l,c=a.filter(Boolean).map(function(f){var h={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},d=1,p=f.children;return p&&p.length>0&&(d=n(p,u,s+1).reduce(function(g,m){return g+m},0),h.hasSubColumns=!0),"colSpan"in f&&(d=f.colSpan),"rowSpan"in f&&(h.rowSpan=f.rowSpan),h.colSpan=d,h.colEnd=h.colStart+d-1,t[s].push(h),u+=d,d});return c}n(e,0);for(var r=t.length,i=function(l){t[l].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=r-l)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function mTt(e,t,n){return _.useMemo(function(){if(t&&t>0){var r=0,i=0;e.forEach(function(h){var d=A0e(t,h.width);d?r+=d:i+=1});var o=Math.max(t,n),a=Math.max(o-r,i),l=i,s=a/i,u=0,c=e.map(function(h){var d=fe({},h),p=A0e(t,d.width);if(p)d.width=p;else{var g=Math.floor(s);d.width=l===1?a:g,a-=g,l-=1}return u+=d.width,d});if(u0?fe(fe({},t),{},{children:uFe(n)}):t})}function wQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&bn(n)==="object"}).reduce(function(n,r,i){var o=r.fixed,a=o===!0?"left":o,l="".concat(t,"-").concat(i),s=r.children;return s&&s.length>0?[].concat(vt(n),vt(wQ(s,l).map(function(u){return fe({fixed:a},u)}))):[].concat(vt(n),[fe(fe({key:l},r),{},{fixed:a})])},[])}function bTt(e){return e.map(function(t){var n=t.fixed,r=an(t,yTt),i=n;return n==="left"?i="right":n==="right"&&(i="left"),fe({fixed:i},r)})}function CTt(e,t){var n=e.prefixCls,r=e.columns,i=e.children,o=e.expandable,a=e.expandedKeys,l=e.columnTitle,s=e.getRowKey,u=e.onTriggerExpand,c=e.expandIcon,f=e.rowExpandable,h=e.expandIconColumnIndex,d=e.direction,p=e.expandRowByClick,g=e.columnWidth,m=e.fixed,v=e.scrollWidth,y=e.clientWidth,b=_.useMemo(function(){var R=r||Eie(i)||[];return uFe(R.slice())},[r,i]),C=_.useMemo(function(){if(o){var R,M=b.slice();if(!M.includes(zp)){var A=h||0;A>=0&&M.splice(A,0,zp)}var N=M.indexOf(zp);M=M.filter(function(B,k){return B!==zp||k===N});var j=b[N],D;(m==="left"||m)&&!h?D="left":(m==="right"||m)&&h===b.length?D="right":D=j?j.fixed:null;var L=(R={},ue(R,M3,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),ue(R,"title",l),ue(R,"fixed",D),ue(R,"className","".concat(n,"-row-expand-icon-cell")),ue(R,"width",g),ue(R,"render",function(k,z,q){var W=s(z,q),U=a.has(W),K=f?f(z):!0,X=c({prefixCls:n,expanded:U,expandable:K,record:z,onExpand:u});return p?_.createElement("span",{onClick:function(Y){return Y.stopPropagation()}},X):X}),R);return M.map(function(B){return B===zp?L:B})}return b.filter(function(B){return B!==zp})},[o,b,s,a,c,d]),x=_.useMemo(function(){var R=C;return t&&(R=t(R)),R.length||(R=[{render:function(){return null}}]),R},[t,C,d]),S=_.useMemo(function(){return d==="rtl"?bTt(wQ(x)):wQ(x)},[x,d,v]),w=_.useMemo(function(){for(var R=-1,M=S.length-1;M>=0;M-=1){var A=S[M].fixed;if(A==="left"||A===!0){R=M;break}}if(R>=0)for(var N=0;N<=R;N+=1){var j=S[N].fixed;if(j!=="left"&&j!==!0)return!0}var D=S.findIndex(function(k){var z=k.fixed;return z==="right"});if(D>=0)for(var L=D;L=f&&(D=f-h),a({scrollLeft:D/f*(c+2)}),y.current.x=M.pageX},P=function(){if(o.current){var M=bQ(o.current).top,A=M+o.current.offsetHeight,N=s===window?document.documentElement.scrollTop+window.innerHeight:bQ(s).top+s.clientHeight;A-kZ()<=N||M>=N-l?v(function(j){return fe(fe({},j),{},{isHiddenScrollBar:!0})}):v(function(j){return fe(fe({},j),{},{isHiddenScrollBar:!1})})}},T=function(M){v(function(A){return fe(fe({},A),{},{scrollLeft:M/c*f||0})})};return _.useImperativeHandle(n,function(){return{setScrollLeft:T}}),_.useEffect(function(){var R=gf(document.body,"mouseup",w,!1),M=gf(document.body,"mousemove",$,!1);return P(),function(){R.remove(),M.remove()}},[h,x]),_.useEffect(function(){var R=gf(s,"scroll",P,!1),M=gf(window,"resize",P,!1);return function(){R.remove(),M.remove()}},[s]),_.useEffect(function(){m.isHiddenScrollBar||v(function(R){var M=o.current;return M?fe(fe({},R),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):R})},[m.isHiddenScrollBar]),c<=f||!h||m.isHiddenScrollBar?null:_.createElement("div",{style:{height:kZ(),width:f,bottom:l},className:"".concat(u,"-sticky-scroll")},_.createElement("div",{onMouseDown:O,ref:d,className:Re("".concat(u,"-sticky-scroll-bar"),ue({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(m.scrollLeft,"px, 0, 0)")}}))};const MTt=_.forwardRef(TTt);var fFe="rc-table",RTt=[],ITt={};function NTt(){return"No Data"}function ATt(e,t){var n,r=fe({rowKey:"key",prefixCls:fFe,emptyText:NTt},e),i=r.prefixCls,o=r.className,a=r.rowClassName,l=r.style,s=r.data,u=r.rowKey,c=r.scroll,f=r.tableLayout,h=r.direction,d=r.title,p=r.footer,g=r.summary,m=r.caption,v=r.id,y=r.showHeader,b=r.components,C=r.emptyText,x=r.onRow,S=r.onHeaderRow,w=r.internalHooks,O=r.transformColumns,$=r.internalRefs,P=r.tailor,T=r.getContainerWidth,R=r.sticky,M=s||RTt,A=!!M.length,N=w===SC,j=_.useCallback(function(qt,Yt){return _s(b,qt)||Yt},[b]),D=_.useMemo(function(){return typeof u=="function"?u:function(qt){var Yt=qt&&qt[u];return Yt}},[u]),L=j(["body"]),B=ETt(),k=Me(B,3),z=k[0],q=k[1],W=k[2],U=_Tt(r,M,D),K=Me(U,6),X=K[0],G=K[1],Y=K[2],J=K[3],ee=K[4],Q=K[5],te=c==null?void 0:c.x,ne=_.useState(0),re=Me(ne,2),oe=re[0],se=re[1],ye=CTt(fe(fe(fe({},r),X),{},{expandable:!!X.expandedRowRender,columnTitle:X.columnTitle,expandedKeys:Y,getRowKey:D,onTriggerExpand:Q,expandIcon:J,expandIconColumnIndex:X.expandIconColumnIndex,direction:h,scrollWidth:N&&P&&typeof te=="number"?te:null,clientWidth:oe}),N?O:null),be=Me(ye,4),he=be[0],le=be[1],ve=be[2],ke=be[3],Ie=ve??te,Oe=_.useMemo(function(){return{columns:he,flattenColumns:le}},[he,le]),Pe=_.useRef(),_e=_.useRef(),ce=_.useRef(),Te=_.useRef();_.useImperativeHandle(t,function(){return{nativeElement:Pe.current,scrollTo:function(Yt){var Mn;if(ce.current instanceof HTMLElement){var Zn=Yt.index,$r=Yt.top,qa=Yt.key;if($r){var Pa;(Pa=ce.current)===null||Pa===void 0||Pa.scrollTo({top:$r})}else{var Xo,fa=qa??D(M[Zn]);(Xo=ce.current.querySelector('[data-row-key="'.concat(fa,'"]')))===null||Xo===void 0||Xo.scrollIntoView()}}else(Mn=ce.current)!==null&&Mn!==void 0&&Mn.scrollTo&&ce.current.scrollTo(Yt)}}});var Ne=_.useRef(),je=_.useState(!1),He=Me(je,2),Be=He[0],qe=He[1],me=_.useState(!1),Ee=Me(me,2),$e=Ee[0],Le=Ee[1],Fe=dFe(new Map),Ke=Me(Fe,2),lt=Ke[0],ft=Ke[1],Ye=kB(le),we=Ye.map(function(qt){return lt.get(qt)}),De=_.useMemo(function(){return we},[we.join("_")]),We=PTt(De,le,h),Ge=c&&_Q(c.y),Je=c&&_Q(Ie)||!!X.fixed,bt=Je&&le.some(function(qt){var Yt=qt.fixed;return Yt}),at=_.useRef(),et=$Tt(R,i),rt=et.isSticky,Ze=et.offsetHeader,wt=et.offsetSummary,ut=et.offsetScroll,ot=et.stickyClassName,dt=et.container,_t=_.useMemo(function(){return g==null?void 0:g(M)},[g,M]),Ot=(Ge||rt)&&_.isValidElement(_t)&&_t.type===jB&&_t.props.fixed,Ct,mt,It;Ge&&(mt={overflowY:"scroll",maxHeight:c.y}),Je&&(Ct={overflowX:"auto"},Ge||(mt={overflowY:"hidden"}),It={width:Ie===!0?"auto":Ie,minWidth:"100%"});var nt=_.useCallback(function(qt,Yt){S$(Pe.current)&&ft(function(Mn){if(Mn.get(qt)!==Yt){var Zn=new Map(Mn);return Zn.set(qt,Yt),Zn}return Mn})},[]),yt=OTt(null),xt=Me(yt,2),At=xt[0],cn=xt[1];function Ht(qt,Yt){Yt&&(typeof Yt=="function"?Yt(qt):Yt.scrollLeft!==qt&&(Yt.scrollLeft=qt,Yt.scrollLeft!==qt&&setTimeout(function(){Yt.scrollLeft=qt},0)))}var $t=ir(function(qt){var Yt=qt.currentTarget,Mn=qt.scrollLeft,Zn=h==="rtl",$r=typeof Mn=="number"?Mn:Yt.scrollLeft,qa=Yt||ITt;if(!cn()||cn()===qa){var Pa;At(qa),Ht($r,_e.current),Ht($r,ce.current),Ht($r,Ne.current),Ht($r,(Pa=at.current)===null||Pa===void 0?void 0:Pa.setScrollLeft)}var Xo=Yt||_e.current;if(Xo){var fa=Xo.scrollWidth,Hs=Xo.clientWidth;if(fa===Hs){qe(!1),Le(!1);return}Zn?(qe(-$r0)):(qe($r>0),Le($r1?m-A:0,j=fe(fe(fe({},O),u),{},{flex:"0 0 ".concat(A,"px"),width:"".concat(A,"px"),marginRight:N,pointerEvents:"auto"}),D=_.useMemo(function(){return f?R<=1:P===0||R===0||R>1},[R,P,f]);D?j.visibility="hidden":f&&(j.height=h==null?void 0:h(R));var L=D?function(){return null}:d,B={};return(R===0||P===0)&&(B.rowSpan=1,B.colSpan=1),_.createElement(Wy,Qe({className:Re(g,c),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:C,record:s,index:o,renderIndex:l,dataIndex:p,render:L,shouldCellUpdate:n.shouldCellUpdate},x,{appendNode:S,additionalProps:fe(fe({},w),{},{style:j},B)}))}var LTt=["data","index","className","rowKey","style","extra","getHeight"],zTt=_.forwardRef(function(e,t){var n=e.data,r=e.index,i=e.className,o=e.rowKey,a=e.style,l=e.extra,s=e.getHeight,u=an(e,LTt),c=n.record,f=n.indent,h=n.index,d=Ml(Ls,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),p=d.scrollX,g=d.flattenColumns,m=d.prefixCls,v=d.fixColumn,y=d.componentWidth,b=Ml(Pie,["getComponent"]),C=b.getComponent,x=aFe(c,o,r,f),S=C(["body","row"],"div"),w=C(["body","cell"],"div"),O=x.rowSupportExpand,$=x.expanded,P=x.rowProps,T=x.expandedRowRender,R=x.expandedRowClassName,M;if(O&&$){var A=T(c,r,f+1,$),N=R==null?void 0:R(c,r,f),j={};v&&(j={style:ue({},"--virtual-width","".concat(y,"px"))});var D="".concat(m,"-expanded-row-cell");M=_.createElement(S,{className:Re("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(f+1),N)},_.createElement(Wy,{component:w,prefixCls:m,className:Re(D,ue({},"".concat(D,"-fixed"),v)),additionalProps:j},A))}var L=fe(fe({},a),{},{width:p});l&&(L.position="absolute",L.pointerEvents="none");var B=_.createElement(S,Qe({},P,u,{ref:O?null:t,className:Re(i,"".concat(m,"-row"),P==null?void 0:P.className,ue({},"".concat(m,"-row-extra"),l)),style:fe(fe({},L),P==null?void 0:P.style)}),g.map(function(k,z){return _.createElement(DTt,{key:z,component:w,rowInfo:x,column:k,colIndex:z,indent:f,index:r,renderIndex:h,record:c,inverse:l,getHeight:s})}));return O?_.createElement("div",{ref:t},B,M):B}),D0e=xC(zTt),BTt=_.forwardRef(function(e,t){var n=e.data,r=e.onScroll,i=Ml(Ls,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),o=i.flattenColumns,a=i.onColumnResize,l=i.getRowKey,s=i.expandedKeys,u=i.prefixCls,c=i.childrenColumnName,f=i.emptyNode,h=i.scrollX,d=Ml(Pie),p=d.sticky,g=d.scrollY,m=d.listItemHeight,v=d.getComponent,y=_.useRef(),b=oFe(n,c,s,l),C=_.useMemo(function(){var N=0;return o.map(function(j){var D=j.width,L=j.key;return N+=D,[L,D,N]})},[o]),x=_.useMemo(function(){return C.map(function(N){return N[2]})},[C]);_.useEffect(function(){C.forEach(function(N){var j=Me(N,2),D=j[0],L=j[1];a(D,L)})},[C]),_.useImperativeHandle(t,function(){var N={scrollTo:function(D){var L;(L=y.current)===null||L===void 0||L.scrollTo(D)}};return Object.defineProperty(N,"scrollLeft",{get:function(){var D;return((D=y.current)===null||D===void 0?void 0:D.getScrollInfo().x)||0},set:function(D){var L;(L=y.current)===null||L===void 0||L.scrollTo({left:D})}}),N});var S=function(j,D){var L,B=(L=b[D])===null||L===void 0?void 0:L.record,k=j.onCell;if(k){var z,q=k(B,D);return(z=q==null?void 0:q.rowSpan)!==null&&z!==void 0?z:1}return 1},w=function(j){var D=j.start,L=j.end,B=j.getSize,k=j.offsetY;if(L<0)return null;for(var z=o.filter(function(ne){return S(ne,D)===0}),q=D,W=function(re){if(z=z.filter(function(oe){return S(oe,re)===0}),!z.length)return q=re,1},U=D;U>=0&&!W(U);U-=1);for(var K=o.filter(function(ne){return S(ne,L)!==1}),X=L,G=function(re){if(K=K.filter(function(oe){return S(oe,re)!==1}),!K.length)return X=Math.max(re-1,L),1},Y=L;Y1})&&J.push(re)},Q=q;Q<=X;Q+=1)ee(Q);var te=J.map(function(ne){var re=b[ne],oe=l(re.record,ne),se=function(he){var le=ne+he-1,ve=l(b[le].record,le),ke=B(oe,ve);return ke.bottom-ke.top},ye=B(oe);return _.createElement(D0e,{key:ne,data:re,rowKey:oe,index:ne,style:{top:-k+ye.top},extra:!0,getHeight:se})});return te},O=_.useMemo(function(){return{columnsOffset:x}},[x]),$="".concat(u,"-tbody"),P=v(["body","wrapper"]),T=v(["body","row"],"div"),R=v(["body","cell"],"div"),M;if(b.length){var A={};p&&(A.position="sticky",A.bottom=0,bn(p)==="object"&&p.offsetScroll&&(A.bottom=p.offsetScroll)),M=_.createElement(rB,{fullHeight:!1,ref:y,styles:{horizontalScrollBar:A},className:Re($,"".concat($,"-virtual")),height:g,itemHeight:m||24,data:b,itemKey:function(j){return l(j.record)},component:P,scrollWidth:h,onVirtualScroll:function(j){var D=j.x;r({scrollLeft:D})},extraRender:w},function(N,j,D){var L=l(N.record,j);return _.createElement(D0e,Qe({data:N,rowKey:L,index:j},D))})}else M=_.createElement(T,{className:Re("".concat(u,"-placeholder"))},_.createElement(Wy,{component:R,prefixCls:u},f));return _.createElement(pFe.Provider,{value:O},M)}),FTt=xC(BTt),HTt=function(t,n){var r=n.ref,i=n.onScroll;return _.createElement(FTt,{ref:r,data:t,onScroll:i})};function WTt(e,t){var n=e.columns,r=e.scroll,i=e.sticky,o=e.prefixCls,a=o===void 0?fFe:o,l=e.className,s=e.listItemHeight,u=e.components,c=r||{},f=c.x,h=c.y;typeof f!="number"&&(f=1),typeof h!="number"&&(h=500);var d=ir(function(g,m){return _s(u,g)||m}),p=_.useMemo(function(){return{sticky:i,scrollY:h,listItemHeight:s,getComponent:d}},[i,h,s,d]);return _.createElement(Pie.Provider,{value:p},_.createElement(qy,Qe({},e,{className:Re(l,"".concat(a,"-virtual")),scroll:fe(fe({},r),{},{x:f}),components:fe(fe({},u),{},{body:HTt}),columns:n,internalHooks:SC,tailor:!0,ref:t})))}var qTt=_.forwardRef(WTt);function Tie(e){return JBe(qTt,e)}const VTt=Tie(),UTt=Object.freeze(Object.defineProperty({__proto__:null,Column:nFe,ColumnGroup:rFe,EXPAND_COLUMN:zp,INTERNAL_COL_DEFINE:M3,INTERNAL_HOOKS:SC,Summary:Oie,VirtualTable:VTt,default:qy,genTable:$ie,genVirtualTable:Tie},Symbol.toStringTag,{value:"Module"}));function GTt(e){return null}function KTt(e){return null}var Mie=_.createContext(null),XTt=function(t){for(var n=t.prefixCls,r=t.level,i=t.isStart,o=t.isEnd,a="".concat(n,"-indent-unit"),l=[],s=0;s=0&&n.splice(r,1),n}function Mp(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function Rie(e){return e.split("-")}function eMt(e,t){var n=[],r=oc(t,e);function i(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(a){var l=a.key,s=a.children;n.push(l),i(s)})}return i(r.children),n}function tMt(e){if(e.parent){var t=Rie(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function nMt(e){var t=Rie(e.pos);return Number(t[t.length-1])===0}function B0e(e,t,n,r,i,o,a,l,s,u){var c,f=e.clientX,h=e.clientY,d=e.target.getBoundingClientRect(),p=d.top,g=d.height,m=(u==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-f),v=(m-12)/r,y=s.filter(function(j){var D;return(D=l[j])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),b=oc(l,n.props.eventKey);if(h-1.5?o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1:o({dragNode:M,dropNode:A,dropPosition:0})?P=0:o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1:o({dragNode:M,dropNode:A,dropPosition:1})?P=1:N=!1,{dropPosition:P,dropLevelOffset:T,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:$,dropContainerKey:P===0?null:((c=b.parent)===null||c===void 0?void 0:c.key)||null,dropAllowed:N}}function F0e(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function TV(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(bn(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Dr(!1,"`checkedKeys` is not an array or an object"),null;return t}function OQ(e,t){var n=new Set;function r(i){if(!n.has(i)){var o=oc(t,i);if(o){n.add(i);var a=o.parent,l=o.node;l.disabled||a&&r(a.key)}}}return(e||[]).forEach(function(i){r(i)}),vt(n)}function rMt(e){const[t,n]=_.useState(null);return[_.useCallback((o,a,l)=>{const s=t??o,u=Math.min(s||0,o),c=Math.max(s||0,o),f=a.slice(u,c+1).map(p=>e(p)),h=f.some(p=>!l.has(p)),d=[];return f.forEach(p=>{h?(l.has(p)||d.push(p),l.add(p)):(l.delete(p),d.push(p))}),n(h?c:null),d},[t]),o=>{n(o)}]}const x1={},EQ="SELECT_ALL",$Q="SELECT_INVERT",PQ="SELECT_NONE",H0e=[],hFe=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(vt(n),vt(hFe(e,r[e]))))}),n},iMt=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:o,onChange:a,onSelect:l,onSelectAll:s,onSelectInvert:u,onSelectNone:c,onSelectMultiple:f,columnWidth:h,type:d,selections:p,fixed:g,renderCell:m,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:C,pageData:x,getRecordByKey:S,getRowKey:w,expandType:O,childrenColumnName:$,locale:P,getPopupContainer:T}=e,R=Mh(),[M,A]=rMt(Q=>Q),[N,j]=zn(r||i||H0e,{value:r}),D=_.useRef(new Map),L=_.useCallback(Q=>{if(n){const te=new Map;Q.forEach(ne=>{let re=S(ne);!re&&D.current.has(ne)&&(re=D.current.get(ne)),te.set(ne,re)}),D.current=te}},[S,n]);_.useEffect(()=>{L(N)},[N]);const{keyEntities:B}=_.useMemo(()=>{if(y)return{keyEntities:null};let Q=C;if(n){const te=new Set(C.map((re,oe)=>w(re,oe))),ne=Array.from(D.current).reduce((re,oe)=>{let[se,ye]=oe;return te.has(se)?re:re.concat(ye)},[]);Q=[].concat(vt(Q),vt(ne))}return A$(Q,{externalGetKey:w,childrenPropName:$})},[C,w,y,$,n]),k=_.useMemo(()=>hFe($,x),[$,x]),z=_.useMemo(()=>{const Q=new Map;return k.forEach((te,ne)=>{const re=w(te,ne),oe=(o?o(te):null)||{};Q.set(re,oe)}),Q},[k,w,o]),q=_.useCallback(Q=>{var te;return!!(!((te=z.get(w(Q)))===null||te===void 0)&&te.disabled)},[z,w]),[W,U]=_.useMemo(()=>{if(y)return[N||[],[]];const{checkedKeys:Q,halfCheckedKeys:te}=ou(N,!0,B,q);return[Q||[],te]},[N,y,B,q]),K=_.useMemo(()=>{const Q=d==="radio"?W.slice(0,1):W;return new Set(Q)},[W,d]),X=_.useMemo(()=>d==="radio"?new Set:new Set(U),[U,d]);_.useEffect(()=>{t||j(H0e)},[!!t]);const G=_.useCallback((Q,te)=>{let ne,re;L(Q),n?(ne=Q,re=Q.map(oe=>D.current.get(oe))):(ne=[],re=[],Q.forEach(oe=>{const se=S(oe);se!==void 0&&(ne.push(oe),re.push(se))})),j(ne),a==null||a(ne,re,{type:te})},[j,S,a,n]),Y=_.useCallback((Q,te,ne,re)=>{if(l){const oe=ne.map(se=>S(se));l(S(Q),te,oe,re)}G(ne,"single")},[l,S,G]),J=_.useMemo(()=>!p||v?null:(p===!0?[EQ,$Q,PQ]:p).map(te=>te===EQ?{key:"all",text:P.selectionAll,onSelect(){G(C.map((ne,re)=>w(ne,re)).filter(ne=>{const re=z.get(ne);return!(re!=null&&re.disabled)||K.has(ne)}),"all")}}:te===$Q?{key:"invert",text:P.selectInvert,onSelect(){const ne=new Set(K);x.forEach((oe,se)=>{const ye=w(oe,se),be=z.get(ye);be!=null&&be.disabled||(ne.has(ye)?ne.delete(ye):ne.add(ye))});const re=Array.from(ne);u&&(R.deprecated(!1,"onSelectInvert","onChange"),u(re)),G(re,"invert")}}:te===PQ?{key:"none",text:P.selectNone,onSelect(){c==null||c(),G(Array.from(K).filter(ne=>{const re=z.get(ne);return re==null?void 0:re.disabled}),"none")}}:te).map(te=>Object.assign(Object.assign({},te),{onSelect:function(){for(var ne,re,oe=arguments.length,se=new Array(oe),ye=0;ye{var te;if(!t)return Q.filter(je=>je!==x1);let ne=vt(Q);const re=new Set(K),oe=k.map(w).filter(je=>!z.get(je).disabled),se=oe.every(je=>re.has(je)),ye=oe.some(je=>re.has(je)),be=()=>{const je=[];se?oe.forEach(Be=>{re.delete(Be),je.push(Be)}):oe.forEach(Be=>{re.has(Be)||(re.add(Be),je.push(Be))});const He=Array.from(re);s==null||s(!se,He.map(Be=>S(Be)),je.map(Be=>S(Be))),G(He,"all"),A(null)};let he,le;if(d!=="radio"){let je;if(J){const Ee={getPopupContainer:T,items:J.map(($e,Le)=>{const{key:Fe,text:Ke,onSelect:lt}=$e;return{key:Fe??Le,onClick:()=>{lt==null||lt(oe)},label:Ke}})};je=_.createElement("div",{className:`${b}-selection-extra`},_.createElement(rBe,{menu:Ee,getPopupContainer:T},_.createElement("span",null,_.createElement(aB,null))))}const He=k.map((Ee,$e)=>{const Le=w(Ee,$e),Fe=z.get(Le)||{};return Object.assign({checked:re.has(Le)},Fe)}).filter(Ee=>{let{disabled:$e}=Ee;return $e}),Be=!!He.length&&He.length===k.length,qe=Be&&He.every(Ee=>{let{checked:$e}=Ee;return $e}),me=Be&&He.some(Ee=>{let{checked:$e}=Ee;return $e});le=_.createElement(sD,{checked:Be?qe:!!k.length&&se,indeterminate:Be?!qe&&me:!se&&ye,onChange:be,disabled:k.length===0||Be,"aria-label":je?"Custom selection":"Select all",skipGroup:!0}),he=!v&&_.createElement("div",{className:`${b}-selection`},le,je)}let ve;d==="radio"?ve=(je,He,Be)=>{const qe=w(He,Be),me=re.has(qe);return{node:_.createElement(rc,Object.assign({},z.get(qe),{checked:me,onClick:Ee=>Ee.stopPropagation(),onChange:Ee=>{re.has(qe)||Y(qe,!0,[qe],Ee.nativeEvent)}})),checked:me}}:ve=(je,He,Be)=>{var qe;const me=w(He,Be),Ee=re.has(me),$e=X.has(me),Le=z.get(me);let Fe;return O==="nest"?Fe=$e:Fe=(qe=Le==null?void 0:Le.indeterminate)!==null&&qe!==void 0?qe:$e,{node:_.createElement(sD,Object.assign({},Le,{indeterminate:Fe,checked:Ee,skipGroup:!0,onClick:Ke=>Ke.stopPropagation(),onChange:Ke=>{let{nativeEvent:lt}=Ke;const{shiftKey:ft}=lt,Ye=oe.findIndex(De=>De===me),we=W.some(De=>oe.includes(De));if(ft&&y&&we){const De=M(Ye,oe,re),We=Array.from(re);f==null||f(!Ee,We.map(Ge=>S(Ge)),De.map(Ge=>S(Ge))),G(We,"multiple")}else{const De=W;if(y){const We=Ee?tf(De,me):Mp(De,me);Y(me,!Ee,We,lt)}else{const We=ou([].concat(vt(De),[me]),!0,B,q),{checkedKeys:Ge,halfCheckedKeys:Je}=We;let bt=Ge;if(Ee){const at=new Set(Ge);at.delete(me),bt=ou(Array.from(at),{checked:!1,halfCheckedKeys:Je},B,q).checkedKeys}Y(me,!Ee,bt,lt)}}A(Ee?null:Ye)}})),checked:Ee}};const ke=(je,He,Be)=>{const{node:qe,checked:me}=ve(je,He,Be);return m?m(me,He,Be,qe):qe};if(!ne.includes(x1))if(ne.findIndex(je=>{var He;return((He=je[M3])===null||He===void 0?void 0:He.columnType)==="EXPAND_COLUMN"})===0){const[je,...He]=ne;ne=[je,x1].concat(vt(He))}else ne=[x1].concat(vt(ne));const Ie=ne.indexOf(x1);ne=ne.filter((je,He)=>je!==x1||He===Ie);const Oe=ne[Ie-1],Pe=ne[Ie+1];let _e=g;_e===void 0&&((Pe==null?void 0:Pe.fixed)!==void 0?_e=Pe.fixed:(Oe==null?void 0:Oe.fixed)!==void 0&&(_e=Oe.fixed)),_e&&Oe&&((te=Oe[M3])===null||te===void 0?void 0:te.columnType)==="EXPAND_COLUMN"&&Oe.fixed===void 0&&(Oe.fixed=_e);const ce=Re(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:p&&d==="checkbox"}),Te=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(le):t.columnTitle:he,Ne={fixed:_e,width:h,className:`${b}-selection-column`,title:Te(),render:ke,onCell:t.onCell,[M3]:{className:ce}};return ne.map(je=>je===x1?Ne:je)},[w,k,t,W,K,X,h,J,O,z,f,Y,q]),K]};function oMt(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function aMt(e,t){return _.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(i,o){return n[o]?n[o]:Reflect.get(i,o)}}):oMt(r,n)})}function lMt(e){return function(n){let{prefixCls:r,onExpand:i,record:o,expanded:a,expandable:l}=n;const s=`${r}-row-expand-icon`;return _.createElement("button",{type:"button",onClick:u=>{i(o,u),u.stopPropagation()},className:Re(s,{[`${s}-spaced`]:!l,[`${s}-expanded`]:l&&a,[`${s}-collapsed`]:l&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function sMt(e){return(n,r)=>{const i=n.querySelector(`.${e}-container`);let o=r;if(i){const a=getComputedStyle(i),l=parseInt(a.borderLeftWidth,10),s=parseInt(a.borderRightWidth,10);o=r-l-s}return o}}function oy(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function z$(e,t){return t?`${t}-${e}`:`${e}`}function DB(e,t){return typeof e=="function"?e(t):e}function cMt(e,t){const n=DB(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n}var uMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};const dMt=uMt;var fMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:dMt}))};const pMt=_.forwardRef(fMt);function hMt(e){const t=_.useRef(e),n=lB();return[()=>t.current,r=>{t.current=r,n()}]}function gMt(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,i={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return _.createElement("div",{style:i})}function gFe(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function mMt(e,t){var n=_.useState(!1),r=Me(n,2),i=r[0],o=r[1];er(function(){if(i)return e(),function(){t()}},[i]),er(function(){return o(!0),function(){o(!1)}},[])}var vMt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],mFe=function(t,n){var r=t.className,i=t.style,o=t.motion,a=t.motionNodes,l=t.motionType,s=t.onMotionStart,u=t.onMotionEnd,c=t.active,f=t.treeNodeRequiredProps,h=an(t,vMt),d=_.useState(!0),p=Me(d,2),g=p[0],m=p[1],v=_.useContext(Mie),y=v.prefixCls,b=a&&l!=="hide";er(function(){a&&b!==g&&m(b)},[a]);var C=function(){a&&s()},x=_.useRef(!1),S=function(){a&&!x.current&&(x.current=!0,u())};mMt(C,S);var w=function($){b===$&&S()};return a?_.createElement(aa,Qe({ref:n,visible:g},o,{motionAppear:l==="show",onVisibleChanged:w}),function(O,$){var P=O.className,T=O.style;return _.createElement("div",{ref:$,className:Re("".concat(y,"-treenode-motion"),P),style:T},a.map(function(R){var M=Object.assign({},(gFe(R.data),R.data)),A=R.title,N=R.key,j=R.isStart,D=R.isEnd;delete M.children;var L=z9(N,f);return _.createElement(iy,Qe({},M,L,{title:A,active:c,data:R.data,key:N,isStart:j,isEnd:D}))}))}):_.createElement(iy,Qe({domRef:n,className:r,style:i},h,{active:c}))};mFe.displayName="MotionTreeNode";var yMt=_.forwardRef(mFe);function bMt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){var l=new Map;o.forEach(function(u){l.set(u,!0)});var s=a.filter(function(u){return!l.has(u)});return s.length===1?s[0]:null}return n ").concat(t);return t}var yFe=_.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var i=e.expandedKeys,o=e.selectedKeys,a=e.checkedKeys,l=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,c=e.keyEntities,f=e.disabled,h=e.dragging,d=e.dragOverNodeKey,p=e.dropPosition,g=e.motion,m=e.height,v=e.itemHeight,y=e.virtual,b=e.focusable,C=e.activeItem,x=e.focused,S=e.tabIndex,w=e.onKeyDown,O=e.onFocus,$=e.onBlur,P=e.onActiveChange,T=e.onListChangeStart,R=e.onListChangeEnd,M=an(e,CMt),A=_.useRef(null),N=_.useRef(null);_.useImperativeHandle(t,function(){return{scrollTo:function(ve){A.current.scrollTo(ve)},getIndentWidth:function(){return N.current.offsetWidth}}});var j=_.useState(i),D=Me(j,2),L=D[0],B=D[1],k=_.useState(r),z=Me(k,2),q=z[0],W=z[1],U=_.useState(r),K=Me(U,2),X=K[0],G=K[1],Y=_.useState([]),J=Me(Y,2),ee=J[0],Q=J[1],te=_.useState(null),ne=Me(te,2),re=ne[0],oe=ne[1],se=_.useRef(r);se.current=r;function ye(){var le=se.current;W(le),G(le),Q([]),oe(null),R()}er(function(){B(i);var le=bMt(L,i);if(le.key!==null)if(le.add){var ve=q.findIndex(function(ce){var Te=ce.key;return Te===le.key}),ke=U0e(W0e(q,r,le.key),y,m,v),Ie=q.slice();Ie.splice(ve+1,0,V0e),G(Ie),Q(ke),oe("show")}else{var Oe=r.findIndex(function(ce){var Te=ce.key;return Te===le.key}),Pe=U0e(W0e(r,q,le.key),y,m,v),_e=r.slice();_e.splice(Oe+1,0,V0e),G(_e),Q(Pe),oe("hide")}else q!==r&&(W(r),G(r))},[i,r]),_.useEffect(function(){h||ye()},[h]);var be=g?X:r,he={expandedKeys:i,selectedKeys:o,loadedKeys:l,loadingKeys:s,checkedKeys:a,halfCheckedKeys:u,dragOverNodeKey:d,dropPosition:p,keyEntities:c};return _.createElement(_.Fragment,null,x&&C&&_.createElement("span",{style:q0e,"aria-live":"assertive"},xMt(C)),_.createElement("div",null,_.createElement("input",{style:q0e,disabled:b===!1||f,tabIndex:b!==!1?S:null,onKeyDown:w,onFocus:O,onBlur:$,value:"",onChange:SMt,"aria-label":"for screen reader"})),_.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},_.createElement("div",{className:"".concat(n,"-indent")},_.createElement("div",{ref:N,className:"".concat(n,"-indent-unit")}))),_.createElement(rB,Qe({},M,{data:be,itemKey:G0e,height:m,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(n,"-list"),ref:A,onVisibleChange:function(ve,ke){var Ie=new Set(ve),Oe=ke.filter(function(Pe){return!Ie.has(Pe)});Oe.some(function(Pe){return G0e(Pe)===ay})&&ye()}}),function(le){var ve=le.pos,ke=Object.assign({},(gFe(le.data),le.data)),Ie=le.title,Oe=le.key,Pe=le.isStart,_e=le.isEnd,ce=N$(Oe,ve);delete ke.key,delete ke.children;var Te=z9(ce,he);return _.createElement(yMt,Qe({},ke,Te,{title:Ie,active:!!C&&Oe===C.key,pos:ve,data:le.data,isStart:Pe,isEnd:_e,motion:g,motionNodes:Oe===ay?ee:null,motionType:re,onMotionStart:T,onMotionEnd:ye,treeNodeRequiredProps:he,onMouseMove:function(){P(null)}}))}))});yFe.displayName="NodeList";var _Mt=10,B$=function(e){ua(n,e);var t=ul(n);function n(){var r;Yr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,h=f.dragChildrenKeys,d=f.dropPosition,p=f.dropTargetKey,g=f.dropTargetPos,m=f.dropAllowed;if(m){var v=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),p!==null){var y=fe(fe({},z9(p,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===p,data:oc(r.state.keyEntities,p).node}),b=h.indexOf(p)!==-1;Dr(!b,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var C=Rie(g),x={event:l,node:Qo(y),dragNode:r.dragNode?Qo(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(h),dropToGap:d!==0,dropPosition:d+Number(C[C.length-1])};c||v==null||v(x),r.dragNode=null}}}),ue(St(r),"cleanDragState",function(){var l=r.state.draggingNodeKey;l!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),ue(St(r),"triggerExpandActionExpand",function(l,s){var u=r.state,c=u.expandedKeys,f=u.flattenNodes,h=s.expanded,d=s.key,p=s.isLeaf;if(!(p||l.shiftKey||l.metaKey||l.ctrlKey)){var g=f.filter(function(v){return v.key===d})[0],m=Qo(fe(fe({},z9(d,r.getTreeNodeRequiredProps())),{},{data:g.data}));r.setExpandedKeys(h?tf(c,d):Mp(c,d)),r.onNodeExpand(l,m)}}),ue(St(r),"onNodeClick",function(l,s){var u=r.props,c=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(l,s),c==null||c(l,s)}),ue(St(r),"onNodeDoubleClick",function(l,s){var u=r.props,c=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(l,s),c==null||c(l,s)}),ue(St(r),"onNodeSelect",function(l,s){var u=r.state.selectedKeys,c=r.state,f=c.keyEntities,h=c.fieldNames,d=r.props,p=d.onSelect,g=d.multiple,m=s.selected,v=s[h.key],y=!m;y?g?u=Mp(u,v):u=[v]:u=tf(u,v);var b=u.map(function(C){var x=oc(f,C);return x?x.node:null}).filter(function(C){return C});r.setUncontrolledState({selectedKeys:u}),p==null||p(u,{event:"select",selected:y,node:s,selectedNodes:b,nativeEvent:l.nativeEvent})}),ue(St(r),"onNodeCheck",function(l,s,u){var c=r.state,f=c.keyEntities,h=c.checkedKeys,d=c.halfCheckedKeys,p=r.props,g=p.checkStrictly,m=p.onCheck,v=s.key,y,b={event:"check",node:s,checked:u,nativeEvent:l.nativeEvent};if(g){var C=u?Mp(h,v):tf(h,v),x=tf(d,v);y={checked:C,halfChecked:x},b.checkedNodes=C.map(function(T){return oc(f,T)}).filter(function(T){return T}).map(function(T){return T.node}),r.setUncontrolledState({checkedKeys:C})}else{var S=ou([].concat(vt(h),[v]),!0,f),w=S.checkedKeys,O=S.halfCheckedKeys;if(!u){var $=new Set(w);$.delete(v);var P=ou(Array.from($),{checked:!1,halfCheckedKeys:O},f);w=P.checkedKeys,O=P.halfCheckedKeys}y=w,b.checkedNodes=[],b.checkedNodesPositions=[],b.halfCheckedKeys=O,w.forEach(function(T){var R=oc(f,T);if(R){var M=R.node,A=R.pos;b.checkedNodes.push(M),b.checkedNodesPositions.push({node:M,pos:A})}}),r.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:O})}m==null||m(y,b)}),ue(St(r),"onNodeLoad",function(l){var s=l.key,u=new Promise(function(c,f){r.setState(function(h){var d=h.loadedKeys,p=d===void 0?[]:d,g=h.loadingKeys,m=g===void 0?[]:g,v=r.props,y=v.loadData,b=v.onLoad;if(!y||p.indexOf(s)!==-1||m.indexOf(s)!==-1)return null;var C=y(l);return C.then(function(){var x=r.state.loadedKeys,S=Mp(x,s);b==null||b(S,{event:"load",node:l}),r.setUncontrolledState({loadedKeys:S}),r.setState(function(w){return{loadingKeys:tf(w.loadingKeys,s)}}),c()}).catch(function(x){if(r.setState(function(w){return{loadingKeys:tf(w.loadingKeys,s)}}),r.loadingRetryTimes[s]=(r.loadingRetryTimes[s]||0)+1,r.loadingRetryTimes[s]>=_Mt){var S=r.state.loadedKeys;Dr(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:Mp(S,s)}),c()}f(x)}),{loadingKeys:Mp(m,s)}})});return u.catch(function(){}),u}),ue(St(r),"onNodeMouseEnter",function(l,s){var u=r.props.onMouseEnter;u==null||u({event:l,node:s})}),ue(St(r),"onNodeMouseLeave",function(l,s){var u=r.props.onMouseLeave;u==null||u({event:l,node:s})}),ue(St(r),"onNodeContextMenu",function(l,s){var u=r.props.onRightClick;u&&(l.preventDefault(),u({event:l,node:s}))}),ue(St(r),"onFocus",function(){var l=r.props.onFocus;r.setState({focused:!0});for(var s=arguments.length,u=new Array(s),c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var c=!1,f=!0,h={};Object.keys(l).forEach(function(d){if(d in r.props){f=!1;return}c=!0,h[d]=l[d]}),c&&(!s||f)&&r.setState(fe(fe({},h),u))}}),ue(St(r),"scrollTo",function(l){r.listRef.current.scrollTo(l)}),r}return Zr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var i=this.props,o=i.activeKey,a=i.itemScrollOffset,l=a===void 0?0:a;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:l}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var i=this.state,o=i.focused,a=i.flattenNodes,l=i.keyEntities,s=i.draggingNodeKey,u=i.activeKey,c=i.dropLevelOffset,f=i.dropContainerKey,h=i.dropTargetKey,d=i.dropPosition,p=i.dragOverNodeKey,g=i.indent,m=this.props,v=m.prefixCls,y=m.className,b=m.style,C=m.showLine,x=m.focusable,S=m.tabIndex,w=S===void 0?0:S,O=m.selectable,$=m.showIcon,P=m.icon,T=m.switcherIcon,R=m.draggable,M=m.checkable,A=m.checkStrictly,N=m.disabled,j=m.motion,D=m.loadData,L=m.filterTreeNode,B=m.height,k=m.itemHeight,z=m.virtual,q=m.titleRender,W=m.dropIndicatorRender,U=m.onContextMenu,K=m.onScroll,X=m.direction,G=m.rootClassName,Y=m.rootStyle,J=qo(this.props,{aria:!0,data:!0}),ee;return R&&(bn(R)==="object"?ee=R:typeof R=="function"?ee={nodeDraggable:R}:ee={}),_.createElement(Mie.Provider,{value:{prefixCls:v,selectable:O,showIcon:$,icon:P,switcherIcon:T,draggable:ee,draggingNodeKey:s,checkable:M,checkStrictly:A,disabled:N,keyEntities:l,dropLevelOffset:c,dropContainerKey:f,dropTargetKey:h,dropPosition:d,dragOverNodeKey:p,indent:g,direction:X,dropIndicatorRender:W,loadData:D,filterTreeNode:L,titleRender:q,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},_.createElement("div",{role:"tree",className:Re(v,y,G,ue(ue(ue({},"".concat(v,"-show-line"),C),"".concat(v,"-focused"),o),"".concat(v,"-active-focused"),u!==null)),style:Y},_.createElement(yFe,Qe({ref:this.listRef,prefixCls:v,style:b,data:a,disabled:N,selectable:O,checkable:!!M,motion:j,dragging:s!==null,height:B,itemHeight:k,virtual:z,focusable:x,focused:o,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:K},this.getTreeNodeRequiredProps(),J))))}}],[{key:"getDerivedStateFromProps",value:function(i,o){var a=o.prevProps,l={prevProps:i};function s(S){return!a&&S in i||a&&a[S]!==i[S]}var u,c=o.fieldNames;if(s("fieldNames")&&(c=m4(i.fieldNames),l.fieldNames=c),s("treeData")?u=i.treeData:s("children")&&(Dr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=fze(i.children)),u){l.treeData=u;var f=A$(u,{fieldNames:c});l.keyEntities=fe(ue({},ay,vFe),f.keyEntities)}var h=l.keyEntities||o.keyEntities;if(s("expandedKeys")||a&&s("autoExpandParent"))l.expandedKeys=i.autoExpandParent||!a&&i.defaultExpandParent?OQ(i.expandedKeys,h):i.expandedKeys;else if(!a&&i.defaultExpandAll){var d=fe({},h);delete d[ay],l.expandedKeys=Object.keys(d).map(function(S){return d[S].key})}else!a&&i.defaultExpandedKeys&&(l.expandedKeys=i.autoExpandParent||i.defaultExpandParent?OQ(i.defaultExpandedKeys,h):i.defaultExpandedKeys);if(l.expandedKeys||delete l.expandedKeys,u||l.expandedKeys){var p=bV(u||o.treeData,l.expandedKeys||o.expandedKeys,c);l.flattenNodes=p}if(i.selectable&&(s("selectedKeys")?l.selectedKeys=F0e(i.selectedKeys,i):!a&&i.defaultSelectedKeys&&(l.selectedKeys=F0e(i.defaultSelectedKeys,i))),i.checkable){var g;if(s("checkedKeys")?g=TV(i.checkedKeys)||{}:!a&&i.defaultCheckedKeys?g=TV(i.defaultCheckedKeys)||{}:u&&(g=TV(i.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),g){var m=g,v=m.checkedKeys,y=v===void 0?[]:v,b=m.halfCheckedKeys,C=b===void 0?[]:b;if(!i.checkStrictly){var x=ou(y,!0,h);y=x.checkedKeys,C=x.halfCheckedKeys}l.checkedKeys=y,l.halfCheckedKeys=C}}return s("loadedKeys")&&(l.loadedKeys=i.loadedKeys),l}}]),n}(_.Component);ue(B$,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:gMt,allowDrop:function(){return!0},expandAction:!1});ue(B$,"TreeNode",iy);const wMt=Object.freeze(Object.defineProperty({__proto__:null,TreeNode:iy,default:B$},Symbol.toStringTag,{value:"Module"}));var OMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};const EMt=OMt;var $Mt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:EMt}))};const bFe=_.forwardRef($Mt);var PMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};const TMt=PMt;var MMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:TMt}))};const CFe=_.forwardRef(MMt);var RMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};const IMt=RMt;var NMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:IMt}))};const AMt=_.forwardRef(NMt);var kMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"};const jMt=kMt;var DMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:jMt}))};const LMt=_.forwardRef(DMt),zMt=new lr("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),BMt=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),FMt=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${xe(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),HMt=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:o,nodeSelectedBg:a,nodeHoverBg:l}=t,s=t.paddingXS;return{[n]:Object.assign(Object.assign({},sr(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},uh(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:zMt,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${xe(i)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,lineHeight:`${xe(o)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},BMt(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:`${xe(o)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,borderRadius:t.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${n}-switcher-noop):hover`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:s,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${xe(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${xe(o)}`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:l},[`&${n}-node-selected`]:{backgroundColor:a},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:`${xe(o)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${xe(o)}`,userSelect:"none"},FMt(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${xe(t.calc(o).div(2).equal())} !important`}}}}})}},WMt=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:i,directoryNodeSelectedColor:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:o,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:i},[`${t}-switcher`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent"}}}}}},SFe=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),o=Wn(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i});return[HMt(e,o),WMt(o)]},xFe=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},qMt=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},xFe(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},VMt=vr("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:tie(`${n}-checkbox`,e)},SFe(n,e),E$(e)]},qMt),K0e=4;function UMt(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:o="ltr"}=e,a=o==="ltr"?"left":"right",l=o==="ltr"?"right":"left",s={[a]:-n*i+K0e,[l]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[a]=i+K0e;break}return Se.createElement("div",{style:s,className:`${r}-drop-indicator`})}var GMt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};const KMt=GMt;var XMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:KMt}))};const YMt=_.forwardRef(XMt);var ZMt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};const QMt=ZMt;var JMt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:QMt}))};const eRt=_.forwardRef(JMt);var tRt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};const nRt=tRt;var rRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:nRt}))};const iRt=_.forwardRef(rRt),oRt=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i}=e,{isLeaf:o,expanded:a,loading:l}=r;if(l)return _.createElement(v0,{className:`${t}-switcher-loading-icon`});let s;if(i&&typeof i=="object"&&(s=i.showLeafIcon),o){if(!i)return null;if(typeof s!="boolean"&&s){const f=typeof s=="function"?s(r):s,h=`${t}-switcher-line-custom-icon`;return Zl(f)?Mo(f,{className:Re(f.props.className||"",h)}):f}return s?_.createElement(bFe,{className:`${t}-switcher-line-icon`}):_.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,c=typeof n=="function"?n(r):n;return Zl(c)?Mo(c,{className:Re(c.props.className||"",u)}):c!==void 0?c:i?a?_.createElement(eRt,{className:`${t}-switcher-line-icon`}):_.createElement(iRt,{className:`${t}-switcher-line-icon`}):_.createElement(YMt,{className:u})},_Fe=oRt,aRt=Se.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:i,virtual:o,tree:a}=Se.useContext(on),{prefixCls:l,className:s,showIcon:u=!1,showLine:c,switcherIcon:f,blockNode:h=!1,children:d,checkable:p=!1,selectable:g=!0,draggable:m,motion:v,style:y}=e,b=r("tree",l),C=r(),x=v??Object.assign(Object.assign({},l4(C)),{motionAppear:!1}),S=Object.assign(Object.assign({},e),{checkable:p,selectable:g,showIcon:u,motion:x,blockNode:h,showLine:!!c,dropIndicatorRender:UMt}),[w,O,$]=VMt(b),[,P]=To(),T=P.paddingXS/2+(((n=P.Tree)===null||n===void 0?void 0:n.titleHeight)||P.controlHeightSM),R=Se.useMemo(()=>{if(!m)return!1;let A={};switch(typeof m){case"function":A.nodeDraggable=m;break;case"object":A=Object.assign({},m);break}return A.icon!==!1&&(A.icon=A.icon||Se.createElement(LMt,null)),A},[m]),M=A=>Se.createElement(_Fe,{prefixCls:b,switcherIcon:f,treeNodeProps:A,showLine:c});return w(Se.createElement(B$,Object.assign({itemHeight:T,ref:t,virtual:o},S,{style:Object.assign(Object.assign({},a==null?void 0:a.style),y),prefixCls:b,className:Re({[`${b}-icon-hide`]:!u,[`${b}-block-node`]:h,[`${b}-unselectable`]:!g,[`${b}-rtl`]:i==="rtl"},a==null?void 0:a.className,s,O,$),direction:i,checkable:p&&Se.createElement("span",{className:`${b}-checkbox-inner`}),selectable:g,switcherIcon:M,draggable:R}),d))}),wFe=aRt;var Ap;(function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"})(Ap||(Ap={}));function Iie(e,t,n){const{key:r,children:i}=n;function o(a){const l=a[r],s=a[i];t(l,a)!==!1&&Iie(s||[],t,n)}e.forEach(o)}function lRt(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:i,fieldNames:o}=e;const a=[];let l=Ap.None;if(r&&r===i)return[r];if(!r||!i)return[];function s(u){return u===r||u===i}return Iie(t,u=>{if(l===Ap.End)return!1;if(s(u)){if(a.push(u),l===Ap.None)l=Ap.Start;else if(l===Ap.Start)return l=Ap.End,!1}else l===Ap.Start&&a.push(u);return n.includes(u)},m4(o)),a}function MV(e,t,n){const r=vt(t),i=[];return Iie(e,(o,a)=>{const l=r.indexOf(o);return l!==-1&&(i.push(a),r.splice(l,1)),!!r.length},m4(n)),i}var X0e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i}=e,o=X0e(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const a=_.useRef(),l=_.useRef(),s=()=>{const{keyEntities:O}=A$(Y0e(o));let $;return n?$=Object.keys(O):r?$=OQ(o.expandedKeys||i||[],O):$=o.expandedKeys||i,$},[u,c]=_.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[f,h]=_.useState(()=>s());_.useEffect(()=>{"selectedKeys"in o&&c(o.selectedKeys)},[o.selectedKeys]),_.useEffect(()=>{"expandedKeys"in o&&h(o.expandedKeys)},[o.expandedKeys]);const d=(O,$)=>{var P;return"expandedKeys"in o||h(O),(P=o.onExpand)===null||P===void 0?void 0:P.call(o,O,$)},p=(O,$)=>{var P;const{multiple:T,fieldNames:R}=o,{node:M,nativeEvent:A}=$,{key:N=""}=M,j=Y0e(o),D=Object.assign(Object.assign({},$),{selected:!0}),L=(A==null?void 0:A.ctrlKey)||(A==null?void 0:A.metaKey),B=A==null?void 0:A.shiftKey;let k;T&&L?(k=O,a.current=N,l.current=k,D.selectedNodes=MV(j,k,R)):T&&B?(k=Array.from(new Set([].concat(vt(l.current||[]),vt(lRt({treeData:j,expandedKeys:f,startKey:N,endKey:a.current,fieldNames:R}))))),D.selectedNodes=MV(j,k,R)):(k=[N],a.current=N,l.current=k,D.selectedNodes=MV(j,k,R)),(P=o.onSelect)===null||P===void 0||P.call(o,k,D),"selectedKeys"in o||c(k)},{getPrefixCls:g,direction:m}=_.useContext(on),{prefixCls:v,className:y,showIcon:b=!0,expandAction:C="click"}=o,x=X0e(o,["prefixCls","className","showIcon","expandAction"]),S=g("tree",v),w=Re(`${S}-directory`,{[`${S}-directory-rtl`]:m==="rtl"},y);return _.createElement(wFe,Object.assign({icon:sRt,ref:t,blockNode:!0},x,{showIcon:b,expandAction:C,prefixCls:S,className:w,expandedKeys:f,selectedKeys:u,onSelect:p,onExpand:d}))},uRt=_.forwardRef(cRt),dRt=uRt,Nie=wFe;Nie.DirectoryTree=dRt;Nie.TreeNode=iy;const OFe=Nie;function Z0e(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:o}=e;return r?_.createElement("div",{className:`${i}-filter-dropdown-search`},_.createElement(au,{prefix:_.createElement(Sre,null),placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${i}-filter-dropdown-search-input`})):null}const fRt=e=>{const{keyCode:t}=e;t===ht.ENTER&&e.stopPropagation()},pRt=_.forwardRef((e,t)=>_.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:fRt,ref:t},e.children)),hRt=pRt;function R3(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[].concat(vt(t),vt(R3(i))))}),t}function gRt(e){return e.some(t=>{let{children:n}=t;return n})}function EFe(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function $Fe(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((l,s)=>{const u=String(l.value);if(l.children)return{key:u||s,label:l.text,popupClassName:`${n}-dropdown-submenu`,children:$Fe({filters:l.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})};const c=i?sD:rc,f={key:l.value!==void 0?u:s,label:_.createElement(_.Fragment,null,_.createElement(c,{checked:r.includes(u)}),_.createElement("span",null,l.text))};return o.trim()?typeof a=="function"?a(o,l)?f:null:EFe(o,l.text)?f:null:f})}function RV(e){return e||[]}function mRt(e){var t,n;const{tablePrefixCls:r,prefixCls:i,column:o,dropdownPrefixCls:a,columnKey:l,filterMultiple:s,filterMode:u="menu",filterSearch:c=!1,filterState:f,triggerFilter:h,locale:d,children:p,getPopupContainer:g,rootClassName:m}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:y,filterResetToDefaultFilteredValue:b,defaultFilteredValue:C,filterDropdownVisible:x,onFilterDropdownVisibleChange:S}=o,[w,O]=_.useState(!1),$=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),P=se=>{O(se),y==null||y(se),S==null||S(se)},T=(n=v??x)!==null&&n!==void 0?n:w,R=f==null?void 0:f.filteredKeys,[M,A]=hMt(RV(R)),N=se=>{let{selectedKeys:ye}=se;A(ye)},j=(se,ye)=>{let{node:be,checked:he}=ye;N(s?{selectedKeys:se}:{selectedKeys:he&&be.key?[be.key]:[]})};_.useEffect(()=>{w&&N({selectedKeys:RV(R)})},[R]);const[D,L]=_.useState([]),B=se=>{L(se)},[k,z]=_.useState(""),q=se=>{const{value:ye}=se.target;z(ye)};_.useEffect(()=>{w||z("")},[w]);const W=se=>{const ye=se&&se.length?se:null;if(ye===null&&(!f||!f.filteredKeys)||Cc(ye,f==null?void 0:f.filteredKeys,!0))return null;h({column:o,key:l,filteredKeys:ye})},U=()=>{P(!1),W(M())},K=function(){let{confirm:se,closeDropdown:ye}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};se&&W([]),ye&&P(!1),z(""),A(b?(C||[]).map(be=>String(be)):[])},X=function(){let{closeDropdown:se}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};se&&P(!1),W(M())},G=(se,ye)=>{ye.source==="trigger"&&(se&&R!==void 0&&A(RV(R)),P(se),!se&&!o.filterDropdown&&U())},Y=Re({[`${a}-menu-without-submenu`]:!gRt(o.filters||[])}),J=se=>{if(se.target.checked){const ye=R3(o==null?void 0:o.filters).map(be=>String(be));A(ye)}else A([])},ee=se=>{let{filters:ye}=se;return(ye||[]).map((be,he)=>{const le=String(be.value),ve={title:be.text,key:be.value!==void 0?le:String(he)};return be.children&&(ve.children=ee({filters:be.children})),ve})},Q=se=>{var ye;return Object.assign(Object.assign({},se),{text:se.title,value:se.key,children:((ye=se.children)===null||ye===void 0?void 0:ye.map(be=>Q(be)))||[]})};let te;if(typeof o.filterDropdown=="function")te=o.filterDropdown({prefixCls:`${a}-custom`,setSelectedKeys:se=>N({selectedKeys:se}),selectedKeys:M(),confirm:X,clearFilters:K,filters:o.filters,visible:T,close:()=>{P(!1)}});else if(o.filterDropdown)te=o.filterDropdown;else{const se=M()||[],ye=()=>(o.filters||[]).length===0?_.createElement(dv,{image:dv.PRESENTED_IMAGE_SIMPLE,description:d.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):u==="tree"?_.createElement(_.Fragment,null,_.createElement(Z0e,{filterSearch:c,value:k,onChange:q,tablePrefixCls:r,locale:d}),_.createElement("div",{className:`${r}-filter-dropdown-tree`},s?_.createElement(sD,{checked:se.length===R3(o.filters).length,indeterminate:se.length>0&&se.lengthtypeof c=="function"?c(k,Q(he)):EFe(k,he.title):void 0}))):_.createElement(_.Fragment,null,_.createElement(Z0e,{filterSearch:c,value:k,onChange:q,tablePrefixCls:r,locale:d}),_.createElement(Ire,{selectable:!0,multiple:s,prefixCls:`${a}-menu`,className:Y,onSelect:N,onDeselect:N,selectedKeys:se,getPopupContainer:g,openKeys:D,onOpenChange:B,items:$Fe({filters:o.filters||[],filterSearch:c,prefixCls:i,filteredKeys:M(),filterMultiple:s,searchValue:k})})),be=()=>b?Cc((C||[]).map(he=>String(he)),se,!0):se.length===0;te=_.createElement(_.Fragment,null,ye(),_.createElement("div",{className:`${i}-dropdown-btns`},_.createElement(Ei,{type:"link",size:"small",disabled:be(),onClick:()=>K()},d.filterReset),_.createElement(Ei,{type:"primary",size:"small",onClick:U},d.filterConfirm)))}o.filterDropdown&&(te=_.createElement(FDe,{selectable:void 0},te));const ne=()=>_.createElement(hRt,{className:`${i}-dropdown`},te);let re;typeof o.filterIcon=="function"?re=o.filterIcon($):o.filterIcon?re=o.filterIcon:re=_.createElement(pMt,null);const{direction:oe}=_.useContext(on);return _.createElement("div",{className:`${i}-column`},_.createElement("span",{className:`${r}-column-title`},p),_.createElement(rBe,{dropdownRender:ne,trigger:["click"],open:T,onOpenChange:G,getPopupContainer:g,placement:oe==="rtl"?"bottomLeft":"bottomRight",rootClassName:m},_.createElement("span",{role:"button",tabIndex:-1,className:Re(`${i}-trigger`,{active:$}),onClick:se=>{se.stopPropagation()}},re)))}function MQ(e,t,n){let r=[];return(e||[]).forEach((i,o)=>{var a;const l=z$(o,n);if(i.filters||"filterDropdown"in i||"onFilter"in i)if("filteredValue"in i){let s=i.filteredValue;"filterDropdown"in i||(s=(a=s==null?void 0:s.map(String))!==null&&a!==void 0?a:s),r.push({column:i,key:oy(i,l),filteredKeys:s,forceFiltered:i.filtered})}else r.push({column:i,key:oy(i,l),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[].concat(vt(r),vt(MQ(i.children,t,l))))}),r}function PFe(e,t,n,r,i,o,a,l,s){return n.map((u,c)=>{const f=z$(c,l),{filterMultiple:h=!0,filterMode:d,filterSearch:p}=u;let g=u;if(g.filters||g.filterDropdown){const m=oy(g,f),v=r.find(y=>{let{key:b}=y;return m===b});g=Object.assign(Object.assign({},g),{title:y=>_.createElement(mRt,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:g,columnKey:m,filterState:v,filterMultiple:h,filterMode:d,filterSearch:p,triggerFilter:o,locale:i,getPopupContainer:a,rootClassName:s},DB(u.title,y))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:PFe(e,t,g.children,r,i,o,a,f,s)})),g})}function Q0e(e){const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;const a=r,{filters:l,filterDropdown:s}=o;if(s)t[a]=i||null;else if(Array.isArray(i)){const u=R3(l);t[a]=u.filter(c=>i.includes(String(c)))}else t[a]=null}),t}function RQ(e,t,n){return t.reduce((r,i)=>{const{column:{onFilter:o,filters:a},filteredKeys:l}=i;return o&&l&&l.length?r.map(s=>Object.assign({},s)).filter(s=>l.some(u=>{const c=R3(a),f=c.findIndex(d=>String(d)===String(u)),h=f!==-1?c[f]:u;return s[n]&&(s[n]=RQ(s[n],t,n)),o(h,s)})):r},e)}const TFe=e=>e.flatMap(t=>"children"in t?[t].concat(vt(TFe(t.children||[]))):[t]);function vRt(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:o,locale:a,rootClassName:l}=e;Mh();const s=_.useMemo(()=>TFe(r||[]),[r]),[u,c]=_.useState(()=>MQ(s,!0)),f=_.useMemo(()=>{const g=MQ(s,!1);if(g.length===0)return g;let m=!0;if(g.forEach(v=>{let{filteredKeys:y}=v;y!==void 0&&(m=!1)}),m){const v=(s||[]).map((y,b)=>oy(y,z$(b)));return u.filter(y=>{let{key:b}=y;return v.includes(b)}).map(y=>{const b=s[v.findIndex(C=>C===y.key)];return Object.assign(Object.assign({},y),{column:Object.assign(Object.assign({},y.column),b),forceFiltered:b.filtered})})}return g},[s,u]),h=_.useMemo(()=>Q0e(f),[f]),d=g=>{const m=f.filter(v=>{let{key:y}=v;return y!==g.key});m.push(g),c(m),i(Q0e(m),m)};return[g=>PFe(t,n,g,f,a,d,o,void 0,l),f,h]}function yRt(e,t,n){const r=_.useRef({});function i(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let l=function(s){s.forEach((u,c)=>{const f=n(u,c);a.set(f,u),u&&typeof u=="object"&&t in u&&l(u[t]||[])})};const a=new Map;l(e),r.current={data:e,childrenColumnName:t,kvMap:a,getRowKey:n}}return r.current.kvMap.get(o)}return[i]}var bRt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function SRt(e,t,n){const r=n&&typeof n=="object"?n:{},{total:i=0}=r,o=bRt(r,["total"]),[a,l]=_.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:MFe})),s=yEt(a,o,{total:i>0?i:e}),u=Math.ceil((i||e)/s.pageSize);s.current>u&&(s.current=u||1);const c=(h,d)=>{l({current:h??1,pageSize:d||s.pageSize})},f=(h,d)=>{var p;n&&((p=n.onChange)===null||p===void 0||p.call(n,h,d)),c(h,d),t(h,d||(s==null?void 0:s.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:f}),c]}var xRt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};const _Rt=xRt;var wRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:_Rt}))};const ORt=_.forwardRef(wRt);var ERt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};const $Rt=ERt;var PRt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:$Rt}))};const TRt=_.forwardRef(PRt),Nk="ascend",IV="descend";function vD(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function J0e(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function MRt(e,t){return t?e[e.indexOf(t)+1]:e[0]}function IQ(e,t,n){let r=[];function i(o,a){r.push({column:o,key:oy(o,a),multiplePriority:vD(o),sortOrder:o.sortOrder})}return(e||[]).forEach((o,a)=>{const l=z$(a,n);o.children?("sortOrder"in o&&i(o,l),r=[].concat(vt(r),vt(IQ(o.children,t,l)))):o.sorter&&("sortOrder"in o?i(o,l):t&&o.defaultSortOrder&&r.push({column:o,key:oy(o,l),multiplePriority:vD(o),sortOrder:o.defaultSortOrder}))}),r}function RFe(e,t,n,r,i,o,a,l){return(t||[]).map((s,u)=>{const c=z$(u,l);let f=s;if(f.sorter){const h=f.sortDirections||i,d=f.showSorterTooltip===void 0?a:f.showSorterTooltip,p=oy(f,c),g=n.find(O=>{let{key:$}=O;return $===p}),m=g?g.sortOrder:null,v=MRt(h,m);let y;if(s.sortIcon)y=s.sortIcon({sortOrder:m});else{const O=h.includes(Nk)&&_.createElement(TRt,{className:Re(`${e}-column-sorter-up`,{active:m===Nk})}),$=h.includes(IV)&&_.createElement(ORt,{className:Re(`${e}-column-sorter-down`,{active:m===IV})});y=_.createElement("span",{className:Re(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&$)})},_.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,$))}const{cancelSort:b,triggerAsc:C,triggerDesc:x}=o||{};let S=b;v===IV?S=x:v===Nk&&(S=C);const w=typeof d=="object"?Object.assign({title:S},d):{title:S};f=Object.assign(Object.assign({},f),{className:Re(f.className,{[`${e}-column-sort`]:m}),title:O=>{const $=_.createElement("div",{className:`${e}-column-sorters`},_.createElement("span",{className:`${e}-column-title`},DB(s.title,O)),y);return d?_.createElement(Ly,Object.assign({},w),$):$},onHeaderCell:O=>{const $=s.onHeaderCell&&s.onHeaderCell(O)||{},P=$.onClick,T=$.onKeyDown;$.onClick=A=>{r({column:s,key:p,sortOrder:v,multiplePriority:vD(s)}),P==null||P(A)},$.onKeyDown=A=>{A.keyCode===ht.ENTER&&(r({column:s,key:p,sortOrder:v,multiplePriority:vD(s)}),T==null||T(A))};const R=cMt(s.title,{}),M=R==null?void 0:R.toString();return m?$["aria-sort"]=m==="ascend"?"ascending":"descending":$["aria-label"]=M||"",$.className=Re($.className,`${e}-column-has-sorters`),$.tabIndex=0,s.ellipsis&&($.title=(R??"").toString()),$}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:RFe(e,f.children,n,r,i,o,a,c)})),f})}function ege(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function tge(e){const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(ege);return t.length===0&&e.length?Object.assign(Object.assign({},ege(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function NQ(e,t,n){const r=t.slice().sort((a,l)=>l.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:l},sortOrder:s}=a;return J0e(l)&&s});return o.length?i.sort((a,l)=>{for(let s=0;s{const l=a[n];return l?Object.assign(Object.assign({},a),{[n]:NQ(l,t,n)}):a}):i}function RRt(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:o,showSorterTooltip:a}=e;const[l,s]=_.useState(IQ(n,!0)),u=_.useMemo(()=>{let p=!0;const g=IQ(n,!1);if(!g.length)return l;const m=[];function v(b){p?m.push(b):m.push(Object.assign(Object.assign({},b),{sortOrder:null}))}let y=null;return g.forEach(b=>{y===null?(v(b),b.sortOrder&&(b.multiplePriority===!1?p=!1:y=!0)):(y&&b.multiplePriority!==!1||(p=!1),v(b))}),m},[n,l]),c=_.useMemo(()=>{const p=u.map(g=>{let{column:m,sortOrder:v}=g;return{column:m,order:v}});return{sortColumns:p,sortColumn:p[0]&&p[0].column,sortOrder:p[0]&&p[0].order}},[u]);function f(p){let g;p.multiplePriority===!1||!u.length||u[0].multiplePriority===!1?g=[p]:g=[].concat(vt(u.filter(m=>{let{key:v}=m;return v!==p.key})),[p]),s(g),r(tge(g),g)}return[p=>RFe(t,p,u,f,i,o,a),u,c,()=>tge(u)]}function IFe(e,t){return e.map(n=>{const r=Object.assign({},n);return r.title=DB(n.title,t),"children"in r&&(r.children=IFe(r.children,t)),r})}function IRt(e){return[_.useCallback(n=>IFe(n,e),[e])]}const NRt=$ie((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),ARt=Tie((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),kRt=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:l,calc:s}=e,u=`${xe(n)} ${r} ${i}`,c=(f,h,d)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${xe(s(h).mul(-1).equal())} ${xe(s(s(d).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` > ${t}-content, > ${t}-header, @@ -418,10 +418,10 @@ html body { `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${xe(s(a).mul(-1).equal())} ${xe(s(s(l).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},c("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),c("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${xe(n)} 0 ${xe(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},DRt=jRt,LRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},xc),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},c("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),c("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${xe(n)} 0 ${xe(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},jRt=kRt,DRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},xc),{wordBreak:"keep-all",[` &${t}-cell-fix-left-last, &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},zRt=LRt,BRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},FRt=BRt,HRt=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:o,lineType:a,tableBorderColor:l,tableExpandIconBg:s,tableExpandColumnWidth:u,borderRadius:c,tablePaddingVertical:f,tablePaddingHorizontal:h,tableExpandedRowBg:d,paddingXXS:p,expandIconMarginTop:g,expandIconSize:m,expandIconHalfInner:v,expandIconScale:y,calc:b}=e,C=`${xe(i)} ${a} ${l}`,x=b(p).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},e1t(e)),{position:"relative",float:"left",boxSizing:"border-box",width:m,height:m,padding:0,color:"inherit",lineHeight:xe(m),background:s,border:C,borderRadius:c,transform:`scale(${y})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:v,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:v,width:i,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:g,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:d}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${xe(b(f).mul(-1).equal())} ${xe(b(h).mul(-1).equal())}`,padding:`${xe(f)} ${xe(h)}`}}}},WRt=HRt,qRt=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:u,lineType:c,tableBorderColor:f,headerIconColor:h,fontSizeSM:d,tablePaddingHorizontal:p,borderRadius:g,motionDurationSlow:m,colorTextDescription:v,colorPrimary:y,tableHeaderFilterActiveBg:b,colorTextDisabled:C,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:w,controlItemBgActive:O,boxShadowSecondary:$,filterDropdownMenuBg:P,calc:T}=e,R=`${n}-dropdown`,M=`${t}-filter-dropdown`,A=`${n}-tree`,N=`${xe(u)} ${c} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:T(a).mul(-1).equal(),marginInline:`${xe(a)} ${xe(T(p).div(2).mul(-1).equal())}`,padding:`0 ${xe(a)}`,color:h,fontSize:d,borderRadius:g,cursor:"pointer",transition:`all ${m}`,"&:hover":{color:v,background:b},"&.active":{color:y}}}},{[`${n}-dropdown`]:{[M]:Object.assign(Object.assign({},sr(e)),{minWidth:i,backgroundColor:x,borderRadius:g,boxShadow:$,overflow:"hidden",[`${R}-menu`]:{maxHeight:S,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:P,"&:empty::after":{display:"block",padding:`${xe(l)} 0`,color:C,fontSize:d,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${xe(l)} 0`,paddingInline:l,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:w},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:O}}},[`${M}-search`]:{padding:l,borderBottom:N,"&-input":{input:{minWidth:o},[r]:{color:C}}},[`${M}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xe(T(l).sub(u).equal())} ${xe(l)}`,overflow:"hidden",borderTop:N}})}},{[`${n}-dropdown ${M}, ${M}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},VRt=qRt,URt=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:i,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:l,calc:s}=e,u=r;return{[`${t}-wrapper`]:{[` + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},LRt=DRt,zRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},BRt=zRt,FRt=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:o,lineType:a,tableBorderColor:l,tableExpandIconBg:s,tableExpandColumnWidth:u,borderRadius:c,tablePaddingVertical:f,tablePaddingHorizontal:h,tableExpandedRowBg:d,paddingXXS:p,expandIconMarginTop:g,expandIconSize:m,expandIconHalfInner:v,expandIconScale:y,calc:b}=e,C=`${xe(i)} ${a} ${l}`,x=b(p).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},e1t(e)),{position:"relative",float:"left",boxSizing:"border-box",width:m,height:m,padding:0,color:"inherit",lineHeight:xe(m),background:s,border:C,borderRadius:c,transform:`scale(${y})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:v,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:v,width:i,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:g,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:d}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${xe(b(f).mul(-1).equal())} ${xe(b(h).mul(-1).equal())}`,padding:`${xe(f)} ${xe(h)}`}}}},HRt=FRt,WRt=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:l,colorText:s,lineWidth:u,lineType:c,tableBorderColor:f,headerIconColor:h,fontSizeSM:d,tablePaddingHorizontal:p,borderRadius:g,motionDurationSlow:m,colorTextDescription:v,colorPrimary:y,tableHeaderFilterActiveBg:b,colorTextDisabled:C,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:w,controlItemBgActive:O,boxShadowSecondary:$,filterDropdownMenuBg:P,calc:T}=e,R=`${n}-dropdown`,M=`${t}-filter-dropdown`,A=`${n}-tree`,N=`${xe(u)} ${c} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:T(a).mul(-1).equal(),marginInline:`${xe(a)} ${xe(T(p).div(2).mul(-1).equal())}`,padding:`0 ${xe(a)}`,color:h,fontSize:d,borderRadius:g,cursor:"pointer",transition:`all ${m}`,"&:hover":{color:v,background:b},"&.active":{color:y}}}},{[`${n}-dropdown`]:{[M]:Object.assign(Object.assign({},sr(e)),{minWidth:i,backgroundColor:x,borderRadius:g,boxShadow:$,overflow:"hidden",[`${R}-menu`]:{maxHeight:S,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:P,"&:empty::after":{display:"block",padding:`${xe(l)} 0`,color:C,fontSize:d,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${xe(l)} 0`,paddingInline:l,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:w},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:O}}},[`${M}-search`]:{padding:l,borderBottom:N,"&-input":{input:{minWidth:o},[r]:{color:C}}},[`${M}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xe(T(l).sub(u).equal())} ${xe(l)}`,overflow:"hidden",borderTop:N}})}},{[`${n}-dropdown ${M}, ${M}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:l,color:s},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},qRt=WRt,VRt=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:i,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:l,calc:s}=e,u=r;return{[`${t}-wrapper`]:{[` ${t}-cell-fix-left, ${t}-cell-fix-right `]:{position:"sticky !important",zIndex:o,background:a},[` @@ -441,11 +441,11 @@ html body { ${t}-cell-fix-left-last::after, ${t}-cell-fix-right-first::after, ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},GRt=URt,KRt=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${xe(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},XRt=KRt,YRt=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${xe(n)} ${xe(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${xe(n)} ${xe(n)}`}}}}},ZRt=YRt,QRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},JRt=QRt,eIt=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:o,paddingXS:a,headerIconColor:l,headerIconHoverColor:s,tableSelectionColumnWidth:u,tableSelectedRowBg:c,tableSelectedRowHoverBg:f,tableRowHoverBg:h,tablePaddingHorizontal:d,calc:p}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:p(u).add(i).add(p(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:p(u).add(p(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:p(u).add(i).add(p(o).div(4)).add(p(a).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},URt=VRt,GRt=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${xe(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},KRt=GRt,XRt=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${xe(n)} ${xe(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${xe(n)} ${xe(n)}`}}}}},YRt=XRt,ZRt=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},QRt=ZRt,JRt=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:o,paddingXS:a,headerIconColor:l,headerIconHoverColor:s,tableSelectionColumnWidth:u,tableSelectedRowBg:c,tableSelectedRowHoverBg:f,tableRowHoverBg:h,tablePaddingHorizontal:d,calc:p}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:p(u).add(i).add(p(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:p(u).add(p(a).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:p(u).add(i).add(p(o).div(4)).add(p(a).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:xe(p(d).div(4).equal()),[r]:{color:l,fontSize:i,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:c,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:h}}}}}},tIt=eIt,nIt=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(o,a,l,s)=>({[`${t}${t}-${o}`]:{fontSize:s,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:xe(p(d).div(4).equal()),[r]:{color:l,fontSize:i,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:c,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:h}}}}}},eIt=JRt,tIt=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(o,a,l,s)=>({[`${t}${t}-${o}`]:{fontSize:s,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -454,10 +454,10 @@ html body { ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${xe(a)} ${xe(l)}`},[`${t}-filter-trigger`]:{marginInlineEnd:xe(r(l).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${xe(r(a).mul(-1).equal())} ${xe(r(l).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:xe(r(a).mul(-1).equal()),marginInline:`${xe(r(n).sub(l).equal())} ${xe(r(l).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:xe(r(l).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},i("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),i("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},rIt=nIt,iIt=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + `]:{padding:`${xe(a)} ${xe(l)}`},[`${t}-filter-trigger`]:{marginInlineEnd:xe(r(l).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${xe(r(a).mul(-1).equal())} ${xe(r(l).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:xe(r(a).mul(-1).equal()),marginInline:`${xe(r(n).sub(l).equal())} ${xe(r(l).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:xe(r(l).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},i("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),i("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},nIt=tIt,rIt=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},oIt=iIt,aIt=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:l,stickyScrollBarBorderRadius:s,lineWidth:u,lineType:c,tableBorderColor:f}=e,h=`${xe(u)} ${c} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${xe(o)} !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:h,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},lIt=aIt,sIt=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,o=`${xe(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${xe(i(n).mul(-1).equal())} 0 ${r}`}}}},tge=sIt,cIt=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:o,calc:a}=e,l=`${xe(r)} ${i} ${o}`,s=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:l,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${s}${s}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${xe(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:l,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:l,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:l}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:l,borderBottom:l}}}}}},uIt=cIt,dIt=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:o,lineWidth:a,lineType:l,tableBorderColor:s,tableFontSize:u,tableBg:c,tableRadius:f,tableHeaderTextColor:h,motionDurationMid:d,tableHeaderBg:p,tableHeaderCellSplitColor:g,tableFooterTextColor:m,tableFooterBg:v,calc:y}=e,b=`${xe(a)} ${l} ${s}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Od()),{[t]:Object.assign(Object.assign({},sr(e)),{fontSize:u,background:c,borderRadius:`${xe(f)} ${xe(f)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${xe(f)} ${xe(f)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},iIt=rIt,oIt=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:l,stickyScrollBarBorderRadius:s,lineWidth:u,lineType:c,tableBorderColor:f}=e,h=`${xe(u)} ${c} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:l,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${xe(o)} !important`,zIndex:l,display:"flex",alignItems:"center",background:a,borderTop:h,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},aIt=oIt,lIt=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,o=`${xe(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${xe(i(n).mul(-1).equal())} 0 ${r}`}}}},nge=lIt,sIt=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:o,calc:a}=e,l=`${xe(r)} ${i} ${o}`,s=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:l,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${s}${s}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${xe(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:l,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:l,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:l}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:l,borderBottom:l}}}}}},cIt=sIt,uIt=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:o,lineWidth:a,lineType:l,tableBorderColor:s,tableFontSize:u,tableBg:c,tableRadius:f,tableHeaderTextColor:h,motionDurationMid:d,tableHeaderBg:p,tableHeaderCellSplitColor:g,tableFooterTextColor:m,tableFooterBg:v,calc:y}=e,b=`${xe(a)} ${l} ${s}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Od()),{[t]:Object.assign(Object.assign({},sr(e)),{fontSize:u,background:c,borderRadius:`${xe(f)} ${xe(f)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${xe(f)} ${xe(f)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, @@ -468,27 +468,27 @@ html body { > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child `]:{[t]:{marginBlock:xe(y(r).mul(-1).equal()),marginInline:`${xe(y(o).sub(i).equal())} - ${xe(y(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:h,fontWeight:n,textAlign:"start",background:p,borderBottom:b,transition:`background ${d} ease`}}},[`${t}-footer`]:{padding:`${xe(r)} ${xe(i)}`,color:m,background:v}})}},fIt=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:l,padding:s,paddingSM:u,paddingXS:c,colorBorderSecondary:f,borderRadiusLG:h,controlHeight:d,colorTextPlaceholder:p,fontSize:g,fontSizeSM:m,lineHeight:v,lineWidth:y,colorIcon:b,colorIconHover:C,opacityLoading:x,controlInteractiveSize:S}=e,w=new Gn(i).onBackground(n).toHexShortString(),O=new Gn(o).onBackground(n).toHexShortString(),$=new Gn(t).onBackground(n).toHexShortString(),P=new Gn(b),T=new Gn(C),R=S/2-y,M=R*2+y*3;return{headerBg:$,headerColor:r,headerSortActiveBg:w,headerSortHoverBg:O,bodySortBg:$,rowHoverBg:$,rowSelectedBg:a,rowSelectedHoverBg:l,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:u,cellPaddingInlineMD:c,cellPaddingBlockSM:c,cellPaddingInlineSM:c,borderColor:f,headerBorderRadius:h,footerBg:$,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:f,fixedHeaderSortActiveBg:w,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:d,stickyScrollBarBg:p,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*v-y*3)/2-Math.ceil((m*1.4-y*3)/2),headerIconColor:P.clone().setAlpha(P.getAlpha()*x).toRgbString(),headerIconHoverColor:T.clone().setAlpha(T.getAlpha()*x).toRgbString(),expandIconHalfInner:R,expandIconSize:M,expandIconScale:S/M}},pIt=vr("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:o,headerColor:a,headerSortActiveBg:l,headerSortHoverBg:s,bodySortBg:u,rowHoverBg:c,rowSelectedBg:f,rowSelectedHoverBg:h,rowExpandedBg:d,cellPaddingBlock:p,cellPaddingInline:g,cellPaddingBlockMD:m,cellPaddingInlineMD:v,cellPaddingBlockSM:y,cellPaddingInlineSM:b,borderColor:C,footerBg:x,footerColor:S,headerBorderRadius:w,cellFontSize:O,cellFontSizeMD:$,cellFontSizeSM:P,headerSplitColor:T,fixedHeaderSortActiveBg:R,headerFilterHoverBg:M,filterDropdownBg:A,expandIconBg:N,selectionColumnWidth:k,stickyScrollBarBg:D,calc:L}=e,B=2,j=Wn(e,{tableFontSize:O,tableBg:r,tableRadius:w,tablePaddingVertical:p,tablePaddingHorizontal:g,tablePaddingVerticalMiddle:m,tablePaddingHorizontalMiddle:v,tablePaddingVerticalSmall:y,tablePaddingHorizontalSmall:b,tableBorderColor:C,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:T,tableHeaderSortBg:l,tableHeaderSortHoverBg:s,tableBodySortBg:u,tableFixedHeaderSortActiveBg:R,tableHeaderFilterActiveBg:M,tableFilterDropdownBg:A,tableRowHoverBg:c,tableSelectedRowBg:f,tableSelectedRowHoverBg:h,zIndexTableFixed:B,zIndexTableSticky:B+1,tableFontSizeMiddle:$,tableFontSizeSmall:P,tableSelectionColumnWidth:k,tableExpandIconBg:N,tableExpandColumnWidth:L(i).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:d,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:D,tableScrollThumbBgHover:t,tableScrollBg:n});return[dIt(j),XRt(j),tge(j),oIt(j),VRt(j),DRt(j),ZRt(j),WRt(j),tge(j),FRt(j),tIt(j),GRt(j),lIt(j),zRt(j),rIt(j),JRt(j),uIt(j)]},fIt,{unitless:{expandIconScale:!0}}),hIt=[],gIt=(e,t)=>{var n,r;const{prefixCls:i,className:o,rootClassName:a,style:l,size:s,bordered:u,dropdownPrefixCls:c,dataSource:f,pagination:h,rowSelection:d,rowKey:p="key",rowClassName:g,columns:m,children:v,childrenColumnName:y,onChange:b,getPopupContainer:C,loading:x,expandIcon:S,expandable:w,expandedRowRender:O,expandIconColumnIndex:$,indentSize:P,scroll:T,sortDirections:R,locale:M,showSorterTooltip:A=!0,virtual:N}=e;Mh();const k=_.useMemo(()=>m||Oie(v),[m,v]),D=_.useMemo(()=>k.some(Ot=>Ot.responsive),[k]),L=lB(D),B=_.useMemo(()=>{const Ot=new Set(Object.keys(L).filter(Ct=>L[Ct]));return k.filter(Ct=>!Ct.responsive||Ct.responsive.some(mt=>Ot.has(mt)))},[k,L]),j=bi(e,["className","style","columns"]),{locale:z=Sc,direction:V,table:W,renderEmpty:U,getPrefixCls:K,getPopupContainer:X}=_.useContext(on),G=Go(s),Y=Object.assign(Object.assign({},z.Table),M),J=f||hIt,ee=K("table",i),Q=K("dropdown",c),[,te]=To(),ne=di(ee),[re,oe,se]=pIt(ee,ne),ye=Object.assign(Object.assign({childrenColumnName:y,expandIconColumnIndex:$},w),{expandIcon:(n=w==null?void 0:w.expandIcon)!==null&&n!==void 0?n:(r=W==null?void 0:W.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:be="children"}=ye,he=_.useMemo(()=>J.some(Ot=>Ot==null?void 0:Ot[be])?"nest":O||w&&w.expandedRowRender?"row":null,[J]),le={body:_.useRef()},ve=cMt(ee),ke=_.useRef(null),Ie=_.useRef(null);lMt(t,()=>Object.assign(Object.assign({},Ie.current),{nativeElement:ke.current}));const Oe=_.useMemo(()=>typeof p=="function"?p:Ot=>Ot==null?void 0:Ot[p],[p]),[Pe]=bRt(J,be,Oe),_e={},ce=function(Ot,Ct){let mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var It,nt,yt;const xt=Object.assign(Object.assign({},_e),Ot);mt&&((It=_e.resetPagination)===null||It===void 0||It.call(_e),!((nt=xt.pagination)===null||nt===void 0)&&nt.current&&(xt.pagination.current=1),h&&h.onChange&&h.onChange(1,(yt=xt.pagination)===null||yt===void 0?void 0:yt.pageSize)),T&&T.scrollToFirstRowOnChange!==!1&&le.body.current&&H0t(0,{getContainer:()=>le.body.current}),b==null||b(xt.pagination,xt.filters,xt.sorter,{currentDataSource:MQ(IQ(J,xt.sorterStates,be),xt.filterStates,be),action:Ct})},Te=(Ot,Ct)=>{ce({sorter:Ot,sorterStates:Ct},"sort",!1)},[Ne,je,He,Be]=IRt({prefixCls:ee,mergedColumns:B,onSorterChange:Te,sortDirections:R||["ascend","descend"],tableLocale:Y,showSorterTooltip:A}),qe=_.useMemo(()=>IQ(J,je,be),[J,je]);_e.sorter=Be(),_e.sorterStates=je;const me=(Ot,Ct)=>{ce({filters:Ot,filterStates:Ct},"filter",!0)},[Ee,$e,Le]=yRt({prefixCls:ee,locale:Y,dropdownPrefixCls:Q,mergedColumns:B,onFilterChange:me,getPopupContainer:C||X,rootClassName:Re(a,ne)}),Fe=MQ(qe,$e,be);_e.filters=Le,_e.filterStates=$e;const Ke=_.useMemo(()=>{const Ot={};return Object.keys(Le).forEach(Ct=>{Le[Ct]!==null&&(Ot[Ct]=Le[Ct])}),Object.assign(Object.assign({},He),{filters:Ot})},[He,Le]),[lt]=NRt(Ke),ft=(Ot,Ct)=>{ce({pagination:Object.assign(Object.assign({},_e.pagination),{current:Ot,pageSize:Ct})},"paginate")},[Ye,we]=xRt(Fe.length,ft,h);_e.pagination=h===!1?{}:SRt(Ye,h),_e.resetPagination=we;const De=_.useMemo(()=>{if(h===!1||!Ye.pageSize)return Fe;const{current:Ot=1,total:Ct,pageSize:mt=TFe}=Ye;return Fe.lengthmt?Fe.slice((Ot-1)*mt,Ot*mt):Fe:Fe.slice((Ot-1)*mt,Ot*mt)},[!!h,Fe,Ye&&Ye.current,Ye&&Ye.pageSize,Ye&&Ye.total]),[We,Ge]=oMt({prefixCls:ee,data:Fe,pageData:De,getRowKey:Oe,getRecordByKey:Pe,expandType:he,childrenColumnName:be,locale:Y,getPopupContainer:C||X},d),Je=(Ot,Ct,mt)=>{let It;return typeof g=="function"?It=Re(g(Ot,Ct,mt)):It=Re(g),Re({[`${ee}-row-selected`]:Ge.has(Oe(Ot,Ct))},It)};ye.__PARENT_RENDER_ICON__=ye.expandIcon,ye.expandIcon=ye.expandIcon||S||sMt(Y),he==="nest"&&ye.expandIconColumnIndex===void 0?ye.expandIconColumnIndex=d?1:0:ye.expandIconColumnIndex>0&&d&&(ye.expandIconColumnIndex-=1),typeof ye.indentSize!="number"&&(ye.indentSize=typeof P=="number"?P:15);const bt=_.useCallback(Ot=>lt(We(Ee(Ne(Ot)))),[Ne,Ee,We]);let at,et;if(h!==!1&&(Ye!=null&&Ye.total)){let Ot;Ye.size?Ot=Ye.size:Ot=G==="small"||G==="middle"?"small":void 0;const Ct=nt=>_.createElement(WEt,Object.assign({},Ye,{className:Re(`${ee}-pagination ${ee}-pagination-${nt}`,Ye.className),size:Ot})),mt=V==="rtl"?"left":"right",{position:It}=Ye;if(It!==null&&Array.isArray(It)){const nt=It.find(At=>At.includes("top")),yt=It.find(At=>At.includes("bottom")),xt=It.every(At=>`${At}`=="none");!nt&&!yt&&!xt&&(et=Ct(mt)),nt&&(at=Ct(nt.toLowerCase().replace("top",""))),yt&&(et=Ct(yt.toLowerCase().replace("bottom","")))}else et=Ct(mt)}let rt;typeof x=="boolean"?rt={spinning:x}:typeof x=="object"&&(rt=Object.assign({spinning:!0},x));const Ze=Re(se,ne,`${ee}-wrapper`,W==null?void 0:W.className,{[`${ee}-wrapper-rtl`]:V==="rtl"},o,a,oe),wt=Object.assign(Object.assign({},W==null?void 0:W.style),l),ut=M&&M.emptyText||(U==null?void 0:U("Table"))||_.createElement(vre,{componentName:"Table"}),ot=N?kRt:ARt,dt={},_t=_.useMemo(()=>{const{fontSize:Ot,lineHeight:Ct,padding:mt,paddingXS:It,paddingSM:nt}=te,yt=Math.floor(Ot*Ct);switch(G){case"large":return mt*2+yt;case"small":return It*2+yt;default:return nt*2+yt}},[te,G]);return N&&(dt.listItemHeight=_t),re(_.createElement("div",{ref:ke,className:Ze,style:wt},_.createElement(wBe,Object.assign({spinning:!1},rt),at,_.createElement(ot,Object.assign({},dt,j,{ref:Ie,columns:B,direction:V,expandable:ye,prefixCls:ee,className:Re({[`${ee}-middle`]:G==="middle",[`${ee}-small`]:G==="small",[`${ee}-bordered`]:u,[`${ee}-empty`]:J.length===0},se,ne,oe),data:De,rowKey:Oe,rowClassName:Je,emptyText:ut,internalHooks:SC,internalRefs:le,transformColumns:bt,getContainerWidth:ve})),et)))},mIt=_.forwardRef(gIt),vIt=(e,t)=>{const n=_.useRef(0);return n.current+=1,_.createElement(mIt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Nh=_.forwardRef(vIt);Nh.SELECTION_COLUMN=x1;Nh.EXPAND_COLUMN=zp;Nh.SELECTION_ALL=OQ;Nh.SELECTION_INVERT=EQ;Nh.SELECTION_NONE=$Q;Nh.Column=KTt;Nh.ColumnGroup=XTt;Nh.Summary=wie;const IFe=Nh,yIt=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:o}=e,a=o(r).sub(n).equal(),l=o(t).sub(n).equal();return{[i]:Object.assign(Object.assign({},sr(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Nie=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return Wn(e,{tagFontSize:i,tagLineHeight:xe(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Aie=e=>({defaultBg:new Gn(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),NFe=vr("Tag",e=>{const t=Nie(e);return yIt(t)},Aie);var bIt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,style:r,className:i,checked:o,onChange:a,onClick:l}=e,s=bIt(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:c}=_.useContext(on),f=v=>{a==null||a(!o),l==null||l(v)},h=u("tag",n),[d,p,g]=NFe(h),m=Re(h,`${h}-checkable`,{[`${h}-checkable-checked`]:o},c==null?void 0:c.className,i,p,g);return d(_.createElement("span",Object.assign({},s,{ref:t,style:Object.assign(Object.assign({},r),c==null?void 0:c.style),className:m,onClick:f})))}),SIt=CIt,xIt=e=>_ke(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),_It=Ry(["Tag","preset"],e=>{const t=Nie(e);return xIt(t)},Aie);function wIt(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const bM=(e,t,n)=>{const r=wIt(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},OIt=Ry(["Tag","status"],e=>{const t=Nie(e);return[bM(t,"success","Success"),bM(t,"processing","Info"),bM(t,"error","Error"),bM(t,"warning","Warning")]},Aie);var EIt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,children:a,icon:l,color:s,onClose:u,closeIcon:c,closable:f,bordered:h=!0}=e,d=EIt(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:p,direction:g,tag:m}=_.useContext(on),[v,y]=_.useState(!0);_.useEffect(()=>{"visible"in d&&y(d.visible)},[d.visible]);const b=yDe(s),C=M3t(s),x=b||C,S=Object.assign(Object.assign({backgroundColor:s&&!x?s:void 0},m==null?void 0:m.style),o),w=p("tag",n),[O,$,P]=NFe(w),T=Re(w,m==null?void 0:m.className,{[`${w}-${s}`]:x,[`${w}-has-color`]:s&&!x,[`${w}-hidden`]:!v,[`${w}-rtl`]:g==="rtl",[`${w}-borderless`]:!h},r,i,$,P),R=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&y(!1)},[,M]=dje(f,c??(m==null?void 0:m.closeIcon),L=>L===null?_.createElement(Ic,{className:`${w}-close-icon`,onClick:R}):_.createElement("span",{className:`${w}-close-icon`,onClick:R},L),null,!1),A=typeof d.onClick=="function"||a&&a.type==="a",N=l||null,k=N?_.createElement(_.Fragment,null,N,a&&_.createElement("span",null,a)):a,D=_.createElement("span",Object.assign({},d,{ref:t,className:T,style:S}),k,M,b&&_.createElement(_It,{key:"preset",prefixCls:w}),C&&_.createElement(OIt,{key:"status",prefixCls:w}));return O(A?_.createElement(S$,{component:"Tag"},D):D)},AFe=_.forwardRef($It);AFe.CheckableTag=SIt;const i7=AFe,PIt=e=>{const t=e!=null&&e.algorithm?i4(e.algorithm):i4(v$),n=Object.assign(Object.assign({},a4),e==null?void 0:e.token);return Ane(n,{override:e==null?void 0:e.token},t,Vne)},TIt=PIt;function MIt(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const RIt=(e,t)=>{const n=t??v$(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),MIt(t??e)),dke(r)),{controlHeight:i}),cke(Object.assign(Object.assign({},n),{controlHeight:i})))},IIt=RIt,rp=(e,t)=>new Gn(e).setAlpha(t).toRgbString(),Zb=(e,t)=>new Gn(e).lighten(t).toHexString(),NIt=e=>{const t=Af(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},AIt=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:rp(r,.85),colorTextSecondary:rp(r,.65),colorTextTertiary:rp(r,.45),colorTextQuaternary:rp(r,.25),colorFill:rp(r,.18),colorFillSecondary:rp(r,.12),colorFillTertiary:rp(r,.08),colorFillQuaternary:rp(r,.04),colorBgElevated:Zb(n,12),colorBgContainer:Zb(n,8),colorBgLayout:Zb(n,0),colorBgSpotlight:Zb(n,26),colorBgBlur:rp(r,.04),colorBorder:Zb(n,26),colorBorderSecondary:Zb(n,19)}},kIt=(e,t)=>{const n=Object.keys(Hne).map(i=>{const o=Af(e[i],{theme:"dark"});return new Array(10).fill(1).reduce((a,l,s)=>(a[`${i}-${s+1}`]=o[s],a[`${i}${s+1}`]=o[s],a),{})}).reduce((i,o)=>(i=Object.assign(Object.assign({},i),o),i),{}),r=t??v$(e);return Object.assign(Object.assign(Object.assign({},r),n),uke(e,{generateColorPalettes:NIt,generateNeutralColorPalettes:AIt}))},jIt=kIt;function DIt(){const[e,t,n]=To();return{theme:e,token:t,hashId:n}}const kFe={defaultConfig:WE,defaultSeed:WE.token,useToken:DIt,defaultAlgorithm:v$,darkAlgorithm:jIt,compactAlgorithm:IIt,getDesignToken:TIt};function LIt(e){var t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,r=e.getBoundingClientRect(),i=r.top,o=r.right,a=r.bottom,l=r.left;return i>=0&&l>=0&&o<=t&&a<=n}function zIt(e,t,n){var r;return(r=n??t)!==null&&r!==void 0?r:e===null?"center":"bottom"}function BIt(e,t,n,r){var i=_.useState(void 0),o=Me(i,2),a=o[0],l=o[1];er(function(){var g=typeof e=="function"?e():e;l(g||null)});var s=_.useState(null),u=Me(s,2),c=u[0],f=u[1],h=ir(function(){if(a){!LIt(a)&&t&&a.scrollIntoView(r);var g=a.getBoundingClientRect(),m=g.left,v=g.top,y=g.width,b=g.height,C={left:m,top:v,width:y,height:b,radius:0};f(function(x){return JSON.stringify(x)!==JSON.stringify(C)?C:x})}else f(null)}),d=function(m){var v;return(v=Array.isArray(n==null?void 0:n.offset)?n==null?void 0:n.offset[m]:n==null?void 0:n.offset)!==null&&v!==void 0?v:6};er(function(){return h(),window.addEventListener("resize",h),function(){window.removeEventListener("resize",h)}},[a,t,h]);var p=_.useMemo(function(){if(!c)return c;var g=d(0),m=d(1),v=(n==null?void 0:n.radius)||2;return{left:c.left-g,top:c.top-m,width:c.width+g*2,height:c.height+m*2,radius:v}},[c,n]);return[p,a]}var CM={fill:"transparent",pointerEvents:"auto"},FIt=function(t){var n=t.prefixCls,r=t.rootClassName,i=t.pos,o=t.showMask,a=t.style,l=a===void 0?{}:a,s=t.fill,u=s===void 0?"rgba(0,0,0,0.5)":s,c=t.open,f=t.animated,h=t.zIndex,d=t.disabledInteraction,p=ire(),g="".concat(n,"-mask-").concat(p),m=bn(f)==="object"?f==null?void 0:f.placeholder:f,v=typeof navigator<"u"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),y=v?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return Se.createElement(Ny,{open:c,autoLock:!0},Se.createElement("div",{className:Re("".concat(n,"-mask"),r),style:fe({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:h,pointerEvents:i&&!d?"none":"auto"},l)},o?Se.createElement("svg",{style:{width:"100%",height:"100%"}},Se.createElement("defs",null,Se.createElement("mask",{id:g},Se.createElement("rect",Qe({x:"0",y:"0"},y,{fill:"white"})),i&&Se.createElement("rect",{x:i.left,y:i.top,rx:i.radius,width:i.width,height:i.height,fill:"black",className:m?"".concat(n,"-placeholder-animated"):""}))),Se.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:u,mask:"url(#".concat(g,")")}),i&&Se.createElement(Se.Fragment,null,Se.createElement("rect",Qe({},CM,{x:"0",y:"0",width:"100%",height:i.top})),Se.createElement("rect",Qe({},CM,{x:"0",y:"0",width:i.left,height:"100%"})),Se.createElement("rect",Qe({},CM,{x:"0",y:i.top+i.height,width:"100%",height:"calc(100vh - ".concat(i.top+i.height,"px)")})),Se.createElement("rect",Qe({},CM,{x:i.left+i.width,y:"0",width:"calc(100vw - ".concat(i.left+i.width,"px)"),height:"100%"})))):null))},HIt=[0,0],nge={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function jFe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t={};return Object.keys(nge).forEach(function(n){t[n]=fe(fe({},nge[n]),{},{autoArrow:e,targetOffset:HIt})}),t}jFe();function WIt(e){var t=e.prefixCls,n=e.current,r=e.total,i=e.title,o=e.description,a=e.onClose,l=e.onPrev,s=e.onNext,u=e.onFinish,c=e.className,f=e.closeIcon,h=f!==!1&&f!==null,d=f!==void 0&&f!==!0?f:_.createElement("span",{className:"".concat(t,"-close-x")},"×");return _.createElement("div",{className:Re("".concat(t,"-content"),c)},_.createElement("div",{className:"".concat(t,"-inner")},h&&_.createElement("button",{type:"button",onClick:a,"aria-label":"Close",className:"".concat(t,"-close")},d),_.createElement("div",{className:"".concat(t,"-header")},_.createElement("div",{className:"".concat(t,"-title")},i)),_.createElement("div",{className:"".concat(t,"-description")},o),_.createElement("div",{className:"".concat(t,"-footer")},_.createElement("div",{className:"".concat(t,"-sliders")},r>1?vt(Array.from({length:r}).keys()).map(function(p,g){return _.createElement("span",{key:p,className:g===n?"active":""})}):null),_.createElement("div",{className:"".concat(t,"-buttons")},n!==0?_.createElement("button",{className:"".concat(t,"-prev-btn"),onClick:l},"Prev"):null,n===r-1?_.createElement("button",{className:"".concat(t,"-finish-btn"),onClick:u},"Finish"):_.createElement("button",{className:"".concat(t,"-next-btn"),onClick:s},"Next")))))}var qIt=function(t){var n=t.current,r=t.renderPanel;return _.createElement(_.Fragment,null,typeof r=="function"?r(t,n):_.createElement(WIt,t))},VIt=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","builtinPlacements","disabledInteraction"],UIt={left:"50%",top:"50%",width:1,height:1},rge={block:"center",inline:"center"},GIt=function(t){var n=t.prefixCls,r=n===void 0?"rc-tour":n,i=t.steps,o=i===void 0?[]:i,a=t.defaultCurrent,l=t.current,s=t.onChange,u=t.onClose,c=t.onFinish,f=t.open,h=t.mask,d=h===void 0?!0:h,p=t.arrow,g=p===void 0?!0:p,m=t.rootClassName,v=t.placement,y=t.renderPanel,b=t.gap,C=t.animated,x=t.scrollIntoViewOptions,S=x===void 0?rge:x,w=t.zIndex,O=w===void 0?1001:w,$=t.closeIcon,P=t.builtinPlacements,T=t.disabledInteraction,R=an(t,VIt),M=_.useRef(),A=zn(0,{value:l,defaultValue:a}),N=Me(A,2),k=N[0],D=N[1],L=zn(void 0,{value:f,postState:function(He){return k<0||k>=o.length?!1:He??!0}}),B=Me(L,2),j=B[0],z=B[1],V=_.useRef(j);er(function(){j&&!V.current&&D(0),V.current=j},[j]);var W=o[k]||{},U=W.target,K=W.placement,X=W.style,G=W.arrow,Y=W.className,J=W.mask,ee=W.scrollIntoViewOptions,Q=ee===void 0?rge:ee,te=W.closeIcon,ne=j&&(J??d),re=te??$,oe=Q??S,se=BIt(U,f,b,oe),ye=Me(se,2),be=ye[0],he=ye[1],le=zIt(he,v,K),ve=he?typeof G>"u"?g:G:!1,ke=bn(ve)==="object"?ve.pointAtCenter:!1;er(function(){var je;(je=M.current)===null||je===void 0||je.forceAlign()},[ke,k]);var Ie=function(He){D(He),s==null||s(He)},Oe=_.useMemo(function(){return P?typeof P=="function"?P({arrowPointAtCenter:ke}):P:jFe(ke)},[P,ke]);if(he===void 0)return null;var Pe=function(){z(!1),u==null||u(k)},_e=function(){return _.createElement(qIt,Qe({arrow:ve,key:"content",prefixCls:r,total:o.length,renderPanel:y,onPrev:function(){Ie(k-1)},onNext:function(){Ie(k+1)},onClose:Pe,current:k,onFinish:function(){Pe(),c==null||c()},closeIcon:re},o[k]))},ce=typeof ne=="boolean"?ne:!!ne,Te=typeof ne=="boolean"?void 0:ne,Ne=function(He){return He||he||document.body};return _.createElement(_.Fragment,null,_.createElement(FIt,{zIndex:O,prefixCls:r,pos:be,showMask:ce,style:Te==null?void 0:Te.style,fill:Te==null?void 0:Te.color,open:j,animated:C,rootClassName:m,disabledInteraction:T}),_.createElement(ky,Qe({},R,{builtinPlacements:Oe,ref:M,popupStyle:X,popupPlacement:le,popupVisible:j,popupClassName:Re(m,Y),prefixCls:r,popup:_e,forceRender:!1,destroyPopupOnHide:!0,zIndex:O,getTriggerDOMNode:Ne,arrow:!!ve}),_.createElement(Ny,{open:j,autoLock:!0},_.createElement("div",{className:Re(m,"".concat(r,"-target-placeholder")),style:fe(fe({},be||UIt),{},{position:"fixed",pointerEvents:"none"})}))))};const KIt=Object.freeze(Object.defineProperty({__proto__:null,default:GIt},Symbol.toStringTag,{value:"Module"}));var XIt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const YIt=XIt;var ZIt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:YIt}))};const DFe=_.forwardRef(ZIt),QIt=function(e){var t=_.useRef({valueLabels:new Map});return _.useMemo(function(){var n=t.current.valueLabels,r=new Map,i=e.map(function(o){var a,l=o.value,s=(a=o.label)!==null&&a!==void 0?a:n.get(l);return r.set(l,s),fe(fe({},o),{},{label:s})});return t.current.valueLabels=r,[i]},[e])},JIt=function(e,t,n,r){return _.useMemo(function(){var i=e.map(function(s){var u=s.value;return u}),o=t.map(function(s){var u=s.value;return u}),a=i.filter(function(s){return!r[s]});if(n){var l=ou(i,!0,r);i=l.checkedKeys,o=l.halfCheckedKeys}return[Array.from(new Set([].concat(vt(a),vt(i)))),o]},[e,t,n,r])};function eNt(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function tNt(e){var t=e||{},n=t.label,r=t.value,i=t.children,o=r||"value";return{_title:n?[n]:["title","label"],value:o,key:o,children:i||"children"}}function NQ(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function nNt(e,t){var n=[];function r(i){i.forEach(function(o){var a=o[t.children];a&&(n.push(o[t.value]),r(a))})}return r(e),n}function ige(e){return e==null}const rNt=function(e,t){return _.useMemo(function(){var n=N$(e,{fieldNames:t,initWrapper:function(i){return fe(fe({},i),{},{valueEntities:new Map})},processEntity:function(i,o){var a=i.node[t.value];o.valueEntities.set(a,i)}});return n},[e,t])};var DB=function(){return null},iNt=["children","value"];function LFe(e){return Wo(e).map(function(t){if(!_.isValidElement(t)||!t.type)return null;var n=t,r=n.key,i=n.props,o=i.children,a=i.value,l=an(i,iNt),s=fe({key:r,value:a},l),u=LFe(o);return u.length&&(s.children=u),s}).filter(function(t){return t})}function AQ(e){if(!e)return e;var t=fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Dr(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function oNt(e,t,n,r,i,o){var a=null,l=null;function s(){function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map(function(d,p){var g="".concat(f,"-").concat(p),m=d[o.value],v=n.includes(m),y=u(d[o.children]||[],g,v),b=_.createElement(DB,d,y.map(function(x){return x.node}));if(t===m&&(a=b),v){var C={pos:g,node:b,children:y};return h||l.push(C),C}return null}).filter(function(d){return d})}l||(l=[],u(r),l.sort(function(c,f){var h=c.node.props.value,d=f.node.props.value,p=n.indexOf(h),g=n.indexOf(d);return p-g}))}Object.defineProperty(e,"triggerNode",{get:function(){return Dr(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Dr(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),i?l:l.map(function(c){var f=c.node;return f})}})}const aNt=function(e,t,n){var r=n.treeNodeFilterProp,i=n.filterTreeNode,o=n.fieldNames,a=o.children;return _.useMemo(function(){if(!t||i===!1)return e;var l;if(typeof i=="function")l=i;else{var s=t.toUpperCase();l=function(f,h){var d=h[r];return String(d).toUpperCase().includes(s)}}function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c.reduce(function(h,d){var p=d[a],g=f||l(t,AQ(d)),m=u(p||[],g);return(g||m.length)&&h.push(fe(fe({},d),{},ue({isLeaf:void 0},a,m))),h},[])}return u(e)},[e,t,a,r,i])};function oge(e){var t=_.useRef();t.current=e;var n=_.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function lNt(e,t){var n=t.id,r=t.pId,i=t.rootPId,o={},a=[],l=e.map(function(s){var u=fe({},s),c=u[n];return o[c]=u,u.key=u.key||c,u});return l.forEach(function(s){var u=s[r],c=o[u];c&&(c.children=c.children||[],c.children.push(s)),(u===i||!c&&i===null)&&a.push(s)}),a}function sNt(e,t,n){return _.useMemo(function(){return e?n?lNt(e,fe({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:LFe(t)},[t,n,e])}var zFe=_.createContext(null),BFe=_.createContext(null),cNt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},uNt=function(t,n){var r=Qz(),i=r.prefixCls,o=r.multiple,a=r.searchValue,l=r.toggleOpen,s=r.open,u=r.notFoundContent,c=_.useContext(BFe),f=c.virtual,h=c.listHeight,d=c.listItemHeight,p=c.listItemScrollOffset,g=c.treeData,m=c.fieldNames,v=c.onSelect,y=c.dropdownMatchSelectWidth,b=c.treeExpandAction,C=c.treeTitleRender,x=_.useContext(zFe),S=x.checkable,w=x.checkedKeys,O=x.halfCheckedKeys,$=x.treeExpandedKeys,P=x.treeDefaultExpandAll,T=x.treeDefaultExpandedKeys,R=x.onTreeExpand,M=x.treeIcon,A=x.showTreeIcon,N=x.switcherIcon,k=x.treeLine,D=x.treeNodeFilterProp,L=x.loadData,B=x.treeLoadedKeys,j=x.treeMotion,z=x.onTreeLoad,V=x.keyEntities,W=_.useRef(),U=Th(function(){return g},[s,g],function(_e,ce){return ce[0]&&_e[1]!==ce[1]}),K=_.useState(null),X=Me(K,2),G=X[0],Y=X[1],J=V[G],ee=_.useMemo(function(){return S?{checked:w,halfChecked:O}:null},[S,w,O]);_.useEffect(function(){if(s&&!o&&w.length){var _e;(_e=W.current)===null||_e===void 0||_e.scrollTo({key:w[0]}),Y(w[0])}},[s]);var Q=String(a).toLowerCase(),te=function(ce){return Q?String(ce[D]).toLowerCase().includes(Q):!1},ne=_.useState(T),re=Me(ne,2),oe=re[0],se=re[1],ye=_.useState(null),be=Me(ye,2),he=be[0],le=be[1],ve=_.useMemo(function(){return $?vt($):a?he:oe},[oe,he,$,a]);_.useEffect(function(){a&&le(nNt(g,m))},[a]);var ke=function(ce){se(ce),le(ce),R&&R(ce)},Ie=function(ce){ce.preventDefault()},Oe=function(ce,Te){var Ne=Te.node;S&&NQ(Ne)||(v(Ne.key,{selected:!w.includes(Ne.key)}),o||l(!1))};if(_.useImperativeHandle(n,function(){var _e;return{scrollTo:(_e=W.current)===null||_e===void 0?void 0:_e.scrollTo,onKeyDown:function(Te){var Ne,je=Te.which;switch(je){case ht.UP:case ht.DOWN:case ht.LEFT:case ht.RIGHT:(Ne=W.current)===null||Ne===void 0||Ne.onKeyDown(Te);break;case ht.ENTER:{if(J){var He=(J==null?void 0:J.node)||{},Be=He.selectable,qe=He.value;Be!==!1&&Oe(null,{node:{key:G},selected:!w.includes(qe)})}break}case ht.ESC:l(!1)}},onKeyUp:function(){}}}),U.length===0)return _.createElement("div",{role:"listbox",className:"".concat(i,"-empty"),onMouseDown:Ie},u);var Pe={fieldNames:m};return B&&(Pe.loadedKeys=B),ve&&(Pe.expandedKeys=ve),_.createElement("div",{onMouseDown:Ie},J&&s&&_.createElement("span",{style:cNt,"aria-live":"assertive"},J.node.value),_.createElement(z$,Qe({ref:W,focusable:!1,prefixCls:"".concat(i,"-tree"),treeData:U,height:h,itemHeight:d,itemScrollOffset:p,virtual:f!==!1&&y!==!1,multiple:o,icon:M,showIcon:A,switcherIcon:N,showLine:k,loadData:a?null:L,motion:j,activeKey:G,checkable:S,checkStrictly:!0,checkedKeys:ee,selectedKeys:S?[]:w,defaultExpandAll:P,titleRender:C},Pe,{onActiveChange:Y,onSelect:Oe,onCheck:Oe,onExpand:ke,onLoad:z,filterTreeNode:te,expandAction:b})))},dNt=_.forwardRef(uNt),LB="SHOW_ALL",zB="SHOW_PARENT",B$="SHOW_CHILD";function age(e,t,n,r){var i=new Set(e);return t===B$?e.filter(function(o){var a=n[o];return!(a&&a.children&&a.children.some(function(l){var s=l.node;return i.has(s[r.value])})&&a.children.every(function(l){var s=l.node;return NQ(s)||i.has(s[r.value])}))}):t===zB?e.filter(function(o){var a=n[o],l=a?a.parent:null;return!(l&&!NQ(l.node)&&i.has(l.key))}):e}var fNt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender"];function pNt(e){return!e||bn(e)!=="object"}var hNt=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tree-select":r,o=e.value,a=e.defaultValue,l=e.onChange,s=e.onSelect,u=e.onDeselect,c=e.searchValue,f=e.inputValue,h=e.onSearch,d=e.autoClearSearchValue,p=d===void 0?!0:d,g=e.filterTreeNode,m=e.treeNodeFilterProp,v=m===void 0?"value":m,y=e.showCheckedStrategy,b=e.treeNodeLabelProp,C=e.multiple,x=e.treeCheckable,S=e.treeCheckStrictly,w=e.labelInValue,O=e.fieldNames,$=e.treeDataSimpleMode,P=e.treeData,T=e.children,R=e.loadData,M=e.treeLoadedKeys,A=e.onTreeLoad,N=e.treeDefaultExpandAll,k=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,L=e.onTreeExpand,B=e.treeExpandAction,j=e.virtual,z=e.listHeight,V=z===void 0?200:z,W=e.listItemHeight,U=W===void 0?20:W,K=e.listItemScrollOffset,X=K===void 0?0:K,G=e.onDropdownVisibleChange,Y=e.dropdownMatchSelectWidth,J=Y===void 0?!0:Y,ee=e.treeLine,Q=e.treeIcon,te=e.showTreeIcon,ne=e.switcherIcon,re=e.treeMotion,oe=e.treeTitleRender,se=an(e,fNt),ye=gre(n),be=x&&!S,he=x||S,le=S||w,ve=he||C,ke=zn(a,{value:o}),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1],_e=_.useMemo(function(){return x?y||B$:LB},[y,x]),ce=_.useMemo(function(){return tNt(O)},[JSON.stringify(O)]),Te=zn("",{value:c!==void 0?c:f,postState:function(yt){return yt||""}}),Ne=Me(Te,2),je=Ne[0],He=Ne[1],Be=function(yt){He(yt),h==null||h(yt)},qe=sNt(P,T,$),me=rNt(qe,ce),Ee=me.keyEntities,$e=me.valueEntities,Le=_.useCallback(function(nt){var yt=[],xt=[];return nt.forEach(function(At){$e.has(At)?xt.push(At):yt.push(At)}),{missingRawValues:yt,existRawValues:xt}},[$e]),Fe=aNt(qe,je,{fieldNames:ce,treeNodeFilterProp:v,filterTreeNode:g}),Ke=_.useCallback(function(nt){if(nt){if(b)return nt[b];for(var yt=ce._title,xt=0;xt{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${xe(e.paddingXS)} ${xe(e.calc(e.paddingXS).div(2).equal())}`},CFe(n,Wn(e,{colorBgContainer:r})),{[i]:{borderRadius:0,[`${i}-list-holder-inner`]:{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},eie(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function vNt(e,t,n){return vr("TreeSelect",r=>{const i=Wn(r,{treePrefixCls:t});return[mNt(i)]},SFe)(e,n)}var yNt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{prefixCls:r,size:i,disabled:o,bordered:a=!0,className:l,rootClassName:s,treeCheckable:u,multiple:c,listHeight:f=256,listItemHeight:h=26,placement:d,notFoundContent:p,switcherIcon:g,treeLine:m,getPopupContainer:v,popupClassName:y,dropdownClassName:b,treeIcon:C=!1,transitionName:x,choiceTransitionName:S="",status:w,treeExpandAction:O,builtinPlacements:$,dropdownMatchSelectWidth:P,popupMatchSelectWidth:T,allowClear:R,variant:M,dropdownStyle:A,tagRender:N}=e,k=yNt(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:D,getPrefixCls:L,renderEmpty:B,direction:j,virtual:z,popupMatchSelectWidth:V,popupOverflow:W}=_.useContext(on),U=L(),K=L("select",r),X=L("select-tree",r),G=L("tree-select",r),{compactSize:Y,compactItemClassnames:J}=Ih(K,j),ee=di(K),Q=di(G),[te,ne,re]=lDe(K,ee),[oe]=vNt(G,X,Q),[se,ye]=Dy(M,a),be=Re(y||b,`${G}-dropdown`,{[`${G}-dropdown-rtl`]:j==="rtl"},s,re,ee,Q,ne),he=!!(u||c),le=sDe(k.suffixIcon,k.showArrow),ve=(n=T??P)!==null&&n!==void 0?n:V,{status:ke,hasFeedback:Ie,isFormItemInput:Oe,feedbackIcon:Pe}=_.useContext(la),_e=jy(ke,w),{suffixIcon:ce,removeIcon:Te,clearIcon:Ne}=Cre(Object.assign(Object.assign({},k),{multiple:he,showSuffixIcon:le,hasFeedback:Ie,feedbackIcon:Pe,prefixCls:K,componentName:"TreeSelect"})),je=R===!0?{clearIcon:Ne}:R;let He;p!==void 0?He=p:He=(B==null?void 0:B("Select"))||_.createElement(vre,{componentName:"Select"});const Be=bi(k,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),qe=_.useMemo(()=>d!==void 0?d:j==="rtl"?"bottomRight":"bottomLeft",[d,j]),me=Go(ft=>{var Ye;return(Ye=i??Y)!==null&&Ye!==void 0?Ye:ft}),Ee=_.useContext(es),$e=o??Ee,Le=Re(!r&&G,{[`${K}-lg`]:me==="large",[`${K}-sm`]:me==="small",[`${K}-rtl`]:j==="rtl",[`${K}-${se}`]:ye,[`${K}-in-form-item`]:Oe},jf(K,_e,Ie),J,l,s,re,ee,Q,ne),Fe=ft=>_.createElement(xFe,{prefixCls:X,switcherIcon:g,treeNodeProps:ft,showLine:m}),[Ke]=Hf("SelectLike",A==null?void 0:A.zIndex),lt=_.createElement(_C,Object.assign({virtual:z,disabled:$e},Be,{dropdownMatchSelectWidth:ve,builtinPlacements:iDe($,W),ref:t,prefixCls:K,className:Le,listHeight:f,listItemHeight:h,treeCheckable:u&&_.createElement("span",{className:`${K}-tree-checkbox-inner`}),treeLine:!!m,suffixIcon:ce,multiple:he,placement:qe,removeIcon:Te,allowClear:je,switcherIcon:Fe,showTreeIcon:C,notFoundContent:He,getPopupContainer:v||D,treeMotion:null,dropdownClassName:be,dropdownStyle:Object.assign(Object.assign({},A),{zIndex:Ke}),choiceTransitionName:As(U,"",S),transitionName:As(U,"slide-up",x),treeExpandAction:O,tagRender:he?N:void 0}));return te(oe(lt))},CNt=_.forwardRef(bNt),Vy=CNt,SNt=fC(Vy);Vy.TreeNode=DB;Vy.SHOW_ALL=LB;Vy.SHOW_PARENT=zB;Vy.SHOW_CHILD=B$;Vy._InternalPanelDoNotUseOrYouWillBeFired=SNt;const FFe=Vy;var xNt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const _Nt=xNt;var wNt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:_Nt}))};const ONt=_.forwardRef(wNt);var IV,lge;function ENt(){return lge||(lge=1,IV=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[a.format]||t.default;window.clipboardData.setData(m,o)}else g.clipboardData.clearData(),g.clipboardData.setData(a.format,o);a.onCopy&&(g.preventDefault(),a.onCopy(g.clipboardData))}),document.body.appendChild(h),c.selectNodeContents(h),f.addRange(c);var p=document.execCommand("copy");if(!p)throw new Error("copy command was unsuccessful");d=!0}catch(g){l&&console.error("unable to copy using execCommand: ",g),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),d=!0}catch(m){l&&console.error("unable to copy using clipboardData: ",m),l&&console.error("falling back to prompt"),s=r("message"in a?a.message:n),window.prompt(s,o)}}finally{f&&(typeof f.removeRange=="function"?f.removeRange(c):f.removeAllRanges()),h&&document.body.removeChild(h),u()}return d}return NV=i,NV}const AV=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some(function(a){var l=a.trim();if(/^\*(\/\*)?$/.test(a))return!0;if(l.charAt(0)==="."){var s=r.toLowerCase(),u=l.toLowerCase(),c=[u];return(u===".jpg"||u===".jpeg")&&(c=[".jpg",".jpeg"]),c.some(function(f){return s.endsWith(f)})}return/\/\*$/.test(l)?o===l.replace(/\/.*$/,""):i===l?!0:/^\w+$/.test(l)?(Dr(!1,"Upload takes an invalidate 'accept' type '".concat(l,"'.Skip for check.")),!0):!1})}return!0};function PNt(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function cge(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function TNt(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(i){var o=e.data[i];if(Array.isArray(o)){o.forEach(function(a){n.append("".concat(i,"[]"),a)});return}n.append(i,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(PNt(e,t),cge(t)):e.onSuccess(cge(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(i){r[i]!==null&&t.setRequestHeader(i,r[i])}),t.send(n),{abort:function(){t.abort()}}}function MNt(e,t){var n=e.createReader(),r=[];function i(){n.readEntries(function(o){var a=Array.prototype.slice.apply(o);r=r.concat(a);var l=!a.length;l?t(r):i()})}i()}var RNt=function(t,n,r){var i=function o(a,l){a&&(a.path=l||"",a.isFile?a.file(function(s){r(s)&&(a.fullPath&&!s.webkitRelativePath&&(Object.defineProperties(s,{webkitRelativePath:{writable:!0}}),s.webkitRelativePath=a.fullPath.replace(/^\//,""),Object.defineProperties(s,{webkitRelativePath:{writable:!1}})),n([s]))}):a.isDirectory&&MNt(a,function(s){s.forEach(function(u){o(u,"".concat(l).concat(a.name,"/"))})}))};t.forEach(function(o){i(o.webkitGetAsEntry())})},INt=+new Date,NNt=0;function kV(){return"rc-upload-".concat(INt,"-").concat(++NNt)}var ANt=["component","prefixCls","className","classNames","disabled","id","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],kNt=function(e){ua(n,e);var t=ul(n);function n(){var r;Yr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${xe(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${xe(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + ${xe(y(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:h,fontWeight:n,textAlign:"start",background:p,borderBottom:b,transition:`background ${d} ease`}}},[`${t}-footer`]:{padding:`${xe(r)} ${xe(i)}`,color:m,background:v}})}},dIt=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:l,padding:s,paddingSM:u,paddingXS:c,colorBorderSecondary:f,borderRadiusLG:h,controlHeight:d,colorTextPlaceholder:p,fontSize:g,fontSizeSM:m,lineHeight:v,lineWidth:y,colorIcon:b,colorIconHover:C,opacityLoading:x,controlInteractiveSize:S}=e,w=new Gn(i).onBackground(n).toHexShortString(),O=new Gn(o).onBackground(n).toHexShortString(),$=new Gn(t).onBackground(n).toHexShortString(),P=new Gn(b),T=new Gn(C),R=S/2-y,M=R*2+y*3;return{headerBg:$,headerColor:r,headerSortActiveBg:w,headerSortHoverBg:O,bodySortBg:$,rowHoverBg:$,rowSelectedBg:a,rowSelectedHoverBg:l,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:u,cellPaddingInlineMD:c,cellPaddingBlockSM:c,cellPaddingInlineSM:c,borderColor:f,headerBorderRadius:h,footerBg:$,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:f,fixedHeaderSortActiveBg:w,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:d,stickyScrollBarBg:p,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*v-y*3)/2-Math.ceil((m*1.4-y*3)/2),headerIconColor:P.clone().setAlpha(P.getAlpha()*x).toRgbString(),headerIconHoverColor:T.clone().setAlpha(T.getAlpha()*x).toRgbString(),expandIconHalfInner:R,expandIconSize:M,expandIconScale:S/M}},fIt=vr("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:o,headerColor:a,headerSortActiveBg:l,headerSortHoverBg:s,bodySortBg:u,rowHoverBg:c,rowSelectedBg:f,rowSelectedHoverBg:h,rowExpandedBg:d,cellPaddingBlock:p,cellPaddingInline:g,cellPaddingBlockMD:m,cellPaddingInlineMD:v,cellPaddingBlockSM:y,cellPaddingInlineSM:b,borderColor:C,footerBg:x,footerColor:S,headerBorderRadius:w,cellFontSize:O,cellFontSizeMD:$,cellFontSizeSM:P,headerSplitColor:T,fixedHeaderSortActiveBg:R,headerFilterHoverBg:M,filterDropdownBg:A,expandIconBg:N,selectionColumnWidth:j,stickyScrollBarBg:D,calc:L}=e,B=2,k=Wn(e,{tableFontSize:O,tableBg:r,tableRadius:w,tablePaddingVertical:p,tablePaddingHorizontal:g,tablePaddingVerticalMiddle:m,tablePaddingHorizontalMiddle:v,tablePaddingVerticalSmall:y,tablePaddingHorizontalSmall:b,tableBorderColor:C,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:T,tableHeaderSortBg:l,tableHeaderSortHoverBg:s,tableBodySortBg:u,tableFixedHeaderSortActiveBg:R,tableHeaderFilterActiveBg:M,tableFilterDropdownBg:A,tableRowHoverBg:c,tableSelectedRowBg:f,tableSelectedRowHoverBg:h,zIndexTableFixed:B,zIndexTableSticky:B+1,tableFontSizeMiddle:$,tableFontSizeSmall:P,tableSelectionColumnWidth:j,tableExpandIconBg:N,tableExpandColumnWidth:L(i).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:d,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:D,tableScrollThumbBgHover:t,tableScrollBg:n});return[uIt(k),KRt(k),nge(k),iIt(k),qRt(k),jRt(k),YRt(k),HRt(k),nge(k),BRt(k),eIt(k),URt(k),aIt(k),LRt(k),nIt(k),QRt(k),cIt(k)]},dIt,{unitless:{expandIconScale:!0}}),pIt=[],hIt=(e,t)=>{var n,r;const{prefixCls:i,className:o,rootClassName:a,style:l,size:s,bordered:u,dropdownPrefixCls:c,dataSource:f,pagination:h,rowSelection:d,rowKey:p="key",rowClassName:g,columns:m,children:v,childrenColumnName:y,onChange:b,getPopupContainer:C,loading:x,expandIcon:S,expandable:w,expandedRowRender:O,expandIconColumnIndex:$,indentSize:P,scroll:T,sortDirections:R,locale:M,showSorterTooltip:A=!0,virtual:N}=e;Mh();const j=_.useMemo(()=>m||Eie(v),[m,v]),D=_.useMemo(()=>j.some(Ot=>Ot.responsive),[j]),L=sB(D),B=_.useMemo(()=>{const Ot=new Set(Object.keys(L).filter(Ct=>L[Ct]));return j.filter(Ct=>!Ct.responsive||Ct.responsive.some(mt=>Ot.has(mt)))},[j,L]),k=bi(e,["className","style","columns"]),{locale:z=Sc,direction:q,table:W,renderEmpty:U,getPrefixCls:K,getPopupContainer:X}=_.useContext(on),G=Go(s),Y=Object.assign(Object.assign({},z.Table),M),J=f||pIt,ee=K("table",i),Q=K("dropdown",c),[,te]=To(),ne=di(ee),[re,oe,se]=fIt(ee,ne),ye=Object.assign(Object.assign({childrenColumnName:y,expandIconColumnIndex:$},w),{expandIcon:(n=w==null?void 0:w.expandIcon)!==null&&n!==void 0?n:(r=W==null?void 0:W.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:be="children"}=ye,he=_.useMemo(()=>J.some(Ot=>Ot==null?void 0:Ot[be])?"nest":O||w&&w.expandedRowRender?"row":null,[J]),le={body:_.useRef()},ve=sMt(ee),ke=_.useRef(null),Ie=_.useRef(null);aMt(t,()=>Object.assign(Object.assign({},Ie.current),{nativeElement:ke.current}));const Oe=_.useMemo(()=>typeof p=="function"?p:Ot=>Ot==null?void 0:Ot[p],[p]),[Pe]=yRt(J,be,Oe),_e={},ce=function(Ot,Ct){let mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var It,nt,yt;const xt=Object.assign(Object.assign({},_e),Ot);mt&&((It=_e.resetPagination)===null||It===void 0||It.call(_e),!((nt=xt.pagination)===null||nt===void 0)&&nt.current&&(xt.pagination.current=1),h&&h.onChange&&h.onChange(1,(yt=xt.pagination)===null||yt===void 0?void 0:yt.pageSize)),T&&T.scrollToFirstRowOnChange!==!1&&le.body.current&&H0t(0,{getContainer:()=>le.body.current}),b==null||b(xt.pagination,xt.filters,xt.sorter,{currentDataSource:RQ(NQ(J,xt.sorterStates,be),xt.filterStates,be),action:Ct})},Te=(Ot,Ct)=>{ce({sorter:Ot,sorterStates:Ct},"sort",!1)},[Ne,je,He,Be]=RRt({prefixCls:ee,mergedColumns:B,onSorterChange:Te,sortDirections:R||["ascend","descend"],tableLocale:Y,showSorterTooltip:A}),qe=_.useMemo(()=>NQ(J,je,be),[J,je]);_e.sorter=Be(),_e.sorterStates=je;const me=(Ot,Ct)=>{ce({filters:Ot,filterStates:Ct},"filter",!0)},[Ee,$e,Le]=vRt({prefixCls:ee,locale:Y,dropdownPrefixCls:Q,mergedColumns:B,onFilterChange:me,getPopupContainer:C||X,rootClassName:Re(a,ne)}),Fe=RQ(qe,$e,be);_e.filters=Le,_e.filterStates=$e;const Ke=_.useMemo(()=>{const Ot={};return Object.keys(Le).forEach(Ct=>{Le[Ct]!==null&&(Ot[Ct]=Le[Ct])}),Object.assign(Object.assign({},He),{filters:Ot})},[He,Le]),[lt]=IRt(Ke),ft=(Ot,Ct)=>{ce({pagination:Object.assign(Object.assign({},_e.pagination),{current:Ot,pageSize:Ct})},"paginate")},[Ye,we]=SRt(Fe.length,ft,h);_e.pagination=h===!1?{}:CRt(Ye,h),_e.resetPagination=we;const De=_.useMemo(()=>{if(h===!1||!Ye.pageSize)return Fe;const{current:Ot=1,total:Ct,pageSize:mt=MFe}=Ye;return Fe.lengthmt?Fe.slice((Ot-1)*mt,Ot*mt):Fe:Fe.slice((Ot-1)*mt,Ot*mt)},[!!h,Fe,Ye&&Ye.current,Ye&&Ye.pageSize,Ye&&Ye.total]),[We,Ge]=iMt({prefixCls:ee,data:Fe,pageData:De,getRowKey:Oe,getRecordByKey:Pe,expandType:he,childrenColumnName:be,locale:Y,getPopupContainer:C||X},d),Je=(Ot,Ct,mt)=>{let It;return typeof g=="function"?It=Re(g(Ot,Ct,mt)):It=Re(g),Re({[`${ee}-row-selected`]:Ge.has(Oe(Ot,Ct))},It)};ye.__PARENT_RENDER_ICON__=ye.expandIcon,ye.expandIcon=ye.expandIcon||S||lMt(Y),he==="nest"&&ye.expandIconColumnIndex===void 0?ye.expandIconColumnIndex=d?1:0:ye.expandIconColumnIndex>0&&d&&(ye.expandIconColumnIndex-=1),typeof ye.indentSize!="number"&&(ye.indentSize=typeof P=="number"?P:15);const bt=_.useCallback(Ot=>lt(We(Ee(Ne(Ot)))),[Ne,Ee,We]);let at,et;if(h!==!1&&(Ye!=null&&Ye.total)){let Ot;Ye.size?Ot=Ye.size:Ot=G==="small"||G==="middle"?"small":void 0;const Ct=nt=>_.createElement(HEt,Object.assign({},Ye,{className:Re(`${ee}-pagination ${ee}-pagination-${nt}`,Ye.className),size:Ot})),mt=q==="rtl"?"left":"right",{position:It}=Ye;if(It!==null&&Array.isArray(It)){const nt=It.find(At=>At.includes("top")),yt=It.find(At=>At.includes("bottom")),xt=It.every(At=>`${At}`=="none");!nt&&!yt&&!xt&&(et=Ct(mt)),nt&&(at=Ct(nt.toLowerCase().replace("top",""))),yt&&(et=Ct(yt.toLowerCase().replace("bottom","")))}else et=Ct(mt)}let rt;typeof x=="boolean"?rt={spinning:x}:typeof x=="object"&&(rt=Object.assign({spinning:!0},x));const Ze=Re(se,ne,`${ee}-wrapper`,W==null?void 0:W.className,{[`${ee}-wrapper-rtl`]:q==="rtl"},o,a,oe),wt=Object.assign(Object.assign({},W==null?void 0:W.style),l),ut=M&&M.emptyText||(U==null?void 0:U("Table"))||_.createElement(bre,{componentName:"Table"}),ot=N?ARt:NRt,dt={},_t=_.useMemo(()=>{const{fontSize:Ot,lineHeight:Ct,padding:mt,paddingXS:It,paddingSM:nt}=te,yt=Math.floor(Ot*Ct);switch(G){case"large":return mt*2+yt;case"small":return It*2+yt;default:return nt*2+yt}},[te,G]);return N&&(dt.listItemHeight=_t),re(_.createElement("div",{ref:ke,className:Ze,style:wt},_.createElement(OBe,Object.assign({spinning:!1},rt),at,_.createElement(ot,Object.assign({},dt,k,{ref:Ie,columns:B,direction:q,expandable:ye,prefixCls:ee,className:Re({[`${ee}-middle`]:G==="middle",[`${ee}-small`]:G==="small",[`${ee}-bordered`]:u,[`${ee}-empty`]:J.length===0},se,ne,oe),data:De,rowKey:Oe,rowClassName:Je,emptyText:ut,internalHooks:SC,internalRefs:le,transformColumns:bt,getContainerWidth:ve})),et)))},gIt=_.forwardRef(hIt),mIt=(e,t)=>{const n=_.useRef(0);return n.current+=1,_.createElement(gIt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Nh=_.forwardRef(mIt);Nh.SELECTION_COLUMN=x1;Nh.EXPAND_COLUMN=zp;Nh.SELECTION_ALL=EQ;Nh.SELECTION_INVERT=$Q;Nh.SELECTION_NONE=PQ;Nh.Column=GTt;Nh.ColumnGroup=KTt;Nh.Summary=Oie;const NFe=Nh,vIt=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:o}=e,a=o(r).sub(n).equal(),l=o(t).sub(n).equal();return{[i]:Object.assign(Object.assign({},sr(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Aie=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return Wn(e,{tagFontSize:i,tagLineHeight:xe(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},kie=e=>({defaultBg:new Gn(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),AFe=vr("Tag",e=>{const t=Aie(e);return vIt(t)},kie);var yIt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,style:r,className:i,checked:o,onChange:a,onClick:l}=e,s=yIt(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:c}=_.useContext(on),f=v=>{a==null||a(!o),l==null||l(v)},h=u("tag",n),[d,p,g]=AFe(h),m=Re(h,`${h}-checkable`,{[`${h}-checkable-checked`]:o},c==null?void 0:c.className,i,p,g);return d(_.createElement("span",Object.assign({},s,{ref:t,style:Object.assign(Object.assign({},r),c==null?void 0:c.style),className:m,onClick:f})))}),CIt=bIt,SIt=e=>wke(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),xIt=Ry(["Tag","preset"],e=>{const t=Aie(e);return SIt(t)},kie);function _It(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const CM=(e,t,n)=>{const r=_It(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},wIt=Ry(["Tag","status"],e=>{const t=Aie(e);return[CM(t,"success","Success"),CM(t,"processing","Info"),CM(t,"error","Error"),CM(t,"warning","Warning")]},kie);var OIt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,children:a,icon:l,color:s,onClose:u,closeIcon:c,closable:f,bordered:h=!0}=e,d=OIt(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:p,direction:g,tag:m}=_.useContext(on),[v,y]=_.useState(!0);_.useEffect(()=>{"visible"in d&&y(d.visible)},[d.visible]);const b=yDe(s),C=M3t(s),x=b||C,S=Object.assign(Object.assign({backgroundColor:s&&!x?s:void 0},m==null?void 0:m.style),o),w=p("tag",n),[O,$,P]=AFe(w),T=Re(w,m==null?void 0:m.className,{[`${w}-${s}`]:x,[`${w}-has-color`]:s&&!x,[`${w}-hidden`]:!v,[`${w}-rtl`]:g==="rtl",[`${w}-borderless`]:!h},r,i,$,P),R=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&y(!1)},[,M]=dje(f,c??(m==null?void 0:m.closeIcon),L=>L===null?_.createElement(Ic,{className:`${w}-close-icon`,onClick:R}):_.createElement("span",{className:`${w}-close-icon`,onClick:R},L),null,!1),A=typeof d.onClick=="function"||a&&a.type==="a",N=l||null,j=N?_.createElement(_.Fragment,null,N,a&&_.createElement("span",null,a)):a,D=_.createElement("span",Object.assign({},d,{ref:t,className:T,style:S}),j,M,b&&_.createElement(xIt,{key:"preset",prefixCls:w}),C&&_.createElement(wIt,{key:"status",prefixCls:w}));return O(A?_.createElement(x$,{component:"Tag"},D):D)},kFe=_.forwardRef(EIt);kFe.CheckableTag=CIt;const o7=kFe,$It=e=>{const t=e!=null&&e.algorithm?i4(e.algorithm):i4(y$),n=Object.assign(Object.assign({},a4),e==null?void 0:e.token);return kne(n,{override:e==null?void 0:e.token},t,Une)},PIt=$It;function TIt(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const MIt=(e,t)=>{const n=t??y$(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),TIt(t??e)),fke(r)),{controlHeight:i}),uke(Object.assign(Object.assign({},n),{controlHeight:i})))},RIt=MIt,rp=(e,t)=>new Gn(e).setAlpha(t).toRgbString(),Zb=(e,t)=>new Gn(e).lighten(t).toHexString(),IIt=e=>{const t=Af(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},NIt=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:rp(r,.85),colorTextSecondary:rp(r,.65),colorTextTertiary:rp(r,.45),colorTextQuaternary:rp(r,.25),colorFill:rp(r,.18),colorFillSecondary:rp(r,.12),colorFillTertiary:rp(r,.08),colorFillQuaternary:rp(r,.04),colorBgElevated:Zb(n,12),colorBgContainer:Zb(n,8),colorBgLayout:Zb(n,0),colorBgSpotlight:Zb(n,26),colorBgBlur:rp(r,.04),colorBorder:Zb(n,26),colorBorderSecondary:Zb(n,19)}},AIt=(e,t)=>{const n=Object.keys(Wne).map(i=>{const o=Af(e[i],{theme:"dark"});return new Array(10).fill(1).reduce((a,l,s)=>(a[`${i}-${s+1}`]=o[s],a[`${i}${s+1}`]=o[s],a),{})}).reduce((i,o)=>(i=Object.assign(Object.assign({},i),o),i),{}),r=t??y$(e);return Object.assign(Object.assign(Object.assign({},r),n),dke(e,{generateColorPalettes:IIt,generateNeutralColorPalettes:NIt}))},kIt=AIt;function jIt(){const[e,t,n]=To();return{theme:e,token:t,hashId:n}}const jFe={defaultConfig:qE,defaultSeed:qE.token,useToken:jIt,defaultAlgorithm:y$,darkAlgorithm:kIt,compactAlgorithm:RIt,getDesignToken:PIt};function DIt(e){var t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,r=e.getBoundingClientRect(),i=r.top,o=r.right,a=r.bottom,l=r.left;return i>=0&&l>=0&&o<=t&&a<=n}function LIt(e,t,n){var r;return(r=n??t)!==null&&r!==void 0?r:e===null?"center":"bottom"}function zIt(e,t,n,r){var i=_.useState(void 0),o=Me(i,2),a=o[0],l=o[1];er(function(){var g=typeof e=="function"?e():e;l(g||null)});var s=_.useState(null),u=Me(s,2),c=u[0],f=u[1],h=ir(function(){if(a){!DIt(a)&&t&&a.scrollIntoView(r);var g=a.getBoundingClientRect(),m=g.left,v=g.top,y=g.width,b=g.height,C={left:m,top:v,width:y,height:b,radius:0};f(function(x){return JSON.stringify(x)!==JSON.stringify(C)?C:x})}else f(null)}),d=function(m){var v;return(v=Array.isArray(n==null?void 0:n.offset)?n==null?void 0:n.offset[m]:n==null?void 0:n.offset)!==null&&v!==void 0?v:6};er(function(){return h(),window.addEventListener("resize",h),function(){window.removeEventListener("resize",h)}},[a,t,h]);var p=_.useMemo(function(){if(!c)return c;var g=d(0),m=d(1),v=(n==null?void 0:n.radius)||2;return{left:c.left-g,top:c.top-m,width:c.width+g*2,height:c.height+m*2,radius:v}},[c,n]);return[p,a]}var SM={fill:"transparent",pointerEvents:"auto"},BIt=function(t){var n=t.prefixCls,r=t.rootClassName,i=t.pos,o=t.showMask,a=t.style,l=a===void 0?{}:a,s=t.fill,u=s===void 0?"rgba(0,0,0,0.5)":s,c=t.open,f=t.animated,h=t.zIndex,d=t.disabledInteraction,p=are(),g="".concat(n,"-mask-").concat(p),m=bn(f)==="object"?f==null?void 0:f.placeholder:f,v=typeof navigator<"u"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),y=v?{width:"100%",height:"100%"}:{width:"100vw",height:"100vh"};return Se.createElement(Ny,{open:c,autoLock:!0},Se.createElement("div",{className:Re("".concat(n,"-mask"),r),style:fe({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:h,pointerEvents:i&&!d?"none":"auto"},l)},o?Se.createElement("svg",{style:{width:"100%",height:"100%"}},Se.createElement("defs",null,Se.createElement("mask",{id:g},Se.createElement("rect",Qe({x:"0",y:"0"},y,{fill:"white"})),i&&Se.createElement("rect",{x:i.left,y:i.top,rx:i.radius,width:i.width,height:i.height,fill:"black",className:m?"".concat(n,"-placeholder-animated"):""}))),Se.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:u,mask:"url(#".concat(g,")")}),i&&Se.createElement(Se.Fragment,null,Se.createElement("rect",Qe({},SM,{x:"0",y:"0",width:"100%",height:i.top})),Se.createElement("rect",Qe({},SM,{x:"0",y:"0",width:i.left,height:"100%"})),Se.createElement("rect",Qe({},SM,{x:"0",y:i.top+i.height,width:"100%",height:"calc(100vh - ".concat(i.top+i.height,"px)")})),Se.createElement("rect",Qe({},SM,{x:i.left+i.width,y:"0",width:"calc(100vw - ".concat(i.left+i.width,"px)"),height:"100%"})))):null))},FIt=[0,0],rge={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function DFe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t={};return Object.keys(rge).forEach(function(n){t[n]=fe(fe({},rge[n]),{},{autoArrow:e,targetOffset:FIt})}),t}DFe();function HIt(e){var t=e.prefixCls,n=e.current,r=e.total,i=e.title,o=e.description,a=e.onClose,l=e.onPrev,s=e.onNext,u=e.onFinish,c=e.className,f=e.closeIcon,h=f!==!1&&f!==null,d=f!==void 0&&f!==!0?f:_.createElement("span",{className:"".concat(t,"-close-x")},"×");return _.createElement("div",{className:Re("".concat(t,"-content"),c)},_.createElement("div",{className:"".concat(t,"-inner")},h&&_.createElement("button",{type:"button",onClick:a,"aria-label":"Close",className:"".concat(t,"-close")},d),_.createElement("div",{className:"".concat(t,"-header")},_.createElement("div",{className:"".concat(t,"-title")},i)),_.createElement("div",{className:"".concat(t,"-description")},o),_.createElement("div",{className:"".concat(t,"-footer")},_.createElement("div",{className:"".concat(t,"-sliders")},r>1?vt(Array.from({length:r}).keys()).map(function(p,g){return _.createElement("span",{key:p,className:g===n?"active":""})}):null),_.createElement("div",{className:"".concat(t,"-buttons")},n!==0?_.createElement("button",{className:"".concat(t,"-prev-btn"),onClick:l},"Prev"):null,n===r-1?_.createElement("button",{className:"".concat(t,"-finish-btn"),onClick:u},"Finish"):_.createElement("button",{className:"".concat(t,"-next-btn"),onClick:s},"Next")))))}var WIt=function(t){var n=t.current,r=t.renderPanel;return _.createElement(_.Fragment,null,typeof r=="function"?r(t,n):_.createElement(HIt,t))},qIt=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon","builtinPlacements","disabledInteraction"],VIt={left:"50%",top:"50%",width:1,height:1},ige={block:"center",inline:"center"},UIt=function(t){var n=t.prefixCls,r=n===void 0?"rc-tour":n,i=t.steps,o=i===void 0?[]:i,a=t.defaultCurrent,l=t.current,s=t.onChange,u=t.onClose,c=t.onFinish,f=t.open,h=t.mask,d=h===void 0?!0:h,p=t.arrow,g=p===void 0?!0:p,m=t.rootClassName,v=t.placement,y=t.renderPanel,b=t.gap,C=t.animated,x=t.scrollIntoViewOptions,S=x===void 0?ige:x,w=t.zIndex,O=w===void 0?1001:w,$=t.closeIcon,P=t.builtinPlacements,T=t.disabledInteraction,R=an(t,qIt),M=_.useRef(),A=zn(0,{value:l,defaultValue:a}),N=Me(A,2),j=N[0],D=N[1],L=zn(void 0,{value:f,postState:function(He){return j<0||j>=o.length?!1:He??!0}}),B=Me(L,2),k=B[0],z=B[1],q=_.useRef(k);er(function(){k&&!q.current&&D(0),q.current=k},[k]);var W=o[j]||{},U=W.target,K=W.placement,X=W.style,G=W.arrow,Y=W.className,J=W.mask,ee=W.scrollIntoViewOptions,Q=ee===void 0?ige:ee,te=W.closeIcon,ne=k&&(J??d),re=te??$,oe=Q??S,se=zIt(U,f,b,oe),ye=Me(se,2),be=ye[0],he=ye[1],le=LIt(he,v,K),ve=he?typeof G>"u"?g:G:!1,ke=bn(ve)==="object"?ve.pointAtCenter:!1;er(function(){var je;(je=M.current)===null||je===void 0||je.forceAlign()},[ke,j]);var Ie=function(He){D(He),s==null||s(He)},Oe=_.useMemo(function(){return P?typeof P=="function"?P({arrowPointAtCenter:ke}):P:DFe(ke)},[P,ke]);if(he===void 0)return null;var Pe=function(){z(!1),u==null||u(j)},_e=function(){return _.createElement(WIt,Qe({arrow:ve,key:"content",prefixCls:r,total:o.length,renderPanel:y,onPrev:function(){Ie(j-1)},onNext:function(){Ie(j+1)},onClose:Pe,current:j,onFinish:function(){Pe(),c==null||c()},closeIcon:re},o[j]))},ce=typeof ne=="boolean"?ne:!!ne,Te=typeof ne=="boolean"?void 0:ne,Ne=function(He){return He||he||document.body};return _.createElement(_.Fragment,null,_.createElement(BIt,{zIndex:O,prefixCls:r,pos:be,showMask:ce,style:Te==null?void 0:Te.style,fill:Te==null?void 0:Te.color,open:k,animated:C,rootClassName:m,disabledInteraction:T}),_.createElement(ky,Qe({},R,{builtinPlacements:Oe,ref:M,popupStyle:X,popupPlacement:le,popupVisible:k,popupClassName:Re(m,Y),prefixCls:r,popup:_e,forceRender:!1,destroyPopupOnHide:!0,zIndex:O,getTriggerDOMNode:Ne,arrow:!!ve}),_.createElement(Ny,{open:k,autoLock:!0},_.createElement("div",{className:Re(m,"".concat(r,"-target-placeholder")),style:fe(fe({},be||VIt),{},{position:"fixed",pointerEvents:"none"})}))))};const GIt=Object.freeze(Object.defineProperty({__proto__:null,default:UIt},Symbol.toStringTag,{value:"Module"}));var KIt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};const XIt=KIt;var YIt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:XIt}))};const LFe=_.forwardRef(YIt),ZIt=function(e){var t=_.useRef({valueLabels:new Map});return _.useMemo(function(){var n=t.current.valueLabels,r=new Map,i=e.map(function(o){var a,l=o.value,s=(a=o.label)!==null&&a!==void 0?a:n.get(l);return r.set(l,s),fe(fe({},o),{},{label:s})});return t.current.valueLabels=r,[i]},[e])},QIt=function(e,t,n,r){return _.useMemo(function(){var i=e.map(function(s){var u=s.value;return u}),o=t.map(function(s){var u=s.value;return u}),a=i.filter(function(s){return!r[s]});if(n){var l=ou(i,!0,r);i=l.checkedKeys,o=l.halfCheckedKeys}return[Array.from(new Set([].concat(vt(a),vt(i)))),o]},[e,t,n,r])};function JIt(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function eNt(e){var t=e||{},n=t.label,r=t.value,i=t.children,o=r||"value";return{_title:n?[n]:["title","label"],value:o,key:o,children:i||"children"}}function AQ(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function tNt(e,t){var n=[];function r(i){i.forEach(function(o){var a=o[t.children];a&&(n.push(o[t.value]),r(a))})}return r(e),n}function oge(e){return e==null}const nNt=function(e,t){return _.useMemo(function(){var n=A$(e,{fieldNames:t,initWrapper:function(i){return fe(fe({},i),{},{valueEntities:new Map})},processEntity:function(i,o){var a=i.node[t.value];o.valueEntities.set(a,i)}});return n},[e,t])};var LB=function(){return null},rNt=["children","value"];function zFe(e){return Wo(e).map(function(t){if(!_.isValidElement(t)||!t.type)return null;var n=t,r=n.key,i=n.props,o=i.children,a=i.value,l=an(i,rNt),s=fe({key:r,value:a},l),u=zFe(o);return u.length&&(s.children=u),s}).filter(function(t){return t})}function kQ(e){if(!e)return e;var t=fe({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Dr(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function iNt(e,t,n,r,i,o){var a=null,l=null;function s(){function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return c.map(function(d,p){var g="".concat(f,"-").concat(p),m=d[o.value],v=n.includes(m),y=u(d[o.children]||[],g,v),b=_.createElement(LB,d,y.map(function(x){return x.node}));if(t===m&&(a=b),v){var C={pos:g,node:b,children:y};return h||l.push(C),C}return null}).filter(function(d){return d})}l||(l=[],u(r),l.sort(function(c,f){var h=c.node.props.value,d=f.node.props.value,p=n.indexOf(h),g=n.indexOf(d);return p-g}))}Object.defineProperty(e,"triggerNode",{get:function(){return Dr(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Dr(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),i?l:l.map(function(c){var f=c.node;return f})}})}const oNt=function(e,t,n){var r=n.treeNodeFilterProp,i=n.filterTreeNode,o=n.fieldNames,a=o.children;return _.useMemo(function(){if(!t||i===!1)return e;var l;if(typeof i=="function")l=i;else{var s=t.toUpperCase();l=function(f,h){var d=h[r];return String(d).toUpperCase().includes(s)}}function u(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return c.reduce(function(h,d){var p=d[a],g=f||l(t,kQ(d)),m=u(p||[],g);return(g||m.length)&&h.push(fe(fe({},d),{},ue({isLeaf:void 0},a,m))),h},[])}return u(e)},[e,t,a,r,i])};function age(e){var t=_.useRef();t.current=e;var n=_.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function aNt(e,t){var n=t.id,r=t.pId,i=t.rootPId,o={},a=[],l=e.map(function(s){var u=fe({},s),c=u[n];return o[c]=u,u.key=u.key||c,u});return l.forEach(function(s){var u=s[r],c=o[u];c&&(c.children=c.children||[],c.children.push(s)),(u===i||!c&&i===null)&&a.push(s)}),a}function lNt(e,t,n){return _.useMemo(function(){return e?n?aNt(e,fe({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:zFe(t)},[t,n,e])}var BFe=_.createContext(null),FFe=_.createContext(null),sNt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},cNt=function(t,n){var r=Jz(),i=r.prefixCls,o=r.multiple,a=r.searchValue,l=r.toggleOpen,s=r.open,u=r.notFoundContent,c=_.useContext(FFe),f=c.virtual,h=c.listHeight,d=c.listItemHeight,p=c.listItemScrollOffset,g=c.treeData,m=c.fieldNames,v=c.onSelect,y=c.dropdownMatchSelectWidth,b=c.treeExpandAction,C=c.treeTitleRender,x=_.useContext(BFe),S=x.checkable,w=x.checkedKeys,O=x.halfCheckedKeys,$=x.treeExpandedKeys,P=x.treeDefaultExpandAll,T=x.treeDefaultExpandedKeys,R=x.onTreeExpand,M=x.treeIcon,A=x.showTreeIcon,N=x.switcherIcon,j=x.treeLine,D=x.treeNodeFilterProp,L=x.loadData,B=x.treeLoadedKeys,k=x.treeMotion,z=x.onTreeLoad,q=x.keyEntities,W=_.useRef(),U=Th(function(){return g},[s,g],function(_e,ce){return ce[0]&&_e[1]!==ce[1]}),K=_.useState(null),X=Me(K,2),G=X[0],Y=X[1],J=q[G],ee=_.useMemo(function(){return S?{checked:w,halfChecked:O}:null},[S,w,O]);_.useEffect(function(){if(s&&!o&&w.length){var _e;(_e=W.current)===null||_e===void 0||_e.scrollTo({key:w[0]}),Y(w[0])}},[s]);var Q=String(a).toLowerCase(),te=function(ce){return Q?String(ce[D]).toLowerCase().includes(Q):!1},ne=_.useState(T),re=Me(ne,2),oe=re[0],se=re[1],ye=_.useState(null),be=Me(ye,2),he=be[0],le=be[1],ve=_.useMemo(function(){return $?vt($):a?he:oe},[oe,he,$,a]);_.useEffect(function(){a&&le(tNt(g,m))},[a]);var ke=function(ce){se(ce),le(ce),R&&R(ce)},Ie=function(ce){ce.preventDefault()},Oe=function(ce,Te){var Ne=Te.node;S&&AQ(Ne)||(v(Ne.key,{selected:!w.includes(Ne.key)}),o||l(!1))};if(_.useImperativeHandle(n,function(){var _e;return{scrollTo:(_e=W.current)===null||_e===void 0?void 0:_e.scrollTo,onKeyDown:function(Te){var Ne,je=Te.which;switch(je){case ht.UP:case ht.DOWN:case ht.LEFT:case ht.RIGHT:(Ne=W.current)===null||Ne===void 0||Ne.onKeyDown(Te);break;case ht.ENTER:{if(J){var He=(J==null?void 0:J.node)||{},Be=He.selectable,qe=He.value;Be!==!1&&Oe(null,{node:{key:G},selected:!w.includes(qe)})}break}case ht.ESC:l(!1)}},onKeyUp:function(){}}}),U.length===0)return _.createElement("div",{role:"listbox",className:"".concat(i,"-empty"),onMouseDown:Ie},u);var Pe={fieldNames:m};return B&&(Pe.loadedKeys=B),ve&&(Pe.expandedKeys=ve),_.createElement("div",{onMouseDown:Ie},J&&s&&_.createElement("span",{style:sNt,"aria-live":"assertive"},J.node.value),_.createElement(B$,Qe({ref:W,focusable:!1,prefixCls:"".concat(i,"-tree"),treeData:U,height:h,itemHeight:d,itemScrollOffset:p,virtual:f!==!1&&y!==!1,multiple:o,icon:M,showIcon:A,switcherIcon:N,showLine:j,loadData:a?null:L,motion:k,activeKey:G,checkable:S,checkStrictly:!0,checkedKeys:ee,selectedKeys:S?[]:w,defaultExpandAll:P,titleRender:C},Pe,{onActiveChange:Y,onSelect:Oe,onCheck:Oe,onExpand:ke,onLoad:z,filterTreeNode:te,expandAction:b})))},uNt=_.forwardRef(cNt),zB="SHOW_ALL",BB="SHOW_PARENT",F$="SHOW_CHILD";function lge(e,t,n,r){var i=new Set(e);return t===F$?e.filter(function(o){var a=n[o];return!(a&&a.children&&a.children.some(function(l){var s=l.node;return i.has(s[r.value])})&&a.children.every(function(l){var s=l.node;return AQ(s)||i.has(s[r.value])}))}):t===BB?e.filter(function(o){var a=n[o],l=a?a.parent:null;return!(l&&!AQ(l.node)&&i.has(l.key))}):e}var dNt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender"];function fNt(e){return!e||bn(e)!=="object"}var pNt=_.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tree-select":r,o=e.value,a=e.defaultValue,l=e.onChange,s=e.onSelect,u=e.onDeselect,c=e.searchValue,f=e.inputValue,h=e.onSearch,d=e.autoClearSearchValue,p=d===void 0?!0:d,g=e.filterTreeNode,m=e.treeNodeFilterProp,v=m===void 0?"value":m,y=e.showCheckedStrategy,b=e.treeNodeLabelProp,C=e.multiple,x=e.treeCheckable,S=e.treeCheckStrictly,w=e.labelInValue,O=e.fieldNames,$=e.treeDataSimpleMode,P=e.treeData,T=e.children,R=e.loadData,M=e.treeLoadedKeys,A=e.onTreeLoad,N=e.treeDefaultExpandAll,j=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,L=e.onTreeExpand,B=e.treeExpandAction,k=e.virtual,z=e.listHeight,q=z===void 0?200:z,W=e.listItemHeight,U=W===void 0?20:W,K=e.listItemScrollOffset,X=K===void 0?0:K,G=e.onDropdownVisibleChange,Y=e.dropdownMatchSelectWidth,J=Y===void 0?!0:Y,ee=e.treeLine,Q=e.treeIcon,te=e.showTreeIcon,ne=e.switcherIcon,re=e.treeMotion,oe=e.treeTitleRender,se=an(e,dNt),ye=vre(n),be=x&&!S,he=x||S,le=S||w,ve=he||C,ke=zn(a,{value:o}),Ie=Me(ke,2),Oe=Ie[0],Pe=Ie[1],_e=_.useMemo(function(){return x?y||F$:zB},[y,x]),ce=_.useMemo(function(){return eNt(O)},[JSON.stringify(O)]),Te=zn("",{value:c!==void 0?c:f,postState:function(yt){return yt||""}}),Ne=Me(Te,2),je=Ne[0],He=Ne[1],Be=function(yt){He(yt),h==null||h(yt)},qe=lNt(P,T,$),me=nNt(qe,ce),Ee=me.keyEntities,$e=me.valueEntities,Le=_.useCallback(function(nt){var yt=[],xt=[];return nt.forEach(function(At){$e.has(At)?xt.push(At):yt.push(At)}),{missingRawValues:yt,existRawValues:xt}},[$e]),Fe=oNt(qe,je,{fieldNames:ce,treeNodeFilterProp:v,filterTreeNode:g}),Ke=_.useCallback(function(nt){if(nt){if(b)return nt[b];for(var yt=ce._title,xt=0;xt{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${xe(e.paddingXS)} ${xe(e.calc(e.paddingXS).div(2).equal())}`},SFe(n,Wn(e,{colorBgContainer:r})),{[i]:{borderRadius:0,[`${i}-list-holder-inner`]:{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},tie(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function mNt(e,t,n){return vr("TreeSelect",r=>{const i=Wn(r,{treePrefixCls:t});return[gNt(i)]},xFe)(e,n)}var vNt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{prefixCls:r,size:i,disabled:o,bordered:a=!0,className:l,rootClassName:s,treeCheckable:u,multiple:c,listHeight:f=256,listItemHeight:h=26,placement:d,notFoundContent:p,switcherIcon:g,treeLine:m,getPopupContainer:v,popupClassName:y,dropdownClassName:b,treeIcon:C=!1,transitionName:x,choiceTransitionName:S="",status:w,treeExpandAction:O,builtinPlacements:$,dropdownMatchSelectWidth:P,popupMatchSelectWidth:T,allowClear:R,variant:M,dropdownStyle:A,tagRender:N}=e,j=vNt(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:D,getPrefixCls:L,renderEmpty:B,direction:k,virtual:z,popupMatchSelectWidth:q,popupOverflow:W}=_.useContext(on),U=L(),K=L("select",r),X=L("select-tree",r),G=L("tree-select",r),{compactSize:Y,compactItemClassnames:J}=Ih(K,k),ee=di(K),Q=di(G),[te,ne,re]=lDe(K,ee),[oe]=mNt(G,X,Q),[se,ye]=Dy(M,a),be=Re(y||b,`${G}-dropdown`,{[`${G}-dropdown-rtl`]:k==="rtl"},s,re,ee,Q,ne),he=!!(u||c),le=sDe(j.suffixIcon,j.showArrow),ve=(n=T??P)!==null&&n!==void 0?n:q,{status:ke,hasFeedback:Ie,isFormItemInput:Oe,feedbackIcon:Pe}=_.useContext(la),_e=jy(ke,w),{suffixIcon:ce,removeIcon:Te,clearIcon:Ne}=xre(Object.assign(Object.assign({},j),{multiple:he,showSuffixIcon:le,hasFeedback:Ie,feedbackIcon:Pe,prefixCls:K,componentName:"TreeSelect"})),je=R===!0?{clearIcon:Ne}:R;let He;p!==void 0?He=p:He=(B==null?void 0:B("Select"))||_.createElement(bre,{componentName:"Select"});const Be=bi(j,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),qe=_.useMemo(()=>d!==void 0?d:k==="rtl"?"bottomRight":"bottomLeft",[d,k]),me=Go(ft=>{var Ye;return(Ye=i??Y)!==null&&Ye!==void 0?Ye:ft}),Ee=_.useContext(es),$e=o??Ee,Le=Re(!r&&G,{[`${K}-lg`]:me==="large",[`${K}-sm`]:me==="small",[`${K}-rtl`]:k==="rtl",[`${K}-${se}`]:ye,[`${K}-in-form-item`]:Oe},jf(K,_e,Ie),J,l,s,re,ee,Q,ne),Fe=ft=>_.createElement(_Fe,{prefixCls:X,switcherIcon:g,treeNodeProps:ft,showLine:m}),[Ke]=Hf("SelectLike",A==null?void 0:A.zIndex),lt=_.createElement(_C,Object.assign({virtual:z,disabled:$e},Be,{dropdownMatchSelectWidth:ve,builtinPlacements:iDe($,W),ref:t,prefixCls:K,className:Le,listHeight:f,listItemHeight:h,treeCheckable:u&&_.createElement("span",{className:`${K}-tree-checkbox-inner`}),treeLine:!!m,suffixIcon:ce,multiple:he,placement:qe,removeIcon:Te,allowClear:je,switcherIcon:Fe,showTreeIcon:C,notFoundContent:He,getPopupContainer:v||D,treeMotion:null,dropdownClassName:be,dropdownStyle:Object.assign(Object.assign({},A),{zIndex:Ke}),choiceTransitionName:As(U,"",S),transitionName:As(U,"slide-up",x),treeExpandAction:O,tagRender:he?N:void 0}));return te(oe(lt))},bNt=_.forwardRef(yNt),Vy=bNt,CNt=fC(Vy);Vy.TreeNode=LB;Vy.SHOW_ALL=zB;Vy.SHOW_PARENT=BB;Vy.SHOW_CHILD=F$;Vy._InternalPanelDoNotUseOrYouWillBeFired=CNt;const HFe=Vy;var SNt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};const xNt=SNt;var _Nt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:xNt}))};const wNt=_.forwardRef(_Nt);var NV,sge;function ONt(){return sge||(sge=1,NV=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var m=t[a.format]||t.default;window.clipboardData.setData(m,o)}else g.clipboardData.clearData(),g.clipboardData.setData(a.format,o);a.onCopy&&(g.preventDefault(),a.onCopy(g.clipboardData))}),document.body.appendChild(h),c.selectNodeContents(h),f.addRange(c);var p=document.execCommand("copy");if(!p)throw new Error("copy command was unsuccessful");d=!0}catch(g){l&&console.error("unable to copy using execCommand: ",g),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),d=!0}catch(m){l&&console.error("unable to copy using clipboardData: ",m),l&&console.error("falling back to prompt"),s=r("message"in a?a.message:n),window.prompt(s,o)}}finally{f&&(typeof f.removeRange=="function"?f.removeRange(c):f.removeAllRanges()),h&&document.body.removeChild(h),u()}return d}return AV=i,AV}const kV=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some(function(a){var l=a.trim();if(/^\*(\/\*)?$/.test(a))return!0;if(l.charAt(0)==="."){var s=r.toLowerCase(),u=l.toLowerCase(),c=[u];return(u===".jpg"||u===".jpeg")&&(c=[".jpg",".jpeg"]),c.some(function(f){return s.endsWith(f)})}return/\/\*$/.test(l)?o===l.replace(/\/.*$/,""):i===l?!0:/^\w+$/.test(l)?(Dr(!1,"Upload takes an invalidate 'accept' type '".concat(l,"'.Skip for check.")),!0):!1})}return!0};function $Nt(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function uge(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function PNt(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(i){var o=e.data[i];if(Array.isArray(o)){o.forEach(function(a){n.append("".concat(i,"[]"),a)});return}n.append(i,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError($Nt(e,t),uge(t)):e.onSuccess(uge(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(i){r[i]!==null&&t.setRequestHeader(i,r[i])}),t.send(n),{abort:function(){t.abort()}}}function TNt(e,t){var n=e.createReader(),r=[];function i(){n.readEntries(function(o){var a=Array.prototype.slice.apply(o);r=r.concat(a);var l=!a.length;l?t(r):i()})}i()}var MNt=function(t,n,r){var i=function o(a,l){a&&(a.path=l||"",a.isFile?a.file(function(s){r(s)&&(a.fullPath&&!s.webkitRelativePath&&(Object.defineProperties(s,{webkitRelativePath:{writable:!0}}),s.webkitRelativePath=a.fullPath.replace(/^\//,""),Object.defineProperties(s,{webkitRelativePath:{writable:!1}})),n([s]))}):a.isDirectory&&TNt(a,function(s){s.forEach(function(u){o(u,"".concat(l).concat(a.name,"/"))})}))};t.forEach(function(o){i(o.webkitGetAsEntry())})},RNt=+new Date,INt=0;function jV(){return"rc-upload-".concat(RNt,"-").concat(++INt)}var NNt=["component","prefixCls","className","classNames","disabled","id","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],ANt=function(e){ua(n,e);var t=ul(n);function n(){var r;Yr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${xe(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${xe(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${t}-disabled):hover, &-hover:not(${t}-disabled) `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${xe(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, p${t}-text, p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},LNt=DNt,zNt=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o,calc:a}=e,l=`${t}-list-item`,s=`${l}-actions`,u=`${l}-action`,c=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},Od()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:a(e.lineHeight).mul(i).equal(),marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:Object.assign(Object.assign({},xc),{padding:`0 ${xe(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + `]:{color:e.colorTextDisabled}}}}}},DNt=jNt,LNt=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:i,lineHeight:o,calc:a}=e,l=`${t}-list-item`,s=`${l}-actions`,u=`${l}-action`,c=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},Od()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:a(e.lineHeight).mul(i).equal(),marginTop:e.marginXS,fontSize:i,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:Object.assign(Object.assign({},xc),{padding:`0 ${xe(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` ${u}:focus-visible, &.picture ${u} - `]:{opacity:1},[`${u}${n}-btn`]:{height:c,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${l}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(i).add(e.paddingXS).equal(),fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${u}`]:{opacity:1},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${r}`]:{color:e.colorError},[s]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},BNt=zNt,uge=new lr("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),dge=new lr("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),FNt=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:uge},[`${n}-leave`]:{animationName:dge}}},{[`${t}-wrapper`]:dre(e)},uge,dge]},HNt=FNt,WNt=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[` + `]:{opacity:1},[`${u}${n}-btn`]:{height:c,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:i},[`${l}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:a(i).add(e.paddingXS).equal(),fontSize:i,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${l}:hover ${u}`]:{opacity:1},[`${l}-error`]:{color:e.colorError,[`${l}-name, ${t}-icon ${r}`]:{color:e.colorError},[s]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},zNt=LNt,dge=new lr("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),fge=new lr("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),BNt=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:dge},[`${n}-leave`]:{animationName:fge}}},{[`${t}-wrapper`]:pre(e)},dge,fge]},FNt=BNt,HNt=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`;return{[`${t}-wrapper`]:{[` ${a}${a}-picture, ${a}${a}-picture-card, ${a}${a}-picture-circle - `]:{[l]:{position:"relative",height:o(r).add(o(e.lineWidth).mul(2)).add(o(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},xc),{width:r,height:r,lineHeight:xe(o(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:i,width:`calc(100% - ${xe(o(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:o(r).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{[`svg path[fill='${Kj[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${Kj.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:i}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},qNt=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[` + `]:{[l]:{position:"relative",height:o(r).add(o(e.lineWidth).mul(2)).add(o(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${xe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${l}-thumbnail`]:Object.assign(Object.assign({},xc),{width:r,height:r,lineHeight:xe(o(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${l}-progress`]:{bottom:i,width:`calc(100% - ${xe(o(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:o(r).add(e.paddingXS).equal()}},[`${l}-error`]:{borderColor:e.colorError,[`${l}-thumbnail ${n}`]:{[`svg path[fill='${Xj[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${Xj.primary}']`]:{fill:e.colorError}}},[`${l}-uploading`]:{borderStyle:"dashed",[`${l}-name`]:{marginBottom:i}}},[`${a}${a}-picture-circle ${l}`]:{[`&, &::before, ${l}-thumbnail`]:{borderRadius:"50%"}}}}},WNt=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:o}=e,a=`${t}-list`,l=`${a}-item`,s=e.uploadPicCardSize;return{[` ${t}-wrapper${t}-picture-card-wrapper, ${t}-wrapper${t}-picture-circle-wrapper `]:Object.assign(Object.assign({},Od()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:s,height:s,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${xe(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{[`${a}-item-container`]:{display:"inline-block",width:s,height:s,marginBlock:`0 ${xe(e.marginXS)}`,marginInline:`0 ${xe(e.marginXS)}`,verticalAlign:"top"},"&::after":{display:"none"},[l]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${l}:hover`]:{[`&::before, ${l}-actions`]:{opacity:1}},[`${l}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${xe(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},VNt=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},UNt=VNt,GNt=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},sr(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},KNt=e=>({actionsColor:e.colorTextDescription}),XNt=vr("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:i,calc:o}=e,a=Wn(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(i).mul(2.55).equal()});return[GNt(a),LNt(a),WNt(a),qNt(a),BNt(a),HNt(a),UNt(a),O$(a)]},KNt);var YNt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};const ZNt=YNt;var QNt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:ZNt}))};const JNt=_.forwardRef(QNt);var eAt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const tAt=eAt;var nAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:tAt}))};const rAt=_.forwardRef(nAt);var iAt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};const oAt=iAt;var aAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:oAt}))};const lAt=_.forwardRef(aAt);function SM(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function xM(e,t){const n=vt(t),r=n.findIndex(i=>{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function DV(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function sAt(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const cAt=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},HFe=e=>e.indexOf("image/")===0,uAt=e=>{if(e.type&&!e.thumbUrl)return HFe(e.type);const t=e.thumbUrl||e.url||"",n=cAt(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},n1=200;function dAt(e){return new Promise(t=>{if(!e.type||!HFe(e.type)){t("");return}const n=document.createElement("canvas");n.width=n1,n.height=n1,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${n1}px; height: ${n1}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let l=n1,s=n1,u=0,c=0;o>a?(s=a*(n1/o),c=-(s-l)/2):(l=o*(n1/a),u=-(l-s)/2),r.drawImage(i,u,c,l,s);const f=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(f)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(i.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var fAt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const pAt=fAt;var hAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:pAt}))};const gAt=_.forwardRef(hAt),mAt=_.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,locale:o,listType:a,file:l,items:s,progress:u,iconRender:c,actionIconRender:f,itemRender:h,isImgUrl:d,showPreviewIcon:p,showRemoveIcon:g,showDownloadIcon:m,previewIcon:v,removeIcon:y,downloadIcon:b,onPreview:C,onDownload:x,onClose:S}=e;var w,O;const{status:$}=l,[P,T]=_.useState($);_.useEffect(()=>{$!=="removed"&&T($)},[$]);const[R,M]=_.useState(!1);_.useEffect(()=>{const ee=setTimeout(()=>{M(!0)},300);return()=>{clearTimeout(ee)}},[]);const A=c(l);let N=_.createElement("div",{className:`${n}-icon`},A);if(a==="picture"||a==="picture-card"||a==="picture-circle")if(P==="uploading"||!l.thumbUrl&&!l.url){const ee=Re(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:P!=="uploading"});N=_.createElement("div",{className:ee},A)}else{const ee=d!=null&&d(l)?_.createElement("img",{src:l.thumbUrl||l.url,alt:l.name,className:`${n}-list-item-image`,crossOrigin:l.crossOrigin}):A,Q=Re(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:d&&!d(l)});N=_.createElement("a",{className:Q,onClick:te=>C(l,te),href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ee)}const k=Re(`${n}-list-item`,`${n}-list-item-${P}`),D=typeof l.linkProps=="string"?JSON.parse(l.linkProps):l.linkProps,L=g?f((typeof y=="function"?y(l):y)||_.createElement(DFe,null),()=>S(l),n,o.removeFile,!0):null,B=m&&P==="done"?f((typeof b=="function"?b(l):b)||_.createElement(gAt,null),()=>x(l),n,o.downloadFile):null,j=a!=="picture-card"&&a!=="picture-circle"&&_.createElement("span",{key:"download-delete",className:Re(`${n}-list-item-actions`,{picture:a==="picture"})},B,L),z=Re(`${n}-list-item-name`),V=l.url?[_.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:z,title:l.name},D,{href:l.url,onClick:ee=>C(l,ee)}),l.name),j]:[_.createElement("span",{key:"view",className:z,onClick:ee=>C(l,ee),title:l.name},l.name),j],W=p&&(l.url||l.thumbUrl)?_.createElement("a",{href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:ee=>C(l,ee),title:o.previewFile},typeof v=="function"?v(l):v||_.createElement(aie,null)):null,U=(a==="picture-card"||a==="picture-circle")&&P!=="uploading"&&_.createElement("span",{className:`${n}-list-item-actions`},W,P==="done"&&B,L),{getPrefixCls:K}=_.useContext(on),X=K(),G=_.createElement("div",{className:k},N,V,U,R&&_.createElement(aa,{motionName:`${X}-fade`,visible:P==="uploading",motionDeadline:2e3},ee=>{let{className:Q}=ee;const te="percent"in l?_.createElement(B9,Object.assign({},u,{type:"line",percent:l.percent,"aria-label":l["aria-label"],"aria-labelledby":l["aria-labelledby"]})):null;return _.createElement("div",{className:Re(`${n}-list-item-progress`,Q)},te)})),Y=l.response&&typeof l.response=="string"?l.response:((w=l.error)===null||w===void 0?void 0:w.statusText)||((O=l.error)===null||O===void 0?void 0:O.message)||o.uploadError,J=P==="error"?_.createElement(Ly,{title:Y,getPopupContainer:ee=>ee.parentNode},G):G;return _.createElement("div",{className:Re(`${n}-list-item-container`,r),style:i,ref:t},h?h(J,l,s,{download:x.bind(null,l),preview:C.bind(null,l),remove:S.bind(null,l)}):J)}),vAt=mAt,yAt=(e,t)=>{const{listType:n="text",previewFile:r=dAt,onPreview:i,onDownload:o,onRemove:a,locale:l,iconRender:s,isImageUrl:u=uAt,prefixCls:c,items:f=[],showPreviewIcon:h=!0,showRemoveIcon:d=!0,showDownloadIcon:p=!1,removeIcon:g,previewIcon:m,downloadIcon:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:C=!0,itemRender:x,disabled:S}=e,w=aB(),[O,$]=_.useState(!1);_.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(f||[]).forEach(W=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(W.originFileObj instanceof File||W.originFileObj instanceof Blob)||W.thumbUrl!==void 0||(W.thumbUrl="",r&&r(W.originFileObj).then(U=>{W.thumbUrl=U||"",w()}))})},[n,f,r]),_.useEffect(()=>{$(!0)},[]);const P=(W,U)=>{if(i)return U==null||U.preventDefault(),i(W)},T=W=>{typeof o=="function"?o(W):W.url&&window.open(W.url)},R=W=>{a==null||a(W)},M=W=>{if(s)return s(W,n);const U=W.status==="uploading",K=u&&u(W)?_.createElement(lAt,null):_.createElement(JNt,null);let X=U?_.createElement(v0,null):_.createElement(rAt,null);return n==="picture"?X=U?_.createElement(v0,null):K:(n==="picture-card"||n==="picture-circle")&&(X=U?l.uploading:K),X},A=(W,U,K,X,G)=>{const Y={type:"text",size:"small",title:X,onClick:J=>{U(),Zl(W)&&W.props.onClick&&W.props.onClick(J)},className:`${K}-list-item-action`};if(G&&(Y.disabled=S),Zl(W)){const J=Mo(W,Object.assign(Object.assign({},W.props),{onClick:()=>{}}));return _.createElement(Ei,Object.assign({},Y,{icon:J}))}return _.createElement(Ei,Object.assign({},Y),_.createElement("span",null,W))};_.useImperativeHandle(t,()=>({handlePreview:P,handleDownload:T}));const{getPrefixCls:N}=_.useContext(on),k=N("upload",c),D=N(),L=Re(`${k}-list`,`${k}-list-${n}`),B=vt(f.map(W=>({key:W.uid,file:W})));let z={motionDeadline:2e3,motionName:`${k}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:B,motionAppear:O};const V=_.useMemo(()=>{const W=Object.assign({},l4(D));return delete W.onAppearEnd,delete W.onEnterEnd,delete W.onLeaveEnd,W},[D]);return n!=="picture-card"&&n!=="picture-circle"&&(z=Object.assign(Object.assign({},V),z)),_.createElement("div",{className:L},_.createElement(Rz,Object.assign({},z,{component:!1}),W=>{let{key:U,file:K,className:X,style:G}=W;return _.createElement(vAt,{key:U,locale:l,prefixCls:k,className:X,style:G,file:K,items:f,progress:y,listType:n,isImgUrl:u,showPreviewIcon:h,showRemoveIcon:d,showDownloadIcon:p,removeIcon:g,previewIcon:m,downloadIcon:v,iconRender:M,actionIconRender:A,itemRender:x,onPreview:P,onDownload:T,onClose:R})}),b&&_.createElement(aa,Object.assign({},z,{visible:C,forceRender:!0}),W=>{let{className:U,style:K}=W;return Mo(b,X=>({className:Re(X.className,U),style:Object.assign(Object.assign(Object.assign({},K),{pointerEvents:U?"none":void 0}),X.style)}))}))},bAt=_.forwardRef(yAt),CAt=bAt;var SAt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const t9=`__LIST_IGNORE_${Date.now()}__`,xAt=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:i,showUploadList:o=!0,listType:a="text",onPreview:l,onDownload:s,onChange:u,onDrop:c,previewFile:f,disabled:h,locale:d,iconRender:p,isImageUrl:g,progress:m,prefixCls:v,className:y,type:b="select",children:C,style:x,itemRender:S,maxCount:w,data:O={},multiple:$=!1,hasControlInside:P=!0,action:T="",accept:R="",supportServerRender:M=!0,rootClassName:A}=e,N=_.useContext(es),k=h??N,[D,L]=zn(r||[],{value:n,postState:Be=>Be??[]}),[B,j]=_.useState("drop"),z=_.useRef(null);_.useMemo(()=>{const Be=Date.now();(n||[]).forEach((qe,me)=>{!qe.uid&&!Object.isFrozen(qe)&&(qe.uid=`__AUTO__${Be}_${me}__`)})},[n]);const V=(Be,qe,me)=>{let Ee=vt(qe),$e=!1;w===1?Ee=Ee.slice(-1):w&&($e=Ee.length>w,Ee=Ee.slice(0,w)),Ns.flushSync(()=>{L(Ee)});const Le={file:Be,fileList:Ee};me&&(Le.event=me),(!$e||Ee.some(Fe=>Fe.uid===Be.uid))&&Ns.flushSync(()=>{u==null||u(Le)})},W=(Be,qe)=>SAt(void 0,void 0,void 0,function*(){const{beforeUpload:me,transformFile:Ee}=e;let $e=Be;if(me){const Le=yield me(Be,qe);if(Le===!1)return!1;if(delete Be[t9],Le===t9)return Object.defineProperty(Be,t9,{value:!0,configurable:!0}),!1;typeof Le=="object"&&Le&&($e=Le)}return Ee&&($e=yield Ee($e)),$e}),U=Be=>{const qe=Be.filter($e=>!$e.file[t9]);if(!qe.length)return;const me=qe.map($e=>SM($e.file));let Ee=vt(D);me.forEach($e=>{Ee=xM($e,Ee)}),me.forEach(($e,Le)=>{let Fe=$e;if(qe[Le].parsedFile)$e.status="uploading";else{const{originFileObj:Ke}=$e;let lt;try{lt=new File([Ke],Ke.name,{type:Ke.type})}catch{lt=new Blob([Ke],{type:Ke.type}),lt.name=Ke.name,lt.lastModifiedDate=new Date,lt.lastModified=new Date().getTime()}lt.uid=$e.uid,Fe=lt}V(Fe,Ee)})},K=(Be,qe,me)=>{try{typeof Be=="string"&&(Be=JSON.parse(Be))}catch{}if(!DV(qe,D))return;const Ee=SM(qe);Ee.status="done",Ee.percent=100,Ee.response=Be,Ee.xhr=me;const $e=xM(Ee,D);V(Ee,$e)},X=(Be,qe)=>{if(!DV(qe,D))return;const me=SM(qe);me.status="uploading",me.percent=Be.percent;const Ee=xM(me,D);V(me,Ee,Be)},G=(Be,qe,me)=>{if(!DV(me,D))return;const Ee=SM(me);Ee.error=Be,Ee.response=qe,Ee.status="error";const $e=xM(Ee,D);V(Ee,$e)},Y=Be=>{let qe;Promise.resolve(typeof i=="function"?i(Be):i).then(me=>{var Ee;if(me===!1)return;const $e=sAt(Be,D);$e&&(qe=Object.assign(Object.assign({},Be),{status:"removed"}),D==null||D.forEach(Le=>{const Fe=qe.uid!==void 0?"uid":"name";Le[Fe]===qe[Fe]&&!Object.isFrozen(Le)&&(Le.status="removed")}),(Ee=z.current)===null||Ee===void 0||Ee.abort(qe),V(qe,$e))})},J=Be=>{j(Be.type),Be.type==="drop"&&(c==null||c(Be))};_.useImperativeHandle(t,()=>({onBatchStart:U,onSuccess:K,onProgress:X,onError:G,fileList:D,upload:z.current}));const{getPrefixCls:ee,direction:Q,upload:te}=_.useContext(on),ne=ee("upload",v),re=Object.assign(Object.assign({onBatchStart:U,onError:G,onProgress:X,onSuccess:K},e),{data:O,multiple:$,action:T,accept:R,supportServerRender:M,prefixCls:ne,disabled:k,beforeUpload:W,onChange:void 0,hasControlInside:P});delete re.className,delete re.style,(!C||k)&&delete re.id;const oe=`${ne}-wrapper`,[se,ye,be]=XNt(ne,oe),[he]=xu("Upload",Sc.Upload),{showRemoveIcon:le,showPreviewIcon:ve,showDownloadIcon:ke,removeIcon:Ie,previewIcon:Oe,downloadIcon:Pe}=typeof o=="boolean"?{}:o,_e=typeof le>"u"?!k:!!le,ce=(Be,qe)=>o?_.createElement(CAt,{prefixCls:ne,listType:a,items:D,previewFile:f,onPreview:l,onDownload:s,onRemove:Y,showRemoveIcon:_e,showPreviewIcon:ve,showDownloadIcon:ke,removeIcon:Ie,previewIcon:Oe,downloadIcon:Pe,iconRender:p,locale:Object.assign(Object.assign({},he),d),isImageUrl:g,progress:m,appendAction:Be,appendActionVisible:qe,itemRender:S,disabled:k}):Be,Te=Re(oe,y,A,ye,be,te==null?void 0:te.className,{[`${ne}-rtl`]:Q==="rtl",[`${ne}-picture-card-wrapper`]:a==="picture-card",[`${ne}-picture-circle-wrapper`]:a==="picture-circle"}),Ne=Object.assign(Object.assign({},te==null?void 0:te.style),x);if(b==="drag"){const Be=Re(ye,ne,`${ne}-drag`,{[`${ne}-drag-uploading`]:D.some(qe=>qe.status==="uploading"),[`${ne}-drag-hover`]:B==="dragover",[`${ne}-disabled`]:k,[`${ne}-rtl`]:Q==="rtl"});return se(_.createElement("span",{className:Te},_.createElement("div",{className:Be,style:Ne,onDrop:J,onDragOver:J,onDragLeave:J},_.createElement(vD,Object.assign({},re,{ref:z,className:`${ne}-btn`}),_.createElement("div",{className:`${ne}-drag-container`},C))),ce()))}const je=Re(ne,`${ne}-select`,{[`${ne}-disabled`]:k}),He=_.createElement("div",{className:je,style:C?void 0:{display:"none"}},_.createElement(vD,Object.assign({},re,{ref:z})));return se(a==="picture-card"||a==="picture-circle"?_.createElement("span",{className:Te},ce(He,!!C)):_.createElement("span",{className:Te},He,ce()))},_At=_.forwardRef(xAt),WFe=_At;var wAt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{style:n,height:r,hasControlInside:i=!1}=e,o=wAt(e,["style","height","hasControlInside"]);return _.createElement(WFe,Object.assign({ref:t,hasControlInside:i},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),EAt=OAt,kie=WFe;kie.Dragger=EAt;kie.LIST_IGNORE=t9;const qFe=kie;var $At=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"render",value:function(){return this.props.children}}]),n}(Se.Component),PAt={subtree:!0,childList:!0,attributeFilter:["style","class"]};function VFe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:PAt;_.useEffect(function(){if(!(!oa()||!e)){var r,i=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(r=new MutationObserver(t),i.forEach(function(o){r.observe(o,n)})),function(){var o,a;(o=r)===null||o===void 0||o.takeRecords(),(a=r)===null||a===void 0||a.disconnect()}}},[n,e])}var TAt=function(t){var n=t.children,r=t.options,i=t.onMutate,o=i===void 0?function(){}:i,a=ir(o),l=Se.useRef(null),s=Se.useRef(null),u=Se.isValidElement(n)&&bc(n),c=Pd(s,u?n.ref:null),f=Se.useState(null),h=Me(f,2),d=h[0],p=h[1];return VFe(d,a,r),er(function(){p(kv(s.current)||kv(l.current))}),n?Se.createElement($At,{ref:l},u?Se.cloneElement(n,{ref:c}):n):null};const MAt=Object.freeze(Object.defineProperty({__proto__:null,default:TAt,useMutateObserver:VFe},Symbol.toStringTag,{value:"Module"}));var UFe={exports:{}},GFe={};/** + `]:{zIndex:10,width:r,margin:`0 ${xe(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:"baseline"}}},[`${l}-thumbnail, ${l}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${l}-name`]:{display:"none",textAlign:"center"},[`${l}-file + ${l}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`},[`${l}-uploading`]:{[`&${l}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${l}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${xe(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},qNt=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},VNt=qNt,UNt=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},sr(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},GNt=e=>({actionsColor:e.colorTextDescription}),KNt=vr("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:i,calc:o}=e,a=Wn(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(i).mul(2.55).equal()});return[UNt(a),DNt(a),HNt(a),WNt(a),zNt(a),FNt(a),VNt(a),E$(a)]},GNt);var XNt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"};const YNt=XNt;var ZNt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:YNt}))};const QNt=_.forwardRef(ZNt);var JNt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};const eAt=JNt;var tAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:eAt}))};const nAt=_.forwardRef(tAt);var rAt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"};const iAt=rAt;var oAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:iAt}))};const aAt=_.forwardRef(oAt);function xM(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function _M(e,t){const n=vt(t),r=n.findIndex(i=>{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function LV(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function lAt(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const sAt=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},WFe=e=>e.indexOf("image/")===0,cAt=e=>{if(e.type&&!e.thumbUrl)return WFe(e.type);const t=e.thumbUrl||e.url||"",n=sAt(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},n1=200;function uAt(e){return new Promise(t=>{if(!e.type||!WFe(e.type)){t("");return}const n=document.createElement("canvas");n.width=n1,n.height=n1,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${n1}px; height: ${n1}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let l=n1,s=n1,u=0,c=0;o>a?(s=a*(n1/o),c=-(s-l)/2):(l=o*(n1/a),u=-(l-s)/2),r.drawImage(i,u,c,l,s);const f=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(f)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(i.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var dAt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};const fAt=dAt;var pAt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:fAt}))};const hAt=_.forwardRef(pAt),gAt=_.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,locale:o,listType:a,file:l,items:s,progress:u,iconRender:c,actionIconRender:f,itemRender:h,isImgUrl:d,showPreviewIcon:p,showRemoveIcon:g,showDownloadIcon:m,previewIcon:v,removeIcon:y,downloadIcon:b,onPreview:C,onDownload:x,onClose:S}=e;var w,O;const{status:$}=l,[P,T]=_.useState($);_.useEffect(()=>{$!=="removed"&&T($)},[$]);const[R,M]=_.useState(!1);_.useEffect(()=>{const ee=setTimeout(()=>{M(!0)},300);return()=>{clearTimeout(ee)}},[]);const A=c(l);let N=_.createElement("div",{className:`${n}-icon`},A);if(a==="picture"||a==="picture-card"||a==="picture-circle")if(P==="uploading"||!l.thumbUrl&&!l.url){const ee=Re(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:P!=="uploading"});N=_.createElement("div",{className:ee},A)}else{const ee=d!=null&&d(l)?_.createElement("img",{src:l.thumbUrl||l.url,alt:l.name,className:`${n}-list-item-image`,crossOrigin:l.crossOrigin}):A,Q=Re(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:d&&!d(l)});N=_.createElement("a",{className:Q,onClick:te=>C(l,te),href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ee)}const j=Re(`${n}-list-item`,`${n}-list-item-${P}`),D=typeof l.linkProps=="string"?JSON.parse(l.linkProps):l.linkProps,L=g?f((typeof y=="function"?y(l):y)||_.createElement(LFe,null),()=>S(l),n,o.removeFile,!0):null,B=m&&P==="done"?f((typeof b=="function"?b(l):b)||_.createElement(hAt,null),()=>x(l),n,o.downloadFile):null,k=a!=="picture-card"&&a!=="picture-circle"&&_.createElement("span",{key:"download-delete",className:Re(`${n}-list-item-actions`,{picture:a==="picture"})},B,L),z=Re(`${n}-list-item-name`),q=l.url?[_.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:z,title:l.name},D,{href:l.url,onClick:ee=>C(l,ee)}),l.name),k]:[_.createElement("span",{key:"view",className:z,onClick:ee=>C(l,ee),title:l.name},l.name),k],W=p&&(l.url||l.thumbUrl)?_.createElement("a",{href:l.url||l.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:ee=>C(l,ee),title:o.previewFile},typeof v=="function"?v(l):v||_.createElement(lie,null)):null,U=(a==="picture-card"||a==="picture-circle")&&P!=="uploading"&&_.createElement("span",{className:`${n}-list-item-actions`},W,P==="done"&&B,L),{getPrefixCls:K}=_.useContext(on),X=K(),G=_.createElement("div",{className:j},N,q,U,R&&_.createElement(aa,{motionName:`${X}-fade`,visible:P==="uploading",motionDeadline:2e3},ee=>{let{className:Q}=ee;const te="percent"in l?_.createElement(F9,Object.assign({},u,{type:"line",percent:l.percent,"aria-label":l["aria-label"],"aria-labelledby":l["aria-labelledby"]})):null;return _.createElement("div",{className:Re(`${n}-list-item-progress`,Q)},te)})),Y=l.response&&typeof l.response=="string"?l.response:((w=l.error)===null||w===void 0?void 0:w.statusText)||((O=l.error)===null||O===void 0?void 0:O.message)||o.uploadError,J=P==="error"?_.createElement(Ly,{title:Y,getPopupContainer:ee=>ee.parentNode},G):G;return _.createElement("div",{className:Re(`${n}-list-item-container`,r),style:i,ref:t},h?h(J,l,s,{download:x.bind(null,l),preview:C.bind(null,l),remove:S.bind(null,l)}):J)}),mAt=gAt,vAt=(e,t)=>{const{listType:n="text",previewFile:r=uAt,onPreview:i,onDownload:o,onRemove:a,locale:l,iconRender:s,isImageUrl:u=cAt,prefixCls:c,items:f=[],showPreviewIcon:h=!0,showRemoveIcon:d=!0,showDownloadIcon:p=!1,removeIcon:g,previewIcon:m,downloadIcon:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:C=!0,itemRender:x,disabled:S}=e,w=lB(),[O,$]=_.useState(!1);_.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(f||[]).forEach(W=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(W.originFileObj instanceof File||W.originFileObj instanceof Blob)||W.thumbUrl!==void 0||(W.thumbUrl="",r&&r(W.originFileObj).then(U=>{W.thumbUrl=U||"",w()}))})},[n,f,r]),_.useEffect(()=>{$(!0)},[]);const P=(W,U)=>{if(i)return U==null||U.preventDefault(),i(W)},T=W=>{typeof o=="function"?o(W):W.url&&window.open(W.url)},R=W=>{a==null||a(W)},M=W=>{if(s)return s(W,n);const U=W.status==="uploading",K=u&&u(W)?_.createElement(aAt,null):_.createElement(QNt,null);let X=U?_.createElement(v0,null):_.createElement(nAt,null);return n==="picture"?X=U?_.createElement(v0,null):K:(n==="picture-card"||n==="picture-circle")&&(X=U?l.uploading:K),X},A=(W,U,K,X,G)=>{const Y={type:"text",size:"small",title:X,onClick:J=>{U(),Zl(W)&&W.props.onClick&&W.props.onClick(J)},className:`${K}-list-item-action`};if(G&&(Y.disabled=S),Zl(W)){const J=Mo(W,Object.assign(Object.assign({},W.props),{onClick:()=>{}}));return _.createElement(Ei,Object.assign({},Y,{icon:J}))}return _.createElement(Ei,Object.assign({},Y),_.createElement("span",null,W))};_.useImperativeHandle(t,()=>({handlePreview:P,handleDownload:T}));const{getPrefixCls:N}=_.useContext(on),j=N("upload",c),D=N(),L=Re(`${j}-list`,`${j}-list-${n}`),B=vt(f.map(W=>({key:W.uid,file:W})));let z={motionDeadline:2e3,motionName:`${j}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:B,motionAppear:O};const q=_.useMemo(()=>{const W=Object.assign({},l4(D));return delete W.onAppearEnd,delete W.onEnterEnd,delete W.onLeaveEnd,W},[D]);return n!=="picture-card"&&n!=="picture-circle"&&(z=Object.assign(Object.assign({},q),z)),_.createElement("div",{className:L},_.createElement(Iz,Object.assign({},z,{component:!1}),W=>{let{key:U,file:K,className:X,style:G}=W;return _.createElement(mAt,{key:U,locale:l,prefixCls:j,className:X,style:G,file:K,items:f,progress:y,listType:n,isImgUrl:u,showPreviewIcon:h,showRemoveIcon:d,showDownloadIcon:p,removeIcon:g,previewIcon:m,downloadIcon:v,iconRender:M,actionIconRender:A,itemRender:x,onPreview:P,onDownload:T,onClose:R})}),b&&_.createElement(aa,Object.assign({},z,{visible:C,forceRender:!0}),W=>{let{className:U,style:K}=W;return Mo(b,X=>({className:Re(X.className,U),style:Object.assign(Object.assign(Object.assign({},K),{pointerEvents:U?"none":void 0}),X.style)}))}))},yAt=_.forwardRef(vAt),bAt=yAt;var CAt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const n9=`__LIST_IGNORE_${Date.now()}__`,SAt=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:i,showUploadList:o=!0,listType:a="text",onPreview:l,onDownload:s,onChange:u,onDrop:c,previewFile:f,disabled:h,locale:d,iconRender:p,isImageUrl:g,progress:m,prefixCls:v,className:y,type:b="select",children:C,style:x,itemRender:S,maxCount:w,data:O={},multiple:$=!1,hasControlInside:P=!0,action:T="",accept:R="",supportServerRender:M=!0,rootClassName:A}=e,N=_.useContext(es),j=h??N,[D,L]=zn(r||[],{value:n,postState:Be=>Be??[]}),[B,k]=_.useState("drop"),z=_.useRef(null);_.useMemo(()=>{const Be=Date.now();(n||[]).forEach((qe,me)=>{!qe.uid&&!Object.isFrozen(qe)&&(qe.uid=`__AUTO__${Be}_${me}__`)})},[n]);const q=(Be,qe,me)=>{let Ee=vt(qe),$e=!1;w===1?Ee=Ee.slice(-1):w&&($e=Ee.length>w,Ee=Ee.slice(0,w)),Ns.flushSync(()=>{L(Ee)});const Le={file:Be,fileList:Ee};me&&(Le.event=me),(!$e||Ee.some(Fe=>Fe.uid===Be.uid))&&Ns.flushSync(()=>{u==null||u(Le)})},W=(Be,qe)=>CAt(void 0,void 0,void 0,function*(){const{beforeUpload:me,transformFile:Ee}=e;let $e=Be;if(me){const Le=yield me(Be,qe);if(Le===!1)return!1;if(delete Be[n9],Le===n9)return Object.defineProperty(Be,n9,{value:!0,configurable:!0}),!1;typeof Le=="object"&&Le&&($e=Le)}return Ee&&($e=yield Ee($e)),$e}),U=Be=>{const qe=Be.filter($e=>!$e.file[n9]);if(!qe.length)return;const me=qe.map($e=>xM($e.file));let Ee=vt(D);me.forEach($e=>{Ee=_M($e,Ee)}),me.forEach(($e,Le)=>{let Fe=$e;if(qe[Le].parsedFile)$e.status="uploading";else{const{originFileObj:Ke}=$e;let lt;try{lt=new File([Ke],Ke.name,{type:Ke.type})}catch{lt=new Blob([Ke],{type:Ke.type}),lt.name=Ke.name,lt.lastModifiedDate=new Date,lt.lastModified=new Date().getTime()}lt.uid=$e.uid,Fe=lt}q(Fe,Ee)})},K=(Be,qe,me)=>{try{typeof Be=="string"&&(Be=JSON.parse(Be))}catch{}if(!LV(qe,D))return;const Ee=xM(qe);Ee.status="done",Ee.percent=100,Ee.response=Be,Ee.xhr=me;const $e=_M(Ee,D);q(Ee,$e)},X=(Be,qe)=>{if(!LV(qe,D))return;const me=xM(qe);me.status="uploading",me.percent=Be.percent;const Ee=_M(me,D);q(me,Ee,Be)},G=(Be,qe,me)=>{if(!LV(me,D))return;const Ee=xM(me);Ee.error=Be,Ee.response=qe,Ee.status="error";const $e=_M(Ee,D);q(Ee,$e)},Y=Be=>{let qe;Promise.resolve(typeof i=="function"?i(Be):i).then(me=>{var Ee;if(me===!1)return;const $e=lAt(Be,D);$e&&(qe=Object.assign(Object.assign({},Be),{status:"removed"}),D==null||D.forEach(Le=>{const Fe=qe.uid!==void 0?"uid":"name";Le[Fe]===qe[Fe]&&!Object.isFrozen(Le)&&(Le.status="removed")}),(Ee=z.current)===null||Ee===void 0||Ee.abort(qe),q(qe,$e))})},J=Be=>{k(Be.type),Be.type==="drop"&&(c==null||c(Be))};_.useImperativeHandle(t,()=>({onBatchStart:U,onSuccess:K,onProgress:X,onError:G,fileList:D,upload:z.current}));const{getPrefixCls:ee,direction:Q,upload:te}=_.useContext(on),ne=ee("upload",v),re=Object.assign(Object.assign({onBatchStart:U,onError:G,onProgress:X,onSuccess:K},e),{data:O,multiple:$,action:T,accept:R,supportServerRender:M,prefixCls:ne,disabled:j,beforeUpload:W,onChange:void 0,hasControlInside:P});delete re.className,delete re.style,(!C||j)&&delete re.id;const oe=`${ne}-wrapper`,[se,ye,be]=KNt(ne,oe),[he]=xu("Upload",Sc.Upload),{showRemoveIcon:le,showPreviewIcon:ve,showDownloadIcon:ke,removeIcon:Ie,previewIcon:Oe,downloadIcon:Pe}=typeof o=="boolean"?{}:o,_e=typeof le>"u"?!j:!!le,ce=(Be,qe)=>o?_.createElement(bAt,{prefixCls:ne,listType:a,items:D,previewFile:f,onPreview:l,onDownload:s,onRemove:Y,showRemoveIcon:_e,showPreviewIcon:ve,showDownloadIcon:ke,removeIcon:Ie,previewIcon:Oe,downloadIcon:Pe,iconRender:p,locale:Object.assign(Object.assign({},he),d),isImageUrl:g,progress:m,appendAction:Be,appendActionVisible:qe,itemRender:S,disabled:j}):Be,Te=Re(oe,y,A,ye,be,te==null?void 0:te.className,{[`${ne}-rtl`]:Q==="rtl",[`${ne}-picture-card-wrapper`]:a==="picture-card",[`${ne}-picture-circle-wrapper`]:a==="picture-circle"}),Ne=Object.assign(Object.assign({},te==null?void 0:te.style),x);if(b==="drag"){const Be=Re(ye,ne,`${ne}-drag`,{[`${ne}-drag-uploading`]:D.some(qe=>qe.status==="uploading"),[`${ne}-drag-hover`]:B==="dragover",[`${ne}-disabled`]:j,[`${ne}-rtl`]:Q==="rtl"});return se(_.createElement("span",{className:Te},_.createElement("div",{className:Be,style:Ne,onDrop:J,onDragOver:J,onDragLeave:J},_.createElement(yD,Object.assign({},re,{ref:z,className:`${ne}-btn`}),_.createElement("div",{className:`${ne}-drag-container`},C))),ce()))}const je=Re(ne,`${ne}-select`,{[`${ne}-disabled`]:j}),He=_.createElement("div",{className:je,style:C?void 0:{display:"none"}},_.createElement(yD,Object.assign({},re,{ref:z})));return se(a==="picture-card"||a==="picture-circle"?_.createElement("span",{className:Te},ce(He,!!C)):_.createElement("span",{className:Te},He,ce()))},xAt=_.forwardRef(SAt),qFe=xAt;var _At=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{style:n,height:r,hasControlInside:i=!1}=e,o=_At(e,["style","height","hasControlInside"]);return _.createElement(qFe,Object.assign({ref:t,hasControlInside:i},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),OAt=wAt,jie=qFe;jie.Dragger=OAt;jie.LIST_IGNORE=n9;const VFe=jie;var EAt=function(e){ua(n,e);var t=ul(n);function n(){return Yr(this,n),t.apply(this,arguments)}return Zr(n,[{key:"render",value:function(){return this.props.children}}]),n}(Se.Component),$At={subtree:!0,childList:!0,attributeFilter:["style","class"]};function UFe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$At;_.useEffect(function(){if(!(!oa()||!e)){var r,i=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(r=new MutationObserver(t),i.forEach(function(o){r.observe(o,n)})),function(){var o,a;(o=r)===null||o===void 0||o.takeRecords(),(a=r)===null||a===void 0||a.disconnect()}}},[n,e])}var PAt=function(t){var n=t.children,r=t.options,i=t.onMutate,o=i===void 0?function(){}:i,a=ir(o),l=Se.useRef(null),s=Se.useRef(null),u=Se.isValidElement(n)&&bc(n),c=Pd(s,u?n.ref:null),f=Se.useState(null),h=Me(f,2),d=h[0],p=h[1];return UFe(d,a,r),er(function(){p(kv(s.current)||kv(l.current))}),n?Se.createElement(EAt,{ref:l},u?Se.cloneElement(n,{ref:c}):n):null};const TAt=Object.freeze(Object.defineProperty({__proto__:null,default:PAt,useMutateObserver:UFe},Symbol.toStringTag,{value:"Module"}));var GFe={exports:{}},KFe={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -496,13 +496,13 @@ html body { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var F$=_;function RAt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var IAt=typeof Object.is=="function"?Object.is:RAt,NAt=F$.useSyncExternalStore,AAt=F$.useRef,kAt=F$.useEffect,jAt=F$.useMemo,DAt=F$.useDebugValue;GFe.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=AAt(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=jAt(function(){function s(d){if(!u){if(u=!0,c=d,d=r(d),i!==void 0&&a.hasValue){var p=a.value;if(i(p,d))return f=p}return f=d}if(p=f,IAt(c,d))return p;var g=r(d);return i!==void 0&&i(p,g)?p:(c=d,f=g)}var u=!1,c,f,h=n===void 0?null:n;return[function(){return s(t())},h===null?void 0:function(){return s(h())}]},[t,n,r,i]);var l=NAt(e,o[0],o[1]);return kAt(function(){a.hasValue=!0,a.value=l},[l]),DAt(l),l};UFe.exports=GFe;var LAt=UFe.exports,cc="default"in f0?Se:f0,fge=Symbol.for("react-redux-context"),pge=typeof globalThis<"u"?globalThis:{};function zAt(){if(!cc.createContext)return{};const e=pge[fge]??(pge[fge]=new Map);let t=e.get(cc.createContext);return t||(t=cc.createContext(null),e.set(cc.createContext,t)),t}var b0=zAt(),BAt=()=>{throw new Error("uSES not initialized!")};function jie(e=b0){return function(){return cc.useContext(e)}}var KFe=jie(),XFe=BAt,FAt=e=>{XFe=e},HAt=(e,t)=>e===t;function WAt(e=b0){const t=e===b0?KFe:jie(e),n=(r,i={})=>{const{equalityFn:o=HAt,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:l,subscription:s,getServerState:u,stabilityCheck:c,identityFunctionCheck:f}=t();cc.useRef(!0);const h=cc.useCallback({[r.name](p){return r(p)}}[r.name],[r,c,a.stabilityCheck]),d=XFe(s.addNestedSub,l.getState,u||l.getState,h,o);return cc.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Yl=WAt();function qAt(e){e()}function VAt(){let e=null,t=null;return{clear(){e=null,t=null},notify(){qAt(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var hge={notify(){},get:()=>[]};function UAt(e,t){let n,r=hge,i=0,o=!1;function a(g){c();const m=r.subscribe(g);let v=!1;return()=>{v||(v=!0,m(),f())}}function l(){r.notify()}function s(){p.onStateChange&&p.onStateChange()}function u(){return o}function c(){i++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=VAt())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=hge)}function h(){o||(o=!0,c())}function d(){o&&(o=!1,f())}const p={addNestedSub:a,notifyNestedSubs:l,handleChangeWrapper:s,isSubscribed:u,trySubscribe:h,tryUnsubscribe:d,getListeners:()=>r};return p}var GAt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",KAt=GAt?cc.useLayoutEffect:cc.useEffect;function XAt({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=cc.useMemo(()=>{const u=UAt(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),l=cc.useMemo(()=>e.getState(),[e]);KAt(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),l!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,l]);const s=t||b0;return cc.createElement(s.Provider,{value:a},n)}var YAt=XAt;function YFe(e=b0){const t=e===b0?KFe:jie(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var ZAt=YFe();function QAt(e=b0){const t=e===b0?ZAt:YFe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var wC=QAt();FAt(LAt.useSyncExternalStoreWithSelector);function Za(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var JAt=typeof Symbol=="function"&&Symbol.observable||"@@observable",gge=JAt,LV=()=>Math.random().toString(36).substring(7).split("").join("."),ekt={INIT:`@@redux/INIT${LV()}`,REPLACE:`@@redux/REPLACE${LV()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${LV()}`},yD=ekt;function Die(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ZFe(e,t,n){if(typeof e!="function")throw new Error(Za(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Za(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Za(1));return n(ZFe)(e,t)}let r=e,i=t,o=new Map,a=o,l=0,s=!1;function u(){a===o&&(a=new Map,o.forEach((m,v)=>{a.set(v,m)}))}function c(){if(s)throw new Error(Za(3));return i}function f(m){if(typeof m!="function")throw new Error(Za(4));if(s)throw new Error(Za(5));let v=!0;u();const y=l++;return a.set(y,m),function(){if(v){if(s)throw new Error(Za(6));v=!1,u(),a.delete(y),o=null}}}function h(m){if(!Die(m))throw new Error(Za(7));if(typeof m.type>"u")throw new Error(Za(8));if(typeof m.type!="string")throw new Error(Za(17));if(s)throw new Error(Za(9));try{s=!0,i=r(i,m)}finally{s=!1}return(o=a).forEach(y=>{y()}),m}function d(m){if(typeof m!="function")throw new Error(Za(10));r=m,h({type:yD.REPLACE})}function p(){const m=f;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(Za(11));function y(){const C=v;C.next&&C.next(c())}return y(),{unsubscribe:m(y)}},[gge](){return this}}}return h({type:yD.INIT}),{dispatch:h,subscribe:f,getState:c,replaceReducer:d,[gge]:p}}function tkt(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:yD.INIT})>"u")throw new Error(Za(12));if(typeof n(void 0,{type:yD.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Za(13))})}function nkt(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw l&&l.type,new Error(Za(14));u[f]=p,s=s||p!==d}return s=s||r.length!==Object.keys(a).length,s?u:a}}function bD(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function rkt(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Za(15))};const a={getState:i.getState,dispatch:(s,...u)=>o(s,...u)},l=e.map(s=>s(a));return o=bD(...l)(i.dispatch),{...i,dispatch:o}}}function ikt(e){return Die(e)&&"type"in e&&typeof e.type=="string"}var QFe=Symbol.for("immer-nothing"),mge=Symbol.for("immer-draftable"),_c=Symbol.for("immer-state");function dd(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var v4=Object.getPrototypeOf;function C0(e){return!!e&&!!e[_c]}function yh(e){var t;return e?JFe(e)||Array.isArray(e)||!!e[mge]||!!((t=e.constructor)!=null&&t[mge])||FB(e)||HB(e):!1}var okt=Object.prototype.constructor.toString();function JFe(e){if(!e||typeof e!="object")return!1;const t=v4(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===okt}function o7(e,t){BB(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function BB(e){const t=e[_c];return t?t.type_:Array.isArray(e)?1:FB(e)?2:HB(e)?3:0}function kQ(e,t){return BB(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function eHe(e,t,n){const r=BB(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function akt(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function FB(e){return e instanceof Map}function HB(e){return e instanceof Set}function iv(e){return e.copy_||e.base_}function jQ(e,t){if(FB(e))return new Map(e);if(HB(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&JFe(e))return v4(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[_c];let r=Reflect.ownKeys(n);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=lkt),Object.freeze(e),t&&o7(e,(n,r)=>Lie(r,!0))),e}function lkt(){dd(2)}function WB(e){return Object.isFrozen(e)}var skt={};function ly(e){const t=skt[e];return t||dd(0,e),t}var a7;function tHe(){return a7}function ckt(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function vge(e,t){t&&(ly("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function DQ(e){LQ(e),e.drafts_.forEach(ukt),e.drafts_=null}function LQ(e){e===a7&&(a7=e.parent_)}function yge(e){return a7=ckt(a7,e)}function ukt(e){const t=e[_c];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function bge(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[_c].modified_&&(DQ(t),dd(4)),yh(e)&&(e=CD(t,e),t.parent_||SD(t,e)),t.patches_&&ly("Patches").generateReplacementPatches_(n[_c].base_,e,t.patches_,t.inversePatches_)):e=CD(t,n,[]),DQ(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==QFe?e:void 0}function CD(e,t,n){if(WB(t))return t;const r=t[_c];if(!r)return o7(t,(i,o)=>Cge(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return SD(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),o7(o,(l,s)=>Cge(e,r,i,l,s,n,a)),SD(e,i,!1),n&&e.patches_&&ly("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Cge(e,t,n,r,i,o,a){if(C0(i)){const l=o&&t&&t.type_!==3&&!kQ(t.assigned_,r)?o.concat(r):void 0,s=CD(e,i,l);if(eHe(n,r,s),C0(s))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(yh(i)&&!WB(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;CD(e,i),(!t||!t.scope_.parent_)&&SD(e,i)}}function SD(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Lie(t,n)}function dkt(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:tHe(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=zie;n&&(i=[r],o=l7);const{revoke:a,proxy:l}=Proxy.revocable(i,o);return r.draft_=l,r.revoke_=a,l}var zie={get(e,t){if(t===_c)return e;const n=iv(e);if(!kQ(n,t))return fkt(e,n,t);const r=n[t];return e.finalized_||!yh(r)?r:r===zV(e.base_,t)?(BV(e),e.copy_[t]=BQ(r,e)):r},has(e,t){return t in iv(e)},ownKeys(e){return Reflect.ownKeys(iv(e))},set(e,t,n){const r=nHe(iv(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=zV(iv(e),t),o=i==null?void 0:i[_c];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(akt(n,i)&&(n!==void 0||kQ(e.base_,t)))return!0;BV(e),zQ(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return zV(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,BV(e),zQ(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=iv(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){dd(11)},getPrototypeOf(e){return v4(e.base_)},setPrototypeOf(){dd(12)}},l7={};o7(zie,(e,t)=>{l7[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});l7.deleteProperty=function(e,t){return l7.set.call(this,e,t,void 0)};l7.set=function(e,t,n){return zie.set.call(this,e[0],t,n,e[0])};function zV(e,t){const n=e[_c];return(n?iv(n):e)[t]}function fkt(e,t,n){var i;const r=nHe(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function nHe(e,t){if(!(t in e))return;let n=v4(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=v4(n)}}function zQ(e){e.modified_||(e.modified_=!0,e.parent_&&zQ(e.parent_))}function BV(e){e.copy_||(e.copy_=jQ(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var pkt=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(s=o,...u){return a.produce(s,c=>n.call(this,c,...u))}}typeof n!="function"&&dd(6),r!==void 0&&typeof r!="function"&&dd(7);let i;if(yh(t)){const o=yge(this),a=BQ(t,void 0);let l=!0;try{i=n(a),l=!1}finally{l?DQ(o):LQ(o)}return vge(o,r),bge(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===QFe&&(i=void 0),this.autoFreeze_&&Lie(i,!0),r){const o=[],a=[];ly("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else dd(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...l)=>this.produceWithPatches(a,s=>t(s,...l));let r,i;return[this.produce(t,n,(a,l)=>{r=a,i=l}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){yh(e)||dd(8),C0(e)&&(e=rHe(e));const t=yge(this),n=BQ(e,void 0);return n[_c].isManual_=!0,LQ(t),n}finishDraft(e,t){const n=e&&e[_c];(!n||!n.isManual_)&&dd(9);const{scope_:r}=n;return vge(r,t),bge(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=ly("Patches").applyPatches_;return C0(e)?r(e,t):this.produce(e,i=>r(i,t))}};function BQ(e,t){const n=FB(e)?ly("MapSet").proxyMap_(e,t):HB(e)?ly("MapSet").proxySet_(e,t):dkt(e,t);return(t?t.scope_:tHe()).drafts_.push(n),n}function rHe(e){return C0(e)||dd(10,e),iHe(e)}function iHe(e){if(!yh(e)||WB(e))return e;const t=e[_c];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=jQ(e,t.scope_.immer_.useStrictShallowCopy_)}else n=jQ(e,!0);return o7(n,(r,i)=>{eHe(n,r,iHe(i))}),t&&(t.finalized_=!1),n}var wc=new pkt,oHe=wc.produce;wc.produceWithPatches.bind(wc);wc.setAutoFreeze.bind(wc);wc.setUseStrictShallowCopy.bind(wc);wc.applyPatches.bind(wc);wc.createDraft.bind(wc);wc.finishDraft.bind(wc);function hkt(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function gkt(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function mkt(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Sge=e=>Array.isArray(e)?e:[e];function vkt(e){const t=Array.isArray(e[0])?e[0]:e;return mkt(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function ykt(e,t){const n=[],{length:r}=e;for(let i=0;i{n=_M(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function aHe(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let o=0,a=0,l,s={},u=i.pop();typeof u=="object"&&(s=u,u=i.pop()),hkt(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...n,...s},{memoize:f,memoizeOptions:h=[],argsMemoize:d=Bie,argsMemoizeOptions:p=[],devModeChecks:g={}}=c,m=Sge(h),v=Sge(p),y=vkt(i),b=f(function(){return o++,u.apply(null,arguments)},...m),C=d(function(){a++;const S=ykt(y,arguments);return l=b.apply(null,S),l},...v);return Object.assign(C,{resultFunc:u,memoizedResultFunc:b,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>l,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:d})};return Object.assign(r,{withTypes:()=>r}),r}var xkt=aHe(Bie),_kt=Object.assign((e,t=xkt)=>{gkt(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((a,l,s)=>(a[n[s]]=l,a),{}))},{withTypes:()=>_kt});function lHe(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var wkt=lHe(),Okt=lHe,Ekt=(...e)=>{const t=aHe(...e),n=Object.assign((...r)=>{const i=t(...r),o=(a,...l)=>i(C0(a)?rHe(a):a,...l);return Object.assign(o,i),o},{withTypes:()=>n});return n};Ekt(Bie);var $kt=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?bD:bD.apply(null,arguments)};function y4(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Ts(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>ikt(r)&&r.type===e,n}var sHe=class n9 extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,n9.prototype)}static get[Symbol.species](){return n9}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new n9(...t[0].concat(this)):new n9(...t.concat(this))}};function _ge(e){return yh(e)?oHe(e,()=>{}):e}function wge(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Ts(10));const r=n.insert(t,e);return e.set(t,r),r}function Pkt(e){return typeof e=="boolean"}var Tkt=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new sHe;return n&&(Pkt(n)?a.push(wkt):a.push(Okt(n.extraArgument))),a},Mkt="RTK_autoBatch",cHe=e=>t=>{setTimeout(t,e)},Rkt=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cHe(10),Ikt=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,a=!1;const l=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?Rkt:e.type==="callback"?e.queueNotification:cHe(e.timeout),u=()=>{a=!1,o&&(o=!1,l.forEach(c=>c()))};return Object.assign({},r,{subscribe(c){const f=()=>i&&c(),h=r.subscribe(f);return l.add(c),()=>{h(),l.delete(c)}},dispatch(c){var f;try{return i=!((f=c==null?void 0:c.meta)!=null&&f[Mkt]),o=!i,o&&(a||(a=!0,s(u))),r.dispatch(c)}finally{i=!0}}})},Nkt=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new sHe(e);return r&&i.push(Ikt(typeof r=="object"?r:void 0)),i},Akt=!0;function kkt(e){const t=Tkt(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(Die(n))l=nkt(n);else throw new Error(Ts(1));let s;typeof r=="function"?s=r(t):s=t();let u=bD;i&&(u=$kt({trace:!Akt,...typeof i=="object"&&i}));const c=rkt(...s),f=Nkt(c);let h=typeof a=="function"?a(f):f();const d=u(...h);return ZFe(l,o,d)}function uHe(e){const t={},n=[];let r;const i={addCase(o,a){const l=typeof o=="string"?o:o.type;if(!l)throw new Error(Ts(28));if(l in t)throw new Error(Ts(29));return t[l]=a,i},addMatcher(o,a){return n.push({matcher:o,reducer:a}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function jkt(e){return typeof e=="function"}function Dkt(e,t){let[n,r,i]=uHe(t),o;if(jkt(e))o=()=>_ge(e());else{const l=_ge(e);o=()=>l}function a(l=o(),s){let u=[n[s.type],...r.filter(({matcher:c})=>c(s)).map(({reducer:c})=>c)];return u.filter(c=>!!c).length===0&&(u=[i]),u.reduce((c,f)=>{if(f)if(C0(c)){const d=f(c,s);return d===void 0?c:d}else{if(yh(c))return oHe(c,h=>f(h,s));{const h=f(c,s);if(h===void 0){if(c===null)return c;throw new Error(Ts(9))}return h}}return c},l)}return a.getInitialState=o,a}var Lkt="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zkt=(e=21)=>{let t="",n=e;for(;n--;)t+=Lkt[Math.random()*64|0];return t},Bkt=Symbol.for("rtk-slice-createasyncthunk");function Fkt(e,t){return`${e}/${t}`}function Hkt({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Bkt];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Ts(11));typeof process<"u";const l=(typeof i.reducers=="function"?i.reducers(qkt()):i.reducers)||{},s=Object.keys(l),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(b,C){const x=typeof b=="string"?b:b.type;if(!x)throw new Error(Ts(12));if(x in u.sliceCaseReducersByType)throw new Error(Ts(13));return u.sliceCaseReducersByType[x]=C,c},addMatcher(b,C){return u.sliceMatchers.push({matcher:b,reducer:C}),c},exposeAction(b,C){return u.actionCreators[b]=C,c},exposeCaseReducer(b,C){return u.sliceCaseReducersByName[b]=C,c}};s.forEach(b=>{const C=l[b],x={reducerName:b,type:Fkt(o,b),createNotation:typeof i.reducers=="function"};Ukt(C)?Kkt(x,C,c,t):Vkt(x,C,c)});function f(){const[b={},C=[],x=void 0]=typeof i.extraReducers=="function"?uHe(i.extraReducers):[i.extraReducers],S={...b,...u.sliceCaseReducersByType};return Dkt(i.initialState,w=>{for(let O in S)w.addCase(O,S[O]);for(let O of u.sliceMatchers)w.addMatcher(O.matcher,O.reducer);for(let O of C)w.addMatcher(O.matcher,O.reducer);x&&w.addDefaultCase(x)})}const h=b=>b,d=new Map;let p;function g(b,C){return p||(p=f()),p(b,C)}function m(){return p||(p=f()),p.getInitialState()}function v(b,C=!1){function x(w){let O=w[b];return typeof O>"u"&&C&&(O=m()),O}function S(w=h){const O=wge(d,C,{insert:()=>new WeakMap});return wge(O,w,{insert:()=>{const $={};for(const[P,T]of Object.entries(i.selectors??{}))$[P]=Wkt(T,w,m,C);return $}})}return{reducerPath:b,getSelectors:S,get selectors(){return S(x)},selectSlice:x}}const y={name:o,reducer:g,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:m,...v(a),injectInto(b,{reducerPath:C,...x}={}){const S=C??a;return b.inject({reducerPath:S,reducer:g},x),{...y,...v(S,!0)}}};return y}}function Wkt(e,t,n,r){function i(o,...a){let l=t(o);return typeof l>"u"&&r&&(l=n()),e(l,...a)}return i.unwrapped=e,i}var H$=Hkt();function qkt(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function Vkt({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!Gkt(r))throw new Error(Ts(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?y4(e,a):y4(e))}function Ukt(e){return e._reducerDefinitionType==="asyncThunk"}function Gkt(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Kkt({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Ts(18));const{payloadCreator:o,fulfilled:a,pending:l,rejected:s,settled:u,options:c}=n,f=i(e,o,c);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),l&&r.addCase(f.pending,l),s&&r.addCase(f.rejected,s),u&&r.addMatcher(f.settled,u),r.exposeCaseReducer(t,{fulfilled:a||wM,pending:l||wM,rejected:s||wM,settled:u||wM})}function wM(){}var Xkt=(e,t)=>{if(typeof e!="function")throw new Error(Ts(32))},Fie="listenerMiddleware",Ykt=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:o}=e;if(t)i=y4(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error(Ts(21));return Xkt(o),{predicate:i,type:t,effect:o}},Zkt=Object.assign(e=>{const{type:t,predicate:n,effect:r}=Ykt(e);return{id:zkt(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Ts(22))}}},{withTypes:()=>Zkt}),Qkt=Object.assign(y4(`${Fie}/add`),{withTypes:()=>Qkt});y4(`${Fie}/removeAll`);var Jkt=Object.assign(y4(`${Fie}/remove`),{withTypes:()=>Jkt});function Ts(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function dHe(e,t){return function(){return e.apply(t,arguments)}}const{toString:ejt}=Object.prototype,{getPrototypeOf:Hie}=Object,qB=(e=>t=>{const n=ejt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Wf=e=>(e=e.toLowerCase(),t=>qB(t)===e),VB=e=>t=>typeof t===e,{isArray:OC}=Array,s7=VB("undefined");function tjt(e){return e!==null&&!s7(e)&&e.constructor!==null&&!s7(e.constructor)&&lu(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fHe=Wf("ArrayBuffer");function njt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fHe(e.buffer),t}const rjt=VB("string"),lu=VB("function"),pHe=VB("number"),UB=e=>e!==null&&typeof e=="object",ijt=e=>e===!0||e===!1,Nk=e=>{if(qB(e)!=="object")return!1;const t=Hie(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ojt=Wf("Date"),ajt=Wf("File"),ljt=Wf("Blob"),sjt=Wf("FileList"),cjt=e=>UB(e)&&lu(e.pipe),ujt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||lu(e.append)&&((t=qB(e))==="formdata"||t==="object"&&lu(e.toString)&&e.toString()==="[object FormData]"))},djt=Wf("URLSearchParams"),fjt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function W$(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),OC(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const gHe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mHe=e=>!s7(e)&&e!==gHe;function FQ(){const{caseless:e}=mHe(this)&&this||{},t={},n=(r,i)=>{const o=e&&hHe(t,i)||i;Nk(t[o])&&Nk(r)?t[o]=FQ(t[o],r):Nk(r)?t[o]=FQ({},r):OC(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(W$(t,(i,o)=>{n&&lu(i)?e[o]=dHe(i,n):e[o]=i},{allOwnKeys:r}),e),hjt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gjt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mjt=(e,t,n,r)=>{let i,o,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Hie(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},vjt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},yjt=e=>{if(!e)return null;if(OC(e))return e;let t=e.length;if(!pHe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},bjt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Hie(Uint8Array)),Cjt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Sjt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xjt=Wf("HTMLFormElement"),_jt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Oge=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wjt=Wf("RegExp"),vHe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};W$(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Ojt=e=>{vHe(e,(t,n)=>{if(lu(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(lu(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ejt=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return OC(e)?r(e):r(String(e).split(t)),n},$jt=()=>{},Pjt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),FV="abcdefghijklmnopqrstuvwxyz",Ege="0123456789",yHe={DIGIT:Ege,ALPHA:FV,ALPHA_DIGIT:FV+FV.toUpperCase()+Ege},Tjt=(e=16,t=yHe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Mjt(e){return!!(e&&lu(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Rjt=e=>{const t=new Array(10),n=(r,i)=>{if(UB(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=OC(r)?[]:{};return W$(r,(a,l)=>{const s=n(a,i+1);!s7(s)&&(o[l]=s)}),t[i]=void 0,o}}return r};return n(e,0)},Ijt=Wf("AsyncFunction"),Njt=e=>e&&(UB(e)||lu(e))&&lu(e.then)&&lu(e.catch),Gt={isArray:OC,isArrayBuffer:fHe,isBuffer:tjt,isFormData:ujt,isArrayBufferView:njt,isString:rjt,isNumber:pHe,isBoolean:ijt,isObject:UB,isPlainObject:Nk,isUndefined:s7,isDate:ojt,isFile:ajt,isBlob:ljt,isRegExp:wjt,isFunction:lu,isStream:cjt,isURLSearchParams:djt,isTypedArray:bjt,isFileList:sjt,forEach:W$,merge:FQ,extend:pjt,trim:fjt,stripBOM:hjt,inherits:gjt,toFlatObject:mjt,kindOf:qB,kindOfTest:Wf,endsWith:vjt,toArray:yjt,forEachEntry:Cjt,matchAll:Sjt,isHTMLForm:xjt,hasOwnProperty:Oge,hasOwnProp:Oge,reduceDescriptors:vHe,freezeMethods:Ojt,toObjectSet:Ejt,toCamelCase:_jt,noop:$jt,toFiniteNumber:Pjt,findKey:hHe,global:gHe,isContextDefined:mHe,ALPHABET:yHe,generateString:Tjt,isSpecCompliantForm:Mjt,toJSONObject:Rjt,isAsyncFn:Ijt,isThenable:Njt};function Fr(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}Gt.inherits(Fr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Gt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const bHe=Fr.prototype,CHe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{CHe[e]={value:e}});Object.defineProperties(Fr,CHe);Object.defineProperty(bHe,"isAxiosError",{value:!0});Fr.from=(e,t,n,r,i,o)=>{const a=Object.create(bHe);return Gt.toFlatObject(e,a,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),Fr.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Ajt=null;function HQ(e){return Gt.isPlainObject(e)||Gt.isArray(e)}function SHe(e){return Gt.endsWith(e,"[]")?e.slice(0,-2):e}function $ge(e,t,n){return e?e.concat(t).map(function(i,o){return i=SHe(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function kjt(e){return Gt.isArray(e)&&!e.some(HQ)}const jjt=Gt.toFlatObject(Gt,{},null,function(t){return/^is[A-Z]/.test(t)});function GB(e,t,n){if(!Gt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Gt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Gt.isUndefined(m[g])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&Gt.isSpecCompliantForm(t);if(!Gt.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Gt.isDate(p))return p.toISOString();if(!s&&Gt.isBlob(p))throw new Fr("Blob is not supported. Use a Buffer instead.");return Gt.isArrayBuffer(p)||Gt.isTypedArray(p)?s&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,g,m){let v=p;if(p&&!m&&typeof p=="object"){if(Gt.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(Gt.isArray(p)&&kjt(p)||(Gt.isFileList(p)||Gt.endsWith(g,"[]"))&&(v=Gt.toArray(p)))return g=SHe(g),v.forEach(function(b,C){!(Gt.isUndefined(b)||b===null)&&t.append(a===!0?$ge([g],C,o):a===null?g:g+"[]",u(b))}),!1}return HQ(p)?!0:(t.append($ge(m,g,o),u(p)),!1)}const f=[],h=Object.assign(jjt,{defaultVisitor:c,convertValue:u,isVisitable:HQ});function d(p,g){if(!Gt.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(p),Gt.forEach(p,function(v,y){(!(Gt.isUndefined(v)||v===null)&&i.call(t,v,Gt.isString(y)?y.trim():y,g,h))===!0&&d(v,g?g.concat(y):[y])}),f.pop()}}if(!Gt.isObject(e))throw new TypeError("data must be an object");return d(e),t}function Pge(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Wie(e,t){this._pairs=[],e&&GB(e,this,t)}const xHe=Wie.prototype;xHe.append=function(t,n){this._pairs.push([t,n])};xHe.toString=function(t){const n=t?function(r){return t.call(this,r,Pge)}:Pge;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Djt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _He(e,t,n){if(!t)return e;const r=n&&n.encode||Djt,i=n&&n.serialize;let o;if(i?o=i(t,n):o=Gt.isURLSearchParams(t)?t.toString():new Wie(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Tge{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Gt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const wHe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ljt=typeof URLSearchParams<"u"?URLSearchParams:Wie,zjt=typeof FormData<"u"?FormData:null,Bjt=typeof Blob<"u"?Blob:null,Fjt={isBrowser:!0,classes:{URLSearchParams:Ljt,FormData:zjt,Blob:Bjt},protocols:["http","https","file","blob","url","data"]},OHe=typeof window<"u"&&typeof document<"u",Hjt=(e=>OHe&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Wjt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qjt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:OHe,hasStandardBrowserEnv:Hjt,hasStandardBrowserWebWorkerEnv:Wjt},Symbol.toStringTag,{value:"Module"})),mf={...qjt,...Fjt};function Vjt(e,t){return GB(e,new mf.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return mf.isNode&&Gt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ujt(e){return Gt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gjt(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&Gt.isArray(i)?i.length:a,s?(Gt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!Gt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Gt.isArray(i[a])&&(i[a]=Gjt(i[a])),!l)}if(Gt.isFormData(e)&&Gt.isFunction(e.entries)){const n={};return Gt.forEachEntry(e,(r,i)=>{t(Ujt(r),i,n,0)}),n}return null}function Kjt(e,t,n){if(Gt.isString(e))try{return(t||JSON.parse)(e),Gt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const qie={transitional:wHe,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Gt.isObject(t);if(o&&Gt.isHTMLForm(t)&&(t=new FormData(t)),Gt.isFormData(t))return i?JSON.stringify(EHe(t)):t;if(Gt.isArrayBuffer(t)||Gt.isBuffer(t)||Gt.isStream(t)||Gt.isFile(t)||Gt.isBlob(t))return t;if(Gt.isArrayBufferView(t))return t.buffer;if(Gt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Vjt(t,this.formSerializer).toString();if((l=Gt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return GB(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),Kjt(t)):t}],transformResponse:[function(t){const n=this.transitional||qie.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&Gt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?Fr.from(l,Fr.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mf.classes.FormData,Blob:mf.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Gt.forEach(["delete","get","head","post","put","patch"],e=>{qie.headers[e]={}});const Vie=qie,Xjt=Gt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Yjt=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&Xjt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Mge=Symbol("internals");function Q6(e){return e&&String(e).trim().toLowerCase()}function Ak(e){return e===!1||e==null?e:Gt.isArray(e)?e.map(Ak):String(e)}function Zjt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Qjt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function HV(e,t,n,r,i){if(Gt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Gt.isString(t)){if(Gt.isString(r))return t.indexOf(r)!==-1;if(Gt.isRegExp(r))return r.test(t)}}function Jjt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function eDt(e,t){const n=Gt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class KB{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(l,s,u){const c=Q6(s);if(!c)throw new Error("header name must be a non-empty string");const f=Gt.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||s]=Ak(l))}const a=(l,s)=>Gt.forEach(l,(u,c)=>o(u,c,s));return Gt.isPlainObject(t)||t instanceof this.constructor?a(t,n):Gt.isString(t)&&(t=t.trim())&&!Qjt(t)?a(Yjt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Q6(t),t){const r=Gt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Zjt(i);if(Gt.isFunction(n))return n.call(this,i,r);if(Gt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Q6(t),t){const r=Gt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||HV(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=Q6(a),a){const l=Gt.findKey(r,a);l&&(!n||HV(r,r[l],l,n))&&(delete r[l],i=!0)}}return Gt.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||HV(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Gt.forEach(this,(i,o)=>{const a=Gt.findKey(r,o);if(a){n[a]=Ak(i),delete n[o];return}const l=t?Jjt(o):String(o).trim();l!==o&&delete n[o],n[l]=Ak(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Gt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Gt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Mge]=this[Mge]={accessors:{}}).accessors,i=this.prototype;function o(a){const l=Q6(a);r[l]||(eDt(i,a),r[l]=!0)}return Gt.isArray(t)?t.forEach(o):o(t),this}}KB.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Gt.reduceDescriptors(KB.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Gt.freezeMethods(KB);const Jp=KB;function WV(e,t){const n=this||Vie,r=t||n,i=Jp.from(r.headers);let o=r.data;return Gt.forEach(e,function(l){o=l.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function $He(e){return!!(e&&e.__CANCEL__)}function q$(e,t,n){Fr.call(this,e??"canceled",Fr.ERR_CANCELED,t,n),this.name="CanceledError"}Gt.inherits(q$,Fr,{__CANCEL__:!0});function tDt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Fr("Request failed with status code "+n.status,[Fr.ERR_BAD_REQUEST,Fr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const nDt=mf.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Gt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Gt.isString(r)&&a.push("path="+r),Gt.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rDt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iDt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function PHe(e,t){return e&&!rDt(t)?iDt(e,t):t}const oDt=mf.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const l=Gt.isString(a)?i(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function aDt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lDt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),c=r[o];a||(a=u),n[i]=s,r[i]=u;let f=o,h=0;for(;f!==i;)h+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-n,s=r(l),u=o<=a;n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&u?(a-o)/s:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const sDt=typeof XMLHttpRequest<"u",cDt=sDt&&function(e){return new Promise(function(n,r){let i=e.data;const o=Jp.from(e.headers).normalize();let{responseType:a,withXSRFToken:l}=e,s;function u(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let c;if(Gt.isFormData(i)){if(mf.hasStandardBrowserEnv||mf.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((c=o.getContentType())!==!1){const[g,...m]=c?c.split(";").map(v=>v.trim()).filter(Boolean):[];o.setContentType([g||"multipart/form-data",...m].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+m))}const h=PHe(e.baseURL,e.url);f.open(e.method.toUpperCase(),_He(h,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function d(){if(!f)return;const g=Jp.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),v={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:g,config:e,request:f};tDt(function(b){n(b),u()},function(b){r(b),u()},v),f=null}if("onloadend"in f?f.onloadend=d:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(d)},f.onabort=function(){f&&(r(new Fr("Request aborted",Fr.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new Fr("Network Error",Fr.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||wHe;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new Fr(m,v.clarifyTimeoutError?Fr.ETIMEDOUT:Fr.ECONNABORTED,e,f)),f=null},mf.hasStandardBrowserEnv&&(l&&Gt.isFunction(l)&&(l=l(e)),l||l!==!1&&oDt(h))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&nDt.read(e.xsrfCookieName);g&&o.set(e.xsrfHeaderName,g)}i===void 0&&o.setContentType(null),"setRequestHeader"in f&&Gt.forEach(o.toJSON(),function(m,v){f.setRequestHeader(v,m)}),Gt.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Rge(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Rge(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{f&&(r(!g||g.type?new q$(null,e,f):g),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const p=aDt(h);if(p&&mf.protocols.indexOf(p)===-1){r(new Fr("Unsupported protocol "+p+":",Fr.ERR_BAD_REQUEST,e));return}f.send(i||null)})},WQ={http:Ajt,xhr:cDt};Gt.forEach(WQ,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ige=e=>`- ${e}`,uDt=e=>Gt.isFunction(e)||e===null||e===!1,THe={getAdapter:e=>{e=Gt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(Ige).join(` -`):" "+Ige(o[0]):"as no adapter specified";throw new Fr("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:WQ};function qV(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new q$(null,e)}function Nge(e){return qV(e),e.headers=Jp.from(e.headers),e.data=WV.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),THe.getAdapter(e.adapter||Vie.adapter)(e).then(function(r){return qV(e),r.data=WV.call(e,e.transformResponse,r),r.headers=Jp.from(r.headers),r},function(r){return $He(r)||(qV(e),r&&r.response&&(r.response.data=WV.call(e,e.transformResponse,r.response),r.response.headers=Jp.from(r.response.headers))),Promise.reject(r)})}const Age=e=>e instanceof Jp?e.toJSON():e;function b4(e,t){t=t||{};const n={};function r(u,c,f){return Gt.isPlainObject(u)&&Gt.isPlainObject(c)?Gt.merge.call({caseless:f},u,c):Gt.isPlainObject(c)?Gt.merge({},c):Gt.isArray(c)?c.slice():c}function i(u,c,f){if(Gt.isUndefined(c)){if(!Gt.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function o(u,c){if(!Gt.isUndefined(c))return r(void 0,c)}function a(u,c){if(Gt.isUndefined(c)){if(!Gt.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,c)=>i(Age(u),Age(c),!0)};return Gt.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=s[c]||i,h=f(e[c],t[c],c);Gt.isUndefined(h)&&f!==l||(n[c]=h)}),n}const MHe="1.6.7",Uie={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Uie[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const kge={};Uie.transitional=function(t,n,r){function i(o,a){return"[Axios v"+MHe+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,l)=>{if(t===!1)throw new Fr(i(a," has been removed"+(n?" in "+n:"")),Fr.ERR_DEPRECATED);return n&&!kge[a]&&(kge[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};function dDt(e,t,n){if(typeof e!="object")throw new Fr("options must be an object",Fr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const l=e[o],s=l===void 0||a(l,o,e);if(s!==!0)throw new Fr("option "+o+" must be "+s,Fr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fr("Unknown option "+o,Fr.ERR_BAD_OPTION)}}const qQ={assertOptions:dDt,validators:Uie},r1=qQ.validators;class xD{constructor(t){this.defaults=t,this.interceptors={request:new Tge,response:new Tge}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=b4(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&qQ.assertOptions(r,{silentJSONParsing:r1.transitional(r1.boolean),forcedJSONParsing:r1.transitional(r1.boolean),clarifyTimeoutError:r1.transitional(r1.boolean)},!1),i!=null&&(Gt.isFunction(i)?n.paramsSerializer={serialize:i}:qQ.assertOptions(i,{encode:r1.function,serialize:r1.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Gt.merge(o.common,o[n.method]);o&&Gt.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Jp.concat(a,o);const l=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,f=0,h;if(!s){const p=[Nge.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),h=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(l=>{r.subscribe(l),o=l}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,l){r.reason||(r.reason=new q$(o,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Gie(function(i){t=i}),cancel:t}}}const fDt=Gie;function pDt(e){return function(n){return e.apply(null,n)}}function hDt(e){return Gt.isObject(e)&&e.isAxiosError===!0}const VQ={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(VQ).forEach(([e,t])=>{VQ[t]=e});const gDt=VQ;function RHe(e){const t=new kk(e),n=dHe(kk.prototype.request,t);return Gt.extend(n,kk.prototype,t,{allOwnKeys:!0}),Gt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return RHe(b4(e,i))},n}const Vo=RHe(Vie);Vo.Axios=kk;Vo.CanceledError=q$;Vo.CancelToken=fDt;Vo.isCancel=$He;Vo.VERSION=MHe;Vo.toFormData=GB;Vo.AxiosError=Fr;Vo.Cancel=Vo.CanceledError;Vo.all=function(t){return Promise.all(t)};Vo.spread=pDt;Vo.isAxiosError=hDt;Vo.mergeConfig=b4;Vo.AxiosHeaders=Jp;Vo.formToJSON=e=>EHe(Gt.isHTMLForm(e)?new FormData(e):e);Vo.getAdapter=THe.getAdapter;Vo.HttpStatusCode=gDt;Vo.default=Vo;const Kie=()=>localStorage.getItem("tokenKey"),Tr=Vo.create({baseURL:"http://localhost:8080",timeout:5e3});Tr.interceptors.request.use(function(e){const t=Kie();return t&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)});const IHe=()=>localStorage.removeItem("tokenKey"),mDt={token:localStorage.getItem("tokenKey")||null,avatar:"",talk:"",name:""},NHe=H$({name:"user",initialState:mDt,reducers:{setToken:(e,t)=>{e.token=t.payload.token,localStorage.setItem("tokenKey",t.payload.token)},setUserInfo:(e,t)=>{e.avatar=t.payload.avatar,e.talk=t.payload.talk,e.name=t.payload.name}}}),{setToken:vDt,setUserInfo:yDt}=NHe.actions,bDt=NHe.reducer,CDt=e=>async t=>{try{const n=await Tr({url:"/api/login",method:"POST",data:e}),r=n.data.data;return t(vDt({token:r})),n.status}catch(n){throw n}},SDt=()=>async e=>{try{const t=await Tr({url:"/api/protect/user",method:"GET"}),n={avatar:t.data.data.avatar,talk:t.data.data.talk,name:t.data.data.name};e(yDt(n))}catch(t){console.error("Failed to fetch userinfo:",t),IHe()}},xDt=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i=wC(),o=My();_.useEffect(()=>{Kie()&&o("/dashboard")},[o]);const a=u=>{const{name:c,value:f}=u.target;c==="account"?t(f):c==="password"&&r(f)},l=async u=>{u.preventDefault();const c={username:e,password:n};try{await i(CDt(c))===200?(pr.success("登录成功"),o("/dashboard")):pr.error("登录失败!")}catch(f){console.error("登录请求出错",f),pr.error("登录请求出错,请稍后再试!")}},s=u=>{u.preventDefault(),pr.warning(`请填写${u.currentTarget.placeholder}`)};return ge.jsx("div",{className:"body",children:ge.jsxs("div",{className:"container",children:[ge.jsx("div",{className:"back",children:ge.jsx("div",{className:"BackFilter"})}),ge.jsx("div",{className:"LoginForm",children:ge.jsxs("div",{className:"LoginContainer",children:[ge.jsx("div",{className:"heading",children:"Sign In"}),ge.jsxs("form",{action:"",onSubmit:l,className:"form",children:[ge.jsx("input",{required:!0,className:"input",type:"text",name:"account",value:e,placeholder:"账号",onChange:a,onInvalid:s}),ge.jsx("input",{required:!0,className:"input",type:"password",name:"password",value:n,placeholder:"密码",onChange:a,onInvalid:s}),ge.jsx("input",{className:"login-button",type:"submit",value:"登录"})]})]})})]})})};window._iconfont_svg_string_4335817='',function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var r,i,o,a,l,s=function(f,h){h.parentNode.insertBefore(f,h)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(f){console&&console.log(f)}}r=function(){var f,h=document.createElement("div");h.innerHTML=e._iconfont_svg_string_4335817,(h=h.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",h=h,(f=document.body).firstChild?s(h,f.firstChild):f.appendChild(h))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),r()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=r,a=e.document,l=!1,c(),a.onreadystatechange=function(){a.readyState=="complete"&&(a.onreadystatechange=null,u())})}function u(){l||(l=!0,o())}function c(){try{a.documentElement.doScroll("left")}catch{return void setTimeout(c,50)}u()}}(window);const XB=Se.createContext(""),_Dt=({handleModeSwitch:e,isDarkMode:t})=>ge.jsx(ge.Fragment,{children:ge.jsxs("label",{className:"theme-switch",children:[ge.jsx("input",{type:"checkbox",className:"theme-switch__checkbox",onClick:e,checked:t}),ge.jsxs("div",{className:"theme-switch__container",children:[ge.jsx("div",{className:"theme-switch__clouds"}),ge.jsx("div",{className:"theme-switch__stars-container",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 144 55",fill:"none",children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z",fill:"currentColor"})})}),ge.jsx("div",{className:"theme-switch__circle-container",children:ge.jsx("div",{className:"theme-switch__sun-moon-container",children:ge.jsxs("div",{className:"theme-switch__moon",children:[ge.jsx("div",{className:"theme-switch__spot"}),ge.jsx("div",{className:"theme-switch__spot"}),ge.jsx("div",{className:"theme-switch__spot"})]})})})]})]})}),wDt=()=>ge.jsx(ge.Fragment,{children:ge.jsxs("button",{className:"setting-btn",children:[ge.jsx("span",{className:"bar bar1"}),ge.jsx("span",{className:"bar bar2"}),ge.jsx("span",{className:"bar bar1"})]})}),ODt={categories:[],categoryCount:0},AHe=H$({name:"categories",initialState:ODt,reducers:{setCategories:(e,t)=>{e.categories=t.payload},setCategoryCount:(e,t)=>{e.categoryCount=t.payload}}}),jk=()=>async e=>{Tr({url:"/api/protected/category",method:"GET"}).then(t=>{e(EDt(t.data.data)),e($Dt(t.data.data.length))}).catch(t=>{console.log(t)})},{setCategories:EDt,setCategoryCount:$Dt}=AHe.actions,PDt=AHe.reducer,TDt={tag:[],tagCount:0},kHe=H$({name:"tags",initialState:TDt,reducers:{setTags:(e,t)=>{e.tag=t.payload},setTagCount:(e,t)=>{e.tagCount=t.payload}}}),Dk=()=>async e=>{const t=await Tr({url:"/api/protected/tagone",method:"GET"}).then(o=>o.data.data),n=await Tr({url:"/api/protected/tagtwo",method:"GET"}).then(o=>o.data.data),r=t.map(o=>(o.children=n.filter(a=>a.fatherTag===o.title),o)),i=t.length+n.length;e(RDt(i)),e(MDt(r))},{setTags:MDt,setTagCount:RDt}=kHe.actions,IDt=kHe.reducer,NDt={Notes:[],noteCount:0},jHe=H$({name:"Note",initialState:NDt,reducers:{setNote:(e,t)=>{e.Notes=t.payload},setNoteCount:(e,t)=>{e.noteCount=t.payload}}}),c7=()=>async e=>{try{const n=(await Tr({url:"/api/protected/notes",method:"GET"})).data.data.map(r=>({...r,noteTags:r.noteTags?r.noteTags.split(",").map(i=>parseInt(i,10)):[]}));e(ADt(n)),e(kDt(n.length))}catch(t){console.error("Error fetching note list:",t)}},{setNote:ADt,setNoteCount:kDt}=jHe.actions,jDt=jHe.reducer,DDt=()=>{const e=My(),[t,n]=_.useState(1),[r,i]=_.useState(!0),[o,a]=_.useState(!1),[l,s]=TBe.useNotification(),[u,c]=_.useState(!1),f=wC(),h=Yl(O=>O.user.avatar),d=Yl(O=>O.user.talk),p=Yl(O=>O.user.name);_.useEffect(()=>{f(SDt()),f(jk()),f(Dk()),f(c7());const O=localStorage.getItem("isDarkMode"),$=location.hash==="#/dashboard"?1:location.hash==="#/dashboard/notes"?2:location.hash==="#/dashboard/comments"?3:location.hash==="#/dashboard/albums"?4:location.hash==="#/dashboard/friends"?5:location.hash==="#/dashboard/analytics"?6:location.hash.startsWith("#/dashboard/notes")?2:1;n($),c(!0),O!==null&&a(JSON.parse(O))},[]);const g=()=>{const O=`open${Date.now()}`,$=ge.jsxs(CC,{children:[ge.jsx(Ei,{type:"link",size:"small",onClick:()=>l.destroy(),children:"返回"}),ge.jsx(Ei,{type:"primary",size:"small",onClick:()=>{IHe(),e("/"),pr.success("退出成功")},children:"确认"})]});l.open({message:"退出确认",btn:$,key:O})},m=()=>{i(!r)},v=()=>{i(!1)},y=()=>{a(!o),localStorage.setItem("isDarkMode",JSON.stringify(!o))},b=[{index:1,name:"主页",icon:"icon-shouyefill",to:"",active:!1},{index:2,name:"笔记",icon:"icon-yongyan",to:"notes",active:!1,children:[{index:201,name:"全部文章",to:"allnotes"},{index:202,name:"编辑文章",to:"newnote"},{index:203,name:"全部分类",to:"allcategorize"},{index:204,name:"全部标签",to:"alltags"}]},{index:3,name:"说说",icon:"icon-pinglun4",to:"comments",active:!1},{index:4,name:"图库",icon:"icon-xiangce",to:"albums",active:!1},{index:5,name:"友链圈",icon:"icon-youlianguanli",to:"friends",active:!1},{index:6,name:"数据板",icon:"icon-zhexiantu",to:"analytics",active:!1}],C=_.useRef(null),[x,S]=_.useState(!1),w=()=>{const O=C.current;x?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),S(!1)):(O!=null&&O.requestFullscreen?O.requestFullscreen():O!=null&&O.mozRequestFullScreen?O.mozRequestFullScreen():O!=null&&O.webkitRequestFullscreen?O.webkitRequestFullscreen():O!=null&&O.msRequestFullscreen&&O.msRequestFullscreen(),S(!0))};return ge.jsx("div",{className:`contain ${o?"dark":""}`,children:u?ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:`content ${o?"contentDark":""}`,ref:C,children:[ge.jsx("div",{className:`shell ${r?"close":""} ${o?"dark":""} slider`,children:ge.jsxs("nav",{className:`shell ${r?"close":""} ${o?"dark":""}`,children:[ge.jsxs("header",{children:[ge.jsxs("div",{className:"image-text",children:[ge.jsx("span",{className:"image",children:ge.jsx("img",{src:h,alt:""})}),ge.jsxs("div",{className:"text logo-text",children:[ge.jsx("span",{className:"name",children:p}),ge.jsxs("p",{className:"onesay",children:['"',d,'"']})]})]}),ge.jsx("i",{className:"iconfont icon-iconfonticonfontarrowright toggle",onClick:m,style:{fontSize:20}})]}),ge.jsxs("div",{className:"menu-bar",children:[ge.jsxs("div",{className:"menu",children:[ge.jsxs("li",{className:"search-box",onClick:v,children:[ge.jsx("i",{className:"iconfont icon-sousuo1 icon"}),ge.jsx("input",{type:"text",placeholder:"search..."})]}),ge.jsx("ul",{className:"menu-links",children:b.map(O=>ge.jsxs("li",{className:`nav-links ${t===O.index?"nav_select":""}`,onClick:()=>{e(O.to),n(O.index)},children:[ge.jsx("i",{className:`iconfont ${O.icon} icon`}),ge.jsx("span",{className:"text nac-text",children:O.name})]},O.index))})]}),ge.jsxs("div",{className:"bottom-content",children:[ge.jsxs("li",{className:"nav-links",onClick:()=>e("usercontrol"),children:[ge.jsx("i",{className:"iconfont icon-iconfontcog icon"}),ge.jsx("span",{className:"text nac-text",children:"用户管理"})]}),ge.jsxs("li",{className:"nav-links",onClick:g,children:[ge.jsx("i",{className:"iconfont icon-tuichu icon"}),ge.jsx("span",{className:"text nac-text",children:"退出登录"})]}),ge.jsxs("li",{className:"mode",children:[ge.jsx("div",{className:"sun-moon",children:o?ge.jsx("i",{className:`iconfont icon-taiyang1 icon ${o?"moon":"sun"}`}):ge.jsx("i",{className:`iconfont icon-moonyueliang icon ${o?"sun":"moon"}`})}),ge.jsx("span",{className:"mode-text text",children:o?"白日模式":"夜间模式"}),ge.jsx("div",{className:"toggle-switch",children:ge.jsx(_Dt,{handleModeSwitch:y,isDarkMode:o})})]})]})]})]})}),ge.jsx(mh,{style:{width:"90%",height:"95%",marginLeft:80},className:`Card ${o?"CardDark":""}`,children:ge.jsx(XB.Provider,{value:o.toString(),children:ge.jsx(oAe,{})})}),ge.jsx("div",{className:"setting_btn",onClick:()=>w(),children:ge.jsx(wDt,{})})]}),s]}):ge.jsx("div",{className:"loading-overlay",children:ge.jsx(wBe,{tip:"Loading...",className:"loading"})})})};function LDt({children:e}){const t=My();return _.useEffect(()=>{Kie()||(pr.error("请先登录!"),t("/"))},[]),ge.jsx(ge.Fragment,{children:e})}var zDt={exports:{}};(function(e,t){(function(n,r){e.exports=r(kre)})(go,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=r(n),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,l){return l==="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,l){var s=100*a+l;return s<600?"凌晨":s<900?"早上":s<1100?"上午":s<1300?"中午":s<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(zDt);var Xie={},DHe={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(DHe);var ze=DHe.exports,J6={},jge;function BDt(){if(jge)return J6;jge=1,Object.defineProperty(J6,"__esModule",{value:!0}),J6.default=void 0;var e={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 J6.default=e,J6}var eS={},tS={},nS={},Dge;function FDt(){if(Dge)return nS;Dge=1,Object.defineProperty(nS,"__esModule",{value:!0}),nS.default=void 0;var e={locale:"zh_CN",yearFormat:"YYYY年",cellDateFormat:"D",cellMeridiemFormat:"A",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};return nS.default=e,nS}var rS={},Lge;function LHe(){if(Lge)return rS;Lge=1,Object.defineProperty(rS,"__esModule",{value:!0}),rS.default=void 0;const e={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return rS.default=e,rS}var zge;function zHe(){if(zge)return tS;zge=1;var e=ze;Object.defineProperty(tS,"__esModule",{value:!0}),tS.default=void 0;var t=e(FDt()),n=e(LHe());const r={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},t.default),timePickerLocale:Object.assign({},n.default)};return r.lang.ok="确定",tS.default=r,tS}var Bge;function HDt(){if(Bge)return eS;Bge=1;var e=ze;Object.defineProperty(eS,"__esModule",{value:!0}),eS.default=void 0;var t=e(zHe());return eS.default=t.default,eS}var YB=ze;Object.defineProperty(Xie,"__esModule",{value:!0});var Yie=Xie.default=void 0,WDt=YB(BDt()),qDt=YB(HDt()),VDt=YB(zHe()),UDt=YB(LHe());const Gs="${label}不是一个有效的${type}",GDt={locale:"zh-cn",Pagination:WDt.default,DatePicker:VDt.default,TimePicker:UDt.default,Calendar:qDt.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",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:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:Gs,method:Gs,array:Gs,object:Gs,number:Gs,date:Gs,boolean:Gs,integer:Gs,float:Gs,regexp:Gs,email:Gs,url:Gs,hex:Gs},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:"暂无"}};Yie=Xie.default=GDt;const KDt=({isDark:e})=>{const[t,n]=_.useState([]),r=Yl(i=>i.tags.tag);return _.useEffect(()=>{Tr({url:"/api/protected/notes/page",method:"GET"}).then(i=>{n(i.data.data.map(o=>({...o,noteTags:o.noteTags?o.noteTags.split(",").map(a=>parseInt(a,10)):[]})))})},[]),console.log(r),ge.jsxs("div",{className:"articleRecord",children:[ge.jsx("div",{className:"articleRecordImg",children:ge.jsx("img",{src:"https://ghchart.rshah.org/409ba5/LinMoQC"})}),ge.jsxs("div",{className:"articleRecordBox",style:{overflowY:"auto"},children:[ge.jsx("h3",{children:"最新文章"}),t.map(i=>ge.jsxs("div",{className:"articleRecordCard in",style:{background:e?"rgba(0,0,0,0.33)":"rgba(255,255,255,0.33)"},children:[ge.jsx("div",{className:"post-date",children:ge.jsxs("span",{children:[ge.jsx("i",{className:"iconfont icon-naozhong icon",style:{fontSize:22,display:"inline",verticalAlign:"middle"}}),$o(i.updateTime).format("YYYY-MM-DD")]})}),ge.jsxs("div",{className:"article_cord",children:[ge.jsxs("h3",{children:['" ',i.noteTitle,' "']}),ge.jsx("div",{style:{textAlign:"left",marginLeft:25,marginTop:8,marginRight:60,color:"rgba(0, 0, 0, 0.66)",textIndent:"2em",whiteSpace:"normal",maxHeight:"2.5em",lineHeight:"1.3em",overflow:"hidden",fontWeight:500,textOverflow:"ellipsis"},children:ge.jsx("p",{children:i.description})}),ge.jsx("div",{className:"tags",children:ge.jsx(CC,{size:[0,8],wrap:!0,children:i.noteTags.map(o=>{let a,l;return r.forEach(s=>{s.tagKey===o?(a=s.color,l=s.title):s.children&&s.children.some(u=>u.tagKey===o)&&(a=s.color,l=s.children.find(u=>u.tagKey===o).title)}),ge.jsx(i7,{color:a,style:{margin:5},children:l},o)})})})]})]},i.key))]})]})},XDt=()=>{const e=$o(new Date).format("YYYY年MM月DD日");console.log(e);const n=(()=>{const r=new Date,i=new Date(r.getFullYear(),0,1),a=(new Date(r.getFullYear()+1,0,1).getTime()-i.getTime())/(24*60*60*1e3);return((r.getTime()-i.getTime())/(24*60*60*1e3)/a*100).toFixed(1)})();return ge.jsx("div",{className:"process_container",children:ge.jsxs("div",{className:"today",children:[ge.jsx("div",{className:"process",style:{width:`${n}%`}}),ge.jsx("p",{className:"em_today",children:"😊"}),ge.jsx("p",{className:"time_today",children:e}),ge.jsx("p",{className:"say_today",children:"新的一天,今天也要加油呦!"}),ge.jsxs("span",{className:"percent_progress",children:[n,"%"]})]})})};var Zie={},_D=function(){return _D=Object.assign||function(e){for(var t,n=1,r=arguments.length;ni.endVal;i.frameVal=l?i.endVal:i.frameVal,i.frameVal=Number(i.frameVal.toFixed(i.options.decimalPlaces)),i.printValue(i.frameVal),a1?i.options.decimal+f[1]:"",i.options.useGrouping){u="";for(var h=3,d=0,p=0,g=l.length;pwindow.scrollY&&t.paused?(t.paused=!1,setTimeout(function(){return t.start()},t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>o||i>n)&&!t.paused&&t.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var n=t-this.startVal;if(Math.abs(n)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var r=this.countDown?1:-1;this.endVal=t+r*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(t){var n;if(this.el){var r=this.formattingFn(t);!((n=this.options.plugin)===null||n===void 0)&&n.render?this.options.plugin.render(this.el,r):this.el.tagName==="INPUT"?this.el.value=r:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=r:this.el.innerHTML=r}},e.prototype.ensureNumber=function(t){return typeof t=="number"&&!isNaN(t)},e.prototype.validateValue=function(t){var n=Number(t);return this.ensureNumber(n)?n:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();const ZDt=Object.freeze(Object.defineProperty({__proto__:null,CountUp:YDt},Symbol.toStringTag,{value:"Module"})),QDt=cr(ZDt);Object.defineProperty(Zie,"__esModule",{value:!0});var ja=_,JDt=QDt;function eLt(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}function Fge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function wD(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function BHe(e,t){if(e==null)return{};var n=nLt(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rLt(e,t){return iLt(e)||eLt(e,t)||oLt(e,t)||aLt()}function iLt(e){if(Array.isArray(e))return e}function oLt(e,t){if(e){if(typeof e=="string")return Hge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hge(e,t)}}function Hge(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?g.current=setTimeout($,l*1e3):$(),u==null||u({pauseResume:C,reset:x,update:S})}),C=rd(function(){y().pauseResume(),c==null||c({reset:x,start:w,update:S})}),x=rd(function(){y().el&&(g.current&&clearTimeout(g.current),y().reset(),f==null||f({pauseResume:C,start:w,update:S}))}),S=rd(function($){y().update($),h==null||h({pauseResume:C,reset:x,start:w})}),w=rd(function(){x(),b()}),O=rd(function($){o&&($&&x(),b())});return ja.useEffect(function(){m.current?a&&O(!0):(m.current=!0,O())},[a,m,O,l,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.formattingFn]),ja.useEffect(function(){return function(){x()}},[x]),{start:w,pauseResume:C,reset:x,update:S,getCountUp:y}},pLt=["className","redraw","containerProps","children","style"],hLt=function(t){var n=t.className,r=t.redraw,i=t.containerProps,o=t.children,a=t.style,l=BHe(t,pLt),s=ja.useRef(null),u=ja.useRef(!1),c=FHe(wD(wD({},l),{},{ref:s,startOnMount:typeof o!="function"||t.delay===0,enableReinitialize:!1})),f=c.start,h=c.reset,d=c.update,p=c.pauseResume,g=c.getCountUp,m=rd(function(){f()}),v=rd(function(C){t.preserveValue||h(),d(C)}),y=rd(function(){if(typeof t.children=="function"&&!(s.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. .`);return}g()});ja.useEffect(function(){y()},[y]),ja.useEffect(function(){u.current&&v(t.end)},[t.end,v]);var b=r&&t;return ja.useEffect(function(){r&&u.current&&m()},[m,r,b]),ja.useEffect(function(){!r&&u.current&&m()},[m,r,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.className,t.formattingFn]),ja.useEffect(function(){u.current=!0},[]),typeof o=="function"?o({countUpRef:s,start:f,reset:h,update:d,pauseResume:p,getCountUp:g}):ja.createElement("span",UQ({className:n,ref:s,style:a},i),typeof t.start<"u"?g().formattingFn(t.start):"")},gLt=Zie.default=hLt;Zie.useCountUp=FHe;const mLt=()=>{const e=Yl(o=>o.tags.tagCount),t=Yl(o=>o.notes.noteCount),n=Yl(o=>o.categories.categoryCount),r=[{index:1,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgba(230,240,0,0.3)"},children:"✨️"}),"文章总数"]}),value:t},{index:2,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgba(255,0,0,0.3)"},children:"❤️️"}),"分类总数"]}),value:n},{index:3,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgb(147,154,216,0.3)"},children:"🎯"}),"标签总数"]}),value:e}],i=o=>ge.jsx(gLt,{end:Number(o),separator:","});return ge.jsx(ge.Fragment,{children:ge.jsx("div",{className:"analyticsCard",children:r.map(o=>ge.jsx(mh,{className:"akCard",children:ge.jsx($B,{gutter:16,children:ge.jsx(Bv,{span:12,children:ge.jsx(yie,{title:o.name,value:o.value,formatter:i})})})},o.index))})})};var vLt="Expected a function",Wge=NaN,yLt="[object Symbol]",bLt=/^\s+|\s+$/g,CLt=/^[-+]0x[0-9a-f]+$/i,SLt=/^0b[01]+$/i,xLt=/^0o[0-7]+$/i,_Lt=parseInt,wLt=typeof go=="object"&&go&&go.Object===Object&&go,OLt=typeof self=="object"&&self&&self.Object===Object&&self,ELt=wLt||OLt||Function("return this")(),$Lt=Object.prototype,PLt=$Lt.toString,TLt=Math.max,MLt=Math.min,VV=function(){return ELt.Date.now()};function RLt(e,t,n){var r,i,o,a,l,s,u=0,c=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(vLt);t=qge(t)||0,GQ(n)&&(c=!!n.leading,f="maxWait"in n,o=f?TLt(qge(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function d(S){var w=r,O=i;return r=i=void 0,u=S,a=e.apply(O,w),a}function p(S){return u=S,l=setTimeout(v,t),c?d(S):a}function g(S){var w=S-s,O=S-u,$=t-w;return f?MLt($,o-O):$}function m(S){var w=S-s,O=S-u;return s===void 0||w>=t||w<0||f&&O>=o}function v(){var S=VV();if(m(S))return y(S);l=setTimeout(v,g(S))}function y(S){return l=void 0,h&&r?d(S):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function C(){return l===void 0?a:y(VV())}function x(){var S=VV(),w=m(S);if(r=arguments,i=this,s=S,w){if(l===void 0)return p(s);if(f)return l=setTimeout(v,t),d(s)}return l===void 0&&(l=setTimeout(v,t)),a}return x.cancel=b,x.flush=C,x}function GQ(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ILt(e){return!!e&&typeof e=="object"}function NLt(e){return typeof e=="symbol"||ILt(e)&&PLt.call(e)==yLt}function qge(e){if(typeof e=="number")return e;if(NLt(e))return Wge;if(GQ(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=GQ(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(bLt,"");var n=SLt.test(e);return n||xLt.test(e)?_Lt(e.slice(2),n?2:8):CLt.test(e)?Wge:+e}var ALt=RLt;const kLt=bo(ALt);var KQ="http://www.w3.org/1999/xhtml";const Vge={svg:"http://www.w3.org/2000/svg",xhtml:KQ,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ZB(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Vge.hasOwnProperty(t)?{space:Vge[t],local:e}:e}function jLt(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===KQ&&t.documentElement.namespaceURI===KQ?t.createElement(e):t.createElementNS(n,e)}}function DLt(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function HHe(e){var t=ZB(e);return(t.local?DLt:jLt)(t)}function LLt(){}function Qie(e){return e==null?LLt:function(){return this.querySelector(e)}}function zLt(e){typeof e!="function"&&(e=Qie(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=b&&(b=y+1);!(x=m[b])&&++b=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function QLt(e){e||(e=JLt);function t(f,h){return f&&h?e(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function ezt(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function tzt(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}function nzt(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?pzt:typeof t=="function"?gzt:hzt)(e,t,n??"")):C4(this.node(),e)}function C4(e,t){return e.style.getPropertyValue(t)||UHe(e).getComputedStyle(e,null).getPropertyValue(t)}function vzt(e){return function(){delete this[e]}}function yzt(e,t){return function(){this[e]=t}}function bzt(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Czt(e,t){return arguments.length>1?this.each((t==null?vzt:typeof t=="function"?bzt:yzt)(e,t)):this.node()[e]}function GHe(e){return e.trim().split(/^|\s+/)}function Jie(e){return e.classList||new KHe(e)}function KHe(e){this._node=e,this._names=GHe(e.getAttribute("class")||"")}KHe.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function XHe(e,t){for(var n=Jie(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Xzt(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Lk.prototype=U$.prototype={constructor:Lk,on:function(e,t){var n=this._,r=nBt(e+"",n),i,o=-1,a=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&e._call.call(null,t),e=e._next;--S4}function Xge(){sy=($D=u7.now())+QB,S4=r9=0;try{aBt()}finally{S4=0,sBt(),sy=0}}function lBt(){var e=u7.now(),t=e-$D;t>tWe&&(QB-=t,$D=e)}function sBt(){for(var e,t=ED,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:ED=n);i9=e,XQ(r)}function XQ(e){if(!S4){r9&&(r9=clearTimeout(r9));var t=e-sy;t>24?(e<1/0&&(r9=setTimeout(Xge,e-u7.now()-QB)),iS&&(iS=clearInterval(iS))):(iS||($D=u7.now(),iS=setInterval(lBt,tWe)),S4=1,nWe(Xge))}}function Yge(e,t,n){var r=new PD;return t=t==null?0:+t,r.restart(function(i){r.stop(),e(i+t)},t,n),r}var cBt=U$("start","end","cancel","interrupt"),uBt=[],rWe=0,Zge=1,YQ=2,zk=3,Qge=4,ZQ=5,Bk=6;function eF(e,t,n,r,i,o){var a=e.__transition;if(!a)e.__transition={};else if(n in a)return;dBt(e,n,{name:t,index:r,group:i,on:cBt,tween:uBt,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:rWe})}function toe(e,t){var n=Id(e,t);if(n.state>rWe)throw new Error("too late; already scheduled");return n}function Ah(e,t){var n=Id(e,t);if(n.state>zk)throw new Error("too late; already running");return n}function Id(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function dBt(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=eoe(o,0,n.time);function o(u){n.state=Zge,n.timer.restart(a,n.delay,n.time),n.delay<=u&&a(u-n.delay)}function a(u){var c,f,h,d;if(n.state!==Zge)return s();for(c in r)if(d=r[c],d.name===n.name){if(d.state===zk)return Yge(a);d.state===Qge?(d.state=Bk,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete r[c]):+cYQ&&r.state>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?OM(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?OM(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=gBt.exec(e))?new uc(t[1],t[2],t[3],1):(t=mBt.exec(e))?new uc(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=vBt.exec(e))?OM(t[1],t[2],t[3],t[4]):(t=yBt.exec(e))?OM(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=bBt.exec(e))?ome(t[1],t[2]/100,t[3]/100,1):(t=CBt.exec(e))?ome(t[1],t[2]/100,t[3]/100,t[4]):Jge.hasOwnProperty(e)?nme(Jge[e]):e==="transparent"?new uc(NaN,NaN,NaN,0):null}function nme(e){return new uc(e>>16&255,e>>8&255,e&255,1)}function OM(e,t,n,r){return r<=0&&(e=t=n=NaN),new uc(e,t,n,r)}function xBt(e){return e instanceof G$||(e=p7(e)),e?(e=e.rgb(),new uc(e.r,e.g,e.b,e.opacity)):new uc}function QQ(e,t,n,r){return arguments.length===1?xBt(e):new uc(e,t,n,r??1)}function uc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}noe(uc,QQ,iWe(G$,{brighter:function(e){return e=e==null?TD:Math.pow(TD,e),new uc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?d7:Math.pow(d7,e),new uc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rme,formatHex:rme,formatRgb:ime,toString:ime}));function rme(){return"#"+UV(this.r)+UV(this.g)+UV(this.b)}function ime(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function UV(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function ome(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new sf(e,t,n,r)}function oWe(e){if(e instanceof sf)return new sf(e.h,e.s,e.l,e.opacity);if(e instanceof G$||(e=p7(e)),!e)return new sf;if(e instanceof sf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new sf(a,l,s,e.opacity)}function _Bt(e,t,n,r){return arguments.length===1?oWe(e):new sf(e,t,n,r??1)}function sf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}noe(sf,_Bt,iWe(G$,{brighter:function(e){return e=e==null?TD:Math.pow(TD,e),new sf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?d7:Math.pow(d7,e),new sf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new uc(GV(e>=240?e-240:e+120,i,r),GV(e,i,r),GV(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function GV(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function aWe(e){return function(){return e}}function wBt(e,t){return function(n){return e+n*t}}function OBt(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function EBt(e){return(e=+e)==1?lWe:function(t,n){return n-t?OBt(t,n,e):aWe(isNaN(t)?n:t)}}function lWe(e,t){var n=t-e;return n?wBt(e,n):aWe(isNaN(e)?t:e)}const ame=function e(t){var n=EBt(t);function r(i,o){var a=n((i=QQ(i)).r,(o=QQ(o)).r),l=n(i.g,o.g),s=n(i.b,o.b),u=lWe(i.opacity,o.opacity);return function(c){return i.r=a(c),i.g=l(c),i.b=s(c),i.opacity=u(c),i+""}}return r.gamma=e,r}(1);function P1(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var JQ=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,KV=new RegExp(JQ.source,"g");function $Bt(e){return function(){return e}}function PBt(e){return function(t){return e(t)+""}}function TBt(e,t){var n=JQ.lastIndex=KV.lastIndex=0,r,i,o,a=-1,l=[],s=[];for(e=e+"",t=t+"";(r=JQ.exec(e))&&(i=KV.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),l[a]?l[a]+=o:l[++a]=o),(r=r[0])===(i=i[0])?l[a]?l[a]+=i:l[++a]=i:(l[++a]=null,s.push({i:a,x:P1(r,i)})),n=KV.lastIndex;return n180?c+=360:c-u>180&&(u+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:P1(u,c)})):c&&f.push(i(f)+"rotate("+c+r)}function l(u,c,f,h){u!==c?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:P1(u,c)}):c&&f.push(i(f)+"skewX("+c+r)}function s(u,c,f,h,d,p){if(u!==f||c!==h){var g=d.push(i(d)+"scale(",null,",",null,")");p.push({i:g-4,x:P1(u,f)},{i:g-2,x:P1(c,h)})}else(f!==1||h!==1)&&d.push(i(d)+"scale("+f+","+h+")")}return function(u,c){var f=[],h=[];return u=e(u),c=e(c),o(u.translateX,u.translateY,c.translateX,c.translateY,f,h),a(u.rotate,c.rotate,f,h),l(u.skewX,c.skewX,f,h),s(u.scaleX,u.scaleY,c.scaleX,c.scaleY,f,h),u=c=null,function(d){for(var p=-1,g=h.length,m;++p=0&&(t=t.slice(0,n)),!t||t==="start"})}function aFt(e,t,n){var r,i,o=oFt(t)?toe:Ah;return function(){var a=o(this,e),l=a.on;l!==r&&(i=(r=l).copy()).on(t,n),a.on=i}}function lFt(e,t){var n=this._id;return arguments.length<2?Id(this.node(),n).on.on(e):this.each(aFt(n,e,t))}function sFt(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function cFt(){return this.on("end.remove",sFt(this._id))}function uFt(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Qie(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}function hWe(e){let t=e,n=e;e.length===1&&(t=(a,l)=>e(a)-l,n=AFt(e));function r(a,l,s,u){for(s==null&&(s=0),u==null&&(u=a.length);s>>1;n(a[c],l)<0?s=c+1:u=c}return s}function i(a,l,s,u){for(s==null&&(s=0),u==null&&(u=a.length);s>>1;n(a[c],l)>0?u=c:s=c+1}return s}function o(a,l,s,u){s==null&&(s=0),u==null&&(u=a.length);const c=r(a,l,s,u-1);return c>s&&t(a[c-1],l)>-t(a[c],l)?c-1:c}return{left:r,center:o,right:i}}function AFt(e){return(t,n)=>pWe(e(t),n)}function kFt(e){return e===null?NaN:+e}const jFt=hWe(pWe),DFt=jFt.right;hWe(kFt).center;function LFt(e,t){return te?1:t>=e?0:NaN}class cy{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let i=0;i0){for(a=t[--n];n>0&&(r=a,i=t[--n],a=r+i,o=i-(a-r),!o););n>0&&(o<0&&t[n-1]<0||o>0&&t[n-1]>0)&&(i=o*2,r=a+i,i==r-a&&(a=r))}return a}}let zFt=class extends Map{constructor(t,n=HFt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(cme(this,t))}has(t){return super.has(cme(this,t))}set(t,n){return super.set(BFt(this,t),n)}delete(t){return super.delete(FFt(this,t))}};function cme({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function BFt({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function FFt({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(n),e.delete(r)),n}function HFt(e){return e!==null&&typeof e=="object"?e.valueOf():e}var nJ=Math.sqrt(50),rJ=Math.sqrt(10),iJ=Math.sqrt(2);function oJ(e,t,n){var r,i=-1,o,a,l;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((r=t0){let s=Math.round(e/l),u=Math.round(t/l);for(s*lt&&--u,a=new Array(o=u-s+1);++it&&--u,a=new Array(o=u-s+1);++i=0?(o>=nJ?10:o>=rJ?5:o>=iJ?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=nJ?10:o>=rJ?5:o>=iJ?2:1)}function WFt(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=nJ?i*=10:o>=rJ?i*=5:o>=iJ&&(i*=2),t=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function VFt(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function*UFt(e){for(const t of e)yield*t}function mWe(e){return Array.from(UFt(e))}function Pv(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r>5)*e[1]),C=null,x=u.length,S=-1,w=[],O=u.map(function(P,T){return P.text=t.call(this,P,T),P.font=n.call(this,P,T),P.style=i.call(this,P,T),P.weight=o.call(this,P,T),P.rotate=a.call(this,P,T),P.size=~~r.call(this,P,T),P.padding=l.call(this,P,T),P}).sort(function(P,T){return T.size-P.size});return h&&clearInterval(h),h=setInterval($,0),$(),p;function $(){for(var P=Date.now();Date.now()-P>1,T.y=e[1]*(d()+.5)>>1,nHt(y,T,O,S),T.hasText&&v(b,T,C)&&(w.push(T),f.call("word",p,T),C?iHt(C,T):C=[{x:T.x+T.x0,y:T.y+T.y0},{x:T.x+T.x1,y:T.y+T.y1}],T.x-=e[0]>>1,T.y-=e[1]>>1)}S>=x&&(p.stop(),f.call("end",p,w,C))}},p.stop=function(){h&&(clearInterval(h),h=null);for(const y of u)delete y.sprite;return p};function m(y){const b=y.getContext("2d",{willReadFrequently:!0});y.width=y.height=1;const C=Math.sqrt(b.getImageData(0,0,1,1).data.length>>2);return y.width=(o9<<5)/C,y.height=Fk/C,b.fillStyle=b.strokeStyle="red",{context:b,ratio:C}}function v(y,b,C){e[0],e[1];for(var x=b.x,S=b.y,w=Math.sqrt(e[0]*e[0]+e[1]*e[1]),O=s(e),$=d()<.5?1:-1,P=-$,T,R,M;(T=O(P+=$))&&(R=~~T[0],M=~~T[1],!(Math.min(Math.abs(R),Math.abs(M))>=w));)if(b.x=x+R,b.y=S+M,!(b.x+b.x0<0||b.y+b.y0<0||b.x+b.x1>e[0]||b.y+b.y1>e[1])&&(!C||oHt(b,C))&&!rHt(b,y,e[0])){for(var A=b.sprite,N=b.width>>5,k=e[0]>>5,D=b.x-(N<<4),L=D&127,B=32-L,j=b.y1-b.y0,z=(b.y+b.y0)*k+(D>>5),V,W=0;W>>L:0);z+=k}return!0}return!1}return p.timeInterval=function(y){return arguments.length?(c=y??1/0,p):c},p.words=function(y){return arguments.length?(u=y,p):u},p.size=function(y){return arguments.length?(e=[+y[0],+y[1]],p):e},p.font=function(y){return arguments.length?(n=i1(y),p):n},p.fontStyle=function(y){return arguments.length?(i=i1(y),p):i},p.fontWeight=function(y){return arguments.length?(o=i1(y),p):o},p.rotate=function(y){return arguments.length?(a=i1(y),p):a},p.text=function(y){return arguments.length?(t=i1(y),p):t},p.spiral=function(y){return arguments.length?(s=XFt[y]||y,p):s},p.fontSize=function(y){return arguments.length?(r=i1(y),p):r},p.padding=function(y){return arguments.length?(l=i1(y),p):l},p.random=function(y){return arguments.length?(d=y,p):d},p.on=function(){var y=f.on.apply(f,arguments);return y===f?p:y},p};function ZFt(e){return e.text}function QFt(){return"serif"}function ume(){return"normal"}function JFt(e){return Math.sqrt(e.value)}function eHt(){return(~~(random()*6)-3)*30}function tHt(){return 1}function nHt(e,t,n,r){if(!t.sprite){var i=e.context,o=e.ratio;i.clearRect(0,0,(o9<<5)/o,Fk/o);var a=0,l=0,s=0,u=n.length;for(--r;++r>5<<5,A=~~Math.max(Math.abs(d+p),Math.abs(d-p))}else M=M+31>>5<<5;if(A>s&&(s=A),a+M>=o9<<5&&(a=0,l+=s,s=0),l+A>=Fk)break;i.translate((a+(M>>1))/o,(l+(A>>1))/o),t.rotate&&i.rotate(t.rotate*YV),i.fillText(t.text,R,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,R,0)),i.restore(),t.width=M,t.height=A,t.xoff=a,t.yoff=l,t.x1=M>>1,t.y1=A>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=M}for(var m=i.getImageData(0,0,(o9<<5)/o,Fk/o).data,v=[];--r>=0;)if(t=n[r],!!t.hasText){for(var y=t.width,b=y>>5,C=t.y1-t.y0,x=0;x>5),P=m[(l+O)*(o9<<5)+(a+x)<<2]?1<<31-x%32:0;v[$]|=P,S|=P}S?w=O:(t.y0++,C--,O--,l++)}t.y1=t.y0+w,t.sprite=v.slice(0,(t.y1-t.y0)*b)}}}function rHt(e,t,n){n>>=5;for(var r=e.sprite,i=e.width>>5,o=e.x-(i<<4),a=o&127,l=32-a,s=e.y1-e.y0,u=(e.y+e.y0)*n+(o>>5),c,f=0;f>>a:0))&t[u+h])return!0;u+=n}return!1}function iHt(e,t){var n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function oHt(e,t){return e.x+e.x1>t[0].x&&e.x+e.x0t[0].y&&e.y+e.y0-1}function It(Ve,Et){var Vt=this.__data__,An=gt(Vt,Ve);return An<0?Vt.push([Ve,Et]):Vt[An][1]=Et,this}dt.prototype.clear=_t,dt.prototype.delete=Ot,dt.prototype.get=Ct,dt.prototype.has=mt,dt.prototype.set=It;function nt(Ve){var Et=-1,Vt=Ve?Ve.length:0;for(this.clear();++Et-1&&Ve%1==0&&Ve-1&&Ve%1==0&&Ve<=i}function jc(Ve){var Et=typeof Ve;return!!Ve&&(Et=="object"||Et=="function")}function Q0(Ve){return!!Ve&&typeof Ve=="object"}function Iu(Ve){return Yn(Ve)?wn(Ve):Sn(Ve)}function mb(){return[]}function sW(){return!1}e.exports=Z0})(MD,MD.exports);var uHt=MD.exports;const dHt=bo(uHt);var ioe={exports:{}};ioe.exports;(function(e){(function(t,n,r){function i(s){var u=this,c=l();u.next=function(){var f=2091639*u.s0+u.c*23283064365386963e-26;return u.s0=u.s1,u.s1=u.s2,u.s2=f-(u.c=f|0)},u.c=1,u.s0=c(" "),u.s1=c(" "),u.s2=c(" "),u.s0-=c(s),u.s0<0&&(u.s0+=1),u.s1-=c(s),u.s1<0&&(u.s1+=1),u.s2-=c(s),u.s2<0&&(u.s2+=1),c=null}function o(s,u){return u.c=s.c,u.s0=s.s0,u.s1=s.s1,u.s2=s.s2,u}function a(s,u){var c=new i(s),f=u&&u.state,h=c.next;return h.int32=function(){return c.next()*4294967296|0},h.double=function(){return h()+(h()*2097152|0)*11102230246251565e-32},h.quick=h,f&&(typeof f=="object"&&o(f,c),h.state=function(){return o(c,{})}),h}function l(){var s=4022871197,u=function(c){c=String(c);for(var f=0;f>>0,h-=s,h*=s,s=h>>>0,h-=s,s+=h*4294967296}return(s>>>0)*23283064365386963e-26};return u}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.alea=a})(go,e,!1)})(ioe);var fHt=ioe.exports,ooe={exports:{}};ooe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.x=0,s.y=0,s.z=0,s.w=0,s.next=function(){var f=s.x^s.x<<11;return s.x=s.y,s.y=s.z,s.z=s.w,s.w^=s.w>>>19^f^f>>>8},l===(l|0)?s.x=l:u+=l;for(var c=0;c>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xor128=a})(go,e,!1)})(ooe);var pHt=ooe.exports,aoe={exports:{}};aoe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.next=function(){var f=s.x^s.x>>>2;return s.x=s.y,s.y=s.z,s.z=s.w,s.w=s.v,(s.d=s.d+362437|0)+(s.v=s.v^s.v<<4^(f^f<<1))|0},s.x=0,s.y=0,s.z=0,s.w=0,s.v=0,l===(l|0)?s.x=l:u+=l;for(var c=0;c>>4),s.next()}function o(l,s){return s.x=l.x,s.y=l.y,s.z=l.z,s.w=l.w,s.v=l.v,s.d=l.d,s}function a(l,s){var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xorwow=a})(go,e,!1)})(aoe);var hHt=aoe.exports,loe={exports:{}};loe.exports;(function(e){(function(t,n,r){function i(l){var s=this;s.next=function(){var c=s.x,f=s.i,h,d;return h=c[f],h^=h>>>7,d=h^h<<24,h=c[f+1&7],d^=h^h>>>10,h=c[f+3&7],d^=h^h>>>3,h=c[f+4&7],d^=h^h<<7,h=c[f+7&7],h=h^h<<13,d^=h^h<<9,c[f]=d,s.i=f+1&7,d};function u(c,f){var h,d=[];if(f===(f|0))d[0]=f;else for(f=""+f,h=0;h0;--h)c.next()}u(s,l)}function o(l,s){return s.x=l.x.slice(),s.i=l.i,s}function a(l,s){l==null&&(l=+new Date);var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(c.x&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xorshift7=a})(go,e,!1)})(loe);var gHt=loe.exports,soe={exports:{}};soe.exports;(function(e){(function(t,n,r){function i(l){var s=this;s.next=function(){var c=s.w,f=s.X,h=s.i,d,p;return s.w=c=c+1640531527|0,p=f[h+34&127],d=f[h=h+1&127],p^=p<<13,d^=d<<17,p^=p>>>15,d^=d>>>12,p=f[h]=p^d,s.i=h,p+(c^c>>>16)|0};function u(c,f){var h,d,p,g,m,v=[],y=128;for(f===(f|0)?(d=f,f=null):(f=f+"\0",d=0,y=Math.max(y,f.length)),p=0,g=-32;g>>15,d^=d<<4,d^=d>>>13,g>=0&&(m=m+1640531527|0,h=v[g&127]^=d+m,p=h==0?p+1:0);for(p>=128&&(v[(f&&f.length||0)&127]=-1),p=127,g=4*128;g>0;--g)d=v[p+34&127],h=v[p=p+1&127],d^=d<<13,h^=h<<17,d^=d>>>15,h^=h>>>12,v[p]=d^h;c.w=m,c.X=v,c.i=p}u(s,l)}function o(l,s){return s.i=l.i,s.w=l.w,s.X=l.X.slice(),s}function a(l,s){l==null&&(l=+new Date);var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(c.X&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xor4096=a})(go,e,!1)})(soe);var mHt=soe.exports,coe={exports:{}};coe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.next=function(){var f=s.b,h=s.c,d=s.d,p=s.a;return f=f<<25^f>>>7^h,h=h-d|0,d=d<<24^d>>>8^p,p=p-f|0,s.b=f=f<<20^f>>>12^h,s.c=h=h-d|0,s.d=d<<16^h>>>16^p,s.a=p-f|0},s.a=0,s.b=0,s.c=-1640531527,s.d=1367130551,l===Math.floor(l)?(s.a=l/4294967296|0,s.b=l|0):u+=l;for(var c=0;c>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.tychei=a})(go,e,!1)})(coe);var vHt=coe.exports,yWe={exports:{}};const yHt={},bHt=Object.freeze(Object.defineProperty({__proto__:null,default:yHt},Symbol.toStringTag,{value:"Module"})),CHt=cr(bHt);(function(e){(function(t,n,r){var i=256,o=6,a=52,l="random",s=r.pow(i,o),u=r.pow(2,a),c=u*2,f=i-1,h;function d(C,x,S){var w=[];x=x==!0?{entropy:!0}:x||{};var O=v(m(x.entropy?[C,b(n)]:C??y(),3),w),$=new p(w),P=function(){for(var T=$.g(o),R=s,M=0;T=c;)T/=2,R/=2,M>>>=1;return(T+M)/R};return P.int32=function(){return $.g(4)|0},P.quick=function(){return $.g(4)/4294967296},P.double=P,v(b($.S),n),(x.pass||S||function(T,R,M,A){return A&&(A.S&&g(A,$),T.state=function(){return g($,{})}),M?(r[l]=T,R):T})(P,O,"global"in x?x.global:this==r,x.state)}function p(C){var x,S=C.length,w=this,O=0,$=w.i=w.j=0,P=w.S=[];for(S||(C=[S++]);O"u")return!1;var t=Ec(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function HHt(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!su(o)||!Df(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function WHt(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(s,u){return s[u]="",s},{});!su(i)||!Df(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}const SWe={name:"applyStyles",enabled:!0,phase:"write",fn:HHt,effect:WHt,requires:["computeStyles"]};function Of(e){return e.split("-")[0]}var Wv=Math.max,RD=Math.min,_4=Math.round;function aJ(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function xWe(){return!/^((?!chrome|android).)*safari/i.test(aJ())}function w4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&su(e)&&(i=e.offsetWidth>0&&_4(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_4(r.height)/e.offsetHeight||1);var a=uy(e)?Ec(e):window,l=a.visualViewport,s=!xWe()&&n,u=(r.left+(s&&l?l.offsetLeft:0))/i,c=(r.top+(s&&l?l.offsetTop:0))/o,f=r.width/i,h=r.height/o;return{width:f,height:h,top:c,right:u+f,bottom:c+h,left:u,x:u,y:c}}function foe(e){var t=w4(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _We(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&doe(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ch(e){return Ec(e).getComputedStyle(e)}function qHt(e){return["table","td","th"].indexOf(Df(e))>=0}function N0(e){return((uy(e)?e.ownerDocument:e.document)||window.document).documentElement}function tF(e){return Df(e)==="html"?e:e.assignedSlot||e.parentNode||(doe(e)?e.host:null)||N0(e)}function fme(e){return!su(e)||Ch(e).position==="fixed"?null:e.offsetParent}function VHt(e){var t=/firefox/i.test(aJ()),n=/Trident/i.test(aJ());if(n&&su(e)){var r=Ch(e);if(r.position==="fixed")return null}var i=tF(e);for(doe(i)&&(i=i.host);su(i)&&["html","body"].indexOf(Df(i))<0;){var o=Ch(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function X$(e){for(var t=Ec(e),n=fme(e);n&&qHt(n)&&Ch(n).position==="static";)n=fme(n);return n&&(Df(n)==="html"||Df(n)==="body"&&Ch(n).position==="static")?t:n||VHt(e)||t}function poe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F9(e,t,n){return Wv(e,RD(t,n))}function UHt(e,t,n){var r=F9(e,t,n);return r>n?n:r}function wWe(){return{top:0,right:0,bottom:0,left:0}}function OWe(e){return Object.assign({},wWe(),e)}function EWe(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var GHt=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,OWe(typeof t!="number"?t:EWe(t,K$))};function KHt(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Of(n.placement),s=poe(l),u=[Rs,vu].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var f=GHt(i.padding,n),h=foe(o),d=s==="y"?Ms:Rs,p=s==="y"?mu:vu,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],v=X$(o),y=v?s==="y"?v.clientHeight||0:v.clientWidth||0:0,b=g/2-m/2,C=f[d],x=y-h[c]-f[p],S=y/2-h[c]/2+b,w=F9(C,S,x),O=s;n.modifiersData[r]=(t={},t[O]=w,t.centerOffset=w-S,t)}}function XHt(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||_We(t.elements.popper,i)&&(t.elements.arrow=i))}const YHt={name:"arrow",enabled:!0,phase:"main",fn:KHt,effect:XHt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function O4(e){return e.split("-")[1]}var ZHt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function QHt(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:_4(n*i)/i||0,y:_4(r*i)/i||0}}function pme(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=a.x,d=h===void 0?0:h,p=a.y,g=p===void 0?0:p,m=typeof c=="function"?c({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Rs,C=Ms,x=window;if(u){var S=X$(n),w="clientHeight",O="clientWidth";if(S===Ec(n)&&(S=N0(n),Ch(S).position!=="static"&&l==="absolute"&&(w="scrollHeight",O="scrollWidth")),S=S,i===Ms||(i===Rs||i===vu)&&o===h7){C=mu;var $=f&&S===x&&x.visualViewport?x.visualViewport.height:S[w];g-=$-r.height,g*=s?1:-1}if(i===Rs||(i===Ms||i===mu)&&o===h7){b=vu;var P=f&&S===x&&x.visualViewport?x.visualViewport.width:S[O];d-=P-r.width,d*=s?1:-1}}var T=Object.assign({position:l},u&&ZHt),R=c===!0?QHt({x:d,y:g},Ec(n)):{x:d,y:g};if(d=R.x,g=R.y,s){var M;return Object.assign({},T,(M={},M[C]=y?"0":"",M[b]=v?"0":"",M.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",M))}return Object.assign({},T,(t={},t[C]=y?g+"px":"",t[b]=v?d+"px":"",t.transform="",t))}function JHt(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,s=l===void 0?!0:l,u={placement:Of(t.placement),variation:O4(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,pme(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,pme(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const eWt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JHt,data:{}};var $M={passive:!0};function tWt(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,s=Ec(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,$M)}),l&&s.addEventListener("resize",n.update,$M),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,$M)}),l&&s.removeEventListener("resize",n.update,$M)}}const nWt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tWt,data:{}};var rWt={left:"right",right:"left",bottom:"top",top:"bottom"};function Hk(e){return e.replace(/left|right|bottom|top/g,function(t){return rWt[t]})}var iWt={start:"end",end:"start"};function hme(e){return e.replace(/start|end/g,function(t){return iWt[t]})}function hoe(e){var t=Ec(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function goe(e){return w4(N0(e)).left+hoe(e).scrollLeft}function oWt(e,t){var n=Ec(e),r=N0(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=xWe();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+goe(e),y:s}}function aWt(e){var t,n=N0(e),r=hoe(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Wv(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Wv(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+goe(e),s=-r.scrollTop;return Ch(i||n).direction==="rtl"&&(l+=Wv(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function moe(e){var t=Ch(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function $We(e){return["html","body","#document"].indexOf(Df(e))>=0?e.ownerDocument.body:su(e)&&moe(e)?e:$We(tF(e))}function H9(e,t){var n;t===void 0&&(t=[]);var r=$We(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Ec(r),a=i?[o].concat(o.visualViewport||[],moe(r)?r:[]):r,l=t.concat(a);return i?l:l.concat(H9(tF(a)))}function lJ(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lWt(e,t){var n=w4(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function gme(e,t,n){return t===bWe?lJ(oWt(e,n)):uy(t)?lWt(t,n):lJ(aWt(N0(e)))}function sWt(e){var t=H9(tF(e)),n=["absolute","fixed"].indexOf(Ch(e).position)>=0,r=n&&su(e)?X$(e):e;return uy(r)?t.filter(function(i){return uy(i)&&_We(i,r)&&Df(i)!=="body"}):[]}function cWt(e,t,n,r){var i=t==="clippingParents"?sWt(e):[].concat(t),o=[].concat(i,[n]),a=o[0],l=o.reduce(function(s,u){var c=gme(e,u,r);return s.top=Wv(c.top,s.top),s.right=RD(c.right,s.right),s.bottom=RD(c.bottom,s.bottom),s.left=Wv(c.left,s.left),s},gme(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function PWe(e){var t=e.reference,n=e.element,r=e.placement,i=r?Of(r):null,o=r?O4(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(i){case Ms:s={x:a,y:t.y-n.height};break;case mu:s={x:a,y:t.y+t.height};break;case vu:s={x:t.x+t.width,y:l};break;case Rs:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?poe(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case x4:s[u]=s[u]-(t[c]/2-n[c]/2);break;case h7:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function g7(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,s=l===void 0?MHt:l,u=n.rootBoundary,c=u===void 0?bWe:u,f=n.elementContext,h=f===void 0?aS:f,d=n.altBoundary,p=d===void 0?!1:d,g=n.padding,m=g===void 0?0:g,v=OWe(typeof m!="number"?m:EWe(m,K$)),y=h===aS?RHt:aS,b=e.rects.popper,C=e.elements[p?y:h],x=cWt(uy(C)?C:C.contextElement||N0(e.elements.popper),s,c,a),S=w4(e.elements.reference),w=PWe({reference:S,element:b,strategy:"absolute",placement:i}),O=lJ(Object.assign({},b,w)),$=h===aS?O:S,P={top:x.top-$.top+v.top,bottom:$.bottom-x.bottom+v.bottom,left:x.left-$.left+v.left,right:$.right-x.right+v.right},T=e.modifiersData.offset;if(h===aS&&T){var R=T[i];Object.keys(P).forEach(function(M){var A=[vu,mu].indexOf(M)>=0?1:-1,N=[Ms,mu].indexOf(M)>=0?"y":"x";P[M]+=R[N]*A})}return P}function uWt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?CWe:s,c=O4(r),f=c?l?dme:dme.filter(function(p){return O4(p)===c}):K$,h=f.filter(function(p){return u.indexOf(p)>=0});h.length===0&&(h=f);var d=h.reduce(function(p,g){return p[g]=g7(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[Of(g)],p},{});return Object.keys(d).sort(function(p,g){return d[p]-d[g]})}function dWt(e){if(Of(e)===uoe)return[];var t=Hk(e);return[hme(e),t,hme(t)]}function fWt(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!0:a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=d===void 0?!0:d,g=n.allowedAutoPlacements,m=t.options.placement,v=Of(m),y=v===m,b=s||(y||!p?[Hk(m)]:dWt(m)),C=[m].concat(b).reduce(function(U,K){return U.concat(Of(K)===uoe?uWt(t,{placement:K,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):K)},[]),x=t.rects.reference,S=t.rects.popper,w=new Map,O=!0,$=C[0],P=0;P=0,N=A?"width":"height",k=g7(t,{placement:T,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),D=A?M?vu:Rs:M?mu:Ms;x[N]>S[N]&&(D=Hk(D));var L=Hk(D),B=[];if(o&&B.push(k[R]<=0),l&&B.push(k[D]<=0,k[L]<=0),B.every(function(U){return U})){$=T,O=!1;break}w.set(T,B)}if(O)for(var j=p?3:1,z=function(K){var X=C.find(function(G){var Y=w.get(G);if(Y)return Y.slice(0,K).every(function(J){return J})});if(X)return $=X,"break"},V=j;V>0;V--){var W=z(V);if(W==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const pWt={name:"flip",enabled:!0,phase:"main",fn:fWt,requiresIfExists:["offset"],data:{_skip:!1}};function mme(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function vme(e){return[Ms,vu,mu,Rs].some(function(t){return e[t]>=0})}function hWt(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=g7(t,{elementContext:"reference"}),l=g7(t,{altBoundary:!0}),s=mme(a,r),u=mme(l,i,o),c=vme(s),f=vme(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const gWt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hWt};function mWt(e,t,n){var r=Of(e),i=[Rs,Ms].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[Rs,vu].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function vWt(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=CWe.reduce(function(c,f){return c[f]=mWt(f,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const yWt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:vWt};function bWt(e){var t=e.state,n=e.name;t.modifiersData[n]=PWe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const CWt={name:"popperOffsets",enabled:!0,phase:"read",fn:bWt,data:{}};function SWt(e){return e==="x"?"y":"x"}function xWt(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!1:a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,p=n.tetherOffset,g=p===void 0?0:p,m=g7(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),v=Of(t.placement),y=O4(t.placement),b=!y,C=poe(v),x=SWt(C),S=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,$=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(S){if(o){var M,A=C==="y"?Ms:Rs,N=C==="y"?mu:vu,k=C==="y"?"height":"width",D=S[C],L=D+m[A],B=D-m[N],j=d?-O[k]/2:0,z=y===x4?w[k]:O[k],V=y===x4?-O[k]:-w[k],W=t.elements.arrow,U=d&&W?foe(W):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:wWe(),X=K[A],G=K[N],Y=F9(0,w[k],U[k]),J=b?w[k]/2-j-Y-X-P.mainAxis:z-Y-X-P.mainAxis,ee=b?-w[k]/2+j+Y+G+P.mainAxis:V+Y+G+P.mainAxis,Q=t.elements.arrow&&X$(t.elements.arrow),te=Q?C==="y"?Q.clientTop||0:Q.clientLeft||0:0,ne=(M=T==null?void 0:T[C])!=null?M:0,re=D+J-ne-te,oe=D+ee-ne,se=F9(d?RD(L,re):L,D,d?Wv(B,oe):B);S[C]=se,R[C]=se-D}if(l){var ye,be=C==="x"?Ms:Rs,he=C==="x"?mu:vu,le=S[x],ve=x==="y"?"height":"width",ke=le+m[be],Ie=le-m[he],Oe=[Ms,Rs].indexOf(v)!==-1,Pe=(ye=T==null?void 0:T[x])!=null?ye:0,_e=Oe?ke:le-w[ve]-O[ve]-Pe+P.altAxis,ce=Oe?le+w[ve]+O[ve]-Pe-P.altAxis:Ie,Te=d&&Oe?UHt(_e,le,ce):F9(d?_e:ke,le,d?ce:Ie);S[x]=Te,R[x]=Te-le}t.modifiersData[r]=R}}const _Wt={name:"preventOverflow",enabled:!0,phase:"main",fn:xWt,requiresIfExists:["offset"]};function wWt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function OWt(e){return e===Ec(e)||!su(e)?hoe(e):wWt(e)}function EWt(e){var t=e.getBoundingClientRect(),n=_4(t.width)/e.offsetWidth||1,r=_4(t.height)/e.offsetHeight||1;return n!==1||r!==1}function $Wt(e,t,n){n===void 0&&(n=!1);var r=su(t),i=su(t)&&EWt(t),o=N0(t),a=w4(e,i,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((Df(t)!=="body"||moe(o))&&(l=OWt(t)),su(t)?(s=w4(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=goe(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function PWt(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&i(s)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function TWt(e){var t=PWt(e);return FHt.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function MWt(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function RWt(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var yme={placement:"bottom",modifiers:[],strategy:"absolute"};function bme(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function NWe(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Cme(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function DWt(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function LWt(e){return e.split(/\s+/).filter(Boolean)}function fv(e){return[].concat(e)}function Sme(e,t){e.indexOf(t)===-1&&e.push(t)}function zWt(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function BWt(e){return e.split("-")[0]}function ID(e){return[].slice.call(e)}function xme(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function W9(){return document.createElement("div")}function nF(e){return["Element","Fragment"].some(function(t){return voe(e,t)})}function FWt(e){return voe(e,"NodeList")}function HWt(e){return voe(e,"MouseEvent")}function WWt(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function qWt(e){return nF(e)?[e]:FWt(e)?ID(e):Array.isArray(e)?e:ID(document.querySelectorAll(e))}function QV(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function _me(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function VWt(e){var t,n=fv(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function UWt(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,s=l.interactiveBorder,u=BWt(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,h=u==="top"?c.bottom.y:0,d=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,g=o.top-r+f>s,m=r-o.bottom-h>s,v=o.left-n+d>s,y=n-o.right-p>s;return g||m||v||y})}function JV(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function wme(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var of={isTouch:!1},Ome=0;function GWt(){of.isTouch||(of.isTouch=!0,window.performance&&document.addEventListener("mousemove",AWe))}function AWe(){var e=performance.now();e-Ome<20&&(of.isTouch=!1,document.removeEventListener("mousemove",AWe)),Ome=e}function KWt(){var e=document.activeElement;if(WWt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function XWt(){document.addEventListener("touchstart",GWt,T1),window.addEventListener("blur",KWt)}var YWt=typeof window<"u"&&typeof document<"u",ZWt=YWt?!!window.msCrypto:!1,QWt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},JWt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},dc=Object.assign({appendTo:IWe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},QWt,JWt),eqt=Object.keys(dc),tqt=function(t){var n=Object.keys(t);n.forEach(function(r){dc[r]=t[r]})};function kWe(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var l;r[o]=e[o]!==void 0?e[o]:(l=dc[o])!=null?l:a}return r},{});return Object.assign({},e,n)}function nqt(e,t){var n=t?Object.keys(kWe(Object.assign({},dc,{plugins:t}))):eqt,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function Eme(e,t){var n=Object.assign({},t,{content:NWe(t.content,[e])},t.ignoreAttributes?{}:nqt(e,t.plugins));return n.aria=Object.assign({},dc.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var rqt=function(){return"innerHTML"};function sJ(e,t){e[rqt()]=t}function $me(e){var t=W9();return e===!0?t.className=MWe:(t.className=RWe,nF(e)?t.appendChild(e):sJ(t,e)),t}function Pme(e,t){nF(t.content)?(sJ(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?sJ(e,t.content):e.textContent=t.content)}function cJ(e){var t=e.firstElementChild,n=ID(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(TWe)}),arrow:n.find(function(r){return r.classList.contains(MWe)||r.classList.contains(RWe)}),backdrop:n.find(function(r){return r.classList.contains(jWt)})}}function jWe(e){var t=W9(),n=W9();n.className=kWt,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=W9();r.className=TWe,r.setAttribute("data-state","hidden"),Pme(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var l=cJ(t),s=l.box,u=l.content,c=l.arrow;a.theme?s.setAttribute("data-theme",a.theme):s.removeAttribute("data-theme"),typeof a.animation=="string"?s.setAttribute("data-animation",a.animation):s.removeAttribute("data-animation"),a.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?s.setAttribute("role",a.role):s.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Pme(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(s.removeChild(c),s.appendChild($me(a.arrow))):s.appendChild($me(a.arrow)):c&&s.removeChild(c)}return{popper:t,onUpdate:i}}jWe.$$tippy=!0;var iqt=1,PM=[],eU=[];function oqt(e,t){var n=Eme(e,Object.assign({},dc,kWe(xme(t)))),r,i,o,a=!1,l=!1,s=!1,u=!1,c,f,h,d=[],p=Cme(re,n.interactiveDebounce),g,m=iqt++,v=null,y=zWt(n.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:m,reference:e,popper:W9(),popperInstance:v,props:n,state:b,plugins:y,clearDelayTimeouts:_e,setProps:ce,setContent:Te,show:Ne,hide:je,hideWithInteractivity:He,enable:Oe,disable:Pe,unmount:Be,destroy:qe};if(!n.render)return C;var x=n.render(C),S=x.popper,w=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+C.id,C.popper=S,e._tippy=C,S._tippy=C;var O=y.map(function(me){return me.fn(C)}),$=e.hasAttribute("aria-expanded");return Q(),j(),D(),L("onCreate",[C]),n.showOnCreate&&ke(),S.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&A().addEventListener("mousemove",p)}),C;function P(){var me=C.props.touch;return Array.isArray(me)?me:[me,0]}function T(){return P()[0]==="hold"}function R(){var me;return!!((me=C.props.render)!=null&&me.$$tippy)}function M(){return g||e}function A(){var me=M().parentNode;return me?VWt(me):document}function N(){return cJ(S)}function k(me){return C.state.isMounted&&!C.state.isVisible||of.isTouch||c&&c.type==="focus"?0:ZV(C.props.delay,me?0:1,dc.delay)}function D(me){me===void 0&&(me=!1),S.style.pointerEvents=C.props.interactive&&!me?"":"none",S.style.zIndex=""+C.props.zIndex}function L(me,Ee,$e){if($e===void 0&&($e=!0),O.forEach(function(Fe){Fe[me]&&Fe[me].apply(Fe,Ee)}),$e){var Le;(Le=C.props)[me].apply(Le,Ee)}}function B(){var me=C.props.aria;if(me.content){var Ee="aria-"+me.content,$e=S.id,Le=fv(C.props.triggerTarget||e);Le.forEach(function(Fe){var Ke=Fe.getAttribute(Ee);if(C.state.isVisible)Fe.setAttribute(Ee,Ke?Ke+" "+$e:$e);else{var lt=Ke&&Ke.replace($e,"").trim();lt?Fe.setAttribute(Ee,lt):Fe.removeAttribute(Ee)}})}}function j(){if(!($||!C.props.aria.expanded)){var me=fv(C.props.triggerTarget||e);me.forEach(function(Ee){C.props.interactive?Ee.setAttribute("aria-expanded",C.state.isVisible&&Ee===M()?"true":"false"):Ee.removeAttribute("aria-expanded")})}}function z(){A().removeEventListener("mousemove",p),PM=PM.filter(function(me){return me!==p})}function V(me){if(!(of.isTouch&&(s||me.type==="mousedown"))){var Ee=me.composedPath&&me.composedPath()[0]||me.target;if(!(C.props.interactive&&wme(S,Ee))){if(fv(C.props.triggerTarget||e).some(function($e){return wme($e,Ee)})){if(of.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[C,me]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||X())}}}function W(){s=!0}function U(){s=!1}function K(){var me=A();me.addEventListener("mousedown",V,!0),me.addEventListener("touchend",V,T1),me.addEventListener("touchstart",U,T1),me.addEventListener("touchmove",W,T1)}function X(){var me=A();me.removeEventListener("mousedown",V,!0),me.removeEventListener("touchend",V,T1),me.removeEventListener("touchstart",U,T1),me.removeEventListener("touchmove",W,T1)}function G(me,Ee){J(me,function(){!C.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Ee()})}function Y(me,Ee){J(me,Ee)}function J(me,Ee){var $e=N().box;function Le(Fe){Fe.target===$e&&(JV($e,"remove",Le),Ee())}if(me===0)return Ee();JV($e,"remove",f),JV($e,"add",Le),f=Le}function ee(me,Ee,$e){$e===void 0&&($e=!1);var Le=fv(C.props.triggerTarget||e);Le.forEach(function(Fe){Fe.addEventListener(me,Ee,$e),d.push({node:Fe,eventType:me,handler:Ee,options:$e})})}function Q(){T()&&(ee("touchstart",ne,{passive:!0}),ee("touchend",oe,{passive:!0})),LWt(C.props.trigger).forEach(function(me){if(me!=="manual")switch(ee(me,ne),me){case"mouseenter":ee("mouseleave",oe);break;case"focus":ee(ZWt?"focusout":"blur",se);break;case"focusin":ee("focusout",se);break}})}function te(){d.forEach(function(me){var Ee=me.node,$e=me.eventType,Le=me.handler,Fe=me.options;Ee.removeEventListener($e,Le,Fe)}),d=[]}function ne(me){var Ee,$e=!1;if(!(!C.state.isEnabled||ye(me)||l)){var Le=((Ee=c)==null?void 0:Ee.type)==="focus";c=me,g=me.currentTarget,j(),!C.state.isVisible&&HWt(me)&&PM.forEach(function(Fe){return Fe(me)}),me.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?$e=!0:ke(me),me.type==="click"&&(a=!$e),$e&&!Le&&Ie(me)}}function re(me){var Ee=me.target,$e=M().contains(Ee)||S.contains(Ee);if(!(me.type==="mousemove"&&$e)){var Le=ve().concat(S).map(function(Fe){var Ke,lt=Fe._tippy,ft=(Ke=lt.popperInstance)==null?void 0:Ke.state;return ft?{popperRect:Fe.getBoundingClientRect(),popperState:ft,props:n}:null}).filter(Boolean);UWt(Le,me)&&(z(),Ie(me))}}function oe(me){var Ee=ye(me)||C.props.trigger.indexOf("click")>=0&&a;if(!Ee){if(C.props.interactive){C.hideWithInteractivity(me);return}Ie(me)}}function se(me){C.props.trigger.indexOf("focusin")<0&&me.target!==M()||C.props.interactive&&me.relatedTarget&&S.contains(me.relatedTarget)||Ie(me)}function ye(me){return of.isTouch?T()!==me.type.indexOf("touch")>=0:!1}function be(){he();var me=C.props,Ee=me.popperOptions,$e=me.placement,Le=me.offset,Fe=me.getReferenceClientRect,Ke=me.moveTransition,lt=R()?cJ(S).arrow:null,ft=Fe?{getBoundingClientRect:Fe,contextElement:Fe.contextElement||M()}:e,Ye={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(We){var Ge=We.state;if(R()){var Je=N(),bt=Je.box;["placement","reference-hidden","escaped"].forEach(function(at){at==="placement"?bt.setAttribute("data-placement",Ge.placement):Ge.attributes.popper["data-popper-"+at]?bt.setAttribute("data-"+at,""):bt.removeAttribute("data-"+at)}),Ge.attributes.popper={}}}},we=[{name:"offset",options:{offset:Le}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ke}},Ye];R()&<&&we.push({name:"arrow",options:{element:lt,padding:3}}),we.push.apply(we,(Ee==null?void 0:Ee.modifiers)||[]),C.popperInstance=AWt(ft,S,Object.assign({},Ee,{placement:$e,onFirstUpdate:h,modifiers:we}))}function he(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function le(){var me=C.props.appendTo,Ee,$e=M();C.props.interactive&&me===IWe||me==="parent"?Ee=$e.parentNode:Ee=NWe(me,[$e]),Ee.contains(S)||Ee.appendChild(S),C.state.isMounted=!0,be()}function ve(){return ID(S.querySelectorAll("[data-tippy-root]"))}function ke(me){C.clearDelayTimeouts(),me&&L("onTrigger",[C,me]),K();var Ee=k(!0),$e=P(),Le=$e[0],Fe=$e[1];of.isTouch&&Le==="hold"&&Fe&&(Ee=Fe),Ee?r=setTimeout(function(){C.show()},Ee):C.show()}function Ie(me){if(C.clearDelayTimeouts(),L("onUntrigger",[C,me]),!C.state.isVisible){X();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(me.type)>=0&&a)){var Ee=k(!1);Ee?i=setTimeout(function(){C.state.isVisible&&C.hide()},Ee):o=requestAnimationFrame(function(){C.hide()})}}function Oe(){C.state.isEnabled=!0}function Pe(){C.hide(),C.state.isEnabled=!1}function _e(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function ce(me){if(!C.state.isDestroyed){L("onBeforeUpdate",[C,me]),te();var Ee=C.props,$e=Eme(e,Object.assign({},Ee,xme(me),{ignoreAttributes:!0}));C.props=$e,Q(),Ee.interactiveDebounce!==$e.interactiveDebounce&&(z(),p=Cme(re,$e.interactiveDebounce)),Ee.triggerTarget&&!$e.triggerTarget?fv(Ee.triggerTarget).forEach(function(Le){Le.removeAttribute("aria-expanded")}):$e.triggerTarget&&e.removeAttribute("aria-expanded"),j(),D(),w&&w(Ee,$e),C.popperInstance&&(be(),ve().forEach(function(Le){requestAnimationFrame(Le._tippy.popperInstance.forceUpdate)})),L("onAfterUpdate",[C,me])}}function Te(me){C.setProps({content:me})}function Ne(){var me=C.state.isVisible,Ee=C.state.isDestroyed,$e=!C.state.isEnabled,Le=of.isTouch&&!C.props.touch,Fe=ZV(C.props.duration,0,dc.duration);if(!(me||Ee||$e||Le)&&!M().hasAttribute("disabled")&&(L("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,R()&&(S.style.visibility="visible"),D(),K(),C.state.isMounted||(S.style.transition="none"),R()){var Ke=N(),lt=Ke.box,ft=Ke.content;QV([lt,ft],0)}h=function(){var we;if(!(!C.state.isVisible||u)){if(u=!0,S.offsetHeight,S.style.transition=C.props.moveTransition,R()&&C.props.animation){var De=N(),We=De.box,Ge=De.content;QV([We,Ge],Fe),_me([We,Ge],"visible")}B(),j(),Sme(eU,C),(we=C.popperInstance)==null||we.forceUpdate(),L("onMount",[C]),C.props.animation&&R()&&Y(Fe,function(){C.state.isShown=!0,L("onShown",[C])})}},le()}}function je(){var me=!C.state.isVisible,Ee=C.state.isDestroyed,$e=!C.state.isEnabled,Le=ZV(C.props.duration,1,dc.duration);if(!(me||Ee||$e)&&(L("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,u=!1,a=!1,R()&&(S.style.visibility="hidden"),z(),X(),D(!0),R()){var Fe=N(),Ke=Fe.box,lt=Fe.content;C.props.animation&&(QV([Ke,lt],Le),_me([Ke,lt],"hidden"))}B(),j(),C.props.animation?R()&&G(Le,C.unmount):C.unmount()}}function He(me){A().addEventListener("mousemove",p),Sme(PM,p),p(me)}function Be(){C.state.isVisible&&C.hide(),C.state.isMounted&&(he(),ve().forEach(function(me){me._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),eU=eU.filter(function(me){return me!==C}),C.state.isMounted=!1,L("onHidden",[C]))}function qe(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),te(),delete e._tippy,C.state.isDestroyed=!0,L("onDestroy",[C]))}}function dy(e,t){t===void 0&&(t={});var n=dc.plugins.concat(t.plugins||[]);XWt();var r=Object.assign({},t,{plugins:n}),i=qWt(e),o=i.reduce(function(a,l){var s=l&&oqt(l,r);return s&&a.push(s),a},[]);return nF(e)?o[0]:o}dy.defaultProps=dc;dy.setDefaultProps=tqt;dy.currentInput=of;Object.assign({},SWe,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var aqt={mouseover:"mouseenter",focusin:"focus",click:"click"};function lqt(e,t){var n=[],r=[],i=!1,o=t.target,a=DWt(t,["target"]),l=Object.assign({},a,{trigger:"manual",touch:!1}),s=Object.assign({touch:dc.touch},a,{showOnCreate:!0}),u=dy(e,l),c=fv(u);function f(m){if(!(!m.target||i)){var v=m.target.closest(o);if(v){var y=v.getAttribute("data-tippy-trigger")||t.trigger||dc.trigger;if(!v._tippy&&!(m.type==="touchstart"&&typeof s.touch=="boolean")&&!(m.type!=="touchstart"&&y.indexOf(aqt[m.type])<0)){var b=dy(v,s);b&&(r=r.concat(b))}}}}function h(m,v,y,b){b===void 0&&(b=!1),m.addEventListener(v,y,b),n.push({node:m,eventType:v,handler:y,options:b})}function d(m){var v=m.reference;h(v,"touchstart",f,T1),h(v,"mouseover",f),h(v,"focusin",f),h(v,"click",f)}function p(){n.forEach(function(m){var v=m.node,y=m.eventType,b=m.handler,C=m.options;v.removeEventListener(y,b,C)}),n=[]}function g(m){var v=m.destroy,y=m.enable,b=m.disable;m.destroy=function(C){C===void 0&&(C=!0),C&&r.forEach(function(x){x.destroy()}),r=[],p(),v()},m.enable=function(){y(),r.forEach(function(C){return C.enable()}),i=!1},m.disable=function(){b(),r.forEach(function(C){return C.disable()}),i=!0},d(m)}return c.forEach(g),u}dy.setDefaultProps({render:jWe});function rF(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const Tme=Symbol("implicit");function DWe(){var e=new Map,t=[],n=[],r=Tme;function i(o){var a=o+"",l=e.get(a);if(!l){if(r!==Tme)return r;e.set(a,l=t.push(o))}return n[(l-1)%n.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new Map;for(const a of o){const l=a+"";e.has(l)||e.set(l,t.push(a))}return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return DWe(t,n).unknown(r)},rF.apply(i,arguments),i}function iF(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function yoe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function EC(){}var fy=.7,E4=1/fy,N3="\\s*([+-]?\\d+)\\s*",m7="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ef="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sqt=/^#([0-9a-f]{3,8})$/,cqt=new RegExp("^rgb\\("+[N3,N3,N3]+"\\)$"),uqt=new RegExp("^rgb\\("+[Ef,Ef,Ef]+"\\)$"),dqt=new RegExp("^rgba\\("+[N3,N3,N3,m7]+"\\)$"),fqt=new RegExp("^rgba\\("+[Ef,Ef,Ef,m7]+"\\)$"),pqt=new RegExp("^hsl\\("+[m7,Ef,Ef]+"\\)$"),hqt=new RegExp("^hsla\\("+[m7,Ef,Ef,m7]+"\\)$"),Mme={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};iF(EC,v7,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Rme,formatHex:Rme,formatHsl:gqt,formatRgb:Ime,toString:Ime});function Rme(){return this.rgb().formatHex()}function gqt(){return zWe(this).formatHsl()}function Ime(){return this.rgb().formatRgb()}function v7(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=sqt.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Nme(t):n===3?new Kl(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?TM(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?TM(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=cqt.exec(e))?new Kl(t[1],t[2],t[3],1):(t=uqt.exec(e))?new Kl(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=dqt.exec(e))?TM(t[1],t[2],t[3],t[4]):(t=fqt.exec(e))?TM(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=pqt.exec(e))?jme(t[1],t[2]/100,t[3]/100,1):(t=hqt.exec(e))?jme(t[1],t[2]/100,t[3]/100,t[4]):Mme.hasOwnProperty(e)?Nme(Mme[e]):e==="transparent"?new Kl(NaN,NaN,NaN,0):null}function Nme(e){return new Kl(e>>16&255,e>>8&255,e&255,1)}function TM(e,t,n,r){return r<=0&&(e=t=n=NaN),new Kl(e,t,n,r)}function LWe(e){return e instanceof EC||(e=v7(e)),e?(e=e.rgb(),new Kl(e.r,e.g,e.b,e.opacity)):new Kl}function y7(e,t,n,r){return arguments.length===1?LWe(e):new Kl(e,t,n,r??1)}function Kl(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}iF(Kl,y7,yoe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new Kl(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new Kl(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ame,formatHex:Ame,formatRgb:kme,toString:kme}));function Ame(){return"#"+tU(this.r)+tU(this.g)+tU(this.b)}function kme(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function tU(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function jme(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cf(e,t,n,r)}function zWe(e){if(e instanceof cf)return new cf(e.h,e.s,e.l,e.opacity);if(e instanceof EC||(e=v7(e)),!e)return new cf;if(e instanceof cf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new cf(a,l,s,e.opacity)}function mqt(e,t,n,r){return arguments.length===1?zWe(e):new cf(e,t,n,r??1)}function cf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}iF(cf,mqt,yoe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new cf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new cf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Kl(nU(e>=240?e-240:e+120,i,r),nU(e,i,r),nU(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function nU(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const vqt=Math.PI/180,yqt=180/Math.PI;var BWe=-.14861,boe=1.78277,Coe=-.29227,oF=-.90649,b7=1.97294,Dme=b7*oF,Lme=b7*boe,zme=boe*Coe-oF*BWe;function bqt(e){if(e instanceof qv)return new qv(e.h,e.s,e.l,e.opacity);e instanceof Kl||(e=LWe(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(zme*r+Dme*t-Lme*n)/(zme+Dme-Lme),o=r-i,a=(b7*(n-i)-Coe*o)/oF,l=Math.sqrt(a*a+o*o)/(b7*i*(1-i)),s=l?Math.atan2(a,o)*yqt-120:NaN;return new qv(s<0?s+360:s,l,i,e.opacity)}function Lf(e,t,n,r){return arguments.length===1?bqt(e):new qv(e,t,n,r??1)}function qv(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}iF(qv,Lf,yoe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new qv(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new qv(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*vqt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Kl(255*(t+n*(BWe*r+boe*i)),255*(t+n*(Coe*r+oF*i)),255*(t+n*(b7*r)),this.opacity)}}));function Cqt(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}function Sqt(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,l=r()=>e;function FWe(e,t){return function(n){return e+n*t}}function xqt(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function _qt(e,t){var n=t-e;return n?FWe(e,n>180||n<-180?n-360*Math.round(n/360):n):aF(isNaN(e)?t:e)}function wqt(e){return(e=+e)==1?A3:function(t,n){return n-t?xqt(t,n,e):aF(isNaN(t)?n:t)}}function A3(e,t){var n=t-e;return n?FWe(e,n):aF(isNaN(e)?t:e)}const Bme=function e(t){var n=wqt(t);function r(i,o){var a=n((i=y7(i)).r,(o=y7(o)).r),l=n(i.g,o.g),s=n(i.b,o.b),u=A3(i.opacity,o.opacity);return function(c){return i.r=a(c),i.g=l(c),i.b=s(c),i.opacity=u(c),i+""}}return r.gamma=e,r}(1);function Oqt(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),o=new Array(n),a,l;for(a=0;an&&(o=t.slice(n,o),l[a]?l[a]+=o:l[++a]=o),(r=r[0])===(i=i[0])?l[a]?l[a]+=i:l[++a]=i:(l[++a]=null,s.push({i:a,x:ND(r,i)})),n=rU.lastIndex;return nt&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function zqt(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?Bqt:zqt,s=u=null,f}function f(h){return h==null||isNaN(h=+h)?o:(s||(s=l(e.map(r),t,n)))(r(a(h)))}return f.invert=function(h){return a(i((u||(u=l(t,e.map(r),ND)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,Dqt),c()):e.slice()},f.range=function(h){return arguments.length?(t=Array.from(h),c()):t.slice()},f.rangeRound=function(h){return t=Array.from(h),n=kqt,c()},f.clamp=function(h){return arguments.length?(a=h?!0:vf,c()):a!==vf},f.interpolate=function(h){return arguments.length?(n=h,c()):n},f.unknown=function(h){return arguments.length?(o=h,f):o},function(h,d){return r=h,i=d,c()}}function Fqt(){return woe()(vf,vf)}function Hqt(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function AD(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function $4(e){return e=AD(Math.abs(e)),e?e[1]:NaN}function Wqt(e,t){return function(n,r){for(var i=n.length,o=[],a=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),o.push(n.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[a=(a+1)%e.length];return o.reverse().join(t)}}function qqt(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Vqt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function kD(e){if(!(t=Vqt.exec(e)))throw new Error("invalid format: "+e);var t;return new Ooe({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}kD.prototype=Ooe.prototype;function Ooe(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Ooe.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Uqt(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var WWe;function Gqt(e,t){var n=AD(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(WWe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+AD(e,Math.max(0,t+o-1))[0]}function Hme(e,t){var n=AD(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Wme={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Hqt,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Hme(e*100,t),r:Hme,s:Gqt,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function qme(e){return e}var Vme=Array.prototype.map,Ume=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Kqt(e){var t=e.grouping===void 0||e.thousands===void 0?qme:Wqt(Vme.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?qme:qqt(Vme.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function u(f){f=kD(f);var h=f.fill,d=f.align,p=f.sign,g=f.symbol,m=f.zero,v=f.width,y=f.comma,b=f.precision,C=f.trim,x=f.type;x==="n"?(y=!0,x="g"):Wme[x]||(b===void 0&&(b=12),C=!0,x="g"),(m||h==="0"&&d==="=")&&(m=!0,h="0",d="=");var S=g==="$"?n:g==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=g==="$"?r:/[%p]/.test(x)?a:"",O=Wme[x],$=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function P(T){var R=S,M=w,A,N,k;if(x==="c")M=O(T)+M,T="";else{T=+T;var D=T<0||1/T<0;if(T=isNaN(T)?s:O(Math.abs(T),b),C&&(T=Uqt(T)),D&&+T==0&&p!=="+"&&(D=!1),R=(D?p==="("?p:l:p==="-"||p==="("?"":p)+R,M=(x==="s"?Ume[8+WWe/3]:"")+M+(D&&p==="("?")":""),$){for(A=-1,N=T.length;++Ak||k>57){M=(k===46?i+T.slice(A+1):T.slice(A))+M,T=T.slice(0,A);break}}}y&&!m&&(T=t(T,1/0));var L=R.length+T.length+M.length,B=L>1)+R+T+M+B.slice(L);break;default:T=B+R+T+M;break}return o(T)}return P.toString=function(){return f+""},P}function c(f,h){var d=u((f=kD(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor($4(h)/3)))*3,g=Math.pow(10,-p),m=Ume[8+p/3];return function(v){return d(g*v)+m}}return{format:u,formatPrefix:c}}var MM,Eoe,qWe;Xqt({thousands:",",grouping:[3],currency:["$",""]});function Xqt(e){return MM=Kqt(e),Eoe=MM.format,qWe=MM.formatPrefix,MM}function Yqt(e){return Math.max(0,-$4(Math.abs(e)))}function Zqt(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor($4(t)/3)))*3-$4(Math.abs(e)))}function Qqt(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,$4(t)-$4(e))+1}function Jqt(e,t,n,r){var i=WFt(e,t,n),o;switch(r=kD(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Zqt(i,a))&&(r.precision=o),qWe(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Qqt(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Yqt(i))&&(r.precision=o-(r.type==="%")*2);break}}return Eoe(r)}function VWe(e){var t=e.domain;return e.ticks=function(n){var r=t();return oJ(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return Jqt(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,a=r[i],l=r[o],s,u,c=10;for(l0;){if(u=gWe(a,l,n),u===s)return r[i]=a,r[o]=l,t(r);if(u>0)a=Math.floor(a/u)*u,l=Math.ceil(l/u)*u;else if(u<0)a=Math.ceil(a*u)/u,l=Math.floor(l*u)/u;else break;s=u}return e},e}function UWe(){var e=Fqt();return e.copy=function(){return _oe(e,UWe())},rF.apply(e,arguments),VWe(e)}function eVt(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],a;return o0){for(;h<=d;++h)for(g=1,p=o(h);gc)break;y.push(m)}}else for(;h<=d;++h)for(g=r-1,p=o(h);g>=1;--g)if(m=p*g,!(mc)break;y.push(m)}y.length*2>5<<5,f=~~Math.max(Math.abs(g+m),Math.abs(g-m))}else c=c+31>>5<<5;if(f>s&&(s=f),a+c>=2048&&(a=0,l+=s,s=0),l+f>=2048)break;i.translate((a+(c>>1))/o,(l+(f>>1))/o),t.rotate&&i.rotate(t.rotate*iU),i.fillText(t.text,0,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,0,0)),i.restore(),t.width=c,t.height=f,t.xoff=a,t.yoff=l,t.x1=c>>1,t.y1=f>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=c}for(var y=i.getImageData(0,0,2048/o,2048/o).data,b=[];--r>=0;)if((t=n[r]).hasText){for(var C=(c=t.width)>>5,x=(f=t.y1-t.y0,0);x>5)]|=$,S|=$}S?w=O:(t.y0++,f--,O--,l++)}t.y1=t.y0+w,t.sprite=b.slice(0,(t.y1-t.y0)*C)}}}function bVt(e,t,n){for(var r,i=e.sprite,o=e.width>>5,a=e.x-(o<<4),l=127&a,s=32-l,u=e.y1-e.y0,c=(e.y+e.y0)*(n>>=5)+(a>>5),f=0;f>>l:0))&t[c+h])return!0;c+=n}return!1}function CVt(e,t){var n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function XWe(e){var t=e[0]/e[1];return function(n){return[t*(n*=.1)*Math.cos(n),n*Math.sin(n)]}}function SVt(){return document.createElement("canvas")}function o1(e){return typeof e=="function"?e:function(){return e}}var xVt={archimedean:XWe,rectangular:function(e){var t=4*e[0]/e[1],n=0,r=0;return function(i){var o=i<0?-1:1;switch(Math.sqrt(1+4*o*i)-o&3){case 0:n+=t;break;case 1:r+=4;break;case 2:n-=t;break;default:r-=4}return[n,r]}}};function Qme(e,t){return e[Math.floor(t()*e.length)]}function Jme(e){return e.size+"px"}function oU(e){return e.text}function eve(e){return"translate("+e.x+", "+e.y+")"+(typeof e.rotate=="number"?"rotate("+e.rotate+")":"")}function _Vt(e){var t,n=e.callbacks,r=e.maxWords,i=e.options,o=e.selection,a=e.size,l=i.deterministic,s=i.enableOptimizations,u=i.fontFamily,c=i.fontStyle,f=i.fontSizes,h=i.fontWeight,d=i.padding,p=i.randomSeed,g=i.rotations,m=i.rotationAngles,v=i.spiral,y=i.scale,b=e.words.concat().sort(function(x,S){return LFt(x.value,S.value)}).slice(0,r),C=THt(l?p||"deterministic":null);(t=s?function(){var x=[256,256],S=pVt,w=hVt,O=gVt,$=Zme,P=Zme,T=mVt,R=vVt,M=XWe,A=[],N=1/0,k=U$("word","end"),D=Math.random,L={},B=SVt,j=!1;function z(V,W,U){for(var K,X,G,Y,J,ee=W.x,Q=W.y,te=Math.sqrt(x[0]*x[0]+x[1]*x[1]),ne=M(x),re=D()<.5?1:-1,oe=-re;(K=ne(oe+=re))&&(X=~~K[0],G=~~K[1],!(Math.min(Math.abs(X),Math.abs(G))>=te));)if(W.x=ee+X,W.y=Q+G,!(W.x+W.x0<0||W.y+W.y0<0||W.x+W.x1>x[0]||W.y+W.y1>x[1]||U&&bVt(W,V,x[0])||U&&!((Y=W).x+Y.x1>(J=U)[0].x&&Y.x+Y.x0J[0].y&&Y.y+Y.y0>5,he=x[0]>>5,le=W.x-(be<<4),ve=127&le,ke=32-ve,Ie=W.y1-W.y0,Oe=(W.y+W.y0)*he+(le>>5),Pe=0;Pe>>ve:0);Oe+=he}return delete W.sprite,!0}return!1}return L.canvas=function(V){return arguments.length?(B=o1(V),L):B},L.start=function(){var V=function(G){G.width=G.height=1;var Y=Math.sqrt(G.getContext("2d").getImageData(0,0,1,1).data.length>>2);G.width=2048/Y,G.height=2048/Y;var J=G.getContext("2d");return J.fillStyle=J.strokeStyle="red",J.textAlign="center",{context:J,ratio:Y}}(B()),W=new Uint32Array((x[0]>>5)*x[1]),U=null,K=[],X=A.map(function(G,Y){return G.text=S.call(this,G,Y),G.font=w.call(this,G,Y),G.style=$.call(this,G,Y),G.weight=P.call(this,G,Y),G.rotate=T.call(this,G,Y),G.size=~~O.call(this,G,Y),G.padding=R.call(this,G,Y),G}).sort(function(G,Y){return Y.size-G.size});return setTimeout(function(){return function G(Y){var J=50*Y,ee=Math.min(50*(Y+1),A.length);(function(Q,te){for(var ne=Q;ne>1,re.y=x[1]*(D()+.5)>>1,yVt(V,re,X,ne),re.hasText&&z(W,re,U)&&(K.push(re),k.call("word",L,re),U?CVt(U,re):U=[{x:re.x+re.x0,y:re.y+re.y0},{x:re.x+re.x1,y:re.y+re.y1}],re.x-=x[0]>>1,re.y-=x[1]>>1)}})(J,ee),j||(ee=0||(C[y]=m[y]);return C}(e,["callbacks","maxWords","minSize","options","size","words"]),u=q9({},YWe,t),c=q9({},ZWe,o),f=function(m,v,y){var b=_.useRef(),C=_.useState(v),x=C[0],S=C[1],w=_.useState(null),O=w[0],$=w[1];return _.useEffect(function(){var P=b.current,T=Gge(P).append("svg").style("display","block");typeof y=="object"&&Object.keys(y).forEach(function(D){T=T.attr(D,y[D])});var R=T.append("g");function M(D,L){T.attr("height",L).attr("width",D),R.attr("transform","translate("+D/2+", "+L/2+")"),S([D,L])}$(R);var A=0,N=0;v===void 0?(A=P.parentElement.offsetWidth,N=P.parentElement.offsetHeight):(A=v[0],N=v[1]),M(A=Math.max(A,m[0]),N=Math.max(N,m[1]));var k=new wne(function(D){if(D&&D.length!==0&&v===void 0){var L=D[0].contentRect;M(L.width,L.height)}});return k.observe(P),function(){k.unobserve(P),Gge(P).selectAll("*").remove()}},[v,m,y]),[b,O,x]}(i,a,o.svgAttributes),h=f[0],d=f[1],p=f[2],g=_.useRef(kLt(_Vt,100));return _.useEffect(function(){d&&g.current({callbacks:u,maxWords:r,options:c,selection:d,size:p,words:l})},[r,u,c,d,p,l]),Se.createElement("div",q9({ref:h,style:{height:"100%",width:"100%"}},s))}QWe.defaultProps={callbacks:YWe,maxWords:100,minSize:[300,300],options:ZWe};const wVt=()=>{const e=[{text:"前端",value:50},{text:"后端",value:22},{text:"HTML",value:18},{text:"CSS",value:16},{text:"JavaScript",value:20},{text:"API",value:15},{text:"数据库",value:21},{text:"服务器",value:19},{text:"框架",value:17},{text:"算法",value:23},{text:"代码",value:24},{text:"调试",value:14},{text:"响应式",value:16},{text:"Git",value:18},{text:"代码库",value:15},{text:"部署",value:20},{text:"编程",value:22},{text:"服务器less",value:19},{text:"云计算",value:21}];return ge.jsx("div",{className:"wordCloud",children:ge.jsx(QWe,{words:e})})};function fJ(){return fJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&(n.strPos=n.currentElContent.length-1,n.strings.unshift(n.currentElContent)),n.sequence=[],n.strings)n.sequence[s]=s;n.arrayPos=0,n.stopNum=0,n.loop=n.options.loop,n.loopCount=n.options.loopCount,n.curLoop=0,n.shuffle=n.options.shuffle,n.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},n.typingComplete=!1,n.autoInsertCss=n.options.autoInsertCss,n.autoInsertCss&&(this.appendCursorAnimationCss(n),this.appendFadeOutAnimationCss(n))},t.getCurrentElContent=function(n){return n.attr?n.el.getAttribute(n.attr):n.isInput?n.el.value:n.contentType==="html"?n.el.innerHTML:n.el.textContent},t.appendCursorAnimationCss=function(n){var r="data-typed-js-cursor-css";if(n.showCursor&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML=` + */var H$=_;function MAt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var RAt=typeof Object.is=="function"?Object.is:MAt,IAt=H$.useSyncExternalStore,NAt=H$.useRef,AAt=H$.useEffect,kAt=H$.useMemo,jAt=H$.useDebugValue;KFe.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=NAt(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=kAt(function(){function s(d){if(!u){if(u=!0,c=d,d=r(d),i!==void 0&&a.hasValue){var p=a.value;if(i(p,d))return f=p}return f=d}if(p=f,RAt(c,d))return p;var g=r(d);return i!==void 0&&i(p,g)?p:(c=d,f=g)}var u=!1,c,f,h=n===void 0?null:n;return[function(){return s(t())},h===null?void 0:function(){return s(h())}]},[t,n,r,i]);var l=IAt(e,o[0],o[1]);return AAt(function(){a.hasValue=!0,a.value=l},[l]),jAt(l),l};GFe.exports=KFe;var DAt=GFe.exports,cc="default"in f0?Se:f0,pge=Symbol.for("react-redux-context"),hge=typeof globalThis<"u"?globalThis:{};function LAt(){if(!cc.createContext)return{};const e=hge[pge]??(hge[pge]=new Map);let t=e.get(cc.createContext);return t||(t=cc.createContext(null),e.set(cc.createContext,t)),t}var b0=LAt(),zAt=()=>{throw new Error("uSES not initialized!")};function Die(e=b0){return function(){return cc.useContext(e)}}var XFe=Die(),YFe=zAt,BAt=e=>{YFe=e},FAt=(e,t)=>e===t;function HAt(e=b0){const t=e===b0?XFe:Die(e),n=(r,i={})=>{const{equalityFn:o=FAt,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:l,subscription:s,getServerState:u,stabilityCheck:c,identityFunctionCheck:f}=t();cc.useRef(!0);const h=cc.useCallback({[r.name](p){return r(p)}}[r.name],[r,c,a.stabilityCheck]),d=YFe(s.addNestedSub,l.getState,u||l.getState,h,o);return cc.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var Yl=HAt();function WAt(e){e()}function qAt(){let e=null,t=null;return{clear(){e=null,t=null},notify(){WAt(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var gge={notify(){},get:()=>[]};function VAt(e,t){let n,r=gge,i=0,o=!1;function a(g){c();const m=r.subscribe(g);let v=!1;return()=>{v||(v=!0,m(),f())}}function l(){r.notify()}function s(){p.onStateChange&&p.onStateChange()}function u(){return o}function c(){i++,n||(n=t?t.addNestedSub(s):e.subscribe(s),r=qAt())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=gge)}function h(){o||(o=!0,c())}function d(){o&&(o=!1,f())}const p={addNestedSub:a,notifyNestedSubs:l,handleChangeWrapper:s,isSubscribed:u,trySubscribe:h,tryUnsubscribe:d,getListeners:()=>r};return p}var UAt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",GAt=UAt?cc.useLayoutEffect:cc.useEffect;function KAt({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=cc.useMemo(()=>{const u=VAt(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),l=cc.useMemo(()=>e.getState(),[e]);GAt(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),l!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,l]);const s=t||b0;return cc.createElement(s.Provider,{value:a},n)}var XAt=KAt;function ZFe(e=b0){const t=e===b0?XFe:Die(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var YAt=ZFe();function ZAt(e=b0){const t=e===b0?YAt:ZFe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var wC=ZAt();BAt(DAt.useSyncExternalStoreWithSelector);function Za(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var QAt=typeof Symbol=="function"&&Symbol.observable||"@@observable",mge=QAt,zV=()=>Math.random().toString(36).substring(7).split("").join("."),JAt={INIT:`@@redux/INIT${zV()}`,REPLACE:`@@redux/REPLACE${zV()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zV()}`},bD=JAt;function Lie(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function QFe(e,t,n){if(typeof e!="function")throw new Error(Za(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Za(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Za(1));return n(QFe)(e,t)}let r=e,i=t,o=new Map,a=o,l=0,s=!1;function u(){a===o&&(a=new Map,o.forEach((m,v)=>{a.set(v,m)}))}function c(){if(s)throw new Error(Za(3));return i}function f(m){if(typeof m!="function")throw new Error(Za(4));if(s)throw new Error(Za(5));let v=!0;u();const y=l++;return a.set(y,m),function(){if(v){if(s)throw new Error(Za(6));v=!1,u(),a.delete(y),o=null}}}function h(m){if(!Lie(m))throw new Error(Za(7));if(typeof m.type>"u")throw new Error(Za(8));if(typeof m.type!="string")throw new Error(Za(17));if(s)throw new Error(Za(9));try{s=!0,i=r(i,m)}finally{s=!1}return(o=a).forEach(y=>{y()}),m}function d(m){if(typeof m!="function")throw new Error(Za(10));r=m,h({type:bD.REPLACE})}function p(){const m=f;return{subscribe(v){if(typeof v!="object"||v===null)throw new Error(Za(11));function y(){const C=v;C.next&&C.next(c())}return y(),{unsubscribe:m(y)}},[mge](){return this}}}return h({type:bD.INIT}),{dispatch:h,subscribe:f,getState:c,replaceReducer:d,[mge]:p}}function ekt(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:bD.INIT})>"u")throw new Error(Za(12));if(typeof n(void 0,{type:bD.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Za(13))})}function tkt(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw l&&l.type,new Error(Za(14));u[f]=p,s=s||p!==d}return s=s||r.length!==Object.keys(a).length,s?u:a}}function CD(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function nkt(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Za(15))};const a={getState:i.getState,dispatch:(s,...u)=>o(s,...u)},l=e.map(s=>s(a));return o=CD(...l)(i.dispatch),{...i,dispatch:o}}}function rkt(e){return Lie(e)&&"type"in e&&typeof e.type=="string"}var JFe=Symbol.for("immer-nothing"),vge=Symbol.for("immer-draftable"),_c=Symbol.for("immer-state");function dd(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var v4=Object.getPrototypeOf;function C0(e){return!!e&&!!e[_c]}function yh(e){var t;return e?eHe(e)||Array.isArray(e)||!!e[vge]||!!((t=e.constructor)!=null&&t[vge])||HB(e)||WB(e):!1}var ikt=Object.prototype.constructor.toString();function eHe(e){if(!e||typeof e!="object")return!1;const t=v4(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===ikt}function a7(e,t){FB(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function FB(e){const t=e[_c];return t?t.type_:Array.isArray(e)?1:HB(e)?2:WB(e)?3:0}function jQ(e,t){return FB(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function tHe(e,t,n){const r=FB(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function okt(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function HB(e){return e instanceof Map}function WB(e){return e instanceof Set}function iv(e){return e.copy_||e.base_}function DQ(e,t){if(HB(e))return new Map(e);if(WB(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&eHe(e))return v4(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[_c];let r=Reflect.ownKeys(n);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=akt),Object.freeze(e),t&&a7(e,(n,r)=>zie(r,!0))),e}function akt(){dd(2)}function qB(e){return Object.isFrozen(e)}var lkt={};function ly(e){const t=lkt[e];return t||dd(0,e),t}var l7;function nHe(){return l7}function skt(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function yge(e,t){t&&(ly("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function LQ(e){zQ(e),e.drafts_.forEach(ckt),e.drafts_=null}function zQ(e){e===l7&&(l7=e.parent_)}function bge(e){return l7=skt(l7,e)}function ckt(e){const t=e[_c];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Cge(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[_c].modified_&&(LQ(t),dd(4)),yh(e)&&(e=SD(t,e),t.parent_||xD(t,e)),t.patches_&&ly("Patches").generateReplacementPatches_(n[_c].base_,e,t.patches_,t.inversePatches_)):e=SD(t,n,[]),LQ(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==JFe?e:void 0}function SD(e,t,n){if(qB(t))return t;const r=t[_c];if(!r)return a7(t,(i,o)=>Sge(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return xD(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),a7(o,(l,s)=>Sge(e,r,i,l,s,n,a)),xD(e,i,!1),n&&e.patches_&&ly("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Sge(e,t,n,r,i,o,a){if(C0(i)){const l=o&&t&&t.type_!==3&&!jQ(t.assigned_,r)?o.concat(r):void 0,s=SD(e,i,l);if(tHe(n,r,s),C0(s))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(yh(i)&&!qB(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;SD(e,i),(!t||!t.scope_.parent_)&&xD(e,i)}}function xD(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&zie(t,n)}function ukt(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:nHe(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=Bie;n&&(i=[r],o=s7);const{revoke:a,proxy:l}=Proxy.revocable(i,o);return r.draft_=l,r.revoke_=a,l}var Bie={get(e,t){if(t===_c)return e;const n=iv(e);if(!jQ(n,t))return dkt(e,n,t);const r=n[t];return e.finalized_||!yh(r)?r:r===BV(e.base_,t)?(FV(e),e.copy_[t]=FQ(r,e)):r},has(e,t){return t in iv(e)},ownKeys(e){return Reflect.ownKeys(iv(e))},set(e,t,n){const r=rHe(iv(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=BV(iv(e),t),o=i==null?void 0:i[_c];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(okt(n,i)&&(n!==void 0||jQ(e.base_,t)))return!0;FV(e),BQ(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return BV(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,FV(e),BQ(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=iv(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){dd(11)},getPrototypeOf(e){return v4(e.base_)},setPrototypeOf(){dd(12)}},s7={};a7(Bie,(e,t)=>{s7[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});s7.deleteProperty=function(e,t){return s7.set.call(this,e,t,void 0)};s7.set=function(e,t,n){return Bie.set.call(this,e[0],t,n,e[0])};function BV(e,t){const n=e[_c];return(n?iv(n):e)[t]}function dkt(e,t,n){var i;const r=rHe(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function rHe(e,t){if(!(t in e))return;let n=v4(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=v4(n)}}function BQ(e){e.modified_||(e.modified_=!0,e.parent_&&BQ(e.parent_))}function FV(e){e.copy_||(e.copy_=DQ(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var fkt=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(s=o,...u){return a.produce(s,c=>n.call(this,c,...u))}}typeof n!="function"&&dd(6),r!==void 0&&typeof r!="function"&&dd(7);let i;if(yh(t)){const o=bge(this),a=FQ(t,void 0);let l=!0;try{i=n(a),l=!1}finally{l?LQ(o):zQ(o)}return yge(o,r),Cge(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===JFe&&(i=void 0),this.autoFreeze_&&zie(i,!0),r){const o=[],a=[];ly("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else dd(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...l)=>this.produceWithPatches(a,s=>t(s,...l));let r,i;return[this.produce(t,n,(a,l)=>{r=a,i=l}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){yh(e)||dd(8),C0(e)&&(e=iHe(e));const t=bge(this),n=FQ(e,void 0);return n[_c].isManual_=!0,zQ(t),n}finishDraft(e,t){const n=e&&e[_c];(!n||!n.isManual_)&&dd(9);const{scope_:r}=n;return yge(r,t),Cge(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=ly("Patches").applyPatches_;return C0(e)?r(e,t):this.produce(e,i=>r(i,t))}};function FQ(e,t){const n=HB(e)?ly("MapSet").proxyMap_(e,t):WB(e)?ly("MapSet").proxySet_(e,t):ukt(e,t);return(t?t.scope_:nHe()).drafts_.push(n),n}function iHe(e){return C0(e)||dd(10,e),oHe(e)}function oHe(e){if(!yh(e)||qB(e))return e;const t=e[_c];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=DQ(e,t.scope_.immer_.useStrictShallowCopy_)}else n=DQ(e,!0);return a7(n,(r,i)=>{tHe(n,r,oHe(i))}),t&&(t.finalized_=!1),n}var wc=new fkt,aHe=wc.produce;wc.produceWithPatches.bind(wc);wc.setAutoFreeze.bind(wc);wc.setUseStrictShallowCopy.bind(wc);wc.applyPatches.bind(wc);wc.createDraft.bind(wc);wc.finishDraft.bind(wc);function pkt(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function hkt(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function gkt(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var xge=e=>Array.isArray(e)?e:[e];function mkt(e){const t=Array.isArray(e[0])?e[0]:e;return gkt(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function vkt(e,t){const n=[],{length:r}=e;for(let i=0;i{n=wM(),a.resetResultsCount()},a.resultsCount=()=>o,a.resetResultsCount=()=>{o=0},a}function lHe(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let o=0,a=0,l,s={},u=i.pop();typeof u=="object"&&(s=u,u=i.pop()),pkt(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const c={...n,...s},{memoize:f,memoizeOptions:h=[],argsMemoize:d=Fie,argsMemoizeOptions:p=[],devModeChecks:g={}}=c,m=xge(h),v=xge(p),y=mkt(i),b=f(function(){return o++,u.apply(null,arguments)},...m),C=d(function(){a++;const S=vkt(y,arguments);return l=b.apply(null,S),l},...v);return Object.assign(C,{resultFunc:u,memoizedResultFunc:b,dependencies:y,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>l,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:f,argsMemoize:d})};return Object.assign(r,{withTypes:()=>r}),r}var Skt=lHe(Fie),xkt=Object.assign((e,t=Skt)=>{hkt(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((a,l,s)=>(a[n[s]]=l,a),{}))},{withTypes:()=>xkt});function sHe(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var _kt=sHe(),wkt=sHe,Okt=(...e)=>{const t=lHe(...e),n=Object.assign((...r)=>{const i=t(...r),o=(a,...l)=>i(C0(a)?iHe(a):a,...l);return Object.assign(o,i),o},{withTypes:()=>n});return n};Okt(Fie);var Ekt=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?CD:CD.apply(null,arguments)};function y4(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Ts(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>rkt(r)&&r.type===e,n}var cHe=class r9 extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,r9.prototype)}static get[Symbol.species](){return r9}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new r9(...t[0].concat(this)):new r9(...t.concat(this))}};function wge(e){return yh(e)?aHe(e,()=>{}):e}function Oge(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Ts(10));const r=n.insert(t,e);return e.set(t,r),r}function $kt(e){return typeof e=="boolean"}var Pkt=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new cHe;return n&&($kt(n)?a.push(_kt):a.push(wkt(n.extraArgument))),a},Tkt="RTK_autoBatch",uHe=e=>t=>{setTimeout(t,e)},Mkt=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:uHe(10),Rkt=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,a=!1;const l=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?Mkt:e.type==="callback"?e.queueNotification:uHe(e.timeout),u=()=>{a=!1,o&&(o=!1,l.forEach(c=>c()))};return Object.assign({},r,{subscribe(c){const f=()=>i&&c(),h=r.subscribe(f);return l.add(c),()=>{h(),l.delete(c)}},dispatch(c){var f;try{return i=!((f=c==null?void 0:c.meta)!=null&&f[Tkt]),o=!i,o&&(a||(a=!0,s(u))),r.dispatch(c)}finally{i=!0}}})},Ikt=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new cHe(e);return r&&i.push(Rkt(typeof r=="object"?r:void 0)),i},Nkt=!0;function Akt(e){const t=Pkt(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(Lie(n))l=tkt(n);else throw new Error(Ts(1));let s;typeof r=="function"?s=r(t):s=t();let u=CD;i&&(u=Ekt({trace:!Nkt,...typeof i=="object"&&i}));const c=nkt(...s),f=Ikt(c);let h=typeof a=="function"?a(f):f();const d=u(...h);return QFe(l,o,d)}function dHe(e){const t={},n=[];let r;const i={addCase(o,a){const l=typeof o=="string"?o:o.type;if(!l)throw new Error(Ts(28));if(l in t)throw new Error(Ts(29));return t[l]=a,i},addMatcher(o,a){return n.push({matcher:o,reducer:a}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function kkt(e){return typeof e=="function"}function jkt(e,t){let[n,r,i]=dHe(t),o;if(kkt(e))o=()=>wge(e());else{const l=wge(e);o=()=>l}function a(l=o(),s){let u=[n[s.type],...r.filter(({matcher:c})=>c(s)).map(({reducer:c})=>c)];return u.filter(c=>!!c).length===0&&(u=[i]),u.reduce((c,f)=>{if(f)if(C0(c)){const d=f(c,s);return d===void 0?c:d}else{if(yh(c))return aHe(c,h=>f(h,s));{const h=f(c,s);if(h===void 0){if(c===null)return c;throw new Error(Ts(9))}return h}}return c},l)}return a.getInitialState=o,a}var Dkt="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Lkt=(e=21)=>{let t="",n=e;for(;n--;)t+=Dkt[Math.random()*64|0];return t},zkt=Symbol.for("rtk-slice-createasyncthunk");function Bkt(e,t){return`${e}/${t}`}function Fkt({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[zkt];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(Ts(11));typeof process<"u";const l=(typeof i.reducers=="function"?i.reducers(Wkt()):i.reducers)||{},s=Object.keys(l),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(b,C){const x=typeof b=="string"?b:b.type;if(!x)throw new Error(Ts(12));if(x in u.sliceCaseReducersByType)throw new Error(Ts(13));return u.sliceCaseReducersByType[x]=C,c},addMatcher(b,C){return u.sliceMatchers.push({matcher:b,reducer:C}),c},exposeAction(b,C){return u.actionCreators[b]=C,c},exposeCaseReducer(b,C){return u.sliceCaseReducersByName[b]=C,c}};s.forEach(b=>{const C=l[b],x={reducerName:b,type:Bkt(o,b),createNotation:typeof i.reducers=="function"};Vkt(C)?Gkt(x,C,c,t):qkt(x,C,c)});function f(){const[b={},C=[],x=void 0]=typeof i.extraReducers=="function"?dHe(i.extraReducers):[i.extraReducers],S={...b,...u.sliceCaseReducersByType};return jkt(i.initialState,w=>{for(let O in S)w.addCase(O,S[O]);for(let O of u.sliceMatchers)w.addMatcher(O.matcher,O.reducer);for(let O of C)w.addMatcher(O.matcher,O.reducer);x&&w.addDefaultCase(x)})}const h=b=>b,d=new Map;let p;function g(b,C){return p||(p=f()),p(b,C)}function m(){return p||(p=f()),p.getInitialState()}function v(b,C=!1){function x(w){let O=w[b];return typeof O>"u"&&C&&(O=m()),O}function S(w=h){const O=Oge(d,C,{insert:()=>new WeakMap});return Oge(O,w,{insert:()=>{const $={};for(const[P,T]of Object.entries(i.selectors??{}))$[P]=Hkt(T,w,m,C);return $}})}return{reducerPath:b,getSelectors:S,get selectors(){return S(x)},selectSlice:x}}const y={name:o,reducer:g,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:m,...v(a),injectInto(b,{reducerPath:C,...x}={}){const S=C??a;return b.inject({reducerPath:S,reducer:g},x),{...y,...v(S,!0)}}};return y}}function Hkt(e,t,n,r){function i(o,...a){let l=t(o);return typeof l>"u"&&r&&(l=n()),e(l,...a)}return i.unwrapped=e,i}var W$=Fkt();function Wkt(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function qkt({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!Ukt(r))throw new Error(Ts(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?y4(e,a):y4(e))}function Vkt(e){return e._reducerDefinitionType==="asyncThunk"}function Ukt(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Gkt({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Ts(18));const{payloadCreator:o,fulfilled:a,pending:l,rejected:s,settled:u,options:c}=n,f=i(e,o,c);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),l&&r.addCase(f.pending,l),s&&r.addCase(f.rejected,s),u&&r.addMatcher(f.settled,u),r.exposeCaseReducer(t,{fulfilled:a||OM,pending:l||OM,rejected:s||OM,settled:u||OM})}function OM(){}var Kkt=(e,t)=>{if(typeof e!="function")throw new Error(Ts(32))},Hie="listenerMiddleware",Xkt=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:o}=e;if(t)i=y4(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error(Ts(21));return Kkt(o),{predicate:i,type:t,effect:o}},Ykt=Object.assign(e=>{const{type:t,predicate:n,effect:r}=Xkt(e);return{id:Lkt(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Ts(22))}}},{withTypes:()=>Ykt}),Zkt=Object.assign(y4(`${Hie}/add`),{withTypes:()=>Zkt});y4(`${Hie}/removeAll`);var Qkt=Object.assign(y4(`${Hie}/remove`),{withTypes:()=>Qkt});function Ts(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function fHe(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jkt}=Object.prototype,{getPrototypeOf:Wie}=Object,VB=(e=>t=>{const n=Jkt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Wf=e=>(e=e.toLowerCase(),t=>VB(t)===e),UB=e=>t=>typeof t===e,{isArray:OC}=Array,c7=UB("undefined");function ejt(e){return e!==null&&!c7(e)&&e.constructor!==null&&!c7(e.constructor)&&lu(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pHe=Wf("ArrayBuffer");function tjt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pHe(e.buffer),t}const njt=UB("string"),lu=UB("function"),hHe=UB("number"),GB=e=>e!==null&&typeof e=="object",rjt=e=>e===!0||e===!1,Ak=e=>{if(VB(e)!=="object")return!1;const t=Wie(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ijt=Wf("Date"),ojt=Wf("File"),ajt=Wf("Blob"),ljt=Wf("FileList"),sjt=e=>GB(e)&&lu(e.pipe),cjt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||lu(e.append)&&((t=VB(e))==="formdata"||t==="object"&&lu(e.toString)&&e.toString()==="[object FormData]"))},ujt=Wf("URLSearchParams"),djt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function q$(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),OC(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const mHe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,vHe=e=>!c7(e)&&e!==mHe;function HQ(){const{caseless:e}=vHe(this)&&this||{},t={},n=(r,i)=>{const o=e&&gHe(t,i)||i;Ak(t[o])&&Ak(r)?t[o]=HQ(t[o],r):Ak(r)?t[o]=HQ({},r):OC(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(q$(t,(i,o)=>{n&&lu(i)?e[o]=fHe(i,n):e[o]=i},{allOwnKeys:r}),e),pjt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hjt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},gjt=(e,t,n,r)=>{let i,o,a;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Wie(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mjt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},vjt=e=>{if(!e)return null;if(OC(e))return e;let t=e.length;if(!hHe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yjt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Wie(Uint8Array)),bjt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Cjt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sjt=Wf("HTMLFormElement"),xjt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Ege=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_jt=Wf("RegExp"),yHe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};q$(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},wjt=e=>{yHe(e,(t,n)=>{if(lu(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(lu(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ojt=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return OC(e)?r(e):r(String(e).split(t)),n},Ejt=()=>{},$jt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),HV="abcdefghijklmnopqrstuvwxyz",$ge="0123456789",bHe={DIGIT:$ge,ALPHA:HV,ALPHA_DIGIT:HV+HV.toUpperCase()+$ge},Pjt=(e=16,t=bHe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Tjt(e){return!!(e&&lu(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Mjt=e=>{const t=new Array(10),n=(r,i)=>{if(GB(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=OC(r)?[]:{};return q$(r,(a,l)=>{const s=n(a,i+1);!c7(s)&&(o[l]=s)}),t[i]=void 0,o}}return r};return n(e,0)},Rjt=Wf("AsyncFunction"),Ijt=e=>e&&(GB(e)||lu(e))&&lu(e.then)&&lu(e.catch),Gt={isArray:OC,isArrayBuffer:pHe,isBuffer:ejt,isFormData:cjt,isArrayBufferView:tjt,isString:njt,isNumber:hHe,isBoolean:rjt,isObject:GB,isPlainObject:Ak,isUndefined:c7,isDate:ijt,isFile:ojt,isBlob:ajt,isRegExp:_jt,isFunction:lu,isStream:sjt,isURLSearchParams:ujt,isTypedArray:yjt,isFileList:ljt,forEach:q$,merge:HQ,extend:fjt,trim:djt,stripBOM:pjt,inherits:hjt,toFlatObject:gjt,kindOf:VB,kindOfTest:Wf,endsWith:mjt,toArray:vjt,forEachEntry:bjt,matchAll:Cjt,isHTMLForm:Sjt,hasOwnProperty:Ege,hasOwnProp:Ege,reduceDescriptors:yHe,freezeMethods:wjt,toObjectSet:Ojt,toCamelCase:xjt,noop:Ejt,toFiniteNumber:$jt,findKey:gHe,global:mHe,isContextDefined:vHe,ALPHABET:bHe,generateString:Pjt,isSpecCompliantForm:Tjt,toJSONObject:Mjt,isAsyncFn:Rjt,isThenable:Ijt};function Fr(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}Gt.inherits(Fr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Gt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const CHe=Fr.prototype,SHe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{SHe[e]={value:e}});Object.defineProperties(Fr,SHe);Object.defineProperty(CHe,"isAxiosError",{value:!0});Fr.from=(e,t,n,r,i,o)=>{const a=Object.create(CHe);return Gt.toFlatObject(e,a,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),Fr.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Njt=null;function WQ(e){return Gt.isPlainObject(e)||Gt.isArray(e)}function xHe(e){return Gt.endsWith(e,"[]")?e.slice(0,-2):e}function Pge(e,t,n){return e?e.concat(t).map(function(i,o){return i=xHe(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Ajt(e){return Gt.isArray(e)&&!e.some(WQ)}const kjt=Gt.toFlatObject(Gt,{},null,function(t){return/^is[A-Z]/.test(t)});function KB(e,t,n){if(!Gt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Gt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Gt.isUndefined(m[g])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&Gt.isSpecCompliantForm(t);if(!Gt.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Gt.isDate(p))return p.toISOString();if(!s&&Gt.isBlob(p))throw new Fr("Blob is not supported. Use a Buffer instead.");return Gt.isArrayBuffer(p)||Gt.isTypedArray(p)?s&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,g,m){let v=p;if(p&&!m&&typeof p=="object"){if(Gt.endsWith(g,"{}"))g=r?g:g.slice(0,-2),p=JSON.stringify(p);else if(Gt.isArray(p)&&Ajt(p)||(Gt.isFileList(p)||Gt.endsWith(g,"[]"))&&(v=Gt.toArray(p)))return g=xHe(g),v.forEach(function(b,C){!(Gt.isUndefined(b)||b===null)&&t.append(a===!0?Pge([g],C,o):a===null?g:g+"[]",u(b))}),!1}return WQ(p)?!0:(t.append(Pge(m,g,o),u(p)),!1)}const f=[],h=Object.assign(kjt,{defaultVisitor:c,convertValue:u,isVisitable:WQ});function d(p,g){if(!Gt.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(p),Gt.forEach(p,function(v,y){(!(Gt.isUndefined(v)||v===null)&&i.call(t,v,Gt.isString(y)?y.trim():y,g,h))===!0&&d(v,g?g.concat(y):[y])}),f.pop()}}if(!Gt.isObject(e))throw new TypeError("data must be an object");return d(e),t}function Tge(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function qie(e,t){this._pairs=[],e&&KB(e,this,t)}const _He=qie.prototype;_He.append=function(t,n){this._pairs.push([t,n])};_He.toString=function(t){const n=t?function(r){return t.call(this,r,Tge)}:Tge;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jjt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wHe(e,t,n){if(!t)return e;const r=n&&n.encode||jjt,i=n&&n.serialize;let o;if(i?o=i(t,n):o=Gt.isURLSearchParams(t)?t.toString():new qie(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Mge{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Gt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const OHe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Djt=typeof URLSearchParams<"u"?URLSearchParams:qie,Ljt=typeof FormData<"u"?FormData:null,zjt=typeof Blob<"u"?Blob:null,Bjt={isBrowser:!0,classes:{URLSearchParams:Djt,FormData:Ljt,Blob:zjt},protocols:["http","https","file","blob","url","data"]},EHe=typeof window<"u"&&typeof document<"u",Fjt=(e=>EHe&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Hjt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Wjt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:EHe,hasStandardBrowserEnv:Fjt,hasStandardBrowserWebWorkerEnv:Hjt},Symbol.toStringTag,{value:"Module"})),mf={...Wjt,...Bjt};function qjt(e,t){return KB(e,new mf.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return mf.isNode&&Gt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Vjt(e){return Gt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ujt(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&Gt.isArray(i)?i.length:a,s?(Gt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!l):((!i[a]||!Gt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Gt.isArray(i[a])&&(i[a]=Ujt(i[a])),!l)}if(Gt.isFormData(e)&&Gt.isFunction(e.entries)){const n={};return Gt.forEachEntry(e,(r,i)=>{t(Vjt(r),i,n,0)}),n}return null}function Gjt(e,t,n){if(Gt.isString(e))try{return(t||JSON.parse)(e),Gt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vie={transitional:OHe,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Gt.isObject(t);if(o&&Gt.isHTMLForm(t)&&(t=new FormData(t)),Gt.isFormData(t))return i?JSON.stringify($He(t)):t;if(Gt.isArrayBuffer(t)||Gt.isBuffer(t)||Gt.isStream(t)||Gt.isFile(t)||Gt.isBlob(t))return t;if(Gt.isArrayBufferView(t))return t.buffer;if(Gt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return qjt(t,this.formSerializer).toString();if((l=Gt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return KB(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),Gjt(t)):t}],transformResponse:[function(t){const n=this.transitional||Vie.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&Gt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?Fr.from(l,Fr.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mf.classes.FormData,Blob:mf.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Gt.forEach(["delete","get","head","post","put","patch"],e=>{Vie.headers[e]={}});const Uie=Vie,Kjt=Gt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xjt=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&Kjt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Rge=Symbol("internals");function J6(e){return e&&String(e).trim().toLowerCase()}function kk(e){return e===!1||e==null?e:Gt.isArray(e)?e.map(kk):String(e)}function Yjt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Zjt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function WV(e,t,n,r,i){if(Gt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Gt.isString(t)){if(Gt.isString(r))return t.indexOf(r)!==-1;if(Gt.isRegExp(r))return r.test(t)}}function Qjt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Jjt(e,t){const n=Gt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class XB{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(l,s,u){const c=J6(s);if(!c)throw new Error("header name must be a non-empty string");const f=Gt.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||s]=kk(l))}const a=(l,s)=>Gt.forEach(l,(u,c)=>o(u,c,s));return Gt.isPlainObject(t)||t instanceof this.constructor?a(t,n):Gt.isString(t)&&(t=t.trim())&&!Zjt(t)?a(Xjt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=J6(t),t){const r=Gt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Yjt(i);if(Gt.isFunction(n))return n.call(this,i,r);if(Gt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=J6(t),t){const r=Gt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||WV(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=J6(a),a){const l=Gt.findKey(r,a);l&&(!n||WV(r,r[l],l,n))&&(delete r[l],i=!0)}}return Gt.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||WV(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Gt.forEach(this,(i,o)=>{const a=Gt.findKey(r,o);if(a){n[a]=kk(i),delete n[o];return}const l=t?Qjt(o):String(o).trim();l!==o&&delete n[o],n[l]=kk(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Gt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Gt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Rge]=this[Rge]={accessors:{}}).accessors,i=this.prototype;function o(a){const l=J6(a);r[l]||(Jjt(i,a),r[l]=!0)}return Gt.isArray(t)?t.forEach(o):o(t),this}}XB.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Gt.reduceDescriptors(XB.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Gt.freezeMethods(XB);const Jp=XB;function qV(e,t){const n=this||Uie,r=t||n,i=Jp.from(r.headers);let o=r.data;return Gt.forEach(e,function(l){o=l.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function PHe(e){return!!(e&&e.__CANCEL__)}function V$(e,t,n){Fr.call(this,e??"canceled",Fr.ERR_CANCELED,t,n),this.name="CanceledError"}Gt.inherits(V$,Fr,{__CANCEL__:!0});function eDt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Fr("Request failed with status code "+n.status,[Fr.ERR_BAD_REQUEST,Fr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const tDt=mf.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Gt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Gt.isString(r)&&a.push("path="+r),Gt.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nDt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rDt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function THe(e,t){return e&&!nDt(t)?rDt(e,t):t}const iDt=mf.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const l=Gt.isString(a)?i(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function oDt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aDt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),c=r[o];a||(a=u),n[i]=s,r[i]=u;let f=o,h=0;for(;f!==i;)h+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-n,s=r(l),u=o<=a;n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&u?(a-o)/s:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const lDt=typeof XMLHttpRequest<"u",sDt=lDt&&function(e){return new Promise(function(n,r){let i=e.data;const o=Jp.from(e.headers).normalize();let{responseType:a,withXSRFToken:l}=e,s;function u(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let c;if(Gt.isFormData(i)){if(mf.hasStandardBrowserEnv||mf.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((c=o.getContentType())!==!1){const[g,...m]=c?c.split(";").map(v=>v.trim()).filter(Boolean):[];o.setContentType([g||"multipart/form-data",...m].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(g+":"+m))}const h=THe(e.baseURL,e.url);f.open(e.method.toUpperCase(),wHe(h,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function d(){if(!f)return;const g=Jp.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),v={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:g,config:e,request:f};eDt(function(b){n(b),u()},function(b){r(b),u()},v),f=null}if("onloadend"in f?f.onloadend=d:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(d)},f.onabort=function(){f&&(r(new Fr("Request aborted",Fr.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new Fr("Network Error",Fr.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||OHe;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new Fr(m,v.clarifyTimeoutError?Fr.ETIMEDOUT:Fr.ECONNABORTED,e,f)),f=null},mf.hasStandardBrowserEnv&&(l&&Gt.isFunction(l)&&(l=l(e)),l||l!==!1&&iDt(h))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&tDt.read(e.xsrfCookieName);g&&o.set(e.xsrfHeaderName,g)}i===void 0&&o.setContentType(null),"setRequestHeader"in f&&Gt.forEach(o.toJSON(),function(m,v){f.setRequestHeader(v,m)}),Gt.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Ige(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Ige(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{f&&(r(!g||g.type?new V$(null,e,f):g),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const p=oDt(h);if(p&&mf.protocols.indexOf(p)===-1){r(new Fr("Unsupported protocol "+p+":",Fr.ERR_BAD_REQUEST,e));return}f.send(i||null)})},qQ={http:Njt,xhr:sDt};Gt.forEach(qQ,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Nge=e=>`- ${e}`,cDt=e=>Gt.isFunction(e)||e===null||e===!1,MHe={getAdapter:e=>{e=Gt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : +`+o.map(Nge).join(` +`):" "+Nge(o[0]):"as no adapter specified";throw new Fr("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:qQ};function VV(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new V$(null,e)}function Age(e){return VV(e),e.headers=Jp.from(e.headers),e.data=qV.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),MHe.getAdapter(e.adapter||Uie.adapter)(e).then(function(r){return VV(e),r.data=qV.call(e,e.transformResponse,r),r.headers=Jp.from(r.headers),r},function(r){return PHe(r)||(VV(e),r&&r.response&&(r.response.data=qV.call(e,e.transformResponse,r.response),r.response.headers=Jp.from(r.response.headers))),Promise.reject(r)})}const kge=e=>e instanceof Jp?e.toJSON():e;function b4(e,t){t=t||{};const n={};function r(u,c,f){return Gt.isPlainObject(u)&&Gt.isPlainObject(c)?Gt.merge.call({caseless:f},u,c):Gt.isPlainObject(c)?Gt.merge({},c):Gt.isArray(c)?c.slice():c}function i(u,c,f){if(Gt.isUndefined(c)){if(!Gt.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function o(u,c){if(!Gt.isUndefined(c))return r(void 0,c)}function a(u,c){if(Gt.isUndefined(c)){if(!Gt.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,c)=>i(kge(u),kge(c),!0)};return Gt.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=s[c]||i,h=f(e[c],t[c],c);Gt.isUndefined(h)&&f!==l||(n[c]=h)}),n}const RHe="1.6.7",Gie={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gie[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const jge={};Gie.transitional=function(t,n,r){function i(o,a){return"[Axios v"+RHe+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,l)=>{if(t===!1)throw new Fr(i(a," has been removed"+(n?" in "+n:"")),Fr.ERR_DEPRECATED);return n&&!jge[a]&&(jge[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};function uDt(e,t,n){if(typeof e!="object")throw new Fr("options must be an object",Fr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const l=e[o],s=l===void 0||a(l,o,e);if(s!==!0)throw new Fr("option "+o+" must be "+s,Fr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fr("Unknown option "+o,Fr.ERR_BAD_OPTION)}}const VQ={assertOptions:uDt,validators:Gie},r1=VQ.validators;class _D{constructor(t){this.defaults=t,this.interceptors={request:new Mge,response:new Mge}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=b4(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&VQ.assertOptions(r,{silentJSONParsing:r1.transitional(r1.boolean),forcedJSONParsing:r1.transitional(r1.boolean),clarifyTimeoutError:r1.transitional(r1.boolean)},!1),i!=null&&(Gt.isFunction(i)?n.paramsSerializer={serialize:i}:VQ.assertOptions(i,{encode:r1.function,serialize:r1.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Gt.merge(o.common,o[n.method]);o&&Gt.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=Jp.concat(a,o);const l=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,f=0,h;if(!s){const p=[Age.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,u),h=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(l=>{r.subscribe(l),o=l}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,l){r.reason||(r.reason=new V$(o,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Kie(function(i){t=i}),cancel:t}}}const dDt=Kie;function fDt(e){return function(n){return e.apply(null,n)}}function pDt(e){return Gt.isObject(e)&&e.isAxiosError===!0}const UQ={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(UQ).forEach(([e,t])=>{UQ[t]=e});const hDt=UQ;function IHe(e){const t=new jk(e),n=fHe(jk.prototype.request,t);return Gt.extend(n,jk.prototype,t,{allOwnKeys:!0}),Gt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return IHe(b4(e,i))},n}const Vo=IHe(Uie);Vo.Axios=jk;Vo.CanceledError=V$;Vo.CancelToken=dDt;Vo.isCancel=PHe;Vo.VERSION=RHe;Vo.toFormData=KB;Vo.AxiosError=Fr;Vo.Cancel=Vo.CanceledError;Vo.all=function(t){return Promise.all(t)};Vo.spread=fDt;Vo.isAxiosError=pDt;Vo.mergeConfig=b4;Vo.AxiosHeaders=Jp;Vo.formToJSON=e=>$He(Gt.isHTMLForm(e)?new FormData(e):e);Vo.getAdapter=MHe.getAdapter;Vo.HttpStatusCode=hDt;Vo.default=Vo;const Xie=()=>localStorage.getItem("tokenKey"),Tr=Vo.create({baseURL:"http://localhost:8080",timeout:5e3});Tr.interceptors.request.use(function(e){const t=Xie();return t&&(e.headers.Authorization=t),e},function(e){return Promise.reject(e)});const NHe=()=>localStorage.removeItem("tokenKey"),gDt={token:localStorage.getItem("tokenKey")||null,avatar:"",talk:"",name:""},AHe=W$({name:"user",initialState:gDt,reducers:{setToken:(e,t)=>{e.token=t.payload.token,localStorage.setItem("tokenKey",t.payload.token)},setUserInfo:(e,t)=>{e.avatar=t.payload.avatar,e.talk=t.payload.talk,e.name=t.payload.name}}}),{setToken:mDt,setUserInfo:vDt}=AHe.actions,yDt=AHe.reducer,bDt=e=>async t=>{try{const n=await Tr({url:"/api/login",method:"POST",data:e}),r=n.data.data;return t(mDt({token:r})),n.status}catch(n){throw n}},CDt=()=>async e=>{try{const t=await Tr({url:"/api/protect/user",method:"GET"}),n={avatar:t.data.data.avatar,talk:t.data.data.talk,name:t.data.data.name};e(vDt(n))}catch(t){console.error("Failed to fetch userinfo:",t),NHe()}},SDt=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i=wC(),o=My();_.useEffect(()=>{Xie()&&o("/dashboard")},[o]);const a=u=>{const{name:c,value:f}=u.target;c==="account"?t(f):c==="password"&&r(f)},l=async u=>{u.preventDefault();const c={username:e,password:n};try{await i(bDt(c))===200?(fr.success("登录成功"),o("/dashboard")):fr.error("登录失败!")}catch(f){console.error("登录请求出错",f),fr.error("登录请求出错,请稍后再试!")}},s=u=>{u.preventDefault(),fr.warning(`请填写${u.currentTarget.placeholder}`)};return ge.jsx("div",{className:"body",children:ge.jsxs("div",{className:"container",children:[ge.jsx("div",{className:"back",children:ge.jsx("div",{className:"BackFilter"})}),ge.jsx("div",{className:"LoginForm",children:ge.jsxs("div",{className:"LoginContainer",children:[ge.jsx("div",{className:"heading",children:"Sign In"}),ge.jsxs("form",{action:"",onSubmit:l,className:"form",children:[ge.jsx("input",{required:!0,className:"input",type:"text",name:"account",value:e,placeholder:"账号",onChange:a,onInvalid:s}),ge.jsx("input",{required:!0,className:"input",type:"password",name:"password",value:n,placeholder:"密码",onChange:a,onInvalid:s}),ge.jsx("input",{className:"login-button",type:"submit",value:"登录"})]})]})})]})})};window._iconfont_svg_string_4335817='',function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var r,i,o,a,l,s=function(f,h){h.parentNode.insertBefore(f,h)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(f){console&&console.log(f)}}r=function(){var f,h=document.createElement("div");h.innerHTML=e._iconfont_svg_string_4335817,(h=h.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",h=h,(f=document.body).firstChild?s(h,f.firstChild):f.appendChild(h))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),r()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=r,a=e.document,l=!1,c(),a.onreadystatechange=function(){a.readyState=="complete"&&(a.onreadystatechange=null,u())})}function u(){l||(l=!0,o())}function c(){try{a.documentElement.doScroll("left")}catch{return void setTimeout(c,50)}u()}}(window);const YB=Se.createContext(""),xDt=({handleModeSwitch:e,isDarkMode:t})=>ge.jsx(ge.Fragment,{children:ge.jsxs("label",{className:"theme-switch",children:[ge.jsx("input",{type:"checkbox",className:"theme-switch__checkbox",onClick:e,checked:t}),ge.jsxs("div",{className:"theme-switch__container",children:[ge.jsx("div",{className:"theme-switch__clouds"}),ge.jsx("div",{className:"theme-switch__stars-container",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 144 55",fill:"none",children:ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M135.831 3.00688C135.055 3.85027 134.111 4.29946 133 4.35447C134.111 4.40947 135.055 4.85867 135.831 5.71123C136.607 6.55462 136.996 7.56303 136.996 8.72727C136.996 7.95722 137.172 7.25134 137.525 6.59129C137.886 5.93124 138.372 5.39954 138.98 5.00535C139.598 4.60199 140.268 4.39114 141 4.35447C139.88 4.2903 138.936 3.85027 138.16 3.00688C137.384 2.16348 136.996 1.16425 136.996 0C136.996 1.16425 136.607 2.16348 135.831 3.00688ZM31 23.3545C32.1114 23.2995 33.0551 22.8503 33.8313 22.0069C34.6075 21.1635 34.9956 20.1642 34.9956 19C34.9956 20.1642 35.3837 21.1635 36.1599 22.0069C36.9361 22.8503 37.8798 23.2903 39 23.3545C38.2679 23.3911 37.5976 23.602 36.9802 24.0053C36.3716 24.3995 35.8864 24.9312 35.5248 25.5913C35.172 26.2513 34.9956 26.9572 34.9956 27.7273C34.9956 26.563 34.6075 25.5546 33.8313 24.7112C33.0551 23.8587 32.1114 23.4095 31 23.3545ZM0 36.3545C1.11136 36.2995 2.05513 35.8503 2.83131 35.0069C3.6075 34.1635 3.99559 33.1642 3.99559 32C3.99559 33.1642 4.38368 34.1635 5.15987 35.0069C5.93605 35.8503 6.87982 36.2903 8 36.3545C7.26792 36.3911 6.59757 36.602 5.98015 37.0053C5.37155 37.3995 4.88644 37.9312 4.52481 38.5913C4.172 39.2513 3.99559 39.9572 3.99559 40.7273C3.99559 39.563 3.6075 38.5546 2.83131 37.7112C2.05513 36.8587 1.11136 36.4095 0 36.3545ZM56.8313 24.0069C56.0551 24.8503 55.1114 25.2995 54 25.3545C55.1114 25.4095 56.0551 25.8587 56.8313 26.7112C57.6075 27.5546 57.9956 28.563 57.9956 29.7273C57.9956 28.9572 58.172 28.2513 58.5248 27.5913C58.8864 26.9312 59.3716 26.3995 59.9802 26.0053C60.5976 25.602 61.2679 25.3911 62 25.3545C60.8798 25.2903 59.9361 24.8503 59.1599 24.0069C58.3837 23.1635 57.9956 22.1642 57.9956 21C57.9956 22.1642 57.6075 23.1635 56.8313 24.0069ZM81 25.3545C82.1114 25.2995 83.0551 24.8503 83.8313 24.0069C84.6075 23.1635 84.9956 22.1642 84.9956 21C84.9956 22.1642 85.3837 23.1635 86.1599 24.0069C86.9361 24.8503 87.8798 25.2903 89 25.3545C88.2679 25.3911 87.5976 25.602 86.9802 26.0053C86.3716 26.3995 85.8864 26.9312 85.5248 27.5913C85.172 28.2513 84.9956 28.9572 84.9956 29.7273C84.9956 28.563 84.6075 27.5546 83.8313 26.7112C83.0551 25.8587 82.1114 25.4095 81 25.3545ZM136 36.3545C137.111 36.2995 138.055 35.8503 138.831 35.0069C139.607 34.1635 139.996 33.1642 139.996 32C139.996 33.1642 140.384 34.1635 141.16 35.0069C141.936 35.8503 142.88 36.2903 144 36.3545C143.268 36.3911 142.598 36.602 141.98 37.0053C141.372 37.3995 140.886 37.9312 140.525 38.5913C140.172 39.2513 139.996 39.9572 139.996 40.7273C139.996 39.563 139.607 38.5546 138.831 37.7112C138.055 36.8587 137.111 36.4095 136 36.3545ZM101.831 49.0069C101.055 49.8503 100.111 50.2995 99 50.3545C100.111 50.4095 101.055 50.8587 101.831 51.7112C102.607 52.5546 102.996 53.563 102.996 54.7273C102.996 53.9572 103.172 53.2513 103.525 52.5913C103.886 51.9312 104.372 51.3995 104.98 51.0053C105.598 50.602 106.268 50.3911 107 50.3545C105.88 50.2903 104.936 49.8503 104.16 49.0069C103.384 48.1635 102.996 47.1642 102.996 46C102.996 47.1642 102.607 48.1635 101.831 49.0069Z",fill:"currentColor"})})}),ge.jsx("div",{className:"theme-switch__circle-container",children:ge.jsx("div",{className:"theme-switch__sun-moon-container",children:ge.jsxs("div",{className:"theme-switch__moon",children:[ge.jsx("div",{className:"theme-switch__spot"}),ge.jsx("div",{className:"theme-switch__spot"}),ge.jsx("div",{className:"theme-switch__spot"})]})})})]})]})}),_Dt=()=>ge.jsx(ge.Fragment,{children:ge.jsxs("button",{className:"setting-btn",children:[ge.jsx("span",{className:"bar bar1"}),ge.jsx("span",{className:"bar bar2"}),ge.jsx("span",{className:"bar bar1"})]})}),wDt={categories:[],categoryCount:0},kHe=W$({name:"categories",initialState:wDt,reducers:{setCategories:(e,t)=>{e.categories=t.payload},setCategoryCount:(e,t)=>{e.categoryCount=t.payload}}}),Dk=()=>async e=>{Tr({url:"/api/protected/category",method:"GET"}).then(t=>{e(ODt(t.data.data)),e(EDt(t.data.data.length))}).catch(t=>{console.log(t)})},{setCategories:ODt,setCategoryCount:EDt}=kHe.actions,$Dt=kHe.reducer,PDt={tag:[],tagCount:0},jHe=W$({name:"tags",initialState:PDt,reducers:{setTags:(e,t)=>{e.tag=t.payload},setTagCount:(e,t)=>{e.tagCount=t.payload}}}),Lk=()=>async e=>{const t=await Tr({url:"/api/protected/tagone",method:"GET"}).then(o=>o.data.data),n=await Tr({url:"/api/protected/tagtwo",method:"GET"}).then(o=>o.data.data),r=t.map(o=>(o.children=n.filter(a=>a.fatherTag===o.title),o)),i=t.length+n.length;e(MDt(i)),e(TDt(r))},{setTags:TDt,setTagCount:MDt}=jHe.actions,RDt=jHe.reducer,IDt={Notes:[],noteCount:0},DHe=W$({name:"Note",initialState:IDt,reducers:{setNote:(e,t)=>{e.Notes=t.payload},setNoteCount:(e,t)=>{e.noteCount=t.payload}}}),u7=()=>async e=>{try{const n=(await Tr({url:"/api/protected/notes",method:"GET"})).data.data.map(r=>({...r,noteTags:r.noteTags?r.noteTags.split(",").map(i=>parseInt(i,10)):[]}));e(NDt(n)),e(ADt(n.length))}catch(t){console.error("Error fetching note list:",t)}},{setNote:NDt,setNoteCount:ADt}=DHe.actions,kDt=DHe.reducer,jDt=()=>{const e=My(),[t,n]=_.useState(1),[r,i]=_.useState(!0),[o,a]=_.useState(!1),[l,s]=MBe.useNotification(),[u,c]=_.useState(!1),f=wC(),h=Yl(O=>O.user.avatar),d=Yl(O=>O.user.talk),p=Yl(O=>O.user.name);_.useEffect(()=>{f(CDt()),f(Dk()),f(Lk()),f(u7());const O=localStorage.getItem("isDarkMode"),$=location.hash==="#/dashboard"?1:location.hash==="#/dashboard/notes"?2:location.hash==="#/dashboard/comments"?3:location.hash==="#/dashboard/albums"?4:location.hash==="#/dashboard/friends"?5:location.hash==="#/dashboard/analytics"?6:location.hash.startsWith("#/dashboard/notes")?2:1;n($),c(!0),O!==null&&a(JSON.parse(O))},[]);const g=()=>{const O=`open${Date.now()}`,$=ge.jsxs(CC,{children:[ge.jsx(Ei,{type:"link",size:"small",onClick:()=>l.destroy(),children:"返回"}),ge.jsx(Ei,{type:"primary",size:"small",onClick:()=>{NHe(),e("/"),fr.success("退出成功")},children:"确认"})]});l.open({message:"退出确认",btn:$,key:O})},m=()=>{i(!r)},v=()=>{i(!1)},y=()=>{a(!o),localStorage.setItem("isDarkMode",JSON.stringify(!o))},b=[{index:1,name:"主页",icon:"icon-shouyefill",to:"",active:!1},{index:2,name:"笔记",icon:"icon-yongyan",to:"notes",active:!1,children:[{index:201,name:"全部文章",to:"allnotes"},{index:202,name:"编辑文章",to:"newnote"},{index:203,name:"全部分类",to:"allcategorize"},{index:204,name:"全部标签",to:"alltags"}]},{index:3,name:"说说",icon:"icon-pinglun4",to:"comments",active:!1},{index:4,name:"图库",icon:"icon-xiangce",to:"albums",active:!1},{index:5,name:"友链圈",icon:"icon-youlianguanli",to:"friends",active:!1},{index:6,name:"数据板",icon:"icon-zhexiantu",to:"analytics",active:!1}],C=_.useRef(null),[x,S]=_.useState(!1),w=()=>{const O=C.current;x?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),S(!1)):(O!=null&&O.requestFullscreen?O.requestFullscreen():O!=null&&O.mozRequestFullScreen?O.mozRequestFullScreen():O!=null&&O.webkitRequestFullscreen?O.webkitRequestFullscreen():O!=null&&O.msRequestFullscreen&&O.msRequestFullscreen(),S(!0))};return ge.jsx("div",{className:`contain ${o?"dark":""}`,children:u?ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:`content ${o?"contentDark":""}`,ref:C,children:[ge.jsx("div",{className:`shell ${r?"close":""} ${o?"dark":""} slider`,children:ge.jsxs("nav",{className:`shell ${r?"close":""} ${o?"dark":""}`,children:[ge.jsxs("header",{children:[ge.jsxs("div",{className:"image-text",children:[ge.jsx("span",{className:"image",children:ge.jsx("img",{src:h,alt:""})}),ge.jsxs("div",{className:"text logo-text",children:[ge.jsx("span",{className:"name",children:p}),ge.jsxs("p",{className:"onesay",children:['"',d,'"']})]})]}),ge.jsx("i",{className:"iconfont icon-iconfonticonfontarrowright toggle",onClick:m,style:{fontSize:20}})]}),ge.jsxs("div",{className:"menu-bar",children:[ge.jsxs("div",{className:"menu",children:[ge.jsxs("li",{className:"search-box",onClick:v,children:[ge.jsx("i",{className:"iconfont icon-sousuo1 icon"}),ge.jsx("input",{type:"text",placeholder:"search..."})]}),ge.jsx("ul",{className:"menu-links",children:b.map(O=>ge.jsxs("li",{className:`nav-links ${t===O.index?"nav_select":""}`,onClick:()=>{e(O.to),n(O.index)},children:[ge.jsx("i",{className:`iconfont ${O.icon} icon`}),ge.jsx("span",{className:"text nac-text",children:O.name})]},O.index))})]}),ge.jsxs("div",{className:"bottom-content",children:[ge.jsxs("li",{className:"nav-links",onClick:()=>e("usercontrol"),children:[ge.jsx("i",{className:"iconfont icon-iconfontcog icon"}),ge.jsx("span",{className:"text nac-text",children:"用户管理"})]}),ge.jsxs("li",{className:"nav-links",onClick:g,children:[ge.jsx("i",{className:"iconfont icon-tuichu icon"}),ge.jsx("span",{className:"text nac-text",children:"退出登录"})]}),ge.jsxs("li",{className:"mode",children:[ge.jsx("div",{className:"sun-moon",children:o?ge.jsx("i",{className:`iconfont icon-taiyang1 icon ${o?"moon":"sun"}`}):ge.jsx("i",{className:`iconfont icon-moonyueliang icon ${o?"sun":"moon"}`})}),ge.jsx("span",{className:"mode-text text",children:o?"白日模式":"夜间模式"}),ge.jsx("div",{className:"toggle-switch",children:ge.jsx(xDt,{handleModeSwitch:y,isDarkMode:o})})]})]})]})]})}),ge.jsx(mh,{style:{width:"90%",height:"95%",marginLeft:80},className:`Card ${o?"CardDark":""}`,children:ge.jsx(YB.Provider,{value:o.toString(),children:ge.jsx(aAe,{})})}),ge.jsx("div",{className:"setting_btn",onClick:()=>w(),children:ge.jsx(_Dt,{})})]}),s]}):ge.jsx("div",{className:"loading-overlay",children:ge.jsx(OBe,{tip:"Loading...",className:"loading"})})})};function DDt({children:e}){const t=My();return _.useEffect(()=>{Xie()||(fr.error("请先登录!"),t("/"))},[]),ge.jsx(ge.Fragment,{children:e})}var LDt={exports:{}};(function(e,t){(function(n,r){e.exports=r(Dre)})(mo,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=r(n),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,l){return l==="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,l){var s=100*a+l;return s<600?"凌晨":s<900?"早上":s<1100?"上午":s<1300?"中午":s<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})})(LDt);var Yie={},LHe={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(LHe);var ze=LHe.exports,eS={},Dge;function zDt(){if(Dge)return eS;Dge=1,Object.defineProperty(eS,"__esModule",{value:!0}),eS.default=void 0;var e={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 eS.default=e,eS}var tS={},nS={},rS={},Lge;function BDt(){if(Lge)return rS;Lge=1,Object.defineProperty(rS,"__esModule",{value:!0}),rS.default=void 0;var e={locale:"zh_CN",yearFormat:"YYYY年",cellDateFormat:"D",cellMeridiemFormat:"A",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};return rS.default=e,rS}var iS={},zge;function zHe(){if(zge)return iS;zge=1,Object.defineProperty(iS,"__esModule",{value:!0}),iS.default=void 0;const e={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};return iS.default=e,iS}var Bge;function BHe(){if(Bge)return nS;Bge=1;var e=ze;Object.defineProperty(nS,"__esModule",{value:!0}),nS.default=void 0;var t=e(BDt()),n=e(zHe());const r={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},t.default),timePickerLocale:Object.assign({},n.default)};return r.lang.ok="确定",nS.default=r,nS}var Fge;function FDt(){if(Fge)return tS;Fge=1;var e=ze;Object.defineProperty(tS,"__esModule",{value:!0}),tS.default=void 0;var t=e(BHe());return tS.default=t.default,tS}var ZB=ze;Object.defineProperty(Yie,"__esModule",{value:!0});var Zie=Yie.default=void 0,HDt=ZB(zDt()),WDt=ZB(FDt()),qDt=ZB(BHe()),VDt=ZB(zHe());const Gs="${label}不是一个有效的${type}",UDt={locale:"zh-cn",Pagination:HDt.default,DatePicker:qDt.default,TimePicker:VDt.default,Calendar:WDt.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",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:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:Gs,method:Gs,array:Gs,object:Gs,number:Gs,date:Gs,boolean:Gs,integer:Gs,float:Gs,regexp:Gs,email:Gs,url:Gs,hex:Gs},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:"暂无"}};Zie=Yie.default=UDt;const GDt=({isDark:e})=>{const[t,n]=_.useState([]),r=Yl(i=>i.tags.tag);return _.useEffect(()=>{Tr({url:"/api/protected/notes/page",method:"GET"}).then(i=>{n(i.data.data.map(o=>({...o,noteTags:o.noteTags?o.noteTags.split(",").map(a=>parseInt(a,10)):[]})))})},[]),console.log(r),ge.jsxs("div",{className:"articleRecord",children:[ge.jsx("div",{className:"articleRecordImg",children:ge.jsx("img",{src:"https://ghchart.rshah.org/409ba5/LinMoQC"})}),ge.jsxs("div",{className:"articleRecordBox",style:{overflowY:"auto"},children:[ge.jsx("h3",{children:"最新文章"}),t.map(i=>ge.jsxs("div",{className:"articleRecordCard in",style:{background:e?"rgba(0,0,0,0.33)":"rgba(255,255,255,0.33)"},children:[ge.jsx("div",{className:"post-date",children:ge.jsxs("span",{children:[ge.jsx("i",{className:"iconfont icon-naozhong icon",style:{fontSize:22,display:"inline",verticalAlign:"middle"}}),$o(i.updateTime).format("YYYY-MM-DD")]})}),ge.jsxs("div",{className:"article_cord",children:[ge.jsxs("h3",{children:['" ',i.noteTitle,' "']}),ge.jsx("div",{style:{textAlign:"left",marginLeft:25,marginTop:8,marginRight:60,color:"rgba(0, 0, 0, 0.66)",textIndent:"2em",whiteSpace:"normal",maxHeight:"2.5em",lineHeight:"1.3em",overflow:"hidden",fontWeight:500,textOverflow:"ellipsis"},children:ge.jsx("p",{children:i.description})}),ge.jsx("div",{className:"tags",children:ge.jsx(CC,{size:[0,8],wrap:!0,children:i.noteTags.map(o=>{let a,l;return r.forEach(s=>{s.tagKey===o?(a=s.color,l=s.title):s.children&&s.children.some(u=>u.tagKey===o)&&(a=s.color,l=s.children.find(u=>u.tagKey===o).title)}),ge.jsx(o7,{color:a,style:{margin:5},children:l},o)})})})]})]},i.key))]})]})},KDt=()=>{const e=$o(new Date).format("YYYY年MM月DD日");console.log(e);const n=(()=>{const r=new Date,i=new Date(r.getFullYear(),0,1),a=(new Date(r.getFullYear()+1,0,1).getTime()-i.getTime())/(24*60*60*1e3);return((r.getTime()-i.getTime())/(24*60*60*1e3)/a*100).toFixed(1)})();return ge.jsx("div",{className:"process_container",children:ge.jsxs("div",{className:"today",children:[ge.jsx("div",{className:"process",style:{width:`${n}%`}}),ge.jsx("p",{className:"em_today",children:"😊"}),ge.jsx("p",{className:"time_today",children:e}),ge.jsx("p",{className:"say_today",children:"新的一天,今天也要加油呦!"}),ge.jsxs("span",{className:"percent_progress",children:[n,"%"]})]})})};var Qie={},wD=function(){return wD=Object.assign||function(e){for(var t,n=1,r=arguments.length;ni.endVal;i.frameVal=l?i.endVal:i.frameVal,i.frameVal=Number(i.frameVal.toFixed(i.options.decimalPlaces)),i.printValue(i.frameVal),a1?i.options.decimal+f[1]:"",i.options.useGrouping){u="";for(var h=3,d=0,p=0,g=l.length;pwindow.scrollY&&t.paused?(t.paused=!1,setTimeout(function(){return t.start()},t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>o||i>n)&&!t.paused&&t.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var n=t-this.startVal;if(Math.abs(n)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var r=this.countDown?1:-1;this.endVal=t+r*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(t){var n;if(this.el){var r=this.formattingFn(t);!((n=this.options.plugin)===null||n===void 0)&&n.render?this.options.plugin.render(this.el,r):this.el.tagName==="INPUT"?this.el.value=r:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=r:this.el.innerHTML=r}},e.prototype.ensureNumber=function(t){return typeof t=="number"&&!isNaN(t)},e.prototype.validateValue=function(t){var n=Number(t);return this.ensureNumber(n)?n:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();const YDt=Object.freeze(Object.defineProperty({__proto__:null,CountUp:XDt},Symbol.toStringTag,{value:"Module"})),ZDt=gr(YDt);Object.defineProperty(Qie,"__esModule",{value:!0});var ja=_,QDt=ZDt;function JDt(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}function Hge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function OD(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function FHe(e,t){if(e==null)return{};var n=tLt(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nLt(e,t){return rLt(e)||JDt(e,t)||iLt(e,t)||oLt()}function rLt(e){if(Array.isArray(e))return e}function iLt(e,t){if(e){if(typeof e=="string")return Wge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wge(e,t)}}function Wge(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?g.current=setTimeout($,l*1e3):$(),u==null||u({pauseResume:C,reset:x,update:S})}),C=rd(function(){y().pauseResume(),c==null||c({reset:x,start:w,update:S})}),x=rd(function(){y().el&&(g.current&&clearTimeout(g.current),y().reset(),f==null||f({pauseResume:C,start:w,update:S}))}),S=rd(function($){y().update($),h==null||h({pauseResume:C,reset:x,start:w})}),w=rd(function(){x(),b()}),O=rd(function($){o&&($&&x(),b())});return ja.useEffect(function(){m.current?a&&O(!0):(m.current=!0,O())},[a,m,O,l,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.formattingFn]),ja.useEffect(function(){return function(){x()}},[x]),{start:w,pauseResume:C,reset:x,update:S,getCountUp:y}},fLt=["className","redraw","containerProps","children","style"],pLt=function(t){var n=t.className,r=t.redraw,i=t.containerProps,o=t.children,a=t.style,l=FHe(t,fLt),s=ja.useRef(null),u=ja.useRef(!1),c=HHe(OD(OD({},l),{},{ref:s,startOnMount:typeof o!="function"||t.delay===0,enableReinitialize:!1})),f=c.start,h=c.reset,d=c.update,p=c.pauseResume,g=c.getCountUp,m=rd(function(){f()}),v=rd(function(C){t.preserveValue||h(),d(C)}),y=rd(function(){if(typeof t.children=="function"&&!(s.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. .`);return}g()});ja.useEffect(function(){y()},[y]),ja.useEffect(function(){u.current&&v(t.end)},[t.end,v]);var b=r&&t;return ja.useEffect(function(){r&&u.current&&m()},[m,r,b]),ja.useEffect(function(){!r&&u.current&&m()},[m,r,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.className,t.formattingFn]),ja.useEffect(function(){u.current=!0},[]),typeof o=="function"?o({countUpRef:s,start:f,reset:h,update:d,pauseResume:p,getCountUp:g}):ja.createElement("span",GQ({className:n,ref:s,style:a},i),typeof t.start<"u"?g().formattingFn(t.start):"")},hLt=Qie.default=pLt;Qie.useCountUp=HHe;const gLt=()=>{const e=Yl(o=>o.tags.tagCount),t=Yl(o=>o.notes.noteCount),n=Yl(o=>o.categories.categoryCount),r=[{index:1,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgba(230,240,0,0.3)"},children:"✨️"}),"文章总数"]}),value:t},{index:2,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgba(255,0,0,0.3)"},children:"❤️️"}),"分类总数"]}),value:n},{index:3,name:ge.jsxs("p",{children:[ge.jsx("span",{className:"logo2",style:{backgroundColor:"rgb(147,154,216,0.3)"},children:"🎯"}),"标签总数"]}),value:e}],i=o=>ge.jsx(hLt,{end:Number(o),separator:","});return ge.jsx(ge.Fragment,{children:ge.jsx("div",{className:"analyticsCard",children:r.map(o=>ge.jsx(mh,{className:"akCard",children:ge.jsx(PB,{gutter:16,children:ge.jsx(Bv,{span:12,children:ge.jsx(bie,{title:o.name,value:o.value,formatter:i})})})},o.index))})})};var mLt="Expected a function",qge=NaN,vLt="[object Symbol]",yLt=/^\s+|\s+$/g,bLt=/^[-+]0x[0-9a-f]+$/i,CLt=/^0b[01]+$/i,SLt=/^0o[0-7]+$/i,xLt=parseInt,_Lt=typeof mo=="object"&&mo&&mo.Object===Object&&mo,wLt=typeof self=="object"&&self&&self.Object===Object&&self,OLt=_Lt||wLt||Function("return this")(),ELt=Object.prototype,$Lt=ELt.toString,PLt=Math.max,TLt=Math.min,UV=function(){return OLt.Date.now()};function MLt(e,t,n){var r,i,o,a,l,s,u=0,c=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(mLt);t=Vge(t)||0,KQ(n)&&(c=!!n.leading,f="maxWait"in n,o=f?PLt(Vge(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function d(S){var w=r,O=i;return r=i=void 0,u=S,a=e.apply(O,w),a}function p(S){return u=S,l=setTimeout(v,t),c?d(S):a}function g(S){var w=S-s,O=S-u,$=t-w;return f?TLt($,o-O):$}function m(S){var w=S-s,O=S-u;return s===void 0||w>=t||w<0||f&&O>=o}function v(){var S=UV();if(m(S))return y(S);l=setTimeout(v,g(S))}function y(S){return l=void 0,h&&r?d(S):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function C(){return l===void 0?a:y(UV())}function x(){var S=UV(),w=m(S);if(r=arguments,i=this,s=S,w){if(l===void 0)return p(s);if(f)return l=setTimeout(v,t),d(s)}return l===void 0&&(l=setTimeout(v,t)),a}return x.cancel=b,x.flush=C,x}function KQ(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function RLt(e){return!!e&&typeof e=="object"}function ILt(e){return typeof e=="symbol"||RLt(e)&&$Lt.call(e)==vLt}function Vge(e){if(typeof e=="number")return e;if(ILt(e))return qge;if(KQ(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=KQ(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(yLt,"");var n=CLt.test(e);return n||SLt.test(e)?xLt(e.slice(2),n?2:8):bLt.test(e)?qge:+e}var NLt=MLt;const ALt=so(NLt);var XQ="http://www.w3.org/1999/xhtml";const Uge={svg:"http://www.w3.org/2000/svg",xhtml:XQ,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function QB(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Uge.hasOwnProperty(t)?{space:Uge[t],local:e}:e}function kLt(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===XQ&&t.documentElement.namespaceURI===XQ?t.createElement(e):t.createElementNS(n,e)}}function jLt(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function WHe(e){var t=QB(e);return(t.local?jLt:kLt)(t)}function DLt(){}function Jie(e){return e==null?DLt:function(){return this.querySelector(e)}}function LLt(e){typeof e!="function"&&(e=Jie(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=b&&(b=y+1);!(x=m[b])&&++b=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function ZLt(e){e||(e=QLt);function t(f,h){return f&&h?e(f.__data__,h.__data__):!f-!h}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function JLt(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function ezt(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}function tzt(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?fzt:typeof t=="function"?hzt:pzt)(e,t,n??"")):C4(this.node(),e)}function C4(e,t){return e.style.getPropertyValue(t)||GHe(e).getComputedStyle(e,null).getPropertyValue(t)}function mzt(e){return function(){delete this[e]}}function vzt(e,t){return function(){this[e]=t}}function yzt(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function bzt(e,t){return arguments.length>1?this.each((t==null?mzt:typeof t=="function"?yzt:vzt)(e,t)):this.node()[e]}function KHe(e){return e.trim().split(/^|\s+/)}function eoe(e){return e.classList||new XHe(e)}function XHe(e){this._node=e,this._names=KHe(e.getAttribute("class")||"")}XHe.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function YHe(e,t){for(var n=eoe(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function Kzt(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}zk.prototype=G$.prototype={constructor:zk,on:function(e,t){var n=this._,r=tBt(e+"",n),i,o=-1,a=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&e._call.call(null,t),e=e._next;--S4}function Yge(){sy=(PD=d7.now())+JB,S4=i9=0;try{oBt()}finally{S4=0,lBt(),sy=0}}function aBt(){var e=d7.now(),t=e-PD;t>nWe&&(JB-=t,PD=e)}function lBt(){for(var e,t=$D,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:$D=n);o9=e,YQ(r)}function YQ(e){if(!S4){i9&&(i9=clearTimeout(i9));var t=e-sy;t>24?(e<1/0&&(i9=setTimeout(Yge,e-d7.now()-JB)),oS&&(oS=clearInterval(oS))):(oS||(PD=d7.now(),oS=setInterval(aBt,nWe)),S4=1,rWe(Yge))}}function Zge(e,t,n){var r=new TD;return t=t==null?0:+t,r.restart(function(i){r.stop(),e(i+t)},t,n),r}var sBt=G$("start","end","cancel","interrupt"),cBt=[],iWe=0,Qge=1,ZQ=2,Bk=3,Jge=4,QQ=5,Fk=6;function tF(e,t,n,r,i,o){var a=e.__transition;if(!a)e.__transition={};else if(n in a)return;uBt(e,n,{name:t,index:r,group:i,on:sBt,tween:cBt,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:iWe})}function noe(e,t){var n=Id(e,t);if(n.state>iWe)throw new Error("too late; already scheduled");return n}function Ah(e,t){var n=Id(e,t);if(n.state>Bk)throw new Error("too late; already running");return n}function Id(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function uBt(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=toe(o,0,n.time);function o(u){n.state=Qge,n.timer.restart(a,n.delay,n.time),n.delay<=u&&a(u-n.delay)}function a(u){var c,f,h,d;if(n.state!==Qge)return s();for(c in r)if(d=r[c],d.name===n.name){if(d.state===Bk)return Zge(a);d.state===Jge?(d.state=Fk,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete r[c]):+cZQ&&r.state>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?EM(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?EM(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=hBt.exec(e))?new uc(t[1],t[2],t[3],1):(t=gBt.exec(e))?new uc(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=mBt.exec(e))?EM(t[1],t[2],t[3],t[4]):(t=vBt.exec(e))?EM(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=yBt.exec(e))?ame(t[1],t[2]/100,t[3]/100,1):(t=bBt.exec(e))?ame(t[1],t[2]/100,t[3]/100,t[4]):eme.hasOwnProperty(e)?rme(eme[e]):e==="transparent"?new uc(NaN,NaN,NaN,0):null}function rme(e){return new uc(e>>16&255,e>>8&255,e&255,1)}function EM(e,t,n,r){return r<=0&&(e=t=n=NaN),new uc(e,t,n,r)}function SBt(e){return e instanceof K$||(e=h7(e)),e?(e=e.rgb(),new uc(e.r,e.g,e.b,e.opacity)):new uc}function JQ(e,t,n,r){return arguments.length===1?SBt(e):new uc(e,t,n,r??1)}function uc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}roe(uc,JQ,oWe(K$,{brighter:function(e){return e=e==null?MD:Math.pow(MD,e),new uc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?f7:Math.pow(f7,e),new uc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ime,formatHex:ime,formatRgb:ome,toString:ome}));function ime(){return"#"+GV(this.r)+GV(this.g)+GV(this.b)}function ome(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function GV(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function ame(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new sf(e,t,n,r)}function aWe(e){if(e instanceof sf)return new sf(e.h,e.s,e.l,e.opacity);if(e instanceof K$||(e=h7(e)),!e)return new sf;if(e instanceof sf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new sf(a,l,s,e.opacity)}function xBt(e,t,n,r){return arguments.length===1?aWe(e):new sf(e,t,n,r??1)}function sf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}roe(sf,xBt,oWe(K$,{brighter:function(e){return e=e==null?MD:Math.pow(MD,e),new sf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?f7:Math.pow(f7,e),new sf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new uc(KV(e>=240?e-240:e+120,i,r),KV(e,i,r),KV(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function KV(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function lWe(e){return function(){return e}}function _Bt(e,t){return function(n){return e+n*t}}function wBt(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function OBt(e){return(e=+e)==1?sWe:function(t,n){return n-t?wBt(t,n,e):lWe(isNaN(t)?n:t)}}function sWe(e,t){var n=t-e;return n?_Bt(e,n):lWe(isNaN(e)?t:e)}const lme=function e(t){var n=OBt(t);function r(i,o){var a=n((i=JQ(i)).r,(o=JQ(o)).r),l=n(i.g,o.g),s=n(i.b,o.b),u=sWe(i.opacity,o.opacity);return function(c){return i.r=a(c),i.g=l(c),i.b=s(c),i.opacity=u(c),i+""}}return r.gamma=e,r}(1);function P1(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var eJ=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,XV=new RegExp(eJ.source,"g");function EBt(e){return function(){return e}}function $Bt(e){return function(t){return e(t)+""}}function PBt(e,t){var n=eJ.lastIndex=XV.lastIndex=0,r,i,o,a=-1,l=[],s=[];for(e=e+"",t=t+"";(r=eJ.exec(e))&&(i=XV.exec(t));)(o=i.index)>n&&(o=t.slice(n,o),l[a]?l[a]+=o:l[++a]=o),(r=r[0])===(i=i[0])?l[a]?l[a]+=i:l[++a]=i:(l[++a]=null,s.push({i:a,x:P1(r,i)})),n=XV.lastIndex;return n180?c+=360:c-u>180&&(u+=360),h.push({i:f.push(i(f)+"rotate(",null,r)-2,x:P1(u,c)})):c&&f.push(i(f)+"rotate("+c+r)}function l(u,c,f,h){u!==c?h.push({i:f.push(i(f)+"skewX(",null,r)-2,x:P1(u,c)}):c&&f.push(i(f)+"skewX("+c+r)}function s(u,c,f,h,d,p){if(u!==f||c!==h){var g=d.push(i(d)+"scale(",null,",",null,")");p.push({i:g-4,x:P1(u,f)},{i:g-2,x:P1(c,h)})}else(f!==1||h!==1)&&d.push(i(d)+"scale("+f+","+h+")")}return function(u,c){var f=[],h=[];return u=e(u),c=e(c),o(u.translateX,u.translateY,c.translateX,c.translateY,f,h),a(u.rotate,c.rotate,f,h),l(u.skewX,c.skewX,f,h),s(u.scaleX,u.scaleY,c.scaleX,c.scaleY,f,h),u=c=null,function(d){for(var p=-1,g=h.length,m;++p=0&&(t=t.slice(0,n)),!t||t==="start"})}function oFt(e,t,n){var r,i,o=iFt(t)?noe:Ah;return function(){var a=o(this,e),l=a.on;l!==r&&(i=(r=l).copy()).on(t,n),a.on=i}}function aFt(e,t){var n=this._id;return arguments.length<2?Id(this.node(),n).on.on(e):this.each(oFt(n,e,t))}function lFt(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function sFt(){return this.on("end.remove",lFt(this._id))}function cFt(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Jie(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;at?1:e>=t?0:NaN}function gWe(e){let t=e,n=e;e.length===1&&(t=(a,l)=>e(a)-l,n=NFt(e));function r(a,l,s,u){for(s==null&&(s=0),u==null&&(u=a.length);s>>1;n(a[c],l)<0?s=c+1:u=c}return s}function i(a,l,s,u){for(s==null&&(s=0),u==null&&(u=a.length);s>>1;n(a[c],l)>0?u=c:s=c+1}return s}function o(a,l,s,u){s==null&&(s=0),u==null&&(u=a.length);const c=r(a,l,s,u-1);return c>s&&t(a[c-1],l)>-t(a[c],l)?c-1:c}return{left:r,center:o,right:i}}function NFt(e){return(t,n)=>hWe(e(t),n)}function AFt(e){return e===null?NaN:+e}const kFt=gWe(hWe),jFt=kFt.right;gWe(AFt).center;function DFt(e,t){return te?1:t>=e?0:NaN}class cy{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let r=0;for(let i=0;i0){for(a=t[--n];n>0&&(r=a,i=t[--n],a=r+i,o=i-(a-r),!o););n>0&&(o<0&&t[n-1]<0||o>0&&t[n-1]>0)&&(i=o*2,r=a+i,i==r-a&&(a=r))}return a}}let LFt=class extends Map{constructor(t,n=FFt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(ume(this,t))}has(t){return super.has(ume(this,t))}set(t,n){return super.set(zFt(this,t),n)}delete(t){return super.delete(BFt(this,t))}};function ume({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function zFt({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function BFt({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(n),e.delete(r)),n}function FFt(e){return e!==null&&typeof e=="object"?e.valueOf():e}var rJ=Math.sqrt(50),iJ=Math.sqrt(10),oJ=Math.sqrt(2);function aJ(e,t,n){var r,i=-1,o,a,l;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((r=t0){let s=Math.round(e/l),u=Math.round(t/l);for(s*lt&&--u,a=new Array(o=u-s+1);++it&&--u,a=new Array(o=u-s+1);++i=0?(o>=rJ?10:o>=iJ?5:o>=oJ?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=rJ?10:o>=iJ?5:o>=oJ?2:1)}function HFt(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=rJ?i*=10:o>=iJ?i*=5:o>=oJ&&(i*=2),t=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function qFt(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function*VFt(e){for(const t of e)yield*t}function vWe(e){return Array.from(VFt(e))}function Pv(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r>5)*e[1]),C=null,x=u.length,S=-1,w=[],O=u.map(function(P,T){return P.text=t.call(this,P,T),P.font=n.call(this,P,T),P.style=i.call(this,P,T),P.weight=o.call(this,P,T),P.rotate=a.call(this,P,T),P.size=~~r.call(this,P,T),P.padding=l.call(this,P,T),P}).sort(function(P,T){return T.size-P.size});return h&&clearInterval(h),h=setInterval($,0),$(),p;function $(){for(var P=Date.now();Date.now()-P>1,T.y=e[1]*(d()+.5)>>1,tHt(y,T,O,S),T.hasText&&v(b,T,C)&&(w.push(T),f.call("word",p,T),C?rHt(C,T):C=[{x:T.x+T.x0,y:T.y+T.y0},{x:T.x+T.x1,y:T.y+T.y1}],T.x-=e[0]>>1,T.y-=e[1]>>1)}S>=x&&(p.stop(),f.call("end",p,w,C))}},p.stop=function(){h&&(clearInterval(h),h=null);for(const y of u)delete y.sprite;return p};function m(y){const b=y.getContext("2d",{willReadFrequently:!0});y.width=y.height=1;const C=Math.sqrt(b.getImageData(0,0,1,1).data.length>>2);return y.width=(a9<<5)/C,y.height=Hk/C,b.fillStyle=b.strokeStyle="red",{context:b,ratio:C}}function v(y,b,C){e[0],e[1];for(var x=b.x,S=b.y,w=Math.sqrt(e[0]*e[0]+e[1]*e[1]),O=s(e),$=d()<.5?1:-1,P=-$,T,R,M;(T=O(P+=$))&&(R=~~T[0],M=~~T[1],!(Math.min(Math.abs(R),Math.abs(M))>=w));)if(b.x=x+R,b.y=S+M,!(b.x+b.x0<0||b.y+b.y0<0||b.x+b.x1>e[0]||b.y+b.y1>e[1])&&(!C||iHt(b,C))&&!nHt(b,y,e[0])){for(var A=b.sprite,N=b.width>>5,j=e[0]>>5,D=b.x-(N<<4),L=D&127,B=32-L,k=b.y1-b.y0,z=(b.y+b.y0)*j+(D>>5),q,W=0;W>>L:0);z+=j}return!0}return!1}return p.timeInterval=function(y){return arguments.length?(c=y??1/0,p):c},p.words=function(y){return arguments.length?(u=y,p):u},p.size=function(y){return arguments.length?(e=[+y[0],+y[1]],p):e},p.font=function(y){return arguments.length?(n=i1(y),p):n},p.fontStyle=function(y){return arguments.length?(i=i1(y),p):i},p.fontWeight=function(y){return arguments.length?(o=i1(y),p):o},p.rotate=function(y){return arguments.length?(a=i1(y),p):a},p.text=function(y){return arguments.length?(t=i1(y),p):t},p.spiral=function(y){return arguments.length?(s=KFt[y]||y,p):s},p.fontSize=function(y){return arguments.length?(r=i1(y),p):r},p.padding=function(y){return arguments.length?(l=i1(y),p):l},p.random=function(y){return arguments.length?(d=y,p):d},p.on=function(){var y=f.on.apply(f,arguments);return y===f?p:y},p};function YFt(e){return e.text}function ZFt(){return"serif"}function dme(){return"normal"}function QFt(e){return Math.sqrt(e.value)}function JFt(){return(~~(random()*6)-3)*30}function eHt(){return 1}function tHt(e,t,n,r){if(!t.sprite){var i=e.context,o=e.ratio;i.clearRect(0,0,(a9<<5)/o,Hk/o);var a=0,l=0,s=0,u=n.length;for(--r;++r>5<<5,A=~~Math.max(Math.abs(d+p),Math.abs(d-p))}else M=M+31>>5<<5;if(A>s&&(s=A),a+M>=a9<<5&&(a=0,l+=s,s=0),l+A>=Hk)break;i.translate((a+(M>>1))/o,(l+(A>>1))/o),t.rotate&&i.rotate(t.rotate*ZV),i.fillText(t.text,R,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,R,0)),i.restore(),t.width=M,t.height=A,t.xoff=a,t.yoff=l,t.x1=M>>1,t.y1=A>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=M}for(var m=i.getImageData(0,0,(a9<<5)/o,Hk/o).data,v=[];--r>=0;)if(t=n[r],!!t.hasText){for(var y=t.width,b=y>>5,C=t.y1-t.y0,x=0;x>5),P=m[(l+O)*(a9<<5)+(a+x)<<2]?1<<31-x%32:0;v[$]|=P,S|=P}S?w=O:(t.y0++,C--,O--,l++)}t.y1=t.y0+w,t.sprite=v.slice(0,(t.y1-t.y0)*b)}}}function nHt(e,t,n){n>>=5;for(var r=e.sprite,i=e.width>>5,o=e.x-(i<<4),a=o&127,l=32-a,s=e.y1-e.y0,u=(e.y+e.y0)*n+(o>>5),c,f=0;f>>a:0))&t[u+h])return!0;u+=n}return!1}function rHt(e,t){var n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function iHt(e,t){return e.x+e.x1>t[0].x&&e.x+e.x0t[0].y&&e.y+e.y0-1}function It(Ve,Et){var Vt=this.__data__,An=gt(Vt,Ve);return An<0?Vt.push([Ve,Et]):Vt[An][1]=Et,this}dt.prototype.clear=_t,dt.prototype.delete=Ot,dt.prototype.get=Ct,dt.prototype.has=mt,dt.prototype.set=It;function nt(Ve){var Et=-1,Vt=Ve?Ve.length:0;for(this.clear();++Et-1&&Ve%1==0&&Ve-1&&Ve%1==0&&Ve<=i}function jc(Ve){var Et=typeof Ve;return!!Ve&&(Et=="object"||Et=="function")}function Q0(Ve){return!!Ve&&typeof Ve=="object"}function Iu(Ve){return Yn(Ve)?wn(Ve):Sn(Ve)}function mb(){return[]}function cW(){return!1}e.exports=Z0})(RD,RD.exports);var cHt=RD.exports;const uHt=so(cHt);var ooe={exports:{}};ooe.exports;(function(e){(function(t,n,r){function i(s){var u=this,c=l();u.next=function(){var f=2091639*u.s0+u.c*23283064365386963e-26;return u.s0=u.s1,u.s1=u.s2,u.s2=f-(u.c=f|0)},u.c=1,u.s0=c(" "),u.s1=c(" "),u.s2=c(" "),u.s0-=c(s),u.s0<0&&(u.s0+=1),u.s1-=c(s),u.s1<0&&(u.s1+=1),u.s2-=c(s),u.s2<0&&(u.s2+=1),c=null}function o(s,u){return u.c=s.c,u.s0=s.s0,u.s1=s.s1,u.s2=s.s2,u}function a(s,u){var c=new i(s),f=u&&u.state,h=c.next;return h.int32=function(){return c.next()*4294967296|0},h.double=function(){return h()+(h()*2097152|0)*11102230246251565e-32},h.quick=h,f&&(typeof f=="object"&&o(f,c),h.state=function(){return o(c,{})}),h}function l(){var s=4022871197,u=function(c){c=String(c);for(var f=0;f>>0,h-=s,h*=s,s=h>>>0,h-=s,s+=h*4294967296}return(s>>>0)*23283064365386963e-26};return u}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.alea=a})(mo,e,!1)})(ooe);var dHt=ooe.exports,aoe={exports:{}};aoe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.x=0,s.y=0,s.z=0,s.w=0,s.next=function(){var f=s.x^s.x<<11;return s.x=s.y,s.y=s.z,s.z=s.w,s.w^=s.w>>>19^f^f>>>8},l===(l|0)?s.x=l:u+=l;for(var c=0;c>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xor128=a})(mo,e,!1)})(aoe);var fHt=aoe.exports,loe={exports:{}};loe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.next=function(){var f=s.x^s.x>>>2;return s.x=s.y,s.y=s.z,s.z=s.w,s.w=s.v,(s.d=s.d+362437|0)+(s.v=s.v^s.v<<4^(f^f<<1))|0},s.x=0,s.y=0,s.z=0,s.w=0,s.v=0,l===(l|0)?s.x=l:u+=l;for(var c=0;c>>4),s.next()}function o(l,s){return s.x=l.x,s.y=l.y,s.z=l.z,s.w=l.w,s.v=l.v,s.d=l.d,s}function a(l,s){var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xorwow=a})(mo,e,!1)})(loe);var pHt=loe.exports,soe={exports:{}};soe.exports;(function(e){(function(t,n,r){function i(l){var s=this;s.next=function(){var c=s.x,f=s.i,h,d;return h=c[f],h^=h>>>7,d=h^h<<24,h=c[f+1&7],d^=h^h>>>10,h=c[f+3&7],d^=h^h>>>3,h=c[f+4&7],d^=h^h<<7,h=c[f+7&7],h=h^h<<13,d^=h^h<<9,c[f]=d,s.i=f+1&7,d};function u(c,f){var h,d=[];if(f===(f|0))d[0]=f;else for(f=""+f,h=0;h0;--h)c.next()}u(s,l)}function o(l,s){return s.x=l.x.slice(),s.i=l.i,s}function a(l,s){l==null&&(l=+new Date);var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(c.x&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xorshift7=a})(mo,e,!1)})(soe);var hHt=soe.exports,coe={exports:{}};coe.exports;(function(e){(function(t,n,r){function i(l){var s=this;s.next=function(){var c=s.w,f=s.X,h=s.i,d,p;return s.w=c=c+1640531527|0,p=f[h+34&127],d=f[h=h+1&127],p^=p<<13,d^=d<<17,p^=p>>>15,d^=d>>>12,p=f[h]=p^d,s.i=h,p+(c^c>>>16)|0};function u(c,f){var h,d,p,g,m,v=[],y=128;for(f===(f|0)?(d=f,f=null):(f=f+"\0",d=0,y=Math.max(y,f.length)),p=0,g=-32;g>>15,d^=d<<4,d^=d>>>13,g>=0&&(m=m+1640531527|0,h=v[g&127]^=d+m,p=h==0?p+1:0);for(p>=128&&(v[(f&&f.length||0)&127]=-1),p=127,g=4*128;g>0;--g)d=v[p+34&127],h=v[p=p+1&127],d^=d<<13,h^=h<<17,d^=d>>>15,h^=h>>>12,v[p]=d^h;c.w=m,c.X=v,c.i=p}u(s,l)}function o(l,s){return s.i=l.i,s.w=l.w,s.X=l.X.slice(),s}function a(l,s){l==null&&(l=+new Date);var u=new i(l),c=s&&s.state,f=function(){return(u.next()>>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(c.X&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.xor4096=a})(mo,e,!1)})(coe);var gHt=coe.exports,uoe={exports:{}};uoe.exports;(function(e){(function(t,n,r){function i(l){var s=this,u="";s.next=function(){var f=s.b,h=s.c,d=s.d,p=s.a;return f=f<<25^f>>>7^h,h=h-d|0,d=d<<24^d>>>8^p,p=p-f|0,s.b=f=f<<20^f>>>12^h,s.c=h=h-d|0,s.d=d<<16^h>>>16^p,s.a=p-f|0},s.a=0,s.b=0,s.c=-1640531527,s.d=1367130551,l===Math.floor(l)?(s.a=l/4294967296|0,s.b=l|0):u+=l;for(var c=0;c>>0)/4294967296};return f.double=function(){do var h=u.next()>>>11,d=(u.next()>>>0)/4294967296,p=(h+d)/(1<<21);while(p===0);return p},f.int32=u.next,f.quick=f,c&&(typeof c=="object"&&o(c,u),f.state=function(){return o(u,{})}),f}n&&n.exports?n.exports=a:r&&r.amd?r(function(){return a}):this.tychei=a})(mo,e,!1)})(uoe);var mHt=uoe.exports,bWe={exports:{}};const vHt={},yHt=Object.freeze(Object.defineProperty({__proto__:null,default:vHt},Symbol.toStringTag,{value:"Module"})),bHt=gr(yHt);(function(e){(function(t,n,r){var i=256,o=6,a=52,l="random",s=r.pow(i,o),u=r.pow(2,a),c=u*2,f=i-1,h;function d(C,x,S){var w=[];x=x==!0?{entropy:!0}:x||{};var O=v(m(x.entropy?[C,b(n)]:C??y(),3),w),$=new p(w),P=function(){for(var T=$.g(o),R=s,M=0;T=c;)T/=2,R/=2,M>>>=1;return(T+M)/R};return P.int32=function(){return $.g(4)|0},P.quick=function(){return $.g(4)/4294967296},P.double=P,v(b($.S),n),(x.pass||S||function(T,R,M,A){return A&&(A.S&&g(A,$),T.state=function(){return g($,{})}),M?(r[l]=T,R):T})(P,O,"global"in x?x.global:this==r,x.state)}function p(C){var x,S=C.length,w=this,O=0,$=w.i=w.j=0,P=w.S=[];for(S||(C=[S++]);O"u")return!1;var t=Ec(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function FHt(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!su(o)||!Df(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function HHt(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(s,u){return s[u]="",s},{});!su(i)||!Df(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}const xWe={name:"applyStyles",enabled:!0,phase:"write",fn:FHt,effect:HHt,requires:["computeStyles"]};function Of(e){return e.split("-")[0]}var Wv=Math.max,ID=Math.min,_4=Math.round;function lJ(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function _We(){return!/^((?!chrome|android).)*safari/i.test(lJ())}function w4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&su(e)&&(i=e.offsetWidth>0&&_4(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_4(r.height)/e.offsetHeight||1);var a=uy(e)?Ec(e):window,l=a.visualViewport,s=!_We()&&n,u=(r.left+(s&&l?l.offsetLeft:0))/i,c=(r.top+(s&&l?l.offsetTop:0))/o,f=r.width/i,h=r.height/o;return{width:f,height:h,top:c,right:u+f,bottom:c+h,left:u,x:u,y:c}}function poe(e){var t=w4(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function wWe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&foe(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ch(e){return Ec(e).getComputedStyle(e)}function WHt(e){return["table","td","th"].indexOf(Df(e))>=0}function N0(e){return((uy(e)?e.ownerDocument:e.document)||window.document).documentElement}function nF(e){return Df(e)==="html"?e:e.assignedSlot||e.parentNode||(foe(e)?e.host:null)||N0(e)}function pme(e){return!su(e)||Ch(e).position==="fixed"?null:e.offsetParent}function qHt(e){var t=/firefox/i.test(lJ()),n=/Trident/i.test(lJ());if(n&&su(e)){var r=Ch(e);if(r.position==="fixed")return null}var i=nF(e);for(foe(i)&&(i=i.host);su(i)&&["html","body"].indexOf(Df(i))<0;){var o=Ch(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Y$(e){for(var t=Ec(e),n=pme(e);n&&WHt(n)&&Ch(n).position==="static";)n=pme(n);return n&&(Df(n)==="html"||Df(n)==="body"&&Ch(n).position==="static")?t:n||qHt(e)||t}function hoe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function H9(e,t,n){return Wv(e,ID(t,n))}function VHt(e,t,n){var r=H9(e,t,n);return r>n?n:r}function OWe(){return{top:0,right:0,bottom:0,left:0}}function EWe(e){return Object.assign({},OWe(),e)}function $We(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var UHt=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,EWe(typeof t!="number"?t:$We(t,X$))};function GHt(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Of(n.placement),s=hoe(l),u=[Rs,vu].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var f=UHt(i.padding,n),h=poe(o),d=s==="y"?Ms:Rs,p=s==="y"?mu:vu,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],v=Y$(o),y=v?s==="y"?v.clientHeight||0:v.clientWidth||0:0,b=g/2-m/2,C=f[d],x=y-h[c]-f[p],S=y/2-h[c]/2+b,w=H9(C,S,x),O=s;n.modifiersData[r]=(t={},t[O]=w,t.centerOffset=w-S,t)}}function KHt(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||wWe(t.elements.popper,i)&&(t.elements.arrow=i))}const XHt={name:"arrow",enabled:!0,phase:"main",fn:GHt,effect:KHt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function O4(e){return e.split("-")[1]}var YHt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZHt(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:_4(n*i)/i||0,y:_4(r*i)/i||0}}function hme(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=a.x,d=h===void 0?0:h,p=a.y,g=p===void 0?0:p,m=typeof c=="function"?c({x:d,y:g}):{x:d,y:g};d=m.x,g=m.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Rs,C=Ms,x=window;if(u){var S=Y$(n),w="clientHeight",O="clientWidth";if(S===Ec(n)&&(S=N0(n),Ch(S).position!=="static"&&l==="absolute"&&(w="scrollHeight",O="scrollWidth")),S=S,i===Ms||(i===Rs||i===vu)&&o===g7){C=mu;var $=f&&S===x&&x.visualViewport?x.visualViewport.height:S[w];g-=$-r.height,g*=s?1:-1}if(i===Rs||(i===Ms||i===mu)&&o===g7){b=vu;var P=f&&S===x&&x.visualViewport?x.visualViewport.width:S[O];d-=P-r.width,d*=s?1:-1}}var T=Object.assign({position:l},u&&YHt),R=c===!0?ZHt({x:d,y:g},Ec(n)):{x:d,y:g};if(d=R.x,g=R.y,s){var M;return Object.assign({},T,(M={},M[C]=y?"0":"",M[b]=v?"0":"",M.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",M))}return Object.assign({},T,(t={},t[C]=y?g+"px":"",t[b]=v?d+"px":"",t.transform="",t))}function QHt(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,s=l===void 0?!0:l,u={placement:Of(t.placement),variation:O4(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,hme(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,hme(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const JHt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QHt,data:{}};var PM={passive:!0};function eWt(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,s=Ec(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,PM)}),l&&s.addEventListener("resize",n.update,PM),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,PM)}),l&&s.removeEventListener("resize",n.update,PM)}}const tWt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:eWt,data:{}};var nWt={left:"right",right:"left",bottom:"top",top:"bottom"};function Wk(e){return e.replace(/left|right|bottom|top/g,function(t){return nWt[t]})}var rWt={start:"end",end:"start"};function gme(e){return e.replace(/start|end/g,function(t){return rWt[t]})}function goe(e){var t=Ec(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function moe(e){return w4(N0(e)).left+goe(e).scrollLeft}function iWt(e,t){var n=Ec(e),r=N0(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=_We();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+moe(e),y:s}}function oWt(e){var t,n=N0(e),r=goe(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Wv(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Wv(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+moe(e),s=-r.scrollTop;return Ch(i||n).direction==="rtl"&&(l+=Wv(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function voe(e){var t=Ch(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function PWe(e){return["html","body","#document"].indexOf(Df(e))>=0?e.ownerDocument.body:su(e)&&voe(e)?e:PWe(nF(e))}function W9(e,t){var n;t===void 0&&(t=[]);var r=PWe(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Ec(r),a=i?[o].concat(o.visualViewport||[],voe(r)?r:[]):r,l=t.concat(a);return i?l:l.concat(W9(nF(a)))}function sJ(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function aWt(e,t){var n=w4(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function mme(e,t,n){return t===CWe?sJ(iWt(e,n)):uy(t)?aWt(t,n):sJ(oWt(N0(e)))}function lWt(e){var t=W9(nF(e)),n=["absolute","fixed"].indexOf(Ch(e).position)>=0,r=n&&su(e)?Y$(e):e;return uy(r)?t.filter(function(i){return uy(i)&&wWe(i,r)&&Df(i)!=="body"}):[]}function sWt(e,t,n,r){var i=t==="clippingParents"?lWt(e):[].concat(t),o=[].concat(i,[n]),a=o[0],l=o.reduce(function(s,u){var c=mme(e,u,r);return s.top=Wv(c.top,s.top),s.right=ID(c.right,s.right),s.bottom=ID(c.bottom,s.bottom),s.left=Wv(c.left,s.left),s},mme(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function TWe(e){var t=e.reference,n=e.element,r=e.placement,i=r?Of(r):null,o=r?O4(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(i){case Ms:s={x:a,y:t.y-n.height};break;case mu:s={x:a,y:t.y+t.height};break;case vu:s={x:t.x+t.width,y:l};break;case Rs:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?hoe(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case x4:s[u]=s[u]-(t[c]/2-n[c]/2);break;case g7:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function m7(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,s=l===void 0?THt:l,u=n.rootBoundary,c=u===void 0?CWe:u,f=n.elementContext,h=f===void 0?lS:f,d=n.altBoundary,p=d===void 0?!1:d,g=n.padding,m=g===void 0?0:g,v=EWe(typeof m!="number"?m:$We(m,X$)),y=h===lS?MHt:lS,b=e.rects.popper,C=e.elements[p?y:h],x=sWt(uy(C)?C:C.contextElement||N0(e.elements.popper),s,c,a),S=w4(e.elements.reference),w=TWe({reference:S,element:b,strategy:"absolute",placement:i}),O=sJ(Object.assign({},b,w)),$=h===lS?O:S,P={top:x.top-$.top+v.top,bottom:$.bottom-x.bottom+v.bottom,left:x.left-$.left+v.left,right:$.right-x.right+v.right},T=e.modifiersData.offset;if(h===lS&&T){var R=T[i];Object.keys(P).forEach(function(M){var A=[vu,mu].indexOf(M)>=0?1:-1,N=[Ms,mu].indexOf(M)>=0?"y":"x";P[M]+=R[N]*A})}return P}function cWt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?SWe:s,c=O4(r),f=c?l?fme:fme.filter(function(p){return O4(p)===c}):X$,h=f.filter(function(p){return u.indexOf(p)>=0});h.length===0&&(h=f);var d=h.reduce(function(p,g){return p[g]=m7(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[Of(g)],p},{});return Object.keys(d).sort(function(p,g){return d[p]-d[g]})}function uWt(e){if(Of(e)===doe)return[];var t=Wk(e);return[gme(e),t,gme(t)]}function dWt(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!0:a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=d===void 0?!0:d,g=n.allowedAutoPlacements,m=t.options.placement,v=Of(m),y=v===m,b=s||(y||!p?[Wk(m)]:uWt(m)),C=[m].concat(b).reduce(function(U,K){return U.concat(Of(K)===doe?cWt(t,{placement:K,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):K)},[]),x=t.rects.reference,S=t.rects.popper,w=new Map,O=!0,$=C[0],P=0;P=0,N=A?"width":"height",j=m7(t,{placement:T,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),D=A?M?vu:Rs:M?mu:Ms;x[N]>S[N]&&(D=Wk(D));var L=Wk(D),B=[];if(o&&B.push(j[R]<=0),l&&B.push(j[D]<=0,j[L]<=0),B.every(function(U){return U})){$=T,O=!1;break}w.set(T,B)}if(O)for(var k=p?3:1,z=function(K){var X=C.find(function(G){var Y=w.get(G);if(Y)return Y.slice(0,K).every(function(J){return J})});if(X)return $=X,"break"},q=k;q>0;q--){var W=z(q);if(W==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const fWt={name:"flip",enabled:!0,phase:"main",fn:dWt,requiresIfExists:["offset"],data:{_skip:!1}};function vme(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yme(e){return[Ms,vu,mu,Rs].some(function(t){return e[t]>=0})}function pWt(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=m7(t,{elementContext:"reference"}),l=m7(t,{altBoundary:!0}),s=vme(a,r),u=vme(l,i,o),c=yme(s),f=yme(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const hWt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pWt};function gWt(e,t,n){var r=Of(e),i=[Rs,Ms].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[Rs,vu].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function mWt(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=SWe.reduce(function(c,f){return c[f]=gWt(f,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const vWt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mWt};function yWt(e){var t=e.state,n=e.name;t.modifiersData[n]=TWe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bWt={name:"popperOffsets",enabled:!0,phase:"read",fn:yWt,data:{}};function CWt(e){return e==="x"?"y":"x"}function SWt(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,l=a===void 0?!1:a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,p=n.tetherOffset,g=p===void 0?0:p,m=m7(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),v=Of(t.placement),y=O4(t.placement),b=!y,C=hoe(v),x=CWt(C),S=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,$=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(S){if(o){var M,A=C==="y"?Ms:Rs,N=C==="y"?mu:vu,j=C==="y"?"height":"width",D=S[C],L=D+m[A],B=D-m[N],k=d?-O[j]/2:0,z=y===x4?w[j]:O[j],q=y===x4?-O[j]:-w[j],W=t.elements.arrow,U=d&&W?poe(W):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:OWe(),X=K[A],G=K[N],Y=H9(0,w[j],U[j]),J=b?w[j]/2-k-Y-X-P.mainAxis:z-Y-X-P.mainAxis,ee=b?-w[j]/2+k+Y+G+P.mainAxis:q+Y+G+P.mainAxis,Q=t.elements.arrow&&Y$(t.elements.arrow),te=Q?C==="y"?Q.clientTop||0:Q.clientLeft||0:0,ne=(M=T==null?void 0:T[C])!=null?M:0,re=D+J-ne-te,oe=D+ee-ne,se=H9(d?ID(L,re):L,D,d?Wv(B,oe):B);S[C]=se,R[C]=se-D}if(l){var ye,be=C==="x"?Ms:Rs,he=C==="x"?mu:vu,le=S[x],ve=x==="y"?"height":"width",ke=le+m[be],Ie=le-m[he],Oe=[Ms,Rs].indexOf(v)!==-1,Pe=(ye=T==null?void 0:T[x])!=null?ye:0,_e=Oe?ke:le-w[ve]-O[ve]-Pe+P.altAxis,ce=Oe?le+w[ve]+O[ve]-Pe-P.altAxis:Ie,Te=d&&Oe?VHt(_e,le,ce):H9(d?_e:ke,le,d?ce:Ie);S[x]=Te,R[x]=Te-le}t.modifiersData[r]=R}}const xWt={name:"preventOverflow",enabled:!0,phase:"main",fn:SWt,requiresIfExists:["offset"]};function _Wt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wWt(e){return e===Ec(e)||!su(e)?goe(e):_Wt(e)}function OWt(e){var t=e.getBoundingClientRect(),n=_4(t.width)/e.offsetWidth||1,r=_4(t.height)/e.offsetHeight||1;return n!==1||r!==1}function EWt(e,t,n){n===void 0&&(n=!1);var r=su(t),i=su(t)&&OWt(t),o=N0(t),a=w4(e,i,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((Df(t)!=="body"||voe(o))&&(l=wWt(t)),su(t)?(s=w4(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=moe(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function $Wt(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&i(s)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function PWt(e){var t=$Wt(e);return BHt.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function TWt(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function MWt(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var bme={placement:"bottom",modifiers:[],strategy:"absolute"};function Cme(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function AWe(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Sme(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function jWt(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function DWt(e){return e.split(/\s+/).filter(Boolean)}function fv(e){return[].concat(e)}function xme(e,t){e.indexOf(t)===-1&&e.push(t)}function LWt(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function zWt(e){return e.split("-")[0]}function ND(e){return[].slice.call(e)}function _me(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function q9(){return document.createElement("div")}function rF(e){return["Element","Fragment"].some(function(t){return yoe(e,t)})}function BWt(e){return yoe(e,"NodeList")}function FWt(e){return yoe(e,"MouseEvent")}function HWt(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function WWt(e){return rF(e)?[e]:BWt(e)?ND(e):Array.isArray(e)?e:ND(document.querySelectorAll(e))}function JV(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function wme(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function qWt(e){var t,n=fv(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function VWt(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,l=i.props,s=l.interactiveBorder,u=zWt(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,h=u==="top"?c.bottom.y:0,d=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,g=o.top-r+f>s,m=r-o.bottom-h>s,v=o.left-n+d>s,y=n-o.right-p>s;return g||m||v||y})}function eU(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function Ome(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var of={isTouch:!1},Eme=0;function UWt(){of.isTouch||(of.isTouch=!0,window.performance&&document.addEventListener("mousemove",kWe))}function kWe(){var e=performance.now();e-Eme<20&&(of.isTouch=!1,document.removeEventListener("mousemove",kWe)),Eme=e}function GWt(){var e=document.activeElement;if(HWt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function KWt(){document.addEventListener("touchstart",UWt,T1),window.addEventListener("blur",GWt)}var XWt=typeof window<"u"&&typeof document<"u",YWt=XWt?!!window.msCrypto:!1,ZWt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},QWt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},dc=Object.assign({appendTo:NWe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ZWt,QWt),JWt=Object.keys(dc),eqt=function(t){var n=Object.keys(t);n.forEach(function(r){dc[r]=t[r]})};function jWe(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var l;r[o]=e[o]!==void 0?e[o]:(l=dc[o])!=null?l:a}return r},{});return Object.assign({},e,n)}function tqt(e,t){var n=t?Object.keys(jWe(Object.assign({},dc,{plugins:t}))):JWt,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function $me(e,t){var n=Object.assign({},t,{content:AWe(t.content,[e])},t.ignoreAttributes?{}:tqt(e,t.plugins));return n.aria=Object.assign({},dc.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var nqt=function(){return"innerHTML"};function cJ(e,t){e[nqt()]=t}function Pme(e){var t=q9();return e===!0?t.className=RWe:(t.className=IWe,rF(e)?t.appendChild(e):cJ(t,e)),t}function Tme(e,t){rF(t.content)?(cJ(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?cJ(e,t.content):e.textContent=t.content)}function uJ(e){var t=e.firstElementChild,n=ND(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(MWe)}),arrow:n.find(function(r){return r.classList.contains(RWe)||r.classList.contains(IWe)}),backdrop:n.find(function(r){return r.classList.contains(kWt)})}}function DWe(e){var t=q9(),n=q9();n.className=AWt,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=q9();r.className=MWe,r.setAttribute("data-state","hidden"),Tme(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var l=uJ(t),s=l.box,u=l.content,c=l.arrow;a.theme?s.setAttribute("data-theme",a.theme):s.removeAttribute("data-theme"),typeof a.animation=="string"?s.setAttribute("data-animation",a.animation):s.removeAttribute("data-animation"),a.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?s.setAttribute("role",a.role):s.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Tme(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(s.removeChild(c),s.appendChild(Pme(a.arrow))):s.appendChild(Pme(a.arrow)):c&&s.removeChild(c)}return{popper:t,onUpdate:i}}DWe.$$tippy=!0;var rqt=1,TM=[],tU=[];function iqt(e,t){var n=$me(e,Object.assign({},dc,jWe(_me(t)))),r,i,o,a=!1,l=!1,s=!1,u=!1,c,f,h,d=[],p=Sme(re,n.interactiveDebounce),g,m=rqt++,v=null,y=LWt(n.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},C={id:m,reference:e,popper:q9(),popperInstance:v,props:n,state:b,plugins:y,clearDelayTimeouts:_e,setProps:ce,setContent:Te,show:Ne,hide:je,hideWithInteractivity:He,enable:Oe,disable:Pe,unmount:Be,destroy:qe};if(!n.render)return C;var x=n.render(C),S=x.popper,w=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+C.id,C.popper=S,e._tippy=C,S._tippy=C;var O=y.map(function(me){return me.fn(C)}),$=e.hasAttribute("aria-expanded");return Q(),k(),D(),L("onCreate",[C]),n.showOnCreate&&ke(),S.addEventListener("mouseenter",function(){C.props.interactive&&C.state.isVisible&&C.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){C.props.interactive&&C.props.trigger.indexOf("mouseenter")>=0&&A().addEventListener("mousemove",p)}),C;function P(){var me=C.props.touch;return Array.isArray(me)?me:[me,0]}function T(){return P()[0]==="hold"}function R(){var me;return!!((me=C.props.render)!=null&&me.$$tippy)}function M(){return g||e}function A(){var me=M().parentNode;return me?qWt(me):document}function N(){return uJ(S)}function j(me){return C.state.isMounted&&!C.state.isVisible||of.isTouch||c&&c.type==="focus"?0:QV(C.props.delay,me?0:1,dc.delay)}function D(me){me===void 0&&(me=!1),S.style.pointerEvents=C.props.interactive&&!me?"":"none",S.style.zIndex=""+C.props.zIndex}function L(me,Ee,$e){if($e===void 0&&($e=!0),O.forEach(function(Fe){Fe[me]&&Fe[me].apply(Fe,Ee)}),$e){var Le;(Le=C.props)[me].apply(Le,Ee)}}function B(){var me=C.props.aria;if(me.content){var Ee="aria-"+me.content,$e=S.id,Le=fv(C.props.triggerTarget||e);Le.forEach(function(Fe){var Ke=Fe.getAttribute(Ee);if(C.state.isVisible)Fe.setAttribute(Ee,Ke?Ke+" "+$e:$e);else{var lt=Ke&&Ke.replace($e,"").trim();lt?Fe.setAttribute(Ee,lt):Fe.removeAttribute(Ee)}})}}function k(){if(!($||!C.props.aria.expanded)){var me=fv(C.props.triggerTarget||e);me.forEach(function(Ee){C.props.interactive?Ee.setAttribute("aria-expanded",C.state.isVisible&&Ee===M()?"true":"false"):Ee.removeAttribute("aria-expanded")})}}function z(){A().removeEventListener("mousemove",p),TM=TM.filter(function(me){return me!==p})}function q(me){if(!(of.isTouch&&(s||me.type==="mousedown"))){var Ee=me.composedPath&&me.composedPath()[0]||me.target;if(!(C.props.interactive&&Ome(S,Ee))){if(fv(C.props.triggerTarget||e).some(function($e){return Ome($e,Ee)})){if(of.isTouch||C.state.isVisible&&C.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[C,me]);C.props.hideOnClick===!0&&(C.clearDelayTimeouts(),C.hide(),l=!0,setTimeout(function(){l=!1}),C.state.isMounted||X())}}}function W(){s=!0}function U(){s=!1}function K(){var me=A();me.addEventListener("mousedown",q,!0),me.addEventListener("touchend",q,T1),me.addEventListener("touchstart",U,T1),me.addEventListener("touchmove",W,T1)}function X(){var me=A();me.removeEventListener("mousedown",q,!0),me.removeEventListener("touchend",q,T1),me.removeEventListener("touchstart",U,T1),me.removeEventListener("touchmove",W,T1)}function G(me,Ee){J(me,function(){!C.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Ee()})}function Y(me,Ee){J(me,Ee)}function J(me,Ee){var $e=N().box;function Le(Fe){Fe.target===$e&&(eU($e,"remove",Le),Ee())}if(me===0)return Ee();eU($e,"remove",f),eU($e,"add",Le),f=Le}function ee(me,Ee,$e){$e===void 0&&($e=!1);var Le=fv(C.props.triggerTarget||e);Le.forEach(function(Fe){Fe.addEventListener(me,Ee,$e),d.push({node:Fe,eventType:me,handler:Ee,options:$e})})}function Q(){T()&&(ee("touchstart",ne,{passive:!0}),ee("touchend",oe,{passive:!0})),DWt(C.props.trigger).forEach(function(me){if(me!=="manual")switch(ee(me,ne),me){case"mouseenter":ee("mouseleave",oe);break;case"focus":ee(YWt?"focusout":"blur",se);break;case"focusin":ee("focusout",se);break}})}function te(){d.forEach(function(me){var Ee=me.node,$e=me.eventType,Le=me.handler,Fe=me.options;Ee.removeEventListener($e,Le,Fe)}),d=[]}function ne(me){var Ee,$e=!1;if(!(!C.state.isEnabled||ye(me)||l)){var Le=((Ee=c)==null?void 0:Ee.type)==="focus";c=me,g=me.currentTarget,k(),!C.state.isVisible&&FWt(me)&&TM.forEach(function(Fe){return Fe(me)}),me.type==="click"&&(C.props.trigger.indexOf("mouseenter")<0||a)&&C.props.hideOnClick!==!1&&C.state.isVisible?$e=!0:ke(me),me.type==="click"&&(a=!$e),$e&&!Le&&Ie(me)}}function re(me){var Ee=me.target,$e=M().contains(Ee)||S.contains(Ee);if(!(me.type==="mousemove"&&$e)){var Le=ve().concat(S).map(function(Fe){var Ke,lt=Fe._tippy,ft=(Ke=lt.popperInstance)==null?void 0:Ke.state;return ft?{popperRect:Fe.getBoundingClientRect(),popperState:ft,props:n}:null}).filter(Boolean);VWt(Le,me)&&(z(),Ie(me))}}function oe(me){var Ee=ye(me)||C.props.trigger.indexOf("click")>=0&&a;if(!Ee){if(C.props.interactive){C.hideWithInteractivity(me);return}Ie(me)}}function se(me){C.props.trigger.indexOf("focusin")<0&&me.target!==M()||C.props.interactive&&me.relatedTarget&&S.contains(me.relatedTarget)||Ie(me)}function ye(me){return of.isTouch?T()!==me.type.indexOf("touch")>=0:!1}function be(){he();var me=C.props,Ee=me.popperOptions,$e=me.placement,Le=me.offset,Fe=me.getReferenceClientRect,Ke=me.moveTransition,lt=R()?uJ(S).arrow:null,ft=Fe?{getBoundingClientRect:Fe,contextElement:Fe.contextElement||M()}:e,Ye={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(We){var Ge=We.state;if(R()){var Je=N(),bt=Je.box;["placement","reference-hidden","escaped"].forEach(function(at){at==="placement"?bt.setAttribute("data-placement",Ge.placement):Ge.attributes.popper["data-popper-"+at]?bt.setAttribute("data-"+at,""):bt.removeAttribute("data-"+at)}),Ge.attributes.popper={}}}},we=[{name:"offset",options:{offset:Le}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ke}},Ye];R()&<&&we.push({name:"arrow",options:{element:lt,padding:3}}),we.push.apply(we,(Ee==null?void 0:Ee.modifiers)||[]),C.popperInstance=NWt(ft,S,Object.assign({},Ee,{placement:$e,onFirstUpdate:h,modifiers:we}))}function he(){C.popperInstance&&(C.popperInstance.destroy(),C.popperInstance=null)}function le(){var me=C.props.appendTo,Ee,$e=M();C.props.interactive&&me===NWe||me==="parent"?Ee=$e.parentNode:Ee=AWe(me,[$e]),Ee.contains(S)||Ee.appendChild(S),C.state.isMounted=!0,be()}function ve(){return ND(S.querySelectorAll("[data-tippy-root]"))}function ke(me){C.clearDelayTimeouts(),me&&L("onTrigger",[C,me]),K();var Ee=j(!0),$e=P(),Le=$e[0],Fe=$e[1];of.isTouch&&Le==="hold"&&Fe&&(Ee=Fe),Ee?r=setTimeout(function(){C.show()},Ee):C.show()}function Ie(me){if(C.clearDelayTimeouts(),L("onUntrigger",[C,me]),!C.state.isVisible){X();return}if(!(C.props.trigger.indexOf("mouseenter")>=0&&C.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(me.type)>=0&&a)){var Ee=j(!1);Ee?i=setTimeout(function(){C.state.isVisible&&C.hide()},Ee):o=requestAnimationFrame(function(){C.hide()})}}function Oe(){C.state.isEnabled=!0}function Pe(){C.hide(),C.state.isEnabled=!1}function _e(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function ce(me){if(!C.state.isDestroyed){L("onBeforeUpdate",[C,me]),te();var Ee=C.props,$e=$me(e,Object.assign({},Ee,_me(me),{ignoreAttributes:!0}));C.props=$e,Q(),Ee.interactiveDebounce!==$e.interactiveDebounce&&(z(),p=Sme(re,$e.interactiveDebounce)),Ee.triggerTarget&&!$e.triggerTarget?fv(Ee.triggerTarget).forEach(function(Le){Le.removeAttribute("aria-expanded")}):$e.triggerTarget&&e.removeAttribute("aria-expanded"),k(),D(),w&&w(Ee,$e),C.popperInstance&&(be(),ve().forEach(function(Le){requestAnimationFrame(Le._tippy.popperInstance.forceUpdate)})),L("onAfterUpdate",[C,me])}}function Te(me){C.setProps({content:me})}function Ne(){var me=C.state.isVisible,Ee=C.state.isDestroyed,$e=!C.state.isEnabled,Le=of.isTouch&&!C.props.touch,Fe=QV(C.props.duration,0,dc.duration);if(!(me||Ee||$e||Le)&&!M().hasAttribute("disabled")&&(L("onShow",[C],!1),C.props.onShow(C)!==!1)){if(C.state.isVisible=!0,R()&&(S.style.visibility="visible"),D(),K(),C.state.isMounted||(S.style.transition="none"),R()){var Ke=N(),lt=Ke.box,ft=Ke.content;JV([lt,ft],0)}h=function(){var we;if(!(!C.state.isVisible||u)){if(u=!0,S.offsetHeight,S.style.transition=C.props.moveTransition,R()&&C.props.animation){var De=N(),We=De.box,Ge=De.content;JV([We,Ge],Fe),wme([We,Ge],"visible")}B(),k(),xme(tU,C),(we=C.popperInstance)==null||we.forceUpdate(),L("onMount",[C]),C.props.animation&&R()&&Y(Fe,function(){C.state.isShown=!0,L("onShown",[C])})}},le()}}function je(){var me=!C.state.isVisible,Ee=C.state.isDestroyed,$e=!C.state.isEnabled,Le=QV(C.props.duration,1,dc.duration);if(!(me||Ee||$e)&&(L("onHide",[C],!1),C.props.onHide(C)!==!1)){if(C.state.isVisible=!1,C.state.isShown=!1,u=!1,a=!1,R()&&(S.style.visibility="hidden"),z(),X(),D(!0),R()){var Fe=N(),Ke=Fe.box,lt=Fe.content;C.props.animation&&(JV([Ke,lt],Le),wme([Ke,lt],"hidden"))}B(),k(),C.props.animation?R()&&G(Le,C.unmount):C.unmount()}}function He(me){A().addEventListener("mousemove",p),xme(TM,p),p(me)}function Be(){C.state.isVisible&&C.hide(),C.state.isMounted&&(he(),ve().forEach(function(me){me._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),tU=tU.filter(function(me){return me!==C}),C.state.isMounted=!1,L("onHidden",[C]))}function qe(){C.state.isDestroyed||(C.clearDelayTimeouts(),C.unmount(),te(),delete e._tippy,C.state.isDestroyed=!0,L("onDestroy",[C]))}}function dy(e,t){t===void 0&&(t={});var n=dc.plugins.concat(t.plugins||[]);KWt();var r=Object.assign({},t,{plugins:n}),i=WWt(e),o=i.reduce(function(a,l){var s=l&&iqt(l,r);return s&&a.push(s),a},[]);return rF(e)?o[0]:o}dy.defaultProps=dc;dy.setDefaultProps=eqt;dy.currentInput=of;Object.assign({},xWe,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var oqt={mouseover:"mouseenter",focusin:"focus",click:"click"};function aqt(e,t){var n=[],r=[],i=!1,o=t.target,a=jWt(t,["target"]),l=Object.assign({},a,{trigger:"manual",touch:!1}),s=Object.assign({touch:dc.touch},a,{showOnCreate:!0}),u=dy(e,l),c=fv(u);function f(m){if(!(!m.target||i)){var v=m.target.closest(o);if(v){var y=v.getAttribute("data-tippy-trigger")||t.trigger||dc.trigger;if(!v._tippy&&!(m.type==="touchstart"&&typeof s.touch=="boolean")&&!(m.type!=="touchstart"&&y.indexOf(oqt[m.type])<0)){var b=dy(v,s);b&&(r=r.concat(b))}}}}function h(m,v,y,b){b===void 0&&(b=!1),m.addEventListener(v,y,b),n.push({node:m,eventType:v,handler:y,options:b})}function d(m){var v=m.reference;h(v,"touchstart",f,T1),h(v,"mouseover",f),h(v,"focusin",f),h(v,"click",f)}function p(){n.forEach(function(m){var v=m.node,y=m.eventType,b=m.handler,C=m.options;v.removeEventListener(y,b,C)}),n=[]}function g(m){var v=m.destroy,y=m.enable,b=m.disable;m.destroy=function(C){C===void 0&&(C=!0),C&&r.forEach(function(x){x.destroy()}),r=[],p(),v()},m.enable=function(){y(),r.forEach(function(C){return C.enable()}),i=!1},m.disable=function(){b(),r.forEach(function(C){return C.disable()}),i=!0},d(m)}return c.forEach(g),u}dy.setDefaultProps({render:DWe});function iF(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const Mme=Symbol("implicit");function LWe(){var e=new Map,t=[],n=[],r=Mme;function i(o){var a=o+"",l=e.get(a);if(!l){if(r!==Mme)return r;e.set(a,l=t.push(o))}return n[(l-1)%n.length]}return i.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new Map;for(const a of o){const l=a+"";e.has(l)||e.set(l,t.push(a))}return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return LWe(t,n).unknown(r)},iF.apply(i,arguments),i}function oF(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function boe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function EC(){}var fy=.7,E4=1/fy,N3="\\s*([+-]?\\d+)\\s*",v7="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ef="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",lqt=/^#([0-9a-f]{3,8})$/,sqt=new RegExp("^rgb\\("+[N3,N3,N3]+"\\)$"),cqt=new RegExp("^rgb\\("+[Ef,Ef,Ef]+"\\)$"),uqt=new RegExp("^rgba\\("+[N3,N3,N3,v7]+"\\)$"),dqt=new RegExp("^rgba\\("+[Ef,Ef,Ef,v7]+"\\)$"),fqt=new RegExp("^hsl\\("+[v7,Ef,Ef]+"\\)$"),pqt=new RegExp("^hsla\\("+[v7,Ef,Ef,v7]+"\\)$"),Rme={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};oF(EC,y7,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Ime,formatHex:Ime,formatHsl:hqt,formatRgb:Nme,toString:Nme});function Ime(){return this.rgb().formatHex()}function hqt(){return BWe(this).formatHsl()}function Nme(){return this.rgb().formatRgb()}function y7(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=lqt.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Ame(t):n===3?new Kl(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?MM(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?MM(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=sqt.exec(e))?new Kl(t[1],t[2],t[3],1):(t=cqt.exec(e))?new Kl(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=uqt.exec(e))?MM(t[1],t[2],t[3],t[4]):(t=dqt.exec(e))?MM(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=fqt.exec(e))?Dme(t[1],t[2]/100,t[3]/100,1):(t=pqt.exec(e))?Dme(t[1],t[2]/100,t[3]/100,t[4]):Rme.hasOwnProperty(e)?Ame(Rme[e]):e==="transparent"?new Kl(NaN,NaN,NaN,0):null}function Ame(e){return new Kl(e>>16&255,e>>8&255,e&255,1)}function MM(e,t,n,r){return r<=0&&(e=t=n=NaN),new Kl(e,t,n,r)}function zWe(e){return e instanceof EC||(e=y7(e)),e?(e=e.rgb(),new Kl(e.r,e.g,e.b,e.opacity)):new Kl}function b7(e,t,n,r){return arguments.length===1?zWe(e):new Kl(e,t,n,r??1)}function Kl(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}oF(Kl,b7,boe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new Kl(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new Kl(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kme,formatHex:kme,formatRgb:jme,toString:jme}));function kme(){return"#"+nU(this.r)+nU(this.g)+nU(this.b)}function jme(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function nU(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function Dme(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cf(e,t,n,r)}function BWe(e){if(e instanceof cf)return new cf(e.h,e.s,e.l,e.opacity);if(e instanceof EC||(e=y7(e)),!e)return new cf;if(e instanceof cf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new cf(a,l,s,e.opacity)}function gqt(e,t,n,r){return arguments.length===1?BWe(e):new cf(e,t,n,r??1)}function cf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oF(cf,gqt,boe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new cf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new cf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Kl(rU(e>=240?e-240:e+120,i,r),rU(e,i,r),rU(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function rU(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const mqt=Math.PI/180,vqt=180/Math.PI;var FWe=-.14861,Coe=1.78277,Soe=-.29227,aF=-.90649,C7=1.97294,Lme=C7*aF,zme=C7*Coe,Bme=Coe*Soe-aF*FWe;function yqt(e){if(e instanceof qv)return new qv(e.h,e.s,e.l,e.opacity);e instanceof Kl||(e=zWe(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Bme*r+Lme*t-zme*n)/(Bme+Lme-zme),o=r-i,a=(C7*(n-i)-Soe*o)/aF,l=Math.sqrt(a*a+o*o)/(C7*i*(1-i)),s=l?Math.atan2(a,o)*vqt-120:NaN;return new qv(s<0?s+360:s,l,i,e.opacity)}function Lf(e,t,n,r){return arguments.length===1?yqt(e):new qv(e,t,n,r??1)}function qv(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}oF(qv,Lf,boe(EC,{brighter:function(e){return e=e==null?E4:Math.pow(E4,e),new qv(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?fy:Math.pow(fy,e),new qv(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*mqt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Kl(255*(t+n*(FWe*r+Coe*i)),255*(t+n*(Soe*r+aF*i)),255*(t+n*(C7*r)),this.opacity)}}));function bqt(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}function Cqt(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,l=r()=>e;function HWe(e,t){return function(n){return e+n*t}}function Sqt(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function xqt(e,t){var n=t-e;return n?HWe(e,n>180||n<-180?n-360*Math.round(n/360):n):lF(isNaN(e)?t:e)}function _qt(e){return(e=+e)==1?A3:function(t,n){return n-t?Sqt(t,n,e):lF(isNaN(t)?n:t)}}function A3(e,t){var n=t-e;return n?HWe(e,n):lF(isNaN(e)?t:e)}const Fme=function e(t){var n=_qt(t);function r(i,o){var a=n((i=b7(i)).r,(o=b7(o)).r),l=n(i.g,o.g),s=n(i.b,o.b),u=A3(i.opacity,o.opacity);return function(c){return i.r=a(c),i.g=l(c),i.b=s(c),i.opacity=u(c),i+""}}return r.gamma=e,r}(1);function wqt(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),o=new Array(n),a,l;for(a=0;an&&(o=t.slice(n,o),l[a]?l[a]+=o:l[++a]=o),(r=r[0])===(i=i[0])?l[a]?l[a]+=i:l[++a]=i:(l[++a]=null,s.push({i:a,x:AD(r,i)})),n=iU.lastIndex;return nt&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Lqt(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?zqt:Lqt,s=u=null,f}function f(h){return h==null||isNaN(h=+h)?o:(s||(s=l(e.map(r),t,n)))(r(a(h)))}return f.invert=function(h){return a(i((u||(u=l(t,e.map(r),AD)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,jqt),c()):e.slice()},f.range=function(h){return arguments.length?(t=Array.from(h),c()):t.slice()},f.rangeRound=function(h){return t=Array.from(h),n=Aqt,c()},f.clamp=function(h){return arguments.length?(a=h?!0:vf,c()):a!==vf},f.interpolate=function(h){return arguments.length?(n=h,c()):n},f.unknown=function(h){return arguments.length?(o=h,f):o},function(h,d){return r=h,i=d,c()}}function Bqt(){return Ooe()(vf,vf)}function Fqt(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function kD(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function $4(e){return e=kD(Math.abs(e)),e?e[1]:NaN}function Hqt(e,t){return function(n,r){for(var i=n.length,o=[],a=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),o.push(n.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[a=(a+1)%e.length];return o.reverse().join(t)}}function Wqt(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var qqt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jD(e){if(!(t=qqt.exec(e)))throw new Error("invalid format: "+e);var t;return new Eoe({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}jD.prototype=Eoe.prototype;function Eoe(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Eoe.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Vqt(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var qWe;function Uqt(e,t){var n=kD(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(qWe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+kD(e,Math.max(0,t+o-1))[0]}function Wme(e,t){var n=kD(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const qme={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Fqt,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Wme(e*100,t),r:Wme,s:Uqt,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Vme(e){return e}var Ume=Array.prototype.map,Gme=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Gqt(e){var t=e.grouping===void 0||e.thousands===void 0?Vme:Hqt(Ume.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Vme:Wqt(Ume.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function u(f){f=jD(f);var h=f.fill,d=f.align,p=f.sign,g=f.symbol,m=f.zero,v=f.width,y=f.comma,b=f.precision,C=f.trim,x=f.type;x==="n"?(y=!0,x="g"):qme[x]||(b===void 0&&(b=12),C=!0,x="g"),(m||h==="0"&&d==="=")&&(m=!0,h="0",d="=");var S=g==="$"?n:g==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=g==="$"?r:/[%p]/.test(x)?a:"",O=qme[x],$=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function P(T){var R=S,M=w,A,N,j;if(x==="c")M=O(T)+M,T="";else{T=+T;var D=T<0||1/T<0;if(T=isNaN(T)?s:O(Math.abs(T),b),C&&(T=Vqt(T)),D&&+T==0&&p!=="+"&&(D=!1),R=(D?p==="("?p:l:p==="-"||p==="("?"":p)+R,M=(x==="s"?Gme[8+qWe/3]:"")+M+(D&&p==="("?")":""),$){for(A=-1,N=T.length;++Aj||j>57){M=(j===46?i+T.slice(A+1):T.slice(A))+M,T=T.slice(0,A);break}}}y&&!m&&(T=t(T,1/0));var L=R.length+T.length+M.length,B=L>1)+R+T+M+B.slice(L);break;default:T=B+R+T+M;break}return o(T)}return P.toString=function(){return f+""},P}function c(f,h){var d=u((f=jD(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor($4(h)/3)))*3,g=Math.pow(10,-p),m=Gme[8+p/3];return function(v){return d(g*v)+m}}return{format:u,formatPrefix:c}}var RM,$oe,VWe;Kqt({thousands:",",grouping:[3],currency:["$",""]});function Kqt(e){return RM=Gqt(e),$oe=RM.format,VWe=RM.formatPrefix,RM}function Xqt(e){return Math.max(0,-$4(Math.abs(e)))}function Yqt(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor($4(t)/3)))*3-$4(Math.abs(e)))}function Zqt(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,$4(t)-$4(e))+1}function Qqt(e,t,n,r){var i=HFt(e,t,n),o;switch(r=jD(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Yqt(i,a))&&(r.precision=o),VWe(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Zqt(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Xqt(i))&&(r.precision=o-(r.type==="%")*2);break}}return $oe(r)}function UWe(e){var t=e.domain;return e.ticks=function(n){var r=t();return aJ(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return Qqt(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,a=r[i],l=r[o],s,u,c=10;for(l0;){if(u=mWe(a,l,n),u===s)return r[i]=a,r[o]=l,t(r);if(u>0)a=Math.floor(a/u)*u,l=Math.ceil(l/u)*u;else if(u<0)a=Math.ceil(a*u)/u,l=Math.floor(l*u)/u;else break;s=u}return e},e}function GWe(){var e=Bqt();return e.copy=function(){return woe(e,GWe())},iF.apply(e,arguments),UWe(e)}function Jqt(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],a;return o0){for(;h<=d;++h)for(g=1,p=o(h);gc)break;y.push(m)}}else for(;h<=d;++h)for(g=r-1,p=o(h);g>=1;--g)if(m=p*g,!(mc)break;y.push(m)}y.length*2>5<<5,f=~~Math.max(Math.abs(g+m),Math.abs(g-m))}else c=c+31>>5<<5;if(f>s&&(s=f),a+c>=2048&&(a=0,l+=s,s=0),l+f>=2048)break;i.translate((a+(c>>1))/o,(l+(f>>1))/o),t.rotate&&i.rotate(t.rotate*oU),i.fillText(t.text,0,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,0,0)),i.restore(),t.width=c,t.height=f,t.xoff=a,t.yoff=l,t.x1=c>>1,t.y1=f>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=c}for(var y=i.getImageData(0,0,2048/o,2048/o).data,b=[];--r>=0;)if((t=n[r]).hasText){for(var C=(c=t.width)>>5,x=(f=t.y1-t.y0,0);x>5)]|=$,S|=$}S?w=O:(t.y0++,f--,O--,l++)}t.y1=t.y0+w,t.sprite=b.slice(0,(t.y1-t.y0)*C)}}}function yVt(e,t,n){for(var r,i=e.sprite,o=e.width>>5,a=e.x-(o<<4),l=127&a,s=32-l,u=e.y1-e.y0,c=(e.y+e.y0)*(n>>=5)+(a>>5),f=0;f>>l:0))&t[c+h])return!0;c+=n}return!1}function bVt(e,t){var n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function YWe(e){var t=e[0]/e[1];return function(n){return[t*(n*=.1)*Math.cos(n),n*Math.sin(n)]}}function CVt(){return document.createElement("canvas")}function o1(e){return typeof e=="function"?e:function(){return e}}var SVt={archimedean:YWe,rectangular:function(e){var t=4*e[0]/e[1],n=0,r=0;return function(i){var o=i<0?-1:1;switch(Math.sqrt(1+4*o*i)-o&3){case 0:n+=t;break;case 1:r+=4;break;case 2:n-=t;break;default:r-=4}return[n,r]}}};function Jme(e,t){return e[Math.floor(t()*e.length)]}function eve(e){return e.size+"px"}function aU(e){return e.text}function tve(e){return"translate("+e.x+", "+e.y+")"+(typeof e.rotate=="number"?"rotate("+e.rotate+")":"")}function xVt(e){var t,n=e.callbacks,r=e.maxWords,i=e.options,o=e.selection,a=e.size,l=i.deterministic,s=i.enableOptimizations,u=i.fontFamily,c=i.fontStyle,f=i.fontSizes,h=i.fontWeight,d=i.padding,p=i.randomSeed,g=i.rotations,m=i.rotationAngles,v=i.spiral,y=i.scale,b=e.words.concat().sort(function(x,S){return DFt(x.value,S.value)}).slice(0,r),C=PHt(l?p||"deterministic":null);(t=s?function(){var x=[256,256],S=fVt,w=pVt,O=hVt,$=Qme,P=Qme,T=gVt,R=mVt,M=YWe,A=[],N=1/0,j=G$("word","end"),D=Math.random,L={},B=CVt,k=!1;function z(q,W,U){for(var K,X,G,Y,J,ee=W.x,Q=W.y,te=Math.sqrt(x[0]*x[0]+x[1]*x[1]),ne=M(x),re=D()<.5?1:-1,oe=-re;(K=ne(oe+=re))&&(X=~~K[0],G=~~K[1],!(Math.min(Math.abs(X),Math.abs(G))>=te));)if(W.x=ee+X,W.y=Q+G,!(W.x+W.x0<0||W.y+W.y0<0||W.x+W.x1>x[0]||W.y+W.y1>x[1]||U&&yVt(W,q,x[0])||U&&!((Y=W).x+Y.x1>(J=U)[0].x&&Y.x+Y.x0J[0].y&&Y.y+Y.y0>5,he=x[0]>>5,le=W.x-(be<<4),ve=127&le,ke=32-ve,Ie=W.y1-W.y0,Oe=(W.y+W.y0)*he+(le>>5),Pe=0;Pe>>ve:0);Oe+=he}return delete W.sprite,!0}return!1}return L.canvas=function(q){return arguments.length?(B=o1(q),L):B},L.start=function(){var q=function(G){G.width=G.height=1;var Y=Math.sqrt(G.getContext("2d").getImageData(0,0,1,1).data.length>>2);G.width=2048/Y,G.height=2048/Y;var J=G.getContext("2d");return J.fillStyle=J.strokeStyle="red",J.textAlign="center",{context:J,ratio:Y}}(B()),W=new Uint32Array((x[0]>>5)*x[1]),U=null,K=[],X=A.map(function(G,Y){return G.text=S.call(this,G,Y),G.font=w.call(this,G,Y),G.style=$.call(this,G,Y),G.weight=P.call(this,G,Y),G.rotate=T.call(this,G,Y),G.size=~~O.call(this,G,Y),G.padding=R.call(this,G,Y),G}).sort(function(G,Y){return Y.size-G.size});return setTimeout(function(){return function G(Y){var J=50*Y,ee=Math.min(50*(Y+1),A.length);(function(Q,te){for(var ne=Q;ne>1,re.y=x[1]*(D()+.5)>>1,vVt(q,re,X,ne),re.hasText&&z(W,re,U)&&(K.push(re),j.call("word",L,re),U?bVt(U,re):U=[{x:re.x+re.x0,y:re.y+re.y0},{x:re.x+re.x1,y:re.y+re.y1}],re.x-=x[0]>>1,re.y-=x[1]>>1)}})(J,ee),k||(ee=0||(C[y]=m[y]);return C}(e,["callbacks","maxWords","minSize","options","size","words"]),u=V9({},ZWe,t),c=V9({},QWe,o),f=function(m,v,y){var b=_.useRef(),C=_.useState(v),x=C[0],S=C[1],w=_.useState(null),O=w[0],$=w[1];return _.useEffect(function(){var P=b.current,T=Kge(P).append("svg").style("display","block");typeof y=="object"&&Object.keys(y).forEach(function(D){T=T.attr(D,y[D])});var R=T.append("g");function M(D,L){T.attr("height",L).attr("width",D),R.attr("transform","translate("+D/2+", "+L/2+")"),S([D,L])}$(R);var A=0,N=0;v===void 0?(A=P.parentElement.offsetWidth,N=P.parentElement.offsetHeight):(A=v[0],N=v[1]),M(A=Math.max(A,m[0]),N=Math.max(N,m[1]));var j=new One(function(D){if(D&&D.length!==0&&v===void 0){var L=D[0].contentRect;M(L.width,L.height)}});return j.observe(P),function(){j.unobserve(P),Kge(P).selectAll("*").remove()}},[v,m,y]),[b,O,x]}(i,a,o.svgAttributes),h=f[0],d=f[1],p=f[2],g=_.useRef(ALt(xVt,100));return _.useEffect(function(){d&&g.current({callbacks:u,maxWords:r,options:c,selection:d,size:p,words:l})},[r,u,c,d,p,l]),Se.createElement("div",V9({ref:h,style:{height:"100%",width:"100%"}},s))}JWe.defaultProps={callbacks:ZWe,maxWords:100,minSize:[300,300],options:QWe};const _Vt=()=>{const e=[{text:"前端",value:50},{text:"后端",value:22},{text:"HTML",value:18},{text:"CSS",value:16},{text:"JavaScript",value:20},{text:"API",value:15},{text:"数据库",value:21},{text:"服务器",value:19},{text:"框架",value:17},{text:"算法",value:23},{text:"代码",value:24},{text:"调试",value:14},{text:"响应式",value:16},{text:"Git",value:18},{text:"代码库",value:15},{text:"部署",value:20},{text:"编程",value:22},{text:"服务器less",value:19},{text:"云计算",value:21}];return ge.jsx("div",{className:"wordCloud",children:ge.jsx(JWe,{words:e})})};function pJ(){return pJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&(n.strPos=n.currentElContent.length-1,n.strings.unshift(n.currentElContent)),n.sequence=[],n.strings)n.sequence[s]=s;n.arrayPos=0,n.stopNum=0,n.loop=n.options.loop,n.loopCount=n.options.loopCount,n.curLoop=0,n.shuffle=n.options.shuffle,n.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},n.typingComplete=!1,n.autoInsertCss=n.options.autoInsertCss,n.autoInsertCss&&(this.appendCursorAnimationCss(n),this.appendFadeOutAnimationCss(n))},t.getCurrentElContent=function(n){return n.attr?n.el.getAttribute(n.attr):n.isInput?n.el.value:n.contentType==="html"?n.el.innerHTML:n.el.textContent},t.appendCursorAnimationCss=function(n){var r="data-typed-js-cursor-css";if(n.showCursor&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML=` .typed-cursor{ opacity: 1; } @@ -528,16 +528,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho -webkit-animation: 0; animation: 0; } - `,document.body.appendChild(i)}},e}()),tve=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(n,r,i){if(i.contentType!=="html")return r;var o=n.substring(r).charAt(0);if(o==="<"||o==="&"){var a;for(a=o==="<"?">":";";n.substring(r+1).charAt(0)!==a&&!(1+ ++r>n.length););r++}return r},t.backSpaceHtmlChars=function(n,r,i){if(i.contentType!=="html")return r;var o=n.substring(r).charAt(0);if(o===">"||o===";"){var a;for(a=o===">"?"<":"&";n.substring(r-1).charAt(0)!==a&&!(--r<0););r--}return r},e}()),$Vt=function(){function e(n,r){EVt.load(this,r,n),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(n){n===void 0&&(n=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,n&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.begin=function(){var n=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){n.strPos===0?n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos):n.backspace(n.strings[n.sequence[n.arrayPos]],n.strPos)},this.startDelay)},t.typewrite=function(n,r){var i=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),a=1;this.pause.status!==!0?this.timeout=setTimeout(function(){r=tve.typeHtmlChars(n,r,i);var l=0,s=n.substring(r);if(s.charAt(0)==="^"&&/^\^\d+/.test(s)){var u=1;u+=(s=/\d+/.exec(s)[0]).length,l=parseInt(s),i.temporaryPause=!0,i.options.onTypingPaused(i.arrayPos,i),n=n.substring(0,r)+n.substring(r+u),i.toggleBlinking(!0)}if(s.charAt(0)==="`"){for(;n.substring(r+a).charAt(0)!=="`"&&(a++,!(r+a>n.length)););var c=n.substring(0,r),f=n.substring(c.length+1,r+a),h=n.substring(r+a+1);n=c+f+h,a--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),r>=n.length?i.doneTyping(n,r):i.keepTyping(n,r,a),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},l)},o):this.setPauseStatus(n,r,!0)},t.keepTyping=function(n,r,i){r===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=n.substring(0,r+=i);this.replaceText(o),this.typewrite(n,r)},t.doneTyping=function(n,r){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(n,r)},this.backDelay))},t.backspace=function(n,r){var i=this;if(this.pause.status!==!0){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){r=tve.backSpaceHtmlChars(n,r,i);var a=n.substring(0,r);if(i.replaceText(a),i.smartBackspace){var l=i.strings[i.arrayPos+1];i.stopNum=l&&a===l.substring(0,r)?r:0}r>i.stopNum?(r--,i.backspace(n,r)):r<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],r))},o)}else this.setPauseStatus(n,r,!1)},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(n,r,i){this.pause.typewrite=i,this.pause.curString=n,this.pause.curStrPos=r},t.toggleBlinking=function(n){this.cursor&&(this.pause.status||this.cursorBlinking!==n&&(this.cursorBlinking=n,n?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(n){return Math.round(Math.random()*n/2)+n},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var n=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){n.arrayPos++,n.replaceText(""),n.strings.length>n.arrayPos?n.typewrite(n.strings[n.sequence[n.arrayPos]],0):(n.typewrite(n.strings[0],0),n.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(n){this.attr?this.el.setAttribute(this.attr,n):this.isInput?this.el.value=n:this.contentType==="html"?this.el.innerHTML=n:this.el.textContent=n},t.bindFocusEvents=function(){var n=this;this.isInput&&(this.el.addEventListener("focus",function(r){n.stop()}),this.el.addEventListener("blur",function(r){n.el.value&&n.el.value.length!==0||n.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}();const PVt=()=>{const[e,t]=_.useState(""),n=_.useRef(null),{token:r}=kFe.useToken(),i=Yl(u=>u.user.avatar),o=(u,c)=>{console.log(u.format("YYYY-MM-DD"),c)},a=u=>{const c=u.toDate();return c&&c.getTime()!==new Date().getTime()},l={width:"100%",height:"50%",border:"none",borderRadius:r.borderRadiusLG,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"};_.useEffect(()=>{(async()=>{const h=await Vo.get("https://api.xygeng.cn/one");t(h.data.data.content)})();const c={strings:['"遇事不决,
 可问春风“','"春风不语,
 即随本心“'],typeSpeed:50,backSpeed:50,showCursor:!1,cursorChar:"|",contentType:"html"},f=new $Vt(n.current,c);return()=>{f.destroy()}},[]);const s=JSON.parse(_.useContext(XB));return ge.jsxs("div",{className:"home",children:[ge.jsxs("div",{className:"left",style:{height:"100%",width:"25%",display:"flex",flexDirection:"column"},children:[ge.jsxs("div",{className:"about_logo",children:[ge.jsxs("div",{className:"about_me",children:[ge.jsx("img",{src:i,alt:"",style:{width:75,height:75,borderRadius:"50%",border:"2px solid #b7b7b7"}}),ge.jsx("div",{ref:n,className:"typed"})]}),ge.jsxs(CC,{wrap:!0,style:{marginTop:20},className:"p_hidden",children:[ge.jsx(B9,{type:"circle",percent:70,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"CPU"})}),ge.jsx(B9,{type:"circle",percent:50,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"内存"})}),ge.jsx(B9,{type:"circle",percent:70,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"磁盘"})})]})]}),ge.jsx(mLt,{}),ge.jsx("div",{style:{display:"flex",justifyContent:"center",height:"22%",alignItems:"center",flexDirection:"column"},children:ge.jsx(wVt,{})})]}),ge.jsx("div",{className:"center",style:{height:"100%",width:"60%",paddingRight:30},children:ge.jsx(KDt,{isDark:s})}),ge.jsxs("div",{className:"right",children:[ge.jsx(mh,{size:"small",title:ge.jsxs("div",{className:"custom-card-header",children:[ge.jsx("span",{className:"dot"}),ge.jsx("span",{className:"dot"}),ge.jsx("span",{className:"dot"}),"每日箴言"]}),style:{minWidth:350,height:"30%",margin:0},children:ge.jsxs("div",{className:"oneSay",children:[ge.jsx("span",{className:"stick",children:"🎯"}),ge.jsx("p",{className:"onesay_content",children:e})]})}),ge.jsx(Td,{locale:Yie,children:ge.jsxs("div",{style:l,children:[ge.jsx(XDt,{}),ge.jsx(xSt,{fullscreen:!1,onPanelChange:o,disabledDate:a,style:{height:"85%"}})]})}),ge.jsxs(mh,{className:"cardInfo",style:{margin:0},children:[ge.jsx("h3",{style:{marginLeft:10,marginBottom:10,marginTop:5},children:"开发进度"}),ge.jsx(MPt,{direction:"vertical",current:3,items:[{title:"登录逻辑和后台页面UI"},{title:"静态数据完成后台功能逻辑"},{title:"后端接口开发"}]})]})]})]})};var TVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const MVt=TVt;var RVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:MVt}))};const IVt=_.forwardRef(RVt);var NVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"};const AVt=NVt;var kVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:AVt}))};const jVt=_.forwardRef(kVt);var DVt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"};const LVt=DVt;var zVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:LVt}))};const BVt=_.forwardRef(zVt);var FVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"outlined"};const HVt=FVt;var WVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:HVt}))};const qVt=_.forwardRef(WVt);var VVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const UVt=VVt;var GVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:UVt}))};const KVt=_.forwardRef(GVt);function lS(e,t,n,r,i){return{key:t,icon:n,children:r,label:e,to:i}}const XVt=[lS("导航","sub2",ge.jsx(IVt,{}),[lS("全部文章","1","",void 0," "),lS("编辑文章","2","",void 0,"newnote"),lS("全部分类","3","",void 0,"allcategorize"),lS("全部标签","4","",void 0,"alltags")])],YVt=()=>{const e=My(),[t,n]=_.useState(""),r=JSON.parse(_.useContext(XB));_.useEffect(()=>{n(location.hash)},[]);const i=o=>{e(o.item.props.to)};return ge.jsxs(ge.Fragment,{children:[ge.jsx(Td,{theme:{components:{Menu:{itemSelectedColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",itemSelectedBg:r?"rgba(0,0,0,0.58)":"#e6f4ff"},Breadcrumb:{itemColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",lastItemColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",linkColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",separatorColor:r?"rgba(243,243,243,0.45)":"rgba(0,0,0,0.45)"}}},children:ge.jsxs("div",{className:"header",children:[ge.jsx(Mre,{style:{width:125},mode:"vertical",items:XVt,className:"twoMenu",onClick:i,defaultSelectedKeys:["1"],theme:"light"}),ge.jsxs(sM,{style:{marginLeft:10},children:[ge.jsx(sM.Item,{children:ge.jsx(Zfe,{to:"/dashboard",children:ge.jsx(jVt,{})})}),ge.jsx(sM.Item,{children:ge.jsxs(Zfe,{to:"/dashboard/notes",children:[ge.jsx(KVt,{}),ge.jsx("span",{children:"笔记"})]})}),ge.jsx(sM.Item,{children:t==="#/dashboard/notes"||t==="#/dashboard/notes/"?"全部文章":t==="#/dashboard/notes/newnote"?"编辑文章":t==="#/dashboard/notes/allcategorize"?"全部分类":t==="#/dashboard/notes/alltags"?"全部标签":"未知页面"})]})]})}),ge.jsx(oAe,{})]})};var JWe={},sS={};const $oe=cr(wft);var RM={},aU={exports:{}},lU={exports:{}},sU={exports:{}},cU={exports:{}},nve;function ll(){return nve||(nve=1,function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(cU)),cU.exports}var uU={exports:{}},rve;function ZVt(){return rve||(rve=1,function(e){var t=ll().default;function n(r,i){if(t(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(uU)),uU.exports}var ive;function eqe(){return ive||(ive=1,function(e){var t=ll().default,n=ZVt();function r(i){var o=n(i,"string");return t(o)=="symbol"?o:String(o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(sU)),sU.exports}var ove;function lF(){return ove||(ove=1,function(e){var t=eqe();function n(r,i,o){return i=t(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(lU)),lU.exports}var ave;function kh(){return ave||(ave=1,function(e){var t=lF();function n(i,o){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(i);o&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),a.push.apply(a,l)}return a}function r(i){for(var o=1;on.length)&&(r=n.length);for(var i=0,o=new Array(r);i1&&arguments[1]!==void 0?arguments[1]:1;n+=1;var u=n;function c(f){if(f===0)i(u),l();else{var h=e(function(){c(f-1)});r.set(u,h)}}return c(s),u};return o.cancel=function(a){var l=r.get(a);return i(a),t(l)},uS.default=o,uS}var gve;function Toe(){if(gve)return cS;gve=1;var e=ze;Object.defineProperty(cS,"__esModule",{value:!0}),cS.default=void 0;var t=e(qr()),n=e(Gy());function r(i){let o;const a=s=>()=>{o=null,i.apply(void 0,(0,t.default)(s))},l=function(){if(o==null){for(var s=arguments.length,u=new Array(s),c=0;c{n.default.cancel(o),o=null},l}return cS.default=r,cS}var vU={};const Xt=cr(Upt);var yU={},mve;function Moe(){return mve||(mve=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});var t=_,n=(0,t.createContext)({}),r=n}(yU)),yU}var IM={},bU={exports:{}},vve;function Y$(){return vve||(vve=1,function(e){var t=ll().default;function n(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(n=function(s){return s?a:o})(i)}function r(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||t(i)!="object"&&typeof i!="function")return{default:i};var a=n(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(bU)),bU.exports}var yve;function Roe(){if(yve)return IM;yve=1;var e=Y$().default;Object.defineProperty(IM,"__esModule",{value:!0}),IM.default=n;var t=e(_);function n(r,i,o){var a=t.useRef({});return(!("value"in a.current)||o(a.current.condition,i))&&(a.current.value=r(),a.current.condition=i),a.current.value}return IM}var dS={},CU={exports:{}},SU={exports:{}},bve;function rqe(){return bve||(bve=1,function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(SU)),SU.exports}var xU={exports:{}},Cve;function iqe(){return Cve||(Cve=1,function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(xU)),xU.exports}var Sve;function eUt(){return Sve||(Sve=1,function(e){var t=rqe(),n=nqe(),r=Poe(),i=iqe();function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}(CU)),CU.exports}var NM={},xve;function tUt(){if(xve)return NM;xve=1,Object.defineProperty(NM,"__esModule",{value:!0}),NM.default=e;function e(t,n){for(var r=t,i=0;i3&&arguments[3]!==void 0?arguments[3]:!1;return d.length&&g&&p===void 0&&!(0,o.default)(h,d.slice(0,-1))?h:a(h,d,p,g)}function s(h){return(0,t.default)(h)==="object"&&h!==null&&Object.getPrototypeOf(h)===Object.prototype}function u(h){return Array.isArray(h)?[]:{}}var c=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function f(){for(var h=arguments.length,d=new Array(h),p=0;p{const l=()=>{};return l.deprecated=i,l},Lu.default=a,Lu}var fS={},Eve;function oqe(){if(Eve)return fS;Eve=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.default=void 0;var e=_;return fS.default=(0,e.createContext)(void 0),fS}var _U={},pS={},hS={},gS={},$ve;function aqe(){if($ve)return gS;$ve=1,Object.defineProperty(gS,"__esModule",{value:!0}),gS.default=void 0;var e={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 gS.default=e,gS}var mS={},vS={},yS={},Pve;function rUt(){if(Pve)return yS;Pve=1,Object.defineProperty(yS,"__esModule",{value:!0}),yS.default=void 0;var e={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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 yS.default=e,yS}var bS={},Tve;function lqe(){if(Tve)return bS;Tve=1,Object.defineProperty(bS,"__esModule",{value:!0}),bS.default=void 0;const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return bS.default=e,bS}var Mve;function sF(){if(Mve)return vS;Mve=1;var e=ze;Object.defineProperty(vS,"__esModule",{value:!0}),vS.default=void 0;var t=e(rUt()),n=e(lqe());const r={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"]},t.default),timePickerLocale:Object.assign({},n.default)};return vS.default=r,vS}var Rve;function sqe(){if(Rve)return mS;Rve=1;var e=ze;Object.defineProperty(mS,"__esModule",{value:!0}),mS.default=void 0;var t=e(sF());return mS.default=t.default,mS}var Ive;function _u(){if(Ive)return hS;Ive=1;var e=ze;Object.defineProperty(hS,"__esModule",{value:!0}),hS.default=void 0;var t=e(aqe()),n=e(sqe()),r=e(sF()),i=e(lqe());const o="${label} is not a valid ${type}",a={locale:"en",Pagination:t.default,DatePicker:r.default,TimePicker:i.default,Calendar:n.default,global:{placeholder:"Please select"},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",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"},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"}};return hS.default=a,hS}var Nve;function Ioe(){if(Nve)return pS;Nve=1;var e=ze;Object.defineProperty(pS,"__esModule",{value:!0}),pS.changeConfirmLocale=o,pS.getConfirmLocale=a;var t=e(_u());let n=Object.assign({},t.default.Modal),r=[];const i=()=>r.reduce((l,s)=>Object.assign(Object.assign({},l),s),t.default.Modal);function o(l){if(l){const s=Object.assign({},l);return r.push(s),n=i(),()=>{r=r.filter(u=>u!==s),n=i()}}n=Object.assign({},t.default.Modal)}function a(){return n}return pS}var CS={},Ave;function Noe(){if(Ave)return CS;Ave=1,Object.defineProperty(CS,"__esModule",{value:!0}),CS.default=void 0;var e=_;const t=(0,e.createContext)(void 0);return CS.default=t,CS}var SS={},kve;function Aoe(){if(kve)return SS;kve=1;var e=ze;Object.defineProperty(SS,"__esModule",{value:!0}),SS.default=void 0;var t=o(_),n=e(Noe()),r=e(_u());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=(l,s)=>{const u=t.useContext(n.default),c=t.useMemo(()=>{var h;const d=s||r.default[l],p=(h=u==null?void 0:u[l])!==null&&h!==void 0?h:{};return Object.assign(Object.assign({},typeof d=="function"?d():d),p||{})},[l,s,u]),f=t.useMemo(()=>{const h=u==null?void 0:u.locale;return u!=null&&u.exist&&!h?r.default.locale:h},[u]);return[c,f]};return SS.default=a,SS}var jve;function Rl(){return jve||(jve=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ANT_MARK=void 0,Object.defineProperty(e,"useLocale",{enumerable:!0,get:function(){return o.default}});var n=l(_);_n();var r=Ioe(),i=t(Noe()),o=t(Aoe());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}e.ANT_MARK="internalMark";const s=u=>{const{locale:c={},children:f,_ANT_MARK__:h}=u;n.useEffect(()=>(0,r.changeConfirmLocale)(c&&c.Modal),[c]);const d=n.useMemo(()=>Object.assign(Object.assign({},c),{exist:!0}),[c]);return n.createElement(i.default.Provider,{value:d},f)};e.default=s}(_U)),_U}var ip={},AM={};const Nd=cr(Dht);var xS={},Dve;function cqe(){if(Dve)return xS;Dve=1,Object.defineProperty(xS,"__esModule",{value:!0}),xS.default=void 0;const e=t=>{const{controlHeight:n}=t;return{controlHeightSM:n*.75,controlHeightXS:n*.5,controlHeightLG:n*1.25}};return xS.default=e,xS}var kM={},Lve;function iUt(){if(Lve)return kM;Lve=1,Object.defineProperty(kM,"__esModule",{value:!0}),kM.default=e;function e(t){const{sizeUnit:n,sizeStep:r}=t;return{sizeXXL:n*(r+8),sizeXL:n*(r+4),sizeLG:n*(r+2),sizeMD:n*(r+1),sizeMS:n*r,size:n*r,sizeSM:n*(r-1),sizeXS:n*(r-2),sizeXXS:n*(r-3)}}return kM}var dg={},zve;function Ky(){if(zve)return dg;zve=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.defaultPresetColors=dg.default=void 0;const e=dg.defaultPresetColors={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},t=Object.assign(Object.assign({},e),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + `,document.body.appendChild(i)}},e}()),nve=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(n,r,i){if(i.contentType!=="html")return r;var o=n.substring(r).charAt(0);if(o==="<"||o==="&"){var a;for(a=o==="<"?">":";";n.substring(r+1).charAt(0)!==a&&!(1+ ++r>n.length););r++}return r},t.backSpaceHtmlChars=function(n,r,i){if(i.contentType!=="html")return r;var o=n.substring(r).charAt(0);if(o===">"||o===";"){var a;for(a=o===">"?"<":"&";n.substring(r-1).charAt(0)!==a&&!(--r<0););r--}return r},e}()),EVt=function(){function e(n,r){OVt.load(this,r,n),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(n){n===void 0&&(n=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,n&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.begin=function(){var n=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){n.strPos===0?n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos):n.backspace(n.strings[n.sequence[n.arrayPos]],n.strPos)},this.startDelay)},t.typewrite=function(n,r){var i=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),a=1;this.pause.status!==!0?this.timeout=setTimeout(function(){r=nve.typeHtmlChars(n,r,i);var l=0,s=n.substring(r);if(s.charAt(0)==="^"&&/^\^\d+/.test(s)){var u=1;u+=(s=/\d+/.exec(s)[0]).length,l=parseInt(s),i.temporaryPause=!0,i.options.onTypingPaused(i.arrayPos,i),n=n.substring(0,r)+n.substring(r+u),i.toggleBlinking(!0)}if(s.charAt(0)==="`"){for(;n.substring(r+a).charAt(0)!=="`"&&(a++,!(r+a>n.length)););var c=n.substring(0,r),f=n.substring(c.length+1,r+a),h=n.substring(r+a+1);n=c+f+h,a--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),r>=n.length?i.doneTyping(n,r):i.keepTyping(n,r,a),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},l)},o):this.setPauseStatus(n,r,!0)},t.keepTyping=function(n,r,i){r===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=n.substring(0,r+=i);this.replaceText(o),this.typewrite(n,r)},t.doneTyping=function(n,r){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(n,r)},this.backDelay))},t.backspace=function(n,r){var i=this;if(this.pause.status!==!0){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){r=nve.backSpaceHtmlChars(n,r,i);var a=n.substring(0,r);if(i.replaceText(a),i.smartBackspace){var l=i.strings[i.arrayPos+1];i.stopNum=l&&a===l.substring(0,r)?r:0}r>i.stopNum?(r--,i.backspace(n,r)):r<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],r))},o)}else this.setPauseStatus(n,r,!1)},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(n,r,i){this.pause.typewrite=i,this.pause.curString=n,this.pause.curStrPos=r},t.toggleBlinking=function(n){this.cursor&&(this.pause.status||this.cursorBlinking!==n&&(this.cursorBlinking=n,n?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(n){return Math.round(Math.random()*n/2)+n},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var n=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){n.arrayPos++,n.replaceText(""),n.strings.length>n.arrayPos?n.typewrite(n.strings[n.sequence[n.arrayPos]],0):(n.typewrite(n.strings[0],0),n.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(n){this.attr?this.el.setAttribute(this.attr,n):this.isInput?this.el.value=n:this.contentType==="html"?this.el.innerHTML=n:this.el.textContent=n},t.bindFocusEvents=function(){var n=this;this.isInput&&(this.el.addEventListener("focus",function(r){n.stop()}),this.el.addEventListener("blur",function(r){n.el.value&&n.el.value.length!==0||n.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}();const $Vt=()=>{const[e,t]=_.useState(""),n=_.useRef(null),{token:r}=jFe.useToken(),i=Yl(u=>u.user.avatar),o=(u,c)=>{console.log(u.format("YYYY-MM-DD"),c)},a=u=>{const c=u.toDate();return c&&c.getTime()!==new Date().getTime()},l={width:"100%",height:"50%",border:"none",borderRadius:r.borderRadiusLG,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"};_.useEffect(()=>{(async()=>{const h=await Vo.get("https://api.xygeng.cn/one");t(h.data.data.content)})();const c={strings:['"遇事不决,
 可问春风“','"春风不语,
 即随本心“'],typeSpeed:50,backSpeed:50,showCursor:!1,cursorChar:"|",contentType:"html"},f=new EVt(n.current,c);return()=>{f.destroy()}},[]);const s=JSON.parse(_.useContext(YB));return ge.jsxs("div",{className:"home",children:[ge.jsxs("div",{className:"left",style:{height:"100%",width:"25%",display:"flex",flexDirection:"column"},children:[ge.jsxs("div",{className:"about_logo",children:[ge.jsxs("div",{className:"about_me",children:[ge.jsx("img",{src:i,alt:"",style:{width:75,height:75,borderRadius:"50%",border:"2px solid #b7b7b7"}}),ge.jsx("div",{ref:n,className:"typed"})]}),ge.jsxs(CC,{wrap:!0,style:{marginTop:20},className:"p_hidden",children:[ge.jsx(F9,{type:"circle",percent:70,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"CPU"})}),ge.jsx(F9,{type:"circle",percent:50,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"内存"})}),ge.jsx(F9,{type:"circle",percent:70,size:65,format:()=>ge.jsx("span",{style:{color:s?"white":"black"},children:"磁盘"})})]})]}),ge.jsx(gLt,{}),ge.jsx("div",{style:{display:"flex",justifyContent:"center",height:"22%",alignItems:"center",flexDirection:"column"},children:ge.jsx(_Vt,{})})]}),ge.jsx("div",{className:"center",style:{height:"100%",width:"60%",paddingRight:30},children:ge.jsx(GDt,{isDark:s})}),ge.jsxs("div",{className:"right",children:[ge.jsx(mh,{size:"small",title:ge.jsxs("div",{className:"custom-card-header",children:[ge.jsx("span",{className:"dot"}),ge.jsx("span",{className:"dot"}),ge.jsx("span",{className:"dot"}),"每日箴言"]}),style:{minWidth:350,height:"30%",margin:0},children:ge.jsxs("div",{className:"oneSay",children:[ge.jsx("span",{className:"stick",children:"🎯"}),ge.jsx("p",{className:"onesay_content",children:e})]})}),ge.jsx(Td,{locale:Zie,children:ge.jsxs("div",{style:l,children:[ge.jsx(KDt,{}),ge.jsx(xSt,{fullscreen:!1,onPanelChange:o,disabledDate:a,style:{height:"85%"}})]})}),ge.jsxs(mh,{className:"cardInfo",style:{margin:0},children:[ge.jsx("h3",{style:{marginLeft:10,marginBottom:10,marginTop:5},children:"开发进度"}),ge.jsx(TPt,{direction:"vertical",current:3,items:[{title:"登录逻辑和后台页面UI"},{title:"静态数据完成后台功能逻辑"},{title:"后端接口开发"}]})]})]})]})};var PVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const TVt=PVt;var MVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:TVt}))};const RVt=_.forwardRef(MVt);var IVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"};const NVt=IVt;var AVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:NVt}))};const kVt=_.forwardRef(AVt);var jVt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"};const DVt=jVt;var LVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:DVt}))};const zVt=_.forwardRef(LVt);var BVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z"}}]},name:"tags",theme:"outlined"};const FVt=BVt;var HVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:FVt}))};const WVt=_.forwardRef(HVt);var qVt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const VVt=qVt;var UVt=function(t,n){return _.createElement(tr,Qe({},t,{ref:n,icon:VVt}))};const GVt=_.forwardRef(UVt);function sS(e,t,n,r,i){return{key:t,icon:n,children:r,label:e,to:i}}const KVt=[sS("导航","sub2",ge.jsx(RVt,{}),[sS("全部文章","1","",void 0," "),sS("编辑文章","2","",void 0,"newnote"),sS("全部分类","3","",void 0,"allcategorize"),sS("全部标签","4","",void 0,"alltags")])],XVt=()=>{const e=My(),[t,n]=_.useState(""),r=JSON.parse(_.useContext(YB));_.useEffect(()=>{n(location.hash)},[]);const i=o=>{e(o.item.props.to)};return ge.jsxs(ge.Fragment,{children:[ge.jsx(Td,{theme:{components:{Menu:{itemSelectedColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",itemSelectedBg:r?"rgba(0,0,0,0.58)":"#e6f4ff"},Breadcrumb:{itemColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",lastItemColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",linkColor:r?"rgba(243,243,243,0.88)":"rgba(0,0,0,0.88)",separatorColor:r?"rgba(243,243,243,0.45)":"rgba(0,0,0,0.45)"}}},children:ge.jsxs("div",{className:"header",children:[ge.jsx(Ire,{style:{width:125},mode:"vertical",items:KVt,className:"twoMenu",onClick:i,defaultSelectedKeys:["1"],theme:"light"}),ge.jsxs(cM,{style:{marginLeft:10},children:[ge.jsx(cM.Item,{children:ge.jsx(Qfe,{to:"/dashboard",children:ge.jsx(kVt,{})})}),ge.jsx(cM.Item,{children:ge.jsxs(Qfe,{to:"/dashboard/notes",children:[ge.jsx(GVt,{}),ge.jsx("span",{children:"笔记"})]})}),ge.jsx(cM.Item,{children:t==="#/dashboard/notes"||t==="#/dashboard/notes/"?"全部文章":t==="#/dashboard/notes/newnote"?"编辑文章":t==="#/dashboard/notes/allcategorize"?"全部分类":t==="#/dashboard/notes/alltags"?"全部标签":"未知页面"})]})]})}),ge.jsx(aAe,{})]})};var eqe={},cS={};const Poe=gr(wft);var IM={},lU={exports:{}},sU={exports:{}},cU={exports:{}},uU={exports:{}},rve;function ll(){return rve||(rve=1,function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(uU)),uU.exports}var dU={exports:{}},ive;function YVt(){return ive||(ive=1,function(e){var t=ll().default;function n(r,i){if(t(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(dU)),dU.exports}var ove;function tqe(){return ove||(ove=1,function(e){var t=ll().default,n=YVt();function r(i){var o=n(i,"string");return t(o)=="symbol"?o:String(o)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(cU)),cU.exports}var ave;function sF(){return ave||(ave=1,function(e){var t=tqe();function n(r,i,o){return i=t(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(sU)),sU.exports}var lve;function kh(){return lve||(lve=1,function(e){var t=sF();function n(i,o){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(i);o&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable})),a.push.apply(a,l)}return a}function r(i){for(var o=1;on.length)&&(r=n.length);for(var i=0,o=new Array(r);i1&&arguments[1]!==void 0?arguments[1]:1;n+=1;var u=n;function c(f){if(f===0)i(u),l();else{var h=e(function(){c(f-1)});r.set(u,h)}}return c(s),u};return o.cancel=function(a){var l=r.get(a);return i(a),t(l)},dS.default=o,dS}var mve;function Moe(){if(mve)return uS;mve=1;var e=ze;Object.defineProperty(uS,"__esModule",{value:!0}),uS.default=void 0;var t=e(qr()),n=e(Gy());function r(i){let o;const a=s=>()=>{o=null,i.apply(void 0,(0,t.default)(s))},l=function(){if(o==null){for(var s=arguments.length,u=new Array(s),c=0;c{n.default.cancel(o),o=null},l}return uS.default=r,uS}var yU={};const Xt=gr(Upt);var bU={},vve;function Roe(){return vve||(vve=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});var t=_,n=(0,t.createContext)({}),r=n}(bU)),bU}var NM={},CU={exports:{}},yve;function Z$(){return yve||(yve=1,function(e){var t=ll().default;function n(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(n=function(s){return s?a:o})(i)}function r(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||t(i)!="object"&&typeof i!="function")return{default:i};var a=n(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(CU)),CU.exports}var bve;function Ioe(){if(bve)return NM;bve=1;var e=Z$().default;Object.defineProperty(NM,"__esModule",{value:!0}),NM.default=n;var t=e(_);function n(r,i,o){var a=t.useRef({});return(!("value"in a.current)||o(a.current.condition,i))&&(a.current.value=r(),a.current.condition=i),a.current.value}return NM}var fS={},SU={exports:{}},xU={exports:{}},Cve;function iqe(){return Cve||(Cve=1,function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(xU)),xU.exports}var _U={exports:{}},Sve;function oqe(){return Sve||(Sve=1,function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(_U)),_U.exports}var xve;function JVt(){return xve||(xve=1,function(e){var t=iqe(),n=rqe(),r=Toe(),i=oqe();function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}(SU)),SU.exports}var AM={},_ve;function eUt(){if(_ve)return AM;_ve=1,Object.defineProperty(AM,"__esModule",{value:!0}),AM.default=e;function e(t,n){for(var r=t,i=0;i3&&arguments[3]!==void 0?arguments[3]:!1;return d.length&&g&&p===void 0&&!(0,o.default)(h,d.slice(0,-1))?h:a(h,d,p,g)}function s(h){return(0,t.default)(h)==="object"&&h!==null&&Object.getPrototypeOf(h)===Object.prototype}function u(h){return Array.isArray(h)?[]:{}}var c=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function f(){for(var h=arguments.length,d=new Array(h),p=0;p{const l=()=>{};return l.deprecated=i,l},Lu.default=a,Lu}var pS={},$ve;function aqe(){if($ve)return pS;$ve=1,Object.defineProperty(pS,"__esModule",{value:!0}),pS.default=void 0;var e=_;return pS.default=(0,e.createContext)(void 0),pS}var wU={},hS={},gS={},mS={},Pve;function lqe(){if(Pve)return mS;Pve=1,Object.defineProperty(mS,"__esModule",{value:!0}),mS.default=void 0;var e={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 mS.default=e,mS}var vS={},yS={},bS={},Tve;function nUt(){if(Tve)return bS;Tve=1,Object.defineProperty(bS,"__esModule",{value:!0}),bS.default=void 0;var e={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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 bS.default=e,bS}var CS={},Mve;function sqe(){if(Mve)return CS;Mve=1,Object.defineProperty(CS,"__esModule",{value:!0}),CS.default=void 0;const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};return CS.default=e,CS}var Rve;function cF(){if(Rve)return yS;Rve=1;var e=ze;Object.defineProperty(yS,"__esModule",{value:!0}),yS.default=void 0;var t=e(nUt()),n=e(sqe());const r={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"]},t.default),timePickerLocale:Object.assign({},n.default)};return yS.default=r,yS}var Ive;function cqe(){if(Ive)return vS;Ive=1;var e=ze;Object.defineProperty(vS,"__esModule",{value:!0}),vS.default=void 0;var t=e(cF());return vS.default=t.default,vS}var Nve;function _u(){if(Nve)return gS;Nve=1;var e=ze;Object.defineProperty(gS,"__esModule",{value:!0}),gS.default=void 0;var t=e(lqe()),n=e(cqe()),r=e(cF()),i=e(sqe());const o="${label} is not a valid ${type}",a={locale:"en",Pagination:t.default,DatePicker:r.default,TimePicker:i.default,Calendar:n.default,global:{placeholder:"Please select"},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",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"},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"}};return gS.default=a,gS}var Ave;function Noe(){if(Ave)return hS;Ave=1;var e=ze;Object.defineProperty(hS,"__esModule",{value:!0}),hS.changeConfirmLocale=o,hS.getConfirmLocale=a;var t=e(_u());let n=Object.assign({},t.default.Modal),r=[];const i=()=>r.reduce((l,s)=>Object.assign(Object.assign({},l),s),t.default.Modal);function o(l){if(l){const s=Object.assign({},l);return r.push(s),n=i(),()=>{r=r.filter(u=>u!==s),n=i()}}n=Object.assign({},t.default.Modal)}function a(){return n}return hS}var SS={},kve;function Aoe(){if(kve)return SS;kve=1,Object.defineProperty(SS,"__esModule",{value:!0}),SS.default=void 0;var e=_;const t=(0,e.createContext)(void 0);return SS.default=t,SS}var xS={},jve;function koe(){if(jve)return xS;jve=1;var e=ze;Object.defineProperty(xS,"__esModule",{value:!0}),xS.default=void 0;var t=o(_),n=e(Aoe()),r=e(_u());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=(l,s)=>{const u=t.useContext(n.default),c=t.useMemo(()=>{var h;const d=s||r.default[l],p=(h=u==null?void 0:u[l])!==null&&h!==void 0?h:{};return Object.assign(Object.assign({},typeof d=="function"?d():d),p||{})},[l,s,u]),f=t.useMemo(()=>{const h=u==null?void 0:u.locale;return u!=null&&u.exist&&!h?r.default.locale:h},[u]);return[c,f]};return xS.default=a,xS}var Dve;function Rl(){return Dve||(Dve=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ANT_MARK=void 0,Object.defineProperty(e,"useLocale",{enumerable:!0,get:function(){return o.default}});var n=l(_);_n();var r=Noe(),i=t(Aoe()),o=t(koe());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}e.ANT_MARK="internalMark";const s=u=>{const{locale:c={},children:f,_ANT_MARK__:h}=u;n.useEffect(()=>(0,r.changeConfirmLocale)(c&&c.Modal),[c]);const d=n.useMemo(()=>Object.assign(Object.assign({},c),{exist:!0}),[c]);return n.createElement(i.default.Provider,{value:d},f)};e.default=s}(wU)),wU}var ip={},kM={};const Nd=gr(Dht);var _S={},Lve;function uqe(){if(Lve)return _S;Lve=1,Object.defineProperty(_S,"__esModule",{value:!0}),_S.default=void 0;const e=t=>{const{controlHeight:n}=t;return{controlHeightSM:n*.75,controlHeightXS:n*.5,controlHeightLG:n*1.25}};return _S.default=e,_S}var jM={},zve;function rUt(){if(zve)return jM;zve=1,Object.defineProperty(jM,"__esModule",{value:!0}),jM.default=e;function e(t){const{sizeUnit:n,sizeStep:r}=t;return{sizeXXL:n*(r+8),sizeXL:n*(r+4),sizeLG:n*(r+2),sizeMD:n*(r+1),sizeMS:n*r,size:n*r,sizeSM:n*(r-1),sizeXS:n*(r-2),sizeXXS:n*(r-3)}}return jM}var dg={},Bve;function Ky(){if(Bve)return dg;Bve=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.defaultPresetColors=dg.default=void 0;const e=dg.defaultPresetColors={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},t=Object.assign(Object.assign({},e),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});return dg.default=t,dg}var jM={};const Ea=cr(yht);var Bve;function uqe(){if(Bve)return jM;Bve=1,Object.defineProperty(jM,"__esModule",{value:!0}),jM.default=t;var e=Ea;function t(n,r){let{generateColorPalettes:i,generateNeutralColorPalettes:o}=r;const{colorSuccess:a,colorWarning:l,colorError:s,colorInfo:u,colorPrimary:c,colorBgBase:f,colorTextBase:h}=n,d=i(c),p=i(a),g=i(l),m=i(s),v=i(u),y=o(f,h),b=n.colorLink||n.colorInfo,C=i(b);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:C[4],colorLink:C[6],colorLinkActive:C[7],colorBgMask:new e.TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}return jM}var DM={},_S={},Fve;function oUt(){if(Fve)return _S;Fve=1,Object.defineProperty(_S,"__esModule",{value:!0}),_S.default=void 0;const e=t=>{let n=t,r=t,i=t,o=t;return t<6&&t>=5?n=t+1:t<16&&t>=6?n=t+2:t>=16&&(n=16),t<7&&t>=5?r=4:t<8&&t>=7?r=5:t<14&&t>=8?r=6:t<16&&t>=14?r=7:t>=16&&(r=8),t<6&&t>=2?i=1:t>=6&&(i=2),t>4&&t<8?o=4:t>=8&&(o=6),{borderRadius:t,borderRadiusXS:i,borderRadiusSM:r,borderRadiusLG:n,borderRadiusOuter:o}};return _S.default=e,_S}var Hve;function aUt(){if(Hve)return DM;Hve=1;var e=ze;Object.defineProperty(DM,"__esModule",{value:!0}),DM.default=n;var t=e(oUt());function n(r){const{motionUnit:i,motionBase:o,borderRadius:a,lineWidth:l}=r;return Object.assign({motionDurationFast:`${(o+i).toFixed(1)}s`,motionDurationMid:`${(o+i*2).toFixed(1)}s`,motionDurationSlow:`${(o+i*3).toFixed(1)}s`,lineWidthBold:l+1},(0,t.default)(a))}return DM}var fg={},pg={},Wve;function lUt(){if(Wve)return pg;Wve=1,Object.defineProperty(pg,"__esModule",{value:!0}),pg.getSolidColor=pg.getAlphaColor=void 0;var e=Ea;const t=(r,i)=>new e.TinyColor(r).setAlpha(i).toRgbString();pg.getAlphaColor=t;const n=(r,i)=>new e.TinyColor(r).darken(i).toHexString();return pg.getSolidColor=n,pg}var qve;function sUt(){if(qve)return fg;qve=1,Object.defineProperty(fg,"__esModule",{value:!0}),fg.generateNeutralColorPalettes=fg.generateColorPalettes=void 0;var e=Nd,t=lUt();const n=i=>{const o=(0,e.generate)(i);return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}};fg.generateColorPalettes=n;const r=(i,o)=>{const a=i||"#fff",l=o||"#000";return{colorBgBase:a,colorTextBase:l,colorText:(0,t.getAlphaColor)(l,.88),colorTextSecondary:(0,t.getAlphaColor)(l,.65),colorTextTertiary:(0,t.getAlphaColor)(l,.45),colorTextQuaternary:(0,t.getAlphaColor)(l,.25),colorFill:(0,t.getAlphaColor)(l,.15),colorFillSecondary:(0,t.getAlphaColor)(l,.06),colorFillTertiary:(0,t.getAlphaColor)(l,.04),colorFillQuaternary:(0,t.getAlphaColor)(l,.02),colorBgLayout:(0,t.getSolidColor)(a,4),colorBgContainer:(0,t.getSolidColor)(a,0),colorBgElevated:(0,t.getSolidColor)(a,0),colorBgSpotlight:(0,t.getAlphaColor)(l,.85),colorBgBlur:"transparent",colorBorder:(0,t.getSolidColor)(a,15),colorBorderSecondary:(0,t.getSolidColor)(a,6)}};return fg.generateNeutralColorPalettes=r,fg}var wS={},OS={},Vve;function dqe(){if(Vve)return OS;Vve=1,Object.defineProperty(OS,"__esModule",{value:!0}),OS.default=t,OS.getLineHeight=e;function e(n){return(n+8)/n}function t(n){const r=new Array(10).fill(null).map((i,o)=>{const a=o-1,l=n*Math.pow(2.71828,a/5),s=o>1?Math.floor(l):Math.ceil(l);return Math.floor(s/2)*2});return r[1]=n,r.map(i=>({size:i,lineHeight:e(i)}))}return OS}var Uve;function fqe(){if(Uve)return wS;Uve=1;var e=ze;Object.defineProperty(wS,"__esModule",{value:!0}),wS.default=void 0;var t=e(dqe());const n=r=>{const i=(0,t.default)(r),o=i.map(d=>d.size),a=i.map(d=>d.lineHeight),l=o[1],s=o[0],u=o[2],c=a[1],f=a[0],h=a[2];return{fontSizeSM:s,fontSize:l,fontSizeLG:u,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:c,lineHeightLG:h,lineHeightSM:f,fontHeight:Math.round(c*l),fontHeightLG:Math.round(h*u),fontHeightSM:Math.round(f*s),lineHeightHeading1:a[6],lineHeightHeading2:a[5],lineHeightHeading3:a[4],lineHeightHeading4:a[3],lineHeightHeading5:a[2]}};return wS.default=n,wS}var Gve;function Z$(){if(Gve)return AM;Gve=1;var e=ze;Object.defineProperty(AM,"__esModule",{value:!0}),AM.default=u;var t=Nd,n=e(cqe()),r=e(iUt()),i=Ky(),o=e(uqe()),a=e(aUt()),l=sUt(),s=e(fqe());function u(c){const f=Object.keys(i.defaultPresetColors).map(h=>{const d=(0,t.generate)(c[h]);return new Array(10).fill(1).reduce((p,g,m)=>(p[`${h}-${m+1}`]=d[m],p[`${h}${m+1}`]=d[m],p),{})}).reduce((h,d)=>(h=Object.assign(Object.assign({},h),d),h),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c),f),(0,o.default)(c,{generateColorPalettes:l.generateColorPalettes,generateNeutralColorPalettes:l.generateNeutralColorPalettes})),(0,s.default)(c.fontSize)),(0,r.default)(c)),(0,n.default)(c)),(0,a.default)(c))}return AM}var Kve;function koe(){if(Kve)return ip;Kve=1;var e=ze;Object.defineProperty(ip,"__esModule",{value:!0}),ip.defaultTheme=ip.defaultConfig=ip.DesignTokenContext=void 0;var t=e(_),n=Xt,r=e(Z$()),i=e(Ky());ip.defaultTheme=(0,n.createTheme)(r.default);const o=ip.defaultConfig={token:i.default,override:{override:i.default},hashed:!0};return ip.DesignTokenContext=t.default.createContext(o),ip}var op={},Xve;function Q$(){if(Xve)return op;Xve=1,Object.defineProperty(op,"__esModule",{value:!0}),op.defaultIconPrefixCls=op.ConfigContext=op.ConfigConsumer=void 0;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=op.defaultIconPrefixCls="anticon",i=(l,s)=>s||(l?`ant-${l}`:"ant"),o=op.ConfigContext=e.createContext({getPrefixCls:i,iconPrefixCls:r}),{Consumer:a}=o;return op.ConfigConsumer=a,op}var ES={},LM={},Yve;function J$(){if(Yve)return LM;Yve=1,Object.defineProperty(LM,"__esModule",{value:!0}),LM.default=e;function e(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}return LM}var hg={},zM={},Zve;function cUt(){if(Zve)return zM;Zve=1,Object.defineProperty(zM,"__esModule",{value:!0}),zM.default=e;function e(t,n){if(!t)return!1;if(t.contains)return t.contains(n);for(var r=n;r;){if(r===t)return!0;r=r.parentNode}return!1}return zM}var Qve;function pqe(){if(Qve)return hg;Qve=1;var e=ze.default;Object.defineProperty(hg,"__esModule",{value:!0}),hg.clearContainerCache=g,hg.injectCSS=f,hg.removeCSS=d,hg.updateCSS=m;var t=e(J$()),n=e(cUt()),r="data-rc-order",i="data-rc-priority",o="rc-util-key",a=new Map;function l(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=v.mark;return y?y.startsWith("data-")?y:"data-".concat(y):o}function s(v){if(v.attachTo)return v.attachTo;var y=document.querySelector("head");return y||document.body}function u(v){return v==="queue"?"prependQueue":v?"prepend":"append"}function c(v){return Array.from((a.get(v)||v).children).filter(function(y){return y.tagName==="STYLE"})}function f(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,t.default)())return null;var b=y.csp,C=y.prepend,x=y.priority,S=x===void 0?0:x,w=u(C),O=w==="prependQueue",$=document.createElement("style");$.setAttribute(r,w),O&&S&&$.setAttribute(i,"".concat(S)),b!=null&&b.nonce&&($.nonce=b==null?void 0:b.nonce),$.innerHTML=v;var P=s(y),T=P.firstChild;if(C){if(O){var R=c(P).filter(function(M){if(!["prepend","prependQueue"].includes(M.getAttribute(r)))return!1;var A=Number(M.getAttribute(i)||0);return S>=A});if(R.length)return P.insertBefore($,R[R.length-1].nextSibling),$}P.insertBefore($,T)}else P.appendChild($);return $}function h(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=s(y);return c(b).find(function(C){return C.getAttribute(l(y))===v})}function d(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=h(v,y);if(b){var C=s(y);C.removeChild(b)}}function p(v,y){var b=a.get(v);if(!b||!(0,n.default)(document,b)){var C=f("",y),x=C.parentNode;a.set(v,x),v.removeChild(C)}}function g(){a.clear()}function m(v,y){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=s(b);p(C,b);var x=h(y,b);if(x){var S,w;if((S=b.csp)!==null&&S!==void 0&&S.nonce&&x.nonce!==((w=b.csp)===null||w===void 0?void 0:w.nonce)){var O;x.nonce=(O=b.csp)===null||O===void 0?void 0:O.nonce}return x.innerHTML!==v&&(x.innerHTML=v),x}var $=f(v,b);return $.setAttribute(l(b),y),$}return hg}var Jve;function uUt(){if(Jve)return ES;Jve=1;var e=ze;Object.defineProperty(ES,"__esModule",{value:!0}),ES.getStyle=a,ES.registerTheme=l;var t=Nd,n=Ea,r=e(J$()),i=pqe();e(_n());const o=`-ant-${Date.now()}-${Math.random()}`;function a(s,u){const c={},f=(p,g)=>{let m=p.clone();return m=(g==null?void 0:g(m))||m,m.toRgbString()},h=(p,g)=>{const m=new n.TinyColor(p),v=(0,t.generate)(m.toRgbString());c[`${g}-color`]=f(m),c[`${g}-color-disabled`]=v[1],c[`${g}-color-hover`]=v[4],c[`${g}-color-active`]=v[6],c[`${g}-color-outline`]=m.clone().setAlpha(.2).toRgbString(),c[`${g}-color-deprecated-bg`]=v[0],c[`${g}-color-deprecated-border`]=v[2]};if(u.primaryColor){h(u.primaryColor,"primary");const p=new n.TinyColor(u.primaryColor),g=(0,t.generate)(p.toRgbString());g.forEach((v,y)=>{c[`primary-${y+1}`]=v}),c["primary-color-deprecated-l-35"]=f(p,v=>v.lighten(35)),c["primary-color-deprecated-l-20"]=f(p,v=>v.lighten(20)),c["primary-color-deprecated-t-20"]=f(p,v=>v.tint(20)),c["primary-color-deprecated-t-50"]=f(p,v=>v.tint(50)),c["primary-color-deprecated-f-12"]=f(p,v=>v.setAlpha(v.getAlpha()*.12));const m=new n.TinyColor(g[0]);c["primary-color-active-deprecated-f-30"]=f(m,v=>v.setAlpha(v.getAlpha()*.3)),c["primary-color-active-deprecated-d-02"]=f(m,v=>v.darken(2))}return u.successColor&&h(u.successColor,"success"),u.warningColor&&h(u.warningColor,"warning"),u.errorColor&&h(u.errorColor,"error"),u.infoColor&&h(u.infoColor,"info"),` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});return dg.default=t,dg}var DM={};const Ea=gr(yht);var Fve;function dqe(){if(Fve)return DM;Fve=1,Object.defineProperty(DM,"__esModule",{value:!0}),DM.default=t;var e=Ea;function t(n,r){let{generateColorPalettes:i,generateNeutralColorPalettes:o}=r;const{colorSuccess:a,colorWarning:l,colorError:s,colorInfo:u,colorPrimary:c,colorBgBase:f,colorTextBase:h}=n,d=i(c),p=i(a),g=i(l),m=i(s),v=i(u),y=o(f,h),b=n.colorLink||n.colorInfo,C=i(b);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:C[4],colorLink:C[6],colorLinkActive:C[7],colorBgMask:new e.TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}return DM}var LM={},wS={},Hve;function iUt(){if(Hve)return wS;Hve=1,Object.defineProperty(wS,"__esModule",{value:!0}),wS.default=void 0;const e=t=>{let n=t,r=t,i=t,o=t;return t<6&&t>=5?n=t+1:t<16&&t>=6?n=t+2:t>=16&&(n=16),t<7&&t>=5?r=4:t<8&&t>=7?r=5:t<14&&t>=8?r=6:t<16&&t>=14?r=7:t>=16&&(r=8),t<6&&t>=2?i=1:t>=6&&(i=2),t>4&&t<8?o=4:t>=8&&(o=6),{borderRadius:t,borderRadiusXS:i,borderRadiusSM:r,borderRadiusLG:n,borderRadiusOuter:o}};return wS.default=e,wS}var Wve;function oUt(){if(Wve)return LM;Wve=1;var e=ze;Object.defineProperty(LM,"__esModule",{value:!0}),LM.default=n;var t=e(iUt());function n(r){const{motionUnit:i,motionBase:o,borderRadius:a,lineWidth:l}=r;return Object.assign({motionDurationFast:`${(o+i).toFixed(1)}s`,motionDurationMid:`${(o+i*2).toFixed(1)}s`,motionDurationSlow:`${(o+i*3).toFixed(1)}s`,lineWidthBold:l+1},(0,t.default)(a))}return LM}var fg={},pg={},qve;function aUt(){if(qve)return pg;qve=1,Object.defineProperty(pg,"__esModule",{value:!0}),pg.getSolidColor=pg.getAlphaColor=void 0;var e=Ea;const t=(r,i)=>new e.TinyColor(r).setAlpha(i).toRgbString();pg.getAlphaColor=t;const n=(r,i)=>new e.TinyColor(r).darken(i).toHexString();return pg.getSolidColor=n,pg}var Vve;function lUt(){if(Vve)return fg;Vve=1,Object.defineProperty(fg,"__esModule",{value:!0}),fg.generateNeutralColorPalettes=fg.generateColorPalettes=void 0;var e=Nd,t=aUt();const n=i=>{const o=(0,e.generate)(i);return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}};fg.generateColorPalettes=n;const r=(i,o)=>{const a=i||"#fff",l=o||"#000";return{colorBgBase:a,colorTextBase:l,colorText:(0,t.getAlphaColor)(l,.88),colorTextSecondary:(0,t.getAlphaColor)(l,.65),colorTextTertiary:(0,t.getAlphaColor)(l,.45),colorTextQuaternary:(0,t.getAlphaColor)(l,.25),colorFill:(0,t.getAlphaColor)(l,.15),colorFillSecondary:(0,t.getAlphaColor)(l,.06),colorFillTertiary:(0,t.getAlphaColor)(l,.04),colorFillQuaternary:(0,t.getAlphaColor)(l,.02),colorBgLayout:(0,t.getSolidColor)(a,4),colorBgContainer:(0,t.getSolidColor)(a,0),colorBgElevated:(0,t.getSolidColor)(a,0),colorBgSpotlight:(0,t.getAlphaColor)(l,.85),colorBgBlur:"transparent",colorBorder:(0,t.getSolidColor)(a,15),colorBorderSecondary:(0,t.getSolidColor)(a,6)}};return fg.generateNeutralColorPalettes=r,fg}var OS={},ES={},Uve;function fqe(){if(Uve)return ES;Uve=1,Object.defineProperty(ES,"__esModule",{value:!0}),ES.default=t,ES.getLineHeight=e;function e(n){return(n+8)/n}function t(n){const r=new Array(10).fill(null).map((i,o)=>{const a=o-1,l=n*Math.pow(2.71828,a/5),s=o>1?Math.floor(l):Math.ceil(l);return Math.floor(s/2)*2});return r[1]=n,r.map(i=>({size:i,lineHeight:e(i)}))}return ES}var Gve;function pqe(){if(Gve)return OS;Gve=1;var e=ze;Object.defineProperty(OS,"__esModule",{value:!0}),OS.default=void 0;var t=e(fqe());const n=r=>{const i=(0,t.default)(r),o=i.map(d=>d.size),a=i.map(d=>d.lineHeight),l=o[1],s=o[0],u=o[2],c=a[1],f=a[0],h=a[2];return{fontSizeSM:s,fontSize:l,fontSizeLG:u,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:c,lineHeightLG:h,lineHeightSM:f,fontHeight:Math.round(c*l),fontHeightLG:Math.round(h*u),fontHeightSM:Math.round(f*s),lineHeightHeading1:a[6],lineHeightHeading2:a[5],lineHeightHeading3:a[4],lineHeightHeading4:a[3],lineHeightHeading5:a[2]}};return OS.default=n,OS}var Kve;function Q$(){if(Kve)return kM;Kve=1;var e=ze;Object.defineProperty(kM,"__esModule",{value:!0}),kM.default=u;var t=Nd,n=e(uqe()),r=e(rUt()),i=Ky(),o=e(dqe()),a=e(oUt()),l=lUt(),s=e(pqe());function u(c){const f=Object.keys(i.defaultPresetColors).map(h=>{const d=(0,t.generate)(c[h]);return new Array(10).fill(1).reduce((p,g,m)=>(p[`${h}-${m+1}`]=d[m],p[`${h}${m+1}`]=d[m],p),{})}).reduce((h,d)=>(h=Object.assign(Object.assign({},h),d),h),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c),f),(0,o.default)(c,{generateColorPalettes:l.generateColorPalettes,generateNeutralColorPalettes:l.generateNeutralColorPalettes})),(0,s.default)(c.fontSize)),(0,r.default)(c)),(0,n.default)(c)),(0,a.default)(c))}return kM}var Xve;function joe(){if(Xve)return ip;Xve=1;var e=ze;Object.defineProperty(ip,"__esModule",{value:!0}),ip.defaultTheme=ip.defaultConfig=ip.DesignTokenContext=void 0;var t=e(_),n=Xt,r=e(Q$()),i=e(Ky());ip.defaultTheme=(0,n.createTheme)(r.default);const o=ip.defaultConfig={token:i.default,override:{override:i.default},hashed:!0};return ip.DesignTokenContext=t.default.createContext(o),ip}var op={},Yve;function J$(){if(Yve)return op;Yve=1,Object.defineProperty(op,"__esModule",{value:!0}),op.defaultIconPrefixCls=op.ConfigContext=op.ConfigConsumer=void 0;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=op.defaultIconPrefixCls="anticon",i=(l,s)=>s||(l?`ant-${l}`:"ant"),o=op.ConfigContext=e.createContext({getPrefixCls:i,iconPrefixCls:r}),{Consumer:a}=o;return op.ConfigConsumer=a,op}var $S={},zM={},Zve;function eP(){if(Zve)return zM;Zve=1,Object.defineProperty(zM,"__esModule",{value:!0}),zM.default=e;function e(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}return zM}var hg={},BM={},Qve;function sUt(){if(Qve)return BM;Qve=1,Object.defineProperty(BM,"__esModule",{value:!0}),BM.default=e;function e(t,n){if(!t)return!1;if(t.contains)return t.contains(n);for(var r=n;r;){if(r===t)return!0;r=r.parentNode}return!1}return BM}var Jve;function hqe(){if(Jve)return hg;Jve=1;var e=ze.default;Object.defineProperty(hg,"__esModule",{value:!0}),hg.clearContainerCache=g,hg.injectCSS=f,hg.removeCSS=d,hg.updateCSS=m;var t=e(eP()),n=e(sUt()),r="data-rc-order",i="data-rc-priority",o="rc-util-key",a=new Map;function l(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=v.mark;return y?y.startsWith("data-")?y:"data-".concat(y):o}function s(v){if(v.attachTo)return v.attachTo;var y=document.querySelector("head");return y||document.body}function u(v){return v==="queue"?"prependQueue":v?"prepend":"append"}function c(v){return Array.from((a.get(v)||v).children).filter(function(y){return y.tagName==="STYLE"})}function f(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,t.default)())return null;var b=y.csp,C=y.prepend,x=y.priority,S=x===void 0?0:x,w=u(C),O=w==="prependQueue",$=document.createElement("style");$.setAttribute(r,w),O&&S&&$.setAttribute(i,"".concat(S)),b!=null&&b.nonce&&($.nonce=b==null?void 0:b.nonce),$.innerHTML=v;var P=s(y),T=P.firstChild;if(C){if(O){var R=c(P).filter(function(M){if(!["prepend","prependQueue"].includes(M.getAttribute(r)))return!1;var A=Number(M.getAttribute(i)||0);return S>=A});if(R.length)return P.insertBefore($,R[R.length-1].nextSibling),$}P.insertBefore($,T)}else P.appendChild($);return $}function h(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=s(y);return c(b).find(function(C){return C.getAttribute(l(y))===v})}function d(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=h(v,y);if(b){var C=s(y);C.removeChild(b)}}function p(v,y){var b=a.get(v);if(!b||!(0,n.default)(document,b)){var C=f("",y),x=C.parentNode;a.set(v,x),v.removeChild(C)}}function g(){a.clear()}function m(v,y){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=s(b);p(C,b);var x=h(y,b);if(x){var S,w;if((S=b.csp)!==null&&S!==void 0&&S.nonce&&x.nonce!==((w=b.csp)===null||w===void 0?void 0:w.nonce)){var O;x.nonce=(O=b.csp)===null||O===void 0?void 0:O.nonce}return x.innerHTML!==v&&(x.innerHTML=v),x}var $=f(v,b);return $.setAttribute(l(b),y),$}return hg}var eye;function cUt(){if(eye)return $S;eye=1;var e=ze;Object.defineProperty($S,"__esModule",{value:!0}),$S.getStyle=a,$S.registerTheme=l;var t=Nd,n=Ea,r=e(eP()),i=hqe();e(_n());const o=`-ant-${Date.now()}-${Math.random()}`;function a(s,u){const c={},f=(p,g)=>{let m=p.clone();return m=(g==null?void 0:g(m))||m,m.toRgbString()},h=(p,g)=>{const m=new n.TinyColor(p),v=(0,t.generate)(m.toRgbString());c[`${g}-color`]=f(m),c[`${g}-color-disabled`]=v[1],c[`${g}-color-hover`]=v[4],c[`${g}-color-active`]=v[6],c[`${g}-color-outline`]=m.clone().setAlpha(.2).toRgbString(),c[`${g}-color-deprecated-bg`]=v[0],c[`${g}-color-deprecated-border`]=v[2]};if(u.primaryColor){h(u.primaryColor,"primary");const p=new n.TinyColor(u.primaryColor),g=(0,t.generate)(p.toRgbString());g.forEach((v,y)=>{c[`primary-${y+1}`]=v}),c["primary-color-deprecated-l-35"]=f(p,v=>v.lighten(35)),c["primary-color-deprecated-l-20"]=f(p,v=>v.lighten(20)),c["primary-color-deprecated-t-20"]=f(p,v=>v.tint(20)),c["primary-color-deprecated-t-50"]=f(p,v=>v.tint(50)),c["primary-color-deprecated-f-12"]=f(p,v=>v.setAlpha(v.getAlpha()*.12));const m=new n.TinyColor(g[0]);c["primary-color-active-deprecated-f-30"]=f(m,v=>v.setAlpha(v.getAlpha()*.3)),c["primary-color-active-deprecated-d-02"]=f(m,v=>v.darken(2))}return u.successColor&&h(u.successColor,"success"),u.warningColor&&h(u.warningColor,"warning"),u.errorColor&&h(u.errorColor,"error"),u.infoColor&&h(u.infoColor,"info"),` :root { ${Object.keys(c).map(p=>`--${s}-${p}: ${c[p]};`).join(` `)} } - `.trim()}function l(s,u){const c=a(s,u);(0,r.default)()&&(0,i.updateCSS)(c,`${o}-dynamic-theme`)}return ES}var gg={},eye;function $a(){if(eye)return gg;eye=1,Object.defineProperty(gg,"__esModule",{value:!0}),gg.default=gg.DisabledContextProvider=void 0;var e=n(_);function t(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(t=function(s){return s?l:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=t(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const r=e.createContext(!1),i=o=>{let{children:a,disabled:l}=o;const s=e.useContext(r);return e.createElement(r.Provider,{value:l??s},a)};return gg.DisabledContextProvider=i,gg.default=r,gg}var $S={},mg={},tye;function cF(){if(tye)return mg;tye=1,Object.defineProperty(mg,"__esModule",{value:!0}),mg.default=mg.SizeContextProvider=void 0;var e=n(_);function t(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(t=function(s){return s?l:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=t(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const r=e.createContext(void 0),i=o=>{let{children:a,size:l}=o;const s=e.useContext(r);return e.createElement(r.Provider,{value:l||s},a)};return mg.SizeContextProvider=i,mg.default=r,mg}var nye;function dUt(){if(nye)return $S;nye=1;var e=ze;Object.defineProperty($S,"__esModule",{value:!0}),$S.default=void 0;var t=_,n=e($a()),r=e(cF());function i(){const o=(0,t.useContext)(n.default),a=(0,t.useContext)(r.default);return{componentDisabled:o,componentSize:a}}return $S.default=i,$S}var BM={},PS={},rye;function hqe(){if(rye)return PS;rye=1;var e=ze.default;Object.defineProperty(PS,"__esModule",{value:!0}),PS.default=void 0;var t=e(ll()),n=e(jh());function r(i,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l=new Set;function s(u,c){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,h=l.has(u);if((0,n.default)(!h,"Warning: There may be circular references"),h)return!1;if(u===c)return!0;if(a&&f>1)return!1;l.add(u);var d=f+1;if(Array.isArray(u)){if(!Array.isArray(c)||u.length!==c.length)return!1;for(var p=0;p=0&&r<=255}function n(r,i){const{r:o,g:a,b:l,a:s}=new e.TinyColor(r).toRgb();if(s<1)return r;const{r:u,g:c,b:f}=new e.TinyColor(i).toRgb();for(let h=.01;h<=1;h+=.01){const d=Math.round((o-u*(1-h))/h),p=Math.round((a-c*(1-h))/h),g=Math.round((l-f*(1-h))/h);if(t(d)&&t(p)&&t(g))return new e.TinyColor({r:d,g:p,b:g,a:Math.round(h*100)/100}).toRgbString()}return new e.TinyColor({r:o,g:a,b:l,a:1}).toRgbString()}return IS.default=n,IS}var cye;function mqe(){if(cye)return FM;cye=1;var e=ze;Object.defineProperty(FM,"__esModule",{value:!0}),FM.default=o;var t=Ea,n=e(Ky()),r=e(hUt()),i=function(a,l){var s={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&l.indexOf(u)<0&&(s[u]=a[u]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,u=Object.getOwnPropertySymbols(a);c{delete u[y]});const c=Object.assign(Object.assign({},s),u),f=480,h=576,d=768,p=992,g=1200,m=1600;if(c.motion===!1){const y="0s";c.motionDurationFast=y,c.motionDurationMid=y,c.motionDurationSlow=y}return Object.assign(Object.assign(Object.assign({},c),{colorFillContent:c.colorFillSecondary,colorFillContentHover:c.colorFill,colorFillAlter:c.colorFillQuaternary,colorBgContainerDisabled:c.colorFillTertiary,colorBorderBg:c.colorBgContainer,colorSplit:(0,r.default)(c.colorBorderSecondary,c.colorBgContainer),colorTextPlaceholder:c.colorTextQuaternary,colorTextDisabled:c.colorTextQuaternary,colorTextHeading:c.colorText,colorTextLabel:c.colorTextSecondary,colorTextDescription:c.colorTextTertiary,colorTextLightSolid:c.colorWhite,colorHighlight:c.colorError,colorBgTextHover:c.colorFillSecondary,colorBgTextActive:c.colorFill,colorIcon:c.colorTextTertiary,colorIconHover:c.colorText,colorErrorOutline:(0,r.default)(c.colorErrorBg,c.colorBgContainer),colorWarningOutline:(0,r.default)(c.colorWarningBg,c.colorBgContainer),fontSizeIcon:c.fontSizeSM,lineWidthFocus:c.lineWidth*4,lineWidth:c.lineWidth,controlOutlineWidth:c.lineWidth*2,controlInteractiveSize:c.controlHeight/2,controlItemBgHover:c.colorFillTertiary,controlItemBgActive:c.colorPrimaryBg,controlItemBgActiveHover:c.colorPrimaryBgHover,controlItemBgActiveDisabled:c.colorFill,controlTmpOutline:c.colorFillQuaternary,controlOutline:(0,r.default)(c.colorPrimaryBg,c.colorBgContainer),lineType:c.lineType,borderRadius:c.borderRadius,borderRadiusXS:c.borderRadiusXS,borderRadiusSM:c.borderRadiusSM,borderRadiusLG:c.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:c.sizeXXS,paddingXS:c.sizeXS,paddingSM:c.sizeSM,padding:c.size,paddingMD:c.sizeMD,paddingLG:c.sizeLG,paddingXL:c.sizeXL,paddingContentHorizontalLG:c.sizeLG,paddingContentVerticalLG:c.sizeMS,paddingContentHorizontal:c.sizeMS,paddingContentVertical:c.sizeSM,paddingContentHorizontalSM:c.size,paddingContentVerticalSM:c.sizeXS,marginXXS:c.sizeXXS,marginXS:c.sizeXS,marginSM:c.sizeSM,margin:c.size,marginMD:c.sizeMD,marginLG:c.sizeLG,marginXL:c.sizeXL,marginXXL:c.sizeXXL,boxShadow:` + `.trim()}function l(s,u){const c=a(s,u);(0,r.default)()&&(0,i.updateCSS)(c,`${o}-dynamic-theme`)}return $S}var gg={},tye;function $a(){if(tye)return gg;tye=1,Object.defineProperty(gg,"__esModule",{value:!0}),gg.default=gg.DisabledContextProvider=void 0;var e=n(_);function t(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(t=function(s){return s?l:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=t(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const r=e.createContext(!1),i=o=>{let{children:a,disabled:l}=o;const s=e.useContext(r);return e.createElement(r.Provider,{value:l??s},a)};return gg.DisabledContextProvider=i,gg.default=r,gg}var PS={},mg={},nye;function uF(){if(nye)return mg;nye=1,Object.defineProperty(mg,"__esModule",{value:!0}),mg.default=mg.SizeContextProvider=void 0;var e=n(_);function t(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(t=function(s){return s?l:a})(o)}function n(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=t(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const r=e.createContext(void 0),i=o=>{let{children:a,size:l}=o;const s=e.useContext(r);return e.createElement(r.Provider,{value:l||s},a)};return mg.SizeContextProvider=i,mg.default=r,mg}var rye;function uUt(){if(rye)return PS;rye=1;var e=ze;Object.defineProperty(PS,"__esModule",{value:!0}),PS.default=void 0;var t=_,n=e($a()),r=e(uF());function i(){const o=(0,t.useContext)(n.default),a=(0,t.useContext)(r.default);return{componentDisabled:o,componentSize:a}}return PS.default=i,PS}var FM={},TS={},iye;function gqe(){if(iye)return TS;iye=1;var e=ze.default;Object.defineProperty(TS,"__esModule",{value:!0}),TS.default=void 0;var t=e(ll()),n=e(jh());function r(i,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,l=new Set;function s(u,c){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,h=l.has(u);if((0,n.default)(!h,"Warning: There may be circular references"),h)return!1;if(u===c)return!0;if(a&&f>1)return!1;l.add(u);var d=f+1;if(Array.isArray(u)){if(!Array.isArray(c)||u.length!==c.length)return!1;for(var p=0;p=0&&r<=255}function n(r,i){const{r:o,g:a,b:l,a:s}=new e.TinyColor(r).toRgb();if(s<1)return r;const{r:u,g:c,b:f}=new e.TinyColor(i).toRgb();for(let h=.01;h<=1;h+=.01){const d=Math.round((o-u*(1-h))/h),p=Math.round((a-c*(1-h))/h),g=Math.round((l-f*(1-h))/h);if(t(d)&&t(p)&&t(g))return new e.TinyColor({r:d,g:p,b:g,a:Math.round(h*100)/100}).toRgbString()}return new e.TinyColor({r:o,g:a,b:l,a:1}).toRgbString()}return NS.default=n,NS}var uye;function vqe(){if(uye)return HM;uye=1;var e=ze;Object.defineProperty(HM,"__esModule",{value:!0}),HM.default=o;var t=Ea,n=e(Ky()),r=e(pUt()),i=function(a,l){var s={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&l.indexOf(u)<0&&(s[u]=a[u]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,u=Object.getOwnPropertySymbols(a);c{delete u[y]});const c=Object.assign(Object.assign({},s),u),f=480,h=576,d=768,p=992,g=1200,m=1600;if(c.motion===!1){const y="0s";c.motionDurationFast=y,c.motionDurationMid=y,c.motionDurationSlow=y}return Object.assign(Object.assign(Object.assign({},c),{colorFillContent:c.colorFillSecondary,colorFillContentHover:c.colorFill,colorFillAlter:c.colorFillQuaternary,colorBgContainerDisabled:c.colorFillTertiary,colorBorderBg:c.colorBgContainer,colorSplit:(0,r.default)(c.colorBorderSecondary,c.colorBgContainer),colorTextPlaceholder:c.colorTextQuaternary,colorTextDisabled:c.colorTextQuaternary,colorTextHeading:c.colorText,colorTextLabel:c.colorTextSecondary,colorTextDescription:c.colorTextTertiary,colorTextLightSolid:c.colorWhite,colorHighlight:c.colorError,colorBgTextHover:c.colorFillSecondary,colorBgTextActive:c.colorFill,colorIcon:c.colorTextTertiary,colorIconHover:c.colorText,colorErrorOutline:(0,r.default)(c.colorErrorBg,c.colorBgContainer),colorWarningOutline:(0,r.default)(c.colorWarningBg,c.colorBgContainer),fontSizeIcon:c.fontSizeSM,lineWidthFocus:c.lineWidth*4,lineWidth:c.lineWidth,controlOutlineWidth:c.lineWidth*2,controlInteractiveSize:c.controlHeight/2,controlItemBgHover:c.colorFillTertiary,controlItemBgActive:c.colorPrimaryBg,controlItemBgActiveHover:c.colorPrimaryBgHover,controlItemBgActiveDisabled:c.colorFill,controlTmpOutline:c.colorFillQuaternary,controlOutline:(0,r.default)(c.colorPrimaryBg,c.colorBgContainer),lineType:c.lineType,borderRadius:c.borderRadius,borderRadiusXS:c.borderRadiusXS,borderRadiusSM:c.borderRadiusSM,borderRadiusLG:c.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:c.sizeXXS,paddingXS:c.sizeXS,paddingSM:c.sizeSM,padding:c.size,paddingMD:c.sizeMD,paddingLG:c.sizeLG,paddingXL:c.sizeXL,paddingContentHorizontalLG:c.sizeLG,paddingContentVerticalLG:c.sizeMS,paddingContentHorizontal:c.sizeMS,paddingContentVertical:c.sizeSM,paddingContentHorizontalSM:c.size,paddingContentVerticalSM:c.sizeXS,marginXXS:c.sizeXXS,marginXS:c.sizeXS,marginSM:c.sizeSM,margin:c.size,marginMD:c.sizeMD,marginLG:c.sizeLG,marginXL:c.sizeXL,marginXXL:c.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -569,7 +569,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),u)}return FM}var uye;function $C(){if(uye)return qd;uye=1;var e=ze;Object.defineProperty(qd,"__esModule",{value:!0}),qd.default=h,qd.unitless=qd.ignore=qd.getComputedToken=void 0;var t=e(_),n=Xt,r=e(gqe()),i=koe(),o=e(Ky()),a=e(mqe()),l=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const m=g.getDerivativeToken(d),{override:v}=p,y=l(p,["override"]);let b=Object.assign(Object.assign({},m),{override:v});return b=(0,a.default)(b),y&&Object.entries(y).forEach(C=>{let[x,S]=C;const{theme:w}=S,O=l(S,["theme"]);let $=O;w&&($=f(Object.assign(Object.assign({},b),O),{override:O},w)),b[x]=$}),b};qd.getComputedToken=f;function h(){const{token:d,hashed:p,theme:g,override:m,cssVar:v}=t.default.useContext(i.DesignTokenContext),y=`${r.default}-${p||""}`,b=g||i.defaultTheme,[C,x,S]=(0,n.useCacheToken)(b,[o.default,d],{salt:y,override:m,getComputedToken:f,formatToken:a.default,cssVar:v&&{prefix:v.prefix,key:v.key,unitless:s,ignore:u,preserve:c}});return[b,S,p?x:"",C,v]}return qd}var a1={};const Xy=cr(Jht);var EU={},NS={},dye;function gUt(){if(dye)return NS;dye=1,Object.defineProperty(NS,"__esModule",{value:!0}),NS.operationUnit=void 0;const e=t=>({color:t.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${t.motionDurationSlow}`,"&:focus, &:hover":{color:t.colorLinkHover},"&:active":{color:t.colorLinkActive}});return NS.operationUnit=e,NS}var fye;function Tn(){return fye||(fye=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),e.genLinkStyle=e.genFocusStyle=e.genFocusOutline=e.genCommonStyle=e.clearFix=void 0,Object.defineProperty(e,"operationUnit",{enumerable:!0,get:function(){return n.operationUnit}}),e.textEllipsis=e.resetIcon=e.resetComponent=void 0;var t=Xt,n=gUt();e.textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};const r=function(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:c.colorText,fontSize:c.fontSize,lineHeight:c.lineHeight,listStyle:"none",fontFamily:f?"inherit":c.fontFamily}};e.resetComponent=r;const i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});e.resetIcon=i;const o=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}});e.clearFix=o;const a=c=>({a:{color:c.colorLink,textDecoration:c.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:c.colorLinkHover},"&:active":{color:c.colorLinkActive},"&:active,\n &:hover":{textDecoration:c.linkHoverDecoration,outline:0},"&:focus":{textDecoration:c.linkFocusDecoration,outline:0},"&[disabled]":{color:c.colorTextDisabled,cursor:"not-allowed"}}});e.genLinkStyle=a;const l=(c,f,h)=>{const{fontFamily:d,fontSize:p}=c,g=`[class^="${f}"], [class*=" ${f}"]`;return{[h?`.${h}`:g]:{fontFamily:d,fontSize:p,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[g]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}};e.genCommonStyle=l;const s=c=>({outline:`${(0,t.unit)(c.lineWidthFocus)} solid ${c.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"});e.genFocusOutline=s;const u=c=>({"&:focus-visible":Object.assign({},s(c))});e.genFocusStyle=u}(EU)),EU}var AS={},kS={},$U={exports:{}},pye;function PC(){return pye||(pye=1,function(e){function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}($U)),$U.exports}var PU={exports:{}},hye;function TC(){return hye||(hye=1,function(e){var t=eqe();function n(i,o){for(var a=0;a{const o=i==="css"?n.default:t.default;return a=>new o(a)};return AS.default=r,AS}var HM={},Oye;function bUt(){if(Oye)return HM;Oye=1,Object.defineProperty(HM,"__esModule",{value:!0}),HM.default=t;var e=Xt;function t(n){return n==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var r=arguments.length,i=new Array(r),o=0;o(0,e.unit)(a)).join(",")})`},min:function(){for(var r=arguments.length,i=new Array(r),o=0;o(0,e.unit)(a)).join(",")})`}}}return HM}var Vd={},Eye;function Cqe(){if(Eye)return Vd;Eye=1,Object.defineProperty(Vd,"__esModule",{value:!0}),Vd.default=Vd._statistic_build_=void 0,Vd.merge=n,Vd.statistic=void 0;const e=typeof CSSINJS_STATISTIC<"u";let t=!0;function n(){for(var a=arguments.length,l=new Array(a),s=0;s{Object.keys(c).forEach(h=>{Object.defineProperty(u,h,{configurable:!0,enumerable:!0,get:()=>c[h]})})}),t=!0,u}const r=Vd.statistic={};Vd._statistic_build_={};function i(){}const o=a=>{let l,s=a,u=i;return e&&typeof Proxy<"u"&&(l=new Set,s=new Proxy(a,{get(c,f){return t&&l.add(f),c[f]}}),u=(c,f)=>{var h;r[c]={global:Array.from(l),component:Object.assign(Object.assign({},(h=r[c])===null||h===void 0?void 0:h.component),f)}}),{token:s,keys:l,flush:u}};return Vd.default=o,Vd}var LS={},$ye;function Sqe(){if($ye)return LS;$ye=1;var e=ze;Object.defineProperty(LS,"__esModule",{value:!0}),LS.default=void 0;var t=Xt,n=Tn(),r=e($C());const i=(o,a)=>{const[l,s]=(0,r.default)();return(0,t.useStyleRegister)({theme:l,token:s,hashId:"",path:["ant-design-icons",o],nonce:()=>a==null?void 0:a.nonce},()=>[{[`.${o}`]:Object.assign(Object.assign({},(0,n.resetIcon)()),{[`.${o} .${o}-icon`]:{display:"block"}})}])};return LS.default=i,LS}var Pye;function xqe(){if(Pye)return a1;Pye=1;var e=ze;Object.defineProperty(a1,"__esModule",{value:!0}),a1.default=g,a1.genSubStyleComponent=a1.genStyleHooks=void 0;var t=f(_),n=Xt,r=Q$(),i=Tn(),o=f($C()),a=e(bqe()),l=e(bUt()),s=f(Cqe()),u=e(Sqe());function c(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(c=function(S){return S?x:C})(b)}function f(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=c(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}const h=(b,C,x)=>{var S;return typeof x=="function"?x((0,s.merge)(C,(S=C[b])!==null&&S!==void 0?S:{})):x??{}},d=(b,C,x,S)=>{const w=Object.assign({},C[b]);if(S!=null&&S.deprecatedTokens){const{deprecatedTokens:$}=S;$.forEach(P=>{let[T,R]=P;var M;(w!=null&&w[T]||w!=null&&w[R])&&((M=w[R])!==null&&M!==void 0||(w[R]=w==null?void 0:w[T]))})}const O=Object.assign(Object.assign({},x),w);return Object.keys(O).forEach($=>{O[$]===C[$]&&delete O[$]}),O},p=(b,C)=>`${[C,b.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function g(b,C,x){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const w=Array.isArray(b)?b:[b,b],[O]=w,$=w.join("-");return function(P){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P;const[R,M,A,N,k]=(0,o.default)(),{getPrefixCls:D,iconPrefixCls:L,csp:B}=(0,t.useContext)(r.ConfigContext),j=D(),z=k?"css":"js",V=(0,a.default)(z),{max:W,min:U}=(0,l.default)(z),K={theme:R,token:N,hashId:A,nonce:()=>B==null?void 0:B.nonce,clientOnly:S.clientOnly,order:S.order||-999};return(0,n.useStyleRegister)(Object.assign(Object.assign({},K),{clientOnly:!1,path:["Shared",j]}),()=>[{"&":(0,i.genLinkStyle)(N)}]),(0,u.default)(L,B),[(0,n.useStyleRegister)(Object.assign(Object.assign({},K),{path:[$,P,L]}),()=>{if(S.injectStyle===!1)return[];const{token:G,flush:Y}=(0,s.default)(N),J=h(O,M,x),ee=`.${P}`,Q=d(O,M,J,{deprecatedTokens:S.deprecatedTokens});k&&Object.keys(J).forEach(re=>{J[re]=`var(${(0,n.token2CSSVar)(re,p(O,k.prefix))})`});const te=(0,s.merge)(G,{componentCls:ee,prefixCls:P,iconCls:`.${L}`,antCls:`.${j}`,calc:V,max:W,min:U},k?J:Q),ne=C(te,{hashId:A,prefixCls:P,rootPrefixCls:j,iconPrefixCls:L});return Y(O,Q),[S.resetStyle===!1?null:(0,i.genCommonStyle)(te,P,T),ne]}),A]}}const m=(b,C,x,S)=>{const w=g(b,C,x,Object.assign({resetStyle:!1,order:-998},S));return $=>{let{prefixCls:P,rootCls:T=P}=$;return w(P,T),null}};a1.genSubStyleComponent=m;const v=(b,C,x)=>{function S(R){return`${b}${R.slice(0,1).toUpperCase()}${R.slice(1)}`}const{unitless:w={},injectStyle:O=!0}=x??{},$={[S("zIndexPopup")]:!0};Object.keys(w).forEach(R=>{$[S(R)]=w[R]});const P=R=>{let{rootCls:M,cssVar:A}=R;const[,N]=(0,o.default)();return(0,n.useCSSVarRegister)({path:[b],prefix:A.prefix,key:A==null?void 0:A.key,unitless:Object.assign(Object.assign({},o.unitless),$),ignore:o.ignore,token:N,scope:M},()=>{const k=h(b,N,C),D=d(b,N,k,{deprecatedTokens:x==null?void 0:x.deprecatedTokens});return Object.keys(k).forEach(L=>{D[S(L)]=D[L],delete D[L]}),D}),null};return R=>{const[,,,,M]=(0,o.default)();return[A=>O&&M?t.default.createElement(t.default.Fragment,null,t.default.createElement(P,{rootCls:R,cssVar:M,component:b}),A):A,M==null?void 0:M.key]}},y=(b,C,x,S)=>{const w=g(b,C,x,S),O=v(Array.isArray(b)?b[0]:b,x,S);return function($){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$;const[,T]=w($,P),[R,M]=O(P);return[R,T,M]}};return a1.genStyleHooks=y,a1}var WM={},Tye;function CUt(){if(Tye)return WM;Tye=1,Object.defineProperty(WM,"__esModule",{value:!0}),WM.default=t;var e=joe();function t(n,r){return e.PresetColors.reduce((i,o)=>{const a=n[`${o}1`],l=n[`${o}3`],s=n[`${o}6`],u=n[`${o}7`];return Object.assign(Object.assign({},i),r(o,{lightColor:a,lightBorderColor:l,darkColor:s,textColor:u}))},{})}return WM}var Mye;function Jt(){return Mye||(Mye=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DesignTokenContext",{enumerable:!0,get:function(){return f.DesignTokenContext}}),Object.defineProperty(e,"PresetColors",{enumerable:!0,get:function(){return r.PresetColors}}),Object.defineProperty(e,"calc",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"defaultConfig",{enumerable:!0,get:function(){return f.defaultConfig}}),Object.defineProperty(e,"genComponentStyleHook",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"genPresetColor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"genStyleHooks",{enumerable:!0,get:function(){return o.genStyleHooks}}),Object.defineProperty(e,"genSubStyleComponent",{enumerable:!0,get:function(){return o.genSubStyleComponent}}),Object.defineProperty(e,"getLineHeight",{enumerable:!0,get:function(){return c.getLineHeight}}),Object.defineProperty(e,"mergeToken",{enumerable:!0,get:function(){return l.merge}}),Object.defineProperty(e,"statisticToken",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"useResetIconStyle",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useStyleRegister",{enumerable:!0,get:function(){return n.useStyleRegister}}),Object.defineProperty(e,"useToken",{enumerable:!0,get:function(){return i.default}});var n=Xt,r=joe(),i=t($C()),o=d(xqe()),a=t(CUt()),l=d(Cqe()),s=t(Sqe()),u=t(bqe()),c=dqe(),f=koe();function h(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(h=function(v){return v?m:g})(p)}function d(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=h(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}}(wU)),wU}var zS={},Rye;function SUt(){if(Rye)return zS;Rye=1,Object.defineProperty(zS,"__esModule",{value:!0}),zS.default=void 0;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=Object.assign({},e),{useId:i}=r,a=typeof i>"u"?()=>"":i;return zS.default=a,zS}var Iye;function xUt(){if(Iye)return BM;Iye=1;var e=ze;Object.defineProperty(BM,"__esModule",{value:!0}),BM.default=a;var t=e(Roe()),n=e(hqe()),r=Jt(),i=e(SUt()),o=_n();function a(l,s){var u;(0,o.devUseWarning)("ConfigProvider");const c=l||{},f=c.inherit===!1||!s?Object.assign(Object.assign({},r.defaultConfig),{hashed:(u=s==null?void 0:s.hashed)!==null&&u!==void 0?u:r.defaultConfig.hashed,cssVar:s==null?void 0:s.cssVar}):s,h=(0,i.default)();return(0,t.default)(()=>{var d,p;if(!l)return s;const g=Object.assign({},f.components);Object.keys(l.components||{}).forEach(y=>{g[y]=Object.assign(Object.assign({},g[y]),l.components[y])});const m=`css-var-${h.replace(/:/g,"")}`,v=((d=c.cssVar)!==null&&d!==void 0?d:f.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof f.cssVar=="object"?f.cssVar:{}),typeof c.cssVar=="object"?c.cssVar:{}),{key:typeof c.cssVar=="object"&&((p=c.cssVar)===null||p===void 0?void 0:p.key)||m});return Object.assign(Object.assign(Object.assign({},f),c),{token:Object.assign(Object.assign({},f.token),c.token),components:g,cssVar:v})},[c,f],(d,p)=>d.some((g,m)=>{const v=p[m];return!(0,n.default)(g,v,!0)}))}return BM}var qM={};const Ad=cr(D1t);var Nye;function _Ut(){if(Nye)return qM;Nye=1,Object.defineProperty(qM,"__esModule",{value:!0}),qM.default=o;var e=Ad,t=i(_),n=Jt();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){const{children:l}=a,[,s]=(0,n.useToken)(),{motion:u}=s,c=t.useRef(!1);return c.current=c.current||u===!1,c.current?t.createElement(e.Provider,{motion:u},l):l}return qM}var BS={},Aye;function wUt(){if(Aye)return BS;Aye=1,Object.defineProperty(BS,"__esModule",{value:!0}),BS.default=void 0,t(_),_n();function e(n){if(typeof WeakMap!="function")return null;var r=new WeakMap,i=new WeakMap;return(e=function(o){return o?i:r})(n)}function t(n,r){if(!r&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var i=e(r);if(i&&i.has(n))return i.get(n);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if(l!=="default"&&Object.prototype.hasOwnProperty.call(n,l)){var s=a?Object.getOwnPropertyDescriptor(n,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=n[l]}return o.default=n,i&&i.set(n,o),o}return BS.default=()=>null,BS}var kU={},kye;function OUt(){return kye||(kye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.useResetIconStyle}});var t=Jt()}(kU)),kU}var jye;function Lt(){return jye||(jye=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ConfigConsumer",{enumerable:!0,get:function(){return p.ConfigConsumer}}),Object.defineProperty(e,"ConfigContext",{enumerable:!0,get:function(){return p.ConfigContext}}),e.default=e.configConsumerProps=void 0,Object.defineProperty(e,"defaultIconPrefixCls",{enumerable:!0,get:function(){return p.defaultIconPrefixCls}}),e.warnContext=e.globalConfig=e.defaultPrefixCls=void 0;var n=O(_),r=Xt,i=t(Moe()),o=t(Roe()),a=nUt(),l=O(_n()),s=t(oqe()),u=O(Rl()),c=t(Noe()),f=t(_u()),h=koe(),d=t(Ky()),p=Q$(),g=uUt(),m=$a(),v=t(dUt()),y=t(xUt()),b=t(_Ut()),C=t(wUt()),x=O(cF()),S=t(OUt());function w(W){if(typeof WeakMap!="function")return null;var U=new WeakMap,K=new WeakMap;return(w=function(X){return X?K:U})(W)}function O(W,U){if(!U&&W&&W.__esModule)return W;if(W===null||typeof W!="object"&&typeof W!="function")return{default:W};var K=w(U);if(K&&K.has(W))return K.get(W);var X={__proto__:null},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in W)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(W,Y)){var J=G?Object.getOwnPropertyDescriptor(W,Y):null;J&&(J.get||J.set)?Object.defineProperty(X,Y,J):X[Y]=W[Y]}return X.default=W,K&&K.set(W,X),X}var $=function(W,U){var K={};for(var X in W)Object.prototype.hasOwnProperty.call(W,X)&&U.indexOf(X)<0&&(K[X]=W[X]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,X=Object.getOwnPropertySymbols(W);GU.endsWith("Color"))}const B=W=>{const{prefixCls:U,iconPrefixCls:K,theme:X,holderRender:G}=W;U!==void 0&&(R=U),K!==void 0&&(M=K),"holderRender"in W&&(N=G),X&&(L(X)?(0,g.registerTheme)(k(),X):A=X)},j=()=>({getPrefixCls:(W,U)=>U||(W?`${k()}-${W}`:k()),getIconPrefixCls:D,getRootPrefixCls:()=>R||k(),getTheme:()=>A,holderRender:N});e.globalConfig=j;const z=W=>{const{children:U,csp:K,autoInsertSpaceInButton:X,alert:G,anchor:Y,form:J,locale:ee,componentSize:Q,direction:te,space:ne,virtual:re,dropdownMatchSelectWidth:oe,popupMatchSelectWidth:se,popupOverflow:ye,legacyLocale:be,parentContext:he,iconPrefixCls:le,theme:ve,componentDisabled:ke,segmented:Ie,statistic:Oe,spin:Pe,calendar:_e,carousel:ce,cascader:Te,collapse:Ne,typography:je,checkbox:He,descriptions:Be,divider:qe,drawer:me,skeleton:Ee,steps:$e,image:Le,layout:Fe,list:Ke,mentions:lt,modal:ft,progress:Ye,result:we,slider:De,breadcrumb:We,menu:Ge,pagination:Je,input:bt,empty:at,badge:et,radio:rt,rate:Ze,switch:wt,transfer:ut,avatar:ot,message:dt,tag:_t,table:Ot,card:Ct,tabs:mt,timeline:It,timePicker:nt,upload:yt,notification:xt,tree:At,colorPicker:cn,datePicker:Ht,rangePicker:$t,flex:zt,wave:Qt,dropdown:Pt,warning:ct,tour:Wt}=W,wn=n.useCallback((On,En)=>{const{prefixCls:en}=W;if(En)return En;const gn=en||he.getPrefixCls("");return On?`${gn}-${On}`:gn},[he.getPrefixCls,W.prefixCls]),kt=le||he.iconPrefixCls||p.defaultIconPrefixCls,gt=K||he.csp;(0,S.default)(kt,gt);const Bt=(0,y.default)(ve,he.theme),Nn={csp:gt,autoInsertSpaceInButton:X,alert:G,anchor:Y,locale:ee||be,direction:te,space:ne,virtual:re,popupMatchSelectWidth:se??oe,popupOverflow:ye,getPrefixCls:wn,iconPrefixCls:kt,theme:Bt,segmented:Ie,statistic:Oe,spin:Pe,calendar:_e,carousel:ce,cascader:Te,collapse:Ne,typography:je,checkbox:He,descriptions:Be,divider:qe,drawer:me,skeleton:Ee,steps:$e,image:Le,input:bt,layout:Fe,list:Ke,mentions:lt,modal:ft,progress:Ye,result:we,slider:De,breadcrumb:We,menu:Ge,pagination:Je,empty:at,badge:et,radio:rt,rate:Ze,switch:wt,transfer:ut,avatar:ot,message:dt,tag:_t,table:Ot,card:Ct,tabs:mt,timeline:It,timePicker:nt,upload:yt,notification:xt,tree:At,colorPicker:cn,datePicker:Ht,rangePicker:$t,flex:zt,wave:Qt,dropdown:Pt,warning:ct,tour:Wt},Or=Object.assign({},he);Object.keys(Nn).forEach(On=>{Nn[On]!==void 0&&(Or[On]=Nn[On])}),P.forEach(On=>{const En=W[On];En&&(Or[On]=En)});const Ar=(0,o.default)(()=>Or,Or,(On,En)=>{const en=Object.keys(On),gn=Object.keys(En);return en.length!==gn.length||en.some(qn=>On[qn]!==En[qn])}),ei=n.useMemo(()=>({prefixCls:kt,csp:gt}),[kt,gt]);let ar=n.createElement(n.Fragment,null,n.createElement(C.default,{dropdownMatchSelectWidth:oe}),U);const Sn=n.useMemo(()=>{var On,En,en,gn;return(0,a.merge)(((On=f.default.Form)===null||On===void 0?void 0:On.defaultValidateMessages)||{},((en=(En=Ar.locale)===null||En===void 0?void 0:En.Form)===null||en===void 0?void 0:en.defaultValidateMessages)||{},((gn=Ar.form)===null||gn===void 0?void 0:gn.validateMessages)||{},(J==null?void 0:J.validateMessages)||{})},[Ar,J==null?void 0:J.validateMessages]);Object.keys(Sn).length>0&&(ar=n.createElement(s.default.Provider,{value:Sn},ar)),ee&&(ar=n.createElement(u.default,{locale:ee,_ANT_MARK__:u.ANT_MARK},ar)),(kt||gt)&&(ar=n.createElement(i.default.Provider,{value:ei},ar)),Q&&(ar=n.createElement(x.SizeContextProvider,{size:Q},ar)),ar=n.createElement(b.default,null,ar);const pi=n.useMemo(()=>{const On=Bt||{},{algorithm:En,token:en,components:gn,cssVar:qn}=On,yr=$(On,["algorithm","token","components","cssVar"]),mn=En&&(!Array.isArray(En)||En.length>0)?(0,r.createTheme)(En):h.defaultTheme,Zt={};Object.entries(gn||{}).forEach(Dn=>{let[Xn,ur]=Dn;const qt=Object.assign({},ur);"algorithm"in qt&&(qt.algorithm===!0?qt.theme=mn:(Array.isArray(qt.algorithm)||typeof qt.algorithm=="function")&&(qt.theme=(0,r.createTheme)(qt.algorithm)),delete qt.algorithm),Zt[Xn]=qt});const nn=Object.assign(Object.assign({},d.default),en);return Object.assign(Object.assign({},yr),{theme:mn,token:nn,components:Zt,override:Object.assign({override:nn},Zt),cssVar:qn})},[Bt]);return ve&&(ar=n.createElement(h.DesignTokenContext.Provider,{value:pi},ar)),Ar.warning&&(ar=n.createElement(l.WarningContext.Provider,{value:Ar.warning},ar)),ke!==void 0&&(ar=n.createElement(m.DisabledContextProvider,{disabled:ke},ar)),n.createElement(p.ConfigContext.Provider,{value:Ar},ar)},V=W=>{const U=n.useContext(p.ConfigContext),K=n.useContext(c.default);return n.createElement(z,Object.assign({parentContext:U,legacyLocale:K},W))};V.ConfigContext=p.ConfigContext,V.SizeContext=x.default,V.config=B,V.useConfig=v.default,Object.defineProperty(V,"SizeContext",{get:()=>x.default}),e.default=V}(vU)),vU}var vg={},Dye;function EUt(){if(Dye)return vg;Dye=1,Object.defineProperty(vg,"__esModule",{value:!0}),vg.prepareComponentToken=vg.default=void 0;var e=Jt();const t=r=>{const{componentCls:i}=r;return{[i]:{position:"fixed",zIndex:r.zIndexPopup}}},n=r=>({zIndexPopup:r.zIndexBase+10});return vg.prepareComponentToken=n,vg.default=(0,e.genStyleHooks)("Affix",t,n),vg}var Jb={},Lye;function $Ut(){if(Lye)return Jb;Lye=1,Object.defineProperty(Jb,"__esModule",{value:!0}),Jb.getFixedBottom=n,Jb.getFixedTop=t,Jb.getTargetRect=e;function e(r){return r!==window?r.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function t(r,i,o){if(o!==void 0&&Math.round(i.top)>Math.round(r.top)-o)return o+i.top}function n(r,i,o){if(o!==void 0&&Math.round(i.bottom){var g;const{style:m,offsetTop:v,offsetBottom:y,prefixCls:b,className:C,rootClassName:x,children:S,target:w,onChange:O}=d,{getPrefixCls:$,getTargetContainer:P}=t.default.useContext(a.ConfigContext),T=$("affix",b),[R,M]=t.default.useState(!1),[A,N]=t.default.useState(),[k,D]=t.default.useState(),L=t.default.useRef(f.None),B=t.default.useRef(null),j=t.default.useRef(),z=t.default.useRef(null),V=t.default.useRef(null),W=t.default.useRef(null),U=(g=w??P)!==null&&g!==void 0?g:c,K=y===void 0&&v===void 0?0:v,X=()=>{if(L.current!==f.Prepare||!V.current||!z.current||!U)return;const be=U();if(be){const he={status:f.None},le=(0,s.getTargetRect)(z.current);if(le.top===0&&le.left===0&&le.width===0&&le.height===0)return;const ve=(0,s.getTargetRect)(be),ke=(0,s.getFixedTop)(le,ve,K),Ie=(0,s.getFixedBottom)(le,ve,y);ke!==void 0?(he.affixStyle={position:"fixed",top:ke,width:le.width,height:le.height},he.placeholderStyle={width:le.width,height:le.height}):Ie!==void 0&&(he.affixStyle={position:"fixed",bottom:Ie,width:le.width,height:le.height},he.placeholderStyle={width:le.width,height:le.height}),he.lastAffix=!!he.affixStyle,R!==he.lastAffix&&(O==null||O(he.lastAffix)),L.current=he.status,N(he.affixStyle),D(he.placeholderStyle),M(he.lastAffix)}},G=()=>{L.current=f.Prepare,X()},Y=(0,o.default)(()=>{G()}),J=(0,o.default)(()=>{if(U&&A){const be=U();if(be&&z.current){const he=(0,s.getTargetRect)(be),le=(0,s.getTargetRect)(z.current),ve=(0,s.getFixedTop)(le,he,K),ke=(0,s.getFixedBottom)(le,he,y);if(ve!==void 0&&A.top===ve||ke!==void 0&&A.bottom===ke)return}}G()}),ee=()=>{const be=U==null?void 0:U();be&&(u.forEach(he=>{var le;j.current&&((le=B.current)===null||le===void 0||le.removeEventListener(he,j.current)),be==null||be.addEventListener(he,J)}),B.current=be,j.current=J)},Q=()=>{W.current&&(clearTimeout(W.current),W.current=null);const be=U==null?void 0:U();u.forEach(he=>{var le;be==null||be.removeEventListener(he,J),j.current&&((le=B.current)===null||le===void 0||le.removeEventListener(he,j.current))}),Y.cancel(),J.cancel()};t.default.useImperativeHandle(p,()=>({updatePosition:Y})),t.default.useEffect(()=>(W.current=setTimeout(ee),()=>Q()),[]),t.default.useEffect(()=>{ee()},[w,A]),t.default.useEffect(()=>{Y()},[w,v,y]);const[te,ne,re]=(0,l.default)(T),oe=(0,n.default)(x,ne,T,re),se=(0,n.default)({[oe]:A});let ye=(0,i.default)(d,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return te(t.default.createElement(r.default,{onResize:Y},t.default.createElement("div",Object.assign({style:m,className:C,ref:z},ye),A&&t.default.createElement("div",{style:k,"aria-hidden":"true"}),t.default.createElement("div",{className:se,ref:V,style:A},t.default.createElement(r.default,{onResize:Y},S)))))});return sS.default=h,sS}var FS={},HS={},VM={exports:{}},jU={},UM={},Bye;function PUt(){if(Bye)return UM;Bye=1,Object.defineProperty(UM,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};return UM.default=e,UM}var DU={},LU={},zU={},WS={},Fye;function TUt(){if(Fye)return WS;Fye=1,Object.defineProperty(WS,"__esModule",{value:!0}),WS.getShadowRoot=n,WS.inShadow=t;function e(r){var i;return r==null||(i=r.getRootNode)===null||i===void 0?void 0:i.call(r)}function t(r){return e(r)instanceof ShadowRoot}function n(r){return t(r)?e(r):null}return WS}var Hye;function Doe(){return Hye||(Hye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(w,O){for(var $ in O)Object.defineProperty(w,$,{enumerable:!0,get:O[$]})}t(e,{generate:function(){return v},getSecondaryColor:function(){return y},iconStyles:function(){return x},isIconDefinition:function(){return g},normalizeAttrs:function(){return m},normalizeTwoToneColors:function(){return b},svgBaseProps:function(){return C},useInsertStyles:function(){return S},warning:function(){return p}});var n=Nd,r=pqe(),i=TUt(),o=u(jh()),a=f(_),l=u(Moe());function s(w,O,$){return O in w?Object.defineProperty(w,O,{value:$,enumerable:!0,configurable:!0,writable:!0}):w[O]=$,w}function u(w){return w&&w.__esModule?w:{default:w}}function c(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(c=function(P){return P?$:O})(w)}function f(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=c(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}function h(w){for(var O=1;O0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(O,$){var P=w[$];switch($){case"class":O.className=P,delete O.class;break;default:delete O[$],O[d($)]=P}return O},{})}function v(w,O,$){return $?a.default.createElement(w.tag,h({key:O},m(w.attrs),$),(w.children||[]).map(function(P,T){return v(P,"".concat(O,"-").concat(w.tag,"-").concat(T))})):a.default.createElement(w.tag,h({key:O},m(w.attrs)),(w.children||[]).map(function(P,T){return v(P,"".concat(O,"-").concat(w.tag,"-").concat(T))}))}function y(w){return(0,n.generate)(w)[0]}function b(w){return w?Array.isArray(w)?w:[w]:[]}var C={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),u)}return HM}var dye;function $C(){if(dye)return qd;dye=1;var e=ze;Object.defineProperty(qd,"__esModule",{value:!0}),qd.default=h,qd.unitless=qd.ignore=qd.getComputedToken=void 0;var t=e(_),n=Xt,r=e(mqe()),i=joe(),o=e(Ky()),a=e(vqe()),l=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const m=g.getDerivativeToken(d),{override:v}=p,y=l(p,["override"]);let b=Object.assign(Object.assign({},m),{override:v});return b=(0,a.default)(b),y&&Object.entries(y).forEach(C=>{let[x,S]=C;const{theme:w}=S,O=l(S,["theme"]);let $=O;w&&($=f(Object.assign(Object.assign({},b),O),{override:O},w)),b[x]=$}),b};qd.getComputedToken=f;function h(){const{token:d,hashed:p,theme:g,override:m,cssVar:v}=t.default.useContext(i.DesignTokenContext),y=`${r.default}-${p||""}`,b=g||i.defaultTheme,[C,x,S]=(0,n.useCacheToken)(b,[o.default,d],{salt:y,override:m,getComputedToken:f,formatToken:a.default,cssVar:v&&{prefix:v.prefix,key:v.key,unitless:s,ignore:u,preserve:c}});return[b,S,p?x:"",C,v]}return qd}var a1={};const Xy=gr(Jht);var $U={},AS={},fye;function hUt(){if(fye)return AS;fye=1,Object.defineProperty(AS,"__esModule",{value:!0}),AS.operationUnit=void 0;const e=t=>({color:t.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${t.motionDurationSlow}`,"&:focus, &:hover":{color:t.colorLinkHover},"&:active":{color:t.colorLinkActive}});return AS.operationUnit=e,AS}var pye;function Tn(){return pye||(pye=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),e.genLinkStyle=e.genFocusStyle=e.genFocusOutline=e.genCommonStyle=e.clearFix=void 0,Object.defineProperty(e,"operationUnit",{enumerable:!0,get:function(){return n.operationUnit}}),e.textEllipsis=e.resetIcon=e.resetComponent=void 0;var t=Xt,n=hUt();e.textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};const r=function(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:c.colorText,fontSize:c.fontSize,lineHeight:c.lineHeight,listStyle:"none",fontFamily:f?"inherit":c.fontFamily}};e.resetComponent=r;const i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});e.resetIcon=i;const o=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}});e.clearFix=o;const a=c=>({a:{color:c.colorLink,textDecoration:c.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:c.colorLinkHover},"&:active":{color:c.colorLinkActive},"&:active,\n &:hover":{textDecoration:c.linkHoverDecoration,outline:0},"&:focus":{textDecoration:c.linkFocusDecoration,outline:0},"&[disabled]":{color:c.colorTextDisabled,cursor:"not-allowed"}}});e.genLinkStyle=a;const l=(c,f,h)=>{const{fontFamily:d,fontSize:p}=c,g=`[class^="${f}"], [class*=" ${f}"]`;return{[h?`.${h}`:g]:{fontFamily:d,fontSize:p,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[g]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}};e.genCommonStyle=l;const s=c=>({outline:`${(0,t.unit)(c.lineWidthFocus)} solid ${c.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"});e.genFocusOutline=s;const u=c=>({"&:focus-visible":Object.assign({},s(c))});e.genFocusStyle=u}($U)),$U}var kS={},jS={},PU={exports:{}},hye;function PC(){return hye||(hye=1,function(e){function t(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(PU)),PU.exports}var TU={exports:{}},gye;function TC(){return gye||(gye=1,function(e){var t=tqe();function n(i,o){for(var a=0;a{const o=i==="css"?n.default:t.default;return a=>new o(a)};return kS.default=r,kS}var WM={},Eye;function yUt(){if(Eye)return WM;Eye=1,Object.defineProperty(WM,"__esModule",{value:!0}),WM.default=t;var e=Xt;function t(n){return n==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var r=arguments.length,i=new Array(r),o=0;o(0,e.unit)(a)).join(",")})`},min:function(){for(var r=arguments.length,i=new Array(r),o=0;o(0,e.unit)(a)).join(",")})`}}}return WM}var Vd={},$ye;function Sqe(){if($ye)return Vd;$ye=1,Object.defineProperty(Vd,"__esModule",{value:!0}),Vd.default=Vd._statistic_build_=void 0,Vd.merge=n,Vd.statistic=void 0;const e=typeof CSSINJS_STATISTIC<"u";let t=!0;function n(){for(var a=arguments.length,l=new Array(a),s=0;s{Object.keys(c).forEach(h=>{Object.defineProperty(u,h,{configurable:!0,enumerable:!0,get:()=>c[h]})})}),t=!0,u}const r=Vd.statistic={};Vd._statistic_build_={};function i(){}const o=a=>{let l,s=a,u=i;return e&&typeof Proxy<"u"&&(l=new Set,s=new Proxy(a,{get(c,f){return t&&l.add(f),c[f]}}),u=(c,f)=>{var h;r[c]={global:Array.from(l),component:Object.assign(Object.assign({},(h=r[c])===null||h===void 0?void 0:h.component),f)}}),{token:s,keys:l,flush:u}};return Vd.default=o,Vd}var zS={},Pye;function xqe(){if(Pye)return zS;Pye=1;var e=ze;Object.defineProperty(zS,"__esModule",{value:!0}),zS.default=void 0;var t=Xt,n=Tn(),r=e($C());const i=(o,a)=>{const[l,s]=(0,r.default)();return(0,t.useStyleRegister)({theme:l,token:s,hashId:"",path:["ant-design-icons",o],nonce:()=>a==null?void 0:a.nonce},()=>[{[`.${o}`]:Object.assign(Object.assign({},(0,n.resetIcon)()),{[`.${o} .${o}-icon`]:{display:"block"}})}])};return zS.default=i,zS}var Tye;function _qe(){if(Tye)return a1;Tye=1;var e=ze;Object.defineProperty(a1,"__esModule",{value:!0}),a1.default=g,a1.genSubStyleComponent=a1.genStyleHooks=void 0;var t=f(_),n=Xt,r=J$(),i=Tn(),o=f($C()),a=e(Cqe()),l=e(yUt()),s=f(Sqe()),u=e(xqe());function c(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(c=function(S){return S?x:C})(b)}function f(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=c(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}const h=(b,C,x)=>{var S;return typeof x=="function"?x((0,s.merge)(C,(S=C[b])!==null&&S!==void 0?S:{})):x??{}},d=(b,C,x,S)=>{const w=Object.assign({},C[b]);if(S!=null&&S.deprecatedTokens){const{deprecatedTokens:$}=S;$.forEach(P=>{let[T,R]=P;var M;(w!=null&&w[T]||w!=null&&w[R])&&((M=w[R])!==null&&M!==void 0||(w[R]=w==null?void 0:w[T]))})}const O=Object.assign(Object.assign({},x),w);return Object.keys(O).forEach($=>{O[$]===C[$]&&delete O[$]}),O},p=(b,C)=>`${[C,b.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function g(b,C,x){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const w=Array.isArray(b)?b:[b,b],[O]=w,$=w.join("-");return function(P){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P;const[R,M,A,N,j]=(0,o.default)(),{getPrefixCls:D,iconPrefixCls:L,csp:B}=(0,t.useContext)(r.ConfigContext),k=D(),z=j?"css":"js",q=(0,a.default)(z),{max:W,min:U}=(0,l.default)(z),K={theme:R,token:N,hashId:A,nonce:()=>B==null?void 0:B.nonce,clientOnly:S.clientOnly,order:S.order||-999};return(0,n.useStyleRegister)(Object.assign(Object.assign({},K),{clientOnly:!1,path:["Shared",k]}),()=>[{"&":(0,i.genLinkStyle)(N)}]),(0,u.default)(L,B),[(0,n.useStyleRegister)(Object.assign(Object.assign({},K),{path:[$,P,L]}),()=>{if(S.injectStyle===!1)return[];const{token:G,flush:Y}=(0,s.default)(N),J=h(O,M,x),ee=`.${P}`,Q=d(O,M,J,{deprecatedTokens:S.deprecatedTokens});j&&Object.keys(J).forEach(re=>{J[re]=`var(${(0,n.token2CSSVar)(re,p(O,j.prefix))})`});const te=(0,s.merge)(G,{componentCls:ee,prefixCls:P,iconCls:`.${L}`,antCls:`.${k}`,calc:q,max:W,min:U},j?J:Q),ne=C(te,{hashId:A,prefixCls:P,rootPrefixCls:k,iconPrefixCls:L});return Y(O,Q),[S.resetStyle===!1?null:(0,i.genCommonStyle)(te,P,T),ne]}),A]}}const m=(b,C,x,S)=>{const w=g(b,C,x,Object.assign({resetStyle:!1,order:-998},S));return $=>{let{prefixCls:P,rootCls:T=P}=$;return w(P,T),null}};a1.genSubStyleComponent=m;const v=(b,C,x)=>{function S(R){return`${b}${R.slice(0,1).toUpperCase()}${R.slice(1)}`}const{unitless:w={},injectStyle:O=!0}=x??{},$={[S("zIndexPopup")]:!0};Object.keys(w).forEach(R=>{$[S(R)]=w[R]});const P=R=>{let{rootCls:M,cssVar:A}=R;const[,N]=(0,o.default)();return(0,n.useCSSVarRegister)({path:[b],prefix:A.prefix,key:A==null?void 0:A.key,unitless:Object.assign(Object.assign({},o.unitless),$),ignore:o.ignore,token:N,scope:M},()=>{const j=h(b,N,C),D=d(b,N,j,{deprecatedTokens:x==null?void 0:x.deprecatedTokens});return Object.keys(j).forEach(L=>{D[S(L)]=D[L],delete D[L]}),D}),null};return R=>{const[,,,,M]=(0,o.default)();return[A=>O&&M?t.default.createElement(t.default.Fragment,null,t.default.createElement(P,{rootCls:R,cssVar:M,component:b}),A):A,M==null?void 0:M.key]}},y=(b,C,x,S)=>{const w=g(b,C,x,S),O=v(Array.isArray(b)?b[0]:b,x,S);return function($){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$;const[,T]=w($,P),[R,M]=O(P);return[R,T,M]}};return a1.genStyleHooks=y,a1}var qM={},Mye;function bUt(){if(Mye)return qM;Mye=1,Object.defineProperty(qM,"__esModule",{value:!0}),qM.default=t;var e=Doe();function t(n,r){return e.PresetColors.reduce((i,o)=>{const a=n[`${o}1`],l=n[`${o}3`],s=n[`${o}6`],u=n[`${o}7`];return Object.assign(Object.assign({},i),r(o,{lightColor:a,lightBorderColor:l,darkColor:s,textColor:u}))},{})}return qM}var Rye;function Jt(){return Rye||(Rye=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DesignTokenContext",{enumerable:!0,get:function(){return f.DesignTokenContext}}),Object.defineProperty(e,"PresetColors",{enumerable:!0,get:function(){return r.PresetColors}}),Object.defineProperty(e,"calc",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"defaultConfig",{enumerable:!0,get:function(){return f.defaultConfig}}),Object.defineProperty(e,"genComponentStyleHook",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"genPresetColor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"genStyleHooks",{enumerable:!0,get:function(){return o.genStyleHooks}}),Object.defineProperty(e,"genSubStyleComponent",{enumerable:!0,get:function(){return o.genSubStyleComponent}}),Object.defineProperty(e,"getLineHeight",{enumerable:!0,get:function(){return c.getLineHeight}}),Object.defineProperty(e,"mergeToken",{enumerable:!0,get:function(){return l.merge}}),Object.defineProperty(e,"statisticToken",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"useResetIconStyle",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"useStyleRegister",{enumerable:!0,get:function(){return n.useStyleRegister}}),Object.defineProperty(e,"useToken",{enumerable:!0,get:function(){return i.default}});var n=Xt,r=Doe(),i=t($C()),o=d(_qe()),a=t(bUt()),l=d(Sqe()),s=t(xqe()),u=t(Cqe()),c=fqe(),f=joe();function h(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(h=function(v){return v?m:g})(p)}function d(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=h(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}}(OU)),OU}var BS={},Iye;function CUt(){if(Iye)return BS;Iye=1,Object.defineProperty(BS,"__esModule",{value:!0}),BS.default=void 0;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=Object.assign({},e),{useId:i}=r,a=typeof i>"u"?()=>"":i;return BS.default=a,BS}var Nye;function SUt(){if(Nye)return FM;Nye=1;var e=ze;Object.defineProperty(FM,"__esModule",{value:!0}),FM.default=a;var t=e(Ioe()),n=e(gqe()),r=Jt(),i=e(CUt()),o=_n();function a(l,s){var u;(0,o.devUseWarning)("ConfigProvider");const c=l||{},f=c.inherit===!1||!s?Object.assign(Object.assign({},r.defaultConfig),{hashed:(u=s==null?void 0:s.hashed)!==null&&u!==void 0?u:r.defaultConfig.hashed,cssVar:s==null?void 0:s.cssVar}):s,h=(0,i.default)();return(0,t.default)(()=>{var d,p;if(!l)return s;const g=Object.assign({},f.components);Object.keys(l.components||{}).forEach(y=>{g[y]=Object.assign(Object.assign({},g[y]),l.components[y])});const m=`css-var-${h.replace(/:/g,"")}`,v=((d=c.cssVar)!==null&&d!==void 0?d:f.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof f.cssVar=="object"?f.cssVar:{}),typeof c.cssVar=="object"?c.cssVar:{}),{key:typeof c.cssVar=="object"&&((p=c.cssVar)===null||p===void 0?void 0:p.key)||m});return Object.assign(Object.assign(Object.assign({},f),c),{token:Object.assign(Object.assign({},f.token),c.token),components:g,cssVar:v})},[c,f],(d,p)=>d.some((g,m)=>{const v=p[m];return!(0,n.default)(g,v,!0)}))}return FM}var VM={};const Ad=gr(D1t);var Aye;function xUt(){if(Aye)return VM;Aye=1,Object.defineProperty(VM,"__esModule",{value:!0}),VM.default=o;var e=Ad,t=i(_),n=Jt();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){const{children:l}=a,[,s]=(0,n.useToken)(),{motion:u}=s,c=t.useRef(!1);return c.current=c.current||u===!1,c.current?t.createElement(e.Provider,{motion:u},l):l}return VM}var FS={},kye;function _Ut(){if(kye)return FS;kye=1,Object.defineProperty(FS,"__esModule",{value:!0}),FS.default=void 0,t(_),_n();function e(n){if(typeof WeakMap!="function")return null;var r=new WeakMap,i=new WeakMap;return(e=function(o){return o?i:r})(n)}function t(n,r){if(!r&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var i=e(r);if(i&&i.has(n))return i.get(n);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if(l!=="default"&&Object.prototype.hasOwnProperty.call(n,l)){var s=a?Object.getOwnPropertyDescriptor(n,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=n[l]}return o.default=n,i&&i.set(n,o),o}return FS.default=()=>null,FS}var jU={},jye;function wUt(){return jye||(jye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.useResetIconStyle}});var t=Jt()}(jU)),jU}var Dye;function Lt(){return Dye||(Dye=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ConfigConsumer",{enumerable:!0,get:function(){return p.ConfigConsumer}}),Object.defineProperty(e,"ConfigContext",{enumerable:!0,get:function(){return p.ConfigContext}}),e.default=e.configConsumerProps=void 0,Object.defineProperty(e,"defaultIconPrefixCls",{enumerable:!0,get:function(){return p.defaultIconPrefixCls}}),e.warnContext=e.globalConfig=e.defaultPrefixCls=void 0;var n=O(_),r=Xt,i=t(Roe()),o=t(Ioe()),a=tUt(),l=O(_n()),s=t(aqe()),u=O(Rl()),c=t(Aoe()),f=t(_u()),h=joe(),d=t(Ky()),p=J$(),g=cUt(),m=$a(),v=t(uUt()),y=t(SUt()),b=t(xUt()),C=t(_Ut()),x=O(uF()),S=t(wUt());function w(W){if(typeof WeakMap!="function")return null;var U=new WeakMap,K=new WeakMap;return(w=function(X){return X?K:U})(W)}function O(W,U){if(!U&&W&&W.__esModule)return W;if(W===null||typeof W!="object"&&typeof W!="function")return{default:W};var K=w(U);if(K&&K.has(W))return K.get(W);var X={__proto__:null},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in W)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(W,Y)){var J=G?Object.getOwnPropertyDescriptor(W,Y):null;J&&(J.get||J.set)?Object.defineProperty(X,Y,J):X[Y]=W[Y]}return X.default=W,K&&K.set(W,X),X}var $=function(W,U){var K={};for(var X in W)Object.prototype.hasOwnProperty.call(W,X)&&U.indexOf(X)<0&&(K[X]=W[X]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,X=Object.getOwnPropertySymbols(W);GU.endsWith("Color"))}const B=W=>{const{prefixCls:U,iconPrefixCls:K,theme:X,holderRender:G}=W;U!==void 0&&(R=U),K!==void 0&&(M=K),"holderRender"in W&&(N=G),X&&(L(X)?(0,g.registerTheme)(j(),X):A=X)},k=()=>({getPrefixCls:(W,U)=>U||(W?`${j()}-${W}`:j()),getIconPrefixCls:D,getRootPrefixCls:()=>R||j(),getTheme:()=>A,holderRender:N});e.globalConfig=k;const z=W=>{const{children:U,csp:K,autoInsertSpaceInButton:X,alert:G,anchor:Y,form:J,locale:ee,componentSize:Q,direction:te,space:ne,virtual:re,dropdownMatchSelectWidth:oe,popupMatchSelectWidth:se,popupOverflow:ye,legacyLocale:be,parentContext:he,iconPrefixCls:le,theme:ve,componentDisabled:ke,segmented:Ie,statistic:Oe,spin:Pe,calendar:_e,carousel:ce,cascader:Te,collapse:Ne,typography:je,checkbox:He,descriptions:Be,divider:qe,drawer:me,skeleton:Ee,steps:$e,image:Le,layout:Fe,list:Ke,mentions:lt,modal:ft,progress:Ye,result:we,slider:De,breadcrumb:We,menu:Ge,pagination:Je,input:bt,empty:at,badge:et,radio:rt,rate:Ze,switch:wt,transfer:ut,avatar:ot,message:dt,tag:_t,table:Ot,card:Ct,tabs:mt,timeline:It,timePicker:nt,upload:yt,notification:xt,tree:At,colorPicker:cn,datePicker:Ht,rangePicker:$t,flex:zt,wave:Qt,dropdown:Pt,warning:ct,tour:Wt}=W,wn=n.useCallback((On,En)=>{const{prefixCls:en}=W;if(En)return En;const gn=en||he.getPrefixCls("");return On?`${gn}-${On}`:gn},[he.getPrefixCls,W.prefixCls]),kt=le||he.iconPrefixCls||p.defaultIconPrefixCls,gt=K||he.csp;(0,S.default)(kt,gt);const Bt=(0,y.default)(ve,he.theme),Nn={csp:gt,autoInsertSpaceInButton:X,alert:G,anchor:Y,locale:ee||be,direction:te,space:ne,virtual:re,popupMatchSelectWidth:se??oe,popupOverflow:ye,getPrefixCls:wn,iconPrefixCls:kt,theme:Bt,segmented:Ie,statistic:Oe,spin:Pe,calendar:_e,carousel:ce,cascader:Te,collapse:Ne,typography:je,checkbox:He,descriptions:Be,divider:qe,drawer:me,skeleton:Ee,steps:$e,image:Le,input:bt,layout:Fe,list:Ke,mentions:lt,modal:ft,progress:Ye,result:we,slider:De,breadcrumb:We,menu:Ge,pagination:Je,empty:at,badge:et,radio:rt,rate:Ze,switch:wt,transfer:ut,avatar:ot,message:dt,tag:_t,table:Ot,card:Ct,tabs:mt,timeline:It,timePicker:nt,upload:yt,notification:xt,tree:At,colorPicker:cn,datePicker:Ht,rangePicker:$t,flex:zt,wave:Qt,dropdown:Pt,warning:ct,tour:Wt},Or=Object.assign({},he);Object.keys(Nn).forEach(On=>{Nn[On]!==void 0&&(Or[On]=Nn[On])}),P.forEach(On=>{const En=W[On];En&&(Or[On]=En)});const Ar=(0,o.default)(()=>Or,Or,(On,En)=>{const en=Object.keys(On),gn=Object.keys(En);return en.length!==gn.length||en.some(qn=>On[qn]!==En[qn])}),ei=n.useMemo(()=>({prefixCls:kt,csp:gt}),[kt,gt]);let ar=n.createElement(n.Fragment,null,n.createElement(C.default,{dropdownMatchSelectWidth:oe}),U);const Sn=n.useMemo(()=>{var On,En,en,gn;return(0,a.merge)(((On=f.default.Form)===null||On===void 0?void 0:On.defaultValidateMessages)||{},((en=(En=Ar.locale)===null||En===void 0?void 0:En.Form)===null||en===void 0?void 0:en.defaultValidateMessages)||{},((gn=Ar.form)===null||gn===void 0?void 0:gn.validateMessages)||{},(J==null?void 0:J.validateMessages)||{})},[Ar,J==null?void 0:J.validateMessages]);Object.keys(Sn).length>0&&(ar=n.createElement(s.default.Provider,{value:Sn},ar)),ee&&(ar=n.createElement(u.default,{locale:ee,_ANT_MARK__:u.ANT_MARK},ar)),(kt||gt)&&(ar=n.createElement(i.default.Provider,{value:ei},ar)),Q&&(ar=n.createElement(x.SizeContextProvider,{size:Q},ar)),ar=n.createElement(b.default,null,ar);const pi=n.useMemo(()=>{const On=Bt||{},{algorithm:En,token:en,components:gn,cssVar:qn}=On,yr=$(On,["algorithm","token","components","cssVar"]),mn=En&&(!Array.isArray(En)||En.length>0)?(0,r.createTheme)(En):h.defaultTheme,Zt={};Object.entries(gn||{}).forEach(Dn=>{let[Xn,cr]=Dn;const qt=Object.assign({},cr);"algorithm"in qt&&(qt.algorithm===!0?qt.theme=mn:(Array.isArray(qt.algorithm)||typeof qt.algorithm=="function")&&(qt.theme=(0,r.createTheme)(qt.algorithm)),delete qt.algorithm),Zt[Xn]=qt});const nn=Object.assign(Object.assign({},d.default),en);return Object.assign(Object.assign({},yr),{theme:mn,token:nn,components:Zt,override:Object.assign({override:nn},Zt),cssVar:qn})},[Bt]);return ve&&(ar=n.createElement(h.DesignTokenContext.Provider,{value:pi},ar)),Ar.warning&&(ar=n.createElement(l.WarningContext.Provider,{value:Ar.warning},ar)),ke!==void 0&&(ar=n.createElement(m.DisabledContextProvider,{disabled:ke},ar)),n.createElement(p.ConfigContext.Provider,{value:Ar},ar)},q=W=>{const U=n.useContext(p.ConfigContext),K=n.useContext(c.default);return n.createElement(z,Object.assign({parentContext:U,legacyLocale:K},W))};q.ConfigContext=p.ConfigContext,q.SizeContext=x.default,q.config=B,q.useConfig=v.default,Object.defineProperty(q,"SizeContext",{get:()=>x.default}),e.default=q}(yU)),yU}var vg={},Lye;function OUt(){if(Lye)return vg;Lye=1,Object.defineProperty(vg,"__esModule",{value:!0}),vg.prepareComponentToken=vg.default=void 0;var e=Jt();const t=r=>{const{componentCls:i}=r;return{[i]:{position:"fixed",zIndex:r.zIndexPopup}}},n=r=>({zIndexPopup:r.zIndexBase+10});return vg.prepareComponentToken=n,vg.default=(0,e.genStyleHooks)("Affix",t,n),vg}var Jb={},zye;function EUt(){if(zye)return Jb;zye=1,Object.defineProperty(Jb,"__esModule",{value:!0}),Jb.getFixedBottom=n,Jb.getFixedTop=t,Jb.getTargetRect=e;function e(r){return r!==window?r.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function t(r,i,o){if(o!==void 0&&Math.round(i.top)>Math.round(r.top)-o)return o+i.top}function n(r,i,o){if(o!==void 0&&Math.round(i.bottom){var g;const{style:m,offsetTop:v,offsetBottom:y,prefixCls:b,className:C,rootClassName:x,children:S,target:w,onChange:O}=d,{getPrefixCls:$,getTargetContainer:P}=t.default.useContext(a.ConfigContext),T=$("affix",b),[R,M]=t.default.useState(!1),[A,N]=t.default.useState(),[j,D]=t.default.useState(),L=t.default.useRef(f.None),B=t.default.useRef(null),k=t.default.useRef(),z=t.default.useRef(null),q=t.default.useRef(null),W=t.default.useRef(null),U=(g=w??P)!==null&&g!==void 0?g:c,K=y===void 0&&v===void 0?0:v,X=()=>{if(L.current!==f.Prepare||!q.current||!z.current||!U)return;const be=U();if(be){const he={status:f.None},le=(0,s.getTargetRect)(z.current);if(le.top===0&&le.left===0&&le.width===0&&le.height===0)return;const ve=(0,s.getTargetRect)(be),ke=(0,s.getFixedTop)(le,ve,K),Ie=(0,s.getFixedBottom)(le,ve,y);ke!==void 0?(he.affixStyle={position:"fixed",top:ke,width:le.width,height:le.height},he.placeholderStyle={width:le.width,height:le.height}):Ie!==void 0&&(he.affixStyle={position:"fixed",bottom:Ie,width:le.width,height:le.height},he.placeholderStyle={width:le.width,height:le.height}),he.lastAffix=!!he.affixStyle,R!==he.lastAffix&&(O==null||O(he.lastAffix)),L.current=he.status,N(he.affixStyle),D(he.placeholderStyle),M(he.lastAffix)}},G=()=>{L.current=f.Prepare,X()},Y=(0,o.default)(()=>{G()}),J=(0,o.default)(()=>{if(U&&A){const be=U();if(be&&z.current){const he=(0,s.getTargetRect)(be),le=(0,s.getTargetRect)(z.current),ve=(0,s.getFixedTop)(le,he,K),ke=(0,s.getFixedBottom)(le,he,y);if(ve!==void 0&&A.top===ve||ke!==void 0&&A.bottom===ke)return}}G()}),ee=()=>{const be=U==null?void 0:U();be&&(u.forEach(he=>{var le;k.current&&((le=B.current)===null||le===void 0||le.removeEventListener(he,k.current)),be==null||be.addEventListener(he,J)}),B.current=be,k.current=J)},Q=()=>{W.current&&(clearTimeout(W.current),W.current=null);const be=U==null?void 0:U();u.forEach(he=>{var le;be==null||be.removeEventListener(he,J),k.current&&((le=B.current)===null||le===void 0||le.removeEventListener(he,k.current))}),Y.cancel(),J.cancel()};t.default.useImperativeHandle(p,()=>({updatePosition:Y})),t.default.useEffect(()=>(W.current=setTimeout(ee),()=>Q()),[]),t.default.useEffect(()=>{ee()},[w,A]),t.default.useEffect(()=>{Y()},[w,v,y]);const[te,ne,re]=(0,l.default)(T),oe=(0,n.default)(x,ne,T,re),se=(0,n.default)({[oe]:A});let ye=(0,i.default)(d,["prefixCls","offsetTop","offsetBottom","target","onChange","rootClassName"]);return te(t.default.createElement(r.default,{onResize:Y},t.default.createElement("div",Object.assign({style:m,className:C,ref:z},ye),A&&t.default.createElement("div",{style:j,"aria-hidden":"true"}),t.default.createElement("div",{className:se,ref:q,style:A},t.default.createElement(r.default,{onResize:Y},S)))))});return cS.default=h,cS}var HS={},WS={},UM={exports:{}},DU={},GM={},Fye;function $Ut(){if(Fye)return GM;Fye=1,Object.defineProperty(GM,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};return GM.default=e,GM}var LU={},zU={},BU={},qS={},Hye;function PUt(){if(Hye)return qS;Hye=1,Object.defineProperty(qS,"__esModule",{value:!0}),qS.getShadowRoot=n,qS.inShadow=t;function e(r){var i;return r==null||(i=r.getRootNode)===null||i===void 0?void 0:i.call(r)}function t(r){return e(r)instanceof ShadowRoot}function n(r){return t(r)?e(r):null}return qS}var Wye;function Loe(){return Wye||(Wye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(w,O){for(var $ in O)Object.defineProperty(w,$,{enumerable:!0,get:O[$]})}t(e,{generate:function(){return v},getSecondaryColor:function(){return y},iconStyles:function(){return x},isIconDefinition:function(){return g},normalizeAttrs:function(){return m},normalizeTwoToneColors:function(){return b},svgBaseProps:function(){return C},useInsertStyles:function(){return S},warning:function(){return p}});var n=Nd,r=hqe(),i=PUt(),o=u(jh()),a=f(_),l=u(Roe());function s(w,O,$){return O in w?Object.defineProperty(w,O,{value:$,enumerable:!0,configurable:!0,writable:!0}):w[O]=$,w}function u(w){return w&&w.__esModule?w:{default:w}}function c(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(c=function(P){return P?$:O})(w)}function f(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=c(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}function h(w){for(var O=1;O0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(O,$){var P=w[$];switch($){case"class":O.className=P,delete O.class;break;default:delete O[$],O[d($)]=P}return O},{})}function v(w,O,$){return $?a.default.createElement(w.tag,h({key:O},m(w.attrs),$),(w.children||[]).map(function(P,T){return v(P,"".concat(O,"-").concat(w.tag,"-").concat(T))})):a.default.createElement(w.tag,h({key:O},m(w.attrs)),(w.children||[]).map(function(P,T){return v(P,"".concat(O,"-").concat(w.tag,"-").concat(T))}))}function y(w){return(0,n.generate)(w)[0]}function b(w){return w?Array.isArray(w)?w:[w]:[]}var C={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x=` .anticon { display: inline-block; color: inherit; @@ -623,7 +623,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,S=function(w){var O=(0,a.useContext)(l.default),$=O.csp,P=O.prefixCls,T=x;P&&(T=T.replace(/anticon/g,P)),(0,a.useEffect)(function(){var R=w.current,M=(0,i.getShadowRoot)(R);(0,r.updateCSS)(T,"@ant-design-icons",{prepend:!0,csp:$,attachTo:M})},[])}}(zU)),zU}var Wye;function wqe(){return Wye||(Wye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return g}});var t=o(_),n=Doe();function r(m,v,y){return v in m?Object.defineProperty(m,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):m[v]=y,m}function i(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(i=function(b){return b?y:v})(m)}function o(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=i(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}function a(m){for(var v=1;v=0)&&Object.prototype.propertyIsEnumerable.call(m,b)&&(y[b]=m[b])}return y}function c(m,v){if(m==null)return{};var y={},b=Object.keys(m),C,x;for(x=0;x=0)&&(y[C]=m[C]);return y}var f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function h(m){var v=m.primaryColor,y=m.secondaryColor;f.primaryColor=v,f.secondaryColor=y||(0,n.getSecondaryColor)(v),f.calculated=!!y}function d(){return a({},f)}var p=function(m){var v=m.icon,y=m.className,b=m.onClick,C=m.style,x=m.primaryColor,S=m.secondaryColor,w=u(m,["icon","className","onClick","style","primaryColor","secondaryColor"]),O=t.useRef(),$=f;if(x&&($={primaryColor:x,secondaryColor:S||(0,n.getSecondaryColor)(x)}),(0,n.useInsertStyles)(O),(0,n.warning)((0,n.isIconDefinition)(v),"icon should be icon definiton, but got ".concat(v)),!(0,n.isIconDefinition)(v))return null;var P=v;return P&&typeof P.icon=="function"&&(P=s(a({},P),{icon:P.icon($.primaryColor,$.secondaryColor)})),(0,n.generate)(P.icon,"svg-".concat(P.name),s(a({className:y,onClick:b,style:C,"data-icon":P.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},w),{ref:O}))};p.displayName="IconReact",p.getTwoToneColors=d,p.setTwoToneColors=h;var g=p}(LU)),LU}var BU={},qye;function MUt(){return qye||(qye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,p){for(var g in p)Object.defineProperty(d,g,{enumerable:!0,get:p[g]})}t(e,{getTwoToneColor:function(){return h},setTwoToneColor:function(){return f}});var n=a(wqe()),r=Doe();function i(d,p){(p==null||p>d.length)&&(p=d.length);for(var g=0,m=new Array(p);g$.length)&&(P=$.length);for(var T=0,R=new Array(P);T=0)&&Object.prototype.propertyIsEnumerable.call($,R)&&(T[R]=$[R])}return T}function C($,P){if($==null)return{};var T={},R=Object.keys($),M,A;for(A=0;A=0)&&(T[M]=$[M]);return T}function x($,P){return u($)||p($,P)||S($,P)||g()}function S($,P){if($){if(typeof $=="string")return s($,P);var T=Object.prototype.toString.call($).slice(8,-1);if(T==="Object"&&$.constructor&&(T=$.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return s($,P)}}(0,a.setTwoToneColor)(r.blue.primary);var w=t.forwardRef(function($,P){var T=$.className,R=$.icon,M=$.spin,A=$.rotate,N=$.tabIndex,k=$.onClick,D=$.twoToneColor,L=b($,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),B=t.useContext(i.default),j=B.prefixCls,z=j===void 0?"anticon":j,V=B.rootClassName,W,U=(0,n.default)(V,z,(W={},c(W,"".concat(z,"-").concat(R.name),!!R.name),c(W,"".concat(z,"-spin"),!!M||R.name==="loading"),W),T),K=N;K===void 0&&k&&(K=-1);var X=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,G=x((0,l.normalizeTwoToneColors)(D),2),Y=G[0],J=G[1];return t.createElement("span",y(m({role:"img","aria-label":R.name},L),{ref:P,tabIndex:K,onClick:k,className:U}),t.createElement(o.default,{icon:R,primaryColor:Y,secondaryColor:J,style:X}))});w.displayName="AntdIcon",w.getTwoToneColor=a.getTwoToneColor,w.setTwoToneColor=a.setTwoToneColor;var O=w}(DU)),DU}var Uye;function RUt(){return Uye||(Uye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(PUt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p=0)&&Object.prototype.propertyIsEnumerable.call(m,b)&&(y[b]=m[b])}return y}function c(m,v){if(m==null)return{};var y={},b=Object.keys(m),C,x;for(x=0;x=0)&&(y[C]=m[C]);return y}var f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function h(m){var v=m.primaryColor,y=m.secondaryColor;f.primaryColor=v,f.secondaryColor=y||(0,n.getSecondaryColor)(v),f.calculated=!!y}function d(){return a({},f)}var p=function(m){var v=m.icon,y=m.className,b=m.onClick,C=m.style,x=m.primaryColor,S=m.secondaryColor,w=u(m,["icon","className","onClick","style","primaryColor","secondaryColor"]),O=t.useRef(),$=f;if(x&&($={primaryColor:x,secondaryColor:S||(0,n.getSecondaryColor)(x)}),(0,n.useInsertStyles)(O),(0,n.warning)((0,n.isIconDefinition)(v),"icon should be icon definiton, but got ".concat(v)),!(0,n.isIconDefinition)(v))return null;var P=v;return P&&typeof P.icon=="function"&&(P=s(a({},P),{icon:P.icon($.primaryColor,$.secondaryColor)})),(0,n.generate)(P.icon,"svg-".concat(P.name),s(a({className:y,onClick:b,style:C,"data-icon":P.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},w),{ref:O}))};p.displayName="IconReact",p.getTwoToneColors=d,p.setTwoToneColors=h;var g=p}(zU)),zU}var FU={},Vye;function TUt(){return Vye||(Vye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(d,p){for(var g in p)Object.defineProperty(d,g,{enumerable:!0,get:p[g]})}t(e,{getTwoToneColor:function(){return h},setTwoToneColor:function(){return f}});var n=a(Oqe()),r=Loe();function i(d,p){(p==null||p>d.length)&&(p=d.length);for(var g=0,m=new Array(p);g$.length)&&(P=$.length);for(var T=0,R=new Array(P);T=0)&&Object.prototype.propertyIsEnumerable.call($,R)&&(T[R]=$[R])}return T}function C($,P){if($==null)return{};var T={},R=Object.keys($),M,A;for(A=0;A=0)&&(T[M]=$[M]);return T}function x($,P){return u($)||p($,P)||S($,P)||g()}function S($,P){if($){if(typeof $=="string")return s($,P);var T=Object.prototype.toString.call($).slice(8,-1);if(T==="Object"&&$.constructor&&(T=$.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return s($,P)}}(0,a.setTwoToneColor)(r.blue.primary);var w=t.forwardRef(function($,P){var T=$.className,R=$.icon,M=$.spin,A=$.rotate,N=$.tabIndex,j=$.onClick,D=$.twoToneColor,L=b($,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),B=t.useContext(i.default),k=B.prefixCls,z=k===void 0?"anticon":k,q=B.rootClassName,W,U=(0,n.default)(q,z,(W={},c(W,"".concat(z,"-").concat(R.name),!!R.name),c(W,"".concat(z,"-spin"),!!M||R.name==="loading"),W),T),K=N;K===void 0&&j&&(K=-1);var X=A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0,G=x((0,l.normalizeTwoToneColors)(D),2),Y=G[0],J=G[1];return t.createElement("span",y(m({role:"img","aria-label":R.name},L),{ref:P,tabIndex:K,onClick:j,className:U}),t.createElement(o.default,{icon:R,primaryColor:Y,secondaryColor:J,style:X}))});w.displayName="AntdIcon",w.getTwoToneColor=a.getTwoToneColor,w.setTwoToneColor=a.setTwoToneColor;var O=w}(LU)),LU}var Gye;function MUt(){return Gye||(Gye=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o($Ut()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p1&&arguments[1]!==void 0?arguments[1]:!1,f;c===!1?f={aria:!0,data:!0,attr:!0}:c===!0?f={aria:!0}:f=(0,t.default)({},c);var h={};return Object.keys(u).forEach(function(d){(f.aria&&(d==="role"||l(d,o))||f.data&&l(d,a)||f.attr&&i.includes(d))&&(h[d]=u[d])}),h}return tR}var l1={},lbe;function to(){if(lbe)return l1;lbe=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.cloneElement=a,l1.isFragment=i,l1.isValidElement=void 0,l1.replaceElement=o;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const{isValidElement:r}=e;l1.isValidElement=r;function i(l){return l&&r(l)&&l.type===e.Fragment}function o(l,s,u){return r(l)?e.cloneElement(l,typeof u=="function"?u(l.props||{}):u):s}function a(l,s){return o(l,l,s)}return l1}var Xs={},sbe;function BUt(){if(sbe)return Xs;sbe=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.prepareComponentToken=Xs.genTypeStyle=Xs.genBaseStyle=Xs.genActionStyle=Xs.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=(s,u,c,f,h)=>({background:s,border:`${(0,e.unit)(f.lineWidth)} ${f.lineType} ${u}`,[`${h}-icon`]:{color:c}}),i=s=>{const{componentCls:u,motionDurationSlow:c,marginXS:f,marginSM:h,fontSize:d,fontSizeLG:p,lineHeight:g,borderRadiusLG:m,motionEaseInOutCirc:v,withDescriptionIconSize:y,colorText:b,colorTextHeading:C,withDescriptionPadding:x,defaultPadding:S}=s;return{[u]:Object.assign(Object.assign({},(0,t.resetComponent)(s)),{position:"relative",display:"flex",alignItems:"center",padding:S,wordWrap:"break-word",borderRadius:m,[`&${u}-rtl`]:{direction:"rtl"},[`${u}-content`]:{flex:1,minWidth:0},[`${u}-icon`]:{marginInlineEnd:f,lineHeight:0},"&-description":{display:"none",fontSize:d,lineHeight:g},"&-message":{color:C},[`&${u}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${c} ${v}, opacity ${c} ${v}, + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,i="".concat(n," ").concat(r).split(/[\s\n]+/),o="aria-",a="data-";function l(u,c){return u.indexOf(c)===0}function s(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,f;c===!1?f={aria:!0,data:!0,attr:!0}:c===!0?f={aria:!0}:f=(0,t.default)({},c);var h={};return Object.keys(u).forEach(function(d){(f.aria&&(d==="role"||l(d,o))||f.data&&l(d,a)||f.attr&&i.includes(d))&&(h[d]=u[d])}),h}return nR}var l1={},sbe;function to(){if(sbe)return l1;sbe=1,Object.defineProperty(l1,"__esModule",{value:!0}),l1.cloneElement=a,l1.isFragment=i,l1.isValidElement=void 0,l1.replaceElement=o;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const{isValidElement:r}=e;l1.isValidElement=r;function i(l){return l&&r(l)&&l.type===e.Fragment}function o(l,s,u){return r(l)?e.cloneElement(l,typeof u=="function"?u(l.props||{}):u):s}function a(l,s){return o(l,l,s)}return l1}var Xs={},cbe;function zUt(){if(cbe)return Xs;cbe=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.prepareComponentToken=Xs.genTypeStyle=Xs.genBaseStyle=Xs.genActionStyle=Xs.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=(s,u,c,f,h)=>({background:s,border:`${(0,e.unit)(f.lineWidth)} ${f.lineType} ${u}`,[`${h}-icon`]:{color:c}}),i=s=>{const{componentCls:u,motionDurationSlow:c,marginXS:f,marginSM:h,fontSize:d,fontSizeLG:p,lineHeight:g,borderRadiusLG:m,motionEaseInOutCirc:v,withDescriptionIconSize:y,colorText:b,colorTextHeading:C,withDescriptionPadding:x,defaultPadding:S}=s;return{[u]:Object.assign(Object.assign({},(0,t.resetComponent)(s)),{position:"relative",display:"flex",alignItems:"center",padding:S,wordWrap:"break-word",borderRadius:m,[`&${u}-rtl`]:{direction:"rtl"},[`${u}-content`]:{flex:1,minWidth:0},[`${u}-icon`]:{marginInlineEnd:f,lineHeight:0},"&-description":{display:"none",fontSize:d,lineHeight:g},"&-message":{color:C},[`&${u}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${c} ${v}, opacity ${c} ${v}, padding-top ${c} ${v}, padding-bottom ${c} ${v}, - margin-bottom ${c} ${v}`},[`&${u}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${u}-with-description`]:{alignItems:"flex-start",padding:x,[`${u}-icon`]:{marginInlineEnd:h,fontSize:y,lineHeight:0},[`${u}-message`]:{display:"block",marginBottom:f,color:C,fontSize:p},[`${u}-description`]:{display:"block",color:b}},[`${u}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}};Xs.genBaseStyle=i;const o=s=>{const{componentCls:u,colorSuccess:c,colorSuccessBorder:f,colorSuccessBg:h,colorWarning:d,colorWarningBorder:p,colorWarningBg:g,colorError:m,colorErrorBorder:v,colorErrorBg:y,colorInfo:b,colorInfoBorder:C,colorInfoBg:x}=s;return{[u]:{"&-success":r(h,f,c,s,u),"&-info":r(x,C,b,s,u),"&-warning":r(g,p,d,s,u),"&-error":Object.assign(Object.assign({},r(y,v,m,s,u)),{[`${u}-description > pre`]:{margin:0,padding:0}})}}};Xs.genTypeStyle=o;const a=s=>{const{componentCls:u,iconCls:c,motionDurationMid:f,marginXS:h,fontSizeIcon:d,colorIcon:p,colorIconHover:g}=s;return{[u]:{"&-action":{marginInlineStart:h},[`${u}-close-icon`]:{marginInlineStart:h,padding:0,overflow:"hidden",fontSize:d,lineHeight:(0,e.unit)(d),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${c}-close`]:{color:p,transition:`color ${f}`,"&:hover":{color:g}}},"&-close-text":{color:p,transition:`color ${f}`,"&:hover":{color:g}}}}};Xs.genActionStyle=a;const l=s=>({withDescriptionIconSize:s.fontSizeHeading3,defaultPadding:`${s.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${s.paddingMD}px ${s.paddingContentHorizontalLG}px`});return Xs.prepareComponentToken=l,Xs.default=(0,n.genStyleHooks)("Alert",s=>[i(s),o(s),a(s)],l),Xs}var cbe;function Oqe(){if(cbe)return HS;cbe=1;var e=ze;Object.defineProperty(HS,"__esModule",{value:!0}),HS.default=void 0;var t=p(_),n=e(Yy()),r=e(qf()),i=e(zs()),o=e(A0()),a=e(hF()),l=e(Tt()),s=e(Ad),u=e(MC()),c=to();_n();var f=Lt(),h=e(BUt());function d(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(d=function(w){return w?S:x})(C)}function p(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=d(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var g=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{const{icon:x,prefixCls:S,type:w}=C,O=m[w]||null;return x?(0,c.replaceElement)(x,t.createElement("span",{className:`${S}-icon`},x),()=>({className:(0,l.default)(`${S}-icon`,{[x.props.className]:x.props.className})})):t.createElement(O,{className:`${S}-icon`})},y=C=>{const{isClosable:x,prefixCls:S,closeIcon:w,handleClose:O}=C,$=w===!0||w===void 0?t.createElement(i.default,null):w;return x?t.createElement("button",{type:"button",onClick:O,className:`${S}-close-icon`,tabIndex:0},$):null},b=C=>{const{description:x,prefixCls:S,message:w,banner:O,className:$,rootClassName:P,style:T,onMouseEnter:R,onMouseLeave:M,onClick:A,afterClose:N,showIcon:k,closable:D,closeText:L,closeIcon:B,action:j}=C,z=g(C,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[V,W]=t.useState(!1),U=t.useRef(null),{getPrefixCls:K,direction:X,alert:G}=t.useContext(f.ConfigContext),Y=K("alert",S),[J,ee,Q]=(0,h.default)(Y),te=be=>{var he;W(!0),(he=C.onClose)===null||he===void 0||he.call(C,be)},ne=t.useMemo(()=>C.type!==void 0?C.type:O?"warning":"info",[C.type,O]),re=t.useMemo(()=>L?!0:typeof D=="boolean"?D:B!==!1&&B!==null&&B!==void 0,[L,B,D]),oe=O&&k===void 0?!0:k,se=(0,l.default)(Y,`${Y}-${ne}`,{[`${Y}-with-description`]:!!x,[`${Y}-no-icon`]:!oe,[`${Y}-banner`]:!!O,[`${Y}-rtl`]:X==="rtl"},G==null?void 0:G.className,$,P,Q,ee),ye=(0,u.default)(z,{aria:!0,data:!0});return J(t.createElement(s.default,{visible:!V,motionName:`${Y}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:be=>({maxHeight:be.offsetHeight}),onLeaveEnd:N},be=>{let{className:he,style:le}=be;return t.createElement("div",Object.assign({ref:U,"data-show":!V,className:(0,l.default)(se,he),style:Object.assign(Object.assign(Object.assign({},G==null?void 0:G.style),T),le),onMouseEnter:R,onMouseLeave:M,onClick:A,role:"alert"},ye),oe?t.createElement(v,{description:x,icon:C.icon,prefixCls:Y,type:ne}):null,t.createElement("div",{className:`${Y}-content`},w?t.createElement("div",{className:`${Y}-message`},w):null,x?t.createElement("div",{className:`${Y}-description`},x):null),j?t.createElement("div",{className:`${Y}-action`},j):null,t.createElement(y,{isClosable:re,prefixCls:Y,closeIcon:L||(B??(G==null?void 0:G.closeIcon)),handleClose:te}))}))};return HS.default=b,HS}var qS={},ube;function FUt(){if(ube)return qS;ube=1;var e=ze;Object.defineProperty(qS,"__esModule",{value:!0}),qS.default=void 0;var t=e(PC()),n=e(TC()),r=e(uF()),i=e(dF()),o=e(fF()),a=e(pF()),l=c(_),s=e(Oqe());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function f(d,p,g){return p=(0,o.default)(p),(0,r.default)(d,(0,i.default)()?Reflect.construct(p,g||[],(0,o.default)(d).constructor):p.apply(d,g))}let h=function(d){(0,a.default)(p,d);function p(){var g;return(0,t.default)(this,p),g=f(this,p,arguments),g.state={error:void 0,info:{componentStack:""}},g}return(0,n.default)(p,[{key:"componentDidCatch",value:function(m,v){this.setState({error:m,info:v})}},{key:"render",value:function(){const{message:m,description:v,children:y}=this.props,{error:b,info:C}=this.state,x=C&&C.componentStack?C.componentStack:null,S=typeof m>"u"?(b||"").toString():m,w=typeof v>"u"?x:v;return b?l.createElement(s.default,{type:"error",message:S,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},w)}):y}}]),p}(l.Component);return qS.default=h,qS}var dbe;function HUt(){if(dbe)return FS;dbe=1;var e=ze;Object.defineProperty(FS,"__esModule",{value:!0}),FS.default=void 0;var t=e(Oqe()),n=e(FUt());const r=t.default;return r.ErrorBoundary=n.default,FS.default=r,FS}var VS={},US={};const Eqe=cr(z0t);var GS={},fbe;function gF(){if(fbe)return GS;fbe=1,Object.defineProperty(GS,"__esModule",{value:!0}),GS.default=t,GS.isWindow=e;function e(n){return n!=null&&n===n.window}function t(n,r){var i,o;if(typeof window>"u")return 0;const a=r?"scrollTop":"scrollLeft";let l=0;return e(n)?l=n[r?"pageYOffset":"pageXOffset"]:n instanceof Document?l=n.documentElement[a]:(n instanceof HTMLElement||n)&&(l=n[a]),n&&!e(n)&&typeof l!="number"&&(l=(o=((i=n.ownerDocument)!==null&&i!==void 0?i:n).documentElement)===null||o===void 0?void 0:o[a]),l}return GS}var nR={},rR={},pbe;function WUt(){if(pbe)return rR;pbe=1,Object.defineProperty(rR,"__esModule",{value:!0}),rR.easeInOutCubic=e;function e(t,n,r,i){const o=r-n;return t/=i/2,t<1?o/2*t*t*t+n:o/2*((t-=2)*t*t+2)+n}return rR}var hbe;function mF(){if(hbe)return nR;hbe=1;var e=ze;Object.defineProperty(nR,"__esModule",{value:!0}),nR.default=a;var t=e(Gy()),n=WUt(),r=o(gF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:u=()=>window,callback:c,duration:f=450}=s,h=u(),d=(0,r.default)(h,!0),p=Date.now(),g=()=>{const v=Date.now()-p,y=(0,n.easeInOutCubic)(v>f?f:v,d,l,f);(0,r.isWindow)(h)?h.scrollTo(window.pageXOffset,y):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=y:h.scrollTop=y,v{const[,,,,r]=(0,e.useToken)();return r?`${n}-css-var`:""};return KS.default=t,KS}var XS={},YS={},mbe;function $qe(){if(mbe)return YS;mbe=1,Object.defineProperty(YS,"__esModule",{value:!0}),YS.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=e.createContext(void 0);return YS.default=r,YS}var vbe;function Pqe(){if(vbe)return XS;vbe=1;var e=ze;Object.defineProperty(XS,"__esModule",{value:!0}),XS.default=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=e($qe());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{const{href:u,title:c,prefixCls:f,children:h,className:d,target:p,replace:g}=s,m=t.useContext(i.default),{registerLink:v,unregisterLink:y,scrollTo:b,onClick:C,activeLink:x,direction:S}=m||{};t.useEffect(()=>(v==null||v(u),()=>{y==null||y(u)}),[u]);const w=M=>{g&&(M.preventDefault(),window.location.replace(u)),C==null||C(M,{title:c,href:u}),b==null||b(u)},{getPrefixCls:O}=t.useContext(r.ConfigContext),$=O("anchor",f),P=x===u,T=(0,n.default)(`${$}-link`,d,{[`${$}-link-active`]:P}),R=(0,n.default)(`${$}-link-title`,{[`${$}-link-title-active`]:P});return t.createElement("div",{className:T},t.createElement("a",{className:R,href:u,title:typeof c=="string"?c:"",target:p,onClick:w},c),S!=="horizontal"?h:null)};return XS.default=l,XS}var yg={},ybe;function qUt(){if(ybe)return yg;ybe=1,Object.defineProperty(yg,"__esModule",{value:!0}),yg.prepareComponentToken=yg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{componentCls:l,holderOffsetBlock:s,motionDurationSlow:u,lineWidthBold:c,colorPrimary:f,lineType:h,colorSplit:d,calc:p}=a;return{[`${l}-wrapper`]:{marginBlockStart:p(s).mul(-1).equal(),paddingBlockStart:s,[l]:Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"relative",paddingInlineStart:c,[`${l}-link`]:{paddingBlock:a.linkPaddingBlock,paddingInline:`${(0,e.unit)(a.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},t.textEllipsis),{position:"relative",display:"block",marginBlockEnd:a.anchorTitleBlock,color:a.colorText,transition:`all ${a.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${l}-link-title`]:{color:a.colorPrimary},[`${l}-link`]:{paddingBlock:a.anchorPaddingBlockSecondary}}}),[`&:not(${l}-wrapper-horizontal)`]:{[l]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,e.unit)(c)} ${h} ${d}`,content:'" "'},[`${l}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${u} ease-in-out`,width:c,backgroundColor:f,[`&${l}-ink-visible`]:{display:"inline-block"}}}},[`${l}-fixed ${l}-ink ${l}-ink`]:{display:"none"}}}},i=a=>{const{componentCls:l,motionDurationSlow:s,lineWidthBold:u,colorPrimary:c}=a;return{[`${l}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,content:'" "'},[l]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${l}-link:first-of-type`]:{paddingInline:0},[`${l}-ink`]:{position:"absolute",bottom:0,transition:`left ${s} ease-in-out, width ${s} ease-in-out`,height:u,backgroundColor:c}}}}},o=a=>({linkPaddingBlock:a.paddingXXS,linkPaddingInlineStart:a.padding});return yg.prepareComponentToken=o,yg.default=(0,n.genStyleHooks)("Anchor",a=>{const{fontSize:l,fontSizeLG:s,paddingXXS:u,calc:c}=a,f=(0,n.mergeToken)(a,{holderOffsetBlock:u,anchorPaddingBlockSecondary:c(u).div(2).equal(),anchorTitleBlock:c(l).div(14).mul(3).equal(),anchorBallSize:c(s).div(2).equal()});return[r(f),i(f)]},o),yg}var bbe;function VUt(){if(bbe)return US;bbe=1;var e=ze;Object.defineProperty(US,"__esModule",{value:!0}),US.default=void 0;var t=e(qr()),n=g(_),r=e(Tt()),i=Xy,o=e(Eqe),a=e(gF()),l=e(mF());_n();var s=e(_qe()),u=Lt(),c=e(zr()),f=e(Pqe()),h=e($qe()),d=e(qUt());function p(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(p=function(w){return w?S:x})(C)}function g(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=p(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}function m(){return window}function v(C,x){if(!C.getClientRects().length)return 0;const S=C.getBoundingClientRect();return S.width||S.height?x===window?(x=C.ownerDocument.documentElement,S.top-x.clientTop):S.top-x.getBoundingClientRect().top:S.top}const y=/#([\S ]+)$/,b=C=>{var x;const{rootClassName:S,prefixCls:w,className:O,style:$,offsetTop:P,affix:T=!0,showInkInFixed:R=!1,children:M,items:A,direction:N="vertical",bounds:k,targetOffset:D,onClick:L,onChange:B,getContainer:j,getCurrentAnchor:z,replace:V}=C,[W,U]=n.useState([]),[K,X]=n.useState(null),G=n.useRef(K),Y=n.useRef(null),J=n.useRef(null),ee=n.useRef(!1),{direction:Q,anchor:te,getTargetContainer:ne,getPrefixCls:re}=n.useContext(u.ConfigContext),oe=re("anchor",w),se=(0,c.default)(oe),[ye,be,he]=(0,d.default)(oe,se),le=(x=j??ne)!==null&&x!==void 0?x:m,ve=JSON.stringify(W),ke=(0,i.useEvent)($e=>{W.includes($e)||U(Le=>[].concat((0,t.default)(Le),[$e]))}),Ie=(0,i.useEvent)($e=>{W.includes($e)&&U(Le=>Le.filter(Fe=>Fe!==$e))}),Oe=()=>{var $e;const Le=($e=Y.current)===null||$e===void 0?void 0:$e.querySelector(`.${oe}-link-title-active`);if(Le&&J.current){const{style:Fe}=J.current,Ke=N==="horizontal";Fe.top=Ke?"":`${Le.offsetTop+Le.clientHeight/2}px`,Fe.height=Ke?"":`${Le.clientHeight}px`,Fe.left=Ke?`${Le.offsetLeft}px`:"",Fe.width=Ke?`${Le.clientWidth}px`:"",Ke&&(0,o.default)(Le,{scrollMode:"if-needed",block:"nearest"})}},Pe=function($e){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const Ke=[],lt=le();return $e.forEach(ft=>{const Ye=y.exec(ft==null?void 0:ft.toString());if(!Ye)return;const we=document.getElementById(Ye[1]);if(we){const De=v(we,lt);Dewe.top>Ye.top?we:Ye).link:""},_e=(0,i.useEvent)($e=>{if(G.current===$e)return;const Le=typeof z=="function"?z($e):$e;X(Le),G.current=Le,B==null||B($e)}),ce=n.useCallback(()=>{if(ee.current)return;const $e=Pe(W,D!==void 0?D:P||0,k);_e($e)},[ve,D,P]),Te=n.useCallback($e=>{_e($e);const Le=y.exec($e);if(!Le)return;const Fe=document.getElementById(Le[1]);if(!Fe)return;const Ke=le(),lt=(0,a.default)(Ke,!0),ft=v(Fe,Ke);let Ye=lt+ft;Ye-=D!==void 0?D:P||0,ee.current=!0,(0,l.default)(Ye,{getContainer:le,callback(){ee.current=!1}})},[D,P]),Ne=(0,r.default)(be,he,se,S,`${oe}-wrapper`,{[`${oe}-wrapper-horizontal`]:N==="horizontal",[`${oe}-rtl`]:Q==="rtl"},O,te==null?void 0:te.className),je=(0,r.default)(oe,{[`${oe}-fixed`]:!T&&!R}),He=(0,r.default)(`${oe}-ink`,{[`${oe}-ink-visible`]:K}),Be=Object.assign(Object.assign({maxHeight:P?`calc(100vh - ${P}px)`:"100vh"},te==null?void 0:te.style),$),qe=$e=>Array.isArray($e)?$e.map(Le=>n.createElement(f.default,Object.assign({replace:V},Le,{key:Le.key}),N==="vertical"&&qe(Le.children))):null,me=n.createElement("div",{ref:Y,className:Ne,style:Be},n.createElement("div",{className:je},n.createElement("span",{className:He,ref:J}),"items"in C?qe(A):M));n.useEffect(()=>{const $e=le();return ce(),$e==null||$e.addEventListener("scroll",ce),()=>{$e==null||$e.removeEventListener("scroll",ce)}},[ve]),n.useEffect(()=>{typeof z=="function"&&_e(z(G.current||""))},[z]),n.useEffect(()=>{Oe()},[N,z,ve,K]);const Ee=n.useMemo(()=>({registerLink:ke,unregisterLink:Ie,scrollTo:Te,activeLink:K,onClick:L,direction:N}),[K,L,Te,N]);return ye(n.createElement(h.default.Provider,{value:Ee},T?n.createElement(s.default,{offsetTop:P,target:le},me):me))};return US.default=b,US}var Cbe;function UUt(){if(Cbe)return VS;Cbe=1;var e=ze;Object.defineProperty(VS,"__esModule",{value:!0}),VS.default=void 0;var t=e(VUt()),n=e(Pqe());const r=t.default;return r.Link=n.default,VS.default=r,VS}var ZS={},QS={};const vF=cr(Y0t);var ap={},iR={exports:{}},VU={},oR={},Sbe;function GUt(){if(Sbe)return oR;Sbe=1,Object.defineProperty(oR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};return oR.default=e,oR}var xbe;function KUt(){return xbe||(xbe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(GUt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:l,iconCls:s,boxShadow:u,colorText:c,colorSuccess:f,colorError:h,colorWarning:d,colorInfo:p,fontSizeLG:g,motionEaseInOutCirc:m,motionDurationSlow:v,marginXS:y,paddingXS:b,borderRadiusLG:C,zIndexPopup:x,contentPadding:S,contentBg:w}=a,O=`${l}-notice`,$=new e.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:b,transform:"translateY(0)",opacity:1}}),P=new e.Keyframes("MessageMoveOut",{"0%":{maxHeight:a.height,padding:b,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),T={padding:b,textAlign:"center",[`${l}-custom-content > ${s}`]:{verticalAlign:"text-bottom",marginInlineEnd:y,fontSize:g},[`${O}-content`]:{display:"inline-block",padding:S,background:w,borderRadius:C,boxShadow:u,pointerEvents:"all"},[`${l}-success > ${s}`]:{color:f},[`${l}-error > ${s}`]:{color:h},[`${l}-warning > ${s}`]:{color:d},[`${l}-info > ${s}, + margin-bottom ${c} ${v}`},[`&${u}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${u}-with-description`]:{alignItems:"flex-start",padding:x,[`${u}-icon`]:{marginInlineEnd:h,fontSize:y,lineHeight:0},[`${u}-message`]:{display:"block",marginBottom:f,color:C,fontSize:p},[`${u}-description`]:{display:"block",color:b}},[`${u}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}};Xs.genBaseStyle=i;const o=s=>{const{componentCls:u,colorSuccess:c,colorSuccessBorder:f,colorSuccessBg:h,colorWarning:d,colorWarningBorder:p,colorWarningBg:g,colorError:m,colorErrorBorder:v,colorErrorBg:y,colorInfo:b,colorInfoBorder:C,colorInfoBg:x}=s;return{[u]:{"&-success":r(h,f,c,s,u),"&-info":r(x,C,b,s,u),"&-warning":r(g,p,d,s,u),"&-error":Object.assign(Object.assign({},r(y,v,m,s,u)),{[`${u}-description > pre`]:{margin:0,padding:0}})}}};Xs.genTypeStyle=o;const a=s=>{const{componentCls:u,iconCls:c,motionDurationMid:f,marginXS:h,fontSizeIcon:d,colorIcon:p,colorIconHover:g}=s;return{[u]:{"&-action":{marginInlineStart:h},[`${u}-close-icon`]:{marginInlineStart:h,padding:0,overflow:"hidden",fontSize:d,lineHeight:(0,e.unit)(d),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${c}-close`]:{color:p,transition:`color ${f}`,"&:hover":{color:g}}},"&-close-text":{color:p,transition:`color ${f}`,"&:hover":{color:g}}}}};Xs.genActionStyle=a;const l=s=>({withDescriptionIconSize:s.fontSizeHeading3,defaultPadding:`${s.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${s.paddingMD}px ${s.paddingContentHorizontalLG}px`});return Xs.prepareComponentToken=l,Xs.default=(0,n.genStyleHooks)("Alert",s=>[i(s),o(s),a(s)],l),Xs}var ube;function Eqe(){if(ube)return WS;ube=1;var e=ze;Object.defineProperty(WS,"__esModule",{value:!0}),WS.default=void 0;var t=p(_),n=e(Yy()),r=e(qf()),i=e(zs()),o=e(A0()),a=e(gF()),l=e(Tt()),s=e(Ad),u=e(MC()),c=to();_n();var f=Lt(),h=e(zUt());function d(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(d=function(w){return w?S:x})(C)}function p(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=d(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var g=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{const{icon:x,prefixCls:S,type:w}=C,O=m[w]||null;return x?(0,c.replaceElement)(x,t.createElement("span",{className:`${S}-icon`},x),()=>({className:(0,l.default)(`${S}-icon`,{[x.props.className]:x.props.className})})):t.createElement(O,{className:`${S}-icon`})},y=C=>{const{isClosable:x,prefixCls:S,closeIcon:w,handleClose:O}=C,$=w===!0||w===void 0?t.createElement(i.default,null):w;return x?t.createElement("button",{type:"button",onClick:O,className:`${S}-close-icon`,tabIndex:0},$):null},b=C=>{const{description:x,prefixCls:S,message:w,banner:O,className:$,rootClassName:P,style:T,onMouseEnter:R,onMouseLeave:M,onClick:A,afterClose:N,showIcon:j,closable:D,closeText:L,closeIcon:B,action:k}=C,z=g(C,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[q,W]=t.useState(!1),U=t.useRef(null),{getPrefixCls:K,direction:X,alert:G}=t.useContext(f.ConfigContext),Y=K("alert",S),[J,ee,Q]=(0,h.default)(Y),te=be=>{var he;W(!0),(he=C.onClose)===null||he===void 0||he.call(C,be)},ne=t.useMemo(()=>C.type!==void 0?C.type:O?"warning":"info",[C.type,O]),re=t.useMemo(()=>L?!0:typeof D=="boolean"?D:B!==!1&&B!==null&&B!==void 0,[L,B,D]),oe=O&&j===void 0?!0:j,se=(0,l.default)(Y,`${Y}-${ne}`,{[`${Y}-with-description`]:!!x,[`${Y}-no-icon`]:!oe,[`${Y}-banner`]:!!O,[`${Y}-rtl`]:X==="rtl"},G==null?void 0:G.className,$,P,Q,ee),ye=(0,u.default)(z,{aria:!0,data:!0});return J(t.createElement(s.default,{visible:!q,motionName:`${Y}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:be=>({maxHeight:be.offsetHeight}),onLeaveEnd:N},be=>{let{className:he,style:le}=be;return t.createElement("div",Object.assign({ref:U,"data-show":!q,className:(0,l.default)(se,he),style:Object.assign(Object.assign(Object.assign({},G==null?void 0:G.style),T),le),onMouseEnter:R,onMouseLeave:M,onClick:A,role:"alert"},ye),oe?t.createElement(v,{description:x,icon:C.icon,prefixCls:Y,type:ne}):null,t.createElement("div",{className:`${Y}-content`},w?t.createElement("div",{className:`${Y}-message`},w):null,x?t.createElement("div",{className:`${Y}-description`},x):null),k?t.createElement("div",{className:`${Y}-action`},k):null,t.createElement(y,{isClosable:re,prefixCls:Y,closeIcon:L||(B??(G==null?void 0:G.closeIcon)),handleClose:te}))}))};return WS.default=b,WS}var VS={},dbe;function BUt(){if(dbe)return VS;dbe=1;var e=ze;Object.defineProperty(VS,"__esModule",{value:!0}),VS.default=void 0;var t=e(PC()),n=e(TC()),r=e(dF()),i=e(fF()),o=e(pF()),a=e(hF()),l=c(_),s=e(Eqe());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function f(d,p,g){return p=(0,o.default)(p),(0,r.default)(d,(0,i.default)()?Reflect.construct(p,g||[],(0,o.default)(d).constructor):p.apply(d,g))}let h=function(d){(0,a.default)(p,d);function p(){var g;return(0,t.default)(this,p),g=f(this,p,arguments),g.state={error:void 0,info:{componentStack:""}},g}return(0,n.default)(p,[{key:"componentDidCatch",value:function(m,v){this.setState({error:m,info:v})}},{key:"render",value:function(){const{message:m,description:v,children:y}=this.props,{error:b,info:C}=this.state,x=C&&C.componentStack?C.componentStack:null,S=typeof m>"u"?(b||"").toString():m,w=typeof v>"u"?x:v;return b?l.createElement(s.default,{type:"error",message:S,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},w)}):y}}]),p}(l.Component);return VS.default=h,VS}var fbe;function FUt(){if(fbe)return HS;fbe=1;var e=ze;Object.defineProperty(HS,"__esModule",{value:!0}),HS.default=void 0;var t=e(Eqe()),n=e(BUt());const r=t.default;return r.ErrorBoundary=n.default,HS.default=r,HS}var US={},GS={},KS={},pbe;function mF(){if(pbe)return KS;pbe=1,Object.defineProperty(KS,"__esModule",{value:!0}),KS.default=t,KS.isWindow=e;function e(n){return n!=null&&n===n.window}function t(n,r){var i,o;if(typeof window>"u")return 0;const a=r?"scrollTop":"scrollLeft";let l=0;return e(n)?l=n[r?"pageYOffset":"pageXOffset"]:n instanceof Document?l=n.documentElement[a]:(n instanceof HTMLElement||n)&&(l=n[a]),n&&!e(n)&&typeof l!="number"&&(l=(o=((i=n.ownerDocument)!==null&&i!==void 0?i:n).documentElement)===null||o===void 0?void 0:o[a]),l}return KS}var rR={},iR={},hbe;function HUt(){if(hbe)return iR;hbe=1,Object.defineProperty(iR,"__esModule",{value:!0}),iR.easeInOutCubic=e;function e(t,n,r,i){const o=r-n;return t/=i/2,t<1?o/2*t*t*t+n:o/2*((t-=2)*t*t+2)+n}return iR}var gbe;function vF(){if(gbe)return rR;gbe=1;var e=ze;Object.defineProperty(rR,"__esModule",{value:!0}),rR.default=a;var t=e(Gy()),n=HUt(),r=o(mF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:u=()=>window,callback:c,duration:f=450}=s,h=u(),d=(0,r.default)(h,!0),p=Date.now(),g=()=>{const v=Date.now()-p,y=(0,n.easeInOutCubic)(v>f?f:v,d,l,f);(0,r.isWindow)(h)?h.scrollTo(window.pageXOffset,y):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=y:h.scrollTop=y,v{const[,,,,r]=(0,e.useToken)();return r?`${n}-css-var`:""};return XS.default=t,XS}var YS={},ZS={},vbe;function $qe(){if(vbe)return ZS;vbe=1,Object.defineProperty(ZS,"__esModule",{value:!0}),ZS.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=e.createContext(void 0);return ZS.default=r,ZS}var ybe;function Pqe(){if(ybe)return YS;ybe=1;var e=ze;Object.defineProperty(YS,"__esModule",{value:!0}),YS.default=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=e($qe());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{const{href:u,title:c,prefixCls:f,children:h,className:d,target:p,replace:g}=s,m=t.useContext(i.default),{registerLink:v,unregisterLink:y,scrollTo:b,onClick:C,activeLink:x,direction:S}=m||{};t.useEffect(()=>(v==null||v(u),()=>{y==null||y(u)}),[u]);const w=M=>{g&&(M.preventDefault(),window.location.replace(u)),C==null||C(M,{title:c,href:u}),b==null||b(u)},{getPrefixCls:O}=t.useContext(r.ConfigContext),$=O("anchor",f),P=x===u,T=(0,n.default)(`${$}-link`,d,{[`${$}-link-active`]:P}),R=(0,n.default)(`${$}-link-title`,{[`${$}-link-title-active`]:P});return t.createElement("div",{className:T},t.createElement("a",{className:R,href:u,title:typeof c=="string"?c:"",target:p,onClick:w},c),S!=="horizontal"?h:null)};return YS.default=l,YS}var yg={},bbe;function WUt(){if(bbe)return yg;bbe=1,Object.defineProperty(yg,"__esModule",{value:!0}),yg.prepareComponentToken=yg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{componentCls:l,holderOffsetBlock:s,motionDurationSlow:u,lineWidthBold:c,colorPrimary:f,lineType:h,colorSplit:d,calc:p}=a;return{[`${l}-wrapper`]:{marginBlockStart:p(s).mul(-1).equal(),paddingBlockStart:s,[l]:Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"relative",paddingInlineStart:c,[`${l}-link`]:{paddingBlock:a.linkPaddingBlock,paddingInline:`${(0,e.unit)(a.linkPaddingInlineStart)} 0`,"&-title":Object.assign(Object.assign({},t.textEllipsis),{position:"relative",display:"block",marginBlockEnd:a.anchorTitleBlock,color:a.colorText,transition:`all ${a.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${l}-link-title`]:{color:a.colorPrimary},[`${l}-link`]:{paddingBlock:a.anchorPaddingBlockSecondary}}}),[`&:not(${l}-wrapper-horizontal)`]:{[l]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${(0,e.unit)(c)} ${h} ${d}`,content:'" "'},[`${l}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${u} ease-in-out`,width:c,backgroundColor:f,[`&${l}-ink-visible`]:{display:"inline-block"}}}},[`${l}-fixed ${l}-ink ${l}-ink`]:{display:"none"}}}},i=a=>{const{componentCls:l,motionDurationSlow:s,lineWidthBold:u,colorPrimary:c}=a;return{[`${l}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,content:'" "'},[l]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${l}-link:first-of-type`]:{paddingInline:0},[`${l}-ink`]:{position:"absolute",bottom:0,transition:`left ${s} ease-in-out, width ${s} ease-in-out`,height:u,backgroundColor:c}}}}},o=a=>({linkPaddingBlock:a.paddingXXS,linkPaddingInlineStart:a.padding});return yg.prepareComponentToken=o,yg.default=(0,n.genStyleHooks)("Anchor",a=>{const{fontSize:l,fontSizeLG:s,paddingXXS:u,calc:c}=a,f=(0,n.mergeToken)(a,{holderOffsetBlock:u,anchorPaddingBlockSecondary:c(u).div(2).equal(),anchorTitleBlock:c(l).div(14).mul(3).equal(),anchorBallSize:c(s).div(2).equal()});return[r(f),i(f)]},o),yg}var Cbe;function qUt(){if(Cbe)return GS;Cbe=1;var e=ze;Object.defineProperty(GS,"__esModule",{value:!0}),GS.default=void 0;var t=e(qr()),n=g(_),r=e(Tt()),i=Xy,o=e(Zne()),a=e(mF()),l=e(vF());_n();var s=e(wqe()),u=Lt(),c=e(zr()),f=e(Pqe()),h=e($qe()),d=e(WUt());function p(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(p=function(w){return w?S:x})(C)}function g(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=p(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}function m(){return window}function v(C,x){if(!C.getClientRects().length)return 0;const S=C.getBoundingClientRect();return S.width||S.height?x===window?(x=C.ownerDocument.documentElement,S.top-x.clientTop):S.top-x.getBoundingClientRect().top:S.top}const y=/#([\S ]+)$/,b=C=>{var x;const{rootClassName:S,prefixCls:w,className:O,style:$,offsetTop:P,affix:T=!0,showInkInFixed:R=!1,children:M,items:A,direction:N="vertical",bounds:j,targetOffset:D,onClick:L,onChange:B,getContainer:k,getCurrentAnchor:z,replace:q}=C,[W,U]=n.useState([]),[K,X]=n.useState(null),G=n.useRef(K),Y=n.useRef(null),J=n.useRef(null),ee=n.useRef(!1),{direction:Q,anchor:te,getTargetContainer:ne,getPrefixCls:re}=n.useContext(u.ConfigContext),oe=re("anchor",w),se=(0,c.default)(oe),[ye,be,he]=(0,d.default)(oe,se),le=(x=k??ne)!==null&&x!==void 0?x:m,ve=JSON.stringify(W),ke=(0,i.useEvent)($e=>{W.includes($e)||U(Le=>[].concat((0,t.default)(Le),[$e]))}),Ie=(0,i.useEvent)($e=>{W.includes($e)&&U(Le=>Le.filter(Fe=>Fe!==$e))}),Oe=()=>{var $e;const Le=($e=Y.current)===null||$e===void 0?void 0:$e.querySelector(`.${oe}-link-title-active`);if(Le&&J.current){const{style:Fe}=J.current,Ke=N==="horizontal";Fe.top=Ke?"":`${Le.offsetTop+Le.clientHeight/2}px`,Fe.height=Ke?"":`${Le.clientHeight}px`,Fe.left=Ke?`${Le.offsetLeft}px`:"",Fe.width=Ke?`${Le.clientWidth}px`:"",Ke&&(0,o.default)(Le,{scrollMode:"if-needed",block:"nearest"})}},Pe=function($e){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const Ke=[],lt=le();return $e.forEach(ft=>{const Ye=y.exec(ft==null?void 0:ft.toString());if(!Ye)return;const we=document.getElementById(Ye[1]);if(we){const De=v(we,lt);Dewe.top>Ye.top?we:Ye).link:""},_e=(0,i.useEvent)($e=>{if(G.current===$e)return;const Le=typeof z=="function"?z($e):$e;X(Le),G.current=Le,B==null||B($e)}),ce=n.useCallback(()=>{if(ee.current)return;const $e=Pe(W,D!==void 0?D:P||0,j);_e($e)},[ve,D,P]),Te=n.useCallback($e=>{_e($e);const Le=y.exec($e);if(!Le)return;const Fe=document.getElementById(Le[1]);if(!Fe)return;const Ke=le(),lt=(0,a.default)(Ke,!0),ft=v(Fe,Ke);let Ye=lt+ft;Ye-=D!==void 0?D:P||0,ee.current=!0,(0,l.default)(Ye,{getContainer:le,callback(){ee.current=!1}})},[D,P]),Ne=(0,r.default)(be,he,se,S,`${oe}-wrapper`,{[`${oe}-wrapper-horizontal`]:N==="horizontal",[`${oe}-rtl`]:Q==="rtl"},O,te==null?void 0:te.className),je=(0,r.default)(oe,{[`${oe}-fixed`]:!T&&!R}),He=(0,r.default)(`${oe}-ink`,{[`${oe}-ink-visible`]:K}),Be=Object.assign(Object.assign({maxHeight:P?`calc(100vh - ${P}px)`:"100vh"},te==null?void 0:te.style),$),qe=$e=>Array.isArray($e)?$e.map(Le=>n.createElement(f.default,Object.assign({replace:q},Le,{key:Le.key}),N==="vertical"&&qe(Le.children))):null,me=n.createElement("div",{ref:Y,className:Ne,style:Be},n.createElement("div",{className:je},n.createElement("span",{className:He,ref:J}),"items"in C?qe(A):M));n.useEffect(()=>{const $e=le();return ce(),$e==null||$e.addEventListener("scroll",ce),()=>{$e==null||$e.removeEventListener("scroll",ce)}},[ve]),n.useEffect(()=>{typeof z=="function"&&_e(z(G.current||""))},[z]),n.useEffect(()=>{Oe()},[N,z,ve,K]);const Ee=n.useMemo(()=>({registerLink:ke,unregisterLink:Ie,scrollTo:Te,activeLink:K,onClick:L,direction:N}),[K,L,Te,N]);return ye(n.createElement(h.default.Provider,{value:Ee},T?n.createElement(s.default,{offsetTop:P,target:le},me):me))};return GS.default=b,GS}var Sbe;function VUt(){if(Sbe)return US;Sbe=1;var e=ze;Object.defineProperty(US,"__esModule",{value:!0}),US.default=void 0;var t=e(qUt()),n=e(Pqe());const r=t.default;return r.Link=n.default,US.default=r,US}var QS={},JS={};const yF=gr(Y0t);var ap={},oR={exports:{}},UU={},aR={},xbe;function UUt(){if(xbe)return aR;xbe=1,Object.defineProperty(aR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};return aR.default=e,aR}var _be;function GUt(){return _be||(_be=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(UUt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:l,iconCls:s,boxShadow:u,colorText:c,colorSuccess:f,colorError:h,colorWarning:d,colorInfo:p,fontSizeLG:g,motionEaseInOutCirc:m,motionDurationSlow:v,marginXS:y,paddingXS:b,borderRadiusLG:C,zIndexPopup:x,contentPadding:S,contentBg:w}=a,O=`${l}-notice`,$=new e.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:b,transform:"translateY(0)",opacity:1}}),P=new e.Keyframes("MessageMoveOut",{"0%":{maxHeight:a.height,padding:b,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),T={padding:b,textAlign:"center",[`${l}-custom-content > ${s}`]:{verticalAlign:"text-bottom",marginInlineEnd:y,fontSize:g},[`${O}-content`]:{display:"inline-block",padding:S,background:w,borderRadius:C,boxShadow:u,pointerEvents:"all"},[`${l}-success > ${s}`]:{color:f},[`${l}-error > ${s}`]:{color:h},[`${l}-warning > ${s}`]:{color:d},[`${l}-info > ${s}, ${l}-loading > ${s}`]:{color:p}};return[{[l]:Object.assign(Object.assign({},(0,n.resetComponent)(a)),{color:c,position:"fixed",top:y,width:"100%",pointerEvents:"none",zIndex:x,[`${l}-move-up`]:{animationFillMode:"forwards"},[` ${l}-move-up-appear, ${l}-move-up-enter `]:{animationName:$,animationDuration:v,animationPlayState:"paused",animationTimingFunction:m},[` ${l}-move-up-appear${l}-move-up-appear-active, ${l}-move-up-enter${l}-move-up-enter-active - `]:{animationPlayState:"running"},[`${l}-move-up-leave`]:{animationName:P,animationDuration:v,animationPlayState:"paused",animationTimingFunction:m},[`${l}-move-up-leave${l}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[l]:{[`${O}-wrapper`]:Object.assign({},T)}},{[`${l}-notice-pure-panel`]:Object.assign(Object.assign({},T),{padding:0,textAlign:"start"})}]},o=a=>({zIndexPopup:a.zIndexPopupBase+t.CONTAINER_MAX_OFFSET+10,contentBg:a.colorBgElevated,contentPadding:`${(a.controlHeightLG-a.fontSize*a.lineHeight)/2}px ${a.paddingSM}px`});return bg.prepareComponentToken=o,bg.default=(0,r.genStyleHooks)("Message",a=>{const l=(0,r.mergeToken)(a,{height:150});return[i(l)]},o),bg}var $be;function Mqe(){if($be)return ap;$be=1;var e=ze;Object.defineProperty(ap,"__esModule",{value:!0}),ap.default=ap.TypeIcon=ap.PureContent=void 0;var t=e(Yy()),n=e(qf()),r=e(A0()),i=e(hF()),o=e(Vf()),a=e(Tt()),l=vF,s=d(_),u=Lt(),c=e(Tqe()),f=e(zr());function h(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(h=function(x){return x?C:b})(y)}function d(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=h(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var p=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{let{prefixCls:b,type:C,icon:x,children:S}=y;return s.createElement("div",{className:(0,a.default)(`${b}-custom-content`,`${b}-${C}`)},x||g[C],s.createElement("span",null,S))};ap.PureContent=m;const v=y=>{const{prefixCls:b,className:C,type:x,icon:S,content:w}=y,O=p(y,["prefixCls","className","type","icon","content"]),{getPrefixCls:$}=s.useContext(u.ConfigContext),P=b||$("message"),T=(0,f.default)(P),[R,M,A]=(0,c.default)(P,T);return R(s.createElement(l.Notice,Object.assign({},O,{prefixCls:P,className:(0,a.default)(C,M,`${P}-notice-pure-panel`,A,T),eventKey:"pure",duration:null,content:s.createElement(m,{prefixCls:P,type:x,icon:S},w)})))};return ap.default=v,ap}var ex={},Pbe;function Rqe(){if(Pbe)return ex;Pbe=1,Object.defineProperty(ex,"__esModule",{value:!0}),ex.getMotion=e,ex.wrapPromiseFn=t;function e(n,r){return{motionName:r??`${n}-move-up`}}function t(n){let r;const i=new Promise(a=>{r=n(()=>{a(!0)})}),o=()=>{r==null||r()};return o.then=(a,l)=>i.then(a,l),o.promise=i,o}return ex}var Tbe;function Iqe(){if(Tbe)return QS;Tbe=1;var e=ze;Object.defineProperty(QS,"__esModule",{value:!0}),QS.default=x,QS.useInternalMessage=C;var t=h(_),n=e(zs()),r=e(Tt()),i=vF,o=_n(),a=Lt(),l=e(zr()),s=Mqe(),u=e(Tqe()),c=Rqe();function f(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(f=function($){return $?O:w})(S)}function h(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=f(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var d=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const p=8,g=3,m=S=>{let{children:w,prefixCls:O}=S;const $=(0,l.default)(O),[P,T,R]=(0,u.default)(O,$);return P(t.createElement(i.NotificationProvider,{classNames:{list:(0,r.default)(T,R,$)}},w))},v=(S,w)=>{let{prefixCls:O,key:$}=w;return t.createElement(m,{prefixCls:O,key:$},S)},y=t.forwardRef((S,w)=>{const{top:O,prefixCls:$,getContainer:P,maxCount:T,duration:R=g,rtl:M,transitionName:A,onAllRemoved:N}=S,{getPrefixCls:k,getPopupContainer:D,message:L,direction:B}=t.useContext(a.ConfigContext),j=$||k("message"),z=()=>({left:"50%",transform:"translateX(-50%)",top:O??p}),V=()=>(0,r.default)({[`${j}-rtl`]:M??B==="rtl"}),W=()=>(0,c.getMotion)(j,A),U=t.createElement("span",{className:`${j}-close-x`},t.createElement(n.default,{className:`${j}-close-icon`})),[K,X]=(0,i.useNotification)({prefixCls:j,style:z,className:V,motion:W,closable:!1,closeIcon:U,duration:R,getContainer:()=>(P==null?void 0:P())||(D==null?void 0:D())||document.body,maxCount:T,onAllRemoved:N,renderNotifications:v});return t.useImperativeHandle(w,()=>Object.assign(Object.assign({},K),{prefixCls:j,message:L})),X});let b=0;function C(S){const w=t.useRef(null);return(0,o.devUseWarning)("Message"),[t.useMemo(()=>{const $=A=>{var N;(N=w.current)===null||N===void 0||N.close(A)},P=A=>{if(!w.current){const Y=()=>{};return Y.then=()=>{},Y}const{open:N,prefixCls:k,message:D}=w.current,L=`${k}-notice`,{content:B,icon:j,type:z,key:V,className:W,style:U,onClose:K}=A,X=d(A,["content","icon","type","key","className","style","onClose"]);let G=V;return G==null&&(b+=1,G=`antd-message-${b}`),(0,c.wrapPromiseFn)(Y=>(N(Object.assign(Object.assign({},X),{key:G,content:t.createElement(s.PureContent,{prefixCls:k,type:z,icon:j},B),placement:"top",className:(0,r.default)(z&&`${L}-${z}`,W,D==null?void 0:D.className),style:Object.assign(Object.assign({},D==null?void 0:D.style),U),onClose:()=>{K==null||K(),Y()}})),()=>{$(G)}))},R={open:P,destroy:A=>{var N;A!==void 0?$(A):(N=w.current)===null||N===void 0||N.destroy()}};return["info","success","warning","error","loading"].forEach(A=>{const N=(k,D,L)=>{let B;k&&typeof k=="object"&&"content"in k?B=k:B={content:k};let j,z;typeof D=="function"?z=D:(j=D,z=L);const V=Object.assign(Object.assign({onClose:z,duration:j},B),{type:A});return P(V)};R[A]=N}),R},[]),t.createElement(y,Object.assign({key:"message-holder"},S,{ref:w}))]}function x(S){return C(S)}return QS}var tx={},aR={},Mbe;function XUt(){if(Mbe)return aR;Mbe=1;var e=ze;Object.defineProperty(aR,"__esModule",{value:!0}),aR.default=o;var t=e(qr()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(){const[a,l]=n.useState([]),s=n.useCallback(u=>(l(c=>[].concat((0,t.default)(c),[u])),()=>{l(c=>c.filter(f=>f!==u))}),[]);return[a,s]}return aR}var Gd={},Cg={},UU={exports:{}},Rbe;function YUt(){return Rbe||(Rbe=1,function(e){var t=ll().default;function n(){e.exports=n=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var r,i={},o=Object.prototype,a=o.hasOwnProperty,l=Object.defineProperty||function(B,j,z){B[j]=z.value},s=typeof Symbol=="function"?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function h(B,j,z){return Object.defineProperty(B,j,{value:z,enumerable:!0,configurable:!0,writable:!0}),B[j]}try{h({},"")}catch{h=function(z,V,W){return z[V]=W}}function d(B,j,z,V){var W=j&&j.prototype instanceof C?j:C,U=Object.create(W.prototype),K=new D(V||[]);return l(U,"_invoke",{value:M(B,z,K)}),U}function p(B,j,z){try{return{type:"normal",arg:B.call(j,z)}}catch(V){return{type:"throw",arg:V}}}i.wrap=d;var g="suspendedStart",m="suspendedYield",v="executing",y="completed",b={};function C(){}function x(){}function S(){}var w={};h(w,u,function(){return this});var O=Object.getPrototypeOf,$=O&&O(O(L([])));$&&$!==o&&a.call($,u)&&(w=$);var P=S.prototype=C.prototype=Object.create(w);function T(B){["next","throw","return"].forEach(function(j){h(B,j,function(z){return this._invoke(j,z)})})}function R(B,j){function z(W,U,K,X){var G=p(B[W],B,U);if(G.type!=="throw"){var Y=G.arg,J=Y.value;return J&&t(J)=="object"&&a.call(J,"__await")?j.resolve(J.__await).then(function(ee){z("next",ee,K,X)},function(ee){z("throw",ee,K,X)}):j.resolve(J).then(function(ee){Y.value=ee,K(Y)},function(ee){return z("throw",ee,K,X)})}X(G.arg)}var V;l(this,"_invoke",{value:function(U,K){function X(){return new j(function(G,Y){z(U,K,G,Y)})}return V=V?V.then(X,X):X()}})}function M(B,j,z){var V=g;return function(W,U){if(V===v)throw new Error("Generator is already running");if(V===y){if(W==="throw")throw U;return{value:r,done:!0}}for(z.method=W,z.arg=U;;){var K=z.delegate;if(K){var X=A(K,z);if(X){if(X===b)continue;return X}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(V===g)throw V=y,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);V=v;var G=p(B,j,z);if(G.type==="normal"){if(V=z.done?y:m,G.arg===b)continue;return{value:G.arg,done:z.done}}G.type==="throw"&&(V=y,z.method="throw",z.arg=G.arg)}}}function A(B,j){var z=j.method,V=B.iterator[z];if(V===r)return j.delegate=null,z==="throw"&&B.iterator.return&&(j.method="return",j.arg=r,A(B,j),j.method==="throw")||z!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+z+"' method")),b;var W=p(V,B.iterator,j.arg);if(W.type==="throw")return j.method="throw",j.arg=W.arg,j.delegate=null,b;var U=W.arg;return U?U.done?(j[B.resultName]=U.value,j.next=B.nextLoc,j.method!=="return"&&(j.method="next",j.arg=r),j.delegate=null,b):U:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,b)}function N(B){var j={tryLoc:B[0]};1 in B&&(j.catchLoc=B[1]),2 in B&&(j.finallyLoc=B[2],j.afterLoc=B[3]),this.tryEntries.push(j)}function k(B){var j=B.completion||{};j.type="normal",delete j.arg,B.completion=j}function D(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(N,this),this.reset(!0)}function L(B){if(B||B===""){var j=B[u];if(j)return j.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var z=-1,V=function W(){for(;++z=0;--W){var U=this.tryEntries[W],K=U.completion;if(U.tryLoc==="root")return V("end");if(U.tryLoc<=this.prev){var X=a.call(U,"catchLoc"),G=a.call(U,"finallyLoc");if(X&&G){if(this.prev=0;--V){var W=this.tryEntries[V];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--z){var V=this.tryEntries[z];if(V.finallyLoc===j)return this.complete(V.completion,V.afterLoc),k(V),b}},catch:function(j){for(var z=this.tryEntries.length-1;z>=0;--z){var V=this.tryEntries[z];if(V.tryLoc===j){var W=V.completion;if(W.type==="throw"){var U=W.arg;k(V)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(j,z,V){return this.delegate={iterator:L(j),resultName:z,nextLoc:V},this.method==="next"&&(this.arg=r),b}},i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(UU)),UU.exports}var GU={exports:{}},Ibe;function ZUt(){return Ibe||(Ibe=1,function(e){function t(r,i,o,a,l,s,u){try{var c=r[s](u),f=c.value}catch(h){o(h);return}c.done?i(f):Promise.resolve(f).then(a,l)}function n(r){return function(){var i=this,o=arguments;return new Promise(function(a,l){var s=r.apply(i,o);function u(f){t(s,a,l,u,c,"next",f)}function c(f){t(s,a,l,u,c,"throw",f)}u(void 0)})}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(GU)),GU.exports}var Nbe;function yF(){if(Nbe)return Cg;Nbe=1;var e=Y$().default,t=ze.default;Object.defineProperty(Cg,"__esModule",{value:!0}),Cg._r=v,Cg._u=S,Cg.render=y,Cg.unmount=w;var n=t(YUt()),r=t(ZUt()),i=t(ll()),o=t(kh()),a=e(Ns),l=(0,o.default)({},a),s=l.version,u=l.render,c=l.unmountComponentAtNode,f;try{var h=Number((s||"").split(".")[0]);h>=18&&(f=l.createRoot)}catch{}function d($){var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;P&&(0,i.default)(P)==="object"&&(P.usingClientEntryPoint=$)}var p="__rc_react_root__";function g($,P){d(!0);var T=P[p]||f(P);d(!1),T.render($),P[p]=T}function m($,P){u($,P)}function v($,P){}function y($,P){if(f){g($,P);return}m($,P)}function b($){return C.apply(this,arguments)}function C(){return C=(0,r.default)((0,n.default)().mark(function $(P){return(0,n.default)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.abrupt("return",Promise.resolve().then(function(){var M;(M=P[p])===null||M===void 0||M.unmount(),delete P[p]}));case 1:case"end":return R.stop()}},$)})),C.apply(this,arguments)}function x($){c($)}function S($){}function w($){return O.apply(this,arguments)}function O(){return O=(0,r.default)((0,n.default)().mark(function $(P){return(0,n.default)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(f===void 0){R.next=2;break}return R.abrupt("return",b(P));case 2:x(P);case 3:case"end":return R.stop()}},$)})),O.apply(this,arguments)}return Cg}var e2={},Sg={},Abe;function Il(){if(Abe)return Sg;Abe=1,Object.defineProperty(Sg,"__esModule",{value:!0}),Sg.getTransitionName=Sg.default=void 0;const e=()=>({height:0,opacity:0}),t=a=>{const{scrollHeight:l}=a;return{height:l,opacity:1}},n=a=>({height:a?a.offsetHeight:0}),r=(a,l)=>(l==null?void 0:l.deadline)===!0||l.propertyName==="height",i=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:e,onEnterStart:e,onAppearActive:t,onEnterActive:t,onLeaveStart:n,onLeaveActive:e,onAppearEnd:r,onEnterEnd:r,onLeaveEnd:r,motionDeadline:500}},o=(a,l,s)=>s!==void 0?s:`${a}-${l}`;return Sg.getTransitionName=o,Sg.default=i,Sg}var nx={},rx={},lR={},KU={exports:{}},XU={exports:{}},kbe;function QUt(){return kbe||(kbe=1,function(e){function t(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var o,a,l,s,u=[],c=!0,f=!1;try{if(l=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;c=!1}else for(;!(c=(o=l.call(i)).done)&&(u.push(o.value),u.length!==r);c=!0);}catch(h){f=!0,a=h}finally{try{if(!c&&i.return!=null&&(s=i.return(),Object(s)!==s))return}finally{if(f)throw a}}return u}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(XU)),XU.exports}var jbe;function Loe(){return jbe||(jbe=1,function(e){var t=rqe(),n=QUt(),r=Poe(),i=iqe();function o(a,l){return t(a)||n(a,l)||r(a,l)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}(KU)),KU.exports}var Dbe;function zoe(){if(Dbe)return lR;Dbe=1;var e=Y$().default,t=ze.default;Object.defineProperty(lR,"__esModule",{value:!0}),lR.default=i;var n=t(Loe()),r=e(_);function i(o){var a=r.useRef(!1),l=r.useState(o),s=(0,n.default)(l,2),u=s[0],c=s[1];r.useEffect(function(){return a.current=!1,function(){a.current=!0}},[]);function f(h,d){d&&a.current||c(h)}return[u,f]}return lR}var YU={},ix={},s1={},Lbe;function Nc(){if(Lbe)return s1;Lbe=1;var e=ze.default;Object.defineProperty(s1,"__esModule",{value:!0}),s1.composeRef=a,s1.fillRef=o,s1.supportNodeRef=u,s1.supportRef=s,s1.useComposeRef=l;var t=e(ll()),n=_,r=xne(),i=e(Roe());function o(c,f){typeof c=="function"?c(f):(0,t.default)(c)==="object"&&c&&"current"in c&&(c.current=f)}function a(){for(var c=arguments.length,f=new Array(c),h=0;h{const{componentCls:r,colorPrimary:i}=n;return{[r]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${i})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${n.motionEaseOutCirc}`,`opacity 2s ${n.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${n.motionEaseInOut}`,`opacity 0.35s ${n.motionEaseInOut}`].join(",")}}}}};return lx.default=(0,e.genComponentStyleHook)("Wave",n=>[t(n)]),lx}var sR={},sx={},t2={},Fbe;function eGt(){if(Fbe)return t2;Fbe=1,Object.defineProperty(t2,"__esModule",{value:!0}),t2.getTargetWaveColor=n,t2.isNotGrey=e,t2.isValidWaveColor=t;function e(r){const i=(r||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return i&&i[1]&&i[2]&&i[3]?!(i[1]===i[2]&&i[2]===i[3]):!0}function t(r){return r&&r!=="#fff"&&r!=="#ffffff"&&r!=="rgb(255, 255, 255)"&&r!=="rgba(255, 255, 255, 1)"&&e(r)&&!/rgba\((?:\d*, ){3}0\)/.test(r)&&r!=="transparent"}function n(r){const{borderTopColor:i,borderColor:o,backgroundColor:a}=getComputedStyle(r);return t(i)?i:t(o)?o:t(a)?a:null}return t2}var cx={},Hbe;function bF(){return Hbe||(Hbe=1,Object.defineProperty(cx,"__esModule",{value:!0}),cx.TARGET_CLS=void 0,cx.TARGET_CLS="ant-wave-target"),cx}var Wbe;function tGt(){if(Wbe)return sx;Wbe=1;var e=ze;Object.defineProperty(sx,"__esModule",{value:!0}),sx.default=void 0;var t=e(Tt()),n=e(Ad),r=yF(),i=e(Gy()),o=u(_),a=eGt(),l=bF();function s(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(s=function(m){return m?g:p})(d)}function u(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=s(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function c(d){return Number.isNaN(d)?0:d}const f=d=>{const{className:p,target:g,component:m}=d,v=o.useRef(null),[y,b]=o.useState(null),[C,x]=o.useState([]),[S,w]=o.useState(0),[O,$]=o.useState(0),[P,T]=o.useState(0),[R,M]=o.useState(0),[A,N]=o.useState(!1),k={left:S,top:O,width:P,height:R,borderRadius:C.map(B=>`${B}px`).join(" ")};y&&(k["--wave-color"]=y);function D(){const B=getComputedStyle(g);b((0,a.getTargetWaveColor)(g));const j=B.position==="static",{borderLeftWidth:z,borderTopWidth:V}=B;w(j?g.offsetLeft:c(-parseFloat(z))),$(j?g.offsetTop:c(-parseFloat(V))),T(g.offsetWidth),M(g.offsetHeight);const{borderTopLeftRadius:W,borderTopRightRadius:U,borderBottomLeftRadius:K,borderBottomRightRadius:X}=B;x([W,U,X,K].map(G=>c(parseFloat(G))))}if(o.useEffect(()=>{if(g){const B=(0,i.default)(()=>{D(),N(!0)});let j;return typeof ResizeObserver<"u"&&(j=new ResizeObserver(D),j.observe(g)),()=>{i.default.cancel(B),j==null||j.disconnect()}}},[]),!A)return null;const L=(m==="Checkbox"||m==="Radio")&&(g==null?void 0:g.classList.contains(l.TARGET_CLS));return o.createElement(n.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(B,j)=>{var z;if(j.deadline||j.propertyName==="opacity"){const V=(z=v.current)===null||z===void 0?void 0:z.parentElement;(0,r.unmount)(V).then(()=>{V==null||V.remove()})}return!1}},B=>{let{className:j}=B;return o.createElement("div",{ref:v,className:(0,t.default)(p,{"wave-quick":L},j),style:k})})},h=(d,p)=>{var g;const{component:m}=p;if(m==="Checkbox"&&!(!((g=d.querySelector("input"))===null||g===void 0)&&g.checked))return;const v=document.createElement("div");v.style.position="absolute",v.style.left="0px",v.style.top="0px",d==null||d.insertBefore(v,d==null?void 0:d.firstChild),(0,r.render)(o.createElement(f,Object.assign({},p,{target:d})),v)};return sx.default=h,sx}var qbe;function nGt(){if(qbe)return sR;qbe=1;var e=ze;Object.defineProperty(sR,"__esModule",{value:!0}),sR.default=c;var t=u(_),n=Xy,r=e(Gy()),i=e(tGt()),o=Lt(),a=e($C()),l=bF();function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}function c(f,h,d){const{wave:p}=t.useContext(o.ConfigContext),[,g,m]=(0,a.default)(),v=(0,n.useEvent)(C=>{const x=f.current;if(p!=null&&p.disabled||!x)return;const S=x.querySelector(`.${l.TARGET_CLS}`)||x,{showEffect:w}=p||{};(w||i.default)(S,{className:h,token:g,component:d,event:C,hashId:m})}),y=t.useRef();return C=>{r.default.cancel(y.current),y.current=(0,r.default)(()=>{v(C)})}}return sR}var Vbe;function eP(){if(Vbe)return ox;Vbe=1;var e=ze;Object.defineProperty(ox,"__esModule",{value:!0}),ox.default=void 0;var t=e(Tt()),n=Nc(),r=e(Nqe()),i=c(_),o=Lt(),a=to(),l=e(JUt()),s=e(nGt());function u(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(u=function(g){return g?p:d})(h)}function c(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=u(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const f=h=>{const{children:d,disabled:p,component:g}=h,{getPrefixCls:m}=(0,i.useContext)(o.ConfigContext),v=(0,i.useRef)(null),y=m("wave"),[,b]=(0,l.default)(y),C=(0,s.default)(v,(0,t.default)(y,b),g);if(i.default.useEffect(()=>{const S=v.current;if(!S||S.nodeType!==1||p)return;const w=O=>{!(0,r.default)(O.target)||!S.getAttribute||S.getAttribute("disabled")||S.disabled||S.className.includes("disabled")||S.className.includes("-leave")||C(O)};return S.addEventListener("click",w,!0),()=>{S.removeEventListener("click",w,!0)}},[p]),!i.default.isValidElement(d))return d??null;const x=(0,n.supportRef)(d)?(0,n.composeRef)(d.ref,v):v;return(0,a.cloneElement)(d,{ref:x})};return ox.default=f,ox}var ux={},Ube;function no(){if(Ube)return ux;Ube=1;var e=ze;Object.defineProperty(ux,"__esModule",{value:!0}),ux.default=void 0;var t=e(_),n=e(cF());const r=i=>{const o=t.default.useContext(n.default);return t.default.useMemo(()=>i?typeof i=="string"?i??o:i instanceof Function?i(o):o:o,[i,o])};return ux.default=r,ux}var zu={},cR={},Gbe;function fl(){if(Gbe)return cR;Gbe=1;var e=ze.default;Object.defineProperty(cR,"__esModule",{value:!0}),cR.default=r;var t=e(_),n=xne();function r(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[];return t.default.Children.forEach(i,function(l){l==null&&!o.keepEmpty||(Array.isArray(l)?a=a.concat(r(l)):(0,n.isFragment)(l)&&l.props?a=a.concat(r(l.props.children,o)):a.push(l))}),a}return cR}var xg={},dx={},Kbe;function rGt(){if(Kbe)return dx;Kbe=1,Object.defineProperty(dx,"__esModule",{value:!0}),dx.default=void 0;const e=t=>{const{componentCls:n}=t;return{[n]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};return dx.default=e,dx}var Xbe;function Aqe(){if(Xbe)return xg;Xbe=1;var e=ze;Object.defineProperty(xg,"__esModule",{value:!0}),xg.prepareComponentToken=xg.default=void 0;var t=Jt(),n=e(rGt());const r=a=>{const{componentCls:l}=a;return{[l]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${l}-item:empty`]:{display:"none"}}}},i=a=>{const{componentCls:l}=a;return{[l]:{"&-gap-row-small":{rowGap:a.spaceGapSmallSize},"&-gap-row-middle":{rowGap:a.spaceGapMiddleSize},"&-gap-row-large":{rowGap:a.spaceGapLargeSize},"&-gap-col-small":{columnGap:a.spaceGapSmallSize},"&-gap-col-middle":{columnGap:a.spaceGapMiddleSize},"&-gap-col-large":{columnGap:a.spaceGapLargeSize}}}},o=()=>({});return xg.prepareComponentToken=o,xg.default=(0,t.genStyleHooks)("Space",a=>{const l=(0,t.mergeToken)(a,{spaceGapSmallSize:a.paddingXS,spaceGapMiddleSize:a.padding,spaceGapLargeSize:a.paddingLG});return[r(l),i(l),(0,n.default)(l)]},()=>({}),{resetStyle:!1}),xg}var Ybe;function ts(){if(Ybe)return zu;Ybe=1;var e=ze;Object.defineProperty(zu,"__esModule",{value:!0}),zu.useCompactItemContext=zu.default=zu.SpaceCompactItemContext=zu.NoCompactStyle=void 0;var t=e(Tt()),n=e(fl()),r=s(_),i=Lt(),o=e(no()),a=e(Aqe());function l(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(l=function(y){return y?v:m})(g)}function s(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=l(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var u=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const v=r.useContext(c),y=r.useMemo(()=>{if(!v)return"";const{compactDirection:b,isFirstItem:C,isLastItem:x}=v,S=b==="vertical"?"-vertical-":"-";return(0,t.default)(`${g}-compact${S}item`,{[`${g}-compact${S}first-item`]:C,[`${g}-compact${S}last-item`]:x,[`${g}-compact${S}item-rtl`]:m==="rtl"})},[g,m,v]);return{compactSize:v==null?void 0:v.compactSize,compactDirection:v==null?void 0:v.compactDirection,compactItemClassnames:y}};zu.useCompactItemContext=f;const h=g=>{let{children:m}=g;return r.createElement(c.Provider,{value:null},m)};zu.NoCompactStyle=h;const d=g=>{var{children:m}=g,v=u(g,["children"]);return r.createElement(c.Provider,{value:v},m)},p=g=>{const{getPrefixCls:m,direction:v}=r.useContext(i.ConfigContext),{size:y,direction:b,block:C,prefixCls:x,className:S,rootClassName:w,children:O}=g,$=u(g,["size","direction","block","prefixCls","className","rootClassName","children"]),P=(0,o.default)(L=>y??L),T=m("space-compact",x),[R,M]=(0,a.default)(T),A=(0,t.default)(T,M,{[`${T}-rtl`]:v==="rtl",[`${T}-block`]:C,[`${T}-vertical`]:b==="vertical"},S,w),N=r.useContext(c),k=(0,n.default)(O),D=r.useMemo(()=>k.map((L,B)=>{const j=L&&L.key||`${T}-item-${B}`;return r.createElement(d,{key:j,compactSize:P,compactDirection:b,isFirstItem:B===0&&(!N||(N==null?void 0:N.isFirstItem)),isLastItem:B===k.length-1&&(!N||(N==null?void 0:N.isLastItem))},L)}),[y,k,N]);return k.length===0?null:R(r.createElement("div",Object.assign({className:A},$),D))};return zu.default=p,zu}var _g={},Zbe;function iGt(){if(Zbe)return _g;Zbe=1;var e=ze;Object.defineProperty(_g,"__esModule",{value:!0}),_g.default=_g.GroupSizeContext=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=Jt();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var l=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{getPrefixCls:f,direction:h}=t.useContext(r.ConfigContext),{prefixCls:d,size:p,className:g}=c,m=l(c,["prefixCls","size","className"]),v=f("btn-group",d),[,,y]=(0,i.useToken)();let b="";switch(p){case"large":b="lg";break;case"small":b="sm";break}const C=(0,n.default)(v,{[`${v}-${b}`]:b,[`${v}-rtl`]:h==="rtl"},g,y);return t.createElement(s.Provider,{value:p},t.createElement("div",Object.assign({},m,{className:C})))};return _g.default=u,_g}var lp={},Qbe;function tP(){if(Qbe)return lp;Qbe=1;var e=ze;Object.defineProperty(lp,"__esModule",{value:!0}),lp.convertLegacyProps=o,lp.isString=a,lp.isTwoCNChar=void 0,lp.isUnBorderedButtonType=l,lp.spaceChildren=u;var t=e(_),n=to();const r=/^[\u4e00-\u9fa5]{2}$/,i=lp.isTwoCNChar=r.test.bind(r);function o(c){return c==="danger"?{danger:!0}:{type:c}}function a(c){return typeof c=="string"}function l(c){return c==="text"||c==="link"}function s(c,f){if(c==null)return;const h=f?" ":"";return typeof c!="string"&&typeof c!="number"&&a(c.type)&&i(c.props.children)?(0,n.cloneElement)(c,{children:c.props.children.split("").join(h)}):a(c)?i(c)?t.default.createElement("span",null,c.split("").join(h)):t.default.createElement("span",null,c):(0,n.isFragment)(c)?t.default.createElement("span",null,c):c}function u(c,f){let h=!1;const d=[];return t.default.Children.forEach(c,p=>{const g=typeof p,m=g==="string"||g==="number";if(h&&m){const v=d.length-1,y=d[v];d[v]=`${y}${p}`}else d.push(p);h=m}),t.default.Children.map(d,p=>s(p,f))}return lp}var fx={},Jbe;function kqe(){if(Jbe)return fx;Jbe=1;var e=ze;Object.defineProperty(fx,"__esModule",{value:!0}),fx.default=void 0;var t=i(_),n=e(Tt());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=(0,t.forwardRef)((a,l)=>{const{className:s,style:u,children:c,prefixCls:f}=a,h=(0,n.default)(`${f}-icon`,s);return t.default.createElement("span",{ref:l,className:h,style:u},c)});return fx.default=o,fx}var px={},e2e;function oGt(){if(e2e)return px;e2e=1;var e=ze;Object.defineProperty(px,"__esModule",{value:!0}),px.default=void 0;var t=e(Vf()),n=e(Tt()),r=e(Ad),i=l(_),o=e(kqe());function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const s=(0,i.forwardRef)((h,d)=>{let{prefixCls:p,className:g,style:m,iconClassName:v}=h;const y=(0,n.default)(`${p}-loading-icon`,g);return i.default.createElement(o.default,{prefixCls:p,className:y,style:m,ref:d},i.default.createElement(t.default,{className:v}))}),u=()=>({width:0,opacity:0,transform:"scale(0)"}),c=h=>({width:h.scrollWidth,opacity:1,transform:"scale(1)"}),f=h=>{const{prefixCls:d,loading:p,existIcon:g,className:m,style:v}=h,y=!!p;return g?i.default.createElement(s,{prefixCls:d,className:m,style:v}):i.default.createElement(r.default,{visible:y,motionName:`${d}-loading-icon-motion`,motionLeave:y,removeOnLeave:!0,onAppearStart:u,onAppearActive:c,onEnterStart:u,onEnterActive:c,onLeaveStart:c,onLeaveActive:u},(b,C)=>{let{className:x,style:S}=b;return i.default.createElement(s,{prefixCls:d,className:m,style:Object.assign(Object.assign({},v),S),ref:C,iconClassName:x})})};return px.default=f,px}var hx={},gx={},t2e;function aGt(){if(t2e)return gx;t2e=1,Object.defineProperty(gx,"__esModule",{value:!0}),gx.default=void 0;const e=(n,r)=>({[`> span, > ${n}`]:{"&:not(:last-child)":{[`&, & > ${n}`]:{"&:not(:disabled)":{borderInlineEndColor:r}}},"&:not(:first-child)":{[`&, & > ${n}`]:{"&:not(:disabled)":{borderInlineStartColor:r}}}}}),t=n=>{const{componentCls:r,fontSize:i,lineWidth:o,groupBorderColor:a,colorErrorHover:l}=n;return{[`${r}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${r}`]:{"&:not(:last-child)":{[`&, & > ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:n.calc(o).mul(-1).equal(),[`&, & > ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[r]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${r}-icon-only`]:{fontSize:i}},e(`${r}-primary`,a),e(`${r}-danger`,l)]}};return gx.default=t,gx}var wg={},n2e;function jqe(){if(n2e)return wg;n2e=1,Object.defineProperty(wg,"__esModule",{value:!0}),wg.prepareToken=wg.prepareComponentToken=void 0;var e=Jt();const t=r=>{const{paddingInline:i,onlyIconSize:o,paddingBlock:a}=r;return(0,e.mergeToken)(r,{buttonPaddingHorizontal:i,buttonPaddingVertical:a,buttonIconOnlyFontSize:o})};wg.prepareToken=t;const n=r=>{var i,o,a,l,s,u;const c=(i=r.contentFontSize)!==null&&i!==void 0?i:r.fontSize,f=(o=r.contentFontSizeSM)!==null&&o!==void 0?o:r.fontSize,h=(a=r.contentFontSizeLG)!==null&&a!==void 0?a:r.fontSizeLG,d=(l=r.contentLineHeight)!==null&&l!==void 0?l:(0,e.getLineHeight)(c),p=(s=r.contentLineHeightSM)!==null&&s!==void 0?s:(0,e.getLineHeight)(f),g=(u=r.contentLineHeightLG)!==null&&u!==void 0?u:(0,e.getLineHeight)(h);return{fontWeight:400,defaultShadow:`0 ${r.controlOutlineWidth}px 0 ${r.controlTmpOutline}`,primaryShadow:`0 ${r.controlOutlineWidth}px 0 ${r.controlOutline}`,dangerShadow:`0 ${r.controlOutlineWidth}px 0 ${r.colorErrorOutline}`,primaryColor:r.colorTextLightSolid,dangerColor:r.colorTextLightSolid,borderColorDisabled:r.colorBorder,defaultGhostColor:r.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:r.colorBgContainer,paddingInline:r.paddingContentHorizontal-r.lineWidth,paddingInlineLG:r.paddingContentHorizontal-r.lineWidth,paddingInlineSM:8-r.lineWidth,onlyIconSize:r.fontSizeLG,onlyIconSizeSM:r.fontSizeLG-2,onlyIconSizeLG:r.fontSizeLG+2,groupBorderColor:r.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:r.colorBgTextHover,defaultColor:r.colorText,defaultBg:r.colorBgContainer,defaultBorderColor:r.colorBorder,defaultBorderColorDisabled:r.colorBorder,defaultHoverBg:r.colorBgContainer,defaultHoverColor:r.colorPrimaryHover,defaultHoverBorderColor:r.colorPrimaryHover,defaultActiveBg:r.colorBgContainer,defaultActiveColor:r.colorPrimaryActive,defaultActiveBorderColor:r.colorPrimaryActive,contentFontSize:c,contentFontSizeSM:f,contentFontSizeLG:h,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:g,paddingBlock:Math.max((r.controlHeight-c*d)/2-r.lineWidth,0),paddingBlockSM:Math.max((r.controlHeightSM-f*p)/2-r.lineWidth,0),paddingBlockLG:Math.max((r.controlHeightLG-h*g)/2-r.lineWidth,0)}};return wg.prepareComponentToken=n,wg}var r2e;function lGt(){if(r2e)return hx;r2e=1;var e=ze;Object.defineProperty(hx,"__esModule",{value:!0}),hx.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(aGt()),o=jqe();const a=P=>{const{componentCls:T,iconCls:R,fontWeight:M}=P;return{[T]:{outline:"none",position:"relative",display:"inline-block",fontWeight:M,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,t.unit)(P.lineWidth)} ${P.lineType} transparent`,cursor:"pointer",transition:`all ${P.motionDurationMid} ${P.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:P.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${T}-icon`]:{lineHeight:0},[`> ${R} + span, > span + ${R}`]:{marginInlineStart:P.marginXS},[`&:not(${T}-icon-only) > ${T}-icon`]:{[`&${T}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:P.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,n.genFocusStyle)(P)),[`&${T}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${T}-two-chinese-chars > *:not(${R})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${T}-compact-item`]:{flex:"none"}}}},l=(P,T,R)=>({[`&:not(:disabled):not(${P}-disabled)`]:{"&:hover":T,"&:active":R}}),s=P=>({minWidth:P.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),u=P=>({borderRadius:P.controlHeight,paddingInlineStart:P.calc(P.controlHeight).div(2).equal(),paddingInlineEnd:P.calc(P.controlHeight).div(2).equal()}),c=P=>({cursor:"not-allowed",borderColor:P.borderColorDisabled,color:P.colorTextDisabled,background:P.colorBgContainerDisabled,boxShadow:"none"}),f=(P,T,R,M,A,N,k,D)=>({[`&${P}-background-ghost`]:Object.assign(Object.assign({color:R||void 0,background:T,borderColor:M||void 0,boxShadow:"none"},l(P,Object.assign({background:T},k),Object.assign({background:T},D))),{"&:disabled":{cursor:"not-allowed",color:A||void 0,borderColor:N||void 0}})}),h=P=>({[`&:disabled, &${P.componentCls}-disabled`]:Object.assign({},c(P))}),d=P=>Object.assign({},h(P)),p=P=>({[`&:disabled, &${P.componentCls}-disabled`]:{cursor:"not-allowed",color:P.colorTextDisabled}}),g=P=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(P)),{background:P.defaultBg,borderColor:P.defaultBorderColor,color:P.defaultColor,boxShadow:P.defaultShadow}),l(P.componentCls,{color:P.defaultHoverColor,borderColor:P.defaultHoverBorderColor,background:P.defaultHoverBg},{color:P.defaultActiveColor,borderColor:P.defaultActiveBorderColor,background:P.defaultActiveBg})),f(P.componentCls,P.ghostBg,P.defaultGhostColor,P.defaultGhostBorderColor,P.colorTextDisabled,P.colorBorder)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:P.colorError,borderColor:P.colorError},l(P.componentCls,{color:P.colorErrorHover,borderColor:P.colorErrorBorderHover},{color:P.colorErrorActive,borderColor:P.colorErrorActive})),f(P.componentCls,P.ghostBg,P.colorError,P.colorError,P.colorTextDisabled,P.colorBorder)),h(P))}),m=P=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(P)),{color:P.primaryColor,background:P.colorPrimary,boxShadow:P.primaryShadow}),l(P.componentCls,{color:P.colorTextLightSolid,background:P.colorPrimaryHover},{color:P.colorTextLightSolid,background:P.colorPrimaryActive})),f(P.componentCls,P.ghostBg,P.colorPrimary,P.colorPrimary,P.colorTextDisabled,P.colorBorder,{color:P.colorPrimaryHover,borderColor:P.colorPrimaryHover},{color:P.colorPrimaryActive,borderColor:P.colorPrimaryActive})),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:P.colorError,boxShadow:P.dangerShadow,color:P.dangerColor},l(P.componentCls,{background:P.colorErrorHover},{background:P.colorErrorActive})),f(P.componentCls,P.ghostBg,P.colorError,P.colorError,P.colorTextDisabled,P.colorBorder,{color:P.colorErrorHover,borderColor:P.colorErrorHover},{color:P.colorErrorActive,borderColor:P.colorErrorActive})),h(P))}),v=P=>Object.assign(Object.assign({},g(P)),{borderStyle:"dashed"}),y=P=>Object.assign(Object.assign(Object.assign({color:P.colorLink},l(P.componentCls,{color:P.colorLinkHover,background:P.linkHoverBg},{color:P.colorLinkActive})),p(P)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign({color:P.colorError},l(P.componentCls,{color:P.colorErrorHover},{color:P.colorErrorActive})),p(P))}),b=P=>Object.assign(Object.assign(Object.assign({},l(P.componentCls,{color:P.colorText,background:P.textHoverBg},{color:P.colorText,background:P.colorBgTextActive})),p(P)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign({color:P.colorError},p(P)),l(P.componentCls,{color:P.colorErrorHover,background:P.colorErrorBg},{color:P.colorErrorHover,background:P.colorErrorBg}))}),C=P=>{const{componentCls:T}=P;return{[`${T}-default`]:g(P),[`${T}-primary`]:m(P),[`${T}-dashed`]:v(P),[`${T}-link`]:y(P),[`${T}-text`]:b(P),[`${T}-ghost`]:f(P.componentCls,P.ghostBg,P.colorBgContainer,P.colorBgContainer,P.colorTextDisabled,P.colorBorder)}},x=function(P){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:R,controlHeight:M,fontSize:A,lineHeight:N,borderRadius:k,buttonPaddingHorizontal:D,iconCls:L,buttonPaddingVertical:B}=P,j=`${R}-icon-only`;return[{[`${T}`]:{fontSize:A,lineHeight:N,height:M,padding:`${(0,t.unit)(B)} ${(0,t.unit)(D)}`,borderRadius:k,[`&${j}`]:{width:M,paddingInlineStart:0,paddingInlineEnd:0,[`&${R}-round`]:{width:"auto"},[L]:{fontSize:P.buttonIconOnlyFontSize}},[`&${R}-loading`]:{opacity:P.opacityLoading,cursor:"default"},[`${R}-loading-icon`]:{transition:`width ${P.motionDurationSlow} ${P.motionEaseInOut}, opacity ${P.motionDurationSlow} ${P.motionEaseInOut}`}}},{[`${R}${R}-circle${T}`]:s(P)},{[`${R}${R}-round${T}`]:u(P)}]},S=P=>{const T=(0,r.mergeToken)(P,{fontSize:P.contentFontSize,lineHeight:P.contentLineHeight});return x(T,P.componentCls)},w=P=>{const T=(0,r.mergeToken)(P,{controlHeight:P.controlHeightSM,fontSize:P.contentFontSizeSM,lineHeight:P.contentLineHeightSM,padding:P.paddingXS,buttonPaddingHorizontal:P.paddingInlineSM,buttonPaddingVertical:P.paddingBlockSM,borderRadius:P.borderRadiusSM,buttonIconOnlyFontSize:P.onlyIconSizeSM});return x(T,`${P.componentCls}-sm`)},O=P=>{const T=(0,r.mergeToken)(P,{controlHeight:P.controlHeightLG,fontSize:P.contentFontSizeLG,lineHeight:P.contentLineHeightLG,buttonPaddingHorizontal:P.paddingInlineLG,buttonPaddingVertical:P.paddingBlockLG,borderRadius:P.borderRadiusLG,buttonIconOnlyFontSize:P.onlyIconSizeLG});return x(T,`${P.componentCls}-lg`)},$=P=>{const{componentCls:T}=P;return{[T]:{[`&${T}-block`]:{width:"100%"}}}};return hx.default=(0,r.genStyleHooks)("Button",P=>{const T=(0,o.prepareToken)(P);return[a(T),S(T),w(T),O(T),$(T),C(T),(0,i.default)(T)]},o.prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),hx}var mx={},uR={},i2e;function IC(){if(i2e)return uR;i2e=1,Object.defineProperty(uR,"__esModule",{value:!0}),uR.genCompactItemStyle=n;function e(r,i,o){const{focusElCls:a,focus:l,borderElCls:s}=o,u=s?"> *":"",c=["hover",l?"focus":null,"active"].filter(Boolean).map(f=>`&:${f} ${u}`).join(",");return{[`&-item:not(${i}-last-item)`]:{marginInlineEnd:r.calc(r.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},a?{[`&${a}`]:{zIndex:2}}:{}),{[`&[disabled] ${u}`]:{zIndex:0}})}}function t(r,i,o){const{borderElCls:a}=o,l=a?`> ${a}`:"";return{[`&-item:not(${i}-first-item):not(${i}-last-item) ${l}`]:{borderRadius:0},[`&-item:not(${i}-last-item)${i}-first-item`]:{[`& ${l}, &${r}-sm ${l}, &${r}-lg ${l}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${i}-first-item)${i}-last-item`]:{[`& ${l}, &${r}-sm ${l}, &${r}-lg ${l}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function n(r){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=r,a=`${o}-compact`;return{[a]:Object.assign(Object.assign({},e(r,a,i)),t(o,a,i))}}return uR}var dR={},o2e;function sGt(){if(o2e)return dR;o2e=1,Object.defineProperty(dR,"__esModule",{value:!0}),dR.genCompactItemVerticalStyle=n;function e(r,i){return{[`&-item:not(${i}-last-item)`]:{marginBottom:r.calc(r.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function t(r,i){return{[`&-item:not(${i}-first-item):not(${i}-last-item)`]:{borderRadius:0},[`&-item${i}-first-item:not(${i}-last-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${i}-last-item:not(${i}-first-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function n(r){const i=`${r.componentCls}-compact-vertical`;return{[i]:Object.assign(Object.assign({},e(r,i)),t(r.componentCls,i))}}return dR}var a2e;function cGt(){if(a2e)return mx;a2e=1,Object.defineProperty(mx,"__esModule",{value:!0}),mx.default=void 0;var e=jqe(),t=IC(),n=sGt(),r=Jt(),i=Xt;const o=a=>{const{componentCls:l,calc:s}=a;return{[l]:{[`&-compact-item${l}-primary`]:{[`&:not([disabled]) + ${l}-compact-item${l}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:s(a.lineWidth).mul(-1).equal(),insetInlineStart:s(a.lineWidth).mul(-1).equal(),display:"inline-block",width:a.lineWidth,height:`calc(100% + ${(0,i.unit)(a.lineWidth)} * 2)`,backgroundColor:a.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${l}-primary`]:{[`&:not([disabled]) + ${l}-compact-vertical-item${l}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:s(a.lineWidth).mul(-1).equal(),insetInlineStart:s(a.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,i.unit)(a.lineWidth)} * 2)`,height:a.lineWidth,backgroundColor:a.colorPrimaryHover,content:'""'}}}}}}};return mx.default=(0,r.genSubStyleComponent)(["Button","compact"],a=>{const l=(0,e.prepareToken)(a);return[(0,t.genCompactItemStyle)(l),(0,n.genCompactItemVerticalStyle)(l),o(l)]},e.prepareComponentToken),mx}var l2e;function uGt(){if(l2e)return ix;l2e=1;var e=ze;Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=void 0;var t=v(_),n=e(Tt()),r=e(Qr()),i=Nc();_n();var o=e(eP()),a=Lt(),l=e($a()),s=e(no()),u=ts(),c=v(iGt()),f=tP(),h=e(kqe()),d=e(oGt()),p=e(lGt()),g=e(cGt());function m(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(m=function($){return $?O:w})(S)}function v(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=m(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var y=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};function b(S){if(typeof S=="object"&&S){let w=S==null?void 0:S.delay;return w=!Number.isNaN(w)&&typeof w=="number"?w:0,{loading:w<=0,delay:w}}return{loading:!!S,delay:0}}const C=(S,w)=>{var O,$;const{loading:P=!1,prefixCls:T,type:R="default",danger:M,shape:A="default",size:N,styles:k,disabled:D,className:L,rootClassName:B,children:j,icon:z,ghost:V=!1,block:W=!1,htmlType:U="button",classNames:K,style:X={}}=S,G=y(S,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Y,autoInsertSpaceInButton:J,direction:ee,button:Q}=(0,t.useContext)(a.ConfigContext),te=Y("btn",T),[ne,re,oe]=(0,p.default)(te),se=(0,t.useContext)(l.default),ye=D??se,be=(0,t.useContext)(c.GroupSizeContext),he=(0,t.useMemo)(()=>b(P),[P]),[le,ve]=(0,t.useState)(he.loading),[ke,Ie]=(0,t.useState)(!1),Oe=(0,t.createRef)(),Pe=(0,i.composeRef)(w,Oe),_e=t.Children.count(j)===1&&!z&&!(0,f.isUnBorderedButtonType)(R);(0,t.useEffect)(()=>{let we=null;he.delay>0?we=setTimeout(()=>{we=null,ve(!0)},he.delay):ve(he.loading);function De(){we&&(clearTimeout(we),we=null)}return De},[he]),(0,t.useEffect)(()=>{if(!Pe||!Pe.current||J===!1)return;const we=Pe.current.textContent;_e&&(0,f.isTwoCNChar)(we)?ke||Ie(!0):ke&&Ie(!1)},[Pe]);const ce=we=>{const{onClick:De}=S;if(le||ye){we.preventDefault();return}De==null||De(we)},Te=J!==!1,{compactSize:Ne,compactItemClassnames:je}=(0,u.useCompactItemContext)(te,ee),He={large:"lg",small:"sm",middle:void 0},Be=(0,s.default)(we=>{var De,We;return(We=(De=N??Ne)!==null&&De!==void 0?De:be)!==null&&We!==void 0?We:we}),qe=Be&&He[Be]||"",me=le?"loading":z,Ee=(0,r.default)(G,["navigate"]),$e=(0,n.default)(te,re,oe,{[`${te}-${A}`]:A!=="default"&&A,[`${te}-${R}`]:R,[`${te}-${qe}`]:qe,[`${te}-icon-only`]:!j&&j!==0&&!!me,[`${te}-background-ghost`]:V&&!(0,f.isUnBorderedButtonType)(R),[`${te}-loading`]:le,[`${te}-two-chinese-chars`]:ke&&Te&&!le,[`${te}-block`]:W,[`${te}-dangerous`]:!!M,[`${te}-rtl`]:ee==="rtl"},je,L,B,Q==null?void 0:Q.className),Le=Object.assign(Object.assign({},Q==null?void 0:Q.style),X),Fe=(0,n.default)(K==null?void 0:K.icon,(O=Q==null?void 0:Q.classNames)===null||O===void 0?void 0:O.icon),Ke=Object.assign(Object.assign({},(k==null?void 0:k.icon)||{}),(($=Q==null?void 0:Q.styles)===null||$===void 0?void 0:$.icon)||{}),lt=z&&!le?t.default.createElement(h.default,{prefixCls:te,className:Fe,style:Ke},z):t.default.createElement(d.default,{existIcon:!!z,prefixCls:te,loading:!!le}),ft=j||j===0?(0,f.spaceChildren)(j,_e&&Te):null;if(Ee.href!==void 0)return ne(t.default.createElement("a",Object.assign({},Ee,{className:(0,n.default)($e,{[`${te}-disabled`]:ye}),href:ye?void 0:Ee.href,style:Le,onClick:ce,ref:Pe,tabIndex:ye?-1:0}),lt,ft));let Ye=t.default.createElement("button",Object.assign({},G,{type:U,className:$e,style:Le,onClick:ce,disabled:ye,ref:Pe}),lt,ft,!!je&&t.default.createElement(g.default,{key:"compact",prefixCls:te}));return(0,f.isUnBorderedButtonType)(R)||(Ye=t.default.createElement(o.default,{component:"Button",disabled:!!le},Ye)),ne(Ye)},x=(0,t.forwardRef)(C);return x.Group=c.default,x.__ANT_BUTTON=!0,ix.default=x,ix}var s2e;function Ac(){return s2e||(s2e=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0});var n={};e.default=void 0;var r=t(uGt()),i=tP();Object.keys(i).forEach(function(o){o==="default"||o==="__esModule"||Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===i[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return i[o]}})}),e.default=r.default}(YU)),YU}var c2e;function Boe(){if(c2e)return rx;c2e=1;var e=ze;Object.defineProperty(rx,"__esModule",{value:!0}),rx.default=void 0;var t=e(zoe()),n=a(_),r=e(Ac()),i=tP();function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}function l(u){return!!(u&&u.then)}const s=u=>{const{type:c,children:f,prefixCls:h,buttonProps:d,close:p,autoFocus:g,emitEvent:m,isSilent:v,quitOnNullishReturnValue:y,actionFn:b}=u,C=n.useRef(!1),x=n.useRef(null),[S,w]=(0,t.default)(!1),O=function(){p==null||p.apply(void 0,arguments)};n.useEffect(()=>{let T=null;return g&&(T=setTimeout(()=>{var R;(R=x.current)===null||R===void 0||R.focus()})),()=>{T&&clearTimeout(T)}},[]);const $=T=>{l(T)&&(w(!0),T.then(function(){w(!1,!0),O.apply(void 0,arguments),C.current=!1},R=>{if(w(!1,!0),C.current=!1,!(v!=null&&v()))return Promise.reject(R)}))},P=T=>{if(C.current)return;if(C.current=!0,!b){O();return}let R;if(m){if(R=b(T),y&&!l(R)){C.current=!1,O(T);return}}else if(b.length)R=b(p),C.current=!1;else if(R=b(),!R){O();return}$(R)};return n.createElement(r.default,Object.assign({},(0,i.convertLegacyProps)(c),{onClick:P,loading:S,prefixCls:h},d,{ref:x}),f)};return rx.default=s,rx}var Og={},u2e;function NC(){if(u2e)return Og;u2e=1;var e=ze;Object.defineProperty(Og,"__esModule",{value:!0}),Og.ModalContextProvider=Og.ModalContext=void 0;var t=e(_);const n=Og.ModalContext=t.default.createContext({}),{Provider:r}=n;return Og.ModalContextProvider=r,Og}var d2e;function dGt(){if(d2e)return nx;d2e=1;var e=ze;Object.defineProperty(nx,"__esModule",{value:!0}),nx.default=void 0;var t=o(_),n=e(Boe()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{autoFocusButton:l,cancelButtonProps:s,cancelTextLocale:u,isSilent:c,mergedOkCancel:f,rootPrefixCls:h,close:d,onCancel:p,onConfirm:g}=(0,t.useContext)(r.ModalContext);return f?t.default.createElement(n.default,{isSilent:c,actionFn:p,close:function(){d==null||d.apply(void 0,arguments),g==null||g(!1)},autoFocus:l==="cancel",buttonProps:s,prefixCls:`${h}-btn`},u):null};return nx.default=a,nx}var vx={},f2e;function fGt(){if(f2e)return vx;f2e=1;var e=ze;Object.defineProperty(vx,"__esModule",{value:!0}),vx.default=void 0;var t=o(_),n=e(Boe()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{autoFocusButton:l,close:s,isSilent:u,okButtonProps:c,rootPrefixCls:f,okTextLocale:h,okType:d,onConfirm:p,onOk:g}=(0,t.useContext)(r.ModalContext);return t.default.createElement(n.default,{isSilent:u,type:d||"primary",actionFn:g,close:function(){s==null||s.apply(void 0,arguments),p==null||p(!0)},autoFocus:l==="ok",buttonProps:c,prefixCls:`${f}-btn`},h)};return vx.default=a,vx}var yx={};const Dqe=cr(Dmt);var bx={},p2e;function CF(){if(p2e)return bx;p2e=1;var e=ze;Object.defineProperty(bx,"__esModule",{value:!0}),bx.default=void 0;var t=e(_),n=e(zs());function r(o,a,l){return typeof o=="boolean"?o:a===void 0?!!l:a!==!1&&a!==null}function i(o,a,l){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t.default.createElement(n.default,null),u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!r(o,a,u))return[!1,null];const f=typeof a=="boolean"||a===void 0||a===null?s:a;return[!0,l?l(f):f]}return bx.default=i,bx}var ZU={},fR={},h2e;function pGt(){if(h2e)return fR;h2e=1;var e=ze.default;Object.defineProperty(fR,"__esModule",{value:!0}),fR.isStyleSupport=i;var t=e(J$()),n=function(a){if((0,t.default)()&&window.document.documentElement){var l=Array.isArray(a)?a:[a],s=window.document.documentElement;return l.some(function(u){return u in s.style})}return!1},r=function(a,l){if(!n(a))return!1;var s=document.createElement("div"),u=s.style[a];return s.style[a]=l,s.style[a]!==u};function i(o,a){return!Array.isArray(o)&&a!==void 0?r(o,a):n(o)}return fR}var g2e;function Lqe(){return g2e||(g2e=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.canUseDocElement=void 0,Object.defineProperty(e,"isStyleSupport",{enumerable:!0,get:function(){return r.isStyleSupport}});var n=t(J$()),r=pGt();const i=()=>(0,n.default)()&&window.document.documentElement;e.canUseDocElement=i}(ZU)),ZU}var Ga={};const nP=cr(Avt);var m2e;function fi(){if(m2e)return Ga;m2e=1;var e=ze;Object.defineProperty(Ga,"__esModule",{value:!0}),Ga.VariantContext=Ga.NoStyleItemContext=Ga.NoFormStyle=Ga.FormProvider=Ga.FormItemPrefixContext=Ga.FormItemInputContext=Ga.FormContext=void 0;var t=a(_),n=t,r=nP,i=e(Qr());function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}Ga.FormContext=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),Ga.NoStyleItemContext=n.createContext(null);const l=c=>{const f=(0,i.default)(c,["prefixCls"]);return n.createElement(r.FormProvider,Object.assign({},f))};Ga.FormProvider=l,Ga.FormItemPrefixContext=n.createContext({prefixCls:""});const s=Ga.FormItemInputContext=n.createContext({}),u=c=>{let{children:f,status:h,override:d}=c;const p=(0,t.useContext)(s),g=(0,t.useMemo)(()=>{const m=Object.assign({},p);return d&&delete m.isFormItemInput,h&&(delete m.status,delete m.hasFeedback,delete m.feedbackIcon),m},[h,d,p]);return n.createElement(s.Provider,{value:g},f)};return Ga.NoFormStyle=u,Ga.VariantContext=(0,t.createContext)(void 0),Ga}var n2={},v2e;function Foe(){if(v2e)return n2;v2e=1,Object.defineProperty(n2,"__esModule",{value:!0}),n2.default=void 0,n2.usePanelRef=a;var e=Xy,t=r(_);function n(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(n=function(c){return c?u:s})(l)}function r(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=n(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function i(){}const o=t.createContext({add:i,remove:i});function a(l){const s=t.useContext(o),u=t.useRef();return(0,e.useEvent)(f=>{if(f){const h=l?f.querySelector(l):f;s.add(h),u.current=h}else s.remove(u.current)})}return n2.default=o,n2}var r2={},Cx={},y2e;function hGt(){if(y2e)return Cx;y2e=1;var e=ze;Object.defineProperty(Cx,"__esModule",{value:!0}),Cx.default=void 0;var t=o(_),n=e(Ac()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{cancelButtonProps:l,cancelTextLocale:s,onCancel:u}=(0,t.useContext)(r.ModalContext);return t.default.createElement(n.default,Object.assign({onClick:u},l),s)};return Cx.default=a,Cx}var Sx={},b2e;function gGt(){if(b2e)return Sx;b2e=1;var e=ze;Object.defineProperty(Sx,"__esModule",{value:!0}),Sx.default=void 0;var t=a(_),n=e(Ac()),r=tP(),i=NC();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=()=>{const{confirmLoading:s,okButtonProps:u,okType:c,okTextLocale:f,onOk:h}=(0,t.useContext)(i.ModalContext);return t.default.createElement(n.default,Object.assign({},(0,r.convertLegacyProps)(c),{loading:s,onClick:h},u),f)};return Sx.default=l,Sx}var C2e;function zqe(){if(C2e)return r2;C2e=1;var e=ze;Object.defineProperty(r2,"__esModule",{value:!0}),r2.Footer=void 0,r2.renderCloseIcon=c;var t=e(qr()),n=e(_),r=e(zs()),i=$a(),o=Rl(),a=e(hGt()),l=e(gGt()),s=NC(),u=Ioe();function c(h,d){return n.default.createElement("span",{className:`${h}-close-x`},d||n.default.createElement(r.default,{className:`${h}-close-icon`}))}const f=h=>{const{okText:d,okType:p="primary",cancelText:g,confirmLoading:m,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:C,footer:x}=h,[S]=(0,o.useLocale)("Modal",(0,u.getConfirmLocale)()),w=d||(S==null?void 0:S.okText),O=g||(S==null?void 0:S.cancelText),$={confirmLoading:m,okButtonProps:b,cancelButtonProps:C,okTextLocale:w,cancelTextLocale:O,okType:p,onOk:v,onCancel:y},P=n.default.useMemo(()=>$,(0,t.default)(Object.values($)));let T;return typeof x=="function"||typeof x>"u"?(T=n.default.createElement(n.default.Fragment,null,n.default.createElement(a.default,null),n.default.createElement(l.default,null)),typeof x=="function"&&(T=x(T,{OkBtn:l.default,CancelBtn:a.default})),T=n.default.createElement(s.ModalContextProvider,{value:P},T)):T=x,n.default.createElement(i.DisabledContextProvider,{disabled:!1},T)};return r2.Footer=f,r2}var Bu={},QU={},sp={},xx={},S2e;function rP(){if(S2e)return xx;S2e=1,Object.defineProperty(xx,"__esModule",{value:!0}),xx.initMotion=void 0;const e=r=>({animationDuration:r,animationFillMode:"both"}),t=r=>({animationDuration:r,animationFillMode:"both"}),n=function(r,i,o,a){const s=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + `]:{animationPlayState:"running"},[`${l}-move-up-leave`]:{animationName:P,animationDuration:v,animationPlayState:"paused",animationTimingFunction:m},[`${l}-move-up-leave${l}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[l]:{[`${O}-wrapper`]:Object.assign({},T)}},{[`${l}-notice-pure-panel`]:Object.assign(Object.assign({},T),{padding:0,textAlign:"start"})}]},o=a=>({zIndexPopup:a.zIndexPopupBase+t.CONTAINER_MAX_OFFSET+10,contentBg:a.colorBgElevated,contentPadding:`${(a.controlHeightLG-a.fontSize*a.lineHeight)/2}px ${a.paddingSM}px`});return bg.prepareComponentToken=o,bg.default=(0,r.genStyleHooks)("Message",a=>{const l=(0,r.mergeToken)(a,{height:150});return[i(l)]},o),bg}var Pbe;function Mqe(){if(Pbe)return ap;Pbe=1;var e=ze;Object.defineProperty(ap,"__esModule",{value:!0}),ap.default=ap.TypeIcon=ap.PureContent=void 0;var t=e(Yy()),n=e(qf()),r=e(A0()),i=e(gF()),o=e(Vf()),a=e(Tt()),l=yF,s=d(_),u=Lt(),c=e(Tqe()),f=e(zr());function h(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(h=function(x){return x?C:b})(y)}function d(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=h(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var p=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{let{prefixCls:b,type:C,icon:x,children:S}=y;return s.createElement("div",{className:(0,a.default)(`${b}-custom-content`,`${b}-${C}`)},x||g[C],s.createElement("span",null,S))};ap.PureContent=m;const v=y=>{const{prefixCls:b,className:C,type:x,icon:S,content:w}=y,O=p(y,["prefixCls","className","type","icon","content"]),{getPrefixCls:$}=s.useContext(u.ConfigContext),P=b||$("message"),T=(0,f.default)(P),[R,M,A]=(0,c.default)(P,T);return R(s.createElement(l.Notice,Object.assign({},O,{prefixCls:P,className:(0,a.default)(C,M,`${P}-notice-pure-panel`,A,T),eventKey:"pure",duration:null,content:s.createElement(m,{prefixCls:P,type:x,icon:S},w)})))};return ap.default=v,ap}var tx={},Tbe;function Rqe(){if(Tbe)return tx;Tbe=1,Object.defineProperty(tx,"__esModule",{value:!0}),tx.getMotion=e,tx.wrapPromiseFn=t;function e(n,r){return{motionName:r??`${n}-move-up`}}function t(n){let r;const i=new Promise(a=>{r=n(()=>{a(!0)})}),o=()=>{r==null||r()};return o.then=(a,l)=>i.then(a,l),o.promise=i,o}return tx}var Mbe;function Iqe(){if(Mbe)return JS;Mbe=1;var e=ze;Object.defineProperty(JS,"__esModule",{value:!0}),JS.default=x,JS.useInternalMessage=C;var t=h(_),n=e(zs()),r=e(Tt()),i=yF,o=_n(),a=Lt(),l=e(zr()),s=Mqe(),u=e(Tqe()),c=Rqe();function f(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(f=function($){return $?O:w})(S)}function h(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=f(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var d=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const p=8,g=3,m=S=>{let{children:w,prefixCls:O}=S;const $=(0,l.default)(O),[P,T,R]=(0,u.default)(O,$);return P(t.createElement(i.NotificationProvider,{classNames:{list:(0,r.default)(T,R,$)}},w))},v=(S,w)=>{let{prefixCls:O,key:$}=w;return t.createElement(m,{prefixCls:O,key:$},S)},y=t.forwardRef((S,w)=>{const{top:O,prefixCls:$,getContainer:P,maxCount:T,duration:R=g,rtl:M,transitionName:A,onAllRemoved:N}=S,{getPrefixCls:j,getPopupContainer:D,message:L,direction:B}=t.useContext(a.ConfigContext),k=$||j("message"),z=()=>({left:"50%",transform:"translateX(-50%)",top:O??p}),q=()=>(0,r.default)({[`${k}-rtl`]:M??B==="rtl"}),W=()=>(0,c.getMotion)(k,A),U=t.createElement("span",{className:`${k}-close-x`},t.createElement(n.default,{className:`${k}-close-icon`})),[K,X]=(0,i.useNotification)({prefixCls:k,style:z,className:q,motion:W,closable:!1,closeIcon:U,duration:R,getContainer:()=>(P==null?void 0:P())||(D==null?void 0:D())||document.body,maxCount:T,onAllRemoved:N,renderNotifications:v});return t.useImperativeHandle(w,()=>Object.assign(Object.assign({},K),{prefixCls:k,message:L})),X});let b=0;function C(S){const w=t.useRef(null);return(0,o.devUseWarning)("Message"),[t.useMemo(()=>{const $=A=>{var N;(N=w.current)===null||N===void 0||N.close(A)},P=A=>{if(!w.current){const Y=()=>{};return Y.then=()=>{},Y}const{open:N,prefixCls:j,message:D}=w.current,L=`${j}-notice`,{content:B,icon:k,type:z,key:q,className:W,style:U,onClose:K}=A,X=d(A,["content","icon","type","key","className","style","onClose"]);let G=q;return G==null&&(b+=1,G=`antd-message-${b}`),(0,c.wrapPromiseFn)(Y=>(N(Object.assign(Object.assign({},X),{key:G,content:t.createElement(s.PureContent,{prefixCls:j,type:z,icon:k},B),placement:"top",className:(0,r.default)(z&&`${L}-${z}`,W,D==null?void 0:D.className),style:Object.assign(Object.assign({},D==null?void 0:D.style),U),onClose:()=>{K==null||K(),Y()}})),()=>{$(G)}))},R={open:P,destroy:A=>{var N;A!==void 0?$(A):(N=w.current)===null||N===void 0||N.destroy()}};return["info","success","warning","error","loading"].forEach(A=>{const N=(j,D,L)=>{let B;j&&typeof j=="object"&&"content"in j?B=j:B={content:j};let k,z;typeof D=="function"?z=D:(k=D,z=L);const q=Object.assign(Object.assign({onClose:z,duration:k},B),{type:A});return P(q)};R[A]=N}),R},[]),t.createElement(y,Object.assign({key:"message-holder"},S,{ref:w}))]}function x(S){return C(S)}return JS}var nx={},lR={},Rbe;function KUt(){if(Rbe)return lR;Rbe=1;var e=ze;Object.defineProperty(lR,"__esModule",{value:!0}),lR.default=o;var t=e(qr()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(){const[a,l]=n.useState([]),s=n.useCallback(u=>(l(c=>[].concat((0,t.default)(c),[u])),()=>{l(c=>c.filter(f=>f!==u))}),[]);return[a,s]}return lR}var Gd={},Cg={},GU={exports:{}},Ibe;function XUt(){return Ibe||(Ibe=1,function(e){var t=ll().default;function n(){e.exports=n=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var r,i={},o=Object.prototype,a=o.hasOwnProperty,l=Object.defineProperty||function(B,k,z){B[k]=z.value},s=typeof Symbol=="function"?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function h(B,k,z){return Object.defineProperty(B,k,{value:z,enumerable:!0,configurable:!0,writable:!0}),B[k]}try{h({},"")}catch{h=function(z,q,W){return z[q]=W}}function d(B,k,z,q){var W=k&&k.prototype instanceof C?k:C,U=Object.create(W.prototype),K=new D(q||[]);return l(U,"_invoke",{value:M(B,z,K)}),U}function p(B,k,z){try{return{type:"normal",arg:B.call(k,z)}}catch(q){return{type:"throw",arg:q}}}i.wrap=d;var g="suspendedStart",m="suspendedYield",v="executing",y="completed",b={};function C(){}function x(){}function S(){}var w={};h(w,u,function(){return this});var O=Object.getPrototypeOf,$=O&&O(O(L([])));$&&$!==o&&a.call($,u)&&(w=$);var P=S.prototype=C.prototype=Object.create(w);function T(B){["next","throw","return"].forEach(function(k){h(B,k,function(z){return this._invoke(k,z)})})}function R(B,k){function z(W,U,K,X){var G=p(B[W],B,U);if(G.type!=="throw"){var Y=G.arg,J=Y.value;return J&&t(J)=="object"&&a.call(J,"__await")?k.resolve(J.__await).then(function(ee){z("next",ee,K,X)},function(ee){z("throw",ee,K,X)}):k.resolve(J).then(function(ee){Y.value=ee,K(Y)},function(ee){return z("throw",ee,K,X)})}X(G.arg)}var q;l(this,"_invoke",{value:function(U,K){function X(){return new k(function(G,Y){z(U,K,G,Y)})}return q=q?q.then(X,X):X()}})}function M(B,k,z){var q=g;return function(W,U){if(q===v)throw new Error("Generator is already running");if(q===y){if(W==="throw")throw U;return{value:r,done:!0}}for(z.method=W,z.arg=U;;){var K=z.delegate;if(K){var X=A(K,z);if(X){if(X===b)continue;return X}}if(z.method==="next")z.sent=z._sent=z.arg;else if(z.method==="throw"){if(q===g)throw q=y,z.arg;z.dispatchException(z.arg)}else z.method==="return"&&z.abrupt("return",z.arg);q=v;var G=p(B,k,z);if(G.type==="normal"){if(q=z.done?y:m,G.arg===b)continue;return{value:G.arg,done:z.done}}G.type==="throw"&&(q=y,z.method="throw",z.arg=G.arg)}}}function A(B,k){var z=k.method,q=B.iterator[z];if(q===r)return k.delegate=null,z==="throw"&&B.iterator.return&&(k.method="return",k.arg=r,A(B,k),k.method==="throw")||z!=="return"&&(k.method="throw",k.arg=new TypeError("The iterator does not provide a '"+z+"' method")),b;var W=p(q,B.iterator,k.arg);if(W.type==="throw")return k.method="throw",k.arg=W.arg,k.delegate=null,b;var U=W.arg;return U?U.done?(k[B.resultName]=U.value,k.next=B.nextLoc,k.method!=="return"&&(k.method="next",k.arg=r),k.delegate=null,b):U:(k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,b)}function N(B){var k={tryLoc:B[0]};1 in B&&(k.catchLoc=B[1]),2 in B&&(k.finallyLoc=B[2],k.afterLoc=B[3]),this.tryEntries.push(k)}function j(B){var k=B.completion||{};k.type="normal",delete k.arg,B.completion=k}function D(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(N,this),this.reset(!0)}function L(B){if(B||B===""){var k=B[u];if(k)return k.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var z=-1,q=function W(){for(;++z=0;--W){var U=this.tryEntries[W],K=U.completion;if(U.tryLoc==="root")return q("end");if(U.tryLoc<=this.prev){var X=a.call(U,"catchLoc"),G=a.call(U,"finallyLoc");if(X&&G){if(this.prev=0;--q){var W=this.tryEntries[q];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--z){var q=this.tryEntries[z];if(q.finallyLoc===k)return this.complete(q.completion,q.afterLoc),j(q),b}},catch:function(k){for(var z=this.tryEntries.length-1;z>=0;--z){var q=this.tryEntries[z];if(q.tryLoc===k){var W=q.completion;if(W.type==="throw"){var U=W.arg;j(q)}return U}}throw new Error("illegal catch attempt")},delegateYield:function(k,z,q){return this.delegate={iterator:L(k),resultName:z,nextLoc:q},this.method==="next"&&(this.arg=r),b}},i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(GU)),GU.exports}var KU={exports:{}},Nbe;function YUt(){return Nbe||(Nbe=1,function(e){function t(r,i,o,a,l,s,u){try{var c=r[s](u),f=c.value}catch(h){o(h);return}c.done?i(f):Promise.resolve(f).then(a,l)}function n(r){return function(){var i=this,o=arguments;return new Promise(function(a,l){var s=r.apply(i,o);function u(f){t(s,a,l,u,c,"next",f)}function c(f){t(s,a,l,u,c,"throw",f)}u(void 0)})}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(KU)),KU.exports}var Abe;function bF(){if(Abe)return Cg;Abe=1;var e=Z$().default,t=ze.default;Object.defineProperty(Cg,"__esModule",{value:!0}),Cg._r=v,Cg._u=S,Cg.render=y,Cg.unmount=w;var n=t(XUt()),r=t(YUt()),i=t(ll()),o=t(kh()),a=e(Ns),l=(0,o.default)({},a),s=l.version,u=l.render,c=l.unmountComponentAtNode,f;try{var h=Number((s||"").split(".")[0]);h>=18&&(f=l.createRoot)}catch{}function d($){var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;P&&(0,i.default)(P)==="object"&&(P.usingClientEntryPoint=$)}var p="__rc_react_root__";function g($,P){d(!0);var T=P[p]||f(P);d(!1),T.render($),P[p]=T}function m($,P){u($,P)}function v($,P){}function y($,P){if(f){g($,P);return}m($,P)}function b($){return C.apply(this,arguments)}function C(){return C=(0,r.default)((0,n.default)().mark(function $(P){return(0,n.default)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.abrupt("return",Promise.resolve().then(function(){var M;(M=P[p])===null||M===void 0||M.unmount(),delete P[p]}));case 1:case"end":return R.stop()}},$)})),C.apply(this,arguments)}function x($){c($)}function S($){}function w($){return O.apply(this,arguments)}function O(){return O=(0,r.default)((0,n.default)().mark(function $(P){return(0,n.default)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(f===void 0){R.next=2;break}return R.abrupt("return",b(P));case 2:x(P);case 3:case"end":return R.stop()}},$)})),O.apply(this,arguments)}return Cg}var e2={},Sg={},kbe;function Il(){if(kbe)return Sg;kbe=1,Object.defineProperty(Sg,"__esModule",{value:!0}),Sg.getTransitionName=Sg.default=void 0;const e=()=>({height:0,opacity:0}),t=a=>{const{scrollHeight:l}=a;return{height:l,opacity:1}},n=a=>({height:a?a.offsetHeight:0}),r=(a,l)=>(l==null?void 0:l.deadline)===!0||l.propertyName==="height",i=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:e,onEnterStart:e,onAppearActive:t,onEnterActive:t,onLeaveStart:n,onLeaveActive:e,onAppearEnd:r,onEnterEnd:r,onLeaveEnd:r,motionDeadline:500}},o=(a,l,s)=>s!==void 0?s:`${a}-${l}`;return Sg.getTransitionName=o,Sg.default=i,Sg}var rx={},ix={},sR={},XU={exports:{}},YU={exports:{}},jbe;function ZUt(){return jbe||(jbe=1,function(e){function t(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var o,a,l,s,u=[],c=!0,f=!1;try{if(l=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;c=!1}else for(;!(c=(o=l.call(i)).done)&&(u.push(o.value),u.length!==r);c=!0);}catch(h){f=!0,a=h}finally{try{if(!c&&i.return!=null&&(s=i.return(),Object(s)!==s))return}finally{if(f)throw a}}return u}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(YU)),YU.exports}var Dbe;function zoe(){return Dbe||(Dbe=1,function(e){var t=iqe(),n=ZUt(),r=Toe(),i=oqe();function o(a,l){return t(a)||n(a,l)||r(a,l)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports}(XU)),XU.exports}var Lbe;function Boe(){if(Lbe)return sR;Lbe=1;var e=Z$().default,t=ze.default;Object.defineProperty(sR,"__esModule",{value:!0}),sR.default=i;var n=t(zoe()),r=e(_);function i(o){var a=r.useRef(!1),l=r.useState(o),s=(0,n.default)(l,2),u=s[0],c=s[1];r.useEffect(function(){return a.current=!1,function(){a.current=!0}},[]);function f(h,d){d&&a.current||c(h)}return[u,f]}return sR}var ZU={},ox={},s1={},zbe;function Nc(){if(zbe)return s1;zbe=1;var e=ze.default;Object.defineProperty(s1,"__esModule",{value:!0}),s1.composeRef=a,s1.fillRef=o,s1.supportNodeRef=u,s1.supportRef=s,s1.useComposeRef=l;var t=e(ll()),n=_,r=_ne(),i=e(Ioe());function o(c,f){typeof c=="function"?c(f):(0,t.default)(c)==="object"&&c&&"current"in c&&(c.current=f)}function a(){for(var c=arguments.length,f=new Array(c),h=0;h{const{componentCls:r,colorPrimary:i}=n;return{[r]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${i})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${n.motionEaseOutCirc}`,`opacity 2s ${n.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${n.motionEaseInOut}`,`opacity 0.35s ${n.motionEaseInOut}`].join(",")}}}}};return sx.default=(0,e.genComponentStyleHook)("Wave",n=>[t(n)]),sx}var cR={},cx={},t2={},Hbe;function JUt(){if(Hbe)return t2;Hbe=1,Object.defineProperty(t2,"__esModule",{value:!0}),t2.getTargetWaveColor=n,t2.isNotGrey=e,t2.isValidWaveColor=t;function e(r){const i=(r||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return i&&i[1]&&i[2]&&i[3]?!(i[1]===i[2]&&i[2]===i[3]):!0}function t(r){return r&&r!=="#fff"&&r!=="#ffffff"&&r!=="rgb(255, 255, 255)"&&r!=="rgba(255, 255, 255, 1)"&&e(r)&&!/rgba\((?:\d*, ){3}0\)/.test(r)&&r!=="transparent"}function n(r){const{borderTopColor:i,borderColor:o,backgroundColor:a}=getComputedStyle(r);return t(i)?i:t(o)?o:t(a)?a:null}return t2}var ux={},Wbe;function CF(){return Wbe||(Wbe=1,Object.defineProperty(ux,"__esModule",{value:!0}),ux.TARGET_CLS=void 0,ux.TARGET_CLS="ant-wave-target"),ux}var qbe;function eGt(){if(qbe)return cx;qbe=1;var e=ze;Object.defineProperty(cx,"__esModule",{value:!0}),cx.default=void 0;var t=e(Tt()),n=e(Ad),r=bF(),i=e(Gy()),o=u(_),a=JUt(),l=CF();function s(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(s=function(m){return m?g:p})(d)}function u(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=s(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function c(d){return Number.isNaN(d)?0:d}const f=d=>{const{className:p,target:g,component:m}=d,v=o.useRef(null),[y,b]=o.useState(null),[C,x]=o.useState([]),[S,w]=o.useState(0),[O,$]=o.useState(0),[P,T]=o.useState(0),[R,M]=o.useState(0),[A,N]=o.useState(!1),j={left:S,top:O,width:P,height:R,borderRadius:C.map(B=>`${B}px`).join(" ")};y&&(j["--wave-color"]=y);function D(){const B=getComputedStyle(g);b((0,a.getTargetWaveColor)(g));const k=B.position==="static",{borderLeftWidth:z,borderTopWidth:q}=B;w(k?g.offsetLeft:c(-parseFloat(z))),$(k?g.offsetTop:c(-parseFloat(q))),T(g.offsetWidth),M(g.offsetHeight);const{borderTopLeftRadius:W,borderTopRightRadius:U,borderBottomLeftRadius:K,borderBottomRightRadius:X}=B;x([W,U,X,K].map(G=>c(parseFloat(G))))}if(o.useEffect(()=>{if(g){const B=(0,i.default)(()=>{D(),N(!0)});let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(D),k.observe(g)),()=>{i.default.cancel(B),k==null||k.disconnect()}}},[]),!A)return null;const L=(m==="Checkbox"||m==="Radio")&&(g==null?void 0:g.classList.contains(l.TARGET_CLS));return o.createElement(n.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(B,k)=>{var z;if(k.deadline||k.propertyName==="opacity"){const q=(z=v.current)===null||z===void 0?void 0:z.parentElement;(0,r.unmount)(q).then(()=>{q==null||q.remove()})}return!1}},B=>{let{className:k}=B;return o.createElement("div",{ref:v,className:(0,t.default)(p,{"wave-quick":L},k),style:j})})},h=(d,p)=>{var g;const{component:m}=p;if(m==="Checkbox"&&!(!((g=d.querySelector("input"))===null||g===void 0)&&g.checked))return;const v=document.createElement("div");v.style.position="absolute",v.style.left="0px",v.style.top="0px",d==null||d.insertBefore(v,d==null?void 0:d.firstChild),(0,r.render)(o.createElement(f,Object.assign({},p,{target:d})),v)};return cx.default=h,cx}var Vbe;function tGt(){if(Vbe)return cR;Vbe=1;var e=ze;Object.defineProperty(cR,"__esModule",{value:!0}),cR.default=c;var t=u(_),n=Xy,r=e(Gy()),i=e(eGt()),o=Lt(),a=e($C()),l=CF();function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}function c(f,h,d){const{wave:p}=t.useContext(o.ConfigContext),[,g,m]=(0,a.default)(),v=(0,n.useEvent)(C=>{const x=f.current;if(p!=null&&p.disabled||!x)return;const S=x.querySelector(`.${l.TARGET_CLS}`)||x,{showEffect:w}=p||{};(w||i.default)(S,{className:h,token:g,component:d,event:C,hashId:m})}),y=t.useRef();return C=>{r.default.cancel(y.current),y.current=(0,r.default)(()=>{v(C)})}}return cR}var Ube;function tP(){if(Ube)return ax;Ube=1;var e=ze;Object.defineProperty(ax,"__esModule",{value:!0}),ax.default=void 0;var t=e(Tt()),n=Nc(),r=e(Nqe()),i=c(_),o=Lt(),a=to(),l=e(QUt()),s=e(tGt());function u(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(u=function(g){return g?p:d})(h)}function c(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=u(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const f=h=>{const{children:d,disabled:p,component:g}=h,{getPrefixCls:m}=(0,i.useContext)(o.ConfigContext),v=(0,i.useRef)(null),y=m("wave"),[,b]=(0,l.default)(y),C=(0,s.default)(v,(0,t.default)(y,b),g);if(i.default.useEffect(()=>{const S=v.current;if(!S||S.nodeType!==1||p)return;const w=O=>{!(0,r.default)(O.target)||!S.getAttribute||S.getAttribute("disabled")||S.disabled||S.className.includes("disabled")||S.className.includes("-leave")||C(O)};return S.addEventListener("click",w,!0),()=>{S.removeEventListener("click",w,!0)}},[p]),!i.default.isValidElement(d))return d??null;const x=(0,n.supportRef)(d)?(0,n.composeRef)(d.ref,v):v;return(0,a.cloneElement)(d,{ref:x})};return ax.default=f,ax}var dx={},Gbe;function no(){if(Gbe)return dx;Gbe=1;var e=ze;Object.defineProperty(dx,"__esModule",{value:!0}),dx.default=void 0;var t=e(_),n=e(uF());const r=i=>{const o=t.default.useContext(n.default);return t.default.useMemo(()=>i?typeof i=="string"?i??o:i instanceof Function?i(o):o:o,[i,o])};return dx.default=r,dx}var zu={},uR={},Kbe;function fl(){if(Kbe)return uR;Kbe=1;var e=ze.default;Object.defineProperty(uR,"__esModule",{value:!0}),uR.default=r;var t=e(_),n=_ne();function r(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[];return t.default.Children.forEach(i,function(l){l==null&&!o.keepEmpty||(Array.isArray(l)?a=a.concat(r(l)):(0,n.isFragment)(l)&&l.props?a=a.concat(r(l.props.children,o)):a.push(l))}),a}return uR}var xg={},fx={},Xbe;function nGt(){if(Xbe)return fx;Xbe=1,Object.defineProperty(fx,"__esModule",{value:!0}),fx.default=void 0;const e=t=>{const{componentCls:n}=t;return{[n]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};return fx.default=e,fx}var Ybe;function Aqe(){if(Ybe)return xg;Ybe=1;var e=ze;Object.defineProperty(xg,"__esModule",{value:!0}),xg.prepareComponentToken=xg.default=void 0;var t=Jt(),n=e(nGt());const r=a=>{const{componentCls:l}=a;return{[l]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${l}-item:empty`]:{display:"none"}}}},i=a=>{const{componentCls:l}=a;return{[l]:{"&-gap-row-small":{rowGap:a.spaceGapSmallSize},"&-gap-row-middle":{rowGap:a.spaceGapMiddleSize},"&-gap-row-large":{rowGap:a.spaceGapLargeSize},"&-gap-col-small":{columnGap:a.spaceGapSmallSize},"&-gap-col-middle":{columnGap:a.spaceGapMiddleSize},"&-gap-col-large":{columnGap:a.spaceGapLargeSize}}}},o=()=>({});return xg.prepareComponentToken=o,xg.default=(0,t.genStyleHooks)("Space",a=>{const l=(0,t.mergeToken)(a,{spaceGapSmallSize:a.paddingXS,spaceGapMiddleSize:a.padding,spaceGapLargeSize:a.paddingLG});return[r(l),i(l),(0,n.default)(l)]},()=>({}),{resetStyle:!1}),xg}var Zbe;function ts(){if(Zbe)return zu;Zbe=1;var e=ze;Object.defineProperty(zu,"__esModule",{value:!0}),zu.useCompactItemContext=zu.default=zu.SpaceCompactItemContext=zu.NoCompactStyle=void 0;var t=e(Tt()),n=e(fl()),r=s(_),i=Lt(),o=e(no()),a=e(Aqe());function l(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(l=function(y){return y?v:m})(g)}function s(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=l(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var u=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const v=r.useContext(c),y=r.useMemo(()=>{if(!v)return"";const{compactDirection:b,isFirstItem:C,isLastItem:x}=v,S=b==="vertical"?"-vertical-":"-";return(0,t.default)(`${g}-compact${S}item`,{[`${g}-compact${S}first-item`]:C,[`${g}-compact${S}last-item`]:x,[`${g}-compact${S}item-rtl`]:m==="rtl"})},[g,m,v]);return{compactSize:v==null?void 0:v.compactSize,compactDirection:v==null?void 0:v.compactDirection,compactItemClassnames:y}};zu.useCompactItemContext=f;const h=g=>{let{children:m}=g;return r.createElement(c.Provider,{value:null},m)};zu.NoCompactStyle=h;const d=g=>{var{children:m}=g,v=u(g,["children"]);return r.createElement(c.Provider,{value:v},m)},p=g=>{const{getPrefixCls:m,direction:v}=r.useContext(i.ConfigContext),{size:y,direction:b,block:C,prefixCls:x,className:S,rootClassName:w,children:O}=g,$=u(g,["size","direction","block","prefixCls","className","rootClassName","children"]),P=(0,o.default)(L=>y??L),T=m("space-compact",x),[R,M]=(0,a.default)(T),A=(0,t.default)(T,M,{[`${T}-rtl`]:v==="rtl",[`${T}-block`]:C,[`${T}-vertical`]:b==="vertical"},S,w),N=r.useContext(c),j=(0,n.default)(O),D=r.useMemo(()=>j.map((L,B)=>{const k=L&&L.key||`${T}-item-${B}`;return r.createElement(d,{key:k,compactSize:P,compactDirection:b,isFirstItem:B===0&&(!N||(N==null?void 0:N.isFirstItem)),isLastItem:B===j.length-1&&(!N||(N==null?void 0:N.isLastItem))},L)}),[y,j,N]);return j.length===0?null:R(r.createElement("div",Object.assign({className:A},$),D))};return zu.default=p,zu}var _g={},Qbe;function rGt(){if(Qbe)return _g;Qbe=1;var e=ze;Object.defineProperty(_g,"__esModule",{value:!0}),_g.default=_g.GroupSizeContext=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=Jt();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var l=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{getPrefixCls:f,direction:h}=t.useContext(r.ConfigContext),{prefixCls:d,size:p,className:g}=c,m=l(c,["prefixCls","size","className"]),v=f("btn-group",d),[,,y]=(0,i.useToken)();let b="";switch(p){case"large":b="lg";break;case"small":b="sm";break}const C=(0,n.default)(v,{[`${v}-${b}`]:b,[`${v}-rtl`]:h==="rtl"},g,y);return t.createElement(s.Provider,{value:p},t.createElement("div",Object.assign({},m,{className:C})))};return _g.default=u,_g}var lp={},Jbe;function nP(){if(Jbe)return lp;Jbe=1;var e=ze;Object.defineProperty(lp,"__esModule",{value:!0}),lp.convertLegacyProps=o,lp.isString=a,lp.isTwoCNChar=void 0,lp.isUnBorderedButtonType=l,lp.spaceChildren=u;var t=e(_),n=to();const r=/^[\u4e00-\u9fa5]{2}$/,i=lp.isTwoCNChar=r.test.bind(r);function o(c){return c==="danger"?{danger:!0}:{type:c}}function a(c){return typeof c=="string"}function l(c){return c==="text"||c==="link"}function s(c,f){if(c==null)return;const h=f?" ":"";return typeof c!="string"&&typeof c!="number"&&a(c.type)&&i(c.props.children)?(0,n.cloneElement)(c,{children:c.props.children.split("").join(h)}):a(c)?i(c)?t.default.createElement("span",null,c.split("").join(h)):t.default.createElement("span",null,c):(0,n.isFragment)(c)?t.default.createElement("span",null,c):c}function u(c,f){let h=!1;const d=[];return t.default.Children.forEach(c,p=>{const g=typeof p,m=g==="string"||g==="number";if(h&&m){const v=d.length-1,y=d[v];d[v]=`${y}${p}`}else d.push(p);h=m}),t.default.Children.map(d,p=>s(p,f))}return lp}var px={},e2e;function kqe(){if(e2e)return px;e2e=1;var e=ze;Object.defineProperty(px,"__esModule",{value:!0}),px.default=void 0;var t=i(_),n=e(Tt());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=(0,t.forwardRef)((a,l)=>{const{className:s,style:u,children:c,prefixCls:f}=a,h=(0,n.default)(`${f}-icon`,s);return t.default.createElement("span",{ref:l,className:h,style:u},c)});return px.default=o,px}var hx={},t2e;function iGt(){if(t2e)return hx;t2e=1;var e=ze;Object.defineProperty(hx,"__esModule",{value:!0}),hx.default=void 0;var t=e(Vf()),n=e(Tt()),r=e(Ad),i=l(_),o=e(kqe());function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const s=(0,i.forwardRef)((h,d)=>{let{prefixCls:p,className:g,style:m,iconClassName:v}=h;const y=(0,n.default)(`${p}-loading-icon`,g);return i.default.createElement(o.default,{prefixCls:p,className:y,style:m,ref:d},i.default.createElement(t.default,{className:v}))}),u=()=>({width:0,opacity:0,transform:"scale(0)"}),c=h=>({width:h.scrollWidth,opacity:1,transform:"scale(1)"}),f=h=>{const{prefixCls:d,loading:p,existIcon:g,className:m,style:v}=h,y=!!p;return g?i.default.createElement(s,{prefixCls:d,className:m,style:v}):i.default.createElement(r.default,{visible:y,motionName:`${d}-loading-icon-motion`,motionLeave:y,removeOnLeave:!0,onAppearStart:u,onAppearActive:c,onEnterStart:u,onEnterActive:c,onLeaveStart:c,onLeaveActive:u},(b,C)=>{let{className:x,style:S}=b;return i.default.createElement(s,{prefixCls:d,className:m,style:Object.assign(Object.assign({},v),S),ref:C,iconClassName:x})})};return hx.default=f,hx}var gx={},mx={},n2e;function oGt(){if(n2e)return mx;n2e=1,Object.defineProperty(mx,"__esModule",{value:!0}),mx.default=void 0;const e=(n,r)=>({[`> span, > ${n}`]:{"&:not(:last-child)":{[`&, & > ${n}`]:{"&:not(:disabled)":{borderInlineEndColor:r}}},"&:not(:first-child)":{[`&, & > ${n}`]:{"&:not(:disabled)":{borderInlineStartColor:r}}}}}),t=n=>{const{componentCls:r,fontSize:i,lineWidth:o,groupBorderColor:a,colorErrorHover:l}=n;return{[`${r}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${r}`]:{"&:not(:last-child)":{[`&, & > ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:n.calc(o).mul(-1).equal(),[`&, & > ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[r]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${r}-icon-only`]:{fontSize:i}},e(`${r}-primary`,a),e(`${r}-danger`,l)]}};return mx.default=t,mx}var wg={},r2e;function jqe(){if(r2e)return wg;r2e=1,Object.defineProperty(wg,"__esModule",{value:!0}),wg.prepareToken=wg.prepareComponentToken=void 0;var e=Jt();const t=r=>{const{paddingInline:i,onlyIconSize:o,paddingBlock:a}=r;return(0,e.mergeToken)(r,{buttonPaddingHorizontal:i,buttonPaddingVertical:a,buttonIconOnlyFontSize:o})};wg.prepareToken=t;const n=r=>{var i,o,a,l,s,u;const c=(i=r.contentFontSize)!==null&&i!==void 0?i:r.fontSize,f=(o=r.contentFontSizeSM)!==null&&o!==void 0?o:r.fontSize,h=(a=r.contentFontSizeLG)!==null&&a!==void 0?a:r.fontSizeLG,d=(l=r.contentLineHeight)!==null&&l!==void 0?l:(0,e.getLineHeight)(c),p=(s=r.contentLineHeightSM)!==null&&s!==void 0?s:(0,e.getLineHeight)(f),g=(u=r.contentLineHeightLG)!==null&&u!==void 0?u:(0,e.getLineHeight)(h);return{fontWeight:400,defaultShadow:`0 ${r.controlOutlineWidth}px 0 ${r.controlTmpOutline}`,primaryShadow:`0 ${r.controlOutlineWidth}px 0 ${r.controlOutline}`,dangerShadow:`0 ${r.controlOutlineWidth}px 0 ${r.colorErrorOutline}`,primaryColor:r.colorTextLightSolid,dangerColor:r.colorTextLightSolid,borderColorDisabled:r.colorBorder,defaultGhostColor:r.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:r.colorBgContainer,paddingInline:r.paddingContentHorizontal-r.lineWidth,paddingInlineLG:r.paddingContentHorizontal-r.lineWidth,paddingInlineSM:8-r.lineWidth,onlyIconSize:r.fontSizeLG,onlyIconSizeSM:r.fontSizeLG-2,onlyIconSizeLG:r.fontSizeLG+2,groupBorderColor:r.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:r.colorBgTextHover,defaultColor:r.colorText,defaultBg:r.colorBgContainer,defaultBorderColor:r.colorBorder,defaultBorderColorDisabled:r.colorBorder,defaultHoverBg:r.colorBgContainer,defaultHoverColor:r.colorPrimaryHover,defaultHoverBorderColor:r.colorPrimaryHover,defaultActiveBg:r.colorBgContainer,defaultActiveColor:r.colorPrimaryActive,defaultActiveBorderColor:r.colorPrimaryActive,contentFontSize:c,contentFontSizeSM:f,contentFontSizeLG:h,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:g,paddingBlock:Math.max((r.controlHeight-c*d)/2-r.lineWidth,0),paddingBlockSM:Math.max((r.controlHeightSM-f*p)/2-r.lineWidth,0),paddingBlockLG:Math.max((r.controlHeightLG-h*g)/2-r.lineWidth,0)}};return wg.prepareComponentToken=n,wg}var i2e;function aGt(){if(i2e)return gx;i2e=1;var e=ze;Object.defineProperty(gx,"__esModule",{value:!0}),gx.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(oGt()),o=jqe();const a=P=>{const{componentCls:T,iconCls:R,fontWeight:M}=P;return{[T]:{outline:"none",position:"relative",display:"inline-block",fontWeight:M,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,t.unit)(P.lineWidth)} ${P.lineType} transparent`,cursor:"pointer",transition:`all ${P.motionDurationMid} ${P.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:P.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${T}-icon`]:{lineHeight:0},[`> ${R} + span, > span + ${R}`]:{marginInlineStart:P.marginXS},[`&:not(${T}-icon-only) > ${T}-icon`]:{[`&${T}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:P.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,n.genFocusStyle)(P)),[`&${T}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${T}-two-chinese-chars > *:not(${R})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${T}-compact-item`]:{flex:"none"}}}},l=(P,T,R)=>({[`&:not(:disabled):not(${P}-disabled)`]:{"&:hover":T,"&:active":R}}),s=P=>({minWidth:P.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),u=P=>({borderRadius:P.controlHeight,paddingInlineStart:P.calc(P.controlHeight).div(2).equal(),paddingInlineEnd:P.calc(P.controlHeight).div(2).equal()}),c=P=>({cursor:"not-allowed",borderColor:P.borderColorDisabled,color:P.colorTextDisabled,background:P.colorBgContainerDisabled,boxShadow:"none"}),f=(P,T,R,M,A,N,j,D)=>({[`&${P}-background-ghost`]:Object.assign(Object.assign({color:R||void 0,background:T,borderColor:M||void 0,boxShadow:"none"},l(P,Object.assign({background:T},j),Object.assign({background:T},D))),{"&:disabled":{cursor:"not-allowed",color:A||void 0,borderColor:N||void 0}})}),h=P=>({[`&:disabled, &${P.componentCls}-disabled`]:Object.assign({},c(P))}),d=P=>Object.assign({},h(P)),p=P=>({[`&:disabled, &${P.componentCls}-disabled`]:{cursor:"not-allowed",color:P.colorTextDisabled}}),g=P=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(P)),{background:P.defaultBg,borderColor:P.defaultBorderColor,color:P.defaultColor,boxShadow:P.defaultShadow}),l(P.componentCls,{color:P.defaultHoverColor,borderColor:P.defaultHoverBorderColor,background:P.defaultHoverBg},{color:P.defaultActiveColor,borderColor:P.defaultActiveBorderColor,background:P.defaultActiveBg})),f(P.componentCls,P.ghostBg,P.defaultGhostColor,P.defaultGhostBorderColor,P.colorTextDisabled,P.colorBorder)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:P.colorError,borderColor:P.colorError},l(P.componentCls,{color:P.colorErrorHover,borderColor:P.colorErrorBorderHover},{color:P.colorErrorActive,borderColor:P.colorErrorActive})),f(P.componentCls,P.ghostBg,P.colorError,P.colorError,P.colorTextDisabled,P.colorBorder)),h(P))}),m=P=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d(P)),{color:P.primaryColor,background:P.colorPrimary,boxShadow:P.primaryShadow}),l(P.componentCls,{color:P.colorTextLightSolid,background:P.colorPrimaryHover},{color:P.colorTextLightSolid,background:P.colorPrimaryActive})),f(P.componentCls,P.ghostBg,P.colorPrimary,P.colorPrimary,P.colorTextDisabled,P.colorBorder,{color:P.colorPrimaryHover,borderColor:P.colorPrimaryHover},{color:P.colorPrimaryActive,borderColor:P.colorPrimaryActive})),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:P.colorError,boxShadow:P.dangerShadow,color:P.dangerColor},l(P.componentCls,{background:P.colorErrorHover},{background:P.colorErrorActive})),f(P.componentCls,P.ghostBg,P.colorError,P.colorError,P.colorTextDisabled,P.colorBorder,{color:P.colorErrorHover,borderColor:P.colorErrorHover},{color:P.colorErrorActive,borderColor:P.colorErrorActive})),h(P))}),v=P=>Object.assign(Object.assign({},g(P)),{borderStyle:"dashed"}),y=P=>Object.assign(Object.assign(Object.assign({color:P.colorLink},l(P.componentCls,{color:P.colorLinkHover,background:P.linkHoverBg},{color:P.colorLinkActive})),p(P)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign({color:P.colorError},l(P.componentCls,{color:P.colorErrorHover},{color:P.colorErrorActive})),p(P))}),b=P=>Object.assign(Object.assign(Object.assign({},l(P.componentCls,{color:P.colorText,background:P.textHoverBg},{color:P.colorText,background:P.colorBgTextActive})),p(P)),{[`&${P.componentCls}-dangerous`]:Object.assign(Object.assign({color:P.colorError},p(P)),l(P.componentCls,{color:P.colorErrorHover,background:P.colorErrorBg},{color:P.colorErrorHover,background:P.colorErrorBg}))}),C=P=>{const{componentCls:T}=P;return{[`${T}-default`]:g(P),[`${T}-primary`]:m(P),[`${T}-dashed`]:v(P),[`${T}-link`]:y(P),[`${T}-text`]:b(P),[`${T}-ghost`]:f(P.componentCls,P.ghostBg,P.colorBgContainer,P.colorBgContainer,P.colorTextDisabled,P.colorBorder)}},x=function(P){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:R,controlHeight:M,fontSize:A,lineHeight:N,borderRadius:j,buttonPaddingHorizontal:D,iconCls:L,buttonPaddingVertical:B}=P,k=`${R}-icon-only`;return[{[`${T}`]:{fontSize:A,lineHeight:N,height:M,padding:`${(0,t.unit)(B)} ${(0,t.unit)(D)}`,borderRadius:j,[`&${k}`]:{width:M,paddingInlineStart:0,paddingInlineEnd:0,[`&${R}-round`]:{width:"auto"},[L]:{fontSize:P.buttonIconOnlyFontSize}},[`&${R}-loading`]:{opacity:P.opacityLoading,cursor:"default"},[`${R}-loading-icon`]:{transition:`width ${P.motionDurationSlow} ${P.motionEaseInOut}, opacity ${P.motionDurationSlow} ${P.motionEaseInOut}`}}},{[`${R}${R}-circle${T}`]:s(P)},{[`${R}${R}-round${T}`]:u(P)}]},S=P=>{const T=(0,r.mergeToken)(P,{fontSize:P.contentFontSize,lineHeight:P.contentLineHeight});return x(T,P.componentCls)},w=P=>{const T=(0,r.mergeToken)(P,{controlHeight:P.controlHeightSM,fontSize:P.contentFontSizeSM,lineHeight:P.contentLineHeightSM,padding:P.paddingXS,buttonPaddingHorizontal:P.paddingInlineSM,buttonPaddingVertical:P.paddingBlockSM,borderRadius:P.borderRadiusSM,buttonIconOnlyFontSize:P.onlyIconSizeSM});return x(T,`${P.componentCls}-sm`)},O=P=>{const T=(0,r.mergeToken)(P,{controlHeight:P.controlHeightLG,fontSize:P.contentFontSizeLG,lineHeight:P.contentLineHeightLG,buttonPaddingHorizontal:P.paddingInlineLG,buttonPaddingVertical:P.paddingBlockLG,borderRadius:P.borderRadiusLG,buttonIconOnlyFontSize:P.onlyIconSizeLG});return x(T,`${P.componentCls}-lg`)},$=P=>{const{componentCls:T}=P;return{[T]:{[`&${T}-block`]:{width:"100%"}}}};return gx.default=(0,r.genStyleHooks)("Button",P=>{const T=(0,o.prepareToken)(P);return[a(T),S(T),w(T),O(T),$(T),C(T),(0,i.default)(T)]},o.prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),gx}var vx={},dR={},o2e;function IC(){if(o2e)return dR;o2e=1,Object.defineProperty(dR,"__esModule",{value:!0}),dR.genCompactItemStyle=n;function e(r,i,o){const{focusElCls:a,focus:l,borderElCls:s}=o,u=s?"> *":"",c=["hover",l?"focus":null,"active"].filter(Boolean).map(f=>`&:${f} ${u}`).join(",");return{[`&-item:not(${i}-last-item)`]:{marginInlineEnd:r.calc(r.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},a?{[`&${a}`]:{zIndex:2}}:{}),{[`&[disabled] ${u}`]:{zIndex:0}})}}function t(r,i,o){const{borderElCls:a}=o,l=a?`> ${a}`:"";return{[`&-item:not(${i}-first-item):not(${i}-last-item) ${l}`]:{borderRadius:0},[`&-item:not(${i}-last-item)${i}-first-item`]:{[`& ${l}, &${r}-sm ${l}, &${r}-lg ${l}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${i}-first-item)${i}-last-item`]:{[`& ${l}, &${r}-sm ${l}, &${r}-lg ${l}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function n(r){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=r,a=`${o}-compact`;return{[a]:Object.assign(Object.assign({},e(r,a,i)),t(o,a,i))}}return dR}var fR={},a2e;function lGt(){if(a2e)return fR;a2e=1,Object.defineProperty(fR,"__esModule",{value:!0}),fR.genCompactItemVerticalStyle=n;function e(r,i){return{[`&-item:not(${i}-last-item)`]:{marginBottom:r.calc(r.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function t(r,i){return{[`&-item:not(${i}-first-item):not(${i}-last-item)`]:{borderRadius:0},[`&-item${i}-first-item:not(${i}-last-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${i}-last-item:not(${i}-first-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function n(r){const i=`${r.componentCls}-compact-vertical`;return{[i]:Object.assign(Object.assign({},e(r,i)),t(r.componentCls,i))}}return fR}var l2e;function sGt(){if(l2e)return vx;l2e=1,Object.defineProperty(vx,"__esModule",{value:!0}),vx.default=void 0;var e=jqe(),t=IC(),n=lGt(),r=Jt(),i=Xt;const o=a=>{const{componentCls:l,calc:s}=a;return{[l]:{[`&-compact-item${l}-primary`]:{[`&:not([disabled]) + ${l}-compact-item${l}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:s(a.lineWidth).mul(-1).equal(),insetInlineStart:s(a.lineWidth).mul(-1).equal(),display:"inline-block",width:a.lineWidth,height:`calc(100% + ${(0,i.unit)(a.lineWidth)} * 2)`,backgroundColor:a.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${l}-primary`]:{[`&:not([disabled]) + ${l}-compact-vertical-item${l}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:s(a.lineWidth).mul(-1).equal(),insetInlineStart:s(a.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,i.unit)(a.lineWidth)} * 2)`,height:a.lineWidth,backgroundColor:a.colorPrimaryHover,content:'""'}}}}}}};return vx.default=(0,r.genSubStyleComponent)(["Button","compact"],a=>{const l=(0,e.prepareToken)(a);return[(0,t.genCompactItemStyle)(l),(0,n.genCompactItemVerticalStyle)(l),o(l)]},e.prepareComponentToken),vx}var s2e;function cGt(){if(s2e)return ox;s2e=1;var e=ze;Object.defineProperty(ox,"__esModule",{value:!0}),ox.default=void 0;var t=v(_),n=e(Tt()),r=e(Qr()),i=Nc();_n();var o=e(tP()),a=Lt(),l=e($a()),s=e(no()),u=ts(),c=v(rGt()),f=nP(),h=e(kqe()),d=e(iGt()),p=e(aGt()),g=e(sGt());function m(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(m=function($){return $?O:w})(S)}function v(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=m(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var y=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};function b(S){if(typeof S=="object"&&S){let w=S==null?void 0:S.delay;return w=!Number.isNaN(w)&&typeof w=="number"?w:0,{loading:w<=0,delay:w}}return{loading:!!S,delay:0}}const C=(S,w)=>{var O,$;const{loading:P=!1,prefixCls:T,type:R="default",danger:M,shape:A="default",size:N,styles:j,disabled:D,className:L,rootClassName:B,children:k,icon:z,ghost:q=!1,block:W=!1,htmlType:U="button",classNames:K,style:X={}}=S,G=y(S,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Y,autoInsertSpaceInButton:J,direction:ee,button:Q}=(0,t.useContext)(a.ConfigContext),te=Y("btn",T),[ne,re,oe]=(0,p.default)(te),se=(0,t.useContext)(l.default),ye=D??se,be=(0,t.useContext)(c.GroupSizeContext),he=(0,t.useMemo)(()=>b(P),[P]),[le,ve]=(0,t.useState)(he.loading),[ke,Ie]=(0,t.useState)(!1),Oe=(0,t.createRef)(),Pe=(0,i.composeRef)(w,Oe),_e=t.Children.count(k)===1&&!z&&!(0,f.isUnBorderedButtonType)(R);(0,t.useEffect)(()=>{let we=null;he.delay>0?we=setTimeout(()=>{we=null,ve(!0)},he.delay):ve(he.loading);function De(){we&&(clearTimeout(we),we=null)}return De},[he]),(0,t.useEffect)(()=>{if(!Pe||!Pe.current||J===!1)return;const we=Pe.current.textContent;_e&&(0,f.isTwoCNChar)(we)?ke||Ie(!0):ke&&Ie(!1)},[Pe]);const ce=we=>{const{onClick:De}=S;if(le||ye){we.preventDefault();return}De==null||De(we)},Te=J!==!1,{compactSize:Ne,compactItemClassnames:je}=(0,u.useCompactItemContext)(te,ee),He={large:"lg",small:"sm",middle:void 0},Be=(0,s.default)(we=>{var De,We;return(We=(De=N??Ne)!==null&&De!==void 0?De:be)!==null&&We!==void 0?We:we}),qe=Be&&He[Be]||"",me=le?"loading":z,Ee=(0,r.default)(G,["navigate"]),$e=(0,n.default)(te,re,oe,{[`${te}-${A}`]:A!=="default"&&A,[`${te}-${R}`]:R,[`${te}-${qe}`]:qe,[`${te}-icon-only`]:!k&&k!==0&&!!me,[`${te}-background-ghost`]:q&&!(0,f.isUnBorderedButtonType)(R),[`${te}-loading`]:le,[`${te}-two-chinese-chars`]:ke&&Te&&!le,[`${te}-block`]:W,[`${te}-dangerous`]:!!M,[`${te}-rtl`]:ee==="rtl"},je,L,B,Q==null?void 0:Q.className),Le=Object.assign(Object.assign({},Q==null?void 0:Q.style),X),Fe=(0,n.default)(K==null?void 0:K.icon,(O=Q==null?void 0:Q.classNames)===null||O===void 0?void 0:O.icon),Ke=Object.assign(Object.assign({},(j==null?void 0:j.icon)||{}),(($=Q==null?void 0:Q.styles)===null||$===void 0?void 0:$.icon)||{}),lt=z&&!le?t.default.createElement(h.default,{prefixCls:te,className:Fe,style:Ke},z):t.default.createElement(d.default,{existIcon:!!z,prefixCls:te,loading:!!le}),ft=k||k===0?(0,f.spaceChildren)(k,_e&&Te):null;if(Ee.href!==void 0)return ne(t.default.createElement("a",Object.assign({},Ee,{className:(0,n.default)($e,{[`${te}-disabled`]:ye}),href:ye?void 0:Ee.href,style:Le,onClick:ce,ref:Pe,tabIndex:ye?-1:0}),lt,ft));let Ye=t.default.createElement("button",Object.assign({},G,{type:U,className:$e,style:Le,onClick:ce,disabled:ye,ref:Pe}),lt,ft,!!je&&t.default.createElement(g.default,{key:"compact",prefixCls:te}));return(0,f.isUnBorderedButtonType)(R)||(Ye=t.default.createElement(o.default,{component:"Button",disabled:!!le},Ye)),ne(Ye)},x=(0,t.forwardRef)(C);return x.Group=c.default,x.__ANT_BUTTON=!0,ox.default=x,ox}var c2e;function Ac(){return c2e||(c2e=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0});var n={};e.default=void 0;var r=t(cGt()),i=nP();Object.keys(i).forEach(function(o){o==="default"||o==="__esModule"||Object.prototype.hasOwnProperty.call(n,o)||o in e&&e[o]===i[o]||Object.defineProperty(e,o,{enumerable:!0,get:function(){return i[o]}})}),e.default=r.default}(ZU)),ZU}var u2e;function Foe(){if(u2e)return ix;u2e=1;var e=ze;Object.defineProperty(ix,"__esModule",{value:!0}),ix.default=void 0;var t=e(Boe()),n=a(_),r=e(Ac()),i=nP();function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}function l(u){return!!(u&&u.then)}const s=u=>{const{type:c,children:f,prefixCls:h,buttonProps:d,close:p,autoFocus:g,emitEvent:m,isSilent:v,quitOnNullishReturnValue:y,actionFn:b}=u,C=n.useRef(!1),x=n.useRef(null),[S,w]=(0,t.default)(!1),O=function(){p==null||p.apply(void 0,arguments)};n.useEffect(()=>{let T=null;return g&&(T=setTimeout(()=>{var R;(R=x.current)===null||R===void 0||R.focus()})),()=>{T&&clearTimeout(T)}},[]);const $=T=>{l(T)&&(w(!0),T.then(function(){w(!1,!0),O.apply(void 0,arguments),C.current=!1},R=>{if(w(!1,!0),C.current=!1,!(v!=null&&v()))return Promise.reject(R)}))},P=T=>{if(C.current)return;if(C.current=!0,!b){O();return}let R;if(m){if(R=b(T),y&&!l(R)){C.current=!1,O(T);return}}else if(b.length)R=b(p),C.current=!1;else if(R=b(),!R){O();return}$(R)};return n.createElement(r.default,Object.assign({},(0,i.convertLegacyProps)(c),{onClick:P,loading:S,prefixCls:h},d,{ref:x}),f)};return ix.default=s,ix}var Og={},d2e;function NC(){if(d2e)return Og;d2e=1;var e=ze;Object.defineProperty(Og,"__esModule",{value:!0}),Og.ModalContextProvider=Og.ModalContext=void 0;var t=e(_);const n=Og.ModalContext=t.default.createContext({}),{Provider:r}=n;return Og.ModalContextProvider=r,Og}var f2e;function uGt(){if(f2e)return rx;f2e=1;var e=ze;Object.defineProperty(rx,"__esModule",{value:!0}),rx.default=void 0;var t=o(_),n=e(Foe()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{autoFocusButton:l,cancelButtonProps:s,cancelTextLocale:u,isSilent:c,mergedOkCancel:f,rootPrefixCls:h,close:d,onCancel:p,onConfirm:g}=(0,t.useContext)(r.ModalContext);return f?t.default.createElement(n.default,{isSilent:c,actionFn:p,close:function(){d==null||d.apply(void 0,arguments),g==null||g(!1)},autoFocus:l==="cancel",buttonProps:s,prefixCls:`${h}-btn`},u):null};return rx.default=a,rx}var yx={},p2e;function dGt(){if(p2e)return yx;p2e=1;var e=ze;Object.defineProperty(yx,"__esModule",{value:!0}),yx.default=void 0;var t=o(_),n=e(Foe()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{autoFocusButton:l,close:s,isSilent:u,okButtonProps:c,rootPrefixCls:f,okTextLocale:h,okType:d,onConfirm:p,onOk:g}=(0,t.useContext)(r.ModalContext);return t.default.createElement(n.default,{isSilent:u,type:d||"primary",actionFn:g,close:function(){s==null||s.apply(void 0,arguments),p==null||p(!0)},autoFocus:l==="ok",buttonProps:c,prefixCls:`${f}-btn`},h)};return yx.default=a,yx}var bx={};const Dqe=gr(Dmt);var Cx={},h2e;function SF(){if(h2e)return Cx;h2e=1;var e=ze;Object.defineProperty(Cx,"__esModule",{value:!0}),Cx.default=void 0;var t=e(_),n=e(zs());function r(o,a,l){return typeof o=="boolean"?o:a===void 0?!!l:a!==!1&&a!==null}function i(o,a,l){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t.default.createElement(n.default,null),u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!r(o,a,u))return[!1,null];const f=typeof a=="boolean"||a===void 0||a===null?s:a;return[!0,l?l(f):f]}return Cx.default=i,Cx}var QU={},pR={},g2e;function fGt(){if(g2e)return pR;g2e=1;var e=ze.default;Object.defineProperty(pR,"__esModule",{value:!0}),pR.isStyleSupport=i;var t=e(eP()),n=function(a){if((0,t.default)()&&window.document.documentElement){var l=Array.isArray(a)?a:[a],s=window.document.documentElement;return l.some(function(u){return u in s.style})}return!1},r=function(a,l){if(!n(a))return!1;var s=document.createElement("div"),u=s.style[a];return s.style[a]=l,s.style[a]!==u};function i(o,a){return!Array.isArray(o)&&a!==void 0?r(o,a):n(o)}return pR}var m2e;function Lqe(){return m2e||(m2e=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.canUseDocElement=void 0,Object.defineProperty(e,"isStyleSupport",{enumerable:!0,get:function(){return r.isStyleSupport}});var n=t(eP()),r=fGt();const i=()=>(0,n.default)()&&window.document.documentElement;e.canUseDocElement=i}(QU)),QU}var Ga={};const rP=gr(Avt);var v2e;function fi(){if(v2e)return Ga;v2e=1;var e=ze;Object.defineProperty(Ga,"__esModule",{value:!0}),Ga.VariantContext=Ga.NoStyleItemContext=Ga.NoFormStyle=Ga.FormProvider=Ga.FormItemPrefixContext=Ga.FormItemInputContext=Ga.FormContext=void 0;var t=a(_),n=t,r=rP,i=e(Qr());function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}Ga.FormContext=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),Ga.NoStyleItemContext=n.createContext(null);const l=c=>{const f=(0,i.default)(c,["prefixCls"]);return n.createElement(r.FormProvider,Object.assign({},f))};Ga.FormProvider=l,Ga.FormItemPrefixContext=n.createContext({prefixCls:""});const s=Ga.FormItemInputContext=n.createContext({}),u=c=>{let{children:f,status:h,override:d}=c;const p=(0,t.useContext)(s),g=(0,t.useMemo)(()=>{const m=Object.assign({},p);return d&&delete m.isFormItemInput,h&&(delete m.status,delete m.hasFeedback,delete m.feedbackIcon),m},[h,d,p]);return n.createElement(s.Provider,{value:g},f)};return Ga.NoFormStyle=u,Ga.VariantContext=(0,t.createContext)(void 0),Ga}var n2={},y2e;function Hoe(){if(y2e)return n2;y2e=1,Object.defineProperty(n2,"__esModule",{value:!0}),n2.default=void 0,n2.usePanelRef=a;var e=Xy,t=r(_);function n(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(n=function(c){return c?u:s})(l)}function r(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=n(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function i(){}const o=t.createContext({add:i,remove:i});function a(l){const s=t.useContext(o),u=t.useRef();return(0,e.useEvent)(f=>{if(f){const h=l?f.querySelector(l):f;s.add(h),u.current=h}else s.remove(u.current)})}return n2.default=o,n2}var r2={},Sx={},b2e;function pGt(){if(b2e)return Sx;b2e=1;var e=ze;Object.defineProperty(Sx,"__esModule",{value:!0}),Sx.default=void 0;var t=o(_),n=e(Ac()),r=NC();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{cancelButtonProps:l,cancelTextLocale:s,onCancel:u}=(0,t.useContext)(r.ModalContext);return t.default.createElement(n.default,Object.assign({onClick:u},l),s)};return Sx.default=a,Sx}var xx={},C2e;function hGt(){if(C2e)return xx;C2e=1;var e=ze;Object.defineProperty(xx,"__esModule",{value:!0}),xx.default=void 0;var t=a(_),n=e(Ac()),r=nP(),i=NC();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=()=>{const{confirmLoading:s,okButtonProps:u,okType:c,okTextLocale:f,onOk:h}=(0,t.useContext)(i.ModalContext);return t.default.createElement(n.default,Object.assign({},(0,r.convertLegacyProps)(c),{loading:s,onClick:h},u),f)};return xx.default=l,xx}var S2e;function zqe(){if(S2e)return r2;S2e=1;var e=ze;Object.defineProperty(r2,"__esModule",{value:!0}),r2.Footer=void 0,r2.renderCloseIcon=c;var t=e(qr()),n=e(_),r=e(zs()),i=$a(),o=Rl(),a=e(pGt()),l=e(hGt()),s=NC(),u=Noe();function c(h,d){return n.default.createElement("span",{className:`${h}-close-x`},d||n.default.createElement(r.default,{className:`${h}-close-icon`}))}const f=h=>{const{okText:d,okType:p="primary",cancelText:g,confirmLoading:m,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:C,footer:x}=h,[S]=(0,o.useLocale)("Modal",(0,u.getConfirmLocale)()),w=d||(S==null?void 0:S.okText),O=g||(S==null?void 0:S.cancelText),$={confirmLoading:m,okButtonProps:b,cancelButtonProps:C,okTextLocale:w,cancelTextLocale:O,okType:p,onOk:v,onCancel:y},P=n.default.useMemo(()=>$,(0,t.default)(Object.values($)));let T;return typeof x=="function"||typeof x>"u"?(T=n.default.createElement(n.default.Fragment,null,n.default.createElement(a.default,null),n.default.createElement(l.default,null)),typeof x=="function"&&(T=x(T,{OkBtn:l.default,CancelBtn:a.default})),T=n.default.createElement(s.ModalContextProvider,{value:P},T)):T=x,n.default.createElement(i.DisabledContextProvider,{disabled:!1},T)};return r2.Footer=f,r2}var Bu={},JU={},sp={},_x={},x2e;function iP(){if(x2e)return _x;x2e=1,Object.defineProperty(_x,"__esModule",{value:!0}),_x.initMotion=void 0;const e=r=>({animationDuration:r,animationFillMode:"both"}),t=r=>({animationDuration:r,animationFillMode:"both"}),n=function(r,i,o,a){const s=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${s}${r}-enter, ${s}${r}-appear `]:Object.assign(Object.assign({},e(a)),{animationPlayState:"paused"}),[`${s}${r}-leave`]:Object.assign(Object.assign({},t(a)),{animationPlayState:"paused"}),[` ${s}${r}-enter${r}-enter-active, ${s}${r}-appear${r}-appear-active - `]:{animationName:i,animationPlayState:"running"},[`${s}${r}-leave${r}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}};return xx.initMotion=n,xx}var x2e;function Bqe(){if(x2e)return sp;x2e=1,Object.defineProperty(sp,"__esModule",{value:!0}),sp.initFadeMotion=sp.fadeOut=sp.fadeIn=void 0;var e=Xt,t=rP();const n=sp.fadeIn=new e.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),r=sp.fadeOut=new e.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),i=function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:l}=o,s=`${l}-fade`,u=a?"&":"";return[(0,t.initMotion)(s,n,r,o.motionDurationMid,a),{[` + `]:{animationName:i,animationPlayState:"running"},[`${s}${r}-leave${r}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}};return _x.initMotion=n,_x}var _2e;function Bqe(){if(_2e)return sp;_2e=1,Object.defineProperty(sp,"__esModule",{value:!0}),sp.initFadeMotion=sp.fadeOut=sp.fadeIn=void 0;var e=Xt,t=iP();const n=sp.fadeIn=new e.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),r=sp.fadeOut=new e.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),i=function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:l}=o,s=`${l}-fade`,u=a?"&":"";return[(0,t.initMotion)(s,n,r,o.motionDurationMid,a),{[` ${u}${s}-enter, ${u}${s}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${u}${s}-leave`]:{animationTimingFunction:"linear"}}]};return sp.initFadeMotion=i,sp}var Do={},_2e;function mGt(){if(_2e)return Do;_2e=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.moveUpOut=Do.moveUpIn=Do.moveRightOut=Do.moveRightIn=Do.moveLeftOut=Do.moveLeftIn=Do.moveDownOut=Do.moveDownIn=Do.initMoveMotion=void 0;var e=Xt,t=rP();const n=Do.moveDownIn=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=Do.moveDownOut=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=Do.moveLeftIn=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),o=Do.moveLeftOut=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a=Do.moveRightIn=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=Do.moveRightOut=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=Do.moveUpIn=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=Do.moveUpOut=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),c={"move-up":{inKeyframes:s,outKeyframes:u},"move-down":{inKeyframes:n,outKeyframes:r},"move-left":{inKeyframes:i,outKeyframes:o},"move-right":{inKeyframes:a,outKeyframes:l}},f=(h,d)=>{const{antCls:p}=h,g=`${p}-${d}`,{inKeyframes:m,outKeyframes:v}=c[d];return[(0,t.initMotion)(g,m,v,h.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:"linear"},[`${u}${s}-leave`]:{animationTimingFunction:"linear"}}]};return sp.initFadeMotion=i,sp}var Do={},w2e;function gGt(){if(w2e)return Do;w2e=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.moveUpOut=Do.moveUpIn=Do.moveRightOut=Do.moveRightIn=Do.moveLeftOut=Do.moveLeftIn=Do.moveDownOut=Do.moveDownIn=Do.initMoveMotion=void 0;var e=Xt,t=iP();const n=Do.moveDownIn=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),r=Do.moveDownOut=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=Do.moveLeftIn=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),o=Do.moveLeftOut=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a=Do.moveRightIn=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=Do.moveRightOut=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s=Do.moveUpIn=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=Do.moveUpOut=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),c={"move-up":{inKeyframes:s,outKeyframes:u},"move-down":{inKeyframes:n,outKeyframes:r},"move-left":{inKeyframes:i,outKeyframes:o},"move-right":{inKeyframes:a,outKeyframes:l}},f=(h,d)=>{const{antCls:p}=h,g=`${p}-${d}`,{inKeyframes:m,outKeyframes:v}=c[d];return[(0,t.initMotion)(g,m,v,h.motionDurationMid),{[` ${g}-enter, ${g}-appear - `]:{opacity:0,animationTimingFunction:h.motionEaseOutCirc},[`${g}-leave`]:{animationTimingFunction:h.motionEaseInOutCirc}}]};return Do.initMoveMotion=f,Do}var Lo={},w2e;function vGt(){if(w2e)return Lo;w2e=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.slideUpOut=Lo.slideUpIn=Lo.slideRightOut=Lo.slideRightIn=Lo.slideLeftOut=Lo.slideLeftIn=Lo.slideDownOut=Lo.slideDownIn=Lo.initSlideMotion=void 0;var e=Xt,t=rP();const n=Lo.slideUpIn=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),r=Lo.slideUpOut=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=Lo.slideDownIn=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),o=Lo.slideDownOut=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),a=Lo.slideLeftIn=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),l=Lo.slideLeftOut=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=Lo.slideRightIn=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u=Lo.slideRightOut=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),c={"slide-up":{inKeyframes:n,outKeyframes:r},"slide-down":{inKeyframes:i,outKeyframes:o},"slide-left":{inKeyframes:a,outKeyframes:l},"slide-right":{inKeyframes:s,outKeyframes:u}},f=(h,d)=>{const{antCls:p}=h,g=`${p}-${d}`,{inKeyframes:m,outKeyframes:v}=c[d];return[(0,t.initMotion)(g,m,v,h.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:h.motionEaseOutCirc},[`${g}-leave`]:{animationTimingFunction:h.motionEaseInOutCirc}}]};return Do.initMoveMotion=f,Do}var Lo={},O2e;function mGt(){if(O2e)return Lo;O2e=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.slideUpOut=Lo.slideUpIn=Lo.slideRightOut=Lo.slideRightIn=Lo.slideLeftOut=Lo.slideLeftIn=Lo.slideDownOut=Lo.slideDownIn=Lo.initSlideMotion=void 0;var e=Xt,t=iP();const n=Lo.slideUpIn=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),r=Lo.slideUpOut=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=Lo.slideDownIn=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),o=Lo.slideDownOut=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),a=Lo.slideLeftIn=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),l=Lo.slideLeftOut=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=Lo.slideRightIn=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u=Lo.slideRightOut=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),c={"slide-up":{inKeyframes:n,outKeyframes:r},"slide-down":{inKeyframes:i,outKeyframes:o},"slide-left":{inKeyframes:a,outKeyframes:l},"slide-right":{inKeyframes:s,outKeyframes:u}},f=(h,d)=>{const{antCls:p}=h,g=`${p}-${d}`,{inKeyframes:m,outKeyframes:v}=c[d];return[(0,t.initMotion)(g,m,v,h.motionDurationMid),{[` ${g}-enter, ${g}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:h.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${g}-leave`]:{animationTimingFunction:h.motionEaseInQuint}}]};return Lo.initSlideMotion=f,Lo}var hi={},O2e;function yGt(){if(O2e)return hi;O2e=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.zoomUpOut=hi.zoomUpIn=hi.zoomRightOut=hi.zoomRightIn=hi.zoomOut=hi.zoomLeftOut=hi.zoomLeftIn=hi.zoomIn=hi.zoomDownOut=hi.zoomDownIn=hi.zoomBigOut=hi.zoomBigIn=hi.initZoomMotion=void 0;var e=Xt,t=rP();const n=hi.zoomIn=new e.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),r=hi.zoomOut=new e.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),i=hi.zoomBigIn=new e.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o=hi.zoomBigOut=new e.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),a=hi.zoomUpIn=new e.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),l=hi.zoomUpOut=new e.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),s=hi.zoomLeftIn=new e.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),u=hi.zoomLeftOut=new e.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),c=hi.zoomRightIn=new e.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),f=hi.zoomRightOut=new e.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),h=hi.zoomDownIn=new e.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),d=hi.zoomDownOut=new e.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),p={zoom:{inKeyframes:n,outKeyframes:r},"zoom-big":{inKeyframes:i,outKeyframes:o},"zoom-big-fast":{inKeyframes:i,outKeyframes:o},"zoom-left":{inKeyframes:s,outKeyframes:u},"zoom-right":{inKeyframes:c,outKeyframes:f},"zoom-up":{inKeyframes:a,outKeyframes:l},"zoom-down":{inKeyframes:h,outKeyframes:d}},g=(m,v)=>{const{antCls:y}=m,b=`${y}-${v}`,{inKeyframes:C,outKeyframes:x}=p[v];return[(0,t.initMotion)(b,C,x,v==="zoom-big-fast"?m.motionDurationFast:m.motionDurationMid),{[` + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:h.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${g}-leave`]:{animationTimingFunction:h.motionEaseInQuint}}]};return Lo.initSlideMotion=f,Lo}var hi={},E2e;function vGt(){if(E2e)return hi;E2e=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.zoomUpOut=hi.zoomUpIn=hi.zoomRightOut=hi.zoomRightIn=hi.zoomOut=hi.zoomLeftOut=hi.zoomLeftIn=hi.zoomIn=hi.zoomDownOut=hi.zoomDownIn=hi.zoomBigOut=hi.zoomBigIn=hi.initZoomMotion=void 0;var e=Xt,t=iP();const n=hi.zoomIn=new e.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),r=hi.zoomOut=new e.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),i=hi.zoomBigIn=new e.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o=hi.zoomBigOut=new e.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),a=hi.zoomUpIn=new e.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),l=hi.zoomUpOut=new e.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),s=hi.zoomLeftIn=new e.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),u=hi.zoomLeftOut=new e.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),c=hi.zoomRightIn=new e.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),f=hi.zoomRightOut=new e.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),h=hi.zoomDownIn=new e.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),d=hi.zoomDownOut=new e.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),p={zoom:{inKeyframes:n,outKeyframes:r},"zoom-big":{inKeyframes:i,outKeyframes:o},"zoom-big-fast":{inKeyframes:i,outKeyframes:o},"zoom-left":{inKeyframes:s,outKeyframes:u},"zoom-right":{inKeyframes:c,outKeyframes:f},"zoom-up":{inKeyframes:a,outKeyframes:l},"zoom-down":{inKeyframes:h,outKeyframes:d}},g=(m,v)=>{const{antCls:y}=m,b=`${y}-${v}`,{inKeyframes:C,outKeyframes:x}=p[v];return[(0,t.initMotion)(b,C,x,v==="zoom-big-fast"?m.motionDurationFast:m.motionDurationMid),{[` ${b}-enter, ${b}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:m.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${b}-leave`]:{animationTimingFunction:m.motionEaseInOutCirc}}]};return hi.initZoomMotion=g,hi}var _x={},E2e;function bGt(){if(E2e)return _x;E2e=1,Object.defineProperty(_x,"__esModule",{value:!0}),_x.default=void 0;const e=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:m.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${b}-leave`]:{animationTimingFunction:m.motionEaseInOutCirc}}]};return hi.initZoomMotion=g,hi}var wx={},$2e;function yGt(){if($2e)return wx;$2e=1,Object.defineProperty(wx,"__esModule",{value:!0}),wx.default=void 0;const e=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}},[`${t.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, - opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}}});return _x.default=e,_x}var $2e;function Bs(){return $2e||($2e=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"fadeIn",{enumerable:!0,get:function(){return n.fadeIn}}),Object.defineProperty(e,"fadeOut",{enumerable:!0,get:function(){return n.fadeOut}}),Object.defineProperty(e,"genCollapseMotion",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"initFadeMotion",{enumerable:!0,get:function(){return n.initFadeMotion}}),Object.defineProperty(e,"initMoveMotion",{enumerable:!0,get:function(){return r.initMoveMotion}}),Object.defineProperty(e,"initSlideMotion",{enumerable:!0,get:function(){return i.initSlideMotion}}),Object.defineProperty(e,"initZoomMotion",{enumerable:!0,get:function(){return o.initZoomMotion}}),Object.defineProperty(e,"moveDownIn",{enumerable:!0,get:function(){return r.moveDownIn}}),Object.defineProperty(e,"moveDownOut",{enumerable:!0,get:function(){return r.moveDownOut}}),Object.defineProperty(e,"moveLeftIn",{enumerable:!0,get:function(){return r.moveLeftIn}}),Object.defineProperty(e,"moveLeftOut",{enumerable:!0,get:function(){return r.moveLeftOut}}),Object.defineProperty(e,"moveRightIn",{enumerable:!0,get:function(){return r.moveRightIn}}),Object.defineProperty(e,"moveRightOut",{enumerable:!0,get:function(){return r.moveRightOut}}),Object.defineProperty(e,"moveUpIn",{enumerable:!0,get:function(){return r.moveUpIn}}),Object.defineProperty(e,"moveUpOut",{enumerable:!0,get:function(){return r.moveUpOut}}),Object.defineProperty(e,"slideDownIn",{enumerable:!0,get:function(){return i.slideDownIn}}),Object.defineProperty(e,"slideDownOut",{enumerable:!0,get:function(){return i.slideDownOut}}),Object.defineProperty(e,"slideLeftIn",{enumerable:!0,get:function(){return i.slideLeftIn}}),Object.defineProperty(e,"slideLeftOut",{enumerable:!0,get:function(){return i.slideLeftOut}}),Object.defineProperty(e,"slideRightIn",{enumerable:!0,get:function(){return i.slideRightIn}}),Object.defineProperty(e,"slideRightOut",{enumerable:!0,get:function(){return i.slideRightOut}}),Object.defineProperty(e,"slideUpIn",{enumerable:!0,get:function(){return i.slideUpIn}}),Object.defineProperty(e,"slideUpOut",{enumerable:!0,get:function(){return i.slideUpOut}}),Object.defineProperty(e,"zoomBigIn",{enumerable:!0,get:function(){return o.zoomBigIn}}),Object.defineProperty(e,"zoomBigOut",{enumerable:!0,get:function(){return o.zoomBigOut}}),Object.defineProperty(e,"zoomDownIn",{enumerable:!0,get:function(){return o.zoomDownIn}}),Object.defineProperty(e,"zoomDownOut",{enumerable:!0,get:function(){return o.zoomDownOut}}),Object.defineProperty(e,"zoomIn",{enumerable:!0,get:function(){return o.zoomIn}}),Object.defineProperty(e,"zoomLeftIn",{enumerable:!0,get:function(){return o.zoomLeftIn}}),Object.defineProperty(e,"zoomLeftOut",{enumerable:!0,get:function(){return o.zoomLeftOut}}),Object.defineProperty(e,"zoomOut",{enumerable:!0,get:function(){return o.zoomOut}}),Object.defineProperty(e,"zoomRightIn",{enumerable:!0,get:function(){return o.zoomRightIn}}),Object.defineProperty(e,"zoomRightOut",{enumerable:!0,get:function(){return o.zoomRightOut}}),Object.defineProperty(e,"zoomUpIn",{enumerable:!0,get:function(){return o.zoomUpIn}}),Object.defineProperty(e,"zoomUpOut",{enumerable:!0,get:function(){return o.zoomUpOut}});var n=Bqe(),r=mGt(),i=vGt(),o=yGt(),a=t(bGt())}(QU)),QU}var P2e;function SF(){if(P2e)return Bu;P2e=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.prepareToken=Bu.prepareComponentToken=Bu.genModalMaskStyle=Bu.default=void 0;var e=Tn(),t=Bs(),n=Jt(),r=Xt;function i(c){return{position:c,inset:0}}const o=c=>{const{componentCls:f,antCls:h}=c;return[{[`${f}-root`]:{[`${f}${h}-zoom-enter, ${f}${h}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:c.motionDurationSlow,userSelect:"none"},[`${f}${h}-zoom-leave ${f}-content`]:{pointerEvents:"none"},[`${f}-mask`]:Object.assign(Object.assign({},i("fixed")),{zIndex:c.zIndexPopupBase,height:"100%",backgroundColor:c.colorBgMask,pointerEvents:"none",[`${f}-hidden`]:{display:"none"}}),[`${f}-wrap`]:Object.assign(Object.assign({},i("fixed")),{zIndex:c.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${f}${h}-zoom-enter), &:has(${f}${h}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${f}-root`]:(0,t.initFadeMotion)(c)}]};Bu.genModalMaskStyle=o;const a=c=>{const{componentCls:f}=c;return[{[`${f}-root`]:{[`${f}-wrap-rtl`]:{direction:"rtl"},[`${f}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[f]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${c.screenSMMax}px)`]:{[f]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.unit)(c.marginXS)} auto`},[`${f}-centered`]:{[f]:{flex:1}}}}},{[f]:Object.assign(Object.assign({},(0,e.resetComponent)(c)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.unit)(c.calc(c.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:c.paddingLG,[`${f}-title`]:{margin:0,color:c.titleColor,fontWeight:c.fontWeightStrong,fontSize:c.titleFontSize,lineHeight:c.titleLineHeight,wordWrap:"break-word"},[`${f}-content`]:{position:"relative",backgroundColor:c.contentBg,backgroundClip:"padding-box",border:0,borderRadius:c.borderRadiusLG,boxShadow:c.boxShadow,pointerEvents:"auto",padding:c.contentPadding},[`${f}-close`]:Object.assign({position:"absolute",top:c.calc(c.modalHeaderHeight).sub(c.modalCloseBtnSize).div(2).equal(),insetInlineEnd:c.calc(c.modalHeaderHeight).sub(c.modalCloseBtnSize).div(2).equal(),zIndex:c.calc(c.zIndexPopupBase).add(10).equal(),padding:0,color:c.modalCloseIconColor,fontWeight:c.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:c.borderRadiusSM,width:c.modalCloseBtnSize,height:c.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${c.motionDurationMid}, background-color ${c.motionDurationMid}`,"&-x":{display:"flex",fontSize:c.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,r.unit)(c.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:c.modalIconHoverColor,backgroundColor:c.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:c.closeBtnActiveBg}},(0,e.genFocusStyle)(c)),[`${f}-header`]:{color:c.colorText,background:c.headerBg,borderRadius:`${(0,r.unit)(c.borderRadiusLG)} ${(0,r.unit)(c.borderRadiusLG)} 0 0`,marginBottom:c.headerMarginBottom,padding:c.headerPadding,borderBottom:c.headerBorderBottom},[`${f}-body`]:{fontSize:c.fontSize,lineHeight:c.lineHeight,wordWrap:"break-word",padding:c.bodyPadding},[`${f}-footer`]:{textAlign:"end",background:c.footerBg,marginTop:c.footerMarginTop,padding:c.footerPadding,borderTop:c.footerBorderTop,borderRadius:c.footerBorderRadius,[`> ${c.antCls}-btn + ${c.antCls}-btn`]:{marginInlineStart:c.marginXS}},[`${f}-open`]:{overflow:"hidden"}})},{[`${f}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${f}-content, + opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}}});return wx.default=e,wx}var P2e;function Bs(){return P2e||(P2e=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"fadeIn",{enumerable:!0,get:function(){return n.fadeIn}}),Object.defineProperty(e,"fadeOut",{enumerable:!0,get:function(){return n.fadeOut}}),Object.defineProperty(e,"genCollapseMotion",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"initFadeMotion",{enumerable:!0,get:function(){return n.initFadeMotion}}),Object.defineProperty(e,"initMoveMotion",{enumerable:!0,get:function(){return r.initMoveMotion}}),Object.defineProperty(e,"initSlideMotion",{enumerable:!0,get:function(){return i.initSlideMotion}}),Object.defineProperty(e,"initZoomMotion",{enumerable:!0,get:function(){return o.initZoomMotion}}),Object.defineProperty(e,"moveDownIn",{enumerable:!0,get:function(){return r.moveDownIn}}),Object.defineProperty(e,"moveDownOut",{enumerable:!0,get:function(){return r.moveDownOut}}),Object.defineProperty(e,"moveLeftIn",{enumerable:!0,get:function(){return r.moveLeftIn}}),Object.defineProperty(e,"moveLeftOut",{enumerable:!0,get:function(){return r.moveLeftOut}}),Object.defineProperty(e,"moveRightIn",{enumerable:!0,get:function(){return r.moveRightIn}}),Object.defineProperty(e,"moveRightOut",{enumerable:!0,get:function(){return r.moveRightOut}}),Object.defineProperty(e,"moveUpIn",{enumerable:!0,get:function(){return r.moveUpIn}}),Object.defineProperty(e,"moveUpOut",{enumerable:!0,get:function(){return r.moveUpOut}}),Object.defineProperty(e,"slideDownIn",{enumerable:!0,get:function(){return i.slideDownIn}}),Object.defineProperty(e,"slideDownOut",{enumerable:!0,get:function(){return i.slideDownOut}}),Object.defineProperty(e,"slideLeftIn",{enumerable:!0,get:function(){return i.slideLeftIn}}),Object.defineProperty(e,"slideLeftOut",{enumerable:!0,get:function(){return i.slideLeftOut}}),Object.defineProperty(e,"slideRightIn",{enumerable:!0,get:function(){return i.slideRightIn}}),Object.defineProperty(e,"slideRightOut",{enumerable:!0,get:function(){return i.slideRightOut}}),Object.defineProperty(e,"slideUpIn",{enumerable:!0,get:function(){return i.slideUpIn}}),Object.defineProperty(e,"slideUpOut",{enumerable:!0,get:function(){return i.slideUpOut}}),Object.defineProperty(e,"zoomBigIn",{enumerable:!0,get:function(){return o.zoomBigIn}}),Object.defineProperty(e,"zoomBigOut",{enumerable:!0,get:function(){return o.zoomBigOut}}),Object.defineProperty(e,"zoomDownIn",{enumerable:!0,get:function(){return o.zoomDownIn}}),Object.defineProperty(e,"zoomDownOut",{enumerable:!0,get:function(){return o.zoomDownOut}}),Object.defineProperty(e,"zoomIn",{enumerable:!0,get:function(){return o.zoomIn}}),Object.defineProperty(e,"zoomLeftIn",{enumerable:!0,get:function(){return o.zoomLeftIn}}),Object.defineProperty(e,"zoomLeftOut",{enumerable:!0,get:function(){return o.zoomLeftOut}}),Object.defineProperty(e,"zoomOut",{enumerable:!0,get:function(){return o.zoomOut}}),Object.defineProperty(e,"zoomRightIn",{enumerable:!0,get:function(){return o.zoomRightIn}}),Object.defineProperty(e,"zoomRightOut",{enumerable:!0,get:function(){return o.zoomRightOut}}),Object.defineProperty(e,"zoomUpIn",{enumerable:!0,get:function(){return o.zoomUpIn}}),Object.defineProperty(e,"zoomUpOut",{enumerable:!0,get:function(){return o.zoomUpOut}});var n=Bqe(),r=gGt(),i=mGt(),o=vGt(),a=t(yGt())}(JU)),JU}var T2e;function xF(){if(T2e)return Bu;T2e=1,Object.defineProperty(Bu,"__esModule",{value:!0}),Bu.prepareToken=Bu.prepareComponentToken=Bu.genModalMaskStyle=Bu.default=void 0;var e=Tn(),t=Bs(),n=Jt(),r=Xt;function i(c){return{position:c,inset:0}}const o=c=>{const{componentCls:f,antCls:h}=c;return[{[`${f}-root`]:{[`${f}${h}-zoom-enter, ${f}${h}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:c.motionDurationSlow,userSelect:"none"},[`${f}${h}-zoom-leave ${f}-content`]:{pointerEvents:"none"},[`${f}-mask`]:Object.assign(Object.assign({},i("fixed")),{zIndex:c.zIndexPopupBase,height:"100%",backgroundColor:c.colorBgMask,pointerEvents:"none",[`${f}-hidden`]:{display:"none"}}),[`${f}-wrap`]:Object.assign(Object.assign({},i("fixed")),{zIndex:c.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${f}${h}-zoom-enter), &:has(${f}${h}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${f}-root`]:(0,t.initFadeMotion)(c)}]};Bu.genModalMaskStyle=o;const a=c=>{const{componentCls:f}=c;return[{[`${f}-root`]:{[`${f}-wrap-rtl`]:{direction:"rtl"},[`${f}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[f]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${c.screenSMMax}px)`]:{[f]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.unit)(c.marginXS)} auto`},[`${f}-centered`]:{[f]:{flex:1}}}}},{[f]:Object.assign(Object.assign({},(0,e.resetComponent)(c)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.unit)(c.calc(c.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:c.paddingLG,[`${f}-title`]:{margin:0,color:c.titleColor,fontWeight:c.fontWeightStrong,fontSize:c.titleFontSize,lineHeight:c.titleLineHeight,wordWrap:"break-word"},[`${f}-content`]:{position:"relative",backgroundColor:c.contentBg,backgroundClip:"padding-box",border:0,borderRadius:c.borderRadiusLG,boxShadow:c.boxShadow,pointerEvents:"auto",padding:c.contentPadding},[`${f}-close`]:Object.assign({position:"absolute",top:c.calc(c.modalHeaderHeight).sub(c.modalCloseBtnSize).div(2).equal(),insetInlineEnd:c.calc(c.modalHeaderHeight).sub(c.modalCloseBtnSize).div(2).equal(),zIndex:c.calc(c.zIndexPopupBase).add(10).equal(),padding:0,color:c.modalCloseIconColor,fontWeight:c.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:c.borderRadiusSM,width:c.modalCloseBtnSize,height:c.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${c.motionDurationMid}, background-color ${c.motionDurationMid}`,"&-x":{display:"flex",fontSize:c.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,r.unit)(c.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:c.modalIconHoverColor,backgroundColor:c.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:c.closeBtnActiveBg}},(0,e.genFocusStyle)(c)),[`${f}-header`]:{color:c.colorText,background:c.headerBg,borderRadius:`${(0,r.unit)(c.borderRadiusLG)} ${(0,r.unit)(c.borderRadiusLG)} 0 0`,marginBottom:c.headerMarginBottom,padding:c.headerPadding,borderBottom:c.headerBorderBottom},[`${f}-body`]:{fontSize:c.fontSize,lineHeight:c.lineHeight,wordWrap:"break-word",padding:c.bodyPadding},[`${f}-footer`]:{textAlign:"end",background:c.footerBg,marginTop:c.footerMarginTop,padding:c.footerPadding,borderTop:c.footerBorderTop,borderRadius:c.footerBorderRadius,[`> ${c.antCls}-btn + ${c.antCls}-btn`]:{marginInlineStart:c.marginXS}},[`${f}-open`]:{overflow:"hidden"}})},{[`${f}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${f}-content, ${f}-body, - ${f}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${f}-confirm-body`]:{marginBottom:"auto"}}}]},l=c=>{const{componentCls:f}=c;return{[`${f}-root`]:{[`${f}-wrap-rtl`]:{direction:"rtl",[`${f}-confirm-body`]:{direction:"rtl"}}}}},s=c=>{const f=c.padding,h=c.fontSizeHeading5,d=c.lineHeightHeading5;return(0,n.mergeToken)(c,{modalHeaderHeight:c.calc(c.calc(d).mul(h).equal()).add(c.calc(f).mul(2).equal()).equal(),modalFooterBorderColorSplit:c.colorSplit,modalFooterBorderStyle:c.lineType,modalFooterBorderWidth:c.lineWidth,modalIconHoverColor:c.colorIconHover,modalCloseIconColor:c.colorIcon,modalCloseBtnSize:c.fontHeight,modalConfirmIconSize:c.fontHeight,modalTitleHeight:c.calc(c.titleFontSize).mul(c.titleLineHeight).equal()})};Bu.prepareToken=s;const u=c=>({footerBg:"transparent",headerBg:c.colorBgElevated,titleLineHeight:c.lineHeightHeading5,titleFontSize:c.fontSizeHeading5,contentBg:c.colorBgElevated,titleColor:c.colorTextHeading,closeBtnHoverBg:c.wireframe?"transparent":c.colorFillContent,closeBtnActiveBg:c.wireframe?"transparent":c.colorFillContentHover,contentPadding:c.wireframe?0:`${(0,r.unit)(c.paddingMD)} ${(0,r.unit)(c.paddingContentHorizontalLG)}`,headerPadding:c.wireframe?`${(0,r.unit)(c.padding)} ${(0,r.unit)(c.paddingLG)}`:0,headerBorderBottom:c.wireframe?`${(0,r.unit)(c.lineWidth)} ${c.lineType} ${c.colorSplit}`:"none",headerMarginBottom:c.wireframe?0:c.marginXS,bodyPadding:c.wireframe?c.paddingLG:0,footerPadding:c.wireframe?`${(0,r.unit)(c.paddingXS)} ${(0,r.unit)(c.padding)}`:0,footerBorderTop:c.wireframe?`${(0,r.unit)(c.lineWidth)} ${c.lineType} ${c.colorSplit}`:"none",footerBorderRadius:c.wireframe?`0 0 ${(0,r.unit)(c.borderRadiusLG)} ${(0,r.unit)(c.borderRadiusLG)}`:0,footerMarginTop:c.wireframe?0:c.marginSM,confirmBodyPadding:c.wireframe?`${(0,r.unit)(c.padding*2)} ${(0,r.unit)(c.padding*2)} ${(0,r.unit)(c.paddingLG)}`:0,confirmIconMarginInlineEnd:c.wireframe?c.margin:c.marginSM,confirmBtnsMarginTop:c.wireframe?c.marginLG:c.marginSM});return Bu.prepareComponentToken=u,Bu.default=(0,n.genStyleHooks)("Modal",c=>{const f=s(c);return[a(f),l(f),o(f),(0,t.initZoomMotion)(f,"zoom")]},u,{unitless:{titleLineHeight:!0}}),Bu}var T2e;function Fqe(){if(T2e)return yx;T2e=1;var e=ze;Object.defineProperty(yx,"__esModule",{value:!0}),yx.default=void 0;var t=y(_),n=e(zs()),r=e(Tt()),i=e(Dqe),o=e(CF()),a=dl(),l=Il(),s=Lqe();_n();var u=e(RC()),c=Lt(),f=e(zr()),h=fi(),d=ts(),p=Foe(),g=zqe(),m=e(SF());function v(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(v=function(P){return P?$:O})(w)}function y(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=v(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}var b=function(w,O){var $={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&O.indexOf(P)<0&&($[P]=w[P]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,P=Object.getOwnPropertySymbols(w);T{C={x:w.pageX,y:w.pageY},setTimeout(()=>{C=null},100)};(0,s.canUseDocElement)()&&document.documentElement.addEventListener("click",x,!0);const S=w=>{var O;const{getPopupContainer:$,getPrefixCls:P,direction:T,modal:R}=t.useContext(c.ConfigContext),M=Pe=>{const{onCancel:_e}=w;_e==null||_e(Pe)},A=Pe=>{const{onOk:_e}=w;_e==null||_e(Pe)},{prefixCls:N,className:k,rootClassName:D,open:L,wrapClassName:B,centered:j,getContainer:z,closeIcon:V,closable:W,focusTriggerAfterClose:U=!0,style:K,visible:X,width:G=520,footer:Y,classNames:J,styles:ee}=w,Q=b(w,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),te=P("modal",N),ne=P(),re=(0,f.default)(te),[oe,se,ye]=(0,m.default)(te,re),be=(0,r.default)(B,{[`${te}-centered`]:!!j,[`${te}-wrap-rtl`]:T==="rtl"}),he=Y!==null&&t.createElement(g.Footer,Object.assign({},w,{onOk:A,onCancel:M})),[le,ve]=(0,o.default)(W,typeof V<"u"?V:R==null?void 0:R.closeIcon,Pe=>(0,g.renderCloseIcon)(te,Pe),t.createElement(n.default,{className:`${te}-close-icon`}),!0),ke=(0,p.usePanelRef)(`.${te}-content`),[Ie,Oe]=(0,a.useZIndex)("Modal",Q.zIndex);return oe(t.createElement(d.NoCompactStyle,null,t.createElement(h.NoFormStyle,{status:!0,override:!0},t.createElement(u.default.Provider,{value:Oe},t.createElement(i.default,Object.assign({width:G},Q,{zIndex:Ie,getContainer:z===void 0?$:z,prefixCls:te,rootClassName:(0,r.default)(se,D,ye,re),footer:he,visible:L??X,mousePosition:(O=Q.mousePosition)!==null&&O!==void 0?O:C,onClose:M,closable:le,closeIcon:ve,focusTriggerAfterClose:U,transitionName:(0,l.getTransitionName)(ne,"zoom",w.transitionName),maskTransitionName:(0,l.getTransitionName)(ne,"fade",w.maskTransitionName),className:(0,r.default)(se,k,R==null?void 0:R.className),style:Object.assign(Object.assign({},R==null?void 0:R.style),K),classNames:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.classNames),J),{wrapper:(0,r.default)(be,J==null?void 0:J.wrapper)}),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),ee),panelRef:ke}))))))};return yx.default=S,yx}var wx={},M2e;function CGt(){if(M2e)return wx;M2e=1,Object.defineProperty(wx,"__esModule",{value:!0}),wx.default=void 0;var e=Xt,t=SF(),n=Tn(),r=Jt();const i=o=>{const{componentCls:a,titleFontSize:l,titleLineHeight:s,modalConfirmIconSize:u,fontSize:c,lineHeight:f,modalTitleHeight:h,fontHeight:d,confirmBodyPadding:p}=o,g=`${a}-confirm`;return{[g]:{"&-rtl":{direction:"rtl"},[`${o.antCls}-modal-header`]:{display:"none"},[`${g}-body-wrapper`]:Object.assign({},(0,n.clearFix)()),[`&${a} ${a}-body`]:{padding:p},[`${g}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o.iconCls}`]:{flex:"none",fontSize:u,marginInlineEnd:o.confirmIconMarginInlineEnd,marginTop:o.calc(o.calc(d).sub(u).equal()).div(2).equal()},[`&-has-title > ${o.iconCls}`]:{marginTop:o.calc(o.calc(h).sub(u).equal()).div(2).equal()}},[`${g}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:o.marginXS,maxWidth:`calc(100% - ${(0,e.unit)(o.calc(o.modalConfirmIconSize).add(o.marginSM).equal())})`},[`${g}-title`]:{color:o.colorTextHeading,fontWeight:o.fontWeightStrong,fontSize:l,lineHeight:s},[`${g}-content`]:{color:o.colorText,fontSize:c,lineHeight:f},[`${g}-btns`]:{textAlign:"end",marginTop:o.confirmBtnsMarginTop,[`${o.antCls}-btn + ${o.antCls}-btn`]:{marginBottom:0,marginInlineStart:o.marginXS}}},[`${g}-error ${g}-body > ${o.iconCls}`]:{color:o.colorError},[`${g}-warning ${g}-body > ${o.iconCls}, - ${g}-confirm ${g}-body > ${o.iconCls}`]:{color:o.colorWarning},[`${g}-info ${g}-body > ${o.iconCls}`]:{color:o.colorInfo},[`${g}-success ${g}-body > ${o.iconCls}`]:{color:o.colorSuccess}}};return wx.default=(0,r.genSubStyleComponent)(["Modal","confirm"],o=>{const a=(0,t.prepareToken)(o);return[i(a)]},t.prepareComponentToken,{order:-1e3}),wx}var R2e;function Hoe(){if(R2e)return e2;R2e=1;var e=ze;Object.defineProperty(e2,"__esModule",{value:!0}),e2.ConfirmContent=x,e2.default=void 0;var t=e(qr()),n=b(_),r=e(Yy()),i=e(qf()),o=e(A0()),a=e(hF()),l=e(Tt()),s=dl(),u=Il();_n();var c=e(Lt()),f=Rl(),h=e($C()),d=e(dGt()),p=e(fGt()),g=NC(),m=e(Fqe()),v=e(CGt());function y(O){if(typeof WeakMap!="function")return null;var $=new WeakMap,P=new WeakMap;return(y=function(T){return T?P:$})(O)}function b(O,$){if(!$&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var P=y($);if(P&&P.has(O))return P.get(O);var T={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in O)if(M!=="default"&&Object.prototype.hasOwnProperty.call(O,M)){var A=R?Object.getOwnPropertyDescriptor(O,M):null;A&&(A.get||A.set)?Object.defineProperty(T,M,A):T[M]=O[M]}return T.default=O,P&&P.set(O,T),T}var C=function(O,$){var P={};for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&$.indexOf(T)<0&&(P[T]=O[T]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,T=Object.getOwnPropertySymbols(O);RX,(0,t.default)(Object.values(X))),Y=n.createElement(n.Fragment,null,n.createElement(d.default,null),n.createElement(p.default,null)),J=O.title!==void 0&&O.title!==null,ee=`${M}-body`;return n.createElement("div",{className:`${M}-body-wrapper`},n.createElement("div",{className:(0,l.default)(ee,{[`${ee}-has-title`]:J})},B,n.createElement("div",{className:`${M}-paragraph`},J&&n.createElement("span",{className:`${M}-title`},O.title),n.createElement("div",{className:`${M}-content`},O.content))),k===void 0||typeof k=="function"?n.createElement(g.ModalContextProvider,{value:G},n.createElement("div",{className:`${M}-btns`},typeof k=="function"?k(Y,{OkBtn:p.default,CancelBtn:d.default}):Y)):k,n.createElement(v.default,{prefixCls:$}))}const S=O=>{const{close:$,zIndex:P,afterClose:T,open:R,keyboard:M,centered:A,getContainer:N,maskStyle:k,direction:D,prefixCls:L,wrapClassName:B,rootPrefixCls:j,bodyStyle:z,closable:V=!1,closeIcon:W,modalRender:U,focusTriggerAfterClose:K,onConfirm:X,styles:G}=O,Y=`${L}-confirm`,J=O.width||416,ee=O.style||{},Q=O.mask===void 0?!0:O.mask,te=O.maskClosable===void 0?!1:O.maskClosable,ne=(0,l.default)(Y,`${Y}-${O.type}`,{[`${Y}-rtl`]:D==="rtl"},O.className),[,re]=(0,h.default)(),oe=n.useMemo(()=>P!==void 0?P:re.zIndexPopupBase+s.CONTAINER_MAX_OFFSET,[P,re]);return n.createElement(m.default,{prefixCls:L,className:ne,wrapClassName:(0,l.default)({[`${Y}-centered`]:!!O.centered},B),onCancel:()=>{$==null||$({triggerCancel:!0}),X==null||X(!1)},open:R,title:"",footer:null,transitionName:(0,u.getTransitionName)(j||"","zoom",O.transitionName),maskTransitionName:(0,u.getTransitionName)(j||"","fade",O.maskTransitionName),mask:Q,maskClosable:te,style:ee,styles:Object.assign({body:z,mask:k},G),width:J,zIndex:oe,afterClose:T,keyboard:M,centered:A,getContainer:N,closable:V,closeIcon:W,modalRender:U,focusTriggerAfterClose:K},n.createElement(x,Object.assign({},O,{confirmPrefixCls:Y})))},w=O=>{const{rootPrefixCls:$,iconPrefixCls:P,direction:T,theme:R}=O;return n.createElement(c.default,{prefixCls:$,iconPrefixCls:P,direction:T,theme:R},n.createElement(S,Object.assign({},O)))};return e2.default=w,e2}var Ox={},I2e;function Woe(){if(I2e)return Ox;I2e=1,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=void 0;const e=[];return Ox.default=e,Ox}var N2e;function Hqe(){if(N2e)return Gd;N2e=1;var e=ze;Object.defineProperty(Gd,"__esModule",{value:!0}),Gd.default=d,Gd.modalGlobalConfig=b,Gd.withConfirm=y,Gd.withError=v,Gd.withInfo=g,Gd.withSuccess=m,Gd.withWarn=p;var t=e(qr()),n=u(_),r=yF();e(_n());var i=u(Lt()),o=e(Hoe()),a=e(Woe()),l=Ioe();function s(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(s=function(w){return w?S:x})(C)}function u(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=s(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}let c="";function f(){return c}const h=C=>{var x,S;const{prefixCls:w,getContainer:O,direction:$}=C,P=(0,l.getConfirmLocale)(),T=(0,n.useContext)(i.ConfigContext),R=f()||T.getPrefixCls(),M=w||`${R}-modal`;let A=O;return A===!1&&(A=void 0),n.default.createElement(o.default,Object.assign({},C,{rootPrefixCls:R,prefixCls:M,iconPrefixCls:T.iconPrefixCls,theme:T.theme,direction:$??T.direction,locale:(S=(x=T.locale)===null||x===void 0?void 0:x.Modal)!==null&&S!==void 0?S:P,getContainer:A}))};function d(C){const x=(0,i.globalConfig)(),S=document.createDocumentFragment();let w=Object.assign(Object.assign({},C),{close:T,open:!0}),O;function $(){for(var M=arguments.length,A=new Array(M),N=0;ND&&D.triggerCancel);C.onCancel&&k&&C.onCancel.apply(C,[()=>{}].concat((0,t.default)(A.slice(1))));for(let D=0;D{const A=x.getPrefixCls(void 0,f()),N=x.getIconPrefixCls(),k=x.getTheme(),D=n.default.createElement(h,Object.assign({},M));(0,r.render)(n.default.createElement(i.default,{prefixCls:A,iconPrefixCls:N,theme:k},x.holderRender?x.holderRender(D):D),S)})}function T(){for(var M=arguments.length,A=new Array(M),N=0;N{typeof C.afterClose=="function"&&C.afterClose(),$.apply(this,A)}}),w.visible&&delete w.visible,P(w)}function R(M){typeof M=="function"?w=M(w):w=Object.assign(Object.assign({},w),M),P(w)}return P(w),a.default.push(T),{destroy:T,update:R}}function p(C){return Object.assign(Object.assign({},C),{type:"warning"})}function g(C){return Object.assign(Object.assign({},C),{type:"info"})}function m(C){return Object.assign(Object.assign({},C),{type:"success"})}function v(C){return Object.assign(Object.assign({},C),{type:"error"})}function y(C){return Object.assign(Object.assign({},C),{type:"confirm"})}function b(C){let{rootPrefixCls:x}=C;c=x}return Gd}var Ex={},A2e;function SGt(){if(A2e)return Ex;A2e=1;var e=ze;Object.defineProperty(Ex,"__esModule",{value:!0}),Ex.default=void 0;var t=e(qr()),n=s(_),r=Lt(),i=e(_u()),o=e(Aoe()),a=e(Hoe());function l(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(l=function(p){return p?d:h})(f)}function s(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=l(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}var u=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);g{var d,{afterClose:p,config:g}=f,m=u(f,["afterClose","config"]);const[v,y]=n.useState(!0),[b,C]=n.useState(g),{direction:x,getPrefixCls:S}=n.useContext(r.ConfigContext),w=S("modal"),O=S(),$=()=>{var M;p(),(M=b.afterClose)===null||M===void 0||M.call(b)},P=function(){y(!1);for(var M=arguments.length,A=new Array(M),N=0;ND&&D.triggerCancel);b.onCancel&&k&&b.onCancel.apply(b,[()=>{}].concat((0,t.default)(A.slice(1))))};n.useImperativeHandle(h,()=>({destroy:P,update:M=>{C(A=>Object.assign(Object.assign({},A),M))}}));const T=(d=b.okCancel)!==null&&d!==void 0?d:b.type==="confirm",[R]=(0,o.default)("Modal",i.default.Modal);return n.createElement(a.default,Object.assign({prefixCls:w,rootPrefixCls:O},b,{close:P,open:v,afterClose:$,okText:b.okText||(T?R==null?void 0:R.okText:R==null?void 0:R.justOkText),direction:b.direction||x,cancelText:b.cancelText||(R==null?void 0:R.cancelText)},m))};return Ex.default=n.forwardRef(c),Ex}var k2e;function Wqe(){if(k2e)return tx;k2e=1;var e=ze;Object.defineProperty(tx,"__esModule",{value:!0}),tx.default=void 0;var t=e(qr()),n=s(_),r=e(XUt()),i=Hqe(),o=e(Woe()),a=e(SGt());function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}let u=0;const c=n.memo(n.forwardRef((h,d)=>{const[p,g]=(0,r.default)();return n.useImperativeHandle(d,()=>({patchElement:g}),[]),n.createElement(n.Fragment,null,p)}));function f(){const h=n.useRef(null),[d,p]=n.useState([]);n.useEffect(()=>{d.length&&((0,t.default)(d).forEach(y=>{y()}),p([]))},[d]);const g=n.useCallback(v=>function(b){var C;u+=1;const x=n.createRef();let S;const w=new Promise(R=>{S=R});let O=!1,$;const P=n.createElement(a.default,{key:`modal-${u}`,config:v(b),ref:x,afterClose:()=>{$==null||$()},isSilent:()=>O,onConfirm:R=>{S(R)}});return $=(C=h.current)===null||C===void 0?void 0:C.patchElement(P),$&&o.default.push($),{destroy:()=>{function R(){var M;(M=x.current)===null||M===void 0||M.destroy()}x.current?R():p(M=>[].concat((0,t.default)(M),[R]))},update:R=>{function M(){var A;(A=x.current)===null||A===void 0||A.update(R)}x.current?M():p(A=>[].concat((0,t.default)(A),[M]))},then:R=>(O=!0,w.then(R))}},[]);return[n.useMemo(()=>({info:g(i.withInfo),success:g(i.withSuccess),error:g(i.withError),warning:g(i.withWarn),confirm:g(i.withConfirm)}),[]),n.createElement(c,{key:"modal-holder",ref:h})]}return tx.default=f,tx}var $x={},Kd={},Fu={},Px={},j2e;function xGt(){if(j2e)return Px;j2e=1,Object.defineProperty(Px,"__esModule",{value:!0}),Px.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,notificationMarginEdge:i,animationMaxHeight:o}=n,a=`${r}-notice`,l=new e.Keyframes("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new e.Keyframes("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}}),u=new e.Keyframes("antNotificationBottomFadeIn",{"0%":{bottom:n.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new e.Keyframes("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[r]:{[`&${r}-top, &${r}-bottom`]:{marginInline:0,[a]:{marginInline:"auto auto"}},[`&${r}-top`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:s}},[`&${r}-bottom`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:u}},[`&${r}-topRight, &${r}-bottomRight`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:l}},[`&${r}-topLeft, &${r}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:i,_skip_check_:!0},[a]:{marginInlineEnd:"auto",marginInlineStart:0},[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:c}}}}};return Px.default=t,Px}var Tx={},Mx={},D2e;function _Gt(){return D2e||(D2e=1,Object.defineProperty(Mx,"__esModule",{value:!0}),Mx.NotificationPlacements=void 0,Mx.NotificationPlacements=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"]),Mx}var L2e;function wGt(){if(L2e)return Tx;L2e=1,Object.defineProperty(Tx,"__esModule",{value:!0}),Tx.default=void 0;var e=_Gt();const t={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},n=(a,l)=>{const{componentCls:s}=a;return{[`${s}-${l}`]:{[`&${s}-stack > ${s}-notice-wrapper`]:{[l.startsWith("top")?"top":"bottom"]:0,[t[l]]:{value:0,_skip_check_:!0}}}}},r=a=>{const l={};for(let s=1;s ${a.componentCls}-notice`]:{opacity:0,transition:`opacity ${a.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${a.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},l)},i=a=>{const l={};for(let s=1;s{const{componentCls:l}=a;return Object.assign({[`${l}-stack`]:{[`& > ${l}-notice-wrapper`]:Object.assign({transition:`all ${a.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},r(a))},[`${l}-stack:not(${l}-stack-expanded)`]:{[`& > ${l}-notice-wrapper`]:Object.assign({},i(a))},[`${l}-stack${l}-stack-expanded`]:{[`& > ${l}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${a.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:a.margin,width:"100%",insetInline:0,bottom:a.calc(a.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},e.NotificationPlacements.map(s=>n(a,s)).reduce((s,u)=>Object.assign(Object.assign({},s),u),{}))};return Tx.default=o,Tx}var z2e;function qoe(){if(z2e)return Fu;z2e=1;var e=ze;Object.defineProperty(Fu,"__esModule",{value:!0}),Fu.prepareNotificationToken=Fu.prepareComponentToken=Fu.genNoticeStyle=Fu.default=void 0;var t=Xt,n=dl(),r=Tn(),i=Jt(),o=e(xGt()),a=e(wGt());const l=f=>{const{iconCls:h,componentCls:d,boxShadow:p,fontSizeLG:g,notificationMarginBottom:m,borderRadiusLG:v,colorSuccess:y,colorInfo:b,colorWarning:C,colorError:x,colorTextHeading:S,notificationBg:w,notificationPadding:O,notificationMarginEdge:$,fontSize:P,lineHeight:T,width:R,notificationIconSize:M,colorText:A}=f,N=`${d}-notice`;return{position:"relative",marginBottom:m,marginInlineStart:"auto",background:w,borderRadius:v,boxShadow:p,[N]:{padding:O,width:R,maxWidth:`calc(100vw - ${(0,t.unit)(f.calc($).mul(2).equal())})`,overflow:"hidden",lineHeight:T,wordWrap:"break-word"},[`${d}-close-icon`]:{fontSize:P,cursor:"pointer"},[`${N}-message`]:{marginBottom:f.marginXS,color:S,fontSize:g,lineHeight:f.lineHeightLG},[`${N}-description`]:{fontSize:P,color:A},[`${N}-closable ${N}-message`]:{paddingInlineEnd:f.paddingLG},[`${N}-with-icon ${N}-message`]:{marginBottom:f.marginXS,marginInlineStart:f.calc(f.marginSM).add(M).equal(),fontSize:g},[`${N}-with-icon ${N}-description`]:{marginInlineStart:f.calc(f.marginSM).add(M).equal(),fontSize:P},[`${N}-icon`]:{position:"absolute",fontSize:M,lineHeight:1,[`&-success${h}`]:{color:y},[`&-info${h}`]:{color:b},[`&-warning${h}`]:{color:C},[`&-error${h}`]:{color:x}},[`${N}-close`]:{position:"absolute",top:f.notificationPaddingVertical,insetInlineEnd:f.notificationPaddingHorizontal,color:f.colorIcon,outline:"none",width:f.notificationCloseButtonSize,height:f.notificationCloseButtonSize,borderRadius:f.borderRadiusSM,transition:`background-color ${f.motionDurationMid}, color ${f.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:f.colorIconHover,backgroundColor:f.closeBtnHoverBg}},[`${N}-btn`]:{float:"right",marginTop:f.marginSM}}};Fu.genNoticeStyle=l;const s=f=>{const{componentCls:h,notificationMarginBottom:d,notificationMarginEdge:p,motionDurationMid:g,motionEaseInOut:m}=f,v=`${h}-notice`,y=new t.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:f.animationMaxHeight,marginBottom:d},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[h]:Object.assign(Object.assign({},(0,r.resetComponent)(f)),{position:"fixed",zIndex:f.zIndexPopup,marginRight:{value:p,_skip_check_:!0},[`${h}-hook-holder`]:{position:"relative"},[`${h}-fade-appear-prepare`]:{opacity:"0 !important"},[`${h}-fade-enter, ${h}-fade-appear`]:{animationDuration:f.motionDurationMid,animationTimingFunction:m,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${h}-fade-leave`]:{animationTimingFunction:m,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${h}-fade-enter${h}-fade-enter-active, ${h}-fade-appear${h}-fade-appear-active`]:{animationPlayState:"running"},[`${h}-fade-leave${h}-fade-leave-active`]:{animationName:y,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${v}-btn`]:{float:"left"}}})},{[h]:{[`${v}-wrapper`]:Object.assign({},l(f))}}]},u=f=>({zIndexPopup:f.zIndexPopupBase+n.CONTAINER_MAX_OFFSET+50,width:384,closeBtnHoverBg:f.wireframe?"transparent":f.colorFillContent});Fu.prepareComponentToken=u;const c=f=>{const h=f.paddingMD,d=f.paddingLG;return(0,i.mergeToken)(f,{notificationBg:f.colorBgElevated,notificationPaddingVertical:h,notificationPaddingHorizontal:d,notificationIconSize:f.calc(f.fontSizeLG).mul(f.lineHeightLG).equal(),notificationCloseButtonSize:f.calc(f.controlHeightLG).mul(.55).equal(),notificationMarginBottom:f.margin,notificationPadding:`${(0,t.unit)(f.paddingMD)} ${(0,t.unit)(f.paddingContentHorizontalLG)}`,notificationMarginEdge:f.marginLG,animationMaxHeight:150,notificationStackLayer:3})};return Fu.prepareNotificationToken=c,Fu.default=(0,i.genStyleHooks)("Notification",f=>{const h=c(f);return[s(h),(0,o.default)(h),(0,a.default)(h)]},u),Fu}var Rx={},B2e;function OGt(){if(B2e)return Rx;B2e=1,Object.defineProperty(Rx,"__esModule",{value:!0}),Rx.default=void 0;var e=Jt(),t=qoe(),n=Xt;return Rx.default=(0,e.genSubStyleComponent)(["Notification","PurePanel"],r=>{const i=`${r.componentCls}-notice`,o=(0,t.prepareNotificationToken)(r);return{[`${i}-pure-panel`]:Object.assign(Object.assign({},(0,t.genNoticeStyle)(o)),{width:o.width,maxWidth:`calc(100vw - ${(0,n.unit)(r.calc(o.notificationMarginEdge).mul(2).equal())})`,margin:0})}},t.prepareComponentToken),Rx}var F2e;function qqe(){if(F2e)return Kd;F2e=1;var e=ze;Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.default=Kd.TypeIcon=Kd.PureContent=void 0,Kd.getCloseIcon=v;var t=g(_),n=e(Yy()),r=e(qf()),i=e(zs()),o=e(A0()),a=e(hF()),l=e(Vf()),s=e(Tt()),u=vF,c=Lt(),f=e(zr()),h=e(qoe()),d=e(OGt());function p(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(p=function(O){return O?w:S})(x)}function g(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=p(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var m=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{prefixCls:S,icon:w,type:O,message:$,description:P,btn:T,role:R="alert"}=x;let M=null;return w?M=t.createElement("span",{className:`${S}-icon`},w):O&&(M=t.createElement(y[O]||null,{className:(0,s.default)(`${S}-icon`,`${S}-icon-${O}`)})),t.createElement("div",{className:(0,s.default)({[`${S}-with-icon`]:M}),role:R},M,t.createElement("div",{className:`${S}-message`},$),t.createElement("div",{className:`${S}-description`},P),T&&t.createElement("div",{className:`${S}-btn`},T))};Kd.PureContent=b;const C=x=>{const{prefixCls:S,className:w,icon:O,type:$,message:P,description:T,btn:R,closable:M=!0,closeIcon:A,className:N}=x,k=m(x,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:D}=t.useContext(c.ConfigContext),L=S||D("notification"),B=`${L}-notice`,j=(0,f.default)(L),[z,V,W]=(0,h.default)(L,j);return z(t.createElement("div",{className:(0,s.default)(`${B}-pure-panel`,V,w,W,j)},t.createElement(d.default,{prefixCls:L}),t.createElement(u.Notice,Object.assign({},k,{prefixCls:L,eventKey:"pure",duration:null,closable:M,className:(0,s.default)({notificationClassName:N}),closeIcon:v(L,A),content:t.createElement(b,{prefixCls:B,icon:O,type:$,message:P,description:T,btn:R})}))))};return Kd.default=C,Kd}var Ix={},H2e;function EGt(){if(H2e)return Ix;H2e=1,Object.defineProperty(Ix,"__esModule",{value:!0}),Ix.getMotion=t,Ix.getPlacementStyle=e;function e(n,r,i){let o;switch(n){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:r,bottom:"auto"};break;case"topLeft":o={left:0,top:r,bottom:"auto"};break;case"topRight":o={right:0,top:r,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:i};break;case"bottomLeft":o={left:0,top:"auto",bottom:i};break;default:o={right:0,top:"auto",bottom:i};break}return o}function t(n){return{motionName:`${n}-fade`}}return Ix}var W2e;function Vqe(){if(W2e)return $x;W2e=1;var e=ze;Object.defineProperty($x,"__esModule",{value:!0}),$x.default=x,$x.useInternalNotification=C;var t=h(_),n=e(Tt()),r=vF,i=_n(),o=Lt(),a=e(zr()),l=Jt(),s=qqe(),u=e(qoe()),c=EGt();function f(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(f=function($){return $?O:w})(S)}function h(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=f(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var d=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const p=24,g=4.5,m="topRight",v=S=>{let{children:w,prefixCls:O}=S;const $=(0,a.default)(O),[P,T,R]=(0,u.default)(O,$);return P(t.default.createElement(r.NotificationProvider,{classNames:{list:(0,n.default)(T,R,$)}},w))},y=(S,w)=>{let{prefixCls:O,key:$}=w;return t.default.createElement(v,{prefixCls:O,key:$},S)},b=t.default.forwardRef((S,w)=>{const{top:O,bottom:$,prefixCls:P,getContainer:T,maxCount:R,rtl:M,onAllRemoved:A,stack:N,duration:k}=S,{getPrefixCls:D,getPopupContainer:L,notification:B,direction:j}=(0,t.useContext)(o.ConfigContext),[,z]=(0,l.useToken)(),V=P||D("notification"),W=Y=>(0,c.getPlacementStyle)(Y,O??p,$??p),U=()=>(0,n.default)({[`${V}-rtl`]:M??j==="rtl"}),K=()=>(0,c.getMotion)(V),[X,G]=(0,r.useNotification)({prefixCls:V,style:W,className:U,motion:K,closable:!0,closeIcon:(0,s.getCloseIcon)(V),duration:k??g,getContainer:()=>(T==null?void 0:T())||(L==null?void 0:L())||document.body,maxCount:R,onAllRemoved:A,renderNotifications:y,stack:N===!1?!1:{threshold:typeof N=="object"?N==null?void 0:N.threshold:void 0,offset:8,gap:z.margin}});return t.default.useImperativeHandle(w,()=>Object.assign(Object.assign({},X),{prefixCls:V,notification:B})),G});function C(S){const w=t.default.useRef(null);return(0,i.devUseWarning)("Notification"),[t.default.useMemo(()=>{const $=M=>{var A;if(!w.current)return;const{open:N,prefixCls:k,notification:D}=w.current,L=`${k}-notice`,{message:B,description:j,icon:z,type:V,btn:W,className:U,style:K,role:X="alert",closeIcon:G}=M,Y=d(M,["message","description","icon","type","btn","className","style","role","closeIcon"]),J=(0,s.getCloseIcon)(L,typeof G<"u"?G:D==null?void 0:D.closeIcon);return N(Object.assign(Object.assign({placement:(A=S==null?void 0:S.placement)!==null&&A!==void 0?A:m},Y),{content:t.default.createElement(s.PureContent,{prefixCls:L,icon:z,type:V,message:B,description:j,btn:W,role:X}),className:(0,n.default)(V&&`${L}-${V}`,U,D==null?void 0:D.className),style:Object.assign(Object.assign({},D==null?void 0:D.style),K),closeIcon:J,closable:!!J}))},T={open:$,destroy:M=>{var A,N;M!==void 0?(A=w.current)===null||A===void 0||A.close(M):(N=w.current)===null||N===void 0||N.destroy()}};return["success","info","warning","error"].forEach(M=>{T[M]=A=>$(Object.assign(Object.assign({},A),{type:M}))}),T},[]),t.default.createElement(b,Object.assign({key:"notification-holder"},S,{ref:w}))]}function x(S){return C(S)}return $x}var Eg={},q2e;function Voe(){if(q2e)return Eg;q2e=1;var e=ze;Object.defineProperty(Eg,"__esModule",{value:!0}),Eg.default=Eg.AppConfigContext=void 0;var t=e(_);Eg.AppConfigContext=t.default.createContext({});const n=t.default.createContext({message:{},notification:{},modal:{}});return Eg.default=n,Eg}var $g={},V2e;function $Gt(){if(V2e)return $g;V2e=1,Object.defineProperty($g,"__esModule",{value:!0}),$g.prepareComponentToken=$g.default=void 0;var e=Jt();const t=r=>{const{componentCls:i,colorText:o,fontSize:a,lineHeight:l,fontFamily:s}=r;return{[i]:{color:o,fontSize:a,lineHeight:l,fontFamily:s}}},n=()=>({});return $g.prepareComponentToken=n,$g.default=(0,e.genStyleHooks)("App",t,n),$g}var U2e;function PGt(){if(U2e)return ZS;U2e=1;var e=ze;Object.defineProperty(ZS,"__esModule",{value:!0}),ZS.default=void 0;var t=c(_),n=e(Tt()),r=Lt(),i=e(Iqe()),o=e(Wqe()),a=e(Vqe()),l=c(Voe()),s=e($Gt());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f=()=>t.default.useContext(l.default),h=d=>{const{prefixCls:p,children:g,className:m,rootClassName:v,message:y,notification:b,style:C,component:x="div"}=d,{getPrefixCls:S}=(0,t.useContext)(r.ConfigContext),w=S("app",p),[O,$,P]=(0,s.default)(w),T=(0,n.default)($,w,m,v,P),R=(0,t.useContext)(l.AppConfigContext),M=t.default.useMemo(()=>({message:Object.assign(Object.assign({},R.message),y),notification:Object.assign(Object.assign({},R.notification),b)}),[y,b,R.message,R.notification]),[A,N]=(0,i.default)(M.message),[k,D]=(0,a.default)(M.notification),[L,B]=(0,o.default)(),j=t.default.useMemo(()=>({message:A,notification:k,modal:L}),[A,k,L]),z=x===!1?t.default.Fragment:x,V={className:T,style:C};return O(t.default.createElement(l.default.Provider,{value:j},t.default.createElement(l.AppConfigContext.Provider,{value:M},t.default.createElement(z,Object.assign({},x===!1?void 0:V),B,N,D,g))))};return h.useApp=f,ZS.default=h,ZS}var Nx={},i2={},pR={},hR={},G2e;function TGt(){if(G2e)return hR;G2e=1;var e=Y$().default;Object.defineProperty(hR,"__esModule",{value:!0}),hR.default=n;var t=e(_);function n(r){var i=t.useRef();i.current=r;var o=t.useCallback(function(){for(var a,l=arguments.length,s=new Array(l),u=0;ut.createElement(r.default,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(s,Object.assign({},u)))}const l=(s,u,c,f)=>a(d=>{const{prefixCls:p,style:g}=d,m=t.useRef(null),[v,y]=t.useState(0),[b,C]=t.useState(0),[x,S]=(0,n.default)(!1,{value:d.open}),{getPrefixCls:w}=t.useContext(r.ConfigContext),O=w(u||"select",p);t.useEffect(()=>{if(S(!0),typeof ResizeObserver<"u"){const T=new ResizeObserver(M=>{const A=M[0].target;y(A.offsetHeight+8),C(A.offsetWidth)}),R=setInterval(()=>{var M;const A=c?`.${c(O)}`:`.${O}-dropdown`,N=(M=m.current)===null||M===void 0?void 0:M.querySelector(A);N&&(clearInterval(R),T.observe(N))},10);return()=>{clearInterval(R),T.disconnect()}}},[]);let $=Object.assign(Object.assign({},d),{style:Object.assign(Object.assign({},g),{margin:0}),open:x,visible:x,getPopupContainer:()=>m.current});f&&($=f($));const P={paddingBottom:v,position:"relative",minWidth:b};return t.createElement("div",{ref:m,style:P},t.createElement(s,Object.assign({},$)))});return i2.default=l,i2}var Ax={};const MGt=cr($2t);var o2={},Z2e;function jd(){if(Z2e)return o2;Z2e=1;var e=ze;Object.defineProperty(o2,"__esModule",{value:!0}),o2.getMergedStatus=void 0,o2.getStatusClassNames=n;var t=e(Tt());function n(i,o,a){return(0,t.default)({[`${i}-status-success`]:o==="success",[`${i}-status-warning`]:o==="warning",[`${i}-status-error`]:o==="error",[`${i}-status-validating`]:o==="validating",[`${i}-has-feedback`]:a})}const r=(i,o)=>o||i;return o2.getMergedStatus=r,o2}var kx={},jx={},Dx={},Q2e;function RGt(){if(Q2e)return Dx;Q2e=1,Object.defineProperty(Dx,"__esModule",{value:!0}),Dx.default=void 0;var e=Ea,t=i(_),n=Jt();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=()=>{const[,a]=(0,n.useToken)(),s=new e.TinyColor(a.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return t.createElement("svg",{style:s,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("g",{transform:"translate(24 31.67)"},t.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),t.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),t.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),t.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),t.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),t.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),t.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},t.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),t.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};return Dx.default=o,Dx}var Lx={},J2e;function IGt(){if(J2e)return Lx;J2e=1,Object.defineProperty(Lx,"__esModule",{value:!0}),Lx.default=void 0;var e=Ea,t=o(_),n=t,r=Jt();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const[,l]=(0,r.useToken)(),{colorFill:s,colorFillTertiary:u,colorFillQuaternary:c,colorBgContainer:f}=l,{borderColor:h,shadowColor:d,contentColor:p}=(0,t.useMemo)(()=>({borderColor:new e.TinyColor(s).onBackground(f).toHexShortString(),shadowColor:new e.TinyColor(u).onBackground(f).toHexShortString(),contentColor:new e.TinyColor(c).onBackground(f).toHexShortString()}),[s,u,c,f]);return n.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{fillRule:"nonzero",stroke:h},n.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),n.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:p}))))};return Lx.default=a,Lx}var zx={},e3e;function NGt(){if(e3e)return zx;e3e=1,Object.defineProperty(zx,"__esModule",{value:!0}),zx.default=void 0;var e=Jt();const t=n=>{const{componentCls:r,margin:i,marginXS:o,marginXL:a,fontSize:l,lineHeight:s}=n;return{[r]:{marginInline:o,fontSize:l,lineHeight:s,textAlign:"center",[`${r}-image`]:{height:n.emptyImgHeight,marginBottom:o,opacity:n.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${r}-description`]:{color:n.colorText},[`${r}-footer`]:{marginTop:i},"&-normal":{marginBlock:a,color:n.colorTextDisabled,[`${r}-description`]:{color:n.colorTextDisabled},[`${r}-image`]:{height:n.emptyImgHeightMD}},"&-small":{marginBlock:o,color:n.colorTextDisabled,[`${r}-image`]:{height:n.emptyImgHeightSM}}}}};return zx.default=(0,e.genStyleHooks)("Empty",n=>{const{componentCls:r,controlHeightLG:i,calc:o}=n,a=(0,e.mergeToken)(n,{emptyImgCls:`${r}-img`,emptyImgHeight:o(i).mul(2.5).equal(),emptyImgHeightMD:i,emptyImgHeightSM:o(i).mul(.875).equal()});return[t(a)]}),zx}var t3e;function Uoe(){if(t3e)return jx;t3e=1;var e=ze;Object.defineProperty(jx,"__esModule",{value:!0}),jx.default=void 0;var t=e(Tt()),n=u(_),r=Lt(),i=Rl(),o=e(RGt()),a=e(IGt()),l=e(NGt());function s(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(s=function(v){return v?m:g})(p)}function u(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=s(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var c=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{var{className:g,rootClassName:m,prefixCls:v,image:y=f,description:b,children:C,imageStyle:x,style:S}=p,w=c(p,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:O,direction:$,empty:P}=n.useContext(r.ConfigContext),T=O("empty",v),[R,M,A]=(0,l.default)(T),[N]=(0,i.useLocale)("Empty"),k=typeof b<"u"?b:N==null?void 0:N.description,D=typeof k=="string"?k:"empty";let L=null;return typeof y=="string"?L=n.createElement("img",{alt:D,src:y}):L=y,R(n.createElement("div",Object.assign({className:(0,t.default)(M,A,T,P==null?void 0:P.className,{[`${T}-normal`]:y===h,[`${T}-rtl`]:$==="rtl"},g,m),style:Object.assign(Object.assign({},P==null?void 0:P.style),S)},w),n.createElement("div",{className:`${T}-image`,style:x},L),k&&n.createElement("div",{className:`${T}-description`},k),C&&n.createElement("div",{className:`${T}-footer`},C)))};return d.PRESENTED_IMAGE_DEFAULT=f,d.PRESENTED_IMAGE_SIMPLE=h,jx.default=d,jx}var n3e;function k0(){if(n3e)return kx;n3e=1;var e=ze;Object.defineProperty(kx,"__esModule",{value:!0}),kx.default=void 0;var t=o(_),n=Lt(),r=e(Uoe());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{componentName:s}=l,{getPrefixCls:u}=(0,t.useContext)(n.ConfigContext),c=u("empty");switch(s){case"Table":case"List":return t.default.createElement(r.default,{image:r.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return t.default.createElement(r.default,{image:r.default.PRESENTED_IMAGE_SIMPLE,className:`${c}-small`});default:return t.default.createElement(r.default,null)}};return kx.default=a,kx}var Tg={},r3e;function Dh(){if(r3e)return Tg;r3e=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.default=Tg.Variants=void 0;var e=_,t=fi();const n=Tg.Variants=["outlined","borderless","filled"],r=function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const a=(0,e.useContext)(t.VariantContext);let l;typeof i<"u"?l=i:o===!1?l="borderless":l=a??"outlined";const s=n.includes(l);return[l,s]};return Tg.default=r,Tg}var Bx={},i3e;function Goe(){if(i3e)return Bx;i3e=1,Object.defineProperty(Bx,"__esModule",{value:!0}),Bx.default=void 0;const e=n=>{const i={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:n==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},i),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},i),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},i),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},i),{points:["br","tr"],offset:[0,-4]})}};function t(n,r){return n||e(r)}return Bx.default=t,Bx}var Fx={},Hx={},o3e;function AGt(){if(o3e)return Hx;o3e=1,Object.defineProperty(Hx,"__esModule",{value:!0}),Hx.default=void 0;var e=Tn(),t=Bs();const n=i=>{const{optionHeight:o,optionFontSize:a,optionLineHeight:l,optionPadding:s}=i;return{position:"relative",display:"block",minHeight:o,padding:s,color:i.colorText,fontWeight:"normal",fontSize:a,lineHeight:l,boxSizing:"border-box"}},r=i=>{const{antCls:o,componentCls:a}=i,l=`${a}-item`,s=`&${o}-slide-up-enter${o}-slide-up-enter-active`,u=`&${o}-slide-up-appear${o}-slide-up-appear-active`,c=`&${o}-slide-up-leave${o}-slide-up-leave-active`,f=`${a}-dropdown-placement-`;return[{[`${a}-dropdown`]:Object.assign(Object.assign({},(0,e.resetComponent)(i)),{position:"absolute",top:-9999,zIndex:i.zIndexPopup,boxSizing:"border-box",padding:i.paddingXXS,overflow:"hidden",fontSize:i.fontSize,fontVariant:"initial",backgroundColor:i.colorBgElevated,borderRadius:i.borderRadiusLG,outline:"none",boxShadow:i.boxShadowSecondary,[` + ${f}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${f}-confirm-body`]:{marginBottom:"auto"}}}]},l=c=>{const{componentCls:f}=c;return{[`${f}-root`]:{[`${f}-wrap-rtl`]:{direction:"rtl",[`${f}-confirm-body`]:{direction:"rtl"}}}}},s=c=>{const f=c.padding,h=c.fontSizeHeading5,d=c.lineHeightHeading5;return(0,n.mergeToken)(c,{modalHeaderHeight:c.calc(c.calc(d).mul(h).equal()).add(c.calc(f).mul(2).equal()).equal(),modalFooterBorderColorSplit:c.colorSplit,modalFooterBorderStyle:c.lineType,modalFooterBorderWidth:c.lineWidth,modalIconHoverColor:c.colorIconHover,modalCloseIconColor:c.colorIcon,modalCloseBtnSize:c.fontHeight,modalConfirmIconSize:c.fontHeight,modalTitleHeight:c.calc(c.titleFontSize).mul(c.titleLineHeight).equal()})};Bu.prepareToken=s;const u=c=>({footerBg:"transparent",headerBg:c.colorBgElevated,titleLineHeight:c.lineHeightHeading5,titleFontSize:c.fontSizeHeading5,contentBg:c.colorBgElevated,titleColor:c.colorTextHeading,closeBtnHoverBg:c.wireframe?"transparent":c.colorFillContent,closeBtnActiveBg:c.wireframe?"transparent":c.colorFillContentHover,contentPadding:c.wireframe?0:`${(0,r.unit)(c.paddingMD)} ${(0,r.unit)(c.paddingContentHorizontalLG)}`,headerPadding:c.wireframe?`${(0,r.unit)(c.padding)} ${(0,r.unit)(c.paddingLG)}`:0,headerBorderBottom:c.wireframe?`${(0,r.unit)(c.lineWidth)} ${c.lineType} ${c.colorSplit}`:"none",headerMarginBottom:c.wireframe?0:c.marginXS,bodyPadding:c.wireframe?c.paddingLG:0,footerPadding:c.wireframe?`${(0,r.unit)(c.paddingXS)} ${(0,r.unit)(c.padding)}`:0,footerBorderTop:c.wireframe?`${(0,r.unit)(c.lineWidth)} ${c.lineType} ${c.colorSplit}`:"none",footerBorderRadius:c.wireframe?`0 0 ${(0,r.unit)(c.borderRadiusLG)} ${(0,r.unit)(c.borderRadiusLG)}`:0,footerMarginTop:c.wireframe?0:c.marginSM,confirmBodyPadding:c.wireframe?`${(0,r.unit)(c.padding*2)} ${(0,r.unit)(c.padding*2)} ${(0,r.unit)(c.paddingLG)}`:0,confirmIconMarginInlineEnd:c.wireframe?c.margin:c.marginSM,confirmBtnsMarginTop:c.wireframe?c.marginLG:c.marginSM});return Bu.prepareComponentToken=u,Bu.default=(0,n.genStyleHooks)("Modal",c=>{const f=s(c);return[a(f),l(f),o(f),(0,t.initZoomMotion)(f,"zoom")]},u,{unitless:{titleLineHeight:!0}}),Bu}var M2e;function Fqe(){if(M2e)return bx;M2e=1;var e=ze;Object.defineProperty(bx,"__esModule",{value:!0}),bx.default=void 0;var t=y(_),n=e(zs()),r=e(Tt()),i=e(Dqe),o=e(SF()),a=dl(),l=Il(),s=Lqe();_n();var u=e(RC()),c=Lt(),f=e(zr()),h=fi(),d=ts(),p=Hoe(),g=zqe(),m=e(xF());function v(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(v=function(P){return P?$:O})(w)}function y(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=v(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}var b=function(w,O){var $={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&O.indexOf(P)<0&&($[P]=w[P]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,P=Object.getOwnPropertySymbols(w);T{C={x:w.pageX,y:w.pageY},setTimeout(()=>{C=null},100)};(0,s.canUseDocElement)()&&document.documentElement.addEventListener("click",x,!0);const S=w=>{var O;const{getPopupContainer:$,getPrefixCls:P,direction:T,modal:R}=t.useContext(c.ConfigContext),M=Pe=>{const{onCancel:_e}=w;_e==null||_e(Pe)},A=Pe=>{const{onOk:_e}=w;_e==null||_e(Pe)},{prefixCls:N,className:j,rootClassName:D,open:L,wrapClassName:B,centered:k,getContainer:z,closeIcon:q,closable:W,focusTriggerAfterClose:U=!0,style:K,visible:X,width:G=520,footer:Y,classNames:J,styles:ee}=w,Q=b(w,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),te=P("modal",N),ne=P(),re=(0,f.default)(te),[oe,se,ye]=(0,m.default)(te,re),be=(0,r.default)(B,{[`${te}-centered`]:!!k,[`${te}-wrap-rtl`]:T==="rtl"}),he=Y!==null&&t.createElement(g.Footer,Object.assign({},w,{onOk:A,onCancel:M})),[le,ve]=(0,o.default)(W,typeof q<"u"?q:R==null?void 0:R.closeIcon,Pe=>(0,g.renderCloseIcon)(te,Pe),t.createElement(n.default,{className:`${te}-close-icon`}),!0),ke=(0,p.usePanelRef)(`.${te}-content`),[Ie,Oe]=(0,a.useZIndex)("Modal",Q.zIndex);return oe(t.createElement(d.NoCompactStyle,null,t.createElement(h.NoFormStyle,{status:!0,override:!0},t.createElement(u.default.Provider,{value:Oe},t.createElement(i.default,Object.assign({width:G},Q,{zIndex:Ie,getContainer:z===void 0?$:z,prefixCls:te,rootClassName:(0,r.default)(se,D,ye,re),footer:he,visible:L??X,mousePosition:(O=Q.mousePosition)!==null&&O!==void 0?O:C,onClose:M,closable:le,closeIcon:ve,focusTriggerAfterClose:U,transitionName:(0,l.getTransitionName)(ne,"zoom",w.transitionName),maskTransitionName:(0,l.getTransitionName)(ne,"fade",w.maskTransitionName),className:(0,r.default)(se,j,R==null?void 0:R.className),style:Object.assign(Object.assign({},R==null?void 0:R.style),K),classNames:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.classNames),J),{wrapper:(0,r.default)(be,J==null?void 0:J.wrapper)}),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),ee),panelRef:ke}))))))};return bx.default=S,bx}var Ox={},R2e;function bGt(){if(R2e)return Ox;R2e=1,Object.defineProperty(Ox,"__esModule",{value:!0}),Ox.default=void 0;var e=Xt,t=xF(),n=Tn(),r=Jt();const i=o=>{const{componentCls:a,titleFontSize:l,titleLineHeight:s,modalConfirmIconSize:u,fontSize:c,lineHeight:f,modalTitleHeight:h,fontHeight:d,confirmBodyPadding:p}=o,g=`${a}-confirm`;return{[g]:{"&-rtl":{direction:"rtl"},[`${o.antCls}-modal-header`]:{display:"none"},[`${g}-body-wrapper`]:Object.assign({},(0,n.clearFix)()),[`&${a} ${a}-body`]:{padding:p},[`${g}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o.iconCls}`]:{flex:"none",fontSize:u,marginInlineEnd:o.confirmIconMarginInlineEnd,marginTop:o.calc(o.calc(d).sub(u).equal()).div(2).equal()},[`&-has-title > ${o.iconCls}`]:{marginTop:o.calc(o.calc(h).sub(u).equal()).div(2).equal()}},[`${g}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:o.marginXS,maxWidth:`calc(100% - ${(0,e.unit)(o.calc(o.modalConfirmIconSize).add(o.marginSM).equal())})`},[`${g}-title`]:{color:o.colorTextHeading,fontWeight:o.fontWeightStrong,fontSize:l,lineHeight:s},[`${g}-content`]:{color:o.colorText,fontSize:c,lineHeight:f},[`${g}-btns`]:{textAlign:"end",marginTop:o.confirmBtnsMarginTop,[`${o.antCls}-btn + ${o.antCls}-btn`]:{marginBottom:0,marginInlineStart:o.marginXS}}},[`${g}-error ${g}-body > ${o.iconCls}`]:{color:o.colorError},[`${g}-warning ${g}-body > ${o.iconCls}, + ${g}-confirm ${g}-body > ${o.iconCls}`]:{color:o.colorWarning},[`${g}-info ${g}-body > ${o.iconCls}`]:{color:o.colorInfo},[`${g}-success ${g}-body > ${o.iconCls}`]:{color:o.colorSuccess}}};return Ox.default=(0,r.genSubStyleComponent)(["Modal","confirm"],o=>{const a=(0,t.prepareToken)(o);return[i(a)]},t.prepareComponentToken,{order:-1e3}),Ox}var I2e;function Woe(){if(I2e)return e2;I2e=1;var e=ze;Object.defineProperty(e2,"__esModule",{value:!0}),e2.ConfirmContent=x,e2.default=void 0;var t=e(qr()),n=b(_),r=e(Yy()),i=e(qf()),o=e(A0()),a=e(gF()),l=e(Tt()),s=dl(),u=Il();_n();var c=e(Lt()),f=Rl(),h=e($C()),d=e(uGt()),p=e(dGt()),g=NC(),m=e(Fqe()),v=e(bGt());function y(O){if(typeof WeakMap!="function")return null;var $=new WeakMap,P=new WeakMap;return(y=function(T){return T?P:$})(O)}function b(O,$){if(!$&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var P=y($);if(P&&P.has(O))return P.get(O);var T={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in O)if(M!=="default"&&Object.prototype.hasOwnProperty.call(O,M)){var A=R?Object.getOwnPropertyDescriptor(O,M):null;A&&(A.get||A.set)?Object.defineProperty(T,M,A):T[M]=O[M]}return T.default=O,P&&P.set(O,T),T}var C=function(O,$){var P={};for(var T in O)Object.prototype.hasOwnProperty.call(O,T)&&$.indexOf(T)<0&&(P[T]=O[T]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,T=Object.getOwnPropertySymbols(O);RX,(0,t.default)(Object.values(X))),Y=n.createElement(n.Fragment,null,n.createElement(d.default,null),n.createElement(p.default,null)),J=O.title!==void 0&&O.title!==null,ee=`${M}-body`;return n.createElement("div",{className:`${M}-body-wrapper`},n.createElement("div",{className:(0,l.default)(ee,{[`${ee}-has-title`]:J})},B,n.createElement("div",{className:`${M}-paragraph`},J&&n.createElement("span",{className:`${M}-title`},O.title),n.createElement("div",{className:`${M}-content`},O.content))),j===void 0||typeof j=="function"?n.createElement(g.ModalContextProvider,{value:G},n.createElement("div",{className:`${M}-btns`},typeof j=="function"?j(Y,{OkBtn:p.default,CancelBtn:d.default}):Y)):j,n.createElement(v.default,{prefixCls:$}))}const S=O=>{const{close:$,zIndex:P,afterClose:T,open:R,keyboard:M,centered:A,getContainer:N,maskStyle:j,direction:D,prefixCls:L,wrapClassName:B,rootPrefixCls:k,bodyStyle:z,closable:q=!1,closeIcon:W,modalRender:U,focusTriggerAfterClose:K,onConfirm:X,styles:G}=O,Y=`${L}-confirm`,J=O.width||416,ee=O.style||{},Q=O.mask===void 0?!0:O.mask,te=O.maskClosable===void 0?!1:O.maskClosable,ne=(0,l.default)(Y,`${Y}-${O.type}`,{[`${Y}-rtl`]:D==="rtl"},O.className),[,re]=(0,h.default)(),oe=n.useMemo(()=>P!==void 0?P:re.zIndexPopupBase+s.CONTAINER_MAX_OFFSET,[P,re]);return n.createElement(m.default,{prefixCls:L,className:ne,wrapClassName:(0,l.default)({[`${Y}-centered`]:!!O.centered},B),onCancel:()=>{$==null||$({triggerCancel:!0}),X==null||X(!1)},open:R,title:"",footer:null,transitionName:(0,u.getTransitionName)(k||"","zoom",O.transitionName),maskTransitionName:(0,u.getTransitionName)(k||"","fade",O.maskTransitionName),mask:Q,maskClosable:te,style:ee,styles:Object.assign({body:z,mask:j},G),width:J,zIndex:oe,afterClose:T,keyboard:M,centered:A,getContainer:N,closable:q,closeIcon:W,modalRender:U,focusTriggerAfterClose:K},n.createElement(x,Object.assign({},O,{confirmPrefixCls:Y})))},w=O=>{const{rootPrefixCls:$,iconPrefixCls:P,direction:T,theme:R}=O;return n.createElement(c.default,{prefixCls:$,iconPrefixCls:P,direction:T,theme:R},n.createElement(S,Object.assign({},O)))};return e2.default=w,e2}var Ex={},N2e;function qoe(){if(N2e)return Ex;N2e=1,Object.defineProperty(Ex,"__esModule",{value:!0}),Ex.default=void 0;const e=[];return Ex.default=e,Ex}var A2e;function Hqe(){if(A2e)return Gd;A2e=1;var e=ze;Object.defineProperty(Gd,"__esModule",{value:!0}),Gd.default=d,Gd.modalGlobalConfig=b,Gd.withConfirm=y,Gd.withError=v,Gd.withInfo=g,Gd.withSuccess=m,Gd.withWarn=p;var t=e(qr()),n=u(_),r=bF();e(_n());var i=u(Lt()),o=e(Woe()),a=e(qoe()),l=Noe();function s(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(s=function(w){return w?S:x})(C)}function u(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=s(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}let c="";function f(){return c}const h=C=>{var x,S;const{prefixCls:w,getContainer:O,direction:$}=C,P=(0,l.getConfirmLocale)(),T=(0,n.useContext)(i.ConfigContext),R=f()||T.getPrefixCls(),M=w||`${R}-modal`;let A=O;return A===!1&&(A=void 0),n.default.createElement(o.default,Object.assign({},C,{rootPrefixCls:R,prefixCls:M,iconPrefixCls:T.iconPrefixCls,theme:T.theme,direction:$??T.direction,locale:(S=(x=T.locale)===null||x===void 0?void 0:x.Modal)!==null&&S!==void 0?S:P,getContainer:A}))};function d(C){const x=(0,i.globalConfig)(),S=document.createDocumentFragment();let w=Object.assign(Object.assign({},C),{close:T,open:!0}),O;function $(){for(var M=arguments.length,A=new Array(M),N=0;ND&&D.triggerCancel);C.onCancel&&j&&C.onCancel.apply(C,[()=>{}].concat((0,t.default)(A.slice(1))));for(let D=0;D{const A=x.getPrefixCls(void 0,f()),N=x.getIconPrefixCls(),j=x.getTheme(),D=n.default.createElement(h,Object.assign({},M));(0,r.render)(n.default.createElement(i.default,{prefixCls:A,iconPrefixCls:N,theme:j},x.holderRender?x.holderRender(D):D),S)})}function T(){for(var M=arguments.length,A=new Array(M),N=0;N{typeof C.afterClose=="function"&&C.afterClose(),$.apply(this,A)}}),w.visible&&delete w.visible,P(w)}function R(M){typeof M=="function"?w=M(w):w=Object.assign(Object.assign({},w),M),P(w)}return P(w),a.default.push(T),{destroy:T,update:R}}function p(C){return Object.assign(Object.assign({},C),{type:"warning"})}function g(C){return Object.assign(Object.assign({},C),{type:"info"})}function m(C){return Object.assign(Object.assign({},C),{type:"success"})}function v(C){return Object.assign(Object.assign({},C),{type:"error"})}function y(C){return Object.assign(Object.assign({},C),{type:"confirm"})}function b(C){let{rootPrefixCls:x}=C;c=x}return Gd}var $x={},k2e;function CGt(){if(k2e)return $x;k2e=1;var e=ze;Object.defineProperty($x,"__esModule",{value:!0}),$x.default=void 0;var t=e(qr()),n=s(_),r=Lt(),i=e(_u()),o=e(koe()),a=e(Woe());function l(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(l=function(p){return p?d:h})(f)}function s(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=l(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}var u=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);g{var d,{afterClose:p,config:g}=f,m=u(f,["afterClose","config"]);const[v,y]=n.useState(!0),[b,C]=n.useState(g),{direction:x,getPrefixCls:S}=n.useContext(r.ConfigContext),w=S("modal"),O=S(),$=()=>{var M;p(),(M=b.afterClose)===null||M===void 0||M.call(b)},P=function(){y(!1);for(var M=arguments.length,A=new Array(M),N=0;ND&&D.triggerCancel);b.onCancel&&j&&b.onCancel.apply(b,[()=>{}].concat((0,t.default)(A.slice(1))))};n.useImperativeHandle(h,()=>({destroy:P,update:M=>{C(A=>Object.assign(Object.assign({},A),M))}}));const T=(d=b.okCancel)!==null&&d!==void 0?d:b.type==="confirm",[R]=(0,o.default)("Modal",i.default.Modal);return n.createElement(a.default,Object.assign({prefixCls:w,rootPrefixCls:O},b,{close:P,open:v,afterClose:$,okText:b.okText||(T?R==null?void 0:R.okText:R==null?void 0:R.justOkText),direction:b.direction||x,cancelText:b.cancelText||(R==null?void 0:R.cancelText)},m))};return $x.default=n.forwardRef(c),$x}var j2e;function Wqe(){if(j2e)return nx;j2e=1;var e=ze;Object.defineProperty(nx,"__esModule",{value:!0}),nx.default=void 0;var t=e(qr()),n=s(_),r=e(KUt()),i=Hqe(),o=e(qoe()),a=e(CGt());function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}let u=0;const c=n.memo(n.forwardRef((h,d)=>{const[p,g]=(0,r.default)();return n.useImperativeHandle(d,()=>({patchElement:g}),[]),n.createElement(n.Fragment,null,p)}));function f(){const h=n.useRef(null),[d,p]=n.useState([]);n.useEffect(()=>{d.length&&((0,t.default)(d).forEach(y=>{y()}),p([]))},[d]);const g=n.useCallback(v=>function(b){var C;u+=1;const x=n.createRef();let S;const w=new Promise(R=>{S=R});let O=!1,$;const P=n.createElement(a.default,{key:`modal-${u}`,config:v(b),ref:x,afterClose:()=>{$==null||$()},isSilent:()=>O,onConfirm:R=>{S(R)}});return $=(C=h.current)===null||C===void 0?void 0:C.patchElement(P),$&&o.default.push($),{destroy:()=>{function R(){var M;(M=x.current)===null||M===void 0||M.destroy()}x.current?R():p(M=>[].concat((0,t.default)(M),[R]))},update:R=>{function M(){var A;(A=x.current)===null||A===void 0||A.update(R)}x.current?M():p(A=>[].concat((0,t.default)(A),[M]))},then:R=>(O=!0,w.then(R))}},[]);return[n.useMemo(()=>({info:g(i.withInfo),success:g(i.withSuccess),error:g(i.withError),warning:g(i.withWarn),confirm:g(i.withConfirm)}),[]),n.createElement(c,{key:"modal-holder",ref:h})]}return nx.default=f,nx}var Px={},Kd={},Fu={},Tx={},D2e;function SGt(){if(D2e)return Tx;D2e=1,Object.defineProperty(Tx,"__esModule",{value:!0}),Tx.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,notificationMarginEdge:i,animationMaxHeight:o}=n,a=`${r}-notice`,l=new e.Keyframes("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new e.Keyframes("antNotificationTopFadeIn",{"0%":{top:-o,opacity:0},"100%":{top:0,opacity:1}}),u=new e.Keyframes("antNotificationBottomFadeIn",{"0%":{bottom:n.calc(o).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new e.Keyframes("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[r]:{[`&${r}-top, &${r}-bottom`]:{marginInline:0,[a]:{marginInline:"auto auto"}},[`&${r}-top`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:s}},[`&${r}-bottom`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:u}},[`&${r}-topRight, &${r}-bottomRight`]:{[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:l}},[`&${r}-topLeft, &${r}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:i,_skip_check_:!0},[a]:{marginInlineEnd:"auto",marginInlineStart:0},[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:c}}}}};return Tx.default=t,Tx}var Mx={},Rx={},L2e;function xGt(){return L2e||(L2e=1,Object.defineProperty(Rx,"__esModule",{value:!0}),Rx.NotificationPlacements=void 0,Rx.NotificationPlacements=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"]),Rx}var z2e;function _Gt(){if(z2e)return Mx;z2e=1,Object.defineProperty(Mx,"__esModule",{value:!0}),Mx.default=void 0;var e=xGt();const t={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},n=(a,l)=>{const{componentCls:s}=a;return{[`${s}-${l}`]:{[`&${s}-stack > ${s}-notice-wrapper`]:{[l.startsWith("top")?"top":"bottom"]:0,[t[l]]:{value:0,_skip_check_:!0}}}}},r=a=>{const l={};for(let s=1;s ${a.componentCls}-notice`]:{opacity:0,transition:`opacity ${a.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${a.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},l)},i=a=>{const l={};for(let s=1;s{const{componentCls:l}=a;return Object.assign({[`${l}-stack`]:{[`& > ${l}-notice-wrapper`]:Object.assign({transition:`all ${a.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},r(a))},[`${l}-stack:not(${l}-stack-expanded)`]:{[`& > ${l}-notice-wrapper`]:Object.assign({},i(a))},[`${l}-stack${l}-stack-expanded`]:{[`& > ${l}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${a.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:a.margin,width:"100%",insetInline:0,bottom:a.calc(a.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},e.NotificationPlacements.map(s=>n(a,s)).reduce((s,u)=>Object.assign(Object.assign({},s),u),{}))};return Mx.default=o,Mx}var B2e;function Voe(){if(B2e)return Fu;B2e=1;var e=ze;Object.defineProperty(Fu,"__esModule",{value:!0}),Fu.prepareNotificationToken=Fu.prepareComponentToken=Fu.genNoticeStyle=Fu.default=void 0;var t=Xt,n=dl(),r=Tn(),i=Jt(),o=e(SGt()),a=e(_Gt());const l=f=>{const{iconCls:h,componentCls:d,boxShadow:p,fontSizeLG:g,notificationMarginBottom:m,borderRadiusLG:v,colorSuccess:y,colorInfo:b,colorWarning:C,colorError:x,colorTextHeading:S,notificationBg:w,notificationPadding:O,notificationMarginEdge:$,fontSize:P,lineHeight:T,width:R,notificationIconSize:M,colorText:A}=f,N=`${d}-notice`;return{position:"relative",marginBottom:m,marginInlineStart:"auto",background:w,borderRadius:v,boxShadow:p,[N]:{padding:O,width:R,maxWidth:`calc(100vw - ${(0,t.unit)(f.calc($).mul(2).equal())})`,overflow:"hidden",lineHeight:T,wordWrap:"break-word"},[`${d}-close-icon`]:{fontSize:P,cursor:"pointer"},[`${N}-message`]:{marginBottom:f.marginXS,color:S,fontSize:g,lineHeight:f.lineHeightLG},[`${N}-description`]:{fontSize:P,color:A},[`${N}-closable ${N}-message`]:{paddingInlineEnd:f.paddingLG},[`${N}-with-icon ${N}-message`]:{marginBottom:f.marginXS,marginInlineStart:f.calc(f.marginSM).add(M).equal(),fontSize:g},[`${N}-with-icon ${N}-description`]:{marginInlineStart:f.calc(f.marginSM).add(M).equal(),fontSize:P},[`${N}-icon`]:{position:"absolute",fontSize:M,lineHeight:1,[`&-success${h}`]:{color:y},[`&-info${h}`]:{color:b},[`&-warning${h}`]:{color:C},[`&-error${h}`]:{color:x}},[`${N}-close`]:{position:"absolute",top:f.notificationPaddingVertical,insetInlineEnd:f.notificationPaddingHorizontal,color:f.colorIcon,outline:"none",width:f.notificationCloseButtonSize,height:f.notificationCloseButtonSize,borderRadius:f.borderRadiusSM,transition:`background-color ${f.motionDurationMid}, color ${f.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:f.colorIconHover,backgroundColor:f.closeBtnHoverBg}},[`${N}-btn`]:{float:"right",marginTop:f.marginSM}}};Fu.genNoticeStyle=l;const s=f=>{const{componentCls:h,notificationMarginBottom:d,notificationMarginEdge:p,motionDurationMid:g,motionEaseInOut:m}=f,v=`${h}-notice`,y=new t.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:f.animationMaxHeight,marginBottom:d},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[h]:Object.assign(Object.assign({},(0,r.resetComponent)(f)),{position:"fixed",zIndex:f.zIndexPopup,marginRight:{value:p,_skip_check_:!0},[`${h}-hook-holder`]:{position:"relative"},[`${h}-fade-appear-prepare`]:{opacity:"0 !important"},[`${h}-fade-enter, ${h}-fade-appear`]:{animationDuration:f.motionDurationMid,animationTimingFunction:m,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${h}-fade-leave`]:{animationTimingFunction:m,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${h}-fade-enter${h}-fade-enter-active, ${h}-fade-appear${h}-fade-appear-active`]:{animationPlayState:"running"},[`${h}-fade-leave${h}-fade-leave-active`]:{animationName:y,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${v}-btn`]:{float:"left"}}})},{[h]:{[`${v}-wrapper`]:Object.assign({},l(f))}}]},u=f=>({zIndexPopup:f.zIndexPopupBase+n.CONTAINER_MAX_OFFSET+50,width:384,closeBtnHoverBg:f.wireframe?"transparent":f.colorFillContent});Fu.prepareComponentToken=u;const c=f=>{const h=f.paddingMD,d=f.paddingLG;return(0,i.mergeToken)(f,{notificationBg:f.colorBgElevated,notificationPaddingVertical:h,notificationPaddingHorizontal:d,notificationIconSize:f.calc(f.fontSizeLG).mul(f.lineHeightLG).equal(),notificationCloseButtonSize:f.calc(f.controlHeightLG).mul(.55).equal(),notificationMarginBottom:f.margin,notificationPadding:`${(0,t.unit)(f.paddingMD)} ${(0,t.unit)(f.paddingContentHorizontalLG)}`,notificationMarginEdge:f.marginLG,animationMaxHeight:150,notificationStackLayer:3})};return Fu.prepareNotificationToken=c,Fu.default=(0,i.genStyleHooks)("Notification",f=>{const h=c(f);return[s(h),(0,o.default)(h),(0,a.default)(h)]},u),Fu}var Ix={},F2e;function wGt(){if(F2e)return Ix;F2e=1,Object.defineProperty(Ix,"__esModule",{value:!0}),Ix.default=void 0;var e=Jt(),t=Voe(),n=Xt;return Ix.default=(0,e.genSubStyleComponent)(["Notification","PurePanel"],r=>{const i=`${r.componentCls}-notice`,o=(0,t.prepareNotificationToken)(r);return{[`${i}-pure-panel`]:Object.assign(Object.assign({},(0,t.genNoticeStyle)(o)),{width:o.width,maxWidth:`calc(100vw - ${(0,n.unit)(r.calc(o.notificationMarginEdge).mul(2).equal())})`,margin:0})}},t.prepareComponentToken),Ix}var H2e;function qqe(){if(H2e)return Kd;H2e=1;var e=ze;Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.default=Kd.TypeIcon=Kd.PureContent=void 0,Kd.getCloseIcon=v;var t=g(_),n=e(Yy()),r=e(qf()),i=e(zs()),o=e(A0()),a=e(gF()),l=e(Vf()),s=e(Tt()),u=yF,c=Lt(),f=e(zr()),h=e(Voe()),d=e(wGt());function p(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(p=function(O){return O?w:S})(x)}function g(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=p(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var m=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{prefixCls:S,icon:w,type:O,message:$,description:P,btn:T,role:R="alert"}=x;let M=null;return w?M=t.createElement("span",{className:`${S}-icon`},w):O&&(M=t.createElement(y[O]||null,{className:(0,s.default)(`${S}-icon`,`${S}-icon-${O}`)})),t.createElement("div",{className:(0,s.default)({[`${S}-with-icon`]:M}),role:R},M,t.createElement("div",{className:`${S}-message`},$),t.createElement("div",{className:`${S}-description`},P),T&&t.createElement("div",{className:`${S}-btn`},T))};Kd.PureContent=b;const C=x=>{const{prefixCls:S,className:w,icon:O,type:$,message:P,description:T,btn:R,closable:M=!0,closeIcon:A,className:N}=x,j=m(x,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:D}=t.useContext(c.ConfigContext),L=S||D("notification"),B=`${L}-notice`,k=(0,f.default)(L),[z,q,W]=(0,h.default)(L,k);return z(t.createElement("div",{className:(0,s.default)(`${B}-pure-panel`,q,w,W,k)},t.createElement(d.default,{prefixCls:L}),t.createElement(u.Notice,Object.assign({},j,{prefixCls:L,eventKey:"pure",duration:null,closable:M,className:(0,s.default)({notificationClassName:N}),closeIcon:v(L,A),content:t.createElement(b,{prefixCls:B,icon:O,type:$,message:P,description:T,btn:R})}))))};return Kd.default=C,Kd}var Nx={},W2e;function OGt(){if(W2e)return Nx;W2e=1,Object.defineProperty(Nx,"__esModule",{value:!0}),Nx.getMotion=t,Nx.getPlacementStyle=e;function e(n,r,i){let o;switch(n){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:r,bottom:"auto"};break;case"topLeft":o={left:0,top:r,bottom:"auto"};break;case"topRight":o={right:0,top:r,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:i};break;case"bottomLeft":o={left:0,top:"auto",bottom:i};break;default:o={right:0,top:"auto",bottom:i};break}return o}function t(n){return{motionName:`${n}-fade`}}return Nx}var q2e;function Vqe(){if(q2e)return Px;q2e=1;var e=ze;Object.defineProperty(Px,"__esModule",{value:!0}),Px.default=x,Px.useInternalNotification=C;var t=h(_),n=e(Tt()),r=yF,i=_n(),o=Lt(),a=e(zr()),l=Jt(),s=qqe(),u=e(Voe()),c=OGt();function f(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(f=function($){return $?O:w})(S)}function h(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=f(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var d=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const p=24,g=4.5,m="topRight",v=S=>{let{children:w,prefixCls:O}=S;const $=(0,a.default)(O),[P,T,R]=(0,u.default)(O,$);return P(t.default.createElement(r.NotificationProvider,{classNames:{list:(0,n.default)(T,R,$)}},w))},y=(S,w)=>{let{prefixCls:O,key:$}=w;return t.default.createElement(v,{prefixCls:O,key:$},S)},b=t.default.forwardRef((S,w)=>{const{top:O,bottom:$,prefixCls:P,getContainer:T,maxCount:R,rtl:M,onAllRemoved:A,stack:N,duration:j}=S,{getPrefixCls:D,getPopupContainer:L,notification:B,direction:k}=(0,t.useContext)(o.ConfigContext),[,z]=(0,l.useToken)(),q=P||D("notification"),W=Y=>(0,c.getPlacementStyle)(Y,O??p,$??p),U=()=>(0,n.default)({[`${q}-rtl`]:M??k==="rtl"}),K=()=>(0,c.getMotion)(q),[X,G]=(0,r.useNotification)({prefixCls:q,style:W,className:U,motion:K,closable:!0,closeIcon:(0,s.getCloseIcon)(q),duration:j??g,getContainer:()=>(T==null?void 0:T())||(L==null?void 0:L())||document.body,maxCount:R,onAllRemoved:A,renderNotifications:y,stack:N===!1?!1:{threshold:typeof N=="object"?N==null?void 0:N.threshold:void 0,offset:8,gap:z.margin}});return t.default.useImperativeHandle(w,()=>Object.assign(Object.assign({},X),{prefixCls:q,notification:B})),G});function C(S){const w=t.default.useRef(null);return(0,i.devUseWarning)("Notification"),[t.default.useMemo(()=>{const $=M=>{var A;if(!w.current)return;const{open:N,prefixCls:j,notification:D}=w.current,L=`${j}-notice`,{message:B,description:k,icon:z,type:q,btn:W,className:U,style:K,role:X="alert",closeIcon:G}=M,Y=d(M,["message","description","icon","type","btn","className","style","role","closeIcon"]),J=(0,s.getCloseIcon)(L,typeof G<"u"?G:D==null?void 0:D.closeIcon);return N(Object.assign(Object.assign({placement:(A=S==null?void 0:S.placement)!==null&&A!==void 0?A:m},Y),{content:t.default.createElement(s.PureContent,{prefixCls:L,icon:z,type:q,message:B,description:k,btn:W,role:X}),className:(0,n.default)(q&&`${L}-${q}`,U,D==null?void 0:D.className),style:Object.assign(Object.assign({},D==null?void 0:D.style),K),closeIcon:J,closable:!!J}))},T={open:$,destroy:M=>{var A,N;M!==void 0?(A=w.current)===null||A===void 0||A.close(M):(N=w.current)===null||N===void 0||N.destroy()}};return["success","info","warning","error"].forEach(M=>{T[M]=A=>$(Object.assign(Object.assign({},A),{type:M}))}),T},[]),t.default.createElement(b,Object.assign({key:"notification-holder"},S,{ref:w}))]}function x(S){return C(S)}return Px}var Eg={},V2e;function Uoe(){if(V2e)return Eg;V2e=1;var e=ze;Object.defineProperty(Eg,"__esModule",{value:!0}),Eg.default=Eg.AppConfigContext=void 0;var t=e(_);Eg.AppConfigContext=t.default.createContext({});const n=t.default.createContext({message:{},notification:{},modal:{}});return Eg.default=n,Eg}var $g={},U2e;function EGt(){if(U2e)return $g;U2e=1,Object.defineProperty($g,"__esModule",{value:!0}),$g.prepareComponentToken=$g.default=void 0;var e=Jt();const t=r=>{const{componentCls:i,colorText:o,fontSize:a,lineHeight:l,fontFamily:s}=r;return{[i]:{color:o,fontSize:a,lineHeight:l,fontFamily:s}}},n=()=>({});return $g.prepareComponentToken=n,$g.default=(0,e.genStyleHooks)("App",t,n),$g}var G2e;function $Gt(){if(G2e)return QS;G2e=1;var e=ze;Object.defineProperty(QS,"__esModule",{value:!0}),QS.default=void 0;var t=c(_),n=e(Tt()),r=Lt(),i=e(Iqe()),o=e(Wqe()),a=e(Vqe()),l=c(Uoe()),s=e(EGt());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f=()=>t.default.useContext(l.default),h=d=>{const{prefixCls:p,children:g,className:m,rootClassName:v,message:y,notification:b,style:C,component:x="div"}=d,{getPrefixCls:S}=(0,t.useContext)(r.ConfigContext),w=S("app",p),[O,$,P]=(0,s.default)(w),T=(0,n.default)($,w,m,v,P),R=(0,t.useContext)(l.AppConfigContext),M=t.default.useMemo(()=>({message:Object.assign(Object.assign({},R.message),y),notification:Object.assign(Object.assign({},R.notification),b)}),[y,b,R.message,R.notification]),[A,N]=(0,i.default)(M.message),[j,D]=(0,a.default)(M.notification),[L,B]=(0,o.default)(),k=t.default.useMemo(()=>({message:A,notification:j,modal:L}),[A,j,L]),z=x===!1?t.default.Fragment:x,q={className:T,style:C};return O(t.default.createElement(l.default.Provider,{value:k},t.default.createElement(l.AppConfigContext.Provider,{value:M},t.default.createElement(z,Object.assign({},x===!1?void 0:q),B,N,D,g))))};return h.useApp=f,QS.default=h,QS}var Ax={},i2={},hR={},gR={},K2e;function PGt(){if(K2e)return gR;K2e=1;var e=Z$().default;Object.defineProperty(gR,"__esModule",{value:!0}),gR.default=n;var t=e(_);function n(r){var i=t.useRef();i.current=r;var o=t.useCallback(function(){for(var a,l=arguments.length,s=new Array(l),u=0;ut.createElement(r.default,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(s,Object.assign({},u)))}const l=(s,u,c,f)=>a(d=>{const{prefixCls:p,style:g}=d,m=t.useRef(null),[v,y]=t.useState(0),[b,C]=t.useState(0),[x,S]=(0,n.default)(!1,{value:d.open}),{getPrefixCls:w}=t.useContext(r.ConfigContext),O=w(u||"select",p);t.useEffect(()=>{if(S(!0),typeof ResizeObserver<"u"){const T=new ResizeObserver(M=>{const A=M[0].target;y(A.offsetHeight+8),C(A.offsetWidth)}),R=setInterval(()=>{var M;const A=c?`.${c(O)}`:`.${O}-dropdown`,N=(M=m.current)===null||M===void 0?void 0:M.querySelector(A);N&&(clearInterval(R),T.observe(N))},10);return()=>{clearInterval(R),T.disconnect()}}},[]);let $=Object.assign(Object.assign({},d),{style:Object.assign(Object.assign({},g),{margin:0}),open:x,visible:x,getPopupContainer:()=>m.current});f&&($=f($));const P={paddingBottom:v,position:"relative",minWidth:b};return t.createElement("div",{ref:m,style:P},t.createElement(s,Object.assign({},$)))});return i2.default=l,i2}var kx={};const TGt=gr($2t);var o2={},Q2e;function jd(){if(Q2e)return o2;Q2e=1;var e=ze;Object.defineProperty(o2,"__esModule",{value:!0}),o2.getMergedStatus=void 0,o2.getStatusClassNames=n;var t=e(Tt());function n(i,o,a){return(0,t.default)({[`${i}-status-success`]:o==="success",[`${i}-status-warning`]:o==="warning",[`${i}-status-error`]:o==="error",[`${i}-status-validating`]:o==="validating",[`${i}-has-feedback`]:a})}const r=(i,o)=>o||i;return o2.getMergedStatus=r,o2}var jx={},Dx={},Lx={},J2e;function MGt(){if(J2e)return Lx;J2e=1,Object.defineProperty(Lx,"__esModule",{value:!0}),Lx.default=void 0;var e=Ea,t=i(_),n=Jt();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=()=>{const[,a]=(0,n.useToken)(),s=new e.TinyColor(a.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return t.createElement("svg",{style:s,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("g",{transform:"translate(24 31.67)"},t.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),t.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),t.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),t.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),t.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),t.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),t.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},t.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),t.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};return Lx.default=o,Lx}var zx={},e3e;function RGt(){if(e3e)return zx;e3e=1,Object.defineProperty(zx,"__esModule",{value:!0}),zx.default=void 0;var e=Ea,t=o(_),n=t,r=Jt();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const[,l]=(0,r.useToken)(),{colorFill:s,colorFillTertiary:u,colorFillQuaternary:c,colorBgContainer:f}=l,{borderColor:h,shadowColor:d,contentColor:p}=(0,t.useMemo)(()=>({borderColor:new e.TinyColor(s).onBackground(f).toHexShortString(),shadowColor:new e.TinyColor(u).onBackground(f).toHexShortString(),contentColor:new e.TinyColor(c).onBackground(f).toHexShortString()}),[s,u,c,f]);return n.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{fillRule:"nonzero",stroke:h},n.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),n.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:p}))))};return zx.default=a,zx}var Bx={},t3e;function IGt(){if(t3e)return Bx;t3e=1,Object.defineProperty(Bx,"__esModule",{value:!0}),Bx.default=void 0;var e=Jt();const t=n=>{const{componentCls:r,margin:i,marginXS:o,marginXL:a,fontSize:l,lineHeight:s}=n;return{[r]:{marginInline:o,fontSize:l,lineHeight:s,textAlign:"center",[`${r}-image`]:{height:n.emptyImgHeight,marginBottom:o,opacity:n.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${r}-description`]:{color:n.colorText},[`${r}-footer`]:{marginTop:i},"&-normal":{marginBlock:a,color:n.colorTextDisabled,[`${r}-description`]:{color:n.colorTextDisabled},[`${r}-image`]:{height:n.emptyImgHeightMD}},"&-small":{marginBlock:o,color:n.colorTextDisabled,[`${r}-image`]:{height:n.emptyImgHeightSM}}}}};return Bx.default=(0,e.genStyleHooks)("Empty",n=>{const{componentCls:r,controlHeightLG:i,calc:o}=n,a=(0,e.mergeToken)(n,{emptyImgCls:`${r}-img`,emptyImgHeight:o(i).mul(2.5).equal(),emptyImgHeightMD:i,emptyImgHeightSM:o(i).mul(.875).equal()});return[t(a)]}),Bx}var n3e;function Goe(){if(n3e)return Dx;n3e=1;var e=ze;Object.defineProperty(Dx,"__esModule",{value:!0}),Dx.default=void 0;var t=e(Tt()),n=u(_),r=Lt(),i=Rl(),o=e(MGt()),a=e(RGt()),l=e(IGt());function s(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(s=function(v){return v?m:g})(p)}function u(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=s(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var c=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{var{className:g,rootClassName:m,prefixCls:v,image:y=f,description:b,children:C,imageStyle:x,style:S}=p,w=c(p,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:O,direction:$,empty:P}=n.useContext(r.ConfigContext),T=O("empty",v),[R,M,A]=(0,l.default)(T),[N]=(0,i.useLocale)("Empty"),j=typeof b<"u"?b:N==null?void 0:N.description,D=typeof j=="string"?j:"empty";let L=null;return typeof y=="string"?L=n.createElement("img",{alt:D,src:y}):L=y,R(n.createElement("div",Object.assign({className:(0,t.default)(M,A,T,P==null?void 0:P.className,{[`${T}-normal`]:y===h,[`${T}-rtl`]:$==="rtl"},g,m),style:Object.assign(Object.assign({},P==null?void 0:P.style),S)},w),n.createElement("div",{className:`${T}-image`,style:x},L),j&&n.createElement("div",{className:`${T}-description`},j),C&&n.createElement("div",{className:`${T}-footer`},C)))};return d.PRESENTED_IMAGE_DEFAULT=f,d.PRESENTED_IMAGE_SIMPLE=h,Dx.default=d,Dx}var r3e;function k0(){if(r3e)return jx;r3e=1;var e=ze;Object.defineProperty(jx,"__esModule",{value:!0}),jx.default=void 0;var t=o(_),n=Lt(),r=e(Goe());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{componentName:s}=l,{getPrefixCls:u}=(0,t.useContext)(n.ConfigContext),c=u("empty");switch(s){case"Table":case"List":return t.default.createElement(r.default,{image:r.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return t.default.createElement(r.default,{image:r.default.PRESENTED_IMAGE_SIMPLE,className:`${c}-small`});default:return t.default.createElement(r.default,null)}};return jx.default=a,jx}var Tg={},i3e;function Dh(){if(i3e)return Tg;i3e=1,Object.defineProperty(Tg,"__esModule",{value:!0}),Tg.default=Tg.Variants=void 0;var e=_,t=fi();const n=Tg.Variants=["outlined","borderless","filled"],r=function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const a=(0,e.useContext)(t.VariantContext);let l;typeof i<"u"?l=i:o===!1?l="borderless":l=a??"outlined";const s=n.includes(l);return[l,s]};return Tg.default=r,Tg}var Fx={},o3e;function Koe(){if(o3e)return Fx;o3e=1,Object.defineProperty(Fx,"__esModule",{value:!0}),Fx.default=void 0;const e=n=>{const i={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:n==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},i),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},i),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},i),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},i),{points:["br","tr"],offset:[0,-4]})}};function t(n,r){return n||e(r)}return Fx.default=t,Fx}var Hx={},Wx={},a3e;function NGt(){if(a3e)return Wx;a3e=1,Object.defineProperty(Wx,"__esModule",{value:!0}),Wx.default=void 0;var e=Tn(),t=Bs();const n=i=>{const{optionHeight:o,optionFontSize:a,optionLineHeight:l,optionPadding:s}=i;return{position:"relative",display:"block",minHeight:o,padding:s,color:i.colorText,fontWeight:"normal",fontSize:a,lineHeight:l,boxSizing:"border-box"}},r=i=>{const{antCls:o,componentCls:a}=i,l=`${a}-item`,s=`&${o}-slide-up-enter${o}-slide-up-enter-active`,u=`&${o}-slide-up-appear${o}-slide-up-appear-active`,c=`&${o}-slide-up-leave${o}-slide-up-leave-active`,f=`${a}-dropdown-placement-`;return[{[`${a}-dropdown`]:Object.assign(Object.assign({},(0,e.resetComponent)(i)),{position:"absolute",top:-9999,zIndex:i.zIndexPopup,boxSizing:"border-box",padding:i.paddingXXS,overflow:"hidden",fontSize:i.fontSize,fontVariant:"initial",backgroundColor:i.colorBgElevated,borderRadius:i.borderRadiusLG,outline:"none",boxShadow:i.boxShadowSecondary,[` ${s}${f}bottomLeft, ${u}${f}bottomLeft `]:{animationName:t.slideUpIn},[` @@ -683,10 +683,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{animationName:t.slideDownIn},[`${c}${f}bottomLeft`]:{animationName:t.slideUpOut},[` ${c}${f}topLeft, ${c}${f}topRight - `]:{animationName:t.slideDownOut},"&-hidden":{display:"none"},[`${l}`]:Object.assign(Object.assign({},n(i)),{cursor:"pointer",transition:`background ${i.motionDurationSlow} ease`,borderRadius:i.borderRadiusSM,"&-group":{color:i.colorTextDescription,fontSize:i.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},e.textEllipsis),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${l}-option-disabled)`]:{backgroundColor:i.optionActiveBg},[`&-selected:not(${l}-option-disabled)`]:{color:i.optionSelectedColor,fontWeight:i.optionSelectedFontWeight,backgroundColor:i.optionSelectedBg,[`${l}-option-state`]:{color:i.colorPrimary},[`&:has(+ ${l}-option-selected:not(${l}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}-option-selected:not(${l}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${l}-option-selected`]:{backgroundColor:i.colorBgContainerDisabled},color:i.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:i.calc(i.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},n(i)),{color:i.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,t.initSlideMotion)(i,"slide-up"),(0,t.initSlideMotion)(i,"slide-down"),(0,t.initMoveMotion)(i,"move-up"),(0,t.initMoveMotion)(i,"move-down")]};return Hx.default=r,Hx}var Mg={},a3e;function Uqe(){if(a3e)return Mg;a3e=1,Object.defineProperty(Mg,"__esModule",{value:!0}),Mg.genSelectionStyle=Mg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=2,i=s=>{const{multipleSelectItemHeight:u,selectHeight:c,lineWidth:f}=s;return s.calc(c).sub(u).div(2).sub(f).equal()},o=(s,u)=>{const{componentCls:c,iconCls:f}=s,h=`${c}-selection-overflow`,d=s.multipleSelectItemHeight,p=i(s),g=u?`${c}-${u}`:"";return{[`${c}-multiple${g}`]:{[h]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${c}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:s.calc(r).mul(2).equal(),paddingBlock:s.calc(p).sub(r).equal(),borderRadius:s.borderRadius,[`${c}-disabled&`]:{background:s.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(r)} 0`,lineHeight:(0,e.unit)(d),visibility:"hidden",content:'"\\a0"'}},[`${c}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:d,marginTop:r,marginBottom:r,lineHeight:(0,e.unit)(s.calc(d).sub(s.calc(s.lineWidth).mul(2)).equal()),borderRadius:s.borderRadiusSM,cursor:"default",transition:`font-size ${s.motionDurationSlow}, line-height ${s.motionDurationSlow}, height ${s.motionDurationSlow}`,marginInlineEnd:s.calc(r).mul(2).equal(),paddingInlineStart:s.paddingXS,paddingInlineEnd:s.calc(s.paddingXS).div(2).equal(),[`${c}-disabled&`]:{color:s.multipleItemColorDisabled,borderColor:s.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:s.calc(s.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,t.resetIcon)()),{display:"inline-flex",alignItems:"center",color:s.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${f}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s.colorIconHover}})},[`${h}-item + ${h}-item`]:{[`${c}-selection-search`]:{marginInlineStart:0}},[`${h}-item-suffix`]:{height:"100%"},[`${c}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:s.calc(s.inputPaddingHorizontalBase).sub(p).equal(),"\n &-input,\n &-mirror\n ":{height:d,fontFamily:s.fontFamily,lineHeight:(0,e.unit)(d),transition:`all ${s.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${c}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:s.inputPaddingHorizontalBase,insetInlineEnd:s.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${s.motionDurationSlow}`}}}};Mg.genSelectionStyle=o;function a(s,u){const{componentCls:c}=s,f=u?`${c}-${u}`:"",h={[`${c}-multiple${f}`]:{fontSize:s.fontSize,[`${c}-selector`]:{[`${c}-show-search&`]:{cursor:"text"}},[` + `]:{animationName:t.slideDownOut},"&-hidden":{display:"none"},[`${l}`]:Object.assign(Object.assign({},n(i)),{cursor:"pointer",transition:`background ${i.motionDurationSlow} ease`,borderRadius:i.borderRadiusSM,"&-group":{color:i.colorTextDescription,fontSize:i.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},e.textEllipsis),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${l}-option-disabled)`]:{backgroundColor:i.optionActiveBg},[`&-selected:not(${l}-option-disabled)`]:{color:i.optionSelectedColor,fontWeight:i.optionSelectedFontWeight,backgroundColor:i.optionSelectedBg,[`${l}-option-state`]:{color:i.colorPrimary},[`&:has(+ ${l}-option-selected:not(${l}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}-option-selected:not(${l}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${l}-option-selected`]:{backgroundColor:i.colorBgContainerDisabled},color:i.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:i.calc(i.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},n(i)),{color:i.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,t.initSlideMotion)(i,"slide-up"),(0,t.initSlideMotion)(i,"slide-down"),(0,t.initMoveMotion)(i,"move-up"),(0,t.initMoveMotion)(i,"move-down")]};return Wx.default=r,Wx}var Mg={},l3e;function Uqe(){if(l3e)return Mg;l3e=1,Object.defineProperty(Mg,"__esModule",{value:!0}),Mg.genSelectionStyle=Mg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=2,i=s=>{const{multipleSelectItemHeight:u,selectHeight:c,lineWidth:f}=s;return s.calc(c).sub(u).div(2).sub(f).equal()},o=(s,u)=>{const{componentCls:c,iconCls:f}=s,h=`${c}-selection-overflow`,d=s.multipleSelectItemHeight,p=i(s),g=u?`${c}-${u}`:"";return{[`${c}-multiple${g}`]:{[h]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${c}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:s.calc(r).mul(2).equal(),paddingBlock:s.calc(p).sub(r).equal(),borderRadius:s.borderRadius,[`${c}-disabled&`]:{background:s.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(r)} 0`,lineHeight:(0,e.unit)(d),visibility:"hidden",content:'"\\a0"'}},[`${c}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:d,marginTop:r,marginBottom:r,lineHeight:(0,e.unit)(s.calc(d).sub(s.calc(s.lineWidth).mul(2)).equal()),borderRadius:s.borderRadiusSM,cursor:"default",transition:`font-size ${s.motionDurationSlow}, line-height ${s.motionDurationSlow}, height ${s.motionDurationSlow}`,marginInlineEnd:s.calc(r).mul(2).equal(),paddingInlineStart:s.paddingXS,paddingInlineEnd:s.calc(s.paddingXS).div(2).equal(),[`${c}-disabled&`]:{color:s.multipleItemColorDisabled,borderColor:s.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:s.calc(s.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,t.resetIcon)()),{display:"inline-flex",alignItems:"center",color:s.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${f}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s.colorIconHover}})},[`${h}-item + ${h}-item`]:{[`${c}-selection-search`]:{marginInlineStart:0}},[`${h}-item-suffix`]:{height:"100%"},[`${c}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:s.calc(s.inputPaddingHorizontalBase).sub(p).equal(),"\n &-input,\n &-mirror\n ":{height:d,fontFamily:s.fontFamily,lineHeight:(0,e.unit)(d),transition:`all ${s.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${c}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:s.inputPaddingHorizontalBase,insetInlineEnd:s.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${s.motionDurationSlow}`}}}};Mg.genSelectionStyle=o;function a(s,u){const{componentCls:c}=s,f=u?`${c}-${u}`:"",h={[`${c}-multiple${f}`]:{fontSize:s.fontSize,[`${c}-selector`]:{[`${c}-show-search&`]:{cursor:"text"}},[` &${c}-show-arrow ${c}-selector, &${c}-allow-clear ${c}-selector - `]:{paddingInlineEnd:s.calc(s.fontSizeIcon).add(s.controlPaddingHorizontal).equal()}}};return[o(s,u),h]}const l=s=>{const{componentCls:u}=s,c=(0,n.mergeToken)(s,{selectHeight:s.controlHeightSM,multipleSelectItemHeight:s.controlHeightXS,borderRadius:s.borderRadiusSM,borderRadiusSM:s.borderRadiusXS}),f=(0,n.mergeToken)(s,{fontSize:s.fontSizeLG,selectHeight:s.controlHeightLG,multipleSelectItemHeight:s.multipleItemHeightLG,borderRadius:s.borderRadiusLG,borderRadiusSM:s.borderRadius});return[a(s),a(c,"sm"),{[`${u}-multiple${u}-sm`]:{[`${u}-selection-placeholder`]:{insetInline:s.calc(s.controlPaddingHorizontalSM).sub(s.lineWidth).equal()},[`${u}-selection-search`]:{marginInlineStart:2}}},a(f,"lg")]};return Mg.default=l,Mg}var gR={},l3e;function kGt(){if(l3e)return gR;l3e=1,Object.defineProperty(gR,"__esModule",{value:!0}),gR.default=i;var e=Tn(),t=Jt(),n=Xt;function r(o,a){const{componentCls:l,inputPaddingHorizontalBase:s,borderRadius:u}=o,c=o.calc(o.controlHeight).sub(o.calc(o.lineWidth).mul(2)).equal(),f=a?`${l}-${a}`:"";return{[`${l}-single${f}`]:{fontSize:o.fontSize,height:o.controlHeight,[`${l}-selector`]:Object.assign(Object.assign({},(0,e.resetComponent)(o,!0)),{display:"flex",borderRadius:u,[`${l}-selection-search`]:{position:"absolute",top:0,insetInlineStart:s,insetInlineEnd:s,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + `]:{paddingInlineEnd:s.calc(s.fontSizeIcon).add(s.controlPaddingHorizontal).equal()}}};return[o(s,u),h]}const l=s=>{const{componentCls:u}=s,c=(0,n.mergeToken)(s,{selectHeight:s.controlHeightSM,multipleSelectItemHeight:s.controlHeightXS,borderRadius:s.borderRadiusSM,borderRadiusSM:s.borderRadiusXS}),f=(0,n.mergeToken)(s,{fontSize:s.fontSizeLG,selectHeight:s.controlHeightLG,multipleSelectItemHeight:s.multipleItemHeightLG,borderRadius:s.borderRadiusLG,borderRadiusSM:s.borderRadius});return[a(s),a(c,"sm"),{[`${u}-multiple${u}-sm`]:{[`${u}-selection-placeholder`]:{insetInline:s.calc(s.controlPaddingHorizontalSM).sub(s.lineWidth).equal()},[`${u}-selection-search`]:{marginInlineStart:2}}},a(f,"lg")]};return Mg.default=l,Mg}var mR={},s3e;function AGt(){if(s3e)return mR;s3e=1,Object.defineProperty(mR,"__esModule",{value:!0}),mR.default=i;var e=Tn(),t=Jt(),n=Xt;function r(o,a){const{componentCls:l,inputPaddingHorizontalBase:s,borderRadius:u}=o,c=o.calc(o.controlHeight).sub(o.calc(o.lineWidth).mul(2)).equal(),f=a?`${l}-${a}`:"";return{[`${l}-single${f}`]:{fontSize:o.fontSize,height:o.controlHeight,[`${l}-selector`]:Object.assign(Object.assign({},(0,e.resetComponent)(o,!0)),{display:"flex",borderRadius:u,[`${l}-selection-search`]:{position:"absolute",top:0,insetInlineStart:s,insetInlineEnd:s,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${l}-selection-item, ${l}-selection-placeholder `]:{padding:0,lineHeight:(0,n.unit)(c),transition:`all ${o.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${l}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${l}-selection-item:empty:after`,`${l}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` @@ -695,10 +695,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{paddingInlineEnd:o.showArrowPaddingInlineEnd},[`&${l}-open ${l}-selection-item`]:{color:o.colorTextPlaceholder},[`&:not(${l}-customize-input)`]:{[`${l}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,n.unit)(s)}`,[`${l}-selection-search-input`]:{height:c},"&:after":{lineHeight:(0,n.unit)(c)}}},[`&${l}-customize-input`]:{[`${l}-selector`]:{"&:after":{display:"none"},[`${l}-selection-search`]:{position:"static",width:"100%"},[`${l}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,n.unit)(s)}`,"&:after":{display:"none"}}}}}}}function i(o){const{componentCls:a}=o,l=o.calc(o.controlPaddingHorizontalSM).sub(o.lineWidth).equal();return[r(o),r((0,t.mergeToken)(o,{controlHeight:o.controlHeightSM,borderRadius:o.borderRadiusSM}),"sm"),{[`${a}-single${a}-sm`]:{[`&:not(${a}-customize-input)`]:{[`${a}-selection-search`]:{insetInlineStart:l,insetInlineEnd:l},[`${a}-selector`]:{padding:`0 ${(0,n.unit)(l)}`},[`&${a}-show-arrow ${a}-selection-search`]:{insetInlineEnd:o.calc(l).add(o.calc(o.fontSize).mul(1.5)).equal()},[` &${a}-show-arrow ${a}-selection-item, &${a}-show-arrow ${a}-selection-placeholder - `]:{paddingInlineEnd:o.calc(o.fontSize).mul(1.5).equal()}}}},r((0,t.mergeToken)(o,{controlHeight:o.singleItemHeightLG,fontSize:o.fontSizeLG,borderRadius:o.borderRadiusLG}),"lg")]}return gR}var Wx={},s3e;function jGt(){if(s3e)return Wx;s3e=1,Object.defineProperty(Wx,"__esModule",{value:!0}),Wx.prepareComponentToken=void 0;const e=t=>{const{fontSize:n,lineHeight:r,controlHeight:i,controlPaddingHorizontal:o,zIndexPopupBase:a,colorText:l,fontWeightStrong:s,controlItemBgActive:u,controlItemBgHover:c,colorBgContainer:f,colorFillSecondary:h,controlHeightLG:d,controlHeightSM:p,colorBgContainerDisabled:g,colorTextDisabled:m}=t;return{zIndexPopup:a+50,optionSelectedColor:l,optionSelectedFontWeight:s,optionSelectedBg:u,optionActiveBg:c,optionPadding:`${(i-n*r)/2}px ${o}px`,optionFontSize:n,optionLineHeight:r,optionHeight:i,selectorBg:f,clearBg:f,singleItemHeightLG:d,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:i,multipleSelectorBgDisabled:g,multipleItemColorDisabled:m,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(t.fontSize*1.25)}};return Wx.prepareComponentToken=e,Wx}var qx={},c3e;function DGt(){if(c3e)return qx;c3e=1,Object.defineProperty(qx,"__esModule",{value:!0}),qx.default=void 0;var e=Xt;const t=(u,c)=>{const{componentCls:f,antCls:h,controlOutlineWidth:d}=u;return{[`&:not(${f}-customize-input) ${f}-selector`]:{border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${c.borderColor}`,background:u.selectorBg},[`&:not(${f}-disabled):not(${f}-customize-input):not(${h}-pagination-size-changer)`]:{[`&:hover ${f}-selector`]:{borderColor:c.hoverBorderHover},[`${f}-focused& ${f}-selector`]:{borderColor:c.activeBorderColor,boxShadow:`0 0 0 ${(0,e.unit)(d)} ${c.activeShadowColor}`,outline:0}}}},n=(u,c)=>({[`&${u.componentCls}-status-${c.status}`]:Object.assign({},t(u,c))}),r=u=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},t(u,{borderColor:u.colorBorder,hoverBorderHover:u.colorPrimaryHover,activeBorderColor:u.colorPrimary,activeShadowColor:u.controlOutline})),n(u,{status:"error",borderColor:u.colorError,hoverBorderHover:u.colorErrorHover,activeBorderColor:u.colorError,activeShadowColor:u.colorErrorOutline})),n(u,{status:"warning",borderColor:u.colorWarning,hoverBorderHover:u.colorWarningHover,activeBorderColor:u.colorWarning,activeShadowColor:u.colorWarningOutline})),{[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{background:u.colorBgContainerDisabled,color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.multipleItemBg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.multipleItemBorderColor}`}})}),i=(u,c)=>{const{componentCls:f,antCls:h}=u;return{[`&:not(${f}-customize-input) ${f}-selector`]:{background:c.bg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} transparent`,color:c.color},[`&:not(${f}-disabled):not(${f}-customize-input):not(${h}-pagination-size-changer)`]:{[`&:hover ${f}-selector`]:{background:c.hoverBg},[`${f}-focused& ${f}-selector`]:{background:u.selectorBg,borderColor:c.activeBorderColor,outline:0}}}},o=(u,c)=>({[`&${u.componentCls}-status-${c.status}`]:Object.assign({},i(u,c))}),a=u=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},i(u,{bg:u.colorFillTertiary,hoverBg:u.colorFillSecondary,activeBorderColor:u.colorPrimary,color:u.colorText})),o(u,{status:"error",bg:u.colorErrorBg,hoverBg:u.colorErrorBgHover,activeBorderColor:u.colorError,color:u.colorError})),o(u,{status:"warning",bg:u.colorWarningBg,hoverBg:u.colorWarningBgHover,activeBorderColor:u.colorWarning,color:u.colorWarning})),{[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{borderColor:u.colorBorder,background:u.colorBgContainerDisabled,color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.colorBgContainer,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`}})}),l=u=>({"&-borderless":{[`${u.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.multipleItemBg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.multipleItemBorderColor}`}}}),s=u=>({[u.componentCls]:Object.assign(Object.assign(Object.assign({},r(u)),a(u)),l(u))});return qx.default=s,qx}var u3e;function Koe(){if(u3e)return Fx;u3e=1;var e=ze;Object.defineProperty(Fx,"__esModule",{value:!0}),Fx.default=void 0;var t=Tn(),n=IC(),r=Jt(),i=e(AGt()),o=e(Uqe()),a=e(kGt()),l=jGt(),s=e(DGt());const u=d=>{const{componentCls:p}=d;return{position:"relative",transition:`all ${d.motionDurationMid} ${d.motionEaseInOut}`,input:{cursor:"pointer"},[`${p}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${p}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},c=d=>{const{componentCls:p}=d;return{[`${p}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},f=d=>{const{antCls:p,componentCls:g,inputPaddingHorizontalBase:m,iconCls:v}=d;return{[g]:Object.assign(Object.assign({},(0,t.resetComponent)(d)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${g}-customize-input) ${g}-selector`]:Object.assign(Object.assign({},u(d)),c(d)),[`${g}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},t.textEllipsis),{[`> ${p}-typography`]:{display:"inline"}}),[`${g}-selection-placeholder`]:Object.assign(Object.assign({},t.textEllipsis),{flex:1,color:d.colorTextPlaceholder,pointerEvents:"none"}),[`${g}-arrow`]:Object.assign(Object.assign({},(0,t.resetIcon)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:m,height:d.fontSizeIcon,marginTop:d.calc(d.fontSizeIcon).mul(-1).div(2).equal(),color:d.colorTextQuaternary,fontSize:d.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${d.motionDurationSlow} ease`,[v]:{verticalAlign:"top",transition:`transform ${d.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${g}-suffix)`]:{pointerEvents:"auto"}},[`${g}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${g}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:m,zIndex:1,display:"inline-block",width:d.fontSizeIcon,height:d.fontSizeIcon,marginTop:d.calc(d.fontSizeIcon).mul(-1).div(2).equal(),color:d.colorTextQuaternary,fontSize:d.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${d.motionDurationMid} ease, opacity ${d.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:d.colorTextTertiary}},"&:hover":{[`${g}-clear`]:{opacity:1},[`${g}-arrow:not(:last-child)`]:{opacity:0}}}),[`${g}-has-feedback`]:{[`${g}-clear`]:{insetInlineEnd:d.calc(m).add(d.fontSize).add(d.paddingXS).equal()}}}},h=d=>{const{componentCls:p}=d;return[{[p]:{[`&${p}-in-form-item`]:{width:"100%"}}},f(d),(0,a.default)(d),(0,o.default)(d),(0,i.default)(d),{[`${p}-rtl`]:{direction:"rtl"}},(0,n.genCompactItemStyle)(d,{borderElCls:`${p}-selector`,focusElCls:`${p}-focused`})]};return Fx.default=(0,r.genStyleHooks)("Select",(d,p)=>{let{rootPrefixCls:g}=p;const m=(0,r.mergeToken)(d,{rootPrefixCls:g,inputPaddingHorizontalBase:d.calc(d.paddingSM).sub(1).equal(),multipleSelectItemHeight:d.multipleItemHeight,selectHeight:d.controlHeight});return[h(m),(0,s.default)(m)]},l.prepareComponentToken,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),Fx}var mR={},vR={exports:{}},JU={},yR={},d3e;function LGt(){if(d3e)return yR;d3e=1,Object.defineProperty(yR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};return yR.default=e,yR}var f3e;function zGt(){return f3e||(f3e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(LGt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;ph===null&&!y&&!S?null:t.createElement(t.Fragment,null,C!==!1&&M,y&&x);let P=null;if(h!==void 0)P=$(h);else if(m)P=$(t.createElement(a.default,{spin:!0}));else{const M=`${b}-suffix`;P=A=>{let{open:N,showSearch:k}=A;return $(N&&k?t.createElement(l.default,{className:M}):t.createElement(o.default,{className:M}))}}let T=null;p!==void 0?T=p:v?T=t.createElement(n.default,null):T=null;let R=null;return g!==void 0?R=g:R=t.createElement(i.default,null),{clearIcon:O,suffixIcon:P,itemIcon:T,removeIcon:R}}return mR}var _R={},S3e;function Xoe(){if(S3e)return _R;S3e=1,Object.defineProperty(_R,"__esModule",{value:!0}),_R.default=e;function e(t,n){return n!==void 0?n:t!==null}return _R}var x3e;function aP(){if(x3e)return Ax;x3e=1;var e=ze;Object.defineProperty(Ax,"__esModule",{value:!0}),Ax.default=void 0;var t=w(_),n=e(Tt()),r=w(MGt),i=e(Qr()),o=dl(),a=Il(),l=e(kd()),s=jd();_n();var u=Lt(),c=e(k0()),f=e($a()),h=e(zr()),d=e(no()),p=fi(),g=e(Dh()),m=ts(),v=Jt(),y=e(Goe()),b=e(Koe()),C=e(wF()),x=e(Xoe());function S(M){if(typeof WeakMap!="function")return null;var A=new WeakMap,N=new WeakMap;return(S=function(k){return k?N:A})(M)}function w(M,A){if(!A&&M&&M.__esModule)return M;if(M===null||typeof M!="object"&&typeof M!="function")return{default:M};var N=S(A);if(N&&N.has(M))return N.get(M);var k={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in M)if(L!=="default"&&Object.prototype.hasOwnProperty.call(M,L)){var B=D?Object.getOwnPropertyDescriptor(M,L):null;B&&(B.get||B.set)?Object.defineProperty(k,L,B):k[L]=M[L]}return k.default=M,N&&N.set(M,k),k}var O=function(M,A){var N={};for(var k in M)Object.prototype.hasOwnProperty.call(M,k)&&A.indexOf(k)<0&&(N[k]=M[k]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,k=Object.getOwnPropertySymbols(M);D{var N;const{prefixCls:k,bordered:D,className:L,rootClassName:B,getPopupContainer:j,popupClassName:z,dropdownClassName:V,listHeight:W=256,placement:U,listItemHeight:K,size:X,disabled:G,notFoundContent:Y,status:J,builtinPlacements:ee,dropdownMatchSelectWidth:Q,popupMatchSelectWidth:te,direction:ne,style:re,allowClear:oe,variant:se,dropdownStyle:ye,transitionName:be,tagRender:he,maxCount:le}=M,ve=O(M,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:ke,getPrefixCls:Ie,renderEmpty:Oe,direction:Pe,virtual:_e,popupMatchSelectWidth:ce,popupOverflow:Te,select:Ne}=t.useContext(u.ConfigContext),[,je]=(0,v.useToken)(),He=K??(je==null?void 0:je.controlHeight),Be=Ie("select",k),qe=Ie(),me=ne??Pe,{compactSize:Ee,compactItemClassnames:$e}=(0,m.useCompactItemContext)(Be,me),[Le,Fe]=(0,g.default)(se,D),Ke=(0,h.default)(Be),[lt,ft,Ye]=(0,b.default)(Be,Ke),we=t.useMemo(()=>{const{mode:cn}=M;if(cn!=="combobox")return cn===$?"combobox":cn},[M.mode]),De=we==="multiple"||we==="tags",We=(0,x.default)(M.suffixIcon,M.showArrow),Ge=(N=te??Q)!==null&&N!==void 0?N:ce,{status:Je,hasFeedback:bt,isFormItemInput:at,feedbackIcon:et}=t.useContext(p.FormItemInputContext),rt=(0,s.getMergedStatus)(Je,J);let Ze;Y!==void 0?Ze=Y:we==="combobox"?Ze=null:Ze=(Oe==null?void 0:Oe("Select"))||t.createElement(c.default,{componentName:"Select"});const{suffixIcon:wt,itemIcon:ut,removeIcon:ot,clearIcon:dt}=(0,C.default)(Object.assign(Object.assign({},ve),{multiple:De,hasFeedback:bt,feedbackIcon:et,showSuffixIcon:We,prefixCls:Be,componentName:"Select"})),_t=oe===!0?{clearIcon:dt}:oe,Ot=(0,i.default)(ve,["suffixIcon","itemIcon"]),Ct=(0,n.default)(z||V,{[`${Be}-dropdown-${me}`]:me==="rtl"},B,Ye,Ke,ft),mt=(0,d.default)(cn=>{var Ht;return(Ht=X??Ee)!==null&&Ht!==void 0?Ht:cn}),It=t.useContext(f.default),nt=G??It,yt=(0,n.default)({[`${Be}-lg`]:mt==="large",[`${Be}-sm`]:mt==="small",[`${Be}-rtl`]:me==="rtl",[`${Be}-${Le}`]:Fe,[`${Be}-in-form-item`]:at},(0,s.getStatusClassNames)(Be,rt,bt),$e,Ne==null?void 0:Ne.className,L,B,Ye,Ke,ft),xt=t.useMemo(()=>U!==void 0?U:me==="rtl"?"bottomRight":"bottomLeft",[U,me]),[At]=(0,o.useZIndex)("SelectLike",ye==null?void 0:ye.zIndex);return lt(t.createElement(r.default,Object.assign({ref:A,virtual:_e,showSearch:Ne==null?void 0:Ne.showSearch},Ot,{style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),re),dropdownMatchSelectWidth:Ge,transitionName:(0,a.getTransitionName)(qe,"slide-up",be),builtinPlacements:(0,y.default)(ee,Te),listHeight:W,listItemHeight:He,mode:we,prefixCls:Be,placement:xt,direction:me,suffixIcon:wt,menuItemSelectedIcon:ut,removeIcon:ot,allowClear:_t,notFoundContent:Ze,className:yt,getPopupContainer:j||ke,dropdownClassName:Ct,disabled:nt,dropdownStyle:Object.assign(Object.assign({},ye),{zIndex:At}),maxCount:De?le:void 0,tagRender:De?he:void 0})))},T=t.forwardRef(P),R=(0,l.default)(T);return T.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,T.Option=r.Option,T.OptGroup=r.OptGroup,T._InternalPanelDoNotUseOrYouWillBeFired=R,Ax.default=T,Ax}var _3e;function qGt(){if(_3e)return Nx;_3e=1;var e=ze;Object.defineProperty(Nx,"__esModule",{value:!0}),Nx.default=void 0;var t=f(_),n=e(Tt()),r=e(fl()),i=e(Qr()),o=dl(),a=e(kd()),l=to();_n();var s=Lt(),u=e(aP());function c(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(c=function(C){return C?b:y})(v)}function f(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=c(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}const{Option:h}=u.default;function d(v){return v&&v.type&&(v.type.isSelectOption||v.type.isSelectOptGroup)}const p=(v,y)=>{var b;const{prefixCls:C,className:x,popupClassName:S,dropdownClassName:w,children:O,dataSource:$}=v,P=(0,r.default)(O);let T;P.length===1&&(0,l.isValidElement)(P[0])&&!d(P[0])&&([T]=P);const R=T?()=>T:void 0;let M;P.length&&d(P[0])?M=O:M=$?$.map(D=>{if((0,l.isValidElement)(D))return D;switch(typeof D){case"string":return t.createElement(h,{key:D,value:D},D);case"object":{const{value:L}=D;return t.createElement(h,{key:L,value:L},D.text)}default:return}}):[];const{getPrefixCls:A}=t.useContext(s.ConfigContext),N=A("select",C),[k]=(0,o.useZIndex)("SelectLike",(b=v.dropdownStyle)===null||b===void 0?void 0:b.zIndex);return t.createElement(u.default,Object.assign({ref:y,suffixIcon:null},(0,i.default)(v,["dataSource","dropdownClassName"]),{prefixCls:N,popupClassName:S||w,dropdownStyle:Object.assign(Object.assign({},v.dropdownStyle),{zIndex:k}),className:(0,n.default)(`${N}-auto-complete`,x),mode:u.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:R}),M)},g=t.forwardRef(p),m=(0,a.default)(g);return g.Option=h,g._InternalPanelDoNotUseOrYouWillBeFired=m,Nx.default=g,Nx}var nG={},Vx={},c1={},w3e;function AC(){if(w3e)return c1;w3e=1;var e=ze;Object.defineProperty(c1,"__esModule",{value:!0}),c1.default=a,c1.responsiveArray=c1.matchScreen=void 0;var t=e(_),n=Jt();const r=c1.responsiveArray=["xxl","xl","lg","md","sm","xs"],i=s=>({xs:`(max-width: ${s.screenXSMax}px)`,sm:`(min-width: ${s.screenSM}px)`,md:`(min-width: ${s.screenMD}px)`,lg:`(min-width: ${s.screenLG}px)`,xl:`(min-width: ${s.screenXL}px)`,xxl:`(min-width: ${s.screenXXL}px)`}),o=s=>{const u=s,c=[].concat(r).reverse();return c.forEach((f,h)=>{const d=f.toUpperCase(),p=`screen${d}Min`,g=`screen${d}`;if(!(u[p]<=u[g]))throw new Error(`${p}<=${g} fails : !(${u[p]}<=${u[g]})`);if(h{const c=new Map;let f=-1,h={};return{matchHandlers:{},dispatch(d){return h=d,c.forEach(p=>p(h)),c.size>=1},subscribe(d){return c.size||this.register(),f+=1,c.set(f,d),d(h),f},unsubscribe(d){c.delete(d),c.size||this.unregister()},unregister(){Object.keys(u).forEach(d=>{const p=u[d],g=this.matchHandlers[p];g==null||g.mql.removeListener(g==null?void 0:g.listener)}),c.clear()},register(){Object.keys(u).forEach(d=>{const p=u[d],g=v=>{let{matches:y}=v;this.dispatch(Object.assign(Object.assign({},h),{[d]:y}))},m=window.matchMedia(p);m.addListener(g),this.matchHandlers[p]={mql:m,listener:g},g(m)})},responsiveMap:u}},[s])}const l=(s,u)=>{if(u&&typeof u=="object")for(let c=0;co+1,0);return i}return wR}var E3e;function Zy(){if(E3e)return Ux;E3e=1;var e=ze;Object.defineProperty(Ux,"__esModule",{value:!0}),Ux.default=void 0;var t=_,n=e(iP()),r=e(OF()),i=e(AC());function o(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,t.useRef)({}),s=(0,r.default)(),u=(0,i.default)();return(0,n.default)(()=>{const c=u.subscribe(f=>{l.current=f,a&&s()});return()=>u.unsubscribe(c)},[]),l.current}return Ux.default=o,Ux}var Gx={},$3e;function Gqe(){if($3e)return Gx;$3e=1,Object.defineProperty(Gx,"__esModule",{value:!0}),Gx.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=e.createContext({});return Gx.default=r,Gx}var Rg={},P3e;function Kqe(){if(P3e)return Rg;P3e=1,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.prepareComponentToken=Rg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{antCls:l,componentCls:s,iconCls:u,avatarBg:c,avatarColor:f,containerSize:h,containerSizeLG:d,containerSizeSM:p,textFontSize:g,textFontSizeLG:m,textFontSizeSM:v,borderRadius:y,borderRadiusLG:b,borderRadiusSM:C,lineWidth:x,lineType:S}=a,w=(O,$,P)=>({width:O,height:O,borderRadius:"50%",[`&${s}-square`]:{borderRadius:P},[`&${s}-icon`]:{fontSize:$,[`> ${u}`]:{margin:0}}});return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:f,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:c,border:`${(0,e.unit)(x)} ${S} transparent`,"&-image":{background:"transparent"},[`${l}-image-img`]:{display:"block"}}),w(h,g,y)),{"&-lg":Object.assign({},w(d,m,b)),"&-sm":Object.assign({},w(p,v,C)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},i=a=>{const{componentCls:l,groupBorderColor:s,groupOverlapping:u,groupSpace:c}=a;return{[`${l}-group`]:{display:"inline-flex",[`${l}`]:{borderColor:s},"> *:not(:first-child)":{marginInlineStart:u}},[`${l}-group-popover`]:{[`${l} + ${l}`]:{marginInlineStart:c}}}},o=a=>{const{controlHeight:l,controlHeightLG:s,controlHeightSM:u,fontSize:c,fontSizeLG:f,fontSizeXL:h,fontSizeHeading3:d,marginXS:p,marginXXS:g,colorBorderBg:m}=a;return{containerSize:l,containerSizeLG:s,containerSizeSM:u,textFontSize:Math.round((f+h)/2),textFontSizeLG:d,textFontSizeSM:c,groupSpace:g,groupOverlapping:-p,groupBorderColor:m}};return Rg.prepareComponentToken=o,Rg.default=(0,n.genStyleHooks)("Avatar",a=>{const{colorTextLightSolid:l,colorTextPlaceholder:s}=a,u=(0,n.mergeToken)(a,{avatarBg:s,avatarColor:l});return[r(u),i(u)]},o),Rg}var T3e;function Xqe(){if(T3e)return Vx;T3e=1;var e=ze;Object.defineProperty(Vx,"__esModule",{value:!0}),Vx.default=void 0;var t=d(_),n=e(Tt()),r=e($oe),i=Nc(),o=AC();_n();var a=Lt(),l=e(no()),s=e(Zy()),u=e(Gqe()),c=e(Kqe()),f=e(zr());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const[b,C]=t.useState(1),[x,S]=t.useState(!1),[w,O]=t.useState(!0),$=t.useRef(null),P=t.useRef(null),T=(0,i.composeRef)(y,$),{getPrefixCls:R,avatar:M}=t.useContext(a.ConfigContext),A=t.useContext(u.default),N=()=>{if(!P.current||!$.current)return;const Pe=P.current.offsetWidth,_e=$.current.offsetWidth;if(Pe!==0&&_e!==0){const{gap:ce=4}=v;ce*2<_e&&C(_e-ce*2{S(!0)},[]),t.useEffect(()=>{O(!0),C(1)},[v.src]),t.useEffect(N,[v.gap]);const k=()=>{const{onError:Pe}=v;(Pe==null?void 0:Pe())!==!1&&O(!1)},{prefixCls:D,shape:L,size:B,src:j,srcSet:z,icon:V,className:W,rootClassName:U,alt:K,draggable:X,children:G,crossOrigin:Y}=v,J=p(v,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),ee=(0,l.default)(Pe=>{var _e,ce;return(ce=(_e=B??(A==null?void 0:A.size))!==null&&_e!==void 0?_e:Pe)!==null&&ce!==void 0?ce:"default"}),Q=Object.keys(typeof ee=="object"?ee||{}:{}).some(Pe=>["xs","sm","md","lg","xl","xxl"].includes(Pe)),te=(0,s.default)(Q),ne=t.useMemo(()=>{if(typeof ee!="object")return{};const Pe=o.responsiveArray.find(ce=>te[ce]),_e=ee[Pe];return _e?{width:_e,height:_e,fontSize:_e&&(V||G)?_e/2:18}:{}},[te,ee]),re=R("avatar",D),oe=(0,f.default)(re),[se,ye,be]=(0,c.default)(re,oe),he=(0,n.default)({[`${re}-lg`]:ee==="large",[`${re}-sm`]:ee==="small"}),le=t.isValidElement(j),ve=L||(A==null?void 0:A.shape)||"circle",ke=(0,n.default)(re,he,M==null?void 0:M.className,`${re}-${ve}`,{[`${re}-image`]:le||j&&w,[`${re}-icon`]:!!V},be,oe,W,U,ye),Ie=typeof ee=="number"?{width:ee,height:ee,fontSize:V?ee/2:18}:{};let Oe;if(typeof j=="string"&&w)Oe=t.createElement("img",{src:j,draggable:X,srcSet:z,onError:k,alt:K,crossOrigin:Y});else if(le)Oe=j;else if(V)Oe=V;else if(x||b!==1){const Pe=`scale(${b})`,_e={msTransform:Pe,WebkitTransform:Pe,transform:Pe};Oe=t.createElement(r.default,{onResize:N},t.createElement("span",{className:`${re}-string`,ref:P,style:Object.assign({},_e)},G))}else Oe=t.createElement("span",{className:`${re}-string`,style:{opacity:0},ref:P},G);return delete J.onError,delete J.gap,se(t.createElement("span",Object.assign({},J,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Ie),ne),M==null?void 0:M.style),J.style),className:ke,ref:T}),Oe))},m=t.forwardRef(g);return Vx.default=m,Vx}var Kx={},Xx={},Yx={},M3e;function Yoe(){if(M3e)return Yx;M3e=1,Object.defineProperty(Yx,"__esModule",{value:!0}),Yx.getRenderPropValue=void 0;const e=t=>t?typeof t=="function"?t():t:null;return Yx.getRenderPropValue=e,Yx}var Zx={};const Zoe=cr(x3t);var Qx={},Ig={},a2={},R3e;function Qy(){if(R3e)return a2;R3e=1,Object.defineProperty(a2,"__esModule",{value:!0}),a2.genRoundedArrow=void 0,a2.getArrowToken=t;var e=Xt;function t(r){const{sizePopupArrow:i,borderRadiusXS:o,borderRadiusOuter:a}=r,l=i/2,s=0,u=l,c=a*1/Math.sqrt(2),f=l-a*(1-1/Math.sqrt(2)),h=l-o*(1/Math.sqrt(2)),d=a*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),p=2*l-h,g=d,m=2*l-c,v=f,y=2*l-s,b=u,C=l*Math.sqrt(2)+a*(Math.sqrt(2)-2),x=a*(Math.sqrt(2)-1),S=`polygon(${x}px 100%, 50% ${x}px, ${2*l-x}px 100%, ${x}px 100%)`,w=`path('M ${s} ${u} A ${a} ${a} 0 0 0 ${c} ${f} L ${h} ${d} A ${o} ${o} 0 0 1 ${p} ${g} L ${m} ${v} A ${a} ${a} 0 0 0 ${y} ${b} Z')`;return{arrowShadowWidth:C,arrowPath:w,arrowPolygon:S}}const n=(r,i,o)=>{const{sizePopupArrow:a,arrowPolygon:l,arrowPath:s,arrowShadowWidth:u,borderRadiusXS:c,calc:f}=r;return{pointerEvents:"none",width:a,height:a,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:a,height:f(a).div(2).equal(),background:i,clipPath:{_multi_value_:!0,value:[l,s]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(c)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}};return a2.genRoundedArrow=n,a2}var I3e;function lP(){if(I3e)return Ig;I3e=1,Object.defineProperty(Ig,"__esModule",{value:!0}),Ig.MAX_VERTICAL_CONTENT_RADIUS=void 0,Ig.default=i,Ig.getArrowOffsetToken=n;var e=Qy();const t=Ig.MAX_VERTICAL_CONTENT_RADIUS=8;function n(o){const{contentRadius:a,limitVerticalRadius:l}=o,s=a>12?a+2:12;return{arrowOffsetHorizontal:s,arrowOffsetVertical:l?t:s}}function r(o,a){return o?a:{}}function i(o,a,l){const{componentCls:s,boxShadowPopoverArrow:u,arrowOffsetVertical:c,arrowOffsetHorizontal:f}=o,{arrowDistance:h=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=l||{};return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({[`${s}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,e.genRoundedArrow)(o,a,u)),{"&:before":{background:a}})]},r(!!d.top,{[[`&-placement-top > ${s}-arrow`,`&-placement-topLeft > ${s}-arrow`,`&-placement-topRight > ${s}-arrow`].join(",")]:{bottom:h,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${s}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${s}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-topRight > ${s}-arrow`]:{right:{_skip_check_:!0,value:f}}})),r(!!d.bottom,{[[`&-placement-bottom > ${s}-arrow`,`&-placement-bottomLeft > ${s}-arrow`,`&-placement-bottomRight > ${s}-arrow`].join(",")]:{top:h,transform:"translateY(-100%)"},[`&-placement-bottom > ${s}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${s}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-bottomRight > ${s}-arrow`]:{right:{_skip_check_:!0,value:f}}})),r(!!d.left,{[[`&-placement-left > ${s}-arrow`,`&-placement-leftTop > ${s}-arrow`,`&-placement-leftBottom > ${s}-arrow`].join(",")]:{right:{_skip_check_:!0,value:h},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${s}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${s}-arrow`]:{top:c},[`&-placement-leftBottom > ${s}-arrow`]:{bottom:c}})),r(!!d.right,{[[`&-placement-right > ${s}-arrow`,`&-placement-rightTop > ${s}-arrow`,`&-placement-rightBottom > ${s}-arrow`].join(",")]:{left:{_skip_check_:!0,value:h},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${s}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${s}-arrow`]:{top:c},[`&-placement-rightBottom > ${s}-arrow`]:{bottom:c}}))}}return Ig}var N3e;function Qoe(){if(N3e)return Qx;N3e=1,Object.defineProperty(Qx,"__esModule",{value:!0}),Qx.default=o,Qx.getOverflowOptions=t;var e=lP();function t(a,l,s,u){if(u===!1)return{adjustX:!1,adjustY:!1};const c=u&&typeof u=="object"?u:{},f={};switch(a){case"top":case"bottom":f.shiftX=l.arrowOffsetHorizontal*2+s,f.shiftY=!0,f.adjustY=!0;break;case"left":case"right":f.shiftY=l.arrowOffsetVertical*2+s,f.shiftX=!0,f.adjustX=!0;break}const h=Object.assign(Object.assign({},f),c);return h.shiftX||(h.adjustX=!0),h.shiftY||(h.adjustY=!0),h}const n={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},r={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},i=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function o(a){const{arrowWidth:l,autoAdjustOverflow:s,arrowPointAtCenter:u,offset:c,borderRadius:f,visibleFirst:h}=a,d=l/2,p={};return Object.keys(n).forEach(g=>{const m=u&&r[g]||n[g],v=Object.assign(Object.assign({},m),{offset:[0,0],dynamicInset:!0});switch(p[g]=v,i.has(g)&&(v.autoArrow=!1),g){case"top":case"topLeft":case"topRight":v.offset[1]=-d-c;break;case"bottom":case"bottomLeft":case"bottomRight":v.offset[1]=d+c;break;case"left":case"leftTop":case"leftBottom":v.offset[0]=-d-c;break;case"right":case"rightTop":case"rightBottom":v.offset[0]=d+c;break}const y=(0,e.getArrowOffsetToken)({contentRadius:f,limitVerticalRadius:!0});if(u)switch(g){case"topLeft":case"bottomLeft":v.offset[0]=-y.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":v.offset[0]=y.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":v.offset[1]=-y.arrowOffsetHorizontal-d;break;case"leftBottom":case"rightBottom":v.offset[1]=y.arrowOffsetHorizontal+d;break}v.overflow=t(g,y,l,s),h&&(v.htmlRegion="visibleFirst")}),p}return Qx}var Jx={},Ng={},A3e;function Yqe(){if(A3e)return Ng;A3e=1,Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.prepareComponentToken=Ng.default=void 0;var e=Tn(),t=Bs(),n=l(lP()),r=Jt(),i=Xt,o=Qy();function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const s=c=>{const{componentCls:f,tooltipMaxWidth:h,tooltipColor:d,tooltipBg:p,tooltipBorderRadius:g,zIndexPopup:m,controlHeight:v,boxShadowSecondary:y,paddingSM:b,paddingXS:C}=c;return[{[f]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(c)),{position:"absolute",zIndex:m,display:"block",width:"max-content",maxWidth:h,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":p,[`${f}-inner`]:{minWidth:v,minHeight:v,padding:`${(0,i.unit)(c.calc(b).div(2).equal())} ${(0,i.unit)(C)}`,color:d,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:p,borderRadius:g,boxShadow:y,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${f}-inner`]:{borderRadius:c.min(g,n.MAX_VERTICAL_CONTENT_RADIUS)}},[`${f}-content`]:{position:"relative"}}),(0,r.genPresetColor)(c,(x,S)=>{let{darkColor:w}=S;return{[`&${f}-${x}`]:{[`${f}-inner`]:{backgroundColor:w},[`${f}-arrow`]:{"--antd-arrow-background-color":w}}}})),{"&-rtl":{direction:"rtl"}})},(0,n.default)(c,"var(--antd-arrow-background-color)"),{[`${f}-pure`]:{position:"relative",maxWidth:"none",margin:c.sizePopupArrow}}]},u=c=>Object.assign(Object.assign({zIndexPopup:c.zIndexPopupBase+70},(0,n.getArrowOffsetToken)({contentRadius:c.borderRadius,limitVerticalRadius:!0})),(0,o.getArrowToken)((0,r.mergeToken)(c,{borderRadiusOuter:Math.min(c.borderRadiusOuter,4)})));return Ng.prepareComponentToken=u,Ng.default=function(f){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,r.genStyleHooks)("Tooltip",p=>{const{borderRadius:g,colorTextLightSolid:m,colorBgSpotlight:v}=p,y=(0,r.mergeToken)(p,{tooltipMaxWidth:250,tooltipColor:m,tooltipBorderRadius:g,tooltipBg:v});return[s(y),(0,t.initZoomMotion)(p,"zoom-big-fast")]},u,{resetStyle:!1,injectStyle:h})(f)},Ng}var OR={},Ag={},k3e;function EF(){if(k3e)return Ag;k3e=1;var e=ze;Object.defineProperty(Ag,"__esModule",{value:!0}),Ag.PresetStatusColorTypes=void 0,Ag.isPresetColor=o,Ag.isPresetStatusColor=a;var t=e(qr()),n=joe();const r=n.PresetColors.map(l=>`${l}-inverse`),i=Ag.PresetStatusColorTypes=["success","processing","error","default","warning"];function o(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,t.default)(r),(0,t.default)(n.PresetColors)).includes(l):n.PresetColors.includes(l)}function a(l){return i.includes(l)}return Ag}var j3e;function Zqe(){if(j3e)return OR;j3e=1;var e=ze;Object.defineProperty(OR,"__esModule",{value:!0}),OR.parseColor=r;var t=e(Tt()),n=EF();function r(i,o){const a=(0,n.isPresetColor)(o),l=(0,t.default)({[`${i}-${o}`]:o&&a}),s={},u={};return o&&!a&&(s.background=o,u["--antd-arrow-background-color"]=o),{className:l,overlayStyle:s,arrowStyle:u}}return OR}var D3e;function VGt(){if(D3e)return Jx;D3e=1;var e=ze;Object.defineProperty(Jx,"__esModule",{value:!0}),Jx.default=void 0;var t=e(Tt()),n=Zoe,r=s(_),i=Lt(),o=e(Yqe()),a=Zqe();function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,placement:d="top",title:p,color:g,overlayInnerStyle:m}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("tooltip",f),[b,C,x]=(0,o.default)(y),S=(0,a.parseColor)(y,g),w=S.arrowStyle,O=Object.assign(Object.assign({},m),S.overlayStyle),$=(0,t.default)(C,x,y,`${y}-pure`,`${y}-placement-${d}`,h,S.className);return b(r.createElement("div",{className:$,style:w},r.createElement("div",{className:`${y}-arrow`}),r.createElement(n.Popup,Object.assign({},c,{className:C,prefixCls:y,overlayInnerStyle:O}),p)))};return Jx.default=u,Jx}var L3e;function kc(){if(L3e)return Zx;L3e=1;var e=ze;Object.defineProperty(Zx,"__esModule",{value:!0}),Zx.default=void 0;var t=y(_),n=e(Tt()),r=e(Zoe),i=e(ns()),o=dl(),a=Il(),l=e(Qoe()),s=to(),u=_n(),c=e(RC()),f=Lt(),h=ts(),d=Jt(),p=e(VGt()),g=e(Yqe()),m=Zqe();function v(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(v=function(O){return O?w:S})(x)}function y(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=v(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var b=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${var w,O;const{prefixCls:$,openClassName:P,getTooltipContainer:T,overlayClassName:R,color:M,overlayInnerStyle:A,children:N,afterOpenChange:k,afterVisibleChange:D,destroyTooltipOnHide:L,arrow:B=!0,title:j,overlay:z,builtinPlacements:V,arrowPointAtCenter:W=!1,autoAdjustOverflow:U=!0}=x,K=!!B,[,X]=(0,d.useToken)(),{getPopupContainer:G,getPrefixCls:Y,direction:J}=t.useContext(f.ConfigContext),ee=(0,u.devUseWarning)("Tooltip"),Q=t.useRef(null),te=()=>{var De;(De=Q.current)===null||De===void 0||De.forceAlign()};t.useImperativeHandle(S,()=>({forceAlign:te,forcePopupAlign:()=>{ee.deprecated(!1,"forcePopupAlign","forceAlign"),te()}}));const[ne,re]=(0,i.default)(!1,{value:(w=x.open)!==null&&w!==void 0?w:x.visible,defaultValue:(O=x.defaultOpen)!==null&&O!==void 0?O:x.defaultVisible}),oe=!j&&!z&&j!==0,se=De=>{var We,Ge;re(oe?!1:De),oe||((We=x.onOpenChange)===null||We===void 0||We.call(x,De),(Ge=x.onVisibleChange)===null||Ge===void 0||Ge.call(x,De))},ye=t.useMemo(()=>{var De,We;let Ge=W;return typeof B=="object"&&(Ge=(We=(De=B.pointAtCenter)!==null&&De!==void 0?De:B.arrowPointAtCenter)!==null&&We!==void 0?We:W),V||(0,l.default)({arrowPointAtCenter:Ge,autoAdjustOverflow:U,arrowWidth:K?X.sizePopupArrow:0,borderRadius:X.borderRadius,offset:X.marginXXS,visibleFirst:!0})},[W,B,V,X]),be=t.useMemo(()=>j===0?j:z||j||"",[z,j]),he=t.createElement(h.NoCompactStyle,null,typeof be=="function"?be():be),{getPopupContainer:le,placement:ve="top",mouseEnterDelay:ke=.1,mouseLeaveDelay:Ie=.1,overlayStyle:Oe,rootClassName:Pe}=x,_e=b(x,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ce=Y("tooltip",$),Te=Y(),Ne=x["data-popover-inject"];let je=ne;!("open"in x)&&!("visible"in x)&&oe&&(je=!1);const He=(0,s.isValidElement)(N)&&!(0,s.isFragment)(N)?N:t.createElement("span",null,N),Be=He.props,qe=!Be.className||typeof Be.className=="string"?(0,n.default)(Be.className,P||`${ce}-open`):Be.className,[me,Ee,$e]=(0,g.default)(ce,!Ne),Le=(0,m.parseColor)(ce,M),Fe=Le.arrowStyle,Ke=Object.assign(Object.assign({},A),Le.overlayStyle),lt=(0,n.default)(R,{[`${ce}-rtl`]:J==="rtl"},Le.className,Pe,Ee,$e),[ft,Ye]=(0,o.useZIndex)("Tooltip",_e.zIndex),we=t.createElement(r.default,Object.assign({},_e,{zIndex:ft,showArrow:K,placement:ve,mouseEnterDelay:ke,mouseLeaveDelay:Ie,prefixCls:ce,overlayClassName:lt,overlayStyle:Object.assign(Object.assign({},Fe),Oe),getTooltipContainer:le||T||G,ref:Q,builtinPlacements:ye,overlay:he,visible:je,onVisibleChange:se,afterVisibleChange:k??D,overlayInnerStyle:Ke,arrowContent:t.createElement("span",{className:`${ce}-arrow-content`}),motion:{motionName:(0,a.getTransitionName)(Te,"zoom-big-fast",x.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!L}),je?(0,s.cloneElement)(He,{className:qe}):He);return me(t.createElement(c.default.Provider,{value:Ye},we))});return C._InternalPanelDoNotUseOrYouWillBeFired=p.default,Zx.default=C,Zx}var cp={},kg={},z3e;function Qqe(){if(z3e)return kg;z3e=1,Object.defineProperty(kg,"__esModule",{value:!0}),kg.prepareComponentToken=kg.default=void 0;var e=Tn(),t=Bs(),n=a(lP()),r=Jt(),i=Qy();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const l=c=>{const{componentCls:f,popoverColor:h,titleMinWidth:d,fontWeightStrong:p,innerPadding:g,boxShadowSecondary:m,colorTextHeading:v,borderRadiusLG:y,zIndexPopup:b,titleMarginBottom:C,colorBgElevated:x,popoverBg:S,titleBorderBottom:w,innerContentPadding:O,titlePadding:$}=c;return[{[f]:Object.assign(Object.assign({},(0,e.resetComponent)(c)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:b,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":x,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${f}-content`]:{position:"relative"},[`${f}-inner`]:{backgroundColor:S,backgroundClip:"padding-box",borderRadius:y,boxShadow:m,padding:g},[`${f}-title`]:{minWidth:d,marginBottom:C,color:v,fontWeight:p,borderBottom:w,padding:$},[`${f}-inner-content`]:{color:h,padding:O}})},(0,n.default)(c,"var(--antd-arrow-background-color)"),{[`${f}-pure`]:{position:"relative",maxWidth:"none",margin:c.sizePopupArrow,display:"inline-block",[`${f}-content`]:{display:"inline-block"}}}]},s=c=>{const{componentCls:f}=c;return{[f]:r.PresetColors.map(h=>{const d=c[`${h}6`];return{[`&${f}-${h}`]:{"--antd-arrow-background-color":d,[`${f}-inner`]:{backgroundColor:d},[`${f}-arrow`]:{background:"transparent"}}}})}},u=c=>{const{lineWidth:f,controlHeight:h,fontHeight:d,padding:p,wireframe:g,zIndexPopupBase:m,borderRadiusLG:v,marginXS:y,lineType:b,colorSplit:C,paddingSM:x}=c,S=h-d,w=S/2,O=S/2-f,$=p;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:m+30},(0,i.getArrowToken)(c)),(0,n.getArrowOffsetToken)({contentRadius:v,limitVerticalRadius:!0})),{innerPadding:g?0:12,titleMarginBottom:g?0:y,titlePadding:g?`${w}px ${$}px ${O}px`:0,titleBorderBottom:g?`${f}px ${b} ${C}`:"none",innerContentPadding:g?`${x}px ${$}px`:0})};return kg.prepareComponentToken=u,kg.default=(0,r.genStyleHooks)("Popover",c=>{const{colorBgElevated:f,colorText:h}=c,d=(0,r.mergeToken)(c,{popoverBg:f,popoverColor:h});return[l(d),s(d),(0,t.initZoomMotion)(d,"zoom-big")]},u,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]}),kg}var B3e;function Joe(){if(B3e)return cp;B3e=1;var e=ze;Object.defineProperty(cp,"__esModule",{value:!0}),cp.getOverlay=cp.default=cp.RawPurePanel=void 0;var t=s(_),n=e(Tt()),r=Zoe,i=Yoe(),o=Lt(),a=e(Qqe());function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v!p&&!g?null:t.createElement(t.Fragment,null,p&&t.createElement("div",{className:`${d}-title`},(0,i.getRenderPropValue)(p)),t.createElement("div",{className:`${d}-inner-content`},(0,i.getRenderPropValue)(g)));cp.getOverlay=c;const f=d=>{const{hashId:p,prefixCls:g,className:m,style:v,placement:y="top",title:b,content:C,children:x}=d;return t.createElement("div",{className:(0,n.default)(p,g,`${g}-pure`,`${g}-placement-${y}`,m),style:v},t.createElement("div",{className:`${g}-arrow`}),t.createElement(r.Popup,Object.assign({},d,{className:p,prefixCls:g}),x||c(g,b,C)))};cp.RawPurePanel=f;const h=d=>{const{prefixCls:p,className:g}=d,m=u(d,["prefixCls","className"]),{getPrefixCls:v}=t.useContext(o.ConfigContext),y=v("popover",p),[b,C,x]=(0,a.default)(y);return b(t.createElement(f,Object.assign({},m,{prefixCls:y,hashId:C,className:(0,n.default)(g,x)})))};return cp.default=h,cp}var F3e;function $F(){if(F3e)return Xx;F3e=1;var e=ze;Object.defineProperty(Xx,"__esModule",{value:!0}),Xx.default=void 0;var t=c(_),n=e(Tt()),r=Yoe(),i=Il(),o=Lt(),a=e(kc()),l=e(Joe()),s=e(Qqe());function u(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(u=function(v){return v?m:g})(p)}function c(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=u(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var f=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{let{title:g,content:m,prefixCls:v}=p;return t.createElement(t.Fragment,null,g&&t.createElement("div",{className:`${v}-title`},(0,r.getRenderPropValue)(g)),t.createElement("div",{className:`${v}-inner-content`},(0,r.getRenderPropValue)(m)))},d=t.forwardRef((p,g)=>{const{prefixCls:m,title:v,content:y,overlayClassName:b,placement:C="top",trigger:x="hover",mouseEnterDelay:S=.1,mouseLeaveDelay:w=.1,overlayStyle:O={}}=p,$=f(p,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:P}=t.useContext(o.ConfigContext),T=P("popover",m),[R,M,A]=(0,s.default)(T),N=P(),k=(0,n.default)(b,M,A);return R(t.createElement(a.default,Object.assign({placement:C,trigger:x,mouseEnterDelay:S,mouseLeaveDelay:w,overlayStyle:O},$,{prefixCls:T,overlayClassName:k,ref:g,overlay:v||y?t.createElement(h,{prefixCls:T,title:v,content:y}):null,transitionName:(0,i.getTransitionName)(N,"zoom-big",$.transitionName),"data-popover-inject":!0})))});return d._InternalPanelDoNotUseOrYouWillBeFired=l.default,Xx.default=d,Xx}var H3e;function UGt(){if(H3e)return Kx;H3e=1;var e=ze;Object.defineProperty(Kx,"__esModule",{value:!0}),Kx.default=void 0;var t=e(Tt()),n=e(fl()),r=h(_),i=Lt(),o=e($F()),a=to(),l=e(Xqe()),s=e(Gqe()),u=e(Kqe()),c=e(zr());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const d=g=>{const{size:m,shape:v}=r.useContext(s.default),y=r.useMemo(()=>({size:g.size||m,shape:g.shape||v}),[g.size,g.shape,m,v]);return r.createElement(s.default.Provider,{value:y},g.children)},p=g=>{const{getPrefixCls:m,direction:v}=r.useContext(i.ConfigContext),{prefixCls:y,className:b,rootClassName:C,style:x,maxCount:S,maxStyle:w,size:O,shape:$,maxPopoverPlacement:P="top",maxPopoverTrigger:T="hover",children:R}=g,M=m("avatar",y),A=`${M}-group`,N=(0,c.default)(M),[k,D,L]=(0,u.default)(M,N),B=(0,t.default)(A,{[`${A}-rtl`]:v==="rtl"},L,N,b,C,D),j=(0,n.default)(R).map((V,W)=>(0,a.cloneElement)(V,{key:`avatar-key-${W}`})),z=j.length;if(S&&S{const{componentCls:l,backTopFontSize:s,backTopSize:u,zIndexPopup:c}=a;return{[l]:Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"fixed",insetInlineEnd:a.backTopInlineEnd,insetBlockEnd:a.backTopBlockEnd,zIndex:c,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${l}-content`]:{width:u,height:u,overflow:"hidden",color:a.backTopColor,textAlign:"center",backgroundColor:a.backTopBackground,borderRadius:u,transition:`all ${a.motionDurationMid}`,"&:hover":{backgroundColor:a.backTopHoverBackground,transition:`all ${a.motionDurationMid}`}},[`${l}-icon`]:{fontSize:s,lineHeight:(0,e.unit)(u)}})}},i=a=>{const{componentCls:l,screenMD:s,screenXS:u,backTopInlineEndMD:c,backTopInlineEndXS:f}=a;return{[`@media (max-width: ${(0,e.unit)(s)})`]:{[l]:{insetInlineEnd:c}},[`@media (max-width: ${(0,e.unit)(u)})`]:{[l]:{insetInlineEnd:f}}}},o=a=>({zIndexPopup:a.zIndexBase+10});return jg.prepareComponentToken=o,jg.default=(0,n.genStyleHooks)("BackTop",a=>{const{fontSizeHeading3:l,colorTextDescription:s,colorTextLightSolid:u,colorText:c,controlHeightLG:f,calc:h}=a,d=(0,n.mergeToken)(a,{backTopBackground:s,backTopColor:u,backTopHoverBackground:c,backTopFontSize:l,backTopSize:f,backTopBlockEnd:h(f).mul(1.25).equal(),backTopInlineEnd:h(f).mul(2.5).equal(),backTopInlineEndMD:h(f).mul(1.5).equal(),backTopInlineEndXS:h(f).mul(.5).equal()});return[r(d),i(d)]},o),jg}var K3e;function ZGt(){if(K3e)return e5;K3e=1;var e=ze;Object.defineProperty(e5,"__esModule",{value:!0}),e5.default=void 0;var t=d(_),n=e(Jqe()),r=e(Tt()),i=e(Ad),o=e(Qr()),a=e(gF()),l=to(),s=e(mF()),u=e(Toe());_n();var c=Lt(),f=e(YGt());function h(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(h=function(y){return y?v:m})(g)}function d(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=h(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const p=g=>{const{prefixCls:m,className:v,rootClassName:y,visibilityHeight:b=400,target:C,onClick:x,duration:S=450}=g,[w,O]=t.useState(b===0),$=t.useRef(null),P=()=>$.current&&$.current.ownerDocument?$.current.ownerDocument:window,T=(0,u.default)(W=>{const U=(0,a.default)(W.target,!0);O(U>=b)});t.useEffect(()=>{const U=(C||P)();return T({target:U}),U==null||U.addEventListener("scroll",T),()=>{T.cancel(),U==null||U.removeEventListener("scroll",T)}},[C]);const R=W=>{(0,s.default)(0,{getContainer:C||P,duration:S}),x==null||x(W)},{getPrefixCls:M,direction:A}=t.useContext(c.ConfigContext),N=M("back-top",m),k=M(),[D,L,B]=(0,f.default)(N),j=(0,r.default)(L,B,N,{[`${N}-rtl`]:A==="rtl"},v,y),z=(0,o.default)(g,["prefixCls","className","rootClassName","children","visibilityHeight","target"]),V=t.createElement("div",{className:`${N}-content`},t.createElement("div",{className:`${N}-icon`},t.createElement(n.default,null)));return D(t.createElement("div",Object.assign({},z,{className:j,onClick:R,ref:$}),t.createElement(i.default,{visible:w,motionName:`${k}-fade`},W=>{let{className:U}=W;return(0,l.cloneElement)(g.children||V,K=>{let{className:X}=K;return{className:(0,r.default)(U,X)}})})))};return e5.default=p,e5}var t5={},n5={},r5={},up={},X3e;function eVe(){if(X3e)return up;X3e=1,Object.defineProperty(up,"__esModule",{value:!0}),up.prepareToken=up.prepareComponentToken=up.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=new e.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),i=new e.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),o=new e.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),a=new e.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),l=new e.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),s=new e.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),u=h=>{const{componentCls:d,iconCls:p,antCls:g,badgeShadowSize:m,motionDurationSlow:v,textFontSize:y,textFontSizeSM:b,statusSize:C,dotSize:x,textFontWeight:S,indicatorHeight:w,indicatorHeightSM:O,marginXS:$,calc:P}=h,T=`${g}-scroll-number`,R=(0,n.genPresetColor)(h,(M,A)=>{let{darkColor:N}=A;return{[`&${d} ${d}-color-${M}`]:{background:N,[`&:not(${d}-count)`]:{color:N}}}});return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${d}-count`]:{zIndex:h.indicatorZIndex,minWidth:w,height:w,color:h.badgeTextColor,fontWeight:S,fontSize:y,lineHeight:(0,e.unit)(w),whiteSpace:"nowrap",textAlign:"center",background:h.badgeColor,borderRadius:P(w).div(2).equal(),boxShadow:`0 0 0 ${(0,e.unit)(m)} ${h.badgeShadowColor}`,transition:`background ${h.motionDurationMid}`,a:{color:h.badgeTextColor},"a:hover":{color:h.badgeTextColor},"a:hover &":{background:h.badgeColorHover}},[`${d}-count-sm`]:{minWidth:O,height:O,fontSize:b,lineHeight:(0,e.unit)(O),borderRadius:P(O).div(2).equal()},[`${d}-multiple-words`]:{padding:`0 ${(0,e.unit)(h.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${d}-dot`]:{zIndex:h.indicatorZIndex,width:x,minWidth:x,height:x,background:h.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,e.unit)(m)} ${h.badgeShadowColor}`},[`${d}-dot${T}`]:{transition:`background ${v}`},[`${d}-count, ${d}-dot, ${T}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${p}-spin`]:{animationName:s,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${d}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${d}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:C,height:C,verticalAlign:"middle",borderRadius:"50%"},[`${d}-status-success`]:{backgroundColor:h.colorSuccess},[`${d}-status-processing`]:{overflow:"visible",color:h.colorPrimary,backgroundColor:h.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:m,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:r,animationDuration:h.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${d}-status-default`]:{backgroundColor:h.colorTextPlaceholder},[`${d}-status-error`]:{backgroundColor:h.colorError},[`${d}-status-warning`]:{backgroundColor:h.colorWarning},[`${d}-status-text`]:{marginInlineStart:$,color:h.colorText,fontSize:h.fontSize}}}),R),{[`${d}-zoom-appear, ${d}-zoom-enter`]:{animationName:i,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack,animationFillMode:"both"},[`${d}-zoom-leave`]:{animationName:o,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack,animationFillMode:"both"},[`&${d}-not-a-wrapper`]:{[`${d}-zoom-appear, ${d}-zoom-enter`]:{animationName:a,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack},[`${d}-zoom-leave`]:{animationName:l,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack},[`&:not(${d}-status)`]:{verticalAlign:"middle"},[`${T}-custom-component, ${d}-count`]:{transform:"none"},[`${T}-custom-component, ${T}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${T}`]:{overflow:"hidden",[`${T}-only`]:{position:"relative",display:"inline-block",height:w,transition:`all ${h.motionDurationSlow} ${h.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${T}-only-unit`]:{height:w,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${T}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${d}-count, ${d}-dot, ${T}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},c=h=>{const{fontHeight:d,lineWidth:p,marginXS:g,colorBorderBg:m}=h,v=d,y=p,b=h.colorBgContainer,C=h.colorError,x=h.colorErrorHover;return(0,n.mergeToken)(h,{badgeFontHeight:v,badgeShadowSize:y,badgeTextColor:b,badgeColor:C,badgeColorHover:x,badgeShadowColor:m,badgeProcessingDuration:"1.2s",badgeRibbonOffset:g,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})};up.prepareToken=c;const f=h=>{const{fontSize:d,lineHeight:p,fontSizeSM:g,lineWidth:m}=h;return{indicatorZIndex:"auto",indicatorHeight:Math.round(d*p)-2*m,indicatorHeightSM:d,dotSize:g/2,textFontSize:g,textFontSizeSM:g,textFontWeight:"normal",statusSize:g/2}};return up.prepareComponentToken=f,up.default=(0,n.genStyleHooks)("Badge",h=>{const d=c(h);return u(d)},f),up}var Y3e;function QGt(){if(Y3e)return r5;Y3e=1,Object.defineProperty(r5,"__esModule",{value:!0}),r5.default=void 0;var e=Xt,t=eVe(),n=Tn(),r=Jt();const i=o=>{const{antCls:a,badgeFontHeight:l,marginXS:s,badgeRibbonOffset:u,calc:c}=o,f=`${a}-ribbon`,h=`${a}-ribbon-wrapper`,d=(0,r.genPresetColor)(o,(p,g)=>{let{darkColor:m}=g;return{[`&${f}-color-${p}`]:{background:m,color:m}}});return{[`${h}`]:{position:"relative"},[`${f}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(o)),{position:"absolute",top:s,padding:`0 ${(0,e.unit)(o.paddingXS)}`,color:o.colorPrimary,lineHeight:(0,e.unit)(l),whiteSpace:"nowrap",backgroundColor:o.colorPrimary,borderRadius:o.borderRadiusSM,[`${f}-text`]:{color:o.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${(0,e.unit)(c(u).div(2).equal())} solid`,transform:o.badgeRibbonCornerTransform,transformOrigin:"top",filter:o.badgeRibbonCornerFilter}}),d),{[`&${f}-placement-end`]:{insetInlineEnd:c(u).mul(-1).equal(),borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:c(u).mul(-1).equal(),borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};return r5.default=(0,r.genStyleHooks)(["Badge","Ribbon"],o=>{const a=(0,t.prepareToken)(o);return i(a)},t.prepareComponentToken),r5}var Z3e;function JGt(){if(Z3e)return n5;Z3e=1;var e=ze;Object.defineProperty(n5,"__esModule",{value:!0}),n5.default=void 0;var t=l(_),n=e(Tt()),r=EF(),i=Lt(),o=e(QGt());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const s=u=>{const{className:c,prefixCls:f,style:h,color:d,children:p,text:g,placement:m="end",rootClassName:v}=u,{getPrefixCls:y,direction:b}=t.useContext(i.ConfigContext),C=y("ribbon",f),x=`${C}-wrapper`,[S,w,O]=(0,o.default)(C,x),$=(0,r.isPresetColor)(d,!1),P=(0,n.default)(C,`${C}-placement-${m}`,{[`${C}-rtl`]:b==="rtl",[`${C}-color-${d}`]:$},c),T={},R={};return d&&!$&&(T.background=d,R.color=d),S(t.createElement("div",{className:(0,n.default)(x,v,w,O)},p,t.createElement("div",{className:(0,n.default)(P,w),style:Object.assign(Object.assign({},T),h)},t.createElement("span",{className:`${C}-text`},g),t.createElement("div",{className:`${C}-corner`,style:R}))))};return n5.default=s,n5}var i5={},PR={},Q3e;function eKt(){if(Q3e)return PR;Q3e=1;var e=ze;Object.defineProperty(PR,"__esModule",{value:!0}),PR.default=l;var t=e(Tt()),n=i(_);function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function o(s){let{prefixCls:u,value:c,current:f,offset:h=0}=s,d;return h&&(d={position:"absolute",top:`${h}00%`,left:0}),n.createElement("span",{style:d,className:(0,t.default)(`${u}-only-unit`,{current:f})},c)}function a(s,u,c){let f=s,h=0;for(;(f+10)%10!==u;)f+=c,h+=c;return h}function l(s){const{prefixCls:u,count:c,value:f}=s,h=Number(f),d=Math.abs(c),[p,g]=n.useState(h),[m,v]=n.useState(d),y=()=>{g(h),v(d)};n.useEffect(()=>{const x=setTimeout(()=>{y()},1e3);return()=>{clearTimeout(x)}},[h]);let b,C;if(p===h||Number.isNaN(h)||Number.isNaN(p))b=[n.createElement(o,Object.assign({},s,{key:h,current:!0}))],C={transition:"none"};else{b=[];const x=h+10,S=[];for(let $=h;$<=x;$+=1)S.push($);const w=S.findIndex($=>$%10===p);b=S.map(($,P)=>{const T=$%10;return n.createElement(o,Object.assign({},s,{key:$,value:T,offset:P-w,current:P===w}))});const O=m{const{prefixCls:h,count:d,className:p,motionClassName:g,style:m,title:v,show:y,component:b="sup",children:C}=c,x=s(c,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:S}=n.useContext(i.ConfigContext),w=S("scroll-number",h),O=Object.assign(Object.assign({},x),{"data-show":y,style:m,className:(0,t.default)(w,p,g),title:v});let $=d;if(d&&Number(d)%1===0){const P=String(d).split("");$=n.createElement("bdi",null,P.map((T,R)=>n.createElement(o.default,{prefixCls:w,count:Number(d),value:T,key:P.length-R})))}return m&&m.borderColor&&(O.style=Object.assign(Object.assign({},m),{boxShadow:`0 0 0 1px ${m.borderColor} inset`})),C?(0,r.cloneElement)(C,P=>({className:(0,t.default)(`${w}-custom-component`,P==null?void 0:P.className,g)})):n.createElement(b,Object.assign({},O,{ref:f}),$)});return i5.default=u,i5}var e4e;function tVe(){if(e4e)return t5;e4e=1;var e=ze;Object.defineProperty(t5,"__esModule",{value:!0}),t5.default=void 0;var t=h(_),n=t,r=e(Tt()),i=e(Ad),o=EF(),a=to(),l=Lt(),s=e(JGt()),u=e(tKt()),c=e(eVe());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var d=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var y,b,C,x,S;const{prefixCls:w,scrollNumberPrefixCls:O,children:$,status:P,text:T,color:R,count:M=null,overflowCount:A=99,dot:N=!1,size:k="default",title:D,offset:L,style:B,className:j,rootClassName:z,classNames:V,styles:W,showZero:U=!1}=m,K=d(m,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:X,direction:G,badge:Y}=n.useContext(l.ConfigContext),J=X("badge",w),[ee,Q,te]=(0,c.default)(J),ne=M>A?`${A}+`:M,re=ne==="0"||ne===0,oe=M===null||re&&!U,se=(P!=null||R!=null)&&oe,ye=N&&!re,be=ye?"":ne,he=(0,t.useMemo)(()=>(be==null||be===""||re&&!U)&&!ye,[be,re,U,ye]),le=(0,t.useRef)(M);he||(le.current=M);const ve=le.current,ke=(0,t.useRef)(be);he||(ke.current=be);const Ie=ke.current,Oe=(0,t.useRef)(ye);he||(Oe.current=ye);const Pe=(0,t.useMemo)(()=>{if(!L)return Object.assign(Object.assign({},Y==null?void 0:Y.style),B);const qe={marginTop:L[1]};return G==="rtl"?qe.left=parseInt(L[0],10):qe.right=-parseInt(L[0],10),Object.assign(Object.assign(Object.assign({},qe),Y==null?void 0:Y.style),B)},[G,L,B,Y==null?void 0:Y.style]),_e=D??(typeof ve=="string"||typeof ve=="number"?ve:void 0),ce=he||!T?null:n.createElement("span",{className:`${J}-status-text`},T),Te=!ve||typeof ve!="object"?void 0:(0,a.cloneElement)(ve,qe=>({style:Object.assign(Object.assign({},Pe),qe.style)})),Ne=(0,o.isPresetColor)(R,!1),je=(0,r.default)(V==null?void 0:V.indicator,(y=Y==null?void 0:Y.classNames)===null||y===void 0?void 0:y.indicator,{[`${J}-status-dot`]:se,[`${J}-status-${P}`]:!!P,[`${J}-color-${R}`]:Ne}),He={};R&&!Ne&&(He.color=R,He.background=R);const Be=(0,r.default)(J,{[`${J}-status`]:se,[`${J}-not-a-wrapper`]:!$,[`${J}-rtl`]:G==="rtl"},j,z,Y==null?void 0:Y.className,(b=Y==null?void 0:Y.classNames)===null||b===void 0?void 0:b.root,V==null?void 0:V.root,Q,te);if(!$&&se){const qe=Pe.color;return ee(n.createElement("span",Object.assign({},K,{className:Be,style:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.root),(C=Y==null?void 0:Y.styles)===null||C===void 0?void 0:C.root),Pe)}),n.createElement("span",{className:je,style:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.indicator),(x=Y==null?void 0:Y.styles)===null||x===void 0?void 0:x.indicator),He)}),T&&n.createElement("span",{style:{color:qe},className:`${J}-status-text`},T)))}return ee(n.createElement("span",Object.assign({ref:v},K,{className:Be,style:Object.assign(Object.assign({},(S=Y==null?void 0:Y.styles)===null||S===void 0?void 0:S.root),W==null?void 0:W.root)}),$,n.createElement(i.default,{visible:!he,motionName:`${J}-zoom`,motionAppear:!1,motionDeadline:1e3},qe=>{let{className:me,ref:Ee}=qe;var $e,Le;const Fe=X("scroll-number",O),Ke=Oe.current,lt=(0,r.default)(V==null?void 0:V.indicator,($e=Y==null?void 0:Y.classNames)===null||$e===void 0?void 0:$e.indicator,{[`${J}-dot`]:Ke,[`${J}-count`]:!Ke,[`${J}-count-sm`]:k==="small",[`${J}-multiple-words`]:!Ke&&Ie&&Ie.toString().length>1,[`${J}-status-${P}`]:!!P,[`${J}-color-${R}`]:Ne});let ft=Object.assign(Object.assign(Object.assign({},W==null?void 0:W.indicator),(Le=Y==null?void 0:Y.styles)===null||Le===void 0?void 0:Le.indicator),Pe);return R&&!Ne&&(ft=ft||{},ft.background=R),n.createElement(u.default,{prefixCls:Fe,show:!he,motionClassName:me,className:lt,count:Ie,title:_e,style:ft,key:"scrollNumber",ref:Ee},Te)}),ce))},g=n.forwardRef(p);return g.Ribbon=s.default,t5.default=g,t5}var o5={},a5={},Dg={},l5={},TR={exports:{}},iG={},MR={},t4e;function nKt(){if(t4e)return MR;t4e=1,Object.defineProperty(MR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};return MR.default=e,MR}var n4e;function rKt(){return n4e||(n4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(nKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p!isNaN(parseFloat(t))&&isFinite(t);return c5.default=e,c5}var u5={},d4e;function nVe(){if(d4e)return u5;d4e=1,Object.defineProperty(u5,"__esModule",{value:!0}),u5.LayoutContext=void 0;var e=n(_);function t(r){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(t=function(a){return a?o:i})(r)}function n(r,i){if(!i&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var o=t(i);if(o&&o.has(r))return o.get(r);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in r)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s)){var u=l?Object.getOwnPropertyDescriptor(r,s):null;u&&(u.get||u.set)?Object.defineProperty(a,s,u):a[s]=r[s]}return a.default=r,o&&o.set(r,a),a}return u5.LayoutContext=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),u5}var f4e;function PF(){if(f4e)return Lg;f4e=1;var e=ze;Object.defineProperty(Lg,"__esModule",{value:!0}),Lg.default=Lg.SiderContext=void 0;var t=h(_),n=t,r=e(lKt()),i=e(sP()),o=e(Jy()),a=e(Tt()),l=e(Qr()),s=e(uKt()),u=Lt(),c=nVe();function f(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(f=function(x){return x?C:b})(y)}function h(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=f(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var d=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{let y=0;return function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return y+=1,`${b}${y}`}})(),v=n.forwardRef((y,b)=>{const{prefixCls:C,className:x,trigger:S,children:w,defaultCollapsed:O=!1,theme:$="dark",style:P={},collapsible:T=!1,reverseArrow:R=!1,width:M=200,collapsedWidth:A=80,zeroWidthTriggerStyle:N,breakpoint:k,onCollapse:D,onBreakpoint:L}=y,B=d(y,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:j}=(0,t.useContext)(c.LayoutContext),[z,V]=(0,t.useState)("collapsed"in y?y.collapsed:O),[W,U]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in y&&V(y.collapsed)},[y.collapsed]);const K=(Q,te)=>{"collapsed"in y||V(Q),D==null||D(Q,te)},X=(0,t.useRef)();X.current=Q=>{U(Q.matches),L==null||L(Q.matches),z!==Q.matches&&K(Q.matches,"responsive")},(0,t.useEffect)(()=>{function Q(ne){return X.current(ne)}let te;if(typeof window<"u"){const{matchMedia:ne}=window;if(ne&&k&&k in p){te=ne(`screen and (max-width: ${p[k]})`);try{te.addEventListener("change",Q)}catch{te.addListener(Q)}Q(te)}}return()=>{try{te==null||te.removeEventListener("change",Q)}catch{te==null||te.removeListener(Q)}}},[k]),(0,t.useEffect)(()=>{const Q=m("ant-sider-");return j.addSider(Q),()=>j.removeSider(Q)},[]);const G=()=>{K(!z,"clickTrigger")},{getPrefixCls:Y}=(0,t.useContext)(u.ConfigContext),J=()=>{const Q=Y("layout-sider",C),te=(0,l.default)(B,["collapsed"]),ne=z?A:M,re=(0,s.default)(ne)?`${ne}px`:String(ne),oe=parseFloat(String(A||0))===0?n.createElement("span",{onClick:G,className:(0,a.default)(`${Q}-zero-width-trigger`,`${Q}-zero-width-trigger-${R?"right":"left"}`),style:N},S||n.createElement(r.default,null)):null,be={expanded:R?n.createElement(o.default,null):n.createElement(i.default,null),collapsed:R?n.createElement(i.default,null):n.createElement(o.default,null)}[z?"collapsed":"expanded"],he=S!==null?oe||n.createElement("div",{className:`${Q}-trigger`,onClick:G,style:{width:re}},S||be):null,le=Object.assign(Object.assign({},P),{flex:`0 0 ${re}`,maxWidth:re,minWidth:re,width:re}),ve=(0,a.default)(Q,`${Q}-${$}`,{[`${Q}-collapsed`]:!!z,[`${Q}-has-trigger`]:T&&S!==null&&!oe,[`${Q}-below`]:!!W,[`${Q}-zero-width`]:parseFloat(re)===0},x);return n.createElement("aside",Object.assign({className:ve},te,{style:le,ref:b}),n.createElement("div",{className:`${Q}-children`},w),T||W&&oe?he:null)},ee=n.useMemo(()=>({siderCollapsed:z}),[z]);return n.createElement(g.Provider,{value:ee},J())});return Lg.default=v,Lg}var d5={},kR={exports:{}},lG={},jR={},p4e;function dKt(){if(p4e)return jR;p4e=1,Object.defineProperty(jR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};return jR.default=e,jR}var h4e;function fKt(){return h4e||(h4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(dKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:c,className:f,dashed:h}=u,d=l(u,["prefixCls","className","dashed"]),{getPrefixCls:p}=r.useContext(i.ConfigContext),g=p("menu",c),m=(0,t.default)({[`${g}-item-divider-dashed`]:!!h},f);return r.createElement(n.Divider,Object.assign({className:m},d))};return f5.default=s,f5}var p5={},h5={},v4e;function tae(){if(v4e)return h5;v4e=1,Object.defineProperty(h5,"__esModule",{value:!0}),h5.default=void 0;var e=_;const t=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});return h5.default=t,h5}var y4e;function iVe(){if(y4e)return p5;y4e=1;var e=ze;Object.defineProperty(p5,"__esModule",{value:!0}),p5.default=void 0;var t=e(Tt()),n=kC,r=e(fl()),i=e(Qr()),o=f(_),a=PF(),l=e(kc()),s=to(),u=e(tae());function c(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(c=function(m){return m?g:p})(d)}function f(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=c(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const h=d=>{var p;const{className:g,children:m,icon:v,title:y,danger:b}=d,{prefixCls:C,firstLevel:x,direction:S,disableMenuItemTitleTooltip:w,inlineCollapsed:O}=o.useContext(u.default),$=N=>{const k=o.createElement("span",{className:`${C}-title-content`},m);return(!v||(0,s.isValidElement)(m)&&m.type==="span")&&m&&N&&x&&typeof m=="string"?o.createElement("div",{className:`${C}-inline-collapsed-noicon`},m.charAt(0)):k},{siderCollapsed:P}=o.useContext(a.SiderContext);let T=y;typeof y>"u"?T=x?m:"":y===!1&&(T="");const R={title:T};!P&&!O&&(R.title=null,R.open=!1);const M=(0,r.default)(m).length;let A=o.createElement(n.Item,Object.assign({},(0,i.default)(d,["title","icon","danger"]),{className:(0,t.default)({[`${C}-item-danger`]:b,[`${C}-item-only-child`]:(v?M+1:M)===1},g),title:typeof y=="string"?y:void 0}),(0,s.cloneElement)(v,{className:(0,t.default)((0,s.isValidElement)(v)?(p=v.props)===null||p===void 0?void 0:p.className:"",`${C}-item-icon`)}),$(O));return w||(A=o.createElement(l.default,Object.assign({},R,{placement:S==="rtl"?"left":"right",overlayClassName:`${C}-inline-collapsed-tooltip`}),A)),A};return p5.default=h,p5}var g5={},b4e;function oVe(){if(b4e)return g5;b4e=1;var e=ze;Object.defineProperty(g5,"__esModule",{value:!0}),g5.default=void 0;var t=u(_),n=e(Tt()),r=kC,i=e(Qr()),o=dl(),a=to(),l=e(tae());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{var h;const{popupClassName:d,icon:p,title:g,theme:m}=f,v=t.useContext(l.default),{prefixCls:y,inlineCollapsed:b,theme:C}=v,x=(0,r.useFullPath)();let S;if(!p)S=b&&!x.length&&g&&typeof g=="string"?t.createElement("div",{className:`${y}-inline-collapsed-noicon`},g.charAt(0)):t.createElement("span",{className:`${y}-title-content`},g);else{const $=(0,a.isValidElement)(g)&&g.type==="span";S=t.createElement(t.Fragment,null,(0,a.cloneElement)(p,{className:(0,n.default)((0,a.isValidElement)(p)?(h=p.props)===null||h===void 0?void 0:h.className:"",`${y}-item-icon`)}),$?g:t.createElement("span",{className:`${y}-title-content`},g))}const w=t.useMemo(()=>Object.assign(Object.assign({},v),{firstLevel:!1}),[v]),[O]=(0,o.useZIndex)("Menu");return t.createElement(l.default.Provider,{value:w},t.createElement(r.SubMenu,Object.assign({},(0,i.default)(f,["icon"]),{title:S,popupClassName:(0,n.default)(y,d,`${y}-${m||C}`),popupStyle:{zIndex:O}})))};return g5.default=c,g5}var C4e;function pKt(){if(C4e)return DR;C4e=1;var e=ze;Object.defineProperty(DR,"__esModule",{value:!0}),DR.default=c;var t=kC,n=l(_),r=e(rVe()),i=e(iVe()),o=e(oVe());function a(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(a=function(p){return p?d:h})(f)}function l(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=a(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}var s=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);g{if(h&&typeof h=="object"){const p=h,{label:g,children:m,key:v,type:y}=p,b=s(p,["label","children","key","type"]),C=v??`tmp-${d}`;return m||y==="group"?y==="group"?n.createElement(t.ItemGroup,Object.assign({key:C},b,{title:g}),u(m)):n.createElement(o.default,Object.assign({key:C},b,{title:g}),u(m)):y==="divider"?n.createElement(r.default,Object.assign({key:C},b)):n.createElement(i.default,Object.assign({key:C},b),g)}return null}).filter(h=>h)}function c(f){return n.useMemo(()=>f&&u(f),[f])}return DR}var zg={},S4e;function nae(){if(S4e)return zg;S4e=1,Object.defineProperty(zg,"__esModule",{value:!0}),zg.default=zg.OverrideProvider=void 0;var e=i(_),t=Xy,n=ts();function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{const{children:u}=l,c=o(l,["children"]),f=e.useContext(a),h=e.useMemo(()=>Object.assign(Object.assign({},f),c),[f,c.prefixCls,c.mode,c.selectable,c.rootClassName]),d=(0,t.supportNodeRef)(u),p=(0,t.useComposeRef)(s,d?u.ref:null);return e.createElement(a.Provider,{value:h},e.createElement(n.NoCompactStyle,null,d?e.cloneElement(u,{ref:p}):u))}),zg.default=a,zg}var Bg={},m5={},x4e;function hKt(){if(x4e)return m5;x4e=1,Object.defineProperty(m5,"__esModule",{value:!0}),m5.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,motionDurationSlow:i,horizontalLineHeight:o,colorSplit:a,lineWidth:l,lineType:s,itemPaddingInline:u}=n;return{[`${r}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${(0,e.unit)(l)} ${s} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${r}-item, ${r}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:u},[`> ${r}-item:hover, + `]:{paddingInlineEnd:o.calc(o.fontSize).mul(1.5).equal()}}}},r((0,t.mergeToken)(o,{controlHeight:o.singleItemHeightLG,fontSize:o.fontSizeLG,borderRadius:o.borderRadiusLG}),"lg")]}return mR}var qx={},c3e;function kGt(){if(c3e)return qx;c3e=1,Object.defineProperty(qx,"__esModule",{value:!0}),qx.prepareComponentToken=void 0;const e=t=>{const{fontSize:n,lineHeight:r,controlHeight:i,controlPaddingHorizontal:o,zIndexPopupBase:a,colorText:l,fontWeightStrong:s,controlItemBgActive:u,controlItemBgHover:c,colorBgContainer:f,colorFillSecondary:h,controlHeightLG:d,controlHeightSM:p,colorBgContainerDisabled:g,colorTextDisabled:m}=t;return{zIndexPopup:a+50,optionSelectedColor:l,optionSelectedFontWeight:s,optionSelectedBg:u,optionActiveBg:c,optionPadding:`${(i-n*r)/2}px ${o}px`,optionFontSize:n,optionLineHeight:r,optionHeight:i,selectorBg:f,clearBg:f,singleItemHeightLG:d,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:p,multipleItemHeightLG:i,multipleSelectorBgDisabled:g,multipleItemColorDisabled:m,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(t.fontSize*1.25)}};return qx.prepareComponentToken=e,qx}var Vx={},u3e;function jGt(){if(u3e)return Vx;u3e=1,Object.defineProperty(Vx,"__esModule",{value:!0}),Vx.default=void 0;var e=Xt;const t=(u,c)=>{const{componentCls:f,antCls:h,controlOutlineWidth:d}=u;return{[`&:not(${f}-customize-input) ${f}-selector`]:{border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${c.borderColor}`,background:u.selectorBg},[`&:not(${f}-disabled):not(${f}-customize-input):not(${h}-pagination-size-changer)`]:{[`&:hover ${f}-selector`]:{borderColor:c.hoverBorderHover},[`${f}-focused& ${f}-selector`]:{borderColor:c.activeBorderColor,boxShadow:`0 0 0 ${(0,e.unit)(d)} ${c.activeShadowColor}`,outline:0}}}},n=(u,c)=>({[`&${u.componentCls}-status-${c.status}`]:Object.assign({},t(u,c))}),r=u=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},t(u,{borderColor:u.colorBorder,hoverBorderHover:u.colorPrimaryHover,activeBorderColor:u.colorPrimary,activeShadowColor:u.controlOutline})),n(u,{status:"error",borderColor:u.colorError,hoverBorderHover:u.colorErrorHover,activeBorderColor:u.colorError,activeShadowColor:u.colorErrorOutline})),n(u,{status:"warning",borderColor:u.colorWarning,hoverBorderHover:u.colorWarningHover,activeBorderColor:u.colorWarning,activeShadowColor:u.colorWarningOutline})),{[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{background:u.colorBgContainerDisabled,color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.multipleItemBg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.multipleItemBorderColor}`}})}),i=(u,c)=>{const{componentCls:f,antCls:h}=u;return{[`&:not(${f}-customize-input) ${f}-selector`]:{background:c.bg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} transparent`,color:c.color},[`&:not(${f}-disabled):not(${f}-customize-input):not(${h}-pagination-size-changer)`]:{[`&:hover ${f}-selector`]:{background:c.hoverBg},[`${f}-focused& ${f}-selector`]:{background:u.selectorBg,borderColor:c.activeBorderColor,outline:0}}}},o=(u,c)=>({[`&${u.componentCls}-status-${c.status}`]:Object.assign({},i(u,c))}),a=u=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},i(u,{bg:u.colorFillTertiary,hoverBg:u.colorFillSecondary,activeBorderColor:u.colorPrimary,color:u.colorText})),o(u,{status:"error",bg:u.colorErrorBg,hoverBg:u.colorErrorBgHover,activeBorderColor:u.colorError,color:u.colorError})),o(u,{status:"warning",bg:u.colorWarningBg,hoverBg:u.colorWarningBgHover,activeBorderColor:u.colorWarning,color:u.colorWarning})),{[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{borderColor:u.colorBorder,background:u.colorBgContainerDisabled,color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.colorBgContainer,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`}})}),l=u=>({"&-borderless":{[`${u.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${u.componentCls}-disabled`]:{[`&:not(${u.componentCls}-customize-input) ${u.componentCls}-selector`]:{color:u.colorTextDisabled}},[`&${u.componentCls}-multiple ${u.componentCls}-selection-item`]:{background:u.multipleItemBg,border:`${(0,e.unit)(u.lineWidth)} ${u.lineType} ${u.multipleItemBorderColor}`}}}),s=u=>({[u.componentCls]:Object.assign(Object.assign(Object.assign({},r(u)),a(u)),l(u))});return Vx.default=s,Vx}var d3e;function Xoe(){if(d3e)return Hx;d3e=1;var e=ze;Object.defineProperty(Hx,"__esModule",{value:!0}),Hx.default=void 0;var t=Tn(),n=IC(),r=Jt(),i=e(NGt()),o=e(Uqe()),a=e(AGt()),l=kGt(),s=e(jGt());const u=d=>{const{componentCls:p}=d;return{position:"relative",transition:`all ${d.motionDurationMid} ${d.motionEaseInOut}`,input:{cursor:"pointer"},[`${p}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${p}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},c=d=>{const{componentCls:p}=d;return{[`${p}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},f=d=>{const{antCls:p,componentCls:g,inputPaddingHorizontalBase:m,iconCls:v}=d;return{[g]:Object.assign(Object.assign({},(0,t.resetComponent)(d)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${g}-customize-input) ${g}-selector`]:Object.assign(Object.assign({},u(d)),c(d)),[`${g}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},t.textEllipsis),{[`> ${p}-typography`]:{display:"inline"}}),[`${g}-selection-placeholder`]:Object.assign(Object.assign({},t.textEllipsis),{flex:1,color:d.colorTextPlaceholder,pointerEvents:"none"}),[`${g}-arrow`]:Object.assign(Object.assign({},(0,t.resetIcon)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:m,height:d.fontSizeIcon,marginTop:d.calc(d.fontSizeIcon).mul(-1).div(2).equal(),color:d.colorTextQuaternary,fontSize:d.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${d.motionDurationSlow} ease`,[v]:{verticalAlign:"top",transition:`transform ${d.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${g}-suffix)`]:{pointerEvents:"auto"}},[`${g}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${g}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:m,zIndex:1,display:"inline-block",width:d.fontSizeIcon,height:d.fontSizeIcon,marginTop:d.calc(d.fontSizeIcon).mul(-1).div(2).equal(),color:d.colorTextQuaternary,fontSize:d.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${d.motionDurationMid} ease, opacity ${d.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:d.colorTextTertiary}},"&:hover":{[`${g}-clear`]:{opacity:1},[`${g}-arrow:not(:last-child)`]:{opacity:0}}}),[`${g}-has-feedback`]:{[`${g}-clear`]:{insetInlineEnd:d.calc(m).add(d.fontSize).add(d.paddingXS).equal()}}}},h=d=>{const{componentCls:p}=d;return[{[p]:{[`&${p}-in-form-item`]:{width:"100%"}}},f(d),(0,a.default)(d),(0,o.default)(d),(0,i.default)(d),{[`${p}-rtl`]:{direction:"rtl"}},(0,n.genCompactItemStyle)(d,{borderElCls:`${p}-selector`,focusElCls:`${p}-focused`})]};return Hx.default=(0,r.genStyleHooks)("Select",(d,p)=>{let{rootPrefixCls:g}=p;const m=(0,r.mergeToken)(d,{rootPrefixCls:g,inputPaddingHorizontalBase:d.calc(d.paddingSM).sub(1).equal(),multipleSelectItemHeight:d.multipleItemHeight,selectHeight:d.controlHeight});return[h(m),(0,s.default)(m)]},l.prepareComponentToken,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),Hx}var vR={},yR={exports:{}},eG={},bR={},f3e;function DGt(){if(f3e)return bR;f3e=1,Object.defineProperty(bR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};return bR.default=e,bR}var p3e;function LGt(){return p3e||(p3e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(DGt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;ph===null&&!y&&!S?null:t.createElement(t.Fragment,null,C!==!1&&M,y&&x);let P=null;if(h!==void 0)P=$(h);else if(m)P=$(t.createElement(a.default,{spin:!0}));else{const M=`${b}-suffix`;P=A=>{let{open:N,showSearch:j}=A;return $(N&&j?t.createElement(l.default,{className:M}):t.createElement(o.default,{className:M}))}}let T=null;p!==void 0?T=p:v?T=t.createElement(n.default,null):T=null;let R=null;return g!==void 0?R=g:R=t.createElement(i.default,null),{clearIcon:O,suffixIcon:P,itemIcon:T,removeIcon:R}}return vR}var wR={},x3e;function Yoe(){if(x3e)return wR;x3e=1,Object.defineProperty(wR,"__esModule",{value:!0}),wR.default=e;function e(t,n){return n!==void 0?n:t!==null}return wR}var _3e;function lP(){if(_3e)return kx;_3e=1;var e=ze;Object.defineProperty(kx,"__esModule",{value:!0}),kx.default=void 0;var t=w(_),n=e(Tt()),r=w(TGt),i=e(Qr()),o=dl(),a=Il(),l=e(kd()),s=jd();_n();var u=Lt(),c=e(k0()),f=e($a()),h=e(zr()),d=e(no()),p=fi(),g=e(Dh()),m=ts(),v=Jt(),y=e(Koe()),b=e(Xoe()),C=e(OF()),x=e(Yoe());function S(M){if(typeof WeakMap!="function")return null;var A=new WeakMap,N=new WeakMap;return(S=function(j){return j?N:A})(M)}function w(M,A){if(!A&&M&&M.__esModule)return M;if(M===null||typeof M!="object"&&typeof M!="function")return{default:M};var N=S(A);if(N&&N.has(M))return N.get(M);var j={__proto__:null},D=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in M)if(L!=="default"&&Object.prototype.hasOwnProperty.call(M,L)){var B=D?Object.getOwnPropertyDescriptor(M,L):null;B&&(B.get||B.set)?Object.defineProperty(j,L,B):j[L]=M[L]}return j.default=M,N&&N.set(M,j),j}var O=function(M,A){var N={};for(var j in M)Object.prototype.hasOwnProperty.call(M,j)&&A.indexOf(j)<0&&(N[j]=M[j]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,j=Object.getOwnPropertySymbols(M);D{var N;const{prefixCls:j,bordered:D,className:L,rootClassName:B,getPopupContainer:k,popupClassName:z,dropdownClassName:q,listHeight:W=256,placement:U,listItemHeight:K,size:X,disabled:G,notFoundContent:Y,status:J,builtinPlacements:ee,dropdownMatchSelectWidth:Q,popupMatchSelectWidth:te,direction:ne,style:re,allowClear:oe,variant:se,dropdownStyle:ye,transitionName:be,tagRender:he,maxCount:le}=M,ve=O(M,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:ke,getPrefixCls:Ie,renderEmpty:Oe,direction:Pe,virtual:_e,popupMatchSelectWidth:ce,popupOverflow:Te,select:Ne}=t.useContext(u.ConfigContext),[,je]=(0,v.useToken)(),He=K??(je==null?void 0:je.controlHeight),Be=Ie("select",j),qe=Ie(),me=ne??Pe,{compactSize:Ee,compactItemClassnames:$e}=(0,m.useCompactItemContext)(Be,me),[Le,Fe]=(0,g.default)(se,D),Ke=(0,h.default)(Be),[lt,ft,Ye]=(0,b.default)(Be,Ke),we=t.useMemo(()=>{const{mode:cn}=M;if(cn!=="combobox")return cn===$?"combobox":cn},[M.mode]),De=we==="multiple"||we==="tags",We=(0,x.default)(M.suffixIcon,M.showArrow),Ge=(N=te??Q)!==null&&N!==void 0?N:ce,{status:Je,hasFeedback:bt,isFormItemInput:at,feedbackIcon:et}=t.useContext(p.FormItemInputContext),rt=(0,s.getMergedStatus)(Je,J);let Ze;Y!==void 0?Ze=Y:we==="combobox"?Ze=null:Ze=(Oe==null?void 0:Oe("Select"))||t.createElement(c.default,{componentName:"Select"});const{suffixIcon:wt,itemIcon:ut,removeIcon:ot,clearIcon:dt}=(0,C.default)(Object.assign(Object.assign({},ve),{multiple:De,hasFeedback:bt,feedbackIcon:et,showSuffixIcon:We,prefixCls:Be,componentName:"Select"})),_t=oe===!0?{clearIcon:dt}:oe,Ot=(0,i.default)(ve,["suffixIcon","itemIcon"]),Ct=(0,n.default)(z||q,{[`${Be}-dropdown-${me}`]:me==="rtl"},B,Ye,Ke,ft),mt=(0,d.default)(cn=>{var Ht;return(Ht=X??Ee)!==null&&Ht!==void 0?Ht:cn}),It=t.useContext(f.default),nt=G??It,yt=(0,n.default)({[`${Be}-lg`]:mt==="large",[`${Be}-sm`]:mt==="small",[`${Be}-rtl`]:me==="rtl",[`${Be}-${Le}`]:Fe,[`${Be}-in-form-item`]:at},(0,s.getStatusClassNames)(Be,rt,bt),$e,Ne==null?void 0:Ne.className,L,B,Ye,Ke,ft),xt=t.useMemo(()=>U!==void 0?U:me==="rtl"?"bottomRight":"bottomLeft",[U,me]),[At]=(0,o.useZIndex)("SelectLike",ye==null?void 0:ye.zIndex);return lt(t.createElement(r.default,Object.assign({ref:A,virtual:_e,showSearch:Ne==null?void 0:Ne.showSearch},Ot,{style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),re),dropdownMatchSelectWidth:Ge,transitionName:(0,a.getTransitionName)(qe,"slide-up",be),builtinPlacements:(0,y.default)(ee,Te),listHeight:W,listItemHeight:He,mode:we,prefixCls:Be,placement:xt,direction:me,suffixIcon:wt,menuItemSelectedIcon:ut,removeIcon:ot,allowClear:_t,notFoundContent:Ze,className:yt,getPopupContainer:k||ke,dropdownClassName:Ct,disabled:nt,dropdownStyle:Object.assign(Object.assign({},ye),{zIndex:At}),maxCount:De?le:void 0,tagRender:De?he:void 0})))},T=t.forwardRef(P),R=(0,l.default)(T);return T.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,T.Option=r.Option,T.OptGroup=r.OptGroup,T._InternalPanelDoNotUseOrYouWillBeFired=R,kx.default=T,kx}var w3e;function WGt(){if(w3e)return Ax;w3e=1;var e=ze;Object.defineProperty(Ax,"__esModule",{value:!0}),Ax.default=void 0;var t=f(_),n=e(Tt()),r=e(fl()),i=e(Qr()),o=dl(),a=e(kd()),l=to();_n();var s=Lt(),u=e(lP());function c(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(c=function(C){return C?b:y})(v)}function f(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=c(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}const{Option:h}=u.default;function d(v){return v&&v.type&&(v.type.isSelectOption||v.type.isSelectOptGroup)}const p=(v,y)=>{var b;const{prefixCls:C,className:x,popupClassName:S,dropdownClassName:w,children:O,dataSource:$}=v,P=(0,r.default)(O);let T;P.length===1&&(0,l.isValidElement)(P[0])&&!d(P[0])&&([T]=P);const R=T?()=>T:void 0;let M;P.length&&d(P[0])?M=O:M=$?$.map(D=>{if((0,l.isValidElement)(D))return D;switch(typeof D){case"string":return t.createElement(h,{key:D,value:D},D);case"object":{const{value:L}=D;return t.createElement(h,{key:L,value:L},D.text)}default:return}}):[];const{getPrefixCls:A}=t.useContext(s.ConfigContext),N=A("select",C),[j]=(0,o.useZIndex)("SelectLike",(b=v.dropdownStyle)===null||b===void 0?void 0:b.zIndex);return t.createElement(u.default,Object.assign({ref:y,suffixIcon:null},(0,i.default)(v,["dataSource","dropdownClassName"]),{prefixCls:N,popupClassName:S||w,dropdownStyle:Object.assign(Object.assign({},v.dropdownStyle),{zIndex:j}),className:(0,n.default)(`${N}-auto-complete`,x),mode:u.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:R}),M)},g=t.forwardRef(p),m=(0,a.default)(g);return g.Option=h,g._InternalPanelDoNotUseOrYouWillBeFired=m,Ax.default=g,Ax}var rG={},Ux={},c1={},O3e;function AC(){if(O3e)return c1;O3e=1;var e=ze;Object.defineProperty(c1,"__esModule",{value:!0}),c1.default=a,c1.responsiveArray=c1.matchScreen=void 0;var t=e(_),n=Jt();const r=c1.responsiveArray=["xxl","xl","lg","md","sm","xs"],i=s=>({xs:`(max-width: ${s.screenXSMax}px)`,sm:`(min-width: ${s.screenSM}px)`,md:`(min-width: ${s.screenMD}px)`,lg:`(min-width: ${s.screenLG}px)`,xl:`(min-width: ${s.screenXL}px)`,xxl:`(min-width: ${s.screenXXL}px)`}),o=s=>{const u=s,c=[].concat(r).reverse();return c.forEach((f,h)=>{const d=f.toUpperCase(),p=`screen${d}Min`,g=`screen${d}`;if(!(u[p]<=u[g]))throw new Error(`${p}<=${g} fails : !(${u[p]}<=${u[g]})`);if(h{const c=new Map;let f=-1,h={};return{matchHandlers:{},dispatch(d){return h=d,c.forEach(p=>p(h)),c.size>=1},subscribe(d){return c.size||this.register(),f+=1,c.set(f,d),d(h),f},unsubscribe(d){c.delete(d),c.size||this.unregister()},unregister(){Object.keys(u).forEach(d=>{const p=u[d],g=this.matchHandlers[p];g==null||g.mql.removeListener(g==null?void 0:g.listener)}),c.clear()},register(){Object.keys(u).forEach(d=>{const p=u[d],g=v=>{let{matches:y}=v;this.dispatch(Object.assign(Object.assign({},h),{[d]:y}))},m=window.matchMedia(p);m.addListener(g),this.matchHandlers[p]={mql:m,listener:g},g(m)})},responsiveMap:u}},[s])}const l=(s,u)=>{if(u&&typeof u=="object")for(let c=0;co+1,0);return i}return OR}var $3e;function Zy(){if($3e)return Gx;$3e=1;var e=ze;Object.defineProperty(Gx,"__esModule",{value:!0}),Gx.default=void 0;var t=_,n=e(oP()),r=e(EF()),i=e(AC());function o(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,t.useRef)({}),s=(0,r.default)(),u=(0,i.default)();return(0,n.default)(()=>{const c=u.subscribe(f=>{l.current=f,a&&s()});return()=>u.unsubscribe(c)},[]),l.current}return Gx.default=o,Gx}var Kx={},P3e;function Gqe(){if(P3e)return Kx;P3e=1,Object.defineProperty(Kx,"__esModule",{value:!0}),Kx.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=e.createContext({});return Kx.default=r,Kx}var Rg={},T3e;function Kqe(){if(T3e)return Rg;T3e=1,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.prepareComponentToken=Rg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{antCls:l,componentCls:s,iconCls:u,avatarBg:c,avatarColor:f,containerSize:h,containerSizeLG:d,containerSizeSM:p,textFontSize:g,textFontSizeLG:m,textFontSizeSM:v,borderRadius:y,borderRadiusLG:b,borderRadiusSM:C,lineWidth:x,lineType:S}=a,w=(O,$,P)=>({width:O,height:O,borderRadius:"50%",[`&${s}-square`]:{borderRadius:P},[`&${s}-icon`]:{fontSize:$,[`> ${u}`]:{margin:0}}});return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:f,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:c,border:`${(0,e.unit)(x)} ${S} transparent`,"&-image":{background:"transparent"},[`${l}-image-img`]:{display:"block"}}),w(h,g,y)),{"&-lg":Object.assign({},w(d,m,b)),"&-sm":Object.assign({},w(p,v,C)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},i=a=>{const{componentCls:l,groupBorderColor:s,groupOverlapping:u,groupSpace:c}=a;return{[`${l}-group`]:{display:"inline-flex",[`${l}`]:{borderColor:s},"> *:not(:first-child)":{marginInlineStart:u}},[`${l}-group-popover`]:{[`${l} + ${l}`]:{marginInlineStart:c}}}},o=a=>{const{controlHeight:l,controlHeightLG:s,controlHeightSM:u,fontSize:c,fontSizeLG:f,fontSizeXL:h,fontSizeHeading3:d,marginXS:p,marginXXS:g,colorBorderBg:m}=a;return{containerSize:l,containerSizeLG:s,containerSizeSM:u,textFontSize:Math.round((f+h)/2),textFontSizeLG:d,textFontSizeSM:c,groupSpace:g,groupOverlapping:-p,groupBorderColor:m}};return Rg.prepareComponentToken=o,Rg.default=(0,n.genStyleHooks)("Avatar",a=>{const{colorTextLightSolid:l,colorTextPlaceholder:s}=a,u=(0,n.mergeToken)(a,{avatarBg:s,avatarColor:l});return[r(u),i(u)]},o),Rg}var M3e;function Xqe(){if(M3e)return Ux;M3e=1;var e=ze;Object.defineProperty(Ux,"__esModule",{value:!0}),Ux.default=void 0;var t=d(_),n=e(Tt()),r=e(Poe),i=Nc(),o=AC();_n();var a=Lt(),l=e(no()),s=e(Zy()),u=e(Gqe()),c=e(Kqe()),f=e(zr());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const[b,C]=t.useState(1),[x,S]=t.useState(!1),[w,O]=t.useState(!0),$=t.useRef(null),P=t.useRef(null),T=(0,i.composeRef)(y,$),{getPrefixCls:R,avatar:M}=t.useContext(a.ConfigContext),A=t.useContext(u.default),N=()=>{if(!P.current||!$.current)return;const Pe=P.current.offsetWidth,_e=$.current.offsetWidth;if(Pe!==0&&_e!==0){const{gap:ce=4}=v;ce*2<_e&&C(_e-ce*2{S(!0)},[]),t.useEffect(()=>{O(!0),C(1)},[v.src]),t.useEffect(N,[v.gap]);const j=()=>{const{onError:Pe}=v;(Pe==null?void 0:Pe())!==!1&&O(!1)},{prefixCls:D,shape:L,size:B,src:k,srcSet:z,icon:q,className:W,rootClassName:U,alt:K,draggable:X,children:G,crossOrigin:Y}=v,J=p(v,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),ee=(0,l.default)(Pe=>{var _e,ce;return(ce=(_e=B??(A==null?void 0:A.size))!==null&&_e!==void 0?_e:Pe)!==null&&ce!==void 0?ce:"default"}),Q=Object.keys(typeof ee=="object"?ee||{}:{}).some(Pe=>["xs","sm","md","lg","xl","xxl"].includes(Pe)),te=(0,s.default)(Q),ne=t.useMemo(()=>{if(typeof ee!="object")return{};const Pe=o.responsiveArray.find(ce=>te[ce]),_e=ee[Pe];return _e?{width:_e,height:_e,fontSize:_e&&(q||G)?_e/2:18}:{}},[te,ee]),re=R("avatar",D),oe=(0,f.default)(re),[se,ye,be]=(0,c.default)(re,oe),he=(0,n.default)({[`${re}-lg`]:ee==="large",[`${re}-sm`]:ee==="small"}),le=t.isValidElement(k),ve=L||(A==null?void 0:A.shape)||"circle",ke=(0,n.default)(re,he,M==null?void 0:M.className,`${re}-${ve}`,{[`${re}-image`]:le||k&&w,[`${re}-icon`]:!!q},be,oe,W,U,ye),Ie=typeof ee=="number"?{width:ee,height:ee,fontSize:q?ee/2:18}:{};let Oe;if(typeof k=="string"&&w)Oe=t.createElement("img",{src:k,draggable:X,srcSet:z,onError:j,alt:K,crossOrigin:Y});else if(le)Oe=k;else if(q)Oe=q;else if(x||b!==1){const Pe=`scale(${b})`,_e={msTransform:Pe,WebkitTransform:Pe,transform:Pe};Oe=t.createElement(r.default,{onResize:N},t.createElement("span",{className:`${re}-string`,ref:P,style:Object.assign({},_e)},G))}else Oe=t.createElement("span",{className:`${re}-string`,style:{opacity:0},ref:P},G);return delete J.onError,delete J.gap,se(t.createElement("span",Object.assign({},J,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Ie),ne),M==null?void 0:M.style),J.style),className:ke,ref:T}),Oe))},m=t.forwardRef(g);return Ux.default=m,Ux}var Xx={},Yx={},Zx={},R3e;function Zoe(){if(R3e)return Zx;R3e=1,Object.defineProperty(Zx,"__esModule",{value:!0}),Zx.getRenderPropValue=void 0;const e=t=>t?typeof t=="function"?t():t:null;return Zx.getRenderPropValue=e,Zx}var Qx={};const Qoe=gr(x3t);var Jx={},Ig={},a2={},I3e;function Qy(){if(I3e)return a2;I3e=1,Object.defineProperty(a2,"__esModule",{value:!0}),a2.genRoundedArrow=void 0,a2.getArrowToken=t;var e=Xt;function t(r){const{sizePopupArrow:i,borderRadiusXS:o,borderRadiusOuter:a}=r,l=i/2,s=0,u=l,c=a*1/Math.sqrt(2),f=l-a*(1-1/Math.sqrt(2)),h=l-o*(1/Math.sqrt(2)),d=a*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),p=2*l-h,g=d,m=2*l-c,v=f,y=2*l-s,b=u,C=l*Math.sqrt(2)+a*(Math.sqrt(2)-2),x=a*(Math.sqrt(2)-1),S=`polygon(${x}px 100%, 50% ${x}px, ${2*l-x}px 100%, ${x}px 100%)`,w=`path('M ${s} ${u} A ${a} ${a} 0 0 0 ${c} ${f} L ${h} ${d} A ${o} ${o} 0 0 1 ${p} ${g} L ${m} ${v} A ${a} ${a} 0 0 0 ${y} ${b} Z')`;return{arrowShadowWidth:C,arrowPath:w,arrowPolygon:S}}const n=(r,i,o)=>{const{sizePopupArrow:a,arrowPolygon:l,arrowPath:s,arrowShadowWidth:u,borderRadiusXS:c,calc:f}=r;return{pointerEvents:"none",width:a,height:a,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:a,height:f(a).div(2).equal(),background:i,clipPath:{_multi_value_:!0,value:[l,s]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(c)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}};return a2.genRoundedArrow=n,a2}var N3e;function sP(){if(N3e)return Ig;N3e=1,Object.defineProperty(Ig,"__esModule",{value:!0}),Ig.MAX_VERTICAL_CONTENT_RADIUS=void 0,Ig.default=i,Ig.getArrowOffsetToken=n;var e=Qy();const t=Ig.MAX_VERTICAL_CONTENT_RADIUS=8;function n(o){const{contentRadius:a,limitVerticalRadius:l}=o,s=a>12?a+2:12;return{arrowOffsetHorizontal:s,arrowOffsetVertical:l?t:s}}function r(o,a){return o?a:{}}function i(o,a,l){const{componentCls:s,boxShadowPopoverArrow:u,arrowOffsetVertical:c,arrowOffsetHorizontal:f}=o,{arrowDistance:h=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=l||{};return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({[`${s}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,e.genRoundedArrow)(o,a,u)),{"&:before":{background:a}})]},r(!!d.top,{[[`&-placement-top > ${s}-arrow`,`&-placement-topLeft > ${s}-arrow`,`&-placement-topRight > ${s}-arrow`].join(",")]:{bottom:h,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${s}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${s}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-topRight > ${s}-arrow`]:{right:{_skip_check_:!0,value:f}}})),r(!!d.bottom,{[[`&-placement-bottom > ${s}-arrow`,`&-placement-bottomLeft > ${s}-arrow`,`&-placement-bottomRight > ${s}-arrow`].join(",")]:{top:h,transform:"translateY(-100%)"},[`&-placement-bottom > ${s}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${s}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-bottomRight > ${s}-arrow`]:{right:{_skip_check_:!0,value:f}}})),r(!!d.left,{[[`&-placement-left > ${s}-arrow`,`&-placement-leftTop > ${s}-arrow`,`&-placement-leftBottom > ${s}-arrow`].join(",")]:{right:{_skip_check_:!0,value:h},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${s}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${s}-arrow`]:{top:c},[`&-placement-leftBottom > ${s}-arrow`]:{bottom:c}})),r(!!d.right,{[[`&-placement-right > ${s}-arrow`,`&-placement-rightTop > ${s}-arrow`,`&-placement-rightBottom > ${s}-arrow`].join(",")]:{left:{_skip_check_:!0,value:h},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${s}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${s}-arrow`]:{top:c},[`&-placement-rightBottom > ${s}-arrow`]:{bottom:c}}))}}return Ig}var A3e;function Joe(){if(A3e)return Jx;A3e=1,Object.defineProperty(Jx,"__esModule",{value:!0}),Jx.default=o,Jx.getOverflowOptions=t;var e=sP();function t(a,l,s,u){if(u===!1)return{adjustX:!1,adjustY:!1};const c=u&&typeof u=="object"?u:{},f={};switch(a){case"top":case"bottom":f.shiftX=l.arrowOffsetHorizontal*2+s,f.shiftY=!0,f.adjustY=!0;break;case"left":case"right":f.shiftY=l.arrowOffsetVertical*2+s,f.shiftX=!0,f.adjustX=!0;break}const h=Object.assign(Object.assign({},f),c);return h.shiftX||(h.adjustX=!0),h.shiftY||(h.adjustY=!0),h}const n={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},r={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},i=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function o(a){const{arrowWidth:l,autoAdjustOverflow:s,arrowPointAtCenter:u,offset:c,borderRadius:f,visibleFirst:h}=a,d=l/2,p={};return Object.keys(n).forEach(g=>{const m=u&&r[g]||n[g],v=Object.assign(Object.assign({},m),{offset:[0,0],dynamicInset:!0});switch(p[g]=v,i.has(g)&&(v.autoArrow=!1),g){case"top":case"topLeft":case"topRight":v.offset[1]=-d-c;break;case"bottom":case"bottomLeft":case"bottomRight":v.offset[1]=d+c;break;case"left":case"leftTop":case"leftBottom":v.offset[0]=-d-c;break;case"right":case"rightTop":case"rightBottom":v.offset[0]=d+c;break}const y=(0,e.getArrowOffsetToken)({contentRadius:f,limitVerticalRadius:!0});if(u)switch(g){case"topLeft":case"bottomLeft":v.offset[0]=-y.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":v.offset[0]=y.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":v.offset[1]=-y.arrowOffsetHorizontal-d;break;case"leftBottom":case"rightBottom":v.offset[1]=y.arrowOffsetHorizontal+d;break}v.overflow=t(g,y,l,s),h&&(v.htmlRegion="visibleFirst")}),p}return Jx}var e5={},Ng={},k3e;function Yqe(){if(k3e)return Ng;k3e=1,Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.prepareComponentToken=Ng.default=void 0;var e=Tn(),t=Bs(),n=l(sP()),r=Jt(),i=Xt,o=Qy();function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const s=c=>{const{componentCls:f,tooltipMaxWidth:h,tooltipColor:d,tooltipBg:p,tooltipBorderRadius:g,zIndexPopup:m,controlHeight:v,boxShadowSecondary:y,paddingSM:b,paddingXS:C}=c;return[{[f]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(c)),{position:"absolute",zIndex:m,display:"block",width:"max-content",maxWidth:h,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":p,[`${f}-inner`]:{minWidth:v,minHeight:v,padding:`${(0,i.unit)(c.calc(b).div(2).equal())} ${(0,i.unit)(C)}`,color:d,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:p,borderRadius:g,boxShadow:y,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${f}-inner`]:{borderRadius:c.min(g,n.MAX_VERTICAL_CONTENT_RADIUS)}},[`${f}-content`]:{position:"relative"}}),(0,r.genPresetColor)(c,(x,S)=>{let{darkColor:w}=S;return{[`&${f}-${x}`]:{[`${f}-inner`]:{backgroundColor:w},[`${f}-arrow`]:{"--antd-arrow-background-color":w}}}})),{"&-rtl":{direction:"rtl"}})},(0,n.default)(c,"var(--antd-arrow-background-color)"),{[`${f}-pure`]:{position:"relative",maxWidth:"none",margin:c.sizePopupArrow}}]},u=c=>Object.assign(Object.assign({zIndexPopup:c.zIndexPopupBase+70},(0,n.getArrowOffsetToken)({contentRadius:c.borderRadius,limitVerticalRadius:!0})),(0,o.getArrowToken)((0,r.mergeToken)(c,{borderRadiusOuter:Math.min(c.borderRadiusOuter,4)})));return Ng.prepareComponentToken=u,Ng.default=function(f){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,r.genStyleHooks)("Tooltip",p=>{const{borderRadius:g,colorTextLightSolid:m,colorBgSpotlight:v}=p,y=(0,r.mergeToken)(p,{tooltipMaxWidth:250,tooltipColor:m,tooltipBorderRadius:g,tooltipBg:v});return[s(y),(0,t.initZoomMotion)(p,"zoom-big-fast")]},u,{resetStyle:!1,injectStyle:h})(f)},Ng}var ER={},Ag={},j3e;function $F(){if(j3e)return Ag;j3e=1;var e=ze;Object.defineProperty(Ag,"__esModule",{value:!0}),Ag.PresetStatusColorTypes=void 0,Ag.isPresetColor=o,Ag.isPresetStatusColor=a;var t=e(qr()),n=Doe();const r=n.PresetColors.map(l=>`${l}-inverse`),i=Ag.PresetStatusColorTypes=["success","processing","error","default","warning"];function o(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,t.default)(r),(0,t.default)(n.PresetColors)).includes(l):n.PresetColors.includes(l)}function a(l){return i.includes(l)}return Ag}var D3e;function Zqe(){if(D3e)return ER;D3e=1;var e=ze;Object.defineProperty(ER,"__esModule",{value:!0}),ER.parseColor=r;var t=e(Tt()),n=$F();function r(i,o){const a=(0,n.isPresetColor)(o),l=(0,t.default)({[`${i}-${o}`]:o&&a}),s={},u={};return o&&!a&&(s.background=o,u["--antd-arrow-background-color"]=o),{className:l,overlayStyle:s,arrowStyle:u}}return ER}var L3e;function qGt(){if(L3e)return e5;L3e=1;var e=ze;Object.defineProperty(e5,"__esModule",{value:!0}),e5.default=void 0;var t=e(Tt()),n=Qoe,r=s(_),i=Lt(),o=e(Yqe()),a=Zqe();function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,placement:d="top",title:p,color:g,overlayInnerStyle:m}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("tooltip",f),[b,C,x]=(0,o.default)(y),S=(0,a.parseColor)(y,g),w=S.arrowStyle,O=Object.assign(Object.assign({},m),S.overlayStyle),$=(0,t.default)(C,x,y,`${y}-pure`,`${y}-placement-${d}`,h,S.className);return b(r.createElement("div",{className:$,style:w},r.createElement("div",{className:`${y}-arrow`}),r.createElement(n.Popup,Object.assign({},c,{className:C,prefixCls:y,overlayInnerStyle:O}),p)))};return e5.default=u,e5}var z3e;function kc(){if(z3e)return Qx;z3e=1;var e=ze;Object.defineProperty(Qx,"__esModule",{value:!0}),Qx.default=void 0;var t=y(_),n=e(Tt()),r=e(Qoe),i=e(ns()),o=dl(),a=Il(),l=e(Joe()),s=to(),u=_n(),c=e(RC()),f=Lt(),h=ts(),d=Jt(),p=e(qGt()),g=e(Yqe()),m=Zqe();function v(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(v=function(O){return O?w:S})(x)}function y(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=v(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var b=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${var w,O;const{prefixCls:$,openClassName:P,getTooltipContainer:T,overlayClassName:R,color:M,overlayInnerStyle:A,children:N,afterOpenChange:j,afterVisibleChange:D,destroyTooltipOnHide:L,arrow:B=!0,title:k,overlay:z,builtinPlacements:q,arrowPointAtCenter:W=!1,autoAdjustOverflow:U=!0}=x,K=!!B,[,X]=(0,d.useToken)(),{getPopupContainer:G,getPrefixCls:Y,direction:J}=t.useContext(f.ConfigContext),ee=(0,u.devUseWarning)("Tooltip"),Q=t.useRef(null),te=()=>{var De;(De=Q.current)===null||De===void 0||De.forceAlign()};t.useImperativeHandle(S,()=>({forceAlign:te,forcePopupAlign:()=>{ee.deprecated(!1,"forcePopupAlign","forceAlign"),te()}}));const[ne,re]=(0,i.default)(!1,{value:(w=x.open)!==null&&w!==void 0?w:x.visible,defaultValue:(O=x.defaultOpen)!==null&&O!==void 0?O:x.defaultVisible}),oe=!k&&!z&&k!==0,se=De=>{var We,Ge;re(oe?!1:De),oe||((We=x.onOpenChange)===null||We===void 0||We.call(x,De),(Ge=x.onVisibleChange)===null||Ge===void 0||Ge.call(x,De))},ye=t.useMemo(()=>{var De,We;let Ge=W;return typeof B=="object"&&(Ge=(We=(De=B.pointAtCenter)!==null&&De!==void 0?De:B.arrowPointAtCenter)!==null&&We!==void 0?We:W),q||(0,l.default)({arrowPointAtCenter:Ge,autoAdjustOverflow:U,arrowWidth:K?X.sizePopupArrow:0,borderRadius:X.borderRadius,offset:X.marginXXS,visibleFirst:!0})},[W,B,q,X]),be=t.useMemo(()=>k===0?k:z||k||"",[z,k]),he=t.createElement(h.NoCompactStyle,null,typeof be=="function"?be():be),{getPopupContainer:le,placement:ve="top",mouseEnterDelay:ke=.1,mouseLeaveDelay:Ie=.1,overlayStyle:Oe,rootClassName:Pe}=x,_e=b(x,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ce=Y("tooltip",$),Te=Y(),Ne=x["data-popover-inject"];let je=ne;!("open"in x)&&!("visible"in x)&&oe&&(je=!1);const He=(0,s.isValidElement)(N)&&!(0,s.isFragment)(N)?N:t.createElement("span",null,N),Be=He.props,qe=!Be.className||typeof Be.className=="string"?(0,n.default)(Be.className,P||`${ce}-open`):Be.className,[me,Ee,$e]=(0,g.default)(ce,!Ne),Le=(0,m.parseColor)(ce,M),Fe=Le.arrowStyle,Ke=Object.assign(Object.assign({},A),Le.overlayStyle),lt=(0,n.default)(R,{[`${ce}-rtl`]:J==="rtl"},Le.className,Pe,Ee,$e),[ft,Ye]=(0,o.useZIndex)("Tooltip",_e.zIndex),we=t.createElement(r.default,Object.assign({},_e,{zIndex:ft,showArrow:K,placement:ve,mouseEnterDelay:ke,mouseLeaveDelay:Ie,prefixCls:ce,overlayClassName:lt,overlayStyle:Object.assign(Object.assign({},Fe),Oe),getTooltipContainer:le||T||G,ref:Q,builtinPlacements:ye,overlay:he,visible:je,onVisibleChange:se,afterVisibleChange:j??D,overlayInnerStyle:Ke,arrowContent:t.createElement("span",{className:`${ce}-arrow-content`}),motion:{motionName:(0,a.getTransitionName)(Te,"zoom-big-fast",x.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!L}),je?(0,s.cloneElement)(He,{className:qe}):He);return me(t.createElement(c.default.Provider,{value:Ye},we))});return C._InternalPanelDoNotUseOrYouWillBeFired=p.default,Qx.default=C,Qx}var cp={},kg={},B3e;function Qqe(){if(B3e)return kg;B3e=1,Object.defineProperty(kg,"__esModule",{value:!0}),kg.prepareComponentToken=kg.default=void 0;var e=Tn(),t=Bs(),n=a(sP()),r=Jt(),i=Qy();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const l=c=>{const{componentCls:f,popoverColor:h,titleMinWidth:d,fontWeightStrong:p,innerPadding:g,boxShadowSecondary:m,colorTextHeading:v,borderRadiusLG:y,zIndexPopup:b,titleMarginBottom:C,colorBgElevated:x,popoverBg:S,titleBorderBottom:w,innerContentPadding:O,titlePadding:$}=c;return[{[f]:Object.assign(Object.assign({},(0,e.resetComponent)(c)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:b,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":x,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${f}-content`]:{position:"relative"},[`${f}-inner`]:{backgroundColor:S,backgroundClip:"padding-box",borderRadius:y,boxShadow:m,padding:g},[`${f}-title`]:{minWidth:d,marginBottom:C,color:v,fontWeight:p,borderBottom:w,padding:$},[`${f}-inner-content`]:{color:h,padding:O}})},(0,n.default)(c,"var(--antd-arrow-background-color)"),{[`${f}-pure`]:{position:"relative",maxWidth:"none",margin:c.sizePopupArrow,display:"inline-block",[`${f}-content`]:{display:"inline-block"}}}]},s=c=>{const{componentCls:f}=c;return{[f]:r.PresetColors.map(h=>{const d=c[`${h}6`];return{[`&${f}-${h}`]:{"--antd-arrow-background-color":d,[`${f}-inner`]:{backgroundColor:d},[`${f}-arrow`]:{background:"transparent"}}}})}},u=c=>{const{lineWidth:f,controlHeight:h,fontHeight:d,padding:p,wireframe:g,zIndexPopupBase:m,borderRadiusLG:v,marginXS:y,lineType:b,colorSplit:C,paddingSM:x}=c,S=h-d,w=S/2,O=S/2-f,$=p;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:m+30},(0,i.getArrowToken)(c)),(0,n.getArrowOffsetToken)({contentRadius:v,limitVerticalRadius:!0})),{innerPadding:g?0:12,titleMarginBottom:g?0:y,titlePadding:g?`${w}px ${$}px ${O}px`:0,titleBorderBottom:g?`${f}px ${b} ${C}`:"none",innerContentPadding:g?`${x}px ${$}px`:0})};return kg.prepareComponentToken=u,kg.default=(0,r.genStyleHooks)("Popover",c=>{const{colorBgElevated:f,colorText:h}=c,d=(0,r.mergeToken)(c,{popoverBg:f,popoverColor:h});return[l(d),s(d),(0,t.initZoomMotion)(d,"zoom-big")]},u,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]}),kg}var F3e;function eae(){if(F3e)return cp;F3e=1;var e=ze;Object.defineProperty(cp,"__esModule",{value:!0}),cp.getOverlay=cp.default=cp.RawPurePanel=void 0;var t=s(_),n=e(Tt()),r=Qoe,i=Zoe(),o=Lt(),a=e(Qqe());function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v!p&&!g?null:t.createElement(t.Fragment,null,p&&t.createElement("div",{className:`${d}-title`},(0,i.getRenderPropValue)(p)),t.createElement("div",{className:`${d}-inner-content`},(0,i.getRenderPropValue)(g)));cp.getOverlay=c;const f=d=>{const{hashId:p,prefixCls:g,className:m,style:v,placement:y="top",title:b,content:C,children:x}=d;return t.createElement("div",{className:(0,n.default)(p,g,`${g}-pure`,`${g}-placement-${y}`,m),style:v},t.createElement("div",{className:`${g}-arrow`}),t.createElement(r.Popup,Object.assign({},d,{className:p,prefixCls:g}),x||c(g,b,C)))};cp.RawPurePanel=f;const h=d=>{const{prefixCls:p,className:g}=d,m=u(d,["prefixCls","className"]),{getPrefixCls:v}=t.useContext(o.ConfigContext),y=v("popover",p),[b,C,x]=(0,a.default)(y);return b(t.createElement(f,Object.assign({},m,{prefixCls:y,hashId:C,className:(0,n.default)(g,x)})))};return cp.default=h,cp}var H3e;function PF(){if(H3e)return Yx;H3e=1;var e=ze;Object.defineProperty(Yx,"__esModule",{value:!0}),Yx.default=void 0;var t=c(_),n=e(Tt()),r=Zoe(),i=Il(),o=Lt(),a=e(kc()),l=e(eae()),s=e(Qqe());function u(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(u=function(v){return v?m:g})(p)}function c(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=u(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var f=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{let{title:g,content:m,prefixCls:v}=p;return t.createElement(t.Fragment,null,g&&t.createElement("div",{className:`${v}-title`},(0,r.getRenderPropValue)(g)),t.createElement("div",{className:`${v}-inner-content`},(0,r.getRenderPropValue)(m)))},d=t.forwardRef((p,g)=>{const{prefixCls:m,title:v,content:y,overlayClassName:b,placement:C="top",trigger:x="hover",mouseEnterDelay:S=.1,mouseLeaveDelay:w=.1,overlayStyle:O={}}=p,$=f(p,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:P}=t.useContext(o.ConfigContext),T=P("popover",m),[R,M,A]=(0,s.default)(T),N=P(),j=(0,n.default)(b,M,A);return R(t.createElement(a.default,Object.assign({placement:C,trigger:x,mouseEnterDelay:S,mouseLeaveDelay:w,overlayStyle:O},$,{prefixCls:T,overlayClassName:j,ref:g,overlay:v||y?t.createElement(h,{prefixCls:T,title:v,content:y}):null,transitionName:(0,i.getTransitionName)(N,"zoom-big",$.transitionName),"data-popover-inject":!0})))});return d._InternalPanelDoNotUseOrYouWillBeFired=l.default,Yx.default=d,Yx}var W3e;function VGt(){if(W3e)return Xx;W3e=1;var e=ze;Object.defineProperty(Xx,"__esModule",{value:!0}),Xx.default=void 0;var t=e(Tt()),n=e(fl()),r=h(_),i=Lt(),o=e(PF()),a=to(),l=e(Xqe()),s=e(Gqe()),u=e(Kqe()),c=e(zr());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const d=g=>{const{size:m,shape:v}=r.useContext(s.default),y=r.useMemo(()=>({size:g.size||m,shape:g.shape||v}),[g.size,g.shape,m,v]);return r.createElement(s.default.Provider,{value:y},g.children)},p=g=>{const{getPrefixCls:m,direction:v}=r.useContext(i.ConfigContext),{prefixCls:y,className:b,rootClassName:C,style:x,maxCount:S,maxStyle:w,size:O,shape:$,maxPopoverPlacement:P="top",maxPopoverTrigger:T="hover",children:R}=g,M=m("avatar",y),A=`${M}-group`,N=(0,c.default)(M),[j,D,L]=(0,u.default)(M,N),B=(0,t.default)(A,{[`${A}-rtl`]:v==="rtl"},L,N,b,C,D),k=(0,n.default)(R).map((q,W)=>(0,a.cloneElement)(q,{key:`avatar-key-${W}`})),z=k.length;if(S&&S{const{componentCls:l,backTopFontSize:s,backTopSize:u,zIndexPopup:c}=a;return{[l]:Object.assign(Object.assign({},(0,t.resetComponent)(a)),{position:"fixed",insetInlineEnd:a.backTopInlineEnd,insetBlockEnd:a.backTopBlockEnd,zIndex:c,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${l}-content`]:{width:u,height:u,overflow:"hidden",color:a.backTopColor,textAlign:"center",backgroundColor:a.backTopBackground,borderRadius:u,transition:`all ${a.motionDurationMid}`,"&:hover":{backgroundColor:a.backTopHoverBackground,transition:`all ${a.motionDurationMid}`}},[`${l}-icon`]:{fontSize:s,lineHeight:(0,e.unit)(u)}})}},i=a=>{const{componentCls:l,screenMD:s,screenXS:u,backTopInlineEndMD:c,backTopInlineEndXS:f}=a;return{[`@media (max-width: ${(0,e.unit)(s)})`]:{[l]:{insetInlineEnd:c}},[`@media (max-width: ${(0,e.unit)(u)})`]:{[l]:{insetInlineEnd:f}}}},o=a=>({zIndexPopup:a.zIndexBase+10});return jg.prepareComponentToken=o,jg.default=(0,n.genStyleHooks)("BackTop",a=>{const{fontSizeHeading3:l,colorTextDescription:s,colorTextLightSolid:u,colorText:c,controlHeightLG:f,calc:h}=a,d=(0,n.mergeToken)(a,{backTopBackground:s,backTopColor:u,backTopHoverBackground:c,backTopFontSize:l,backTopSize:f,backTopBlockEnd:h(f).mul(1.25).equal(),backTopInlineEnd:h(f).mul(2.5).equal(),backTopInlineEndMD:h(f).mul(1.5).equal(),backTopInlineEndXS:h(f).mul(.5).equal()});return[r(d),i(d)]},o),jg}var X3e;function YGt(){if(X3e)return t5;X3e=1;var e=ze;Object.defineProperty(t5,"__esModule",{value:!0}),t5.default=void 0;var t=d(_),n=e(Jqe()),r=e(Tt()),i=e(Ad),o=e(Qr()),a=e(mF()),l=to(),s=e(vF()),u=e(Moe());_n();var c=Lt(),f=e(XGt());function h(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(h=function(y){return y?v:m})(g)}function d(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=h(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const p=g=>{const{prefixCls:m,className:v,rootClassName:y,visibilityHeight:b=400,target:C,onClick:x,duration:S=450}=g,[w,O]=t.useState(b===0),$=t.useRef(null),P=()=>$.current&&$.current.ownerDocument?$.current.ownerDocument:window,T=(0,u.default)(W=>{const U=(0,a.default)(W.target,!0);O(U>=b)});t.useEffect(()=>{const U=(C||P)();return T({target:U}),U==null||U.addEventListener("scroll",T),()=>{T.cancel(),U==null||U.removeEventListener("scroll",T)}},[C]);const R=W=>{(0,s.default)(0,{getContainer:C||P,duration:S}),x==null||x(W)},{getPrefixCls:M,direction:A}=t.useContext(c.ConfigContext),N=M("back-top",m),j=M(),[D,L,B]=(0,f.default)(N),k=(0,r.default)(L,B,N,{[`${N}-rtl`]:A==="rtl"},v,y),z=(0,o.default)(g,["prefixCls","className","rootClassName","children","visibilityHeight","target"]),q=t.createElement("div",{className:`${N}-content`},t.createElement("div",{className:`${N}-icon`},t.createElement(n.default,null)));return D(t.createElement("div",Object.assign({},z,{className:k,onClick:R,ref:$}),t.createElement(i.default,{visible:w,motionName:`${j}-fade`},W=>{let{className:U}=W;return(0,l.cloneElement)(g.children||q,K=>{let{className:X}=K;return{className:(0,r.default)(U,X)}})})))};return t5.default=p,t5}var n5={},r5={},i5={},up={},Y3e;function eVe(){if(Y3e)return up;Y3e=1,Object.defineProperty(up,"__esModule",{value:!0}),up.prepareToken=up.prepareComponentToken=up.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=new e.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),i=new e.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),o=new e.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),a=new e.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),l=new e.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),s=new e.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),u=h=>{const{componentCls:d,iconCls:p,antCls:g,badgeShadowSize:m,motionDurationSlow:v,textFontSize:y,textFontSizeSM:b,statusSize:C,dotSize:x,textFontWeight:S,indicatorHeight:w,indicatorHeightSM:O,marginXS:$,calc:P}=h,T=`${g}-scroll-number`,R=(0,n.genPresetColor)(h,(M,A)=>{let{darkColor:N}=A;return{[`&${d} ${d}-color-${M}`]:{background:N,[`&:not(${d}-count)`]:{color:N}}}});return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${d}-count`]:{zIndex:h.indicatorZIndex,minWidth:w,height:w,color:h.badgeTextColor,fontWeight:S,fontSize:y,lineHeight:(0,e.unit)(w),whiteSpace:"nowrap",textAlign:"center",background:h.badgeColor,borderRadius:P(w).div(2).equal(),boxShadow:`0 0 0 ${(0,e.unit)(m)} ${h.badgeShadowColor}`,transition:`background ${h.motionDurationMid}`,a:{color:h.badgeTextColor},"a:hover":{color:h.badgeTextColor},"a:hover &":{background:h.badgeColorHover}},[`${d}-count-sm`]:{minWidth:O,height:O,fontSize:b,lineHeight:(0,e.unit)(O),borderRadius:P(O).div(2).equal()},[`${d}-multiple-words`]:{padding:`0 ${(0,e.unit)(h.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${d}-dot`]:{zIndex:h.indicatorZIndex,width:x,minWidth:x,height:x,background:h.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,e.unit)(m)} ${h.badgeShadowColor}`},[`${d}-dot${T}`]:{transition:`background ${v}`},[`${d}-count, ${d}-dot, ${T}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${p}-spin`]:{animationName:s,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${d}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${d}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:C,height:C,verticalAlign:"middle",borderRadius:"50%"},[`${d}-status-success`]:{backgroundColor:h.colorSuccess},[`${d}-status-processing`]:{overflow:"visible",color:h.colorPrimary,backgroundColor:h.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:m,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:r,animationDuration:h.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${d}-status-default`]:{backgroundColor:h.colorTextPlaceholder},[`${d}-status-error`]:{backgroundColor:h.colorError},[`${d}-status-warning`]:{backgroundColor:h.colorWarning},[`${d}-status-text`]:{marginInlineStart:$,color:h.colorText,fontSize:h.fontSize}}}),R),{[`${d}-zoom-appear, ${d}-zoom-enter`]:{animationName:i,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack,animationFillMode:"both"},[`${d}-zoom-leave`]:{animationName:o,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack,animationFillMode:"both"},[`&${d}-not-a-wrapper`]:{[`${d}-zoom-appear, ${d}-zoom-enter`]:{animationName:a,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack},[`${d}-zoom-leave`]:{animationName:l,animationDuration:h.motionDurationSlow,animationTimingFunction:h.motionEaseOutBack},[`&:not(${d}-status)`]:{verticalAlign:"middle"},[`${T}-custom-component, ${d}-count`]:{transform:"none"},[`${T}-custom-component, ${T}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${T}`]:{overflow:"hidden",[`${T}-only`]:{position:"relative",display:"inline-block",height:w,transition:`all ${h.motionDurationSlow} ${h.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${T}-only-unit`]:{height:w,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${T}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${d}-count, ${d}-dot, ${T}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},c=h=>{const{fontHeight:d,lineWidth:p,marginXS:g,colorBorderBg:m}=h,v=d,y=p,b=h.colorBgContainer,C=h.colorError,x=h.colorErrorHover;return(0,n.mergeToken)(h,{badgeFontHeight:v,badgeShadowSize:y,badgeTextColor:b,badgeColor:C,badgeColorHover:x,badgeShadowColor:m,badgeProcessingDuration:"1.2s",badgeRibbonOffset:g,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})};up.prepareToken=c;const f=h=>{const{fontSize:d,lineHeight:p,fontSizeSM:g,lineWidth:m}=h;return{indicatorZIndex:"auto",indicatorHeight:Math.round(d*p)-2*m,indicatorHeightSM:d,dotSize:g/2,textFontSize:g,textFontSizeSM:g,textFontWeight:"normal",statusSize:g/2}};return up.prepareComponentToken=f,up.default=(0,n.genStyleHooks)("Badge",h=>{const d=c(h);return u(d)},f),up}var Z3e;function ZGt(){if(Z3e)return i5;Z3e=1,Object.defineProperty(i5,"__esModule",{value:!0}),i5.default=void 0;var e=Xt,t=eVe(),n=Tn(),r=Jt();const i=o=>{const{antCls:a,badgeFontHeight:l,marginXS:s,badgeRibbonOffset:u,calc:c}=o,f=`${a}-ribbon`,h=`${a}-ribbon-wrapper`,d=(0,r.genPresetColor)(o,(p,g)=>{let{darkColor:m}=g;return{[`&${f}-color-${p}`]:{background:m,color:m}}});return{[`${h}`]:{position:"relative"},[`${f}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(o)),{position:"absolute",top:s,padding:`0 ${(0,e.unit)(o.paddingXS)}`,color:o.colorPrimary,lineHeight:(0,e.unit)(l),whiteSpace:"nowrap",backgroundColor:o.colorPrimary,borderRadius:o.borderRadiusSM,[`${f}-text`]:{color:o.colorTextLightSolid},[`${f}-corner`]:{position:"absolute",top:"100%",width:u,height:u,color:"currentcolor",border:`${(0,e.unit)(c(u).div(2).equal())} solid`,transform:o.badgeRibbonCornerTransform,transformOrigin:"top",filter:o.badgeRibbonCornerFilter}}),d),{[`&${f}-placement-end`]:{insetInlineEnd:c(u).mul(-1).equal(),borderEndEndRadius:0,[`${f}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${f}-placement-start`]:{insetInlineStart:c(u).mul(-1).equal(),borderEndStartRadius:0,[`${f}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};return i5.default=(0,r.genStyleHooks)(["Badge","Ribbon"],o=>{const a=(0,t.prepareToken)(o);return i(a)},t.prepareComponentToken),i5}var Q3e;function QGt(){if(Q3e)return r5;Q3e=1;var e=ze;Object.defineProperty(r5,"__esModule",{value:!0}),r5.default=void 0;var t=l(_),n=e(Tt()),r=$F(),i=Lt(),o=e(ZGt());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const s=u=>{const{className:c,prefixCls:f,style:h,color:d,children:p,text:g,placement:m="end",rootClassName:v}=u,{getPrefixCls:y,direction:b}=t.useContext(i.ConfigContext),C=y("ribbon",f),x=`${C}-wrapper`,[S,w,O]=(0,o.default)(C,x),$=(0,r.isPresetColor)(d,!1),P=(0,n.default)(C,`${C}-placement-${m}`,{[`${C}-rtl`]:b==="rtl",[`${C}-color-${d}`]:$},c),T={},R={};return d&&!$&&(T.background=d,R.color=d),S(t.createElement("div",{className:(0,n.default)(x,v,w,O)},p,t.createElement("div",{className:(0,n.default)(P,w),style:Object.assign(Object.assign({},T),h)},t.createElement("span",{className:`${C}-text`},g),t.createElement("div",{className:`${C}-corner`,style:R}))))};return r5.default=s,r5}var o5={},TR={},J3e;function JGt(){if(J3e)return TR;J3e=1;var e=ze;Object.defineProperty(TR,"__esModule",{value:!0}),TR.default=l;var t=e(Tt()),n=i(_);function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function o(s){let{prefixCls:u,value:c,current:f,offset:h=0}=s,d;return h&&(d={position:"absolute",top:`${h}00%`,left:0}),n.createElement("span",{style:d,className:(0,t.default)(`${u}-only-unit`,{current:f})},c)}function a(s,u,c){let f=s,h=0;for(;(f+10)%10!==u;)f+=c,h+=c;return h}function l(s){const{prefixCls:u,count:c,value:f}=s,h=Number(f),d=Math.abs(c),[p,g]=n.useState(h),[m,v]=n.useState(d),y=()=>{g(h),v(d)};n.useEffect(()=>{const x=setTimeout(()=>{y()},1e3);return()=>{clearTimeout(x)}},[h]);let b,C;if(p===h||Number.isNaN(h)||Number.isNaN(p))b=[n.createElement(o,Object.assign({},s,{key:h,current:!0}))],C={transition:"none"};else{b=[];const x=h+10,S=[];for(let $=h;$<=x;$+=1)S.push($);const w=S.findIndex($=>$%10===p);b=S.map(($,P)=>{const T=$%10;return n.createElement(o,Object.assign({},s,{key:$,value:T,offset:P-w,current:P===w}))});const O=m{const{prefixCls:h,count:d,className:p,motionClassName:g,style:m,title:v,show:y,component:b="sup",children:C}=c,x=s(c,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:S}=n.useContext(i.ConfigContext),w=S("scroll-number",h),O=Object.assign(Object.assign({},x),{"data-show":y,style:m,className:(0,t.default)(w,p,g),title:v});let $=d;if(d&&Number(d)%1===0){const P=String(d).split("");$=n.createElement("bdi",null,P.map((T,R)=>n.createElement(o.default,{prefixCls:w,count:Number(d),value:T,key:P.length-R})))}return m&&m.borderColor&&(O.style=Object.assign(Object.assign({},m),{boxShadow:`0 0 0 1px ${m.borderColor} inset`})),C?(0,r.cloneElement)(C,P=>({className:(0,t.default)(`${w}-custom-component`,P==null?void 0:P.className,g)})):n.createElement(b,Object.assign({},O,{ref:f}),$)});return o5.default=u,o5}var t4e;function tVe(){if(t4e)return n5;t4e=1;var e=ze;Object.defineProperty(n5,"__esModule",{value:!0}),n5.default=void 0;var t=h(_),n=t,r=e(Tt()),i=e(Ad),o=$F(),a=to(),l=Lt(),s=e(QGt()),u=e(eKt()),c=e(eVe());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var d=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var y,b,C,x,S;const{prefixCls:w,scrollNumberPrefixCls:O,children:$,status:P,text:T,color:R,count:M=null,overflowCount:A=99,dot:N=!1,size:j="default",title:D,offset:L,style:B,className:k,rootClassName:z,classNames:q,styles:W,showZero:U=!1}=m,K=d(m,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:X,direction:G,badge:Y}=n.useContext(l.ConfigContext),J=X("badge",w),[ee,Q,te]=(0,c.default)(J),ne=M>A?`${A}+`:M,re=ne==="0"||ne===0,oe=M===null||re&&!U,se=(P!=null||R!=null)&&oe,ye=N&&!re,be=ye?"":ne,he=(0,t.useMemo)(()=>(be==null||be===""||re&&!U)&&!ye,[be,re,U,ye]),le=(0,t.useRef)(M);he||(le.current=M);const ve=le.current,ke=(0,t.useRef)(be);he||(ke.current=be);const Ie=ke.current,Oe=(0,t.useRef)(ye);he||(Oe.current=ye);const Pe=(0,t.useMemo)(()=>{if(!L)return Object.assign(Object.assign({},Y==null?void 0:Y.style),B);const qe={marginTop:L[1]};return G==="rtl"?qe.left=parseInt(L[0],10):qe.right=-parseInt(L[0],10),Object.assign(Object.assign(Object.assign({},qe),Y==null?void 0:Y.style),B)},[G,L,B,Y==null?void 0:Y.style]),_e=D??(typeof ve=="string"||typeof ve=="number"?ve:void 0),ce=he||!T?null:n.createElement("span",{className:`${J}-status-text`},T),Te=!ve||typeof ve!="object"?void 0:(0,a.cloneElement)(ve,qe=>({style:Object.assign(Object.assign({},Pe),qe.style)})),Ne=(0,o.isPresetColor)(R,!1),je=(0,r.default)(q==null?void 0:q.indicator,(y=Y==null?void 0:Y.classNames)===null||y===void 0?void 0:y.indicator,{[`${J}-status-dot`]:se,[`${J}-status-${P}`]:!!P,[`${J}-color-${R}`]:Ne}),He={};R&&!Ne&&(He.color=R,He.background=R);const Be=(0,r.default)(J,{[`${J}-status`]:se,[`${J}-not-a-wrapper`]:!$,[`${J}-rtl`]:G==="rtl"},k,z,Y==null?void 0:Y.className,(b=Y==null?void 0:Y.classNames)===null||b===void 0?void 0:b.root,q==null?void 0:q.root,Q,te);if(!$&&se){const qe=Pe.color;return ee(n.createElement("span",Object.assign({},K,{className:Be,style:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.root),(C=Y==null?void 0:Y.styles)===null||C===void 0?void 0:C.root),Pe)}),n.createElement("span",{className:je,style:Object.assign(Object.assign(Object.assign({},W==null?void 0:W.indicator),(x=Y==null?void 0:Y.styles)===null||x===void 0?void 0:x.indicator),He)}),T&&n.createElement("span",{style:{color:qe},className:`${J}-status-text`},T)))}return ee(n.createElement("span",Object.assign({ref:v},K,{className:Be,style:Object.assign(Object.assign({},(S=Y==null?void 0:Y.styles)===null||S===void 0?void 0:S.root),W==null?void 0:W.root)}),$,n.createElement(i.default,{visible:!he,motionName:`${J}-zoom`,motionAppear:!1,motionDeadline:1e3},qe=>{let{className:me,ref:Ee}=qe;var $e,Le;const Fe=X("scroll-number",O),Ke=Oe.current,lt=(0,r.default)(q==null?void 0:q.indicator,($e=Y==null?void 0:Y.classNames)===null||$e===void 0?void 0:$e.indicator,{[`${J}-dot`]:Ke,[`${J}-count`]:!Ke,[`${J}-count-sm`]:j==="small",[`${J}-multiple-words`]:!Ke&&Ie&&Ie.toString().length>1,[`${J}-status-${P}`]:!!P,[`${J}-color-${R}`]:Ne});let ft=Object.assign(Object.assign(Object.assign({},W==null?void 0:W.indicator),(Le=Y==null?void 0:Y.styles)===null||Le===void 0?void 0:Le.indicator),Pe);return R&&!Ne&&(ft=ft||{},ft.background=R),n.createElement(u.default,{prefixCls:Fe,show:!he,motionClassName:me,className:lt,count:Ie,title:_e,style:ft,key:"scrollNumber",ref:Ee},Te)}),ce))},g=n.forwardRef(p);return g.Ribbon=s.default,n5.default=g,n5}var a5={},l5={},Dg={},s5={},MR={exports:{}},oG={},RR={},n4e;function tKt(){if(n4e)return RR;n4e=1,Object.defineProperty(RR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};return RR.default=e,RR}var r4e;function nKt(){return r4e||(r4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(tKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p!isNaN(parseFloat(t))&&isFinite(t);return u5.default=e,u5}var d5={},f4e;function nVe(){if(f4e)return d5;f4e=1,Object.defineProperty(d5,"__esModule",{value:!0}),d5.LayoutContext=void 0;var e=n(_);function t(r){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(t=function(a){return a?o:i})(r)}function n(r,i){if(!i&&r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var o=t(i);if(o&&o.has(r))return o.get(r);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in r)if(s!=="default"&&Object.prototype.hasOwnProperty.call(r,s)){var u=l?Object.getOwnPropertyDescriptor(r,s):null;u&&(u.get||u.set)?Object.defineProperty(a,s,u):a[s]=r[s]}return a.default=r,o&&o.set(r,a),a}return d5.LayoutContext=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),d5}var p4e;function TF(){if(p4e)return Lg;p4e=1;var e=ze;Object.defineProperty(Lg,"__esModule",{value:!0}),Lg.default=Lg.SiderContext=void 0;var t=h(_),n=t,r=e(aKt()),i=e(cP()),o=e(Jy()),a=e(Tt()),l=e(Qr()),s=e(cKt()),u=Lt(),c=nVe();function f(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(f=function(x){return x?C:b})(y)}function h(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=f(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var d=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{let y=0;return function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return y+=1,`${b}${y}`}})(),v=n.forwardRef((y,b)=>{const{prefixCls:C,className:x,trigger:S,children:w,defaultCollapsed:O=!1,theme:$="dark",style:P={},collapsible:T=!1,reverseArrow:R=!1,width:M=200,collapsedWidth:A=80,zeroWidthTriggerStyle:N,breakpoint:j,onCollapse:D,onBreakpoint:L}=y,B=d(y,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:k}=(0,t.useContext)(c.LayoutContext),[z,q]=(0,t.useState)("collapsed"in y?y.collapsed:O),[W,U]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in y&&q(y.collapsed)},[y.collapsed]);const K=(Q,te)=>{"collapsed"in y||q(Q),D==null||D(Q,te)},X=(0,t.useRef)();X.current=Q=>{U(Q.matches),L==null||L(Q.matches),z!==Q.matches&&K(Q.matches,"responsive")},(0,t.useEffect)(()=>{function Q(ne){return X.current(ne)}let te;if(typeof window<"u"){const{matchMedia:ne}=window;if(ne&&j&&j in p){te=ne(`screen and (max-width: ${p[j]})`);try{te.addEventListener("change",Q)}catch{te.addListener(Q)}Q(te)}}return()=>{try{te==null||te.removeEventListener("change",Q)}catch{te==null||te.removeListener(Q)}}},[j]),(0,t.useEffect)(()=>{const Q=m("ant-sider-");return k.addSider(Q),()=>k.removeSider(Q)},[]);const G=()=>{K(!z,"clickTrigger")},{getPrefixCls:Y}=(0,t.useContext)(u.ConfigContext),J=()=>{const Q=Y("layout-sider",C),te=(0,l.default)(B,["collapsed"]),ne=z?A:M,re=(0,s.default)(ne)?`${ne}px`:String(ne),oe=parseFloat(String(A||0))===0?n.createElement("span",{onClick:G,className:(0,a.default)(`${Q}-zero-width-trigger`,`${Q}-zero-width-trigger-${R?"right":"left"}`),style:N},S||n.createElement(r.default,null)):null,be={expanded:R?n.createElement(o.default,null):n.createElement(i.default,null),collapsed:R?n.createElement(i.default,null):n.createElement(o.default,null)}[z?"collapsed":"expanded"],he=S!==null?oe||n.createElement("div",{className:`${Q}-trigger`,onClick:G,style:{width:re}},S||be):null,le=Object.assign(Object.assign({},P),{flex:`0 0 ${re}`,maxWidth:re,minWidth:re,width:re}),ve=(0,a.default)(Q,`${Q}-${$}`,{[`${Q}-collapsed`]:!!z,[`${Q}-has-trigger`]:T&&S!==null&&!oe,[`${Q}-below`]:!!W,[`${Q}-zero-width`]:parseFloat(re)===0},x);return n.createElement("aside",Object.assign({className:ve},te,{style:le,ref:b}),n.createElement("div",{className:`${Q}-children`},w),T||W&&oe?he:null)},ee=n.useMemo(()=>({siderCollapsed:z}),[z]);return n.createElement(g.Provider,{value:ee},J())});return Lg.default=v,Lg}var f5={},jR={exports:{}},sG={},DR={},h4e;function uKt(){if(h4e)return DR;h4e=1,Object.defineProperty(DR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};return DR.default=e,DR}var g4e;function dKt(){return g4e||(g4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(uKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:c,className:f,dashed:h}=u,d=l(u,["prefixCls","className","dashed"]),{getPrefixCls:p}=r.useContext(i.ConfigContext),g=p("menu",c),m=(0,t.default)({[`${g}-item-divider-dashed`]:!!h},f);return r.createElement(n.Divider,Object.assign({className:m},d))};return p5.default=s,p5}var h5={},g5={},y4e;function nae(){if(y4e)return g5;y4e=1,Object.defineProperty(g5,"__esModule",{value:!0}),g5.default=void 0;var e=_;const t=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});return g5.default=t,g5}var b4e;function iVe(){if(b4e)return h5;b4e=1;var e=ze;Object.defineProperty(h5,"__esModule",{value:!0}),h5.default=void 0;var t=e(Tt()),n=kC,r=e(fl()),i=e(Qr()),o=f(_),a=TF(),l=e(kc()),s=to(),u=e(nae());function c(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(c=function(m){return m?g:p})(d)}function f(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=c(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const h=d=>{var p;const{className:g,children:m,icon:v,title:y,danger:b}=d,{prefixCls:C,firstLevel:x,direction:S,disableMenuItemTitleTooltip:w,inlineCollapsed:O}=o.useContext(u.default),$=N=>{const j=o.createElement("span",{className:`${C}-title-content`},m);return(!v||(0,s.isValidElement)(m)&&m.type==="span")&&m&&N&&x&&typeof m=="string"?o.createElement("div",{className:`${C}-inline-collapsed-noicon`},m.charAt(0)):j},{siderCollapsed:P}=o.useContext(a.SiderContext);let T=y;typeof y>"u"?T=x?m:"":y===!1&&(T="");const R={title:T};!P&&!O&&(R.title=null,R.open=!1);const M=(0,r.default)(m).length;let A=o.createElement(n.Item,Object.assign({},(0,i.default)(d,["title","icon","danger"]),{className:(0,t.default)({[`${C}-item-danger`]:b,[`${C}-item-only-child`]:(v?M+1:M)===1},g),title:typeof y=="string"?y:void 0}),(0,s.cloneElement)(v,{className:(0,t.default)((0,s.isValidElement)(v)?(p=v.props)===null||p===void 0?void 0:p.className:"",`${C}-item-icon`)}),$(O));return w||(A=o.createElement(l.default,Object.assign({},R,{placement:S==="rtl"?"left":"right",overlayClassName:`${C}-inline-collapsed-tooltip`}),A)),A};return h5.default=h,h5}var m5={},C4e;function oVe(){if(C4e)return m5;C4e=1;var e=ze;Object.defineProperty(m5,"__esModule",{value:!0}),m5.default=void 0;var t=u(_),n=e(Tt()),r=kC,i=e(Qr()),o=dl(),a=to(),l=e(nae());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{var h;const{popupClassName:d,icon:p,title:g,theme:m}=f,v=t.useContext(l.default),{prefixCls:y,inlineCollapsed:b,theme:C}=v,x=(0,r.useFullPath)();let S;if(!p)S=b&&!x.length&&g&&typeof g=="string"?t.createElement("div",{className:`${y}-inline-collapsed-noicon`},g.charAt(0)):t.createElement("span",{className:`${y}-title-content`},g);else{const $=(0,a.isValidElement)(g)&&g.type==="span";S=t.createElement(t.Fragment,null,(0,a.cloneElement)(p,{className:(0,n.default)((0,a.isValidElement)(p)?(h=p.props)===null||h===void 0?void 0:h.className:"",`${y}-item-icon`)}),$?g:t.createElement("span",{className:`${y}-title-content`},g))}const w=t.useMemo(()=>Object.assign(Object.assign({},v),{firstLevel:!1}),[v]),[O]=(0,o.useZIndex)("Menu");return t.createElement(l.default.Provider,{value:w},t.createElement(r.SubMenu,Object.assign({},(0,i.default)(f,["icon"]),{title:S,popupClassName:(0,n.default)(y,d,`${y}-${m||C}`),popupStyle:{zIndex:O}})))};return m5.default=c,m5}var S4e;function fKt(){if(S4e)return LR;S4e=1;var e=ze;Object.defineProperty(LR,"__esModule",{value:!0}),LR.default=c;var t=kC,n=l(_),r=e(rVe()),i=e(iVe()),o=e(oVe());function a(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(a=function(p){return p?d:h})(f)}function l(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=a(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}var s=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);g{if(h&&typeof h=="object"){const p=h,{label:g,children:m,key:v,type:y}=p,b=s(p,["label","children","key","type"]),C=v??`tmp-${d}`;return m||y==="group"?y==="group"?n.createElement(t.ItemGroup,Object.assign({key:C},b,{title:g}),u(m)):n.createElement(o.default,Object.assign({key:C},b,{title:g}),u(m)):y==="divider"?n.createElement(r.default,Object.assign({key:C},b)):n.createElement(i.default,Object.assign({key:C},b),g)}return null}).filter(h=>h)}function c(f){return n.useMemo(()=>f&&u(f),[f])}return LR}var zg={},x4e;function rae(){if(x4e)return zg;x4e=1,Object.defineProperty(zg,"__esModule",{value:!0}),zg.default=zg.OverrideProvider=void 0;var e=i(_),t=Xy,n=ts();function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{const{children:u}=l,c=o(l,["children"]),f=e.useContext(a),h=e.useMemo(()=>Object.assign(Object.assign({},f),c),[f,c.prefixCls,c.mode,c.selectable,c.rootClassName]),d=(0,t.supportNodeRef)(u),p=(0,t.useComposeRef)(s,d?u.ref:null);return e.createElement(a.Provider,{value:h},e.createElement(n.NoCompactStyle,null,d?e.cloneElement(u,{ref:p}):u))}),zg.default=a,zg}var Bg={},v5={},_4e;function pKt(){if(_4e)return v5;_4e=1,Object.defineProperty(v5,"__esModule",{value:!0}),v5.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,motionDurationSlow:i,horizontalLineHeight:o,colorSplit:a,lineWidth:l,lineType:s,itemPaddingInline:u}=n;return{[`${r}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${(0,e.unit)(l)} ${s} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${r}-item, ${r}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:u},[`> ${r}-item:hover, > ${r}-item-active, - > ${r}-submenu ${r}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${r}-item, ${r}-submenu-title`]:{transition:[`border-color ${i}`,`background ${i}`].join(",")},[`${r}-submenu-arrow`]:{display:"none"}}}};return m5.default=t,m5}var v5={},_4e;function gKt(){if(_4e)return v5;_4e=1,Object.defineProperty(v5,"__esModule",{value:!0}),v5.default=void 0;var e=Xt;const t=n=>{let{componentCls:r,menuArrowOffset:i,calc:o}=n;return{[`${r}-rtl`]:{direction:"rtl"},[`${r}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${r}-rtl${r}-vertical, - ${r}-submenu-rtl ${r}-vertical`]:{[`${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,e.unit)(o(i).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,e.unit)(i)})`}}}}};return v5.default=t,v5}var y5={},w4e;function mKt(){if(w4e)return y5;w4e=1,Object.defineProperty(y5,"__esModule",{value:!0}),y5.default=void 0;var e=Xt,t=Tn();const n=i=>Object.assign({},(0,t.genFocusOutline)(i)),r=(i,o)=>{const{componentCls:a,itemColor:l,itemSelectedColor:s,groupTitleColor:u,itemBg:c,subMenuItemBg:f,itemSelectedBg:h,activeBarHeight:d,activeBarWidth:p,activeBarBorderWidth:g,motionDurationSlow:m,motionEaseInOut:v,motionEaseOut:y,itemPaddingInline:b,motionDurationMid:C,itemHoverColor:x,lineType:S,colorSplit:w,itemDisabledColor:O,dangerItemColor:$,dangerItemHoverColor:P,dangerItemSelectedColor:T,dangerItemActiveBg:R,dangerItemSelectedBg:M,popupBg:A,itemHoverBg:N,itemActiveBg:k,menuSubMenuBg:D,horizontalItemSelectedColor:L,horizontalItemSelectedBg:B,horizontalItemBorderRadius:j,horizontalItemHoverBg:z}=i;return{[`${a}-${o}, ${a}-${o} > ${a}`]:{color:l,background:c,[`&${a}-root:focus-visible`]:Object.assign({},n(i)),[`${a}-item-group-title`]:{color:u},[`${a}-submenu-selected`]:{[`> ${a}-submenu-title`]:{color:s}},[`${a}-item, ${a}-submenu-title`]:{color:l,[`&:not(${a}-item-disabled):focus-visible`]:Object.assign({},n(i))},[`${a}-item-disabled, ${a}-submenu-disabled`]:{color:`${O} !important`},[`${a}-item:not(${a}-item-selected):not(${a}-submenu-selected)`]:{[`&:hover, > ${a}-submenu-title:hover`]:{color:x}},[`&:not(${a}-horizontal)`]:{[`${a}-item:not(${a}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:k}},[`${a}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:k}}},[`${a}-item-danger`]:{color:$,[`&${a}-item:hover`]:{[`&:not(${a}-item-selected):not(${a}-submenu-selected)`]:{color:P}},[`&${a}-item:active`]:{background:R}},[`${a}-item a`]:{"&, &:hover":{color:"inherit"}},[`${a}-item-selected`]:{color:s,[`&${a}-item-danger`]:{color:T},"a, a:hover":{color:"inherit"}},[`& ${a}-item-selected`]:{backgroundColor:h,[`&${a}-item-danger`]:{backgroundColor:M}},[`&${a}-submenu > ${a}`]:{backgroundColor:D},[`&${a}-popup > ${a}`]:{backgroundColor:A},[`&${a}-submenu-popup > ${a}`]:{backgroundColor:A},[`&${a}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${a}-item, > ${a}-submenu`]:{top:g,marginTop:i.calc(g).mul(-1).equal(),marginBottom:0,borderRadius:j,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,e.unit)(d)} solid transparent`,transition:`border-color ${m} ${v}`,content:'""'},"&:hover, &-active, &-open":{background:z,"&::after":{borderBottomWidth:d,borderBottomColor:L}},"&-selected":{color:L,backgroundColor:B,"&:hover":{backgroundColor:B},"&::after":{borderBottomWidth:d,borderBottomColor:L}}}}),[`&${a}-root`]:{[`&${a}-inline, &${a}-vertical`]:{borderInlineEnd:`${(0,e.unit)(g)} ${S} ${w}`}},[`&${a}-inline`]:{[`${a}-sub${a}-inline`]:{background:f},[`${a}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,e.unit)(p)} solid ${s}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${C} ${y}`,`opacity ${C} ${y}`].join(","),content:'""'},[`&${a}-item-danger`]:{"&::after":{borderInlineEndColor:T}}},[`${a}-selected, ${a}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${C} ${v}`,`opacity ${C} ${v}`].join(",")}}}}}};return y5.default=r,y5}var b5={},O4e;function vKt(){if(O4e)return b5;O4e=1,Object.defineProperty(b5,"__esModule",{value:!0}),b5.default=void 0;var e=Xt,t=Tn();const n=i=>{const{componentCls:o,itemHeight:a,itemMarginInline:l,padding:s,menuArrowSize:u,marginXS:c,itemMarginBlock:f,itemWidth:h}=i,d=i.calc(u).add(s).add(c).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:a,lineHeight:(0,e.unit)(a),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:l,marginBlock:f,width:h},[`> ${o}-item, + > ${r}-submenu ${r}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${r}-item, ${r}-submenu-title`]:{transition:[`border-color ${i}`,`background ${i}`].join(",")},[`${r}-submenu-arrow`]:{display:"none"}}}};return v5.default=t,v5}var y5={},w4e;function hKt(){if(w4e)return y5;w4e=1,Object.defineProperty(y5,"__esModule",{value:!0}),y5.default=void 0;var e=Xt;const t=n=>{let{componentCls:r,menuArrowOffset:i,calc:o}=n;return{[`${r}-rtl`]:{direction:"rtl"},[`${r}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${r}-rtl${r}-vertical, + ${r}-submenu-rtl ${r}-vertical`]:{[`${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,e.unit)(o(i).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,e.unit)(i)})`}}}}};return y5.default=t,y5}var b5={},O4e;function gKt(){if(O4e)return b5;O4e=1,Object.defineProperty(b5,"__esModule",{value:!0}),b5.default=void 0;var e=Xt,t=Tn();const n=i=>Object.assign({},(0,t.genFocusOutline)(i)),r=(i,o)=>{const{componentCls:a,itemColor:l,itemSelectedColor:s,groupTitleColor:u,itemBg:c,subMenuItemBg:f,itemSelectedBg:h,activeBarHeight:d,activeBarWidth:p,activeBarBorderWidth:g,motionDurationSlow:m,motionEaseInOut:v,motionEaseOut:y,itemPaddingInline:b,motionDurationMid:C,itemHoverColor:x,lineType:S,colorSplit:w,itemDisabledColor:O,dangerItemColor:$,dangerItemHoverColor:P,dangerItemSelectedColor:T,dangerItemActiveBg:R,dangerItemSelectedBg:M,popupBg:A,itemHoverBg:N,itemActiveBg:j,menuSubMenuBg:D,horizontalItemSelectedColor:L,horizontalItemSelectedBg:B,horizontalItemBorderRadius:k,horizontalItemHoverBg:z}=i;return{[`${a}-${o}, ${a}-${o} > ${a}`]:{color:l,background:c,[`&${a}-root:focus-visible`]:Object.assign({},n(i)),[`${a}-item-group-title`]:{color:u},[`${a}-submenu-selected`]:{[`> ${a}-submenu-title`]:{color:s}},[`${a}-item, ${a}-submenu-title`]:{color:l,[`&:not(${a}-item-disabled):focus-visible`]:Object.assign({},n(i))},[`${a}-item-disabled, ${a}-submenu-disabled`]:{color:`${O} !important`},[`${a}-item:not(${a}-item-selected):not(${a}-submenu-selected)`]:{[`&:hover, > ${a}-submenu-title:hover`]:{color:x}},[`&:not(${a}-horizontal)`]:{[`${a}-item:not(${a}-item-selected)`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:j}},[`${a}-submenu-title`]:{"&:hover":{backgroundColor:N},"&:active":{backgroundColor:j}}},[`${a}-item-danger`]:{color:$,[`&${a}-item:hover`]:{[`&:not(${a}-item-selected):not(${a}-submenu-selected)`]:{color:P}},[`&${a}-item:active`]:{background:R}},[`${a}-item a`]:{"&, &:hover":{color:"inherit"}},[`${a}-item-selected`]:{color:s,[`&${a}-item-danger`]:{color:T},"a, a:hover":{color:"inherit"}},[`& ${a}-item-selected`]:{backgroundColor:h,[`&${a}-item-danger`]:{backgroundColor:M}},[`&${a}-submenu > ${a}`]:{backgroundColor:D},[`&${a}-popup > ${a}`]:{backgroundColor:A},[`&${a}-submenu-popup > ${a}`]:{backgroundColor:A},[`&${a}-horizontal`]:Object.assign(Object.assign({},o==="dark"?{borderBottom:0}:{}),{[`> ${a}-item, > ${a}-submenu`]:{top:g,marginTop:i.calc(g).mul(-1).equal(),marginBottom:0,borderRadius:k,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,e.unit)(d)} solid transparent`,transition:`border-color ${m} ${v}`,content:'""'},"&:hover, &-active, &-open":{background:z,"&::after":{borderBottomWidth:d,borderBottomColor:L}},"&-selected":{color:L,backgroundColor:B,"&:hover":{backgroundColor:B},"&::after":{borderBottomWidth:d,borderBottomColor:L}}}}),[`&${a}-root`]:{[`&${a}-inline, &${a}-vertical`]:{borderInlineEnd:`${(0,e.unit)(g)} ${S} ${w}`}},[`&${a}-inline`]:{[`${a}-sub${a}-inline`]:{background:f},[`${a}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,e.unit)(p)} solid ${s}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${C} ${y}`,`opacity ${C} ${y}`].join(","),content:'""'},[`&${a}-item-danger`]:{"&::after":{borderInlineEndColor:T}}},[`${a}-selected, ${a}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${C} ${v}`,`opacity ${C} ${v}`].join(",")}}}}}};return b5.default=r,b5}var C5={},E4e;function mKt(){if(E4e)return C5;E4e=1,Object.defineProperty(C5,"__esModule",{value:!0}),C5.default=void 0;var e=Xt,t=Tn();const n=i=>{const{componentCls:o,itemHeight:a,itemMarginInline:l,padding:s,menuArrowSize:u,marginXS:c,itemMarginBlock:f,itemWidth:h}=i,d=i.calc(u).add(s).add(c).equal();return{[`${o}-item`]:{position:"relative",overflow:"hidden"},[`${o}-item, ${o}-submenu-title`]:{height:a,lineHeight:(0,e.unit)(a),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:l,marginBlock:f,width:h},[`> ${o}-item, > ${o}-submenu > ${o}-submenu-title`]:{height:a,lineHeight:(0,e.unit)(a)},[`${o}-item-group-list ${o}-submenu-title, ${o}-submenu-title`]:{paddingInlineEnd:d}}},r=i=>{const{componentCls:o,iconCls:a,itemHeight:l,colorTextLightSolid:s,dropdownWidth:u,controlHeightLG:c,motionDurationMid:f,motionEaseOut:h,paddingXL:d,itemMarginInline:p,fontSizeLG:g,motionDurationSlow:m,paddingXS:v,boxShadowSecondary:y,collapsedWidth:b,collapsedIconSize:C}=i,x={height:l,lineHeight:(0,e.unit)(l),listStylePosition:"inside",listStyleType:"disc"};return[{[o]:{"&-inline, &-vertical":Object.assign({[`&${o}-root`]:{boxShadow:"none"}},n(i))},[`${o}-submenu-popup`]:{[`${o}-vertical`]:Object.assign(Object.assign({},n(i)),{boxShadow:y})}},{[`${o}-submenu-popup ${o}-vertical${o}-sub`]:{minWidth:u,maxHeight:`calc(100vh - ${(0,e.unit)(i.calc(c).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${o}-inline`]:{width:"100%",[`&${o}-root`]:{[`${o}-item, ${o}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${m}`,`background ${m}`,`padding ${f} ${h}`].join(","),[`> ${o}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${o}-sub${o}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${o}-submenu > ${o}-submenu-title`]:x,[`& ${o}-item-group-title`]:{paddingInlineStart:d}},[`${o}-item`]:x}},{[`${o}-inline-collapsed`]:{width:b,[`&${o}-root`]:{[`${o}-item, ${o}-submenu ${o}-submenu-title`]:{[`> ${o}-inline-collapsed-noicon`]:{fontSize:g,textAlign:"center"}}},[`> ${o}-item, > ${o}-item-group > ${o}-item-group-list > ${o}-item, @@ -706,8 +706,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho > ${o}-submenu > ${o}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,e.unit)(i.calc(g).div(2).equal())} - ${(0,e.unit)(p)})`,textOverflow:"clip",[` ${o}-submenu-arrow, ${o}-submenu-expand-icon - `]:{opacity:0},[`${o}-item-icon, ${a}`]:{margin:0,fontSize:C,lineHeight:(0,e.unit)(l),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${a}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${a}`]:{display:"none"},"a, a:hover":{color:s}},[`${o}-item-group-title`]:Object.assign(Object.assign({},t.textEllipsis),{paddingInline:v})}}]};return b5.default=r,b5}var E4e;function yKt(){if(E4e)return Bg;E4e=1;var e=ze;Object.defineProperty(Bg,"__esModule",{value:!0}),Bg.prepareComponentToken=Bg.default=void 0;var t=Xt,n=Ea,r=Tn(),i=Bs(),o=Jt(),a=e(hKt()),l=e(gKt()),s=e(mKt()),u=e(vKt());const c=p=>{const{componentCls:g,motionDurationSlow:m,motionDurationMid:v,motionEaseInOut:y,motionEaseOut:b,iconCls:C,iconSize:x,iconMarginInlineEnd:S}=p;return{[`${g}-item, ${g}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${m}`,`background ${m}`,`padding ${m} ${y}`].join(","),[`${g}-item-icon, ${C}`]:{minWidth:x,fontSize:x,transition:[`font-size ${v} ${b}`,`margin ${m} ${y}`,`color ${m}`].join(","),"+ span":{marginInlineStart:S,opacity:1,transition:[`opacity ${m} ${y}`,`margin ${m}`,`color ${m}`].join(",")}},[`${g}-item-icon`]:Object.assign({},(0,r.resetIcon)()),[`&${g}-item-only-child`]:{[`> ${C}, > ${g}-item-icon`]:{marginInlineEnd:0}}},[`${g}-item-disabled, ${g}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${g}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},f=p=>{const{componentCls:g,motionDurationSlow:m,motionEaseInOut:v,borderRadius:y,menuArrowSize:b,menuArrowOffset:C}=p;return{[`${g}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:p.margin,width:b,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${m} ${v}, opacity ${m}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:p.calc(b).mul(.6).equal(),height:p.calc(b).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:y,transition:[`background ${m} ${v}`,`transform ${m} ${v}`,`top ${m} ${v}`,`color ${m} ${v}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,t.unit)(p.calc(C).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,t.unit)(C)})`}}}}},h=p=>{const{antCls:g,componentCls:m,fontSize:v,motionDurationSlow:y,motionDurationMid:b,motionEaseInOut:C,paddingXS:x,padding:S,colorSplit:w,lineWidth:O,zIndexPopup:$,borderRadiusLG:P,subMenuItemBorderRadius:T,menuArrowSize:R,menuArrowOffset:M,lineType:A,groupTitleLineHeight:N,groupTitleFontSize:k}=p;return[{"":{[`${m}`]:Object.assign(Object.assign({},(0,r.clearFix)()),{"&-hidden":{display:"none"}})},[`${m}-submenu-hidden`]:{display:"none"}},{[m]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(p)),(0,r.clearFix)()),{marginBottom:0,paddingInlineStart:0,fontSize:v,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${y} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${m}-item`]:{flex:"none"}},[`${m}-item, ${m}-submenu, ${m}-submenu-title`]:{borderRadius:p.itemBorderRadius},[`${m}-item-group-title`]:{padding:`${(0,t.unit)(x)} ${(0,t.unit)(S)}`,fontSize:k,lineHeight:N,transition:`all ${y}`},[`&-horizontal ${m}-submenu`]:{transition:[`border-color ${y} ${C}`,`background ${y} ${C}`].join(",")},[`${m}-submenu, ${m}-submenu-inline`]:{transition:[`border-color ${y} ${C}`,`background ${y} ${C}`,`padding ${b} ${C}`].join(",")},[`${m}-submenu ${m}-sub`]:{cursor:"initial",transition:[`background ${y} ${C}`,`padding ${y} ${C}`].join(",")},[`${m}-title-content`]:{transition:`color ${y}`,[`> ${g}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${m}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${m}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:w,borderStyle:A,borderWidth:0,borderTopWidth:O,marginBlock:O,padding:0,"&-dashed":{borderStyle:"dashed"}}}),c(p)),{[`${m}-item-group`]:{[`${m}-item-group-list`]:{margin:0,padding:0,[`${m}-item, ${m}-submenu-title`]:{paddingInline:`${(0,t.unit)(p.calc(v).mul(2).equal())} ${(0,t.unit)(S)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$,borderRadius:P,boxShadow:"none",transformOrigin:"0 0",[`&${m}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${m}`]:Object.assign(Object.assign(Object.assign({borderRadius:P},c(p)),f(p)),{[`${m}-item, ${m}-submenu > ${m}-submenu-title`]:{borderRadius:T},[`${m}-submenu-title::after`]:{transition:`transform ${y} ${C}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:p.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:p.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:p.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:p.paddingXS}}}),f(p)),{[`&-inline-collapsed ${m}-submenu-arrow, - &-inline ${m}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,t.unit)(M)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,t.unit)(p.calc(M).mul(-1).equal())})`}},[`${m}-submenu-open${m}-submenu-inline > ${m}-submenu-title > ${m}-submenu-arrow`]:{transform:`translateY(${(0,t.unit)(p.calc(R).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,t.unit)(p.calc(M).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,t.unit)(M)})`}}})},{[`${g}-layout-header`]:{[m]:{lineHeight:"inherit"}}}]},d=p=>{var g,m,v;const{colorPrimary:y,colorError:b,colorTextDisabled:C,colorErrorBg:x,colorText:S,colorTextDescription:w,colorBgContainer:O,colorFillAlter:$,colorFillContent:P,lineWidth:T,lineWidthBold:R,controlItemBgActive:M,colorBgTextHover:A,controlHeightLG:N,lineHeight:k,colorBgElevated:D,marginXXS:L,padding:B,fontSize:j,controlHeightSM:z,fontSizeLG:V,colorTextLightSolid:W,colorErrorHover:U}=p,K=(g=p.activeBarWidth)!==null&&g!==void 0?g:0,X=(m=p.activeBarBorderWidth)!==null&&m!==void 0?m:T,G=(v=p.itemMarginInline)!==null&&v!==void 0?v:p.marginXXS,Y=new n.TinyColor(W).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:p.zIndexPopupBase+50,radiusItem:p.borderRadiusLG,itemBorderRadius:p.borderRadiusLG,radiusSubMenuItem:p.borderRadiusSM,subMenuItemBorderRadius:p.borderRadiusSM,colorItemText:S,itemColor:S,colorItemTextHover:S,itemHoverColor:S,colorItemTextHoverHorizontal:y,horizontalItemHoverColor:y,colorGroupTitle:w,groupTitleColor:w,colorItemTextSelected:y,itemSelectedColor:y,colorItemTextSelectedHorizontal:y,horizontalItemSelectedColor:y,colorItemBg:O,itemBg:O,colorItemBgHover:A,itemHoverBg:A,colorItemBgActive:P,itemActiveBg:M,colorSubItemBg:$,subMenuItemBg:$,colorItemBgSelected:M,itemSelectedBg:M,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:K,colorActiveBarHeight:R,activeBarHeight:R,colorActiveBarBorderSize:T,activeBarBorderWidth:X,colorItemTextDisabled:C,itemDisabledColor:C,colorDangerItemText:b,dangerItemColor:b,colorDangerItemTextHover:b,dangerItemHoverColor:b,colorDangerItemTextSelected:b,dangerItemSelectedColor:b,colorDangerItemBgActive:x,dangerItemActiveBg:x,colorDangerItemBgSelected:x,dangerItemSelectedBg:x,itemMarginInline:G,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:N,groupTitleLineHeight:k,collapsedWidth:N*2,popupBg:D,itemMarginBlock:L,itemPaddingInline:B,horizontalLineHeight:`${N*1.15}px`,iconSize:j,iconMarginInlineEnd:z-j,collapsedIconSize:V,groupTitleFontSize:j,darkItemDisabledColor:new n.TinyColor(W).setAlpha(.25).toRgbString(),darkItemColor:Y,darkDangerItemColor:b,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:W,darkItemSelectedBg:y,darkDangerItemSelectedBg:b,darkItemHoverBg:"transparent",darkGroupTitleColor:Y,darkItemHoverColor:W,darkDangerItemHoverColor:U,darkDangerItemSelectedColor:W,darkDangerItemActiveBg:b,itemWidth:K?`calc(100% + ${X}px)`:`calc(100% - ${G*2}px)`}};return Bg.prepareComponentToken=d,Bg.default=function(g){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,o.genStyleHooks)("Menu",b=>{const{colorBgElevated:C,colorPrimary:x,colorTextLightSolid:S,controlHeightLG:w,fontSize:O,darkItemColor:$,darkDangerItemColor:P,darkItemBg:T,darkSubMenuItemBg:R,darkItemSelectedColor:M,darkItemSelectedBg:A,darkDangerItemSelectedBg:N,darkItemHoverBg:k,darkGroupTitleColor:D,darkItemHoverColor:L,darkItemDisabledColor:B,darkDangerItemHoverColor:j,darkDangerItemSelectedColor:z,darkDangerItemActiveBg:V,popupBg:W,darkPopupBg:U}=b,K=b.calc(O).div(7).mul(5).equal(),X=(0,o.mergeToken)(b,{menuArrowSize:K,menuHorizontalHeight:b.calc(w).mul(1.15).equal(),menuArrowOffset:b.calc(K).mul(.25).equal(),menuSubMenuBg:C,calc:b.calc,popupBg:W}),G=(0,o.mergeToken)(X,{itemColor:$,itemHoverColor:L,groupTitleColor:D,itemSelectedColor:M,itemBg:T,popupBg:U,subMenuItemBg:R,itemActiveBg:"transparent",itemSelectedBg:A,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:k,itemDisabledColor:B,dangerItemColor:P,dangerItemHoverColor:j,dangerItemSelectedColor:z,dangerItemActiveBg:V,dangerItemSelectedBg:N,menuSubMenuBg:R,horizontalItemSelectedColor:S,horizontalItemSelectedBg:x});return[h(X),(0,a.default)(X),(0,u.default)(X),(0,s.default)(X,"light"),(0,s.default)(G,"dark"),(0,l.default)(X),(0,i.genCollapseMotion)(X),(0,i.initSlideMotion)(X,"slide-up"),(0,i.initSlideMotion)(X,"slide-down"),(0,i.initZoomMotion)(X,"zoom-big")]},d,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:v,unitless:{groupTitleLineHeight:!0}})(g,m)},Bg}var $4e;function bKt(){if($4e)return d5;$4e=1;var e=ze;Object.defineProperty(d5,"__esModule",{value:!0}),d5.default=void 0;var t=v(_),n=t,r=e(eae()),i=e(Tt()),o=e(kC),a=Xy,l=e(Qr()),s=e(Il()),u=to();_n();var c=Lt(),f=e(pKt()),h=e(tae()),d=e(nae()),p=e(yKt()),g=e(zr());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var y=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{var S,w;const O=n.useContext(d.default),$=O||{},{getPrefixCls:P,getPopupContainer:T,direction:R,menu:M}=n.useContext(c.ConfigContext),A=P(),{prefixCls:N,className:k,style:D,theme:L="light",expandIcon:B,_internalDisableMenuItemTitleTooltip:j,inlineCollapsed:z,siderCollapsed:V,items:W,children:U,rootClassName:K,mode:X,selectable:G,onClick:Y,overflowedIndicatorPopupClassName:J}=C,ee=y(C,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Q=(0,l.default)(ee,["collapsedWidth"]),te=(0,f.default)(W)||U;(S=$.validator)===null||S===void 0||S.call($,{mode:X});const ne=(0,a.useEvent)(function(){var _e;Y==null||Y.apply(void 0,arguments),(_e=$.onClick)===null||_e===void 0||_e.call($)}),re=$.mode||X,oe=G??$.selectable,se=n.useMemo(()=>V!==void 0?V:z,[z,V]),ye={horizontal:{motionName:`${A}-slide-up`},inline:(0,s.default)(A),other:{motionName:`${A}-zoom-big`}},be=P("menu",N||$.prefixCls),he=(0,g.default)(be),[le,ve,ke]=(0,p.default)(be,he,!O),Ie=(0,i.default)(`${be}-${L}`,M==null?void 0:M.className,k);let Oe;if(typeof B=="function")Oe=B;else if(B===null||B===!1)Oe=null;else if($.expandIcon===null||$.expandIcon===!1)Oe=null;else{const _e=B??$.expandIcon;Oe=(0,u.cloneElement)(_e,{className:(0,i.default)(`${be}-submenu-expand-icon`,(0,u.isValidElement)(_e)?(w=_e.props)===null||w===void 0?void 0:w.className:"")})}const Pe=n.useMemo(()=>({prefixCls:be,inlineCollapsed:se||!1,direction:R,firstLevel:!0,theme:L,mode:re,disableMenuItemTitleTooltip:j}),[be,se,R,j,L]);return le(n.createElement(d.default.Provider,{value:null},n.createElement(h.default.Provider,{value:Pe},n.createElement(o.default,Object.assign({getPopupContainer:T,overflowedIndicator:n.createElement(r.default,null),overflowedIndicatorPopupClassName:(0,i.default)(be,`${be}-${L}`,J),mode:re,selectable:oe,onClick:ne},Q,{inlineCollapsed:se,style:Object.assign(Object.assign({},M==null?void 0:M.style),D),className:Ie,prefixCls:be,direction:R,defaultMotions:ye,expandIcon:Oe,ref:x,rootClassName:(0,i.default)(K,ve,$.rootClassName,ke,he)}),te))))});return d5.default=b,d5}var P4e;function rae(){if(P4e)return s5;P4e=1;var e=ze;Object.defineProperty(s5,"__esModule",{value:!0}),s5.default=void 0;var t=c(_),n=t,r=kC,i=PF(),o=e(bKt()),a=e(rVe()),l=e(iVe()),s=e(oVe());function u(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(u=function(g){return g?p:d})(h)}function c(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=u(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const f=(0,t.forwardRef)((h,d)=>{const p=(0,t.useRef)(null),g=n.useContext(i.SiderContext);return(0,t.useImperativeHandle)(d,()=>({menu:p.current,focus:m=>{var v;(v=p.current)===null||v===void 0||v.focus(m)}})),n.createElement(o.default,Object.assign({ref:p},h,g))});return f.Item=l.default,f.SubMenu=s.default,f.Divider=a.default,f.ItemGroup=r.ItemGroup,s5.default=f,s5}var Fg={},C5={},T4e;function CKt(){if(T4e)return C5;T4e=1,Object.defineProperty(C5,"__esModule",{value:!0}),C5.default=void 0;const e=t=>{const{componentCls:n,menuCls:r,colorError:i,colorTextLightSolid:o}=t,a=`${r}-item`;return{[`${n}, ${n}-menu-submenu`]:{[`${r} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:i,"&:hover":{color:o,backgroundColor:i}}}}}};return C5.default=e,C5}var M4e;function SKt(){if(M4e)return Fg;M4e=1;var e=ze;Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.prepareComponentToken=Fg.default=void 0;var t=Tn(),n=Bs(),r=u(lP()),i=Jt(),o=e(CKt()),a=Qy(),l=Xt;function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const c=h=>{const{componentCls:d,menuCls:p,zIndexPopup:g,dropdownArrowDistance:m,sizePopupArrow:v,antCls:y,iconCls:b,motionDurationMid:C,paddingBlock:x,fontSize:S,dropdownEdgeChildPadding:w,colorTextDisabled:O,fontSizeIcon:$,controlPaddingHorizontal:P,colorBgElevated:T}=h;return[{[d]:Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:g,display:"block","&::before":{position:"absolute",insetBlock:h.calc(v).div(2).sub(m).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${b}-down, & > ${y}-btn-icon > ${b}-down`]:{fontSize:$}},[`${d}-wrap`]:{position:"relative",[`${y}-btn > ${b}-down`]:{fontSize:$},[`${b}-down::before`]:{transition:`transform ${C}`}},[`${d}-wrap-open`]:{[`${b}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${d}-placement-bottomLeft, + `]:{opacity:0},[`${o}-item-icon, ${a}`]:{margin:0,fontSize:C,lineHeight:(0,e.unit)(l),"+ span":{display:"inline-block",opacity:0}}},[`${o}-item-icon, ${a}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${o}-item-icon, ${a}`]:{display:"none"},"a, a:hover":{color:s}},[`${o}-item-group-title`]:Object.assign(Object.assign({},t.textEllipsis),{paddingInline:v})}}]};return C5.default=r,C5}var $4e;function vKt(){if($4e)return Bg;$4e=1;var e=ze;Object.defineProperty(Bg,"__esModule",{value:!0}),Bg.prepareComponentToken=Bg.default=void 0;var t=Xt,n=Ea,r=Tn(),i=Bs(),o=Jt(),a=e(pKt()),l=e(hKt()),s=e(gKt()),u=e(mKt());const c=p=>{const{componentCls:g,motionDurationSlow:m,motionDurationMid:v,motionEaseInOut:y,motionEaseOut:b,iconCls:C,iconSize:x,iconMarginInlineEnd:S}=p;return{[`${g}-item, ${g}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${m}`,`background ${m}`,`padding ${m} ${y}`].join(","),[`${g}-item-icon, ${C}`]:{minWidth:x,fontSize:x,transition:[`font-size ${v} ${b}`,`margin ${m} ${y}`,`color ${m}`].join(","),"+ span":{marginInlineStart:S,opacity:1,transition:[`opacity ${m} ${y}`,`margin ${m}`,`color ${m}`].join(",")}},[`${g}-item-icon`]:Object.assign({},(0,r.resetIcon)()),[`&${g}-item-only-child`]:{[`> ${C}, > ${g}-item-icon`]:{marginInlineEnd:0}}},[`${g}-item-disabled, ${g}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${g}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},f=p=>{const{componentCls:g,motionDurationSlow:m,motionEaseInOut:v,borderRadius:y,menuArrowSize:b,menuArrowOffset:C}=p;return{[`${g}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:p.margin,width:b,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${m} ${v}, opacity ${m}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:p.calc(b).mul(.6).equal(),height:p.calc(b).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:y,transition:[`background ${m} ${v}`,`transform ${m} ${v}`,`top ${m} ${v}`,`color ${m} ${v}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,t.unit)(p.calc(C).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,t.unit)(C)})`}}}}},h=p=>{const{antCls:g,componentCls:m,fontSize:v,motionDurationSlow:y,motionDurationMid:b,motionEaseInOut:C,paddingXS:x,padding:S,colorSplit:w,lineWidth:O,zIndexPopup:$,borderRadiusLG:P,subMenuItemBorderRadius:T,menuArrowSize:R,menuArrowOffset:M,lineType:A,groupTitleLineHeight:N,groupTitleFontSize:j}=p;return[{"":{[`${m}`]:Object.assign(Object.assign({},(0,r.clearFix)()),{"&-hidden":{display:"none"}})},[`${m}-submenu-hidden`]:{display:"none"}},{[m]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(p)),(0,r.clearFix)()),{marginBottom:0,paddingInlineStart:0,fontSize:v,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${y} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${m}-item`]:{flex:"none"}},[`${m}-item, ${m}-submenu, ${m}-submenu-title`]:{borderRadius:p.itemBorderRadius},[`${m}-item-group-title`]:{padding:`${(0,t.unit)(x)} ${(0,t.unit)(S)}`,fontSize:j,lineHeight:N,transition:`all ${y}`},[`&-horizontal ${m}-submenu`]:{transition:[`border-color ${y} ${C}`,`background ${y} ${C}`].join(",")},[`${m}-submenu, ${m}-submenu-inline`]:{transition:[`border-color ${y} ${C}`,`background ${y} ${C}`,`padding ${b} ${C}`].join(",")},[`${m}-submenu ${m}-sub`]:{cursor:"initial",transition:[`background ${y} ${C}`,`padding ${y} ${C}`].join(",")},[`${m}-title-content`]:{transition:`color ${y}`,[`> ${g}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${m}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${m}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:w,borderStyle:A,borderWidth:0,borderTopWidth:O,marginBlock:O,padding:0,"&-dashed":{borderStyle:"dashed"}}}),c(p)),{[`${m}-item-group`]:{[`${m}-item-group-list`]:{margin:0,padding:0,[`${m}-item, ${m}-submenu-title`]:{paddingInline:`${(0,t.unit)(p.calc(v).mul(2).equal())} ${(0,t.unit)(S)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$,borderRadius:P,boxShadow:"none",transformOrigin:"0 0",[`&${m}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${m}`]:Object.assign(Object.assign(Object.assign({borderRadius:P},c(p)),f(p)),{[`${m}-item, ${m}-submenu > ${m}-submenu-title`]:{borderRadius:T},[`${m}-submenu-title::after`]:{transition:`transform ${y} ${C}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:p.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:p.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:p.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:p.paddingXS}}}),f(p)),{[`&-inline-collapsed ${m}-submenu-arrow, + &-inline ${m}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,t.unit)(M)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,t.unit)(p.calc(M).mul(-1).equal())})`}},[`${m}-submenu-open${m}-submenu-inline > ${m}-submenu-title > ${m}-submenu-arrow`]:{transform:`translateY(${(0,t.unit)(p.calc(R).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,t.unit)(p.calc(M).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,t.unit)(M)})`}}})},{[`${g}-layout-header`]:{[m]:{lineHeight:"inherit"}}}]},d=p=>{var g,m,v;const{colorPrimary:y,colorError:b,colorTextDisabled:C,colorErrorBg:x,colorText:S,colorTextDescription:w,colorBgContainer:O,colorFillAlter:$,colorFillContent:P,lineWidth:T,lineWidthBold:R,controlItemBgActive:M,colorBgTextHover:A,controlHeightLG:N,lineHeight:j,colorBgElevated:D,marginXXS:L,padding:B,fontSize:k,controlHeightSM:z,fontSizeLG:q,colorTextLightSolid:W,colorErrorHover:U}=p,K=(g=p.activeBarWidth)!==null&&g!==void 0?g:0,X=(m=p.activeBarBorderWidth)!==null&&m!==void 0?m:T,G=(v=p.itemMarginInline)!==null&&v!==void 0?v:p.marginXXS,Y=new n.TinyColor(W).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:p.zIndexPopupBase+50,radiusItem:p.borderRadiusLG,itemBorderRadius:p.borderRadiusLG,radiusSubMenuItem:p.borderRadiusSM,subMenuItemBorderRadius:p.borderRadiusSM,colorItemText:S,itemColor:S,colorItemTextHover:S,itemHoverColor:S,colorItemTextHoverHorizontal:y,horizontalItemHoverColor:y,colorGroupTitle:w,groupTitleColor:w,colorItemTextSelected:y,itemSelectedColor:y,colorItemTextSelectedHorizontal:y,horizontalItemSelectedColor:y,colorItemBg:O,itemBg:O,colorItemBgHover:A,itemHoverBg:A,colorItemBgActive:P,itemActiveBg:M,colorSubItemBg:$,subMenuItemBg:$,colorItemBgSelected:M,itemSelectedBg:M,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:K,colorActiveBarHeight:R,activeBarHeight:R,colorActiveBarBorderSize:T,activeBarBorderWidth:X,colorItemTextDisabled:C,itemDisabledColor:C,colorDangerItemText:b,dangerItemColor:b,colorDangerItemTextHover:b,dangerItemHoverColor:b,colorDangerItemTextSelected:b,dangerItemSelectedColor:b,colorDangerItemBgActive:x,dangerItemActiveBg:x,colorDangerItemBgSelected:x,dangerItemSelectedBg:x,itemMarginInline:G,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:N,groupTitleLineHeight:j,collapsedWidth:N*2,popupBg:D,itemMarginBlock:L,itemPaddingInline:B,horizontalLineHeight:`${N*1.15}px`,iconSize:k,iconMarginInlineEnd:z-k,collapsedIconSize:q,groupTitleFontSize:k,darkItemDisabledColor:new n.TinyColor(W).setAlpha(.25).toRgbString(),darkItemColor:Y,darkDangerItemColor:b,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:W,darkItemSelectedBg:y,darkDangerItemSelectedBg:b,darkItemHoverBg:"transparent",darkGroupTitleColor:Y,darkItemHoverColor:W,darkDangerItemHoverColor:U,darkDangerItemSelectedColor:W,darkDangerItemActiveBg:b,itemWidth:K?`calc(100% + ${X}px)`:`calc(100% - ${G*2}px)`}};return Bg.prepareComponentToken=d,Bg.default=function(g){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,o.genStyleHooks)("Menu",b=>{const{colorBgElevated:C,colorPrimary:x,colorTextLightSolid:S,controlHeightLG:w,fontSize:O,darkItemColor:$,darkDangerItemColor:P,darkItemBg:T,darkSubMenuItemBg:R,darkItemSelectedColor:M,darkItemSelectedBg:A,darkDangerItemSelectedBg:N,darkItemHoverBg:j,darkGroupTitleColor:D,darkItemHoverColor:L,darkItemDisabledColor:B,darkDangerItemHoverColor:k,darkDangerItemSelectedColor:z,darkDangerItemActiveBg:q,popupBg:W,darkPopupBg:U}=b,K=b.calc(O).div(7).mul(5).equal(),X=(0,o.mergeToken)(b,{menuArrowSize:K,menuHorizontalHeight:b.calc(w).mul(1.15).equal(),menuArrowOffset:b.calc(K).mul(.25).equal(),menuSubMenuBg:C,calc:b.calc,popupBg:W}),G=(0,o.mergeToken)(X,{itemColor:$,itemHoverColor:L,groupTitleColor:D,itemSelectedColor:M,itemBg:T,popupBg:U,subMenuItemBg:R,itemActiveBg:"transparent",itemSelectedBg:A,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:j,itemDisabledColor:B,dangerItemColor:P,dangerItemHoverColor:k,dangerItemSelectedColor:z,dangerItemActiveBg:q,dangerItemSelectedBg:N,menuSubMenuBg:R,horizontalItemSelectedColor:S,horizontalItemSelectedBg:x});return[h(X),(0,a.default)(X),(0,u.default)(X),(0,s.default)(X,"light"),(0,s.default)(G,"dark"),(0,l.default)(X),(0,i.genCollapseMotion)(X),(0,i.initSlideMotion)(X,"slide-up"),(0,i.initSlideMotion)(X,"slide-down"),(0,i.initZoomMotion)(X,"zoom-big")]},d,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:v,unitless:{groupTitleLineHeight:!0}})(g,m)},Bg}var P4e;function yKt(){if(P4e)return f5;P4e=1;var e=ze;Object.defineProperty(f5,"__esModule",{value:!0}),f5.default=void 0;var t=v(_),n=t,r=e(tae()),i=e(Tt()),o=e(kC),a=Xy,l=e(Qr()),s=e(Il()),u=to();_n();var c=Lt(),f=e(fKt()),h=e(nae()),d=e(rae()),p=e(vKt()),g=e(zr());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var y=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{var S,w;const O=n.useContext(d.default),$=O||{},{getPrefixCls:P,getPopupContainer:T,direction:R,menu:M}=n.useContext(c.ConfigContext),A=P(),{prefixCls:N,className:j,style:D,theme:L="light",expandIcon:B,_internalDisableMenuItemTitleTooltip:k,inlineCollapsed:z,siderCollapsed:q,items:W,children:U,rootClassName:K,mode:X,selectable:G,onClick:Y,overflowedIndicatorPopupClassName:J}=C,ee=y(C,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Q=(0,l.default)(ee,["collapsedWidth"]),te=(0,f.default)(W)||U;(S=$.validator)===null||S===void 0||S.call($,{mode:X});const ne=(0,a.useEvent)(function(){var _e;Y==null||Y.apply(void 0,arguments),(_e=$.onClick)===null||_e===void 0||_e.call($)}),re=$.mode||X,oe=G??$.selectable,se=n.useMemo(()=>q!==void 0?q:z,[z,q]),ye={horizontal:{motionName:`${A}-slide-up`},inline:(0,s.default)(A),other:{motionName:`${A}-zoom-big`}},be=P("menu",N||$.prefixCls),he=(0,g.default)(be),[le,ve,ke]=(0,p.default)(be,he,!O),Ie=(0,i.default)(`${be}-${L}`,M==null?void 0:M.className,j);let Oe;if(typeof B=="function")Oe=B;else if(B===null||B===!1)Oe=null;else if($.expandIcon===null||$.expandIcon===!1)Oe=null;else{const _e=B??$.expandIcon;Oe=(0,u.cloneElement)(_e,{className:(0,i.default)(`${be}-submenu-expand-icon`,(0,u.isValidElement)(_e)?(w=_e.props)===null||w===void 0?void 0:w.className:"")})}const Pe=n.useMemo(()=>({prefixCls:be,inlineCollapsed:se||!1,direction:R,firstLevel:!0,theme:L,mode:re,disableMenuItemTitleTooltip:k}),[be,se,R,k,L]);return le(n.createElement(d.default.Provider,{value:null},n.createElement(h.default.Provider,{value:Pe},n.createElement(o.default,Object.assign({getPopupContainer:T,overflowedIndicator:n.createElement(r.default,null),overflowedIndicatorPopupClassName:(0,i.default)(be,`${be}-${L}`,J),mode:re,selectable:oe,onClick:ne},Q,{inlineCollapsed:se,style:Object.assign(Object.assign({},M==null?void 0:M.style),D),className:Ie,prefixCls:be,direction:R,defaultMotions:ye,expandIcon:Oe,ref:x,rootClassName:(0,i.default)(K,ve,$.rootClassName,ke,he)}),te))))});return f5.default=b,f5}var T4e;function iae(){if(T4e)return c5;T4e=1;var e=ze;Object.defineProperty(c5,"__esModule",{value:!0}),c5.default=void 0;var t=c(_),n=t,r=kC,i=TF(),o=e(yKt()),a=e(rVe()),l=e(iVe()),s=e(oVe());function u(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(u=function(g){return g?p:d})(h)}function c(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=u(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const f=(0,t.forwardRef)((h,d)=>{const p=(0,t.useRef)(null),g=n.useContext(i.SiderContext);return(0,t.useImperativeHandle)(d,()=>({menu:p.current,focus:m=>{var v;(v=p.current)===null||v===void 0||v.focus(m)}})),n.createElement(o.default,Object.assign({ref:p},h,g))});return f.Item=l.default,f.SubMenu=s.default,f.Divider=a.default,f.ItemGroup=r.ItemGroup,c5.default=f,c5}var Fg={},S5={},M4e;function bKt(){if(M4e)return S5;M4e=1,Object.defineProperty(S5,"__esModule",{value:!0}),S5.default=void 0;const e=t=>{const{componentCls:n,menuCls:r,colorError:i,colorTextLightSolid:o}=t,a=`${r}-item`;return{[`${n}, ${n}-menu-submenu`]:{[`${r} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:i,"&:hover":{color:o,backgroundColor:i}}}}}};return S5.default=e,S5}var R4e;function CKt(){if(R4e)return Fg;R4e=1;var e=ze;Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.prepareComponentToken=Fg.default=void 0;var t=Tn(),n=Bs(),r=u(sP()),i=Jt(),o=e(bKt()),a=Qy(),l=Xt;function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}const c=h=>{const{componentCls:d,menuCls:p,zIndexPopup:g,dropdownArrowDistance:m,sizePopupArrow:v,antCls:y,iconCls:b,motionDurationMid:C,paddingBlock:x,fontSize:S,dropdownEdgeChildPadding:w,colorTextDisabled:O,fontSizeIcon:$,controlPaddingHorizontal:P,colorBgElevated:T}=h;return[{[d]:Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:g,display:"block","&::before":{position:"absolute",insetBlock:h.calc(v).div(2).sub(m).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${b}-down, & > ${y}-btn-icon > ${b}-down`]:{fontSize:$}},[`${d}-wrap`]:{position:"relative",[`${y}-btn > ${b}-down`]:{fontSize:$},[`${b}-down::before`]:{transition:`transform ${C}`}},[`${d}-wrap-open`]:{[`${b}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${d}-placement-bottomLeft, &${y}-slide-down-appear${y}-slide-down-appear-active${d}-placement-bottomLeft, &${y}-slide-down-enter${y}-slide-down-enter-active${d}-placement-bottom, &${y}-slide-down-appear${y}-slide-down-appear-active${d}-placement-bottom, @@ -721,11 +721,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &${y}-slide-down-leave${y}-slide-down-leave-active${d}-placement-bottom, &${y}-slide-down-leave${y}-slide-down-leave-active${d}-placement-bottomRight`]:{animationName:n.slideUpOut},[`&${y}-slide-up-leave${y}-slide-up-leave-active${d}-placement-topLeft, &${y}-slide-up-leave${y}-slide-up-leave-active${d}-placement-top, - &${y}-slide-up-leave${y}-slide-up-leave-active${d}-placement-topRight`]:{animationName:n.slideDownOut}})},(0,r.default)(h,T,{arrowPlacement:{top:!0,bottom:!0}}),{[`${d} ${p}`]:{position:"relative",margin:0},[`${p}-submenu-popup`]:{position:"absolute",zIndex:g,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${d}, ${d}-menu-submenu`]:{[p]:Object.assign(Object.assign({padding:w,listStyleType:"none",backgroundColor:T,backgroundClip:"padding-box",borderRadius:h.borderRadiusLG,outline:"none",boxShadow:h.boxShadowSecondary},(0,t.genFocusStyle)(h)),{"&:empty":{padding:0,boxShadow:"none"},[`${p}-item-group-title`]:{padding:`${(0,l.unit)(x)} ${(0,l.unit)(P)}`,color:h.colorTextDescription,transition:`all ${C}`},[`${p}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${p}-item-icon`]:{minWidth:S,marginInlineEnd:h.marginXS,fontSize:h.fontSizeSM},[`${p}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${C}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${p}-item, ${p}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,l.unit)(x)} ${(0,l.unit)(P)}`,color:h.colorText,fontWeight:"normal",fontSize:S,lineHeight:h.lineHeight,cursor:"pointer",transition:`all ${C}`,borderRadius:h.borderRadiusSM,"&:hover, &-active":{backgroundColor:h.controlItemBgHover}},(0,t.genFocusStyle)(h)),{"&-selected":{color:h.colorPrimary,backgroundColor:h.controlItemBgActive,"&:hover, &-active":{backgroundColor:h.controlItemBgActiveHover}},"&-disabled":{color:O,cursor:"not-allowed","&:hover":{color:O,backgroundColor:T,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,l.unit)(h.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:h.colorSplit},[`${d}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:h.paddingXS,[`${d}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:h.colorTextDescription,fontSize:$,fontStyle:"normal"}}}),[`${p}-item-group-list`]:{margin:`0 ${(0,l.unit)(h.marginXS)}`,padding:0,listStyle:"none"},[`${p}-submenu-title`]:{paddingInlineEnd:h.calc(P).add(h.fontSizeSM).equal()},[`${p}-submenu-vertical`]:{position:"relative"},[`${p}-submenu${p}-submenu-disabled ${d}-menu-submenu-title`]:{[`&, ${d}-menu-submenu-arrow-icon`]:{color:O,backgroundColor:T,cursor:"not-allowed"}},[`${p}-submenu-selected ${d}-menu-submenu-title`]:{color:h.colorPrimary}})}},[(0,n.initSlideMotion)(h,"slide-up"),(0,n.initSlideMotion)(h,"slide-down"),(0,n.initMoveMotion)(h,"move-up"),(0,n.initMoveMotion)(h,"move-down"),(0,n.initZoomMotion)(h,"zoom-big")]]},f=h=>Object.assign(Object.assign({zIndexPopup:h.zIndexPopupBase+50,paddingBlock:(h.controlHeight-h.fontSize*h.lineHeight)/2},(0,r.getArrowOffsetToken)({contentRadius:h.borderRadiusLG,limitVerticalRadius:!0})),(0,a.getArrowToken)(h));return Fg.prepareComponentToken=f,Fg.default=(0,i.genStyleHooks)("Dropdown",h=>{const{marginXXS:d,sizePopupArrow:p,paddingXXS:g,componentCls:m}=h,v=(0,i.mergeToken)(h,{menuCls:`${m}-menu`,dropdownArrowDistance:h.calc(p).div(2).add(d).equal(),dropdownEdgeChildPadding:g});return[c(v),(0,o.default)(v)]},f),Fg}var R4e;function iae(){if(R4e)return l5;R4e=1;var e=ze;Object.defineProperty(l5,"__esModule",{value:!0}),l5.default=void 0;var t=x(_),n=e(Jy()),r=e(Tt()),i=e(iKt),o=Xy,a=e(ns()),l=e(Qr()),s=dl(),u=e(Qoe()),c=e(kd()),f=to(),h=_n(),d=e(RC()),p=Lt(),g=e(rae()),m=nae(),v=Jt(),y=e(SKt()),b=e(zr());function C(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(C=function(M){return M?R:T})(P)}function x(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=C(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var k=A?Object.getOwnPropertyDescriptor(P,N):null;k&&(k.get||k.set)?Object.defineProperty(M,N,k):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}const S=P=>{const{menu:T,arrow:R,prefixCls:M,children:A,trigger:N,disabled:k,dropdownRender:D,getPopupContainer:L,overlayClassName:B,rootClassName:j,overlayStyle:z,open:V,onOpenChange:W,visible:U,onVisibleChange:K,mouseEnterDelay:X=.15,mouseLeaveDelay:G=.1,autoAdjustOverflow:Y=!0,placement:J="",overlay:ee,transitionName:Q}=P,{getPopupContainer:te,getPrefixCls:ne,direction:re,dropdown:oe}=t.useContext(p.ConfigContext);(0,h.devUseWarning)("Dropdown");const se=t.useMemo(()=>{const Fe=ne();return Q!==void 0?Q:J.includes("top")?`${Fe}-slide-down`:`${Fe}-slide-up`},[ne,J,Q]),ye=t.useMemo(()=>J?J.includes("Center")?J.slice(0,J.indexOf("Center")):J:re==="rtl"?"bottomRight":"bottomLeft",[J,re]),be=ne("dropdown",M),he=(0,b.default)(be),[le,ve,ke]=(0,y.default)(be,he),[,Ie]=(0,v.useToken)(),Oe=t.Children.only(A),Pe=(0,f.cloneElement)(Oe,{className:(0,r.default)(`${be}-trigger`,{[`${be}-rtl`]:re==="rtl"},Oe.props.className),disabled:k}),_e=k?[]:N;let ce;_e&&_e.includes("contextMenu")&&(ce=!0);const[Te,Ne]=(0,a.default)(!1,{value:V??U}),je=(0,o.useEvent)(Fe=>{W==null||W(Fe,{source:"trigger"}),K==null||K(Fe),Ne(Fe)}),He=(0,r.default)(B,j,ve,ke,he,oe==null?void 0:oe.className,{[`${be}-rtl`]:re==="rtl"}),Be=(0,u.default)({arrowPointAtCenter:typeof R=="object"&&R.pointAtCenter,autoAdjustOverflow:Y,offset:Ie.marginXXS,arrowWidth:R?Ie.sizePopupArrow:0,borderRadius:Ie.borderRadius}),qe=t.useCallback(()=>{T!=null&&T.selectable&&(T!=null&&T.multiple)||(W==null||W(!1,{source:"menu"}),Ne(!1))},[T==null?void 0:T.selectable,T==null?void 0:T.multiple]),me=()=>{let Fe;return T!=null&&T.items?Fe=t.createElement(g.default,Object.assign({},T)):typeof ee=="function"?Fe=ee():Fe=ee,D&&(Fe=D(Fe)),Fe=t.Children.only(typeof Fe=="string"?t.createElement("span",null,Fe):Fe),t.createElement(m.OverrideProvider,{prefixCls:`${be}-menu`,rootClassName:(0,r.default)(ke,he),expandIcon:t.createElement("span",{className:`${be}-menu-submenu-arrow`},t.createElement(n.default,{className:`${be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:qe,validator:Ke=>{}},Fe)},[Ee,$e]=(0,s.useZIndex)("Dropdown",z==null?void 0:z.zIndex);let Le=t.createElement(i.default,Object.assign({alignPoint:ce},(0,l.default)(P,["rootClassName"]),{mouseEnterDelay:X,mouseLeaveDelay:G,visible:Te,builtinPlacements:Be,arrow:!!R,overlayClassName:He,prefixCls:be,getPopupContainer:L||te,transitionName:se,trigger:_e,overlay:me,placement:ye,onVisibleChange:je,overlayStyle:Object.assign(Object.assign(Object.assign({},oe==null?void 0:oe.style),z),{zIndex:Ee})}),Pe);return Ee&&(Le=t.createElement(d.default.Provider,{value:$e},Le)),le(Le)};function w(P){return Object.assign(Object.assign({},P),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const O=(0,c.default)(S,"dropdown",P=>P,w),$=P=>t.createElement(O,Object.assign({},P),t.createElement("span",null));return S._InternalPanelDoNotUseOrYouWillBeFired=$,l5.default=S,l5}var S5={},I4e;function aVe(){if(I4e)return S5;I4e=1,Object.defineProperty(S5,"__esModule",{value:!0}),S5.default=void 0;var e=r(_),t=Lt();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=o=>{let{children:a}=o;const{getPrefixCls:l}=e.useContext(t.ConfigContext),s=l("breadcrumb");return e.createElement("li",{className:`${s}-separator`,"aria-hidden":"true"},a===""?a:a||"/")};return i.__ANT_BREADCRUMB_SEPARATOR=!0,S5.default=i,S5}var x5={},N4e;function lVe(){if(N4e)return x5;N4e=1;var e=ze;Object.defineProperty(x5,"__esModule",{value:!0}),x5.default=u,x5.renderItem=s;var t=e(Tt()),n=e(MC()),r=o(_);function i(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(i=function(d){return d?h:f})(c)}function o(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=i(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var a=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);pf[p]||d)}function s(c,f,h,d){if(h==null)return null;const{className:p,onClick:g}=f,m=a(f,["className","onClick"]),v=Object.assign(Object.assign({},(0,n.default)(m,{data:!0,aria:!0})),{onClick:g});return d!==void 0?r.createElement("a",Object.assign({},v,{className:(0,t.default)(`${c}-link`,p),href:d}),h):r.createElement("span",Object.assign({},v,{className:(0,t.default)(`${c}-link`,p)}),h)}function u(c,f){return(d,p,g,m,v)=>{if(f)return f(d,p,g,m);const y=l(d,p);return s(c,d,y,v)}}return x5}var A4e;function xKt(){if(A4e)return Dg;A4e=1;var e=ze;Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.default=Dg.InternalBreadcrumbItem=void 0;var t=e(oP()),n=s(_),r=Lt(),i=e(iae()),o=e(aVe()),a=lVe();_n();function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,separator:p="/",children:g,menu:m,overlay:v,dropdownProps:y,href:b}=h,x=(S=>{if(m||v){const w=Object.assign({},y);if(m){const O=m||{},{items:$}=O,P=u(O,["items"]);w.menu=Object.assign(Object.assign({},P),{items:$==null?void 0:$.map((T,R)=>{var{key:M,title:A,label:N,path:k}=T,D=u(T,["key","title","label","path"]);let L=N??A;return k&&(L=n.createElement("a",{href:`${b}${k}`},L)),Object.assign(Object.assign({},D),{key:M??R,label:L})})})}else v&&(w.overlay=v);return n.createElement(i.default,Object.assign({placement:"bottom"},w),n.createElement("span",{className:`${d}-overlay-link`},S,n.createElement(t.default,null)))}return S})(g);return x!=null?n.createElement(n.Fragment,null,n.createElement("li",null,x),p&&n.createElement(o.default,null,p)):null};Dg.InternalBreadcrumbItem=c;const f=h=>{const{prefixCls:d,children:p,href:g}=h,m=u(h,["prefixCls","children","href"]),{getPrefixCls:v}=n.useContext(r.ConfigContext),y=v("breadcrumb",d);return n.createElement(c,Object.assign({},m,{prefixCls:y}),(0,a.renderItem)(y,m,p,g))};return f.__ANT_BREADCRUMB_ITEM=!0,Dg.default=f,Dg}var Hg={},k4e;function _Kt(){if(k4e)return Hg;k4e=1,Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.prepareComponentToken=Hg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,iconCls:l,calc:s}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{color:o.itemColor,fontSize:o.fontSize,[l]:{fontSize:o.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:o.linkColor,transition:`color ${o.motionDurationMid}`,padding:`0 ${(0,e.unit)(o.paddingXXS)}`,borderRadius:o.borderRadiusSM,height:o.fontHeight,display:"inline-block",marginInline:s(o.marginXXS).mul(-1).equal(),"&:hover":{color:o.linkHoverColor,backgroundColor:o.colorBgTextHover}},(0,t.genFocusStyle)(o)),"li:last-child":{color:o.lastItemColor},[`${a}-separator`]:{marginInline:o.separatorMargin,color:o.separatorColor},[`${a}-link`]:{[` + &${y}-slide-up-leave${y}-slide-up-leave-active${d}-placement-topRight`]:{animationName:n.slideDownOut}})},(0,r.default)(h,T,{arrowPlacement:{top:!0,bottom:!0}}),{[`${d} ${p}`]:{position:"relative",margin:0},[`${p}-submenu-popup`]:{position:"absolute",zIndex:g,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${d}, ${d}-menu-submenu`]:{[p]:Object.assign(Object.assign({padding:w,listStyleType:"none",backgroundColor:T,backgroundClip:"padding-box",borderRadius:h.borderRadiusLG,outline:"none",boxShadow:h.boxShadowSecondary},(0,t.genFocusStyle)(h)),{"&:empty":{padding:0,boxShadow:"none"},[`${p}-item-group-title`]:{padding:`${(0,l.unit)(x)} ${(0,l.unit)(P)}`,color:h.colorTextDescription,transition:`all ${C}`},[`${p}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${p}-item-icon`]:{minWidth:S,marginInlineEnd:h.marginXS,fontSize:h.fontSizeSM},[`${p}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${C}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${p}-item, ${p}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,l.unit)(x)} ${(0,l.unit)(P)}`,color:h.colorText,fontWeight:"normal",fontSize:S,lineHeight:h.lineHeight,cursor:"pointer",transition:`all ${C}`,borderRadius:h.borderRadiusSM,"&:hover, &-active":{backgroundColor:h.controlItemBgHover}},(0,t.genFocusStyle)(h)),{"&-selected":{color:h.colorPrimary,backgroundColor:h.controlItemBgActive,"&:hover, &-active":{backgroundColor:h.controlItemBgActiveHover}},"&-disabled":{color:O,cursor:"not-allowed","&:hover":{color:O,backgroundColor:T,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,l.unit)(h.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:h.colorSplit},[`${d}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:h.paddingXS,[`${d}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:h.colorTextDescription,fontSize:$,fontStyle:"normal"}}}),[`${p}-item-group-list`]:{margin:`0 ${(0,l.unit)(h.marginXS)}`,padding:0,listStyle:"none"},[`${p}-submenu-title`]:{paddingInlineEnd:h.calc(P).add(h.fontSizeSM).equal()},[`${p}-submenu-vertical`]:{position:"relative"},[`${p}-submenu${p}-submenu-disabled ${d}-menu-submenu-title`]:{[`&, ${d}-menu-submenu-arrow-icon`]:{color:O,backgroundColor:T,cursor:"not-allowed"}},[`${p}-submenu-selected ${d}-menu-submenu-title`]:{color:h.colorPrimary}})}},[(0,n.initSlideMotion)(h,"slide-up"),(0,n.initSlideMotion)(h,"slide-down"),(0,n.initMoveMotion)(h,"move-up"),(0,n.initMoveMotion)(h,"move-down"),(0,n.initZoomMotion)(h,"zoom-big")]]},f=h=>Object.assign(Object.assign({zIndexPopup:h.zIndexPopupBase+50,paddingBlock:(h.controlHeight-h.fontSize*h.lineHeight)/2},(0,r.getArrowOffsetToken)({contentRadius:h.borderRadiusLG,limitVerticalRadius:!0})),(0,a.getArrowToken)(h));return Fg.prepareComponentToken=f,Fg.default=(0,i.genStyleHooks)("Dropdown",h=>{const{marginXXS:d,sizePopupArrow:p,paddingXXS:g,componentCls:m}=h,v=(0,i.mergeToken)(h,{menuCls:`${m}-menu`,dropdownArrowDistance:h.calc(p).div(2).add(d).equal(),dropdownEdgeChildPadding:g});return[c(v),(0,o.default)(v)]},f),Fg}var I4e;function oae(){if(I4e)return s5;I4e=1;var e=ze;Object.defineProperty(s5,"__esModule",{value:!0}),s5.default=void 0;var t=x(_),n=e(Jy()),r=e(Tt()),i=e(rKt),o=Xy,a=e(ns()),l=e(Qr()),s=dl(),u=e(Joe()),c=e(kd()),f=to(),h=_n(),d=e(RC()),p=Lt(),g=e(iae()),m=rae(),v=Jt(),y=e(CKt()),b=e(zr());function C(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(C=function(M){return M?R:T})(P)}function x(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=C(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var j=A?Object.getOwnPropertyDescriptor(P,N):null;j&&(j.get||j.set)?Object.defineProperty(M,N,j):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}const S=P=>{const{menu:T,arrow:R,prefixCls:M,children:A,trigger:N,disabled:j,dropdownRender:D,getPopupContainer:L,overlayClassName:B,rootClassName:k,overlayStyle:z,open:q,onOpenChange:W,visible:U,onVisibleChange:K,mouseEnterDelay:X=.15,mouseLeaveDelay:G=.1,autoAdjustOverflow:Y=!0,placement:J="",overlay:ee,transitionName:Q}=P,{getPopupContainer:te,getPrefixCls:ne,direction:re,dropdown:oe}=t.useContext(p.ConfigContext);(0,h.devUseWarning)("Dropdown");const se=t.useMemo(()=>{const Fe=ne();return Q!==void 0?Q:J.includes("top")?`${Fe}-slide-down`:`${Fe}-slide-up`},[ne,J,Q]),ye=t.useMemo(()=>J?J.includes("Center")?J.slice(0,J.indexOf("Center")):J:re==="rtl"?"bottomRight":"bottomLeft",[J,re]),be=ne("dropdown",M),he=(0,b.default)(be),[le,ve,ke]=(0,y.default)(be,he),[,Ie]=(0,v.useToken)(),Oe=t.Children.only(A),Pe=(0,f.cloneElement)(Oe,{className:(0,r.default)(`${be}-trigger`,{[`${be}-rtl`]:re==="rtl"},Oe.props.className),disabled:j}),_e=j?[]:N;let ce;_e&&_e.includes("contextMenu")&&(ce=!0);const[Te,Ne]=(0,a.default)(!1,{value:q??U}),je=(0,o.useEvent)(Fe=>{W==null||W(Fe,{source:"trigger"}),K==null||K(Fe),Ne(Fe)}),He=(0,r.default)(B,k,ve,ke,he,oe==null?void 0:oe.className,{[`${be}-rtl`]:re==="rtl"}),Be=(0,u.default)({arrowPointAtCenter:typeof R=="object"&&R.pointAtCenter,autoAdjustOverflow:Y,offset:Ie.marginXXS,arrowWidth:R?Ie.sizePopupArrow:0,borderRadius:Ie.borderRadius}),qe=t.useCallback(()=>{T!=null&&T.selectable&&(T!=null&&T.multiple)||(W==null||W(!1,{source:"menu"}),Ne(!1))},[T==null?void 0:T.selectable,T==null?void 0:T.multiple]),me=()=>{let Fe;return T!=null&&T.items?Fe=t.createElement(g.default,Object.assign({},T)):typeof ee=="function"?Fe=ee():Fe=ee,D&&(Fe=D(Fe)),Fe=t.Children.only(typeof Fe=="string"?t.createElement("span",null,Fe):Fe),t.createElement(m.OverrideProvider,{prefixCls:`${be}-menu`,rootClassName:(0,r.default)(ke,he),expandIcon:t.createElement("span",{className:`${be}-menu-submenu-arrow`},t.createElement(n.default,{className:`${be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:qe,validator:Ke=>{}},Fe)},[Ee,$e]=(0,s.useZIndex)("Dropdown",z==null?void 0:z.zIndex);let Le=t.createElement(i.default,Object.assign({alignPoint:ce},(0,l.default)(P,["rootClassName"]),{mouseEnterDelay:X,mouseLeaveDelay:G,visible:Te,builtinPlacements:Be,arrow:!!R,overlayClassName:He,prefixCls:be,getPopupContainer:L||te,transitionName:se,trigger:_e,overlay:me,placement:ye,onVisibleChange:je,overlayStyle:Object.assign(Object.assign(Object.assign({},oe==null?void 0:oe.style),z),{zIndex:Ee})}),Pe);return Ee&&(Le=t.createElement(d.default.Provider,{value:$e},Le)),le(Le)};function w(P){return Object.assign(Object.assign({},P),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const O=(0,c.default)(S,"dropdown",P=>P,w),$=P=>t.createElement(O,Object.assign({},P),t.createElement("span",null));return S._InternalPanelDoNotUseOrYouWillBeFired=$,s5.default=S,s5}var x5={},N4e;function aVe(){if(N4e)return x5;N4e=1,Object.defineProperty(x5,"__esModule",{value:!0}),x5.default=void 0;var e=r(_),t=Lt();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=o=>{let{children:a}=o;const{getPrefixCls:l}=e.useContext(t.ConfigContext),s=l("breadcrumb");return e.createElement("li",{className:`${s}-separator`,"aria-hidden":"true"},a===""?a:a||"/")};return i.__ANT_BREADCRUMB_SEPARATOR=!0,x5.default=i,x5}var _5={},A4e;function lVe(){if(A4e)return _5;A4e=1;var e=ze;Object.defineProperty(_5,"__esModule",{value:!0}),_5.default=u,_5.renderItem=s;var t=e(Tt()),n=e(MC()),r=o(_);function i(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(i=function(d){return d?h:f})(c)}function o(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=i(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var a=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);pf[p]||d)}function s(c,f,h,d){if(h==null)return null;const{className:p,onClick:g}=f,m=a(f,["className","onClick"]),v=Object.assign(Object.assign({},(0,n.default)(m,{data:!0,aria:!0})),{onClick:g});return d!==void 0?r.createElement("a",Object.assign({},v,{className:(0,t.default)(`${c}-link`,p),href:d}),h):r.createElement("span",Object.assign({},v,{className:(0,t.default)(`${c}-link`,p)}),h)}function u(c,f){return(d,p,g,m,v)=>{if(f)return f(d,p,g,m);const y=l(d,p);return s(c,d,y,v)}}return _5}var k4e;function SKt(){if(k4e)return Dg;k4e=1;var e=ze;Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.default=Dg.InternalBreadcrumbItem=void 0;var t=e(aP()),n=s(_),r=Lt(),i=e(oae()),o=e(aVe()),a=lVe();_n();function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,separator:p="/",children:g,menu:m,overlay:v,dropdownProps:y,href:b}=h,x=(S=>{if(m||v){const w=Object.assign({},y);if(m){const O=m||{},{items:$}=O,P=u(O,["items"]);w.menu=Object.assign(Object.assign({},P),{items:$==null?void 0:$.map((T,R)=>{var{key:M,title:A,label:N,path:j}=T,D=u(T,["key","title","label","path"]);let L=N??A;return j&&(L=n.createElement("a",{href:`${b}${j}`},L)),Object.assign(Object.assign({},D),{key:M??R,label:L})})})}else v&&(w.overlay=v);return n.createElement(i.default,Object.assign({placement:"bottom"},w),n.createElement("span",{className:`${d}-overlay-link`},S,n.createElement(t.default,null)))}return S})(g);return x!=null?n.createElement(n.Fragment,null,n.createElement("li",null,x),p&&n.createElement(o.default,null,p)):null};Dg.InternalBreadcrumbItem=c;const f=h=>{const{prefixCls:d,children:p,href:g}=h,m=u(h,["prefixCls","children","href"]),{getPrefixCls:v}=n.useContext(r.ConfigContext),y=v("breadcrumb",d);return n.createElement(c,Object.assign({},m,{prefixCls:y}),(0,a.renderItem)(y,m,p,g))};return f.__ANT_BREADCRUMB_ITEM=!0,Dg.default=f,Dg}var Hg={},j4e;function xKt(){if(j4e)return Hg;j4e=1,Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.prepareComponentToken=Hg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,iconCls:l,calc:s}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{color:o.itemColor,fontSize:o.fontSize,[l]:{fontSize:o.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:o.linkColor,transition:`color ${o.motionDurationMid}`,padding:`0 ${(0,e.unit)(o.paddingXXS)}`,borderRadius:o.borderRadiusSM,height:o.fontHeight,display:"inline-block",marginInline:s(o.marginXXS).mul(-1).equal(),"&:hover":{color:o.linkHoverColor,backgroundColor:o.colorBgTextHover}},(0,t.genFocusStyle)(o)),"li:last-child":{color:o.lastItemColor},[`${a}-separator`]:{marginInline:o.separatorMargin,color:o.separatorColor},[`${a}-link`]:{[` > ${l} + span, > ${l} + a - `]:{marginInlineStart:o.marginXXS}},[`${a}-overlay-link`]:{borderRadius:o.borderRadiusSM,height:o.fontHeight,display:"inline-block",padding:`0 ${(0,e.unit)(o.paddingXXS)}`,marginInline:s(o.marginXXS).mul(-1).equal(),[`> ${l}`]:{marginInlineStart:o.marginXXS,fontSize:o.fontSizeIcon},"&:hover":{color:o.linkHoverColor,backgroundColor:o.colorBgTextHover,a:{color:o.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${o.componentCls}-rtl`]:{direction:"rtl"}})}},i=o=>({itemColor:o.colorTextDescription,lastItemColor:o.colorText,iconFontSize:o.fontSize,linkColor:o.colorTextDescription,linkHoverColor:o.colorText,separatorColor:o.colorTextDescription,separatorMargin:o.marginXS});return Hg.prepareComponentToken=i,Hg.default=(0,n.genStyleHooks)("Breadcrumb",o=>{const a=(0,n.mergeToken)(o,{});return r(a)},i),Hg}var LR={},j4e;function wKt(){if(j4e)return LR;j4e=1,Object.defineProperty(LR,"__esModule",{value:!0}),LR.default=r;var e=_,t=function(i,o){var a={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.indexOf(l)<0&&(a[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,l=Object.getOwnPropertySymbols(i);s{var{breadcrumbName:c}=u,f=t(u,["breadcrumbName"]);return Object.assign(Object.assign({},f),{title:c})})}),s}function r(i,o){return(0,e.useMemo)(()=>i||(o?o.map(n):null),[i,o])}return LR}var D4e;function OKt(){if(D4e)return a5;D4e=1;var e=ze;Object.defineProperty(a5,"__esModule",{value:!0}),a5.default=void 0;var t=d(_),n=e(Tt()),r=e(fl()),i=e(MC()),o=to();_n();var a=Lt(),l=d(xKt()),s=e(aVe()),u=e(_Kt()),c=e(lVe()),f=e(wKt());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{if(y===void 0)return y;let b=(y||"").replace(/^\//,"");return Object.keys(v).forEach(C=>{b=b.replace(`:${C}`,v[C])}),b},m=v=>{const{prefixCls:y,separator:b="/",style:C,className:x,rootClassName:S,routes:w,items:O,children:$,itemRender:P,params:T={}}=v,R=p(v,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:M,direction:A,breadcrumb:N}=t.useContext(a.ConfigContext);let k;const D=M("breadcrumb",y),[L,B,j]=(0,u.default)(D),z=(0,f.default)(O,w),V=(0,c.default)(D,P);if(z&&z.length>0){const K=[],X=O||w;k=z.map((G,Y)=>{const{path:J,key:ee,type:Q,menu:te,overlay:ne,onClick:re,className:oe,separator:se,dropdownProps:ye}=G,be=g(T,J);be!==void 0&&K.push(be);const he=ee??Y;if(Q==="separator")return t.createElement(s.default,{key:he},se);const le={},ve=Y===z.length-1;te?le.menu=te:ne&&(le.overlay=ne);let{href:ke}=G;return K.length&&be!==void 0&&(ke=`#/${K.join("/")}`),t.createElement(l.InternalBreadcrumbItem,Object.assign({key:he},le,(0,i.default)(G,{data:!0,aria:!0}),{className:oe,dropdownProps:ye,href:ke,separator:ve?"":b,onClick:re,prefixCls:D}),V(G,T,X,K,ke))})}else if($){const K=(0,r.default)($).length;k=(0,r.default)($).map((X,G)=>{if(!X)return X;const Y=G===K-1;return(0,o.cloneElement)(X,{separator:Y?"":b,key:G})})}const W=(0,n.default)(D,N==null?void 0:N.className,{[`${D}-rtl`]:A==="rtl"},x,S,B,j),U=Object.assign(Object.assign({},N==null?void 0:N.style),C);return L(t.createElement("nav",Object.assign({className:W,style:U},R),t.createElement("ol",null,k)))};return m.Item=l.default,m.Separator=s.default,a5.default=m,a5}var L4e;function EKt(){if(L4e)return o5;L4e=1;var e=ze;Object.defineProperty(o5,"__esModule",{value:!0}),o5.default=void 0;var t=e(OKt());return o5.default=t.default,o5}var _5={},w5={},z4e;function sVe(){if(z4e)return w5;z4e=1;var e=ze;Object.defineProperty(w5,"__esModule",{value:!0}),w5.default=void 0;var t=e(kre),n=jh(),r=e(GDe()),i=e(KDe()),o=e(XDe()),a=e(YDe()),l=e(ZDe()),s=e(QDe());t.default.extend(s.default),t.default.extend(l.default),t.default.extend(r.default),t.default.extend(i.default),t.default.extend(o.default),t.default.extend(a.default),t.default.extend(function(d,p){var g=p.prototype,m=g.format;g.format=function(y){var b=(y||"").replace("Wo","wo");return m.bind(this)(b)}});var u={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},c=function(p){var g=u[p];return g||p.split("_")[0]},f=function(){(0,n.noteOnce)(!1,"Not match any format. Please help to fire a issue about this.")},h={getNow:function(){return(0,t.default)()},getFixedDate:function(p){return(0,t.default)(p,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(p){return p.endOf("month")},getWeekDay:function(p){var g=p.locale("en");return g.weekday()+g.localeData().firstDayOfWeek()},getYear:function(p){return p.year()},getMonth:function(p){return p.month()},getDate:function(p){return p.date()},getHour:function(p){return p.hour()},getMinute:function(p){return p.minute()},getSecond:function(p){return p.second()},getMillisecond:function(p){return p.millisecond()},addYear:function(p,g){return p.add(g,"year")},addMonth:function(p,g){return p.add(g,"month")},addDate:function(p,g){return p.add(g,"day")},setYear:function(p,g){return p.year(g)},setMonth:function(p,g){return p.month(g)},setDate:function(p,g){return p.date(g)},setHour:function(p,g){return p.hour(g)},setMinute:function(p,g){return p.minute(g)},setSecond:function(p,g){return p.second(g)},setMillisecond:function(p,g){return p.millisecond(g)},isAfter:function(p,g){return p.isAfter(g)},isValidate:function(p){return p.isValid()},locale:{getWeekFirstDay:function(p){return(0,t.default)().locale(c(p)).localeData().firstDayOfWeek()},getWeekFirstDate:function(p,g){return g.locale(c(p)).weekday(0)},getWeek:function(p,g){return g.locale(c(p)).week()},getShortWeekDays:function(p){return(0,t.default)().locale(c(p)).localeData().weekdaysMin()},getShortMonths:function(p){return(0,t.default)().locale(c(p)).localeData().monthsShort()},format:function(p,g,m){return g.locale(c(p)).format(m)},parse:function(p,g,m){for(var v=c(p),y=0;y{const{componentCls:s,antCls:u}=l,c=`${s}-group`;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{display:"inline-block",fontSize:0,[`&${c}-rtl`]:{direction:"rtl"},[`${u}-badge ${u}-badge-count`]:{zIndex:1},[`> ${u}-badge:not(:first-child) > ${u}-button-wrapper`]:{borderInlineStart:"none"}})}},i=l=>{const{componentCls:s,wrapperMarginInlineEnd:u,colorPrimary:c,radioSize:f,motionDurationSlow:h,motionDurationMid:d,motionEaseInOutCirc:p,colorBgContainer:g,colorBorder:m,lineWidth:v,colorBgContainerDisabled:y,colorTextDisabled:b,paddingXS:C,dotColorDisabled:x,lineType:S,radioColor:w,radioBgColor:O,calc:$}=l,P=`${s}-inner`,R=$(f).sub($(4).mul(2)),M=$(1).mul(f).equal();return{[`${s}-wrapper`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:u,cursor:"pointer",[`&${s}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:l.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${s}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,e.unit)(v)} ${S} ${c}`,borderRadius:"50%",visibility:"hidden",content:'""'},[s]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${s}-wrapper:hover &, - &:hover ${P}`]:{borderColor:c},[`${s}-input:focus-visible + ${P}`]:Object.assign({},(0,t.genFocusOutline)(l)),[`${s}:hover::after, ${s}-wrapper:hover &::after`]:{visibility:"visible"},[`${s}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:M,height:M,marginBlockStart:$(1).mul(f).div(-2).equal(),marginInlineStart:$(1).mul(f).div(-2).equal(),backgroundColor:w,borderBlockStart:0,borderInlineStart:0,borderRadius:M,transform:"scale(0)",opacity:0,transition:`all ${h} ${p}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:M,height:M,backgroundColor:g,borderColor:m,borderStyle:"solid",borderWidth:v,borderRadius:"50%",transition:`all ${d}`},[`${s}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${s}-checked`]:{[P]:{borderColor:c,backgroundColor:O,"&::after":{transform:`scale(${l.calc(l.dotSize).div(f).equal()})`,opacity:1,transition:`all ${h} ${p}`}}},[`${s}-disabled`]:{cursor:"not-allowed",[P]:{backgroundColor:y,borderColor:m,cursor:"not-allowed","&::after":{backgroundColor:x}},[`${s}-input`]:{cursor:"not-allowed"},[`${s}-disabled + span`]:{color:b,cursor:"not-allowed"},[`&${s}-checked`]:{[P]:{"&::after":{transform:`scale(${$(R).div(f).equal({unit:!1})})`}}}},[`span${s} + *`]:{paddingInlineStart:C,paddingInlineEnd:C}})}},o=l=>{const{buttonColor:s,controlHeight:u,componentCls:c,lineWidth:f,lineType:h,colorBorder:d,motionDurationSlow:p,motionDurationMid:g,buttonPaddingInline:m,fontSize:v,buttonBg:y,fontSizeLG:b,controlHeightLG:C,controlHeightSM:x,paddingXS:S,borderRadius:w,borderRadiusSM:O,borderRadiusLG:$,buttonCheckedBg:P,buttonSolidCheckedColor:T,colorTextDisabled:R,colorBgContainerDisabled:M,buttonCheckedBgDisabled:A,buttonCheckedColorDisabled:N,colorPrimary:k,colorPrimaryHover:D,colorPrimaryActive:L,buttonSolidCheckedBg:B,buttonSolidCheckedHoverBg:j,buttonSolidCheckedActiveBg:z,calc:V}=l;return{[`${c}-button-wrapper`]:{position:"relative",display:"inline-block",height:u,margin:0,paddingInline:m,paddingBlock:0,color:s,fontSize:v,lineHeight:(0,e.unit)(V(u).sub(V(f).mul(2)).equal()),background:y,border:`${(0,e.unit)(f)} ${h} ${d}`,borderBlockStartWidth:V(f).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:f,cursor:"pointer",transition:[`color ${g}`,`background ${g}`,`box-shadow ${g}`].join(","),a:{color:s},[`> ${c}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:V(f).mul(-1).equal(),insetInlineStart:V(f).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:f,paddingInline:0,backgroundColor:d,transition:`background-color ${p}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,e.unit)(f)} ${h} ${d}`,borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w},"&:first-child:last-child":{borderRadius:w},[`${c}-group-large &`]:{height:C,fontSize:b,lineHeight:(0,e.unit)(V(C).sub(V(f).mul(2)).equal()),"&:first-child":{borderStartStartRadius:$,borderEndStartRadius:$},"&:last-child":{borderStartEndRadius:$,borderEndEndRadius:$}},[`${c}-group-small &`]:{height:x,paddingInline:V(S).sub(f).equal(),paddingBlock:0,lineHeight:(0,e.unit)(V(x).sub(V(f).mul(2)).equal()),"&:first-child":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child":{borderStartEndRadius:O,borderEndEndRadius:O}},"&:hover":{position:"relative",color:k},"&:has(:focus-visible)":Object.assign({},(0,t.genFocusOutline)(l)),[`${c}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${c}-button-wrapper-disabled)`]:{zIndex:1,color:k,background:P,borderColor:k,"&::before":{backgroundColor:k},"&:first-child":{borderColor:k},"&:hover":{color:D,borderColor:D,"&::before":{backgroundColor:D}},"&:active":{color:L,borderColor:L,"&::before":{backgroundColor:L}}},[`${c}-group-solid &-checked:not(${c}-button-wrapper-disabled)`]:{color:T,background:B,borderColor:B,"&:hover":{color:T,background:j,borderColor:j},"&:active":{color:T,background:z,borderColor:z}},"&-disabled":{color:R,backgroundColor:M,borderColor:d,cursor:"not-allowed","&:first-child, &:hover":{color:R,backgroundColor:M,borderColor:d}},[`&-disabled${c}-button-wrapper-checked`]:{color:N,backgroundColor:A,borderColor:d,boxShadow:"none"}}}},a=l=>{const{wireframe:s,padding:u,marginXS:c,lineWidth:f,fontSizeLG:h,colorText:d,colorBgContainer:p,colorTextDisabled:g,controlItemBgActiveDisabled:m,colorTextLightSolid:v,colorPrimary:y,colorPrimaryHover:b,colorPrimaryActive:C,colorWhite:x}=l,S=4,w=h,O=s?w-S*2:w-(S+f)*2;return{radioSize:w,dotSize:O,dotColorDisabled:g,buttonSolidCheckedColor:v,buttonSolidCheckedBg:y,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:C,buttonBg:p,buttonCheckedBg:p,buttonColor:d,buttonCheckedBgDisabled:m,buttonCheckedColorDisabled:g,buttonPaddingInline:u-f,wrapperMarginInlineEnd:c,radioColor:s?y:x,radioBgColor:s?p:y}};return Wg.prepareComponentToken=a,Wg.default=(0,n.genStyleHooks)("Radio",l=>{const{controlOutline:s,controlOutlineWidth:u}=l,c=`0 0 0 ${(0,e.unit)(u)} ${s}`,f=c,h=(0,n.mergeToken)(l,{radioFocusShadow:c,radioButtonFocusShadow:f});return[r(h),i(h),o(h)]},a,{unitless:{radioSize:!0,dotSize:!0}}),Wg}var H4e;function lae(){if(H4e)return P5;H4e=1;var e=ze;Object.defineProperty(P5,"__esModule",{value:!0}),P5.default=void 0;var t=p(_),n=e(Tt()),r=e(cVe),i=Nc();_n();var o=e(eP()),a=bF(),l=Lt(),s=e($a()),u=fi(),c=p(aae()),f=e(uVe()),h=e(zr());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var g=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{var C,x;const S=t.useContext(c.default),w=t.useContext(c.RadioOptionTypeContext),{getPrefixCls:O,direction:$,radio:P}=t.useContext(l.ConfigContext),T=t.useRef(null),R=(0,i.composeRef)(b,T),{isFormItemInput:M}=t.useContext(u.FormItemInputContext),A=te=>{var ne,re;(ne=y.onChange)===null||ne===void 0||ne.call(y,te),(re=S==null?void 0:S.onChange)===null||re===void 0||re.call(S,te)},{prefixCls:N,className:k,rootClassName:D,children:L,style:B,title:j}=y,z=g(y,["prefixCls","className","rootClassName","children","style","title"]),V=O("radio",N),W=((S==null?void 0:S.optionType)||w)==="button",U=W?`${V}-button`:V,K=(0,h.default)(V),[X,G,Y]=(0,f.default)(V,K),J=Object.assign({},z),ee=t.useContext(s.default);S&&(J.name=S.name,J.onChange=A,J.checked=y.value===S.value,J.disabled=(C=J.disabled)!==null&&C!==void 0?C:S.disabled),J.disabled=(x=J.disabled)!==null&&x!==void 0?x:ee;const Q=(0,n.default)(`${U}-wrapper`,{[`${U}-wrapper-checked`]:J.checked,[`${U}-wrapper-disabled`]:J.disabled,[`${U}-wrapper-rtl`]:$==="rtl",[`${U}-wrapper-in-form-item`]:M},P==null?void 0:P.className,k,D,G,Y,K);return X(t.createElement(o.default,{component:"Radio",disabled:J.disabled},t.createElement("label",{className:Q,style:Object.assign(Object.assign({},P==null?void 0:P.style),B),onMouseEnter:y.onMouseEnter,onMouseLeave:y.onMouseLeave,title:j},t.createElement(r.default,Object.assign({},J,{className:(0,n.default)(J.className,!W&&a.TARGET_CLS),type:"radio",prefixCls:U,ref:R})),L!==void 0?t.createElement("span",null,L):null)))},v=t.forwardRef(m);return P5.default=v,P5}var W4e;function $Kt(){if(W4e)return $5;W4e=1;var e=ze;Object.defineProperty($5,"__esModule",{value:!0}),$5.default=void 0;var t=h(_),n=e(Tt()),r=e(ns()),i=e(MC()),o=Lt(),a=e(no()),l=aae(),s=e(lae()),u=e(uVe()),c=e(zr());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=t.forwardRef((p,g)=>{const{getPrefixCls:m,direction:v}=t.useContext(o.ConfigContext),[y,b]=(0,r.default)(p.defaultValue,{value:p.value}),C=Y=>{const J=y,ee=Y.target.value;"value"in p||b(ee);const{onChange:Q}=p;Q&&ee!==J&&Q(Y)},{prefixCls:x,className:S,rootClassName:w,options:O,buttonStyle:$="outline",disabled:P,children:T,size:R,style:M,id:A,onMouseEnter:N,onMouseLeave:k,onFocus:D,onBlur:L}=p,B=m("radio",x),j=`${B}-group`,z=(0,c.default)(B),[V,W,U]=(0,u.default)(B,z);let K=T;O&&O.length>0&&(K=O.map(Y=>typeof Y=="string"||typeof Y=="number"?t.createElement(s.default,{key:Y.toString(),prefixCls:B,disabled:P,value:Y,checked:y===Y},Y):t.createElement(s.default,{key:`radio-group-value-options-${Y.value}`,prefixCls:B,disabled:Y.disabled||P,value:Y.value,checked:y===Y.value,title:Y.title,style:Y.style,id:Y.id,required:Y.required},Y.label)));const X=(0,a.default)(R),G=(0,n.default)(j,`${j}-${$}`,{[`${j}-${X}`]:X,[`${j}-rtl`]:v==="rtl"},S,w,W,U,z);return V(t.createElement("div",Object.assign({},(0,i.default)(p,{aria:!0,data:!0}),{className:G,style:M,onMouseEnter:N,onMouseLeave:k,onFocus:D,onBlur:L,id:A,ref:g}),t.createElement(l.RadioGroupContextProvider,{value:{onChange:C,value:y,disabled:p.disabled,name:p.name,optionType:p.optionType}},K)))});return $5.default=t.memo(d),$5}var T5={},q4e;function PKt(){if(q4e)return T5;q4e=1;var e=ze;Object.defineProperty(T5,"__esModule",{value:!0}),T5.default=void 0;var t=a(_),n=Lt(),r=aae(),i=e(lae());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{getPrefixCls:f}=t.useContext(n.ConfigContext),{prefixCls:h}=u,d=l(u,["prefixCls"]),p=f("radio",h);return t.createElement(r.RadioOptionTypeContextProvider,{value:"button"},t.createElement(i.default,Object.assign({prefixCls:p},d,{type:"radio",ref:c})))};return T5.default=t.forwardRef(s),T5}var V4e;function TF(){return V4e||(V4e=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return n.default}}),e.default=void 0;var n=t($Kt()),r=t(lae()),i=t(PKt());const o=r.default;o.Button=i.default,o.Group=n.default,o.__ANT_RADIO=!0,e.default=o}(sG)),sG}var U4e;function TKt(){if(U4e)return E5;U4e=1;var e=ze;Object.defineProperty(E5,"__esModule",{value:!0}),E5.default=void 0;var t=l(_),n=t,r=fi(),i=TF(),o=e(aP());function a(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(a=function(v){return v?m:g})(p)}function l(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=a(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const s=10,u=20;function c(p){const{fullscreen:g,validRange:m,generateConfig:v,locale:y,prefixCls:b,value:C,onChange:x,divRef:S}=p,w=v.getYear(C||v.getNow());let O=w-s,$=O+u;m&&(O=v.getYear(m[0]),$=v.getYear(m[1])+1);const P=y&&y.year==="年"?"年":"",T=[];for(let R=O;R<$;R++)T.push({label:`${R}${P}`,value:R});return n.createElement(o.default,{size:g?void 0:"small",options:T,value:w,className:`${b}-year-select`,onChange:R=>{let M=v.setYear(C,R);if(m){const[A,N]=m,k=v.getYear(M),D=v.getMonth(M);k===v.getYear(N)&&D>v.getMonth(N)&&(M=v.setMonth(M,v.getMonth(N))),k===v.getYear(A)&&DS.current})}function f(p){const{prefixCls:g,fullscreen:m,validRange:v,value:y,generateConfig:b,locale:C,onChange:x,divRef:S}=p,w=b.getMonth(y||b.getNow());let O=0,$=11;if(v){const[R,M]=v,A=b.getYear(y);b.getYear(M)===A&&($=b.getMonth(M)),b.getYear(R)===A&&(O=b.getMonth(R))}const P=C.shortMonths||b.locale.getShortMonths(C.locale),T=[];for(let R=O;R<=$;R+=1)T.push({label:P[R],value:R});return n.createElement(o.default,{size:m?void 0:"small",className:`${g}-month-select`,value:w,options:T,onChange:R=>{x(b.setMonth(y,R))},getPopupContainer:()=>S.current})}function h(p){const{prefixCls:g,locale:m,mode:v,fullscreen:y,onModeChange:b}=p;return n.createElement(i.Group,{onChange:C=>{let{target:{value:x}}=C;b(x)},value:v,size:y?void 0:"small",className:`${g}-mode-switch`},n.createElement(i.Button,{value:"month"},m.month),n.createElement(i.Button,{value:"year"},m.year))}function d(p){const{prefixCls:g,fullscreen:m,mode:v,onChange:y,onModeChange:b}=p,C=n.useRef(null),x=(0,t.useContext)(r.FormItemInputContext),S=(0,t.useMemo)(()=>Object.assign(Object.assign({},x),{isFormItemInput:!1}),[x]),w=Object.assign(Object.assign({},p),{fullscreen:m,divRef:C});return n.createElement("div",{className:`${g}-header`,ref:C},n.createElement(r.FormItemInputContext.Provider,{value:S},n.createElement(c,Object.assign({},w,{onChange:O=>{y(O,"year")}})),v==="month"&&n.createElement(f,Object.assign({},w,{onChange:O=>{y(O,"month")}}))),n.createElement(h,Object.assign({},w,{onModeChange:b})))}return E5.default=d,E5}var dp={},cG={},uG={},l2={},G4e;function sae(){if(G4e)return l2;G4e=1,Object.defineProperty(l2,"__esModule",{value:!0}),l2.initComponentToken=void 0,l2.initInputToken=t;var e=Jt();function t(r){return(0,e.mergeToken)(r,{inputAffixPadding:r.paddingXXS})}const n=r=>{const{controlHeight:i,fontSize:o,lineHeight:a,lineWidth:l,controlHeightSM:s,controlHeightLG:u,fontSizeLG:c,lineHeightLG:f,paddingSM:h,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:g,colorPrimaryHover:m,colorPrimary:v,controlOutlineWidth:y,controlOutline:b,colorErrorOutline:C,colorWarningOutline:x,colorBgContainer:S}=r;return{paddingBlock:Math.max(Math.round((i-o*a)/2*10)/10-l,0),paddingBlockSM:Math.max(Math.round((s-o*a)/2*10)/10-l,0),paddingBlockLG:Math.ceil((u-c*f)/2*10)/10-l,paddingInline:h-l,paddingInlineSM:d-l,paddingInlineLG:p-l,addonBg:g,activeBorderColor:v,hoverBorderColor:m,activeShadow:`0 0 0 ${y}px ${b}`,errorActiveShadow:`0 0 0 ${y}px ${C}`,warningActiveShadow:`0 0 0 ${y}px ${x}`,hoverBg:S,activeBg:S,inputFontSize:o,inputFontSizeLG:c,inputFontSizeSM:o}};return l2.initComponentToken=n,l2}var ya={},K4e;function cP(){if(K4e)return ya;K4e=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.genOutlinedStyle=ya.genOutlinedGroupStyle=ya.genHoverStyle=ya.genFilledStyle=ya.genFilledGroupStyle=ya.genDisabledStyle=ya.genBorderlessStyle=ya.genBaseOutlinedStyle=void 0;var e=Xt,t=Jt();const n=g=>({borderColor:g.hoverBorderColor,backgroundColor:g.hoverBg});ya.genHoverStyle=n;const r=g=>({color:g.colorTextDisabled,backgroundColor:g.colorBgContainerDisabled,borderColor:g.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},n((0,t.mergeToken)(g,{hoverBorderColor:g.colorBorder,hoverBg:g.colorBgContainerDisabled})))});ya.genDisabledStyle=r;const i=(g,m)=>({background:g.colorBgContainer,borderWidth:g.lineWidth,borderStyle:g.lineType,borderColor:m.borderColor,"&:hover":{borderColor:m.hoverBorderColor,backgroundColor:g.hoverBg},"&:focus, &:focus-within":{borderColor:m.activeBorderColor,boxShadow:m.activeShadow,outline:0,backgroundColor:g.activeBg}});ya.genBaseOutlinedStyle=i;const o=(g,m)=>({[`&${g.componentCls}-status-${m.status}:not(${g.componentCls}-disabled)`]:Object.assign(Object.assign({},i(g,m)),{[`${g.componentCls}-prefix, ${g.componentCls}-suffix`]:{color:m.affixColor}})}),a=(g,m)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(g,{borderColor:g.colorBorder,hoverBorderColor:g.hoverBorderColor,activeBorderColor:g.activeBorderColor,activeShadow:g.activeShadow})),{[`&${g.componentCls}-disabled, &[disabled]`]:Object.assign({},r(g))}),o(g,{status:"error",borderColor:g.colorError,hoverBorderColor:g.colorErrorBorderHover,activeBorderColor:g.colorError,activeShadow:g.errorActiveShadow,affixColor:g.colorError})),o(g,{status:"warning",borderColor:g.colorWarning,hoverBorderColor:g.colorWarningBorderHover,activeBorderColor:g.colorWarning,activeShadow:g.warningActiveShadow,affixColor:g.colorWarning})),m)});ya.genOutlinedStyle=a;const l=(g,m)=>({[`&${g.componentCls}-group-wrapper-status-${m.status}`]:{[`${g.componentCls}-group-addon`]:{borderColor:m.addonBorderColor,color:m.addonColor}}}),s=g=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${g.componentCls}-group`]:{"&-addon":{background:g.addonBg,border:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},l(g,{status:"error",addonBorderColor:g.colorError,addonColor:g.colorErrorText})),l(g,{status:"warning",addonBorderColor:g.colorWarning,addonColor:g.colorWarningText})),{[`&${g.componentCls}-group-wrapper-disabled`]:{[`${g.componentCls}-group-addon`]:Object.assign({},r(g))}})});ya.genOutlinedGroupStyle=s;const u=(g,m)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${g.componentCls}-disabled, &[disabled]`]:{color:g.colorTextDisabled}},m)});ya.genBorderlessStyle=u;const c=(g,m)=>({background:m.bg,borderWidth:g.lineWidth,borderStyle:g.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:m==null?void 0:m.inputColor},"&:hover":{background:m.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:m.activeBorderColor,backgroundColor:g.activeBg}}),f=(g,m)=>({[`&${g.componentCls}-status-${m.status}:not(${g.componentCls}-disabled)`]:Object.assign(Object.assign({},c(g,m)),{[`${g.componentCls}-prefix, ${g.componentCls}-suffix`]:{color:m.affixColor}})}),h=(g,m)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c(g,{bg:g.colorFillTertiary,hoverBg:g.colorFillSecondary,activeBorderColor:g.colorPrimary})),{[`&${g.componentCls}-disabled, &[disabled]`]:Object.assign({},r(g))}),f(g,{status:"error",bg:g.colorErrorBg,hoverBg:g.colorErrorBgHover,activeBorderColor:g.colorError,inputColor:g.colorErrorText,affixColor:g.colorError})),f(g,{status:"warning",bg:g.colorWarningBg,hoverBg:g.colorWarningBgHover,activeBorderColor:g.colorWarning,inputColor:g.colorWarningText,affixColor:g.colorWarning})),m)});ya.genFilledStyle=h;const d=(g,m)=>({[`&${g.componentCls}-group-wrapper-status-${m.status}`]:{[`${g.componentCls}-group-addon`]:{background:m.addonBg,color:m.addonColor}}}),p=g=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${g.componentCls}-group`]:{"&-addon":{background:g.colorFillTertiary},[`${g.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorSplit}`}}}},d(g,{status:"error",addonBg:g.colorErrorBg,addonColor:g.colorErrorText})),d(g,{status:"warning",addonBg:g.colorWarningBg,addonColor:g.colorWarningText})),{[`&${g.componentCls}-group-wrapper-disabled`]:{[`${g.componentCls}-group`]:{"&-addon":{background:g.colorFillTertiary,color:g.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderTop:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderBottom:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderTop:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderBottom:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`}}}})});return ya.genFilledGroupStyle=p,ya}var X4e;function eb(){return X4e||(X4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.genPlaceholderStyle=e.genInputSmallStyle=e.genInputGroupStyle=e.genBasicInputStyle=e.genActiveStyle=e.default=void 0,Object.defineProperty(e,"initComponentToken",{enumerable:!0,get:function(){return o.initComponentToken}}),Object.defineProperty(e,"initInputToken",{enumerable:!0,get:function(){return o.initInputToken}});var t=Xt,n=Tn(),r=IC(),i=Jt(),o=sae(),a=cP();const l=C=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:C,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});e.genPlaceholderStyle=l;const s=C=>({borderColor:C.activeBorderColor,boxShadow:C.activeShadow,outline:0,backgroundColor:C.activeBg});e.genActiveStyle=s;const u=C=>{const{paddingBlockLG:x,lineHeightLG:S,borderRadiusLG:w,paddingInlineLG:O}=C;return{padding:`${(0,t.unit)(x)} ${(0,t.unit)(O)}`,fontSize:C.inputFontSizeLG,lineHeight:S,borderRadius:w}},c=C=>({padding:`${(0,t.unit)(C.paddingBlockSM)} ${(0,t.unit)(C.paddingInlineSM)}`,fontSize:C.inputFontSizeSM,borderRadius:C.borderRadiusSM});e.genInputSmallStyle=c;const f=C=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,t.unit)(C.paddingBlock)} ${(0,t.unit)(C.paddingInline)}`,color:C.colorText,fontSize:C.inputFontSize,lineHeight:C.lineHeight,borderRadius:C.borderRadius,transition:`all ${C.motionDurationMid}`},l(C.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:C.controlHeight,lineHeight:C.lineHeight,verticalAlign:"bottom",transition:`all ${C.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(C)),"&-sm":Object.assign({},c(C)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}});e.genBasicInputStyle=f;const h=C=>{const{componentCls:x,antCls:S}=C;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:C.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${x}, &-lg > ${x}-group-addon`]:Object.assign({},u(C)),[`&-sm ${x}, &-sm > ${x}-group-addon`]:Object.assign({},c(C)),[`&-lg ${S}-select-single ${S}-select-selector`]:{height:C.controlHeightLG},[`&-sm ${S}-select-single ${S}-select-selector`]:{height:C.controlHeightSM},[`> ${x}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${x}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,t.unit)(C.paddingInline)}`,color:C.colorText,fontWeight:"normal",fontSize:C.inputFontSize,textAlign:"center",borderRadius:C.borderRadius,transition:`all ${C.motionDurationSlow}`,lineHeight:1,[`${S}-select`]:{margin:`${(0,t.unit)(C.calc(C.paddingBlock).add(1).mul(-1).equal())} ${(0,t.unit)(C.calc(C.paddingInline).mul(-1).equal())}`,[`&${S}-select-single:not(${S}-select-customize-input):not(${S}-pagination-size-changer)`]:{[`${S}-select-selector`]:{backgroundColor:"inherit",border:`${(0,t.unit)(C.lineWidth)} ${C.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${S}-select-selector`]:{color:C.colorPrimary}}},[`${S}-cascader-picker`]:{margin:`-9px ${(0,t.unit)(C.calc(C.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${S}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${x}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${x}-search-with-button &`]:{zIndex:0}}},[`> ${x}:first-child, ${x}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${S}-select ${S}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${x}-affix-wrapper`]:{[`&:not(:first-child) ${x}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${x}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${x}:last-child, ${x}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${S}-select ${S}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${x}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${x}-search &`]:{borderStartStartRadius:C.borderRadius,borderEndStartRadius:C.borderRadius}},[`&:not(:first-child), ${x}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${x}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.clearFix)()),{[`${x}-group-addon, ${x}-group-wrap, > ${x}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:C.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{marginInlineStart:o.marginXXS}},[`${a}-overlay-link`]:{borderRadius:o.borderRadiusSM,height:o.fontHeight,display:"inline-block",padding:`0 ${(0,e.unit)(o.paddingXXS)}`,marginInline:s(o.marginXXS).mul(-1).equal(),[`> ${l}`]:{marginInlineStart:o.marginXXS,fontSize:o.fontSizeIcon},"&:hover":{color:o.linkHoverColor,backgroundColor:o.colorBgTextHover,a:{color:o.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${o.componentCls}-rtl`]:{direction:"rtl"}})}},i=o=>({itemColor:o.colorTextDescription,lastItemColor:o.colorText,iconFontSize:o.fontSize,linkColor:o.colorTextDescription,linkHoverColor:o.colorText,separatorColor:o.colorTextDescription,separatorMargin:o.marginXS});return Hg.prepareComponentToken=i,Hg.default=(0,n.genStyleHooks)("Breadcrumb",o=>{const a=(0,n.mergeToken)(o,{});return r(a)},i),Hg}var zR={},D4e;function _Kt(){if(D4e)return zR;D4e=1,Object.defineProperty(zR,"__esModule",{value:!0}),zR.default=r;var e=_,t=function(i,o){var a={};for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.indexOf(l)<0&&(a[l]=i[l]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,l=Object.getOwnPropertySymbols(i);s{var{breadcrumbName:c}=u,f=t(u,["breadcrumbName"]);return Object.assign(Object.assign({},f),{title:c})})}),s}function r(i,o){return(0,e.useMemo)(()=>i||(o?o.map(n):null),[i,o])}return zR}var L4e;function wKt(){if(L4e)return l5;L4e=1;var e=ze;Object.defineProperty(l5,"__esModule",{value:!0}),l5.default=void 0;var t=d(_),n=e(Tt()),r=e(fl()),i=e(MC()),o=to();_n();var a=Lt(),l=d(SKt()),s=e(aVe()),u=e(xKt()),c=e(lVe()),f=e(_Kt());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{if(y===void 0)return y;let b=(y||"").replace(/^\//,"");return Object.keys(v).forEach(C=>{b=b.replace(`:${C}`,v[C])}),b},m=v=>{const{prefixCls:y,separator:b="/",style:C,className:x,rootClassName:S,routes:w,items:O,children:$,itemRender:P,params:T={}}=v,R=p(v,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:M,direction:A,breadcrumb:N}=t.useContext(a.ConfigContext);let j;const D=M("breadcrumb",y),[L,B,k]=(0,u.default)(D),z=(0,f.default)(O,w),q=(0,c.default)(D,P);if(z&&z.length>0){const K=[],X=O||w;j=z.map((G,Y)=>{const{path:J,key:ee,type:Q,menu:te,overlay:ne,onClick:re,className:oe,separator:se,dropdownProps:ye}=G,be=g(T,J);be!==void 0&&K.push(be);const he=ee??Y;if(Q==="separator")return t.createElement(s.default,{key:he},se);const le={},ve=Y===z.length-1;te?le.menu=te:ne&&(le.overlay=ne);let{href:ke}=G;return K.length&&be!==void 0&&(ke=`#/${K.join("/")}`),t.createElement(l.InternalBreadcrumbItem,Object.assign({key:he},le,(0,i.default)(G,{data:!0,aria:!0}),{className:oe,dropdownProps:ye,href:ke,separator:ve?"":b,onClick:re,prefixCls:D}),q(G,T,X,K,ke))})}else if($){const K=(0,r.default)($).length;j=(0,r.default)($).map((X,G)=>{if(!X)return X;const Y=G===K-1;return(0,o.cloneElement)(X,{separator:Y?"":b,key:G})})}const W=(0,n.default)(D,N==null?void 0:N.className,{[`${D}-rtl`]:A==="rtl"},x,S,B,k),U=Object.assign(Object.assign({},N==null?void 0:N.style),C);return L(t.createElement("nav",Object.assign({className:W,style:U},R),t.createElement("ol",null,j)))};return m.Item=l.default,m.Separator=s.default,l5.default=m,l5}var z4e;function OKt(){if(z4e)return a5;z4e=1;var e=ze;Object.defineProperty(a5,"__esModule",{value:!0}),a5.default=void 0;var t=e(wKt());return a5.default=t.default,a5}var w5={},O5={},B4e;function sVe(){if(B4e)return O5;B4e=1;var e=ze;Object.defineProperty(O5,"__esModule",{value:!0}),O5.default=void 0;var t=e(Dre),n=jh(),r=e(GDe()),i=e(KDe()),o=e(XDe()),a=e(YDe()),l=e(ZDe()),s=e(QDe());t.default.extend(s.default),t.default.extend(l.default),t.default.extend(r.default),t.default.extend(i.default),t.default.extend(o.default),t.default.extend(a.default),t.default.extend(function(d,p){var g=p.prototype,m=g.format;g.format=function(y){var b=(y||"").replace("Wo","wo");return m.bind(this)(b)}});var u={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},c=function(p){var g=u[p];return g||p.split("_")[0]},f=function(){(0,n.noteOnce)(!1,"Not match any format. Please help to fire a issue about this.")},h={getNow:function(){return(0,t.default)()},getFixedDate:function(p){return(0,t.default)(p,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(p){return p.endOf("month")},getWeekDay:function(p){var g=p.locale("en");return g.weekday()+g.localeData().firstDayOfWeek()},getYear:function(p){return p.year()},getMonth:function(p){return p.month()},getDate:function(p){return p.date()},getHour:function(p){return p.hour()},getMinute:function(p){return p.minute()},getSecond:function(p){return p.second()},getMillisecond:function(p){return p.millisecond()},addYear:function(p,g){return p.add(g,"year")},addMonth:function(p,g){return p.add(g,"month")},addDate:function(p,g){return p.add(g,"day")},setYear:function(p,g){return p.year(g)},setMonth:function(p,g){return p.month(g)},setDate:function(p,g){return p.date(g)},setHour:function(p,g){return p.hour(g)},setMinute:function(p,g){return p.minute(g)},setSecond:function(p,g){return p.second(g)},setMillisecond:function(p,g){return p.millisecond(g)},isAfter:function(p,g){return p.isAfter(g)},isValidate:function(p){return p.isValid()},locale:{getWeekFirstDay:function(p){return(0,t.default)().locale(c(p)).localeData().firstDayOfWeek()},getWeekFirstDate:function(p,g){return g.locale(c(p)).weekday(0)},getWeek:function(p,g){return g.locale(c(p)).week()},getShortWeekDays:function(p){return(0,t.default)().locale(c(p)).localeData().weekdaysMin()},getShortMonths:function(p){return(0,t.default)().locale(c(p)).localeData().monthsShort()},format:function(p,g,m){return g.locale(c(p)).format(m)},parse:function(p,g,m){for(var v=c(p),y=0;y{const{componentCls:s,antCls:u}=l,c=`${s}-group`;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{display:"inline-block",fontSize:0,[`&${c}-rtl`]:{direction:"rtl"},[`${u}-badge ${u}-badge-count`]:{zIndex:1},[`> ${u}-badge:not(:first-child) > ${u}-button-wrapper`]:{borderInlineStart:"none"}})}},i=l=>{const{componentCls:s,wrapperMarginInlineEnd:u,colorPrimary:c,radioSize:f,motionDurationSlow:h,motionDurationMid:d,motionEaseInOutCirc:p,colorBgContainer:g,colorBorder:m,lineWidth:v,colorBgContainerDisabled:y,colorTextDisabled:b,paddingXS:C,dotColorDisabled:x,lineType:S,radioColor:w,radioBgColor:O,calc:$}=l,P=`${s}-inner`,R=$(f).sub($(4).mul(2)),M=$(1).mul(f).equal();return{[`${s}-wrapper`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:u,cursor:"pointer",[`&${s}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:l.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${s}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,e.unit)(v)} ${S} ${c}`,borderRadius:"50%",visibility:"hidden",content:'""'},[s]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${s}-wrapper:hover &, + &:hover ${P}`]:{borderColor:c},[`${s}-input:focus-visible + ${P}`]:Object.assign({},(0,t.genFocusOutline)(l)),[`${s}:hover::after, ${s}-wrapper:hover &::after`]:{visibility:"visible"},[`${s}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:M,height:M,marginBlockStart:$(1).mul(f).div(-2).equal(),marginInlineStart:$(1).mul(f).div(-2).equal(),backgroundColor:w,borderBlockStart:0,borderInlineStart:0,borderRadius:M,transform:"scale(0)",opacity:0,transition:`all ${h} ${p}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:M,height:M,backgroundColor:g,borderColor:m,borderStyle:"solid",borderWidth:v,borderRadius:"50%",transition:`all ${d}`},[`${s}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${s}-checked`]:{[P]:{borderColor:c,backgroundColor:O,"&::after":{transform:`scale(${l.calc(l.dotSize).div(f).equal()})`,opacity:1,transition:`all ${h} ${p}`}}},[`${s}-disabled`]:{cursor:"not-allowed",[P]:{backgroundColor:y,borderColor:m,cursor:"not-allowed","&::after":{backgroundColor:x}},[`${s}-input`]:{cursor:"not-allowed"},[`${s}-disabled + span`]:{color:b,cursor:"not-allowed"},[`&${s}-checked`]:{[P]:{"&::after":{transform:`scale(${$(R).div(f).equal({unit:!1})})`}}}},[`span${s} + *`]:{paddingInlineStart:C,paddingInlineEnd:C}})}},o=l=>{const{buttonColor:s,controlHeight:u,componentCls:c,lineWidth:f,lineType:h,colorBorder:d,motionDurationSlow:p,motionDurationMid:g,buttonPaddingInline:m,fontSize:v,buttonBg:y,fontSizeLG:b,controlHeightLG:C,controlHeightSM:x,paddingXS:S,borderRadius:w,borderRadiusSM:O,borderRadiusLG:$,buttonCheckedBg:P,buttonSolidCheckedColor:T,colorTextDisabled:R,colorBgContainerDisabled:M,buttonCheckedBgDisabled:A,buttonCheckedColorDisabled:N,colorPrimary:j,colorPrimaryHover:D,colorPrimaryActive:L,buttonSolidCheckedBg:B,buttonSolidCheckedHoverBg:k,buttonSolidCheckedActiveBg:z,calc:q}=l;return{[`${c}-button-wrapper`]:{position:"relative",display:"inline-block",height:u,margin:0,paddingInline:m,paddingBlock:0,color:s,fontSize:v,lineHeight:(0,e.unit)(q(u).sub(q(f).mul(2)).equal()),background:y,border:`${(0,e.unit)(f)} ${h} ${d}`,borderBlockStartWidth:q(f).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:f,cursor:"pointer",transition:[`color ${g}`,`background ${g}`,`box-shadow ${g}`].join(","),a:{color:s},[`> ${c}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:q(f).mul(-1).equal(),insetInlineStart:q(f).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:f,paddingInline:0,backgroundColor:d,transition:`background-color ${p}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,e.unit)(f)} ${h} ${d}`,borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w},"&:first-child:last-child":{borderRadius:w},[`${c}-group-large &`]:{height:C,fontSize:b,lineHeight:(0,e.unit)(q(C).sub(q(f).mul(2)).equal()),"&:first-child":{borderStartStartRadius:$,borderEndStartRadius:$},"&:last-child":{borderStartEndRadius:$,borderEndEndRadius:$}},[`${c}-group-small &`]:{height:x,paddingInline:q(S).sub(f).equal(),paddingBlock:0,lineHeight:(0,e.unit)(q(x).sub(q(f).mul(2)).equal()),"&:first-child":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child":{borderStartEndRadius:O,borderEndEndRadius:O}},"&:hover":{position:"relative",color:j},"&:has(:focus-visible)":Object.assign({},(0,t.genFocusOutline)(l)),[`${c}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${c}-button-wrapper-disabled)`]:{zIndex:1,color:j,background:P,borderColor:j,"&::before":{backgroundColor:j},"&:first-child":{borderColor:j},"&:hover":{color:D,borderColor:D,"&::before":{backgroundColor:D}},"&:active":{color:L,borderColor:L,"&::before":{backgroundColor:L}}},[`${c}-group-solid &-checked:not(${c}-button-wrapper-disabled)`]:{color:T,background:B,borderColor:B,"&:hover":{color:T,background:k,borderColor:k},"&:active":{color:T,background:z,borderColor:z}},"&-disabled":{color:R,backgroundColor:M,borderColor:d,cursor:"not-allowed","&:first-child, &:hover":{color:R,backgroundColor:M,borderColor:d}},[`&-disabled${c}-button-wrapper-checked`]:{color:N,backgroundColor:A,borderColor:d,boxShadow:"none"}}}},a=l=>{const{wireframe:s,padding:u,marginXS:c,lineWidth:f,fontSizeLG:h,colorText:d,colorBgContainer:p,colorTextDisabled:g,controlItemBgActiveDisabled:m,colorTextLightSolid:v,colorPrimary:y,colorPrimaryHover:b,colorPrimaryActive:C,colorWhite:x}=l,S=4,w=h,O=s?w-S*2:w-(S+f)*2;return{radioSize:w,dotSize:O,dotColorDisabled:g,buttonSolidCheckedColor:v,buttonSolidCheckedBg:y,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:C,buttonBg:p,buttonCheckedBg:p,buttonColor:d,buttonCheckedBgDisabled:m,buttonCheckedColorDisabled:g,buttonPaddingInline:u-f,wrapperMarginInlineEnd:c,radioColor:s?y:x,radioBgColor:s?p:y}};return Wg.prepareComponentToken=a,Wg.default=(0,n.genStyleHooks)("Radio",l=>{const{controlOutline:s,controlOutlineWidth:u}=l,c=`0 0 0 ${(0,e.unit)(u)} ${s}`,f=c,h=(0,n.mergeToken)(l,{radioFocusShadow:c,radioButtonFocusShadow:f});return[r(h),i(h),o(h)]},a,{unitless:{radioSize:!0,dotSize:!0}}),Wg}var W4e;function sae(){if(W4e)return T5;W4e=1;var e=ze;Object.defineProperty(T5,"__esModule",{value:!0}),T5.default=void 0;var t=p(_),n=e(Tt()),r=e(cVe),i=Nc();_n();var o=e(tP()),a=CF(),l=Lt(),s=e($a()),u=fi(),c=p(lae()),f=e(uVe()),h=e(zr());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var g=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{var C,x;const S=t.useContext(c.default),w=t.useContext(c.RadioOptionTypeContext),{getPrefixCls:O,direction:$,radio:P}=t.useContext(l.ConfigContext),T=t.useRef(null),R=(0,i.composeRef)(b,T),{isFormItemInput:M}=t.useContext(u.FormItemInputContext),A=te=>{var ne,re;(ne=y.onChange)===null||ne===void 0||ne.call(y,te),(re=S==null?void 0:S.onChange)===null||re===void 0||re.call(S,te)},{prefixCls:N,className:j,rootClassName:D,children:L,style:B,title:k}=y,z=g(y,["prefixCls","className","rootClassName","children","style","title"]),q=O("radio",N),W=((S==null?void 0:S.optionType)||w)==="button",U=W?`${q}-button`:q,K=(0,h.default)(q),[X,G,Y]=(0,f.default)(q,K),J=Object.assign({},z),ee=t.useContext(s.default);S&&(J.name=S.name,J.onChange=A,J.checked=y.value===S.value,J.disabled=(C=J.disabled)!==null&&C!==void 0?C:S.disabled),J.disabled=(x=J.disabled)!==null&&x!==void 0?x:ee;const Q=(0,n.default)(`${U}-wrapper`,{[`${U}-wrapper-checked`]:J.checked,[`${U}-wrapper-disabled`]:J.disabled,[`${U}-wrapper-rtl`]:$==="rtl",[`${U}-wrapper-in-form-item`]:M},P==null?void 0:P.className,j,D,G,Y,K);return X(t.createElement(o.default,{component:"Radio",disabled:J.disabled},t.createElement("label",{className:Q,style:Object.assign(Object.assign({},P==null?void 0:P.style),B),onMouseEnter:y.onMouseEnter,onMouseLeave:y.onMouseLeave,title:k},t.createElement(r.default,Object.assign({},J,{className:(0,n.default)(J.className,!W&&a.TARGET_CLS),type:"radio",prefixCls:U,ref:R})),L!==void 0?t.createElement("span",null,L):null)))},v=t.forwardRef(m);return T5.default=v,T5}var q4e;function EKt(){if(q4e)return P5;q4e=1;var e=ze;Object.defineProperty(P5,"__esModule",{value:!0}),P5.default=void 0;var t=h(_),n=e(Tt()),r=e(ns()),i=e(MC()),o=Lt(),a=e(no()),l=lae(),s=e(sae()),u=e(uVe()),c=e(zr());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=t.forwardRef((p,g)=>{const{getPrefixCls:m,direction:v}=t.useContext(o.ConfigContext),[y,b]=(0,r.default)(p.defaultValue,{value:p.value}),C=Y=>{const J=y,ee=Y.target.value;"value"in p||b(ee);const{onChange:Q}=p;Q&&ee!==J&&Q(Y)},{prefixCls:x,className:S,rootClassName:w,options:O,buttonStyle:$="outline",disabled:P,children:T,size:R,style:M,id:A,onMouseEnter:N,onMouseLeave:j,onFocus:D,onBlur:L}=p,B=m("radio",x),k=`${B}-group`,z=(0,c.default)(B),[q,W,U]=(0,u.default)(B,z);let K=T;O&&O.length>0&&(K=O.map(Y=>typeof Y=="string"||typeof Y=="number"?t.createElement(s.default,{key:Y.toString(),prefixCls:B,disabled:P,value:Y,checked:y===Y},Y):t.createElement(s.default,{key:`radio-group-value-options-${Y.value}`,prefixCls:B,disabled:Y.disabled||P,value:Y.value,checked:y===Y.value,title:Y.title,style:Y.style,id:Y.id,required:Y.required},Y.label)));const X=(0,a.default)(R),G=(0,n.default)(k,`${k}-${$}`,{[`${k}-${X}`]:X,[`${k}-rtl`]:v==="rtl"},S,w,W,U,z);return q(t.createElement("div",Object.assign({},(0,i.default)(p,{aria:!0,data:!0}),{className:G,style:M,onMouseEnter:N,onMouseLeave:j,onFocus:D,onBlur:L,id:A,ref:g}),t.createElement(l.RadioGroupContextProvider,{value:{onChange:C,value:y,disabled:p.disabled,name:p.name,optionType:p.optionType}},K)))});return P5.default=t.memo(d),P5}var M5={},V4e;function $Kt(){if(V4e)return M5;V4e=1;var e=ze;Object.defineProperty(M5,"__esModule",{value:!0}),M5.default=void 0;var t=a(_),n=Lt(),r=lae(),i=e(sae());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{getPrefixCls:f}=t.useContext(n.ConfigContext),{prefixCls:h}=u,d=l(u,["prefixCls"]),p=f("radio",h);return t.createElement(r.RadioOptionTypeContextProvider,{value:"button"},t.createElement(i.default,Object.assign({prefixCls:p},d,{type:"radio",ref:c})))};return M5.default=t.forwardRef(s),M5}var U4e;function MF(){return U4e||(U4e=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return n.default}}),e.default=void 0;var n=t(EKt()),r=t(sae()),i=t($Kt());const o=r.default;o.Button=i.default,o.Group=n.default,o.__ANT_RADIO=!0,e.default=o}(cG)),cG}var G4e;function PKt(){if(G4e)return $5;G4e=1;var e=ze;Object.defineProperty($5,"__esModule",{value:!0}),$5.default=void 0;var t=l(_),n=t,r=fi(),i=MF(),o=e(lP());function a(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(a=function(v){return v?m:g})(p)}function l(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=a(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const s=10,u=20;function c(p){const{fullscreen:g,validRange:m,generateConfig:v,locale:y,prefixCls:b,value:C,onChange:x,divRef:S}=p,w=v.getYear(C||v.getNow());let O=w-s,$=O+u;m&&(O=v.getYear(m[0]),$=v.getYear(m[1])+1);const P=y&&y.year==="年"?"年":"",T=[];for(let R=O;R<$;R++)T.push({label:`${R}${P}`,value:R});return n.createElement(o.default,{size:g?void 0:"small",options:T,value:w,className:`${b}-year-select`,onChange:R=>{let M=v.setYear(C,R);if(m){const[A,N]=m,j=v.getYear(M),D=v.getMonth(M);j===v.getYear(N)&&D>v.getMonth(N)&&(M=v.setMonth(M,v.getMonth(N))),j===v.getYear(A)&&DS.current})}function f(p){const{prefixCls:g,fullscreen:m,validRange:v,value:y,generateConfig:b,locale:C,onChange:x,divRef:S}=p,w=b.getMonth(y||b.getNow());let O=0,$=11;if(v){const[R,M]=v,A=b.getYear(y);b.getYear(M)===A&&($=b.getMonth(M)),b.getYear(R)===A&&(O=b.getMonth(R))}const P=C.shortMonths||b.locale.getShortMonths(C.locale),T=[];for(let R=O;R<=$;R+=1)T.push({label:P[R],value:R});return n.createElement(o.default,{size:m?void 0:"small",className:`${g}-month-select`,value:w,options:T,onChange:R=>{x(b.setMonth(y,R))},getPopupContainer:()=>S.current})}function h(p){const{prefixCls:g,locale:m,mode:v,fullscreen:y,onModeChange:b}=p;return n.createElement(i.Group,{onChange:C=>{let{target:{value:x}}=C;b(x)},value:v,size:y?void 0:"small",className:`${g}-mode-switch`},n.createElement(i.Button,{value:"month"},m.month),n.createElement(i.Button,{value:"year"},m.year))}function d(p){const{prefixCls:g,fullscreen:m,mode:v,onChange:y,onModeChange:b}=p,C=n.useRef(null),x=(0,t.useContext)(r.FormItemInputContext),S=(0,t.useMemo)(()=>Object.assign(Object.assign({},x),{isFormItemInput:!1}),[x]),w=Object.assign(Object.assign({},p),{fullscreen:m,divRef:C});return n.createElement("div",{className:`${g}-header`,ref:C},n.createElement(r.FormItemInputContext.Provider,{value:S},n.createElement(c,Object.assign({},w,{onChange:O=>{y(O,"year")}})),v==="month"&&n.createElement(f,Object.assign({},w,{onChange:O=>{y(O,"month")}}))),n.createElement(h,Object.assign({},w,{onModeChange:b})))}return $5.default=d,$5}var dp={},uG={},dG={},l2={},K4e;function cae(){if(K4e)return l2;K4e=1,Object.defineProperty(l2,"__esModule",{value:!0}),l2.initComponentToken=void 0,l2.initInputToken=t;var e=Jt();function t(r){return(0,e.mergeToken)(r,{inputAffixPadding:r.paddingXXS})}const n=r=>{const{controlHeight:i,fontSize:o,lineHeight:a,lineWidth:l,controlHeightSM:s,controlHeightLG:u,fontSizeLG:c,lineHeightLG:f,paddingSM:h,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:g,colorPrimaryHover:m,colorPrimary:v,controlOutlineWidth:y,controlOutline:b,colorErrorOutline:C,colorWarningOutline:x,colorBgContainer:S}=r;return{paddingBlock:Math.max(Math.round((i-o*a)/2*10)/10-l,0),paddingBlockSM:Math.max(Math.round((s-o*a)/2*10)/10-l,0),paddingBlockLG:Math.ceil((u-c*f)/2*10)/10-l,paddingInline:h-l,paddingInlineSM:d-l,paddingInlineLG:p-l,addonBg:g,activeBorderColor:v,hoverBorderColor:m,activeShadow:`0 0 0 ${y}px ${b}`,errorActiveShadow:`0 0 0 ${y}px ${C}`,warningActiveShadow:`0 0 0 ${y}px ${x}`,hoverBg:S,activeBg:S,inputFontSize:o,inputFontSizeLG:c,inputFontSizeSM:o}};return l2.initComponentToken=n,l2}var ya={},X4e;function uP(){if(X4e)return ya;X4e=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.genOutlinedStyle=ya.genOutlinedGroupStyle=ya.genHoverStyle=ya.genFilledStyle=ya.genFilledGroupStyle=ya.genDisabledStyle=ya.genBorderlessStyle=ya.genBaseOutlinedStyle=void 0;var e=Xt,t=Jt();const n=g=>({borderColor:g.hoverBorderColor,backgroundColor:g.hoverBg});ya.genHoverStyle=n;const r=g=>({color:g.colorTextDisabled,backgroundColor:g.colorBgContainerDisabled,borderColor:g.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},n((0,t.mergeToken)(g,{hoverBorderColor:g.colorBorder,hoverBg:g.colorBgContainerDisabled})))});ya.genDisabledStyle=r;const i=(g,m)=>({background:g.colorBgContainer,borderWidth:g.lineWidth,borderStyle:g.lineType,borderColor:m.borderColor,"&:hover":{borderColor:m.hoverBorderColor,backgroundColor:g.hoverBg},"&:focus, &:focus-within":{borderColor:m.activeBorderColor,boxShadow:m.activeShadow,outline:0,backgroundColor:g.activeBg}});ya.genBaseOutlinedStyle=i;const o=(g,m)=>({[`&${g.componentCls}-status-${m.status}:not(${g.componentCls}-disabled)`]:Object.assign(Object.assign({},i(g,m)),{[`${g.componentCls}-prefix, ${g.componentCls}-suffix`]:{color:m.affixColor}})}),a=(g,m)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(g,{borderColor:g.colorBorder,hoverBorderColor:g.hoverBorderColor,activeBorderColor:g.activeBorderColor,activeShadow:g.activeShadow})),{[`&${g.componentCls}-disabled, &[disabled]`]:Object.assign({},r(g))}),o(g,{status:"error",borderColor:g.colorError,hoverBorderColor:g.colorErrorBorderHover,activeBorderColor:g.colorError,activeShadow:g.errorActiveShadow,affixColor:g.colorError})),o(g,{status:"warning",borderColor:g.colorWarning,hoverBorderColor:g.colorWarningBorderHover,activeBorderColor:g.colorWarning,activeShadow:g.warningActiveShadow,affixColor:g.colorWarning})),m)});ya.genOutlinedStyle=a;const l=(g,m)=>({[`&${g.componentCls}-group-wrapper-status-${m.status}`]:{[`${g.componentCls}-group-addon`]:{borderColor:m.addonBorderColor,color:m.addonColor}}}),s=g=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${g.componentCls}-group`]:{"&-addon":{background:g.addonBg,border:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},l(g,{status:"error",addonBorderColor:g.colorError,addonColor:g.colorErrorText})),l(g,{status:"warning",addonBorderColor:g.colorWarning,addonColor:g.colorWarningText})),{[`&${g.componentCls}-group-wrapper-disabled`]:{[`${g.componentCls}-group-addon`]:Object.assign({},r(g))}})});ya.genOutlinedGroupStyle=s;const u=(g,m)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${g.componentCls}-disabled, &[disabled]`]:{color:g.colorTextDisabled}},m)});ya.genBorderlessStyle=u;const c=(g,m)=>({background:m.bg,borderWidth:g.lineWidth,borderStyle:g.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:m==null?void 0:m.inputColor},"&:hover":{background:m.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:m.activeBorderColor,backgroundColor:g.activeBg}}),f=(g,m)=>({[`&${g.componentCls}-status-${m.status}:not(${g.componentCls}-disabled)`]:Object.assign(Object.assign({},c(g,m)),{[`${g.componentCls}-prefix, ${g.componentCls}-suffix`]:{color:m.affixColor}})}),h=(g,m)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c(g,{bg:g.colorFillTertiary,hoverBg:g.colorFillSecondary,activeBorderColor:g.colorPrimary})),{[`&${g.componentCls}-disabled, &[disabled]`]:Object.assign({},r(g))}),f(g,{status:"error",bg:g.colorErrorBg,hoverBg:g.colorErrorBgHover,activeBorderColor:g.colorError,inputColor:g.colorErrorText,affixColor:g.colorError})),f(g,{status:"warning",bg:g.colorWarningBg,hoverBg:g.colorWarningBgHover,activeBorderColor:g.colorWarning,inputColor:g.colorWarningText,affixColor:g.colorWarning})),m)});ya.genFilledStyle=h;const d=(g,m)=>({[`&${g.componentCls}-group-wrapper-status-${m.status}`]:{[`${g.componentCls}-group-addon`]:{background:m.addonBg,color:m.addonColor}}}),p=g=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${g.componentCls}-group`]:{"&-addon":{background:g.colorFillTertiary},[`${g.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorSplit}`}}}},d(g,{status:"error",addonBg:g.colorErrorBg,addonColor:g.colorErrorText})),d(g,{status:"warning",addonBg:g.colorWarningBg,addonColor:g.colorWarningText})),{[`&${g.componentCls}-group-wrapper-disabled`]:{[`${g.componentCls}-group`]:{"&-addon":{background:g.colorFillTertiary,color:g.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderTop:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderBottom:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderTop:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`,borderBottom:`${(0,e.unit)(g.lineWidth)} ${g.lineType} ${g.colorBorder}`}}}})});return ya.genFilledGroupStyle=p,ya}var Y4e;function eb(){return Y4e||(Y4e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.genPlaceholderStyle=e.genInputSmallStyle=e.genInputGroupStyle=e.genBasicInputStyle=e.genActiveStyle=e.default=void 0,Object.defineProperty(e,"initComponentToken",{enumerable:!0,get:function(){return o.initComponentToken}}),Object.defineProperty(e,"initInputToken",{enumerable:!0,get:function(){return o.initInputToken}});var t=Xt,n=Tn(),r=IC(),i=Jt(),o=cae(),a=uP();const l=C=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:C,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});e.genPlaceholderStyle=l;const s=C=>({borderColor:C.activeBorderColor,boxShadow:C.activeShadow,outline:0,backgroundColor:C.activeBg});e.genActiveStyle=s;const u=C=>{const{paddingBlockLG:x,lineHeightLG:S,borderRadiusLG:w,paddingInlineLG:O}=C;return{padding:`${(0,t.unit)(x)} ${(0,t.unit)(O)}`,fontSize:C.inputFontSizeLG,lineHeight:S,borderRadius:w}},c=C=>({padding:`${(0,t.unit)(C.paddingBlockSM)} ${(0,t.unit)(C.paddingInlineSM)}`,fontSize:C.inputFontSizeSM,borderRadius:C.borderRadiusSM});e.genInputSmallStyle=c;const f=C=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,t.unit)(C.paddingBlock)} ${(0,t.unit)(C.paddingInline)}`,color:C.colorText,fontSize:C.inputFontSize,lineHeight:C.lineHeight,borderRadius:C.borderRadius,transition:`all ${C.motionDurationMid}`},l(C.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:C.controlHeight,lineHeight:C.lineHeight,verticalAlign:"bottom",transition:`all ${C.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},u(C)),"&-sm":Object.assign({},c(C)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}});e.genBasicInputStyle=f;const h=C=>{const{componentCls:x,antCls:S}=C;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:C.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${x}, &-lg > ${x}-group-addon`]:Object.assign({},u(C)),[`&-sm ${x}, &-sm > ${x}-group-addon`]:Object.assign({},c(C)),[`&-lg ${S}-select-single ${S}-select-selector`]:{height:C.controlHeightLG},[`&-sm ${S}-select-single ${S}-select-selector`]:{height:C.controlHeightSM},[`> ${x}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${x}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,t.unit)(C.paddingInline)}`,color:C.colorText,fontWeight:"normal",fontSize:C.inputFontSize,textAlign:"center",borderRadius:C.borderRadius,transition:`all ${C.motionDurationSlow}`,lineHeight:1,[`${S}-select`]:{margin:`${(0,t.unit)(C.calc(C.paddingBlock).add(1).mul(-1).equal())} ${(0,t.unit)(C.calc(C.paddingInline).mul(-1).equal())}`,[`&${S}-select-single:not(${S}-select-customize-input):not(${S}-pagination-size-changer)`]:{[`${S}-select-selector`]:{backgroundColor:"inherit",border:`${(0,t.unit)(C.lineWidth)} ${C.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${S}-select-selector`]:{color:C.colorPrimary}}},[`${S}-cascader-picker`]:{margin:`-9px ${(0,t.unit)(C.calc(C.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${S}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${x}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${x}-search-with-button &`]:{zIndex:0}}},[`> ${x}:first-child, ${x}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${S}-select ${S}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${x}-affix-wrapper`]:{[`&:not(:first-child) ${x}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${x}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${x}:last-child, ${x}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${S}-select ${S}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${x}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${x}-search &`]:{borderStartStartRadius:C.borderRadius,borderEndStartRadius:C.borderRadius}},[`&:not(:first-child), ${x}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${x}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,n.clearFix)()),{[`${x}-group-addon, ${x}-group-wrap, > ${x}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:C.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${x}-affix-wrapper, & > ${x}-number-affix-wrapper, & > ${S}-picker-range @@ -740,18 +740,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho & > ${S}-cascader-picker:last-child ${x}, & > ${S}-cascader-picker-focused:last-child ${x}`]:{borderInlineEndWidth:C.lineWidth,borderStartEndRadius:C.borderRadius,borderEndEndRadius:C.borderRadius},[`& > ${S}-select-auto-complete ${x}`]:{verticalAlign:"top"},[`${x}-group-wrapper + ${x}-group-wrapper`]:{marginInlineStart:C.calc(C.lineWidth).mul(-1).equal(),[`${x}-affix-wrapper`]:{borderRadius:0}},[`${x}-group-wrapper:not(:last-child)`]:{[`&${x}-search > ${x}-group`]:{[`& > ${x}-group-addon > ${x}-search-button`]:{borderRadius:0},[`& > ${x}`]:{borderStartStartRadius:C.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:C.borderRadius}}}})}};e.genInputGroupStyle=h;const d=C=>{const{componentCls:x,controlHeightSM:S,lineWidth:w,calc:O}=C,P=O(S).sub(O(w).mul(2)).sub(16).div(2).equal();return{[x]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(C)),f(C)),(0,a.genOutlinedStyle)(C)),(0,a.genFilledStyle)(C)),(0,a.genBorderlessStyle)(C)),{'&[type="color"]':{height:C.controlHeight,[`&${x}-lg`]:{height:C.controlHeightLG},[`&${x}-sm`]:{height:S,paddingTop:P,paddingBottom:P}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},p=C=>{const{componentCls:x}=C;return{[`${x}-clear-icon`]:{margin:0,color:C.colorTextQuaternary,fontSize:C.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${C.motionDurationSlow}`,"&:hover":{color:C.colorTextTertiary},"&:active":{color:C.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,t.unit)(C.inputAffixPadding)}`}}}},g=C=>{const{componentCls:x,inputAffixPadding:S,colorTextDescription:w,motionDurationSlow:O,colorIcon:$,colorIconHover:P,iconCls:T}=C;return{[`${x}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},f(C)),{display:"inline-flex",[`&:not(${x}-disabled):hover`]:{zIndex:1,[`${x}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${x}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${x}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:C.paddingXS}},"&-show-count-suffix":{color:w},"&-show-count-has-suffix":{marginInlineEnd:C.paddingXXS},"&-prefix":{marginInlineEnd:S},"&-suffix":{marginInlineStart:S}}}),p(C)),{[`${T}${x}-password-icon`]:{color:$,cursor:"pointer",transition:`all ${O}`,"&:hover":{color:P}}})}},m=C=>{const{componentCls:x,borderRadiusLG:S,borderRadiusSM:w}=C;return{[`${x}-group`]:Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(C)),h(C)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${x}-group-addon`]:{borderRadius:S,fontSize:C.inputFontSizeLG}},"&-sm":{[`${x}-group-addon`]:{borderRadius:w}}},(0,a.genOutlinedGroupStyle)(C)),(0,a.genFilledGroupStyle)(C)),{[`&:not(${x}-compact-first-item):not(${x}-compact-last-item)${x}-compact-item`]:{[`${x}, ${x}-group-addon`]:{borderRadius:0}},[`&:not(${x}-compact-last-item)${x}-compact-first-item`]:{[`${x}, ${x}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${x}-compact-first-item)${x}-compact-last-item`]:{[`${x}, ${x}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${x}-compact-last-item)${x}-compact-item`]:{[`${x}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},v=C=>{const{componentCls:x,antCls:S}=C,w=`${x}-search`;return{[w]:{[`${x}`]:{"&:hover, &:focus":{borderColor:C.colorPrimaryHover,[`+ ${x}-group-addon ${w}-button:not(${S}-btn-primary)`]:{borderInlineStartColor:C.colorPrimaryHover}}},[`${x}-affix-wrapper`]:{borderRadius:0},[`${x}-lg`]:{lineHeight:C.calc(C.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${x}-group`]:{[`> ${x}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${w}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:C.borderRadius,borderEndEndRadius:C.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${w}-button:not(${S}-btn-primary)`]:{color:C.colorTextDescription,"&:hover":{color:C.colorPrimaryHover},"&:active":{color:C.colorPrimaryActive},[`&${S}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${w}-button`]:{height:C.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${w}-button`]:{height:C.controlHeightLG},[`&-small ${w}-button`]:{height:C.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${x}-compact-item`]:{[`&:not(${x}-compact-last-item)`]:{[`${x}-group-addon`]:{[`${x}-search-button`]:{marginInlineEnd:C.calc(C.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${x}-compact-first-item)`]:{[`${x},${x}-affix-wrapper`]:{borderRadius:0}},[`> ${x}-group-addon ${x}-search-button, > ${x}, - ${x}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${x}-affix-wrapper-focused`]:{zIndex:2}}}}},y=C=>{const{componentCls:x,paddingLG:S}=C,w=`${x}-textarea`;return{[w]:{position:"relative","&-show-count":{[`> ${x}`]:{height:"100%"},[`${x}-data-count`]:{position:"absolute",bottom:C.calc(C.fontSize).mul(C.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:C.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${x}`]:{paddingInlineEnd:S}},[`&-affix-wrapper${w}-has-feedback`]:{[`${x}`]:{paddingInlineEnd:S}},[`&-affix-wrapper${x}-affix-wrapper`]:{padding:0,[`> textarea${x}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${x}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${x}-clear-icon`]:{position:"absolute",insetInlineEnd:C.paddingXS,insetBlockStart:C.paddingXS},[`${w}-suffix`]:{position:"absolute",top:0,insetInlineEnd:C.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},b=C=>{const{componentCls:x}=C;return{[`${x}-out-of-range`]:{[`&, & input, & textarea, ${x}-show-count-suffix, ${x}-data-count`]:{color:C.colorError}}}};e.default=(0,i.genStyleHooks)("Input",C=>{const x=(0,i.mergeToken)(C,(0,o.initInputToken)(C));return[d(x),y(x),g(x),m(x),v(x),b(x),(0,r.genCompactItemStyle)(x)]},o.initComponentToken)}(uG)),uG}var M5={},Y4e;function MKt(){if(Y4e)return M5;Y4e=1,Object.defineProperty(M5,"__esModule",{value:!0}),M5.default=void 0;var e=Uqe(),t=Jt();const n=(i,o)=>{const{componentCls:a,selectHeight:l,fontHeight:s,lineWidth:u,calc:c}=i,f=o?`${a}-${o}`:"",h=i.calc(s).add(2).equal(),d=()=>c(l).sub(h).sub(c(u).mul(2)),p=i.max(d().div(2).equal(),0),g=i.max(d().sub(p).equal(),0);return[(0,e.genSelectionStyle)(i,o),{[`${a}-multiple${f}`]:{paddingTop:p,paddingBottom:g,paddingInlineStart:p}}]},r=i=>{const{componentCls:o,calc:a,lineWidth:l}=i,s=(0,t.mergeToken)(i,{fontHeight:i.fontSize,selectHeight:i.controlHeightSM,multipleSelectItemHeight:i.controlHeightXS,borderRadius:i.borderRadiusSM,borderRadiusSM:i.borderRadiusXS}),u=(0,t.mergeToken)(i,{fontHeight:a(i.multipleItemHeightLG).sub(a(l).mul(2).equal()).equal(),fontSize:i.fontSizeLG,selectHeight:i.controlHeightLG,multipleSelectItemHeight:i.multipleItemHeightLG,borderRadius:i.borderRadiusLG,borderRadiusSM:i.borderRadius});return[n(s,"small"),n(i),n(u,"large"),(0,e.genSelectionStyle)(i),{[`${o}${o}-multiple`]:{width:"100%",[`${o}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${o}-selection-item`]:{marginBlock:0},[`${o}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]};return M5.default=r,M5}var qg={},Z4e;function RKt(){if(Z4e)return qg;Z4e=1,Object.defineProperty(qg,"__esModule",{value:!0}),qg.genPanelStyle=qg.default=void 0;var e=Xt,t=Ea;const n=o=>{const{pickerCellCls:a,pickerCellInnerCls:l,cellHeight:s,borderRadiusSM:u,motionDurationMid:c,cellHoverBg:f,lineWidth:h,lineType:d,colorPrimary:p,cellActiveWithRangeBg:g,colorTextLightSolid:m,colorTextDisabled:v,cellBgDisabled:y,colorFillSecondary:b}=o;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:s,transform:"translateY(-50%)",content:'""'},[l]:{position:"relative",zIndex:2,display:"inline-block",minWidth:s,height:s,lineHeight:(0,e.unit)(s),borderRadius:u,transition:`background ${c}`},[`&:hover:not(${a}-in-view), + ${x}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${x}-affix-wrapper-focused`]:{zIndex:2}}}}},y=C=>{const{componentCls:x,paddingLG:S}=C,w=`${x}-textarea`;return{[w]:{position:"relative","&-show-count":{[`> ${x}`]:{height:"100%"},[`${x}-data-count`]:{position:"absolute",bottom:C.calc(C.fontSize).mul(C.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:C.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${x}`]:{paddingInlineEnd:S}},[`&-affix-wrapper${w}-has-feedback`]:{[`${x}`]:{paddingInlineEnd:S}},[`&-affix-wrapper${x}-affix-wrapper`]:{padding:0,[`> textarea${x}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${x}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${x}-clear-icon`]:{position:"absolute",insetInlineEnd:C.paddingXS,insetBlockStart:C.paddingXS},[`${w}-suffix`]:{position:"absolute",top:0,insetInlineEnd:C.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},b=C=>{const{componentCls:x}=C;return{[`${x}-out-of-range`]:{[`&, & input, & textarea, ${x}-show-count-suffix, ${x}-data-count`]:{color:C.colorError}}}};e.default=(0,i.genStyleHooks)("Input",C=>{const x=(0,i.mergeToken)(C,(0,o.initInputToken)(C));return[d(x),y(x),g(x),m(x),v(x),b(x),(0,r.genCompactItemStyle)(x)]},o.initComponentToken)}(dG)),dG}var R5={},Z4e;function TKt(){if(Z4e)return R5;Z4e=1,Object.defineProperty(R5,"__esModule",{value:!0}),R5.default=void 0;var e=Uqe(),t=Jt();const n=(i,o)=>{const{componentCls:a,selectHeight:l,fontHeight:s,lineWidth:u,calc:c}=i,f=o?`${a}-${o}`:"",h=i.calc(s).add(2).equal(),d=()=>c(l).sub(h).sub(c(u).mul(2)),p=i.max(d().div(2).equal(),0),g=i.max(d().sub(p).equal(),0);return[(0,e.genSelectionStyle)(i,o),{[`${a}-multiple${f}`]:{paddingTop:p,paddingBottom:g,paddingInlineStart:p}}]},r=i=>{const{componentCls:o,calc:a,lineWidth:l}=i,s=(0,t.mergeToken)(i,{fontHeight:i.fontSize,selectHeight:i.controlHeightSM,multipleSelectItemHeight:i.controlHeightXS,borderRadius:i.borderRadiusSM,borderRadiusSM:i.borderRadiusXS}),u=(0,t.mergeToken)(i,{fontHeight:a(i.multipleItemHeightLG).sub(a(l).mul(2).equal()).equal(),fontSize:i.fontSizeLG,selectHeight:i.controlHeightLG,multipleSelectItemHeight:i.multipleItemHeightLG,borderRadius:i.borderRadiusLG,borderRadiusSM:i.borderRadius});return[n(s,"small"),n(i),n(u,"large"),(0,e.genSelectionStyle)(i),{[`${o}${o}-multiple`]:{width:"100%",[`${o}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${o}-selection-item`]:{marginBlock:0},[`${o}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]};return R5.default=r,R5}var qg={},Q4e;function MKt(){if(Q4e)return qg;Q4e=1,Object.defineProperty(qg,"__esModule",{value:!0}),qg.genPanelStyle=qg.default=void 0;var e=Xt,t=Ea;const n=o=>{const{pickerCellCls:a,pickerCellInnerCls:l,cellHeight:s,borderRadiusSM:u,motionDurationMid:c,cellHoverBg:f,lineWidth:h,lineType:d,colorPrimary:p,cellActiveWithRangeBg:g,colorTextLightSolid:m,colorTextDisabled:v,cellBgDisabled:y,colorFillSecondary:b}=o;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:s,transform:"translateY(-50%)",content:'""'},[l]:{position:"relative",zIndex:2,display:"inline-block",minWidth:s,height:s,lineHeight:(0,e.unit)(s),borderRadius:u,transition:`background ${c}`},[`&:hover:not(${a}-in-view), &:hover:not(${a}-selected):not(${a}-range-start):not(${a}-range-end)`]:{[l]:{background:f}},[`&-in-view${a}-today ${l}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,e.unit)(h)} ${d} ${p}`,borderRadius:u,content:'""'}},[`&-in-view${a}-in-range, &-in-view${a}-range-start, &-in-view${a}-range-end`]:{position:"relative",[`&:not(${a}-disabled):before`]:{background:g}},[`&-in-view${a}-selected, &-in-view${a}-range-start, - &-in-view${a}-range-end`]:{[`&:not(${a}-disabled) ${l}`]:{color:m,background:p},[`&${a}-disabled ${l}`]:{background:b}},[`&-in-view${a}-range-start:not(${a}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${a}-range-end:not(${a}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${a}-range-start:not(${a}-range-end) ${l}`]:{borderStartStartRadius:u,borderEndStartRadius:u,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${a}-range-end:not(${a}-range-start) ${l}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:v,pointerEvents:"none",[l]:{background:"transparent"},"&::before":{background:y}},[`&-disabled${a}-today ${l}::before`]:{borderColor:v}}},r=o=>{const{componentCls:a,pickerCellCls:l,pickerCellInnerCls:s,pickerYearMonthCellWidth:u,pickerControlIconSize:c,cellWidth:f,paddingSM:h,paddingXS:d,paddingXXS:p,colorBgContainer:g,lineWidth:m,lineType:v,borderRadiusLG:y,colorPrimary:b,colorTextHeading:C,colorSplit:x,pickerControlIconBorderWidth:S,colorIcon:w,textHeight:O,motionDurationMid:$,colorIconHover:P,fontWeightStrong:T,cellHeight:R,pickerCellPaddingVertical:M,colorTextDisabled:A,colorText:N,fontSize:k,motionDurationSlow:D,withoutTimeCellHeight:L,pickerQuarterPanelContentHeight:B,borderRadiusSM:j,colorTextLightSolid:z,cellHoverBg:V,timeColumnHeight:W,timeColumnWidth:U,timeCellHeight:K,controlItemBgActive:X,marginXXS:G,pickerDatePanelPaddingHorizontal:Y,pickerControlIconMargin:J}=o,ee=o.calc(f).mul(7).add(o.calc(Y).mul(2)).equal();return{[a]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:g,borderRadius:y,outline:"none","&-focused":{borderColor:b},"&-rtl":{direction:"rtl",[`${a}-prev-icon, + &-in-view${a}-range-end`]:{[`&:not(${a}-disabled) ${l}`]:{color:m,background:p},[`&${a}-disabled ${l}`]:{background:b}},[`&-in-view${a}-range-start:not(${a}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${a}-range-end:not(${a}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${a}-range-start:not(${a}-range-end) ${l}`]:{borderStartStartRadius:u,borderEndStartRadius:u,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${a}-range-end:not(${a}-range-start) ${l}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:u,borderEndEndRadius:u},"&-disabled":{color:v,pointerEvents:"none",[l]:{background:"transparent"},"&::before":{background:y}},[`&-disabled${a}-today ${l}::before`]:{borderColor:v}}},r=o=>{const{componentCls:a,pickerCellCls:l,pickerCellInnerCls:s,pickerYearMonthCellWidth:u,pickerControlIconSize:c,cellWidth:f,paddingSM:h,paddingXS:d,paddingXXS:p,colorBgContainer:g,lineWidth:m,lineType:v,borderRadiusLG:y,colorPrimary:b,colorTextHeading:C,colorSplit:x,pickerControlIconBorderWidth:S,colorIcon:w,textHeight:O,motionDurationMid:$,colorIconHover:P,fontWeightStrong:T,cellHeight:R,pickerCellPaddingVertical:M,colorTextDisabled:A,colorText:N,fontSize:j,motionDurationSlow:D,withoutTimeCellHeight:L,pickerQuarterPanelContentHeight:B,borderRadiusSM:k,colorTextLightSolid:z,cellHoverBg:q,timeColumnHeight:W,timeColumnWidth:U,timeCellHeight:K,controlItemBgActive:X,marginXXS:G,pickerDatePanelPaddingHorizontal:Y,pickerControlIconMargin:J}=o,ee=o.calc(f).mul(7).add(o.calc(Y).mul(2)).equal();return{[a]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:g,borderRadius:y,outline:"none","&-focused":{borderColor:b},"&-rtl":{direction:"rtl",[`${a}-prev-icon, ${a}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${a}-next-icon, - ${a}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ee},"&-header":{display:"flex",padding:`0 ${(0,e.unit)(d)}`,color:C,borderBottom:`${(0,e.unit)(m)} ${v} ${x}`,"> *":{flex:"none"},button:{padding:0,color:w,lineHeight:(0,e.unit)(O),background:"transparent",border:0,cursor:"pointer",transition:`color ${$}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:k,"&:hover":{color:P},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:T,lineHeight:(0,e.unit)(O),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:d},"&:hover":{color:b}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:c,height:c,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:c,height:c,border:"0 solid currentcolor",borderBlockStartWidth:S,borderBlockEndWidth:0,borderInlineStartWidth:S,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:J,insetInlineStart:J,display:"inline-block",width:c,height:c,border:"0 solid currentcolor",borderBlockStartWidth:S,borderBlockEndWidth:0,borderInlineStartWidth:S,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:R,fontWeight:"normal"},th:{height:o.calc(R).add(o.calc(M).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,e.unit)(M)} 0`,color:A,cursor:"pointer","&-in-view":{color:N}},n(o)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${a}-content`]:{height:o.calc(L).mul(4).equal()},[s]:{padding:`0 ${(0,e.unit)(d)}`}},"&-quarter-panel":{[`${a}-content`]:{height:B}},"&-decade-panel":{[s]:{padding:`0 ${(0,e.unit)(o.calc(d).div(2).equal())}`},[`${a}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${a}-body`]:{padding:`0 ${(0,e.unit)(d)}`},[s]:{width:u}},"&-date-panel":{[`${a}-body`]:{padding:`${(0,e.unit)(d)} ${(0,e.unit)(Y)}`},[`${a}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${a}-cell`]:{[`&:hover ${s}, + ${a}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:ee},"&-header":{display:"flex",padding:`0 ${(0,e.unit)(d)}`,color:C,borderBottom:`${(0,e.unit)(m)} ${v} ${x}`,"> *":{flex:"none"},button:{padding:0,color:w,lineHeight:(0,e.unit)(O),background:"transparent",border:0,cursor:"pointer",transition:`color ${$}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:j,"&:hover":{color:P},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:T,lineHeight:(0,e.unit)(O),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:d},"&:hover":{color:b}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:c,height:c,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:c,height:c,border:"0 solid currentcolor",borderBlockStartWidth:S,borderBlockEndWidth:0,borderInlineStartWidth:S,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:J,insetInlineStart:J,display:"inline-block",width:c,height:c,border:"0 solid currentcolor",borderBlockStartWidth:S,borderBlockEndWidth:0,borderInlineStartWidth:S,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:R,fontWeight:"normal"},th:{height:o.calc(R).add(o.calc(M).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,e.unit)(M)} 0`,color:A,cursor:"pointer","&-in-view":{color:N}},n(o)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${a}-content`]:{height:o.calc(L).mul(4).equal()},[s]:{padding:`0 ${(0,e.unit)(d)}`}},"&-quarter-panel":{[`${a}-content`]:{height:B}},"&-decade-panel":{[s]:{padding:`0 ${(0,e.unit)(o.calc(d).div(2).equal())}`},[`${a}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${a}-body`]:{padding:`0 ${(0,e.unit)(d)}`},[s]:{width:u}},"&-date-panel":{[`${a}-body`]:{padding:`${(0,e.unit)(d)} ${(0,e.unit)(Y)}`},[`${a}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${a}-cell`]:{[`&:hover ${s}, &-selected ${s}, - ${s}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${$}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td":{"&:before":{background:V}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${l}`]:{"&:before":{background:b},[`&${a}-cell-week`]:{color:new t.TinyColor(z).setAlpha(.5).toHexString()},[s]:{color:z}}},"&-range-hover td:before":{background:X}}},"&-week-panel, &-date-panel-show-week":{[`${a}-body`]:{padding:`${(0,e.unit)(d)} ${(0,e.unit)(h)}`},[`${a}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${a}-time-panel`]:{borderInlineStart:`${(0,e.unit)(m)} ${v} ${x}`},[`${a}-date-panel, + ${s}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${$}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},"&:hover td":{"&:before":{background:q}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${l}`]:{"&:before":{background:b},[`&${a}-cell-week`]:{color:new t.TinyColor(z).setAlpha(.5).toHexString()},[s]:{color:z}}},"&-range-hover td:before":{background:X}}},"&-week-panel, &-date-panel-show-week":{[`${a}-body`]:{padding:`${(0,e.unit)(d)} ${(0,e.unit)(h)}`},[`${a}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${a}-time-panel`]:{borderInlineStart:`${(0,e.unit)(m)} ${v} ${x}`},[`${a}-date-panel, ${a}-time-panel`]:{transition:`opacity ${D}`},"&-active":{[`${a}-date-panel, - ${a}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${a}-content`]:{display:"flex",flex:"auto",height:W},"&-column":{flex:"1 0 auto",width:U,margin:`${(0,e.unit)(p)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${$}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:o.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${o.colorTextTertiary} transparent`},"&::after":{display:"block",height:o.calc(W).sub(K).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(m)} ${v} ${x}`},"&-active":{background:new t.TinyColor(X).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${a}-time-panel-cell`]:{marginInline:G,[`${a}-time-panel-cell-inner`]:{display:"block",width:o.calc(U).sub(o.calc(G).mul(2)).equal(),height:K,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:o.calc(U).sub(K).div(2).equal(),color:N,lineHeight:(0,e.unit)(K),borderRadius:j,cursor:"pointer",transition:`background ${$}`,"&:hover":{background:V}},"&-selected":{[`${a}-time-panel-cell-inner`]:{background:X}},"&-disabled":{[`${a}-time-panel-cell-inner`]:{color:A,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${a}-time-panel-column:after`]:{height:o.calc(W).sub(K).add(o.calc(p).mul(2)).equal()}}}};qg.genPanelStyle=r;const i=o=>{const{componentCls:a,textHeight:l,lineWidth:s,paddingSM:u,antCls:c,colorPrimary:f,cellActiveWithRangeBg:h,colorPrimaryBorder:d,lineType:p,colorSplit:g}=o;return{[`${a}-dropdown`]:{[`${a}-footer`]:{borderTop:`${(0,e.unit)(s)} ${p} ${g}`,"&-extra":{padding:`0 ${(0,e.unit)(u)}`,lineHeight:(0,e.unit)(o.calc(l).sub(o.calc(s).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,e.unit)(s)} ${p} ${g}`}}},[`${a}-panels + ${a}-footer ${a}-ranges`]:{justifyContent:"space-between"},[`${a}-ranges`]:{marginBlock:0,paddingInline:(0,e.unit)(u),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,e.unit)(o.calc(l).sub(o.calc(s).mul(2)).equal()),display:"inline-block"},[`${a}-now-btn-disabled`]:{pointerEvents:"none",color:o.colorTextDisabled},[`${a}-preset > ${c}-tag-blue`]:{color:f,background:h,borderColor:d,cursor:"pointer"},[`${a}-ok`]:{paddingBlock:o.calc(s).mul(2).equal(),marginInlineStart:"auto"}}}}};return qg.default=i,qg}var fp={},Q4e;function IKt(){if(Q4e)return fp;Q4e=1,Object.defineProperty(fp,"__esModule",{value:!0}),fp.prepareComponentToken=fp.initPickerPanelToken=fp.initPanelComponentToken=void 0;var e=Ea,t=sae(),n=Qy();const r=a=>{const{componentCls:l,controlHeightLG:s,paddingXXS:u,padding:c}=a;return{pickerCellCls:`${l}-cell`,pickerCellInnerCls:`${l}-cell-inner`,pickerYearMonthCellWidth:a.calc(s).mul(1.5).equal(),pickerQuarterPanelContentHeight:a.calc(s).mul(1.4).equal(),pickerCellPaddingVertical:a.calc(u).add(a.calc(u).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:a.calc(c).add(a.calc(u).div(2)).equal()}};fp.initPickerPanelToken=r;const i=a=>{const{colorBgContainerDisabled:l,controlHeightSM:s,controlHeightLG:u}=a;return{cellHoverBg:a.controlItemBgHover,cellActiveWithRangeBg:a.controlItemBgActive,cellHoverWithRangeBg:new e.TinyColor(a.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new e.TinyColor(a.colorPrimary).lighten(20).toHexString(),cellBgDisabled:l,timeColumnWidth:u*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:s*1.5,cellHeight:s,textHeight:u,withoutTimeCellHeight:u*1.65,multipleItemBg:a.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:s,multipleItemHeightLG:a.controlHeight,multipleSelectorBgDisabled:l,multipleItemColorDisabled:a.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}};fp.initPanelComponentToken=i;const o=a=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.initComponentToken)(a)),i(a)),(0,n.getArrowToken)(a)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:a.zIndexPopupBase+50});return fp.prepareComponentToken=o,fp}var R5={},J4e;function NKt(){if(J4e)return R5;J4e=1,Object.defineProperty(R5,"__esModule",{value:!0}),R5.default=void 0;var e=Xt,t=cP();const n=r=>{const{componentCls:i}=r;return{[i]:[Object.assign(Object.assign(Object.assign({},(0,t.genOutlinedStyle)(r)),(0,t.genFilledStyle)(r)),(0,t.genBorderlessStyle)(r)),{"&-outlined":{[`&${i}-multiple ${i}-selection-item`]:{background:r.multipleItemBg,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.multipleItemBorderColor}`}},"&-filled":{[`&${i}-multiple ${i}-selection-item`]:{background:r.colorBgContainer,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`}},"&-borderless":{[`&${i}-multiple ${i}-selection-item`]:{background:r.multipleItemBg,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.multipleItemBorderColor}`}}}]}};return R5.default=n,R5}var eCe;function cae(){return eCe||(eCe=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"genPanelStyle",{enumerable:!0,get:function(){return c.genPanelStyle}}),Object.defineProperty(e,"initPanelComponentToken",{enumerable:!0,get:function(){return f.initPanelComponentToken}}),Object.defineProperty(e,"initPickerPanelToken",{enumerable:!0,get:function(){return f.initPickerPanelToken}});var n=Xt,r=eb(),i=Tn(),o=IC(),a=Bs(),l=Qy(),s=Jt(),u=t(MKt()),c=p(RKt()),f=IKt(),h=t(NKt());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}const g=(y,b,C,x)=>{const S=y.calc(C).add(2).equal(),w=y.max(y.calc(b).sub(S).div(2).equal(),0),O=y.max(y.calc(b).sub(S).sub(w).equal(),0);return{padding:`${(0,n.unit)(w)} ${(0,n.unit)(x)} ${(0,n.unit)(O)}`}},m=y=>{const{componentCls:b,colorError:C,colorWarning:x}=y;return{[`${b}:not(${b}-disabled):not([disabled])`]:{[`&${b}-status-error`]:{[`${b}-active-bar`]:{background:C}},[`&${b}-status-warning`]:{[`${b}-active-bar`]:{background:x}}}}},v=y=>{const{componentCls:b,antCls:C,controlHeight:x,paddingInline:S,lineWidth:w,lineType:O,colorBorder:$,borderRadius:P,motionDurationMid:T,colorTextDisabled:R,colorTextPlaceholder:M,controlHeightLG:A,fontSizeLG:N,controlHeightSM:k,paddingInlineSM:D,paddingXS:L,marginXS:B,colorTextDescription:j,lineWidthBold:z,colorPrimary:V,motionDurationSlow:W,zIndexPopup:U,paddingXXS:K,sizePopupArrow:X,colorBgElevated:G,borderRadiusLG:Y,boxShadowSecondary:J,borderRadiusSM:ee,colorSplit:Q,cellHoverBg:te,presetsWidth:ne,presetsMaxWidth:re,boxShadowPopoverArrow:oe,fontHeight:se,fontHeightLG:ye,lineHeightLG:be}=y;return[{[b]:Object.assign(Object.assign(Object.assign({},(0,i.resetComponent)(y)),g(y,x,se,S)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:P,transition:`border ${T}, box-shadow ${T}, background ${T}`,[`${b}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:y.fontSize,lineHeight:y.lineHeight,transition:`all ${T}`},(0,r.genPlaceholderStyle)(M)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:R,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:M}}},"&-large":Object.assign(Object.assign({},g(y,A,ye,S)),{[`${b}-input > input`]:{fontSize:N,lineHeight:be}}),"&-small":Object.assign({},g(y,k,se,D)),[`${b}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:y.calc(L).div(2).equal(),color:R,lineHeight:1,pointerEvents:"none",transition:`opacity ${T}, color ${T}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:B}}},[`${b}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:R,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${T}, color ${T}`,"> *":{verticalAlign:"top"},"&:hover":{color:j}},"&:hover":{[`${b}-clear`]:{opacity:1},[`${b}-suffix:not(:last-child)`]:{opacity:0}},[`${b}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:N,color:R,fontSize:N,verticalAlign:"top",cursor:"default",[`${b}-focused &`]:{color:j},[`${b}-range-separator &`]:{[`${b}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${b}-active-bar`]:{bottom:y.calc(w).mul(-1).equal(),height:z,background:V,opacity:0,transition:`all ${W} ease-out`,pointerEvents:"none"},[`&${b}-focused`]:{[`${b}-active-bar`]:{opacity:1}},[`${b}-range-separator`]:{alignItems:"center",padding:`0 ${(0,n.unit)(L)}`,lineHeight:1}},"&-range, &-multiple":{[`${b}-clear`]:{insetInlineEnd:S},[`&${b}-small`]:{[`${b}-clear`]:{insetInlineEnd:D}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,i.resetComponent)(y)),(0,c.genPanelStyle)(y)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:U,[`&${b}-dropdown-hidden`]:{display:"none"},[`&${b}-dropdown-placement-bottomLeft`]:{[`${b}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${b}-dropdown-placement-topLeft`]:{[`${b}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${C}-slide-up-enter${C}-slide-up-enter-active${b}-dropdown-placement-topLeft, + ${a}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${a}-content`]:{display:"flex",flex:"auto",height:W},"&-column":{flex:"1 0 auto",width:U,margin:`${(0,e.unit)(p)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${$}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:o.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${o.colorTextTertiary} transparent`},"&::after":{display:"block",height:o.calc(W).sub(K).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(m)} ${v} ${x}`},"&-active":{background:new t.TinyColor(X).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${a}-time-panel-cell`]:{marginInline:G,[`${a}-time-panel-cell-inner`]:{display:"block",width:o.calc(U).sub(o.calc(G).mul(2)).equal(),height:K,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:o.calc(U).sub(K).div(2).equal(),color:N,lineHeight:(0,e.unit)(K),borderRadius:k,cursor:"pointer",transition:`background ${$}`,"&:hover":{background:q}},"&-selected":{[`${a}-time-panel-cell-inner`]:{background:X}},"&-disabled":{[`${a}-time-panel-cell-inner`]:{color:A,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${a}-time-panel-column:after`]:{height:o.calc(W).sub(K).add(o.calc(p).mul(2)).equal()}}}};qg.genPanelStyle=r;const i=o=>{const{componentCls:a,textHeight:l,lineWidth:s,paddingSM:u,antCls:c,colorPrimary:f,cellActiveWithRangeBg:h,colorPrimaryBorder:d,lineType:p,colorSplit:g}=o;return{[`${a}-dropdown`]:{[`${a}-footer`]:{borderTop:`${(0,e.unit)(s)} ${p} ${g}`,"&-extra":{padding:`0 ${(0,e.unit)(u)}`,lineHeight:(0,e.unit)(o.calc(l).sub(o.calc(s).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,e.unit)(s)} ${p} ${g}`}}},[`${a}-panels + ${a}-footer ${a}-ranges`]:{justifyContent:"space-between"},[`${a}-ranges`]:{marginBlock:0,paddingInline:(0,e.unit)(u),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,e.unit)(o.calc(l).sub(o.calc(s).mul(2)).equal()),display:"inline-block"},[`${a}-now-btn-disabled`]:{pointerEvents:"none",color:o.colorTextDisabled},[`${a}-preset > ${c}-tag-blue`]:{color:f,background:h,borderColor:d,cursor:"pointer"},[`${a}-ok`]:{paddingBlock:o.calc(s).mul(2).equal(),marginInlineStart:"auto"}}}}};return qg.default=i,qg}var fp={},J4e;function RKt(){if(J4e)return fp;J4e=1,Object.defineProperty(fp,"__esModule",{value:!0}),fp.prepareComponentToken=fp.initPickerPanelToken=fp.initPanelComponentToken=void 0;var e=Ea,t=cae(),n=Qy();const r=a=>{const{componentCls:l,controlHeightLG:s,paddingXXS:u,padding:c}=a;return{pickerCellCls:`${l}-cell`,pickerCellInnerCls:`${l}-cell-inner`,pickerYearMonthCellWidth:a.calc(s).mul(1.5).equal(),pickerQuarterPanelContentHeight:a.calc(s).mul(1.4).equal(),pickerCellPaddingVertical:a.calc(u).add(a.calc(u).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:a.calc(c).add(a.calc(u).div(2)).equal()}};fp.initPickerPanelToken=r;const i=a=>{const{colorBgContainerDisabled:l,controlHeightSM:s,controlHeightLG:u}=a;return{cellHoverBg:a.controlItemBgHover,cellActiveWithRangeBg:a.controlItemBgActive,cellHoverWithRangeBg:new e.TinyColor(a.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new e.TinyColor(a.colorPrimary).lighten(20).toHexString(),cellBgDisabled:l,timeColumnWidth:u*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:s*1.5,cellHeight:s,textHeight:u,withoutTimeCellHeight:u*1.65,multipleItemBg:a.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:s,multipleItemHeightLG:a.controlHeight,multipleSelectorBgDisabled:l,multipleItemColorDisabled:a.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}};fp.initPanelComponentToken=i;const o=a=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.initComponentToken)(a)),i(a)),(0,n.getArrowToken)(a)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:a.zIndexPopupBase+50});return fp.prepareComponentToken=o,fp}var I5={},eCe;function IKt(){if(eCe)return I5;eCe=1,Object.defineProperty(I5,"__esModule",{value:!0}),I5.default=void 0;var e=Xt,t=uP();const n=r=>{const{componentCls:i}=r;return{[i]:[Object.assign(Object.assign(Object.assign({},(0,t.genOutlinedStyle)(r)),(0,t.genFilledStyle)(r)),(0,t.genBorderlessStyle)(r)),{"&-outlined":{[`&${i}-multiple ${i}-selection-item`]:{background:r.multipleItemBg,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.multipleItemBorderColor}`}},"&-filled":{[`&${i}-multiple ${i}-selection-item`]:{background:r.colorBgContainer,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`}},"&-borderless":{[`&${i}-multiple ${i}-selection-item`]:{background:r.multipleItemBg,border:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${r.multipleItemBorderColor}`}}}]}};return I5.default=n,I5}var tCe;function uae(){return tCe||(tCe=1,function(e){var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"genPanelStyle",{enumerable:!0,get:function(){return c.genPanelStyle}}),Object.defineProperty(e,"initPanelComponentToken",{enumerable:!0,get:function(){return f.initPanelComponentToken}}),Object.defineProperty(e,"initPickerPanelToken",{enumerable:!0,get:function(){return f.initPickerPanelToken}});var n=Xt,r=eb(),i=Tn(),o=IC(),a=Bs(),l=Qy(),s=Jt(),u=t(TKt()),c=p(MKt()),f=RKt(),h=t(IKt());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}const g=(y,b,C,x)=>{const S=y.calc(C).add(2).equal(),w=y.max(y.calc(b).sub(S).div(2).equal(),0),O=y.max(y.calc(b).sub(S).sub(w).equal(),0);return{padding:`${(0,n.unit)(w)} ${(0,n.unit)(x)} ${(0,n.unit)(O)}`}},m=y=>{const{componentCls:b,colorError:C,colorWarning:x}=y;return{[`${b}:not(${b}-disabled):not([disabled])`]:{[`&${b}-status-error`]:{[`${b}-active-bar`]:{background:C}},[`&${b}-status-warning`]:{[`${b}-active-bar`]:{background:x}}}}},v=y=>{const{componentCls:b,antCls:C,controlHeight:x,paddingInline:S,lineWidth:w,lineType:O,colorBorder:$,borderRadius:P,motionDurationMid:T,colorTextDisabled:R,colorTextPlaceholder:M,controlHeightLG:A,fontSizeLG:N,controlHeightSM:j,paddingInlineSM:D,paddingXS:L,marginXS:B,colorTextDescription:k,lineWidthBold:z,colorPrimary:q,motionDurationSlow:W,zIndexPopup:U,paddingXXS:K,sizePopupArrow:X,colorBgElevated:G,borderRadiusLG:Y,boxShadowSecondary:J,borderRadiusSM:ee,colorSplit:Q,cellHoverBg:te,presetsWidth:ne,presetsMaxWidth:re,boxShadowPopoverArrow:oe,fontHeight:se,fontHeightLG:ye,lineHeightLG:be}=y;return[{[b]:Object.assign(Object.assign(Object.assign({},(0,i.resetComponent)(y)),g(y,x,se,S)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:P,transition:`border ${T}, box-shadow ${T}, background ${T}`,[`${b}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:y.fontSize,lineHeight:y.lineHeight,transition:`all ${T}`},(0,r.genPlaceholderStyle)(M)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:R,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:M}}},"&-large":Object.assign(Object.assign({},g(y,A,ye,S)),{[`${b}-input > input`]:{fontSize:N,lineHeight:be}}),"&-small":Object.assign({},g(y,j,se,D)),[`${b}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:y.calc(L).div(2).equal(),color:R,lineHeight:1,pointerEvents:"none",transition:`opacity ${T}, color ${T}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:B}}},[`${b}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:R,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${T}, color ${T}`,"> *":{verticalAlign:"top"},"&:hover":{color:k}},"&:hover":{[`${b}-clear`]:{opacity:1},[`${b}-suffix:not(:last-child)`]:{opacity:0}},[`${b}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:N,color:R,fontSize:N,verticalAlign:"top",cursor:"default",[`${b}-focused &`]:{color:k},[`${b}-range-separator &`]:{[`${b}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${b}-active-bar`]:{bottom:y.calc(w).mul(-1).equal(),height:z,background:q,opacity:0,transition:`all ${W} ease-out`,pointerEvents:"none"},[`&${b}-focused`]:{[`${b}-active-bar`]:{opacity:1}},[`${b}-range-separator`]:{alignItems:"center",padding:`0 ${(0,n.unit)(L)}`,lineHeight:1}},"&-range, &-multiple":{[`${b}-clear`]:{insetInlineEnd:S},[`&${b}-small`]:{[`${b}-clear`]:{insetInlineEnd:D}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,i.resetComponent)(y)),(0,c.genPanelStyle)(y)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:U,[`&${b}-dropdown-hidden`]:{display:"none"},[`&${b}-dropdown-placement-bottomLeft`]:{[`${b}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${b}-dropdown-placement-topLeft`]:{[`${b}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${C}-slide-up-enter${C}-slide-up-enter-active${b}-dropdown-placement-topLeft, &${C}-slide-up-enter${C}-slide-up-enter-active${b}-dropdown-placement-topRight, &${C}-slide-up-appear${C}-slide-up-appear-active${b}-dropdown-placement-topLeft, &${C}-slide-up-appear${C}-slide-up-appear-active${b}-dropdown-placement-topRight`]:{animationName:a.slideDownIn},[`&${C}-slide-up-enter${C}-slide-up-enter-active${b}-dropdown-placement-bottomLeft, @@ -759,17 +759,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho &${C}-slide-up-appear${C}-slide-up-appear-active${b}-dropdown-placement-bottomLeft, &${C}-slide-up-appear${C}-slide-up-appear-active${b}-dropdown-placement-bottomRight`]:{animationName:a.slideUpIn},[`&${C}-slide-up-leave${C}-slide-up-leave-active${b}-dropdown-placement-topLeft, &${C}-slide-up-leave${C}-slide-up-leave-active${b}-dropdown-placement-topRight`]:{animationName:a.slideDownOut},[`&${C}-slide-up-leave${C}-slide-up-leave-active${b}-dropdown-placement-bottomLeft, - &${C}-slide-up-leave${C}-slide-up-leave-active${b}-dropdown-placement-bottomRight`]:{animationName:a.slideUpOut},[`${b}-panel > ${b}-time-panel`]:{paddingTop:K},[`${b}-range-wrapper`]:{display:"flex",position:"relative"},[`${b}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:y.calc(S).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${W} ease-out`},(0,l.genRoundedArrow)(y,G,oe)),{"&:before":{insetInlineStart:y.calc(S).mul(1.5).equal()}}),[`${b}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:G,borderRadius:Y,boxShadow:J,transition:`margin ${W}`,display:"inline-block",pointerEvents:"auto",[`${b}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${b}-presets`]:{display:"flex",flexDirection:"column",minWidth:ne,maxWidth:re,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:L,borderInlineEnd:`${(0,n.unit)(w)} ${O} ${Q}`,li:Object.assign(Object.assign({},i.textEllipsis),{borderRadius:ee,paddingInline:L,paddingBlock:y.calc(k).sub(se).div(2).equal(),cursor:"pointer",transition:`all ${W}`,"+ li":{marginTop:B},"&:hover":{background:te}})}},[`${b}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${b}-panel`]:{borderWidth:0}}},[`${b}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${b}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:$}}}}),"&-dropdown-range":{padding:`${(0,n.unit)(y.calc(X).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${b}-separator`]:{transform:"rotate(180deg)"},[`${b}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,a.initSlideMotion)(y,"slide-up"),(0,a.initSlideMotion)(y,"slide-down"),(0,a.initMoveMotion)(y,"move-up"),(0,a.initMoveMotion)(y,"move-down")]};e.default=(0,s.genStyleHooks)("DatePicker",y=>{const b=(0,s.mergeToken)((0,r.initInputToken)(y),(0,f.initPickerPanelToken)(y),{inputPaddingHorizontalBase:y.calc(y.paddingSM).sub(1).equal(),multipleSelectItemHeight:y.multipleItemHeight,selectHeight:y.controlHeight});return[(0,c.default)(b),v(b),(0,h.default)(b),m(b),(0,u.default)(b),(0,o.genCompactItemStyle)(y,{focusElCls:`${y.componentCls}-focused`})]},f.prepareComponentToken)}(cG)),cG}var tCe;function AKt(){if(tCe)return dp;tCe=1,Object.defineProperty(dp,"__esModule",{value:!0}),dp.prepareComponentToken=dp.genCalendarStyles=dp.default=void 0;var e=Xt,t=cae(),n=Tn(),r=Jt();const i=a=>{const{calendarCls:l,componentCls:s,fullBg:u,fullPanelBg:c,itemActiveBg:f}=a;return{[l]:Object.assign(Object.assign(Object.assign({},(0,t.genPanelStyle)(a)),(0,n.resetComponent)(a)),{background:u,"&-rtl":{direction:"rtl"},[`${l}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${(0,e.unit)(a.paddingSM)} 0`,[`${l}-year-select`]:{minWidth:a.yearControlWidth},[`${l}-month-select`]:{minWidth:a.monthControlWidth,marginInlineStart:a.marginXS},[`${l}-mode-switch`]:{marginInlineStart:a.marginXS}}}),[`${l} ${s}-panel`]:{background:c,border:0,borderTop:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,borderRadius:0,[`${s}-month-panel, ${s}-date-panel`]:{width:"auto"},[`${s}-body`]:{padding:`${(0,e.unit)(a.paddingXS)} 0`},[`${s}-content`]:{width:"100%"}},[`${l}-mini`]:{borderRadius:a.borderRadiusLG,[`${l}-header`]:{paddingInlineEnd:a.paddingXS,paddingInlineStart:a.paddingXS},[`${s}-panel`]:{borderRadius:`0 0 ${(0,e.unit)(a.borderRadiusLG)} ${(0,e.unit)(a.borderRadiusLG)}`},[`${s}-content`]:{height:a.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${(0,e.unit)(a.weekHeight)}`}},[`${s}-cell::before`]:{pointerEvents:"none"}},[`${l}${l}-full`]:{[`${s}-panel`]:{display:"block",width:"100%",textAlign:"end",background:u,border:0,[`${s}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:a.paddingSM,paddingBottom:a.paddingXXS,lineHeight:`${(0,e.unit)(a.weekHeight)}`}}},[`${s}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${l}-date`]:{background:a.controlItemBgHover}},[`${l}-date-today::before`]:{display:"none"},[`&-in-view${s}-cell-selected`]:{[`${l}-date, ${l}-date-today`]:{background:f}},"&-selected, &-selected:hover":{[`${l}-date, ${l}-date-today`]:{[`${l}-date-value`]:{color:a.colorPrimary}}}},[`${l}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${(0,e.unit)(a.calc(a.marginXS).div(2).equal())}`,padding:`${(0,e.unit)(a.calc(a.paddingXS).div(2).equal())} ${(0,e.unit)(a.paddingXS)} 0`,border:0,borderTop:`${(0,e.unit)(a.lineWidthBold)} ${a.lineType} ${a.colorSplit}`,borderRadius:0,transition:`background ${a.motionDurationSlow}`,"&-value":{lineHeight:`${(0,e.unit)(a.dateValueHeight)}`,transition:`color ${a.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:a.dateContentHeight,overflowY:"auto",color:a.colorText,lineHeight:a.lineHeight,textAlign:"start"},"&-today":{borderColor:a.colorPrimary,[`${l}-date-value`]:{color:a.colorText}}}},[`@media only screen and (max-width: ${(0,e.unit)(a.screenXS)}) `]:{[`${l}`]:{[`${l}-header`]:{display:"block",[`${l}-year-select`]:{width:"50%"},[`${l}-month-select`]:{width:`calc(50% - ${(0,e.unit)(a.paddingXS)})`},[`${l}-mode-switch`]:{width:"100%",marginTop:a.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}};dp.genCalendarStyles=i;const o=a=>Object.assign({fullBg:a.colorBgContainer,fullPanelBg:a.colorBgContainer,itemActiveBg:a.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},(0,t.initPanelComponentToken)(a));return dp.prepareComponentToken=o,dp.default=(0,r.genStyleHooks)("Calendar",a=>{const l=`${a.componentCls}-calendar`,s=(0,r.mergeToken)(a,(0,t.initPickerPanelToken)(a),{calendarCls:l,pickerCellInnerCls:`${a.componentCls}-cell-inner`,dateValueHeight:a.controlHeightSM,weekHeight:a.calc(a.controlHeightSM).mul(.75).equal(),dateContentHeight:a.calc(a.calc(a.fontHeightSM).add(a.marginXS)).mul(3).add(a.calc(a.lineWidth).mul(2)).equal()});return[i(s)]},o),dp}var nCe;function kKt(){if(nCe)return O5;nCe=1;var e=ze;Object.defineProperty(O5,"__esModule",{value:!0}),O5.default=void 0;var t=f(_),n=e(Tt()),r=oae,i=e(ns());_n();var o=Lt(),a=Rl(),l=e(TKt()),s=e(sqe()),u=e(AKt());function c(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(c=function(m){return m?g:p})(d)}function f(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=c(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function h(d){function p(y,b){return y&&b&&d.getYear(y)===d.getYear(b)}function g(y,b){return p(y,b)&&d.getMonth(y)===d.getMonth(b)}function m(y,b){return g(y,b)&&d.getDate(y)===d.getDate(b)}return y=>{const{prefixCls:b,className:C,rootClassName:x,style:S,dateFullCellRender:w,dateCellRender:O,monthFullCellRender:$,monthCellRender:P,cellRender:T,fullCellRender:R,headerRender:M,value:A,defaultValue:N,disabledDate:k,mode:D,validRange:L,fullscreen:B=!0,onChange:j,onPanelChange:z,onSelect:V}=y,{getPrefixCls:W,direction:U,calendar:K}=t.useContext(o.ConfigContext),X=W("picker",b),G=`${X}-calendar`,[Y,J,ee]=(0,u.default)(X,G),Q=d.getNow(),[te,ne]=(0,i.default)(()=>A||d.getNow(),{defaultValue:N,value:A}),[re,oe]=(0,i.default)("month",{value:D}),se=t.useMemo(()=>re==="year"?"month":"date",[re]),ye=t.useCallback(ce=>(L?d.isAfter(L[0],ce)||d.isAfter(ce,L[1]):!1)||!!(k!=null&&k(ce)),[k,L]),be=(ce,Te)=>{z==null||z(ce,Te)},he=ce=>{ne(ce),m(ce,te)||((se==="date"&&!g(ce,te)||se==="month"&&!p(ce,te))&&be(ce,re),j==null||j(ce))},le=ce=>{oe(ce),be(te,ce)},ve=(ce,Te)=>{he(ce),V==null||V(ce,{source:Te})},ke=()=>{const{locale:ce}=y,Te=Object.assign(Object.assign({},s.default),ce);return Te.lang=Object.assign(Object.assign({},Te.lang),(ce||{}).lang),Te},Ie=t.useCallback((ce,Te)=>R?R(ce,Te):w?w(ce):t.createElement("div",{className:(0,n.default)(`${X}-cell-inner`,`${G}-date`,{[`${G}-date-today`]:m(Q,ce)})},t.createElement("div",{className:`${G}-date-value`},String(d.getDate(ce)).padStart(2,"0")),t.createElement("div",{className:`${G}-date-content`},T?T(ce,Te):O&&O(ce))),[w,O,T,R]),Oe=t.useCallback((ce,Te)=>{if(R)return R(ce,Te);if($)return $(ce);const Ne=Te.locale.shortMonths||d.locale.getShortMonths(Te.locale.locale);return t.createElement("div",{className:(0,n.default)(`${X}-cell-inner`,`${G}-date`,{[`${G}-date-today`]:g(Q,ce)})},t.createElement("div",{className:`${G}-date-value`},Ne[d.getMonth(ce)]),t.createElement("div",{className:`${G}-date-content`},T?T(ce,Te):P&&P(ce)))},[$,P,T,R]),[Pe]=(0,a.useLocale)("Calendar",ke),_e=(ce,Te)=>{if(Te.type==="date")return Ie(ce,Te);if(Te.type==="month")return Oe(ce,Object.assign(Object.assign({},Te),{locale:Pe==null?void 0:Pe.lang}))};return Y(t.createElement("div",{className:(0,n.default)(G,{[`${G}-full`]:B,[`${G}-mini`]:!B,[`${G}-rtl`]:U==="rtl"},K==null?void 0:K.className,C,x,J,ee),style:Object.assign(Object.assign({},K==null?void 0:K.style),S)},M?M({value:te,type:re,onChange:ce=>{ve(ce,"customize")},onTypeChange:le}):t.createElement(l.default,{prefixCls:G,value:te,generateConfig:d,mode:re,fullscreen:B,locale:Pe==null?void 0:Pe.lang,validRange:L,onChange:ve,onModeChange:le}),t.createElement(r.PickerPanel,{value:te,prefixCls:X,locale:Pe==null?void 0:Pe.lang,generateConfig:d,cellRender:_e,onSelect:ce=>{ve(ce,se)},mode:se,picker:se,disabledDate:ye,hideHeader:!0})))}}return O5.default=h,O5}var rCe;function jKt(){if(rCe)return _5;rCe=1;var e=ze;Object.defineProperty(_5,"__esModule",{value:!0}),_5.default=void 0;var t=e(sVe()),n=e(kKt());const r=(0,n.default)(t.default);return r.generateCalendar=n.default,_5.default=r,_5}var I5={},N5={},A5={},k5={},j5={},D5={},iCe;function MF(){if(iCe)return D5;iCe=1;var e=ze;Object.defineProperty(D5,"__esModule",{value:!0}),D5.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{const{prefixCls:l,className:s,style:u,size:c,shape:f}=a,h=(0,t.default)({[`${l}-lg`]:c==="large",[`${l}-sm`]:c==="small"}),d=(0,t.default)({[`${l}-circle`]:f==="circle",[`${l}-square`]:f==="square",[`${l}-round`]:f==="round"}),p=n.useMemo(()=>typeof c=="number"?{width:c,height:c,lineHeight:`${c}px`}:{},[c]);return n.createElement("span",{className:(0,t.default)(l,h,d,s),style:Object.assign(Object.assign({},p),u)})};return D5.default=o,D5}var Vg={},oCe;function jC(){if(oCe)return Vg;oCe=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.prepareComponentToken=Vg.default=void 0;var e=Xt,t=Jt();const n=new e.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),r=m=>({height:m,lineHeight:(0,e.unit)(m)}),i=m=>Object.assign({width:m},r(m)),o=m=>({background:m.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:n,animationDuration:m.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=(m,v)=>Object.assign({width:v(m).mul(5).equal(),minWidth:v(m).mul(5).equal()},r(m)),l=m=>{const{skeletonAvatarCls:v,gradientFromColor:y,controlHeight:b,controlHeightLG:C,controlHeightSM:x}=m;return{[`${v}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:y},i(b)),[`${v}${v}-circle`]:{borderRadius:"50%"},[`${v}${v}-lg`]:Object.assign({},i(C)),[`${v}${v}-sm`]:Object.assign({},i(x))}},s=m=>{const{controlHeight:v,borderRadiusSM:y,skeletonInputCls:b,controlHeightLG:C,controlHeightSM:x,gradientFromColor:S,calc:w}=m;return{[`${b}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:S,borderRadius:y},a(v,w)),[`${b}-lg`]:Object.assign({},a(C,w)),[`${b}-sm`]:Object.assign({},a(x,w))}},u=m=>Object.assign({width:m},r(m)),c=m=>{const{skeletonImageCls:v,imageSizeBase:y,gradientFromColor:b,borderRadiusSM:C,calc:x}=m;return{[`${v}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:b,borderRadius:C},u(x(y).mul(2).equal())),{[`${v}-path`]:{fill:"#bfbfbf"},[`${v}-svg`]:Object.assign(Object.assign({},u(y)),{maxWidth:x(y).mul(4).equal(),maxHeight:x(y).mul(4).equal()}),[`${v}-svg${v}-svg-circle`]:{borderRadius:"50%"}}),[`${v}${v}-circle`]:{borderRadius:"50%"}}},f=(m,v,y)=>{const{skeletonButtonCls:b}=m;return{[`${y}${b}-circle`]:{width:v,minWidth:v,borderRadius:"50%"},[`${y}${b}-round`]:{borderRadius:v}}},h=(m,v)=>Object.assign({width:v(m).mul(2).equal(),minWidth:v(m).mul(2).equal()},r(m)),d=m=>{const{borderRadiusSM:v,skeletonButtonCls:y,controlHeight:b,controlHeightLG:C,controlHeightSM:x,gradientFromColor:S,calc:w}=m;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:S,borderRadius:v,width:w(b).mul(2).equal(),minWidth:w(b).mul(2).equal()},h(b,w))},f(m,b,y)),{[`${y}-lg`]:Object.assign({},h(C,w))}),f(m,C,`${y}-lg`)),{[`${y}-sm`]:Object.assign({},h(x,w))}),f(m,x,`${y}-sm`))},p=m=>{const{componentCls:v,skeletonAvatarCls:y,skeletonTitleCls:b,skeletonParagraphCls:C,skeletonButtonCls:x,skeletonInputCls:S,skeletonImageCls:w,controlHeight:O,controlHeightLG:$,controlHeightSM:P,gradientFromColor:T,padding:R,marginSM:M,borderRadius:A,titleHeight:N,blockRadius:k,paragraphLiHeight:D,controlHeightXS:L,paragraphMarginTop:B}=m;return{[`${v}`]:{display:"table",width:"100%",[`${v}-header`]:{display:"table-cell",paddingInlineEnd:R,verticalAlign:"top",[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:T},i(O)),[`${y}-circle`]:{borderRadius:"50%"},[`${y}-lg`]:Object.assign({},i($)),[`${y}-sm`]:Object.assign({},i(P))},[`${v}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${b}`]:{width:"100%",height:N,background:T,borderRadius:k,[`+ ${C}`]:{marginBlockStart:P}},[`${C}`]:{padding:0,"> li":{width:"100%",height:D,listStyle:"none",background:T,borderRadius:k,"+ li":{marginBlockStart:L}}},[`${C}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${v}-content`]:{[`${b}, ${C} > li`]:{borderRadius:A}}},[`${v}-with-avatar ${v}-content`]:{[`${b}`]:{marginBlockStart:M,[`+ ${C}`]:{marginBlockStart:B}}},[`${v}${v}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},d(m)),l(m)),s(m)),c(m)),[`${v}${v}-block`]:{width:"100%",[`${x}`]:{width:"100%"},[`${S}`]:{width:"100%"}},[`${v}${v}-active`]:{[` + &${C}-slide-up-leave${C}-slide-up-leave-active${b}-dropdown-placement-bottomRight`]:{animationName:a.slideUpOut},[`${b}-panel > ${b}-time-panel`]:{paddingTop:K},[`${b}-range-wrapper`]:{display:"flex",position:"relative"},[`${b}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:y.calc(S).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${W} ease-out`},(0,l.genRoundedArrow)(y,G,oe)),{"&:before":{insetInlineStart:y.calc(S).mul(1.5).equal()}}),[`${b}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:G,borderRadius:Y,boxShadow:J,transition:`margin ${W}`,display:"inline-block",pointerEvents:"auto",[`${b}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${b}-presets`]:{display:"flex",flexDirection:"column",minWidth:ne,maxWidth:re,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:L,borderInlineEnd:`${(0,n.unit)(w)} ${O} ${Q}`,li:Object.assign(Object.assign({},i.textEllipsis),{borderRadius:ee,paddingInline:L,paddingBlock:y.calc(j).sub(se).div(2).equal(),cursor:"pointer",transition:`all ${W}`,"+ li":{marginTop:B},"&:hover":{background:te}})}},[`${b}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${b}-panel`]:{borderWidth:0}}},[`${b}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${b}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:$}}}}),"&-dropdown-range":{padding:`${(0,n.unit)(y.calc(X).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${b}-separator`]:{transform:"rotate(180deg)"},[`${b}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,a.initSlideMotion)(y,"slide-up"),(0,a.initSlideMotion)(y,"slide-down"),(0,a.initMoveMotion)(y,"move-up"),(0,a.initMoveMotion)(y,"move-down")]};e.default=(0,s.genStyleHooks)("DatePicker",y=>{const b=(0,s.mergeToken)((0,r.initInputToken)(y),(0,f.initPickerPanelToken)(y),{inputPaddingHorizontalBase:y.calc(y.paddingSM).sub(1).equal(),multipleSelectItemHeight:y.multipleItemHeight,selectHeight:y.controlHeight});return[(0,c.default)(b),v(b),(0,h.default)(b),m(b),(0,u.default)(b),(0,o.genCompactItemStyle)(y,{focusElCls:`${y.componentCls}-focused`})]},f.prepareComponentToken)}(uG)),uG}var nCe;function NKt(){if(nCe)return dp;nCe=1,Object.defineProperty(dp,"__esModule",{value:!0}),dp.prepareComponentToken=dp.genCalendarStyles=dp.default=void 0;var e=Xt,t=uae(),n=Tn(),r=Jt();const i=a=>{const{calendarCls:l,componentCls:s,fullBg:u,fullPanelBg:c,itemActiveBg:f}=a;return{[l]:Object.assign(Object.assign(Object.assign({},(0,t.genPanelStyle)(a)),(0,n.resetComponent)(a)),{background:u,"&-rtl":{direction:"rtl"},[`${l}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${(0,e.unit)(a.paddingSM)} 0`,[`${l}-year-select`]:{minWidth:a.yearControlWidth},[`${l}-month-select`]:{minWidth:a.monthControlWidth,marginInlineStart:a.marginXS},[`${l}-mode-switch`]:{marginInlineStart:a.marginXS}}}),[`${l} ${s}-panel`]:{background:c,border:0,borderTop:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,borderRadius:0,[`${s}-month-panel, ${s}-date-panel`]:{width:"auto"},[`${s}-body`]:{padding:`${(0,e.unit)(a.paddingXS)} 0`},[`${s}-content`]:{width:"100%"}},[`${l}-mini`]:{borderRadius:a.borderRadiusLG,[`${l}-header`]:{paddingInlineEnd:a.paddingXS,paddingInlineStart:a.paddingXS},[`${s}-panel`]:{borderRadius:`0 0 ${(0,e.unit)(a.borderRadiusLG)} ${(0,e.unit)(a.borderRadiusLG)}`},[`${s}-content`]:{height:a.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${(0,e.unit)(a.weekHeight)}`}},[`${s}-cell::before`]:{pointerEvents:"none"}},[`${l}${l}-full`]:{[`${s}-panel`]:{display:"block",width:"100%",textAlign:"end",background:u,border:0,[`${s}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:a.paddingSM,paddingBottom:a.paddingXXS,lineHeight:`${(0,e.unit)(a.weekHeight)}`}}},[`${s}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${l}-date`]:{background:a.controlItemBgHover}},[`${l}-date-today::before`]:{display:"none"},[`&-in-view${s}-cell-selected`]:{[`${l}-date, ${l}-date-today`]:{background:f}},"&-selected, &-selected:hover":{[`${l}-date, ${l}-date-today`]:{[`${l}-date-value`]:{color:a.colorPrimary}}}},[`${l}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${(0,e.unit)(a.calc(a.marginXS).div(2).equal())}`,padding:`${(0,e.unit)(a.calc(a.paddingXS).div(2).equal())} ${(0,e.unit)(a.paddingXS)} 0`,border:0,borderTop:`${(0,e.unit)(a.lineWidthBold)} ${a.lineType} ${a.colorSplit}`,borderRadius:0,transition:`background ${a.motionDurationSlow}`,"&-value":{lineHeight:`${(0,e.unit)(a.dateValueHeight)}`,transition:`color ${a.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:a.dateContentHeight,overflowY:"auto",color:a.colorText,lineHeight:a.lineHeight,textAlign:"start"},"&-today":{borderColor:a.colorPrimary,[`${l}-date-value`]:{color:a.colorText}}}},[`@media only screen and (max-width: ${(0,e.unit)(a.screenXS)}) `]:{[`${l}`]:{[`${l}-header`]:{display:"block",[`${l}-year-select`]:{width:"50%"},[`${l}-month-select`]:{width:`calc(50% - ${(0,e.unit)(a.paddingXS)})`},[`${l}-mode-switch`]:{width:"100%",marginTop:a.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}};dp.genCalendarStyles=i;const o=a=>Object.assign({fullBg:a.colorBgContainer,fullPanelBg:a.colorBgContainer,itemActiveBg:a.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},(0,t.initPanelComponentToken)(a));return dp.prepareComponentToken=o,dp.default=(0,r.genStyleHooks)("Calendar",a=>{const l=`${a.componentCls}-calendar`,s=(0,r.mergeToken)(a,(0,t.initPickerPanelToken)(a),{calendarCls:l,pickerCellInnerCls:`${a.componentCls}-cell-inner`,dateValueHeight:a.controlHeightSM,weekHeight:a.calc(a.controlHeightSM).mul(.75).equal(),dateContentHeight:a.calc(a.calc(a.fontHeightSM).add(a.marginXS)).mul(3).add(a.calc(a.lineWidth).mul(2)).equal()});return[i(s)]},o),dp}var rCe;function AKt(){if(rCe)return E5;rCe=1;var e=ze;Object.defineProperty(E5,"__esModule",{value:!0}),E5.default=void 0;var t=f(_),n=e(Tt()),r=aae,i=e(ns());_n();var o=Lt(),a=Rl(),l=e(PKt()),s=e(cqe()),u=e(NKt());function c(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(c=function(m){return m?g:p})(d)}function f(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=c(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function h(d){function p(y,b){return y&&b&&d.getYear(y)===d.getYear(b)}function g(y,b){return p(y,b)&&d.getMonth(y)===d.getMonth(b)}function m(y,b){return g(y,b)&&d.getDate(y)===d.getDate(b)}return y=>{const{prefixCls:b,className:C,rootClassName:x,style:S,dateFullCellRender:w,dateCellRender:O,monthFullCellRender:$,monthCellRender:P,cellRender:T,fullCellRender:R,headerRender:M,value:A,defaultValue:N,disabledDate:j,mode:D,validRange:L,fullscreen:B=!0,onChange:k,onPanelChange:z,onSelect:q}=y,{getPrefixCls:W,direction:U,calendar:K}=t.useContext(o.ConfigContext),X=W("picker",b),G=`${X}-calendar`,[Y,J,ee]=(0,u.default)(X,G),Q=d.getNow(),[te,ne]=(0,i.default)(()=>A||d.getNow(),{defaultValue:N,value:A}),[re,oe]=(0,i.default)("month",{value:D}),se=t.useMemo(()=>re==="year"?"month":"date",[re]),ye=t.useCallback(ce=>(L?d.isAfter(L[0],ce)||d.isAfter(ce,L[1]):!1)||!!(j!=null&&j(ce)),[j,L]),be=(ce,Te)=>{z==null||z(ce,Te)},he=ce=>{ne(ce),m(ce,te)||((se==="date"&&!g(ce,te)||se==="month"&&!p(ce,te))&&be(ce,re),k==null||k(ce))},le=ce=>{oe(ce),be(te,ce)},ve=(ce,Te)=>{he(ce),q==null||q(ce,{source:Te})},ke=()=>{const{locale:ce}=y,Te=Object.assign(Object.assign({},s.default),ce);return Te.lang=Object.assign(Object.assign({},Te.lang),(ce||{}).lang),Te},Ie=t.useCallback((ce,Te)=>R?R(ce,Te):w?w(ce):t.createElement("div",{className:(0,n.default)(`${X}-cell-inner`,`${G}-date`,{[`${G}-date-today`]:m(Q,ce)})},t.createElement("div",{className:`${G}-date-value`},String(d.getDate(ce)).padStart(2,"0")),t.createElement("div",{className:`${G}-date-content`},T?T(ce,Te):O&&O(ce))),[w,O,T,R]),Oe=t.useCallback((ce,Te)=>{if(R)return R(ce,Te);if($)return $(ce);const Ne=Te.locale.shortMonths||d.locale.getShortMonths(Te.locale.locale);return t.createElement("div",{className:(0,n.default)(`${X}-cell-inner`,`${G}-date`,{[`${G}-date-today`]:g(Q,ce)})},t.createElement("div",{className:`${G}-date-value`},Ne[d.getMonth(ce)]),t.createElement("div",{className:`${G}-date-content`},T?T(ce,Te):P&&P(ce)))},[$,P,T,R]),[Pe]=(0,a.useLocale)("Calendar",ke),_e=(ce,Te)=>{if(Te.type==="date")return Ie(ce,Te);if(Te.type==="month")return Oe(ce,Object.assign(Object.assign({},Te),{locale:Pe==null?void 0:Pe.lang}))};return Y(t.createElement("div",{className:(0,n.default)(G,{[`${G}-full`]:B,[`${G}-mini`]:!B,[`${G}-rtl`]:U==="rtl"},K==null?void 0:K.className,C,x,J,ee),style:Object.assign(Object.assign({},K==null?void 0:K.style),S)},M?M({value:te,type:re,onChange:ce=>{ve(ce,"customize")},onTypeChange:le}):t.createElement(l.default,{prefixCls:G,value:te,generateConfig:d,mode:re,fullscreen:B,locale:Pe==null?void 0:Pe.lang,validRange:L,onChange:ve,onModeChange:le}),t.createElement(r.PickerPanel,{value:te,prefixCls:X,locale:Pe==null?void 0:Pe.lang,generateConfig:d,cellRender:_e,onSelect:ce=>{ve(ce,se)},mode:se,picker:se,disabledDate:ye,hideHeader:!0})))}}return E5.default=h,E5}var iCe;function kKt(){if(iCe)return w5;iCe=1;var e=ze;Object.defineProperty(w5,"__esModule",{value:!0}),w5.default=void 0;var t=e(sVe()),n=e(AKt());const r=(0,n.default)(t.default);return r.generateCalendar=n.default,w5.default=r,w5}var N5={},A5={},k5={},j5={},D5={},L5={},oCe;function RF(){if(oCe)return L5;oCe=1;var e=ze;Object.defineProperty(L5,"__esModule",{value:!0}),L5.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{const{prefixCls:l,className:s,style:u,size:c,shape:f}=a,h=(0,t.default)({[`${l}-lg`]:c==="large",[`${l}-sm`]:c==="small"}),d=(0,t.default)({[`${l}-circle`]:f==="circle",[`${l}-square`]:f==="square",[`${l}-round`]:f==="round"}),p=n.useMemo(()=>typeof c=="number"?{width:c,height:c,lineHeight:`${c}px`}:{},[c]);return n.createElement("span",{className:(0,t.default)(l,h,d,s),style:Object.assign(Object.assign({},p),u)})};return L5.default=o,L5}var Vg={},aCe;function jC(){if(aCe)return Vg;aCe=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.prepareComponentToken=Vg.default=void 0;var e=Xt,t=Jt();const n=new e.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),r=m=>({height:m,lineHeight:(0,e.unit)(m)}),i=m=>Object.assign({width:m},r(m)),o=m=>({background:m.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:n,animationDuration:m.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=(m,v)=>Object.assign({width:v(m).mul(5).equal(),minWidth:v(m).mul(5).equal()},r(m)),l=m=>{const{skeletonAvatarCls:v,gradientFromColor:y,controlHeight:b,controlHeightLG:C,controlHeightSM:x}=m;return{[`${v}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:y},i(b)),[`${v}${v}-circle`]:{borderRadius:"50%"},[`${v}${v}-lg`]:Object.assign({},i(C)),[`${v}${v}-sm`]:Object.assign({},i(x))}},s=m=>{const{controlHeight:v,borderRadiusSM:y,skeletonInputCls:b,controlHeightLG:C,controlHeightSM:x,gradientFromColor:S,calc:w}=m;return{[`${b}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:S,borderRadius:y},a(v,w)),[`${b}-lg`]:Object.assign({},a(C,w)),[`${b}-sm`]:Object.assign({},a(x,w))}},u=m=>Object.assign({width:m},r(m)),c=m=>{const{skeletonImageCls:v,imageSizeBase:y,gradientFromColor:b,borderRadiusSM:C,calc:x}=m;return{[`${v}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:b,borderRadius:C},u(x(y).mul(2).equal())),{[`${v}-path`]:{fill:"#bfbfbf"},[`${v}-svg`]:Object.assign(Object.assign({},u(y)),{maxWidth:x(y).mul(4).equal(),maxHeight:x(y).mul(4).equal()}),[`${v}-svg${v}-svg-circle`]:{borderRadius:"50%"}}),[`${v}${v}-circle`]:{borderRadius:"50%"}}},f=(m,v,y)=>{const{skeletonButtonCls:b}=m;return{[`${y}${b}-circle`]:{width:v,minWidth:v,borderRadius:"50%"},[`${y}${b}-round`]:{borderRadius:v}}},h=(m,v)=>Object.assign({width:v(m).mul(2).equal(),minWidth:v(m).mul(2).equal()},r(m)),d=m=>{const{borderRadiusSM:v,skeletonButtonCls:y,controlHeight:b,controlHeightLG:C,controlHeightSM:x,gradientFromColor:S,calc:w}=m;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:S,borderRadius:v,width:w(b).mul(2).equal(),minWidth:w(b).mul(2).equal()},h(b,w))},f(m,b,y)),{[`${y}-lg`]:Object.assign({},h(C,w))}),f(m,C,`${y}-lg`)),{[`${y}-sm`]:Object.assign({},h(x,w))}),f(m,x,`${y}-sm`))},p=m=>{const{componentCls:v,skeletonAvatarCls:y,skeletonTitleCls:b,skeletonParagraphCls:C,skeletonButtonCls:x,skeletonInputCls:S,skeletonImageCls:w,controlHeight:O,controlHeightLG:$,controlHeightSM:P,gradientFromColor:T,padding:R,marginSM:M,borderRadius:A,titleHeight:N,blockRadius:j,paragraphLiHeight:D,controlHeightXS:L,paragraphMarginTop:B}=m;return{[`${v}`]:{display:"table",width:"100%",[`${v}-header`]:{display:"table-cell",paddingInlineEnd:R,verticalAlign:"top",[`${y}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:T},i(O)),[`${y}-circle`]:{borderRadius:"50%"},[`${y}-lg`]:Object.assign({},i($)),[`${y}-sm`]:Object.assign({},i(P))},[`${v}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${b}`]:{width:"100%",height:N,background:T,borderRadius:j,[`+ ${C}`]:{marginBlockStart:P}},[`${C}`]:{padding:0,"> li":{width:"100%",height:D,listStyle:"none",background:T,borderRadius:j,"+ li":{marginBlockStart:L}}},[`${C}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${v}-content`]:{[`${b}, ${C} > li`]:{borderRadius:A}}},[`${v}-with-avatar ${v}-content`]:{[`${b}`]:{marginBlockStart:M,[`+ ${C}`]:{marginBlockStart:B}}},[`${v}${v}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},d(m)),l(m)),s(m)),c(m)),[`${v}${v}-block`]:{width:"100%",[`${x}`]:{width:"100%"},[`${S}`]:{width:"100%"}},[`${v}${v}-active`]:{[` ${b}, ${C} > li, ${y}, ${x}, ${S}, ${w} - `]:Object.assign({},o(m))}}},g=m=>{const{colorFillContent:v,colorFill:y}=m,b=v,C=y;return{color:b,colorGradientEnd:C,gradientFromColor:b,gradientToColor:C,titleHeight:m.controlHeight/2,blockRadius:m.borderRadiusSM,paragraphMarginTop:m.marginLG+m.marginXXS,paragraphLiHeight:m.controlHeight/2}};return Vg.prepareComponentToken=g,Vg.default=(0,t.genStyleHooks)("Skeleton",m=>{const{componentCls:v,calc:y}=m,b=(0,t.mergeToken)(m,{skeletonAvatarCls:`${v}-avatar`,skeletonTitleCls:`${v}-title`,skeletonParagraphCls:`${v}-paragraph`,skeletonButtonCls:`${v}-button`,skeletonInputCls:`${v}-input`,skeletonImageCls:`${v}-image`,imageSizeBase:y(m.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${m.gradientFromColor} 25%, ${m.gradientToColor} 37%, ${m.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[p(b)]},g,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Vg}var aCe;function DKt(){if(aCe)return j5;aCe=1;var e=ze;Object.defineProperty(j5,"__esModule",{value:!0}),j5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(MF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,shape:g="circle",size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls","className"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-avatar`,shape:g,size:m},S))))};return j5.default=u,j5}var L5={},lCe;function LKt(){if(lCe)return L5;lCe=1;var e=ze;Object.defineProperty(L5,"__esModule",{value:!0}),L5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(MF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,block:g=!1,size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p,[`${y}-block`]:g},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-button`,size:m},S))))};return L5.default=u,L5}var z5={},sCe;function zKt(){if(sCe)return z5;sCe=1;var e=ze;Object.defineProperty(z5,"__esModule",{value:!0}),z5.default=void 0;var t=e(Tt()),n=a(_),r=Lt(),i=e(jC());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const l="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",s=u=>{const{prefixCls:c,className:f,rootClassName:h,style:d,active:p}=u,{getPrefixCls:g}=n.useContext(r.ConfigContext),m=g("skeleton",c),[v,y,b]=(0,i.default)(m),C=(0,t.default)(m,`${m}-element`,{[`${m}-active`]:p},f,h,y,b);return v(n.createElement("div",{className:C},n.createElement("div",{className:(0,t.default)(`${m}-image`,f),style:d},n.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${m}-image-svg`},n.createElement("path",{d:l,className:`${m}-image-path`})))))};return z5.default=s,z5}var B5={},cCe;function BKt(){if(cCe)return B5;cCe=1;var e=ze;Object.defineProperty(B5,"__esModule",{value:!0}),B5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(MF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,block:g,size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p,[`${y}-block`]:g},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-input`,size:m},S))))};return B5.default=u,B5}var F5={},zR={exports:{}},dG={},BR={},uCe;function FKt(){if(uCe)return BR;uCe=1,Object.defineProperty(BR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};return BR.default=e,BR}var dCe;function HKt(){return dCe||(dCe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(FKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:c,className:f,rootClassName:h,style:d,active:p,children:g}=u,{getPrefixCls:m}=r.useContext(i.ConfigContext),v=m("skeleton",c),[y,b,C]=(0,o.default)(v),x=(0,n.default)(v,`${v}-element`,{[`${v}-active`]:p},b,f,h,C),S=g??r.createElement(t.default,null);return y(r.createElement("div",{className:x},r.createElement("div",{className:(0,n.default)(`${v}-image`,f),style:d},S)))};return F5.default=s,F5}var H5={},hCe;function VKt(){if(hCe)return H5;hCe=1;var e=ze;Object.defineProperty(H5,"__esModule",{value:!0}),H5.default=void 0;var t=e(qr()),n=e(Tt()),r=o(_);function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const s=p=>{const{width:g,rows:m=2}=l;if(Array.isArray(g))return g[p];if(m-1===p)return g},{prefixCls:u,className:c,style:f,rows:h}=l,d=(0,t.default)(Array(h)).map((p,g)=>r.createElement("li",{key:g,style:{width:s(g)}}));return r.createElement("ul",{className:(0,n.default)(u,c),style:f},d)};return H5.default=a,H5}var W5={},gCe;function UKt(){if(gCe)return W5;gCe=1;var e=ze;Object.defineProperty(W5,"__esModule",{value:!0}),W5.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{let{prefixCls:l,className:s,width:u,style:c}=a;return n.createElement("h3",{className:(0,t.default)(l,s),style:Object.assign({width:u},c)})};return W5.default=o,W5}var mCe;function GKt(){if(mCe)return k5;mCe=1;var e=ze;Object.defineProperty(k5,"__esModule",{value:!0}),k5.default=void 0;var t=e(Tt()),n=p(_),r=Lt(),i=e(DKt()),o=e(LKt()),a=e(MF()),l=e(zKt()),s=e(BKt()),u=e(qKt()),c=e(VKt()),f=e(UKt()),h=e(jC());function d(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(d=function(w){return w?S:x})(C)}function p(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=d(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}function g(C){return C&&typeof C=="object"?C:{}}function m(C,x){return C&&!x?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function v(C,x){return!C&&x?{width:"38%"}:C&&x?{width:"50%"}:{}}function y(C,x){const S={};return(!C||!x)&&(S.width="61%"),!C&&x?S.rows=3:S.rows=2,S}const b=C=>{const{prefixCls:x,loading:S,className:w,rootClassName:O,style:$,children:P,avatar:T=!1,title:R=!0,paragraph:M=!0,active:A,round:N}=C,{getPrefixCls:k,direction:D,skeleton:L}=n.useContext(r.ConfigContext),B=k("skeleton",x),[j,z,V]=(0,h.default)(B);if(S||!("loading"in C)){const W=!!T,U=!!R,K=!!M;let X;if(W){const J=Object.assign(Object.assign({prefixCls:`${B}-avatar`},m(U,K)),g(T));X=n.createElement("div",{className:`${B}-header`},n.createElement(a.default,Object.assign({},J)))}let G;if(U||K){let J;if(U){const Q=Object.assign(Object.assign({prefixCls:`${B}-title`},v(W,K)),g(R));J=n.createElement(f.default,Object.assign({},Q))}let ee;if(K){const Q=Object.assign(Object.assign({prefixCls:`${B}-paragraph`},y(W,U)),g(M));ee=n.createElement(c.default,Object.assign({},Q))}G=n.createElement("div",{className:`${B}-content`},J,ee)}const Y=(0,t.default)(B,{[`${B}-with-avatar`]:W,[`${B}-active`]:A,[`${B}-rtl`]:D==="rtl",[`${B}-round`]:N},L==null?void 0:L.className,w,O,z,V);return j(n.createElement("div",{className:Y,style:Object.assign(Object.assign({},L==null?void 0:L.style),$)},X,G))}return typeof P<"u"?P:null};return b.Button=o.default,b.Avatar=i.default,b.Input=s.default,b.Image=l.default,b.Node=u.default,k5.default=b,k5}var vCe;function uae(){if(vCe)return A5;vCe=1;var e=ze;Object.defineProperty(A5,"__esModule",{value:!0}),A5.default=void 0;var t=e(GKt());return A5.default=t.default,A5}var q5={},FR={exports:{}},fG={},HR={},yCe;function KKt(){if(yCe)return HR;yCe=1,Object.defineProperty(HR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};return HR.default=e,HR}var bCe;function XKt(){return bCe||(bCe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(KKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},o;return i===!1?o={inkBar:!1,tabPane:!1}:i===!0?o={inkBar:!0,tabPane:!0}:o=Object.assign({inkBar:!0},typeof i=="object"?i:{}),o.tabPane&&(o.tabPaneMotion=Object.assign(Object.assign({},t),{motionName:(0,e.getTransitionName)(r,"switch")})),o}return WR}var qR={},xCe;function JKt(){if(xCe)return qR;xCe=1;var e=ze;Object.defineProperty(qR,"__esModule",{value:!0}),qR.default=l;var t=i(_),n=e(fl());_n();function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var o=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);hu)}function l(s,u){if(s)return s;const c=(0,n.default)(u).map(f=>{if(t.isValidElement(f)){const{key:h,props:d}=f,p=d||{},{tab:g}=p,m=o(p,["tab"]);return Object.assign(Object.assign({key:String(h)},m),{label:g})}return null});return a(c)}return qR}var Ug={},V5={},_Ce;function eXt(){if(_Ce)return V5;_Ce=1,Object.defineProperty(V5,"__esModule",{value:!0}),V5.default=void 0;var e=Bs();const t=n=>{const{componentCls:r,motionDurationSlow:i}=n;return[{[r]:{[`${r}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${i}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${i}`}}}}},[(0,e.initSlideMotion)(n,"slide-up"),(0,e.initSlideMotion)(n,"slide-down")]]};return V5.default=t,V5}var wCe;function tXt(){if(wCe)return Ug;wCe=1;var e=ze;Object.defineProperty(Ug,"__esModule",{value:!0}),Ug.prepareComponentToken=Ug.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(eXt());const o=d=>{const{componentCls:p,tabsCardPadding:g,cardBg:m,cardGutter:v,colorBorderSecondary:y,itemSelectedColor:b}=d;return{[`${p}-card`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{margin:0,padding:g,background:m,border:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${y}`,transition:`all ${d.motionDurationSlow} ${d.motionEaseInOut}`},[`${p}-tab-active`]:{color:b,background:d.colorBgContainer},[`${p}-ink-bar`]:{visibility:"hidden"}},[`&${p}-top, &${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,t.unit)(v)}}}},[`&${p}-top`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:`${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0 0`},[`${p}-tab-active`]:{borderBottomColor:d.colorBgContainer}}},[`&${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:`0 0 ${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)}`},[`${p}-tab-active`]:{borderTopColor:d.colorBgContainer}}},[`&${p}-left, &${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginTop:(0,t.unit)(v)}}},[`&${p}-left`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,t.unit)(d.borderRadiusLG)} 0 0 ${(0,t.unit)(d.borderRadiusLG)}`}},[`${p}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:d.colorBgContainer}}}},[`&${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0`}},[`${p}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:d.colorBgContainer}}}}}}},a=d=>{const{componentCls:p,itemHoverColor:g,dropdownEdgeChildVerticalPadding:m}=d;return{[`${p}-dropdown`]:Object.assign(Object.assign({},(0,n.resetComponent)(d)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:d.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${p}-dropdown-menu`]:{maxHeight:d.tabsDropdownHeight,margin:0,padding:`${(0,t.unit)(m)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:d.colorBgContainer,backgroundClip:"padding-box",borderRadius:d.borderRadiusLG,outline:"none",boxShadow:d.boxShadowSecondary,"&-item":Object.assign(Object.assign({},n.textEllipsis),{display:"flex",alignItems:"center",minWidth:d.tabsDropdownWidth,margin:0,padding:`${(0,t.unit)(d.paddingXXS)} ${(0,t.unit)(d.paddingSM)}`,color:d.colorText,fontWeight:"normal",fontSize:d.fontSize,lineHeight:d.lineHeight,cursor:"pointer",transition:`all ${d.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:d.marginSM},color:d.colorTextDescription,fontSize:d.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:g}},"&:hover":{background:d.controlItemBgHover},"&-disabled":{"&, &:hover":{color:d.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},l=d=>{const{componentCls:p,margin:g,colorBorderSecondary:m,horizontalMargin:v,verticalItemPadding:y,verticalItemMargin:b,calc:C}=d;return{[`${p}-top, ${p}-bottom`]:{flexDirection:"column",[`> ${p}-nav, > div > ${p}-nav`]:{margin:v,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${m}`,content:"''"},[`${p}-ink-bar`]:{height:d.lineWidthBold,"&-animated":{transition:`width ${d.motionDurationSlow}, left ${d.motionDurationSlow}, + `]:Object.assign({},o(m))}}},g=m=>{const{colorFillContent:v,colorFill:y}=m,b=v,C=y;return{color:b,colorGradientEnd:C,gradientFromColor:b,gradientToColor:C,titleHeight:m.controlHeight/2,blockRadius:m.borderRadiusSM,paragraphMarginTop:m.marginLG+m.marginXXS,paragraphLiHeight:m.controlHeight/2}};return Vg.prepareComponentToken=g,Vg.default=(0,t.genStyleHooks)("Skeleton",m=>{const{componentCls:v,calc:y}=m,b=(0,t.mergeToken)(m,{skeletonAvatarCls:`${v}-avatar`,skeletonTitleCls:`${v}-title`,skeletonParagraphCls:`${v}-paragraph`,skeletonButtonCls:`${v}-button`,skeletonInputCls:`${v}-input`,skeletonImageCls:`${v}-image`,imageSizeBase:y(m.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${m.gradientFromColor} 25%, ${m.gradientToColor} 37%, ${m.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[p(b)]},g,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Vg}var lCe;function jKt(){if(lCe)return D5;lCe=1;var e=ze;Object.defineProperty(D5,"__esModule",{value:!0}),D5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(RF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,shape:g="circle",size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls","className"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-avatar`,shape:g,size:m},S))))};return D5.default=u,D5}var z5={},sCe;function DKt(){if(sCe)return z5;sCe=1;var e=ze;Object.defineProperty(z5,"__esModule",{value:!0}),z5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(RF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,block:g=!1,size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p,[`${y}-block`]:g},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-button`,size:m},S))))};return z5.default=u,z5}var B5={},cCe;function LKt(){if(cCe)return B5;cCe=1;var e=ze;Object.defineProperty(B5,"__esModule",{value:!0}),B5.default=void 0;var t=e(Tt()),n=a(_),r=Lt(),i=e(jC());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const l="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",s=u=>{const{prefixCls:c,className:f,rootClassName:h,style:d,active:p}=u,{getPrefixCls:g}=n.useContext(r.ConfigContext),m=g("skeleton",c),[v,y,b]=(0,i.default)(m),C=(0,t.default)(m,`${m}-element`,{[`${m}-active`]:p},f,h,y,b);return v(n.createElement("div",{className:C},n.createElement("div",{className:(0,t.default)(`${m}-image`,f),style:d},n.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${m}-image-svg`},n.createElement("path",{d:l,className:`${m}-image-path`})))))};return B5.default=s,B5}var F5={},uCe;function zKt(){if(uCe)return F5;uCe=1;var e=ze;Object.defineProperty(F5,"__esModule",{value:!0}),F5.default=void 0;var t=e(Tt()),n=e(Qr()),r=s(_),i=Lt(),o=e(RF()),a=e(jC());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,className:h,rootClassName:d,active:p,block:g,size:m="default"}=c,{getPrefixCls:v}=r.useContext(i.ConfigContext),y=v("skeleton",f),[b,C,x]=(0,a.default)(y),S=(0,n.default)(c,["prefixCls"]),w=(0,t.default)(y,`${y}-element`,{[`${y}-active`]:p,[`${y}-block`]:g},h,d,C,x);return b(r.createElement("div",{className:w},r.createElement(o.default,Object.assign({prefixCls:`${y}-input`,size:m},S))))};return F5.default=u,F5}var H5={},BR={exports:{}},fG={},FR={},dCe;function BKt(){if(dCe)return FR;dCe=1,Object.defineProperty(FR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};return FR.default=e,FR}var fCe;function FKt(){return fCe||(fCe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(BKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:c,className:f,rootClassName:h,style:d,active:p,children:g}=u,{getPrefixCls:m}=r.useContext(i.ConfigContext),v=m("skeleton",c),[y,b,C]=(0,o.default)(v),x=(0,n.default)(v,`${v}-element`,{[`${v}-active`]:p},b,f,h,C),S=g??r.createElement(t.default,null);return y(r.createElement("div",{className:x},r.createElement("div",{className:(0,n.default)(`${v}-image`,f),style:d},S)))};return H5.default=s,H5}var W5={},gCe;function qKt(){if(gCe)return W5;gCe=1;var e=ze;Object.defineProperty(W5,"__esModule",{value:!0}),W5.default=void 0;var t=e(qr()),n=e(Tt()),r=o(_);function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const s=p=>{const{width:g,rows:m=2}=l;if(Array.isArray(g))return g[p];if(m-1===p)return g},{prefixCls:u,className:c,style:f,rows:h}=l,d=(0,t.default)(Array(h)).map((p,g)=>r.createElement("li",{key:g,style:{width:s(g)}}));return r.createElement("ul",{className:(0,n.default)(u,c),style:f},d)};return W5.default=a,W5}var q5={},mCe;function VKt(){if(mCe)return q5;mCe=1;var e=ze;Object.defineProperty(q5,"__esModule",{value:!0}),q5.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{let{prefixCls:l,className:s,width:u,style:c}=a;return n.createElement("h3",{className:(0,t.default)(l,s),style:Object.assign({width:u},c)})};return q5.default=o,q5}var vCe;function UKt(){if(vCe)return j5;vCe=1;var e=ze;Object.defineProperty(j5,"__esModule",{value:!0}),j5.default=void 0;var t=e(Tt()),n=p(_),r=Lt(),i=e(jKt()),o=e(DKt()),a=e(RF()),l=e(LKt()),s=e(zKt()),u=e(WKt()),c=e(qKt()),f=e(VKt()),h=e(jC());function d(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(d=function(w){return w?S:x})(C)}function p(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=d(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}function g(C){return C&&typeof C=="object"?C:{}}function m(C,x){return C&&!x?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function v(C,x){return!C&&x?{width:"38%"}:C&&x?{width:"50%"}:{}}function y(C,x){const S={};return(!C||!x)&&(S.width="61%"),!C&&x?S.rows=3:S.rows=2,S}const b=C=>{const{prefixCls:x,loading:S,className:w,rootClassName:O,style:$,children:P,avatar:T=!1,title:R=!0,paragraph:M=!0,active:A,round:N}=C,{getPrefixCls:j,direction:D,skeleton:L}=n.useContext(r.ConfigContext),B=j("skeleton",x),[k,z,q]=(0,h.default)(B);if(S||!("loading"in C)){const W=!!T,U=!!R,K=!!M;let X;if(W){const J=Object.assign(Object.assign({prefixCls:`${B}-avatar`},m(U,K)),g(T));X=n.createElement("div",{className:`${B}-header`},n.createElement(a.default,Object.assign({},J)))}let G;if(U||K){let J;if(U){const Q=Object.assign(Object.assign({prefixCls:`${B}-title`},v(W,K)),g(R));J=n.createElement(f.default,Object.assign({},Q))}let ee;if(K){const Q=Object.assign(Object.assign({prefixCls:`${B}-paragraph`},y(W,U)),g(M));ee=n.createElement(c.default,Object.assign({},Q))}G=n.createElement("div",{className:`${B}-content`},J,ee)}const Y=(0,t.default)(B,{[`${B}-with-avatar`]:W,[`${B}-active`]:A,[`${B}-rtl`]:D==="rtl",[`${B}-round`]:N},L==null?void 0:L.className,w,O,z,q);return k(n.createElement("div",{className:Y,style:Object.assign(Object.assign({},L==null?void 0:L.style),$)},X,G))}return typeof P<"u"?P:null};return b.Button=o.default,b.Avatar=i.default,b.Input=s.default,b.Image=l.default,b.Node=u.default,j5.default=b,j5}var yCe;function dae(){if(yCe)return k5;yCe=1;var e=ze;Object.defineProperty(k5,"__esModule",{value:!0}),k5.default=void 0;var t=e(UKt());return k5.default=t.default,k5}var V5={},HR={exports:{}},pG={},WR={},bCe;function GKt(){if(bCe)return WR;bCe=1,Object.defineProperty(WR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};return WR.default=e,WR}var CCe;function KKt(){return CCe||(CCe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(GKt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},o;return i===!1?o={inkBar:!1,tabPane:!1}:i===!0?o={inkBar:!0,tabPane:!0}:o=Object.assign({inkBar:!0},typeof i=="object"?i:{}),o.tabPane&&(o.tabPaneMotion=Object.assign(Object.assign({},t),{motionName:(0,e.getTransitionName)(r,"switch")})),o}return qR}var VR={},_Ce;function QKt(){if(_Ce)return VR;_Ce=1;var e=ze;Object.defineProperty(VR,"__esModule",{value:!0}),VR.default=l;var t=i(_),n=e(fl());_n();function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var o=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);hu)}function l(s,u){if(s)return s;const c=(0,n.default)(u).map(f=>{if(t.isValidElement(f)){const{key:h,props:d}=f,p=d||{},{tab:g}=p,m=o(p,["tab"]);return Object.assign(Object.assign({key:String(h)},m),{label:g})}return null});return a(c)}return VR}var Ug={},U5={},wCe;function JKt(){if(wCe)return U5;wCe=1,Object.defineProperty(U5,"__esModule",{value:!0}),U5.default=void 0;var e=Bs();const t=n=>{const{componentCls:r,motionDurationSlow:i}=n;return[{[r]:{[`${r}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${i}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${i}`}}}}},[(0,e.initSlideMotion)(n,"slide-up"),(0,e.initSlideMotion)(n,"slide-down")]]};return U5.default=t,U5}var OCe;function eXt(){if(OCe)return Ug;OCe=1;var e=ze;Object.defineProperty(Ug,"__esModule",{value:!0}),Ug.prepareComponentToken=Ug.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(JKt());const o=d=>{const{componentCls:p,tabsCardPadding:g,cardBg:m,cardGutter:v,colorBorderSecondary:y,itemSelectedColor:b}=d;return{[`${p}-card`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{margin:0,padding:g,background:m,border:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${y}`,transition:`all ${d.motionDurationSlow} ${d.motionEaseInOut}`},[`${p}-tab-active`]:{color:b,background:d.colorBgContainer},[`${p}-ink-bar`]:{visibility:"hidden"}},[`&${p}-top, &${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,t.unit)(v)}}}},[`&${p}-top`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:`${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0 0`},[`${p}-tab-active`]:{borderBottomColor:d.colorBgContainer}}},[`&${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:`0 0 ${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)}`},[`${p}-tab-active`]:{borderTopColor:d.colorBgContainer}}},[`&${p}-left, &${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginTop:(0,t.unit)(v)}}},[`&${p}-left`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,t.unit)(d.borderRadiusLG)} 0 0 ${(0,t.unit)(d.borderRadiusLG)}`}},[`${p}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:d.colorBgContainer}}}},[`&${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0`}},[`${p}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:d.colorBgContainer}}}}}}},a=d=>{const{componentCls:p,itemHoverColor:g,dropdownEdgeChildVerticalPadding:m}=d;return{[`${p}-dropdown`]:Object.assign(Object.assign({},(0,n.resetComponent)(d)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:d.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${p}-dropdown-menu`]:{maxHeight:d.tabsDropdownHeight,margin:0,padding:`${(0,t.unit)(m)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:d.colorBgContainer,backgroundClip:"padding-box",borderRadius:d.borderRadiusLG,outline:"none",boxShadow:d.boxShadowSecondary,"&-item":Object.assign(Object.assign({},n.textEllipsis),{display:"flex",alignItems:"center",minWidth:d.tabsDropdownWidth,margin:0,padding:`${(0,t.unit)(d.paddingXXS)} ${(0,t.unit)(d.paddingSM)}`,color:d.colorText,fontWeight:"normal",fontSize:d.fontSize,lineHeight:d.lineHeight,cursor:"pointer",transition:`all ${d.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:d.marginSM},color:d.colorTextDescription,fontSize:d.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:g}},"&:hover":{background:d.controlItemBgHover},"&-disabled":{"&, &:hover":{color:d.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},l=d=>{const{componentCls:p,margin:g,colorBorderSecondary:m,horizontalMargin:v,verticalItemPadding:y,verticalItemMargin:b,calc:C}=d;return{[`${p}-top, ${p}-bottom`]:{flexDirection:"column",[`> ${p}-nav, > div > ${p}-nav`]:{margin:v,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${m}`,content:"''"},[`${p}-ink-bar`]:{height:d.lineWidthBold,"&-animated":{transition:`width ${d.motionDurationSlow}, left ${d.motionDurationSlow}, right ${d.motionDurationSlow}`}},[`${p}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:d.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:d.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:d.boxShadowTabsOverflowRight},[`&${p}-nav-wrap-ping-left::before`]:{opacity:1},[`&${p}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${p}-top`]:{[`> ${p}-nav, - > div > ${p}-nav`]:{"&::before":{bottom:0},[`${p}-ink-bar`]:{bottom:0}}},[`${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{order:1,marginTop:g,marginBottom:0,"&::before":{top:0},[`${p}-ink-bar`]:{top:0}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{order:0}},[`${p}-left, ${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{flexDirection:"column",minWidth:C(d.controlHeight).mul(1.25).equal(),[`${p}-tab`]:{padding:y,textAlign:"center"},[`${p}-tab + ${p}-tab`]:{margin:b},[`${p}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:d.controlHeight},"&::before":{top:0,boxShadow:d.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:d.boxShadowTabsOverflowBottom},[`&${p}-nav-wrap-ping-top::before`]:{opacity:1},[`&${p}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${p}-ink-bar`]:{width:d.lineWidthBold,"&-animated":{transition:`height ${d.motionDurationSlow}, top ${d.motionDurationSlow}`}},[`${p}-nav-list, ${p}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${p}-left`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,t.unit)(C(d.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${d.colorBorder}`},[`> ${p}-content > ${p}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:d.paddingLG}}}},[`${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{order:1,[`${p}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:C(d.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${d.colorBorder}`},[`> ${p}-content > ${p}-tabpane`]:{paddingRight:{_skip_check_:!0,value:d.paddingLG}}}}}},s=d=>{const{componentCls:p,cardPaddingSM:g,cardPaddingLG:m,horizontalItemPaddingSM:v,horizontalItemPaddingLG:y}=d;return{[p]:{"&-small":{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:v,fontSize:d.titleFontSizeSM}}},"&-large":{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:y,fontSize:d.titleFontSizeLG}}}},[`${p}-card`]:{[`&${p}-small`]:{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:g}},[`&${p}-bottom`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:`0 0 ${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)}`}},[`&${p}-top`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:`${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)} 0 0`}},[`&${p}-right`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)} 0`}}},[`&${p}-left`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,t.unit)(d.borderRadius)} 0 0 ${(0,t.unit)(d.borderRadius)}`}}}},[`&${p}-large`]:{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:m}}}}}},u=d=>{const{componentCls:p,itemActiveColor:g,itemHoverColor:m,iconCls:v,tabsHorizontalItemMargin:y,horizontalItemPadding:b,itemSelectedColor:C,itemColor:x}=d,S=`${p}-tab`;return{[S]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:b,fontSize:d.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:x,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:g}},(0,n.genFocusStyle)(d)),"&-btn":{outline:"none",transition:"all 0.3s",[`${S}-icon:not(:last-child)`]:{marginInlineEnd:d.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:d.calc(d.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:d.marginXS},color:d.colorTextDescription,fontSize:d.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${d.motionDurationSlow}`,"&:hover":{color:d.colorTextHeading}},"&:hover":{color:m},[`&${S}-active ${S}-btn`]:{color:C,textShadow:d.tabsActiveTextShadow},[`&${S}-disabled`]:{color:d.colorTextDisabled,cursor:"not-allowed"},[`&${S}-disabled ${S}-btn, &${S}-disabled ${p}-remove`]:{"&:focus, &:active":{color:d.colorTextDisabled}},[`& ${S}-remove ${v}`]:{margin:0},[`${v}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:d.marginSM}}},[`${S} + ${S}`]:{margin:{_skip_check_:!0,value:y}}}},c=d=>{const{componentCls:p,tabsHorizontalItemMarginRTL:g,iconCls:m,cardGutter:v,calc:y}=d;return{[`${p}-rtl`]:{direction:"rtl",[`${p}-nav`]:{[`${p}-tab`]:{margin:{_skip_check_:!0,value:g},[`${p}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[m]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,t.unit)(d.marginSM)}},[`${p}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,t.unit)(d.marginXS)},marginLeft:{_skip_check_:!0,value:(0,t.unit)(y(d.marginXXS).mul(-1).equal())},[m]:{margin:0}}}},[`&${p}-left`]:{[`> ${p}-nav`]:{order:1},[`> ${p}-content-holder`]:{order:0}},[`&${p}-right`]:{[`> ${p}-nav`]:{order:0},[`> ${p}-content-holder`]:{order:1}},[`&${p}-card${p}-top, &${p}-card${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginRight:{_skip_check_:!0,value:v},marginLeft:{_skip_check_:!0,value:0}}}}},[`${p}-dropdown-rtl`]:{direction:"rtl"},[`${p}-menu-item`]:{[`${p}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},f=d=>{const{componentCls:p,tabsCardPadding:g,cardHeight:m,cardGutter:v,itemHoverColor:y,itemActiveColor:b,colorBorderSecondary:C}=d;return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(d)),{display:"flex",[`> ${p}-nav, > div > ${p}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${p}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${d.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${p}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${d.motionDurationSlow}`},[`${p}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${p}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${p}-nav-more`]:{position:"relative",padding:g,background:"transparent",border:0,color:d.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:d.calc(d.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${p}-nav-add`]:Object.assign({minWidth:m,minHeight:m,marginLeft:{_skip_check_:!0,value:v},padding:`0 ${(0,t.unit)(d.paddingXS)}`,background:"transparent",border:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${C}`,borderRadius:`${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:d.colorText,transition:`all ${d.motionDurationSlow} ${d.motionEaseInOut}`,"&:hover":{color:y},"&:active, &:focus:not(:focus-visible)":{color:b}},(0,n.genFocusStyle)(d))},[`${p}-extra-content`]:{flex:"none"},[`${p}-ink-bar`]:{position:"absolute",background:d.inkBarColor,pointerEvents:"none"}}),u(d)),{[`${p}-content`]:{position:"relative",width:"100%"},[`${p}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${p}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${p}-centered`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-nav-wrap`]:{[`&:not([class*='${p}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},h=d=>{const p=d.controlHeightLG;return{zIndexPopup:d.zIndexPopupBase+50,cardBg:d.colorFillAlter,cardHeight:p,cardPadding:`${(p-Math.round(d.fontSize*d.lineHeight))/2-d.lineWidth}px ${d.padding}px`,cardPaddingSM:`${d.paddingXXS*1.5}px ${d.padding}px`,cardPaddingLG:`${d.paddingXS}px ${d.padding}px ${d.paddingXXS*1.5}px`,titleFontSize:d.fontSize,titleFontSizeLG:d.fontSizeLG,titleFontSizeSM:d.fontSize,inkBarColor:d.colorPrimary,horizontalMargin:`0 0 ${d.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${d.paddingSM}px 0`,horizontalItemPaddingSM:`${d.paddingXS}px 0`,horizontalItemPaddingLG:`${d.padding}px 0`,verticalItemPadding:`${d.paddingXS}px ${d.paddingLG}px`,verticalItemMargin:`${d.margin}px 0 0 0`,itemColor:d.colorText,itemSelectedColor:d.colorPrimary,itemHoverColor:d.colorPrimaryHover,itemActiveColor:d.colorPrimaryActive,cardGutter:d.marginXXS/2}};return Ug.prepareComponentToken=h,Ug.default=(0,r.genStyleHooks)("Tabs",d=>{const p=(0,r.mergeToken)(d,{tabsCardPadding:d.cardPadding,dropdownEdgeChildVerticalPadding:d.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,t.unit)(d.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,t.unit)(d.horizontalItemGutter)}`});return[s(p),c(p),l(p),a(p),o(p),f(p),(0,i.default)(p)]},h),Ug}var U5={},OCe;function nXt(){if(OCe)return U5;OCe=1,Object.defineProperty(U5,"__esModule",{value:!0}),U5.default=void 0;const e=()=>null;return U5.default=e,U5}var ECe;function dVe(){if(ECe)return q5;ECe=1;var e=ze;Object.defineProperty(q5,"__esModule",{value:!0}),q5.default=void 0;var t=g(_),n=e(zs()),r=e(eae()),i=e(YKt()),o=e(Tt()),a=e(ZKt);_n();var l=Lt(),s=e(zr()),u=e(no()),c=e(QKt()),f=e(JKt()),h=e(tXt()),d=e(nXt());function p(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(p=function(x){return x?C:b})(y)}function g(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=p(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var m=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{var b,C,x,S,w,O,$;const{type:P,className:T,rootClassName:R,size:M,onEdit:A,hideAdd:N,centered:k,addIcon:D,moreIcon:L,popupClassName:B,children:j,items:z,animated:V,style:W,indicatorSize:U,indicator:K}=y,X=m(y,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:G}=X,{direction:Y,tabs:J,getPrefixCls:ee,getPopupContainer:Q}=t.useContext(l.ConfigContext),te=ee("tabs",G),ne=(0,s.default)(te),[re,oe,se]=(0,h.default)(te,ne);let ye;P==="editable-card"&&(ye={onEdit:(Oe,Pe)=>{let{key:_e,event:ce}=Pe;A==null||A(Oe==="add"?ce:_e,Oe)},removeIcon:t.createElement(n.default,null),addIcon:(D??(J==null?void 0:J.addIcon))||t.createElement(i.default,null),showAdd:N!==!0});const be=ee(),he=(0,u.default)(M),le=(0,f.default)(z,j),ve=(0,c.default)(te,V),ke=Object.assign(Object.assign({},J==null?void 0:J.style),W),Ie={align:(b=K==null?void 0:K.align)!==null&&b!==void 0?b:(C=J==null?void 0:J.indicator)===null||C===void 0?void 0:C.align,size:(O=(S=(x=K==null?void 0:K.size)!==null&&x!==void 0?x:U)!==null&&S!==void 0?S:(w=J==null?void 0:J.indicator)===null||w===void 0?void 0:w.size)!==null&&O!==void 0?O:J==null?void 0:J.indicatorSize};return re(t.createElement(a.default,Object.assign({direction:Y,getPopupContainer:Q,moreTransitionName:`${be}-slide-up`},X,{items:le,className:(0,o.default)({[`${te}-${he}`]:he,[`${te}-card`]:["card","editable-card"].includes(P),[`${te}-editable-card`]:P==="editable-card",[`${te}-centered`]:k},J==null?void 0:J.className,T,R,oe,se,ne),popupClassName:(0,o.default)(B,oe,se,ne),style:ke,editable:ye,moreIcon:($=L??(J==null?void 0:J.moreIcon))!==null&&$!==void 0?$:t.createElement(r.default,null),prefixCls:te,animated:ve,indicator:Ie})))};return v.TabPane=d.default,q5.default=v,q5}var G5={},$Ce;function fVe(){if($Ce)return G5;$Ce=1;var e=ze;Object.defineProperty(G5,"__esModule",{value:!0}),G5.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{prefixCls:u,className:c,hoverable:f=!0}=s,h=a(s,["prefixCls","className","hoverable"]);const{getPrefixCls:d}=n.useContext(r.ConfigContext),p=d("card",u),g=(0,t.default)(`${p}-grid`,c,{[`${p}-grid-hoverable`]:f});return n.createElement("div",Object.assign({},h,{className:g}))};return G5.default=l,G5}var Gg={},PCe;function rXt(){if(PCe)return Gg;PCe=1,Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.prepareComponentToken=Gg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=h=>{const{antCls:d,componentCls:p,headerHeight:g,cardPaddingBase:m,tabsMarginBottom:v}=h;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:g,marginBottom:-1,padding:`0 ${(0,e.unit)(m)}`,color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.headerFontSize,background:h.headerBg,borderBottom:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${h.colorBorderSecondary}`,borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0`},(0,t.clearFix)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},t.textEllipsis),{[` + > div > ${p}-nav`]:{"&::before":{bottom:0},[`${p}-ink-bar`]:{bottom:0}}},[`${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{order:1,marginTop:g,marginBottom:0,"&::before":{top:0},[`${p}-ink-bar`]:{top:0}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{order:0}},[`${p}-left, ${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{flexDirection:"column",minWidth:C(d.controlHeight).mul(1.25).equal(),[`${p}-tab`]:{padding:y,textAlign:"center"},[`${p}-tab + ${p}-tab`]:{margin:b},[`${p}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:d.controlHeight},"&::before":{top:0,boxShadow:d.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:d.boxShadowTabsOverflowBottom},[`&${p}-nav-wrap-ping-top::before`]:{opacity:1},[`&${p}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${p}-ink-bar`]:{width:d.lineWidthBold,"&-animated":{transition:`height ${d.motionDurationSlow}, top ${d.motionDurationSlow}`}},[`${p}-nav-list, ${p}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${p}-left`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,t.unit)(C(d.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${d.colorBorder}`},[`> ${p}-content > ${p}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:d.paddingLG}}}},[`${p}-right`]:{[`> ${p}-nav, > div > ${p}-nav`]:{order:1,[`${p}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${p}-content-holder, > div > ${p}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:C(d.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${d.colorBorder}`},[`> ${p}-content > ${p}-tabpane`]:{paddingRight:{_skip_check_:!0,value:d.paddingLG}}}}}},s=d=>{const{componentCls:p,cardPaddingSM:g,cardPaddingLG:m,horizontalItemPaddingSM:v,horizontalItemPaddingLG:y}=d;return{[p]:{"&-small":{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:v,fontSize:d.titleFontSizeSM}}},"&-large":{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:y,fontSize:d.titleFontSizeLG}}}},[`${p}-card`]:{[`&${p}-small`]:{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:g}},[`&${p}-bottom`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:`0 0 ${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)}`}},[`&${p}-top`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:`${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)} 0 0`}},[`&${p}-right`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,t.unit)(d.borderRadius)} ${(0,t.unit)(d.borderRadius)} 0`}}},[`&${p}-left`]:{[`> ${p}-nav ${p}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,t.unit)(d.borderRadius)} 0 0 ${(0,t.unit)(d.borderRadius)}`}}}},[`&${p}-large`]:{[`> ${p}-nav`]:{[`${p}-tab`]:{padding:m}}}}}},u=d=>{const{componentCls:p,itemActiveColor:g,itemHoverColor:m,iconCls:v,tabsHorizontalItemMargin:y,horizontalItemPadding:b,itemSelectedColor:C,itemColor:x}=d,S=`${p}-tab`;return{[S]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:b,fontSize:d.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:x,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:g}},(0,n.genFocusStyle)(d)),"&-btn":{outline:"none",transition:"all 0.3s",[`${S}-icon:not(:last-child)`]:{marginInlineEnd:d.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:d.calc(d.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:d.marginXS},color:d.colorTextDescription,fontSize:d.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${d.motionDurationSlow}`,"&:hover":{color:d.colorTextHeading}},"&:hover":{color:m},[`&${S}-active ${S}-btn`]:{color:C,textShadow:d.tabsActiveTextShadow},[`&${S}-disabled`]:{color:d.colorTextDisabled,cursor:"not-allowed"},[`&${S}-disabled ${S}-btn, &${S}-disabled ${p}-remove`]:{"&:focus, &:active":{color:d.colorTextDisabled}},[`& ${S}-remove ${v}`]:{margin:0},[`${v}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:d.marginSM}}},[`${S} + ${S}`]:{margin:{_skip_check_:!0,value:y}}}},c=d=>{const{componentCls:p,tabsHorizontalItemMarginRTL:g,iconCls:m,cardGutter:v,calc:y}=d;return{[`${p}-rtl`]:{direction:"rtl",[`${p}-nav`]:{[`${p}-tab`]:{margin:{_skip_check_:!0,value:g},[`${p}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[m]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,t.unit)(d.marginSM)}},[`${p}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,t.unit)(d.marginXS)},marginLeft:{_skip_check_:!0,value:(0,t.unit)(y(d.marginXXS).mul(-1).equal())},[m]:{margin:0}}}},[`&${p}-left`]:{[`> ${p}-nav`]:{order:1},[`> ${p}-content-holder`]:{order:0}},[`&${p}-right`]:{[`> ${p}-nav`]:{order:0},[`> ${p}-content-holder`]:{order:1}},[`&${p}-card${p}-top, &${p}-card${p}-bottom`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-tab + ${p}-tab`]:{marginRight:{_skip_check_:!0,value:v},marginLeft:{_skip_check_:!0,value:0}}}}},[`${p}-dropdown-rtl`]:{direction:"rtl"},[`${p}-menu-item`]:{[`${p}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},f=d=>{const{componentCls:p,tabsCardPadding:g,cardHeight:m,cardGutter:v,itemHoverColor:y,itemActiveColor:b,colorBorderSecondary:C}=d;return{[p]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(d)),{display:"flex",[`> ${p}-nav, > div > ${p}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${p}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${d.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${p}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${d.motionDurationSlow}`},[`${p}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${p}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${p}-nav-more`]:{position:"relative",padding:g,background:"transparent",border:0,color:d.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:d.calc(d.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${p}-nav-add`]:Object.assign({minWidth:m,minHeight:m,marginLeft:{_skip_check_:!0,value:v},padding:`0 ${(0,t.unit)(d.paddingXS)}`,background:"transparent",border:`${(0,t.unit)(d.lineWidth)} ${d.lineType} ${C}`,borderRadius:`${(0,t.unit)(d.borderRadiusLG)} ${(0,t.unit)(d.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:d.colorText,transition:`all ${d.motionDurationSlow} ${d.motionEaseInOut}`,"&:hover":{color:y},"&:active, &:focus:not(:focus-visible)":{color:b}},(0,n.genFocusStyle)(d))},[`${p}-extra-content`]:{flex:"none"},[`${p}-ink-bar`]:{position:"absolute",background:d.inkBarColor,pointerEvents:"none"}}),u(d)),{[`${p}-content`]:{position:"relative",width:"100%"},[`${p}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${p}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${p}-centered`]:{[`> ${p}-nav, > div > ${p}-nav`]:{[`${p}-nav-wrap`]:{[`&:not([class*='${p}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},h=d=>{const p=d.controlHeightLG;return{zIndexPopup:d.zIndexPopupBase+50,cardBg:d.colorFillAlter,cardHeight:p,cardPadding:`${(p-Math.round(d.fontSize*d.lineHeight))/2-d.lineWidth}px ${d.padding}px`,cardPaddingSM:`${d.paddingXXS*1.5}px ${d.padding}px`,cardPaddingLG:`${d.paddingXS}px ${d.padding}px ${d.paddingXXS*1.5}px`,titleFontSize:d.fontSize,titleFontSizeLG:d.fontSizeLG,titleFontSizeSM:d.fontSize,inkBarColor:d.colorPrimary,horizontalMargin:`0 0 ${d.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${d.paddingSM}px 0`,horizontalItemPaddingSM:`${d.paddingXS}px 0`,horizontalItemPaddingLG:`${d.padding}px 0`,verticalItemPadding:`${d.paddingXS}px ${d.paddingLG}px`,verticalItemMargin:`${d.margin}px 0 0 0`,itemColor:d.colorText,itemSelectedColor:d.colorPrimary,itemHoverColor:d.colorPrimaryHover,itemActiveColor:d.colorPrimaryActive,cardGutter:d.marginXXS/2}};return Ug.prepareComponentToken=h,Ug.default=(0,r.genStyleHooks)("Tabs",d=>{const p=(0,r.mergeToken)(d,{tabsCardPadding:d.cardPadding,dropdownEdgeChildVerticalPadding:d.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,t.unit)(d.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,t.unit)(d.horizontalItemGutter)}`});return[s(p),c(p),l(p),a(p),o(p),f(p),(0,i.default)(p)]},h),Ug}var G5={},ECe;function tXt(){if(ECe)return G5;ECe=1,Object.defineProperty(G5,"__esModule",{value:!0}),G5.default=void 0;const e=()=>null;return G5.default=e,G5}var $Ce;function dVe(){if($Ce)return V5;$Ce=1;var e=ze;Object.defineProperty(V5,"__esModule",{value:!0}),V5.default=void 0;var t=g(_),n=e(zs()),r=e(tae()),i=e(XKt()),o=e(Tt()),a=e(YKt);_n();var l=Lt(),s=e(zr()),u=e(no()),c=e(ZKt()),f=e(QKt()),h=e(eXt()),d=e(tXt());function p(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(p=function(x){return x?C:b})(y)}function g(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=p(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var m=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{var b,C,x,S,w,O,$;const{type:P,className:T,rootClassName:R,size:M,onEdit:A,hideAdd:N,centered:j,addIcon:D,moreIcon:L,popupClassName:B,children:k,items:z,animated:q,style:W,indicatorSize:U,indicator:K}=y,X=m(y,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:G}=X,{direction:Y,tabs:J,getPrefixCls:ee,getPopupContainer:Q}=t.useContext(l.ConfigContext),te=ee("tabs",G),ne=(0,s.default)(te),[re,oe,se]=(0,h.default)(te,ne);let ye;P==="editable-card"&&(ye={onEdit:(Oe,Pe)=>{let{key:_e,event:ce}=Pe;A==null||A(Oe==="add"?ce:_e,Oe)},removeIcon:t.createElement(n.default,null),addIcon:(D??(J==null?void 0:J.addIcon))||t.createElement(i.default,null),showAdd:N!==!0});const be=ee(),he=(0,u.default)(M),le=(0,f.default)(z,k),ve=(0,c.default)(te,q),ke=Object.assign(Object.assign({},J==null?void 0:J.style),W),Ie={align:(b=K==null?void 0:K.align)!==null&&b!==void 0?b:(C=J==null?void 0:J.indicator)===null||C===void 0?void 0:C.align,size:(O=(S=(x=K==null?void 0:K.size)!==null&&x!==void 0?x:U)!==null&&S!==void 0?S:(w=J==null?void 0:J.indicator)===null||w===void 0?void 0:w.size)!==null&&O!==void 0?O:J==null?void 0:J.indicatorSize};return re(t.createElement(a.default,Object.assign({direction:Y,getPopupContainer:Q,moreTransitionName:`${be}-slide-up`},X,{items:le,className:(0,o.default)({[`${te}-${he}`]:he,[`${te}-card`]:["card","editable-card"].includes(P),[`${te}-editable-card`]:P==="editable-card",[`${te}-centered`]:j},J==null?void 0:J.className,T,R,oe,se,ne),popupClassName:(0,o.default)(B,oe,se,ne),style:ke,editable:ye,moreIcon:($=L??(J==null?void 0:J.moreIcon))!==null&&$!==void 0?$:t.createElement(r.default,null),prefixCls:te,animated:ve,indicator:Ie})))};return v.TabPane=d.default,V5.default=v,V5}var K5={},PCe;function fVe(){if(PCe)return K5;PCe=1;var e=ze;Object.defineProperty(K5,"__esModule",{value:!0}),K5.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{prefixCls:u,className:c,hoverable:f=!0}=s,h=a(s,["prefixCls","className","hoverable"]);const{getPrefixCls:d}=n.useContext(r.ConfigContext),p=d("card",u),g=(0,t.default)(`${p}-grid`,c,{[`${p}-grid-hoverable`]:f});return n.createElement("div",Object.assign({},h,{className:g}))};return K5.default=l,K5}var Gg={},TCe;function nXt(){if(TCe)return Gg;TCe=1,Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.prepareComponentToken=Gg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=h=>{const{antCls:d,componentCls:p,headerHeight:g,cardPaddingBase:m,tabsMarginBottom:v}=h;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:g,marginBottom:-1,padding:`0 ${(0,e.unit)(m)}`,color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.headerFontSize,background:h.headerBg,borderBottom:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${h.colorBorderSecondary}`,borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0`},(0,t.clearFix)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},t.textEllipsis),{[` > ${p}-typography, > ${p}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${d}-tabs-top`]:{clear:"both",marginBottom:v,color:h.colorText,fontWeight:"normal",fontSize:h.fontSize,"&-bar":{borderBottom:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${h.colorBorderSecondary}`}}})},i=h=>{const{cardPaddingBase:d,colorBorderSecondary:p,cardShadow:g,lineWidth:m}=h;return{width:"33.33%",padding:d,border:0,borderRadius:0,boxShadow:` @@ -778,21 +778,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${(0,e.unit)(m)} ${(0,e.unit)(m)} 0 0 ${p}, ${(0,e.unit)(m)} 0 0 0 ${p} inset, 0 ${(0,e.unit)(m)} 0 0 ${p} inset; - `,transition:`all ${h.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:g}}},o=h=>{const{componentCls:d,iconCls:p,actionsLiMargin:g,cardActionsIconSize:m,colorBorderSecondary:v,actionsBg:y}=h;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:y,borderTop:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`,display:"flex",borderRadius:`0 0 ${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)}`},(0,t.clearFix)()),{"& > li":{margin:g,color:h.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:h.calc(h.cardActionsIconSize).mul(2).equal(),fontSize:h.fontSize,lineHeight:h.lineHeight,cursor:"pointer","&:hover":{color:h.colorPrimary,transition:`color ${h.motionDurationMid}`},[`a:not(${d}-btn), > ${p}`]:{display:"inline-block",width:"100%",color:h.colorTextDescription,lineHeight:(0,e.unit)(h.fontHeight),transition:`color ${h.motionDurationMid}`,"&:hover":{color:h.colorPrimary}},[`> ${p}`]:{fontSize:m,lineHeight:(0,e.unit)(h.calc(m).mul(h.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`}}})},a=h=>Object.assign(Object.assign({margin:`${(0,e.unit)(h.calc(h.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,t.clearFix)()),{"&-avatar":{paddingInlineEnd:h.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:h.marginXS}},"&-title":Object.assign({color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.fontSizeLG},t.textEllipsis),"&-description":{color:h.colorTextDescription}}),l=h=>{const{componentCls:d,cardPaddingBase:p,colorFillAlter:g}=h;return{[`${d}-head`]:{padding:`0 ${(0,e.unit)(p)}`,background:g,"&-title":{fontSize:h.fontSize}},[`${d}-body`]:{padding:`${(0,e.unit)(h.padding)} ${(0,e.unit)(p)}`}}},s=h=>{const{componentCls:d}=h;return{overflow:"hidden",[`${d}-body`]:{userSelect:"none"}}},u=h=>{const{antCls:d,componentCls:p,cardShadow:g,cardHeadPadding:m,colorBorderSecondary:v,boxShadowTertiary:y,cardPaddingBase:b,extraColor:C}=h;return{[p]:Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"relative",background:h.colorBgContainer,borderRadius:h.borderRadiusLG,[`&:not(${p}-bordered)`]:{boxShadow:y},[`${p}-head`]:r(h),[`${p}-extra`]:{marginInlineStart:"auto",color:C,fontWeight:"normal",fontSize:h.fontSize},[`${p}-body`]:Object.assign({padding:b,borderRadius:` 0 0 ${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)}`},(0,t.clearFix)()),[`${p}-grid`]:i(h),[`${p}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${d}-image-mask`]:{borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0`}},[`${p}-actions`]:o(h),[`${p}-meta`]:a(h)}),[`${p}-bordered`]:{border:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`,[`${p}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${p}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${h.motionDurationMid}, border-color ${h.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:g}},[`${p}-contain-grid`]:{borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0 `,[`${p}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${p}-loading) ${p}-body`]:{marginBlockStart:h.calc(h.lineWidth).mul(-1).equal(),marginInlineStart:h.calc(h.lineWidth).mul(-1).equal(),padding:0}},[`${p}-contain-tabs`]:{[`> ${p}-head`]:{minHeight:0,[`${p}-head-title, ${p}-extra`]:{paddingTop:m}}},[`${p}-type-inner`]:l(h),[`${p}-loading`]:s(h),[`${p}-rtl`]:{direction:"rtl"}}},c=h=>{const{componentCls:d,cardPaddingSM:p,headerHeightSM:g,headerFontSizeSM:m}=h;return{[`${d}-small`]:{[`> ${d}-head`]:{minHeight:g,padding:`0 ${(0,e.unit)(p)}`,fontSize:m,[`> ${d}-head-wrapper`]:{[`> ${d}-extra`]:{fontSize:h.fontSize}}},[`> ${d}-body`]:{padding:p}},[`${d}-small${d}-contain-tabs`]:{[`> ${d}-head`]:{[`${d}-head-title, ${d}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},f=h=>({headerBg:"transparent",headerFontSize:h.fontSizeLG,headerFontSizeSM:h.fontSize,headerHeight:h.fontSizeLG*h.lineHeightLG+h.padding*2,headerHeightSM:h.fontSize*h.lineHeight+h.paddingXS*2,actionsBg:h.colorBgContainer,actionsLiMargin:`${h.paddingSM}px 0`,tabsMarginBottom:-h.padding-h.lineWidth,extraColor:h.colorText});return Gg.prepareComponentToken=f,Gg.default=(0,n.genStyleHooks)("Card",h=>{const d=(0,n.mergeToken)(h,{cardShadow:h.boxShadowCard,cardHeadPadding:h.padding,cardPaddingBase:h.paddingLG,cardActionsIconSize:h.fontSize,cardPaddingSM:12});return[u(d),c(d)]},f),Gg}var TCe;function iXt(){if(TCe)return N5;TCe=1;var e=ze;Object.defineProperty(N5,"__esModule",{value:!0}),N5.default=void 0;var t=f(_),n=e(Tt()),r=e(Qr());_n();var i=Lt(),o=e(no()),a=e(uae()),l=e(dVe()),s=e(fVe()),u=e(rXt());function c(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(c=function(y){return y?v:m})(g)}function f(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=c(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var h=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{actionClasses:m,actions:v=[],actionStyle:y}=g;return t.createElement("ul",{className:m,style:y},v.map((b,C)=>{const x=`action-${C}`;return t.createElement("li",{style:{width:`${100/v.length}%`},key:x},t.createElement("span",null,b))}))},p=t.forwardRef((g,m)=>{const{prefixCls:v,className:y,rootClassName:b,style:C,extra:x,headStyle:S={},bodyStyle:w={},title:O,loading:$,bordered:P=!0,size:T,type:R,cover:M,actions:A,tabList:N,children:k,activeTabKey:D,defaultActiveTabKey:L,tabBarExtraContent:B,hoverable:j,tabProps:z={},classNames:V,styles:W}=g,U=h(g,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:K,direction:X,card:G}=t.useContext(i.ConfigContext),Y=qe=>{var me;(me=g.onTabChange)===null||me===void 0||me.call(g,qe)},J=qe=>{var me;return(0,n.default)((me=G==null?void 0:G.classNames)===null||me===void 0?void 0:me[qe],V==null?void 0:V[qe])},ee=qe=>{var me;return Object.assign(Object.assign({},(me=G==null?void 0:G.styles)===null||me===void 0?void 0:me[qe]),W==null?void 0:W[qe])},Q=t.useMemo(()=>{let qe=!1;return t.Children.forEach(k,me=>{me&&me.type&&me.type===s.default&&(qe=!0)}),qe},[k]),te=K("card",v),[ne,re,oe]=(0,u.default)(te),se=t.createElement(a.default,{loading:!0,active:!0,paragraph:{rows:4},title:!1},k),ye=D!==void 0,be=Object.assign(Object.assign({},z),{[ye?"activeKey":"defaultActiveKey"]:ye?D:L,tabBarExtraContent:B});let he;const le=(0,o.default)(T),ve=!le||le==="default"?"large":le,ke=N?t.createElement(l.default,Object.assign({size:ve},be,{className:`${te}-head-tabs`,onChange:Y,items:N.map(qe=>{var{tab:me}=qe,Ee=h(qe,["tab"]);return Object.assign({label:me},Ee)})})):null;if(O||x||ke){const qe=(0,n.default)(`${te}-head`,J("header")),me=(0,n.default)(`${te}-head-title`,J("title")),Ee=(0,n.default)(`${te}-extra`,J("extra")),$e=Object.assign(Object.assign({},S),ee("header"));he=t.createElement("div",{className:qe,style:$e},t.createElement("div",{className:`${te}-head-wrapper`},O&&t.createElement("div",{className:me,style:ee("title")},O),x&&t.createElement("div",{className:Ee,style:ee("extra")},x)),ke)}const Ie=(0,n.default)(`${te}-cover`,J("cover")),Oe=M?t.createElement("div",{className:Ie,style:ee("cover")},M):null,Pe=(0,n.default)(`${te}-body`,J("body")),_e=Object.assign(Object.assign({},w),ee("body")),ce=t.createElement("div",{className:Pe,style:_e},$?se:k),Te=(0,n.default)(`${te}-actions`,J("actions")),Ne=A&&A.length?t.createElement(d,{actionClasses:Te,actionStyle:ee("actions"),actions:A}):null,je=(0,r.default)(U,["onTabChange"]),He=(0,n.default)(te,G==null?void 0:G.className,{[`${te}-loading`]:$,[`${te}-bordered`]:P,[`${te}-hoverable`]:j,[`${te}-contain-grid`]:Q,[`${te}-contain-tabs`]:N&&N.length,[`${te}-${le}`]:le,[`${te}-type-${R}`]:!!R,[`${te}-rtl`]:X==="rtl"},y,b,re,oe),Be=Object.assign(Object.assign({},G==null?void 0:G.style),C);return ne(t.createElement("div",Object.assign({ref:m},je,{className:He,style:Be}),he,Oe,ce,Ne))});return N5.default=p,N5}var K5={},MCe;function oXt(){if(MCe)return K5;MCe=1;var e=ze;Object.defineProperty(K5,"__esModule",{value:!0}),K5.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{prefixCls:u,className:c,avatar:f,title:h,description:d}=s,p=a(s,["prefixCls","className","avatar","title","description"]),{getPrefixCls:g}=n.useContext(r.ConfigContext),m=g("card",u),v=(0,t.default)(`${m}-meta`,c),y=f?n.createElement("div",{className:`${m}-meta-avatar`},f):null,b=h?n.createElement("div",{className:`${m}-meta-title`},h):null,C=d?n.createElement("div",{className:`${m}-meta-description`},d):null,x=b||C?n.createElement("div",{className:`${m}-meta-detail`},b,C):null;return n.createElement("div",Object.assign({},p,{className:v}),y,x)};return K5.default=l,K5}var RCe;function aXt(){if(RCe)return I5;RCe=1;var e=ze;Object.defineProperty(I5,"__esModule",{value:!0}),I5.default=void 0;var t=e(iXt()),n=e(fVe()),r=e(oXt());const i=t.default;return i.Grid=n.default,i.Meta=r.default,I5.default=i,I5}var X5={};const lXt=cr(D5t);var Kg={},ICe;function sXt(){if(ICe)return Kg;ICe=1,Object.defineProperty(Kg,"__esModule",{value:!0}),Kg.prepareComponentToken=Kg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=l=>{const{componentCls:s,antCls:u,carouselArrowSize:c,carouselDotOffset:f,marginXXS:h}=l,d=l.calc(c).mul(-1.25).equal(),p=h;return{[s]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${u}-radio-input, input${u}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${u}-radio-input, input${u}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:c,height:c,marginTop:l.calc(c).mul(-1).div(2).equal(),padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:d,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:d,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:f},"&-top":{top:f,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:l.dotWidth,height:l.dotHeight,marginInline:p,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${l.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:l.dotHeight,padding:0,color:"transparent",fontSize:0,background:l.colorBgContainer,border:0,borderRadius:l.dotHeight,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${l.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:l.calc(p).mul(-1).equal(),content:'""'}},"&.slick-active":{width:l.dotActiveWidth,"& button":{background:l.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},i=l=>{const{componentCls:s,carouselDotOffset:u,marginXXS:c}=l,f={width:l.dotHeight,height:l.dotWidth};return{[`${s}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:l.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:u},"&-right":{insetInlineEnd:u,insetInlineStart:"auto"},li:Object.assign(Object.assign({},f),{margin:`${(0,e.unit)(c)} 0`,verticalAlign:"baseline",button:f,"&.slick-active":Object.assign(Object.assign({},f),{button:f})})}}}},o=l=>{const{componentCls:s}=l;return[{[`${s}-rtl`]:{direction:"rtl",".slick-dots":{[`${s}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${s}-vertical`]:{".slick-dots":{[`${s}-rtl&`]:{flexDirection:"column"}}}}]},a=()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24});return Kg.prepareComponentToken=a,Kg.default=(0,n.genStyleHooks)("Carousel",l=>{const{controlHeightLG:s,controlHeightSM:u}=l,c=(0,n.mergeToken)(l,{carouselArrowSize:l.calc(s).div(2).equal(),carouselDotOffset:l.calc(u).div(2).equal()});return[r(c),i(c),o(c)]},a,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),Kg}var NCe;function cXt(){if(NCe)return X5;NCe=1;var e=ze;Object.defineProperty(X5,"__esModule",{value:!0}),X5.default=void 0;var t=l(_),n=e(lXt),r=e(Tt()),i=Lt(),o=e(sXt());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{dots:h=!0,arrows:d=!1,draggable:p=!1,waitForAnimate:g=!1,dotPosition:m="bottom",vertical:v=m==="left"||m==="right",rootClassName:y,className:b,style:C,id:x}=c,S=s(c,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:w,direction:O,carousel:$}=t.useContext(i.ConfigContext),P=t.useRef(),T=function(V){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;P.current.slickGoTo(V,W)};t.useImperativeHandle(f,()=>({goTo:T,autoPlay:P.current.innerSlider.autoPlay,innerSlider:P.current.innerSlider,prev:P.current.slickPrev,next:P.current.slickNext}),[P.current]);const R=t.useRef(t.Children.count(c.children));t.useEffect(()=>{R.current!==t.Children.count(c.children)&&(T(c.initialSlide||0,!1),R.current=t.Children.count(c.children))},[c.children]);const M=Object.assign({vertical:v,className:(0,r.default)(b,$==null?void 0:$.className),style:Object.assign(Object.assign({},$==null?void 0:$.style),C)},S);M.effect==="fade"&&(M.fade=!0);const A=w("carousel",M.prefixCls),N="slick-dots",k=!!h,D=(0,r.default)(N,`${N}-${m}`,typeof h=="boolean"?!1:h==null?void 0:h.className),[L,B,j]=(0,o.default)(A),z=(0,r.default)(A,{[`${A}-rtl`]:O==="rtl",[`${A}-vertical`]:M.vertical},B,j,y);return L(t.createElement("div",{className:z,id:x},t.createElement(n.default,Object.assign({ref:P},M,{dots:k,dotsClass:D,arrows:d,draggable:p,verticalSwiping:v,waitForAnimate:g}))))});return X5.default=u,X5}var Y5={};const pVe=cr(l_t);var VR={},ACe;function hVe(){if(ACe)return VR;ACe=1,Object.defineProperty(VR,"__esModule",{value:!0}),VR.default=i;var e=r(_),t=Lt();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}function i(o,a){const{getPrefixCls:l,direction:s,renderEmpty:u}=e.useContext(t.ConfigContext),c=a||s,f=l("select",o),h=l("cascader",o);return[f,h,c,u]}return VR}var UR={},kCe;function gVe(){if(kCe)return UR;kCe=1,Object.defineProperty(UR,"__esModule",{value:!0}),UR.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o){return e.useMemo(()=>o?e.createElement("span",{className:`${i}-checkbox-inner`}):!1,[o])}return UR}var GR={},jCe;function mVe(){if(jCe)return GR;jCe=1;var e=ze;Object.defineProperty(GR,"__esModule",{value:!0}),GR.default=l;var t=a(_),n=e(sP()),r=e(Vf()),i=e(Jy());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function l(s,u,c){let f=c;c||(f=u?t.createElement(n.default,null):t.createElement(i.default,null));const h=t.createElement("span",{className:`${s}-menu-item-loading-icon`},t.createElement(r.default,{spin:!0}));return[f,h]}return GR}var Z5={},Xg={},Q5={},u1={},DCe;function uP(){if(DCe)return u1;DCe=1,Object.defineProperty(u1,"__esModule",{value:!0}),u1.genCheckboxStyle=u1.default=void 0,u1.getStyle=i;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{checkboxCls:a}=o,l=`${a}-wrapper`;return[{[`${a}-group`]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{display:"inline-flex",flexWrap:"wrap",columnGap:o.marginXS,[`> ${o.antCls}-row`]:{flex:1}}),[l]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${l}`]:{marginInlineStart:0},[`&${l}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:o.borderRadiusSM,alignSelf:"center",[`${a}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${a}-inner`]:Object.assign({},(0,t.genFocusOutline)(o))},[`${a}-inner`]:{boxSizing:"border-box",display:"block",width:o.checkboxSize,height:o.checkboxSize,direction:"ltr",backgroundColor:o.colorBgContainer,border:`${(0,e.unit)(o.lineWidth)} ${o.lineType} ${o.colorBorder}`,borderRadius:o.borderRadiusSM,borderCollapse:"separate",transition:`all ${o.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:o.calc(o.checkboxSize).div(14).mul(5).equal(),height:o.calc(o.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(o.lineWidthBold)} solid ${o.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${o.motionDurationFast} ${o.motionEaseInBack}, opacity ${o.motionDurationFast}`}},"& + span":{paddingInlineStart:o.paddingXS,paddingInlineEnd:o.paddingXS}})},{[` + `,transition:`all ${h.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:g}}},o=h=>{const{componentCls:d,iconCls:p,actionsLiMargin:g,cardActionsIconSize:m,colorBorderSecondary:v,actionsBg:y}=h;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:y,borderTop:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`,display:"flex",borderRadius:`0 0 ${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)}`},(0,t.clearFix)()),{"& > li":{margin:g,color:h.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:h.calc(h.cardActionsIconSize).mul(2).equal(),fontSize:h.fontSize,lineHeight:h.lineHeight,cursor:"pointer","&:hover":{color:h.colorPrimary,transition:`color ${h.motionDurationMid}`},[`a:not(${d}-btn), > ${p}`]:{display:"inline-block",width:"100%",color:h.colorTextDescription,lineHeight:(0,e.unit)(h.fontHeight),transition:`color ${h.motionDurationMid}`,"&:hover":{color:h.colorPrimary}},[`> ${p}`]:{fontSize:m,lineHeight:(0,e.unit)(h.calc(m).mul(h.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`}}})},a=h=>Object.assign(Object.assign({margin:`${(0,e.unit)(h.calc(h.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,t.clearFix)()),{"&-avatar":{paddingInlineEnd:h.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:h.marginXS}},"&-title":Object.assign({color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.fontSizeLG},t.textEllipsis),"&-description":{color:h.colorTextDescription}}),l=h=>{const{componentCls:d,cardPaddingBase:p,colorFillAlter:g}=h;return{[`${d}-head`]:{padding:`0 ${(0,e.unit)(p)}`,background:g,"&-title":{fontSize:h.fontSize}},[`${d}-body`]:{padding:`${(0,e.unit)(h.padding)} ${(0,e.unit)(p)}`}}},s=h=>{const{componentCls:d}=h;return{overflow:"hidden",[`${d}-body`]:{userSelect:"none"}}},u=h=>{const{antCls:d,componentCls:p,cardShadow:g,cardHeadPadding:m,colorBorderSecondary:v,boxShadowTertiary:y,cardPaddingBase:b,extraColor:C}=h;return{[p]:Object.assign(Object.assign({},(0,t.resetComponent)(h)),{position:"relative",background:h.colorBgContainer,borderRadius:h.borderRadiusLG,[`&:not(${p}-bordered)`]:{boxShadow:y},[`${p}-head`]:r(h),[`${p}-extra`]:{marginInlineStart:"auto",color:C,fontWeight:"normal",fontSize:h.fontSize},[`${p}-body`]:Object.assign({padding:b,borderRadius:` 0 0 ${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)}`},(0,t.clearFix)()),[`${p}-grid`]:i(h),[`${p}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${d}-image-mask`]:{borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0`}},[`${p}-actions`]:o(h),[`${p}-meta`]:a(h)}),[`${p}-bordered`]:{border:`${(0,e.unit)(h.lineWidth)} ${h.lineType} ${v}`,[`${p}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${p}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${h.motionDurationMid}, border-color ${h.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:g}},[`${p}-contain-grid`]:{borderRadius:`${(0,e.unit)(h.borderRadiusLG)} ${(0,e.unit)(h.borderRadiusLG)} 0 0 `,[`${p}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${p}-loading) ${p}-body`]:{marginBlockStart:h.calc(h.lineWidth).mul(-1).equal(),marginInlineStart:h.calc(h.lineWidth).mul(-1).equal(),padding:0}},[`${p}-contain-tabs`]:{[`> ${p}-head`]:{minHeight:0,[`${p}-head-title, ${p}-extra`]:{paddingTop:m}}},[`${p}-type-inner`]:l(h),[`${p}-loading`]:s(h),[`${p}-rtl`]:{direction:"rtl"}}},c=h=>{const{componentCls:d,cardPaddingSM:p,headerHeightSM:g,headerFontSizeSM:m}=h;return{[`${d}-small`]:{[`> ${d}-head`]:{minHeight:g,padding:`0 ${(0,e.unit)(p)}`,fontSize:m,[`> ${d}-head-wrapper`]:{[`> ${d}-extra`]:{fontSize:h.fontSize}}},[`> ${d}-body`]:{padding:p}},[`${d}-small${d}-contain-tabs`]:{[`> ${d}-head`]:{[`${d}-head-title, ${d}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},f=h=>({headerBg:"transparent",headerFontSize:h.fontSizeLG,headerFontSizeSM:h.fontSize,headerHeight:h.fontSizeLG*h.lineHeightLG+h.padding*2,headerHeightSM:h.fontSize*h.lineHeight+h.paddingXS*2,actionsBg:h.colorBgContainer,actionsLiMargin:`${h.paddingSM}px 0`,tabsMarginBottom:-h.padding-h.lineWidth,extraColor:h.colorText});return Gg.prepareComponentToken=f,Gg.default=(0,n.genStyleHooks)("Card",h=>{const d=(0,n.mergeToken)(h,{cardShadow:h.boxShadowCard,cardHeadPadding:h.padding,cardPaddingBase:h.paddingLG,cardActionsIconSize:h.fontSize,cardPaddingSM:12});return[u(d),c(d)]},f),Gg}var MCe;function rXt(){if(MCe)return A5;MCe=1;var e=ze;Object.defineProperty(A5,"__esModule",{value:!0}),A5.default=void 0;var t=f(_),n=e(Tt()),r=e(Qr());_n();var i=Lt(),o=e(no()),a=e(dae()),l=e(dVe()),s=e(fVe()),u=e(nXt());function c(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(c=function(y){return y?v:m})(g)}function f(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=c(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var h=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{actionClasses:m,actions:v=[],actionStyle:y}=g;return t.createElement("ul",{className:m,style:y},v.map((b,C)=>{const x=`action-${C}`;return t.createElement("li",{style:{width:`${100/v.length}%`},key:x},t.createElement("span",null,b))}))},p=t.forwardRef((g,m)=>{const{prefixCls:v,className:y,rootClassName:b,style:C,extra:x,headStyle:S={},bodyStyle:w={},title:O,loading:$,bordered:P=!0,size:T,type:R,cover:M,actions:A,tabList:N,children:j,activeTabKey:D,defaultActiveTabKey:L,tabBarExtraContent:B,hoverable:k,tabProps:z={},classNames:q,styles:W}=g,U=h(g,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:K,direction:X,card:G}=t.useContext(i.ConfigContext),Y=qe=>{var me;(me=g.onTabChange)===null||me===void 0||me.call(g,qe)},J=qe=>{var me;return(0,n.default)((me=G==null?void 0:G.classNames)===null||me===void 0?void 0:me[qe],q==null?void 0:q[qe])},ee=qe=>{var me;return Object.assign(Object.assign({},(me=G==null?void 0:G.styles)===null||me===void 0?void 0:me[qe]),W==null?void 0:W[qe])},Q=t.useMemo(()=>{let qe=!1;return t.Children.forEach(j,me=>{me&&me.type&&me.type===s.default&&(qe=!0)}),qe},[j]),te=K("card",v),[ne,re,oe]=(0,u.default)(te),se=t.createElement(a.default,{loading:!0,active:!0,paragraph:{rows:4},title:!1},j),ye=D!==void 0,be=Object.assign(Object.assign({},z),{[ye?"activeKey":"defaultActiveKey"]:ye?D:L,tabBarExtraContent:B});let he;const le=(0,o.default)(T),ve=!le||le==="default"?"large":le,ke=N?t.createElement(l.default,Object.assign({size:ve},be,{className:`${te}-head-tabs`,onChange:Y,items:N.map(qe=>{var{tab:me}=qe,Ee=h(qe,["tab"]);return Object.assign({label:me},Ee)})})):null;if(O||x||ke){const qe=(0,n.default)(`${te}-head`,J("header")),me=(0,n.default)(`${te}-head-title`,J("title")),Ee=(0,n.default)(`${te}-extra`,J("extra")),$e=Object.assign(Object.assign({},S),ee("header"));he=t.createElement("div",{className:qe,style:$e},t.createElement("div",{className:`${te}-head-wrapper`},O&&t.createElement("div",{className:me,style:ee("title")},O),x&&t.createElement("div",{className:Ee,style:ee("extra")},x)),ke)}const Ie=(0,n.default)(`${te}-cover`,J("cover")),Oe=M?t.createElement("div",{className:Ie,style:ee("cover")},M):null,Pe=(0,n.default)(`${te}-body`,J("body")),_e=Object.assign(Object.assign({},w),ee("body")),ce=t.createElement("div",{className:Pe,style:_e},$?se:j),Te=(0,n.default)(`${te}-actions`,J("actions")),Ne=A&&A.length?t.createElement(d,{actionClasses:Te,actionStyle:ee("actions"),actions:A}):null,je=(0,r.default)(U,["onTabChange"]),He=(0,n.default)(te,G==null?void 0:G.className,{[`${te}-loading`]:$,[`${te}-bordered`]:P,[`${te}-hoverable`]:k,[`${te}-contain-grid`]:Q,[`${te}-contain-tabs`]:N&&N.length,[`${te}-${le}`]:le,[`${te}-type-${R}`]:!!R,[`${te}-rtl`]:X==="rtl"},y,b,re,oe),Be=Object.assign(Object.assign({},G==null?void 0:G.style),C);return ne(t.createElement("div",Object.assign({ref:m},je,{className:He,style:Be}),he,Oe,ce,Ne))});return A5.default=p,A5}var X5={},RCe;function iXt(){if(RCe)return X5;RCe=1;var e=ze;Object.defineProperty(X5,"__esModule",{value:!0}),X5.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{prefixCls:u,className:c,avatar:f,title:h,description:d}=s,p=a(s,["prefixCls","className","avatar","title","description"]),{getPrefixCls:g}=n.useContext(r.ConfigContext),m=g("card",u),v=(0,t.default)(`${m}-meta`,c),y=f?n.createElement("div",{className:`${m}-meta-avatar`},f):null,b=h?n.createElement("div",{className:`${m}-meta-title`},h):null,C=d?n.createElement("div",{className:`${m}-meta-description`},d):null,x=b||C?n.createElement("div",{className:`${m}-meta-detail`},b,C):null;return n.createElement("div",Object.assign({},p,{className:v}),y,x)};return X5.default=l,X5}var ICe;function oXt(){if(ICe)return N5;ICe=1;var e=ze;Object.defineProperty(N5,"__esModule",{value:!0}),N5.default=void 0;var t=e(rXt()),n=e(fVe()),r=e(iXt());const i=t.default;return i.Grid=n.default,i.Meta=r.default,N5.default=i,N5}var Y5={};const aXt=gr(j5t);var Kg={},NCe;function lXt(){if(NCe)return Kg;NCe=1,Object.defineProperty(Kg,"__esModule",{value:!0}),Kg.prepareComponentToken=Kg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=l=>{const{componentCls:s,antCls:u,carouselArrowSize:c,carouselDotOffset:f,marginXXS:h}=l,d=l.calc(c).mul(-1.25).equal(),p=h;return{[s]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${u}-radio-input, input${u}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${u}-radio-input, input${u}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:c,height:c,marginTop:l.calc(c).mul(-1).div(2).equal(),padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:d,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:d,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:f},"&-top":{top:f,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:l.dotWidth,height:l.dotHeight,marginInline:p,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${l.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:l.dotHeight,padding:0,color:"transparent",fontSize:0,background:l.colorBgContainer,border:0,borderRadius:l.dotHeight,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${l.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:l.calc(p).mul(-1).equal(),content:'""'}},"&.slick-active":{width:l.dotActiveWidth,"& button":{background:l.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},i=l=>{const{componentCls:s,carouselDotOffset:u,marginXXS:c}=l,f={width:l.dotHeight,height:l.dotWidth};return{[`${s}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:l.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:u},"&-right":{insetInlineEnd:u,insetInlineStart:"auto"},li:Object.assign(Object.assign({},f),{margin:`${(0,e.unit)(c)} 0`,verticalAlign:"baseline",button:f,"&.slick-active":Object.assign(Object.assign({},f),{button:f})})}}}},o=l=>{const{componentCls:s}=l;return[{[`${s}-rtl`]:{direction:"rtl",".slick-dots":{[`${s}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${s}-vertical`]:{".slick-dots":{[`${s}-rtl&`]:{flexDirection:"column"}}}}]},a=()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24});return Kg.prepareComponentToken=a,Kg.default=(0,n.genStyleHooks)("Carousel",l=>{const{controlHeightLG:s,controlHeightSM:u}=l,c=(0,n.mergeToken)(l,{carouselArrowSize:l.calc(s).div(2).equal(),carouselDotOffset:l.calc(u).div(2).equal()});return[r(c),i(c),o(c)]},a,{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),Kg}var ACe;function sXt(){if(ACe)return Y5;ACe=1;var e=ze;Object.defineProperty(Y5,"__esModule",{value:!0}),Y5.default=void 0;var t=l(_),n=e(aXt),r=e(Tt()),i=Lt(),o=e(lXt());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{dots:h=!0,arrows:d=!1,draggable:p=!1,waitForAnimate:g=!1,dotPosition:m="bottom",vertical:v=m==="left"||m==="right",rootClassName:y,className:b,style:C,id:x}=c,S=s(c,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:w,direction:O,carousel:$}=t.useContext(i.ConfigContext),P=t.useRef(),T=function(q){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;P.current.slickGoTo(q,W)};t.useImperativeHandle(f,()=>({goTo:T,autoPlay:P.current.innerSlider.autoPlay,innerSlider:P.current.innerSlider,prev:P.current.slickPrev,next:P.current.slickNext}),[P.current]);const R=t.useRef(t.Children.count(c.children));t.useEffect(()=>{R.current!==t.Children.count(c.children)&&(T(c.initialSlide||0,!1),R.current=t.Children.count(c.children))},[c.children]);const M=Object.assign({vertical:v,className:(0,r.default)(b,$==null?void 0:$.className),style:Object.assign(Object.assign({},$==null?void 0:$.style),C)},S);M.effect==="fade"&&(M.fade=!0);const A=w("carousel",M.prefixCls),N="slick-dots",j=!!h,D=(0,r.default)(N,`${N}-${m}`,typeof h=="boolean"?!1:h==null?void 0:h.className),[L,B,k]=(0,o.default)(A),z=(0,r.default)(A,{[`${A}-rtl`]:O==="rtl",[`${A}-vertical`]:M.vertical},B,k,y);return L(t.createElement("div",{className:z,id:x},t.createElement(n.default,Object.assign({ref:P},M,{dots:j,dotsClass:D,arrows:d,draggable:p,verticalSwiping:v,waitForAnimate:g}))))});return Y5.default=u,Y5}var Z5={};const pVe=gr(a_t);var UR={},kCe;function hVe(){if(kCe)return UR;kCe=1,Object.defineProperty(UR,"__esModule",{value:!0}),UR.default=i;var e=r(_),t=Lt();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}function i(o,a){const{getPrefixCls:l,direction:s,renderEmpty:u}=e.useContext(t.ConfigContext),c=a||s,f=l("select",o),h=l("cascader",o);return[f,h,c,u]}return UR}var GR={},jCe;function gVe(){if(jCe)return GR;jCe=1,Object.defineProperty(GR,"__esModule",{value:!0}),GR.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o){return e.useMemo(()=>o?e.createElement("span",{className:`${i}-checkbox-inner`}):!1,[o])}return GR}var KR={},DCe;function mVe(){if(DCe)return KR;DCe=1;var e=ze;Object.defineProperty(KR,"__esModule",{value:!0}),KR.default=l;var t=a(_),n=e(cP()),r=e(Vf()),i=e(Jy());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function l(s,u,c){let f=c;c||(f=u?t.createElement(n.default,null):t.createElement(i.default,null));const h=t.createElement("span",{className:`${s}-menu-item-loading-icon`},t.createElement(r.default,{spin:!0}));return[f,h]}return KR}var Q5={},Xg={},J5={},u1={},LCe;function dP(){if(LCe)return u1;LCe=1,Object.defineProperty(u1,"__esModule",{value:!0}),u1.genCheckboxStyle=u1.default=void 0,u1.getStyle=i;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{checkboxCls:a}=o,l=`${a}-wrapper`;return[{[`${a}-group`]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{display:"inline-flex",flexWrap:"wrap",columnGap:o.marginXS,[`> ${o.antCls}-row`]:{flex:1}}),[l]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${l}`]:{marginInlineStart:0},[`&${l}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:o.borderRadiusSM,alignSelf:"center",[`${a}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${a}-inner`]:Object.assign({},(0,t.genFocusOutline)(o))},[`${a}-inner`]:{boxSizing:"border-box",display:"block",width:o.checkboxSize,height:o.checkboxSize,direction:"ltr",backgroundColor:o.colorBgContainer,border:`${(0,e.unit)(o.lineWidth)} ${o.lineType} ${o.colorBorder}`,borderRadius:o.borderRadiusSM,borderCollapse:"separate",transition:`all ${o.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:o.calc(o.checkboxSize).div(14).mul(5).equal(),height:o.calc(o.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(o.lineWidthBold)} solid ${o.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${o.motionDurationFast} ${o.motionEaseInBack}, opacity ${o.motionDurationFast}`}},"& + span":{paddingInlineStart:o.paddingXS,paddingInlineEnd:o.paddingXS}})},{[` ${l}:not(${l}-disabled), ${a}:not(${a}-disabled) `]:{[`&:hover ${a}-inner`]:{borderColor:o.colorPrimary}},[`${l}:not(${l}-disabled)`]:{[`&:hover ${a}-checked:not(${a}-disabled) ${a}-inner`]:{backgroundColor:o.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${a}-checked:not(${a}-disabled):after`]:{borderColor:o.colorPrimaryHover}}},{[`${a}-checked`]:{[`${a}-inner`]:{backgroundColor:o.colorPrimary,borderColor:o.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${o.motionDurationMid} ${o.motionEaseOutBack} ${o.motionDurationFast}`}}},[` ${l}-checked:not(${l}-disabled), ${a}-checked:not(${a}-disabled) - `]:{[`&:hover ${a}-inner`]:{backgroundColor:o.colorPrimaryHover,borderColor:"transparent"}}},{[a]:{"&-indeterminate":{[`${a}-inner`]:{backgroundColor:o.colorBgContainer,borderColor:o.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:o.calc(o.fontSizeLG).div(2).equal(),height:o.calc(o.fontSizeLG).div(2).equal(),backgroundColor:o.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${l}-disabled`]:{cursor:"not-allowed"},[`${a}-disabled`]:{[`&, ${a}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${a}-inner`]:{background:o.colorBgContainerDisabled,borderColor:o.colorBorder,"&:after":{borderColor:o.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:o.colorTextDisabled},[`&${a}-indeterminate ${a}-inner::after`]:{background:o.colorTextDisabled}}}]};u1.genCheckboxStyle=r;function i(o,a){const l=(0,n.mergeToken)(a,{checkboxCls:`.${o}`,checkboxSize:a.controlInteractiveSize});return[r(l)]}return u1.default=(0,n.genStyleHooks)("Checkbox",(o,a)=>{let{prefixCls:l}=a;return[i(l,o)]}),u1}var LCe;function vVe(){if(LCe)return Q5;LCe=1,Object.defineProperty(Q5,"__esModule",{value:!0}),Q5.default=void 0;var e=Xt,t=uP(),n=Tn();const r=i=>{const{prefixCls:o,componentCls:a}=i,l=`${a}-menu-item`,s=` + `]:{[`&:hover ${a}-inner`]:{backgroundColor:o.colorPrimaryHover,borderColor:"transparent"}}},{[a]:{"&-indeterminate":{[`${a}-inner`]:{backgroundColor:o.colorBgContainer,borderColor:o.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:o.calc(o.fontSizeLG).div(2).equal(),height:o.calc(o.fontSizeLG).div(2).equal(),backgroundColor:o.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${l}-disabled`]:{cursor:"not-allowed"},[`${a}-disabled`]:{[`&, ${a}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${a}-inner`]:{background:o.colorBgContainerDisabled,borderColor:o.colorBorder,"&:after":{borderColor:o.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:o.colorTextDisabled},[`&${a}-indeterminate ${a}-inner::after`]:{background:o.colorTextDisabled}}}]};u1.genCheckboxStyle=r;function i(o,a){const l=(0,n.mergeToken)(a,{checkboxCls:`.${o}`,checkboxSize:a.controlInteractiveSize});return[r(l)]}return u1.default=(0,n.genStyleHooks)("Checkbox",(o,a)=>{let{prefixCls:l}=a;return[i(l,o)]}),u1}var zCe;function vVe(){if(zCe)return J5;zCe=1,Object.defineProperty(J5,"__esModule",{value:!0}),J5.default=void 0;var e=Xt,t=dP(),n=Tn();const r=i=>{const{prefixCls:o,componentCls:a}=i,l=`${a}-menu-item`,s=` &${l}-expand ${l}-expand-icon, ${l}-loading-icon -`;return[(0,t.getStyle)(`${o}-checkbox`,i),{[a]:{"&-checkbox":{top:0,marginInlineEnd:i.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${a}-menu-empty`]:{[`${a}-menu`]:{width:"100%",height:"auto",[l]:{color:i.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:i.controlItemWidth,height:i.dropdownHeight,margin:0,padding:i.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(i.lineWidth)} ${i.lineType} ${i.colorSplit}`},"&-item":Object.assign(Object.assign({},n.textEllipsis),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:i.optionPadding,lineHeight:i.lineHeight,cursor:"pointer",transition:`all ${i.motionDurationMid}`,borderRadius:i.borderRadiusSM,"&:hover":{background:i.controlItemBgHover},"&-disabled":{color:i.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[s]:{color:i.colorTextDisabled}},[`&-active:not(${l}-disabled)`]:{"&, &:hover":{fontWeight:i.optionSelectedFontWeight,backgroundColor:i.optionSelectedBg}},"&-content":{flex:"auto"},[s]:{marginInlineStart:i.paddingXXS,color:i.colorTextDescription,fontSize:i.fontSizeIcon},"&-keyword":{color:i.colorHighlight}})}}}]};return Q5.default=r,Q5}var zCe;function dae(){if(zCe)return Xg;zCe=1;var e=ze;Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.prepareComponentToken=Xg.default=void 0;var t=IC(),n=Jt(),r=e(vVe());const i=a=>{const{componentCls:l,antCls:s}=a;return[{[l]:{width:a.controlWidth}},{[`${l}-dropdown`]:[{[`&${s}-select-dropdown`]:{padding:0}},(0,r.default)(a)]},{[`${l}-dropdown-rtl`]:{direction:"rtl"}},(0,t.genCompactItemStyle)(a)]},o=a=>{const l=Math.round((a.controlHeight-a.fontSize*a.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:a.controlItemBgActive,optionSelectedFontWeight:a.fontWeightStrong,optionPadding:`${l}px ${a.paddingSM}px`,menuPadding:a.paddingXXS}};return Xg.prepareComponentToken=o,Xg.default=(0,n.genStyleHooks)("Cascader",a=>[i(a)],o),Xg}var J5={},BCe;function uXt(){if(BCe)return J5;BCe=1;var e=ze;Object.defineProperty(J5,"__esModule",{value:!0}),J5.default=void 0;var t=Xt,n=dae(),r=Jt(),i=e(vVe());const o=a=>{const{componentCls:l}=a;return{[`${l}-panel`]:[(0,i.default)(a),{display:"inline-flex",border:`${(0,t.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,borderRadius:a.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${l}-menus`]:{alignItems:"stretch"},[`${l}-menu`]:{height:"auto"},"&-empty":{padding:a.paddingXXS}}]}};return J5.default=(0,r.genComponentStyleHook)(["Cascader","Panel"],a=>o(a),n.prepareComponentToken),J5}var FCe;function dXt(){if(FCe)return Z5;FCe=1;var e=ze;Object.defineProperty(Z5,"__esModule",{value:!0}),Z5.default=void 0;var t=h(_),n=e(Tt()),r=pVe,i=e(k0()),o=e(zr()),a=e(hVe()),l=e(gVe()),s=e(mVe()),u=e(dae()),c=e(uXt());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=p=>{const{prefixCls:g,className:m,multiple:v,rootClassName:y,notFoundContent:b,direction:C,expandIcon:x}=p,[S,w,O,$]=(0,a.default)(g,C),P=(0,o.default)(w),[T,R,M]=(0,u.default)(w,P);(0,c.default)(w);const A=O==="rtl",[N,k]=(0,s.default)(S,A,x),D=b||($==null?void 0:$("Cascader"))||t.createElement(i.default,{componentName:"Cascader"}),L=(0,l.default)(w,v);return T(t.createElement(r.Panel,Object.assign({},p,{checkable:L,prefixCls:w,className:(0,n.default)(m,R,y,M,P),notFoundContent:D,direction:O,expandIcon:N,loadingIcon:k})))};return Z5.default=d,Z5}var HCe;function fXt(){if(HCe)return Y5;HCe=1;var e=ze;Object.defineProperty(Y5,"__esModule",{value:!0}),Y5.default=void 0;var t=e(qr()),n=R(_),r=e(Tt()),i=e(pVe),o=e(Qr()),a=dl(),l=Il(),s=e(kd()),u=jd();_n();var c=Lt(),f=e(k0()),h=e($a()),d=e(zr()),p=e(no()),g=fi(),m=e(Dh()),v=e(Goe()),y=e(Koe()),b=e(wF()),C=e(Xoe()),x=ts(),S=e(hVe()),w=e(gVe()),O=e(mVe()),$=e(dXt()),P=e(dae());function T(j){if(typeof WeakMap!="function")return null;var z=new WeakMap,V=new WeakMap;return(T=function(W){return W?V:z})(j)}function R(j,z){if(!z&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var V=T(z);if(V&&V.has(j))return V.get(j);var W={__proto__:null},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in j)if(K!=="default"&&Object.prototype.hasOwnProperty.call(j,K)){var X=U?Object.getOwnPropertyDescriptor(j,K):null;X&&(X.get||X.set)?Object.defineProperty(W,K,X):W[K]=j[K]}return W.default=j,V&&V.set(j,W),W}var M=function(j,z){var V={};for(var W in j)Object.prototype.hasOwnProperty.call(j,W)&&z.indexOf(W)<0&&(V[W]=j[W]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,W=Object.getOwnPropertySymbols(j);UY===0?[G]:[].concat((0,t.default)(X),[z,G]),[]),U=[];let K=0;return W.forEach((X,G)=>{const Y=K+X.length;let J=j.slice(K,Y);K=Y,G%2===1&&(J=n.createElement("span",{className:`${V}-menu-item-keyword`,key:`separator-${G}`},J)),U.push(J)}),U}const D=(j,z,V,W)=>{const U=[],K=j.toLowerCase();return z.forEach((X,G)=>{G!==0&&U.push(" / ");let Y=X[W.label];const J=typeof Y;(J==="string"||J==="number")&&(Y=k(String(Y),K,V)),U.push(Y)}),U},L=n.forwardRef((j,z)=>{var V;const{prefixCls:W,size:U,disabled:K,className:X,rootClassName:G,multiple:Y,bordered:J=!0,transitionName:ee,choiceTransitionName:Q="",popupClassName:te,dropdownClassName:ne,expandIcon:re,placement:oe,showSearch:se,allowClear:ye=!0,notFoundContent:be,direction:he,getPopupContainer:le,status:ve,showArrow:ke,builtinPlacements:Ie,style:Oe,variant:Pe}=j,_e=M(j,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),ce=(0,o.default)(_e,["suffixIcon"]),{getPopupContainer:Te,getPrefixCls:Ne,popupOverflow:je,cascader:He}=n.useContext(c.ConfigContext),{status:Be,hasFeedback:qe,isFormItemInput:me,feedbackIcon:Ee}=n.useContext(g.FormItemInputContext),$e=(0,u.getMergedStatus)(Be,ve),[Le,Fe,Ke,lt]=(0,S.default)(W,he),ft=Ke==="rtl",Ye=Ne(),we=(0,d.default)(Le),[De,We,Ge]=(0,y.default)(Le,we),Je=(0,d.default)(Fe),[bt]=(0,P.default)(Fe,Je),{compactSize:at,compactItemClassnames:et}=(0,x.useCompactItemContext)(Le,he),[rt,Ze]=(0,m.default)(Pe,J),wt=be||(lt==null?void 0:lt("Cascader"))||n.createElement(f.default,{componentName:"Cascader"}),ut=(0,r.default)(te||ne,`${Fe}-dropdown`,{[`${Fe}-dropdown-rtl`]:Ke==="rtl"},G,we,Je,We,Ge),ot=n.useMemo(()=>{if(!se)return se;let Qt={render:D};return typeof se=="object"&&(Qt=Object.assign(Object.assign({},Qt),se)),Qt},[se]),dt=(0,p.default)(Qt=>{var Pt;return(Pt=U??at)!==null&&Pt!==void 0?Pt:Qt}),_t=n.useContext(h.default),Ot=K??_t,[Ct,mt]=(0,O.default)(Le,ft,re),It=(0,w.default)(Fe,Y),nt=(0,C.default)(j.suffixIcon,ke),{suffixIcon:yt,removeIcon:xt,clearIcon:At}=(0,b.default)(Object.assign(Object.assign({},j),{hasFeedback:qe,feedbackIcon:Ee,showSuffixIcon:nt,multiple:Y,prefixCls:Le,componentName:"Cascader"})),cn=n.useMemo(()=>oe!==void 0?oe:ft?"bottomRight":"bottomLeft",[oe,ft]),Ht=ye===!0?{clearIcon:At}:ye,[$t]=(0,a.useZIndex)("SelectLike",(V=ce.dropdownStyle)===null||V===void 0?void 0:V.zIndex),zt=n.createElement(i.default,Object.assign({prefixCls:Le,className:(0,r.default)(!W&&Fe,{[`${Le}-lg`]:dt==="large",[`${Le}-sm`]:dt==="small",[`${Le}-rtl`]:ft,[`${Le}-${rt}`]:Ze,[`${Le}-in-form-item`]:me},(0,u.getStatusClassNames)(Le,$e,qe),et,He==null?void 0:He.className,X,G,we,Je,We,Ge),disabled:Ot,style:Object.assign(Object.assign({},He==null?void 0:He.style),Oe)},ce,{builtinPlacements:(0,v.default)(Ie,je),direction:Ke,placement:cn,notFoundContent:wt,allowClear:Ht,showSearch:ot,expandIcon:Ct,suffixIcon:yt,removeIcon:xt,loadingIcon:mt,checkable:It,dropdownClassName:ut,dropdownPrefixCls:W||Fe,dropdownStyle:Object.assign(Object.assign({},ce.dropdownStyle),{zIndex:$t}),choiceTransitionName:(0,l.getTransitionName)(Ye,"",Q),transitionName:(0,l.getTransitionName)(Ye,"slide-up",ee),getPopupContainer:le||Te,ref:z}));return bt(De(zt))}),B=(0,s.default)(L);return L.SHOW_PARENT=N,L.SHOW_CHILD=A,L.Panel=$.default,L._InternalPanelDoNotUseOrYouWillBeFired=B,Y5.default=L,Y5}var e_={},t_={},n_={},WCe;function yVe(){if(WCe)return n_;WCe=1;var e=ze;Object.defineProperty(n_,"__esModule",{value:!0}),n_.default=void 0;var t=e(_);const n=t.default.createContext(null);return n_.default=n,n_}var qCe;function bVe(){if(qCe)return t_;qCe=1;var e=ze;Object.defineProperty(t_,"__esModule",{value:!0}),t_.default=void 0;var t=d(_),n=e(Tt()),r=e(cVe);_n();var i=e(eP()),o=bF(),a=Lt(),l=e($a()),s=e(zr()),u=fi(),c=e(yVe()),f=e(uP());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{var b;const{prefixCls:C,className:x,rootClassName:S,children:w,indeterminate:O=!1,style:$,onMouseEnter:P,onMouseLeave:T,skipGroup:R=!1,disabled:M}=v,A=p(v,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:N,direction:k,checkbox:D}=t.useContext(a.ConfigContext),L=t.useContext(c.default),{isFormItemInput:B}=t.useContext(u.FormItemInputContext),j=t.useContext(l.default),z=(b=(L==null?void 0:L.disabled)||M)!==null&&b!==void 0?b:j,V=t.useRef(A.value);t.useEffect(()=>{L==null||L.registerValue(A.value)},[]),t.useEffect(()=>{if(!R)return A.value!==V.current&&(L==null||L.cancelValue(V.current),L==null||L.registerValue(A.value),V.current=A.value),()=>L==null?void 0:L.cancelValue(A.value)},[A.value]);const W=N("checkbox",C),U=(0,s.default)(W),[K,X,G]=(0,f.default)(W,U),Y=Object.assign({},A);L&&!R&&(Y.onChange=function(){A.onChange&&A.onChange.apply(A,arguments),L.toggleOption&&L.toggleOption({label:w,value:A.value})},Y.name=L.name,Y.checked=L.value.includes(A.value));const J=(0,n.default)(`${W}-wrapper`,{[`${W}-rtl`]:k==="rtl",[`${W}-wrapper-checked`]:Y.checked,[`${W}-wrapper-disabled`]:z,[`${W}-wrapper-in-form-item`]:B},D==null?void 0:D.className,x,S,G,U,X),ee=(0,n.default)({[`${W}-indeterminate`]:O},o.TARGET_CLS,X),Q=O?"mixed":void 0;return K(t.createElement(i.default,{component:"Checkbox",disabled:z},t.createElement("label",{className:J,style:Object.assign(Object.assign({},D==null?void 0:D.style),$),onMouseEnter:P,onMouseLeave:T},t.createElement(r.default,Object.assign({"aria-checked":Q},Y,{prefixCls:W,className:ee,disabled:z,ref:y})),w!==void 0&&t.createElement("span",null,w))))},m=t.forwardRef(g);return t_.default=m,t_}var pG={},VCe;function pXt(){return VCe||(VCe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"GroupContext",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var n=t(qr()),r=h(_),i=t(Tt()),o=t(Qr()),a=Lt(),l=t(zr()),s=t(bVe()),u=t(yVe()),c=t(uP());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{defaultValue:v,children:y,options:b=[],prefixCls:C,className:x,rootClassName:S,style:w,onChange:O}=g,$=d(g,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:P,direction:T}=r.useContext(a.ConfigContext),[R,M]=r.useState($.value||v||[]),[A,N]=r.useState([]);r.useEffect(()=>{"value"in $&&M($.value||[])},[$.value]);const k=r.useMemo(()=>b.map(ee=>typeof ee=="string"||typeof ee=="number"?{label:ee,value:ee}:ee),[b]),D=ee=>{N(Q=>Q.filter(te=>te!==ee))},L=ee=>{N(Q=>[].concat((0,n.default)(Q),[ee]))},B=ee=>{const Q=R.indexOf(ee.value),te=(0,n.default)(R);Q===-1?te.push(ee.value):te.splice(Q,1),"value"in $||M(te),O==null||O(te.filter(ne=>A.includes(ne)).sort((ne,re)=>{const oe=k.findIndex(ye=>ye.value===ne),se=k.findIndex(ye=>ye.value===re);return oe-se}))},j=P("checkbox",C),z=`${j}-group`,V=(0,l.default)(j),[W,U,K]=(0,c.default)(j,V),X=(0,o.default)($,["value","disabled"]),G=b.length?k.map(ee=>r.createElement(s.default,{prefixCls:j,key:ee.value.toString(),disabled:"disabled"in ee?ee.disabled:$.disabled,value:ee.value,checked:R.includes(ee.value),onChange:ee.onChange,className:`${z}-item`,style:ee.style,title:ee.title,id:ee.id,required:ee.required},ee.label)):y,Y={toggleOption:B,value:R,disabled:$.disabled,name:$.name,registerValue:L,cancelValue:D},J=(0,i.default)(z,{[`${z}-rtl`]:T==="rtl"},x,S,K,V,U);return W(r.createElement("div",Object.assign({className:J,style:w},X,{ref:m}),r.createElement(u.default.Provider,{value:Y},G)))});e.default=p}(pG)),pG}var UCe;function dP(){if(UCe)return e_;UCe=1;var e=ze;Object.defineProperty(e_,"__esModule",{value:!0}),e_.default=void 0;var t=e(bVe()),n=e(pXt());const r=t.default;return r.Group=n.default,r.__ANT_CHECKBOX=!0,e_.default=r,e_}var r_={},hG={},i_={},o_={},GCe;function CVe(){if(GCe)return o_;GCe=1,Object.defineProperty(o_,"__esModule",{value:!0}),o_.default=void 0;var e=_;const t=(0,e.createContext)({});return o_.default=t,o_}var Wu={},KCe;function SVe(){if(KCe)return Wu;KCe=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.useRowStyle=Wu.useColStyle=Wu.prepareRowComponentToken=Wu.prepareColComponentToken=void 0;var e=Xt,t=Jt();const n=u=>{const{componentCls:c}=u;return{[c]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},r=u=>{const{componentCls:c}=u;return{[c]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(u,c)=>{const{prefixCls:f,componentCls:h,gridColumns:d}=u,p={};for(let g=d;g>=0;g--)g===0?(p[`${h}${c}-${g}`]={display:"none"},p[`${h}-push-${g}`]={insetInlineStart:"auto"},p[`${h}-pull-${g}`]={insetInlineEnd:"auto"},p[`${h}${c}-push-${g}`]={insetInlineStart:"auto"},p[`${h}${c}-pull-${g}`]={insetInlineEnd:"auto"},p[`${h}${c}-offset-${g}`]={marginInlineStart:0},p[`${h}${c}-order-${g}`]={order:0}):(p[`${h}${c}-${g}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${g/d*100}%`,maxWidth:`${g/d*100}%`}],p[`${h}${c}-push-${g}`]={insetInlineStart:`${g/d*100}%`},p[`${h}${c}-pull-${g}`]={insetInlineEnd:`${g/d*100}%`},p[`${h}${c}-offset-${g}`]={marginInlineStart:`${g/d*100}%`},p[`${h}${c}-order-${g}`]={order:g});return p[`${h}${c}-flex`]={flex:`var(--${f}${c}-flex)`},p},o=(u,c)=>i(u,c),a=(u,c,f)=>({[`@media (min-width: ${(0,e.unit)(c)})`]:Object.assign({},o(u,f))}),l=()=>({});Wu.prepareRowComponentToken=l;const s=()=>({});return Wu.prepareColComponentToken=s,Wu.useRowStyle=(0,t.genStyleHooks)("Grid",n,l),Wu.useColStyle=(0,t.genStyleHooks)("Grid",u=>{const c=(0,t.mergeToken)(u,{gridColumns:24}),f={"-sm":c.screenSMMin,"-md":c.screenMDMin,"-lg":c.screenLGMin,"-xl":c.screenXLMin,"-xxl":c.screenXXLMin};return[r(c),o(c,""),o(c,"-xs"),Object.keys(f).map(h=>a(c,f[h],h)).reduce((h,d)=>Object.assign(Object.assign({},h),d),{})]},s),Wu}var XCe;function fae(){if(XCe)return i_;XCe=1;var e=ze;Object.defineProperty(i_,"__esModule",{value:!0}),i_.default=void 0;var t=l(_),n=e(Tt()),r=Lt(),i=e(CVe()),o=SVe();function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var s=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{getPrefixCls:p,direction:g}=t.useContext(r.ConfigContext),{gutter:m,wrap:v}=t.useContext(i.default),{prefixCls:y,span:b,order:C,offset:x,push:S,pull:w,className:O,children:$,flex:P,style:T}=h,R=s(h,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),M=p("col",y),[A,N,k]=(0,o.useColStyle)(M),D={};let L={};c.forEach(z=>{let V={};const W=h[z];typeof W=="number"?V.span=W:typeof W=="object"&&(V=W||{}),delete R[z],L=Object.assign(Object.assign({},L),{[`${M}-${z}-${V.span}`]:V.span!==void 0,[`${M}-${z}-order-${V.order}`]:V.order||V.order===0,[`${M}-${z}-offset-${V.offset}`]:V.offset||V.offset===0,[`${M}-${z}-push-${V.push}`]:V.push||V.push===0,[`${M}-${z}-pull-${V.pull}`]:V.pull||V.pull===0,[`${M}-rtl`]:g==="rtl"}),V.flex&&(L[`${M}-${z}-flex`]=!0,D[`--${M}-${z}-flex`]=u(V.flex))});const B=(0,n.default)(M,{[`${M}-${b}`]:b!==void 0,[`${M}-order-${C}`]:C,[`${M}-offset-${x}`]:x,[`${M}-push-${S}`]:S,[`${M}-pull-${w}`]:w},O,L,N,k),j={};if(m&&m[0]>0){const z=m[0]/2;j.paddingLeft=z,j.paddingRight=z}return P&&(j.flex=u(P),v===!1&&!j.minWidth&&(j.minWidth=0)),A(t.createElement("div",Object.assign({},R,{style:Object.assign(Object.assign(Object.assign({},j),T),D),className:B,ref:d}),$))});return i_.default=f,i_}var a_={},YCe;function hXt(){if(YCe)return a_;YCe=1;var e=ze;Object.defineProperty(a_,"__esModule",{value:!0}),a_.default=void 0;var t=s(_),n=e(Tt()),r=s(AC()),i=Lt(),o=e(CVe()),a=SVe();function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{if(typeof h=="string"&&g(h),typeof h=="object")for(let v=0;v{m()},[JSON.stringify(h),d]),p}const f=t.forwardRef((h,d)=>{const{prefixCls:p,justify:g,align:m,className:v,style:y,children:b,gutter:C=0,wrap:x}=h,S=u(h,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:w,direction:O}=t.useContext(i.ConfigContext),[$,P]=t.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[T,R]=t.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),M=c(m,T),A=c(g,T),N=t.useRef(C),k=(0,r.default)();t.useEffect(()=>{const J=k.subscribe(ee=>{R(ee);const Q=N.current||0;(!Array.isArray(Q)&&typeof Q=="object"||Array.isArray(Q)&&(typeof Q[0]=="object"||typeof Q[1]=="object"))&&P(ee)});return()=>k.unsubscribe(J)},[]);const D=()=>{const J=[void 0,void 0];return(Array.isArray(C)?C:[C,void 0]).forEach((Q,te)=>{if(typeof Q=="object")for(let ne=0;ne0?V[0]/-2:void 0;K&&(U.marginLeft=K,U.marginRight=K),[,U.rowGap]=V;const[X,G]=V,Y=t.useMemo(()=>({gutter:[X,G],wrap:x}),[X,G,x]);return B(t.createElement(o.default.Provider,{value:Y},t.createElement("div",Object.assign({},S,{className:W,style:Object.assign(Object.assign({},U),y),ref:d}),b)))});return a_.default=f,a_}var ZCe;function DC(){return ZCe||(ZCe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Col",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return i.default}}),e.default=void 0;var n=t(fae()),r=t(Zy()),i=t(hXt());function o(){return(0,r.default)()}e.default={useBreakpoint:o}}(hG)),hG}var QCe;function gXt(){if(QCe)return r_;QCe=1,Object.defineProperty(r_,"__esModule",{value:!0}),r_.default=void 0;var e=DC();return r_.default=e.Col,r_}var l_={},s_={};const xVe=cr(L_t);var c_={},JCe;function mXt(){if(JCe)return c_;JCe=1;var e=ze;Object.defineProperty(c_,"__esModule",{value:!0}),c_.default=void 0;var t=a(_),n=e(Tt()),r=e(xVe);_n();var i=Lt();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=t.forwardRef((s,u)=>{const{getPrefixCls:c}=t.useContext(i.ConfigContext),{prefixCls:f,className:h,showArrow:d=!0}=s,p=c("collapse",f),g=(0,n.default)({[`${p}-no-arrow`]:!d},h);return t.createElement(r.default.Panel,Object.assign({ref:u},s,{prefixCls:p,className:g}))});return c_.default=l,c_}var pp={},e6e;function vXt(){if(e6e)return pp;e6e=1,Object.defineProperty(pp,"__esModule",{value:!0}),pp.prepareComponentToken=pp.genBaseStyle=pp.default=void 0;var e=Xt,t=Tn(),n=Bs(),r=Jt();const i=u=>{const{componentCls:c,contentBg:f,padding:h,headerBg:d,headerPadding:p,collapseHeaderPaddingSM:g,collapseHeaderPaddingLG:m,collapsePanelBorderRadius:v,lineWidth:y,lineType:b,colorBorder:C,colorText:x,colorTextHeading:S,colorTextDisabled:w,fontSizeLG:O,lineHeight:$,lineHeightLG:P,marginSM:T,paddingSM:R,paddingLG:M,paddingXS:A,motionDurationSlow:N,fontSizeIcon:k,contentPadding:D,fontHeight:L,fontHeightLG:B}=u,j=`${(0,e.unit)(y)} ${b} ${C}`;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(u)),{backgroundColor:d,border:j,borderBottom:0,borderRadius:v,"&-rtl":{direction:"rtl"},[`& > ${c}-item`]:{borderBottom:j,"&:last-child":{[` +`;return[(0,t.getStyle)(`${o}-checkbox`,i),{[a]:{"&-checkbox":{top:0,marginInlineEnd:i.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${a}-menu-empty`]:{[`${a}-menu`]:{width:"100%",height:"auto",[l]:{color:i.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:i.controlItemWidth,height:i.dropdownHeight,margin:0,padding:i.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(i.lineWidth)} ${i.lineType} ${i.colorSplit}`},"&-item":Object.assign(Object.assign({},n.textEllipsis),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:i.optionPadding,lineHeight:i.lineHeight,cursor:"pointer",transition:`all ${i.motionDurationMid}`,borderRadius:i.borderRadiusSM,"&:hover":{background:i.controlItemBgHover},"&-disabled":{color:i.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[s]:{color:i.colorTextDisabled}},[`&-active:not(${l}-disabled)`]:{"&, &:hover":{fontWeight:i.optionSelectedFontWeight,backgroundColor:i.optionSelectedBg}},"&-content":{flex:"auto"},[s]:{marginInlineStart:i.paddingXXS,color:i.colorTextDescription,fontSize:i.fontSizeIcon},"&-keyword":{color:i.colorHighlight}})}}}]};return J5.default=r,J5}var BCe;function fae(){if(BCe)return Xg;BCe=1;var e=ze;Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.prepareComponentToken=Xg.default=void 0;var t=IC(),n=Jt(),r=e(vVe());const i=a=>{const{componentCls:l,antCls:s}=a;return[{[l]:{width:a.controlWidth}},{[`${l}-dropdown`]:[{[`&${s}-select-dropdown`]:{padding:0}},(0,r.default)(a)]},{[`${l}-dropdown-rtl`]:{direction:"rtl"}},(0,t.genCompactItemStyle)(a)]},o=a=>{const l=Math.round((a.controlHeight-a.fontSize*a.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:a.controlItemBgActive,optionSelectedFontWeight:a.fontWeightStrong,optionPadding:`${l}px ${a.paddingSM}px`,menuPadding:a.paddingXXS}};return Xg.prepareComponentToken=o,Xg.default=(0,n.genStyleHooks)("Cascader",a=>[i(a)],o),Xg}var e_={},FCe;function cXt(){if(FCe)return e_;FCe=1;var e=ze;Object.defineProperty(e_,"__esModule",{value:!0}),e_.default=void 0;var t=Xt,n=fae(),r=Jt(),i=e(vVe());const o=a=>{const{componentCls:l}=a;return{[`${l}-panel`]:[(0,i.default)(a),{display:"inline-flex",border:`${(0,t.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,borderRadius:a.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${l}-menus`]:{alignItems:"stretch"},[`${l}-menu`]:{height:"auto"},"&-empty":{padding:a.paddingXXS}}]}};return e_.default=(0,r.genComponentStyleHook)(["Cascader","Panel"],a=>o(a),n.prepareComponentToken),e_}var HCe;function uXt(){if(HCe)return Q5;HCe=1;var e=ze;Object.defineProperty(Q5,"__esModule",{value:!0}),Q5.default=void 0;var t=h(_),n=e(Tt()),r=pVe,i=e(k0()),o=e(zr()),a=e(hVe()),l=e(gVe()),s=e(mVe()),u=e(fae()),c=e(cXt());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=p=>{const{prefixCls:g,className:m,multiple:v,rootClassName:y,notFoundContent:b,direction:C,expandIcon:x}=p,[S,w,O,$]=(0,a.default)(g,C),P=(0,o.default)(w),[T,R,M]=(0,u.default)(w,P);(0,c.default)(w);const A=O==="rtl",[N,j]=(0,s.default)(S,A,x),D=b||($==null?void 0:$("Cascader"))||t.createElement(i.default,{componentName:"Cascader"}),L=(0,l.default)(w,v);return T(t.createElement(r.Panel,Object.assign({},p,{checkable:L,prefixCls:w,className:(0,n.default)(m,R,y,M,P),notFoundContent:D,direction:O,expandIcon:N,loadingIcon:j})))};return Q5.default=d,Q5}var WCe;function dXt(){if(WCe)return Z5;WCe=1;var e=ze;Object.defineProperty(Z5,"__esModule",{value:!0}),Z5.default=void 0;var t=e(qr()),n=R(_),r=e(Tt()),i=e(pVe),o=e(Qr()),a=dl(),l=Il(),s=e(kd()),u=jd();_n();var c=Lt(),f=e(k0()),h=e($a()),d=e(zr()),p=e(no()),g=fi(),m=e(Dh()),v=e(Koe()),y=e(Xoe()),b=e(OF()),C=e(Yoe()),x=ts(),S=e(hVe()),w=e(gVe()),O=e(mVe()),$=e(uXt()),P=e(fae());function T(k){if(typeof WeakMap!="function")return null;var z=new WeakMap,q=new WeakMap;return(T=function(W){return W?q:z})(k)}function R(k,z){if(!z&&k&&k.__esModule)return k;if(k===null||typeof k!="object"&&typeof k!="function")return{default:k};var q=T(z);if(q&&q.has(k))return q.get(k);var W={__proto__:null},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in k)if(K!=="default"&&Object.prototype.hasOwnProperty.call(k,K)){var X=U?Object.getOwnPropertyDescriptor(k,K):null;X&&(X.get||X.set)?Object.defineProperty(W,K,X):W[K]=k[K]}return W.default=k,q&&q.set(k,W),W}var M=function(k,z){var q={};for(var W in k)Object.prototype.hasOwnProperty.call(k,W)&&z.indexOf(W)<0&&(q[W]=k[W]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,W=Object.getOwnPropertySymbols(k);UY===0?[G]:[].concat((0,t.default)(X),[z,G]),[]),U=[];let K=0;return W.forEach((X,G)=>{const Y=K+X.length;let J=k.slice(K,Y);K=Y,G%2===1&&(J=n.createElement("span",{className:`${q}-menu-item-keyword`,key:`separator-${G}`},J)),U.push(J)}),U}const D=(k,z,q,W)=>{const U=[],K=k.toLowerCase();return z.forEach((X,G)=>{G!==0&&U.push(" / ");let Y=X[W.label];const J=typeof Y;(J==="string"||J==="number")&&(Y=j(String(Y),K,q)),U.push(Y)}),U},L=n.forwardRef((k,z)=>{var q;const{prefixCls:W,size:U,disabled:K,className:X,rootClassName:G,multiple:Y,bordered:J=!0,transitionName:ee,choiceTransitionName:Q="",popupClassName:te,dropdownClassName:ne,expandIcon:re,placement:oe,showSearch:se,allowClear:ye=!0,notFoundContent:be,direction:he,getPopupContainer:le,status:ve,showArrow:ke,builtinPlacements:Ie,style:Oe,variant:Pe}=k,_e=M(k,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),ce=(0,o.default)(_e,["suffixIcon"]),{getPopupContainer:Te,getPrefixCls:Ne,popupOverflow:je,cascader:He}=n.useContext(c.ConfigContext),{status:Be,hasFeedback:qe,isFormItemInput:me,feedbackIcon:Ee}=n.useContext(g.FormItemInputContext),$e=(0,u.getMergedStatus)(Be,ve),[Le,Fe,Ke,lt]=(0,S.default)(W,he),ft=Ke==="rtl",Ye=Ne(),we=(0,d.default)(Le),[De,We,Ge]=(0,y.default)(Le,we),Je=(0,d.default)(Fe),[bt]=(0,P.default)(Fe,Je),{compactSize:at,compactItemClassnames:et}=(0,x.useCompactItemContext)(Le,he),[rt,Ze]=(0,m.default)(Pe,J),wt=be||(lt==null?void 0:lt("Cascader"))||n.createElement(f.default,{componentName:"Cascader"}),ut=(0,r.default)(te||ne,`${Fe}-dropdown`,{[`${Fe}-dropdown-rtl`]:Ke==="rtl"},G,we,Je,We,Ge),ot=n.useMemo(()=>{if(!se)return se;let Qt={render:D};return typeof se=="object"&&(Qt=Object.assign(Object.assign({},Qt),se)),Qt},[se]),dt=(0,p.default)(Qt=>{var Pt;return(Pt=U??at)!==null&&Pt!==void 0?Pt:Qt}),_t=n.useContext(h.default),Ot=K??_t,[Ct,mt]=(0,O.default)(Le,ft,re),It=(0,w.default)(Fe,Y),nt=(0,C.default)(k.suffixIcon,ke),{suffixIcon:yt,removeIcon:xt,clearIcon:At}=(0,b.default)(Object.assign(Object.assign({},k),{hasFeedback:qe,feedbackIcon:Ee,showSuffixIcon:nt,multiple:Y,prefixCls:Le,componentName:"Cascader"})),cn=n.useMemo(()=>oe!==void 0?oe:ft?"bottomRight":"bottomLeft",[oe,ft]),Ht=ye===!0?{clearIcon:At}:ye,[$t]=(0,a.useZIndex)("SelectLike",(q=ce.dropdownStyle)===null||q===void 0?void 0:q.zIndex),zt=n.createElement(i.default,Object.assign({prefixCls:Le,className:(0,r.default)(!W&&Fe,{[`${Le}-lg`]:dt==="large",[`${Le}-sm`]:dt==="small",[`${Le}-rtl`]:ft,[`${Le}-${rt}`]:Ze,[`${Le}-in-form-item`]:me},(0,u.getStatusClassNames)(Le,$e,qe),et,He==null?void 0:He.className,X,G,we,Je,We,Ge),disabled:Ot,style:Object.assign(Object.assign({},He==null?void 0:He.style),Oe)},ce,{builtinPlacements:(0,v.default)(Ie,je),direction:Ke,placement:cn,notFoundContent:wt,allowClear:Ht,showSearch:ot,expandIcon:Ct,suffixIcon:yt,removeIcon:xt,loadingIcon:mt,checkable:It,dropdownClassName:ut,dropdownPrefixCls:W||Fe,dropdownStyle:Object.assign(Object.assign({},ce.dropdownStyle),{zIndex:$t}),choiceTransitionName:(0,l.getTransitionName)(Ye,"",Q),transitionName:(0,l.getTransitionName)(Ye,"slide-up",ee),getPopupContainer:le||Te,ref:z}));return bt(De(zt))}),B=(0,s.default)(L);return L.SHOW_PARENT=N,L.SHOW_CHILD=A,L.Panel=$.default,L._InternalPanelDoNotUseOrYouWillBeFired=B,Z5.default=L,Z5}var t_={},n_={},r_={},qCe;function yVe(){if(qCe)return r_;qCe=1;var e=ze;Object.defineProperty(r_,"__esModule",{value:!0}),r_.default=void 0;var t=e(_);const n=t.default.createContext(null);return r_.default=n,r_}var VCe;function bVe(){if(VCe)return n_;VCe=1;var e=ze;Object.defineProperty(n_,"__esModule",{value:!0}),n_.default=void 0;var t=d(_),n=e(Tt()),r=e(cVe);_n();var i=e(tP()),o=CF(),a=Lt(),l=e($a()),s=e(zr()),u=fi(),c=e(yVe()),f=e(dP());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{var b;const{prefixCls:C,className:x,rootClassName:S,children:w,indeterminate:O=!1,style:$,onMouseEnter:P,onMouseLeave:T,skipGroup:R=!1,disabled:M}=v,A=p(v,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:N,direction:j,checkbox:D}=t.useContext(a.ConfigContext),L=t.useContext(c.default),{isFormItemInput:B}=t.useContext(u.FormItemInputContext),k=t.useContext(l.default),z=(b=(L==null?void 0:L.disabled)||M)!==null&&b!==void 0?b:k,q=t.useRef(A.value);t.useEffect(()=>{L==null||L.registerValue(A.value)},[]),t.useEffect(()=>{if(!R)return A.value!==q.current&&(L==null||L.cancelValue(q.current),L==null||L.registerValue(A.value),q.current=A.value),()=>L==null?void 0:L.cancelValue(A.value)},[A.value]);const W=N("checkbox",C),U=(0,s.default)(W),[K,X,G]=(0,f.default)(W,U),Y=Object.assign({},A);L&&!R&&(Y.onChange=function(){A.onChange&&A.onChange.apply(A,arguments),L.toggleOption&&L.toggleOption({label:w,value:A.value})},Y.name=L.name,Y.checked=L.value.includes(A.value));const J=(0,n.default)(`${W}-wrapper`,{[`${W}-rtl`]:j==="rtl",[`${W}-wrapper-checked`]:Y.checked,[`${W}-wrapper-disabled`]:z,[`${W}-wrapper-in-form-item`]:B},D==null?void 0:D.className,x,S,G,U,X),ee=(0,n.default)({[`${W}-indeterminate`]:O},o.TARGET_CLS,X),Q=O?"mixed":void 0;return K(t.createElement(i.default,{component:"Checkbox",disabled:z},t.createElement("label",{className:J,style:Object.assign(Object.assign({},D==null?void 0:D.style),$),onMouseEnter:P,onMouseLeave:T},t.createElement(r.default,Object.assign({"aria-checked":Q},Y,{prefixCls:W,className:ee,disabled:z,ref:y})),w!==void 0&&t.createElement("span",null,w))))},m=t.forwardRef(g);return n_.default=m,n_}var hG={},UCe;function fXt(){return UCe||(UCe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"GroupContext",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var n=t(qr()),r=h(_),i=t(Tt()),o=t(Qr()),a=Lt(),l=t(zr()),s=t(bVe()),u=t(yVe()),c=t(dP());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{defaultValue:v,children:y,options:b=[],prefixCls:C,className:x,rootClassName:S,style:w,onChange:O}=g,$=d(g,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:P,direction:T}=r.useContext(a.ConfigContext),[R,M]=r.useState($.value||v||[]),[A,N]=r.useState([]);r.useEffect(()=>{"value"in $&&M($.value||[])},[$.value]);const j=r.useMemo(()=>b.map(ee=>typeof ee=="string"||typeof ee=="number"?{label:ee,value:ee}:ee),[b]),D=ee=>{N(Q=>Q.filter(te=>te!==ee))},L=ee=>{N(Q=>[].concat((0,n.default)(Q),[ee]))},B=ee=>{const Q=R.indexOf(ee.value),te=(0,n.default)(R);Q===-1?te.push(ee.value):te.splice(Q,1),"value"in $||M(te),O==null||O(te.filter(ne=>A.includes(ne)).sort((ne,re)=>{const oe=j.findIndex(ye=>ye.value===ne),se=j.findIndex(ye=>ye.value===re);return oe-se}))},k=P("checkbox",C),z=`${k}-group`,q=(0,l.default)(k),[W,U,K]=(0,c.default)(k,q),X=(0,o.default)($,["value","disabled"]),G=b.length?j.map(ee=>r.createElement(s.default,{prefixCls:k,key:ee.value.toString(),disabled:"disabled"in ee?ee.disabled:$.disabled,value:ee.value,checked:R.includes(ee.value),onChange:ee.onChange,className:`${z}-item`,style:ee.style,title:ee.title,id:ee.id,required:ee.required},ee.label)):y,Y={toggleOption:B,value:R,disabled:$.disabled,name:$.name,registerValue:L,cancelValue:D},J=(0,i.default)(z,{[`${z}-rtl`]:T==="rtl"},x,S,K,q,U);return W(r.createElement("div",Object.assign({className:J,style:w},X,{ref:m}),r.createElement(u.default.Provider,{value:Y},G)))});e.default=p}(hG)),hG}var GCe;function fP(){if(GCe)return t_;GCe=1;var e=ze;Object.defineProperty(t_,"__esModule",{value:!0}),t_.default=void 0;var t=e(bVe()),n=e(fXt());const r=t.default;return r.Group=n.default,r.__ANT_CHECKBOX=!0,t_.default=r,t_}var i_={},gG={},o_={},a_={},KCe;function CVe(){if(KCe)return a_;KCe=1,Object.defineProperty(a_,"__esModule",{value:!0}),a_.default=void 0;var e=_;const t=(0,e.createContext)({});return a_.default=t,a_}var Wu={},XCe;function SVe(){if(XCe)return Wu;XCe=1,Object.defineProperty(Wu,"__esModule",{value:!0}),Wu.useRowStyle=Wu.useColStyle=Wu.prepareRowComponentToken=Wu.prepareColComponentToken=void 0;var e=Xt,t=Jt();const n=u=>{const{componentCls:c}=u;return{[c]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},r=u=>{const{componentCls:c}=u;return{[c]:{position:"relative",maxWidth:"100%",minHeight:1}}},i=(u,c)=>{const{prefixCls:f,componentCls:h,gridColumns:d}=u,p={};for(let g=d;g>=0;g--)g===0?(p[`${h}${c}-${g}`]={display:"none"},p[`${h}-push-${g}`]={insetInlineStart:"auto"},p[`${h}-pull-${g}`]={insetInlineEnd:"auto"},p[`${h}${c}-push-${g}`]={insetInlineStart:"auto"},p[`${h}${c}-pull-${g}`]={insetInlineEnd:"auto"},p[`${h}${c}-offset-${g}`]={marginInlineStart:0},p[`${h}${c}-order-${g}`]={order:0}):(p[`${h}${c}-${g}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${g/d*100}%`,maxWidth:`${g/d*100}%`}],p[`${h}${c}-push-${g}`]={insetInlineStart:`${g/d*100}%`},p[`${h}${c}-pull-${g}`]={insetInlineEnd:`${g/d*100}%`},p[`${h}${c}-offset-${g}`]={marginInlineStart:`${g/d*100}%`},p[`${h}${c}-order-${g}`]={order:g});return p[`${h}${c}-flex`]={flex:`var(--${f}${c}-flex)`},p},o=(u,c)=>i(u,c),a=(u,c,f)=>({[`@media (min-width: ${(0,e.unit)(c)})`]:Object.assign({},o(u,f))}),l=()=>({});Wu.prepareRowComponentToken=l;const s=()=>({});return Wu.prepareColComponentToken=s,Wu.useRowStyle=(0,t.genStyleHooks)("Grid",n,l),Wu.useColStyle=(0,t.genStyleHooks)("Grid",u=>{const c=(0,t.mergeToken)(u,{gridColumns:24}),f={"-sm":c.screenSMMin,"-md":c.screenMDMin,"-lg":c.screenLGMin,"-xl":c.screenXLMin,"-xxl":c.screenXXLMin};return[r(c),o(c,""),o(c,"-xs"),Object.keys(f).map(h=>a(c,f[h],h)).reduce((h,d)=>Object.assign(Object.assign({},h),d),{})]},s),Wu}var YCe;function pae(){if(YCe)return o_;YCe=1;var e=ze;Object.defineProperty(o_,"__esModule",{value:!0}),o_.default=void 0;var t=l(_),n=e(Tt()),r=Lt(),i=e(CVe()),o=SVe();function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var s=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{getPrefixCls:p,direction:g}=t.useContext(r.ConfigContext),{gutter:m,wrap:v}=t.useContext(i.default),{prefixCls:y,span:b,order:C,offset:x,push:S,pull:w,className:O,children:$,flex:P,style:T}=h,R=s(h,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),M=p("col",y),[A,N,j]=(0,o.useColStyle)(M),D={};let L={};c.forEach(z=>{let q={};const W=h[z];typeof W=="number"?q.span=W:typeof W=="object"&&(q=W||{}),delete R[z],L=Object.assign(Object.assign({},L),{[`${M}-${z}-${q.span}`]:q.span!==void 0,[`${M}-${z}-order-${q.order}`]:q.order||q.order===0,[`${M}-${z}-offset-${q.offset}`]:q.offset||q.offset===0,[`${M}-${z}-push-${q.push}`]:q.push||q.push===0,[`${M}-${z}-pull-${q.pull}`]:q.pull||q.pull===0,[`${M}-rtl`]:g==="rtl"}),q.flex&&(L[`${M}-${z}-flex`]=!0,D[`--${M}-${z}-flex`]=u(q.flex))});const B=(0,n.default)(M,{[`${M}-${b}`]:b!==void 0,[`${M}-order-${C}`]:C,[`${M}-offset-${x}`]:x,[`${M}-push-${S}`]:S,[`${M}-pull-${w}`]:w},O,L,N,j),k={};if(m&&m[0]>0){const z=m[0]/2;k.paddingLeft=z,k.paddingRight=z}return P&&(k.flex=u(P),v===!1&&!k.minWidth&&(k.minWidth=0)),A(t.createElement("div",Object.assign({},R,{style:Object.assign(Object.assign(Object.assign({},k),T),D),className:B,ref:d}),$))});return o_.default=f,o_}var l_={},ZCe;function pXt(){if(ZCe)return l_;ZCe=1;var e=ze;Object.defineProperty(l_,"__esModule",{value:!0}),l_.default=void 0;var t=s(_),n=e(Tt()),r=s(AC()),i=Lt(),o=e(CVe()),a=SVe();function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{if(typeof h=="string"&&g(h),typeof h=="object")for(let v=0;v{m()},[JSON.stringify(h),d]),p}const f=t.forwardRef((h,d)=>{const{prefixCls:p,justify:g,align:m,className:v,style:y,children:b,gutter:C=0,wrap:x}=h,S=u(h,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:w,direction:O}=t.useContext(i.ConfigContext),[$,P]=t.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[T,R]=t.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),M=c(m,T),A=c(g,T),N=t.useRef(C),j=(0,r.default)();t.useEffect(()=>{const J=j.subscribe(ee=>{R(ee);const Q=N.current||0;(!Array.isArray(Q)&&typeof Q=="object"||Array.isArray(Q)&&(typeof Q[0]=="object"||typeof Q[1]=="object"))&&P(ee)});return()=>j.unsubscribe(J)},[]);const D=()=>{const J=[void 0,void 0];return(Array.isArray(C)?C:[C,void 0]).forEach((Q,te)=>{if(typeof Q=="object")for(let ne=0;ne0?q[0]/-2:void 0;K&&(U.marginLeft=K,U.marginRight=K),[,U.rowGap]=q;const[X,G]=q,Y=t.useMemo(()=>({gutter:[X,G],wrap:x}),[X,G,x]);return B(t.createElement(o.default.Provider,{value:Y},t.createElement("div",Object.assign({},S,{className:W,style:Object.assign(Object.assign({},U),y),ref:d}),b)))});return l_.default=f,l_}var QCe;function DC(){return QCe||(QCe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Col",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return i.default}}),e.default=void 0;var n=t(pae()),r=t(Zy()),i=t(pXt());function o(){return(0,r.default)()}e.default={useBreakpoint:o}}(gG)),gG}var JCe;function hXt(){if(JCe)return i_;JCe=1,Object.defineProperty(i_,"__esModule",{value:!0}),i_.default=void 0;var e=DC();return i_.default=e.Col,i_}var s_={},c_={};const xVe=gr(D_t);var u_={},e6e;function gXt(){if(e6e)return u_;e6e=1;var e=ze;Object.defineProperty(u_,"__esModule",{value:!0}),u_.default=void 0;var t=a(_),n=e(Tt()),r=e(xVe);_n();var i=Lt();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=t.forwardRef((s,u)=>{const{getPrefixCls:c}=t.useContext(i.ConfigContext),{prefixCls:f,className:h,showArrow:d=!0}=s,p=c("collapse",f),g=(0,n.default)({[`${p}-no-arrow`]:!d},h);return t.createElement(r.default.Panel,Object.assign({ref:u},s,{prefixCls:p,className:g}))});return u_.default=l,u_}var pp={},t6e;function mXt(){if(t6e)return pp;t6e=1,Object.defineProperty(pp,"__esModule",{value:!0}),pp.prepareComponentToken=pp.genBaseStyle=pp.default=void 0;var e=Xt,t=Tn(),n=Bs(),r=Jt();const i=u=>{const{componentCls:c,contentBg:f,padding:h,headerBg:d,headerPadding:p,collapseHeaderPaddingSM:g,collapseHeaderPaddingLG:m,collapsePanelBorderRadius:v,lineWidth:y,lineType:b,colorBorder:C,colorText:x,colorTextHeading:S,colorTextDisabled:w,fontSizeLG:O,lineHeight:$,lineHeightLG:P,marginSM:T,paddingSM:R,paddingLG:M,paddingXS:A,motionDurationSlow:N,fontSizeIcon:j,contentPadding:D,fontHeight:L,fontHeightLG:B}=u,k=`${(0,e.unit)(y)} ${b} ${C}`;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(u)),{backgroundColor:d,border:k,borderBottom:0,borderRadius:v,"&-rtl":{direction:"rtl"},[`& > ${c}-item`]:{borderBottom:k,"&:last-child":{[` &, - & > ${c}-header`]:{borderRadius:`0 0 ${(0,e.unit)(v)} ${(0,e.unit)(v)}`}},[`> ${c}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:p,color:S,lineHeight:$,cursor:"pointer",transition:`all ${N}, visibility 0s`,[`> ${c}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${c}-expand-icon`]:{height:L,display:"flex",alignItems:"center",paddingInlineEnd:T},[`${c}-arrow`]:Object.assign(Object.assign({},(0,t.resetIcon)()),{fontSize:k,svg:{transition:`transform ${N}`}}),[`${c}-header-text`]:{marginInlineEnd:"auto"}},[`${c}-icon-collapsible-only`]:{cursor:"unset",[`${c}-expand-icon`]:{cursor:"pointer"}}},[`${c}-content`]:{color:x,backgroundColor:f,borderTop:j,[`& > ${c}-content-box`]:{padding:D},"&-hidden":{display:"none"}},"&-small":{[`> ${c}-item`]:{[`> ${c}-header`]:{padding:g,paddingInlineStart:A,[`> ${c}-expand-icon`]:{marginInlineStart:u.calc(R).sub(A).equal()}},[`> ${c}-content > ${c}-content-box`]:{padding:R}}},"&-large":{[`> ${c}-item`]:{fontSize:O,lineHeight:P,[`> ${c}-header`]:{padding:m,paddingInlineStart:h,[`> ${c}-expand-icon`]:{height:B,marginInlineStart:u.calc(M).sub(h).equal()}},[`> ${c}-content > ${c}-content-box`]:{padding:M}}},[`${c}-item:last-child`]:{[`> ${c}-content`]:{borderRadius:`0 0 ${(0,e.unit)(v)} ${(0,e.unit)(v)}`}},[`& ${c}-item-disabled > ${c}-header`]:{"\n &,\n & > .arrow\n ":{color:w,cursor:"not-allowed"}},[`&${c}-icon-position-end`]:{[`& > ${c}-item`]:{[`> ${c}-header`]:{[`${c}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:T}}}}})}};pp.genBaseStyle=i;const o=u=>{const{componentCls:c}=u,f=`> ${c}-item > ${c}-header ${c}-arrow svg`;return{[`${c}-rtl`]:{[f]:{transform:"rotate(180deg)"}}}},a=u=>{const{componentCls:c,headerBg:f,paddingXXS:h,colorBorder:d}=u;return{[`${c}-borderless`]:{backgroundColor:f,border:0,[`> ${c}-item`]:{borderBottom:`1px solid ${d}`},[` + & > ${c}-header`]:{borderRadius:`0 0 ${(0,e.unit)(v)} ${(0,e.unit)(v)}`}},[`> ${c}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:p,color:S,lineHeight:$,cursor:"pointer",transition:`all ${N}, visibility 0s`,[`> ${c}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${c}-expand-icon`]:{height:L,display:"flex",alignItems:"center",paddingInlineEnd:T},[`${c}-arrow`]:Object.assign(Object.assign({},(0,t.resetIcon)()),{fontSize:j,svg:{transition:`transform ${N}`}}),[`${c}-header-text`]:{marginInlineEnd:"auto"}},[`${c}-icon-collapsible-only`]:{cursor:"unset",[`${c}-expand-icon`]:{cursor:"pointer"}}},[`${c}-content`]:{color:x,backgroundColor:f,borderTop:k,[`& > ${c}-content-box`]:{padding:D},"&-hidden":{display:"none"}},"&-small":{[`> ${c}-item`]:{[`> ${c}-header`]:{padding:g,paddingInlineStart:A,[`> ${c}-expand-icon`]:{marginInlineStart:u.calc(R).sub(A).equal()}},[`> ${c}-content > ${c}-content-box`]:{padding:R}}},"&-large":{[`> ${c}-item`]:{fontSize:O,lineHeight:P,[`> ${c}-header`]:{padding:m,paddingInlineStart:h,[`> ${c}-expand-icon`]:{height:B,marginInlineStart:u.calc(M).sub(h).equal()}},[`> ${c}-content > ${c}-content-box`]:{padding:M}}},[`${c}-item:last-child`]:{[`> ${c}-content`]:{borderRadius:`0 0 ${(0,e.unit)(v)} ${(0,e.unit)(v)}`}},[`& ${c}-item-disabled > ${c}-header`]:{"\n &,\n & > .arrow\n ":{color:w,cursor:"not-allowed"}},[`&${c}-icon-position-end`]:{[`& > ${c}-item`]:{[`> ${c}-header`]:{[`${c}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:T}}}}})}};pp.genBaseStyle=i;const o=u=>{const{componentCls:c}=u,f=`> ${c}-item > ${c}-header ${c}-arrow svg`;return{[`${c}-rtl`]:{[f]:{transform:"rotate(180deg)"}}}},a=u=>{const{componentCls:c,headerBg:f,paddingXXS:h,colorBorder:d}=u;return{[`${c}-borderless`]:{backgroundColor:f,border:0,[`> ${c}-item`]:{borderBottom:`1px solid ${d}`},[` > ${c}-item:last-child, > ${c}-item:last-child ${c}-header - `]:{borderRadius:0},[`> ${c}-item:last-child`]:{borderBottom:0},[`> ${c}-item > ${c}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${c}-item > ${c}-content > ${c}-content-box`]:{paddingTop:h}}}},l=u=>{const{componentCls:c,paddingSM:f}=u;return{[`${c}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${c}-item`]:{borderBottom:0,[`> ${c}-content`]:{backgroundColor:"transparent",border:0,[`> ${c}-content-box`]:{paddingBlock:f}}}}}},s=u=>({headerPadding:`${u.paddingSM}px ${u.padding}px`,headerBg:u.colorFillAlter,contentPadding:`${u.padding}px 16px`,contentBg:u.colorBgContainer});return pp.prepareComponentToken=s,pp.default=(0,r.genStyleHooks)("Collapse",u=>{const c=(0,r.mergeToken)(u,{collapseHeaderPaddingSM:`${(0,e.unit)(u.paddingXS)} ${(0,e.unit)(u.paddingSM)}`,collapseHeaderPaddingLG:`${(0,e.unit)(u.padding)} ${(0,e.unit)(u.paddingLG)}`,collapsePanelBorderRadius:u.borderRadiusLG});return[i(c),a(c),l(c),o(c),(0,n.genCollapseMotion)(c)]},s),pp}var t6e;function yXt(){if(t6e)return s_;t6e=1;var e=ze;Object.defineProperty(s_,"__esModule",{value:!0}),s_.default=void 0;var t=p(_),n=e(Jy()),r=e(Tt()),i=e(xVe),o=e(fl()),a=e(Qr()),l=e(Il()),s=to();_n();var u=Lt(),c=e(no()),f=e(mXt()),h=e(vXt());function d(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(d=function(b){return b?y:v})(m)}function p(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=d(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}const g=t.forwardRef((m,v)=>{const{getPrefixCls:y,direction:b,collapse:C}=t.useContext(u.ConfigContext),{prefixCls:x,className:S,rootClassName:w,style:O,bordered:$=!0,ghost:P,size:T,expandIconPosition:R="start",children:M,expandIcon:A}=m,N=(0,c.default)(X=>{var G;return(G=T??X)!==null&&G!==void 0?G:"middle"}),k=y("collapse",x),D=y(),[L,B,j]=(0,h.default)(k),z=t.useMemo(()=>R==="left"?"start":R==="right"?"end":R,[R]),V=function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const G=A?A(X):t.createElement(n.default,{rotate:X.isActive?90:void 0});return(0,s.cloneElement)(G,()=>({className:(0,r.default)(G.props.className,`${k}-arrow`)}))},W=(0,r.default)(`${k}-icon-position-${z}`,{[`${k}-borderless`]:!$,[`${k}-rtl`]:b==="rtl",[`${k}-ghost`]:!!P,[`${k}-${N}`]:N!=="middle"},C==null?void 0:C.className,S,w,B,j),U=Object.assign(Object.assign({},(0,l.default)(D)),{motionAppear:!1,leavedClassName:`${k}-content-hidden`}),K=t.useMemo(()=>M?(0,o.default)(M).map((X,G)=>{var Y,J;if(!((Y=X.props)===null||Y===void 0)&&Y.disabled){const ee=(J=X.key)!==null&&J!==void 0?J:String(G),{disabled:Q,collapsible:te}=X.props,ne=Object.assign(Object.assign({},(0,a.default)(X.props,["disabled"])),{key:ee,collapsible:te??(Q?"disabled":void 0)});return(0,s.cloneElement)(X,ne)}return X}):null,[M]);return L(t.createElement(i.default,Object.assign({ref:v,openMotion:U},(0,a.default)(m,["rootClassName"]),{expandIcon:V,prefixCls:k,className:W,style:Object.assign(Object.assign({},C==null?void 0:C.style),O)}),K))});return s_.default=Object.assign(g,{Panel:f.default}),s_}var n6e;function _Ve(){if(n6e)return l_;n6e=1;var e=ze;Object.defineProperty(l_,"__esModule",{value:!0}),l_.default=void 0;var t=e(yXt());return l_.default=t.default,l_}var u_={},d_={},f_={},p_={},Yg={},r6e;function bXt(){if(r6e)return Yg;r6e=1,Object.defineProperty(Yg,"__esModule",{value:!0}),Yg.prepareComponentToken=Yg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,sizePaddingEdgeHorizontal:l,colorSplit:s,lineWidth:u,textPaddingInline:c,orientationMargin:f,verticalMarginInline:h}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{borderBlockStart:`${(0,e.unit)(u)} solid ${s}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:h,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,e.unit)(u)} solid ${s}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,e.unit)(o.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${a}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,e.unit)(o.dividerHorizontalWithTextGutterMargin)} 0`,color:o.colorTextHeading,fontWeight:500,fontSize:o.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${s}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,e.unit)(u)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${a}-with-text-left`]:{"&::before":{width:`calc(${f} * 100%)`},"&::after":{width:`calc(100% - ${f} * 100%)`}},[`&-horizontal${a}-with-text-right`]:{"&::before":{width:`calc(100% - ${f} * 100%)`},"&::after":{width:`calc(${f} * 100%)`}},[`${a}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:c},"&-dashed":{background:"none",borderColor:s,borderStyle:"dashed",borderWidth:`${(0,e.unit)(u)} 0 0`},[`&-horizontal${a}-with-text${a}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${a}-dashed`]:{borderInlineStartWidth:u,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${a}-with-text`]:{color:o.colorText,fontWeight:"normal",fontSize:o.fontSize},[`&-horizontal${a}-with-text-left${a}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${a}-inner-text`]:{paddingInlineStart:l}},[`&-horizontal${a}-with-text-right${a}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${a}-inner-text`]:{paddingInlineEnd:l}}})}},i=o=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:o.marginXS});return Yg.prepareComponentToken=i,Yg.default=(0,n.genStyleHooks)("Divider",o=>{const a=(0,n.mergeToken)(o,{dividerHorizontalWithTextGutterMargin:o.margin,dividerHorizontalGutterMargin:o.marginLG,sizePaddingEdgeHorizontal:0});return[r(a)]},i,{unitless:{orientationMargin:!0}}),Yg}var i6e;function wVe(){if(i6e)return p_;i6e=1;var e=ze;Object.defineProperty(p_,"__esModule",{value:!0}),p_.default=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=e(bXt());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{getPrefixCls:c,direction:f,divider:h}=t.useContext(r.ConfigContext),{prefixCls:d,type:p="horizontal",orientation:g="center",orientationMargin:m,className:v,rootClassName:y,children:b,dashed:C,plain:x,style:S}=u,w=l(u,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),O=c("divider",d),[$,P,T]=(0,i.default)(O),R=g.length>0?`-${g}`:g,M=!!b,A=g==="left"&&m!=null,N=g==="right"&&m!=null,k=(0,n.default)(O,h==null?void 0:h.className,P,T,`${O}-${p}`,{[`${O}-with-text`]:M,[`${O}-with-text${R}`]:M,[`${O}-dashed`]:!!C,[`${O}-plain`]:!!x,[`${O}-rtl`]:f==="rtl",[`${O}-no-default-orientation-margin-left`]:A,[`${O}-no-default-orientation-margin-right`]:N},v,y),D=t.useMemo(()=>typeof m=="number"?m:/^\d+$/.test(m)?Number(m):m,[m]),L=Object.assign(Object.assign({},A&&{marginLeft:D}),N&&{marginRight:D});return $(t.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},h==null?void 0:h.style),S)},w,{role:"separator"}),b&&p!=="vertical"&&t.createElement("span",{className:`${O}-inner-text`,style:L},b)))};return p_.default=s,p_}var h_={};const RF=cr(dwt);var qu={},o6e;function pae(){if(o6e)return qu;o6e=1;var e=ze;Object.defineProperty(qu,"__esModule",{value:!0}),qu.PanelPresetsProvider=qu.PanelPresetsContext=qu.PanelPickerProvider=qu.PanelPickerContext=void 0;var t=e(_);const n=qu.PanelPickerContext=t.default.createContext({}),r=qu.PanelPresetsContext=t.default.createContext({}),{Provider:i}=n;qu.PanelPickerProvider=i;const{Provider:o}=r;return qu.PanelPresetsProvider=o,qu}var g_={},Vu={},hp={},a6e;function OVe(){if(a6e)return hp;a6e=1;var e=ze;Object.defineProperty(hp,"__esModule",{value:!0}),hp.toHexFormat=hp.getHex=hp.ColorFactory=void 0;var t=e(PC()),n=e(TC()),r=RF;const i=(a,l)=>(a==null?void 0:a.replace(/[^\w/]/gi,"").slice(0,l?8:6))||"";hp.toHexFormat=i;const o=(a,l)=>a?i(a,l):"";return hp.getHex=o,hp.ColorFactory=function(){function a(l){(0,t.default)(this,a),this.metaColor=new r.Color(l),l||this.metaColor.setAlpha(0)}return(0,n.default)(a,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return o(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),a}(),hp}var l6e;function Lh(){if(l6e)return Vu;l6e=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.getRoundNumber=Vu.getAlphaColor=Vu.generateColor=Vu.genAlphaColor=void 0;var e=OVe();const t=o=>o instanceof e.ColorFactory?o:new e.ColorFactory(o);Vu.generateColor=t;const n=o=>Math.round(Number(o||0));Vu.getRoundNumber=n;const r=o=>n(o.toHsb().a*100);Vu.getAlphaColor=r;const i=(o,a)=>{const l=o.toHsb();return l.a=a||1,t(l)};return Vu.genAlphaColor=i,Vu}var s6e;function EVe(){if(s6e)return g_;s6e=1;var e=ze;Object.defineProperty(g_,"__esModule",{value:!0}),g_.default=void 0;var t=e(_),n=Lh();const r=i=>{let{prefixCls:o,value:a,colorCleared:l,onChange:s}=i;const u=()=>{if(a&&!l){const c=a.toHsb();c.a=0;const f=(0,n.generateColor)(c);s==null||s(f)}};return t.default.createElement("div",{className:`${o}-clear`,onClick:u})};return g_.default=r,g_}var m_={},v_={},c6e;function CXt(){if(c6e)return v_;c6e=1,Object.defineProperty(v_,"__esModule",{value:!0}),v_.ColorFormat=void 0;var e;return function(t){t.hex="hex",t.rgb="rgb",t.hsb="hsb"}(e||(v_.ColorFormat=e={})),v_}var y_={},b_={},C_={},KR={exports:{}},gG={},XR={},u6e;function SXt(){if(u6e)return XR;u6e=1,Object.defineProperty(XR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};return XR.default=e,XR}var d6e;function xXt(){return d6e||(d6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(SXt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{var i;const o=(i=r.handleVisible)!==null&&i!==void 0?i:"auto";return Object.assign(Object.assign({},(0,t.initComponentToken)(r)),{controlWidth:90,handleWidth:r.controlHeightSM-r.lineWidth*2,handleFontSize:r.fontSize/2,handleVisible:o,handleActiveBg:r.colorFillAlter,handleBg:r.colorBgContainer,filledHandleBg:new e.TinyColor(r.colorFillSecondary).onBackground(r.colorBgContainer).toHexString(),handleHoverColor:r.colorPrimary,handleBorderColor:r.colorBorder,handleOpacity:o===!0?1:0})};return S_.prepareComponentToken=n,S_}var h6e;function EXt(){if(h6e)return Zg;h6e=1,Object.defineProperty(Zg,"__esModule",{value:!0}),Zg.genRadiusStyle=Zg.default=void 0;var e=Xt,t=eb(),n=cP(),r=Tn(),i=IC(),o=Jt(),a=OXt();const l=(c,f)=>{let{componentCls:h,borderRadiusSM:d,borderRadiusLG:p}=c;const g=f==="lg"?p:d;return{[`&-${f}`]:{[`${h}-handler-wrap`]:{borderStartEndRadius:g,borderEndEndRadius:g},[`${h}-handler-up`]:{borderStartEndRadius:g},[`${h}-handler-down`]:{borderEndEndRadius:g}}}};Zg.genRadiusStyle=l;const s=c=>{const{componentCls:f,lineWidth:h,lineType:d,borderRadius:p,fontSizeLG:g,controlHeightLG:m,controlHeightSM:v,colorError:y,paddingInlineSM:b,paddingBlockSM:C,paddingBlockLG:x,paddingInlineLG:S,colorTextDescription:w,motionDurationMid:O,handleHoverColor:$,paddingInline:P,paddingBlock:T,handleBg:R,handleActiveBg:M,colorTextDisabled:A,borderRadiusSM:N,borderRadiusLG:k,controlWidth:D,handleOpacity:L,handleBorderColor:B,filledHandleBg:j,lineHeightLG:z,calc:V}=c;return[{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),(0,t.genBasicInputStyle)(c)),{display:"inline-block",width:D,margin:0,padding:0,borderRadius:p}),(0,n.genOutlinedStyle)(c,{[`${f}-handler-wrap`]:{background:R,[`${f}-handler-down`]:{borderBlockStart:`${(0,e.unit)(h)} ${d} ${B}`}}})),(0,n.genFilledStyle)(c,{[`${f}-handler-wrap`]:{background:j,[`${f}-handler-down`]:{borderBlockStart:`${(0,e.unit)(h)} ${d} ${B}`}},"&:focus-within":{[`${f}-handler-wrap`]:{background:R}}})),(0,n.genBorderlessStyle)(c)),{"&-rtl":{direction:"rtl",[`${f}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:g,lineHeight:z,borderRadius:k,[`input${f}-input`]:{height:V(m).sub(V(h).mul(2)).equal(),padding:`${(0,e.unit)(x)} ${(0,e.unit)(S)}`}},"&-sm":{padding:0,borderRadius:N,[`input${f}-input`]:{height:V(v).sub(V(h).mul(2)).equal(),padding:`${(0,e.unit)(C)} ${(0,e.unit)(b)}`}},"&-out-of-range":{[`${f}-input-wrap`]:{input:{color:y}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),(0,t.genInputGroupStyle)(c)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${f}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${f}-group-addon`]:{borderRadius:k,fontSize:c.fontSizeLG}},"&-sm":{[`${f}-group-addon`]:{borderRadius:N}}},(0,n.genOutlinedGroupStyle)(c)),(0,n.genFilledGroupStyle)(c)),{[`&:not(${f}-compact-first-item):not(${f}-compact-last-item)${f}-compact-item`]:{[`${f}, ${f}-group-addon`]:{borderRadius:0}},[`&:not(${f}-compact-last-item)${f}-compact-first-item`]:{[`${f}, ${f}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${f}-compact-first-item)${f}-compact-last-item`]:{[`${f}, ${f}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${f}-input`]:{cursor:"not-allowed"},[f]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),{width:"100%",padding:`${(0,e.unit)(T)} ${(0,e.unit)(P)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:p,outline:0,transition:`all ${O} linear`,appearance:"textfield",fontSize:"inherit"}),(0,t.genPlaceholderStyle)(c.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[f]:Object.assign(Object.assign(Object.assign({[`&:hover ${f}-handler-wrap, &-focused ${f}-handler-wrap`]:{opacity:1},[`${f}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:c.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:p,borderEndEndRadius:p,borderEndStartRadius:0,opacity:L,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${O} linear ${O}`,[`${f}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${c}-item:last-child`]:{borderBottom:0},[`> ${c}-item > ${c}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${c}-item > ${c}-content > ${c}-content-box`]:{paddingTop:h}}}},l=u=>{const{componentCls:c,paddingSM:f}=u;return{[`${c}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${c}-item`]:{borderBottom:0,[`> ${c}-content`]:{backgroundColor:"transparent",border:0,[`> ${c}-content-box`]:{paddingBlock:f}}}}}},s=u=>({headerPadding:`${u.paddingSM}px ${u.padding}px`,headerBg:u.colorFillAlter,contentPadding:`${u.padding}px 16px`,contentBg:u.colorBgContainer});return pp.prepareComponentToken=s,pp.default=(0,r.genStyleHooks)("Collapse",u=>{const c=(0,r.mergeToken)(u,{collapseHeaderPaddingSM:`${(0,e.unit)(u.paddingXS)} ${(0,e.unit)(u.paddingSM)}`,collapseHeaderPaddingLG:`${(0,e.unit)(u.padding)} ${(0,e.unit)(u.paddingLG)}`,collapsePanelBorderRadius:u.borderRadiusLG});return[i(c),a(c),l(c),o(c),(0,n.genCollapseMotion)(c)]},s),pp}var n6e;function vXt(){if(n6e)return c_;n6e=1;var e=ze;Object.defineProperty(c_,"__esModule",{value:!0}),c_.default=void 0;var t=p(_),n=e(Jy()),r=e(Tt()),i=e(xVe),o=e(fl()),a=e(Qr()),l=e(Il()),s=to();_n();var u=Lt(),c=e(no()),f=e(gXt()),h=e(mXt());function d(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(d=function(b){return b?y:v})(m)}function p(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=d(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}const g=t.forwardRef((m,v)=>{const{getPrefixCls:y,direction:b,collapse:C}=t.useContext(u.ConfigContext),{prefixCls:x,className:S,rootClassName:w,style:O,bordered:$=!0,ghost:P,size:T,expandIconPosition:R="start",children:M,expandIcon:A}=m,N=(0,c.default)(X=>{var G;return(G=T??X)!==null&&G!==void 0?G:"middle"}),j=y("collapse",x),D=y(),[L,B,k]=(0,h.default)(j),z=t.useMemo(()=>R==="left"?"start":R==="right"?"end":R,[R]),q=function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const G=A?A(X):t.createElement(n.default,{rotate:X.isActive?90:void 0});return(0,s.cloneElement)(G,()=>({className:(0,r.default)(G.props.className,`${j}-arrow`)}))},W=(0,r.default)(`${j}-icon-position-${z}`,{[`${j}-borderless`]:!$,[`${j}-rtl`]:b==="rtl",[`${j}-ghost`]:!!P,[`${j}-${N}`]:N!=="middle"},C==null?void 0:C.className,S,w,B,k),U=Object.assign(Object.assign({},(0,l.default)(D)),{motionAppear:!1,leavedClassName:`${j}-content-hidden`}),K=t.useMemo(()=>M?(0,o.default)(M).map((X,G)=>{var Y,J;if(!((Y=X.props)===null||Y===void 0)&&Y.disabled){const ee=(J=X.key)!==null&&J!==void 0?J:String(G),{disabled:Q,collapsible:te}=X.props,ne=Object.assign(Object.assign({},(0,a.default)(X.props,["disabled"])),{key:ee,collapsible:te??(Q?"disabled":void 0)});return(0,s.cloneElement)(X,ne)}return X}):null,[M]);return L(t.createElement(i.default,Object.assign({ref:v,openMotion:U},(0,a.default)(m,["rootClassName"]),{expandIcon:q,prefixCls:j,className:W,style:Object.assign(Object.assign({},C==null?void 0:C.style),O)}),K))});return c_.default=Object.assign(g,{Panel:f.default}),c_}var r6e;function _Ve(){if(r6e)return s_;r6e=1;var e=ze;Object.defineProperty(s_,"__esModule",{value:!0}),s_.default=void 0;var t=e(vXt());return s_.default=t.default,s_}var d_={},f_={},p_={},h_={},Yg={},i6e;function yXt(){if(i6e)return Yg;i6e=1,Object.defineProperty(Yg,"__esModule",{value:!0}),Yg.prepareComponentToken=Yg.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,sizePaddingEdgeHorizontal:l,colorSplit:s,lineWidth:u,textPaddingInline:c,orientationMargin:f,verticalMarginInline:h}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{borderBlockStart:`${(0,e.unit)(u)} solid ${s}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:h,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,e.unit)(u)} solid ${s}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,e.unit)(o.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${a}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,e.unit)(o.dividerHorizontalWithTextGutterMargin)} 0`,color:o.colorTextHeading,fontWeight:500,fontSize:o.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${s}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,e.unit)(u)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${a}-with-text-left`]:{"&::before":{width:`calc(${f} * 100%)`},"&::after":{width:`calc(100% - ${f} * 100%)`}},[`&-horizontal${a}-with-text-right`]:{"&::before":{width:`calc(100% - ${f} * 100%)`},"&::after":{width:`calc(${f} * 100%)`}},[`${a}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:c},"&-dashed":{background:"none",borderColor:s,borderStyle:"dashed",borderWidth:`${(0,e.unit)(u)} 0 0`},[`&-horizontal${a}-with-text${a}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${a}-dashed`]:{borderInlineStartWidth:u,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${a}-with-text`]:{color:o.colorText,fontWeight:"normal",fontSize:o.fontSize},[`&-horizontal${a}-with-text-left${a}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${a}-inner-text`]:{paddingInlineStart:l}},[`&-horizontal${a}-with-text-right${a}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${a}-inner-text`]:{paddingInlineEnd:l}}})}},i=o=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:o.marginXS});return Yg.prepareComponentToken=i,Yg.default=(0,n.genStyleHooks)("Divider",o=>{const a=(0,n.mergeToken)(o,{dividerHorizontalWithTextGutterMargin:o.margin,dividerHorizontalGutterMargin:o.marginLG,sizePaddingEdgeHorizontal:0});return[r(a)]},i,{unitless:{orientationMargin:!0}}),Yg}var o6e;function wVe(){if(o6e)return h_;o6e=1;var e=ze;Object.defineProperty(h_,"__esModule",{value:!0}),h_.default=void 0;var t=a(_),n=e(Tt());_n();var r=Lt(),i=e(yXt());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{getPrefixCls:c,direction:f,divider:h}=t.useContext(r.ConfigContext),{prefixCls:d,type:p="horizontal",orientation:g="center",orientationMargin:m,className:v,rootClassName:y,children:b,dashed:C,plain:x,style:S}=u,w=l(u,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),O=c("divider",d),[$,P,T]=(0,i.default)(O),R=g.length>0?`-${g}`:g,M=!!b,A=g==="left"&&m!=null,N=g==="right"&&m!=null,j=(0,n.default)(O,h==null?void 0:h.className,P,T,`${O}-${p}`,{[`${O}-with-text`]:M,[`${O}-with-text${R}`]:M,[`${O}-dashed`]:!!C,[`${O}-plain`]:!!x,[`${O}-rtl`]:f==="rtl",[`${O}-no-default-orientation-margin-left`]:A,[`${O}-no-default-orientation-margin-right`]:N},v,y),D=t.useMemo(()=>typeof m=="number"?m:/^\d+$/.test(m)?Number(m):m,[m]),L=Object.assign(Object.assign({},A&&{marginLeft:D}),N&&{marginRight:D});return $(t.createElement("div",Object.assign({className:j,style:Object.assign(Object.assign({},h==null?void 0:h.style),S)},w,{role:"separator"}),b&&p!=="vertical"&&t.createElement("span",{className:`${O}-inner-text`,style:L},b)))};return h_.default=s,h_}var g_={};const IF=gr(uwt);var qu={},a6e;function hae(){if(a6e)return qu;a6e=1;var e=ze;Object.defineProperty(qu,"__esModule",{value:!0}),qu.PanelPresetsProvider=qu.PanelPresetsContext=qu.PanelPickerProvider=qu.PanelPickerContext=void 0;var t=e(_);const n=qu.PanelPickerContext=t.default.createContext({}),r=qu.PanelPresetsContext=t.default.createContext({}),{Provider:i}=n;qu.PanelPickerProvider=i;const{Provider:o}=r;return qu.PanelPresetsProvider=o,qu}var m_={},Vu={},hp={},l6e;function OVe(){if(l6e)return hp;l6e=1;var e=ze;Object.defineProperty(hp,"__esModule",{value:!0}),hp.toHexFormat=hp.getHex=hp.ColorFactory=void 0;var t=e(PC()),n=e(TC()),r=IF;const i=(a,l)=>(a==null?void 0:a.replace(/[^\w/]/gi,"").slice(0,l?8:6))||"";hp.toHexFormat=i;const o=(a,l)=>a?i(a,l):"";return hp.getHex=o,hp.ColorFactory=function(){function a(l){(0,t.default)(this,a),this.metaColor=new r.Color(l),l||this.metaColor.setAlpha(0)}return(0,n.default)(a,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return o(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),a}(),hp}var s6e;function Lh(){if(s6e)return Vu;s6e=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.getRoundNumber=Vu.getAlphaColor=Vu.generateColor=Vu.genAlphaColor=void 0;var e=OVe();const t=o=>o instanceof e.ColorFactory?o:new e.ColorFactory(o);Vu.generateColor=t;const n=o=>Math.round(Number(o||0));Vu.getRoundNumber=n;const r=o=>n(o.toHsb().a*100);Vu.getAlphaColor=r;const i=(o,a)=>{const l=o.toHsb();return l.a=a||1,t(l)};return Vu.genAlphaColor=i,Vu}var c6e;function EVe(){if(c6e)return m_;c6e=1;var e=ze;Object.defineProperty(m_,"__esModule",{value:!0}),m_.default=void 0;var t=e(_),n=Lh();const r=i=>{let{prefixCls:o,value:a,colorCleared:l,onChange:s}=i;const u=()=>{if(a&&!l){const c=a.toHsb();c.a=0;const f=(0,n.generateColor)(c);s==null||s(f)}};return t.default.createElement("div",{className:`${o}-clear`,onClick:u})};return m_.default=r,m_}var v_={},y_={},u6e;function bXt(){if(u6e)return y_;u6e=1,Object.defineProperty(y_,"__esModule",{value:!0}),y_.ColorFormat=void 0;var e;return function(t){t.hex="hex",t.rgb="rgb",t.hsb="hsb"}(e||(y_.ColorFormat=e={})),y_}var b_={},C_={},S_={},XR={exports:{}},mG={},YR={},d6e;function CXt(){if(d6e)return YR;d6e=1,Object.defineProperty(YR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};return YR.default=e,YR}var f6e;function SXt(){return f6e||(f6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(CXt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{var i;const o=(i=r.handleVisible)!==null&&i!==void 0?i:"auto";return Object.assign(Object.assign({},(0,t.initComponentToken)(r)),{controlWidth:90,handleWidth:r.controlHeightSM-r.lineWidth*2,handleFontSize:r.fontSize/2,handleVisible:o,handleActiveBg:r.colorFillAlter,handleBg:r.colorBgContainer,filledHandleBg:new e.TinyColor(r.colorFillSecondary).onBackground(r.colorBgContainer).toHexString(),handleHoverColor:r.colorPrimary,handleBorderColor:r.colorBorder,handleOpacity:o===!0?1:0})};return x_.prepareComponentToken=n,x_}var g6e;function OXt(){if(g6e)return Zg;g6e=1,Object.defineProperty(Zg,"__esModule",{value:!0}),Zg.genRadiusStyle=Zg.default=void 0;var e=Xt,t=eb(),n=uP(),r=Tn(),i=IC(),o=Jt(),a=wXt();const l=(c,f)=>{let{componentCls:h,borderRadiusSM:d,borderRadiusLG:p}=c;const g=f==="lg"?p:d;return{[`&-${f}`]:{[`${h}-handler-wrap`]:{borderStartEndRadius:g,borderEndEndRadius:g},[`${h}-handler-up`]:{borderStartEndRadius:g},[`${h}-handler-down`]:{borderEndEndRadius:g}}}};Zg.genRadiusStyle=l;const s=c=>{const{componentCls:f,lineWidth:h,lineType:d,borderRadius:p,fontSizeLG:g,controlHeightLG:m,controlHeightSM:v,colorError:y,paddingInlineSM:b,paddingBlockSM:C,paddingBlockLG:x,paddingInlineLG:S,colorTextDescription:w,motionDurationMid:O,handleHoverColor:$,paddingInline:P,paddingBlock:T,handleBg:R,handleActiveBg:M,colorTextDisabled:A,borderRadiusSM:N,borderRadiusLG:j,controlWidth:D,handleOpacity:L,handleBorderColor:B,filledHandleBg:k,lineHeightLG:z,calc:q}=c;return[{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),(0,t.genBasicInputStyle)(c)),{display:"inline-block",width:D,margin:0,padding:0,borderRadius:p}),(0,n.genOutlinedStyle)(c,{[`${f}-handler-wrap`]:{background:R,[`${f}-handler-down`]:{borderBlockStart:`${(0,e.unit)(h)} ${d} ${B}`}}})),(0,n.genFilledStyle)(c,{[`${f}-handler-wrap`]:{background:k,[`${f}-handler-down`]:{borderBlockStart:`${(0,e.unit)(h)} ${d} ${B}`}},"&:focus-within":{[`${f}-handler-wrap`]:{background:R}}})),(0,n.genBorderlessStyle)(c)),{"&-rtl":{direction:"rtl",[`${f}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:g,lineHeight:z,borderRadius:j,[`input${f}-input`]:{height:q(m).sub(q(h).mul(2)).equal(),padding:`${(0,e.unit)(x)} ${(0,e.unit)(S)}`}},"&-sm":{padding:0,borderRadius:N,[`input${f}-input`]:{height:q(v).sub(q(h).mul(2)).equal(),padding:`${(0,e.unit)(C)} ${(0,e.unit)(b)}`}},"&-out-of-range":{[`${f}-input-wrap`]:{input:{color:y}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),(0,t.genInputGroupStyle)(c)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${f}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${f}-group-addon`]:{borderRadius:j,fontSize:c.fontSizeLG}},"&-sm":{[`${f}-group-addon`]:{borderRadius:N}}},(0,n.genOutlinedGroupStyle)(c)),(0,n.genFilledGroupStyle)(c)),{[`&:not(${f}-compact-first-item):not(${f}-compact-last-item)${f}-compact-item`]:{[`${f}, ${f}-group-addon`]:{borderRadius:0}},[`&:not(${f}-compact-last-item)${f}-compact-first-item`]:{[`${f}, ${f}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${f}-compact-first-item)${f}-compact-last-item`]:{[`${f}, ${f}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${f}-input`]:{cursor:"not-allowed"},[f]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.resetComponent)(c)),{width:"100%",padding:`${(0,e.unit)(T)} ${(0,e.unit)(P)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:p,outline:0,transition:`all ${O} linear`,appearance:"textfield",fontSize:"inherit"}),(0,t.genPlaceholderStyle)(c.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[f]:Object.assign(Object.assign(Object.assign({[`&:hover ${f}-handler-wrap, &-focused ${f}-handler-wrap`]:{opacity:1},[`${f}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:c.handleWidth,height:"100%",borderStartStartRadius:0,borderStartEndRadius:p,borderEndEndRadius:p,borderEndStartRadius:0,opacity:L,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${O} linear ${O}`,[`${f}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${f}-handler-up-inner, ${f}-handler-down-inner `]:{marginInlineEnd:0,fontSize:c.handleFontSize}}},[`${f}-handler`]:{height:"50%",overflow:"hidden",color:w,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,e.unit)(h)} ${d} ${B}`,transition:`all ${O} linear`,"&:active":{background:M},"&:hover":{height:"60%",[` @@ -804,16 +804,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{cursor:"not-allowed"},[` ${f}-handler-up-disabled:hover &-handler-up-inner, ${f}-handler-down-disabled:hover &-handler-down-inner - `]:{color:A}})}]},u=c=>{const{componentCls:f,paddingBlock:h,paddingInline:d,inputAffixPadding:p,controlWidth:g,borderRadiusLG:m,borderRadiusSM:v,paddingInlineLG:y,paddingInlineSM:b,paddingBlockLG:C,paddingBlockSM:x}=c;return{[`${f}-affix-wrapper`]:Object.assign(Object.assign({[`input${f}-input`]:{padding:`${(0,e.unit)(h)} 0`}},(0,t.genBasicInputStyle)(c)),{position:"relative",display:"inline-flex",width:g,padding:0,paddingInlineStart:d,"&-lg":{borderRadius:m,paddingInlineStart:y,[`input${f}-input`]:{padding:`${(0,e.unit)(C)} 0`}},"&-sm":{borderRadius:v,paddingInlineStart:b,[`input${f}-input`]:{padding:`${(0,e.unit)(x)} 0`}},[`&:not(${f}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${f}-disabled`]:{background:"transparent"},[`> div${f}`]:{width:"100%",border:"none",outline:"none",[`&${f}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${f}-handler-wrap`]:{zIndex:2},[f]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:p},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:d,marginInlineStart:p}}})}};return Zg.default=(0,o.genStyleHooks)("InputNumber",c=>{const f=(0,o.mergeToken)(c,(0,t.initInputToken)(c));return[s(f),u(f),(0,i.genCompactItemStyle)(f)]},a.prepareComponentToken,{unitless:{handleOpacity:!0}}),Zg}var g6e;function $Ve(){if(g6e)return C_;g6e=1;var e=ze;Object.defineProperty(C_,"__esModule",{value:!0}),C_.default=void 0;var t=m(_),n=e(oP()),r=e(_Xt()),i=e(Tt()),o=e(wXt),a=jd();_n();var l=m(Lt()),s=e($a()),u=e(zr()),c=e(no()),f=fi(),h=e(Dh()),d=ts(),p=e(EXt());function g(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(g=function(O){return O?w:S})(x)}function m(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=g(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var v=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{getPrefixCls:w,direction:O}=t.useContext(l.ConfigContext),$=t.useRef(null);t.useImperativeHandle(S,()=>$.current);const{className:P,rootClassName:T,size:R,disabled:M,prefixCls:A,addonBefore:N,addonAfter:k,prefix:D,bordered:L,readOnly:B,status:j,controls:z,variant:V}=x,W=v(x,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),U=w("input-number",A),K=(0,u.default)(U),[X,G,Y]=(0,p.default)(U,K),{compactSize:J,compactItemClassnames:ee}=(0,d.useCompactItemContext)(U,O);let Q=t.createElement(r.default,{className:`${U}-handler-up-inner`}),te=t.createElement(n.default,{className:`${U}-handler-down-inner`});const ne=typeof z=="boolean"?z:void 0;typeof z=="object"&&(Q=typeof z.upIcon>"u"?Q:t.createElement("span",{className:`${U}-handler-up-inner`},z.upIcon),te=typeof z.downIcon>"u"?te:t.createElement("span",{className:`${U}-handler-down-inner`},z.downIcon));const{hasFeedback:re,status:oe,isFormItemInput:se,feedbackIcon:ye}=t.useContext(f.FormItemInputContext),be=(0,a.getMergedStatus)(oe,j),he=(0,c.default)(Te=>{var Ne;return(Ne=R??J)!==null&&Ne!==void 0?Ne:Te}),le=t.useContext(s.default),ve=M??le,[ke,Ie]=(0,h.default)(V,L),Oe=re&&t.createElement(t.Fragment,null,ye),Pe=(0,i.default)({[`${U}-lg`]:he==="large",[`${U}-sm`]:he==="small",[`${U}-rtl`]:O==="rtl",[`${U}-in-form-item`]:se},G),_e=`${U}-group`,ce=t.createElement(o.default,Object.assign({ref:$,disabled:ve,className:(0,i.default)(Y,K,P,T,ee),upHandler:Q,downHandler:te,prefixCls:U,readOnly:B,controls:ne,prefix:D,suffix:Oe,addonAfter:k&&t.createElement(d.NoCompactStyle,null,t.createElement(f.NoFormStyle,{override:!0,status:!0},k)),addonBefore:N&&t.createElement(d.NoCompactStyle,null,t.createElement(f.NoFormStyle,{override:!0,status:!0},N)),classNames:{input:Pe,variant:(0,i.default)({[`${U}-${ke}`]:Ie},(0,a.getStatusClassNames)(U,be,re)),affixWrapper:(0,i.default)({[`${U}-affix-wrapper-sm`]:he==="small",[`${U}-affix-wrapper-lg`]:he==="large",[`${U}-affix-wrapper-rtl`]:O==="rtl"},G),wrapper:(0,i.default)({[`${_e}-rtl`]:O==="rtl"},G),groupWrapper:(0,i.default)({[`${U}-group-wrapper-sm`]:he==="small",[`${U}-group-wrapper-lg`]:he==="large",[`${U}-group-wrapper-rtl`]:O==="rtl",[`${U}-group-wrapper-${ke}`]:Ie},(0,a.getStatusClassNames)(`${U}-group-wrapper`,be,re),G)}},W));return X(ce)}),b=y,C=x=>t.createElement(l.default,{theme:{components:{InputNumber:{handleVisible:!0}}}},t.createElement(y,Object.assign({},x)));return b._InternalPanelDoNotUseOrYouWillBeFired=C,C_.default=b,C_}var m6e;function hae(){if(m6e)return b_;m6e=1;var e=ze;Object.defineProperty(b_,"__esModule",{value:!0}),b_.default=void 0;var t=e(Tt()),n=o(_),r=e($Ve());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,min:u=0,max:c=100,value:f,onChange:h,className:d,formatter:p}=l;const g=`${s}-steppers`,[m,v]=(0,n.useState)(f);return(0,n.useEffect)(()=>{Number.isNaN(f)||v(f)},[f]),n.default.createElement(r.default,{className:(0,t.default)(g,d),min:u,max:c,value:m,formatter:p,size:"small",onChange:y=>{f||v(y||0),h==null||h(y)}})};return b_.default=a,b_}var v6e;function $Xt(){if(v6e)return y_;v6e=1;var e=ze;Object.defineProperty(y_,"__esModule",{value:!0}),y_.default=void 0;var t=o(_),n=Lh(),r=e(hae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-alpha-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=g=>{const m=h.toHsb();m.a=(g||0)/100;const v=(0,n.generateColor)(m);u||d(v),c==null||c(v)};return t.default.createElement(r.default,{value:(0,n.getAlphaColor)(h),prefixCls:s,formatter:g=>`${g}%`,className:f,onChange:p})};return y_.default=a,y_}var x_={},__={},w_={},y6e;function PXt(){if(y6e)return w_;y6e=1;var e=ze;Object.defineProperty(w_,"__esModule",{value:!0}),w_.default=void 0;var t=s(_),n=t,r=e(Tt());_n();var i=Lt(),o=fi(),a=e(eb());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{getPrefixCls:f,direction:h}=(0,t.useContext)(i.ConfigContext),{prefixCls:d,className:p}=c,g=f("input-group",d),m=f("input"),[v,y]=(0,a.default)(m),b=(0,r.default)(g,{[`${g}-lg`]:c.size==="large",[`${g}-sm`]:c.size==="small",[`${g}-compact`]:c.compact,[`${g}-rtl`]:h==="rtl"},y,p),C=(0,t.useContext)(o.FormItemInputContext),x=(0,t.useMemo)(()=>Object.assign(Object.assign({},C),{isFormItemInput:!1}),[C]);return v(n.createElement("span",{className:b,style:c.style,onMouseEnter:c.onMouseEnter,onMouseLeave:c.onMouseLeave,onFocus:c.onFocus,onBlur:c.onBlur},n.createElement(o.FormItemInputContext.Provider,{value:x},c.children)))};return w_.default=u,w_}var s2={};const TXt=cr(Ewt);var YR={},b6e;function PVe(){if(b6e)return YR;b6e=1,Object.defineProperty(YR,"__esModule",{value:!0}),YR.default=t;var e=_;function t(n,r){const i=(0,e.useRef)([]),o=()=>{i.current.push(setTimeout(()=>{var a,l,s,u;!((a=n.current)===null||a===void 0)&&a.input&&((l=n.current)===null||l===void 0?void 0:l.input.getAttribute("type"))==="password"&&(!((s=n.current)===null||s===void 0)&&s.input.hasAttribute("value"))&&((u=n.current)===null||u===void 0||u.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(r&&o(),()=>i.current.forEach(a=>{a&&clearTimeout(a)})),[]),o}return YR}var ZR={},C6e;function MXt(){if(C6e)return ZR;C6e=1,Object.defineProperty(ZR,"__esModule",{value:!0}),ZR.hasPrefixSuffix=e;function e(t){return!!(t.prefix||t.suffix||t.allowClear||t.showCount)}return ZR}var O_={},S6e;function TVe(){if(S6e)return O_;S6e=1;var e=ze;Object.defineProperty(O_,"__esModule",{value:!0}),O_.default=void 0;var t=e(_),n=e(qf());const r=i=>{let o;return typeof i=="object"&&(i!=null&&i.clearIcon)?o=i:i&&(o={clearIcon:t.default.createElement(n.default,null)}),o};return O_.default=r,O_}var x6e;function IF(){if(x6e)return s2;x6e=1;var e=ze;Object.defineProperty(s2,"__esModule",{value:!0}),s2.default=void 0,s2.triggerFocus=C;var t=y(_),n=e(Tt()),r=e(TXt),i=Nc(),o=jd();_n();var a=Lt(),l=e($a()),s=e(no()),u=fi(),c=ts(),f=e(PVe()),h=e(eb()),d=MXt(),p=e(zr()),g=e(Dh()),m=e(TVe());function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};function C(S,w){if(!S)return;S.focus(w);const{cursor:O}=w||{};if(O){const $=S.value.length;switch(O){case"start":S.setSelectionRange(0,0);break;case"end":S.setSelectionRange($,$);break;default:S.setSelectionRange(0,$);break}}}const x=(0,t.forwardRef)((S,w)=>{var O;const{prefixCls:$,bordered:P=!0,status:T,size:R,disabled:M,onBlur:A,onFocus:N,suffix:k,allowClear:D,addonAfter:L,addonBefore:B,className:j,style:z,styles:V,rootClassName:W,onChange:U,classNames:K,variant:X}=S,G=b(S,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Y,direction:J,input:ee}=t.default.useContext(a.ConfigContext),Q=Y("input",$),te=(0,t.useRef)(null),ne=(0,p.default)(Q),[re,oe,se]=(0,h.default)(Q,ne),{compactSize:ye,compactItemClassnames:be}=(0,c.useCompactItemContext)(Q,J),he=(0,s.default)(Ee=>{var $e;return($e=R??ye)!==null&&$e!==void 0?$e:Ee}),le=t.default.useContext(l.default),ve=M??le,{status:ke,hasFeedback:Ie,feedbackIcon:Oe}=(0,t.useContext)(u.FormItemInputContext),Pe=(0,o.getMergedStatus)(ke,T),_e=(0,d.hasPrefixSuffix)(S)||!!Ie;(0,t.useRef)(_e);const ce=(0,f.default)(te,!0),Te=Ee=>{ce(),A==null||A(Ee)},Ne=Ee=>{ce(),N==null||N(Ee)},je=Ee=>{ce(),U==null||U(Ee)},He=(Ie||k)&&t.default.createElement(t.default.Fragment,null,k,Ie&&Oe),Be=(0,m.default)(D),[qe,me]=(0,g.default)(X,P);return re(t.default.createElement(r.default,Object.assign({ref:(0,i.composeRef)(w,te),prefixCls:Q,autoComplete:ee==null?void 0:ee.autoComplete},G,{disabled:ve,onBlur:Te,onFocus:Ne,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),z),styles:Object.assign(Object.assign({},ee==null?void 0:ee.styles),V),suffix:He,allowClear:Be,className:(0,n.default)(j,W,se,ne,be,ee==null?void 0:ee.className),onChange:je,addonAfter:L&&t.default.createElement(c.NoCompactStyle,null,t.default.createElement(u.NoFormStyle,{override:!0,status:!0},L)),addonBefore:B&&t.default.createElement(c.NoCompactStyle,null,t.default.createElement(u.NoFormStyle,{override:!0,status:!0},B)),classNames:Object.assign(Object.assign(Object.assign({},K),ee==null?void 0:ee.classNames),{input:(0,n.default)({[`${Q}-sm`]:he==="small",[`${Q}-lg`]:he==="large",[`${Q}-rtl`]:J==="rtl"},K==null?void 0:K.input,(O=ee==null?void 0:ee.classNames)===null||O===void 0?void 0:O.input,oe),variant:(0,n.default)({[`${Q}-${qe}`]:me},(0,o.getStatusClassNames)(Q,Pe)),affixWrapper:(0,n.default)({[`${Q}-affix-wrapper-sm`]:he==="small",[`${Q}-affix-wrapper-lg`]:he==="large",[`${Q}-affix-wrapper-rtl`]:J==="rtl"},oe),wrapper:(0,n.default)({[`${Q}-group-rtl`]:J==="rtl"},oe),groupWrapper:(0,n.default)({[`${Q}-group-wrapper-sm`]:he==="small",[`${Q}-group-wrapper-lg`]:he==="large",[`${Q}-group-wrapper-rtl`]:J==="rtl",[`${Q}-group-wrapper-${qe}`]:me},(0,o.getStatusClassNames)(`${Q}-group-wrapper`,Pe,Ie),oe)})})))});return s2.default=x,s2}var E_={},QR={exports:{}},mG={},JR={},_6e;function RXt(){if(_6e)return JR;_6e=1,Object.defineProperty(JR,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};return JR.default=e,JR}var w6e;function IXt(){return w6e||(w6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(RXt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pv?n.createElement(i.default,null):n.createElement(r.default,null),g={click:"onClick",hover:"onMouseOver"},m=n.forwardRef((v,y)=>{const{visibilityToggle:b=!0}=v,C=typeof b=="object"&&b.visible!==void 0,[x,S]=(0,t.useState)(()=>C?b.visible:!1),w=(0,t.useRef)(null);n.useEffect(()=>{C&&S(b.visible)},[C,b]);const O=(0,u.default)(w),$=()=>{const{disabled:V}=v;V||(x&&O(),S(W=>{var U;const K=!W;return typeof b=="object"&&((U=b.onVisibleChange)===null||U===void 0||U.call(b,K)),K}))},P=V=>{const{action:W="click",iconRender:U=p}=v,K=g[W]||"",X=U(x),G={[K]:$,className:`${V}-icon`,key:"passwordIcon",onMouseDown:Y=>{Y.preventDefault()},onMouseUp:Y=>{Y.preventDefault()}};return n.cloneElement(n.isValidElement(X)?X:n.createElement("span",null,X),G)},{className:T,prefixCls:R,inputPrefixCls:M,size:A}=v,N=d(v,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:k}=n.useContext(s.ConfigContext),D=k("input",M),L=k("input-password",R),B=b&&P(L),j=(0,o.default)(L,T,{[`${L}-${A}`]:!!A}),z=Object.assign(Object.assign({},(0,a.default)(N,["suffix","iconRender","visibilityToggle"])),{type:x?"text":"password",className:j,prefixCls:D,suffix:B});return A&&(z.size=A),n.createElement(c.default,Object.assign({ref:(0,l.composeRef)(y,w)},z))});return E_.default=m,E_}var $_={},M6e;function DXt(){if(M6e)return $_;M6e=1;var e=ze;Object.defineProperty($_,"__esModule",{value:!0}),$_.default=void 0;var t=h(_),n=e(_F()),r=e(Tt()),i=Nc(),o=to(),a=e(Ac()),l=Lt(),s=e(no()),u=ts(),c=e(IF());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,inputPrefixCls:y,className:b,size:C,suffix:x,enterButton:S=!1,addonAfter:w,loading:O,disabled:$,onSearch:P,onChange:T,onCompositionStart:R,onCompositionEnd:M}=g,A=d(g,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:N,direction:k}=t.useContext(l.ConfigContext),D=t.useRef(!1),L=N("input-search",v),B=N("input",y),{compactSize:j}=(0,u.useCompactItemContext)(L,k),z=(0,s.default)(oe=>{var se;return(se=C??j)!==null&&se!==void 0?se:oe}),V=t.useRef(null),W=oe=>{oe&&oe.target&&oe.type==="click"&&P&&P(oe.target.value,oe,{source:"clear"}),T&&T(oe)},U=oe=>{var se;document.activeElement===((se=V.current)===null||se===void 0?void 0:se.input)&&oe.preventDefault()},K=oe=>{var se,ye;P&&P((ye=(se=V.current)===null||se===void 0?void 0:se.input)===null||ye===void 0?void 0:ye.value,oe,{source:"input"})},X=oe=>{D.current||O||K(oe)},G=typeof S=="boolean"?t.createElement(n.default,null):null,Y=`${L}-button`;let J;const ee=S||{},Q=ee.type&&ee.type.__ANT_BUTTON===!0;Q||ee.type==="button"?J=(0,o.cloneElement)(ee,Object.assign({onMouseDown:U,onClick:oe=>{var se,ye;(ye=(se=ee==null?void 0:ee.props)===null||se===void 0?void 0:se.onClick)===null||ye===void 0||ye.call(se,oe),K(oe)},key:"enterButton"},Q?{className:Y,size:z}:{})):J=t.createElement(a.default,{className:Y,type:S?"primary":void 0,size:z,disabled:$,key:"enterButton",onMouseDown:U,onClick:K,loading:O,icon:G},S),w&&(J=[J,(0,o.cloneElement)(w,{key:"addonAfter"})]);const te=(0,r.default)(L,{[`${L}-rtl`]:k==="rtl",[`${L}-${z}`]:!!z,[`${L}-with-button`]:!!S},b),ne=oe=>{D.current=!0,R==null||R(oe)},re=oe=>{D.current=!1,M==null||M(oe)};return t.createElement(c.default,Object.assign({ref:(0,i.composeRef)(V,m),onPressEnter:X},A,{size:z,onCompositionStart:ne,onCompositionEnd:re,prefixCls:B,addonAfter:J,suffix:x,onChange:W,className:te,disabled:$}))});return $_.default=p,$_}var P_={};const LXt=cr(SOt);var R6e;function MVe(){if(R6e)return P_;R6e=1;var e=ze;Object.defineProperty(P_,"__esModule",{value:!0}),P_.default=void 0;var t=m(_),n=t,r=e(qf()),i=e(Tt()),o=e(LXt),a=jd(),l=Lt(),s=e($a()),u=e(no()),c=fi(),f=IF(),h=e(eb()),d=e(zr()),p=e(Dh());_n();function g(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(g=function(S){return S?x:C})(b)}function m(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=g(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var v=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{var x;const{prefixCls:S,bordered:w=!0,size:O,disabled:$,status:P,allowClear:T,classNames:R,rootClassName:M,className:A,variant:N}=b,k=v(b,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","variant"]),{getPrefixCls:D,direction:L}=n.useContext(l.ConfigContext),B=(0,u.default)(O),j=n.useContext(s.default),z=$??j,{status:V,hasFeedback:W,feedbackIcon:U}=n.useContext(c.FormItemInputContext),K=(0,a.getMergedStatus)(V,P),X=n.useRef(null);n.useImperativeHandle(C,()=>{var oe;return{resizableTextArea:(oe=X.current)===null||oe===void 0?void 0:oe.resizableTextArea,focus:se=>{var ye,be;(0,f.triggerFocus)((be=(ye=X.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||be===void 0?void 0:be.textArea,se)},blur:()=>{var se;return(se=X.current)===null||se===void 0?void 0:se.blur()}}});const G=D("input",S);let Y;typeof T=="object"&&(T!=null&&T.clearIcon)?Y=T:T&&(Y={clearIcon:n.createElement(r.default,null)});const J=(0,d.default)(G),[ee,Q,te]=(0,h.default)(G,J),[ne,re]=(0,p.default)(N,w);return ee(n.createElement(o.default,Object.assign({},k,{disabled:z,allowClear:Y,className:(0,i.default)(te,J,A,M),classNames:Object.assign(Object.assign({},R),{textarea:(0,i.default)({[`${G}-sm`]:B==="small",[`${G}-lg`]:B==="large"},Q,R==null?void 0:R.textarea),variant:(0,i.default)({[`${G}-${ne}`]:re},(0,a.getStatusClassNames)(G,K)),affixWrapper:(0,i.default)(`${G}-textarea-affix-wrapper`,{[`${G}-affix-wrapper-rtl`]:L==="rtl",[`${G}-affix-wrapper-sm`]:B==="small",[`${G}-affix-wrapper-lg`]:B==="large",[`${G}-textarea-show-count`]:b.showCount||((x=b.count)===null||x===void 0?void 0:x.show)},Q)}),prefixCls:G,suffix:W&&n.createElement("span",{className:`${G}-textarea-suffix`},U),ref:X})))});return P_.default=y,P_}var I6e;function NF(){if(I6e)return __;I6e=1;var e=ze;Object.defineProperty(__,"__esModule",{value:!0}),__.default=void 0;var t=e(PXt()),n=e(IF()),r=e(jXt()),i=e(DXt()),o=e(MVe());const a=n.default;return a.Group=t.default,a.Search=i.default,a.TextArea=o.default,a.Password=r.default,__.default=a,__}var N6e;function zXt(){if(N6e)return x_;N6e=1;var e=ze;Object.defineProperty(x_,"__esModule",{value:!0}),x_.default=void 0;var t=a(_),n=e(NF()),r=OVe(),i=Lh();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const l=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,s=c=>l.test(`#${c}`),u=c=>{let{prefixCls:f,value:h,onChange:d}=c;const p=`${f}-hex-input`,[g,m]=(0,t.useState)(h==null?void 0:h.toHex());(0,t.useEffect)(()=>{const y=h==null?void 0:h.toHex();s(y)&&h&&m((0,r.toHexFormat)(y))},[h]);const v=y=>{const b=y.target.value;m((0,r.toHexFormat)(b)),s((0,r.toHexFormat)(b,!0))&&(d==null||d((0,i.generateColor)(b)))};return t.default.createElement(n.default,{className:p,value:g,prefix:"#",onChange:v,size:"small"})};return x_.default=u,x_}var T_={},A6e;function BXt(){if(A6e)return T_;A6e=1;var e=ze;Object.defineProperty(T_,"__esModule",{value:!0}),T_.default=void 0;var t=o(_),n=Lh(),r=e(hae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-hsb-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=(g,m)=>{const v=h.toHsb();v[m]=m==="h"?g:(g||0)/100;const y=(0,n.generateColor)(v);u||d(y),c==null||c(y)};return t.default.createElement("div",{className:f},t.default.createElement(r.default,{max:360,min:0,value:Number(h.toHsb().h),prefixCls:s,className:f,formatter:g=>(0,n.getRoundNumber)(g||0).toString(),onChange:g=>p(Number(g),"h")}),t.default.createElement(r.default,{max:100,min:0,value:Number(h.toHsb().s)*100,prefixCls:s,className:f,formatter:g=>`${(0,n.getRoundNumber)(g||0)}%`,onChange:g=>p(Number(g),"s")}),t.default.createElement(r.default,{max:100,min:0,value:Number(h.toHsb().b)*100,prefixCls:s,className:f,formatter:g=>`${(0,n.getRoundNumber)(g||0)}%`,onChange:g=>p(Number(g),"b")}))};return T_.default=a,T_}var M_={},k6e;function FXt(){if(k6e)return M_;k6e=1;var e=ze;Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=void 0;var t=o(_),n=Lh(),r=e(hae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-rgb-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=(g,m)=>{const v=h.toRgb();v[m]=g||0;const y=(0,n.generateColor)(v);u||d(y),c==null||c(y)};return t.default.createElement("div",{className:f},t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().r),prefixCls:s,className:f,onChange:g=>p(Number(g),"r")}),t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().g),prefixCls:s,className:f,onChange:g=>p(Number(g),"g")}),t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().b),prefixCls:s,className:f,onChange:g=>p(Number(g),"b")}))};return M_.default=a,M_}var j6e;function HXt(){if(j6e)return m_;j6e=1;var e=ze;Object.defineProperty(m_,"__esModule",{value:!0}),m_.default=void 0;var t=e(ns()),n=c(_),r=e(aP()),i=CXt(),o=e($Xt()),a=e(zXt()),l=e(BXt()),s=e(FXt());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f=[i.ColorFormat.hex,i.ColorFormat.hsb,i.ColorFormat.rgb].map(d=>({value:d,label:d.toLocaleUpperCase()})),h=d=>{const{prefixCls:p,format:g,value:m,disabledAlpha:v,onFormatChange:y,onChange:b}=d,[C,x]=(0,t.default)(i.ColorFormat.hex,{value:g,onChange:y}),S=`${p}-input`,w=$=>{x($)},O=(0,n.useMemo)(()=>{const $={value:m,prefixCls:p,onChange:b};switch(C){case i.ColorFormat.hsb:return n.default.createElement(l.default,Object.assign({},$));case i.ColorFormat.rgb:return n.default.createElement(s.default,Object.assign({},$));case i.ColorFormat.hex:default:return n.default.createElement(a.default,Object.assign({},$))}},[C,p,m,b]);return n.default.createElement("div",{className:`${S}-container`},n.default.createElement(r.default,{value:C,variant:"borderless",getPopupContainer:$=>$,popupMatchSelectWidth:68,placement:"bottomRight",onChange:w,className:`${p}-format-select`,size:"small",options:f}),n.default.createElement("div",{className:S},O),!v&&n.default.createElement(o.default,{prefixCls:p,value:m,onChange:b}))};return m_.default=h,m_}var D6e;function WXt(){if(D6e)return h_;D6e=1;var e=ze;Object.defineProperty(h_,"__esModule",{value:!0}),h_.default=void 0;var t=e(RF),n=l(_),r=pae(),i=e(EVe()),o=e(HXt());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const c=(0,n.useContext)(r.PanelPickerContext),{prefixCls:f,colorCleared:h,allowClear:d,value:p,disabledAlpha:g,onChange:m,onClear:v,onChangeComplete:y}=c,b=s(c,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return n.default.createElement(n.default.Fragment,null,d&&n.default.createElement(i.default,Object.assign({prefixCls:f,value:p,colorCleared:h,onChange:C=>{m==null||m(C),v==null||v()}},b)),n.default.createElement(t.default,{prefixCls:f,value:p==null?void 0:p.toHsb(),disabledAlpha:g,onChange:(C,x)=>m==null?void 0:m(C,x,!0),onChangeComplete:y}),n.default.createElement(o.default,Object.assign({value:p,onChange:m,prefixCls:f,disabledAlpha:g},b)))};return h_.default=u,h_}var R_={},I_={},L6e;function qXt(){if(L6e)return I_;L6e=1;var e=ze;Object.defineProperty(I_,"__esModule",{value:!0}),I_.default=void 0;var t=c(_),n=RF,r=e(Tt()),i=e(ns()),o=e(_Ve()),a=Rl(),l=Jt(),s=Lh();function u(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(u=function(y){return y?v:m})(g)}function c(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=u(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const f=g=>g.map(m=>(m.colors=m.colors.map(s.generateColor),m)),h=(g,m)=>{const{r:v,g:y,b,a:C}=g.toRgb(),x=new n.Color(g.toRgbString()).onBackground(m).toHsv();return C<=.5?x.v>.5:v*.299+y*.587+b*.114>192},d=g=>{let{label:m}=g;return`panel-${m}`},p=g=>{let{prefixCls:m,presets:v,value:y,onChange:b}=g;const[C]=(0,a.useLocale)("ColorPicker"),[,x]=(0,l.useToken)(),[S]=(0,i.default)(f(v),{value:f(v),postState:f}),w=`${m}-presets`,O=(0,t.useMemo)(()=>S.reduce((T,R)=>{const{defaultOpen:M=!0}=R;return M&&T.push(d(R)),T},[]),[S]),$=T=>{b==null||b(T)},P=S.map(T=>{var R;return{key:d(T),label:t.default.createElement("div",{className:`${w}-label`},T==null?void 0:T.label),children:t.default.createElement("div",{className:`${w}-items`},Array.isArray(T==null?void 0:T.colors)&&((R=T.colors)===null||R===void 0?void 0:R.length)>0?T.colors.map((M,A)=>t.default.createElement(n.ColorBlock,{key:`preset-${A}-${M.toHexString()}`,color:(0,s.generateColor)(M).toRgbString(),prefixCls:m,className:(0,r.default)(`${w}-color`,{[`${w}-color-checked`]:M.toHexString()===(y==null?void 0:y.toHexString()),[`${w}-color-bright`]:h(M,x.colorBgElevated)}),onClick:()=>$(M)})):t.default.createElement("span",{className:`${w}-empty`},C.presetEmpty))}});return t.default.createElement("div",{className:w},t.default.createElement(o.default,{defaultActiveKey:O,ghost:!0,items:P}))};return I_.default=p,I_}var z6e;function VXt(){if(z6e)return R_;z6e=1;var e=ze;Object.defineProperty(R_,"__esModule",{value:!0}),R_.default=void 0;var t=o(_),n=pae(),r=e(qXt());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{prefixCls:l,value:s,presets:u,onChange:c}=(0,t.useContext)(n.PanelPresetsContext);return Array.isArray(u)?t.default.createElement(r.default,{value:s,presets:u,prefixCls:l,onChange:c}):null};return R_.default=a,R_}var B6e;function UXt(){if(B6e)return f_;B6e=1;var e=ze;Object.defineProperty(f_,"__esModule",{value:!0}),f_.default=void 0;var t=e(_),n=e(wVe()),r=e(WXt()),i=e(VXt()),o=pae(),a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{prefixCls:u,presets:c,panelRender:f,color:h,onChange:d,onClear:p}=s,g=a(s,["prefixCls","presets","panelRender","color","onChange","onClear"]),m=`${u}-inner`,v=Object.assign({prefixCls:u,value:h,onChange:d,onClear:p},g),y=t.default.useMemo(()=>({prefixCls:u,value:h,presets:c,onChange:d}),[u,h,c,d]),b=t.default.createElement("div",{className:`${m}-content`},t.default.createElement(r.default,null),Array.isArray(c)&&t.default.createElement(n.default,null),t.default.createElement(i.default,null));return t.default.createElement(o.PanelPickerProvider,{value:v},t.default.createElement(o.PanelPresetsProvider,{value:y},t.default.createElement("div",{className:m},typeof f=="function"?f(b,{components:{Picker:r.default,Presets:i.default}}):b)))};return f_.default=l,f_}var N_={},F6e;function GXt(){if(F6e)return N_;F6e=1;var e=ze;Object.defineProperty(N_,"__esModule",{value:!0}),N_.default=void 0;var t=RF,n=e(Tt()),r=l(_),i=Lh(),o=e(EVe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{color:h,prefixCls:d,open:p,colorCleared:g,disabled:m,format:v,className:y,showText:b}=c,C=s(c,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),x=`${d}-trigger`,S=(0,r.useMemo)(()=>g?r.default.createElement(o.default,{prefixCls:d}):r.default.createElement(t.ColorBlock,{prefixCls:d,color:h.toRgbString()}),[h,g,d]),w=()=>{const $=h.toHexString().toUpperCase(),P=(0,i.getAlphaColor)(h);switch(v){case"rgb":return h.toRgbString();case"hsb":return h.toHsbString();case"hex":default:return P<100?`${$.slice(0,7)},${P}%`:$}},O=()=>{if(typeof b=="function")return b(h);if(b)return w()};return r.default.createElement("div",Object.assign({ref:f,className:(0,n.default)(x,y,{[`${x}-active`]:p,[`${x}-disabled`]:m})},C),S,b&&r.default.createElement("div",{className:`${x}-text`},O()))});return N_.default=u,N_}var A_={},H6e;function KXt(){if(H6e)return A_;H6e=1,Object.defineProperty(A_,"__esModule",{value:!0}),A_.default=void 0;var e=_,t=Lh();function n(i){return i!==void 0}const r=(i,o)=>{const{defaultValue:a,value:l}=o,[s,u]=(0,e.useState)(()=>{let c;return n(l)?c=l:n(a)?c=a:c=i,(0,t.generateColor)(c||"")});return(0,e.useEffect)(()=>{l&&u((0,t.generateColor)(l))},[l]),[s,u]};return A_.default=r,A_}var Qg={},Jg={},W6e;function RVe(){if(W6e)return Jg;W6e=1,Object.defineProperty(Jg,"__esModule",{value:!0}),Jg.getTransBg=Jg.default=void 0;var e=Xt;const t=(r,i)=>({backgroundImage:`conic-gradient(${i} 0 25%, transparent 0 50%, ${i} 0 75%, transparent 0)`,backgroundSize:`${r} ${r}`});Jg.getTransBg=t;const n=(r,i)=>{const{componentCls:o,borderRadiusSM:a,colorPickerInsetShadow:l,lineWidth:s,colorFillSecondary:u}=r;return{[`${o}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:a,width:i,height:i,boxShadow:l},t("50%",r.colorFillSecondary)),{[`${o}-color-block-inner`]:{width:"100%",height:"100%",border:`${(0,e.unit)(s)} solid ${u}`,borderRadius:"inherit"}})}};return Jg.default=n,Jg}var k_={},q6e;function XXt(){if(q6e)return k_;q6e=1,Object.defineProperty(k_,"__esModule",{value:!0}),k_.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,fontSizeSM:o,lineHeightSM:a,colorPickerAlphaInputWidth:l,marginXXS:s,paddingXXS:u,controlHeightSM:c,marginXS:f,fontSizeIcon:h,paddingXS:d,colorTextPlaceholder:p,colorPickerInputNumberHandleWidth:g,lineWidth:m}=n;return{[`${r}-input-container`]:{display:"flex",[`${r}-steppers${i}-input-number`]:{fontSize:o,lineHeight:a,[`${i}-input-number-input`]:{paddingInlineStart:u,paddingInlineEnd:0},[`${i}-input-number-handler-wrap`]:{width:g}},[`${r}-steppers${r}-alpha-input`]:{flex:`0 0 ${(0,e.unit)(l)}`,marginInlineStart:s},[`${r}-format-select${i}-select`]:{marginInlineEnd:f,width:"auto","&-single":{[`${i}-select-selector`]:{padding:0,border:0},[`${i}-select-arrow`]:{insetInlineEnd:0},[`${i}-select-selection-item`]:{paddingInlineEnd:n.calc(h).add(s).equal(),fontSize:o,lineHeight:`${(0,e.unit)(c)}`},[`${i}-select-item-option-content`]:{fontSize:o,lineHeight:a},[`${i}-select-dropdown`]:{[`${i}-select-item`]:{minHeight:"auto"}}}},[`${r}-input`]:{gap:s,alignItems:"center",flex:1,width:0,[`${r}-hsb-input,${r}-rgb-input`]:{display:"flex",gap:s,alignItems:"center"},[`${r}-steppers`]:{flex:1},[`${r}-hex-input${i}-input-affix-wrapper`]:{flex:1,padding:`0 ${(0,e.unit)(d)}`,[`${i}-input`]:{fontSize:o,textTransform:"uppercase",lineHeight:(0,e.unit)(n.calc(c).sub(n.calc(m).mul(2)).equal())},[`${i}-input-prefix`]:{color:p}}}}}};return k_.default=t,k_}var j_={},V6e;function YXt(){if(V6e)return j_;V6e=1,Object.defineProperty(j_,"__esModule",{value:!0}),j_.default=void 0;var e=Xt,t=RVe();const n=r=>{const{componentCls:i,controlHeightLG:o,borderRadiusSM:a,colorPickerInsetShadow:l,marginSM:s,colorBgElevated:u,colorFillSecondary:c,lineWidthBold:f,colorPickerHandlerSize:h,colorPickerHandlerSizeSM:d,colorPickerSliderHeight:p}=r;return{[`${i}-select`]:{[`${i}-palette`]:{minHeight:r.calc(o).mul(4).equal(),overflow:"hidden",borderRadius:a},[`${i}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:l,inset:0},marginBottom:s},[`${i}-handler`]:{width:h,height:h,border:`${(0,e.unit)(f)} solid ${u}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${l}, 0 0 0 1px ${c}`,"&-sm":{width:d,height:d}},[`${i}-slider`]:{borderRadius:r.calc(p).div(2).equal(),[`${i}-palette`]:{height:p},[`${i}-gradient`]:{borderRadius:r.calc(p).div(2).equal(),boxShadow:l},"&-alpha":(0,t.getTransBg)(`${(0,e.unit)(p)}`,r.colorFillSecondary),"&-hue":{marginBottom:s}},[`${i}-slider-container`]:{display:"flex",gap:s,marginBottom:s,[`${i}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${i}-slider`]:{flex:1,marginBottom:0}}}}}};return j_.default=n,j_}var D_={},U6e;function ZXt(){if(U6e)return D_;U6e=1,Object.defineProperty(D_,"__esModule",{value:!0}),D_.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,colorTextQuaternary:o,paddingXXS:a,colorPickerPresetColorSize:l,fontSizeSM:s,colorText:u,lineHeightSM:c,lineWidth:f,borderRadius:h,colorFill:d,colorWhite:p,marginXXS:g,paddingXS:m,fontHeightSM:v}=n;return{[`${r}-presets`]:{[`${i}-collapse-item > ${i}-collapse-header`]:{padding:0,[`${i}-collapse-expand-icon`]:{height:v,color:o,paddingInlineEnd:a}},[`${i}-collapse`]:{display:"flex",flexDirection:"column",gap:g},[`${i}-collapse-item > ${i}-collapse-content > ${i}-collapse-content-box`]:{padding:`${(0,e.unit)(m)} 0`},"&-label":{fontSize:s,color:u,lineHeight:c},"&-items":{display:"flex",flexWrap:"wrap",gap:n.calc(g).mul(1.5).equal(),[`${r}-presets-color`]:{position:"relative",cursor:"pointer",width:l,height:l,"&::before":{content:'""',pointerEvents:"none",width:n.calc(l).add(n.calc(f).mul(4)).equal(),height:n.calc(l).add(n.calc(f).mul(4)).equal(),position:"absolute",top:n.calc(f).mul(-2).equal(),insetInlineStart:n.calc(f).mul(-2).equal(),borderRadius:h,border:`${(0,e.unit)(f)} solid transparent`,transition:`border-color ${n.motionDurationMid} ${n.motionEaseInBack}`},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:n.calc(l).div(13).mul(5).equal(),height:n.calc(l).div(13).mul(8).equal(),border:`${(0,e.unit)(n.lineWidthBold)} solid ${n.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${n.motionDurationFast} ${n.motionEaseInBack}, opacity ${n.motionDurationFast}`},[`&${r}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:p,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${n.motionDurationMid} ${n.motionEaseOutBack} ${n.motionDurationFast}`},[`&${r}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:s,color:o}}}};return D_.default=t,D_}var G6e;function QXt(){if(G6e)return Qg;G6e=1;var e=ze;Object.defineProperty(Qg,"__esModule",{value:!0}),Qg.genActiveStyle=Qg.default=void 0;var t=Xt,n=Jt(),r=e(RVe()),i=e(XXt()),o=e(YXt()),a=e(ZXt());const l=(d,p,g)=>({borderInlineEndWidth:d.lineWidth,borderColor:p,boxShadow:`0 0 0 ${(0,t.unit)(d.controlOutlineWidth)} ${g}`,outline:0});Qg.genActiveStyle=l;const s=d=>{const{componentCls:p}=d;return{"&-rtl":{[`${p}-presets-color`]:{"&::after":{direction:"ltr"}},[`${p}-clear`]:{"&::after":{direction:"ltr"}}}}},u=(d,p,g)=>{const{componentCls:m,borderRadiusSM:v,lineWidth:y,colorSplit:b,red6:C}=d;return{[`${m}-clear`]:Object.assign(Object.assign({width:p,height:p,borderRadius:v,border:`${(0,t.unit)(y)} solid ${b}`,position:"relative",overflow:"hidden"},g),{"&::after":{content:'""',position:"absolute",insetInlineEnd:y,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:C}})}},c=d=>{const{componentCls:p,colorError:g,colorWarning:m,colorErrorHover:v,colorWarningHover:y,colorErrorOutline:b,colorWarningOutline:C}=d;return{[`&${p}-status-error`]:{borderColor:g,"&:hover":{borderColor:v},[`&${p}-trigger-active`]:Object.assign({},l(d,g,b))},[`&${p}-status-warning`]:{borderColor:m,"&:hover":{borderColor:y},[`&${p}-trigger-active`]:Object.assign({},l(d,m,C))}}},f=d=>{const{componentCls:p,controlHeightLG:g,controlHeightSM:m,controlHeight:v,controlHeightXS:y,borderRadius:b,borderRadiusSM:C,borderRadiusXS:x,borderRadiusLG:S,fontSizeLG:w}=d;return{[`&${p}-lg`]:{minWidth:g,height:g,borderRadius:S,[`${p}-color-block, ${p}-clear`]:{width:v,height:v,borderRadius:b},[`${p}-trigger-text`]:{fontSize:w}},[`&${p}-sm`]:{minWidth:m,height:m,borderRadius:C,[`${p}-color-block, ${p}-clear`]:{width:y,height:y,borderRadius:x}}}},h=d=>{const{antCls:p,componentCls:g,colorPickerWidth:m,colorPrimary:v,motionDurationMid:y,colorBgElevated:b,colorTextDisabled:C,colorText:x,colorBgContainerDisabled:S,borderRadius:w,marginXS:O,marginSM:$,controlHeight:P,controlHeightSM:T,colorBgTextActive:R,colorPickerPresetColorSize:M,colorPickerPreviewSize:A,lineWidth:N,colorBorder:k,paddingXXS:D,fontSize:L,colorPrimaryHover:B,controlOutline:j}=d;return[{[g]:Object.assign({[`${g}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:m,[`& > ${p}-divider`]:{margin:`${(0,t.unit)($)} 0 ${(0,t.unit)(O)}`}},[`${g}-panel`]:Object.assign({},(0,o.default)(d))},(0,r.default)(d,A)),(0,i.default)(d)),(0,a.default)(d)),u(d,M,{marginInlineStart:"auto",marginBottom:O})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:P,height:P,borderRadius:w,border:`${(0,t.unit)(N)} solid ${k}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${y}`,background:b,padding:d.calc(D).sub(N).equal(),[`${g}-trigger-text`]:{marginInlineStart:O,marginInlineEnd:d.calc(O).sub(d.calc(D).sub(N)).equal(),fontSize:L,color:x},"&:hover":{borderColor:B},[`&${g}-trigger-active`]:Object.assign({},l(d,v,j)),"&-disabled":{color:C,background:S,cursor:"not-allowed","&:hover":{borderColor:R},[`${g}-trigger-text`]:{color:C}}},u(d,T)),(0,r.default)(d,T)),c(d)),f(d))},s(d))}]};return Qg.default=(0,n.genStyleHooks)("ColorPicker",d=>{const{colorTextQuaternary:p,marginSM:g}=d,m=8,v=(0,n.mergeToken)(d,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${p}`,colorPickerSliderHeight:m,colorPickerPreviewSize:d.calc(m).mul(2).add(g).equal()});return[h(v)]}),Qg}var K6e;function JXt(){if(K6e)return d_;K6e=1;var e=ze;Object.defineProperty(d_,"__esModule",{value:!0}),d_.default=void 0;var t=y(_),n=e(Tt()),r=e(ns()),i=e(kd()),o=jd();_n();var a=Q$(),l=e($a()),s=e(zr()),u=e(no()),c=fi(),f=e($F()),h=e(UXt()),d=e(GXt()),p=e(KXt()),g=e(QXt()),m=Lh();function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const C=S=>{const{value:w,defaultValue:O,format:$,defaultFormat:P,allowClear:T=!1,presets:R,children:M,trigger:A="click",open:N,disabled:k,placement:D="bottomLeft",arrow:L=!0,panelRender:B,showText:j,style:z,className:V,size:W,rootClassName:U,prefixCls:K,styles:X,disabledAlpha:G=!1,onFormatChange:Y,onChange:J,onClear:ee,onOpenChange:Q,onChangeComplete:te,getPopupContainer:ne,autoAdjustOverflow:re=!0,destroyTooltipOnHide:oe}=S,se=b(S,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:ye,direction:be,colorPicker:he}=(0,t.useContext)(a.ConfigContext),le=(0,t.useContext)(l.default),ve=k??le,[ke,Ie]=(0,p.default)("",{value:w,defaultValue:O}),[Oe,Pe]=(0,r.default)(!1,{value:N,postState:at=>!ve&&at,onChange:Q}),[_e,ce]=(0,r.default)($,{value:$,defaultValue:P,onChange:Y}),[Te,Ne]=(0,t.useState)(!w&&!O),je=ye("color-picker",K),He=(0,t.useMemo)(()=>(0,m.getAlphaColor)(ke)<100,[ke]),{status:Be}=t.default.useContext(c.FormItemInputContext),qe=(0,u.default)(W),me=(0,s.default)(je),[Ee,$e,Le]=(0,g.default)(je,me),Fe={[`${je}-rtl`]:be},Ke=(0,n.default)(U,Le,me,Fe),lt=(0,n.default)((0,o.getStatusClassNames)(je,Be),{[`${je}-sm`]:qe==="small",[`${je}-lg`]:qe==="large"},he==null?void 0:he.className,Ke,V,$e),ft=(0,n.default)(je,Ke),Ye=(0,t.useRef)(!0),we=(at,et,rt)=>{let Ze=(0,m.generateColor)(at);(Te||(w===null||!w&&O===null))&&(Ne(!1),(0,m.getAlphaColor)(ke)===0&&et!=="alpha"&&(Ze=(0,m.genAlphaColor)(Ze))),G&&He&&(Ze=(0,m.genAlphaColor)(Ze)),rt?Ye.current=!1:te==null||te(Ze),Ie(Ze),J==null||J(Ze,Ze.toHexString())},De=()=>{Ne(!0),ee==null||ee()},We=at=>{Ye.current=!0;let et=(0,m.generateColor)(at);G&&He&&(et=(0,m.genAlphaColor)(at)),te==null||te(et)},Ge={open:Oe,trigger:A,placement:D,arrow:L,rootClassName:U,getPopupContainer:ne,autoAdjustOverflow:re,destroyTooltipOnHide:oe},Je={prefixCls:je,color:ke,allowClear:T,colorCleared:Te,disabled:ve,disabledAlpha:G,presets:R,panelRender:B,format:_e,onFormatChange:ce,onChangeComplete:We},bt=Object.assign(Object.assign({},he==null?void 0:he.style),z);return Ee(t.default.createElement(f.default,Object.assign({style:X==null?void 0:X.popup,overlayInnerStyle:X==null?void 0:X.popupOverlayInner,onOpenChange:at=>{Ye.current&&!ve&&Pe(at)},content:t.default.createElement(c.NoFormStyle,{override:!0,status:!0},t.default.createElement(h.default,Object.assign({},Je,{onChange:we,onChangeComplete:We,onClear:De}))),overlayClassName:ft},Ge),M||t.default.createElement(d.default,Object.assign({open:Oe,className:lt,style:bt,color:w?(0,m.generateColor)(w):ke,prefixCls:je,disabled:ve,colorCleared:Te,showText:j,format:_e},se))))},x=(0,i.default)(C,"color-picker",S=>S,S=>Object.assign(Object.assign({},S),{placement:"bottom",autoAdjustOverflow:!1}));return C._InternalPanelDoNotUseOrYouWillBeFired=x,d_.default=C,d_}var X6e;function eYt(){if(X6e)return u_;X6e=1;var e=ze;Object.defineProperty(u_,"__esModule",{value:!0}),u_.default=void 0;var t=e(JXt());return u_.default=t.default,u_}var L_={},z_={},nI={},rI={exports:{}},yG={},iI={},Y6e;function tYt(){if(Y6e)return iI;Y6e=1,Object.defineProperty(iI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};return iI.default=e,iI}var Z6e;function nYt(){return Z6e||(Z6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(tYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pf===!1?!1:Object.assign({clearIcon:h},f===!0?{}:f),[f,h]),d]}return em}var cI={},uI={},aSe;function sYt(){if(aSe)return uI;aSe=1;var e=ze;Object.defineProperty(uI,"__esModule",{value:!0}),uI.default=o;var t=i(_),n=e(Ac());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){return t.createElement(n.default,Object.assign({size:"small",type:"primary"},a))}return uI}var lSe;function AVe(){if(lSe)return cI;lSe=1;var e=ze;Object.defineProperty(cI,"__esModule",{value:!0}),cI.default=r;var t=_,n=e(sYt());function r(i){return(0,t.useMemo)(()=>Object.assign({button:n.default},i),[i])}return cI}var sSe;function cYt(){if(sSe)return nI;sSe=1;var e=ze;Object.defineProperty(nI,"__esModule",{value:!0}),nI.default=$;var t=w(_),n=t,r=e(IVe()),i=e(NVe()),o=e(lYt()),a=e(Tt()),l=oae,s=dl(),u=jd();_n();var c=Lt(),f=e($a()),h=e(zr()),d=e(no()),p=fi(),g=e(Dh()),m=Rl(),v=ts(),y=e(sF()),b=e(cae()),C=mae(),x=e(AVe());function S(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(S=function(M){return M?R:T})(P)}function w(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=S(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var k=A?Object.getOwnPropertyDescriptor(P,N):null;k&&(k.get||k.set)?Object.defineProperty(M,N,k):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}var O=function(P,T){var R={};for(var M in P)Object.prototype.hasOwnProperty.call(P,M)&&T.indexOf(M)<0&&(R[M]=P[M]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(P);A{var A;const{prefixCls:N,getPopupContainer:k,components:D,className:L,style:B,placement:j,size:z,disabled:V,bordered:W=!0,placeholder:U,popupClassName:K,dropdownClassName:X,status:G,rootClassName:Y,variant:J}=R,ee=O(R,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant"]),Q=n.useRef(null),{getPrefixCls:te,direction:ne,getPopupContainer:re,rangePicker:oe}=(0,t.useContext)(c.ConfigContext),se=te("picker",N),{compactSize:ye,compactItemClassnames:be}=(0,v.useCompactItemContext)(se,ne),{picker:he}=R,le=te(),[ve,ke]=(0,g.default)(J,W),Ie=(0,h.default)(se),[Oe,Pe,_e]=(0,b.default)(se,Ie),[ce]=(0,C.useIcons)(R,se),Te=(0,x.default)(D),Ne=(0,d.default)(lt=>{var ft;return(ft=z??ye)!==null&&ft!==void 0?ft:lt}),je=n.useContext(f.default),He=V??je,Be=(0,t.useContext)(p.FormItemInputContext),{hasFeedback:qe,status:me,feedbackIcon:Ee}=Be,$e=n.createElement(n.Fragment,null,he==="time"?n.createElement(i.default,null):n.createElement(r.default,null),qe&&Ee);(0,t.useImperativeHandle)(M,()=>Q.current);const[Le]=(0,m.useLocale)("Calendar",y.default),Fe=Object.assign(Object.assign({},Le),R.locale),[Ke]=(0,s.useZIndex)("DatePicker",(A=R.popupStyle)===null||A===void 0?void 0:A.zIndex);return Oe(n.createElement(v.NoCompactStyle,null,n.createElement(l.RangePicker,Object.assign({separator:n.createElement("span",{"aria-label":"to",className:`${se}-separator`},n.createElement(o.default,null)),disabled:He,ref:Q,popupAlign:(0,C.transPlacement2DropdownAlign)(ne,j),placeholder:(0,C.getRangePlaceholder)(Fe,he,U),suffixIcon:$e,prevIcon:n.createElement("span",{className:`${se}-prev-icon`}),nextIcon:n.createElement("span",{className:`${se}-next-icon`}),superPrevIcon:n.createElement("span",{className:`${se}-super-prev-icon`}),superNextIcon:n.createElement("span",{className:`${se}-super-next-icon`}),transitionName:`${le}-slide-up`},ee,{className:(0,a.default)({[`${se}-${Ne}`]:Ne,[`${se}-${ve}`]:ke},(0,u.getStatusClassNames)(se,(0,u.getMergedStatus)(me,G),qe),Pe,be,L,oe==null?void 0:oe.className,_e,Ie,Y),style:Object.assign(Object.assign({},oe==null?void 0:oe.style),B),locale:Fe.lang,prefixCls:se,getPopupContainer:k||re,generateConfig:P,components:Te,direction:ne,classNames:{popup:(0,a.default)(Pe,K||X,_e,Ie,Y)},styles:{popup:Object.assign(Object.assign({},R.popupStyle),{zIndex:Ke})},allowClear:ce}))))})}return nI}var dI={},cSe;function uYt(){if(cSe)return dI;cSe=1;var e=ze;Object.defineProperty(dI,"__esModule",{value:!0}),dI.default=O;var t=S(_),n=t,r=e(IVe()),i=e(NVe()),o=e(Tt()),a=e(oae),l=dl(),s=jd();_n();var u=Lt(),c=e($a()),f=e(zr()),h=e(no()),d=fi(),p=e(Dh()),g=Rl(),m=ts(),v=e(sF()),y=e(cae()),b=mae(),C=e(AVe());function x($){if(typeof WeakMap!="function")return null;var P=new WeakMap,T=new WeakMap;return(x=function(R){return R?T:P})($)}function S($,P){if(!P&&$&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var T=x(P);if(T&&T.has($))return T.get($);var R={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in $)if(A!=="default"&&Object.prototype.hasOwnProperty.call($,A)){var N=M?Object.getOwnPropertyDescriptor($,A):null;N&&(N.get||N.set)?Object.defineProperty(R,A,N):R[A]=$[A]}return R.default=$,T&&T.set($,R),R}var w=function($,P){var T={};for(var R in $)Object.prototype.hasOwnProperty.call($,R)&&P.indexOf(R)<0&&(T[R]=$[R]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,R=Object.getOwnPropertySymbols($);M{var W;const{prefixCls:U,getPopupContainer:K,components:X,style:G,className:Y,rootClassName:J,size:ee,bordered:Q,placement:te,placeholder:ne,popupClassName:re,dropdownClassName:oe,disabled:se,status:ye,variant:be}=z,he=w(z,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant"]),{getPrefixCls:le,direction:ve,getPopupContainer:ke,[B]:Ie}=(0,t.useContext)(u.ConfigContext),Oe=le("picker",U),{compactSize:Pe,compactItemClassnames:_e}=(0,m.useCompactItemContext)(Oe,ve),ce=n.useRef(null),[Te,Ne]=(0,p.default)(be,Q),je=(0,f.default)(Oe),[He,Be,qe]=(0,y.default)(Oe,je);(0,t.useImperativeHandle)(V,()=>ce.current);const me={showToday:!0},Ee=D||z.picker,$e=le(),[Le,Fe]=(0,b.useIcons)(z,Oe),Ke=(0,C.default)(X),lt=(0,h.default)(rt=>{var Ze;return(Ze=ee??Pe)!==null&&Ze!==void 0?Ze:rt}),ft=n.useContext(c.default),Ye=se??ft,we=(0,t.useContext)(d.FormItemInputContext),{hasFeedback:De,status:We,feedbackIcon:Ge}=we,Je=n.createElement(n.Fragment,null,Ee==="time"?n.createElement(i.default,null):n.createElement(r.default,null),De&&Ge),[bt]=(0,g.useLocale)("DatePicker",v.default),at=Object.assign(Object.assign({},bt),z.locale),[et]=(0,l.useZIndex)("DatePicker",(W=z.popupStyle)===null||W===void 0?void 0:W.zIndex);return He(n.createElement(m.NoCompactStyle,null,n.createElement(a.default,Object.assign({ref:ce,placeholder:(0,b.getPlaceholder)(at,Ee,ne),suffixIcon:Je,dropdownAlign:(0,b.transPlacement2DropdownAlign)(ve,te),prevIcon:n.createElement("span",{className:`${Oe}-prev-icon`}),nextIcon:n.createElement("span",{className:`${Oe}-next-icon`}),superPrevIcon:n.createElement("span",{className:`${Oe}-super-prev-icon`}),superNextIcon:n.createElement("span",{className:`${Oe}-super-next-icon`}),transitionName:`${$e}-slide-up`,picker:D},me,he,{locale:at.lang,className:(0,o.default)({[`${Oe}-${lt}`]:lt,[`${Oe}-${Te}`]:Ne},(0,s.getStatusClassNames)(Oe,(0,s.getMergedStatus)(We,ye),De),Be,_e,Ie==null?void 0:Ie.className,Y,qe,je,J),style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),G),prefixCls:Oe,getPopupContainer:K||ke,generateConfig:$,components:Ke,direction:ve,disabled:Ye,classNames:{popup:(0,o.default)(Be,qe,je,J,re||oe)},styles:{popup:Object.assign(Object.assign({},z.popupStyle),{zIndex:et})},allowClear:Le,removeIcon:Fe}))))})}const T=P(),R=P("week","WeekPicker"),M=P("month","MonthPicker"),A=P("year","YearPicker"),N=P("time","TimePicker"),k=P("quarter","QuarterPicker");return{DatePicker:T,WeekPicker:R,MonthPicker:M,YearPicker:A,TimePicker:N,QuarterPicker:k}}return dI}var uSe;function dYt(){if(uSe)return z_;uSe=1;var e=ze;Object.defineProperty(z_,"__esModule",{value:!0}),z_.default=void 0;var t=e(cYt()),n=e(uYt());function r(i){const{DatePicker:o,WeekPicker:a,MonthPicker:l,YearPicker:s,TimePicker:u,QuarterPicker:c}=(0,n.default)(i),f=(0,t.default)(i),h=o;return h.WeekPicker=a,h.MonthPicker=l,h.YearPicker=s,h.RangePicker=f,h.TimePicker=u,h.QuarterPicker=c,h}return z_.default=r,z_}var dSe;function kVe(){if(dSe)return L_;dSe=1;var e=ze;Object.defineProperty(L_,"__esModule",{value:!0}),L_.default=void 0;var t=e(sVe()),n=e(kd()),r=e(dYt()),i=mae();const o=(0,r.default)(t.default);function a(u){const c=(0,i.transPlacement2DropdownAlign)(u.direction,u.placement);return c.overflow.adjustY=!1,c.overflow.adjustX=!1,Object.assign(Object.assign({},u),{dropdownAlign:c})}const l=(0,n.default)(o,"picker",null,a);o._InternalPanelDoNotUseOrYouWillBeFired=l;const s=(0,n.default)(o.RangePicker,"picker",null,a);return o._InternalRangePanelDoNotUseOrYouWillBeFired=s,o.generatePicker=r.default,L_.default=o,L_}var SG={},B_={},fSe;function fYt(){if(fSe)return B_;fSe=1,Object.defineProperty(B_,"__esModule",{value:!0}),B_.default=void 0;const e={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};return B_.default=e,B_}var F_={},pSe;function jVe(){if(pSe)return F_;pSe=1;var e=ze;Object.defineProperty(F_,"__esModule",{value:!0}),F_.default=void 0;var t=e(_);const n=t.default.createContext({});return F_.default=n,F_}var fI={},hSe;function pYt(){if(hSe)return fI;hSe=1;var e=ze;Object.defineProperty(fI,"__esModule",{value:!0}),fI.default=s;var t=o(_),n=e(fl()),r=AC();function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(i=function(h){return h?f:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=i(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var a=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d(0,n.default)(u).map(c=>Object.assign(Object.assign({},c==null?void 0:c.props),{key:c.key}));function s(u,c,f){const h=t.useMemo(()=>c||l(f),[c,f]);return t.useMemo(()=>h.map(p=>{var{span:g}=p,m=a(p,["span"]);return Object.assign(Object.assign({},m),{span:typeof g=="number"?g:(0,r.matchScreen)(u,g)})}),[h,u])}return fI}var H_={},gSe;function hYt(){if(gSe)return H_;gSe=1,Object.defineProperty(H_,"__esModule",{value:!0}),H_.default=void 0;var e=_;_n();function t(i,o,a){let l=i,s=!1;return(a===void 0||a>o)&&(l=Object.assign(Object.assign({},i),{span:o}),s=a!==void 0),[l,s]}function n(i,o){const a=[];let l=[],s=o,u=!1;return i.filter(c=>c).forEach((c,f)=>{const h=c==null?void 0:c.span,d=h||1;if(f===i.length-1){const[p,g]=t(c,s,h);u=u||g,l.push(p),a.push(l);return}if(d{const[a,l]=(0,e.useMemo)(()=>n(o,i),[o,i]);return a};return H_.default=r,H_}var W_={},mSe;function gYt(){if(mSe)return W_;mSe=1,Object.defineProperty(W_,"__esModule",{value:!0}),W_.default=void 0;const e=t=>{let{children:n}=t;return n};return W_.default=e,W_}var q_={},V_={},vSe;function mYt(){if(vSe)return V_;vSe=1;var e=ze;Object.defineProperty(V_,"__esModule",{value:!0}),V_.default=void 0;var t=e(Tt()),n=i(_);function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function o(l){return l!=null}const a=l=>{const{itemPrefixCls:s,component:u,span:c,className:f,style:h,labelStyle:d,contentStyle:p,bordered:g,label:m,content:v,colon:y,type:b}=l,C=u;return g?n.createElement(C,{className:(0,t.default)({[`${s}-item-label`]:b==="label",[`${s}-item-content`]:b==="content"},f),style:h,colSpan:c},o(m)&&n.createElement("span",{style:d},m),o(v)&&n.createElement("span",{style:p},v)):n.createElement(C,{className:(0,t.default)(`${s}-item`,f),style:h,colSpan:c},n.createElement("div",{className:`${s}-item-container`},(m||m===0)&&n.createElement("span",{className:(0,t.default)(`${s}-item-label`,{[`${s}-item-no-colon`]:!y}),style:d},m),(v||v===0)&&n.createElement("span",{className:(0,t.default)(`${s}-item-content`),style:p},v)))};return V_.default=a,V_}var ySe;function vYt(){if(ySe)return q_;ySe=1;var e=ze;Object.defineProperty(q_,"__esModule",{value:!0}),q_.default=void 0;var t=o(_),n=e(mYt()),r=e(jVe());function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function a(s,u,c){let{colon:f,prefixCls:h,bordered:d}=u,{component:p,type:g,showLabel:m,showContent:v,labelStyle:y,contentStyle:b}=c;return s.map((C,x)=>{let{label:S,children:w,prefixCls:O=h,className:$,style:P,labelStyle:T,contentStyle:R,span:M=1,key:A}=C;return typeof p=="string"?t.createElement(n.default,{key:`${g}-${A||x}`,className:$,style:P,labelStyle:Object.assign(Object.assign({},y),T),contentStyle:Object.assign(Object.assign({},b),R),span:M,colon:f,component:p,itemPrefixCls:O,bordered:d,label:m?S:null,content:v?w:null,type:g}):[t.createElement(n.default,{key:`label-${A||x}`,className:$,style:Object.assign(Object.assign(Object.assign({},y),P),T),span:1,colon:f,component:p[0],itemPrefixCls:O,bordered:d,label:S,type:"label"}),t.createElement(n.default,{key:`content-${A||x}`,className:$,style:Object.assign(Object.assign(Object.assign({},b),P),R),span:M*2-1,component:p[1],itemPrefixCls:O,bordered:d,content:w,type:"content"})]})}const l=s=>{const u=t.useContext(r.default),{prefixCls:c,vertical:f,row:h,index:d,bordered:p}=s;return f?t.createElement(t.Fragment,null,t.createElement("tr",{key:`label-${d}`,className:`${c}-row`},a(h,s,Object.assign({component:"th",type:"label",showLabel:!0},u))),t.createElement("tr",{key:`content-${d}`,className:`${c}-row`},a(h,s,Object.assign({component:"td",type:"content",showContent:!0},u)))):t.createElement("tr",{key:d,className:`${c}-row`},a(h,s,Object.assign({component:p?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},u)))};return q_.default=l,q_}var tm={},bSe;function yYt(){if(bSe)return tm;bSe=1,Object.defineProperty(tm,"__esModule",{value:!0}),tm.prepareComponentToken=tm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{componentCls:l,labelBg:s}=a;return{[`&${l}-bordered`]:{[`> ${l}-view`]:{border:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${l}-row`]:{borderBottom:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.padding)} ${(0,e.unit)(a.paddingLG)}`,borderInlineEnd:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${l}-item-label`]:{color:a.colorTextSecondary,backgroundColor:s,"&::after":{display:"none"}}}},[`&${l}-middle`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.paddingSM)} ${(0,e.unit)(a.paddingLG)}`}}},[`&${l}-small`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.paddingXS)} ${(0,e.unit)(a.padding)}`}}}}}},i=a=>{const{componentCls:l,extraColor:s,itemPaddingBottom:u,colonMarginRight:c,colonMarginLeft:f,titleMarginBottom:h}=a;return{[l]:Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(a)),r(a)),{"&-rtl":{direction:"rtl"},[`${l}-header`]:{display:"flex",alignItems:"center",marginBottom:h},[`${l}-title`]:Object.assign(Object.assign({},t.textEllipsis),{flex:"auto",color:a.titleColor,fontWeight:a.fontWeightStrong,fontSize:a.fontSizeLG,lineHeight:a.lineHeightLG}),[`${l}-extra`]:{marginInlineStart:"auto",color:s,fontSize:a.fontSize},[`${l}-view`]:{width:"100%",borderRadius:a.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${l}-row`]:{"> th, > td":{paddingBottom:u},"&:last-child":{borderBottom:"none"}},[`${l}-item-label`]:{color:a.colorTextTertiary,fontWeight:"normal",fontSize:a.fontSize,lineHeight:a.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,e.unit)(f)} ${(0,e.unit)(c)}`},[`&${l}-item-no-colon::after`]:{content:'""'}},[`${l}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${l}-item-content`]:{display:"table-cell",flex:1,color:a.contentColor,fontSize:a.fontSize,lineHeight:a.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${l}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${l}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${l}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${l}-row`]:{"> th, > td":{paddingBottom:a.paddingSM}}},"&-small":{[`${l}-row`]:{"> th, > td":{paddingBottom:a.paddingXS}}}})}},o=a=>({labelBg:a.colorFillAlter,titleColor:a.colorText,titleMarginBottom:a.fontSizeSM*a.lineHeightSM,itemPaddingBottom:a.padding,colonMarginRight:a.marginXS,colonMarginLeft:a.marginXXS/2,contentColor:a.colorText,extraColor:a.colorText});return tm.prepareComponentToken=o,tm.default=(0,n.genStyleHooks)("Descriptions",a=>{const l=(0,n.mergeToken)(a,{});return i(l)},o),tm}var CSe;function bYt(){return CSe||(CSe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DescriptionsContext",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var n=m(_),r=t(Tt()),i=AC(),o=Lt(),a=t(no()),l=t(Zy()),s=t(fYt()),u=t(jVe()),c=t(pYt()),f=t(hYt()),h=t(gYt()),d=t(vYt()),p=t(yYt());function g(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(g=function(S){return S?x:C})(b)}function m(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=g(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var v=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{const{prefixCls:C,title:x,extra:S,column:w,colon:O=!0,bordered:$,layout:P,children:T,className:R,rootClassName:M,style:A,size:N,labelStyle:k,contentStyle:D,items:L}=b,B=v(b,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:j,direction:z,descriptions:V}=n.useContext(o.ConfigContext),W=j("descriptions",C),U=(0,l.default)(),K=n.useMemo(()=>{var ne;return typeof w=="number"?w:(ne=(0,i.matchScreen)(U,Object.assign(Object.assign({},s.default),w)))!==null&&ne!==void 0?ne:3},[U,w]),X=(0,c.default)(U,L,T),G=(0,a.default)(N),Y=(0,f.default)(K,X),[J,ee,Q]=(0,p.default)(W),te=n.useMemo(()=>({labelStyle:k,contentStyle:D}),[k,D]);return J(n.createElement(u.default.Provider,{value:te},n.createElement("div",Object.assign({className:(0,r.default)(W,V==null?void 0:V.className,{[`${W}-${G}`]:G&&G!=="default",[`${W}-bordered`]:!!$,[`${W}-rtl`]:z==="rtl"},R,M,ee,Q),style:Object.assign(Object.assign({},V==null?void 0:V.style),A)},B),(x||S)&&n.createElement("div",{className:`${W}-header`},x&&n.createElement("div",{className:`${W}-title`},x),S&&n.createElement("div",{className:`${W}-extra`},S)),n.createElement("div",{className:`${W}-view`},n.createElement("table",null,n.createElement("tbody",null,Y.map((ne,re)=>n.createElement(d.default,{key:re,index:re,colon:O,prefixCls:W,vertical:P==="vertical",bordered:$,row:ne}))))))))};y.Item=h.default,e.default=y}(SG)),SG}var U_={};const CYt=cr(P8t);var G_={},SSe;function SYt(){if(SSe)return G_;SSe=1;var e=ze;Object.defineProperty(G_,"__esModule",{value:!0}),G_.default=void 0;var t=a(_),n=e(Tt()),r=e(CF()),i=Lt();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{var u,c;const{prefixCls:f,title:h,footer:d,extra:p,closeIcon:g,closable:m,onClose:v,headerStyle:y,bodyStyle:b,footerStyle:C,children:x,classNames:S,styles:w}=s,{drawer:O}=t.useContext(i.ConfigContext),$=t.useCallback(A=>t.createElement("button",{type:"button",onClick:v,"aria-label":"Close",className:`${f}-close`},A),[v]),[P,T]=(0,r.default)(m,typeof g<"u"?g:O==null?void 0:O.closeIcon,$,void 0,!0),R=t.useMemo(()=>{var A,N;return!h&&!P?null:t.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(A=O==null?void 0:O.styles)===null||A===void 0?void 0:A.header),y),w==null?void 0:w.header),className:(0,n.default)(`${f}-header`,{[`${f}-header-close-only`]:P&&!h&&!p},(N=O==null?void 0:O.classNames)===null||N===void 0?void 0:N.header,S==null?void 0:S.header)},t.createElement("div",{className:`${f}-header-title`},T,h&&t.createElement("div",{className:`${f}-title`},h)),p&&t.createElement("div",{className:`${f}-extra`},p))},[P,T,p,y,f,h]),M=t.useMemo(()=>{var A,N;if(!d)return null;const k=`${f}-footer`;return t.createElement("div",{className:(0,n.default)(k,(A=O==null?void 0:O.classNames)===null||A===void 0?void 0:A.footer,S==null?void 0:S.footer),style:Object.assign(Object.assign(Object.assign({},(N=O==null?void 0:O.styles)===null||N===void 0?void 0:N.footer),C),w==null?void 0:w.footer)},d)},[d,C,f]);return t.createElement(t.Fragment,null,R,t.createElement("div",{className:(0,n.default)(`${f}-body`,S==null?void 0:S.body,(u=O==null?void 0:O.classNames)===null||u===void 0?void 0:u.body),style:Object.assign(Object.assign(Object.assign({},(c=O==null?void 0:O.styles)===null||c===void 0?void 0:c.body),b),w==null?void 0:w.body)},x),M)};return G_.default=l,G_}var nm={},K_={},xSe;function xYt(){if(xSe)return K_;xSe=1,Object.defineProperty(K_,"__esModule",{value:!0}),K_.default=void 0;const e=o=>{const a="100%";return{left:`translateX(-${a})`,right:`translateX(${a})`,top:`translateY(-${a})`,bottom:`translateY(${a})`}[o]},t=(o,a)=>({"&-enter, &-appear":Object.assign(Object.assign({},o),{"&-active":a}),"&-leave":Object.assign(Object.assign({},a),{"&-active":o})}),n=(o,a)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${a}`}}},t({opacity:o},{opacity:1})),r=(o,a)=>[n(.7,a),t({transform:e(o)},{transform:"none"})],i=o=>{const{componentCls:a,motionDurationSlow:l}=o;return{[a]:{[`${a}-mask-motion`]:n(0,l),[`${a}-panel-motion`]:["left","right","top","bottom"].reduce((s,u)=>Object.assign(Object.assign({},s),{[`&-${u}`]:r(u,l)}),{})}}};return K_.default=i,K_}var _Se;function _Yt(){if(_Se)return nm;_Se=1;var e=ze;Object.defineProperty(nm,"__esModule",{value:!0}),nm.prepareComponentToken=nm.default=void 0;var t=Xt,n=Jt(),r=e(xYt());const i=a=>{const{componentCls:l,zIndexPopup:s,colorBgMask:u,colorBgElevated:c,motionDurationSlow:f,motionDurationMid:h,padding:d,paddingLG:p,fontSizeLG:g,lineHeightLG:m,lineWidth:v,lineType:y,colorSplit:b,marginSM:C,colorIcon:x,colorIconHover:S,colorText:w,fontWeightStrong:O,footerPaddingBlock:$,footerPaddingInline:P}=a,T=`${l}-content-wrapper`;return{[l]:{position:"fixed",inset:0,zIndex:s,pointerEvents:"none","&-pure":{position:"relative",background:c,display:"flex",flexDirection:"column",[`&${l}-left`]:{boxShadow:a.boxShadowDrawerLeft},[`&${l}-right`]:{boxShadow:a.boxShadowDrawerRight},[`&${l}-top`]:{boxShadow:a.boxShadowDrawerUp},[`&${l}-bottom`]:{boxShadow:a.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${l}-mask`]:{position:"absolute",inset:0,zIndex:s,background:u,pointerEvents:"auto"},[T]:{position:"absolute",zIndex:s,maxWidth:"100vw",transition:`all ${f}`,"&-hidden":{display:"none"}},[`&-left > ${T}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:a.boxShadowDrawerLeft},[`&-right > ${T}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:a.boxShadowDrawerRight},[`&-top > ${T}`]:{top:0,insetInline:0,boxShadow:a.boxShadowDrawerUp},[`&-bottom > ${T}`]:{bottom:0,insetInline:0,boxShadow:a.boxShadowDrawerDown},[`${l}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:c,pointerEvents:"auto"},[`${l}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,t.unit)(d)} ${(0,t.unit)(p)}`,fontSize:g,lineHeight:m,borderBottom:`${(0,t.unit)(v)} ${y} ${b}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${l}-extra`]:{flex:"none"},[`${l}-close`]:{display:"inline-block",marginInlineEnd:C,color:x,fontWeight:O,fontSize:g,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${h}`,textRendering:"auto","&:focus, &:hover":{color:S,textDecoration:"none"}},[`${l}-title`]:{flex:1,margin:0,color:w,fontWeight:a.fontWeightStrong,fontSize:g,lineHeight:m},[`${l}-body`]:{flex:1,minWidth:0,minHeight:0,padding:p,overflow:"auto"},[`${l}-footer`]:{flexShrink:0,padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,borderTop:`${(0,t.unit)(v)} ${y} ${b}`},"&-rtl":{direction:"rtl"}}}},o=a=>({zIndexPopup:a.zIndexPopupBase,footerPaddingBlock:a.paddingXS,footerPaddingInline:a.padding});return nm.prepareComponentToken=o,nm.default=(0,n.genStyleHooks)("Drawer",a=>{const l=(0,n.mergeToken)(a,{});return[i(l),(0,r.default)(l)]},o),nm}var wSe;function wYt(){if(wSe)return U_;wSe=1;var e=ze;Object.defineProperty(U_,"__esModule",{value:!0}),U_.default=void 0;var t=p(_),n=e(Tt()),r=e(CYt),i=dl(),o=Il();_n();var a=e(RC()),l=Lt(),s=fi(),u=ts(),c=Foe(),f=e(SYt()),h=e(_Yt());function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(d=function(S){return S?x:C})(b)}function p(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=d(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var g=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{const{rootClassName:C,width:x,height:S,size:w="default",mask:O=!0,push:$=m,open:P,afterOpenChange:T,onClose:R,prefixCls:M,getContainer:A,style:N,className:k,visible:D,afterVisibleChange:L,maskStyle:B,drawerStyle:j,contentWrapperStyle:z}=b,V=g(b,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:W,getPrefixCls:U,direction:K,drawer:X}=t.useContext(l.ConfigContext),G=U("drawer",M),[Y,J,ee]=(0,h.default)(G),Q=A===void 0&&W?()=>W(document.body):A,te=(0,n.default)({"no-mask":!O,[`${G}-rtl`]:K==="rtl"},C,J,ee),ne=t.useMemo(()=>x??(w==="large"?736:378),[x,w]),re=t.useMemo(()=>S??(w==="large"?736:378),[S,w]),oe={motionName:(0,o.getTransitionName)(G,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},se=Oe=>({motionName:(0,o.getTransitionName)(G,`panel-motion-${Oe}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ye=(0,c.usePanelRef)(),[be,he]=(0,i.useZIndex)("Drawer",V.zIndex),{classNames:le={},styles:ve={}}=V,{classNames:ke={},styles:Ie={}}=X||{};return Y(t.createElement(u.NoCompactStyle,null,t.createElement(s.NoFormStyle,{status:!0,override:!0},t.createElement(a.default.Provider,{value:he},t.createElement(r.default,Object.assign({prefixCls:G,onClose:R,maskMotion:oe,motion:se},V,{classNames:{mask:(0,n.default)(le.mask,ke.mask),content:(0,n.default)(le.content,ke.content)},styles:{mask:Object.assign(Object.assign(Object.assign({},ve.mask),B),Ie.mask),content:Object.assign(Object.assign(Object.assign({},ve.content),j),Ie.content),wrapper:Object.assign(Object.assign(Object.assign({},ve.wrapper),z),Ie.wrapper)},open:P??D,mask:O,push:$,width:ne,height:re,style:Object.assign(Object.assign({},X==null?void 0:X.style),N),className:(0,n.default)(X==null?void 0:X.className,k),rootClassName:te,getContainer:Q,afterOpenChange:T??L,panelRef:ye,zIndex:be}),t.createElement(f.default,Object.assign({prefixCls:G},V,{onClose:R})))))))},y=b=>{const{prefixCls:C,style:x,className:S,placement:w="right"}=b,O=g(b,["prefixCls","style","className","placement"]),{getPrefixCls:$}=t.useContext(l.ConfigContext),P=$("drawer",C),[T,R,M]=(0,h.default)(P),A=(0,n.default)(P,`${P}-pure`,`${P}-${w}`,R,M,S);return T(t.createElement("div",{className:A,style:x},t.createElement(f.default,Object.assign({prefixCls:P},O))))};return v._InternalPanelDoNotUseOrYouWillBeFired=y,U_.default=v,U_}var X_={},Y_={},xG={},Z_={},OSe;function DVe(){if(OSe)return Z_;OSe=1,Object.defineProperty(Z_,"__esModule",{value:!0}),Z_.isPresetSize=e,Z_.isValidGapNumber=t;function e(n){return["small","middle","large"].includes(n)}function t(n){return n?typeof n=="number"&&!Number.isNaN(n):!1}return Z_}var rm={},ESe;function LVe(){if(ESe)return rm;ESe=1;var e=ze;Object.defineProperty(rm,"__esModule",{value:!0}),rm.SpaceContextProvider=rm.SpaceContext=void 0;var t=e(_);const n=rm.SpaceContext=t.default.createContext({latestIndex:0});return rm.SpaceContextProvider=n.Provider,rm}var Q_={},$Se;function OYt(){if($Se)return Q_;$Se=1,Object.defineProperty(Q_,"__esModule",{value:!0}),Q_.default=void 0;var e=r(_),t=LVe();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=o=>{let{className:a,index:l,children:s,split:u,style:c}=o;const{latestIndex:f}=e.useContext(t.SpaceContext);return s==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:a,style:c},s),l{var y,b;const{getPrefixCls:C,space:x,direction:S}=n.useContext(a.ConfigContext),{size:w=(x==null?void 0:x.size)||"small",align:O,className:$,rootClassName:P,children:T,direction:R="horizontal",prefixCls:M,split:A,style:N,wrap:k=!1,classNames:D,styles:L}=m,B=d(m,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[j,z]=Array.isArray(w)?w:[w,w],V=(0,o.isPresetSize)(z),W=(0,o.isPresetSize)(j),U=(0,o.isValidGapNumber)(z),K=(0,o.isValidGapNumber)(j),X=(0,i.default)(T,{keepEmpty:!0}),G=O===void 0&&R==="horizontal"?"center":O,Y=C("space",M),[J,ee,Q]=(0,c.default)(Y),te=(0,r.default)(Y,x==null?void 0:x.className,ee,`${Y}-${R}`,{[`${Y}-rtl`]:S==="rtl",[`${Y}-align-${G}`]:G,[`${Y}-gap-row-${z}`]:V,[`${Y}-gap-col-${j}`]:W},$,P,Q),ne=(0,r.default)(`${Y}-item`,(y=D==null?void 0:D.item)!==null&&y!==void 0?y:(b=x==null?void 0:x.classNames)===null||b===void 0?void 0:b.item);let re=0;const oe=X.map((be,he)=>{var le,ve;be!=null&&(re=he);const ke=be&&be.key||`${ne}-${he}`;return n.createElement(u.default,{className:ne,key:ke,index:he,split:A,style:(le=L==null?void 0:L.item)!==null&&le!==void 0?le:(ve=x==null?void 0:x.styles)===null||ve===void 0?void 0:ve.item},be)}),se=n.useMemo(()=>({latestIndex:re}),[re]);if(X.length===0)return null;const ye={};return k&&(ye.flexWrap="wrap"),!W&&K&&(ye.columnGap=j),!V&&U&&(ye.rowGap=z),J(n.createElement("div",Object.assign({ref:v,className:te,style:Object.assign(Object.assign(Object.assign({},ye),x==null?void 0:x.style),N)},B),n.createElement(s.SpaceContextProvider,{value:se},oe)))});g.Compact=l.default,e.default=g}(xG)),xG}var TSe;function EYt(){if(TSe)return Y_;TSe=1;var e=ze;Object.defineProperty(Y_,"__esModule",{value:!0}),Y_.default=void 0;var t=e(Tt()),n=c(_),r=e(eae()),i=e(Ac()),o=Lt(),a=e(zVe()),l=ts(),s=e(iae());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var f=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{getPopupContainer:p,getPrefixCls:g,direction:m}=n.useContext(o.ConfigContext),{prefixCls:v,type:y="default",danger:b,disabled:C,loading:x,onClick:S,htmlType:w,children:O,className:$,menu:P,arrow:T,autoFocus:R,overlay:M,trigger:A,align:N,open:k,onOpenChange:D,placement:L,getPopupContainer:B,href:j,icon:z=n.createElement(r.default,null),title:V,buttonsRender:W=ve=>ve,mouseEnterDelay:U,mouseLeaveDelay:K,overlayClassName:X,overlayStyle:G,destroyPopupOnHide:Y,dropdownRender:J}=d,ee=f(d,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Q=g("dropdown",v),te=`${Q}-button`,ne={menu:P,arrow:T,autoFocus:R,align:N,disabled:C,trigger:C?[]:A,onOpenChange:D,getPopupContainer:B||p,mouseEnterDelay:U,mouseLeaveDelay:K,overlayClassName:X,overlayStyle:G,destroyPopupOnHide:Y,dropdownRender:J},{compactSize:re,compactItemClassnames:oe}=(0,l.useCompactItemContext)(Q,m),se=(0,t.default)(te,oe,$);"overlay"in d&&(ne.overlay=M),"open"in d&&(ne.open=k),"placement"in d?ne.placement=L:ne.placement=m==="rtl"?"bottomLeft":"bottomRight";const ye=n.createElement(i.default,{type:y,danger:b,disabled:C,loading:x,onClick:S,htmlType:w,href:j,title:V},O),be=n.createElement(i.default,{type:y,danger:b,icon:z}),[he,le]=W([ye,be]);return n.createElement(a.default.Compact,Object.assign({className:se,size:re,block:!0},ee),he,n.createElement(s.default,Object.assign({},ne),le))};return h.__ANT_BUTTON=!0,Y_.default=h,Y_}var MSe;function AF(){if(MSe)return X_;MSe=1;var e=ze;Object.defineProperty(X_,"__esModule",{value:!0}),X_.default=void 0;var t=e(iae()),n=e(EYt());const r=t.default;return r.Button=n.default,X_.default=r,X_}var J_={},im={},Uu={},RSe;function BVe(){if(RSe)return Uu;RSe=1;var e=ze;Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.justifyContentValues=Uu.flexWrapValues=Uu.default=Uu.alignItemsValues=void 0;var t=e(Tt());const n=Uu.flexWrapValues=["wrap","nowrap","wrap-reverse"],r=Uu.justifyContentValues=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],i=Uu.alignItemsValues=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],o=(u,c)=>{const f={};return n.forEach(h=>{f[`${u}-wrap-${h}`]=c.wrap===h}),f},a=(u,c)=>{const f={};return i.forEach(h=>{f[`${u}-align-${h}`]=c.align===h}),f[`${u}-align-stretch`]=!c.align&&!!c.vertical,f},l=(u,c)=>{const f={};return r.forEach(h=>{f[`${u}-justify-${h}`]=c.justify===h}),f};function s(u,c){return(0,t.default)(Object.assign(Object.assign(Object.assign({},o(u,c)),a(u,c)),l(u,c)))}return Uu.default=s,Uu}var ISe;function $Yt(){if(ISe)return im;ISe=1,Object.defineProperty(im,"__esModule",{value:!0}),im.prepareComponentToken=im.default=void 0;var e=Jt(),t=BVe();const n=s=>{const{componentCls:u}=s;return{[u]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},r=s=>{const{componentCls:u}=s;return{[u]:{"&-gap-small":{gap:s.flexGapSM},"&-gap-middle":{gap:s.flexGap},"&-gap-large":{gap:s.flexGapLG}}}},i=s=>{const{componentCls:u}=s,c={};return t.flexWrapValues.forEach(f=>{c[`${u}-wrap-${f}`]={flexWrap:f}}),c},o=s=>{const{componentCls:u}=s,c={};return t.alignItemsValues.forEach(f=>{c[`${u}-align-${f}`]={alignItems:f}}),c},a=s=>{const{componentCls:u}=s,c={};return t.justifyContentValues.forEach(f=>{c[`${u}-justify-${f}`]={justifyContent:f}}),c},l=()=>({});return im.prepareComponentToken=l,im.default=(0,e.genStyleHooks)("Flex",s=>{const{paddingXS:u,padding:c,paddingLG:f}=s,h=(0,e.mergeToken)(s,{flexGapSM:u,flexGap:c,flexGapLG:f});return[n(h),r(h),i(h),o(h),a(h)]},l,{resetStyle:!1}),im}var NSe;function PYt(){if(NSe)return J_;NSe=1;var e=ze;Object.defineProperty(J_,"__esModule",{value:!0}),J_.default=void 0;var t=e(_),n=e(Tt()),r=e(Qr()),i=DVe(),o=Lt(),a=e($Yt()),l=e(BVe()),s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{prefixCls:h,rootClassName:d,className:p,style:g,flex:m,gap:v,children:y,vertical:b=!1,component:C="div"}=c,x=s(c,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:S,direction:w,getPrefixCls:O}=t.default.useContext(o.ConfigContext),$=O("flex",h),[P,T,R]=(0,a.default)($),M=b??(S==null?void 0:S.vertical),A=(0,n.default)(p,d,S==null?void 0:S.className,$,T,R,(0,l.default)($,c),{[`${$}-rtl`]:w==="rtl",[`${$}-gap-${v}`]:(0,i.isPresetSize)(v),[`${$}-vertical`]:M}),N=Object.assign(Object.assign({},S==null?void 0:S.style),g);return m&&(N.flex=m),v&&!(0,i.isPresetSize)(v)&&(N.gap=v),P(t.default.createElement(C,Object.assign({ref:f,className:A,style:N},(0,r.default)(x,["justify","wrap","align"])),y))});return J_.default=u,J_}var ew={},tw={},om={},ASe;function vae(){if(ASe)return om;ASe=1;var e=ze;Object.defineProperty(om,"__esModule",{value:!0}),om.default=om.FloatButtonGroupProvider=void 0;var t=e(_);const n=t.default.createContext(void 0),{Provider:r}=n;return om.FloatButtonGroupProvider=r,om.default=n,om}var am={},nw={},pI={exports:{}},_G={},hI={},kSe;function TYt(){if(kSe)return hI;kSe=1,Object.defineProperty(hI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};return hI.default=e,hI}var jSe;function MYt(){return jSe||(jSe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(TYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{icon:s,description:u,prefixCls:c,className:f}=l,h=t.default.createElement("div",{className:`${c}-icon`},t.default.createElement(n.default,null));return t.default.createElement("div",{onClick:l.onClick,onFocus:l.onFocus,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,className:(0,r.default)(f,`${c}-content`)},s||u?t.default.createElement(t.default.Fragment,null,s&&t.default.createElement("div",{className:`${c}-icon`},s),u&&t.default.createElement("div",{className:`${c}-description`},u)):h)};return nw.default=(0,t.memo)(a),nw}var lm={},rw={},zSe;function IYt(){if(zSe)return rw;zSe=1,Object.defineProperty(rw,"__esModule",{value:!0}),rw.default=void 0;const e=t=>t===0?0:t-Math.sqrt(Math.pow(t,2)/2);return rw.default=e,rw}var BSe;function HVe(){if(BSe)return lm;BSe=1;var e=ze;Object.defineProperty(lm,"__esModule",{value:!0}),lm.prepareComponentToken=lm.default=void 0;var t=Xt,n=Tn(),r=Bqe(),i=rP(),o=Jt(),a=e(IYt());const l=f=>{const{componentCls:h,floatButtonSize:d,motionDurationSlow:p,motionEaseInOutCirc:g}=f,m=`${h}-group`,v=new t.Keyframes("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${(0,t.unit)(d)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new t.Keyframes("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,t.unit)(d)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${m}-wrap`]:Object.assign({},(0,i.initMotion)(`${m}-wrap`,v,y,p,!0))},{[`${m}-wrap`]:{[` + `]:{color:A}})}]},u=c=>{const{componentCls:f,paddingBlock:h,paddingInline:d,inputAffixPadding:p,controlWidth:g,borderRadiusLG:m,borderRadiusSM:v,paddingInlineLG:y,paddingInlineSM:b,paddingBlockLG:C,paddingBlockSM:x}=c;return{[`${f}-affix-wrapper`]:Object.assign(Object.assign({[`input${f}-input`]:{padding:`${(0,e.unit)(h)} 0`}},(0,t.genBasicInputStyle)(c)),{position:"relative",display:"inline-flex",width:g,padding:0,paddingInlineStart:d,"&-lg":{borderRadius:m,paddingInlineStart:y,[`input${f}-input`]:{padding:`${(0,e.unit)(C)} 0`}},"&-sm":{borderRadius:v,paddingInlineStart:b,[`input${f}-input`]:{padding:`${(0,e.unit)(x)} 0`}},[`&:not(${f}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${f}-disabled`]:{background:"transparent"},[`> div${f}`]:{width:"100%",border:"none",outline:"none",[`&${f}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${f}-handler-wrap`]:{zIndex:2},[f]:{color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:p},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:d,marginInlineStart:p}}})}};return Zg.default=(0,o.genStyleHooks)("InputNumber",c=>{const f=(0,o.mergeToken)(c,(0,t.initInputToken)(c));return[s(f),u(f),(0,i.genCompactItemStyle)(f)]},a.prepareComponentToken,{unitless:{handleOpacity:!0}}),Zg}var m6e;function $Ve(){if(m6e)return S_;m6e=1;var e=ze;Object.defineProperty(S_,"__esModule",{value:!0}),S_.default=void 0;var t=m(_),n=e(aP()),r=e(xXt()),i=e(Tt()),o=e(_Xt),a=jd();_n();var l=m(Lt()),s=e($a()),u=e(zr()),c=e(no()),f=fi(),h=e(Dh()),d=ts(),p=e(OXt());function g(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(g=function(O){return O?w:S})(x)}function m(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=g(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var v=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{getPrefixCls:w,direction:O}=t.useContext(l.ConfigContext),$=t.useRef(null);t.useImperativeHandle(S,()=>$.current);const{className:P,rootClassName:T,size:R,disabled:M,prefixCls:A,addonBefore:N,addonAfter:j,prefix:D,bordered:L,readOnly:B,status:k,controls:z,variant:q}=x,W=v(x,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls","variant"]),U=w("input-number",A),K=(0,u.default)(U),[X,G,Y]=(0,p.default)(U,K),{compactSize:J,compactItemClassnames:ee}=(0,d.useCompactItemContext)(U,O);let Q=t.createElement(r.default,{className:`${U}-handler-up-inner`}),te=t.createElement(n.default,{className:`${U}-handler-down-inner`});const ne=typeof z=="boolean"?z:void 0;typeof z=="object"&&(Q=typeof z.upIcon>"u"?Q:t.createElement("span",{className:`${U}-handler-up-inner`},z.upIcon),te=typeof z.downIcon>"u"?te:t.createElement("span",{className:`${U}-handler-down-inner`},z.downIcon));const{hasFeedback:re,status:oe,isFormItemInput:se,feedbackIcon:ye}=t.useContext(f.FormItemInputContext),be=(0,a.getMergedStatus)(oe,k),he=(0,c.default)(Te=>{var Ne;return(Ne=R??J)!==null&&Ne!==void 0?Ne:Te}),le=t.useContext(s.default),ve=M??le,[ke,Ie]=(0,h.default)(q,L),Oe=re&&t.createElement(t.Fragment,null,ye),Pe=(0,i.default)({[`${U}-lg`]:he==="large",[`${U}-sm`]:he==="small",[`${U}-rtl`]:O==="rtl",[`${U}-in-form-item`]:se},G),_e=`${U}-group`,ce=t.createElement(o.default,Object.assign({ref:$,disabled:ve,className:(0,i.default)(Y,K,P,T,ee),upHandler:Q,downHandler:te,prefixCls:U,readOnly:B,controls:ne,prefix:D,suffix:Oe,addonAfter:j&&t.createElement(d.NoCompactStyle,null,t.createElement(f.NoFormStyle,{override:!0,status:!0},j)),addonBefore:N&&t.createElement(d.NoCompactStyle,null,t.createElement(f.NoFormStyle,{override:!0,status:!0},N)),classNames:{input:Pe,variant:(0,i.default)({[`${U}-${ke}`]:Ie},(0,a.getStatusClassNames)(U,be,re)),affixWrapper:(0,i.default)({[`${U}-affix-wrapper-sm`]:he==="small",[`${U}-affix-wrapper-lg`]:he==="large",[`${U}-affix-wrapper-rtl`]:O==="rtl"},G),wrapper:(0,i.default)({[`${_e}-rtl`]:O==="rtl"},G),groupWrapper:(0,i.default)({[`${U}-group-wrapper-sm`]:he==="small",[`${U}-group-wrapper-lg`]:he==="large",[`${U}-group-wrapper-rtl`]:O==="rtl",[`${U}-group-wrapper-${ke}`]:Ie},(0,a.getStatusClassNames)(`${U}-group-wrapper`,be,re),G)}},W));return X(ce)}),b=y,C=x=>t.createElement(l.default,{theme:{components:{InputNumber:{handleVisible:!0}}}},t.createElement(y,Object.assign({},x)));return b._InternalPanelDoNotUseOrYouWillBeFired=C,S_.default=b,S_}var v6e;function gae(){if(v6e)return C_;v6e=1;var e=ze;Object.defineProperty(C_,"__esModule",{value:!0}),C_.default=void 0;var t=e(Tt()),n=o(_),r=e($Ve());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,min:u=0,max:c=100,value:f,onChange:h,className:d,formatter:p}=l;const g=`${s}-steppers`,[m,v]=(0,n.useState)(f);return(0,n.useEffect)(()=>{Number.isNaN(f)||v(f)},[f]),n.default.createElement(r.default,{className:(0,t.default)(g,d),min:u,max:c,value:m,formatter:p,size:"small",onChange:y=>{f||v(y||0),h==null||h(y)}})};return C_.default=a,C_}var y6e;function EXt(){if(y6e)return b_;y6e=1;var e=ze;Object.defineProperty(b_,"__esModule",{value:!0}),b_.default=void 0;var t=o(_),n=Lh(),r=e(gae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-alpha-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=g=>{const m=h.toHsb();m.a=(g||0)/100;const v=(0,n.generateColor)(m);u||d(v),c==null||c(v)};return t.default.createElement(r.default,{value:(0,n.getAlphaColor)(h),prefixCls:s,formatter:g=>`${g}%`,className:f,onChange:p})};return b_.default=a,b_}var __={},w_={},O_={},b6e;function $Xt(){if(b6e)return O_;b6e=1;var e=ze;Object.defineProperty(O_,"__esModule",{value:!0}),O_.default=void 0;var t=s(_),n=t,r=e(Tt());_n();var i=Lt(),o=fi(),a=e(eb());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{getPrefixCls:f,direction:h}=(0,t.useContext)(i.ConfigContext),{prefixCls:d,className:p}=c,g=f("input-group",d),m=f("input"),[v,y]=(0,a.default)(m),b=(0,r.default)(g,{[`${g}-lg`]:c.size==="large",[`${g}-sm`]:c.size==="small",[`${g}-compact`]:c.compact,[`${g}-rtl`]:h==="rtl"},y,p),C=(0,t.useContext)(o.FormItemInputContext),x=(0,t.useMemo)(()=>Object.assign(Object.assign({},C),{isFormItemInput:!1}),[C]);return v(n.createElement("span",{className:b,style:c.style,onMouseEnter:c.onMouseEnter,onMouseLeave:c.onMouseLeave,onFocus:c.onFocus,onBlur:c.onBlur},n.createElement(o.FormItemInputContext.Provider,{value:x},c.children)))};return O_.default=u,O_}var s2={};const PXt=gr(Owt);var ZR={},C6e;function PVe(){if(C6e)return ZR;C6e=1,Object.defineProperty(ZR,"__esModule",{value:!0}),ZR.default=t;var e=_;function t(n,r){const i=(0,e.useRef)([]),o=()=>{i.current.push(setTimeout(()=>{var a,l,s,u;!((a=n.current)===null||a===void 0)&&a.input&&((l=n.current)===null||l===void 0?void 0:l.input.getAttribute("type"))==="password"&&(!((s=n.current)===null||s===void 0)&&s.input.hasAttribute("value"))&&((u=n.current)===null||u===void 0||u.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(r&&o(),()=>i.current.forEach(a=>{a&&clearTimeout(a)})),[]),o}return ZR}var QR={},S6e;function TXt(){if(S6e)return QR;S6e=1,Object.defineProperty(QR,"__esModule",{value:!0}),QR.hasPrefixSuffix=e;function e(t){return!!(t.prefix||t.suffix||t.allowClear||t.showCount)}return QR}var E_={},x6e;function TVe(){if(x6e)return E_;x6e=1;var e=ze;Object.defineProperty(E_,"__esModule",{value:!0}),E_.default=void 0;var t=e(_),n=e(qf());const r=i=>{let o;return typeof i=="object"&&(i!=null&&i.clearIcon)?o=i:i&&(o={clearIcon:t.default.createElement(n.default,null)}),o};return E_.default=r,E_}var _6e;function NF(){if(_6e)return s2;_6e=1;var e=ze;Object.defineProperty(s2,"__esModule",{value:!0}),s2.default=void 0,s2.triggerFocus=C;var t=y(_),n=e(Tt()),r=e(PXt),i=Nc(),o=jd();_n();var a=Lt(),l=e($a()),s=e(no()),u=fi(),c=ts(),f=e(PVe()),h=e(eb()),d=TXt(),p=e(zr()),g=e(Dh()),m=e(TVe());function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};function C(S,w){if(!S)return;S.focus(w);const{cursor:O}=w||{};if(O){const $=S.value.length;switch(O){case"start":S.setSelectionRange(0,0);break;case"end":S.setSelectionRange($,$);break;default:S.setSelectionRange(0,$);break}}}const x=(0,t.forwardRef)((S,w)=>{var O;const{prefixCls:$,bordered:P=!0,status:T,size:R,disabled:M,onBlur:A,onFocus:N,suffix:j,allowClear:D,addonAfter:L,addonBefore:B,className:k,style:z,styles:q,rootClassName:W,onChange:U,classNames:K,variant:X}=S,G=b(S,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Y,direction:J,input:ee}=t.default.useContext(a.ConfigContext),Q=Y("input",$),te=(0,t.useRef)(null),ne=(0,p.default)(Q),[re,oe,se]=(0,h.default)(Q,ne),{compactSize:ye,compactItemClassnames:be}=(0,c.useCompactItemContext)(Q,J),he=(0,s.default)(Ee=>{var $e;return($e=R??ye)!==null&&$e!==void 0?$e:Ee}),le=t.default.useContext(l.default),ve=M??le,{status:ke,hasFeedback:Ie,feedbackIcon:Oe}=(0,t.useContext)(u.FormItemInputContext),Pe=(0,o.getMergedStatus)(ke,T),_e=(0,d.hasPrefixSuffix)(S)||!!Ie;(0,t.useRef)(_e);const ce=(0,f.default)(te,!0),Te=Ee=>{ce(),A==null||A(Ee)},Ne=Ee=>{ce(),N==null||N(Ee)},je=Ee=>{ce(),U==null||U(Ee)},He=(Ie||j)&&t.default.createElement(t.default.Fragment,null,j,Ie&&Oe),Be=(0,m.default)(D),[qe,me]=(0,g.default)(X,P);return re(t.default.createElement(r.default,Object.assign({ref:(0,i.composeRef)(w,te),prefixCls:Q,autoComplete:ee==null?void 0:ee.autoComplete},G,{disabled:ve,onBlur:Te,onFocus:Ne,style:Object.assign(Object.assign({},ee==null?void 0:ee.style),z),styles:Object.assign(Object.assign({},ee==null?void 0:ee.styles),q),suffix:He,allowClear:Be,className:(0,n.default)(k,W,se,ne,be,ee==null?void 0:ee.className),onChange:je,addonAfter:L&&t.default.createElement(c.NoCompactStyle,null,t.default.createElement(u.NoFormStyle,{override:!0,status:!0},L)),addonBefore:B&&t.default.createElement(c.NoCompactStyle,null,t.default.createElement(u.NoFormStyle,{override:!0,status:!0},B)),classNames:Object.assign(Object.assign(Object.assign({},K),ee==null?void 0:ee.classNames),{input:(0,n.default)({[`${Q}-sm`]:he==="small",[`${Q}-lg`]:he==="large",[`${Q}-rtl`]:J==="rtl"},K==null?void 0:K.input,(O=ee==null?void 0:ee.classNames)===null||O===void 0?void 0:O.input,oe),variant:(0,n.default)({[`${Q}-${qe}`]:me},(0,o.getStatusClassNames)(Q,Pe)),affixWrapper:(0,n.default)({[`${Q}-affix-wrapper-sm`]:he==="small",[`${Q}-affix-wrapper-lg`]:he==="large",[`${Q}-affix-wrapper-rtl`]:J==="rtl"},oe),wrapper:(0,n.default)({[`${Q}-group-rtl`]:J==="rtl"},oe),groupWrapper:(0,n.default)({[`${Q}-group-wrapper-sm`]:he==="small",[`${Q}-group-wrapper-lg`]:he==="large",[`${Q}-group-wrapper-rtl`]:J==="rtl",[`${Q}-group-wrapper-${qe}`]:me},(0,o.getStatusClassNames)(`${Q}-group-wrapper`,Pe,Ie),oe)})})))});return s2.default=x,s2}var $_={},JR={exports:{}},vG={},eI={},w6e;function MXt(){if(w6e)return eI;w6e=1,Object.defineProperty(eI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};return eI.default=e,eI}var O6e;function RXt(){return O6e||(O6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(MXt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pv?n.createElement(i.default,null):n.createElement(r.default,null),g={click:"onClick",hover:"onMouseOver"},m=n.forwardRef((v,y)=>{const{visibilityToggle:b=!0}=v,C=typeof b=="object"&&b.visible!==void 0,[x,S]=(0,t.useState)(()=>C?b.visible:!1),w=(0,t.useRef)(null);n.useEffect(()=>{C&&S(b.visible)},[C,b]);const O=(0,u.default)(w),$=()=>{const{disabled:q}=v;q||(x&&O(),S(W=>{var U;const K=!W;return typeof b=="object"&&((U=b.onVisibleChange)===null||U===void 0||U.call(b,K)),K}))},P=q=>{const{action:W="click",iconRender:U=p}=v,K=g[W]||"",X=U(x),G={[K]:$,className:`${q}-icon`,key:"passwordIcon",onMouseDown:Y=>{Y.preventDefault()},onMouseUp:Y=>{Y.preventDefault()}};return n.cloneElement(n.isValidElement(X)?X:n.createElement("span",null,X),G)},{className:T,prefixCls:R,inputPrefixCls:M,size:A}=v,N=d(v,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:j}=n.useContext(s.ConfigContext),D=j("input",M),L=j("input-password",R),B=b&&P(L),k=(0,o.default)(L,T,{[`${L}-${A}`]:!!A}),z=Object.assign(Object.assign({},(0,a.default)(N,["suffix","iconRender","visibilityToggle"])),{type:x?"text":"password",className:k,prefixCls:D,suffix:B});return A&&(z.size=A),n.createElement(c.default,Object.assign({ref:(0,l.composeRef)(y,w)},z))});return $_.default=m,$_}var P_={},R6e;function jXt(){if(R6e)return P_;R6e=1;var e=ze;Object.defineProperty(P_,"__esModule",{value:!0}),P_.default=void 0;var t=h(_),n=e(wF()),r=e(Tt()),i=Nc(),o=to(),a=e(Ac()),l=Lt(),s=e(no()),u=ts(),c=e(NF());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,inputPrefixCls:y,className:b,size:C,suffix:x,enterButton:S=!1,addonAfter:w,loading:O,disabled:$,onSearch:P,onChange:T,onCompositionStart:R,onCompositionEnd:M}=g,A=d(g,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:N,direction:j}=t.useContext(l.ConfigContext),D=t.useRef(!1),L=N("input-search",v),B=N("input",y),{compactSize:k}=(0,u.useCompactItemContext)(L,j),z=(0,s.default)(oe=>{var se;return(se=C??k)!==null&&se!==void 0?se:oe}),q=t.useRef(null),W=oe=>{oe&&oe.target&&oe.type==="click"&&P&&P(oe.target.value,oe,{source:"clear"}),T&&T(oe)},U=oe=>{var se;document.activeElement===((se=q.current)===null||se===void 0?void 0:se.input)&&oe.preventDefault()},K=oe=>{var se,ye;P&&P((ye=(se=q.current)===null||se===void 0?void 0:se.input)===null||ye===void 0?void 0:ye.value,oe,{source:"input"})},X=oe=>{D.current||O||K(oe)},G=typeof S=="boolean"?t.createElement(n.default,null):null,Y=`${L}-button`;let J;const ee=S||{},Q=ee.type&&ee.type.__ANT_BUTTON===!0;Q||ee.type==="button"?J=(0,o.cloneElement)(ee,Object.assign({onMouseDown:U,onClick:oe=>{var se,ye;(ye=(se=ee==null?void 0:ee.props)===null||se===void 0?void 0:se.onClick)===null||ye===void 0||ye.call(se,oe),K(oe)},key:"enterButton"},Q?{className:Y,size:z}:{})):J=t.createElement(a.default,{className:Y,type:S?"primary":void 0,size:z,disabled:$,key:"enterButton",onMouseDown:U,onClick:K,loading:O,icon:G},S),w&&(J=[J,(0,o.cloneElement)(w,{key:"addonAfter"})]);const te=(0,r.default)(L,{[`${L}-rtl`]:j==="rtl",[`${L}-${z}`]:!!z,[`${L}-with-button`]:!!S},b),ne=oe=>{D.current=!0,R==null||R(oe)},re=oe=>{D.current=!1,M==null||M(oe)};return t.createElement(c.default,Object.assign({ref:(0,i.composeRef)(q,m),onPressEnter:X},A,{size:z,onCompositionStart:ne,onCompositionEnd:re,prefixCls:B,addonAfter:J,suffix:x,onChange:W,className:te,disabled:$}))});return P_.default=p,P_}var T_={};const DXt=gr(COt);var I6e;function MVe(){if(I6e)return T_;I6e=1;var e=ze;Object.defineProperty(T_,"__esModule",{value:!0}),T_.default=void 0;var t=m(_),n=t,r=e(qf()),i=e(Tt()),o=e(DXt),a=jd(),l=Lt(),s=e($a()),u=e(no()),c=fi(),f=NF(),h=e(eb()),d=e(zr()),p=e(Dh());_n();function g(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(g=function(S){return S?x:C})(b)}function m(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=g(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var v=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{var x;const{prefixCls:S,bordered:w=!0,size:O,disabled:$,status:P,allowClear:T,classNames:R,rootClassName:M,className:A,variant:N}=b,j=v(b,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","variant"]),{getPrefixCls:D,direction:L}=n.useContext(l.ConfigContext),B=(0,u.default)(O),k=n.useContext(s.default),z=$??k,{status:q,hasFeedback:W,feedbackIcon:U}=n.useContext(c.FormItemInputContext),K=(0,a.getMergedStatus)(q,P),X=n.useRef(null);n.useImperativeHandle(C,()=>{var oe;return{resizableTextArea:(oe=X.current)===null||oe===void 0?void 0:oe.resizableTextArea,focus:se=>{var ye,be;(0,f.triggerFocus)((be=(ye=X.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||be===void 0?void 0:be.textArea,se)},blur:()=>{var se;return(se=X.current)===null||se===void 0?void 0:se.blur()}}});const G=D("input",S);let Y;typeof T=="object"&&(T!=null&&T.clearIcon)?Y=T:T&&(Y={clearIcon:n.createElement(r.default,null)});const J=(0,d.default)(G),[ee,Q,te]=(0,h.default)(G,J),[ne,re]=(0,p.default)(N,w);return ee(n.createElement(o.default,Object.assign({},j,{disabled:z,allowClear:Y,className:(0,i.default)(te,J,A,M),classNames:Object.assign(Object.assign({},R),{textarea:(0,i.default)({[`${G}-sm`]:B==="small",[`${G}-lg`]:B==="large"},Q,R==null?void 0:R.textarea),variant:(0,i.default)({[`${G}-${ne}`]:re},(0,a.getStatusClassNames)(G,K)),affixWrapper:(0,i.default)(`${G}-textarea-affix-wrapper`,{[`${G}-affix-wrapper-rtl`]:L==="rtl",[`${G}-affix-wrapper-sm`]:B==="small",[`${G}-affix-wrapper-lg`]:B==="large",[`${G}-textarea-show-count`]:b.showCount||((x=b.count)===null||x===void 0?void 0:x.show)},Q)}),prefixCls:G,suffix:W&&n.createElement("span",{className:`${G}-textarea-suffix`},U),ref:X})))});return T_.default=y,T_}var N6e;function AF(){if(N6e)return w_;N6e=1;var e=ze;Object.defineProperty(w_,"__esModule",{value:!0}),w_.default=void 0;var t=e($Xt()),n=e(NF()),r=e(kXt()),i=e(jXt()),o=e(MVe());const a=n.default;return a.Group=t.default,a.Search=i.default,a.TextArea=o.default,a.Password=r.default,w_.default=a,w_}var A6e;function LXt(){if(A6e)return __;A6e=1;var e=ze;Object.defineProperty(__,"__esModule",{value:!0}),__.default=void 0;var t=a(_),n=e(AF()),r=OVe(),i=Lh();function o(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(o=function(d){return d?h:f})(c)}function a(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=o(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const l=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,s=c=>l.test(`#${c}`),u=c=>{let{prefixCls:f,value:h,onChange:d}=c;const p=`${f}-hex-input`,[g,m]=(0,t.useState)(h==null?void 0:h.toHex());(0,t.useEffect)(()=>{const y=h==null?void 0:h.toHex();s(y)&&h&&m((0,r.toHexFormat)(y))},[h]);const v=y=>{const b=y.target.value;m((0,r.toHexFormat)(b)),s((0,r.toHexFormat)(b,!0))&&(d==null||d((0,i.generateColor)(b)))};return t.default.createElement(n.default,{className:p,value:g,prefix:"#",onChange:v,size:"small"})};return __.default=u,__}var M_={},k6e;function zXt(){if(k6e)return M_;k6e=1;var e=ze;Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=void 0;var t=o(_),n=Lh(),r=e(gae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-hsb-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=(g,m)=>{const v=h.toHsb();v[m]=m==="h"?g:(g||0)/100;const y=(0,n.generateColor)(v);u||d(y),c==null||c(y)};return t.default.createElement("div",{className:f},t.default.createElement(r.default,{max:360,min:0,value:Number(h.toHsb().h),prefixCls:s,className:f,formatter:g=>(0,n.getRoundNumber)(g||0).toString(),onChange:g=>p(Number(g),"h")}),t.default.createElement(r.default,{max:100,min:0,value:Number(h.toHsb().s)*100,prefixCls:s,className:f,formatter:g=>`${(0,n.getRoundNumber)(g||0)}%`,onChange:g=>p(Number(g),"s")}),t.default.createElement(r.default,{max:100,min:0,value:Number(h.toHsb().b)*100,prefixCls:s,className:f,formatter:g=>`${(0,n.getRoundNumber)(g||0)}%`,onChange:g=>p(Number(g),"b")}))};return M_.default=a,M_}var R_={},j6e;function BXt(){if(j6e)return R_;j6e=1;var e=ze;Object.defineProperty(R_,"__esModule",{value:!0}),R_.default=void 0;var t=o(_),n=Lh(),r=e(gae());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{let{prefixCls:s,value:u,onChange:c}=l;const f=`${s}-rgb-input`,[h,d]=(0,t.useState)((0,n.generateColor)(u||"#000"));(0,t.useEffect)(()=>{u&&d(u)},[u]);const p=(g,m)=>{const v=h.toRgb();v[m]=g||0;const y=(0,n.generateColor)(v);u||d(y),c==null||c(y)};return t.default.createElement("div",{className:f},t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().r),prefixCls:s,className:f,onChange:g=>p(Number(g),"r")}),t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().g),prefixCls:s,className:f,onChange:g=>p(Number(g),"g")}),t.default.createElement(r.default,{max:255,min:0,value:Number(h.toRgb().b),prefixCls:s,className:f,onChange:g=>p(Number(g),"b")}))};return R_.default=a,R_}var D6e;function FXt(){if(D6e)return v_;D6e=1;var e=ze;Object.defineProperty(v_,"__esModule",{value:!0}),v_.default=void 0;var t=e(ns()),n=c(_),r=e(lP()),i=bXt(),o=e(EXt()),a=e(LXt()),l=e(zXt()),s=e(BXt());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f=[i.ColorFormat.hex,i.ColorFormat.hsb,i.ColorFormat.rgb].map(d=>({value:d,label:d.toLocaleUpperCase()})),h=d=>{const{prefixCls:p,format:g,value:m,disabledAlpha:v,onFormatChange:y,onChange:b}=d,[C,x]=(0,t.default)(i.ColorFormat.hex,{value:g,onChange:y}),S=`${p}-input`,w=$=>{x($)},O=(0,n.useMemo)(()=>{const $={value:m,prefixCls:p,onChange:b};switch(C){case i.ColorFormat.hsb:return n.default.createElement(l.default,Object.assign({},$));case i.ColorFormat.rgb:return n.default.createElement(s.default,Object.assign({},$));case i.ColorFormat.hex:default:return n.default.createElement(a.default,Object.assign({},$))}},[C,p,m,b]);return n.default.createElement("div",{className:`${S}-container`},n.default.createElement(r.default,{value:C,variant:"borderless",getPopupContainer:$=>$,popupMatchSelectWidth:68,placement:"bottomRight",onChange:w,className:`${p}-format-select`,size:"small",options:f}),n.default.createElement("div",{className:S},O),!v&&n.default.createElement(o.default,{prefixCls:p,value:m,onChange:b}))};return v_.default=h,v_}var L6e;function HXt(){if(L6e)return g_;L6e=1;var e=ze;Object.defineProperty(g_,"__esModule",{value:!0}),g_.default=void 0;var t=e(IF),n=l(_),r=hae(),i=e(EVe()),o=e(FXt());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const c=(0,n.useContext)(r.PanelPickerContext),{prefixCls:f,colorCleared:h,allowClear:d,value:p,disabledAlpha:g,onChange:m,onClear:v,onChangeComplete:y}=c,b=s(c,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return n.default.createElement(n.default.Fragment,null,d&&n.default.createElement(i.default,Object.assign({prefixCls:f,value:p,colorCleared:h,onChange:C=>{m==null||m(C),v==null||v()}},b)),n.default.createElement(t.default,{prefixCls:f,value:p==null?void 0:p.toHsb(),disabledAlpha:g,onChange:(C,x)=>m==null?void 0:m(C,x,!0),onChangeComplete:y}),n.default.createElement(o.default,Object.assign({value:p,onChange:m,prefixCls:f,disabledAlpha:g},b)))};return g_.default=u,g_}var I_={},N_={},z6e;function WXt(){if(z6e)return N_;z6e=1;var e=ze;Object.defineProperty(N_,"__esModule",{value:!0}),N_.default=void 0;var t=c(_),n=IF,r=e(Tt()),i=e(ns()),o=e(_Ve()),a=Rl(),l=Jt(),s=Lh();function u(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(u=function(y){return y?v:m})(g)}function c(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=u(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}const f=g=>g.map(m=>(m.colors=m.colors.map(s.generateColor),m)),h=(g,m)=>{const{r:v,g:y,b,a:C}=g.toRgb(),x=new n.Color(g.toRgbString()).onBackground(m).toHsv();return C<=.5?x.v>.5:v*.299+y*.587+b*.114>192},d=g=>{let{label:m}=g;return`panel-${m}`},p=g=>{let{prefixCls:m,presets:v,value:y,onChange:b}=g;const[C]=(0,a.useLocale)("ColorPicker"),[,x]=(0,l.useToken)(),[S]=(0,i.default)(f(v),{value:f(v),postState:f}),w=`${m}-presets`,O=(0,t.useMemo)(()=>S.reduce((T,R)=>{const{defaultOpen:M=!0}=R;return M&&T.push(d(R)),T},[]),[S]),$=T=>{b==null||b(T)},P=S.map(T=>{var R;return{key:d(T),label:t.default.createElement("div",{className:`${w}-label`},T==null?void 0:T.label),children:t.default.createElement("div",{className:`${w}-items`},Array.isArray(T==null?void 0:T.colors)&&((R=T.colors)===null||R===void 0?void 0:R.length)>0?T.colors.map((M,A)=>t.default.createElement(n.ColorBlock,{key:`preset-${A}-${M.toHexString()}`,color:(0,s.generateColor)(M).toRgbString(),prefixCls:m,className:(0,r.default)(`${w}-color`,{[`${w}-color-checked`]:M.toHexString()===(y==null?void 0:y.toHexString()),[`${w}-color-bright`]:h(M,x.colorBgElevated)}),onClick:()=>$(M)})):t.default.createElement("span",{className:`${w}-empty`},C.presetEmpty))}});return t.default.createElement("div",{className:w},t.default.createElement(o.default,{defaultActiveKey:O,ghost:!0,items:P}))};return N_.default=p,N_}var B6e;function qXt(){if(B6e)return I_;B6e=1;var e=ze;Object.defineProperty(I_,"__esModule",{value:!0}),I_.default=void 0;var t=o(_),n=hae(),r=e(WXt());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=()=>{const{prefixCls:l,value:s,presets:u,onChange:c}=(0,t.useContext)(n.PanelPresetsContext);return Array.isArray(u)?t.default.createElement(r.default,{value:s,presets:u,prefixCls:l,onChange:c}):null};return I_.default=a,I_}var F6e;function VXt(){if(F6e)return p_;F6e=1;var e=ze;Object.defineProperty(p_,"__esModule",{value:!0}),p_.default=void 0;var t=e(_),n=e(wVe()),r=e(HXt()),i=e(qXt()),o=hae(),a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{prefixCls:u,presets:c,panelRender:f,color:h,onChange:d,onClear:p}=s,g=a(s,["prefixCls","presets","panelRender","color","onChange","onClear"]),m=`${u}-inner`,v=Object.assign({prefixCls:u,value:h,onChange:d,onClear:p},g),y=t.default.useMemo(()=>({prefixCls:u,value:h,presets:c,onChange:d}),[u,h,c,d]),b=t.default.createElement("div",{className:`${m}-content`},t.default.createElement(r.default,null),Array.isArray(c)&&t.default.createElement(n.default,null),t.default.createElement(i.default,null));return t.default.createElement(o.PanelPickerProvider,{value:v},t.default.createElement(o.PanelPresetsProvider,{value:y},t.default.createElement("div",{className:m},typeof f=="function"?f(b,{components:{Picker:r.default,Presets:i.default}}):b)))};return p_.default=l,p_}var A_={},H6e;function UXt(){if(H6e)return A_;H6e=1;var e=ze;Object.defineProperty(A_,"__esModule",{value:!0}),A_.default=void 0;var t=IF,n=e(Tt()),r=l(_),i=Lh(),o=e(EVe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{color:h,prefixCls:d,open:p,colorCleared:g,disabled:m,format:v,className:y,showText:b}=c,C=s(c,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),x=`${d}-trigger`,S=(0,r.useMemo)(()=>g?r.default.createElement(o.default,{prefixCls:d}):r.default.createElement(t.ColorBlock,{prefixCls:d,color:h.toRgbString()}),[h,g,d]),w=()=>{const $=h.toHexString().toUpperCase(),P=(0,i.getAlphaColor)(h);switch(v){case"rgb":return h.toRgbString();case"hsb":return h.toHsbString();case"hex":default:return P<100?`${$.slice(0,7)},${P}%`:$}},O=()=>{if(typeof b=="function")return b(h);if(b)return w()};return r.default.createElement("div",Object.assign({ref:f,className:(0,n.default)(x,y,{[`${x}-active`]:p,[`${x}-disabled`]:m})},C),S,b&&r.default.createElement("div",{className:`${x}-text`},O()))});return A_.default=u,A_}var k_={},W6e;function GXt(){if(W6e)return k_;W6e=1,Object.defineProperty(k_,"__esModule",{value:!0}),k_.default=void 0;var e=_,t=Lh();function n(i){return i!==void 0}const r=(i,o)=>{const{defaultValue:a,value:l}=o,[s,u]=(0,e.useState)(()=>{let c;return n(l)?c=l:n(a)?c=a:c=i,(0,t.generateColor)(c||"")});return(0,e.useEffect)(()=>{l&&u((0,t.generateColor)(l))},[l]),[s,u]};return k_.default=r,k_}var Qg={},Jg={},q6e;function RVe(){if(q6e)return Jg;q6e=1,Object.defineProperty(Jg,"__esModule",{value:!0}),Jg.getTransBg=Jg.default=void 0;var e=Xt;const t=(r,i)=>({backgroundImage:`conic-gradient(${i} 0 25%, transparent 0 50%, ${i} 0 75%, transparent 0)`,backgroundSize:`${r} ${r}`});Jg.getTransBg=t;const n=(r,i)=>{const{componentCls:o,borderRadiusSM:a,colorPickerInsetShadow:l,lineWidth:s,colorFillSecondary:u}=r;return{[`${o}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:a,width:i,height:i,boxShadow:l},t("50%",r.colorFillSecondary)),{[`${o}-color-block-inner`]:{width:"100%",height:"100%",border:`${(0,e.unit)(s)} solid ${u}`,borderRadius:"inherit"}})}};return Jg.default=n,Jg}var j_={},V6e;function KXt(){if(V6e)return j_;V6e=1,Object.defineProperty(j_,"__esModule",{value:!0}),j_.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,fontSizeSM:o,lineHeightSM:a,colorPickerAlphaInputWidth:l,marginXXS:s,paddingXXS:u,controlHeightSM:c,marginXS:f,fontSizeIcon:h,paddingXS:d,colorTextPlaceholder:p,colorPickerInputNumberHandleWidth:g,lineWidth:m}=n;return{[`${r}-input-container`]:{display:"flex",[`${r}-steppers${i}-input-number`]:{fontSize:o,lineHeight:a,[`${i}-input-number-input`]:{paddingInlineStart:u,paddingInlineEnd:0},[`${i}-input-number-handler-wrap`]:{width:g}},[`${r}-steppers${r}-alpha-input`]:{flex:`0 0 ${(0,e.unit)(l)}`,marginInlineStart:s},[`${r}-format-select${i}-select`]:{marginInlineEnd:f,width:"auto","&-single":{[`${i}-select-selector`]:{padding:0,border:0},[`${i}-select-arrow`]:{insetInlineEnd:0},[`${i}-select-selection-item`]:{paddingInlineEnd:n.calc(h).add(s).equal(),fontSize:o,lineHeight:`${(0,e.unit)(c)}`},[`${i}-select-item-option-content`]:{fontSize:o,lineHeight:a},[`${i}-select-dropdown`]:{[`${i}-select-item`]:{minHeight:"auto"}}}},[`${r}-input`]:{gap:s,alignItems:"center",flex:1,width:0,[`${r}-hsb-input,${r}-rgb-input`]:{display:"flex",gap:s,alignItems:"center"},[`${r}-steppers`]:{flex:1},[`${r}-hex-input${i}-input-affix-wrapper`]:{flex:1,padding:`0 ${(0,e.unit)(d)}`,[`${i}-input`]:{fontSize:o,textTransform:"uppercase",lineHeight:(0,e.unit)(n.calc(c).sub(n.calc(m).mul(2)).equal())},[`${i}-input-prefix`]:{color:p}}}}}};return j_.default=t,j_}var D_={},U6e;function XXt(){if(U6e)return D_;U6e=1,Object.defineProperty(D_,"__esModule",{value:!0}),D_.default=void 0;var e=Xt,t=RVe();const n=r=>{const{componentCls:i,controlHeightLG:o,borderRadiusSM:a,colorPickerInsetShadow:l,marginSM:s,colorBgElevated:u,colorFillSecondary:c,lineWidthBold:f,colorPickerHandlerSize:h,colorPickerHandlerSizeSM:d,colorPickerSliderHeight:p}=r;return{[`${i}-select`]:{[`${i}-palette`]:{minHeight:r.calc(o).mul(4).equal(),overflow:"hidden",borderRadius:a},[`${i}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:l,inset:0},marginBottom:s},[`${i}-handler`]:{width:h,height:h,border:`${(0,e.unit)(f)} solid ${u}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${l}, 0 0 0 1px ${c}`,"&-sm":{width:d,height:d}},[`${i}-slider`]:{borderRadius:r.calc(p).div(2).equal(),[`${i}-palette`]:{height:p},[`${i}-gradient`]:{borderRadius:r.calc(p).div(2).equal(),boxShadow:l},"&-alpha":(0,t.getTransBg)(`${(0,e.unit)(p)}`,r.colorFillSecondary),"&-hue":{marginBottom:s}},[`${i}-slider-container`]:{display:"flex",gap:s,marginBottom:s,[`${i}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${i}-slider`]:{flex:1,marginBottom:0}}}}}};return D_.default=n,D_}var L_={},G6e;function YXt(){if(G6e)return L_;G6e=1,Object.defineProperty(L_,"__esModule",{value:!0}),L_.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,colorTextQuaternary:o,paddingXXS:a,colorPickerPresetColorSize:l,fontSizeSM:s,colorText:u,lineHeightSM:c,lineWidth:f,borderRadius:h,colorFill:d,colorWhite:p,marginXXS:g,paddingXS:m,fontHeightSM:v}=n;return{[`${r}-presets`]:{[`${i}-collapse-item > ${i}-collapse-header`]:{padding:0,[`${i}-collapse-expand-icon`]:{height:v,color:o,paddingInlineEnd:a}},[`${i}-collapse`]:{display:"flex",flexDirection:"column",gap:g},[`${i}-collapse-item > ${i}-collapse-content > ${i}-collapse-content-box`]:{padding:`${(0,e.unit)(m)} 0`},"&-label":{fontSize:s,color:u,lineHeight:c},"&-items":{display:"flex",flexWrap:"wrap",gap:n.calc(g).mul(1.5).equal(),[`${r}-presets-color`]:{position:"relative",cursor:"pointer",width:l,height:l,"&::before":{content:'""',pointerEvents:"none",width:n.calc(l).add(n.calc(f).mul(4)).equal(),height:n.calc(l).add(n.calc(f).mul(4)).equal(),position:"absolute",top:n.calc(f).mul(-2).equal(),insetInlineStart:n.calc(f).mul(-2).equal(),borderRadius:h,border:`${(0,e.unit)(f)} solid transparent`,transition:`border-color ${n.motionDurationMid} ${n.motionEaseInBack}`},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:n.calc(l).div(13).mul(5).equal(),height:n.calc(l).div(13).mul(8).equal(),border:`${(0,e.unit)(n.lineWidthBold)} solid ${n.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${n.motionDurationFast} ${n.motionEaseInBack}, opacity ${n.motionDurationFast}`},[`&${r}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:p,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${n.motionDurationMid} ${n.motionEaseOutBack} ${n.motionDurationFast}`},[`&${r}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:s,color:o}}}};return L_.default=t,L_}var K6e;function ZXt(){if(K6e)return Qg;K6e=1;var e=ze;Object.defineProperty(Qg,"__esModule",{value:!0}),Qg.genActiveStyle=Qg.default=void 0;var t=Xt,n=Jt(),r=e(RVe()),i=e(KXt()),o=e(XXt()),a=e(YXt());const l=(d,p,g)=>({borderInlineEndWidth:d.lineWidth,borderColor:p,boxShadow:`0 0 0 ${(0,t.unit)(d.controlOutlineWidth)} ${g}`,outline:0});Qg.genActiveStyle=l;const s=d=>{const{componentCls:p}=d;return{"&-rtl":{[`${p}-presets-color`]:{"&::after":{direction:"ltr"}},[`${p}-clear`]:{"&::after":{direction:"ltr"}}}}},u=(d,p,g)=>{const{componentCls:m,borderRadiusSM:v,lineWidth:y,colorSplit:b,red6:C}=d;return{[`${m}-clear`]:Object.assign(Object.assign({width:p,height:p,borderRadius:v,border:`${(0,t.unit)(y)} solid ${b}`,position:"relative",overflow:"hidden"},g),{"&::after":{content:'""',position:"absolute",insetInlineEnd:y,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:C}})}},c=d=>{const{componentCls:p,colorError:g,colorWarning:m,colorErrorHover:v,colorWarningHover:y,colorErrorOutline:b,colorWarningOutline:C}=d;return{[`&${p}-status-error`]:{borderColor:g,"&:hover":{borderColor:v},[`&${p}-trigger-active`]:Object.assign({},l(d,g,b))},[`&${p}-status-warning`]:{borderColor:m,"&:hover":{borderColor:y},[`&${p}-trigger-active`]:Object.assign({},l(d,m,C))}}},f=d=>{const{componentCls:p,controlHeightLG:g,controlHeightSM:m,controlHeight:v,controlHeightXS:y,borderRadius:b,borderRadiusSM:C,borderRadiusXS:x,borderRadiusLG:S,fontSizeLG:w}=d;return{[`&${p}-lg`]:{minWidth:g,height:g,borderRadius:S,[`${p}-color-block, ${p}-clear`]:{width:v,height:v,borderRadius:b},[`${p}-trigger-text`]:{fontSize:w}},[`&${p}-sm`]:{minWidth:m,height:m,borderRadius:C,[`${p}-color-block, ${p}-clear`]:{width:y,height:y,borderRadius:x}}}},h=d=>{const{antCls:p,componentCls:g,colorPickerWidth:m,colorPrimary:v,motionDurationMid:y,colorBgElevated:b,colorTextDisabled:C,colorText:x,colorBgContainerDisabled:S,borderRadius:w,marginXS:O,marginSM:$,controlHeight:P,controlHeightSM:T,colorBgTextActive:R,colorPickerPresetColorSize:M,colorPickerPreviewSize:A,lineWidth:N,colorBorder:j,paddingXXS:D,fontSize:L,colorPrimaryHover:B,controlOutline:k}=d;return[{[g]:Object.assign({[`${g}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:m,[`& > ${p}-divider`]:{margin:`${(0,t.unit)($)} 0 ${(0,t.unit)(O)}`}},[`${g}-panel`]:Object.assign({},(0,o.default)(d))},(0,r.default)(d,A)),(0,i.default)(d)),(0,a.default)(d)),u(d,M,{marginInlineStart:"auto",marginBottom:O})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:P,height:P,borderRadius:w,border:`${(0,t.unit)(N)} solid ${j}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${y}`,background:b,padding:d.calc(D).sub(N).equal(),[`${g}-trigger-text`]:{marginInlineStart:O,marginInlineEnd:d.calc(O).sub(d.calc(D).sub(N)).equal(),fontSize:L,color:x},"&:hover":{borderColor:B},[`&${g}-trigger-active`]:Object.assign({},l(d,v,k)),"&-disabled":{color:C,background:S,cursor:"not-allowed","&:hover":{borderColor:R},[`${g}-trigger-text`]:{color:C}}},u(d,T)),(0,r.default)(d,T)),c(d)),f(d))},s(d))}]};return Qg.default=(0,n.genStyleHooks)("ColorPicker",d=>{const{colorTextQuaternary:p,marginSM:g}=d,m=8,v=(0,n.mergeToken)(d,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${p}`,colorPickerSliderHeight:m,colorPickerPreviewSize:d.calc(m).mul(2).add(g).equal()});return[h(v)]}),Qg}var X6e;function QXt(){if(X6e)return f_;X6e=1;var e=ze;Object.defineProperty(f_,"__esModule",{value:!0}),f_.default=void 0;var t=y(_),n=e(Tt()),r=e(ns()),i=e(kd()),o=jd();_n();var a=J$(),l=e($a()),s=e(zr()),u=e(no()),c=fi(),f=e(PF()),h=e(VXt()),d=e(UXt()),p=e(GXt()),g=e(ZXt()),m=Lh();function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const C=S=>{const{value:w,defaultValue:O,format:$,defaultFormat:P,allowClear:T=!1,presets:R,children:M,trigger:A="click",open:N,disabled:j,placement:D="bottomLeft",arrow:L=!0,panelRender:B,showText:k,style:z,className:q,size:W,rootClassName:U,prefixCls:K,styles:X,disabledAlpha:G=!1,onFormatChange:Y,onChange:J,onClear:ee,onOpenChange:Q,onChangeComplete:te,getPopupContainer:ne,autoAdjustOverflow:re=!0,destroyTooltipOnHide:oe}=S,se=b(S,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:ye,direction:be,colorPicker:he}=(0,t.useContext)(a.ConfigContext),le=(0,t.useContext)(l.default),ve=j??le,[ke,Ie]=(0,p.default)("",{value:w,defaultValue:O}),[Oe,Pe]=(0,r.default)(!1,{value:N,postState:at=>!ve&&at,onChange:Q}),[_e,ce]=(0,r.default)($,{value:$,defaultValue:P,onChange:Y}),[Te,Ne]=(0,t.useState)(!w&&!O),je=ye("color-picker",K),He=(0,t.useMemo)(()=>(0,m.getAlphaColor)(ke)<100,[ke]),{status:Be}=t.default.useContext(c.FormItemInputContext),qe=(0,u.default)(W),me=(0,s.default)(je),[Ee,$e,Le]=(0,g.default)(je,me),Fe={[`${je}-rtl`]:be},Ke=(0,n.default)(U,Le,me,Fe),lt=(0,n.default)((0,o.getStatusClassNames)(je,Be),{[`${je}-sm`]:qe==="small",[`${je}-lg`]:qe==="large"},he==null?void 0:he.className,Ke,q,$e),ft=(0,n.default)(je,Ke),Ye=(0,t.useRef)(!0),we=(at,et,rt)=>{let Ze=(0,m.generateColor)(at);(Te||(w===null||!w&&O===null))&&(Ne(!1),(0,m.getAlphaColor)(ke)===0&&et!=="alpha"&&(Ze=(0,m.genAlphaColor)(Ze))),G&&He&&(Ze=(0,m.genAlphaColor)(Ze)),rt?Ye.current=!1:te==null||te(Ze),Ie(Ze),J==null||J(Ze,Ze.toHexString())},De=()=>{Ne(!0),ee==null||ee()},We=at=>{Ye.current=!0;let et=(0,m.generateColor)(at);G&&He&&(et=(0,m.genAlphaColor)(at)),te==null||te(et)},Ge={open:Oe,trigger:A,placement:D,arrow:L,rootClassName:U,getPopupContainer:ne,autoAdjustOverflow:re,destroyTooltipOnHide:oe},Je={prefixCls:je,color:ke,allowClear:T,colorCleared:Te,disabled:ve,disabledAlpha:G,presets:R,panelRender:B,format:_e,onFormatChange:ce,onChangeComplete:We},bt=Object.assign(Object.assign({},he==null?void 0:he.style),z);return Ee(t.default.createElement(f.default,Object.assign({style:X==null?void 0:X.popup,overlayInnerStyle:X==null?void 0:X.popupOverlayInner,onOpenChange:at=>{Ye.current&&!ve&&Pe(at)},content:t.default.createElement(c.NoFormStyle,{override:!0,status:!0},t.default.createElement(h.default,Object.assign({},Je,{onChange:we,onChangeComplete:We,onClear:De}))),overlayClassName:ft},Ge),M||t.default.createElement(d.default,Object.assign({open:Oe,className:lt,style:bt,color:w?(0,m.generateColor)(w):ke,prefixCls:je,disabled:ve,colorCleared:Te,showText:k,format:_e},se))))},x=(0,i.default)(C,"color-picker",S=>S,S=>Object.assign(Object.assign({},S),{placement:"bottom",autoAdjustOverflow:!1}));return C._InternalPanelDoNotUseOrYouWillBeFired=x,f_.default=C,f_}var Y6e;function JXt(){if(Y6e)return d_;Y6e=1;var e=ze;Object.defineProperty(d_,"__esModule",{value:!0}),d_.default=void 0;var t=e(QXt());return d_.default=t.default,d_}var z_={},B_={},rI={},iI={exports:{}},bG={},oI={},Z6e;function eYt(){if(Z6e)return oI;Z6e=1,Object.defineProperty(oI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};return oI.default=e,oI}var Q6e;function tYt(){return Q6e||(Q6e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(eYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pf===!1?!1:Object.assign({clearIcon:h},f===!0?{}:f),[f,h]),d]}return em}var uI={},dI={},lSe;function lYt(){if(lSe)return dI;lSe=1;var e=ze;Object.defineProperty(dI,"__esModule",{value:!0}),dI.default=o;var t=i(_),n=e(Ac());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){return t.createElement(n.default,Object.assign({size:"small",type:"primary"},a))}return dI}var sSe;function AVe(){if(sSe)return uI;sSe=1;var e=ze;Object.defineProperty(uI,"__esModule",{value:!0}),uI.default=r;var t=_,n=e(lYt());function r(i){return(0,t.useMemo)(()=>Object.assign({button:n.default},i),[i])}return uI}var cSe;function sYt(){if(cSe)return rI;cSe=1;var e=ze;Object.defineProperty(rI,"__esModule",{value:!0}),rI.default=$;var t=w(_),n=t,r=e(IVe()),i=e(NVe()),o=e(aYt()),a=e(Tt()),l=aae,s=dl(),u=jd();_n();var c=Lt(),f=e($a()),h=e(zr()),d=e(no()),p=fi(),g=e(Dh()),m=Rl(),v=ts(),y=e(cF()),b=e(uae()),C=vae(),x=e(AVe());function S(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(S=function(M){return M?R:T})(P)}function w(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=S(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var j=A?Object.getOwnPropertyDescriptor(P,N):null;j&&(j.get||j.set)?Object.defineProperty(M,N,j):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}var O=function(P,T){var R={};for(var M in P)Object.prototype.hasOwnProperty.call(P,M)&&T.indexOf(M)<0&&(R[M]=P[M]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(P);A{var A;const{prefixCls:N,getPopupContainer:j,components:D,className:L,style:B,placement:k,size:z,disabled:q,bordered:W=!0,placeholder:U,popupClassName:K,dropdownClassName:X,status:G,rootClassName:Y,variant:J}=R,ee=O(R,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant"]),Q=n.useRef(null),{getPrefixCls:te,direction:ne,getPopupContainer:re,rangePicker:oe}=(0,t.useContext)(c.ConfigContext),se=te("picker",N),{compactSize:ye,compactItemClassnames:be}=(0,v.useCompactItemContext)(se,ne),{picker:he}=R,le=te(),[ve,ke]=(0,g.default)(J,W),Ie=(0,h.default)(se),[Oe,Pe,_e]=(0,b.default)(se,Ie),[ce]=(0,C.useIcons)(R,se),Te=(0,x.default)(D),Ne=(0,d.default)(lt=>{var ft;return(ft=z??ye)!==null&&ft!==void 0?ft:lt}),je=n.useContext(f.default),He=q??je,Be=(0,t.useContext)(p.FormItemInputContext),{hasFeedback:qe,status:me,feedbackIcon:Ee}=Be,$e=n.createElement(n.Fragment,null,he==="time"?n.createElement(i.default,null):n.createElement(r.default,null),qe&&Ee);(0,t.useImperativeHandle)(M,()=>Q.current);const[Le]=(0,m.useLocale)("Calendar",y.default),Fe=Object.assign(Object.assign({},Le),R.locale),[Ke]=(0,s.useZIndex)("DatePicker",(A=R.popupStyle)===null||A===void 0?void 0:A.zIndex);return Oe(n.createElement(v.NoCompactStyle,null,n.createElement(l.RangePicker,Object.assign({separator:n.createElement("span",{"aria-label":"to",className:`${se}-separator`},n.createElement(o.default,null)),disabled:He,ref:Q,popupAlign:(0,C.transPlacement2DropdownAlign)(ne,k),placeholder:(0,C.getRangePlaceholder)(Fe,he,U),suffixIcon:$e,prevIcon:n.createElement("span",{className:`${se}-prev-icon`}),nextIcon:n.createElement("span",{className:`${se}-next-icon`}),superPrevIcon:n.createElement("span",{className:`${se}-super-prev-icon`}),superNextIcon:n.createElement("span",{className:`${se}-super-next-icon`}),transitionName:`${le}-slide-up`},ee,{className:(0,a.default)({[`${se}-${Ne}`]:Ne,[`${se}-${ve}`]:ke},(0,u.getStatusClassNames)(se,(0,u.getMergedStatus)(me,G),qe),Pe,be,L,oe==null?void 0:oe.className,_e,Ie,Y),style:Object.assign(Object.assign({},oe==null?void 0:oe.style),B),locale:Fe.lang,prefixCls:se,getPopupContainer:j||re,generateConfig:P,components:Te,direction:ne,classNames:{popup:(0,a.default)(Pe,K||X,_e,Ie,Y)},styles:{popup:Object.assign(Object.assign({},R.popupStyle),{zIndex:Ke})},allowClear:ce}))))})}return rI}var fI={},uSe;function cYt(){if(uSe)return fI;uSe=1;var e=ze;Object.defineProperty(fI,"__esModule",{value:!0}),fI.default=O;var t=S(_),n=t,r=e(IVe()),i=e(NVe()),o=e(Tt()),a=e(aae),l=dl(),s=jd();_n();var u=Lt(),c=e($a()),f=e(zr()),h=e(no()),d=fi(),p=e(Dh()),g=Rl(),m=ts(),v=e(cF()),y=e(uae()),b=vae(),C=e(AVe());function x($){if(typeof WeakMap!="function")return null;var P=new WeakMap,T=new WeakMap;return(x=function(R){return R?T:P})($)}function S($,P){if(!P&&$&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var T=x(P);if(T&&T.has($))return T.get($);var R={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in $)if(A!=="default"&&Object.prototype.hasOwnProperty.call($,A)){var N=M?Object.getOwnPropertyDescriptor($,A):null;N&&(N.get||N.set)?Object.defineProperty(R,A,N):R[A]=$[A]}return R.default=$,T&&T.set($,R),R}var w=function($,P){var T={};for(var R in $)Object.prototype.hasOwnProperty.call($,R)&&P.indexOf(R)<0&&(T[R]=$[R]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,R=Object.getOwnPropertySymbols($);M{var W;const{prefixCls:U,getPopupContainer:K,components:X,style:G,className:Y,rootClassName:J,size:ee,bordered:Q,placement:te,placeholder:ne,popupClassName:re,dropdownClassName:oe,disabled:se,status:ye,variant:be}=z,he=w(z,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant"]),{getPrefixCls:le,direction:ve,getPopupContainer:ke,[B]:Ie}=(0,t.useContext)(u.ConfigContext),Oe=le("picker",U),{compactSize:Pe,compactItemClassnames:_e}=(0,m.useCompactItemContext)(Oe,ve),ce=n.useRef(null),[Te,Ne]=(0,p.default)(be,Q),je=(0,f.default)(Oe),[He,Be,qe]=(0,y.default)(Oe,je);(0,t.useImperativeHandle)(q,()=>ce.current);const me={showToday:!0},Ee=D||z.picker,$e=le(),[Le,Fe]=(0,b.useIcons)(z,Oe),Ke=(0,C.default)(X),lt=(0,h.default)(rt=>{var Ze;return(Ze=ee??Pe)!==null&&Ze!==void 0?Ze:rt}),ft=n.useContext(c.default),Ye=se??ft,we=(0,t.useContext)(d.FormItemInputContext),{hasFeedback:De,status:We,feedbackIcon:Ge}=we,Je=n.createElement(n.Fragment,null,Ee==="time"?n.createElement(i.default,null):n.createElement(r.default,null),De&&Ge),[bt]=(0,g.useLocale)("DatePicker",v.default),at=Object.assign(Object.assign({},bt),z.locale),[et]=(0,l.useZIndex)("DatePicker",(W=z.popupStyle)===null||W===void 0?void 0:W.zIndex);return He(n.createElement(m.NoCompactStyle,null,n.createElement(a.default,Object.assign({ref:ce,placeholder:(0,b.getPlaceholder)(at,Ee,ne),suffixIcon:Je,dropdownAlign:(0,b.transPlacement2DropdownAlign)(ve,te),prevIcon:n.createElement("span",{className:`${Oe}-prev-icon`}),nextIcon:n.createElement("span",{className:`${Oe}-next-icon`}),superPrevIcon:n.createElement("span",{className:`${Oe}-super-prev-icon`}),superNextIcon:n.createElement("span",{className:`${Oe}-super-next-icon`}),transitionName:`${$e}-slide-up`,picker:D},me,he,{locale:at.lang,className:(0,o.default)({[`${Oe}-${lt}`]:lt,[`${Oe}-${Te}`]:Ne},(0,s.getStatusClassNames)(Oe,(0,s.getMergedStatus)(We,ye),De),Be,_e,Ie==null?void 0:Ie.className,Y,qe,je,J),style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),G),prefixCls:Oe,getPopupContainer:K||ke,generateConfig:$,components:Ke,direction:ve,disabled:Ye,classNames:{popup:(0,o.default)(Be,qe,je,J,re||oe)},styles:{popup:Object.assign(Object.assign({},z.popupStyle),{zIndex:et})},allowClear:Le,removeIcon:Fe}))))})}const T=P(),R=P("week","WeekPicker"),M=P("month","MonthPicker"),A=P("year","YearPicker"),N=P("time","TimePicker"),j=P("quarter","QuarterPicker");return{DatePicker:T,WeekPicker:R,MonthPicker:M,YearPicker:A,TimePicker:N,QuarterPicker:j}}return fI}var dSe;function uYt(){if(dSe)return B_;dSe=1;var e=ze;Object.defineProperty(B_,"__esModule",{value:!0}),B_.default=void 0;var t=e(sYt()),n=e(cYt());function r(i){const{DatePicker:o,WeekPicker:a,MonthPicker:l,YearPicker:s,TimePicker:u,QuarterPicker:c}=(0,n.default)(i),f=(0,t.default)(i),h=o;return h.WeekPicker=a,h.MonthPicker=l,h.YearPicker=s,h.RangePicker=f,h.TimePicker=u,h.QuarterPicker=c,h}return B_.default=r,B_}var fSe;function kVe(){if(fSe)return z_;fSe=1;var e=ze;Object.defineProperty(z_,"__esModule",{value:!0}),z_.default=void 0;var t=e(sVe()),n=e(kd()),r=e(uYt()),i=vae();const o=(0,r.default)(t.default);function a(u){const c=(0,i.transPlacement2DropdownAlign)(u.direction,u.placement);return c.overflow.adjustY=!1,c.overflow.adjustX=!1,Object.assign(Object.assign({},u),{dropdownAlign:c})}const l=(0,n.default)(o,"picker",null,a);o._InternalPanelDoNotUseOrYouWillBeFired=l;const s=(0,n.default)(o.RangePicker,"picker",null,a);return o._InternalRangePanelDoNotUseOrYouWillBeFired=s,o.generatePicker=r.default,z_.default=o,z_}var xG={},F_={},pSe;function dYt(){if(pSe)return F_;pSe=1,Object.defineProperty(F_,"__esModule",{value:!0}),F_.default=void 0;const e={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};return F_.default=e,F_}var H_={},hSe;function jVe(){if(hSe)return H_;hSe=1;var e=ze;Object.defineProperty(H_,"__esModule",{value:!0}),H_.default=void 0;var t=e(_);const n=t.default.createContext({});return H_.default=n,H_}var pI={},gSe;function fYt(){if(gSe)return pI;gSe=1;var e=ze;Object.defineProperty(pI,"__esModule",{value:!0}),pI.default=s;var t=o(_),n=e(fl()),r=AC();function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(i=function(h){return h?f:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=i(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var a=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d(0,n.default)(u).map(c=>Object.assign(Object.assign({},c==null?void 0:c.props),{key:c.key}));function s(u,c,f){const h=t.useMemo(()=>c||l(f),[c,f]);return t.useMemo(()=>h.map(p=>{var{span:g}=p,m=a(p,["span"]);return Object.assign(Object.assign({},m),{span:typeof g=="number"?g:(0,r.matchScreen)(u,g)})}),[h,u])}return pI}var W_={},mSe;function pYt(){if(mSe)return W_;mSe=1,Object.defineProperty(W_,"__esModule",{value:!0}),W_.default=void 0;var e=_;_n();function t(i,o,a){let l=i,s=!1;return(a===void 0||a>o)&&(l=Object.assign(Object.assign({},i),{span:o}),s=a!==void 0),[l,s]}function n(i,o){const a=[];let l=[],s=o,u=!1;return i.filter(c=>c).forEach((c,f)=>{const h=c==null?void 0:c.span,d=h||1;if(f===i.length-1){const[p,g]=t(c,s,h);u=u||g,l.push(p),a.push(l);return}if(d{const[a,l]=(0,e.useMemo)(()=>n(o,i),[o,i]);return a};return W_.default=r,W_}var q_={},vSe;function hYt(){if(vSe)return q_;vSe=1,Object.defineProperty(q_,"__esModule",{value:!0}),q_.default=void 0;const e=t=>{let{children:n}=t;return n};return q_.default=e,q_}var V_={},U_={},ySe;function gYt(){if(ySe)return U_;ySe=1;var e=ze;Object.defineProperty(U_,"__esModule",{value:!0}),U_.default=void 0;var t=e(Tt()),n=i(_);function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function o(l){return l!=null}const a=l=>{const{itemPrefixCls:s,component:u,span:c,className:f,style:h,labelStyle:d,contentStyle:p,bordered:g,label:m,content:v,colon:y,type:b}=l,C=u;return g?n.createElement(C,{className:(0,t.default)({[`${s}-item-label`]:b==="label",[`${s}-item-content`]:b==="content"},f),style:h,colSpan:c},o(m)&&n.createElement("span",{style:d},m),o(v)&&n.createElement("span",{style:p},v)):n.createElement(C,{className:(0,t.default)(`${s}-item`,f),style:h,colSpan:c},n.createElement("div",{className:`${s}-item-container`},(m||m===0)&&n.createElement("span",{className:(0,t.default)(`${s}-item-label`,{[`${s}-item-no-colon`]:!y}),style:d},m),(v||v===0)&&n.createElement("span",{className:(0,t.default)(`${s}-item-content`),style:p},v)))};return U_.default=a,U_}var bSe;function mYt(){if(bSe)return V_;bSe=1;var e=ze;Object.defineProperty(V_,"__esModule",{value:!0}),V_.default=void 0;var t=o(_),n=e(gYt()),r=e(jVe());function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function a(s,u,c){let{colon:f,prefixCls:h,bordered:d}=u,{component:p,type:g,showLabel:m,showContent:v,labelStyle:y,contentStyle:b}=c;return s.map((C,x)=>{let{label:S,children:w,prefixCls:O=h,className:$,style:P,labelStyle:T,contentStyle:R,span:M=1,key:A}=C;return typeof p=="string"?t.createElement(n.default,{key:`${g}-${A||x}`,className:$,style:P,labelStyle:Object.assign(Object.assign({},y),T),contentStyle:Object.assign(Object.assign({},b),R),span:M,colon:f,component:p,itemPrefixCls:O,bordered:d,label:m?S:null,content:v?w:null,type:g}):[t.createElement(n.default,{key:`label-${A||x}`,className:$,style:Object.assign(Object.assign(Object.assign({},y),P),T),span:1,colon:f,component:p[0],itemPrefixCls:O,bordered:d,label:S,type:"label"}),t.createElement(n.default,{key:`content-${A||x}`,className:$,style:Object.assign(Object.assign(Object.assign({},b),P),R),span:M*2-1,component:p[1],itemPrefixCls:O,bordered:d,content:w,type:"content"})]})}const l=s=>{const u=t.useContext(r.default),{prefixCls:c,vertical:f,row:h,index:d,bordered:p}=s;return f?t.createElement(t.Fragment,null,t.createElement("tr",{key:`label-${d}`,className:`${c}-row`},a(h,s,Object.assign({component:"th",type:"label",showLabel:!0},u))),t.createElement("tr",{key:`content-${d}`,className:`${c}-row`},a(h,s,Object.assign({component:"td",type:"content",showContent:!0},u)))):t.createElement("tr",{key:d,className:`${c}-row`},a(h,s,Object.assign({component:p?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},u)))};return V_.default=l,V_}var tm={},CSe;function vYt(){if(CSe)return tm;CSe=1,Object.defineProperty(tm,"__esModule",{value:!0}),tm.prepareComponentToken=tm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=a=>{const{componentCls:l,labelBg:s}=a;return{[`&${l}-bordered`]:{[`> ${l}-view`]:{border:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${l}-row`]:{borderBottom:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.padding)} ${(0,e.unit)(a.paddingLG)}`,borderInlineEnd:`${(0,e.unit)(a.lineWidth)} ${a.lineType} ${a.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${l}-item-label`]:{color:a.colorTextSecondary,backgroundColor:s,"&::after":{display:"none"}}}},[`&${l}-middle`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.paddingSM)} ${(0,e.unit)(a.paddingLG)}`}}},[`&${l}-small`]:{[`${l}-row`]:{[`> ${l}-item-label, > ${l}-item-content`]:{padding:`${(0,e.unit)(a.paddingXS)} ${(0,e.unit)(a.padding)}`}}}}}},i=a=>{const{componentCls:l,extraColor:s,itemPaddingBottom:u,colonMarginRight:c,colonMarginLeft:f,titleMarginBottom:h}=a;return{[l]:Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(a)),r(a)),{"&-rtl":{direction:"rtl"},[`${l}-header`]:{display:"flex",alignItems:"center",marginBottom:h},[`${l}-title`]:Object.assign(Object.assign({},t.textEllipsis),{flex:"auto",color:a.titleColor,fontWeight:a.fontWeightStrong,fontSize:a.fontSizeLG,lineHeight:a.lineHeightLG}),[`${l}-extra`]:{marginInlineStart:"auto",color:s,fontSize:a.fontSize},[`${l}-view`]:{width:"100%",borderRadius:a.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${l}-row`]:{"> th, > td":{paddingBottom:u},"&:last-child":{borderBottom:"none"}},[`${l}-item-label`]:{color:a.colorTextTertiary,fontWeight:"normal",fontSize:a.fontSize,lineHeight:a.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,e.unit)(f)} ${(0,e.unit)(c)}`},[`&${l}-item-no-colon::after`]:{content:'""'}},[`${l}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${l}-item-content`]:{display:"table-cell",flex:1,color:a.contentColor,fontSize:a.fontSize,lineHeight:a.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${l}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${l}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${l}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${l}-row`]:{"> th, > td":{paddingBottom:a.paddingSM}}},"&-small":{[`${l}-row`]:{"> th, > td":{paddingBottom:a.paddingXS}}}})}},o=a=>({labelBg:a.colorFillAlter,titleColor:a.colorText,titleMarginBottom:a.fontSizeSM*a.lineHeightSM,itemPaddingBottom:a.padding,colonMarginRight:a.marginXS,colonMarginLeft:a.marginXXS/2,contentColor:a.colorText,extraColor:a.colorText});return tm.prepareComponentToken=o,tm.default=(0,n.genStyleHooks)("Descriptions",a=>{const l=(0,n.mergeToken)(a,{});return i(l)},o),tm}var SSe;function yYt(){return SSe||(SSe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DescriptionsContext",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var n=m(_),r=t(Tt()),i=AC(),o=Lt(),a=t(no()),l=t(Zy()),s=t(dYt()),u=t(jVe()),c=t(fYt()),f=t(pYt()),h=t(hYt()),d=t(mYt()),p=t(vYt());function g(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(g=function(S){return S?x:C})(b)}function m(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=g(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var v=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{const{prefixCls:C,title:x,extra:S,column:w,colon:O=!0,bordered:$,layout:P,children:T,className:R,rootClassName:M,style:A,size:N,labelStyle:j,contentStyle:D,items:L}=b,B=v(b,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:k,direction:z,descriptions:q}=n.useContext(o.ConfigContext),W=k("descriptions",C),U=(0,l.default)(),K=n.useMemo(()=>{var ne;return typeof w=="number"?w:(ne=(0,i.matchScreen)(U,Object.assign(Object.assign({},s.default),w)))!==null&&ne!==void 0?ne:3},[U,w]),X=(0,c.default)(U,L,T),G=(0,a.default)(N),Y=(0,f.default)(K,X),[J,ee,Q]=(0,p.default)(W),te=n.useMemo(()=>({labelStyle:j,contentStyle:D}),[j,D]);return J(n.createElement(u.default.Provider,{value:te},n.createElement("div",Object.assign({className:(0,r.default)(W,q==null?void 0:q.className,{[`${W}-${G}`]:G&&G!=="default",[`${W}-bordered`]:!!$,[`${W}-rtl`]:z==="rtl"},R,M,ee,Q),style:Object.assign(Object.assign({},q==null?void 0:q.style),A)},B),(x||S)&&n.createElement("div",{className:`${W}-header`},x&&n.createElement("div",{className:`${W}-title`},x),S&&n.createElement("div",{className:`${W}-extra`},S)),n.createElement("div",{className:`${W}-view`},n.createElement("table",null,n.createElement("tbody",null,Y.map((ne,re)=>n.createElement(d.default,{key:re,index:re,colon:O,prefixCls:W,vertical:P==="vertical",bordered:$,row:ne}))))))))};y.Item=h.default,e.default=y}(xG)),xG}var G_={};const bYt=gr($8t);var K_={},xSe;function CYt(){if(xSe)return K_;xSe=1;var e=ze;Object.defineProperty(K_,"__esModule",{value:!0}),K_.default=void 0;var t=a(_),n=e(Tt()),r=e(SF()),i=Lt();function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{var u,c;const{prefixCls:f,title:h,footer:d,extra:p,closeIcon:g,closable:m,onClose:v,headerStyle:y,bodyStyle:b,footerStyle:C,children:x,classNames:S,styles:w}=s,{drawer:O}=t.useContext(i.ConfigContext),$=t.useCallback(A=>t.createElement("button",{type:"button",onClick:v,"aria-label":"Close",className:`${f}-close`},A),[v]),[P,T]=(0,r.default)(m,typeof g<"u"?g:O==null?void 0:O.closeIcon,$,void 0,!0),R=t.useMemo(()=>{var A,N;return!h&&!P?null:t.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(A=O==null?void 0:O.styles)===null||A===void 0?void 0:A.header),y),w==null?void 0:w.header),className:(0,n.default)(`${f}-header`,{[`${f}-header-close-only`]:P&&!h&&!p},(N=O==null?void 0:O.classNames)===null||N===void 0?void 0:N.header,S==null?void 0:S.header)},t.createElement("div",{className:`${f}-header-title`},T,h&&t.createElement("div",{className:`${f}-title`},h)),p&&t.createElement("div",{className:`${f}-extra`},p))},[P,T,p,y,f,h]),M=t.useMemo(()=>{var A,N;if(!d)return null;const j=`${f}-footer`;return t.createElement("div",{className:(0,n.default)(j,(A=O==null?void 0:O.classNames)===null||A===void 0?void 0:A.footer,S==null?void 0:S.footer),style:Object.assign(Object.assign(Object.assign({},(N=O==null?void 0:O.styles)===null||N===void 0?void 0:N.footer),C),w==null?void 0:w.footer)},d)},[d,C,f]);return t.createElement(t.Fragment,null,R,t.createElement("div",{className:(0,n.default)(`${f}-body`,S==null?void 0:S.body,(u=O==null?void 0:O.classNames)===null||u===void 0?void 0:u.body),style:Object.assign(Object.assign(Object.assign({},(c=O==null?void 0:O.styles)===null||c===void 0?void 0:c.body),b),w==null?void 0:w.body)},x),M)};return K_.default=l,K_}var nm={},X_={},_Se;function SYt(){if(_Se)return X_;_Se=1,Object.defineProperty(X_,"__esModule",{value:!0}),X_.default=void 0;const e=o=>{const a="100%";return{left:`translateX(-${a})`,right:`translateX(${a})`,top:`translateY(-${a})`,bottom:`translateY(${a})`}[o]},t=(o,a)=>({"&-enter, &-appear":Object.assign(Object.assign({},o),{"&-active":a}),"&-leave":Object.assign(Object.assign({},a),{"&-active":o})}),n=(o,a)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${a}`}}},t({opacity:o},{opacity:1})),r=(o,a)=>[n(.7,a),t({transform:e(o)},{transform:"none"})],i=o=>{const{componentCls:a,motionDurationSlow:l}=o;return{[a]:{[`${a}-mask-motion`]:n(0,l),[`${a}-panel-motion`]:["left","right","top","bottom"].reduce((s,u)=>Object.assign(Object.assign({},s),{[`&-${u}`]:r(u,l)}),{})}}};return X_.default=i,X_}var wSe;function xYt(){if(wSe)return nm;wSe=1;var e=ze;Object.defineProperty(nm,"__esModule",{value:!0}),nm.prepareComponentToken=nm.default=void 0;var t=Xt,n=Jt(),r=e(SYt());const i=a=>{const{componentCls:l,zIndexPopup:s,colorBgMask:u,colorBgElevated:c,motionDurationSlow:f,motionDurationMid:h,padding:d,paddingLG:p,fontSizeLG:g,lineHeightLG:m,lineWidth:v,lineType:y,colorSplit:b,marginSM:C,colorIcon:x,colorIconHover:S,colorText:w,fontWeightStrong:O,footerPaddingBlock:$,footerPaddingInline:P}=a,T=`${l}-content-wrapper`;return{[l]:{position:"fixed",inset:0,zIndex:s,pointerEvents:"none","&-pure":{position:"relative",background:c,display:"flex",flexDirection:"column",[`&${l}-left`]:{boxShadow:a.boxShadowDrawerLeft},[`&${l}-right`]:{boxShadow:a.boxShadowDrawerRight},[`&${l}-top`]:{boxShadow:a.boxShadowDrawerUp},[`&${l}-bottom`]:{boxShadow:a.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${l}-mask`]:{position:"absolute",inset:0,zIndex:s,background:u,pointerEvents:"auto"},[T]:{position:"absolute",zIndex:s,maxWidth:"100vw",transition:`all ${f}`,"&-hidden":{display:"none"}},[`&-left > ${T}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:a.boxShadowDrawerLeft},[`&-right > ${T}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:a.boxShadowDrawerRight},[`&-top > ${T}`]:{top:0,insetInline:0,boxShadow:a.boxShadowDrawerUp},[`&-bottom > ${T}`]:{bottom:0,insetInline:0,boxShadow:a.boxShadowDrawerDown},[`${l}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:c,pointerEvents:"auto"},[`${l}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,t.unit)(d)} ${(0,t.unit)(p)}`,fontSize:g,lineHeight:m,borderBottom:`${(0,t.unit)(v)} ${y} ${b}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${l}-extra`]:{flex:"none"},[`${l}-close`]:{display:"inline-block",marginInlineEnd:C,color:x,fontWeight:O,fontSize:g,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${h}`,textRendering:"auto","&:focus, &:hover":{color:S,textDecoration:"none"}},[`${l}-title`]:{flex:1,margin:0,color:w,fontWeight:a.fontWeightStrong,fontSize:g,lineHeight:m},[`${l}-body`]:{flex:1,minWidth:0,minHeight:0,padding:p,overflow:"auto"},[`${l}-footer`]:{flexShrink:0,padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,borderTop:`${(0,t.unit)(v)} ${y} ${b}`},"&-rtl":{direction:"rtl"}}}},o=a=>({zIndexPopup:a.zIndexPopupBase,footerPaddingBlock:a.paddingXS,footerPaddingInline:a.padding});return nm.prepareComponentToken=o,nm.default=(0,n.genStyleHooks)("Drawer",a=>{const l=(0,n.mergeToken)(a,{});return[i(l),(0,r.default)(l)]},o),nm}var OSe;function _Yt(){if(OSe)return G_;OSe=1;var e=ze;Object.defineProperty(G_,"__esModule",{value:!0}),G_.default=void 0;var t=p(_),n=e(Tt()),r=e(bYt),i=dl(),o=Il();_n();var a=e(RC()),l=Lt(),s=fi(),u=ts(),c=Hoe(),f=e(CYt()),h=e(xYt());function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(d=function(S){return S?x:C})(b)}function p(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=d(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var g=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{const{rootClassName:C,width:x,height:S,size:w="default",mask:O=!0,push:$=m,open:P,afterOpenChange:T,onClose:R,prefixCls:M,getContainer:A,style:N,className:j,visible:D,afterVisibleChange:L,maskStyle:B,drawerStyle:k,contentWrapperStyle:z}=b,q=g(b,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:W,getPrefixCls:U,direction:K,drawer:X}=t.useContext(l.ConfigContext),G=U("drawer",M),[Y,J,ee]=(0,h.default)(G),Q=A===void 0&&W?()=>W(document.body):A,te=(0,n.default)({"no-mask":!O,[`${G}-rtl`]:K==="rtl"},C,J,ee),ne=t.useMemo(()=>x??(w==="large"?736:378),[x,w]),re=t.useMemo(()=>S??(w==="large"?736:378),[S,w]),oe={motionName:(0,o.getTransitionName)(G,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},se=Oe=>({motionName:(0,o.getTransitionName)(G,`panel-motion-${Oe}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ye=(0,c.usePanelRef)(),[be,he]=(0,i.useZIndex)("Drawer",q.zIndex),{classNames:le={},styles:ve={}}=q,{classNames:ke={},styles:Ie={}}=X||{};return Y(t.createElement(u.NoCompactStyle,null,t.createElement(s.NoFormStyle,{status:!0,override:!0},t.createElement(a.default.Provider,{value:he},t.createElement(r.default,Object.assign({prefixCls:G,onClose:R,maskMotion:oe,motion:se},q,{classNames:{mask:(0,n.default)(le.mask,ke.mask),content:(0,n.default)(le.content,ke.content)},styles:{mask:Object.assign(Object.assign(Object.assign({},ve.mask),B),Ie.mask),content:Object.assign(Object.assign(Object.assign({},ve.content),k),Ie.content),wrapper:Object.assign(Object.assign(Object.assign({},ve.wrapper),z),Ie.wrapper)},open:P??D,mask:O,push:$,width:ne,height:re,style:Object.assign(Object.assign({},X==null?void 0:X.style),N),className:(0,n.default)(X==null?void 0:X.className,j),rootClassName:te,getContainer:Q,afterOpenChange:T??L,panelRef:ye,zIndex:be}),t.createElement(f.default,Object.assign({prefixCls:G},q,{onClose:R})))))))},y=b=>{const{prefixCls:C,style:x,className:S,placement:w="right"}=b,O=g(b,["prefixCls","style","className","placement"]),{getPrefixCls:$}=t.useContext(l.ConfigContext),P=$("drawer",C),[T,R,M]=(0,h.default)(P),A=(0,n.default)(P,`${P}-pure`,`${P}-${w}`,R,M,S);return T(t.createElement("div",{className:A,style:x},t.createElement(f.default,Object.assign({prefixCls:P},O))))};return v._InternalPanelDoNotUseOrYouWillBeFired=y,G_.default=v,G_}var Y_={},Z_={},_G={},Q_={},ESe;function DVe(){if(ESe)return Q_;ESe=1,Object.defineProperty(Q_,"__esModule",{value:!0}),Q_.isPresetSize=e,Q_.isValidGapNumber=t;function e(n){return["small","middle","large"].includes(n)}function t(n){return n?typeof n=="number"&&!Number.isNaN(n):!1}return Q_}var rm={},$Se;function LVe(){if($Se)return rm;$Se=1;var e=ze;Object.defineProperty(rm,"__esModule",{value:!0}),rm.SpaceContextProvider=rm.SpaceContext=void 0;var t=e(_);const n=rm.SpaceContext=t.default.createContext({latestIndex:0});return rm.SpaceContextProvider=n.Provider,rm}var J_={},PSe;function wYt(){if(PSe)return J_;PSe=1,Object.defineProperty(J_,"__esModule",{value:!0}),J_.default=void 0;var e=r(_),t=LVe();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=o=>{let{className:a,index:l,children:s,split:u,style:c}=o;const{latestIndex:f}=e.useContext(t.SpaceContext);return s==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:a,style:c},s),l{var y,b;const{getPrefixCls:C,space:x,direction:S}=n.useContext(a.ConfigContext),{size:w=(x==null?void 0:x.size)||"small",align:O,className:$,rootClassName:P,children:T,direction:R="horizontal",prefixCls:M,split:A,style:N,wrap:j=!1,classNames:D,styles:L}=m,B=d(m,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,z]=Array.isArray(w)?w:[w,w],q=(0,o.isPresetSize)(z),W=(0,o.isPresetSize)(k),U=(0,o.isValidGapNumber)(z),K=(0,o.isValidGapNumber)(k),X=(0,i.default)(T,{keepEmpty:!0}),G=O===void 0&&R==="horizontal"?"center":O,Y=C("space",M),[J,ee,Q]=(0,c.default)(Y),te=(0,r.default)(Y,x==null?void 0:x.className,ee,`${Y}-${R}`,{[`${Y}-rtl`]:S==="rtl",[`${Y}-align-${G}`]:G,[`${Y}-gap-row-${z}`]:q,[`${Y}-gap-col-${k}`]:W},$,P,Q),ne=(0,r.default)(`${Y}-item`,(y=D==null?void 0:D.item)!==null&&y!==void 0?y:(b=x==null?void 0:x.classNames)===null||b===void 0?void 0:b.item);let re=0;const oe=X.map((be,he)=>{var le,ve;be!=null&&(re=he);const ke=be&&be.key||`${ne}-${he}`;return n.createElement(u.default,{className:ne,key:ke,index:he,split:A,style:(le=L==null?void 0:L.item)!==null&&le!==void 0?le:(ve=x==null?void 0:x.styles)===null||ve===void 0?void 0:ve.item},be)}),se=n.useMemo(()=>({latestIndex:re}),[re]);if(X.length===0)return null;const ye={};return j&&(ye.flexWrap="wrap"),!W&&K&&(ye.columnGap=k),!q&&U&&(ye.rowGap=z),J(n.createElement("div",Object.assign({ref:v,className:te,style:Object.assign(Object.assign(Object.assign({},ye),x==null?void 0:x.style),N)},B),n.createElement(s.SpaceContextProvider,{value:se},oe)))});g.Compact=l.default,e.default=g}(_G)),_G}var MSe;function OYt(){if(MSe)return Z_;MSe=1;var e=ze;Object.defineProperty(Z_,"__esModule",{value:!0}),Z_.default=void 0;var t=e(Tt()),n=c(_),r=e(tae()),i=e(Ac()),o=Lt(),a=e(zVe()),l=ts(),s=e(oae());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var f=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{getPopupContainer:p,getPrefixCls:g,direction:m}=n.useContext(o.ConfigContext),{prefixCls:v,type:y="default",danger:b,disabled:C,loading:x,onClick:S,htmlType:w,children:O,className:$,menu:P,arrow:T,autoFocus:R,overlay:M,trigger:A,align:N,open:j,onOpenChange:D,placement:L,getPopupContainer:B,href:k,icon:z=n.createElement(r.default,null),title:q,buttonsRender:W=ve=>ve,mouseEnterDelay:U,mouseLeaveDelay:K,overlayClassName:X,overlayStyle:G,destroyPopupOnHide:Y,dropdownRender:J}=d,ee=f(d,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Q=g("dropdown",v),te=`${Q}-button`,ne={menu:P,arrow:T,autoFocus:R,align:N,disabled:C,trigger:C?[]:A,onOpenChange:D,getPopupContainer:B||p,mouseEnterDelay:U,mouseLeaveDelay:K,overlayClassName:X,overlayStyle:G,destroyPopupOnHide:Y,dropdownRender:J},{compactSize:re,compactItemClassnames:oe}=(0,l.useCompactItemContext)(Q,m),se=(0,t.default)(te,oe,$);"overlay"in d&&(ne.overlay=M),"open"in d&&(ne.open=j),"placement"in d?ne.placement=L:ne.placement=m==="rtl"?"bottomLeft":"bottomRight";const ye=n.createElement(i.default,{type:y,danger:b,disabled:C,loading:x,onClick:S,htmlType:w,href:k,title:q},O),be=n.createElement(i.default,{type:y,danger:b,icon:z}),[he,le]=W([ye,be]);return n.createElement(a.default.Compact,Object.assign({className:se,size:re,block:!0},ee),he,n.createElement(s.default,Object.assign({},ne),le))};return h.__ANT_BUTTON=!0,Z_.default=h,Z_}var RSe;function kF(){if(RSe)return Y_;RSe=1;var e=ze;Object.defineProperty(Y_,"__esModule",{value:!0}),Y_.default=void 0;var t=e(oae()),n=e(OYt());const r=t.default;return r.Button=n.default,Y_.default=r,Y_}var ew={},im={},Uu={},ISe;function BVe(){if(ISe)return Uu;ISe=1;var e=ze;Object.defineProperty(Uu,"__esModule",{value:!0}),Uu.justifyContentValues=Uu.flexWrapValues=Uu.default=Uu.alignItemsValues=void 0;var t=e(Tt());const n=Uu.flexWrapValues=["wrap","nowrap","wrap-reverse"],r=Uu.justifyContentValues=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],i=Uu.alignItemsValues=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],o=(u,c)=>{const f={};return n.forEach(h=>{f[`${u}-wrap-${h}`]=c.wrap===h}),f},a=(u,c)=>{const f={};return i.forEach(h=>{f[`${u}-align-${h}`]=c.align===h}),f[`${u}-align-stretch`]=!c.align&&!!c.vertical,f},l=(u,c)=>{const f={};return r.forEach(h=>{f[`${u}-justify-${h}`]=c.justify===h}),f};function s(u,c){return(0,t.default)(Object.assign(Object.assign(Object.assign({},o(u,c)),a(u,c)),l(u,c)))}return Uu.default=s,Uu}var NSe;function EYt(){if(NSe)return im;NSe=1,Object.defineProperty(im,"__esModule",{value:!0}),im.prepareComponentToken=im.default=void 0;var e=Jt(),t=BVe();const n=s=>{const{componentCls:u}=s;return{[u]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},r=s=>{const{componentCls:u}=s;return{[u]:{"&-gap-small":{gap:s.flexGapSM},"&-gap-middle":{gap:s.flexGap},"&-gap-large":{gap:s.flexGapLG}}}},i=s=>{const{componentCls:u}=s,c={};return t.flexWrapValues.forEach(f=>{c[`${u}-wrap-${f}`]={flexWrap:f}}),c},o=s=>{const{componentCls:u}=s,c={};return t.alignItemsValues.forEach(f=>{c[`${u}-align-${f}`]={alignItems:f}}),c},a=s=>{const{componentCls:u}=s,c={};return t.justifyContentValues.forEach(f=>{c[`${u}-justify-${f}`]={justifyContent:f}}),c},l=()=>({});return im.prepareComponentToken=l,im.default=(0,e.genStyleHooks)("Flex",s=>{const{paddingXS:u,padding:c,paddingLG:f}=s,h=(0,e.mergeToken)(s,{flexGapSM:u,flexGap:c,flexGapLG:f});return[n(h),r(h),i(h),o(h),a(h)]},l,{resetStyle:!1}),im}var ASe;function $Yt(){if(ASe)return ew;ASe=1;var e=ze;Object.defineProperty(ew,"__esModule",{value:!0}),ew.default=void 0;var t=e(_),n=e(Tt()),r=e(Qr()),i=DVe(),o=Lt(),a=e(EYt()),l=e(BVe()),s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{prefixCls:h,rootClassName:d,className:p,style:g,flex:m,gap:v,children:y,vertical:b=!1,component:C="div"}=c,x=s(c,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:S,direction:w,getPrefixCls:O}=t.default.useContext(o.ConfigContext),$=O("flex",h),[P,T,R]=(0,a.default)($),M=b??(S==null?void 0:S.vertical),A=(0,n.default)(p,d,S==null?void 0:S.className,$,T,R,(0,l.default)($,c),{[`${$}-rtl`]:w==="rtl",[`${$}-gap-${v}`]:(0,i.isPresetSize)(v),[`${$}-vertical`]:M}),N=Object.assign(Object.assign({},S==null?void 0:S.style),g);return m&&(N.flex=m),v&&!(0,i.isPresetSize)(v)&&(N.gap=v),P(t.default.createElement(C,Object.assign({ref:f,className:A,style:N},(0,r.default)(x,["justify","wrap","align"])),y))});return ew.default=u,ew}var tw={},nw={},om={},kSe;function yae(){if(kSe)return om;kSe=1;var e=ze;Object.defineProperty(om,"__esModule",{value:!0}),om.default=om.FloatButtonGroupProvider=void 0;var t=e(_);const n=t.default.createContext(void 0),{Provider:r}=n;return om.FloatButtonGroupProvider=r,om.default=n,om}var am={},rw={},hI={exports:{}},wG={},gI={},jSe;function PYt(){if(jSe)return gI;jSe=1,Object.defineProperty(gI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};return gI.default=e,gI}var DSe;function TYt(){return DSe||(DSe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(PYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{icon:s,description:u,prefixCls:c,className:f}=l,h=t.default.createElement("div",{className:`${c}-icon`},t.default.createElement(n.default,null));return t.default.createElement("div",{onClick:l.onClick,onFocus:l.onFocus,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,className:(0,r.default)(f,`${c}-content`)},s||u?t.default.createElement(t.default.Fragment,null,s&&t.default.createElement("div",{className:`${c}-icon`},s),u&&t.default.createElement("div",{className:`${c}-description`},u)):h)};return rw.default=(0,t.memo)(a),rw}var lm={},iw={},BSe;function RYt(){if(BSe)return iw;BSe=1,Object.defineProperty(iw,"__esModule",{value:!0}),iw.default=void 0;const e=t=>t===0?0:t-Math.sqrt(Math.pow(t,2)/2);return iw.default=e,iw}var FSe;function HVe(){if(FSe)return lm;FSe=1;var e=ze;Object.defineProperty(lm,"__esModule",{value:!0}),lm.prepareComponentToken=lm.default=void 0;var t=Xt,n=Tn(),r=Bqe(),i=iP(),o=Jt(),a=e(RYt());const l=f=>{const{componentCls:h,floatButtonSize:d,motionDurationSlow:p,motionEaseInOutCirc:g}=f,m=`${h}-group`,v=new t.Keyframes("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${(0,t.unit)(d)}, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new t.Keyframes("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${(0,t.unit)(d)}, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${m}-wrap`]:Object.assign({},(0,i.initMotion)(`${m}-wrap`,v,y,p,!0))},{[`${m}-wrap`]:{[` &${m}-wrap-enter, &${m}-wrap-appear - `]:{opacity:0,animationTimingFunction:g},[`&${m}-wrap-leave`]:{animationTimingFunction:g}}}]},s=f=>{const{antCls:h,componentCls:d,floatButtonSize:p,margin:g,borderRadiusLG:m,borderRadiusSM:v,badgeOffset:y,floatButtonBodyPadding:b,calc:C}=f,x=`${d}-group`;return{[x]:Object.assign(Object.assign({},(0,n.resetComponent)(f)),{zIndex:99,display:"block",border:"none",position:"fixed",width:p,height:"auto",boxShadow:"none",minHeight:p,insetInlineEnd:f.floatButtonInsetInlineEnd,insetBlockEnd:f.floatButtonInsetBlockEnd,borderRadius:m,[`${x}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:g},[`&${x}-rtl`]:{direction:"rtl"},[d]:{position:"static"}}),[`${x}-circle`]:{[`${d}-circle:not(:last-child)`]:{marginBottom:f.margin,[`${d}-body`]:{width:p,height:p,borderRadius:"50%"}}},[`${x}-square`]:{[`${d}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:m,borderStartEndRadius:m},"&:last-child":{borderEndStartRadius:m,borderEndEndRadius:m},"&:not(:last-child)":{borderBottom:`${(0,t.unit)(f.lineWidth)} ${f.lineType} ${f.colorSplit}`},[`${h}-badge`]:{[`${h}-badge-count`]:{top:C(C(b).add(y)).mul(-1).equal(),insetInlineEnd:C(C(b).add(y)).mul(-1).equal()}}},[`${x}-wrap`]:{display:"block",borderRadius:m,boxShadow:f.boxShadowSecondary,[`${d}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:b,"&:first-child":{borderStartStartRadius:m,borderStartEndRadius:m},"&:last-child":{borderEndStartRadius:m,borderEndEndRadius:m},"&:not(:last-child)":{borderBottom:`${(0,t.unit)(f.lineWidth)} ${f.lineType} ${f.colorSplit}`},[`${d}-body`]:{width:f.floatButtonBodySize,height:f.floatButtonBodySize}}}},[`${x}-circle-shadow`]:{boxShadow:"none"},[`${x}-square-shadow`]:{boxShadow:f.boxShadowSecondary,[`${d}-square`]:{boxShadow:"none",padding:b,[`${d}-body`]:{width:f.floatButtonBodySize,height:f.floatButtonBodySize,borderRadius:v}}}}},u=f=>{const{antCls:h,componentCls:d,floatButtonBodyPadding:p,floatButtonIconSize:g,floatButtonSize:m,borderRadiusLG:v,badgeOffset:y,dotOffsetInSquare:b,dotOffsetInCircle:C,calc:x}=f;return{[d]:Object.assign(Object.assign({},(0,n.resetComponent)(f)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",width:m,height:m,insetInlineEnd:f.floatButtonInsetInlineEnd,insetBlockEnd:f.floatButtonInsetBlockEnd,boxShadow:f.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${h}-badge`]:{width:"100%",height:"100%",[`${h}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:x(y).mul(-1).equal(),insetInlineEnd:x(y).mul(-1).equal()}},[`${d}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${f.motionDurationMid}`,[`${d}-content`]:{overflow:"hidden",textAlign:"center",minHeight:m,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${(0,t.unit)(x(p).div(2).equal())} ${(0,t.unit)(p)}`,[`${d}-icon`]:{textAlign:"center",margin:"auto",width:g,fontSize:g,lineHeight:1}}}}),[`${d}-rtl`]:{direction:"rtl"},[`${d}-circle`]:{height:m,borderRadius:"50%",[`${h}-badge`]:{[`${h}-badge-dot`]:{top:C,insetInlineEnd:C}},[`${d}-body`]:{borderRadius:"50%"}},[`${d}-square`]:{height:"auto",minHeight:m,borderRadius:v,[`${h}-badge`]:{[`${h}-badge-dot`]:{top:b,insetInlineEnd:b}},[`${d}-body`]:{height:"auto",borderRadius:v}},[`${d}-default`]:{backgroundColor:f.floatButtonBackgroundColor,transition:`background-color ${f.motionDurationMid}`,[`${d}-body`]:{backgroundColor:f.floatButtonBackgroundColor,transition:`background-color ${f.motionDurationMid}`,"&:hover":{backgroundColor:f.colorFillContent},[`${d}-content`]:{[`${d}-icon`]:{color:f.colorText},[`${d}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,t.unit)(f.fontSizeLG),color:f.colorText,fontSize:f.fontSizeSM}}}},[`${d}-primary`]:{backgroundColor:f.colorPrimary,[`${d}-body`]:{backgroundColor:f.colorPrimary,transition:`background-color ${f.motionDurationMid}`,"&:hover":{backgroundColor:f.colorPrimaryHover},[`${d}-content`]:{[`${d}-icon`]:{color:f.colorTextLightSolid},[`${d}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,t.unit)(f.fontSizeLG),color:f.colorTextLightSolid,fontSize:f.fontSizeSM}}}}}},c=f=>({dotOffsetInCircle:(0,a.default)(f.controlHeightLG/2),dotOffsetInSquare:(0,a.default)(f.borderRadiusLG)});return lm.prepareComponentToken=c,lm.default=(0,o.genStyleHooks)("FloatButton",f=>{const{colorTextLightSolid:h,colorBgElevated:d,controlHeightLG:p,marginXXL:g,marginLG:m,fontSize:v,fontSizeIcon:y,controlItemBgHover:b,paddingXXS:C,calc:x}=f,S=(0,o.mergeToken)(f,{floatButtonBackgroundColor:d,floatButtonColor:h,floatButtonHoverBackgroundColor:b,floatButtonFontSize:v,floatButtonIconSize:x(y).mul(1.5).equal(),floatButtonSize:p,floatButtonInsetBlockEnd:g,floatButtonInsetInlineEnd:m,floatButtonBodySize:x(p).sub(x(C).mul(2)).equal(),floatButtonBodyPadding:C,badgeOffset:x(C).mul(1.5).equal()});return[s(S),u(S),(0,r.initFadeMotion)(f),l(S)]},c),lm}var FSe;function kF(){if(FSe)return am;FSe=1;var e=ze;Object.defineProperty(am,"__esModule",{value:!0}),am.floatButtonPrefixCls=am.default=void 0;var t=h(_),n=e(Tt()),r=e(Qr());_n();var i=e(tVe()),o=Lt(),a=e(kc()),l=e(vae()),s=e(RYt()),u=e(HVe()),c=e(zr());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var d=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:y,className:b,rootClassName:C,type:x="default",shape:S="circle",icon:w,description:O,tooltip:$,badge:P={}}=m,T=d(m,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:R,direction:M}=(0,t.useContext)(o.ConfigContext),A=(0,t.useContext)(l.default),N=R(p,y),k=(0,c.default)(N),[D,L,B]=(0,u.default)(N,k),j=A||S,z=(0,n.default)(L,B,k,N,b,C,`${N}-${x}`,`${N}-${j}`,{[`${N}-rtl`]:M==="rtl"}),V=(0,t.useMemo)(()=>(0,r.default)(P,["title","children","status","text"]),[P]),W=(0,t.useMemo)(()=>({prefixCls:N,description:O,icon:w,type:x}),[N,O,w,x]);let U=t.default.createElement("div",{className:`${N}-body`},t.default.createElement(s.default,Object.assign({},W)));return"badge"in m&&(U=t.default.createElement(i.default,Object.assign({},V),U)),"tooltip"in m&&(U=t.default.createElement(a.default,{title:$,placement:M==="rtl"?"right":"left"},U)),D(m.href?t.default.createElement("a",Object.assign({ref:v},T,{className:z}),U):t.default.createElement("button",Object.assign({ref:v},T,{className:z,type:"button"}),U))});return am.default=g,am}var HSe;function WVe(){if(HSe)return tw;HSe=1;var e=ze;Object.defineProperty(tw,"__esModule",{value:!0}),tw.default=void 0;var t=h(_),n=e(Jqe()),r=e(Tt()),i=e(Ad),o=e(gF()),a=e(mF()),l=e(Toe()),s=Lt(),u=e(vae()),c=h(kF());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,className:y,type:b="default",shape:C="circle",visibilityHeight:x=400,icon:S=t.default.createElement(n.default,null),target:w,onClick:O,duration:$=450}=g,P=d(g,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[T,R]=(0,t.useState)(x===0),M=t.default.useRef(null);t.default.useImperativeHandle(m,()=>({nativeElement:M.current}));const A=()=>M.current&&M.current.ownerDocument?M.current.ownerDocument:window,N=(0,l.default)(W=>{const U=(0,o.default)(W.target,!0);R(U>=x)});(0,t.useEffect)(()=>{const U=(w||A)();return N({target:U}),U==null||U.addEventListener("scroll",N),()=>{N.cancel(),U==null||U.removeEventListener("scroll",N)}},[w]);const k=W=>{(0,a.default)(0,{getContainer:w||A,duration:$}),O==null||O(W)},{getPrefixCls:D}=(0,t.useContext)(s.ConfigContext),L=D(c.floatButtonPrefixCls,v),B=D(),z=(0,t.useContext)(u.default)||C,V=Object.assign({prefixCls:L,icon:S,type:b,shape:z},P);return t.default.createElement(i.default,{visible:T,motionName:`${B}-fade`},W=>{let{className:U}=W;return t.default.createElement(c.default,Object.assign({ref:M},V,{onClick:k,className:(0,r.default)(y,U)}))})});return tw.default=p,tw}var iw={},WSe;function qVe(){if(WSe)return iw;WSe=1;var e=ze;Object.defineProperty(iw,"__esModule",{value:!0}),iw.default=void 0;var t=d(_),n=e(zs()),r=e(FVe()),i=e(Tt()),o=e(Ad),a=e(ns());_n();var l=Lt(),s=vae(),u=d(kF()),c=e(HVe()),f=e(zr());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:v,className:y,style:b,shape:C="circle",type:x="default",icon:S=t.default.createElement(r.default,null),closeIcon:w=t.default.createElement(n.default,null),description:O,trigger:$,children:P,onOpenChange:T,open:R}=m,M=p(m,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:A,getPrefixCls:N}=(0,t.useContext)(l.ConfigContext),k=N(u.floatButtonPrefixCls,v),D=(0,f.default)(k),[L,B,j]=(0,c.default)(k,D),z=`${k}-group`,V=(0,i.default)(z,B,j,D,y,{[`${z}-rtl`]:A==="rtl",[`${z}-${C}`]:C,[`${z}-${C}-shadow`]:!$}),W=(0,i.default)(B,`${z}-wrap`),[U,K]=(0,a.default)(!1,{value:R}),X=t.default.useRef(null),G=t.default.useRef(null),Y=t.default.useMemo(()=>$==="hover"?{onMouseEnter(){K(!0),T==null||T(!0)},onMouseLeave(){K(!1),T==null||T(!1)}}:{},[$]),J=()=>{K(Q=>(T==null||T(!Q),!Q))},ee=(0,t.useCallback)(Q=>{var te,ne;if(!((te=X.current)===null||te===void 0)&&te.contains(Q.target)){!((ne=G.current)===null||ne===void 0)&&ne.contains(Q.target)&&J();return}K(!1),T==null||T(!1)},[$]);return(0,t.useEffect)(()=>{if($==="click")return document.addEventListener("click",ee),()=>{document.removeEventListener("click",ee)}},[$]),L(t.default.createElement(s.FloatButtonGroupProvider,{value:C},t.default.createElement("div",Object.assign({ref:X,className:V,style:b},Y),$&&["click","hover"].includes($)?t.default.createElement(t.default.Fragment,null,t.default.createElement(o.default,{visible:U,motionName:`${z}-wrap`},Q=>{let{className:te}=Q;return t.default.createElement("div",{className:(0,i.default)(te,W)},P)}),t.default.createElement(u.default,Object.assign({ref:G,type:x,shape:C,icon:U?w:S,description:O,"aria-label":m["aria-label"]},M))):P)))};return iw.default=(0,t.memo)(g),iw}var ow={},qSe;function NYt(){if(qSe)return ow;qSe=1;var e=ze;Object.defineProperty(ow,"__esModule",{value:!0}),ow.default=void 0;var t=e(Tt()),n=s(_),r=Lt(),i=e(WVe()),o=s(kF()),a=e(qVe());function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{var{backTop:d}=h,p=u(h,["backTop"]);return d?n.createElement(i.default,Object.assign({},p,{visibilityHeight:0})):n.createElement(o.default,Object.assign({},p))},f=h=>{var{className:d,items:p}=h,g=u(h,["className","items"]);const{prefixCls:m}=g,{getPrefixCls:v}=n.useContext(r.ConfigContext),b=`${v(o.floatButtonPrefixCls,m)}-pure`;return p?n.createElement(a.default,Object.assign({className:(0,t.default)(d,b)},g),p.map((C,x)=>n.createElement(c,Object.assign({key:x},C)))):n.createElement(c,Object.assign({className:(0,t.default)(d,b)},g))};return ow.default=f,ow}var VSe;function AYt(){if(VSe)return ew;VSe=1;var e=ze;Object.defineProperty(ew,"__esModule",{value:!0}),ew.default=void 0;var t=e(WVe()),n=e(kF()),r=e(qVe()),i=e(NYt());return n.default.BackTop=t.default,n.default.Group=r.default,n.default._InternalPanelDoNotUseOrYouWillBeFired=i.default,ew.default=n.default,ew}var aw={},lw={},gI={},USe;function VVe(){if(USe)return gI;USe=1,Object.defineProperty(gI,"__esModule",{value:!0}),gI.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i){const[o,a]=e.useState(i);return e.useEffect(()=>{const l=setTimeout(()=>{a(i)},i.length?0:10);return()=>{clearTimeout(l)}},[i]),o}return gI}var gp={},sw={},GSe;function kYt(){if(GSe)return sw;GSe=1,Object.defineProperty(sw,"__esModule",{value:!0}),sw.default=void 0;const e=t=>{const{componentCls:n}=t,r=`${n}-show-help`,i=`${n}-show-help-item`;return{[r]:{transition:`opacity ${t.motionDurationSlow} ${t.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[i]:{overflow:"hidden",transition:`height ${t.motionDurationSlow} ${t.motionEaseInOut}, + `]:{opacity:0,animationTimingFunction:g},[`&${m}-wrap-leave`]:{animationTimingFunction:g}}}]},s=f=>{const{antCls:h,componentCls:d,floatButtonSize:p,margin:g,borderRadiusLG:m,borderRadiusSM:v,badgeOffset:y,floatButtonBodyPadding:b,calc:C}=f,x=`${d}-group`;return{[x]:Object.assign(Object.assign({},(0,n.resetComponent)(f)),{zIndex:99,display:"block",border:"none",position:"fixed",width:p,height:"auto",boxShadow:"none",minHeight:p,insetInlineEnd:f.floatButtonInsetInlineEnd,insetBlockEnd:f.floatButtonInsetBlockEnd,borderRadius:m,[`${x}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:g},[`&${x}-rtl`]:{direction:"rtl"},[d]:{position:"static"}}),[`${x}-circle`]:{[`${d}-circle:not(:last-child)`]:{marginBottom:f.margin,[`${d}-body`]:{width:p,height:p,borderRadius:"50%"}}},[`${x}-square`]:{[`${d}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:m,borderStartEndRadius:m},"&:last-child":{borderEndStartRadius:m,borderEndEndRadius:m},"&:not(:last-child)":{borderBottom:`${(0,t.unit)(f.lineWidth)} ${f.lineType} ${f.colorSplit}`},[`${h}-badge`]:{[`${h}-badge-count`]:{top:C(C(b).add(y)).mul(-1).equal(),insetInlineEnd:C(C(b).add(y)).mul(-1).equal()}}},[`${x}-wrap`]:{display:"block",borderRadius:m,boxShadow:f.boxShadowSecondary,[`${d}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:b,"&:first-child":{borderStartStartRadius:m,borderStartEndRadius:m},"&:last-child":{borderEndStartRadius:m,borderEndEndRadius:m},"&:not(:last-child)":{borderBottom:`${(0,t.unit)(f.lineWidth)} ${f.lineType} ${f.colorSplit}`},[`${d}-body`]:{width:f.floatButtonBodySize,height:f.floatButtonBodySize}}}},[`${x}-circle-shadow`]:{boxShadow:"none"},[`${x}-square-shadow`]:{boxShadow:f.boxShadowSecondary,[`${d}-square`]:{boxShadow:"none",padding:b,[`${d}-body`]:{width:f.floatButtonBodySize,height:f.floatButtonBodySize,borderRadius:v}}}}},u=f=>{const{antCls:h,componentCls:d,floatButtonBodyPadding:p,floatButtonIconSize:g,floatButtonSize:m,borderRadiusLG:v,badgeOffset:y,dotOffsetInSquare:b,dotOffsetInCircle:C,calc:x}=f;return{[d]:Object.assign(Object.assign({},(0,n.resetComponent)(f)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",width:m,height:m,insetInlineEnd:f.floatButtonInsetInlineEnd,insetBlockEnd:f.floatButtonInsetBlockEnd,boxShadow:f.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${h}-badge`]:{width:"100%",height:"100%",[`${h}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:x(y).mul(-1).equal(),insetInlineEnd:x(y).mul(-1).equal()}},[`${d}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${f.motionDurationMid}`,[`${d}-content`]:{overflow:"hidden",textAlign:"center",minHeight:m,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${(0,t.unit)(x(p).div(2).equal())} ${(0,t.unit)(p)}`,[`${d}-icon`]:{textAlign:"center",margin:"auto",width:g,fontSize:g,lineHeight:1}}}}),[`${d}-rtl`]:{direction:"rtl"},[`${d}-circle`]:{height:m,borderRadius:"50%",[`${h}-badge`]:{[`${h}-badge-dot`]:{top:C,insetInlineEnd:C}},[`${d}-body`]:{borderRadius:"50%"}},[`${d}-square`]:{height:"auto",minHeight:m,borderRadius:v,[`${h}-badge`]:{[`${h}-badge-dot`]:{top:b,insetInlineEnd:b}},[`${d}-body`]:{height:"auto",borderRadius:v}},[`${d}-default`]:{backgroundColor:f.floatButtonBackgroundColor,transition:`background-color ${f.motionDurationMid}`,[`${d}-body`]:{backgroundColor:f.floatButtonBackgroundColor,transition:`background-color ${f.motionDurationMid}`,"&:hover":{backgroundColor:f.colorFillContent},[`${d}-content`]:{[`${d}-icon`]:{color:f.colorText},[`${d}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,t.unit)(f.fontSizeLG),color:f.colorText,fontSize:f.fontSizeSM}}}},[`${d}-primary`]:{backgroundColor:f.colorPrimary,[`${d}-body`]:{backgroundColor:f.colorPrimary,transition:`background-color ${f.motionDurationMid}`,"&:hover":{backgroundColor:f.colorPrimaryHover},[`${d}-content`]:{[`${d}-icon`]:{color:f.colorTextLightSolid},[`${d}-description`]:{display:"flex",alignItems:"center",lineHeight:(0,t.unit)(f.fontSizeLG),color:f.colorTextLightSolid,fontSize:f.fontSizeSM}}}}}},c=f=>({dotOffsetInCircle:(0,a.default)(f.controlHeightLG/2),dotOffsetInSquare:(0,a.default)(f.borderRadiusLG)});return lm.prepareComponentToken=c,lm.default=(0,o.genStyleHooks)("FloatButton",f=>{const{colorTextLightSolid:h,colorBgElevated:d,controlHeightLG:p,marginXXL:g,marginLG:m,fontSize:v,fontSizeIcon:y,controlItemBgHover:b,paddingXXS:C,calc:x}=f,S=(0,o.mergeToken)(f,{floatButtonBackgroundColor:d,floatButtonColor:h,floatButtonHoverBackgroundColor:b,floatButtonFontSize:v,floatButtonIconSize:x(y).mul(1.5).equal(),floatButtonSize:p,floatButtonInsetBlockEnd:g,floatButtonInsetInlineEnd:m,floatButtonBodySize:x(p).sub(x(C).mul(2)).equal(),floatButtonBodyPadding:C,badgeOffset:x(C).mul(1.5).equal()});return[s(S),u(S),(0,r.initFadeMotion)(f),l(S)]},c),lm}var HSe;function jF(){if(HSe)return am;HSe=1;var e=ze;Object.defineProperty(am,"__esModule",{value:!0}),am.floatButtonPrefixCls=am.default=void 0;var t=h(_),n=e(Tt()),r=e(Qr());_n();var i=e(tVe()),o=Lt(),a=e(kc()),l=e(yae()),s=e(MYt()),u=e(HVe()),c=e(zr());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var d=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:y,className:b,rootClassName:C,type:x="default",shape:S="circle",icon:w,description:O,tooltip:$,badge:P={}}=m,T=d(m,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:R,direction:M}=(0,t.useContext)(o.ConfigContext),A=(0,t.useContext)(l.default),N=R(p,y),j=(0,c.default)(N),[D,L,B]=(0,u.default)(N,j),k=A||S,z=(0,n.default)(L,B,j,N,b,C,`${N}-${x}`,`${N}-${k}`,{[`${N}-rtl`]:M==="rtl"}),q=(0,t.useMemo)(()=>(0,r.default)(P,["title","children","status","text"]),[P]),W=(0,t.useMemo)(()=>({prefixCls:N,description:O,icon:w,type:x}),[N,O,w,x]);let U=t.default.createElement("div",{className:`${N}-body`},t.default.createElement(s.default,Object.assign({},W)));return"badge"in m&&(U=t.default.createElement(i.default,Object.assign({},q),U)),"tooltip"in m&&(U=t.default.createElement(a.default,{title:$,placement:M==="rtl"?"right":"left"},U)),D(m.href?t.default.createElement("a",Object.assign({ref:v},T,{className:z}),U):t.default.createElement("button",Object.assign({ref:v},T,{className:z,type:"button"}),U))});return am.default=g,am}var WSe;function WVe(){if(WSe)return nw;WSe=1;var e=ze;Object.defineProperty(nw,"__esModule",{value:!0}),nw.default=void 0;var t=h(_),n=e(Jqe()),r=e(Tt()),i=e(Ad),o=e(mF()),a=e(vF()),l=e(Moe()),s=Lt(),u=e(yae()),c=h(jF());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,className:y,type:b="default",shape:C="circle",visibilityHeight:x=400,icon:S=t.default.createElement(n.default,null),target:w,onClick:O,duration:$=450}=g,P=d(g,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[T,R]=(0,t.useState)(x===0),M=t.default.useRef(null);t.default.useImperativeHandle(m,()=>({nativeElement:M.current}));const A=()=>M.current&&M.current.ownerDocument?M.current.ownerDocument:window,N=(0,l.default)(W=>{const U=(0,o.default)(W.target,!0);R(U>=x)});(0,t.useEffect)(()=>{const U=(w||A)();return N({target:U}),U==null||U.addEventListener("scroll",N),()=>{N.cancel(),U==null||U.removeEventListener("scroll",N)}},[w]);const j=W=>{(0,a.default)(0,{getContainer:w||A,duration:$}),O==null||O(W)},{getPrefixCls:D}=(0,t.useContext)(s.ConfigContext),L=D(c.floatButtonPrefixCls,v),B=D(),z=(0,t.useContext)(u.default)||C,q=Object.assign({prefixCls:L,icon:S,type:b,shape:z},P);return t.default.createElement(i.default,{visible:T,motionName:`${B}-fade`},W=>{let{className:U}=W;return t.default.createElement(c.default,Object.assign({ref:M},q,{onClick:j,className:(0,r.default)(y,U)}))})});return nw.default=p,nw}var ow={},qSe;function qVe(){if(qSe)return ow;qSe=1;var e=ze;Object.defineProperty(ow,"__esModule",{value:!0}),ow.default=void 0;var t=d(_),n=e(zs()),r=e(FVe()),i=e(Tt()),o=e(Ad),a=e(ns());_n();var l=Lt(),s=yae(),u=d(jF()),c=e(HVe()),f=e(zr());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:v,className:y,style:b,shape:C="circle",type:x="default",icon:S=t.default.createElement(r.default,null),closeIcon:w=t.default.createElement(n.default,null),description:O,trigger:$,children:P,onOpenChange:T,open:R}=m,M=p(m,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:A,getPrefixCls:N}=(0,t.useContext)(l.ConfigContext),j=N(u.floatButtonPrefixCls,v),D=(0,f.default)(j),[L,B,k]=(0,c.default)(j,D),z=`${j}-group`,q=(0,i.default)(z,B,k,D,y,{[`${z}-rtl`]:A==="rtl",[`${z}-${C}`]:C,[`${z}-${C}-shadow`]:!$}),W=(0,i.default)(B,`${z}-wrap`),[U,K]=(0,a.default)(!1,{value:R}),X=t.default.useRef(null),G=t.default.useRef(null),Y=t.default.useMemo(()=>$==="hover"?{onMouseEnter(){K(!0),T==null||T(!0)},onMouseLeave(){K(!1),T==null||T(!1)}}:{},[$]),J=()=>{K(Q=>(T==null||T(!Q),!Q))},ee=(0,t.useCallback)(Q=>{var te,ne;if(!((te=X.current)===null||te===void 0)&&te.contains(Q.target)){!((ne=G.current)===null||ne===void 0)&&ne.contains(Q.target)&&J();return}K(!1),T==null||T(!1)},[$]);return(0,t.useEffect)(()=>{if($==="click")return document.addEventListener("click",ee),()=>{document.removeEventListener("click",ee)}},[$]),L(t.default.createElement(s.FloatButtonGroupProvider,{value:C},t.default.createElement("div",Object.assign({ref:X,className:q,style:b},Y),$&&["click","hover"].includes($)?t.default.createElement(t.default.Fragment,null,t.default.createElement(o.default,{visible:U,motionName:`${z}-wrap`},Q=>{let{className:te}=Q;return t.default.createElement("div",{className:(0,i.default)(te,W)},P)}),t.default.createElement(u.default,Object.assign({ref:G,type:x,shape:C,icon:U?w:S,description:O,"aria-label":m["aria-label"]},M))):P)))};return ow.default=(0,t.memo)(g),ow}var aw={},VSe;function IYt(){if(VSe)return aw;VSe=1;var e=ze;Object.defineProperty(aw,"__esModule",{value:!0}),aw.default=void 0;var t=e(Tt()),n=s(_),r=Lt(),i=e(WVe()),o=s(jF()),a=e(qVe());function l(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(l=function(g){return g?p:d})(h)}function s(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=l(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var u=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{var{backTop:d}=h,p=u(h,["backTop"]);return d?n.createElement(i.default,Object.assign({},p,{visibilityHeight:0})):n.createElement(o.default,Object.assign({},p))},f=h=>{var{className:d,items:p}=h,g=u(h,["className","items"]);const{prefixCls:m}=g,{getPrefixCls:v}=n.useContext(r.ConfigContext),b=`${v(o.floatButtonPrefixCls,m)}-pure`;return p?n.createElement(a.default,Object.assign({className:(0,t.default)(d,b)},g),p.map((C,x)=>n.createElement(c,Object.assign({key:x},C)))):n.createElement(c,Object.assign({className:(0,t.default)(d,b)},g))};return aw.default=f,aw}var USe;function NYt(){if(USe)return tw;USe=1;var e=ze;Object.defineProperty(tw,"__esModule",{value:!0}),tw.default=void 0;var t=e(WVe()),n=e(jF()),r=e(qVe()),i=e(IYt());return n.default.BackTop=t.default,n.default.Group=r.default,n.default._InternalPanelDoNotUseOrYouWillBeFired=i.default,tw.default=n.default,tw}var lw={},sw={},mI={},GSe;function VVe(){if(GSe)return mI;GSe=1,Object.defineProperty(mI,"__esModule",{value:!0}),mI.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i){const[o,a]=e.useState(i);return e.useEffect(()=>{const l=setTimeout(()=>{a(i)},i.length?0:10);return()=>{clearTimeout(l)}},[i]),o}return mI}var gp={},cw={},KSe;function AYt(){if(KSe)return cw;KSe=1,Object.defineProperty(cw,"__esModule",{value:!0}),cw.default=void 0;const e=t=>{const{componentCls:n}=t,r=`${n}-show-help`,i=`${n}-show-help-item`;return{[r]:{transition:`opacity ${t.motionDurationSlow} ${t.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[i]:{overflow:"hidden",transition:`height ${t.motionDurationSlow} ${t.motionEaseInOut}, opacity ${t.motionDurationSlow} ${t.motionEaseInOut}, - transform ${t.motionDurationSlow} ${t.motionEaseInOut} !important`,[`&${i}-appear, &${i}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${i}-leave-active`]:{transform:"translateY(-5px)"}}}}};return sw.default=e,sw}var KSe;function jF(){if(KSe)return gp;KSe=1;var e=ze;Object.defineProperty(gp,"__esModule",{value:!0}),gp.prepareToken=gp.prepareComponentToken=gp.default=void 0;var t=Xt,n=Tn(),r=Bs(),i=Jt(),o=e(kYt());const a=v=>({legend:{display:"block",width:"100%",marginBottom:v.marginLG,padding:0,color:v.colorTextDescription,fontSize:v.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,t.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,t.unit)(v.controlOutlineWidth)} ${v.controlOutline}`},output:{display:"block",paddingTop:15,color:v.colorText,fontSize:v.fontSize,lineHeight:v.lineHeight}}),l=(v,y)=>{const{formItemCls:b}=v;return{[b]:{[`${b}-label > label`]:{height:y},[`${b}-control-input`]:{minHeight:y}}}},s=v=>{const{componentCls:y}=v;return{[v.componentCls]:Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(v)),a(v)),{[`${y}-text`]:{display:"inline-block",paddingInlineEnd:v.paddingSM},"&-small":Object.assign({},l(v,v.controlHeightSM)),"&-large":Object.assign({},l(v,v.controlHeightLG))})}},u=v=>{const{formItemCls:y,iconCls:b,componentCls:C,rootPrefixCls:x,labelRequiredMarkColor:S,labelColor:w,labelFontSize:O,labelHeight:$,labelColonMarginInlineStart:P,labelColonMarginInlineEnd:T,itemMarginBottom:R}=v;return{[y]:Object.assign(Object.assign({},(0,n.resetComponent)(v)),{marginBottom:R,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + transform ${t.motionDurationSlow} ${t.motionEaseInOut} !important`,[`&${i}-appear, &${i}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${i}-leave-active`]:{transform:"translateY(-5px)"}}}}};return cw.default=e,cw}var XSe;function DF(){if(XSe)return gp;XSe=1;var e=ze;Object.defineProperty(gp,"__esModule",{value:!0}),gp.prepareToken=gp.prepareComponentToken=gp.default=void 0;var t=Xt,n=Tn(),r=Bs(),i=Jt(),o=e(AYt());const a=v=>({legend:{display:"block",width:"100%",marginBottom:v.marginLG,padding:0,color:v.colorTextDescription,fontSize:v.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,t.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,t.unit)(v.controlOutlineWidth)} ${v.controlOutline}`},output:{display:"block",paddingTop:15,color:v.colorText,fontSize:v.fontSize,lineHeight:v.lineHeight}}),l=(v,y)=>{const{formItemCls:b}=v;return{[b]:{[`${b}-label > label`]:{height:y},[`${b}-control-input`]:{minHeight:y}}}},s=v=>{const{componentCls:y}=v;return{[v.componentCls]:Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(v)),a(v)),{[`${y}-text`]:{display:"inline-block",paddingInlineEnd:v.paddingSM},"&-small":Object.assign({},l(v,v.controlHeightSM)),"&-large":Object.assign({},l(v,v.controlHeightLG))})}},u=v=>{const{formItemCls:y,iconCls:b,componentCls:C,rootPrefixCls:x,labelRequiredMarkColor:S,labelColor:w,labelFontSize:O,labelHeight:$,labelColonMarginInlineStart:P,labelColonMarginInlineEnd:T,itemMarginBottom:R}=v;return{[y]:Object.assign(Object.assign({},(0,n.resetComponent)(v)),{marginBottom:R,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${x}-row`]:{display:"none"},"&-has-warning":{[`${y}-split`]:{color:v.colorError}},"&-has-error":{[`${y}-split`]:{color:v.colorWarning}},[`${y}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:v.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:$,color:w,fontSize:O,[`> ${b}`]:{fontSize:v.fontSize,verticalAlign:"top"},[`&${y}-required:not(${y}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:v.marginXXS,color:S,fontSize:v.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${C}-hide-required-mark &`]:{display:"none"}},[`${y}-optional`]:{display:"inline-block",marginInlineStart:v.marginXXS,color:v.colorTextDescription,[`${C}-hide-required-mark &`]:{display:"none"}},[`${y}-tooltip`]:{color:v.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:v.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:P,marginInlineEnd:T},[`&${y}-no-colon::after`]:{content:'"\\a0"'}}},[`${y}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${x}-col-'"]):not([class*="' ${x}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:v.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[y]:{"&-explain, &-extra":{clear:"both",color:v.colorTextDescription,fontSize:v.fontSize,lineHeight:v.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:v.controlHeightSM,transition:`color ${v.motionDurationMid} ${v.motionEaseOut}`},"&-explain":{"&-error":{color:v.colorError},"&-warning":{color:v.colorWarning}}},[`&-with-help ${y}-explain`]:{height:"auto",opacity:1},[`${y}-feedback-icon`]:{fontSize:v.fontSize,textAlign:"center",visibility:"visible",animationName:r.zoomIn,animationDuration:v.motionDurationMid,animationTimingFunction:v.motionEaseOutBack,pointerEvents:"none","&-success":{color:v.colorSuccess},"&-error":{color:v.colorError},"&-warning":{color:v.colorWarning},"&-validating":{color:v.colorPrimary}}})}},c=v=>{const{componentCls:y,formItemCls:b}=v;return{[`${y}-horizontal`]:{[`${b}-label`]:{flexGrow:0},[`${b}-control`]:{flex:"1 1 0",minWidth:0},[`${b}-label[class$='-24'], ${b}-label[class*='-24 ']`]:{[`& + ${b}-control`]:{minWidth:"unset"}}}}},f=v=>{const{componentCls:y,formItemCls:b}=v;return{[`${y}-inline`]:{display:"flex",flexWrap:"wrap",[b]:{flex:"none",marginInlineEnd:v.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${b}-label, > ${b}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${b}-label`]:{flex:"none"},[`${y}-text`]:{display:"inline-block"},[`${b}-has-feedback`]:{display:"inline-block"}}}}},h=v=>({padding:v.verticalLabelPadding,margin:v.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),d=v=>{const{componentCls:y,formItemCls:b,rootPrefixCls:C}=v;return{[`${b} ${b}-label`]:h(v),[`${y}:not(${y}-inline)`]:{[b]:{flexWrap:"wrap",[`${b}-label, ${b}-control`]:{[`&:not([class*=" ${C}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},p=v=>{const{componentCls:y,formItemCls:b,rootPrefixCls:C}=v;return{[`${y}-vertical`]:{[b]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${y}-item-control`]:{width:"100%"}}},[`${y}-vertical ${b}-label, .${C}-col-24${b}-label, - .${C}-col-xl-24${b}-label`]:h(v),[`@media (max-width: ${(0,t.unit)(v.screenXSMax)})`]:[d(v),{[y]:{[`.${C}-col-xs-24${b}-label`]:h(v)}}],[`@media (max-width: ${(0,t.unit)(v.screenSMMax)})`]:{[y]:{[`.${C}-col-sm-24${b}-label`]:h(v)}},[`@media (max-width: ${(0,t.unit)(v.screenMDMax)})`]:{[y]:{[`.${C}-col-md-24${b}-label`]:h(v)}},[`@media (max-width: ${(0,t.unit)(v.screenLGMax)})`]:{[y]:{[`.${C}-col-lg-24${b}-label`]:h(v)}}}},g=v=>({labelRequiredMarkColor:v.colorError,labelColor:v.colorTextHeading,labelFontSize:v.fontSize,labelHeight:v.controlHeight,labelColonMarginInlineStart:v.marginXXS/2,labelColonMarginInlineEnd:v.marginXS,itemMarginBottom:v.marginLG,verticalLabelPadding:`0 0 ${v.paddingXS}px`,verticalLabelMargin:0});gp.prepareComponentToken=g;const m=(v,y)=>(0,i.mergeToken)(v,{formItemCls:`${v.componentCls}-item`,rootPrefixCls:y});return gp.prepareToken=m,gp.default=(0,i.genStyleHooks)("Form",(v,y)=>{let{rootPrefixCls:b}=y;const C=m(v,b);return[s(C),u(C),(0,o.default)(C),c(C),f(C),p(C),(0,r.genCollapseMotion)(C),r.zoomIn]},g,{order:-1e3}),gp}var XSe;function UVe(){if(XSe)return lw;XSe=1;var e=ze;Object.defineProperty(lw,"__esModule",{value:!0}),lw.default=void 0;var t=e(qr()),n=e(Tt()),r=h(Ad),i=h(_),o=i,a=e(Il()),l=fi(),s=e(VVe()),u=e(jF()),c=e(zr());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}const d=[];function p(m,v,y){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof m=="string"?m:`${v}-${b}`,error:m,errorStatus:y}}const g=m=>{let{help:v,helpStatus:y,errors:b=d,warnings:C=d,className:x,fieldId:S,onVisibleChanged:w}=m;const{prefixCls:O}=o.useContext(l.FormItemPrefixContext),$=`${O}-item-explain`,P=(0,c.default)(O),[T,R,M]=(0,u.default)(O,P),A=(0,i.useMemo)(()=>(0,a.default)(O),[O]),N=(0,s.default)(b),k=(0,s.default)(C),D=o.useMemo(()=>v!=null?[p(v,"help",y)]:[].concat((0,t.default)(N.map((B,j)=>p(B,"error","error",j))),(0,t.default)(k.map((B,j)=>p(B,"warning","warning",j)))),[v,y,N,k]),L={};return S&&(L.id=`${S}_help`),T(o.createElement(r.default,{motionDeadline:A.motionDeadline,motionName:`${O}-show-help`,visible:!!D.length,onVisibleChanged:w},B=>{const{className:j,style:z}=B;return o.createElement("div",Object.assign({},L,{className:(0,n.default)($,j,M,P,x,R),style:z,role:"alert"}),o.createElement(r.CSSMotionList,Object.assign({keys:D},(0,a.default)(O),{motionName:`${O}-show-help-item`,component:!1}),V=>{const{key:W,error:U,errorStatus:K,className:X,style:G}=V;return o.createElement("div",{key:W,className:(0,n.default)(X,{[`${$}-${K}`]:K}),style:G},U)}))}))};return lw.default=g,lw}var wG={},mI={},c2={},YSe;function DF(){if(YSe)return c2;YSe=1,Object.defineProperty(c2,"__esModule",{value:!0}),c2.getFieldId=r,c2.getStatus=i,c2.toArray=n;const e=["parentNode"],t="form_item";function n(o){return o===void 0||o===!1?[]:Array.isArray(o)?o:[o]}function r(o,a){if(!o.length)return;const l=o.join("_");return a?`${a}_${l}`:e.includes(l)?`${t}_${l}`:l}function i(o,a,l,s,u,c){let f=s;return c!==void 0?f=c:l.validating?f="validating":o.length?f="error":a.length?f="warning":(l.touched||u&&l.validated)&&(f="success"),f}return c2}var ZSe;function jYt(){if(ZSe)return mI;ZSe=1;var e=ze;Object.defineProperty(mI,"__esModule",{value:!0}),mI.default=s;var t=nP,n=a(_),r=e(Eqe),i=DF();function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}function l(u){return(0,i.toArray)(u).join("_")}function s(u){const[c]=(0,t.useForm)(),f=n.useRef({}),h=n.useMemo(()=>u??Object.assign(Object.assign({},c),{__INTERNAL__:{itemRef:d=>p=>{const g=l(d);p?f.current[g]=p:delete f.current[g]}},scrollToField:function(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const g=(0,i.toArray)(d),m=(0,i.getFieldId)(g,h.__INTERNAL__.name),v=m?document.getElementById(m):null;v&&(0,r.default)(v,Object.assign({scrollMode:"if-needed",block:"nearest"},p))},getFieldInstance:d=>{const p=l(d);return f.current[p]}}),[u,c]);return[h]}return mI}var vI={},QSe;function DYt(){if(QSe)return vI;QSe=1,Object.defineProperty(vI,"__esModule",{value:!0}),vI.default=n;var e=_,t=_n();function n(r){let{name:i}=r;(0,t.devUseWarning)("Form"),(0,e.useEffect)(()=>{if(i)return()=>{}},[i])}return vI}var JSe;function LYt(){return JSe||(JSe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"List",{enumerable:!0,get:function(){return o.List}}),e.default=void 0,Object.defineProperty(e,"useForm",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useWatch",{enumerable:!0,get:function(){return o.useWatch}});var n=m(_),r=n,i=t(Tt()),o=m(nP),a=Lt(),l=m($a()),s=t(zr()),u=t(no()),c=t(cF()),f=fi(),h=t(jYt());t(DYt());var d=t(jF()),p=t(oqe());function g(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(g=function(w){return w?S:x})(C)}function m(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=g(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var v=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{const S=r.useContext(l.default),{getPrefixCls:w,direction:O,form:$}=r.useContext(a.ConfigContext),{prefixCls:P,className:T,rootClassName:R,size:M,disabled:A=S,form:N,colon:k,labelAlign:D,labelWrap:L,labelCol:B,wrapperCol:j,hideRequiredMark:z,layout:V="horizontal",scrollToFirstError:W,requiredMark:U,onFinishFailed:K,name:X,style:G,feedbackIcons:Y,variant:J}=C,ee=v(C,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Q=(0,u.default)(M),te=r.useContext(p.default),ne=(0,n.useMemo)(()=>U!==void 0?U:z?!1:$&&$.requiredMark!==void 0?$.requiredMark:!0,[z,U,$]),re=k??($==null?void 0:$.colon),oe=w("form",P),se=(0,s.default)(oe),[ye,be,he]=(0,d.default)(oe,se),le=(0,i.default)(oe,`${oe}-${V}`,{[`${oe}-hide-required-mark`]:ne===!1,[`${oe}-rtl`]:O==="rtl",[`${oe}-${Q}`]:Q},he,se,be,$==null?void 0:$.className,T,R),[ve]=(0,h.default)(N),{__INTERNAL__:ke}=ve;ke.name=X;const Ie=(0,n.useMemo)(()=>({name:X,labelAlign:D,labelCol:B,labelWrap:L,wrapperCol:j,vertical:V==="vertical",colon:re,requiredMark:ne,itemRef:ke.itemRef,form:ve,feedbackIcons:Y}),[X,D,B,j,V,re,ne,ve,Y]);r.useImperativeHandle(x,()=>ve);const Oe=(_e,ce)=>{if(_e){let Te={block:"nearest"};typeof _e=="object"&&(Te=_e),ve.scrollToField(ce,Te)}},Pe=_e=>{if(K==null||K(_e),_e.errorFields.length){const ce=_e.errorFields[0].name;if(W!==void 0){Oe(W,ce);return}$&&$.scrollToFirstError!==void 0&&Oe($.scrollToFirstError,ce)}};return ye(r.createElement(f.VariantContext.Provider,{value:J},r.createElement(l.DisabledContextProvider,{disabled:A},r.createElement(c.default.Provider,{value:Q},r.createElement(f.FormProvider,{validateMessages:te},r.createElement(f.FormContext.Provider,{value:Ie},r.createElement(o.default,Object.assign({id:X},ee,{name:X,onFinishFailed:Pe,form:ve,style:Object.assign(Object.assign({},$==null?void 0:$.style),G),className:le}))))))))},b=r.forwardRef(y);e.default=b}(wG)),wG}var cw={},yI={},exe;function zYt(){if(exe)return yI;exe=1;var e=ze;Object.defineProperty(yI,"__esModule",{value:!0}),yI.default=n;var t=e(fl());function n(r){if(typeof r=="function")return r;const i=(0,t.default)(r);return i.length<=1?i[0]:i}return yI}var uw={},txe;function BYt(){if(txe)return uw;txe=1,Object.defineProperty(uw,"__esModule",{value:!0}),uw.default=void 0;var e=_;_n();var t=fi();const n=()=>{const{status:r,errors:i=[],warnings:o=[]}=(0,e.useContext)(t.FormItemInputContext);return{status:r,errors:i,warnings:o}};return n.Context=t.FormItemInputContext,uw.default=n,uw}var bI={},nxe;function FYt(){if(nxe)return bI;nxe=1;var e=ze;Object.defineProperty(bI,"__esModule",{value:!0}),bI.default=a;var t=e(Gy()),n=o(_),r=n;function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){const[s,u]=r.useState(l),c=(0,n.useRef)(null),f=(0,n.useRef)([]),h=(0,n.useRef)(!1);r.useEffect(()=>(h.current=!1,()=>{h.current=!0,t.default.cancel(c.current),c.current=null}),[]);function d(p){h.current||(c.current===null&&(f.current=[],c.current=(0,t.default)(()=>{c.current=null,u(g=>{let m=g;return f.current.forEach(v=>{m=v(m)}),m})})),f.current.push(p))}return[s,d]}return bI}var CI={},rxe;function HYt(){if(rxe)return CI;rxe=1,Object.defineProperty(CI,"__esModule",{value:!0}),CI.default=o;var e=Nc(),t=i(_),n=fi();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(){const{itemRef:a}=t.useContext(n.FormContext),l=t.useRef({});function s(u,c){const f=c&&typeof c=="object"&&c.ref,h=u.join("_");return(l.current.name!==h||l.current.originRef!==f)&&(l.current.name=h,l.current.originRef=f,l.current.ref=(0,e.composeRef)(a(u),f)),l.current.ref}return s}return CI}var SI={},dw={},fw={},ixe;function WYt(){if(ixe)return fw;ixe=1,Object.defineProperty(fw,"__esModule",{value:!0}),fw.default=void 0;var e=jF(),t=Jt();const n=r=>{const{formItemCls:i}=r;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${i}-control`]:{display:"flex"}}}};return fw.default=(0,t.genSubStyleComponent)(["Form","item-item"],(r,i)=>{let{rootPrefixCls:o}=i;const a=(0,e.prepareToken)(r,o);return[n(a)]}),fw}var oxe;function qYt(){if(oxe)return dw;oxe=1;var e=ze;Object.defineProperty(dw,"__esModule",{value:!0}),dw.default=void 0;var t=s(_),n=e(Tt()),r=e(fae()),i=fi(),o=e(UVe()),a=e(WYt());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,status:h,wrapperCol:d,children:p,errors:g,warnings:m,_internalItemRender:v,extra:y,help:b,fieldId:C,marginBottom:x,onErrorVisibleChanged:S}=c,w=`${f}-item`,O=t.useContext(i.FormContext),$=d||O.wrapperCol||{},P=(0,n.default)(`${w}-control`,$.className),T=t.useMemo(()=>Object.assign({},O),[O]);delete T.labelCol,delete T.wrapperCol;const R=t.createElement("div",{className:`${w}-control-input`},t.createElement("div",{className:`${w}-control-input-content`},p)),M=t.useMemo(()=>({prefixCls:f,status:h}),[f,h]),A=x!==null||g.length||m.length?t.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},t.createElement(i.FormItemPrefixContext.Provider,{value:M},t.createElement(o.default,{fieldId:C,errors:g,warnings:m,help:b,helpStatus:h,className:`${w}-explain-connected`,onVisibleChanged:S})),!!x&&t.createElement("div",{style:{width:0,height:x}})):null,N={};C&&(N.id=`${C}_extra`);const k=y?t.createElement("div",Object.assign({},N,{className:`${w}-extra`}),y):null,D=v&&v.mark==="pro_table_render"&&v.render?v.render(c,{input:R,errorList:A,extra:k}):t.createElement(t.Fragment,null,R,A,k);return t.createElement(i.FormContext.Provider,{value:T},t.createElement(r.default,Object.assign({},$,{className:P}),D),t.createElement(a.default,{prefixCls:f}))};return dw.default=u,dw}var pw={},xI={exports:{}},OG={},_I={},axe;function VYt(){if(axe)return _I;axe=1,Object.defineProperty(_I,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};return _I.default=e,_I}var lxe;function UYt(){return lxe||(lxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(VYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{prefixCls:g,label:m,htmlFor:v,labelCol:y,labelAlign:b,colon:C,required:x,requiredMark:S,tooltip:w}=p;var O;const[$]=(0,a.useLocale)("Form"),{vertical:P,labelAlign:T,labelCol:R,labelWrap:M,colon:A}=r.useContext(s.FormContext);if(!m)return null;const N=y||R||{},k=b||T,D=`${g}-item-label`,L=(0,n.default)(D,k==="left"&&`${D}-left`,N.className,{[`${D}-wrap`]:!!M});let B=m;const j=C===!0||A!==!1&&C!==!1;j&&!P&&typeof m=="string"&&m.trim()!==""&&(B=m.replace(/[:|:]\s*$/,""));const V=h(w);if(V){const{icon:X=r.createElement(t.default,null)}=V,G=f(V,["icon"]),Y=r.createElement(l.default,Object.assign({},G),r.cloneElement(X,{className:`${g}-item-tooltip`,title:"",onClick:J=>{J.preventDefault()},tabIndex:null}));B=r.createElement(r.Fragment,null,B,Y)}const W=S==="optional",U=typeof S=="function";U?B=S(B,{required:!!x}):W&&!x&&(B=r.createElement(r.Fragment,null,B,r.createElement("span",{className:`${g}-item-optional`,title:""},($==null?void 0:$.optional)||((O=o.default.Form)===null||O===void 0?void 0:O.optional))));const K=(0,n.default)({[`${g}-item-required`]:x,[`${g}-item-required-mark-optional`]:W||U,[`${g}-item-no-colon`]:!j});return r.createElement(i.default,Object.assign({},N,{className:L}),r.createElement("label",{htmlFor:v,className:K,title:typeof m=="string"?m:""},B))};return pw.default=d,pw}var wI={},uxe;function GVe(){if(uxe)return wI;uxe=1;var e=ze;Object.defineProperty(wI,"__esModule",{value:!0}),wI.default=h;var t=c(_),n=e(Yy()),r=e(qf()),i=e(A0()),o=e(Vf()),a=e(Tt()),l=fi(),s=DF();function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f={success:n.default,warning:i.default,error:r.default,validating:o.default};function h(d){let{children:p,errors:g,warnings:m,hasFeedback:v,validateStatus:y,prefixCls:b,meta:C,noStyle:x}=d;const S=`${b}-item`,{feedbackIcons:w}=t.useContext(l.FormContext),O=(0,s.getStatus)(g,m,C,null,!!v,y),{isFormItemInput:$,status:P,hasFeedback:T,feedbackIcon:R}=t.useContext(l.FormItemInputContext),M=t.useMemo(()=>{var A;let N;if(v){const D=v!==!0&&v.icons||w,L=O&&((A=D==null?void 0:D({status:O,errors:g,warnings:m}))===null||A===void 0?void 0:A[O]),B=O&&f[O];N=L!==!1&&B?t.createElement("span",{className:(0,a.default)(`${S}-feedback-icon`,`${S}-feedback-icon-${O}`)},L||t.createElement(B,null)):null}const k={status:O||"",errors:g,warnings:m,hasFeedback:!!v,feedbackIcon:N,isFormItemInput:!0};return x&&(k.status=(O??P)||"",k.isFormItemInput=$,k.hasFeedback=!!(v??T),k.feedbackIcon=v!==void 0?k.feedbackIcon:R),k},[O,v,x,$,P]);return t.createElement(l.FormItemInputContext.Provider,{value:M},p)}return wI}var dxe;function XYt(){if(dxe)return SI;dxe=1;var e=ze;Object.defineProperty(SI,"__esModule",{value:!0}),SI.default=m;var t=p(_),n=e(Tt()),r=e(Nqe()),i=e(iP()),o=e(Qr()),a=DC(),l=fi(),s=e(qYt()),u=e(KYt()),c=e(VVe()),f=DF(),h=e(GVe());function d(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(d=function(C){return C?b:y})(v)}function p(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=d(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var g=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{if(K&&z.current){const ne=getComputedStyle(z.current);Y(parseInt(ne.marginBottom,10))}},[K,X]);const J=ne=>{ne||Y(null)},Q=function(){let ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const re=ne?V:P.errors,oe=ne?W:P.warnings;return(0,f.getStatus)(re,oe,P,"",!!T,$)}(),te=(0,n.default)(B,b,C,{[`${B}-with-help`]:U||V.length||W.length,[`${B}-has-feedback`]:Q&&T,[`${B}-has-success`]:Q==="success",[`${B}-has-warning`]:Q==="warning",[`${B}-has-error`]:Q==="error",[`${B}-is-validating`]:Q==="validating",[`${B}-hidden`]:R});return t.createElement("div",{className:te,style:x,ref:z},t.createElement(a.Row,Object.assign({className:`${B}-row`},(0,o.default)(L,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),t.createElement(u.default,Object.assign({htmlFor:A},v,{requiredMark:j,required:N??k,prefixCls:y})),t.createElement(s.default,Object.assign({},v,P,{errors:V,warnings:W,prefixCls:y,status:Q,help:S,marginBottom:G,onErrorVisibleChanged:J}),t.createElement(l.NoStyleItemContext.Provider,{value:D},t.createElement(h.default,{prefixCls:y,meta:P,errors:P.errors,warnings:P.warnings,hasFeedback:T,validateStatus:Q},M)))),!!G&&t.createElement("div",{className:`${B}-margin-offset`,style:{marginBottom:-G}}))}return SI}var fxe;function YYt(){if(fxe)return cw;fxe=1;var e=ze;Object.defineProperty(cw,"__esModule",{value:!0}),cw.default=void 0;var t=e(qr()),n=x(_),r=e(Tt()),i=nP,o=e(zoe()),a=Nc(),l=to(),s=_n(),u=Lt(),c=e(zr()),f=fi(),h=e(zYt()),d=e(BYt()),p=e(FYt()),g=e(HYt()),m=e(jF()),v=DF(),y=e(XYt()),b=e(GVe());function C(R){if(typeof WeakMap!="function")return null;var M=new WeakMap,A=new WeakMap;return(C=function(N){return N?A:M})(R)}function x(R,M){if(!M&&R&&R.__esModule)return R;if(R===null||typeof R!="object"&&typeof R!="function")return{default:R};var A=C(M);if(A&&A.has(R))return A.get(R);var N={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in R)if(D!=="default"&&Object.prototype.hasOwnProperty.call(R,D)){var L=k?Object.getOwnPropertyDescriptor(R,D):null;L&&(L.get||L.set)?Object.defineProperty(N,D,L):N[D]=R[D]}return N.default=R,A&&A.set(R,N),N}const S="__SPLIT__";function w(R,M){const A=Object.keys(R),N=Object.keys(M);return A.length===N.length&&A.every(k=>{const D=R[k],L=M[k];return D===L||typeof D=="function"||typeof L=="function"})}const O=n.memo(R=>{let{children:M}=R;return M},(R,M)=>w(R.control,M.control)&&R.update===M.update&&R.childProps.length===M.childProps.length&&R.childProps.every((A,N)=>A===M.childProps[N]));function $(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function P(R){const{name:M,noStyle:A,className:N,dependencies:k,prefixCls:D,shouldUpdate:L,rules:B,children:j,required:z,label:V,messageVariables:W,trigger:U="onChange",validateTrigger:K,hidden:X,help:G}=R,{getPrefixCls:Y}=n.useContext(u.ConfigContext),{name:J}=n.useContext(f.FormContext),ee=(0,h.default)(j),Q=typeof ee=="function",te=n.useContext(f.NoStyleItemContext),{validateTrigger:ne}=n.useContext(i.FieldContext),re=K!==void 0?K:ne,oe=M!=null,se=Y("form",D),ye=(0,c.default)(se),[be,he,le]=(0,m.default)(se,ye);(0,s.devUseWarning)("Form.Item");const ve=n.useContext(i.ListContext),ke=n.useRef(),[Ie,Oe]=(0,p.default)({}),[Pe,_e]=(0,o.default)(()=>$()),ce=me=>{const Ee=ve==null?void 0:ve.getKey(me.name);if(_e(me.destroy?$():me,!0),A&&G!==!1&&te){let $e=me.name;if(me.destroy)$e=ke.current||$e;else if(Ee!==void 0){const[Le,Fe]=Ee;$e=[Le].concat((0,t.default)(Fe)),ke.current=$e}te(me,$e)}},Te=(me,Ee)=>{Oe($e=>{const Le=Object.assign({},$e),Ke=[].concat((0,t.default)(me.name.slice(0,-1)),(0,t.default)(Ee)).join(S);return me.destroy?delete Le[Ke]:Le[Ke]=me,Le})},[Ne,je]=n.useMemo(()=>{const me=(0,t.default)(Pe.errors),Ee=(0,t.default)(Pe.warnings);return Object.values(Ie).forEach($e=>{me.push.apply(me,(0,t.default)($e.errors||[])),Ee.push.apply(Ee,(0,t.default)($e.warnings||[]))}),[me,Ee]},[Ie,Pe.errors,Pe.warnings]),He=(0,g.default)();function Be(me,Ee,$e){return A&&!X?n.createElement(b.default,{prefixCls:se,hasFeedback:R.hasFeedback,validateStatus:R.validateStatus,meta:Pe,errors:Ne,warnings:je,noStyle:!0},me):n.createElement(y.default,Object.assign({key:"row"},R,{className:(0,r.default)(N,le,ye,he),prefixCls:se,fieldId:Ee,isRequired:$e,errors:Ne,warnings:je,meta:Pe,onSubItemMetaChange:Te}),me)}if(!oe&&!Q&&!k)return be(Be(ee));let qe={};return typeof V=="string"?qe.label=V:M&&(qe.label=String(M)),W&&(qe=Object.assign(Object.assign({},qe),W)),be(n.createElement(i.Field,Object.assign({},R,{messageVariables:qe,trigger:U,validateTrigger:re,onMetaChange:ce}),(me,Ee,$e)=>{const Le=(0,v.toArray)(M).length&&Ee?Ee.name:[],Fe=(0,v.getFieldId)(Le,J),Ke=z!==void 0?z:!!(B&&B.some(Ye=>{if(Ye&&typeof Ye=="object"&&Ye.required&&!Ye.warningOnly)return!0;if(typeof Ye=="function"){const we=Ye($e);return we&&we.required&&!we.warningOnly}return!1})),lt=Object.assign({},me);let ft=null;if(Array.isArray(ee)&&oe)ft=ee;else if(!(Q&&(!(L||k)||oe))){if(!(k&&!Q&&!oe))if((0,l.isValidElement)(ee)){const Ye=Object.assign(Object.assign({},ee.props),lt);if(Ye.id||(Ye.id=Fe),G||Ne.length>0||je.length>0||R.extra){const We=[];(G||Ne.length>0)&&We.push(`${Fe}_help`),R.extra&&We.push(`${Fe}_extra`),Ye["aria-describedby"]=We.join(" ")}Ne.length>0&&(Ye["aria-invalid"]="true"),Ke&&(Ye["aria-required"]="true"),(0,a.supportRef)(ee)&&(Ye.ref=He(Le,ee)),new Set([].concat((0,t.default)((0,v.toArray)(U)),(0,t.default)((0,v.toArray)(re)))).forEach(We=>{Ye[We]=function(){for(var Ge,Je,bt,at,et,rt=arguments.length,Ze=new Array(rt),wt=0;wt{var{prefixCls:u,children:c}=s,f=a(s,["prefixCls","children"]);const{getPrefixCls:h}=e.useContext(n.ConfigContext),d=h("form",u),p=e.useMemo(()=>({prefixCls:d,status:"error"}),[d]);return e.createElement(t.List,Object.assign({},f),(g,m,v)=>e.createElement(r.FormItemPrefixContext.Provider,{value:p},c(g.map(y=>Object.assign(Object.assign({},y),{fieldKey:y.key})),m,{errors:v.errors,warnings:v.warnings})))};return hw.default=l,hw}var OI={},hxe;function QYt(){if(hxe)return OI;hxe=1,Object.defineProperty(OI,"__esModule",{value:!0}),OI.default=n;var e=_,t=fi();function n(){const{form:r}=(0,e.useContext)(t.FormContext);return r}return OI}var gxe;function JYt(){if(gxe)return aw;gxe=1;var e=ze;Object.defineProperty(aw,"__esModule",{value:!0}),aw.default=void 0,e(_n());var t=e(UVe()),n=s(LYt()),r=e(YYt()),i=e(ZYt()),o=fi(),a=e(QYt());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=n.default;return u.Item=r.default,u.List=i.default,u.ErrorList=t.default,u.useForm=n.useForm,u.useFormInstance=a.default,u.useWatch=n.useWatch,u.Provider=o.FormProvider,u.create=()=>{},aw.default=u,aw}var gw={};const KVe=cr(H9t);var sm={},EI={exports:{}},EG={},$I={},mxe;function eZt(){if(mxe)return $I;mxe=1,Object.defineProperty($I,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};return $I.default=e,$I}var vxe;function tZt(){return vxe||(vxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(eZt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p({position:p||"absolute",inset:0});Ka.genBoxStyle=a;const l=p=>{const{iconCls:g,motionDurationSlow:m,paddingXXS:v,marginXXS:y,prefixCls:b,colorTextLightSolid:C}=p;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:C,background:new t.TinyColor("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${m}`,[`.${b}-mask-info`]:Object.assign(Object.assign({},r.textEllipsis),{padding:`0 ${(0,e.unit)(v)}`,[g]:{marginInlineEnd:y,svg:{verticalAlign:"baseline"}}})}};Ka.genImageMaskStyle=l;const s=p=>{const{previewCls:g,modalMaskBg:m,paddingSM:v,marginXL:y,margin:b,paddingLG:C,previewOperationColorDisabled:x,previewOperationHoverColor:S,motionDurationSlow:w,iconCls:O,colorTextLightSolid:$}=p,P=new t.TinyColor(m).setAlpha(.1),T=P.clone().setAlpha(.2);return{[`${g}-footer`]:{position:"fixed",bottom:y,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:p.previewOperationColor},[`${g}-progress`]:{marginBottom:b},[`${g}-close`]:{position:"fixed",top:y,right:{_skip_check_:!0,value:y},display:"flex",color:$,backgroundColor:P.toRgbString(),borderRadius:"50%",padding:v,outline:0,border:0,cursor:"pointer",transition:`all ${w}`,"&:hover":{backgroundColor:T.toRgbString()},[`& > ${O}`]:{fontSize:p.previewOperationSize}},[`${g}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,e.unit)(C)}`,backgroundColor:P.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:v,padding:v,cursor:"pointer",transition:`all ${w}`,userSelect:"none",[`&:not(${g}-operations-operation-disabled):hover > ${O}`]:{color:S},"&-disabled":{color:x,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${O}`]:{fontSize:p.previewOperationSize}}}}};Ka.genPreviewOperationsStyle=s;const u=p=>{const{modalMaskBg:g,iconCls:m,previewOperationColorDisabled:v,previewCls:y,zIndexPopup:b,motionDurationSlow:C}=p,x=new t.TinyColor(g).setAlpha(.1),S=x.clone().setAlpha(.2);return{[`${y}-switch-left, ${y}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:p.calc(b).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:p.imagePreviewSwitchSize,height:p.imagePreviewSwitchSize,marginTop:p.calc(p.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:p.previewOperationColor,background:x.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${C}`,userSelect:"none","&:hover":{background:S.toRgbString()},"&-disabled":{"&, &:hover":{color:v,background:"transparent",cursor:"not-allowed",[`> ${m}`]:{cursor:"not-allowed"}}},[`> ${m}`]:{fontSize:p.previewOperationSize}},[`${y}-switch-left`]:{insetInlineStart:p.marginSM},[`${y}-switch-right`]:{insetInlineEnd:p.marginSM}}};Ka.genPreviewSwitchStyle=u;const c=p=>{const{motionEaseOut:g,previewCls:m,motionDurationSlow:v,componentCls:y}=p;return[{[`${y}-preview-root`]:{[m]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${m}-body`]:Object.assign(Object.assign({},a()),{overflow:"hidden"}),[`${m}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${v} ${g} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},a()),{transition:`transform ${v} ${g} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${m}-moving`]:{[`${m}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${y}-preview-root`]:{[`${m}-wrap`]:{zIndex:p.zIndexPopup}}},{[`${y}-preview-operations-wrapper`]:{position:"fixed",zIndex:p.calc(p.zIndexPopup).add(1).equal({unit:!1})},"&":[s(p),u(p)]}]};Ka.genImagePreviewStyle=c;const f=p=>{const{componentCls:g}=p;return{[g]:{position:"relative",display:"inline-block",[`${g}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${g}-img-placeholder`]:{backgroundColor:p.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${g}-mask`]:Object.assign({},l(p)),[`${g}-mask:hover`]:{opacity:1},[`${g}-placeholder`]:Object.assign({},a())}}},h=p=>{const{previewCls:g}=p;return{[`${g}-root`]:(0,i.initZoomMotion)(p,"zoom"),"&":(0,i.initFadeMotion)(p,!0)}},d=p=>({zIndexPopup:p.zIndexPopupBase+80,previewOperationColor:new t.TinyColor(p.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new t.TinyColor(p.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new t.TinyColor(p.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:p.fontSizeIcon*1.5});return Ka.prepareComponentToken=d,Ka.default=(0,o.genStyleHooks)("Image",p=>{const g=`${p.componentCls}-preview`,m=(0,o.mergeToken)(p,{previewCls:g,modalMaskBg:new t.TinyColor("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:p.controlHeightLG});return[f(m),c(m),(0,n.genModalMaskStyle)((0,o.mergeToken)(m,{componentCls:g})),h(m)]},d),Ka}var Ixe;function gZt(){if(Ixe)return sm;Ixe=1;var e=ze;Object.defineProperty(sm,"__esModule",{value:!0}),sm.icons=sm.default=void 0;var t=y(_),n=e(zs()),r=e(sP()),i=e(Jy()),o=e(nZt()),a=e(oZt()),l=e(sZt()),s=e(dZt()),u=e(hZt()),c=e(Tt()),f=e(KVe),h=dl(),d=Il(),p=Lt(),g=e(zr()),m=e(XVe());function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const C=sm.icons={rotateLeft:t.createElement(o.default,null),rotateRight:t.createElement(a.default,null),zoomIn:t.createElement(s.default,null),zoomOut:t.createElement(u.default,null),close:t.createElement(n.default,null),left:t.createElement(r.default,null),right:t.createElement(i.default,null),flipX:t.createElement(l.default,null),flipY:t.createElement(l.default,{rotate:90})},x=S=>{var{previewPrefixCls:w,preview:O}=S,$=b(S,["previewPrefixCls","preview"]);const{getPrefixCls:P}=t.useContext(p.ConfigContext),T=P("image",w),R=`${T}-preview`,M=P(),A=(0,g.default)(T),[N,k,D]=(0,m.default)(T,A),[L]=(0,h.useZIndex)("ImagePreview",typeof O=="object"?O.zIndex:void 0),B=t.useMemo(()=>{var j;if(O===!1)return O;const z=typeof O=="object"?O:{},V=(0,c.default)(k,D,A,(j=z.rootClassName)!==null&&j!==void 0?j:"");return Object.assign(Object.assign({},z),{transitionName:(0,d.getTransitionName)(M,"zoom",z.transitionName),maskTransitionName:(0,d.getTransitionName)(M,"fade",z.maskTransitionName),rootClassName:V,zIndex:L})},[O]);return N(t.createElement(f.default.PreviewGroup,Object.assign({preview:B,previewPrefixCls:R,icons:C},$)))};return sm.default=x,sm}var Nxe;function mZt(){if(Nxe)return gw;Nxe=1;var e=ze;Object.defineProperty(gw,"__esModule",{value:!0}),gw.default=void 0;var t=d(_),n=e(gae()),r=e(Tt()),i=e(KVe),o=dl(),a=Il(),l=Lt(),s=e(zr()),u=e(_u()),c=d(gZt()),f=e(XVe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var v;const{prefixCls:y,preview:b,className:C,rootClassName:x,style:S}=m,w=p(m,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:O,locale:$=u.default,getPopupContainer:P,image:T}=t.useContext(l.ConfigContext),R=O("image",y),M=O(),A=$.Image||u.default.Image,N=(0,s.default)(R),[k,D,L]=(0,f.default)(R,N),B=(0,r.default)(x,D,L,N),j=(0,r.default)(C,D,T==null?void 0:T.className),[z]=(0,o.useZIndex)("ImagePreview",typeof b=="object"?b.zIndex:void 0),V=t.useMemo(()=>{var U;if(b===!1)return b;const K=typeof b=="object"?b:{},{getContainer:X,closeIcon:G}=K,Y=p(K,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:t.createElement("div",{className:`${R}-mask-info`},t.createElement(n.default,null),A==null?void 0:A.preview),icons:c.icons},Y),{getContainer:X??P,transitionName:(0,a.getTransitionName)(M,"zoom",K.transitionName),maskTransitionName:(0,a.getTransitionName)(M,"fade",K.maskTransitionName),zIndex:z,closeIcon:G??((U=T==null?void 0:T.preview)===null||U===void 0?void 0:U.closeIcon)})},[b,A,(v=T==null?void 0:T.preview)===null||v===void 0?void 0:v.closeIcon]),W=Object.assign(Object.assign({},T==null?void 0:T.style),S);return k(t.createElement(i.default,Object.assign({prefixCls:R,preview:V,rootClassName:B,className:j,style:W},w)))};return g.PreviewGroup=c.default,gw.default=g,gw}var mw={},Gu={},jI={},Axe;function vZt(){if(Axe)return jI;Axe=1;var e=ze;Object.defineProperty(jI,"__esModule",{value:!0}),jI.default=r;var t=e(fl()),n=e(PF());function r(i,o,a){return typeof a=="boolean"?a:i.length?!0:(0,t.default)(o).some(s=>s.type===n.default)}return jI}var cm={},vw={},kxe;function yZt(){if(kxe)return vw;kxe=1,Object.defineProperty(vw,"__esModule",{value:!0}),vw.default=void 0;const e=t=>{const{componentCls:n,bodyBg:r,lightSiderBg:i,lightTriggerBg:o,lightTriggerColor:a}=t;return{[`${n}-sider-light`]:{background:i,[`${n}-sider-trigger`]:{color:a,background:o},[`${n}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}};return vw.default=e,vw}var jxe;function bZt(){if(jxe)return cm;jxe=1;var e=ze;Object.defineProperty(cm,"__esModule",{value:!0}),cm.prepareComponentToken=cm.default=void 0;var t=Xt,n=Jt(),r=e(yZt());const i=a=>{const{antCls:l,componentCls:s,colorText:u,triggerColor:c,footerBg:f,triggerBg:h,headerHeight:d,headerPadding:p,headerColor:g,footerPadding:m,triggerHeight:v,zeroTriggerHeight:y,zeroTriggerWidth:b,motionDurationMid:C,motionDurationSlow:x,fontSize:S,borderRadius:w,bodyBg:O,headerBg:$,siderBg:P}=a;return{[s]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:O,"&, *":{boxSizing:"border-box"},[`&${s}-has-sider`]:{flexDirection:"row",[`> ${s}, > ${s}-content`]:{width:0}},[`${s}-header, &${s}-footer`]:{flex:"0 0 auto"},[`${s}-sider`]:{position:"relative",minWidth:0,background:P,transition:`all ${C}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${l}-menu${l}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:v},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:v,color:c,lineHeight:(0,t.unit)(v),textAlign:"center",background:h,cursor:"pointer",transition:`all ${C}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:d,insetInlineEnd:a.calc(b).mul(-1).equal(),zIndex:1,width:b,height:y,color:c,fontSize:a.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:P,borderStartStartRadius:0,borderStartEndRadius:w,borderEndEndRadius:w,borderEndStartRadius:0,cursor:"pointer",transition:`background ${x} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${x}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:a.calc(b).mul(-1).equal(),borderStartStartRadius:w,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:w}}}}},(0,r.default)(a)),{"&-rtl":{direction:"rtl"}}),[`${s}-header`]:{height:d,padding:p,color:g,lineHeight:(0,t.unit)(d),background:$,[`${l}-menu`]:{lineHeight:"inherit"}},[`${s}-footer`]:{padding:m,color:u,fontSize:S,background:f},[`${s}-content`]:{flex:"auto",minHeight:0}}},o=a=>{const{colorBgLayout:l,controlHeight:s,controlHeightLG:u,colorText:c,controlHeightSM:f,marginXXS:h,colorTextLightSolid:d,colorBgContainer:p}=a,g=u*1.25;return{colorBgHeader:"#001529",colorBgBody:l,colorBgTrigger:"#002140",bodyBg:l,headerBg:"#001529",headerHeight:s*2,headerPadding:`0 ${g}px`,headerColor:c,footerPadding:`${f}px ${g}px`,footerBg:l,siderBg:"#001529",triggerHeight:u+h*2,triggerBg:"#002140",triggerColor:d,zeroTriggerWidth:u,zeroTriggerHeight:u,lightSiderBg:p,lightTriggerBg:p,lightTriggerColor:c}};return cm.prepareComponentToken=o,cm.default=(0,n.genStyleHooks)("Layout",a=>[i(a)],o,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),cm}var Dxe;function CZt(){if(Dxe)return Gu;Dxe=1;var e=ze;Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.default=Gu.Header=Gu.Footer=Gu.Content=void 0;var t=e(qr()),n=c(_),r=e(Tt()),i=e(Qr()),o=Lt(),a=nVe(),l=e(vZt()),s=e(bZt());function u(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(u=function(b){return b?y:v})(m)}function c(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=u(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var f=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);Cn.forwardRef((S,w)=>n.createElement(C,Object.assign({ref:w,suffixCls:v,tagName:y},S)))}const d=n.forwardRef((m,v)=>{const{prefixCls:y,suffixCls:b,className:C,tagName:x}=m,S=f(m,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:w}=n.useContext(o.ConfigContext),O=w("layout",y),[$,P,T]=(0,s.default)(O),R=b?`${O}-${b}`:O;return $(n.createElement(x,Object.assign({className:(0,r.default)(y||R,C,P,T),ref:v},S)))}),p=n.forwardRef((m,v)=>{const{direction:y}=n.useContext(o.ConfigContext),[b,C]=n.useState([]),{prefixCls:x,className:S,rootClassName:w,children:O,hasSider:$,tagName:P,style:T}=m,R=f(m,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),M=(0,i.default)(R,["suffixCls"]),{getPrefixCls:A,layout:N}=n.useContext(o.ConfigContext),k=A("layout",x),D=(0,l.default)(b,O,$),[L,B,j]=(0,s.default)(k),z=(0,r.default)(k,{[`${k}-has-sider`]:D,[`${k}-rtl`]:y==="rtl"},N==null?void 0:N.className,S,w,B,j),V=n.useMemo(()=>({siderHook:{addSider:W=>{C(U=>[].concat((0,t.default)(U),[W]))},removeSider:W=>{C(U=>U.filter(K=>K!==W))}}}),[]);return L(n.createElement(a.LayoutContext.Provider,{value:V},n.createElement(P,Object.assign({ref:v,className:z,style:Object.assign(Object.assign({},N==null?void 0:N.style),T)},M),O)))}),g=h({tagName:"div",displayName:"Layout"})(p);return Gu.Header=h({suffixCls:"header",tagName:"header",displayName:"Header"})(d),Gu.Footer=h({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(d),Gu.Content=h({suffixCls:"content",tagName:"main",displayName:"Content"})(d),Gu.default=g,Gu}var Lxe;function SZt(){if(Lxe)return mw;Lxe=1,Object.defineProperty(mw,"__esModule",{value:!0}),mw.default=void 0;var e=r(CZt()),t=r(PF());function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=e.default;return i.Header=e.Header,i.Footer=e.Footer,i.Content=e.Content,i.Sider=t.default,i._InternalSiderContext=t.SiderContext,mw.default=i,mw}var yw={},bw={},zxe;function YVe(){if(zxe)return bw;zxe=1,Object.defineProperty(bw,"__esModule",{value:!0}),bw.default=void 0;const e=function(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let n=1;n{const o=r[i];o!==void 0&&(t[i]=o)})}return t};return bw.default=e,bw}var Cw={},Sw={},DI={exports:{}},RG={},LI={},Bxe;function xZt(){if(Bxe)return LI;Bxe=1,Object.defineProperty(LI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};return LI.default=e,LI}var Fxe;function _Zt(){return Fxe||(Fxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(xZt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pt.createElement(n.default,Object.assign({},l,{showSearch:!0,size:"small"}));um.MiniSelect=o;const a=l=>t.createElement(n.default,Object.assign({},l,{showSearch:!0,size:"middle"}));return um.MiddleSelect=a,o.Option=n.default.Option,a.Option=n.default.Option,um}var mp={},Gxe;function ZVe(){if(Gxe)return mp;Gxe=1,Object.defineProperty(mp,"__esModule",{value:!0}),mp.prepareToken=mp.prepareComponentToken=mp.default=void 0;var e=Xt,t=eb(),n=Tn(),r=Jt(),i=cP();const o=p=>{const{componentCls:g}=p;return{[`${g}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed"}}},[`&${g}-disabled`]:{cursor:"not-allowed",[`${g}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:p.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:p.colorBorder,backgroundColor:p.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:p.itemActiveBgDisabled},a:{color:p.itemActiveColorDisabled}}},[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${g}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${g}-simple-pager`]:{color:p.colorTextDisabled},[`${g}-jump-prev, ${g}-jump-next`]:{[`${g}-item-link-icon`]:{opacity:0},[`${g}-item-ellipsis`]:{opacity:1}}},[`&${g}-simple`]:{[`${g}-prev, ${g}-next`]:{[`&${g}-disabled ${g}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},a=p=>{const{componentCls:g}=p;return{[`&${g}-mini ${g}-total-text, &${g}-mini ${g}-simple-pager`]:{height:p.itemSizeSM,lineHeight:(0,e.unit)(p.itemSizeSM)},[`&${g}-mini ${g}-item`]:{minWidth:p.itemSizeSM,height:p.itemSizeSM,margin:0,lineHeight:(0,e.unit)(p.calc(p.itemSizeSM).sub(2).equal())},[`&${g}-mini:not(${g}-disabled) ${g}-item:not(${g}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:p.colorBgTextHover},"&:active":{backgroundColor:p.colorBgTextActive}},[`&${g}-mini ${g}-prev, &${g}-mini ${g}-next`]:{minWidth:p.itemSizeSM,height:p.itemSizeSM,margin:0,lineHeight:(0,e.unit)(p.itemSizeSM)},[`&${g}-mini:not(${g}-disabled)`]:{[`${g}-prev, ${g}-next`]:{[`&:hover ${g}-item-link`]:{backgroundColor:p.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:p.colorBgTextActive},[`&${g}-disabled:hover ${g}-item-link`]:{backgroundColor:"transparent"}}},[` + .${C}-col-xl-24${b}-label`]:h(v),[`@media (max-width: ${(0,t.unit)(v.screenXSMax)})`]:[d(v),{[y]:{[`.${C}-col-xs-24${b}-label`]:h(v)}}],[`@media (max-width: ${(0,t.unit)(v.screenSMMax)})`]:{[y]:{[`.${C}-col-sm-24${b}-label`]:h(v)}},[`@media (max-width: ${(0,t.unit)(v.screenMDMax)})`]:{[y]:{[`.${C}-col-md-24${b}-label`]:h(v)}},[`@media (max-width: ${(0,t.unit)(v.screenLGMax)})`]:{[y]:{[`.${C}-col-lg-24${b}-label`]:h(v)}}}},g=v=>({labelRequiredMarkColor:v.colorError,labelColor:v.colorTextHeading,labelFontSize:v.fontSize,labelHeight:v.controlHeight,labelColonMarginInlineStart:v.marginXXS/2,labelColonMarginInlineEnd:v.marginXS,itemMarginBottom:v.marginLG,verticalLabelPadding:`0 0 ${v.paddingXS}px`,verticalLabelMargin:0});gp.prepareComponentToken=g;const m=(v,y)=>(0,i.mergeToken)(v,{formItemCls:`${v.componentCls}-item`,rootPrefixCls:y});return gp.prepareToken=m,gp.default=(0,i.genStyleHooks)("Form",(v,y)=>{let{rootPrefixCls:b}=y;const C=m(v,b);return[s(C),u(C),(0,o.default)(C),c(C),f(C),p(C),(0,r.genCollapseMotion)(C),r.zoomIn]},g,{order:-1e3}),gp}var YSe;function UVe(){if(YSe)return sw;YSe=1;var e=ze;Object.defineProperty(sw,"__esModule",{value:!0}),sw.default=void 0;var t=e(qr()),n=e(Tt()),r=h(Ad),i=h(_),o=i,a=e(Il()),l=fi(),s=e(VVe()),u=e(DF()),c=e(zr());function f(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(f=function(b){return b?y:v})(m)}function h(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=f(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}const d=[];function p(m,v,y){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof m=="string"?m:`${v}-${b}`,error:m,errorStatus:y}}const g=m=>{let{help:v,helpStatus:y,errors:b=d,warnings:C=d,className:x,fieldId:S,onVisibleChanged:w}=m;const{prefixCls:O}=o.useContext(l.FormItemPrefixContext),$=`${O}-item-explain`,P=(0,c.default)(O),[T,R,M]=(0,u.default)(O,P),A=(0,i.useMemo)(()=>(0,a.default)(O),[O]),N=(0,s.default)(b),j=(0,s.default)(C),D=o.useMemo(()=>v!=null?[p(v,"help",y)]:[].concat((0,t.default)(N.map((B,k)=>p(B,"error","error",k))),(0,t.default)(j.map((B,k)=>p(B,"warning","warning",k)))),[v,y,N,j]),L={};return S&&(L.id=`${S}_help`),T(o.createElement(r.default,{motionDeadline:A.motionDeadline,motionName:`${O}-show-help`,visible:!!D.length,onVisibleChanged:w},B=>{const{className:k,style:z}=B;return o.createElement("div",Object.assign({},L,{className:(0,n.default)($,k,M,P,x,R),style:z,role:"alert"}),o.createElement(r.CSSMotionList,Object.assign({keys:D},(0,a.default)(O),{motionName:`${O}-show-help-item`,component:!1}),q=>{const{key:W,error:U,errorStatus:K,className:X,style:G}=q;return o.createElement("div",{key:W,className:(0,n.default)(X,{[`${$}-${K}`]:K}),style:G},U)}))}))};return sw.default=g,sw}var OG={},vI={},c2={},ZSe;function LF(){if(ZSe)return c2;ZSe=1,Object.defineProperty(c2,"__esModule",{value:!0}),c2.getFieldId=r,c2.getStatus=i,c2.toArray=n;const e=["parentNode"],t="form_item";function n(o){return o===void 0||o===!1?[]:Array.isArray(o)?o:[o]}function r(o,a){if(!o.length)return;const l=o.join("_");return a?`${a}_${l}`:e.includes(l)?`${t}_${l}`:l}function i(o,a,l,s,u,c){let f=s;return c!==void 0?f=c:l.validating?f="validating":o.length?f="error":a.length?f="warning":(l.touched||u&&l.validated)&&(f="success"),f}return c2}var QSe;function kYt(){if(QSe)return vI;QSe=1;var e=ze;Object.defineProperty(vI,"__esModule",{value:!0}),vI.default=s;var t=rP,n=a(_),r=e(Zne()),i=LF();function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}function l(u){return(0,i.toArray)(u).join("_")}function s(u){const[c]=(0,t.useForm)(),f=n.useRef({}),h=n.useMemo(()=>u??Object.assign(Object.assign({},c),{__INTERNAL__:{itemRef:d=>p=>{const g=l(d);p?f.current[g]=p:delete f.current[g]}},scrollToField:function(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const g=(0,i.toArray)(d),m=(0,i.getFieldId)(g,h.__INTERNAL__.name),v=m?document.getElementById(m):null;v&&(0,r.default)(v,Object.assign({scrollMode:"if-needed",block:"nearest"},p))},getFieldInstance:d=>{const p=l(d);return f.current[p]}}),[u,c]);return[h]}return vI}var yI={},JSe;function jYt(){if(JSe)return yI;JSe=1,Object.defineProperty(yI,"__esModule",{value:!0}),yI.default=n;var e=_,t=_n();function n(r){let{name:i}=r;(0,t.devUseWarning)("Form"),(0,e.useEffect)(()=>{if(i)return()=>{}},[i])}return yI}var exe;function DYt(){return exe||(exe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"List",{enumerable:!0,get:function(){return o.List}}),e.default=void 0,Object.defineProperty(e,"useForm",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"useWatch",{enumerable:!0,get:function(){return o.useWatch}});var n=m(_),r=n,i=t(Tt()),o=m(rP),a=Lt(),l=m($a()),s=t(zr()),u=t(no()),c=t(uF()),f=fi(),h=t(kYt());t(jYt());var d=t(DF()),p=t(aqe());function g(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(g=function(w){return w?S:x})(C)}function m(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=g(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var v=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O{const S=r.useContext(l.default),{getPrefixCls:w,direction:O,form:$}=r.useContext(a.ConfigContext),{prefixCls:P,className:T,rootClassName:R,size:M,disabled:A=S,form:N,colon:j,labelAlign:D,labelWrap:L,labelCol:B,wrapperCol:k,hideRequiredMark:z,layout:q="horizontal",scrollToFirstError:W,requiredMark:U,onFinishFailed:K,name:X,style:G,feedbackIcons:Y,variant:J}=C,ee=v(C,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Q=(0,u.default)(M),te=r.useContext(p.default),ne=(0,n.useMemo)(()=>U!==void 0?U:z?!1:$&&$.requiredMark!==void 0?$.requiredMark:!0,[z,U,$]),re=j??($==null?void 0:$.colon),oe=w("form",P),se=(0,s.default)(oe),[ye,be,he]=(0,d.default)(oe,se),le=(0,i.default)(oe,`${oe}-${q}`,{[`${oe}-hide-required-mark`]:ne===!1,[`${oe}-rtl`]:O==="rtl",[`${oe}-${Q}`]:Q},he,se,be,$==null?void 0:$.className,T,R),[ve]=(0,h.default)(N),{__INTERNAL__:ke}=ve;ke.name=X;const Ie=(0,n.useMemo)(()=>({name:X,labelAlign:D,labelCol:B,labelWrap:L,wrapperCol:k,vertical:q==="vertical",colon:re,requiredMark:ne,itemRef:ke.itemRef,form:ve,feedbackIcons:Y}),[X,D,B,k,q,re,ne,ve,Y]);r.useImperativeHandle(x,()=>ve);const Oe=(_e,ce)=>{if(_e){let Te={block:"nearest"};typeof _e=="object"&&(Te=_e),ve.scrollToField(ce,Te)}},Pe=_e=>{if(K==null||K(_e),_e.errorFields.length){const ce=_e.errorFields[0].name;if(W!==void 0){Oe(W,ce);return}$&&$.scrollToFirstError!==void 0&&Oe($.scrollToFirstError,ce)}};return ye(r.createElement(f.VariantContext.Provider,{value:J},r.createElement(l.DisabledContextProvider,{disabled:A},r.createElement(c.default.Provider,{value:Q},r.createElement(f.FormProvider,{validateMessages:te},r.createElement(f.FormContext.Provider,{value:Ie},r.createElement(o.default,Object.assign({id:X},ee,{name:X,onFinishFailed:Pe,form:ve,style:Object.assign(Object.assign({},$==null?void 0:$.style),G),className:le}))))))))},b=r.forwardRef(y);e.default=b}(OG)),OG}var uw={},bI={},txe;function LYt(){if(txe)return bI;txe=1;var e=ze;Object.defineProperty(bI,"__esModule",{value:!0}),bI.default=n;var t=e(fl());function n(r){if(typeof r=="function")return r;const i=(0,t.default)(r);return i.length<=1?i[0]:i}return bI}var dw={},nxe;function zYt(){if(nxe)return dw;nxe=1,Object.defineProperty(dw,"__esModule",{value:!0}),dw.default=void 0;var e=_;_n();var t=fi();const n=()=>{const{status:r,errors:i=[],warnings:o=[]}=(0,e.useContext)(t.FormItemInputContext);return{status:r,errors:i,warnings:o}};return n.Context=t.FormItemInputContext,dw.default=n,dw}var CI={},rxe;function BYt(){if(rxe)return CI;rxe=1;var e=ze;Object.defineProperty(CI,"__esModule",{value:!0}),CI.default=a;var t=e(Gy()),n=o(_),r=n;function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){const[s,u]=r.useState(l),c=(0,n.useRef)(null),f=(0,n.useRef)([]),h=(0,n.useRef)(!1);r.useEffect(()=>(h.current=!1,()=>{h.current=!0,t.default.cancel(c.current),c.current=null}),[]);function d(p){h.current||(c.current===null&&(f.current=[],c.current=(0,t.default)(()=>{c.current=null,u(g=>{let m=g;return f.current.forEach(v=>{m=v(m)}),m})})),f.current.push(p))}return[s,d]}return CI}var SI={},ixe;function FYt(){if(ixe)return SI;ixe=1,Object.defineProperty(SI,"__esModule",{value:!0}),SI.default=o;var e=Nc(),t=i(_),n=fi();function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(){const{itemRef:a}=t.useContext(n.FormContext),l=t.useRef({});function s(u,c){const f=c&&typeof c=="object"&&c.ref,h=u.join("_");return(l.current.name!==h||l.current.originRef!==f)&&(l.current.name=h,l.current.originRef=f,l.current.ref=(0,e.composeRef)(a(u),f)),l.current.ref}return s}return SI}var xI={},fw={},pw={},oxe;function HYt(){if(oxe)return pw;oxe=1,Object.defineProperty(pw,"__esModule",{value:!0}),pw.default=void 0;var e=DF(),t=Jt();const n=r=>{const{formItemCls:i}=r;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${i}-control`]:{display:"flex"}}}};return pw.default=(0,t.genSubStyleComponent)(["Form","item-item"],(r,i)=>{let{rootPrefixCls:o}=i;const a=(0,e.prepareToken)(r,o);return[n(a)]}),pw}var axe;function WYt(){if(axe)return fw;axe=1;var e=ze;Object.defineProperty(fw,"__esModule",{value:!0}),fw.default=void 0;var t=s(_),n=e(Tt()),r=e(pae()),i=fi(),o=e(UVe()),a=e(HYt());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=c=>{const{prefixCls:f,status:h,wrapperCol:d,children:p,errors:g,warnings:m,_internalItemRender:v,extra:y,help:b,fieldId:C,marginBottom:x,onErrorVisibleChanged:S}=c,w=`${f}-item`,O=t.useContext(i.FormContext),$=d||O.wrapperCol||{},P=(0,n.default)(`${w}-control`,$.className),T=t.useMemo(()=>Object.assign({},O),[O]);delete T.labelCol,delete T.wrapperCol;const R=t.createElement("div",{className:`${w}-control-input`},t.createElement("div",{className:`${w}-control-input-content`},p)),M=t.useMemo(()=>({prefixCls:f,status:h}),[f,h]),A=x!==null||g.length||m.length?t.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},t.createElement(i.FormItemPrefixContext.Provider,{value:M},t.createElement(o.default,{fieldId:C,errors:g,warnings:m,help:b,helpStatus:h,className:`${w}-explain-connected`,onVisibleChanged:S})),!!x&&t.createElement("div",{style:{width:0,height:x}})):null,N={};C&&(N.id=`${C}_extra`);const j=y?t.createElement("div",Object.assign({},N,{className:`${w}-extra`}),y):null,D=v&&v.mark==="pro_table_render"&&v.render?v.render(c,{input:R,errorList:A,extra:j}):t.createElement(t.Fragment,null,R,A,j);return t.createElement(i.FormContext.Provider,{value:T},t.createElement(r.default,Object.assign({},$,{className:P}),D),t.createElement(a.default,{prefixCls:f}))};return fw.default=u,fw}var hw={},_I={exports:{}},EG={},wI={},lxe;function qYt(){if(lxe)return wI;lxe=1,Object.defineProperty(wI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};return wI.default=e,wI}var sxe;function VYt(){return sxe||(sxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(qYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{prefixCls:g,label:m,htmlFor:v,labelCol:y,labelAlign:b,colon:C,required:x,requiredMark:S,tooltip:w}=p;var O;const[$]=(0,a.useLocale)("Form"),{vertical:P,labelAlign:T,labelCol:R,labelWrap:M,colon:A}=r.useContext(s.FormContext);if(!m)return null;const N=y||R||{},j=b||T,D=`${g}-item-label`,L=(0,n.default)(D,j==="left"&&`${D}-left`,N.className,{[`${D}-wrap`]:!!M});let B=m;const k=C===!0||A!==!1&&C!==!1;k&&!P&&typeof m=="string"&&m.trim()!==""&&(B=m.replace(/[:|:]\s*$/,""));const q=h(w);if(q){const{icon:X=r.createElement(t.default,null)}=q,G=f(q,["icon"]),Y=r.createElement(l.default,Object.assign({},G),r.cloneElement(X,{className:`${g}-item-tooltip`,title:"",onClick:J=>{J.preventDefault()},tabIndex:null}));B=r.createElement(r.Fragment,null,B,Y)}const W=S==="optional",U=typeof S=="function";U?B=S(B,{required:!!x}):W&&!x&&(B=r.createElement(r.Fragment,null,B,r.createElement("span",{className:`${g}-item-optional`,title:""},($==null?void 0:$.optional)||((O=o.default.Form)===null||O===void 0?void 0:O.optional))));const K=(0,n.default)({[`${g}-item-required`]:x,[`${g}-item-required-mark-optional`]:W||U,[`${g}-item-no-colon`]:!k});return r.createElement(i.default,Object.assign({},N,{className:L}),r.createElement("label",{htmlFor:v,className:K,title:typeof m=="string"?m:""},B))};return hw.default=d,hw}var OI={},dxe;function GVe(){if(dxe)return OI;dxe=1;var e=ze;Object.defineProperty(OI,"__esModule",{value:!0}),OI.default=h;var t=c(_),n=e(Yy()),r=e(qf()),i=e(A0()),o=e(Vf()),a=e(Tt()),l=fi(),s=LF();function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}const f={success:n.default,warning:i.default,error:r.default,validating:o.default};function h(d){let{children:p,errors:g,warnings:m,hasFeedback:v,validateStatus:y,prefixCls:b,meta:C,noStyle:x}=d;const S=`${b}-item`,{feedbackIcons:w}=t.useContext(l.FormContext),O=(0,s.getStatus)(g,m,C,null,!!v,y),{isFormItemInput:$,status:P,hasFeedback:T,feedbackIcon:R}=t.useContext(l.FormItemInputContext),M=t.useMemo(()=>{var A;let N;if(v){const D=v!==!0&&v.icons||w,L=O&&((A=D==null?void 0:D({status:O,errors:g,warnings:m}))===null||A===void 0?void 0:A[O]),B=O&&f[O];N=L!==!1&&B?t.createElement("span",{className:(0,a.default)(`${S}-feedback-icon`,`${S}-feedback-icon-${O}`)},L||t.createElement(B,null)):null}const j={status:O||"",errors:g,warnings:m,hasFeedback:!!v,feedbackIcon:N,isFormItemInput:!0};return x&&(j.status=(O??P)||"",j.isFormItemInput=$,j.hasFeedback=!!(v??T),j.feedbackIcon=v!==void 0?j.feedbackIcon:R),j},[O,v,x,$,P]);return t.createElement(l.FormItemInputContext.Provider,{value:M},p)}return OI}var fxe;function KYt(){if(fxe)return xI;fxe=1;var e=ze;Object.defineProperty(xI,"__esModule",{value:!0}),xI.default=m;var t=p(_),n=e(Tt()),r=e(Nqe()),i=e(oP()),o=e(Qr()),a=DC(),l=fi(),s=e(WYt()),u=e(GYt()),c=e(VVe()),f=LF(),h=e(GVe());function d(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(d=function(C){return C?b:y})(v)}function p(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=d(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var g=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{if(K&&z.current){const ne=getComputedStyle(z.current);Y(parseInt(ne.marginBottom,10))}},[K,X]);const J=ne=>{ne||Y(null)},Q=function(){let ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const re=ne?q:P.errors,oe=ne?W:P.warnings;return(0,f.getStatus)(re,oe,P,"",!!T,$)}(),te=(0,n.default)(B,b,C,{[`${B}-with-help`]:U||q.length||W.length,[`${B}-has-feedback`]:Q&&T,[`${B}-has-success`]:Q==="success",[`${B}-has-warning`]:Q==="warning",[`${B}-has-error`]:Q==="error",[`${B}-is-validating`]:Q==="validating",[`${B}-hidden`]:R});return t.createElement("div",{className:te,style:x,ref:z},t.createElement(a.Row,Object.assign({className:`${B}-row`},(0,o.default)(L,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),t.createElement(u.default,Object.assign({htmlFor:A},v,{requiredMark:k,required:N??j,prefixCls:y})),t.createElement(s.default,Object.assign({},v,P,{errors:q,warnings:W,prefixCls:y,status:Q,help:S,marginBottom:G,onErrorVisibleChanged:J}),t.createElement(l.NoStyleItemContext.Provider,{value:D},t.createElement(h.default,{prefixCls:y,meta:P,errors:P.errors,warnings:P.warnings,hasFeedback:T,validateStatus:Q},M)))),!!G&&t.createElement("div",{className:`${B}-margin-offset`,style:{marginBottom:-G}}))}return xI}var pxe;function XYt(){if(pxe)return uw;pxe=1;var e=ze;Object.defineProperty(uw,"__esModule",{value:!0}),uw.default=void 0;var t=e(qr()),n=x(_),r=e(Tt()),i=rP,o=e(Boe()),a=Nc(),l=to(),s=_n(),u=Lt(),c=e(zr()),f=fi(),h=e(LYt()),d=e(zYt()),p=e(BYt()),g=e(FYt()),m=e(DF()),v=LF(),y=e(KYt()),b=e(GVe());function C(R){if(typeof WeakMap!="function")return null;var M=new WeakMap,A=new WeakMap;return(C=function(N){return N?A:M})(R)}function x(R,M){if(!M&&R&&R.__esModule)return R;if(R===null||typeof R!="object"&&typeof R!="function")return{default:R};var A=C(M);if(A&&A.has(R))return A.get(R);var N={__proto__:null},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in R)if(D!=="default"&&Object.prototype.hasOwnProperty.call(R,D)){var L=j?Object.getOwnPropertyDescriptor(R,D):null;L&&(L.get||L.set)?Object.defineProperty(N,D,L):N[D]=R[D]}return N.default=R,A&&A.set(R,N),N}const S="__SPLIT__";function w(R,M){const A=Object.keys(R),N=Object.keys(M);return A.length===N.length&&A.every(j=>{const D=R[j],L=M[j];return D===L||typeof D=="function"||typeof L=="function"})}const O=n.memo(R=>{let{children:M}=R;return M},(R,M)=>w(R.control,M.control)&&R.update===M.update&&R.childProps.length===M.childProps.length&&R.childProps.every((A,N)=>A===M.childProps[N]));function $(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function P(R){const{name:M,noStyle:A,className:N,dependencies:j,prefixCls:D,shouldUpdate:L,rules:B,children:k,required:z,label:q,messageVariables:W,trigger:U="onChange",validateTrigger:K,hidden:X,help:G}=R,{getPrefixCls:Y}=n.useContext(u.ConfigContext),{name:J}=n.useContext(f.FormContext),ee=(0,h.default)(k),Q=typeof ee=="function",te=n.useContext(f.NoStyleItemContext),{validateTrigger:ne}=n.useContext(i.FieldContext),re=K!==void 0?K:ne,oe=M!=null,se=Y("form",D),ye=(0,c.default)(se),[be,he,le]=(0,m.default)(se,ye);(0,s.devUseWarning)("Form.Item");const ve=n.useContext(i.ListContext),ke=n.useRef(),[Ie,Oe]=(0,p.default)({}),[Pe,_e]=(0,o.default)(()=>$()),ce=me=>{const Ee=ve==null?void 0:ve.getKey(me.name);if(_e(me.destroy?$():me,!0),A&&G!==!1&&te){let $e=me.name;if(me.destroy)$e=ke.current||$e;else if(Ee!==void 0){const[Le,Fe]=Ee;$e=[Le].concat((0,t.default)(Fe)),ke.current=$e}te(me,$e)}},Te=(me,Ee)=>{Oe($e=>{const Le=Object.assign({},$e),Ke=[].concat((0,t.default)(me.name.slice(0,-1)),(0,t.default)(Ee)).join(S);return me.destroy?delete Le[Ke]:Le[Ke]=me,Le})},[Ne,je]=n.useMemo(()=>{const me=(0,t.default)(Pe.errors),Ee=(0,t.default)(Pe.warnings);return Object.values(Ie).forEach($e=>{me.push.apply(me,(0,t.default)($e.errors||[])),Ee.push.apply(Ee,(0,t.default)($e.warnings||[]))}),[me,Ee]},[Ie,Pe.errors,Pe.warnings]),He=(0,g.default)();function Be(me,Ee,$e){return A&&!X?n.createElement(b.default,{prefixCls:se,hasFeedback:R.hasFeedback,validateStatus:R.validateStatus,meta:Pe,errors:Ne,warnings:je,noStyle:!0},me):n.createElement(y.default,Object.assign({key:"row"},R,{className:(0,r.default)(N,le,ye,he),prefixCls:se,fieldId:Ee,isRequired:$e,errors:Ne,warnings:je,meta:Pe,onSubItemMetaChange:Te}),me)}if(!oe&&!Q&&!j)return be(Be(ee));let qe={};return typeof q=="string"?qe.label=q:M&&(qe.label=String(M)),W&&(qe=Object.assign(Object.assign({},qe),W)),be(n.createElement(i.Field,Object.assign({},R,{messageVariables:qe,trigger:U,validateTrigger:re,onMetaChange:ce}),(me,Ee,$e)=>{const Le=(0,v.toArray)(M).length&&Ee?Ee.name:[],Fe=(0,v.getFieldId)(Le,J),Ke=z!==void 0?z:!!(B&&B.some(Ye=>{if(Ye&&typeof Ye=="object"&&Ye.required&&!Ye.warningOnly)return!0;if(typeof Ye=="function"){const we=Ye($e);return we&&we.required&&!we.warningOnly}return!1})),lt=Object.assign({},me);let ft=null;if(Array.isArray(ee)&&oe)ft=ee;else if(!(Q&&(!(L||j)||oe))){if(!(j&&!Q&&!oe))if((0,l.isValidElement)(ee)){const Ye=Object.assign(Object.assign({},ee.props),lt);if(Ye.id||(Ye.id=Fe),G||Ne.length>0||je.length>0||R.extra){const We=[];(G||Ne.length>0)&&We.push(`${Fe}_help`),R.extra&&We.push(`${Fe}_extra`),Ye["aria-describedby"]=We.join(" ")}Ne.length>0&&(Ye["aria-invalid"]="true"),Ke&&(Ye["aria-required"]="true"),(0,a.supportRef)(ee)&&(Ye.ref=He(Le,ee)),new Set([].concat((0,t.default)((0,v.toArray)(U)),(0,t.default)((0,v.toArray)(re)))).forEach(We=>{Ye[We]=function(){for(var Ge,Je,bt,at,et,rt=arguments.length,Ze=new Array(rt),wt=0;wt{var{prefixCls:u,children:c}=s,f=a(s,["prefixCls","children"]);const{getPrefixCls:h}=e.useContext(n.ConfigContext),d=h("form",u),p=e.useMemo(()=>({prefixCls:d,status:"error"}),[d]);return e.createElement(t.List,Object.assign({},f),(g,m,v)=>e.createElement(r.FormItemPrefixContext.Provider,{value:p},c(g.map(y=>Object.assign(Object.assign({},y),{fieldKey:y.key})),m,{errors:v.errors,warnings:v.warnings})))};return gw.default=l,gw}var EI={},gxe;function ZYt(){if(gxe)return EI;gxe=1,Object.defineProperty(EI,"__esModule",{value:!0}),EI.default=n;var e=_,t=fi();function n(){const{form:r}=(0,e.useContext)(t.FormContext);return r}return EI}var mxe;function QYt(){if(mxe)return lw;mxe=1;var e=ze;Object.defineProperty(lw,"__esModule",{value:!0}),lw.default=void 0,e(_n());var t=e(UVe()),n=s(DYt()),r=e(XYt()),i=e(YYt()),o=fi(),a=e(ZYt());function l(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(l=function(d){return d?h:f})(c)}function s(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=l(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const u=n.default;return u.Item=r.default,u.List=i.default,u.ErrorList=t.default,u.useForm=n.useForm,u.useFormInstance=a.default,u.useWatch=n.useWatch,u.Provider=o.FormProvider,u.create=()=>{},lw.default=u,lw}var mw={};const KVe=gr(F9t);var sm={},$I={exports:{}},$G={},PI={},vxe;function JYt(){if(vxe)return PI;vxe=1,Object.defineProperty(PI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};return PI.default=e,PI}var yxe;function eZt(){return yxe||(yxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(JYt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p({position:p||"absolute",inset:0});Ka.genBoxStyle=a;const l=p=>{const{iconCls:g,motionDurationSlow:m,paddingXXS:v,marginXXS:y,prefixCls:b,colorTextLightSolid:C}=p;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:C,background:new t.TinyColor("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${m}`,[`.${b}-mask-info`]:Object.assign(Object.assign({},r.textEllipsis),{padding:`0 ${(0,e.unit)(v)}`,[g]:{marginInlineEnd:y,svg:{verticalAlign:"baseline"}}})}};Ka.genImageMaskStyle=l;const s=p=>{const{previewCls:g,modalMaskBg:m,paddingSM:v,marginXL:y,margin:b,paddingLG:C,previewOperationColorDisabled:x,previewOperationHoverColor:S,motionDurationSlow:w,iconCls:O,colorTextLightSolid:$}=p,P=new t.TinyColor(m).setAlpha(.1),T=P.clone().setAlpha(.2);return{[`${g}-footer`]:{position:"fixed",bottom:y,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:p.previewOperationColor},[`${g}-progress`]:{marginBottom:b},[`${g}-close`]:{position:"fixed",top:y,right:{_skip_check_:!0,value:y},display:"flex",color:$,backgroundColor:P.toRgbString(),borderRadius:"50%",padding:v,outline:0,border:0,cursor:"pointer",transition:`all ${w}`,"&:hover":{backgroundColor:T.toRgbString()},[`& > ${O}`]:{fontSize:p.previewOperationSize}},[`${g}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,e.unit)(C)}`,backgroundColor:P.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:v,padding:v,cursor:"pointer",transition:`all ${w}`,userSelect:"none",[`&:not(${g}-operations-operation-disabled):hover > ${O}`]:{color:S},"&-disabled":{color:x,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${O}`]:{fontSize:p.previewOperationSize}}}}};Ka.genPreviewOperationsStyle=s;const u=p=>{const{modalMaskBg:g,iconCls:m,previewOperationColorDisabled:v,previewCls:y,zIndexPopup:b,motionDurationSlow:C}=p,x=new t.TinyColor(g).setAlpha(.1),S=x.clone().setAlpha(.2);return{[`${y}-switch-left, ${y}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:p.calc(b).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:p.imagePreviewSwitchSize,height:p.imagePreviewSwitchSize,marginTop:p.calc(p.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:p.previewOperationColor,background:x.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${C}`,userSelect:"none","&:hover":{background:S.toRgbString()},"&-disabled":{"&, &:hover":{color:v,background:"transparent",cursor:"not-allowed",[`> ${m}`]:{cursor:"not-allowed"}}},[`> ${m}`]:{fontSize:p.previewOperationSize}},[`${y}-switch-left`]:{insetInlineStart:p.marginSM},[`${y}-switch-right`]:{insetInlineEnd:p.marginSM}}};Ka.genPreviewSwitchStyle=u;const c=p=>{const{motionEaseOut:g,previewCls:m,motionDurationSlow:v,componentCls:y}=p;return[{[`${y}-preview-root`]:{[m]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${m}-body`]:Object.assign(Object.assign({},a()),{overflow:"hidden"}),[`${m}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${v} ${g} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},a()),{transition:`transform ${v} ${g} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${m}-moving`]:{[`${m}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${y}-preview-root`]:{[`${m}-wrap`]:{zIndex:p.zIndexPopup}}},{[`${y}-preview-operations-wrapper`]:{position:"fixed",zIndex:p.calc(p.zIndexPopup).add(1).equal({unit:!1})},"&":[s(p),u(p)]}]};Ka.genImagePreviewStyle=c;const f=p=>{const{componentCls:g}=p;return{[g]:{position:"relative",display:"inline-block",[`${g}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${g}-img-placeholder`]:{backgroundColor:p.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${g}-mask`]:Object.assign({},l(p)),[`${g}-mask:hover`]:{opacity:1},[`${g}-placeholder`]:Object.assign({},a())}}},h=p=>{const{previewCls:g}=p;return{[`${g}-root`]:(0,i.initZoomMotion)(p,"zoom"),"&":(0,i.initFadeMotion)(p,!0)}},d=p=>({zIndexPopup:p.zIndexPopupBase+80,previewOperationColor:new t.TinyColor(p.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new t.TinyColor(p.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new t.TinyColor(p.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:p.fontSizeIcon*1.5});return Ka.prepareComponentToken=d,Ka.default=(0,o.genStyleHooks)("Image",p=>{const g=`${p.componentCls}-preview`,m=(0,o.mergeToken)(p,{previewCls:g,modalMaskBg:new t.TinyColor("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:p.controlHeightLG});return[f(m),c(m),(0,n.genModalMaskStyle)((0,o.mergeToken)(m,{componentCls:g})),h(m)]},d),Ka}var Nxe;function hZt(){if(Nxe)return sm;Nxe=1;var e=ze;Object.defineProperty(sm,"__esModule",{value:!0}),sm.icons=sm.default=void 0;var t=y(_),n=e(zs()),r=e(cP()),i=e(Jy()),o=e(tZt()),a=e(iZt()),l=e(lZt()),s=e(uZt()),u=e(pZt()),c=e(Tt()),f=e(KVe),h=dl(),d=Il(),p=Lt(),g=e(zr()),m=e(XVe());function v(S){if(typeof WeakMap!="function")return null;var w=new WeakMap,O=new WeakMap;return(v=function($){return $?O:w})(S)}function y(S,w){if(!w&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var O=v(w);if(O&&O.has(S))return O.get(S);var $={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in S)if(T!=="default"&&Object.prototype.hasOwnProperty.call(S,T)){var R=P?Object.getOwnPropertyDescriptor(S,T):null;R&&(R.get||R.set)?Object.defineProperty($,T,R):$[T]=S[T]}return $.default=S,O&&O.set(S,$),$}var b=function(S,w){var O={};for(var $ in S)Object.prototype.hasOwnProperty.call(S,$)&&w.indexOf($)<0&&(O[$]=S[$]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,$=Object.getOwnPropertySymbols(S);P<$.length;P++)w.indexOf($[P])<0&&Object.prototype.propertyIsEnumerable.call(S,$[P])&&(O[$[P]]=S[$[P]]);return O};const C=sm.icons={rotateLeft:t.createElement(o.default,null),rotateRight:t.createElement(a.default,null),zoomIn:t.createElement(s.default,null),zoomOut:t.createElement(u.default,null),close:t.createElement(n.default,null),left:t.createElement(r.default,null),right:t.createElement(i.default,null),flipX:t.createElement(l.default,null),flipY:t.createElement(l.default,{rotate:90})},x=S=>{var{previewPrefixCls:w,preview:O}=S,$=b(S,["previewPrefixCls","preview"]);const{getPrefixCls:P}=t.useContext(p.ConfigContext),T=P("image",w),R=`${T}-preview`,M=P(),A=(0,g.default)(T),[N,j,D]=(0,m.default)(T,A),[L]=(0,h.useZIndex)("ImagePreview",typeof O=="object"?O.zIndex:void 0),B=t.useMemo(()=>{var k;if(O===!1)return O;const z=typeof O=="object"?O:{},q=(0,c.default)(j,D,A,(k=z.rootClassName)!==null&&k!==void 0?k:"");return Object.assign(Object.assign({},z),{transitionName:(0,d.getTransitionName)(M,"zoom",z.transitionName),maskTransitionName:(0,d.getTransitionName)(M,"fade",z.maskTransitionName),rootClassName:q,zIndex:L})},[O]);return N(t.createElement(f.default.PreviewGroup,Object.assign({preview:B,previewPrefixCls:R,icons:C},$)))};return sm.default=x,sm}var Axe;function gZt(){if(Axe)return mw;Axe=1;var e=ze;Object.defineProperty(mw,"__esModule",{value:!0}),mw.default=void 0;var t=d(_),n=e(mae()),r=e(Tt()),i=e(KVe),o=dl(),a=Il(),l=Lt(),s=e(zr()),u=e(_u()),c=d(hZt()),f=e(XVe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var v;const{prefixCls:y,preview:b,className:C,rootClassName:x,style:S}=m,w=p(m,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:O,locale:$=u.default,getPopupContainer:P,image:T}=t.useContext(l.ConfigContext),R=O("image",y),M=O(),A=$.Image||u.default.Image,N=(0,s.default)(R),[j,D,L]=(0,f.default)(R,N),B=(0,r.default)(x,D,L,N),k=(0,r.default)(C,D,T==null?void 0:T.className),[z]=(0,o.useZIndex)("ImagePreview",typeof b=="object"?b.zIndex:void 0),q=t.useMemo(()=>{var U;if(b===!1)return b;const K=typeof b=="object"?b:{},{getContainer:X,closeIcon:G}=K,Y=p(K,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:t.createElement("div",{className:`${R}-mask-info`},t.createElement(n.default,null),A==null?void 0:A.preview),icons:c.icons},Y),{getContainer:X??P,transitionName:(0,a.getTransitionName)(M,"zoom",K.transitionName),maskTransitionName:(0,a.getTransitionName)(M,"fade",K.maskTransitionName),zIndex:z,closeIcon:G??((U=T==null?void 0:T.preview)===null||U===void 0?void 0:U.closeIcon)})},[b,A,(v=T==null?void 0:T.preview)===null||v===void 0?void 0:v.closeIcon]),W=Object.assign(Object.assign({},T==null?void 0:T.style),S);return j(t.createElement(i.default,Object.assign({prefixCls:R,preview:q,rootClassName:B,className:k,style:W},w)))};return g.PreviewGroup=c.default,mw.default=g,mw}var vw={},Gu={},DI={},kxe;function mZt(){if(kxe)return DI;kxe=1;var e=ze;Object.defineProperty(DI,"__esModule",{value:!0}),DI.default=r;var t=e(fl()),n=e(TF());function r(i,o,a){return typeof a=="boolean"?a:i.length?!0:(0,t.default)(o).some(s=>s.type===n.default)}return DI}var cm={},yw={},jxe;function vZt(){if(jxe)return yw;jxe=1,Object.defineProperty(yw,"__esModule",{value:!0}),yw.default=void 0;const e=t=>{const{componentCls:n,bodyBg:r,lightSiderBg:i,lightTriggerBg:o,lightTriggerColor:a}=t;return{[`${n}-sider-light`]:{background:i,[`${n}-sider-trigger`]:{color:a,background:o},[`${n}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}};return yw.default=e,yw}var Dxe;function yZt(){if(Dxe)return cm;Dxe=1;var e=ze;Object.defineProperty(cm,"__esModule",{value:!0}),cm.prepareComponentToken=cm.default=void 0;var t=Xt,n=Jt(),r=e(vZt());const i=a=>{const{antCls:l,componentCls:s,colorText:u,triggerColor:c,footerBg:f,triggerBg:h,headerHeight:d,headerPadding:p,headerColor:g,footerPadding:m,triggerHeight:v,zeroTriggerHeight:y,zeroTriggerWidth:b,motionDurationMid:C,motionDurationSlow:x,fontSize:S,borderRadius:w,bodyBg:O,headerBg:$,siderBg:P}=a;return{[s]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:O,"&, *":{boxSizing:"border-box"},[`&${s}-has-sider`]:{flexDirection:"row",[`> ${s}, > ${s}-content`]:{width:0}},[`${s}-header, &${s}-footer`]:{flex:"0 0 auto"},[`${s}-sider`]:{position:"relative",minWidth:0,background:P,transition:`all ${C}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${l}-menu${l}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:v},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:v,color:c,lineHeight:(0,t.unit)(v),textAlign:"center",background:h,cursor:"pointer",transition:`all ${C}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:d,insetInlineEnd:a.calc(b).mul(-1).equal(),zIndex:1,width:b,height:y,color:c,fontSize:a.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:P,borderStartStartRadius:0,borderStartEndRadius:w,borderEndEndRadius:w,borderEndStartRadius:0,cursor:"pointer",transition:`background ${x} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${x}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:a.calc(b).mul(-1).equal(),borderStartStartRadius:w,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:w}}}}},(0,r.default)(a)),{"&-rtl":{direction:"rtl"}}),[`${s}-header`]:{height:d,padding:p,color:g,lineHeight:(0,t.unit)(d),background:$,[`${l}-menu`]:{lineHeight:"inherit"}},[`${s}-footer`]:{padding:m,color:u,fontSize:S,background:f},[`${s}-content`]:{flex:"auto",minHeight:0}}},o=a=>{const{colorBgLayout:l,controlHeight:s,controlHeightLG:u,colorText:c,controlHeightSM:f,marginXXS:h,colorTextLightSolid:d,colorBgContainer:p}=a,g=u*1.25;return{colorBgHeader:"#001529",colorBgBody:l,colorBgTrigger:"#002140",bodyBg:l,headerBg:"#001529",headerHeight:s*2,headerPadding:`0 ${g}px`,headerColor:c,footerPadding:`${f}px ${g}px`,footerBg:l,siderBg:"#001529",triggerHeight:u+h*2,triggerBg:"#002140",triggerColor:d,zeroTriggerWidth:u,zeroTriggerHeight:u,lightSiderBg:p,lightTriggerBg:p,lightTriggerColor:c}};return cm.prepareComponentToken=o,cm.default=(0,n.genStyleHooks)("Layout",a=>[i(a)],o,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),cm}var Lxe;function bZt(){if(Lxe)return Gu;Lxe=1;var e=ze;Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.default=Gu.Header=Gu.Footer=Gu.Content=void 0;var t=e(qr()),n=c(_),r=e(Tt()),i=e(Qr()),o=Lt(),a=nVe(),l=e(mZt()),s=e(yZt());function u(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(u=function(b){return b?y:v})(m)}function c(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=u(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var f=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);Cn.forwardRef((S,w)=>n.createElement(C,Object.assign({ref:w,suffixCls:v,tagName:y},S)))}const d=n.forwardRef((m,v)=>{const{prefixCls:y,suffixCls:b,className:C,tagName:x}=m,S=f(m,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:w}=n.useContext(o.ConfigContext),O=w("layout",y),[$,P,T]=(0,s.default)(O),R=b?`${O}-${b}`:O;return $(n.createElement(x,Object.assign({className:(0,r.default)(y||R,C,P,T),ref:v},S)))}),p=n.forwardRef((m,v)=>{const{direction:y}=n.useContext(o.ConfigContext),[b,C]=n.useState([]),{prefixCls:x,className:S,rootClassName:w,children:O,hasSider:$,tagName:P,style:T}=m,R=f(m,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),M=(0,i.default)(R,["suffixCls"]),{getPrefixCls:A,layout:N}=n.useContext(o.ConfigContext),j=A("layout",x),D=(0,l.default)(b,O,$),[L,B,k]=(0,s.default)(j),z=(0,r.default)(j,{[`${j}-has-sider`]:D,[`${j}-rtl`]:y==="rtl"},N==null?void 0:N.className,S,w,B,k),q=n.useMemo(()=>({siderHook:{addSider:W=>{C(U=>[].concat((0,t.default)(U),[W]))},removeSider:W=>{C(U=>U.filter(K=>K!==W))}}}),[]);return L(n.createElement(a.LayoutContext.Provider,{value:q},n.createElement(P,Object.assign({ref:v,className:z,style:Object.assign(Object.assign({},N==null?void 0:N.style),T)},M),O)))}),g=h({tagName:"div",displayName:"Layout"})(p);return Gu.Header=h({suffixCls:"header",tagName:"header",displayName:"Header"})(d),Gu.Footer=h({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(d),Gu.Content=h({suffixCls:"content",tagName:"main",displayName:"Content"})(d),Gu.default=g,Gu}var zxe;function CZt(){if(zxe)return vw;zxe=1,Object.defineProperty(vw,"__esModule",{value:!0}),vw.default=void 0;var e=r(bZt()),t=r(TF());function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=e.default;return i.Header=e.Header,i.Footer=e.Footer,i.Content=e.Content,i.Sider=t.default,i._InternalSiderContext=t.SiderContext,vw.default=i,vw}var bw={},Cw={},Bxe;function YVe(){if(Bxe)return Cw;Bxe=1,Object.defineProperty(Cw,"__esModule",{value:!0}),Cw.default=void 0;const e=function(){const t=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let n=1;n{const o=r[i];o!==void 0&&(t[i]=o)})}return t};return Cw.default=e,Cw}var Sw={},xw={},LI={exports:{}},IG={},zI={},Fxe;function SZt(){if(Fxe)return zI;Fxe=1,Object.defineProperty(zI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};return zI.default=e,zI}var Hxe;function xZt(){return Hxe||(Hxe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(SZt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pt.createElement(n.default,Object.assign({},l,{showSearch:!0,size:"small"}));um.MiniSelect=o;const a=l=>t.createElement(n.default,Object.assign({},l,{showSearch:!0,size:"middle"}));return um.MiddleSelect=a,o.Option=n.default.Option,a.Option=n.default.Option,um}var mp={},Kxe;function ZVe(){if(Kxe)return mp;Kxe=1,Object.defineProperty(mp,"__esModule",{value:!0}),mp.prepareToken=mp.prepareComponentToken=mp.default=void 0;var e=Xt,t=eb(),n=Tn(),r=Jt(),i=uP();const o=p=>{const{componentCls:g}=p;return{[`${g}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed"}}},[`&${g}-disabled`]:{cursor:"not-allowed",[`${g}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:p.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:p.colorBorder,backgroundColor:p.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:p.itemActiveBgDisabled},a:{color:p.itemActiveColorDisabled}}},[`${g}-item-link`]:{color:p.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${g}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${g}-simple-pager`]:{color:p.colorTextDisabled},[`${g}-jump-prev, ${g}-jump-next`]:{[`${g}-item-link-icon`]:{opacity:0},[`${g}-item-ellipsis`]:{opacity:1}}},[`&${g}-simple`]:{[`${g}-prev, ${g}-next`]:{[`&${g}-disabled ${g}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},a=p=>{const{componentCls:g}=p;return{[`&${g}-mini ${g}-total-text, &${g}-mini ${g}-simple-pager`]:{height:p.itemSizeSM,lineHeight:(0,e.unit)(p.itemSizeSM)},[`&${g}-mini ${g}-item`]:{minWidth:p.itemSizeSM,height:p.itemSizeSM,margin:0,lineHeight:(0,e.unit)(p.calc(p.itemSizeSM).sub(2).equal())},[`&${g}-mini:not(${g}-disabled) ${g}-item:not(${g}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:p.colorBgTextHover},"&:active":{backgroundColor:p.colorBgTextActive}},[`&${g}-mini ${g}-prev, &${g}-mini ${g}-next`]:{minWidth:p.itemSizeSM,height:p.itemSizeSM,margin:0,lineHeight:(0,e.unit)(p.itemSizeSM)},[`&${g}-mini:not(${g}-disabled)`]:{[`${g}-prev, ${g}-next`]:{[`&:hover ${g}-item-link`]:{backgroundColor:p.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:p.colorBgTextActive},[`&${g}-disabled:hover ${g}-item-link`]:{backgroundColor:"transparent"}}},[` &${g}-mini ${g}-prev ${g}-item-link, &${g}-mini ${g}-next ${g}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:p.itemSizeSM,lineHeight:(0,e.unit)(p.itemSizeSM)}},[`&${g}-mini ${g}-jump-prev, &${g}-mini ${g}-jump-next`]:{height:p.itemSizeSM,marginInlineEnd:0,lineHeight:(0,e.unit)(p.itemSizeSM)},[`&${g}-mini ${g}-options`]:{marginInlineStart:p.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:p.miniOptionsSizeChangerTop},"&-quick-jumper":{height:p.itemSizeSM,lineHeight:(0,e.unit)(p.itemSizeSM),input:Object.assign(Object.assign({},(0,t.genInputSmallStyle)(p)),{width:p.paginationMiniQuickJumperInputWidth,height:p.controlHeightSM})}}}},l=p=>{const{componentCls:g}=p;return{[` @@ -828,7 +828,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${g}-next, ${g}-jump-prev, ${g}-jump-next - `]:{display:"inline-block",minWidth:p.itemSize,height:p.itemSize,color:p.colorText,fontFamily:p.fontFamily,lineHeight:`${(0,e.unit)(p.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:p.borderRadius,cursor:"pointer",transition:`all ${p.motionDurationMid}`},[`${g}-prev, ${g}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:p.colorText,cursor:"pointer",userSelect:"none"},[`${g}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:p.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidth)} ${p.lineType} transparent`,borderRadius:p.borderRadius,outline:"none",transition:`all ${p.motionDurationMid}`},[`&:hover ${g}-item-link`]:{backgroundColor:p.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:p.colorBgTextActive},[`&${g}-disabled:hover`]:{[`${g}-item-link`]:{backgroundColor:"transparent"}}},[`${g}-slash`]:{marginInlineEnd:p.paginationSlashMarginInlineEnd,marginInlineStart:p.paginationSlashMarginInlineStart},[`${g}-options`]:{display:"inline-block",marginInlineStart:p.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:p.controlHeight,marginInlineStart:p.marginXS,lineHeight:(0,e.unit)(p.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,t.genBasicInputStyle)(p)),(0,i.genBaseOutlinedStyle)(p,{borderColor:p.colorBorder,hoverBorderColor:p.colorPrimaryHover,activeBorderColor:p.colorPrimary,activeShadow:p.activeShadow})),{"&[disabled]":Object.assign({},(0,i.genDisabledStyle)(p)),width:p.calc(p.controlHeightLG).mul(1.25).equal(),height:p.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:p.marginXS,marginInlineEnd:p.marginXS})}}}},u=p=>{const{componentCls:g}=p;return{[`${g}-item`]:{display:"inline-block",minWidth:p.itemSize,height:p.itemSize,marginInlineEnd:p.marginXS,fontFamily:p.fontFamily,lineHeight:(0,e.unit)(p.calc(p.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidth)} ${p.lineType} transparent`,borderRadius:p.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,e.unit)(p.paginationItemPaddingInline)}`,color:p.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${g}-item-active)`]:{"&:hover":{transition:`all ${p.motionDurationMid}`,backgroundColor:p.colorBgTextHover},"&:active":{backgroundColor:p.colorBgTextActive}},"&-active":{fontWeight:p.fontWeightStrong,backgroundColor:p.itemActiveBg,borderColor:p.colorPrimary,a:{color:p.colorPrimary},"&:hover":{borderColor:p.colorPrimaryHover},"&:hover a":{color:p.colorPrimaryHover}}}}},c=p=>{const{componentCls:g}=p;return{[g]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(p)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${g}-total-text`]:{display:"inline-block",height:p.itemSize,marginInlineEnd:p.marginXS,lineHeight:(0,e.unit)(p.calc(p.itemSize).sub(2).equal()),verticalAlign:"middle"}}),u(p)),s(p)),l(p)),a(p)),o(p)),{[`@media only screen and (max-width: ${p.screenLG}px)`]:{[`${g}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${p.screenSM}px)`]:{[`${g}-options`]:{display:"none"}}}),[`&${p.componentCls}-rtl`]:{direction:"rtl"}}},f=p=>{const{componentCls:g}=p;return{[`${g}:not(${g}-disabled)`]:{[`${g}-item`]:Object.assign({},(0,n.genFocusStyle)(p)),[`${g}-jump-prev, ${g}-jump-next`]:{"&:focus-visible":Object.assign({[`${g}-item-link-icon`]:{opacity:1},[`${g}-item-ellipsis`]:{opacity:0}},(0,n.genFocusOutline)(p))},[`${g}-prev, ${g}-next`]:{[`&:focus-visible ${g}-item-link`]:Object.assign({},(0,n.genFocusOutline)(p))}}}},h=p=>Object.assign({itemBg:p.colorBgContainer,itemSize:p.controlHeight,itemSizeSM:p.controlHeightSM,itemActiveBg:p.colorBgContainer,itemLinkBg:p.colorBgContainer,itemActiveColorDisabled:p.colorTextDisabled,itemActiveBgDisabled:p.controlItemBgActiveDisabled,itemInputBg:p.colorBgContainer,miniOptionsSizeChangerTop:0},(0,t.initComponentToken)(p));mp.prepareComponentToken=h;const d=p=>(0,r.mergeToken)(p,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:p.calc(p.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:p.calc(p.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:p.calc(p.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:p.calc(p.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:p.marginXXS,paginationSlashMarginInlineEnd:p.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,t.initInputToken)(p));return mp.prepareToken=d,mp.default=(0,r.genStyleHooks)("Pagination",p=>{const g=d(p);return[c(g),f(g)]},h),mp}var xw={},Kxe;function MZt(){if(Kxe)return xw;Kxe=1,Object.defineProperty(xw,"__esModule",{value:!0}),xw.default=void 0;var e=xqe(),t=ZVe(),n=Xt;const r=i=>{const{componentCls:o}=i;return{[`${o}${o}-bordered${o}-disabled:not(${o}-mini)`]:{"&, &:hover":{[`${o}-item-link`]:{borderColor:i.colorBorder}},"&:focus-visible":{[`${o}-item-link`]:{borderColor:i.colorBorder}},[`${o}-item, ${o}-item-link`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,[`&:hover:not(${o}-item-active)`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,a:{color:i.colorTextDisabled}},[`&${o}-item-active`]:{backgroundColor:i.itemActiveBgDisabled}},[`${o}-prev, ${o}-next`]:{"&:hover button":{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,color:i.colorTextDisabled},[`${o}-item-link`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder}}},[`${o}${o}-bordered:not(${o}-mini)`]:{[`${o}-prev, ${o}-next`]:{"&:hover button":{borderColor:i.colorPrimaryHover,backgroundColor:i.itemBg},[`${o}-item-link`]:{backgroundColor:i.itemLinkBg,borderColor:i.colorBorder},[`&:hover ${o}-item-link`]:{borderColor:i.colorPrimary,backgroundColor:i.itemBg,color:i.colorPrimary},[`&${o}-disabled`]:{[`${o}-item-link`]:{borderColor:i.colorBorder,color:i.colorTextDisabled}}},[`${o}-item`]:{backgroundColor:i.itemBg,border:`${(0,n.unit)(i.lineWidth)} ${i.lineType} ${i.colorBorder}`,[`&:hover:not(${o}-item-active)`]:{borderColor:i.colorPrimary,backgroundColor:i.itemBg,a:{color:i.colorPrimary}},"&-active":{borderColor:i.colorPrimary}}}}};return xw.default=(0,e.genSubStyleComponent)(["Pagination","bordered"],i=>{const o=(0,t.prepareToken)(i);return[r(o)]},t.prepareComponentToken),xw}var Xxe;function RZt(){if(Xxe)return Sw;Xxe=1;var e=ze;Object.defineProperty(Sw,"__esModule",{value:!0}),Sw.default=void 0;var t=e(wZt()),n=e($Zt()),r=e(sP()),i=e(Jy()),o=e(Tt()),a=e(PZt),l=e(aqe()),s=y(_),u=Lt(),c=e(no()),f=e(Zy()),h=Rl(),d=TZt(),p=e(ZVe()),g=Jt(),m=e(MZt());function v(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(v=function(O){return O?w:S})(x)}function y(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=v(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var b=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{prefixCls:S,selectPrefixCls:w,className:O,rootClassName:$,style:P,size:T,locale:R,selectComponentClass:M,responsive:A,showSizeChanger:N}=x,k=b(x,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:D}=(0,f.default)(A),[,L]=(0,g.useToken)(),{getPrefixCls:B,direction:j,pagination:z={}}=s.useContext(u.ConfigContext),V=B("pagination",S),[W,U,K]=(0,p.default)(V),X=N??z.showSizeChanger,G=s.useMemo(()=>{const oe=s.createElement("span",{className:`${V}-item-ellipsis`},"•••"),se=s.createElement("button",{className:`${V}-item-link`,type:"button",tabIndex:-1},j==="rtl"?s.createElement(i.default,null):s.createElement(r.default,null)),ye=s.createElement("button",{className:`${V}-item-link`,type:"button",tabIndex:-1},j==="rtl"?s.createElement(r.default,null):s.createElement(i.default,null)),be=s.createElement("a",{className:`${V}-item-link`},s.createElement("div",{className:`${V}-item-container`},j==="rtl"?s.createElement(n.default,{className:`${V}-item-link-icon`}):s.createElement(t.default,{className:`${V}-item-link-icon`}),oe)),he=s.createElement("a",{className:`${V}-item-link`},s.createElement("div",{className:`${V}-item-container`},j==="rtl"?s.createElement(t.default,{className:`${V}-item-link-icon`}):s.createElement(n.default,{className:`${V}-item-link-icon`}),oe));return{prevIcon:se,nextIcon:ye,jumpPrevIcon:be,jumpNextIcon:he}},[j,V]),[Y]=(0,h.useLocale)("Pagination",l.default),J=Object.assign(Object.assign({},Y),R),ee=(0,c.default)(T),Q=ee==="small"||!!(D&&!ee&&A),te=B("select",w),ne=(0,o.default)({[`${V}-mini`]:Q,[`${V}-rtl`]:j==="rtl",[`${V}-bordered`]:L.wireframe},z==null?void 0:z.className,O,$,U,K),re=Object.assign(Object.assign({},z==null?void 0:z.style),P);return W(s.createElement(s.Fragment,null,L.wireframe&&s.createElement(m.default,{prefixCls:V}),s.createElement(a.default,Object.assign({},G,k,{style:re,prefixCls:V,selectPrefixCls:te,className:ne,selectComponentClass:M||(Q?d.MiniSelect:d.MiddleSelect),locale:J,showSizeChanger:X}))))};return Sw.default=C,Sw}var Yxe;function LF(){if(Yxe)return Cw;Yxe=1;var e=ze;Object.defineProperty(Cw,"__esModule",{value:!0}),Cw.default=void 0;var t=e(RZt());return Cw.default=t.default,Cw}var _w={};const IZt=cr(a5t);var dm={},Zxe;function NZt(){if(Zxe)return dm;Zxe=1,Object.defineProperty(dm,"__esModule",{value:!0}),dm.prepareComponentToken=dm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=new e.Keyframes("antSpinMove",{to:{opacity:1}}),i=new e.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),o=l=>{const{componentCls:s,calc:u}=l;return{[`${s}`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"absolute",display:"none",color:l.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${l.motionDurationSlow} ${l.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${s}-text`]:{fontSize:l.fontSize,paddingTop:u(u(l.dotSize).sub(l.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:l.colorBgMask,zIndex:l.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${l.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${s}-dot ${s}-dot-item`]:{backgroundColor:l.colorWhite},[`${s}-text`]:{color:l.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${s}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:l.contentHeight,[`${s}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:u(l.dotSize).mul(-1).div(2).equal()},[`${s}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${l.colorBgContainer}`},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${s}-dot`]:{margin:u(l.dotSizeSM).mul(-1).div(2).equal()},[`${s}-text`]:{paddingTop:u(u(l.dotSizeSM).sub(l.fontSize)).div(2).add(2).equal()},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${s}-dot`]:{margin:u(l.dotSizeLG).mul(-1).div(2).equal()},[`${s}-text`]:{paddingTop:u(u(l.dotSizeLG).sub(l.fontSize)).div(2).add(2).equal()},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${s}-container`]:{position:"relative",transition:`opacity ${l.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:l.colorBgContainer,opacity:0,transition:`all ${l.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${s}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:l.spinDotDefault},[`${s}-dot`]:{position:"relative",display:"inline-block",fontSize:l.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:u(l.dotSize).sub(u(l.marginXXS).div(2)).div(2).equal(),height:u(l.dotSize).sub(u(l.marginXXS).div(2)).div(2).equal(),backgroundColor:l.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:r,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:i,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${s}-dot`]:{fontSize:l.dotSizeSM,i:{width:u(u(l.dotSizeSM).sub(u(l.marginXXS).div(2))).div(2).equal(),height:u(u(l.dotSizeSM).sub(u(l.marginXXS).div(2))).div(2).equal()}},[`&-lg ${s}-dot`]:{fontSize:l.dotSizeLG,i:{width:u(u(l.dotSizeLG).sub(l.marginXXS)).div(2).equal(),height:u(u(l.dotSizeLG).sub(l.marginXXS)).div(2).equal()}},[`&${s}-show-text ${s}-text`]:{display:"block"}})}},a=l=>{const{controlHeightLG:s,controlHeight:u}=l;return{contentHeight:400,dotSize:s/2,dotSizeSM:s*.35,dotSizeLG:u}};return dm.prepareComponentToken=a,dm.default=(0,n.genStyleHooks)("Spin",l=>{const s=(0,n.mergeToken)(l,{spinDotDefault:l.colorTextDescription});return[o(s)]},a),dm}var Qxe;function fP(){if(Qxe)return _w;Qxe=1;var e=ze;Object.defineProperty(_w,"__esModule",{value:!0}),_w.default=void 0;var t=u(_),n=e(Tt()),r=e(Qr()),i=IZt,o=to();_n();var a=Lt(),l=e(NZt());function s(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(s=function(y){return y?v:m})(g)}function u(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=s(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var c=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:m,spinning:v=!0,delay:y=0,className:b,rootClassName:C,size:x="default",tip:S,wrapperClassName:w,style:O,children:$,fullscreen:P=!1}=g,T=c(g,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:R}=t.useContext(a.ConfigContext),M=R("spin",m),[A,N,k]=(0,l.default)(M),[D,L]=t.useState(()=>v&&!d(v,y));t.useEffect(()=>{if(v){const G=(0,i.debounce)(y,()=>{L(!0)});return G(),()=>{var Y;(Y=G==null?void 0:G.cancel)===null||Y===void 0||Y.call(G)}}L(!1)},[y,v]);const B=t.useMemo(()=>typeof $<"u"&&!P,[$,P]),{direction:j,spin:z}=t.useContext(a.ConfigContext),V=(0,n.default)(M,z==null?void 0:z.className,{[`${M}-sm`]:x==="small",[`${M}-lg`]:x==="large",[`${M}-spinning`]:D,[`${M}-show-text`]:!!S,[`${M}-fullscreen`]:P,[`${M}-fullscreen-show`]:P&&D,[`${M}-rtl`]:j==="rtl"},b,C,N,k),W=(0,n.default)(`${M}-container`,{[`${M}-blur`]:D}),U=(0,r.default)(T,["indicator"]),K=Object.assign(Object.assign({},z==null?void 0:z.style),O),X=t.createElement("div",Object.assign({},U,{style:K,className:V,"aria-live":"polite","aria-busy":D}),h(M,g),S&&(B||P)?t.createElement("div",{className:`${M}-text`},S):null);return A(B?t.createElement("div",Object.assign({},U,{className:(0,n.default)(`${M}-nested-loading`,w,N,k)}),D&&t.createElement("div",{key:"loading"},X),t.createElement("div",{className:W,key:"container"},$)):X)};return p.setDefaultIndicator=g=>{f=g},_w.default=p,_w}var fm={},pm={},Jxe;function QVe(){if(Jxe)return pm;Jxe=1;var e=ze;Object.defineProperty(pm,"__esModule",{value:!0}),pm.ListContext=pm.ListConsumer=void 0;var t=e(_);const n=pm.ListContext=t.default.createContext({});return pm.ListConsumer=n.Consumer,pm}var e5e;function AZt(){if(e5e)return fm;e5e=1;var e=ze;Object.defineProperty(fm,"__esModule",{value:!0}),fm.default=fm.Meta=void 0;var t=e(Tt()),n=s(_),r=to(),i=Lt(),o=DC(),a=QVe();function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{var{prefixCls:p,className:g,avatar:m,title:v,description:y}=d,b=u(d,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:C}=(0,n.useContext)(i.ConfigContext),x=C("list",p),S=(0,t.default)(`${x}-item-meta`,g),w=n.default.createElement("div",{className:`${x}-item-meta-content`},v&&n.default.createElement("h4",{className:`${x}-item-meta-title`},v),y&&n.default.createElement("div",{className:`${x}-item-meta-description`},y));return n.default.createElement("div",Object.assign({},b,{className:S}),m&&n.default.createElement("div",{className:`${x}-item-meta-avatar`},m),(v||y)&&w)};fm.Meta=c;const f=(d,p)=>{var{prefixCls:g,children:m,actions:v,extra:y,className:b,colStyle:C}=d,x=u(d,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:S,itemLayout:w}=(0,n.useContext)(a.ListContext),{getPrefixCls:O}=(0,n.useContext)(i.ConfigContext),$=()=>{let N;return n.Children.forEach(m,k=>{typeof k=="string"&&(N=!0)}),N&&n.Children.count(m)>1},P=()=>w==="vertical"?!!y:!$(),T=O("list",g),R=v&&v.length>0&&n.default.createElement("ul",{className:`${T}-item-action`,key:"actions"},v.map((N,k)=>n.default.createElement("li",{key:`${T}-item-action-${k}`},N,k!==v.length-1&&n.default.createElement("em",{className:`${T}-item-action-split`})))),M=S?"div":"li",A=n.default.createElement(M,Object.assign({},x,S?{}:{ref:p},{className:(0,t.default)(`${T}-item`,{[`${T}-item-no-flex`]:!P()},b)}),w==="vertical"&&y?[n.default.createElement("div",{className:`${T}-item-main`,key:"content"},m,R),n.default.createElement("div",{className:`${T}-item-extra`,key:"extra"},y)]:[m,R,(0,r.cloneElement)(y,{key:"extra"})]);return S?n.default.createElement(o.Col,{ref:p,flex:1,style:C},A):A},h=(0,n.forwardRef)(f);return h.Meta=c,fm.default=h,fm}var hm={},t5e;function kZt(){if(t5e)return hm;t5e=1,Object.defineProperty(hm,"__esModule",{value:!0}),hm.prepareComponentToken=hm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=l=>{const{listBorderedCls:s,componentCls:u,paddingLG:c,margin:f,itemPaddingSM:h,itemPaddingLG:d,marginLG:p,borderRadiusLG:g}=l;return{[`${s}`]:{border:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,borderRadius:g,[`${u}-header,${u}-footer,${u}-item`]:{paddingInline:c},[`${u}-pagination`]:{margin:`${(0,e.unit)(f)} ${(0,e.unit)(p)}`}},[`${s}${u}-sm`]:{[`${u}-item,${u}-header,${u}-footer`]:{padding:h}},[`${s}${u}-lg`]:{[`${u}-item,${u}-header,${u}-footer`]:{padding:d}}}},i=l=>{const{componentCls:s,screenSM:u,screenMD:c,marginLG:f,marginSM:h,margin:d}=l;return{[`@media screen and (max-width:${c}px)`]:{[`${s}`]:{[`${s}-item`]:{[`${s}-item-action`]:{marginInlineStart:f}}},[`${s}-vertical`]:{[`${s}-item`]:{[`${s}-item-extra`]:{marginInlineStart:f}}}},[`@media screen and (max-width: ${u}px)`]:{[`${s}`]:{[`${s}-item`]:{flexWrap:"wrap",[`${s}-action`]:{marginInlineStart:h}}},[`${s}-vertical`]:{[`${s}-item`]:{flexWrap:"wrap-reverse",[`${s}-item-main`]:{minWidth:l.contentWidth},[`${s}-item-extra`]:{margin:`auto auto ${(0,e.unit)(d)}`}}}}}},o=l=>{const{componentCls:s,antCls:u,controlHeight:c,minHeight:f,paddingSM:h,marginLG:d,padding:p,itemPadding:g,colorPrimary:m,itemPaddingSM:v,itemPaddingLG:y,paddingXS:b,margin:C,colorText:x,colorTextDescription:S,motionDurationSlow:w,lineWidth:O,headerBg:$,footerBg:P,emptyTextPadding:T,metaMarginBottom:R,avatarMarginRight:M,titleMarginBottom:A,descriptionFontSize:N}=l,k={};return["start","center","end"].forEach(D=>{k[`&-align-${D}`]={textAlign:D}}),{[`${s}`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"relative","*":{outline:"none"},[`${s}-header`]:{background:$},[`${s}-footer`]:{background:P},[`${s}-header, ${s}-footer`]:{paddingBlock:h},[`${s}-pagination`]:Object.assign(Object.assign({marginBlockStart:d},k),{[`${u}-pagination-options`]:{textAlign:"start"}}),[`${s}-spin`]:{minHeight:f,textAlign:"center"},[`${s}-items`]:{margin:0,padding:0,listStyle:"none"},[`${s}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:g,color:x,[`${s}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${s}-item-meta-avatar`]:{marginInlineEnd:M},[`${s}-item-meta-content`]:{flex:"1 0",width:0,color:x},[`${s}-item-meta-title`]:{margin:`0 0 ${(0,e.unit)(l.marginXXS)} 0`,color:x,fontSize:l.fontSize,lineHeight:l.lineHeight,"> a":{color:x,transition:`all ${w}`,"&:hover":{color:m}}},[`${s}-item-meta-description`]:{color:S,fontSize:N,lineHeight:l.lineHeight}},[`${s}-item-action`]:{flex:"0 0 auto",marginInlineStart:l.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,e.unit)(b)}`,color:S,fontSize:l.fontSize,lineHeight:l.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${s}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:O,height:l.calc(l.fontHeight).sub(l.calc(l.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:l.colorSplit}}},[`${s}-empty`]:{padding:`${(0,e.unit)(p)} 0`,color:S,fontSize:l.fontSizeSM,textAlign:"center"},[`${s}-empty-text`]:{padding:T,color:l.colorTextDisabled,fontSize:l.fontSize,textAlign:"center"},[`${s}-item-no-flex`]:{display:"block"}}),[`${s}-grid ${u}-col > ${s}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:C,paddingBlock:0,borderBlockEnd:"none"},[`${s}-vertical ${s}-item`]:{alignItems:"initial",[`${s}-item-main`]:{display:"block",flex:1},[`${s}-item-extra`]:{marginInlineStart:d},[`${s}-item-meta`]:{marginBlockEnd:R,[`${s}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:A,color:x,fontSize:l.fontSizeLG,lineHeight:l.lineHeightLG}},[`${s}-item-action`]:{marginBlockStart:p,marginInlineStart:"auto","> li":{padding:`0 ${(0,e.unit)(p)}`,"&:first-child":{paddingInlineStart:0}}}},[`${s}-split ${s}-item`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${s}-split ${s}-header`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-split${s}-empty ${s}-footer`]:{borderTop:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-loading ${s}-spin-nested-loading`]:{minHeight:c},[`${s}-split${s}-something-after-last-item ${u}-spin-container > ${s}-items > ${s}-item:last-child`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-lg ${s}-item`]:{padding:y},[`${s}-sm ${s}-item`]:{padding:v},[`${s}:not(${s}-vertical)`]:{[`${s}-item-no-flex`]:{[`${s}-item-action`]:{float:"right"}}}}},a=l=>({contentWidth:220,itemPadding:`${(0,e.unit)(l.paddingContentVertical)} 0`,itemPaddingSM:`${(0,e.unit)(l.paddingContentVerticalSM)} ${(0,e.unit)(l.paddingContentHorizontal)}`,itemPaddingLG:`${(0,e.unit)(l.paddingContentVerticalLG)} ${(0,e.unit)(l.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:l.padding,metaMarginBottom:l.padding,avatarMarginRight:l.padding,titleMarginBottom:l.paddingSM,descriptionFontSize:l.fontSize});return hm.prepareComponentToken=a,hm.default=(0,n.genStyleHooks)("List",l=>{const s=(0,n.mergeToken)(l,{listBorderedCls:`${l.componentCls}-bordered`,minHeight:l.controlHeightLG});return[o(s),r(s),i(s)]},a),hm}var n5e;function jZt(){if(n5e)return yw;n5e=1;var e=ze;Object.defineProperty(yw,"__esModule",{value:!0}),yw.default=void 0;var t=e(qr()),n=e(Tt()),r=v(_),i=e(YVe()),o=AC(),a=Lt(),l=e(k0()),s=DC(),u=e(Zy()),c=e(LF()),f=e(fP()),h=e(AZt()),d=QVe(),p=e(kZt()),g=e(no());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var y=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O(Ye,we)=>{var De;Y(Ye),ee(we),S&&S[ft]&&((De=S==null?void 0:S[ft])===null||De===void 0||De.call(S,Ye,we))},ye=se("onChange"),be=se("onShowSizeChange"),he=(ft,Ye)=>{if(!W)return null;let we;return typeof V=="function"?we=V(ft):V?we=ft[V]:we=ft.key,we||(we=`list-item-${Ye}`),r.createElement(r.Fragment,{key:we},W(ft,Ye))},le=()=>!!(N||S||j),ve=Q("list",w),[ke,Ie,Oe]=(0,p.default)(ve);let Pe=z;typeof Pe=="boolean"&&(Pe={spinning:Pe});const _e=Pe&&Pe.spinning,ce=(0,g.default)(L);let Te="";switch(ce){case"large":Te="lg";break;case"small":Te="sm";break}const Ne=(0,n.default)(ve,{[`${ve}-vertical`]:A==="vertical",[`${ve}-${Te}`]:Te,[`${ve}-split`]:$,[`${ve}-bordered`]:O,[`${ve}-loading`]:_e,[`${ve}-grid`]:!!k,[`${ve}-something-after-last-item`]:le(),[`${ve}-rtl`]:ne==="rtl"},re==null?void 0:re.className,P,T,Ie,Oe),je=(0,i.default)(oe,{total:D.length,current:G,pageSize:J},S||{}),He=Math.ceil(je.total/je.pageSize);je.current>He&&(je.current=He);const Be=S?r.createElement("div",{className:(0,n.default)(`${ve}-pagination`,`${ve}-pagination-align-${(x=je==null?void 0:je.align)!==null&&x!==void 0?x:"end"}`)},r.createElement(c.default,Object.assign({},je,{onChange:ye,onShowSizeChange:be}))):null;let qe=(0,t.default)(D);S&&D.length>(je.current-1)*je.pageSize&&(qe=(0,t.default)(D).splice((je.current-1)*je.pageSize,je.pageSize));const me=Object.keys(k||{}).some(ft=>["xs","sm","md","lg","xl","xxl"].includes(ft)),Ee=(0,u.default)(me),$e=r.useMemo(()=>{for(let ft=0;ft{if(!k)return;const ft=$e&&k[$e]?k[$e]:k.column;if(ft)return{width:`${100/ft}%`,maxWidth:`${100/ft}%`}},[k==null?void 0:k.column,$e]);let Fe=_e&&r.createElement("div",{style:{minHeight:53}});if(qe.length>0){const ft=qe.map((Ye,we)=>he(Ye,we));Fe=k?r.createElement(s.Row,{gutter:k.gutter},r.Children.map(ft,Ye=>r.createElement("div",{key:Ye==null?void 0:Ye.key,style:Le},Ye))):r.createElement("ul",{className:`${ve}-items`},ft)}else!M&&!_e&&(Fe=r.createElement("div",{className:`${ve}-empty-text`},U&&U.emptyText||(te==null?void 0:te("List"))||r.createElement(l.default,{componentName:"List"})));const Ke=je.position||"bottom",lt=r.useMemo(()=>({grid:k,itemLayout:A}),[JSON.stringify(k),A]);return ke(r.createElement(d.ListContext.Provider,{value:lt},r.createElement("div",Object.assign({style:Object.assign(Object.assign({},re==null?void 0:re.style),R),className:Ne},K),(Ke==="top"||Ke==="both")&&Be,B&&r.createElement("div",{className:`${ve}-header`},B),r.createElement(f.default,Object.assign({},Pe),Fe,M),j&&r.createElement("div",{className:`${ve}-footer`},j),N||(Ke==="bottom"||Ke==="both")&&Be)))}return b.Item=h.default,yw.default=b,yw}var gm={};const DZt=cr(p7t);var mm={},r5e;function LZt(){if(r5e)return mm;r5e=1,Object.defineProperty(mm,"__esModule",{value:!0}),mm.prepareComponentToken=mm.default=void 0;var e=eb(),t=Tn(),n=Jt(),r=Xt,i=cP();const o=l=>{const{componentCls:s,colorTextDisabled:u,controlItemBgHover:c,controlPaddingHorizontal:f,colorText:h,motionDurationSlow:d,lineHeight:p,controlHeight:g,paddingInline:m,paddingBlock:v,fontSize:y,fontSizeIcon:b,colorTextTertiary:C,colorTextQuaternary:x,colorBgElevated:S,paddingXXS:w,paddingLG:O,borderRadius:$,borderRadiusLG:P,boxShadowSecondary:T,itemPaddingVertical:R,calc:M}=l;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(l)),(0,e.genBasicInputStyle)(l)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:p,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),(0,i.genOutlinedStyle)(l)),(0,i.genFilledStyle)(l)),(0,i.genBorderlessStyle)(l)),{"&-affix-wrapper":Object.assign(Object.assign({},(0,e.genBasicInputStyle)(l)),{display:"inline-flex",padding:0,"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${s}-suffix`]:{position:"absolute",top:0,insetInlineEnd:m,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`&:has(${s}-suffix) > ${s} > textarea`]:{paddingInlineEnd:O},[`${s}-clear-icon`]:{position:"absolute",insetInlineEnd:0,insetBlockStart:M(y).mul(p).mul(.5).add(v).equal(),transform:"translateY(-50%)",margin:0,color:x,fontSize:b,verticalAlign:-1,cursor:"pointer",transition:`color ${d}`,"&:hover":{color:C},"&:active":{color:h},"&-hidden":{visibility:"hidden"}}}),"&-disabled":{"> textarea":Object.assign({},(0,i.genDisabledStyle)(l))},[`&, &-affix-wrapper > ${s}`]:{[`> textarea, ${s}-measure`]:{color:h,boxSizing:"border-box",minHeight:l.calc(g).sub(2),margin:0,padding:`${(0,r.unit)(v)} ${(0,r.unit)(m)}`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"transparent"},(0,e.genPlaceholderStyle)(l.colorTextPlaceholder)),[`${s}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}}},"&-dropdown":Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:l.zIndexPopup,boxSizing:"border-box",fontSize:y,fontVariant:"initial",padding:w,backgroundColor:S,borderRadius:P,outline:"none",boxShadow:T,"&-hidden":{display:"none"},[`${s}-dropdown-menu`]:{maxHeight:l.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},t.textEllipsis),{position:"relative",display:"block",minWidth:l.controlItemWidth,padding:`${(0,r.unit)(R)} ${(0,r.unit)(f)}`,color:h,borderRadius:$,fontWeight:"normal",lineHeight:p,cursor:"pointer",transition:`background ${d} ease`,"&:hover":{backgroundColor:c},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:c,cursor:"not-allowed"}},"&-selected":{color:h,fontWeight:l.fontWeightStrong,backgroundColor:c},"&-active":{backgroundColor:c}})}})})}},a=l=>Object.assign(Object.assign({},(0,e.initComponentToken)(l)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:l.zIndexPopupBase+50,itemPaddingVertical:(l.controlHeight-l.fontHeight)/2});return mm.prepareComponentToken=a,mm.default=(0,n.genStyleHooks)("Mentions",l=>{const s=(0,n.mergeToken)(l,(0,e.initInputToken)(l));return[o(s)]},a),mm}var i5e;function zZt(){if(i5e)return gm;i5e=1;var e=ze;Object.defineProperty(gm,"__esModule",{value:!0}),gm.default=gm.Option=void 0;var t=m(_),n=e(Tt()),r=e(DZt),i=Nc(),o=e(kd()),a=jd();_n();var l=Lt(),s=e(k0()),u=fi(),c=e(fP()),f=e(LZt()),h=e(zr()),d=e(Dh()),p=e(TVe());function g(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(g=function(P){return P?$:O})(w)}function m(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=g(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}var v=function(w,O){var $={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&O.indexOf(P)<0&&($[P]=w[P]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,P=Object.getOwnPropertySymbols(w);T{const{prefixCls:$,className:P,rootClassName:T,disabled:R,loading:M,filterOption:A,children:N,notFoundContent:k,options:D,status:L,allowClear:B=!1,popupClassName:j,style:z,variant:V}=w,W=v(w,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","allowClear","popupClassName","style","variant"]),[U,K]=t.useState(!1),X=t.useRef(null),G=(0,i.composeRef)(O,X),{getPrefixCls:Y,renderEmpty:J,direction:ee,mentions:Q}=t.useContext(l.ConfigContext),{status:te,hasFeedback:ne,feedbackIcon:re}=t.useContext(u.FormItemInputContext),oe=(0,a.getMergedStatus)(te,L),se=function(){W.onFocus&&W.onFocus.apply(W,arguments),K(!0)},ye=function(){W.onBlur&&W.onBlur.apply(W,arguments),K(!1)},be=t.useMemo(()=>k!==void 0?k:(J==null?void 0:J("Select"))||t.createElement(s.default,{componentName:"Select"}),[k,J]),he=t.useMemo(()=>M?t.createElement(y,{value:"ANTD_SEARCHING",disabled:!0},t.createElement(c.default,{size:"small"})):N,[M,N]),le=M?[{value:"ANTD_SEARCHING",disabled:!0,label:t.createElement(c.default,{size:"small"})}]:D,ve=M?b:A,ke=Y("mentions",$),Ie=(0,p.default)(B),Oe=(0,h.default)(ke),[Pe,_e,ce]=(0,f.default)(ke,Oe),[Te,Ne]=(0,d.default)(V),je=ne&&t.createElement(t.Fragment,null,re),He=(0,n.default)(Q==null?void 0:Q.className,P,T,ce,Oe),Be=t.createElement(r.default,Object.assign({prefixCls:ke,notFoundContent:be,className:He,disabled:R,allowClear:Ie,direction:ee,style:Object.assign(Object.assign({},Q==null?void 0:Q.style),z)},W,{filterOption:ve,onFocus:se,onBlur:ye,dropdownClassName:(0,n.default)(j,T,_e,ce,Oe),ref:G,options:le,suffix:je,classNames:{mentions:(0,n.default)({[`${ke}-disabled`]:R,[`${ke}-focused`]:U,[`${ke}-rtl`]:ee==="rtl"},_e),variant:(0,n.default)({[`${ke}-${Te}`]:Ne},(0,a.getStatusClassNames)(ke,oe)),affixWrapper:_e}}),he);return Pe(Be)},x=t.forwardRef(C);x.Option=y;const S=(0,o.default)(x,"mentions");return x._InternalPanelDoNotUseOrYouWillBeFired=S,x.getMentions=function(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:$="@",split:P=" "}=O,T=Array.isArray($)?$:[$];return w.split(P).map(function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",M=null;return T.some(A=>R.slice(0,A.length)===A?(M=A,!0):!1),M!==null?{prefix:M,value:R.slice(M.length)}:null}).filter(R=>!!R&&!!R.value)},gm.default=x,gm}var vp={},o5e;function BZt(){if(o5e)return vp;o5e=1;var e=ze;Object.defineProperty(vp,"__esModule",{value:!0}),vp.default=vp.actWrapper=vp.actDestroy=void 0;var t=e(qr()),n=c(_),r=yF(),i=Voe(),o=c(Lt()),a=e(Mqe()),l=c(Iqe()),s=Rqe();function u(T){if(typeof WeakMap!="function")return null;var R=new WeakMap,M=new WeakMap;return(u=function(A){return A?M:R})(T)}function c(T,R){if(!R&&T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var M=u(R);if(M&&M.has(T))return M.get(T);var A={__proto__:null},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in T)if(k!=="default"&&Object.prototype.hasOwnProperty.call(T,k)){var D=N?Object.getOwnPropertyDescriptor(T,k):null;D&&(D.get||D.set)?Object.defineProperty(A,k,D):A[k]=T[k]}return A.default=T,M&&M.set(T,A),A}let f=null,h=T=>T(),d=[],p={};function g(){const{getContainer:T,duration:R,rtl:M,maxCount:A,top:N}=p,k=(T==null?void 0:T())||document.body;return{getContainer:()=>k,duration:R,rtl:M,maxCount:A,top:N}}const m=n.default.forwardRef((T,R)=>{const{messageConfig:M,sync:A}=T,{getPrefixCls:N}=(0,n.useContext)(o.ConfigContext),k=p.prefixCls||N("message"),D=(0,n.useContext)(i.AppConfigContext),[L,B]=(0,l.useInternalMessage)(Object.assign(Object.assign(Object.assign({},M),{prefixCls:k}),D.message));return n.default.useImperativeHandle(R,()=>{const j=Object.assign({},L);return Object.keys(j).forEach(z=>{j[z]=function(){return A(),L[z].apply(L,arguments)}}),{instance:j,sync:A}}),B}),v=n.default.forwardRef((T,R)=>{const[M,A]=n.default.useState(g),N=()=>{A(g)};n.default.useEffect(N,[]);const k=(0,o.globalConfig)(),D=k.getRootPrefixCls(),L=k.getIconPrefixCls(),B=k.getTheme(),j=n.default.createElement(m,{ref:R,sync:N,messageConfig:M});return n.default.createElement(o.default,{prefixCls:D,iconPrefixCls:L,theme:B},k.holderRender?k.holderRender(j):j)});function y(){if(!f){const T=document.createDocumentFragment(),R={fragment:T};f=R,h(()=>{(0,r.render)(n.default.createElement(v,{ref:M=>{const{instance:A,sync:N}=M||{};Promise.resolve().then(()=>{!R.instance&&A&&(R.instance=A,R.sync=N,y())})}}),T)});return}f.instance&&(d.forEach(T=>{const{type:R,skipped:M}=T;if(!M)switch(R){case"open":{h(()=>{const A=f.instance.open(Object.assign(Object.assign({},p),T.config));A==null||A.then(T.resolve),T.setCloseFn(A)});break}case"destroy":h(()=>{f==null||f.instance.destroy(T.key)});break;default:h(()=>{var A;const N=(A=f.instance)[R].apply(A,(0,t.default)(T.args));N==null||N.then(T.resolve),T.setCloseFn(N)})}}),d=[])}function b(T){p=Object.assign(Object.assign({},p),T),h(()=>{var R;(R=f==null?void 0:f.sync)===null||R===void 0||R.call(f)})}function C(T){const R=(0,s.wrapPromiseFn)(M=>{let A;const N={type:"open",config:T,resolve:M,setCloseFn:k=>{A=k}};return d.push(N),()=>{A?h(()=>{A()}):N.skipped=!0}});return y(),R}function x(T,R){(0,o.globalConfig)();const M=(0,s.wrapPromiseFn)(A=>{let N;const k={type:T,args:R,resolve:A,setCloseFn:D=>{N=D}};return d.push(k),()=>{N?h(()=>{N()}):k.skipped=!0}});return y(),M}function S(T){d.push({type:"destroy",key:T}),y()}const w=["success","info","warning","error","loading"],$={open:C,destroy:S,config:b,useMessage:l.default,_InternalPanelDoNotUseOrYouWillBeFired:a.default};w.forEach(T=>{$[T]=function(){for(var R=arguments.length,M=new Array(R),A=0;A{};return vp.actWrapper=P,vp.actDestroy=P,vp.default=$,vp}var ww={},Ow={},a5e;function FZt(){if(a5e)return Ow;a5e=1;var e=ze;Object.defineProperty(Ow,"__esModule",{value:!0}),Ow.default=void 0;var t=f(_),n=e(Tt()),r=Dqe,i=kd(),o=Lt(),a=Hoe(),l=zqe(),s=e(SF()),u=e(zr());function c(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(c=function(v){return v?m:g})(p)}function f(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=c(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var h=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{const{prefixCls:g,className:m,closeIcon:v,closable:y,type:b,title:C,children:x,footer:S}=p,w=h(p,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:O}=t.useContext(o.ConfigContext),$=O(),P=g||O("modal"),T=(0,u.default)($),[R,M,A]=(0,s.default)(P,T),N=`${P}-confirm`;let k={};return b?k={closable:y??!1,title:"",footer:"",children:t.createElement(a.ConfirmContent,Object.assign({},p,{prefixCls:P,confirmPrefixCls:N,rootPrefixCls:$,content:x}))}:k={closable:y??!0,title:C,footer:S!==null&&t.createElement(l.Footer,Object.assign({},p)),children:x},R(t.createElement(r.Panel,Object.assign({prefixCls:P,className:(0,n.default)(M,`${P}-pure-panel`,b&&N,b&&`${N}-${b}`,m,A,T)},w,{closeIcon:(0,l.renderCloseIcon)(P,v),closable:y},k)))};return Ow.default=(0,i.withPureRenderTheme)(d),Ow}var l5e;function HZt(){if(l5e)return ww;l5e=1;var e=ze;Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=void 0;var t=l(Hqe()),n=e(Woe()),r=e(Fqe()),i=e(FZt()),o=e(Wqe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}function s(c){return(0,t.default)((0,t.withWarn)(c))}const u=r.default;return u.useModal=o.default,u.info=function(f){return(0,t.default)((0,t.withInfo)(f))},u.success=function(f){return(0,t.default)((0,t.withSuccess)(f))},u.error=function(f){return(0,t.default)((0,t.withError)(f))},u.warning=s,u.warn=s,u.confirm=function(f){return(0,t.default)((0,t.withConfirm)(f))},u.destroyAll=function(){for(;n.default.length;){const f=n.default.pop();f&&f()}},u.config=t.modalGlobalConfig,u._InternalPanelDoNotUseOrYouWillBeFired=i.default,ww.default=u,ww}var yp={},s5e;function WZt(){if(s5e)return yp;s5e=1;var e=ze;Object.defineProperty(yp,"__esModule",{value:!0}),yp.default=yp.actWrapper=yp.actDestroy=void 0;var t=s(_),n=yF(),r=Voe(),i=s(Lt()),o=e(qqe()),a=s(Vqe());function l(O){if(typeof WeakMap!="function")return null;var $=new WeakMap,P=new WeakMap;return(l=function(T){return T?P:$})(O)}function s(O,$){if(!$&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var P=l($);if(P&&P.has(O))return P.get(O);var T={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in O)if(M!=="default"&&Object.prototype.hasOwnProperty.call(O,M)){var A=R?Object.getOwnPropertyDescriptor(O,M):null;A&&(A.get||A.set)?Object.defineProperty(T,M,A):T[M]=O[M]}return T.default=O,P&&P.set(O,T),T}let u=null,c=O=>O(),f=[],h={};function d(){const{getContainer:O,rtl:$,maxCount:P,top:T,bottom:R}=h,M=(O==null?void 0:O())||document.body;return{getContainer:()=>M,rtl:$,maxCount:P,top:T,bottom:R}}const p=t.default.forwardRef((O,$)=>{const{notificationConfig:P,sync:T}=O,{getPrefixCls:R}=(0,t.useContext)(i.ConfigContext),M=h.prefixCls||R("notification"),A=(0,t.useContext)(r.AppConfigContext),[N,k]=(0,a.useInternalNotification)(Object.assign(Object.assign(Object.assign({},P),{prefixCls:M}),A.notification));return t.default.useEffect(T,[]),t.default.useImperativeHandle($,()=>{const D=Object.assign({},N);return Object.keys(D).forEach(L=>{D[L]=function(){return T(),N[L].apply(N,arguments)}}),{instance:D,sync:T}}),k}),g=t.default.forwardRef((O,$)=>{const[P,T]=t.default.useState(d),R=()=>{T(d)};t.default.useEffect(R,[]);const M=(0,i.globalConfig)(),A=M.getRootPrefixCls(),N=M.getIconPrefixCls(),k=M.getTheme(),D=t.default.createElement(p,{ref:$,sync:R,notificationConfig:P});return t.default.createElement(i.default,{prefixCls:A,iconPrefixCls:N,theme:k},M.holderRender?M.holderRender(D):D)});function m(){if(!u){const O=document.createDocumentFragment(),$={fragment:O};u=$,c(()=>{(0,n.render)(t.default.createElement(g,{ref:P=>{const{instance:T,sync:R}=P||{};Promise.resolve().then(()=>{!$.instance&&T&&($.instance=T,$.sync=R,m())})}}),O)});return}u.instance&&(f.forEach(O=>{switch(O.type){case"open":{c(()=>{u.instance.open(Object.assign(Object.assign({},h),O.config))});break}case"destroy":c(()=>{u==null||u.instance.destroy(O.key)});break}}),f=[])}function v(O){h=Object.assign(Object.assign({},h),O),c(()=>{var $;($=u==null?void 0:u.sync)===null||$===void 0||$.call(u)})}function y(O){(0,i.globalConfig)(),f.push({type:"open",config:O}),m()}function b(O){f.push({type:"destroy",key:O}),m()}const C=["success","info","warning","error"],S={open:y,destroy:b,config:v,useNotification:a.default,_InternalPanelDoNotUseOrYouWillBeFired:o.default};C.forEach(O=>{S[O]=$=>y(Object.assign(Object.assign({},$),{type:O}))});const w=()=>{};return yp.actWrapper=w,yp.actDestroy=w,yp.default=S,yp}var Ew={},$w={},c5e;function pP(){if(c5e)return $w;c5e=1,Object.defineProperty($w,"__esModule",{value:!0}),$w.default=void 0;var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(n){var r=n.keyCode;if(n.altKey&&!n.ctrlKey||n.metaKey||r>=e.F1&&r<=e.F12)return!1;switch(r){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(n){if(n>=e.ZERO&&n<=e.NINE||n>=e.NUM_ZERO&&n<=e.NUM_MULTIPLY||n>=e.A&&n<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&n===0)return!0;switch(n){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};return $w.default=e,$w}var vm={},ym={},u5e;function JVe(){if(u5e)return ym;u5e=1,Object.defineProperty(ym,"__esModule",{value:!0}),ym.prepareComponentToken=ym.default=void 0;var e=Jt();const t=r=>{const{componentCls:i,iconCls:o,antCls:a,zIndexPopup:l,colorText:s,colorWarning:u,marginXXS:c,marginXS:f,fontSize:h,fontWeightStrong:d,colorTextHeading:p}=r;return{[i]:{zIndex:l,[`&${a}-popover`]:{fontSize:h},[`${i}-message`]:{marginBottom:f,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${i}-message-icon ${o}`]:{color:u,fontSize:h,lineHeight:1,marginInlineEnd:f},[`${i}-title`]:{fontWeight:d,color:p,"&:only-child":{fontWeight:"normal"}},[`${i}-description`]:{marginTop:c,color:s}},[`${i}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:f}}}}},n=r=>{const{zIndexPopupBase:i}=r;return{zIndexPopup:i+60}};return ym.prepareComponentToken=n,ym.default=(0,e.genStyleHooks)("Popconfirm",r=>t(r),n,{resetStyle:!1}),ym}var d5e;function qZt(){if(d5e)return vm;d5e=1;var e=ze;Object.defineProperty(vm,"__esModule",{value:!0}),vm.default=vm.Overlay=void 0;var t=e(A0()),n=e(Tt()),r=p(_),i=e(Boe()),o=Yoe(),a=e(Ac()),l=tP(),s=Lt(),u=Rl(),c=e(_u()),f=e(Joe()),h=e(JVe());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var g=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{const{prefixCls:b,okButtonProps:C,cancelButtonProps:x,title:S,description:w,cancelText:O,okText:$,okType:P="primary",icon:T=r.createElement(t.default,null),showCancel:R=!0,close:M,onConfirm:A,onCancel:N,onPopupClick:k}=y,{getPrefixCls:D}=r.useContext(s.ConfigContext),[L]=(0,u.useLocale)("Popconfirm",c.default.Popconfirm),B=(0,o.getRenderPropValue)(S),j=(0,o.getRenderPropValue)(w);return r.createElement("div",{className:`${b}-inner-content`,onClick:k},r.createElement("div",{className:`${b}-message`},T&&r.createElement("span",{className:`${b}-message-icon`},T),r.createElement("div",{className:`${b}-message-text`},B&&r.createElement("div",{className:(0,n.default)(`${b}-title`)},B),j&&r.createElement("div",{className:`${b}-description`},j))),r.createElement("div",{className:`${b}-buttons`},R&&r.createElement(a.default,Object.assign({onClick:N,size:"small"},x),O||(L==null?void 0:L.cancelText)),r.createElement(i.default,{buttonProps:Object.assign(Object.assign({size:"small"},(0,l.convertLegacyProps)(P)),C),actionFn:A,close:M,prefixCls:D("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},$||(L==null?void 0:L.okText))))};vm.Overlay=m;const v=y=>{const{prefixCls:b,placement:C,className:x,style:S}=y,w=g(y,["prefixCls","placement","className","style"]),{getPrefixCls:O}=r.useContext(s.ConfigContext),$=O("popconfirm",b),[P]=(0,h.default)($);return P(r.createElement(f.default,{placement:C,className:(0,n.default)($,x),style:S,content:r.createElement(m,Object.assign({prefixCls:$},w))}))};return vm.default=v,vm}var f5e;function VZt(){if(f5e)return Ew;f5e=1;var e=ze;Object.defineProperty(Ew,"__esModule",{value:!0}),Ew.default=void 0;var t=d(_),n=e(A0()),r=e(Tt()),i=e(ns()),o=e(pP()),a=e(Qr()),l=to(),s=Lt(),u=e($F()),c=d(qZt()),f=e(JVe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var y,b;const{prefixCls:C,placement:x="top",trigger:S="click",okType:w="primary",icon:O=t.createElement(n.default,null),children:$,overlayClassName:P,onOpenChange:T,onVisibleChange:R}=m,M=p(m,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:A}=t.useContext(s.ConfigContext),[N,k]=(0,i.default)(!1,{value:(y=m.open)!==null&&y!==void 0?y:m.visible,defaultValue:(b=m.defaultOpen)!==null&&b!==void 0?b:m.defaultVisible}),D=(X,G)=>{k(X,!0),R==null||R(X),T==null||T(X,G)},L=X=>{D(!1,X)},B=X=>{var G;return(G=m.onConfirm)===null||G===void 0?void 0:G.call(void 0,X)},j=X=>{var G;D(!1,X),(G=m.onCancel)===null||G===void 0||G.call(void 0,X)},z=X=>{X.keyCode===o.default.ESC&&N&&D(!1,X)},V=X=>{const{disabled:G=!1}=m;G||D(X)},W=A("popconfirm",C),U=(0,r.default)(W,P),[K]=(0,f.default)(W);return K(t.createElement(u.default,Object.assign({},(0,a.default)(M,["title"]),{trigger:S,placement:x,onOpenChange:V,open:N,ref:v,overlayClassName:U,content:t.createElement(c.Overlay,Object.assign({okType:w,icon:O},m,{prefixCls:W,close:L,onConfirm:B,onCancel:j})),"data-popover-inject":!0}),(0,l.cloneElement)($,{onKeyDown:X=>{var G,Y;t.isValidElement($)&&((Y=$==null?void 0:(G=$.props).onKeyDown)===null||Y===void 0||Y.call(G,X)),z(X)}})))});return g._InternalPanelDoNotUseOrYouWillBeFired=c.default,Ew.default=g,Ew}var Pw={},bm={},Tw={};const UZt=cr(q7t);var Ku={},p5e;function zF(){if(p5e)return Ku;p5e=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.getStrokeColor=Ku.getSize=Ku.getPercentage=void 0,Ku.getSuccessPercent=n,Ku.validProgress=t;var e=Nd;function t(a){return!a||a<0?0:a>100?100:a}function n(a){let{success:l,successPercent:s}=a,u=s;return l&&"progress"in l&&(u=l.progress),l&&"percent"in l&&(u=l.percent),u}const r=a=>{let{percent:l,success:s,successPercent:u}=a;const c=t(n({success:s,successPercent:u}));return[c,t(t(l)-c)]};Ku.getPercentage=r;const i=a=>{let{success:l={},strokeColor:s}=a;const{strokeColor:u}=l;return[u||e.presetPrimaryColors.green,s||null]};Ku.getStrokeColor=i;const o=(a,l,s)=>{var u,c,f,h;let d=-1,p=-1;if(l==="step"){const g=s.steps,m=s.strokeWidth;typeof a=="string"||typeof a>"u"?(d=a==="small"?2:14,p=m??8):typeof a=="number"?[d,p]=[a,a]:[d=14,p=8]=a,d*=g}else if(l==="line"){const g=s==null?void 0:s.strokeWidth;typeof a=="string"||typeof a>"u"?p=g||(a==="small"?6:8):typeof a=="number"?[d,p]=[a,a]:[d=-1,p=8]=a}else(l==="circle"||l==="dashboard")&&(typeof a=="string"||typeof a>"u"?[d,p]=a==="small"?[60,60]:[120,120]:typeof a=="number"?[d,p]=[a,a]:(d=(c=(u=a[0])!==null&&u!==void 0?u:a[1])!==null&&c!==void 0?c:120,p=(h=(f=a[0])!==null&&f!==void 0?f:a[1])!==null&&h!==void 0?h:120));return[d,p]};return Ku.getSize=o,Ku}var h5e;function GZt(){if(h5e)return Tw;h5e=1;var e=ze;Object.defineProperty(Tw,"__esModule",{value:!0}),Tw.default=void 0;var t=e(Tt()),n=UZt,r=l(_),i=e(kc()),o=zF();function a(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(a=function(p){return p?d:h})(f)}function l(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=a(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const s=3,u=f=>s/f*100,c=f=>{const{prefixCls:h,trailColor:d=null,strokeLinecap:p="round",gapPosition:g,gapDegree:m,width:v=120,type:y,children:b,success:C,size:x=v}=f,[S,w]=(0,o.getSize)(x,"circle");let{strokeWidth:O}=f;O===void 0&&(O=Math.max(u(S),6));const $={width:S,height:w,fontSize:S*.15+6},P=r.useMemo(()=>{if(m||m===0)return m;if(y==="dashboard")return 75},[m,y]),T=g||y==="dashboard"&&"bottom"||void 0,R=Object.prototype.toString.call(f.strokeColor)==="[object Object]",M=(0,o.getStrokeColor)({success:C,strokeColor:f.strokeColor}),A=(0,t.default)(`${h}-inner`,{[`${h}-circle-gradient`]:R}),N=r.createElement(n.Circle,{percent:(0,o.getPercentage)(f),strokeWidth:O,trailWidth:O,strokeColor:M,strokeLinecap:p,trailColor:d,prefixCls:h,gapDegree:P,gapPosition:T});return r.createElement("div",{className:A,style:$},S<=20?r.createElement(i.default,{title:b},r.createElement("span",null,N)):r.createElement(r.Fragment,null,N,b))};return Tw.default=c,Tw}var bp={},Xu={},g5e;function eUe(){if(g5e)return Xu;g5e=1,Object.defineProperty(Xu,"__esModule",{value:!0}),Xu.prepareComponentToken=Xu.default=Xu.Percent=Xu.LineStrokeColorVar=void 0;var e=Xt,t=Tn(),n=Jt();const r=Xu.LineStrokeColorVar="--progress-line-stroke-color",i=Xu.Percent="--progress-percent",o=f=>{const h=f?"100%":"-100%";return new e.Keyframes(`antProgress${f?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${h}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${h}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},a=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:Object.assign(Object.assign({},(0,t.resetComponent)(f)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:f.fontSize,marginInlineEnd:f.marginXS,marginBottom:f.marginXS},[`${h}-outer`]:{display:"inline-block",width:"100%"},[`&${h}-show-info`]:{[`${h}-outer`]:{marginInlineEnd:`calc(-2em - ${(0,e.unit)(f.marginXS)})`,paddingInlineEnd:`calc(2em + ${(0,e.unit)(f.paddingXS)})`}},[`${h}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:f.remainingColor,borderRadius:f.lineBorderRadius},[`${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.defaultColor}},[`${h}-success-bg, ${h}-bg`]:{position:"relative",background:f.defaultColor,borderRadius:f.lineBorderRadius,transition:`all ${f.motionDurationSlow} ${f.motionEaseInOutCirc}`},[`${h}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${r})`]},height:"100%",width:`calc(1 / var(${i}) * 100%)`,display:"block"}},[`${h}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:f.colorSuccess},[`${h}-text`]:{display:"inline-block",width:"2em",marginInlineStart:f.marginXS,color:f.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[d]:{fontSize:f.fontSize}},[`&${h}-status-active`]:{[`${h}-bg::before`]:{position:"absolute",inset:0,backgroundColor:f.colorBgContainer,borderRadius:f.lineBorderRadius,opacity:0,animationName:o(),animationDuration:f.progressActiveMotionDuration,animationTimingFunction:f.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${h}-rtl${h}-status-active`]:{[`${h}-bg::before`]:{animationName:o(!0)}},[`&${h}-status-exception`]:{[`${h}-bg`]:{backgroundColor:f.colorError},[`${h}-text`]:{color:f.colorError}},[`&${h}-status-exception ${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.colorError}},[`&${h}-status-success`]:{[`${h}-bg`]:{backgroundColor:f.colorSuccess},[`${h}-text`]:{color:f.colorSuccess}},[`&${h}-status-success ${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.colorSuccess}}})}},l=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:{[`${h}-circle-trail`]:{stroke:f.remainingColor},[`&${h}-circle ${h}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${h}-circle ${h}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:f.circleTextColor,fontSize:f.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[d]:{fontSize:f.circleIconFontSize}},[`${h}-circle&-status-exception`]:{[`${h}-text`]:{color:f.colorError}},[`${h}-circle&-status-success`]:{[`${h}-text`]:{color:f.colorSuccess}}},[`${h}-inline-circle`]:{lineHeight:1,[`${h}-inner`]:{verticalAlign:"bottom"}}}},s=f=>{const{componentCls:h}=f;return{[h]:{[`${h}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:f.progressStepMinWidth,marginInlineEnd:f.progressStepMarginInlineEnd,backgroundColor:f.remainingColor,transition:`all ${f.motionDurationSlow}`,"&-active":{backgroundColor:f.defaultColor}}}}}},u=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:{[`${h}-small&-line, ${h}-small&-line ${h}-text ${d}`]:{fontSize:f.fontSizeSM}}}},c=f=>({circleTextColor:f.colorText,defaultColor:f.colorInfo,remainingColor:f.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${f.fontSize/f.fontSizeSM}em`});return Xu.prepareComponentToken=c,Xu.default=(0,n.genStyleHooks)("Progress",f=>{const h=f.calc(f.marginXXS).div(2).equal(),d=(0,n.mergeToken)(f,{progressStepMarginInlineEnd:h,progressStepMinWidth:h,progressActiveMotionDuration:"2.4s"});return[a(d),l(d),s(d),u(d)]},c),Xu}var m5e;function KZt(){if(m5e)return bp;m5e=1,Object.defineProperty(bp,"__esModule",{value:!0}),bp.sortGradient=bp.handleGradient=bp.default=void 0;var e=o(_),t=Nd;_n();var n=zF(),r=eUe();function i(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(i=function(d){return d?h:f})(c)}function o(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=i(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var a=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{let f=[];return Object.keys(c).forEach(h=>{const d=parseFloat(h.replace(/%/g,""));isNaN(d)||f.push({key:d,value:c[h]})}),f=f.sort((h,d)=>h.key-d.key),f.map(h=>{let{key:d,value:p}=h;return`${p} ${d}%`}).join(", ")};bp.sortGradient=l;const s=(c,f)=>{const{from:h=t.presetPrimaryColors.blue,to:d=t.presetPrimaryColors.blue,direction:p=f==="rtl"?"to left":"to right"}=c,g=a(c,["from","to","direction"]);if(Object.keys(g).length!==0){const v=l(g),y=`linear-gradient(${p}, ${v})`;return{background:y,[r.LineStrokeColorVar]:y}}const m=`linear-gradient(${p}, ${h}, ${d})`;return{background:m,[r.LineStrokeColorVar]:m}};bp.handleGradient=s;const u=c=>{const{prefixCls:f,direction:h,percent:d,size:p,strokeWidth:g,strokeColor:m,strokeLinecap:v="round",children:y,trailColor:b=null,success:C}=c,x=m&&typeof m!="string"?s(m,h):{[r.LineStrokeColorVar]:m,background:m},S=v==="square"||v==="butt"?0:void 0,w=p??[-1,g||(p==="small"?6:8)],[O,$]=(0,n.getSize)(w,"line",{strokeWidth:g}),P={backgroundColor:b||void 0,borderRadius:S},T=Object.assign(Object.assign({width:`${(0,n.validProgress)(d)}%`,height:$,borderRadius:S},x),{[r.Percent]:(0,n.validProgress)(d)/100}),R=(0,n.getSuccessPercent)(c),M={width:`${(0,n.validProgress)(R)}%`,height:$,borderRadius:S,backgroundColor:C==null?void 0:C.strokeColor},A={width:O<0?"100%":O,height:$};return e.createElement(e.Fragment,null,e.createElement("div",{className:`${f}-outer`,style:A},e.createElement("div",{className:`${f}-inner`,style:P},e.createElement("div",{className:`${f}-bg`,style:T}),R!==void 0?e.createElement("div",{className:`${f}-success-bg`,style:M}):null)),y)};return bp.default=u,bp}var Mw={},v5e;function XZt(){if(v5e)return Mw;v5e=1;var e=ze;Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=void 0;var t=e(Tt()),n=o(_),r=zF();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{size:s,steps:u,percent:c=0,strokeWidth:f=8,strokeColor:h,trailColor:d=null,prefixCls:p,children:g}=l,m=Math.round(u*(c/100)),y=s??[s==="small"?2:14,f],[b,C]=(0,r.getSize)(y,"step",{steps:u,strokeWidth:f}),x=b/u,S=new Array(u);for(let w=0;w{const{prefixCls:x,className:S,rootClassName:w,steps:O,strokeColor:$,percent:P=0,size:T="default",showInfo:R=!0,type:M="line",status:A,format:N,style:k}=b,D=m(b,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),L=t.useMemo(()=>{var te,ne;const re=(0,d.getSuccessPercent)(b);return parseInt(re!==void 0?(te=re??0)===null||te===void 0?void 0:te.toString():(ne=P??0)===null||ne===void 0?void 0:ne.toString(),10)},[P,b.success,b.successPercent]),B=t.useMemo(()=>!v.includes(A)&&L>=100?"success":A||"normal",[A,L]),{getPrefixCls:j,direction:z,progress:V}=t.useContext(s.ConfigContext),W=j("progress",x),[U,K,X]=(0,h.default)(W),G=t.useMemo(()=>{if(!R)return null;const te=(0,d.getSuccessPercent)(b);let ne;const re=N||(se=>`${se}%`),oe=M==="line";return N||B!=="exception"&&B!=="success"?ne=re((0,d.validProgress)(P),(0,d.validProgress)(te)):B==="exception"?ne=oe?t.createElement(i.default,null):t.createElement(o.default,null):B==="success"&&(ne=oe?t.createElement(n.default,null):t.createElement(r.default,null)),t.createElement("span",{className:`${W}-text`,title:typeof ne=="string"?ne:void 0},ne)},[R,P,L,B,M,W,N]),Y=Array.isArray($)?$[0]:$,J=typeof $=="string"||Array.isArray($)?$:void 0;let ee;M==="line"?ee=O?t.createElement(f.default,Object.assign({},b,{strokeColor:J,prefixCls:W,steps:O}),G):t.createElement(c.default,Object.assign({},b,{strokeColor:Y,prefixCls:W,direction:z}),G):(M==="circle"||M==="dashboard")&&(ee=t.createElement(u.default,Object.assign({},b,{strokeColor:Y,prefixCls:W,progressStatus:B}),G));const Q=(0,a.default)(W,`${W}-status-${B}`,`${W}-${M==="dashboard"&&"circle"||O&&"steps"||M}`,{[`${W}-inline-circle`]:M==="circle"&&(0,d.getSize)(T,"circle")[0]<=20,[`${W}-show-info`]:R,[`${W}-${T}`]:typeof T=="string",[`${W}-rtl`]:z==="rtl"},V==null?void 0:V.className,S,w,K,X);return U(t.createElement("div",Object.assign({ref:C,style:Object.assign(Object.assign({},V==null?void 0:V.style),k),className:Q,role:"progressbar","aria-valuenow":L},(0,l.default)(D,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ee))});return bm.default=y,bm}var b5e;function yae(){if(b5e)return Pw;b5e=1;var e=ze;Object.defineProperty(Pw,"__esModule",{value:!0}),Pw.default=void 0;var t=e(YZt());return Pw.default=t.default,Pw}var Rw={},FI={exports:{}},NG={},HI={},C5e;function ZZt(){if(C5e)return HI;C5e=1,Object.defineProperty(HI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};return HI.default=e,HI}var S5e;function QZt(){return S5e||(S5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(ZZt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:l,lineWidth:s,lineType:u,colorSplit:c}=a;return{[l]:Object.assign(Object.assign({},(0,n.resetComponent)(a)),{display:"flex",justifyContent:"center",alignItems:"center",padding:a.paddingSM,backgroundColor:a.colorWhite,borderRadius:a.borderRadiusLG,border:`${(0,e.unit)(s)} ${u} ${c}`,position:"relative",overflow:"hidden",[`& > ${l}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:a.colorText,lineHeight:a.lineHeight,background:a.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${l}-expired, & > ${l}-scanned`]:{color:a.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:a.marginXS,fontSize:a.controlHeight}}),[`${l}-borderless`]:{borderColor:"transparent"}}},o=a=>({QRCodeMaskBackgroundColor:new t.TinyColor(a.colorBgContainer).setAlpha(.96).toRgbString()});return Cm.prepareComponentToken=o,Cm.default=(0,r.genStyleHooks)("QRCode",a=>{const l=(0,r.mergeToken)(a,{QRCodeTextColor:a.colorText});return i(l)},o),Cm}var w5e;function nQt(){if(w5e)return Rw;w5e=1;var e=ze;Object.defineProperty(Rw,"__esModule",{value:!0}),Rw.default=void 0;var t=h(_),n=e(JZt()),r=e(Tt()),i=eQt;_n();var o=e(Ac()),a=Lt(),l=Rl(),s=e(fP()),u=Jt(),c=e(tQt());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=p=>{const[,g]=(0,u.useToken)(),{value:m,type:v="canvas",icon:y="",size:b=160,iconSize:C=40,color:x=g.colorText,errorLevel:S="M",status:w="active",bordered:O=!0,onRefresh:$,style:P,className:T,rootClassName:R,prefixCls:M,bgColor:A="transparent"}=p,{getPrefixCls:N}=(0,t.useContext)(a.ConfigContext),k=N("qrcode",M),[D,L,B]=(0,c.default)(k),z={value:m,size:b,level:S,bgColor:A,fgColor:x,style:{width:void 0,height:void 0},imageSettings:y?{src:y,x:void 0,y:void 0,height:C,width:C,excavate:!0}:void 0},[V]=(0,l.useLocale)("QRCode");if(!m)return null;const W=(0,r.default)(k,T,R,L,B,{[`${k}-borderless`]:!O});return D(t.default.createElement("div",{className:W,style:Object.assign(Object.assign({},P),{width:b,height:b,backgroundColor:A})},w!=="active"&&t.default.createElement("div",{className:`${k}-mask`},w==="loading"&&t.default.createElement(s.default,null),w==="expired"&&t.default.createElement(t.default.Fragment,null,t.default.createElement("p",{className:`${k}-expired`},V==null?void 0:V.expired),$&&t.default.createElement(o.default,{type:"link",icon:t.default.createElement(n.default,null),onClick:$},V==null?void 0:V.refresh)),w==="scanned"&&t.default.createElement("p",{className:`${k}-scanned`},V==null?void 0:V.scanned)),v==="canvas"?t.default.createElement(i.QRCodeCanvas,Object.assign({},z)):t.default.createElement(i.QRCodeSVG,Object.assign({},z))))};return Rw.default=d,Rw}var Iw={},WI={exports:{}},AG={},qI={},O5e;function rQt(){if(O5e)return qI;O5e=1,Object.defineProperty(qI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};return qI.default=e,qI}var E5e;function iQt(){return E5e||(E5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(rQt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:s}=l;return{[`${s}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:l.marginXS},"> div":{transition:`all ${l.motionDurationMid}, outline 0s`,"&:hover":{transform:l.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,n.unit)(l.lineWidth)} dashed ${l.starColor}`,transform:l.starHoverScale}},"&-first, &-second":{color:l.starBg,transition:`all ${l.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${s}-star-first, &-half ${s}-star-second`]:{opacity:1},[`&-half ${s}-star-first, &-full ${s}-star-second`]:{color:"inherit"}}}},i=l=>({[`&-rtl${l.componentCls}`]:{direction:"rtl"}}),o=l=>{const{componentCls:s}=l;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(l)),{display:"inline-block",margin:0,padding:0,color:l.starColor,fontSize:l.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${s} ${s}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),r(l)),i(l))}},a=l=>({starColor:l.yellow6,starSize:l.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:l.colorFillContent});return Sm.prepareComponentToken=a,Sm.default=(0,t.genStyleHooks)("Rate",l=>{const s=(0,t.mergeToken)(l,{});return[o(s)]},a),Sm}var T5e;function sQt(){if(T5e)return Iw;T5e=1;var e=ze;Object.defineProperty(Iw,"__esModule",{value:!0}),Iw.default=void 0;var t=e(oQt()),n=e(Tt()),r=e(aQt),i=u(_),o=Lt(),a=e(kc()),l=e(lQt());function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:p,className:g,rootClassName:m,style:v,tooltips:y,character:b=i.createElement(t.default,null)}=h,C=c(h,["prefixCls","className","rootClassName","style","tooltips","character"]),x=(A,N)=>{let{index:k}=N;return y?i.createElement(a.default,{title:y[k]},A):A},{getPrefixCls:S,direction:w,rate:O}=i.useContext(o.ConfigContext),$=S("rate",p),[P,T,R]=(0,l.default)($),M=Object.assign(Object.assign({},O==null?void 0:O.style),v);return P(i.createElement(r.default,Object.assign({ref:d,character:b,characterRender:x},C,{className:(0,n.default)(g,m,T,R,O==null?void 0:O.className),style:M,prefixCls:$,direction:w})))});return Iw.default=f,Iw}var Cp={},VI={exports:{}},kG={},UI={},M5e;function cQt(){if(M5e)return UI;M5e=1,Object.defineProperty(UI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};return UI.default=e,UI}var R5e;function uQt(){return R5e||(R5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(cQt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pe.createElement("svg",{width:"252",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .012)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),e.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),e.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),e.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),e.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),e.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),e.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),e.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),e.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),e.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),e.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),e.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),e.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),e.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),e.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),e.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),e.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),e.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),e.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),e.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),e.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),e.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),e.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),e.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),e.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),e.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),e.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),e.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),e.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),e.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),e.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),e.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),e.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),e.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),e.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})));return Nw.default=r,Nw}var Aw={},A5e;function pQt(){if(A5e)return Aw;A5e=1,Object.defineProperty(Aw,"__esModule",{value:!0}),Aw.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=()=>e.createElement("svg",{width:"254",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),e.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .067)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),e.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),e.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),e.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),e.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),e.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),e.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),e.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),e.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),e.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),e.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),e.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),e.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),e.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),e.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),e.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),e.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),e.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),e.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),e.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),e.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),e.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),e.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),e.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),e.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),e.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),e.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),e.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),e.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),e.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),e.createElement("mask",{fill:"#fff"}),e.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),e.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),e.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),e.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})));return Aw.default=r,Aw}var xm={},k5e;function hQt(){if(k5e)return xm;k5e=1,Object.defineProperty(xm,"__esModule",{value:!0}),xm.prepareComponentToken=xm.default=void 0;var e=Xt,t=Jt();const n=l=>{const{componentCls:s,lineHeightHeading3:u,iconCls:c,padding:f,paddingXL:h,paddingXS:d,paddingLG:p,marginXS:g,lineHeight:m}=l;return{[s]:{padding:`${(0,e.unit)(l.calc(p).mul(2).equal())} ${(0,e.unit)(h)}`,"&-rtl":{direction:"rtl"}},[`${s} ${s}-image`]:{width:l.imageWidth,height:l.imageHeight,margin:"auto"},[`${s} ${s}-icon`]:{marginBottom:p,textAlign:"center",[`& > ${c}`]:{fontSize:l.iconFontSize}},[`${s} ${s}-title`]:{color:l.colorTextHeading,fontSize:l.titleFontSize,lineHeight:u,marginBlock:g,textAlign:"center"},[`${s} ${s}-subtitle`]:{color:l.colorTextDescription,fontSize:l.subtitleFontSize,lineHeight:m,textAlign:"center"},[`${s} ${s}-content`]:{marginTop:p,padding:`${(0,e.unit)(p)} ${(0,e.unit)(l.calc(f).mul(2.5).equal())}`,backgroundColor:l.colorFillAlter},[`${s} ${s}-extra`]:{margin:l.extraMargin,textAlign:"center","& > *":{marginInlineEnd:d,"&:last-child":{marginInlineEnd:0}}}}},r=l=>{const{componentCls:s,iconCls:u}=l;return{[`${s}-success ${s}-icon > ${u}`]:{color:l.resultSuccessIconColor},[`${s}-error ${s}-icon > ${u}`]:{color:l.resultErrorIconColor},[`${s}-info ${s}-icon > ${u}`]:{color:l.resultInfoIconColor},[`${s}-warning ${s}-icon > ${u}`]:{color:l.resultWarningIconColor}}},i=l=>[n(l),r(l)],o=l=>i(l),a=l=>({titleFontSize:l.fontSizeHeading3,subtitleFontSize:l.fontSize,iconFontSize:l.fontSizeHeading3*3,extraMargin:`${l.paddingLG}px 0 0 0`});return xm.prepareComponentToken=a,xm.default=(0,t.genStyleHooks)("Result",l=>{const s=l.colorInfo,u=l.colorError,c=l.colorSuccess,f=l.colorWarning,h=(0,t.mergeToken)(l,{resultInfoIconColor:s,resultErrorIconColor:u,resultSuccessIconColor:c,resultWarningIconColor:f,imageWidth:250,imageHeight:295});return[o(h)]},a),xm}var kw={},j5e;function gQt(){if(j5e)return kw;j5e=1,Object.defineProperty(kw,"__esModule",{value:!0}),kw.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=()=>e.createElement("svg",{width:"251",height:"294"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),e.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),e.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),e.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),e.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),e.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),e.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),e.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),e.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),e.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),e.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),e.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),e.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),e.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),e.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),e.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),e.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),e.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),e.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),e.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),e.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),e.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),e.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),e.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),e.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),e.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),e.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),e.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),e.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),e.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),e.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),e.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),e.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})));return kw.default=r,kw}var D5e;function mQt(){if(D5e)return Cp;D5e=1;var e=ze;Object.defineProperty(Cp,"__esModule",{value:!0}),Cp.default=Cp.IconMap=Cp.ExceptionMap=void 0;var t=d(_),n=e(Yy()),r=e(qf()),i=e(A0()),o=e(dQt()),a=e(Tt());_n();var l=Lt(),s=e(fQt()),u=e(pQt()),c=e(hQt()),f=e(gQt());function h(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(h=function(w){return w?S:x})(C)}function d(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=h(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}const p=Cp.IconMap={success:n.default,error:r.default,info:i.default,warning:o.default},g=Cp.ExceptionMap={404:s.default,500:u.default,403:f.default},m=Object.keys(g),v=C=>{let{prefixCls:x,icon:S,status:w}=C;const O=(0,a.default)(`${x}-icon`);if(m.includes(`${w}`)){const P=g[w];return t.createElement("div",{className:`${O} ${x}-image`},t.createElement(P,null))}const $=t.createElement(p[w]);return S===null||S===!1?null:t.createElement("div",{className:O},S||$)},y=C=>{let{prefixCls:x,extra:S}=C;return S?t.createElement("div",{className:`${x}-extra`},S):null},b=C=>{let{prefixCls:x,className:S,rootClassName:w,subTitle:O,title:$,style:P,children:T,status:R="info",icon:M,extra:A}=C;const{getPrefixCls:N,direction:k,result:D}=t.useContext(l.ConfigContext),L=N("result",x),[B,j,z]=(0,c.default)(L),V=(0,a.default)(L,`${L}-${R}`,S,D==null?void 0:D.className,w,{[`${L}-rtl`]:k==="rtl"},j,z),W=Object.assign(Object.assign({},D==null?void 0:D.style),P);return B(t.createElement("div",{className:V,style:W},t.createElement(v,{prefixCls:L,status:R,icon:M}),t.createElement("div",{className:`${L}-title`},$),O&&t.createElement("div",{className:`${L}-subtitle`},O),t.createElement(y,{prefixCls:L,extra:A}),T&&t.createElement("div",{className:`${L}-content`},T)))};return b.PRESENTED_IMAGE_403=g[403],b.PRESENTED_IMAGE_404=g[404],b.PRESENTED_IMAGE_500=g[500],Cp.default=b,Cp}var jw={},L5e;function vQt(){if(L5e)return jw;L5e=1,Object.defineProperty(jw,"__esModule",{value:!0}),jw.default=void 0;var e=DC();return jw.default=e.Row,jw}var Dw={};const yQt=cr(k$t);var _m={},z5e;function bQt(){if(z5e)return _m;z5e=1,Object.defineProperty(_m,"__esModule",{value:!0}),_m.prepareComponentToken=_m.default=void 0;var e=Tn(),t=Jt(),n=Xt;function r(s,u){return{[`${s}, ${s}:hover, ${s}:focus`]:{color:u.colorTextDisabled,cursor:"not-allowed"}}}function i(s){return{backgroundColor:s.itemSelectedBg,boxShadow:s.boxShadowTertiary}}const o=Object.assign({overflow:"hidden"},e.textEllipsis),a=s=>{const{componentCls:u}=s,c=s.calc(s.controlHeight).sub(s.calc(s.trackPadding).mul(2)).equal(),f=s.calc(s.controlHeightLG).sub(s.calc(s.trackPadding).mul(2)).equal(),h=s.calc(s.controlHeightSM).sub(s.calc(s.trackPadding).mul(2)).equal();return{[u]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(s)),{display:"inline-block",padding:s.trackPadding,color:s.itemColor,background:s.trackBg,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,[`${u}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${u}-rtl`]:{direction:"rtl"},[`&${u}-block`]:{display:"flex"},[`&${u}-block ${u}-item`]:{flex:1,minWidth:0},[`${u}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${s.motionDurationMid} ${s.motionEaseInOut}`,borderRadius:s.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},i(s)),{color:s.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${s.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${u}-item-selected):not(${u}-item-disabled)`]:{color:s.itemHoverColor,"&::after":{backgroundColor:s.itemHoverBg}},[`&:active:not(${u}-item-selected):not(${u}-item-disabled)`]:{color:s.itemHoverColor,"&::after":{backgroundColor:s.itemActiveBg}},"&-label":Object.assign({minHeight:c,lineHeight:(0,n.unit)(c),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontal)}`},o),"&-icon + *":{marginInlineStart:s.calc(s.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${u}-thumb`]:Object.assign(Object.assign({},i(s)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,n.unit)(s.paddingXXS)} 0`,borderRadius:s.borderRadiusSM,[`& ~ ${u}-item:not(${u}-item-selected):not(${u}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${u}-lg`]:{borderRadius:s.borderRadiusLG,[`${u}-item-label`]:{minHeight:f,lineHeight:(0,n.unit)(f),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontal)}`,fontSize:s.fontSizeLG},[`${u}-item, ${u}-thumb`]:{borderRadius:s.borderRadius}},[`&${u}-sm`]:{borderRadius:s.borderRadiusSM,[`${u}-item-label`]:{minHeight:h,lineHeight:(0,n.unit)(h),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontalSM)}`},[`${u}-item, ${u}-thumb`]:{borderRadius:s.borderRadiusXS}}}),r(`&-disabled ${u}-item`,s)),r(`${u}-item-disabled`,s)),{[`${u}-thumb-motion-appear-active`]:{transition:`transform ${s.motionDurationSlow} ${s.motionEaseInOut}, width ${s.motionDurationSlow} ${s.motionEaseInOut}`,willChange:"transform, width"}})}},l=s=>{const{colorTextLabel:u,colorText:c,colorFillSecondary:f,colorBgElevated:h,colorFill:d,lineWidthBold:p,colorBgLayout:g}=s;return{trackPadding:p,trackBg:g,itemColor:u,itemHoverColor:c,itemHoverBg:f,itemSelectedBg:h,itemActiveBg:d,itemSelectedColor:c}};return _m.prepareComponentToken=l,_m.default=(0,t.genStyleHooks)("Segmented",s=>{const{lineWidth:u,calc:c}=s,f=(0,t.mergeToken)(s,{segmentedPaddingHorizontal:c(s.controlPaddingHorizontal).sub(u).equal(),segmentedPaddingHorizontalSM:c(s.controlPaddingHorizontalSM).sub(u).equal()});return[a(f)]},l),_m}var B5e;function CQt(){if(B5e)return Dw;B5e=1;var e=ze;Object.defineProperty(Dw,"__esModule",{value:!0}),Dw.default=void 0;var t=e(Tt()),n=e(yQt),r=s(_),i=Lt(),o=e(no()),a=e(bQt());function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{prefixCls:g,className:m,rootClassName:v,block:y,options:b=[],size:C="middle",style:x}=d,S=u(d,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:w,direction:O,segmented:$}=r.useContext(i.ConfigContext),P=w("segmented",g),[T,R,M]=(0,a.default)(P),A=(0,o.default)(C),N=r.useMemo(()=>b.map(L=>{if(c(L)){const{icon:B,label:j}=L,z=u(L,["icon","label"]);return Object.assign(Object.assign({},z),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${P}-item-icon`},B),j&&r.createElement("span",null,j))})}return L}),[b,P]),k=(0,t.default)(m,v,$==null?void 0:$.className,{[`${P}-block`]:y,[`${P}-sm`]:A==="small",[`${P}-lg`]:A==="large"},R,M),D=Object.assign(Object.assign({},$==null?void 0:$.style),x);return T(r.createElement(n.default,Object.assign({},S,{className:k,style:D,options:N,ref:p,prefixCls:P,direction:O})))});return Dw.default=h,Dw}var Lw={};const SQt=cr(K$t);var zw={},F5e;function xQt(){if(F5e)return zw;F5e=1;var e=ze;Object.defineProperty(zw,"__esModule",{value:!0}),zw.default=void 0;var t=e(Gy()),n=Nc(),r=l(_),i=r,o=e(kc());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const s=i.forwardRef((u,c)=>{const{open:f}=u,h=(0,r.useRef)(null),d=(0,r.useRef)(null);function p(){t.default.cancel(d.current),d.current=null}function g(){d.current=(0,t.default)(()=>{var m;(m=h.current)===null||m===void 0||m.forceAlign(),d.current=null})}return i.useEffect(()=>(f?g():p(),p),[f,u.title]),i.createElement(o.default,Object.assign({ref:(0,n.composeRef)(h,c)},u))});return zw.default=s,zw}var wm={},H5e;function _Qt(){if(H5e)return wm;H5e=1,Object.defineProperty(wm,"__esModule",{value:!0}),wm.prepareComponentToken=wm.default=void 0;var e=Ea,t=Tn(),n=Jt(),r=Xt;const i=u=>{const{componentCls:c,antCls:f,controlSize:h,dotSize:d,marginFull:p,marginPart:g,colorFillContentHover:m,handleColorDisabled:v,calc:y}=u;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(u)),{position:"relative",height:h,margin:`${(0,r.unit)(g)} ${(0,r.unit)(p)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,r.unit)(p)} ${(0,r.unit)(g)}`},[`${c}-rail`]:{position:"absolute",backgroundColor:u.railBg,borderRadius:u.borderRadiusXS,transition:`background-color ${u.motionDurationMid}`},[`${c}-track,${c}-tracks`]:{position:"absolute",transition:`background-color ${u.motionDurationMid}`},[`${c}-track`]:{backgroundColor:u.trackBg,borderRadius:u.borderRadiusXS},[`${c}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${c}-rail`]:{backgroundColor:u.railHoverBg},[`${c}-track`]:{backgroundColor:u.trackHoverBg},[`${c}-dot`]:{borderColor:m},[`${c}-handle::after`]:{boxShadow:`0 0 0 ${(0,r.unit)(u.handleLineWidth)} ${u.colorPrimaryBorderHover}`},[`${c}-dot-active`]:{borderColor:u.dotActiveBorderColor}},[`${c}-handle`]:{position:"absolute",width:u.handleSize,height:u.handleSize,outline:"none","&::before":{content:'""',position:"absolute",insetInlineStart:y(u.handleLineWidth).mul(-1).equal(),insetBlockStart:y(u.handleLineWidth).mul(-1).equal(),width:y(u.handleSize).add(y(u.handleLineWidth).mul(2)).equal(),height:y(u.handleSize).add(y(u.handleLineWidth).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u.handleSize,height:u.handleSize,backgroundColor:u.colorBgElevated,boxShadow:`0 0 0 ${(0,r.unit)(u.handleLineWidth)} ${u.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + `]:{display:"inline-block",minWidth:p.itemSize,height:p.itemSize,color:p.colorText,fontFamily:p.fontFamily,lineHeight:`${(0,e.unit)(p.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:p.borderRadius,cursor:"pointer",transition:`all ${p.motionDurationMid}`},[`${g}-prev, ${g}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:p.colorText,cursor:"pointer",userSelect:"none"},[`${g}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:p.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidth)} ${p.lineType} transparent`,borderRadius:p.borderRadius,outline:"none",transition:`all ${p.motionDurationMid}`},[`&:hover ${g}-item-link`]:{backgroundColor:p.colorBgTextHover},[`&:active ${g}-item-link`]:{backgroundColor:p.colorBgTextActive},[`&${g}-disabled:hover`]:{[`${g}-item-link`]:{backgroundColor:"transparent"}}},[`${g}-slash`]:{marginInlineEnd:p.paginationSlashMarginInlineEnd,marginInlineStart:p.paginationSlashMarginInlineStart},[`${g}-options`]:{display:"inline-block",marginInlineStart:p.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:p.controlHeight,marginInlineStart:p.marginXS,lineHeight:(0,e.unit)(p.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,t.genBasicInputStyle)(p)),(0,i.genBaseOutlinedStyle)(p,{borderColor:p.colorBorder,hoverBorderColor:p.colorPrimaryHover,activeBorderColor:p.colorPrimary,activeShadow:p.activeShadow})),{"&[disabled]":Object.assign({},(0,i.genDisabledStyle)(p)),width:p.calc(p.controlHeightLG).mul(1.25).equal(),height:p.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:p.marginXS,marginInlineEnd:p.marginXS})}}}},u=p=>{const{componentCls:g}=p;return{[`${g}-item`]:{display:"inline-block",minWidth:p.itemSize,height:p.itemSize,marginInlineEnd:p.marginXS,fontFamily:p.fontFamily,lineHeight:(0,e.unit)(p.calc(p.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidth)} ${p.lineType} transparent`,borderRadius:p.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,e.unit)(p.paginationItemPaddingInline)}`,color:p.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${g}-item-active)`]:{"&:hover":{transition:`all ${p.motionDurationMid}`,backgroundColor:p.colorBgTextHover},"&:active":{backgroundColor:p.colorBgTextActive}},"&-active":{fontWeight:p.fontWeightStrong,backgroundColor:p.itemActiveBg,borderColor:p.colorPrimary,a:{color:p.colorPrimary},"&:hover":{borderColor:p.colorPrimaryHover},"&:hover a":{color:p.colorPrimaryHover}}}}},c=p=>{const{componentCls:g}=p;return{[g]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(p)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${g}-total-text`]:{display:"inline-block",height:p.itemSize,marginInlineEnd:p.marginXS,lineHeight:(0,e.unit)(p.calc(p.itemSize).sub(2).equal()),verticalAlign:"middle"}}),u(p)),s(p)),l(p)),a(p)),o(p)),{[`@media only screen and (max-width: ${p.screenLG}px)`]:{[`${g}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${p.screenSM}px)`]:{[`${g}-options`]:{display:"none"}}}),[`&${p.componentCls}-rtl`]:{direction:"rtl"}}},f=p=>{const{componentCls:g}=p;return{[`${g}:not(${g}-disabled)`]:{[`${g}-item`]:Object.assign({},(0,n.genFocusStyle)(p)),[`${g}-jump-prev, ${g}-jump-next`]:{"&:focus-visible":Object.assign({[`${g}-item-link-icon`]:{opacity:1},[`${g}-item-ellipsis`]:{opacity:0}},(0,n.genFocusOutline)(p))},[`${g}-prev, ${g}-next`]:{[`&:focus-visible ${g}-item-link`]:Object.assign({},(0,n.genFocusOutline)(p))}}}},h=p=>Object.assign({itemBg:p.colorBgContainer,itemSize:p.controlHeight,itemSizeSM:p.controlHeightSM,itemActiveBg:p.colorBgContainer,itemLinkBg:p.colorBgContainer,itemActiveColorDisabled:p.colorTextDisabled,itemActiveBgDisabled:p.controlItemBgActiveDisabled,itemInputBg:p.colorBgContainer,miniOptionsSizeChangerTop:0},(0,t.initComponentToken)(p));mp.prepareComponentToken=h;const d=p=>(0,r.mergeToken)(p,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:p.calc(p.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:p.calc(p.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:p.calc(p.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:p.calc(p.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:p.marginXXS,paginationSlashMarginInlineEnd:p.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,t.initInputToken)(p));return mp.prepareToken=d,mp.default=(0,r.genStyleHooks)("Pagination",p=>{const g=d(p);return[c(g),f(g)]},h),mp}var _w={},Xxe;function TZt(){if(Xxe)return _w;Xxe=1,Object.defineProperty(_w,"__esModule",{value:!0}),_w.default=void 0;var e=_qe(),t=ZVe(),n=Xt;const r=i=>{const{componentCls:o}=i;return{[`${o}${o}-bordered${o}-disabled:not(${o}-mini)`]:{"&, &:hover":{[`${o}-item-link`]:{borderColor:i.colorBorder}},"&:focus-visible":{[`${o}-item-link`]:{borderColor:i.colorBorder}},[`${o}-item, ${o}-item-link`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,[`&:hover:not(${o}-item-active)`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,a:{color:i.colorTextDisabled}},[`&${o}-item-active`]:{backgroundColor:i.itemActiveBgDisabled}},[`${o}-prev, ${o}-next`]:{"&:hover button":{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder,color:i.colorTextDisabled},[`${o}-item-link`]:{backgroundColor:i.colorBgContainerDisabled,borderColor:i.colorBorder}}},[`${o}${o}-bordered:not(${o}-mini)`]:{[`${o}-prev, ${o}-next`]:{"&:hover button":{borderColor:i.colorPrimaryHover,backgroundColor:i.itemBg},[`${o}-item-link`]:{backgroundColor:i.itemLinkBg,borderColor:i.colorBorder},[`&:hover ${o}-item-link`]:{borderColor:i.colorPrimary,backgroundColor:i.itemBg,color:i.colorPrimary},[`&${o}-disabled`]:{[`${o}-item-link`]:{borderColor:i.colorBorder,color:i.colorTextDisabled}}},[`${o}-item`]:{backgroundColor:i.itemBg,border:`${(0,n.unit)(i.lineWidth)} ${i.lineType} ${i.colorBorder}`,[`&:hover:not(${o}-item-active)`]:{borderColor:i.colorPrimary,backgroundColor:i.itemBg,a:{color:i.colorPrimary}},"&-active":{borderColor:i.colorPrimary}}}}};return _w.default=(0,e.genSubStyleComponent)(["Pagination","bordered"],i=>{const o=(0,t.prepareToken)(i);return[r(o)]},t.prepareComponentToken),_w}var Yxe;function MZt(){if(Yxe)return xw;Yxe=1;var e=ze;Object.defineProperty(xw,"__esModule",{value:!0}),xw.default=void 0;var t=e(_Zt()),n=e(EZt()),r=e(cP()),i=e(Jy()),o=e(Tt()),a=e($Zt),l=e(lqe()),s=y(_),u=Lt(),c=e(no()),f=e(Zy()),h=Rl(),d=PZt(),p=e(ZVe()),g=Jt(),m=e(TZt());function v(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(v=function(O){return O?w:S})(x)}function y(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=v(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}var b=function(x,S){var w={};for(var O in x)Object.prototype.hasOwnProperty.call(x,O)&&S.indexOf(O)<0&&(w[O]=x[O]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,O=Object.getOwnPropertySymbols(x);${const{prefixCls:S,selectPrefixCls:w,className:O,rootClassName:$,style:P,size:T,locale:R,selectComponentClass:M,responsive:A,showSizeChanger:N}=x,j=b(x,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:D}=(0,f.default)(A),[,L]=(0,g.useToken)(),{getPrefixCls:B,direction:k,pagination:z={}}=s.useContext(u.ConfigContext),q=B("pagination",S),[W,U,K]=(0,p.default)(q),X=N??z.showSizeChanger,G=s.useMemo(()=>{const oe=s.createElement("span",{className:`${q}-item-ellipsis`},"•••"),se=s.createElement("button",{className:`${q}-item-link`,type:"button",tabIndex:-1},k==="rtl"?s.createElement(i.default,null):s.createElement(r.default,null)),ye=s.createElement("button",{className:`${q}-item-link`,type:"button",tabIndex:-1},k==="rtl"?s.createElement(r.default,null):s.createElement(i.default,null)),be=s.createElement("a",{className:`${q}-item-link`},s.createElement("div",{className:`${q}-item-container`},k==="rtl"?s.createElement(n.default,{className:`${q}-item-link-icon`}):s.createElement(t.default,{className:`${q}-item-link-icon`}),oe)),he=s.createElement("a",{className:`${q}-item-link`},s.createElement("div",{className:`${q}-item-container`},k==="rtl"?s.createElement(t.default,{className:`${q}-item-link-icon`}):s.createElement(n.default,{className:`${q}-item-link-icon`}),oe));return{prevIcon:se,nextIcon:ye,jumpPrevIcon:be,jumpNextIcon:he}},[k,q]),[Y]=(0,h.useLocale)("Pagination",l.default),J=Object.assign(Object.assign({},Y),R),ee=(0,c.default)(T),Q=ee==="small"||!!(D&&!ee&&A),te=B("select",w),ne=(0,o.default)({[`${q}-mini`]:Q,[`${q}-rtl`]:k==="rtl",[`${q}-bordered`]:L.wireframe},z==null?void 0:z.className,O,$,U,K),re=Object.assign(Object.assign({},z==null?void 0:z.style),P);return W(s.createElement(s.Fragment,null,L.wireframe&&s.createElement(m.default,{prefixCls:q}),s.createElement(a.default,Object.assign({},G,j,{style:re,prefixCls:q,selectPrefixCls:te,className:ne,selectComponentClass:M||(Q?d.MiniSelect:d.MiddleSelect),locale:J,showSizeChanger:X}))))};return xw.default=C,xw}var Zxe;function zF(){if(Zxe)return Sw;Zxe=1;var e=ze;Object.defineProperty(Sw,"__esModule",{value:!0}),Sw.default=void 0;var t=e(MZt());return Sw.default=t.default,Sw}var ww={},dm={},Qxe;function RZt(){if(Qxe)return dm;Qxe=1,Object.defineProperty(dm,"__esModule",{value:!0}),dm.prepareComponentToken=dm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=new e.Keyframes("antSpinMove",{to:{opacity:1}}),i=new e.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),o=l=>{const{componentCls:s,calc:u}=l;return{[`${s}`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"absolute",display:"none",color:l.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${l.motionDurationSlow} ${l.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${s}-text`]:{fontSize:l.fontSize,paddingTop:u(u(l.dotSize).sub(l.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:l.colorBgMask,zIndex:l.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${l.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${s}-dot ${s}-dot-item`]:{backgroundColor:l.colorWhite},[`${s}-text`]:{color:l.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${s}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:l.contentHeight,[`${s}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:u(l.dotSize).mul(-1).div(2).equal()},[`${s}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${l.colorBgContainer}`},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${s}-dot`]:{margin:u(l.dotSizeSM).mul(-1).div(2).equal()},[`${s}-text`]:{paddingTop:u(u(l.dotSizeSM).sub(l.fontSize)).div(2).add(2).equal()},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${s}-dot`]:{margin:u(l.dotSizeLG).mul(-1).div(2).equal()},[`${s}-text`]:{paddingTop:u(u(l.dotSizeLG).sub(l.fontSize)).div(2).add(2).equal()},[`&${s}-show-text ${s}-dot`]:{marginTop:u(l.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${s}-container`]:{position:"relative",transition:`opacity ${l.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:l.colorBgContainer,opacity:0,transition:`all ${l.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${s}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:l.spinDotDefault},[`${s}-dot`]:{position:"relative",display:"inline-block",fontSize:l.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:u(l.dotSize).sub(u(l.marginXXS).div(2)).div(2).equal(),height:u(l.dotSize).sub(u(l.marginXXS).div(2)).div(2).equal(),backgroundColor:l.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:r,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:i,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${s}-dot`]:{fontSize:l.dotSizeSM,i:{width:u(u(l.dotSizeSM).sub(u(l.marginXXS).div(2))).div(2).equal(),height:u(u(l.dotSizeSM).sub(u(l.marginXXS).div(2))).div(2).equal()}},[`&-lg ${s}-dot`]:{fontSize:l.dotSizeLG,i:{width:u(u(l.dotSizeLG).sub(l.marginXXS)).div(2).equal(),height:u(u(l.dotSizeLG).sub(l.marginXXS)).div(2).equal()}},[`&${s}-show-text ${s}-text`]:{display:"block"}})}},a=l=>{const{controlHeightLG:s,controlHeight:u}=l;return{contentHeight:400,dotSize:s/2,dotSizeSM:s*.35,dotSizeLG:u}};return dm.prepareComponentToken=a,dm.default=(0,n.genStyleHooks)("Spin",l=>{const s=(0,n.mergeToken)(l,{spinDotDefault:l.colorTextDescription});return[o(s)]},a),dm}var Jxe;function pP(){if(Jxe)return ww;Jxe=1;var e=ze;Object.defineProperty(ww,"__esModule",{value:!0}),ww.default=void 0;var t=u(_),n=e(Tt()),r=e(Qr()),i=JLe(),o=to();_n();var a=Lt(),l=e(RZt());function s(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(s=function(y){return y?v:m})(g)}function u(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=s(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var c=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:m,spinning:v=!0,delay:y=0,className:b,rootClassName:C,size:x="default",tip:S,wrapperClassName:w,style:O,children:$,fullscreen:P=!1}=g,T=c(g,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen"]),{getPrefixCls:R}=t.useContext(a.ConfigContext),M=R("spin",m),[A,N,j]=(0,l.default)(M),[D,L]=t.useState(()=>v&&!d(v,y));t.useEffect(()=>{if(v){const G=(0,i.debounce)(y,()=>{L(!0)});return G(),()=>{var Y;(Y=G==null?void 0:G.cancel)===null||Y===void 0||Y.call(G)}}L(!1)},[y,v]);const B=t.useMemo(()=>typeof $<"u"&&!P,[$,P]),{direction:k,spin:z}=t.useContext(a.ConfigContext),q=(0,n.default)(M,z==null?void 0:z.className,{[`${M}-sm`]:x==="small",[`${M}-lg`]:x==="large",[`${M}-spinning`]:D,[`${M}-show-text`]:!!S,[`${M}-fullscreen`]:P,[`${M}-fullscreen-show`]:P&&D,[`${M}-rtl`]:k==="rtl"},b,C,N,j),W=(0,n.default)(`${M}-container`,{[`${M}-blur`]:D}),U=(0,r.default)(T,["indicator"]),K=Object.assign(Object.assign({},z==null?void 0:z.style),O),X=t.createElement("div",Object.assign({},U,{style:K,className:q,"aria-live":"polite","aria-busy":D}),h(M,g),S&&(B||P)?t.createElement("div",{className:`${M}-text`},S):null);return A(B?t.createElement("div",Object.assign({},U,{className:(0,n.default)(`${M}-nested-loading`,w,N,j)}),D&&t.createElement("div",{key:"loading"},X),t.createElement("div",{className:W,key:"container"},$)):X)};return p.setDefaultIndicator=g=>{f=g},ww.default=p,ww}var fm={},pm={},e5e;function QVe(){if(e5e)return pm;e5e=1;var e=ze;Object.defineProperty(pm,"__esModule",{value:!0}),pm.ListContext=pm.ListConsumer=void 0;var t=e(_);const n=pm.ListContext=t.default.createContext({});return pm.ListConsumer=n.Consumer,pm}var t5e;function IZt(){if(t5e)return fm;t5e=1;var e=ze;Object.defineProperty(fm,"__esModule",{value:!0}),fm.default=fm.Meta=void 0;var t=e(Tt()),n=s(_),r=to(),i=Lt(),o=DC(),a=QVe();function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{var{prefixCls:p,className:g,avatar:m,title:v,description:y}=d,b=u(d,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:C}=(0,n.useContext)(i.ConfigContext),x=C("list",p),S=(0,t.default)(`${x}-item-meta`,g),w=n.default.createElement("div",{className:`${x}-item-meta-content`},v&&n.default.createElement("h4",{className:`${x}-item-meta-title`},v),y&&n.default.createElement("div",{className:`${x}-item-meta-description`},y));return n.default.createElement("div",Object.assign({},b,{className:S}),m&&n.default.createElement("div",{className:`${x}-item-meta-avatar`},m),(v||y)&&w)};fm.Meta=c;const f=(d,p)=>{var{prefixCls:g,children:m,actions:v,extra:y,className:b,colStyle:C}=d,x=u(d,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:S,itemLayout:w}=(0,n.useContext)(a.ListContext),{getPrefixCls:O}=(0,n.useContext)(i.ConfigContext),$=()=>{let N;return n.Children.forEach(m,j=>{typeof j=="string"&&(N=!0)}),N&&n.Children.count(m)>1},P=()=>w==="vertical"?!!y:!$(),T=O("list",g),R=v&&v.length>0&&n.default.createElement("ul",{className:`${T}-item-action`,key:"actions"},v.map((N,j)=>n.default.createElement("li",{key:`${T}-item-action-${j}`},N,j!==v.length-1&&n.default.createElement("em",{className:`${T}-item-action-split`})))),M=S?"div":"li",A=n.default.createElement(M,Object.assign({},x,S?{}:{ref:p},{className:(0,t.default)(`${T}-item`,{[`${T}-item-no-flex`]:!P()},b)}),w==="vertical"&&y?[n.default.createElement("div",{className:`${T}-item-main`,key:"content"},m,R),n.default.createElement("div",{className:`${T}-item-extra`,key:"extra"},y)]:[m,R,(0,r.cloneElement)(y,{key:"extra"})]);return S?n.default.createElement(o.Col,{ref:p,flex:1,style:C},A):A},h=(0,n.forwardRef)(f);return h.Meta=c,fm.default=h,fm}var hm={},n5e;function NZt(){if(n5e)return hm;n5e=1,Object.defineProperty(hm,"__esModule",{value:!0}),hm.prepareComponentToken=hm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=l=>{const{listBorderedCls:s,componentCls:u,paddingLG:c,margin:f,itemPaddingSM:h,itemPaddingLG:d,marginLG:p,borderRadiusLG:g}=l;return{[`${s}`]:{border:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,borderRadius:g,[`${u}-header,${u}-footer,${u}-item`]:{paddingInline:c},[`${u}-pagination`]:{margin:`${(0,e.unit)(f)} ${(0,e.unit)(p)}`}},[`${s}${u}-sm`]:{[`${u}-item,${u}-header,${u}-footer`]:{padding:h}},[`${s}${u}-lg`]:{[`${u}-item,${u}-header,${u}-footer`]:{padding:d}}}},i=l=>{const{componentCls:s,screenSM:u,screenMD:c,marginLG:f,marginSM:h,margin:d}=l;return{[`@media screen and (max-width:${c}px)`]:{[`${s}`]:{[`${s}-item`]:{[`${s}-item-action`]:{marginInlineStart:f}}},[`${s}-vertical`]:{[`${s}-item`]:{[`${s}-item-extra`]:{marginInlineStart:f}}}},[`@media screen and (max-width: ${u}px)`]:{[`${s}`]:{[`${s}-item`]:{flexWrap:"wrap",[`${s}-action`]:{marginInlineStart:h}}},[`${s}-vertical`]:{[`${s}-item`]:{flexWrap:"wrap-reverse",[`${s}-item-main`]:{minWidth:l.contentWidth},[`${s}-item-extra`]:{margin:`auto auto ${(0,e.unit)(d)}`}}}}}},o=l=>{const{componentCls:s,antCls:u,controlHeight:c,minHeight:f,paddingSM:h,marginLG:d,padding:p,itemPadding:g,colorPrimary:m,itemPaddingSM:v,itemPaddingLG:y,paddingXS:b,margin:C,colorText:x,colorTextDescription:S,motionDurationSlow:w,lineWidth:O,headerBg:$,footerBg:P,emptyTextPadding:T,metaMarginBottom:R,avatarMarginRight:M,titleMarginBottom:A,descriptionFontSize:N}=l,j={};return["start","center","end"].forEach(D=>{j[`&-align-${D}`]={textAlign:D}}),{[`${s}`]:Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"relative","*":{outline:"none"},[`${s}-header`]:{background:$},[`${s}-footer`]:{background:P},[`${s}-header, ${s}-footer`]:{paddingBlock:h},[`${s}-pagination`]:Object.assign(Object.assign({marginBlockStart:d},j),{[`${u}-pagination-options`]:{textAlign:"start"}}),[`${s}-spin`]:{minHeight:f,textAlign:"center"},[`${s}-items`]:{margin:0,padding:0,listStyle:"none"},[`${s}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:g,color:x,[`${s}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${s}-item-meta-avatar`]:{marginInlineEnd:M},[`${s}-item-meta-content`]:{flex:"1 0",width:0,color:x},[`${s}-item-meta-title`]:{margin:`0 0 ${(0,e.unit)(l.marginXXS)} 0`,color:x,fontSize:l.fontSize,lineHeight:l.lineHeight,"> a":{color:x,transition:`all ${w}`,"&:hover":{color:m}}},[`${s}-item-meta-description`]:{color:S,fontSize:N,lineHeight:l.lineHeight}},[`${s}-item-action`]:{flex:"0 0 auto",marginInlineStart:l.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,e.unit)(b)}`,color:S,fontSize:l.fontSize,lineHeight:l.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${s}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:O,height:l.calc(l.fontHeight).sub(l.calc(l.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:l.colorSplit}}},[`${s}-empty`]:{padding:`${(0,e.unit)(p)} 0`,color:S,fontSize:l.fontSizeSM,textAlign:"center"},[`${s}-empty-text`]:{padding:T,color:l.colorTextDisabled,fontSize:l.fontSize,textAlign:"center"},[`${s}-item-no-flex`]:{display:"block"}}),[`${s}-grid ${u}-col > ${s}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:C,paddingBlock:0,borderBlockEnd:"none"},[`${s}-vertical ${s}-item`]:{alignItems:"initial",[`${s}-item-main`]:{display:"block",flex:1},[`${s}-item-extra`]:{marginInlineStart:d},[`${s}-item-meta`]:{marginBlockEnd:R,[`${s}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:A,color:x,fontSize:l.fontSizeLG,lineHeight:l.lineHeightLG}},[`${s}-item-action`]:{marginBlockStart:p,marginInlineStart:"auto","> li":{padding:`0 ${(0,e.unit)(p)}`,"&:first-child":{paddingInlineStart:0}}}},[`${s}-split ${s}-item`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${s}-split ${s}-header`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-split${s}-empty ${s}-footer`]:{borderTop:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-loading ${s}-spin-nested-loading`]:{minHeight:c},[`${s}-split${s}-something-after-last-item ${u}-spin-container > ${s}-items > ${s}-item:last-child`]:{borderBlockEnd:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorSplit}`},[`${s}-lg ${s}-item`]:{padding:y},[`${s}-sm ${s}-item`]:{padding:v},[`${s}:not(${s}-vertical)`]:{[`${s}-item-no-flex`]:{[`${s}-item-action`]:{float:"right"}}}}},a=l=>({contentWidth:220,itemPadding:`${(0,e.unit)(l.paddingContentVertical)} 0`,itemPaddingSM:`${(0,e.unit)(l.paddingContentVerticalSM)} ${(0,e.unit)(l.paddingContentHorizontal)}`,itemPaddingLG:`${(0,e.unit)(l.paddingContentVerticalLG)} ${(0,e.unit)(l.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:l.padding,metaMarginBottom:l.padding,avatarMarginRight:l.padding,titleMarginBottom:l.paddingSM,descriptionFontSize:l.fontSize});return hm.prepareComponentToken=a,hm.default=(0,n.genStyleHooks)("List",l=>{const s=(0,n.mergeToken)(l,{listBorderedCls:`${l.componentCls}-bordered`,minHeight:l.controlHeightLG});return[o(s),r(s),i(s)]},a),hm}var r5e;function AZt(){if(r5e)return bw;r5e=1;var e=ze;Object.defineProperty(bw,"__esModule",{value:!0}),bw.default=void 0;var t=e(qr()),n=e(Tt()),r=v(_),i=e(YVe()),o=AC(),a=Lt(),l=e(k0()),s=DC(),u=e(Zy()),c=e(zF()),f=e(pP()),h=e(IZt()),d=QVe(),p=e(NZt()),g=e(no());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var y=function(C,x){var S={};for(var w in C)Object.prototype.hasOwnProperty.call(C,w)&&x.indexOf(w)<0&&(S[w]=C[w]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,w=Object.getOwnPropertySymbols(C);O(Ye,we)=>{var De;Y(Ye),ee(we),S&&S[ft]&&((De=S==null?void 0:S[ft])===null||De===void 0||De.call(S,Ye,we))},ye=se("onChange"),be=se("onShowSizeChange"),he=(ft,Ye)=>{if(!W)return null;let we;return typeof q=="function"?we=q(ft):q?we=ft[q]:we=ft.key,we||(we=`list-item-${Ye}`),r.createElement(r.Fragment,{key:we},W(ft,Ye))},le=()=>!!(N||S||k),ve=Q("list",w),[ke,Ie,Oe]=(0,p.default)(ve);let Pe=z;typeof Pe=="boolean"&&(Pe={spinning:Pe});const _e=Pe&&Pe.spinning,ce=(0,g.default)(L);let Te="";switch(ce){case"large":Te="lg";break;case"small":Te="sm";break}const Ne=(0,n.default)(ve,{[`${ve}-vertical`]:A==="vertical",[`${ve}-${Te}`]:Te,[`${ve}-split`]:$,[`${ve}-bordered`]:O,[`${ve}-loading`]:_e,[`${ve}-grid`]:!!j,[`${ve}-something-after-last-item`]:le(),[`${ve}-rtl`]:ne==="rtl"},re==null?void 0:re.className,P,T,Ie,Oe),je=(0,i.default)(oe,{total:D.length,current:G,pageSize:J},S||{}),He=Math.ceil(je.total/je.pageSize);je.current>He&&(je.current=He);const Be=S?r.createElement("div",{className:(0,n.default)(`${ve}-pagination`,`${ve}-pagination-align-${(x=je==null?void 0:je.align)!==null&&x!==void 0?x:"end"}`)},r.createElement(c.default,Object.assign({},je,{onChange:ye,onShowSizeChange:be}))):null;let qe=(0,t.default)(D);S&&D.length>(je.current-1)*je.pageSize&&(qe=(0,t.default)(D).splice((je.current-1)*je.pageSize,je.pageSize));const me=Object.keys(j||{}).some(ft=>["xs","sm","md","lg","xl","xxl"].includes(ft)),Ee=(0,u.default)(me),$e=r.useMemo(()=>{for(let ft=0;ft{if(!j)return;const ft=$e&&j[$e]?j[$e]:j.column;if(ft)return{width:`${100/ft}%`,maxWidth:`${100/ft}%`}},[j==null?void 0:j.column,$e]);let Fe=_e&&r.createElement("div",{style:{minHeight:53}});if(qe.length>0){const ft=qe.map((Ye,we)=>he(Ye,we));Fe=j?r.createElement(s.Row,{gutter:j.gutter},r.Children.map(ft,Ye=>r.createElement("div",{key:Ye==null?void 0:Ye.key,style:Le},Ye))):r.createElement("ul",{className:`${ve}-items`},ft)}else!M&&!_e&&(Fe=r.createElement("div",{className:`${ve}-empty-text`},U&&U.emptyText||(te==null?void 0:te("List"))||r.createElement(l.default,{componentName:"List"})));const Ke=je.position||"bottom",lt=r.useMemo(()=>({grid:j,itemLayout:A}),[JSON.stringify(j),A]);return ke(r.createElement(d.ListContext.Provider,{value:lt},r.createElement("div",Object.assign({style:Object.assign(Object.assign({},re==null?void 0:re.style),R),className:Ne},K),(Ke==="top"||Ke==="both")&&Be,B&&r.createElement("div",{className:`${ve}-header`},B),r.createElement(f.default,Object.assign({},Pe),Fe,M),k&&r.createElement("div",{className:`${ve}-footer`},k),N||(Ke==="bottom"||Ke==="both")&&Be)))}return b.Item=h.default,bw.default=b,bw}var gm={};const kZt=gr(f7t);var mm={},i5e;function jZt(){if(i5e)return mm;i5e=1,Object.defineProperty(mm,"__esModule",{value:!0}),mm.prepareComponentToken=mm.default=void 0;var e=eb(),t=Tn(),n=Jt(),r=Xt,i=uP();const o=l=>{const{componentCls:s,colorTextDisabled:u,controlItemBgHover:c,controlPaddingHorizontal:f,colorText:h,motionDurationSlow:d,lineHeight:p,controlHeight:g,paddingInline:m,paddingBlock:v,fontSize:y,fontSizeIcon:b,colorTextTertiary:C,colorTextQuaternary:x,colorBgElevated:S,paddingXXS:w,paddingLG:O,borderRadius:$,borderRadiusLG:P,boxShadowSecondary:T,itemPaddingVertical:R,calc:M}=l;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.resetComponent)(l)),(0,e.genBasicInputStyle)(l)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:p,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),(0,i.genOutlinedStyle)(l)),(0,i.genFilledStyle)(l)),(0,i.genBorderlessStyle)(l)),{"&-affix-wrapper":Object.assign(Object.assign({},(0,e.genBasicInputStyle)(l)),{display:"inline-flex",padding:0,"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${s}-suffix`]:{position:"absolute",top:0,insetInlineEnd:m,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`&:has(${s}-suffix) > ${s} > textarea`]:{paddingInlineEnd:O},[`${s}-clear-icon`]:{position:"absolute",insetInlineEnd:0,insetBlockStart:M(y).mul(p).mul(.5).add(v).equal(),transform:"translateY(-50%)",margin:0,color:x,fontSize:b,verticalAlign:-1,cursor:"pointer",transition:`color ${d}`,"&:hover":{color:C},"&:active":{color:h},"&-hidden":{visibility:"hidden"}}}),"&-disabled":{"> textarea":Object.assign({},(0,i.genDisabledStyle)(l))},[`&, &-affix-wrapper > ${s}`]:{[`> textarea, ${s}-measure`]:{color:h,boxSizing:"border-box",minHeight:l.calc(g).sub(2),margin:0,padding:`${(0,r.unit)(v)} ${(0,r.unit)(m)}`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"transparent"},(0,e.genPlaceholderStyle)(l.colorTextPlaceholder)),[`${s}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}}},"&-dropdown":Object.assign(Object.assign({},(0,t.resetComponent)(l)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:l.zIndexPopup,boxSizing:"border-box",fontSize:y,fontVariant:"initial",padding:w,backgroundColor:S,borderRadius:P,outline:"none",boxShadow:T,"&-hidden":{display:"none"},[`${s}-dropdown-menu`]:{maxHeight:l.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},t.textEllipsis),{position:"relative",display:"block",minWidth:l.controlItemWidth,padding:`${(0,r.unit)(R)} ${(0,r.unit)(f)}`,color:h,borderRadius:$,fontWeight:"normal",lineHeight:p,cursor:"pointer",transition:`background ${d} ease`,"&:hover":{backgroundColor:c},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:c,cursor:"not-allowed"}},"&-selected":{color:h,fontWeight:l.fontWeightStrong,backgroundColor:c},"&-active":{backgroundColor:c}})}})})}},a=l=>Object.assign(Object.assign({},(0,e.initComponentToken)(l)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:l.zIndexPopupBase+50,itemPaddingVertical:(l.controlHeight-l.fontHeight)/2});return mm.prepareComponentToken=a,mm.default=(0,n.genStyleHooks)("Mentions",l=>{const s=(0,n.mergeToken)(l,(0,e.initInputToken)(l));return[o(s)]},a),mm}var o5e;function DZt(){if(o5e)return gm;o5e=1;var e=ze;Object.defineProperty(gm,"__esModule",{value:!0}),gm.default=gm.Option=void 0;var t=m(_),n=e(Tt()),r=e(kZt),i=Nc(),o=e(kd()),a=jd();_n();var l=Lt(),s=e(k0()),u=fi(),c=e(pP()),f=e(jZt()),h=e(zr()),d=e(Dh()),p=e(TVe());function g(w){if(typeof WeakMap!="function")return null;var O=new WeakMap,$=new WeakMap;return(g=function(P){return P?$:O})(w)}function m(w,O){if(!O&&w&&w.__esModule)return w;if(w===null||typeof w!="object"&&typeof w!="function")return{default:w};var $=g(O);if($&&$.has(w))return $.get(w);var P={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in w)if(R!=="default"&&Object.prototype.hasOwnProperty.call(w,R)){var M=T?Object.getOwnPropertyDescriptor(w,R):null;M&&(M.get||M.set)?Object.defineProperty(P,R,M):P[R]=w[R]}return P.default=w,$&&$.set(w,P),P}var v=function(w,O){var $={};for(var P in w)Object.prototype.hasOwnProperty.call(w,P)&&O.indexOf(P)<0&&($[P]=w[P]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,P=Object.getOwnPropertySymbols(w);T{const{prefixCls:$,className:P,rootClassName:T,disabled:R,loading:M,filterOption:A,children:N,notFoundContent:j,options:D,status:L,allowClear:B=!1,popupClassName:k,style:z,variant:q}=w,W=v(w,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","allowClear","popupClassName","style","variant"]),[U,K]=t.useState(!1),X=t.useRef(null),G=(0,i.composeRef)(O,X),{getPrefixCls:Y,renderEmpty:J,direction:ee,mentions:Q}=t.useContext(l.ConfigContext),{status:te,hasFeedback:ne,feedbackIcon:re}=t.useContext(u.FormItemInputContext),oe=(0,a.getMergedStatus)(te,L),se=function(){W.onFocus&&W.onFocus.apply(W,arguments),K(!0)},ye=function(){W.onBlur&&W.onBlur.apply(W,arguments),K(!1)},be=t.useMemo(()=>j!==void 0?j:(J==null?void 0:J("Select"))||t.createElement(s.default,{componentName:"Select"}),[j,J]),he=t.useMemo(()=>M?t.createElement(y,{value:"ANTD_SEARCHING",disabled:!0},t.createElement(c.default,{size:"small"})):N,[M,N]),le=M?[{value:"ANTD_SEARCHING",disabled:!0,label:t.createElement(c.default,{size:"small"})}]:D,ve=M?b:A,ke=Y("mentions",$),Ie=(0,p.default)(B),Oe=(0,h.default)(ke),[Pe,_e,ce]=(0,f.default)(ke,Oe),[Te,Ne]=(0,d.default)(q),je=ne&&t.createElement(t.Fragment,null,re),He=(0,n.default)(Q==null?void 0:Q.className,P,T,ce,Oe),Be=t.createElement(r.default,Object.assign({prefixCls:ke,notFoundContent:be,className:He,disabled:R,allowClear:Ie,direction:ee,style:Object.assign(Object.assign({},Q==null?void 0:Q.style),z)},W,{filterOption:ve,onFocus:se,onBlur:ye,dropdownClassName:(0,n.default)(k,T,_e,ce,Oe),ref:G,options:le,suffix:je,classNames:{mentions:(0,n.default)({[`${ke}-disabled`]:R,[`${ke}-focused`]:U,[`${ke}-rtl`]:ee==="rtl"},_e),variant:(0,n.default)({[`${ke}-${Te}`]:Ne},(0,a.getStatusClassNames)(ke,oe)),affixWrapper:_e}}),he);return Pe(Be)},x=t.forwardRef(C);x.Option=y;const S=(0,o.default)(x,"mentions");return x._InternalPanelDoNotUseOrYouWillBeFired=S,x.getMentions=function(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:$="@",split:P=" "}=O,T=Array.isArray($)?$:[$];return w.split(P).map(function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",M=null;return T.some(A=>R.slice(0,A.length)===A?(M=A,!0):!1),M!==null?{prefix:M,value:R.slice(M.length)}:null}).filter(R=>!!R&&!!R.value)},gm.default=x,gm}var vp={},a5e;function LZt(){if(a5e)return vp;a5e=1;var e=ze;Object.defineProperty(vp,"__esModule",{value:!0}),vp.default=vp.actWrapper=vp.actDestroy=void 0;var t=e(qr()),n=c(_),r=bF(),i=Uoe(),o=c(Lt()),a=e(Mqe()),l=c(Iqe()),s=Rqe();function u(T){if(typeof WeakMap!="function")return null;var R=new WeakMap,M=new WeakMap;return(u=function(A){return A?M:R})(T)}function c(T,R){if(!R&&T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var M=u(R);if(M&&M.has(T))return M.get(T);var A={__proto__:null},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in T)if(j!=="default"&&Object.prototype.hasOwnProperty.call(T,j)){var D=N?Object.getOwnPropertyDescriptor(T,j):null;D&&(D.get||D.set)?Object.defineProperty(A,j,D):A[j]=T[j]}return A.default=T,M&&M.set(T,A),A}let f=null,h=T=>T(),d=[],p={};function g(){const{getContainer:T,duration:R,rtl:M,maxCount:A,top:N}=p,j=(T==null?void 0:T())||document.body;return{getContainer:()=>j,duration:R,rtl:M,maxCount:A,top:N}}const m=n.default.forwardRef((T,R)=>{const{messageConfig:M,sync:A}=T,{getPrefixCls:N}=(0,n.useContext)(o.ConfigContext),j=p.prefixCls||N("message"),D=(0,n.useContext)(i.AppConfigContext),[L,B]=(0,l.useInternalMessage)(Object.assign(Object.assign(Object.assign({},M),{prefixCls:j}),D.message));return n.default.useImperativeHandle(R,()=>{const k=Object.assign({},L);return Object.keys(k).forEach(z=>{k[z]=function(){return A(),L[z].apply(L,arguments)}}),{instance:k,sync:A}}),B}),v=n.default.forwardRef((T,R)=>{const[M,A]=n.default.useState(g),N=()=>{A(g)};n.default.useEffect(N,[]);const j=(0,o.globalConfig)(),D=j.getRootPrefixCls(),L=j.getIconPrefixCls(),B=j.getTheme(),k=n.default.createElement(m,{ref:R,sync:N,messageConfig:M});return n.default.createElement(o.default,{prefixCls:D,iconPrefixCls:L,theme:B},j.holderRender?j.holderRender(k):k)});function y(){if(!f){const T=document.createDocumentFragment(),R={fragment:T};f=R,h(()=>{(0,r.render)(n.default.createElement(v,{ref:M=>{const{instance:A,sync:N}=M||{};Promise.resolve().then(()=>{!R.instance&&A&&(R.instance=A,R.sync=N,y())})}}),T)});return}f.instance&&(d.forEach(T=>{const{type:R,skipped:M}=T;if(!M)switch(R){case"open":{h(()=>{const A=f.instance.open(Object.assign(Object.assign({},p),T.config));A==null||A.then(T.resolve),T.setCloseFn(A)});break}case"destroy":h(()=>{f==null||f.instance.destroy(T.key)});break;default:h(()=>{var A;const N=(A=f.instance)[R].apply(A,(0,t.default)(T.args));N==null||N.then(T.resolve),T.setCloseFn(N)})}}),d=[])}function b(T){p=Object.assign(Object.assign({},p),T),h(()=>{var R;(R=f==null?void 0:f.sync)===null||R===void 0||R.call(f)})}function C(T){const R=(0,s.wrapPromiseFn)(M=>{let A;const N={type:"open",config:T,resolve:M,setCloseFn:j=>{A=j}};return d.push(N),()=>{A?h(()=>{A()}):N.skipped=!0}});return y(),R}function x(T,R){(0,o.globalConfig)();const M=(0,s.wrapPromiseFn)(A=>{let N;const j={type:T,args:R,resolve:A,setCloseFn:D=>{N=D}};return d.push(j),()=>{N?h(()=>{N()}):j.skipped=!0}});return y(),M}function S(T){d.push({type:"destroy",key:T}),y()}const w=["success","info","warning","error","loading"],$={open:C,destroy:S,config:b,useMessage:l.default,_InternalPanelDoNotUseOrYouWillBeFired:a.default};w.forEach(T=>{$[T]=function(){for(var R=arguments.length,M=new Array(R),A=0;A{};return vp.actWrapper=P,vp.actDestroy=P,vp.default=$,vp}var Ow={},Ew={},l5e;function zZt(){if(l5e)return Ew;l5e=1;var e=ze;Object.defineProperty(Ew,"__esModule",{value:!0}),Ew.default=void 0;var t=f(_),n=e(Tt()),r=Dqe,i=kd(),o=Lt(),a=Woe(),l=zqe(),s=e(xF()),u=e(zr());function c(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(c=function(v){return v?m:g})(p)}function f(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=c(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}var h=function(p,g){var m={};for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&g.indexOf(v)<0&&(m[v]=p[v]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(p);y{const{prefixCls:g,className:m,closeIcon:v,closable:y,type:b,title:C,children:x,footer:S}=p,w=h(p,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:O}=t.useContext(o.ConfigContext),$=O(),P=g||O("modal"),T=(0,u.default)($),[R,M,A]=(0,s.default)(P,T),N=`${P}-confirm`;let j={};return b?j={closable:y??!1,title:"",footer:"",children:t.createElement(a.ConfirmContent,Object.assign({},p,{prefixCls:P,confirmPrefixCls:N,rootPrefixCls:$,content:x}))}:j={closable:y??!0,title:C,footer:S!==null&&t.createElement(l.Footer,Object.assign({},p)),children:x},R(t.createElement(r.Panel,Object.assign({prefixCls:P,className:(0,n.default)(M,`${P}-pure-panel`,b&&N,b&&`${N}-${b}`,m,A,T)},w,{closeIcon:(0,l.renderCloseIcon)(P,v),closable:y},j)))};return Ew.default=(0,i.withPureRenderTheme)(d),Ew}var s5e;function BZt(){if(s5e)return Ow;s5e=1;var e=ze;Object.defineProperty(Ow,"__esModule",{value:!0}),Ow.default=void 0;var t=l(Hqe()),n=e(qoe()),r=e(Fqe()),i=e(zZt()),o=e(Wqe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}function s(c){return(0,t.default)((0,t.withWarn)(c))}const u=r.default;return u.useModal=o.default,u.info=function(f){return(0,t.default)((0,t.withInfo)(f))},u.success=function(f){return(0,t.default)((0,t.withSuccess)(f))},u.error=function(f){return(0,t.default)((0,t.withError)(f))},u.warning=s,u.warn=s,u.confirm=function(f){return(0,t.default)((0,t.withConfirm)(f))},u.destroyAll=function(){for(;n.default.length;){const f=n.default.pop();f&&f()}},u.config=t.modalGlobalConfig,u._InternalPanelDoNotUseOrYouWillBeFired=i.default,Ow.default=u,Ow}var yp={},c5e;function FZt(){if(c5e)return yp;c5e=1;var e=ze;Object.defineProperty(yp,"__esModule",{value:!0}),yp.default=yp.actWrapper=yp.actDestroy=void 0;var t=s(_),n=bF(),r=Uoe(),i=s(Lt()),o=e(qqe()),a=s(Vqe());function l(O){if(typeof WeakMap!="function")return null;var $=new WeakMap,P=new WeakMap;return(l=function(T){return T?P:$})(O)}function s(O,$){if(!$&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var P=l($);if(P&&P.has(O))return P.get(O);var T={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in O)if(M!=="default"&&Object.prototype.hasOwnProperty.call(O,M)){var A=R?Object.getOwnPropertyDescriptor(O,M):null;A&&(A.get||A.set)?Object.defineProperty(T,M,A):T[M]=O[M]}return T.default=O,P&&P.set(O,T),T}let u=null,c=O=>O(),f=[],h={};function d(){const{getContainer:O,rtl:$,maxCount:P,top:T,bottom:R}=h,M=(O==null?void 0:O())||document.body;return{getContainer:()=>M,rtl:$,maxCount:P,top:T,bottom:R}}const p=t.default.forwardRef((O,$)=>{const{notificationConfig:P,sync:T}=O,{getPrefixCls:R}=(0,t.useContext)(i.ConfigContext),M=h.prefixCls||R("notification"),A=(0,t.useContext)(r.AppConfigContext),[N,j]=(0,a.useInternalNotification)(Object.assign(Object.assign(Object.assign({},P),{prefixCls:M}),A.notification));return t.default.useEffect(T,[]),t.default.useImperativeHandle($,()=>{const D=Object.assign({},N);return Object.keys(D).forEach(L=>{D[L]=function(){return T(),N[L].apply(N,arguments)}}),{instance:D,sync:T}}),j}),g=t.default.forwardRef((O,$)=>{const[P,T]=t.default.useState(d),R=()=>{T(d)};t.default.useEffect(R,[]);const M=(0,i.globalConfig)(),A=M.getRootPrefixCls(),N=M.getIconPrefixCls(),j=M.getTheme(),D=t.default.createElement(p,{ref:$,sync:R,notificationConfig:P});return t.default.createElement(i.default,{prefixCls:A,iconPrefixCls:N,theme:j},M.holderRender?M.holderRender(D):D)});function m(){if(!u){const O=document.createDocumentFragment(),$={fragment:O};u=$,c(()=>{(0,n.render)(t.default.createElement(g,{ref:P=>{const{instance:T,sync:R}=P||{};Promise.resolve().then(()=>{!$.instance&&T&&($.instance=T,$.sync=R,m())})}}),O)});return}u.instance&&(f.forEach(O=>{switch(O.type){case"open":{c(()=>{u.instance.open(Object.assign(Object.assign({},h),O.config))});break}case"destroy":c(()=>{u==null||u.instance.destroy(O.key)});break}}),f=[])}function v(O){h=Object.assign(Object.assign({},h),O),c(()=>{var $;($=u==null?void 0:u.sync)===null||$===void 0||$.call(u)})}function y(O){(0,i.globalConfig)(),f.push({type:"open",config:O}),m()}function b(O){f.push({type:"destroy",key:O}),m()}const C=["success","info","warning","error"],S={open:y,destroy:b,config:v,useNotification:a.default,_InternalPanelDoNotUseOrYouWillBeFired:o.default};C.forEach(O=>{S[O]=$=>y(Object.assign(Object.assign({},$),{type:O}))});const w=()=>{};return yp.actWrapper=w,yp.actDestroy=w,yp.default=S,yp}var $w={},Pw={},u5e;function hP(){if(u5e)return Pw;u5e=1,Object.defineProperty(Pw,"__esModule",{value:!0}),Pw.default=void 0;var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(n){var r=n.keyCode;if(n.altKey&&!n.ctrlKey||n.metaKey||r>=e.F1&&r<=e.F12)return!1;switch(r){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(n){if(n>=e.ZERO&&n<=e.NINE||n>=e.NUM_ZERO&&n<=e.NUM_MULTIPLY||n>=e.A&&n<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&n===0)return!0;switch(n){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};return Pw.default=e,Pw}var vm={},ym={},d5e;function JVe(){if(d5e)return ym;d5e=1,Object.defineProperty(ym,"__esModule",{value:!0}),ym.prepareComponentToken=ym.default=void 0;var e=Jt();const t=r=>{const{componentCls:i,iconCls:o,antCls:a,zIndexPopup:l,colorText:s,colorWarning:u,marginXXS:c,marginXS:f,fontSize:h,fontWeightStrong:d,colorTextHeading:p}=r;return{[i]:{zIndex:l,[`&${a}-popover`]:{fontSize:h},[`${i}-message`]:{marginBottom:f,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${i}-message-icon ${o}`]:{color:u,fontSize:h,lineHeight:1,marginInlineEnd:f},[`${i}-title`]:{fontWeight:d,color:p,"&:only-child":{fontWeight:"normal"}},[`${i}-description`]:{marginTop:c,color:s}},[`${i}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:f}}}}},n=r=>{const{zIndexPopupBase:i}=r;return{zIndexPopup:i+60}};return ym.prepareComponentToken=n,ym.default=(0,e.genStyleHooks)("Popconfirm",r=>t(r),n,{resetStyle:!1}),ym}var f5e;function HZt(){if(f5e)return vm;f5e=1;var e=ze;Object.defineProperty(vm,"__esModule",{value:!0}),vm.default=vm.Overlay=void 0;var t=e(A0()),n=e(Tt()),r=p(_),i=e(Foe()),o=Zoe(),a=e(Ac()),l=nP(),s=Lt(),u=Rl(),c=e(_u()),f=e(eae()),h=e(JVe());function d(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(d=function(x){return x?C:b})(y)}function p(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=d(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}var g=function(y,b){var C={};for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&b.indexOf(x)<0&&(C[x]=y[x]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,x=Object.getOwnPropertySymbols(y);S{const{prefixCls:b,okButtonProps:C,cancelButtonProps:x,title:S,description:w,cancelText:O,okText:$,okType:P="primary",icon:T=r.createElement(t.default,null),showCancel:R=!0,close:M,onConfirm:A,onCancel:N,onPopupClick:j}=y,{getPrefixCls:D}=r.useContext(s.ConfigContext),[L]=(0,u.useLocale)("Popconfirm",c.default.Popconfirm),B=(0,o.getRenderPropValue)(S),k=(0,o.getRenderPropValue)(w);return r.createElement("div",{className:`${b}-inner-content`,onClick:j},r.createElement("div",{className:`${b}-message`},T&&r.createElement("span",{className:`${b}-message-icon`},T),r.createElement("div",{className:`${b}-message-text`},B&&r.createElement("div",{className:(0,n.default)(`${b}-title`)},B),k&&r.createElement("div",{className:`${b}-description`},k))),r.createElement("div",{className:`${b}-buttons`},R&&r.createElement(a.default,Object.assign({onClick:N,size:"small"},x),O||(L==null?void 0:L.cancelText)),r.createElement(i.default,{buttonProps:Object.assign(Object.assign({size:"small"},(0,l.convertLegacyProps)(P)),C),actionFn:A,close:M,prefixCls:D("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},$||(L==null?void 0:L.okText))))};vm.Overlay=m;const v=y=>{const{prefixCls:b,placement:C,className:x,style:S}=y,w=g(y,["prefixCls","placement","className","style"]),{getPrefixCls:O}=r.useContext(s.ConfigContext),$=O("popconfirm",b),[P]=(0,h.default)($);return P(r.createElement(f.default,{placement:C,className:(0,n.default)($,x),style:S,content:r.createElement(m,Object.assign({prefixCls:$},w))}))};return vm.default=v,vm}var p5e;function WZt(){if(p5e)return $w;p5e=1;var e=ze;Object.defineProperty($w,"__esModule",{value:!0}),$w.default=void 0;var t=d(_),n=e(A0()),r=e(Tt()),i=e(ns()),o=e(hP()),a=e(Qr()),l=to(),s=Lt(),u=e(PF()),c=d(HZt()),f=e(JVe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{var y,b;const{prefixCls:C,placement:x="top",trigger:S="click",okType:w="primary",icon:O=t.createElement(n.default,null),children:$,overlayClassName:P,onOpenChange:T,onVisibleChange:R}=m,M=p(m,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:A}=t.useContext(s.ConfigContext),[N,j]=(0,i.default)(!1,{value:(y=m.open)!==null&&y!==void 0?y:m.visible,defaultValue:(b=m.defaultOpen)!==null&&b!==void 0?b:m.defaultVisible}),D=(X,G)=>{j(X,!0),R==null||R(X),T==null||T(X,G)},L=X=>{D(!1,X)},B=X=>{var G;return(G=m.onConfirm)===null||G===void 0?void 0:G.call(void 0,X)},k=X=>{var G;D(!1,X),(G=m.onCancel)===null||G===void 0||G.call(void 0,X)},z=X=>{X.keyCode===o.default.ESC&&N&&D(!1,X)},q=X=>{const{disabled:G=!1}=m;G||D(X)},W=A("popconfirm",C),U=(0,r.default)(W,P),[K]=(0,f.default)(W);return K(t.createElement(u.default,Object.assign({},(0,a.default)(M,["title"]),{trigger:S,placement:x,onOpenChange:q,open:N,ref:v,overlayClassName:U,content:t.createElement(c.Overlay,Object.assign({okType:w,icon:O},m,{prefixCls:W,close:L,onConfirm:B,onCancel:k})),"data-popover-inject":!0}),(0,l.cloneElement)($,{onKeyDown:X=>{var G,Y;t.isValidElement($)&&((Y=$==null?void 0:(G=$.props).onKeyDown)===null||Y===void 0||Y.call(G,X)),z(X)}})))});return g._InternalPanelDoNotUseOrYouWillBeFired=c.default,$w.default=g,$w}var Tw={},bm={},Mw={};const qZt=gr(W7t);var Ku={},h5e;function BF(){if(h5e)return Ku;h5e=1,Object.defineProperty(Ku,"__esModule",{value:!0}),Ku.getStrokeColor=Ku.getSize=Ku.getPercentage=void 0,Ku.getSuccessPercent=n,Ku.validProgress=t;var e=Nd;function t(a){return!a||a<0?0:a>100?100:a}function n(a){let{success:l,successPercent:s}=a,u=s;return l&&"progress"in l&&(u=l.progress),l&&"percent"in l&&(u=l.percent),u}const r=a=>{let{percent:l,success:s,successPercent:u}=a;const c=t(n({success:s,successPercent:u}));return[c,t(t(l)-c)]};Ku.getPercentage=r;const i=a=>{let{success:l={},strokeColor:s}=a;const{strokeColor:u}=l;return[u||e.presetPrimaryColors.green,s||null]};Ku.getStrokeColor=i;const o=(a,l,s)=>{var u,c,f,h;let d=-1,p=-1;if(l==="step"){const g=s.steps,m=s.strokeWidth;typeof a=="string"||typeof a>"u"?(d=a==="small"?2:14,p=m??8):typeof a=="number"?[d,p]=[a,a]:[d=14,p=8]=a,d*=g}else if(l==="line"){const g=s==null?void 0:s.strokeWidth;typeof a=="string"||typeof a>"u"?p=g||(a==="small"?6:8):typeof a=="number"?[d,p]=[a,a]:[d=-1,p=8]=a}else(l==="circle"||l==="dashboard")&&(typeof a=="string"||typeof a>"u"?[d,p]=a==="small"?[60,60]:[120,120]:typeof a=="number"?[d,p]=[a,a]:(d=(c=(u=a[0])!==null&&u!==void 0?u:a[1])!==null&&c!==void 0?c:120,p=(h=(f=a[0])!==null&&f!==void 0?f:a[1])!==null&&h!==void 0?h:120));return[d,p]};return Ku.getSize=o,Ku}var g5e;function VZt(){if(g5e)return Mw;g5e=1;var e=ze;Object.defineProperty(Mw,"__esModule",{value:!0}),Mw.default=void 0;var t=e(Tt()),n=qZt,r=l(_),i=e(kc()),o=BF();function a(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(a=function(p){return p?d:h})(f)}function l(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=a(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const s=3,u=f=>s/f*100,c=f=>{const{prefixCls:h,trailColor:d=null,strokeLinecap:p="round",gapPosition:g,gapDegree:m,width:v=120,type:y,children:b,success:C,size:x=v}=f,[S,w]=(0,o.getSize)(x,"circle");let{strokeWidth:O}=f;O===void 0&&(O=Math.max(u(S),6));const $={width:S,height:w,fontSize:S*.15+6},P=r.useMemo(()=>{if(m||m===0)return m;if(y==="dashboard")return 75},[m,y]),T=g||y==="dashboard"&&"bottom"||void 0,R=Object.prototype.toString.call(f.strokeColor)==="[object Object]",M=(0,o.getStrokeColor)({success:C,strokeColor:f.strokeColor}),A=(0,t.default)(`${h}-inner`,{[`${h}-circle-gradient`]:R}),N=r.createElement(n.Circle,{percent:(0,o.getPercentage)(f),strokeWidth:O,trailWidth:O,strokeColor:M,strokeLinecap:p,trailColor:d,prefixCls:h,gapDegree:P,gapPosition:T});return r.createElement("div",{className:A,style:$},S<=20?r.createElement(i.default,{title:b},r.createElement("span",null,N)):r.createElement(r.Fragment,null,N,b))};return Mw.default=c,Mw}var bp={},Xu={},m5e;function eUe(){if(m5e)return Xu;m5e=1,Object.defineProperty(Xu,"__esModule",{value:!0}),Xu.prepareComponentToken=Xu.default=Xu.Percent=Xu.LineStrokeColorVar=void 0;var e=Xt,t=Tn(),n=Jt();const r=Xu.LineStrokeColorVar="--progress-line-stroke-color",i=Xu.Percent="--progress-percent",o=f=>{const h=f?"100%":"-100%";return new e.Keyframes(`antProgress${f?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${h}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${h}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},a=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:Object.assign(Object.assign({},(0,t.resetComponent)(f)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:f.fontSize,marginInlineEnd:f.marginXS,marginBottom:f.marginXS},[`${h}-outer`]:{display:"inline-block",width:"100%"},[`&${h}-show-info`]:{[`${h}-outer`]:{marginInlineEnd:`calc(-2em - ${(0,e.unit)(f.marginXS)})`,paddingInlineEnd:`calc(2em + ${(0,e.unit)(f.paddingXS)})`}},[`${h}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:f.remainingColor,borderRadius:f.lineBorderRadius},[`${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.defaultColor}},[`${h}-success-bg, ${h}-bg`]:{position:"relative",background:f.defaultColor,borderRadius:f.lineBorderRadius,transition:`all ${f.motionDurationSlow} ${f.motionEaseInOutCirc}`},[`${h}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${r})`]},height:"100%",width:`calc(1 / var(${i}) * 100%)`,display:"block"}},[`${h}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:f.colorSuccess},[`${h}-text`]:{display:"inline-block",width:"2em",marginInlineStart:f.marginXS,color:f.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[d]:{fontSize:f.fontSize}},[`&${h}-status-active`]:{[`${h}-bg::before`]:{position:"absolute",inset:0,backgroundColor:f.colorBgContainer,borderRadius:f.lineBorderRadius,opacity:0,animationName:o(),animationDuration:f.progressActiveMotionDuration,animationTimingFunction:f.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${h}-rtl${h}-status-active`]:{[`${h}-bg::before`]:{animationName:o(!0)}},[`&${h}-status-exception`]:{[`${h}-bg`]:{backgroundColor:f.colorError},[`${h}-text`]:{color:f.colorError}},[`&${h}-status-exception ${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.colorError}},[`&${h}-status-success`]:{[`${h}-bg`]:{backgroundColor:f.colorSuccess},[`${h}-text`]:{color:f.colorSuccess}},[`&${h}-status-success ${h}-inner:not(${h}-circle-gradient)`]:{[`${h}-circle-path`]:{stroke:f.colorSuccess}}})}},l=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:{[`${h}-circle-trail`]:{stroke:f.remainingColor},[`&${h}-circle ${h}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${h}-circle ${h}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:f.circleTextColor,fontSize:f.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[d]:{fontSize:f.circleIconFontSize}},[`${h}-circle&-status-exception`]:{[`${h}-text`]:{color:f.colorError}},[`${h}-circle&-status-success`]:{[`${h}-text`]:{color:f.colorSuccess}}},[`${h}-inline-circle`]:{lineHeight:1,[`${h}-inner`]:{verticalAlign:"bottom"}}}},s=f=>{const{componentCls:h}=f;return{[h]:{[`${h}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:f.progressStepMinWidth,marginInlineEnd:f.progressStepMarginInlineEnd,backgroundColor:f.remainingColor,transition:`all ${f.motionDurationSlow}`,"&-active":{backgroundColor:f.defaultColor}}}}}},u=f=>{const{componentCls:h,iconCls:d}=f;return{[h]:{[`${h}-small&-line, ${h}-small&-line ${h}-text ${d}`]:{fontSize:f.fontSizeSM}}}},c=f=>({circleTextColor:f.colorText,defaultColor:f.colorInfo,remainingColor:f.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${f.fontSize/f.fontSizeSM}em`});return Xu.prepareComponentToken=c,Xu.default=(0,n.genStyleHooks)("Progress",f=>{const h=f.calc(f.marginXXS).div(2).equal(),d=(0,n.mergeToken)(f,{progressStepMarginInlineEnd:h,progressStepMinWidth:h,progressActiveMotionDuration:"2.4s"});return[a(d),l(d),s(d),u(d)]},c),Xu}var v5e;function UZt(){if(v5e)return bp;v5e=1,Object.defineProperty(bp,"__esModule",{value:!0}),bp.sortGradient=bp.handleGradient=bp.default=void 0;var e=o(_),t=Nd;_n();var n=BF(),r=eUe();function i(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(i=function(d){return d?h:f})(c)}function o(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=i(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var a=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{let f=[];return Object.keys(c).forEach(h=>{const d=parseFloat(h.replace(/%/g,""));isNaN(d)||f.push({key:d,value:c[h]})}),f=f.sort((h,d)=>h.key-d.key),f.map(h=>{let{key:d,value:p}=h;return`${p} ${d}%`}).join(", ")};bp.sortGradient=l;const s=(c,f)=>{const{from:h=t.presetPrimaryColors.blue,to:d=t.presetPrimaryColors.blue,direction:p=f==="rtl"?"to left":"to right"}=c,g=a(c,["from","to","direction"]);if(Object.keys(g).length!==0){const v=l(g),y=`linear-gradient(${p}, ${v})`;return{background:y,[r.LineStrokeColorVar]:y}}const m=`linear-gradient(${p}, ${h}, ${d})`;return{background:m,[r.LineStrokeColorVar]:m}};bp.handleGradient=s;const u=c=>{const{prefixCls:f,direction:h,percent:d,size:p,strokeWidth:g,strokeColor:m,strokeLinecap:v="round",children:y,trailColor:b=null,success:C}=c,x=m&&typeof m!="string"?s(m,h):{[r.LineStrokeColorVar]:m,background:m},S=v==="square"||v==="butt"?0:void 0,w=p??[-1,g||(p==="small"?6:8)],[O,$]=(0,n.getSize)(w,"line",{strokeWidth:g}),P={backgroundColor:b||void 0,borderRadius:S},T=Object.assign(Object.assign({width:`${(0,n.validProgress)(d)}%`,height:$,borderRadius:S},x),{[r.Percent]:(0,n.validProgress)(d)/100}),R=(0,n.getSuccessPercent)(c),M={width:`${(0,n.validProgress)(R)}%`,height:$,borderRadius:S,backgroundColor:C==null?void 0:C.strokeColor},A={width:O<0?"100%":O,height:$};return e.createElement(e.Fragment,null,e.createElement("div",{className:`${f}-outer`,style:A},e.createElement("div",{className:`${f}-inner`,style:P},e.createElement("div",{className:`${f}-bg`,style:T}),R!==void 0?e.createElement("div",{className:`${f}-success-bg`,style:M}):null)),y)};return bp.default=u,bp}var Rw={},y5e;function GZt(){if(y5e)return Rw;y5e=1;var e=ze;Object.defineProperty(Rw,"__esModule",{value:!0}),Rw.default=void 0;var t=e(Tt()),n=o(_),r=BF();function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{size:s,steps:u,percent:c=0,strokeWidth:f=8,strokeColor:h,trailColor:d=null,prefixCls:p,children:g}=l,m=Math.round(u*(c/100)),y=s??[s==="small"?2:14,f],[b,C]=(0,r.getSize)(y,"step",{steps:u,strokeWidth:f}),x=b/u,S=new Array(u);for(let w=0;w{const{prefixCls:x,className:S,rootClassName:w,steps:O,strokeColor:$,percent:P=0,size:T="default",showInfo:R=!0,type:M="line",status:A,format:N,style:j}=b,D=m(b,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),L=t.useMemo(()=>{var te,ne;const re=(0,d.getSuccessPercent)(b);return parseInt(re!==void 0?(te=re??0)===null||te===void 0?void 0:te.toString():(ne=P??0)===null||ne===void 0?void 0:ne.toString(),10)},[P,b.success,b.successPercent]),B=t.useMemo(()=>!v.includes(A)&&L>=100?"success":A||"normal",[A,L]),{getPrefixCls:k,direction:z,progress:q}=t.useContext(s.ConfigContext),W=k("progress",x),[U,K,X]=(0,h.default)(W),G=t.useMemo(()=>{if(!R)return null;const te=(0,d.getSuccessPercent)(b);let ne;const re=N||(se=>`${se}%`),oe=M==="line";return N||B!=="exception"&&B!=="success"?ne=re((0,d.validProgress)(P),(0,d.validProgress)(te)):B==="exception"?ne=oe?t.createElement(i.default,null):t.createElement(o.default,null):B==="success"&&(ne=oe?t.createElement(n.default,null):t.createElement(r.default,null)),t.createElement("span",{className:`${W}-text`,title:typeof ne=="string"?ne:void 0},ne)},[R,P,L,B,M,W,N]),Y=Array.isArray($)?$[0]:$,J=typeof $=="string"||Array.isArray($)?$:void 0;let ee;M==="line"?ee=O?t.createElement(f.default,Object.assign({},b,{strokeColor:J,prefixCls:W,steps:O}),G):t.createElement(c.default,Object.assign({},b,{strokeColor:Y,prefixCls:W,direction:z}),G):(M==="circle"||M==="dashboard")&&(ee=t.createElement(u.default,Object.assign({},b,{strokeColor:Y,prefixCls:W,progressStatus:B}),G));const Q=(0,a.default)(W,`${W}-status-${B}`,`${W}-${M==="dashboard"&&"circle"||O&&"steps"||M}`,{[`${W}-inline-circle`]:M==="circle"&&(0,d.getSize)(T,"circle")[0]<=20,[`${W}-show-info`]:R,[`${W}-${T}`]:typeof T=="string",[`${W}-rtl`]:z==="rtl"},q==null?void 0:q.className,S,w,K,X);return U(t.createElement("div",Object.assign({ref:C,style:Object.assign(Object.assign({},q==null?void 0:q.style),j),className:Q,role:"progressbar","aria-valuenow":L},(0,l.default)(D,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ee))});return bm.default=y,bm}var C5e;function bae(){if(C5e)return Tw;C5e=1;var e=ze;Object.defineProperty(Tw,"__esModule",{value:!0}),Tw.default=void 0;var t=e(KZt());return Tw.default=t.default,Tw}var Iw={},HI={exports:{}},AG={},WI={},S5e;function XZt(){if(S5e)return WI;S5e=1,Object.defineProperty(WI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};return WI.default=e,WI}var x5e;function YZt(){return x5e||(x5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(XZt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:l,lineWidth:s,lineType:u,colorSplit:c}=a;return{[l]:Object.assign(Object.assign({},(0,n.resetComponent)(a)),{display:"flex",justifyContent:"center",alignItems:"center",padding:a.paddingSM,backgroundColor:a.colorWhite,borderRadius:a.borderRadiusLG,border:`${(0,e.unit)(s)} ${u} ${c}`,position:"relative",overflow:"hidden",[`& > ${l}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:a.colorText,lineHeight:a.lineHeight,background:a.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${l}-expired, & > ${l}-scanned`]:{color:a.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:a.marginXS,fontSize:a.controlHeight}}),[`${l}-borderless`]:{borderColor:"transparent"}}},o=a=>({QRCodeMaskBackgroundColor:new t.TinyColor(a.colorBgContainer).setAlpha(.96).toRgbString()});return Cm.prepareComponentToken=o,Cm.default=(0,r.genStyleHooks)("QRCode",a=>{const l=(0,r.mergeToken)(a,{QRCodeTextColor:a.colorText});return i(l)},o),Cm}var O5e;function eQt(){if(O5e)return Iw;O5e=1;var e=ze;Object.defineProperty(Iw,"__esModule",{value:!0}),Iw.default=void 0;var t=h(_),n=e(ZZt()),r=e(Tt()),i=QZt;_n();var o=e(Ac()),a=Lt(),l=Rl(),s=e(pP()),u=Jt(),c=e(JZt());function f(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(f=function(v){return v?m:g})(p)}function h(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=f(g);if(m&&m.has(p))return m.get(p);var v={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var C=y?Object.getOwnPropertyDescriptor(p,b):null;C&&(C.get||C.set)?Object.defineProperty(v,b,C):v[b]=p[b]}return v.default=p,m&&m.set(p,v),v}const d=p=>{const[,g]=(0,u.useToken)(),{value:m,type:v="canvas",icon:y="",size:b=160,iconSize:C=40,color:x=g.colorText,errorLevel:S="M",status:w="active",bordered:O=!0,onRefresh:$,style:P,className:T,rootClassName:R,prefixCls:M,bgColor:A="transparent"}=p,{getPrefixCls:N}=(0,t.useContext)(a.ConfigContext),j=N("qrcode",M),[D,L,B]=(0,c.default)(j),z={value:m,size:b,level:S,bgColor:A,fgColor:x,style:{width:void 0,height:void 0},imageSettings:y?{src:y,x:void 0,y:void 0,height:C,width:C,excavate:!0}:void 0},[q]=(0,l.useLocale)("QRCode");if(!m)return null;const W=(0,r.default)(j,T,R,L,B,{[`${j}-borderless`]:!O});return D(t.default.createElement("div",{className:W,style:Object.assign(Object.assign({},P),{width:b,height:b,backgroundColor:A})},w!=="active"&&t.default.createElement("div",{className:`${j}-mask`},w==="loading"&&t.default.createElement(s.default,null),w==="expired"&&t.default.createElement(t.default.Fragment,null,t.default.createElement("p",{className:`${j}-expired`},q==null?void 0:q.expired),$&&t.default.createElement(o.default,{type:"link",icon:t.default.createElement(n.default,null),onClick:$},q==null?void 0:q.refresh)),w==="scanned"&&t.default.createElement("p",{className:`${j}-scanned`},q==null?void 0:q.scanned)),v==="canvas"?t.default.createElement(i.QRCodeCanvas,Object.assign({},z)):t.default.createElement(i.QRCodeSVG,Object.assign({},z))))};return Iw.default=d,Iw}var Nw={},qI={exports:{}},kG={},VI={},E5e;function tQt(){if(E5e)return VI;E5e=1,Object.defineProperty(VI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};return VI.default=e,VI}var $5e;function nQt(){return $5e||($5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(tQt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{componentCls:s}=l;return{[`${s}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:l.marginXS},"> div":{transition:`all ${l.motionDurationMid}, outline 0s`,"&:hover":{transform:l.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,n.unit)(l.lineWidth)} dashed ${l.starColor}`,transform:l.starHoverScale}},"&-first, &-second":{color:l.starBg,transition:`all ${l.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${s}-star-first, &-half ${s}-star-second`]:{opacity:1},[`&-half ${s}-star-first, &-full ${s}-star-second`]:{color:"inherit"}}}},i=l=>({[`&-rtl${l.componentCls}`]:{direction:"rtl"}}),o=l=>{const{componentCls:s}=l;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(l)),{display:"inline-block",margin:0,padding:0,color:l.starColor,fontSize:l.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${s} ${s}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),r(l)),i(l))}},a=l=>({starColor:l.yellow6,starSize:l.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:l.colorFillContent});return Sm.prepareComponentToken=a,Sm.default=(0,t.genStyleHooks)("Rate",l=>{const s=(0,t.mergeToken)(l,{});return[o(s)]},a),Sm}var M5e;function aQt(){if(M5e)return Nw;M5e=1;var e=ze;Object.defineProperty(Nw,"__esModule",{value:!0}),Nw.default=void 0;var t=e(rQt()),n=e(Tt()),r=e(iQt),i=u(_),o=Lt(),a=e(kc()),l=e(oQt());function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:p,className:g,rootClassName:m,style:v,tooltips:y,character:b=i.createElement(t.default,null)}=h,C=c(h,["prefixCls","className","rootClassName","style","tooltips","character"]),x=(A,N)=>{let{index:j}=N;return y?i.createElement(a.default,{title:y[j]},A):A},{getPrefixCls:S,direction:w,rate:O}=i.useContext(o.ConfigContext),$=S("rate",p),[P,T,R]=(0,l.default)($),M=Object.assign(Object.assign({},O==null?void 0:O.style),v);return P(i.createElement(r.default,Object.assign({ref:d,character:b,characterRender:x},C,{className:(0,n.default)(g,m,T,R,O==null?void 0:O.className),style:M,prefixCls:$,direction:w})))});return Nw.default=f,Nw}var Cp={},UI={exports:{}},jG={},GI={},R5e;function lQt(){if(R5e)return GI;R5e=1,Object.defineProperty(GI,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};return GI.default=e,GI}var I5e;function sQt(){return I5e||(I5e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(lQt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pe.createElement("svg",{width:"252",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .012)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),e.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),e.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),e.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),e.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),e.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),e.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),e.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),e.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),e.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),e.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),e.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),e.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),e.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),e.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),e.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),e.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),e.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),e.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),e.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),e.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),e.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),e.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),e.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),e.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),e.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),e.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),e.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),e.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),e.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),e.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),e.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),e.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),e.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),e.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})));return Aw.default=r,Aw}var kw={},k5e;function dQt(){if(k5e)return kw;k5e=1,Object.defineProperty(kw,"__esModule",{value:!0}),kw.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=()=>e.createElement("svg",{width:"254",height:"294"},e.createElement("defs",null,e.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),e.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(0 .067)"},e.createElement("mask",{fill:"#fff"}),e.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),e.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),e.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),e.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),e.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),e.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),e.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),e.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),e.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),e.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),e.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),e.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),e.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),e.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),e.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),e.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),e.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),e.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),e.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),e.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),e.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),e.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),e.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),e.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),e.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),e.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),e.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),e.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),e.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),e.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),e.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),e.createElement("mask",{fill:"#fff"}),e.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),e.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),e.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),e.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),e.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),e.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),e.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})));return kw.default=r,kw}var xm={},j5e;function fQt(){if(j5e)return xm;j5e=1,Object.defineProperty(xm,"__esModule",{value:!0}),xm.prepareComponentToken=xm.default=void 0;var e=Xt,t=Jt();const n=l=>{const{componentCls:s,lineHeightHeading3:u,iconCls:c,padding:f,paddingXL:h,paddingXS:d,paddingLG:p,marginXS:g,lineHeight:m}=l;return{[s]:{padding:`${(0,e.unit)(l.calc(p).mul(2).equal())} ${(0,e.unit)(h)}`,"&-rtl":{direction:"rtl"}},[`${s} ${s}-image`]:{width:l.imageWidth,height:l.imageHeight,margin:"auto"},[`${s} ${s}-icon`]:{marginBottom:p,textAlign:"center",[`& > ${c}`]:{fontSize:l.iconFontSize}},[`${s} ${s}-title`]:{color:l.colorTextHeading,fontSize:l.titleFontSize,lineHeight:u,marginBlock:g,textAlign:"center"},[`${s} ${s}-subtitle`]:{color:l.colorTextDescription,fontSize:l.subtitleFontSize,lineHeight:m,textAlign:"center"},[`${s} ${s}-content`]:{marginTop:p,padding:`${(0,e.unit)(p)} ${(0,e.unit)(l.calc(f).mul(2.5).equal())}`,backgroundColor:l.colorFillAlter},[`${s} ${s}-extra`]:{margin:l.extraMargin,textAlign:"center","& > *":{marginInlineEnd:d,"&:last-child":{marginInlineEnd:0}}}}},r=l=>{const{componentCls:s,iconCls:u}=l;return{[`${s}-success ${s}-icon > ${u}`]:{color:l.resultSuccessIconColor},[`${s}-error ${s}-icon > ${u}`]:{color:l.resultErrorIconColor},[`${s}-info ${s}-icon > ${u}`]:{color:l.resultInfoIconColor},[`${s}-warning ${s}-icon > ${u}`]:{color:l.resultWarningIconColor}}},i=l=>[n(l),r(l)],o=l=>i(l),a=l=>({titleFontSize:l.fontSizeHeading3,subtitleFontSize:l.fontSize,iconFontSize:l.fontSizeHeading3*3,extraMargin:`${l.paddingLG}px 0 0 0`});return xm.prepareComponentToken=a,xm.default=(0,t.genStyleHooks)("Result",l=>{const s=l.colorInfo,u=l.colorError,c=l.colorSuccess,f=l.colorWarning,h=(0,t.mergeToken)(l,{resultInfoIconColor:s,resultErrorIconColor:u,resultSuccessIconColor:c,resultWarningIconColor:f,imageWidth:250,imageHeight:295});return[o(h)]},a),xm}var jw={},D5e;function pQt(){if(D5e)return jw;D5e=1,Object.defineProperty(jw,"__esModule",{value:!0}),jw.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=()=>e.createElement("svg",{width:"251",height:"294"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),e.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),e.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),e.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),e.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),e.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),e.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),e.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),e.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),e.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),e.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),e.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),e.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),e.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),e.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),e.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),e.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),e.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),e.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),e.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),e.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),e.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),e.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),e.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),e.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),e.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),e.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),e.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),e.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),e.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),e.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),e.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),e.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),e.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),e.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),e.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),e.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})));return jw.default=r,jw}var L5e;function hQt(){if(L5e)return Cp;L5e=1;var e=ze;Object.defineProperty(Cp,"__esModule",{value:!0}),Cp.default=Cp.IconMap=Cp.ExceptionMap=void 0;var t=d(_),n=e(Yy()),r=e(qf()),i=e(A0()),o=e(cQt()),a=e(Tt());_n();var l=Lt(),s=e(uQt()),u=e(dQt()),c=e(fQt()),f=e(pQt());function h(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(h=function(w){return w?S:x})(C)}function d(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=h(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}const p=Cp.IconMap={success:n.default,error:r.default,info:i.default,warning:o.default},g=Cp.ExceptionMap={404:s.default,500:u.default,403:f.default},m=Object.keys(g),v=C=>{let{prefixCls:x,icon:S,status:w}=C;const O=(0,a.default)(`${x}-icon`);if(m.includes(`${w}`)){const P=g[w];return t.createElement("div",{className:`${O} ${x}-image`},t.createElement(P,null))}const $=t.createElement(p[w]);return S===null||S===!1?null:t.createElement("div",{className:O},S||$)},y=C=>{let{prefixCls:x,extra:S}=C;return S?t.createElement("div",{className:`${x}-extra`},S):null},b=C=>{let{prefixCls:x,className:S,rootClassName:w,subTitle:O,title:$,style:P,children:T,status:R="info",icon:M,extra:A}=C;const{getPrefixCls:N,direction:j,result:D}=t.useContext(l.ConfigContext),L=N("result",x),[B,k,z]=(0,c.default)(L),q=(0,a.default)(L,`${L}-${R}`,S,D==null?void 0:D.className,w,{[`${L}-rtl`]:j==="rtl"},k,z),W=Object.assign(Object.assign({},D==null?void 0:D.style),P);return B(t.createElement("div",{className:q,style:W},t.createElement(v,{prefixCls:L,status:R,icon:M}),t.createElement("div",{className:`${L}-title`},$),O&&t.createElement("div",{className:`${L}-subtitle`},O),t.createElement(y,{prefixCls:L,extra:A}),T&&t.createElement("div",{className:`${L}-content`},T)))};return b.PRESENTED_IMAGE_403=g[403],b.PRESENTED_IMAGE_404=g[404],b.PRESENTED_IMAGE_500=g[500],Cp.default=b,Cp}var Dw={},z5e;function gQt(){if(z5e)return Dw;z5e=1,Object.defineProperty(Dw,"__esModule",{value:!0}),Dw.default=void 0;var e=DC();return Dw.default=e.Row,Dw}var Lw={};const mQt=gr(A$t);var _m={},B5e;function vQt(){if(B5e)return _m;B5e=1,Object.defineProperty(_m,"__esModule",{value:!0}),_m.prepareComponentToken=_m.default=void 0;var e=Tn(),t=Jt(),n=Xt;function r(s,u){return{[`${s}, ${s}:hover, ${s}:focus`]:{color:u.colorTextDisabled,cursor:"not-allowed"}}}function i(s){return{backgroundColor:s.itemSelectedBg,boxShadow:s.boxShadowTertiary}}const o=Object.assign({overflow:"hidden"},e.textEllipsis),a=s=>{const{componentCls:u}=s,c=s.calc(s.controlHeight).sub(s.calc(s.trackPadding).mul(2)).equal(),f=s.calc(s.controlHeightLG).sub(s.calc(s.trackPadding).mul(2)).equal(),h=s.calc(s.controlHeightSM).sub(s.calc(s.trackPadding).mul(2)).equal();return{[u]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,e.resetComponent)(s)),{display:"inline-block",padding:s.trackPadding,color:s.itemColor,background:s.trackBg,borderRadius:s.borderRadius,transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,[`${u}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${u}-rtl`]:{direction:"rtl"},[`&${u}-block`]:{display:"flex"},[`&${u}-block ${u}-item`]:{flex:1,minWidth:0},[`${u}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${s.motionDurationMid} ${s.motionEaseInOut}`,borderRadius:s.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},i(s)),{color:s.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${s.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${u}-item-selected):not(${u}-item-disabled)`]:{color:s.itemHoverColor,"&::after":{backgroundColor:s.itemHoverBg}},[`&:active:not(${u}-item-selected):not(${u}-item-disabled)`]:{color:s.itemHoverColor,"&::after":{backgroundColor:s.itemActiveBg}},"&-label":Object.assign({minHeight:c,lineHeight:(0,n.unit)(c),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontal)}`},o),"&-icon + *":{marginInlineStart:s.calc(s.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${u}-thumb`]:Object.assign(Object.assign({},i(s)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,n.unit)(s.paddingXXS)} 0`,borderRadius:s.borderRadiusSM,[`& ~ ${u}-item:not(${u}-item-selected):not(${u}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${u}-lg`]:{borderRadius:s.borderRadiusLG,[`${u}-item-label`]:{minHeight:f,lineHeight:(0,n.unit)(f),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontal)}`,fontSize:s.fontSizeLG},[`${u}-item, ${u}-thumb`]:{borderRadius:s.borderRadius}},[`&${u}-sm`]:{borderRadius:s.borderRadiusSM,[`${u}-item-label`]:{minHeight:h,lineHeight:(0,n.unit)(h),padding:`0 ${(0,n.unit)(s.segmentedPaddingHorizontalSM)}`},[`${u}-item, ${u}-thumb`]:{borderRadius:s.borderRadiusXS}}}),r(`&-disabled ${u}-item`,s)),r(`${u}-item-disabled`,s)),{[`${u}-thumb-motion-appear-active`]:{transition:`transform ${s.motionDurationSlow} ${s.motionEaseInOut}, width ${s.motionDurationSlow} ${s.motionEaseInOut}`,willChange:"transform, width"}})}},l=s=>{const{colorTextLabel:u,colorText:c,colorFillSecondary:f,colorBgElevated:h,colorFill:d,lineWidthBold:p,colorBgLayout:g}=s;return{trackPadding:p,trackBg:g,itemColor:u,itemHoverColor:c,itemHoverBg:f,itemSelectedBg:h,itemActiveBg:d,itemSelectedColor:c}};return _m.prepareComponentToken=l,_m.default=(0,t.genStyleHooks)("Segmented",s=>{const{lineWidth:u,calc:c}=s,f=(0,t.mergeToken)(s,{segmentedPaddingHorizontal:c(s.controlPaddingHorizontal).sub(u).equal(),segmentedPaddingHorizontalSM:c(s.controlPaddingHorizontalSM).sub(u).equal()});return[a(f)]},l),_m}var F5e;function yQt(){if(F5e)return Lw;F5e=1;var e=ze;Object.defineProperty(Lw,"__esModule",{value:!0}),Lw.default=void 0;var t=e(Tt()),n=e(mQt),r=s(_),i=Lt(),o=e(no()),a=e(vQt());function l(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(l=function(m){return m?g:p})(d)}function s(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=l(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var u=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{prefixCls:g,className:m,rootClassName:v,block:y,options:b=[],size:C="middle",style:x}=d,S=u(d,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:w,direction:O,segmented:$}=r.useContext(i.ConfigContext),P=w("segmented",g),[T,R,M]=(0,a.default)(P),A=(0,o.default)(C),N=r.useMemo(()=>b.map(L=>{if(c(L)){const{icon:B,label:k}=L,z=u(L,["icon","label"]);return Object.assign(Object.assign({},z),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${P}-item-icon`},B),k&&r.createElement("span",null,k))})}return L}),[b,P]),j=(0,t.default)(m,v,$==null?void 0:$.className,{[`${P}-block`]:y,[`${P}-sm`]:A==="small",[`${P}-lg`]:A==="large"},R,M),D=Object.assign(Object.assign({},$==null?void 0:$.style),x);return T(r.createElement(n.default,Object.assign({},S,{className:j,style:D,options:N,ref:p,prefixCls:P,direction:O})))});return Lw.default=h,Lw}var zw={};const bQt=gr(G$t);var Bw={},H5e;function CQt(){if(H5e)return Bw;H5e=1;var e=ze;Object.defineProperty(Bw,"__esModule",{value:!0}),Bw.default=void 0;var t=e(Gy()),n=Nc(),r=l(_),i=r,o=e(kc());function a(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(a=function(h){return h?f:c})(u)}function l(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=a(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}const s=i.forwardRef((u,c)=>{const{open:f}=u,h=(0,r.useRef)(null),d=(0,r.useRef)(null);function p(){t.default.cancel(d.current),d.current=null}function g(){d.current=(0,t.default)(()=>{var m;(m=h.current)===null||m===void 0||m.forceAlign(),d.current=null})}return i.useEffect(()=>(f?g():p(),p),[f,u.title]),i.createElement(o.default,Object.assign({ref:(0,n.composeRef)(h,c)},u))});return Bw.default=s,Bw}var wm={},W5e;function SQt(){if(W5e)return wm;W5e=1,Object.defineProperty(wm,"__esModule",{value:!0}),wm.prepareComponentToken=wm.default=void 0;var e=Ea,t=Tn(),n=Jt(),r=Xt;const i=u=>{const{componentCls:c,antCls:f,controlSize:h,dotSize:d,marginFull:p,marginPart:g,colorFillContentHover:m,handleColorDisabled:v,calc:y}=u;return{[c]:Object.assign(Object.assign({},(0,t.resetComponent)(u)),{position:"relative",height:h,margin:`${(0,r.unit)(g)} ${(0,r.unit)(p)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${(0,r.unit)(p)} ${(0,r.unit)(g)}`},[`${c}-rail`]:{position:"absolute",backgroundColor:u.railBg,borderRadius:u.borderRadiusXS,transition:`background-color ${u.motionDurationMid}`},[`${c}-track,${c}-tracks`]:{position:"absolute",transition:`background-color ${u.motionDurationMid}`},[`${c}-track`]:{backgroundColor:u.trackBg,borderRadius:u.borderRadiusXS},[`${c}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${c}-rail`]:{backgroundColor:u.railHoverBg},[`${c}-track`]:{backgroundColor:u.trackHoverBg},[`${c}-dot`]:{borderColor:m},[`${c}-handle::after`]:{boxShadow:`0 0 0 ${(0,r.unit)(u.handleLineWidth)} ${u.colorPrimaryBorderHover}`},[`${c}-dot-active`]:{borderColor:u.dotActiveBorderColor}},[`${c}-handle`]:{position:"absolute",width:u.handleSize,height:u.handleSize,outline:"none","&::before":{content:'""',position:"absolute",insetInlineStart:y(u.handleLineWidth).mul(-1).equal(),insetBlockStart:y(u.handleLineWidth).mul(-1).equal(),width:y(u.handleSize).add(y(u.handleLineWidth).mul(2)).equal(),height:y(u.handleSize).add(y(u.handleLineWidth).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u.handleSize,height:u.handleSize,backgroundColor:u.colorBgElevated,boxShadow:`0 0 0 ${(0,r.unit)(u.handleLineWidth)} ${u.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${u.motionDurationMid}, inset-block-start ${u.motionDurationMid}, width ${u.motionDurationMid}, @@ -839,7 +839,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{backgroundColor:u.colorBgElevated,borderColor:u.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${c}-handle::after`]:{backgroundColor:u.colorBgElevated,cursor:"not-allowed",width:u.handleSize,height:u.handleSize,boxShadow:`0 0 0 ${(0,r.unit)(u.handleLineWidth)} ${v}`,insetInlineStart:0,insetBlockStart:0},[` ${c}-mark-text, ${c}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${f}-tooltip-inner`]:{minWidth:"unset"}})}},o=(u,c)=>{const{componentCls:f,railSize:h,handleSize:d,dotSize:p,marginFull:g,calc:m}=u,v=c?"paddingBlock":"paddingInline",y=c?"width":"height",b=c?"height":"width",C=c?"insetBlockStart":"insetInlineStart",x=c?"top":"insetInlineStart",S=m(h).mul(3).sub(d).div(2).equal(),w=m(d).sub(h).div(2).equal(),O=c?{borderWidth:`${(0,r.unit)(w)} 0`,transform:`translateY(${(0,r.unit)(m(w).mul(-1).equal())})`}:{borderWidth:`0 ${(0,r.unit)(w)}`,transform:`translateX(${(0,r.unit)(u.calc(w).mul(-1).equal())})`};return{[v]:h,[b]:m(h).mul(3).equal(),[`${f}-rail`]:{[y]:"100%",[b]:h},[`${f}-track,${f}-tracks`]:{[b]:h},[`${f}-track-draggable`]:Object.assign({},O),[`${f}-handle`]:{[C]:S},[`${f}-mark`]:{insetInlineStart:0,top:0,[x]:m(h).mul(3).add(c?0:g).equal(),[y]:"100%"},[`${f}-step`]:{insetInlineStart:0,top:0,[x]:h,[y]:"100%",[b]:h},[`${f}-dot`]:{position:"absolute",[C]:m(h).sub(p).div(2).equal()}}},a=u=>{const{componentCls:c,marginPartWithMark:f}=u;return{[`${c}-horizontal`]:Object.assign(Object.assign({},o(u,!0)),{[`&${c}-with-marks`]:{marginBottom:f}})}},l=u=>{const{componentCls:c}=u;return{[`${c}-vertical`]:Object.assign(Object.assign({},o(u,!1)),{height:"100%"})}},s=u=>{const f=u.controlHeightLG/4,h=u.controlHeightSM/2,d=u.lineWidth+1,p=u.lineWidth+1*3;return{controlSize:f,railSize:4,handleSize:f,handleSizeHover:h,dotSize:8,handleLineWidth:d,handleLineWidthHover:p,railBg:u.colorFillTertiary,railHoverBg:u.colorFillSecondary,trackBg:u.colorPrimaryBorder,trackHoverBg:u.colorPrimaryBorderHover,handleColor:u.colorPrimaryBorder,handleActiveColor:u.colorPrimary,handleColorDisabled:new e.TinyColor(u.colorTextDisabled).onBackground(u.colorBgContainer).toHexShortString(),dotBorderColor:u.colorBorderSecondary,dotActiveBorderColor:u.colorPrimaryBorder,trackBgDisabled:u.colorBgContainerDisabled}};return wm.prepareComponentToken=s,wm.default=(0,n.genStyleHooks)("Slider",u=>{const c=(0,n.mergeToken)(u,{marginPart:u.calc(u.controlHeight).sub(u.controlSize).div(2).equal(),marginFull:u.calc(u.controlSize).div(2).equal(),marginPartWithMark:u.calc(u.controlHeightLG).sub(u.controlSize).equal()});return[i(c),a(c),l(c)]},s),wm}var W5e;function wQt(){if(W5e)return Lw;W5e=1;var e=ze;Object.defineProperty(Lw,"__esModule",{value:!0}),Lw.default=void 0;var t=e(_),n=e(Tt()),r=e(SQt);_n();var i=Lt(),o=e($a()),a=e(xQt()),l=e(_Qt()),s=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);gtypeof d=="number"?d.toString():""}const c=t.default.forwardRef((f,h)=>{const{prefixCls:d,range:p,className:g,rootClassName:m,style:v,disabled:y,tooltipPrefixCls:b,tipFormatter:C,tooltipVisible:x,getTooltipPopupContainer:S,tooltipPlacement:w}=f,O=s(f,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:$,slider:P,getPrefixCls:T,getPopupContainer:R}=t.default.useContext(i.ConfigContext),M=t.default.useContext(o.default),A=y??M,[N,k]=t.default.useState({}),D=(Y,J)=>{k(ee=>Object.assign(Object.assign({},ee),{[Y]:J}))},L=(Y,J)=>Y||(J?$==="rtl"?"left":"right":"top"),B=T("slider",d),[j,z,V]=(0,l.default)(B),W=(0,n.default)(g,P==null?void 0:P.className,m,{[`${B}-rtl`]:$==="rtl"},z,V);$==="rtl"&&!O.vertical&&(O.reverse=!O.reverse);const[U,K]=t.default.useMemo(()=>p?typeof p=="object"?[!0,p.draggableTrack]:[!0,!1]:[!1],[p]),X=(Y,J)=>{var ee;const{index:Q,dragging:te}=J,{tooltip:ne={},vertical:re}=f,oe=Object.assign({},ne),{open:se,placement:ye,getPopupContainer:be,prefixCls:he,formatter:le}=oe,ve=u(le,C),ke=ve?N[Q]||te:!1,Ie=(ee=se??x)!==null&&ee!==void 0?ee:se===void 0&&ke,Oe=Object.assign(Object.assign({},Y.props),{onMouseEnter:()=>D(Q,!0),onMouseLeave:()=>D(Q,!1),onFocus:Pe=>{var _e;D(Q,!0),(_e=O.onFocus)===null||_e===void 0||_e.call(O,Pe)},onBlur:Pe=>{var _e;D(Q,!1),(_e=O.onBlur)===null||_e===void 0||_e.call(O,Pe)}});return t.default.createElement(a.default,Object.assign({},oe,{prefixCls:T("tooltip",he??b),title:ve?ve(J.value):"",open:Ie,placement:L(ye??w,re),key:Q,overlayClassName:`${B}-tooltip`,getPopupContainer:be||S||R}),t.default.cloneElement(Y,Oe))},G=Object.assign(Object.assign({},P==null?void 0:P.style),v);return j(t.default.createElement(r.default,Object.assign({},O,{step:O.step,range:U,draggableTrack:K,className:W,style:G,disabled:A,ref:h,prefixCls:B,handleRender:X})))});return Lw.default=c,Lw}var Bw={},Fw={},Hw={},Ww={},q5e;function OQt(){if(q5e)return Ww;q5e=1,Object.defineProperty(Ww,"__esModule",{value:!0}),Ww.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=i=>{const{value:o,formatter:a,precision:l,decimalSeparator:s,groupSeparator:u="",prefixCls:c}=i;let f;if(typeof a=="function")f=a(o);else{const h=String(o),d=h.match(/^(-?)(\d*)(\.(\d+))?$/);if(!d||h==="-")f=h;else{const p=d[1];let g=d[2]||"0",m=d[4]||"";g=g.replace(/\B(?=(\d{3})+(?!\d))/g,u),typeof l=="number"&&(m=m.padEnd(l,"0").slice(0,l>0?l:0)),m&&(m=`${s}${m}`),f=[e.createElement("span",{key:"int",className:`${c}-content-value-int`},p,g),m&&e.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},m)]}}return e.createElement("span",{className:`${c}-content-value`},f)};return Ww.default=r,Ww}var Om={},V5e;function EQt(){if(V5e)return Om;V5e=1,Object.defineProperty(Om,"__esModule",{value:!0}),Om.prepareComponentToken=Om.default=void 0;var e=Tn(),t=Jt();const n=i=>{const{componentCls:o,marginXXS:a,padding:l,colorTextDescription:s,titleFontSize:u,colorTextHeading:c,contentFontSize:f,fontFamily:h}=i;return{[`${o}`]:Object.assign(Object.assign({},(0,e.resetComponent)(i)),{[`${o}-title`]:{marginBottom:a,color:s,fontSize:u},[`${o}-skeleton`]:{paddingTop:l},[`${o}-content`]:{color:c,fontSize:f,fontFamily:h,[`${o}-content-value`]:{display:"inline-block",direction:"ltr"},[`${o}-content-prefix, ${o}-content-suffix`]:{display:"inline-block"},[`${o}-content-prefix`]:{marginInlineEnd:a},[`${o}-content-suffix`]:{marginInlineStart:a}}})}},r=i=>{const{fontSizeHeading3:o,fontSize:a}=i;return{titleFontSize:a,contentFontSize:o}};return Om.prepareComponentToken=r,Om.default=(0,t.genStyleHooks)("Statistic",i=>{const o=(0,t.mergeToken)(i,{});return[n(o)]},r),Om}var U5e;function tUe(){if(U5e)return Hw;U5e=1;var e=ze;Object.defineProperty(Hw,"__esModule",{value:!0}),Hw.default=void 0;var t=e(Tt()),n=u(_),r=e(MC()),i=Lt(),o=e(uae()),a=e(OQt()),l=e(EQt());function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,className:p,rootClassName:g,style:m,valueStyle:v,value:y=0,title:b,valueRender:C,prefix:x,suffix:S,loading:w=!1,formatter:O,precision:$,decimalSeparator:P=".",groupSeparator:T=",",onMouseEnter:R,onMouseLeave:M}=h,A=c(h,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:N,direction:k,statistic:D}=n.useContext(i.ConfigContext),L=N("statistic",d),[B,j,z]=(0,l.default)(L),V=n.createElement(a.default,{decimalSeparator:P,groupSeparator:T,prefixCls:L,formatter:O,precision:$,value:y}),W=(0,t.default)(L,{[`${L}-rtl`]:k==="rtl"},D==null?void 0:D.className,p,g,j,z),U=(0,r.default)(A,{aria:!0,data:!0});return B(n.createElement("div",Object.assign({},U,{className:W,style:Object.assign(Object.assign({},D==null?void 0:D.style),m),onMouseEnter:R,onMouseLeave:M}),b&&n.createElement("div",{className:`${L}-title`},b),n.createElement(o.default,{paragraph:!1,loading:w,className:`${L}-skeleton`},n.createElement("div",{style:v,className:`${L}-content`},x&&n.createElement("span",{className:`${L}-content-prefix`},x),C?C(V):V,S&&n.createElement("span",{className:`${L}-content-suffix`},S)))))};return Hw.default=f,Hw}var qw={},G5e;function $Qt(){if(G5e)return qw;G5e=1,Object.defineProperty(qw,"__esModule",{value:!0}),qw.formatCountdown=n,qw.formatTimeStr=t;const e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function t(r,i){let o=r;const a=/\[[^\]]*]/g,l=(i.match(a)||[]).map(f=>f.slice(1,-1)),s=i.replace(a,"[]"),u=e.reduce((f,h)=>{let[d,p]=h;if(f.includes(d)){const g=Math.floor(o/p);return o-=g*p,f.replace(new RegExp(`${d}+`,"g"),m=>{const v=m.length;return g.toString().padStart(v,"0")})}return f},s);let c=0;return u.replace(a,()=>{const f=l[c];return c+=1,f})}function n(r,i){const{format:o=""}=i,a=new Date(r).getTime(),l=Date.now(),s=Math.max(a-l,0);return t(s,o)}return qw}var K5e;function PQt(){if(K5e)return Fw;K5e=1;var e=ze;Object.defineProperty(Fw,"__esModule",{value:!0}),Fw.default=void 0;var t=l(_),n=e(OF()),r=to(),i=e(tUe()),o=$Qt();function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var s=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{value:d,format:p="HH:mm:ss",onChange:g,onFinish:m}=h,v=s(h,["value","format","onChange","onFinish"]),y=(0,n.default)(),b=t.useRef(null),C=()=>{m==null||m(),b.current&&(clearInterval(b.current),b.current=null)},x=()=>{const O=c(d);O>=Date.now()&&(b.current=setInterval(()=>{y(),g==null||g(O-Date.now()),O(x(),()=>{b.current&&(clearInterval(b.current),b.current=null)}),[d]);const S=(O,$)=>(0,o.formatCountdown)(O,Object.assign(Object.assign({},$),{format:p})),w=O=>(0,r.cloneElement)(O,{title:void 0});return t.createElement(i.default,Object.assign({},v,{value:d,valueRender:w,formatter:S}))};return Fw.default=t.memo(f),Fw}var X5e;function TQt(){if(X5e)return Bw;X5e=1;var e=ze;Object.defineProperty(Bw,"__esModule",{value:!0}),Bw.default=void 0;var t=e(PQt()),n=e(tUe());return n.default.Countdown=t.default,Bw.default=n.default,Bw}var Vw={};const MQt=cr(fPt);var Em={},Uw={},Y5e;function RQt(){if(Y5e)return Uw;Y5e=1,Object.defineProperty(Uw,"__esModule",{value:!0}),Uw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,customIconTop:i,customIconSize:o,customIconFontSize:a}=n;return{[`${r}-item-custom`]:{[`> ${r}-item-container > ${r}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${r}-icon`]:{top:i,width:o,height:o,fontSize:a,lineHeight:`${(0,e.unit)(a)}`}}},[`&:not(${r}-vertical)`]:{[`${r}-item-custom`]:{[`${r}-item-icon`]:{width:"auto",background:"none"}}}}};return Uw.default=t,Uw}var Gw={},Z5e;function IQt(){if(Z5e)return Gw;Z5e=1,Object.defineProperty(Gw,"__esModule",{value:!0}),Gw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,inlineDotSize:i,inlineTitleColor:o,inlineTailColor:a}=n,l=n.calc(n.paddingXS).add(n.lineWidth).equal(),s={[`${r}-item-container ${r}-item-content ${r}-item-title`]:{color:o}};return{[`&${r}-inline`]:{width:"auto",display:"inline-flex",[`${r}-item`]:{flex:"none","&-container":{padding:`${(0,e.unit)(l)} ${(0,e.unit)(n.paddingXXS)} 0`,margin:`0 ${(0,e.unit)(n.calc(n.marginXXS).div(2).equal())}`,borderRadius:n.borderRadiusSM,cursor:"pointer",transition:`background-color ${n.motionDurationMid}`,"&:hover":{background:n.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:i,height:i,marginInlineStart:`calc(50% - ${(0,e.unit)(n.calc(i).div(2).equal())})`,[`> ${r}-icon`]:{top:0},[`${r}-icon-dot`]:{borderRadius:n.calc(n.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:n.calc(n.marginXS).sub(n.lineWidth).equal()},"&-title":{color:o,fontSize:n.fontSizeSM,lineHeight:n.lineHeightSM,fontWeight:"normal",marginBottom:n.calc(n.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:n.calc(i).div(2).add(l).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:n.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${r}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${r}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${r}-item-icon ${r}-icon ${r}-icon-dot`]:{backgroundColor:n.colorBorderBg,border:`${(0,e.unit)(n.lineWidth)} ${n.lineType} ${a}`}},s),"&-finish":Object.assign({[`${r}-item-tail::after`]:{backgroundColor:a},[`${r}-item-icon ${r}-icon ${r}-icon-dot`]:{backgroundColor:a,border:`${(0,e.unit)(n.lineWidth)} ${n.lineType} ${a}`}},s),"&-error":s,"&-active, &-process":Object.assign({[`${r}-item-icon`]:{width:i,height:i,marginInlineStart:`calc(50% - ${(0,e.unit)(n.calc(i).div(2).equal())})`,top:0}},s),[`&:not(${r}-item-active) > ${r}-item-container[role='button']:hover`]:{[`${r}-item-title`]:{color:o}}}}}};return Gw.default=t,Gw}var Kw={},Q5e;function NQt(){if(Q5e)return Kw;Q5e=1,Object.defineProperty(Kw,"__esModule",{value:!0}),Kw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSize:i,lineHeight:o,iconSizeSM:a}=n;return{[`&${r}-label-vertical`]:{[`${r}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n.calc(i).div(2).add(n.controlHeightLG).equal(),padding:`${(0,e.unit)(n.paddingXXS)} ${(0,e.unit)(n.paddingLG)}`},"&-content":{display:"block",width:n.calc(i).div(2).add(n.controlHeightLG).mul(2).equal(),marginTop:n.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:n.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:n.marginXXS,marginInlineStart:0,lineHeight:o}},[`&${r}-small:not(${r}-dot)`]:{[`${r}-item`]:{"&-icon":{marginInlineStart:n.calc(i).sub(a).div(2).add(n.controlHeightLG).equal()}}}}}};return Kw.default=t,Kw}var Xw={},J5e;function AQt(){if(J5e)return Xw;J5e=1,Object.defineProperty(Xw,"__esModule",{value:!0}),Xw.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,navContentMaxWidth:o,navArrowColor:a,stepsNavActiveColor:l,motionDurationSlow:s}=r;return{[`&${i}-navigation`]:{paddingTop:r.paddingSM,[`&${i}-small`]:{[`${i}-item`]:{"&-container":{marginInlineStart:r.calc(r.marginSM).mul(-1).equal()}}},[`${i}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:r.calc(r.margin).mul(-1).equal(),paddingBottom:r.paddingSM,textAlign:"start",transition:`opacity ${s}`,[`${i}-item-content`]:{maxWidth:o},[`${i}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},t.textEllipsis),{"&::after":{display:"none"}})},[`&:not(${i}-item-active)`]:{[`${i}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,e.unit)(r.calc(r.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:r.fontSizeIcon,height:r.fontSizeIcon,borderTop:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${a}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${a}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:r.lineWidthBold,backgroundColor:l,transition:`width ${s}, inset-inline-start ${s}`,transitionTimingFunction:"ease-out",content:'""'}},[`${i}-item${i}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${i}-navigation${i}-vertical`]:{[`> ${i}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${i}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:r.calc(r.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,e.unit)(r.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:r.calc(r.controlHeight).mul(.25).equal(),height:r.calc(r.controlHeight).mul(.25).equal(),marginBottom:r.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}},[`&${i}-navigation${i}-horizontal`]:{[`> ${i}-item > ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}}};return Xw.default=n,Xw}var Yw={},e_e;function kQt(){if(e_e)return Yw;e_e=1,Object.defineProperty(Yw,"__esModule",{value:!0}),Yw.default=void 0;const e=t=>{const{antCls:n,componentCls:r}=t;return{[`&${r}-with-progress`]:{[`${r}-item`]:{paddingTop:t.paddingXXS,[`&-process ${r}-item-container ${r}-item-icon ${r}-icon`]:{color:t.processIconColor}},[`&${r}-vertical > ${r}-item `]:{paddingInlineStart:t.paddingXXS,[`> ${r}-item-container > ${r}-item-tail`]:{top:t.marginXXS,insetInlineStart:t.calc(t.iconSize).div(2).sub(t.lineWidth).add(t.paddingXXS).equal()}},[`&, &${r}-small`]:{[`&${r}-horizontal ${r}-item:first-child`]:{paddingBottom:t.paddingXXS,paddingInlineStart:t.paddingXXS}},[`&${r}-small${r}-vertical > ${r}-item > ${r}-item-container > ${r}-item-tail`]:{insetInlineStart:t.calc(t.iconSizeSM).div(2).sub(t.lineWidth).add(t.paddingXXS).equal()},[`&${r}-label-vertical`]:{[`${r}-item ${r}-item-tail`]:{top:t.calc(t.margin).sub(t.calc(t.lineWidth).mul(2).equal()).equal()}},[`${r}-item-icon`]:{position:"relative",[`${n}-progress`]:{position:"absolute",insetBlockStart:t.calc(t.calc(t.iconSize).sub(t.stepsProgressSize).sub(t.calc(t.lineWidth).mul(2).equal()).equal()).div(2).equal(),insetInlineStart:t.calc(t.calc(t.iconSize).sub(t.stepsProgressSize).sub(t.calc(t.lineWidth).mul(2).equal()).equal()).div(2).equal()}}}}};return Yw.default=e,Yw}var Zw={},t_e;function jQt(){if(t_e)return Zw;t_e=1,Object.defineProperty(Zw,"__esModule",{value:!0}),Zw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,descriptionMaxWidth:i,lineHeight:o,dotCurrentSize:a,dotSize:l,motionDurationSlow:s}=n;return{[`&${r}-dot, &${r}-dot${r}-small`]:{[`${r}-item`]:{"&-title":{lineHeight:o},"&-tail":{top:n.calc(n.dotSize).sub(n.calc(n.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,e.unit)(n.calc(i).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,e.unit)(n.calc(n.marginSM).mul(2).equal())})`,height:n.calc(n.lineWidth).mul(3).equal(),marginInlineStart:n.marginSM}},"&-icon":{width:l,height:l,marginInlineStart:n.calc(n.descriptionMaxWidth).sub(l).div(2).equal(),paddingInlineEnd:0,lineHeight:`${(0,e.unit)(l)}`,background:"transparent",border:0,[`${r}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${s}`,"&::after":{position:"absolute",top:n.calc(n.marginSM).mul(-1).equal(),insetInlineStart:n.calc(l).sub(n.calc(n.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:n.calc(n.controlHeightLG).mul(1.5).equal(),height:n.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:i},[`&-process ${r}-item-icon`]:{position:"relative",top:n.calc(l).sub(a).div(2).equal(),width:a,height:a,lineHeight:`${(0,e.unit)(a)}`,background:"none",marginInlineStart:n.calc(n.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${r}-icon`]:{[`&:first-child ${r}-icon-dot`]:{insetInlineStart:0}}}},[`&${r}-vertical${r}-dot`]:{[`${r}-item-icon`]:{marginTop:n.calc(n.controlHeight).sub(l).div(2).equal(),marginInlineStart:0,background:"none"},[`${r}-item-process ${r}-item-icon`]:{marginTop:n.calc(n.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:n.calc(l).sub(a).div(2).equal(),marginInlineStart:0},[`${r}-item > ${r}-item-container > ${r}-item-tail`]:{top:n.calc(n.controlHeight).sub(l).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,e.unit)(n.calc(l).add(n.paddingXS).equal())} 0 ${(0,e.unit)(n.paddingXS)}`,"&::after":{marginInlineStart:n.calc(l).sub(n.lineWidth).div(2).equal()}},[`&${r}-small`]:{[`${r}-item-icon`]:{marginTop:n.calc(n.controlHeightSM).sub(l).div(2).equal()},[`${r}-item-process ${r}-item-icon`]:{marginTop:n.calc(n.controlHeightSM).sub(a).div(2).equal()},[`${r}-item > ${r}-item-container > ${r}-item-tail`]:{top:n.calc(n.controlHeightSM).sub(l).div(2).equal()}},[`${r}-item:first-child ${r}-icon-dot`]:{insetInlineStart:0},[`${r}-item-content`]:{width:"inherit"}}}};return Zw.default=t,Zw}var Qw={},n_e;function DQt(){if(n_e)return Qw;n_e=1,Object.defineProperty(Qw,"__esModule",{value:!0}),Qw.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`&${n}-rtl`]:{direction:"rtl",[`${n}-item`]:{"&-subtitle":{float:"left"}},[`&${n}-navigation`]:{[`${n}-item::after`]:{transform:"rotate(-45deg)"}},[`&${n}-vertical`]:{[`> ${n}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${n}-item-icon`]:{float:"right"}}},[`&${n}-dot`]:{[`${n}-item-icon ${n}-icon-dot, &${n}-small ${n}-item-icon ${n}-icon-dot`]:{float:"right"}}}}};return Qw.default=e,Qw}var Jw={},r_e;function LQt(){if(r_e)return Jw;r_e=1,Object.defineProperty(Jw,"__esModule",{value:!0}),Jw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSizeSM:i,fontSizeSM:o,fontSize:a,colorTextDescription:l}=n;return{[`&${r}-small`]:{[`&${r}-horizontal:not(${r}-label-vertical) ${r}-item`]:{paddingInlineStart:n.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${r}-item-icon`]:{width:i,height:i,marginTop:0,marginBottom:0,marginInline:`0 ${(0,e.unit)(n.marginXS)}`,fontSize:o,lineHeight:`${(0,e.unit)(i)}`,textAlign:"center",borderRadius:i},[`${r}-item-title`]:{paddingInlineEnd:n.paddingSM,fontSize:a,lineHeight:`${(0,e.unit)(i)}`,"&::after":{top:n.calc(i).div(2).equal()}},[`${r}-item-description`]:{color:l,fontSize:a},[`${r}-item-tail`]:{top:n.calc(i).div(2).sub(n.paddingXXS).equal()},[`${r}-item-custom ${r}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${r}-icon`]:{fontSize:i,lineHeight:`${(0,e.unit)(i)}`,transform:"none"}}}}};return Jw.default=t,Jw}var eO={},i_e;function zQt(){if(i_e)return eO;i_e=1,Object.defineProperty(eO,"__esModule",{value:!0}),eO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSizeSM:i,iconSize:o}=n;return{[`&${r}-vertical`]:{display:"flex",flexDirection:"column",[`> ${r}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${r}-item-icon`]:{float:"left",marginInlineEnd:n.margin},[`${r}-item-content`]:{display:"block",minHeight:n.calc(n.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${r}-item-title`]:{lineHeight:`${(0,e.unit)(o)}`},[`${r}-item-description`]:{paddingBottom:n.paddingSM}},[`> ${r}-item > ${r}-item-container > ${r}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n.calc(o).div(2).sub(n.lineWidth).equal(),width:n.lineWidth,height:"100%",padding:`${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).add(o).equal())} 0 ${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).equal())}`,"&::after":{width:n.lineWidth,height:"100%"}},[`> ${r}-item:not(:last-child) > ${r}-item-container > ${r}-item-tail`]:{display:"block"},[` > ${r}-item > ${r}-item-container > ${r}-item-content > ${r}-item-title`]:{"&::after":{display:"none"}},[`&${r}-small ${r}-item-container`]:{[`${r}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n.calc(i).div(2).sub(n.lineWidth).equal(),padding:`${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).add(i).equal())} 0 ${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).equal())}`},[`${r}-item-title`]:{lineHeight:`${(0,e.unit)(i)}`}}}}};return eO.default=t,eO}var o_e;function BQt(){if(o_e)return Em;o_e=1;var e=ze;Object.defineProperty(Em,"__esModule",{value:!0}),Em.prepareComponentToken=Em.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(RQt()),o=e(IQt()),a=e(NQt()),l=e(AQt()),s=e(kQt()),u=e(jQt()),c=e(DQt()),f=e(LQt()),h=e(zQt()),d;(function(b){b.wait="wait",b.process="process",b.finish="finish",b.error="error"})(d||(d={}));const p=(b,C)=>{const x=`${C.componentCls}-item`,S=`${b}IconColor`,w=`${b}TitleColor`,O=`${b}DescriptionColor`,$=`${b}TailColor`,P=`${b}IconBgColor`,T=`${b}IconBorderColor`,R=`${b}DotColor`;return{[`${x}-${b} ${x}-icon`]:{backgroundColor:C[P],borderColor:C[T],[`> ${C.componentCls}-icon`]:{color:C[S],[`${C.componentCls}-icon-dot`]:{background:C[R]}}},[`${x}-${b}${x}-custom ${x}-icon`]:{[`> ${C.componentCls}-icon`]:{color:C[R]}},[`${x}-${b} > ${x}-container > ${x}-content > ${x}-title`]:{color:C[w],"&::after":{backgroundColor:C[$]}},[`${x}-${b} > ${x}-container > ${x}-content > ${x}-description`]:{color:C[O]},[`${x}-${b} > ${x}-container > ${x}-tail::after`]:{backgroundColor:C[$]}}},g=b=>{const{componentCls:C,motionDurationSlow:x}=b,S=`${C}-item`,w=`${S}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[S]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${S}-container > ${S}-tail, > ${S}-container > ${S}-content > ${S}-title::after`]:{display:"none"}}},[`${S}-container`]:{outline:"none","&:focus-visible":{[w]:Object.assign({},(0,n.genFocusOutline)(b))}},[`${w}, ${S}-content`]:{display:"inline-block",verticalAlign:"top"},[w]:{width:b.iconSize,height:b.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:b.marginXS,fontSize:b.iconFontSize,fontFamily:b.fontFamily,lineHeight:`${(0,t.unit)(b.iconSize)}`,textAlign:"center",borderRadius:b.iconSize,border:`${(0,t.unit)(b.lineWidth)} ${b.lineType} transparent`,transition:`background-color ${x}, border-color ${x}`,[`${C}-icon`]:{position:"relative",top:b.iconTop,color:b.colorPrimary,lineHeight:1}},[`${S}-tail`]:{position:"absolute",top:b.calc(b.iconSize).div(2).sub(b.paddingXXS).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:b.lineWidth,background:b.colorSplit,borderRadius:b.lineWidth,transition:`background ${x}`,content:'""'}},[`${S}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:b.padding,color:b.colorText,fontSize:b.fontSizeLG,lineHeight:`${(0,t.unit)(b.titleLineHeight)}`,"&::after":{position:"absolute",top:b.calc(b.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:b.lineWidth,background:b.processTailColor,content:'""'}},[`${S}-subtitle`]:{display:"inline",marginInlineStart:b.marginXS,color:b.colorTextDescription,fontWeight:"normal",fontSize:b.fontSize},[`${S}-description`]:{color:b.colorTextDescription,fontSize:b.fontSize}},p(d.wait,b)),p(d.process,b)),{[`${S}-process > ${S}-container > ${S}-title`]:{fontWeight:b.fontWeightStrong}}),p(d.finish,b)),p(d.error,b)),{[`${S}${C}-next-error > ${C}-item-title::after`]:{background:b.colorError},[`${S}-disabled`]:{cursor:"not-allowed"}})},m=b=>{const{componentCls:C,motionDurationSlow:x}=b;return{[`& ${C}-item`]:{[`&:not(${C}-item-active)`]:{[`& > ${C}-item-container[role='button']`]:{cursor:"pointer",[`${C}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${C}-icon`]:{transition:`color ${x}`}},"&:hover":{[`${C}-item`]:{"&-title, &-subtitle, &-description":{color:b.colorPrimary}}}},[`&:not(${C}-item-process)`]:{[`& > ${C}-item-container[role='button']:hover`]:{[`${C}-item`]:{"&-icon":{borderColor:b.colorPrimary,[`${C}-icon`]:{color:b.colorPrimary}}}}}}},[`&${C}-horizontal:not(${C}-label-vertical)`]:{[`${C}-item`]:{paddingInlineStart:b.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${C}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:b.descriptionMaxWidth,whiteSpace:"normal"}}}}},v=b=>{const{componentCls:C}=b;return{[C]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(b)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),g(b)),m(b)),(0,i.default)(b)),(0,f.default)(b)),(0,h.default)(b)),(0,a.default)(b)),(0,u.default)(b)),(0,l.default)(b)),(0,c.default)(b)),(0,s.default)(b)),(0,o.default)(b))}},y=b=>({titleLineHeight:b.controlHeight,customIconSize:b.controlHeight,customIconTop:0,customIconFontSize:b.controlHeightSM,iconSize:b.controlHeight,iconTop:-.5,iconFontSize:b.fontSize,iconSizeSM:b.fontSizeHeading3,dotSize:b.controlHeight/4,dotCurrentSize:b.controlHeightLG/4,navArrowColor:b.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:b.wireframe?b.colorTextDisabled:b.colorTextLabel,waitIconBgColor:b.wireframe?b.colorBgContainer:b.colorFillContent,waitIconBorderColor:b.wireframe?b.colorTextDisabled:"transparent",finishIconBgColor:b.wireframe?b.colorBgContainer:b.controlItemBgActive,finishIconBorderColor:b.wireframe?b.colorPrimary:b.controlItemBgActive});return Em.prepareComponentToken=y,Em.default=(0,r.genStyleHooks)("Steps",b=>{const{colorTextDisabled:C,controlHeightLG:x,colorTextLightSolid:S,colorText:w,colorPrimary:O,colorTextDescription:$,colorTextQuaternary:P,colorError:T,colorBorderSecondary:R,colorSplit:M}=b,A=(0,r.mergeToken)(b,{processIconColor:S,processTitleColor:w,processDescriptionColor:w,processIconBgColor:O,processIconBorderColor:O,processDotColor:O,processTailColor:M,waitTitleColor:$,waitDescriptionColor:$,waitTailColor:M,waitDotColor:C,finishIconColor:O,finishTitleColor:w,finishDescriptionColor:$,finishTailColor:O,finishDotColor:O,errorIconColor:S,errorTitleColor:T,errorDescriptionColor:T,errorTailColor:M,errorIconBgColor:T,errorIconBorderColor:T,errorDotColor:T,stepsNavActiveColor:O,stepsProgressSize:x,inlineDotSize:6,inlineTitleColor:P,inlineTailColor:R});return[v(A)]},y),Em}var GI={},a_e;function FQt(){if(a_e)return GI;a_e=1;var e=ze;Object.defineProperty(GI,"__esModule",{value:!0}),GI.default=a;var t=i(_),n=e(fl());_n();function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function o(l){return l.filter(s=>s)}function a(l,s){if(l)return l;const u=(0,n.default)(s).map(c=>{if(t.isValidElement(c)){const{props:f}=c;return Object.assign({},f)}return null});return o(u)}return GI}var l_e;function HQt(){if(l_e)return Vw;l_e=1;var e=ze;Object.defineProperty(Vw,"__esModule",{value:!0}),Vw.default=void 0;var t=e(xF()),n=e(zs()),r=e(Tt()),i=e(MQt),o=p(_),a=Lt(),l=e(no()),s=e(Zy()),u=e(yae()),c=e(kc()),f=e(BQt()),h=e(FQt());function d(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(d=function(C){return C?b:y})(v)}function p(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=d(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var g=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const{percent:y,size:b,className:C,rootClassName:x,direction:S,items:w,responsive:O=!0,current:$=0,children:P,style:T}=v,R=g(v,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:M}=(0,s.default)(O),{getPrefixCls:A,direction:N,steps:k}=o.useContext(a.ConfigContext),D=o.useMemo(()=>O&&M?"vertical":S,[M,S]),L=(0,l.default)(b),B=A("steps",v.prefixCls),[j,z,V]=(0,f.default)(B),W=v.type==="inline",U=A("",v.iconPrefix),K=(0,h.default)(w,P),X=W?void 0:y,G=Object.assign(Object.assign({},k==null?void 0:k.style),T),Y=(0,r.default)(k==null?void 0:k.className,{[`${B}-rtl`]:N==="rtl",[`${B}-with-progress`]:X!==void 0},C,x,z,V),J={finish:o.createElement(t.default,{className:`${B}-finish-icon`}),error:o.createElement(n.default,{className:`${B}-error-icon`})},ee=te=>{let{node:ne,status:re}=te;if(re==="process"&&X!==void 0){const oe=L==="small"?32:40;return o.createElement("div",{className:`${B}-progress-icon`},o.createElement(u.default,{type:"circle",percent:X,size:oe,strokeWidth:4,format:()=>null}),ne)}return ne},Q=(te,ne)=>te.description?o.createElement(c.default,{title:te.description},ne):ne;return j(o.createElement(i.default,Object.assign({icons:J},R,{style:G,current:$,size:L,items:K,itemRender:W?Q:void 0,stepIcon:ee,direction:D,prefixCls:B,iconPrefix:U,className:Y})))};return m.Step=i.default.Step,Vw.default=m,Vw}var tO={};const WQt=cr(IPt);var $m={},s_e;function qQt(){if(s_e)return $m;s_e=1,Object.defineProperty($m,"__esModule",{value:!0}),$m.prepareComponentToken=$m.default=void 0;var e=Xt,t=Ea,n=Tn(),r=Jt();const i=c=>{const{componentCls:f,trackHeightSM:h,trackPadding:d,trackMinWidthSM:p,innerMinMarginSM:g,innerMaxMarginSM:m,handleSizeSM:v,calc:y}=c,b=`${f}-inner`,C=(0,e.unit)(y(v).add(y(d).mul(2)).equal()),x=(0,e.unit)(y(m).mul(2).equal());return{[f]:{[`&${f}-small`]:{minWidth:p,height:h,lineHeight:(0,e.unit)(h),[`${f}-inner`]:{paddingInlineStart:m,paddingInlineEnd:g,[`${b}-checked`]:{marginInlineStart:`calc(-100% + ${C} - ${x})`,marginInlineEnd:`calc(100% - ${C} + ${x})`},[`${b}-unchecked`]:{marginTop:y(h).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${f}-handle`]:{width:v,height:v},[`${f}-loading-icon`]:{top:y(y(v).sub(c.switchLoadingIconSize)).div(2).equal(),fontSize:c.switchLoadingIconSize},[`&${f}-checked`]:{[`${f}-inner`]:{paddingInlineStart:g,paddingInlineEnd:m,[`${b}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${b}-unchecked`]:{marginInlineStart:`calc(100% - ${C} + ${x})`,marginInlineEnd:`calc(-100% + ${C} - ${x})`}},[`${f}-handle`]:{insetInlineStart:`calc(100% - ${(0,e.unit)(y(v).add(d).equal())})`}},[`&:not(${f}-disabled):active`]:{[`&:not(${f}-checked) ${b}`]:{[`${b}-unchecked`]:{marginInlineStart:y(c.marginXXS).div(2).equal(),marginInlineEnd:y(c.marginXXS).mul(-1).div(2).equal()}},[`&${f}-checked ${b}`]:{[`${b}-checked`]:{marginInlineStart:y(c.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:y(c.marginXXS).div(2).equal()}}}}}}},o=c=>{const{componentCls:f,handleSize:h,calc:d}=c;return{[f]:{[`${f}-loading-icon${c.iconCls}`]:{position:"relative",top:d(d(h).sub(c.fontSize)).div(2).equal(),color:c.switchLoadingIconColor,verticalAlign:"top"},[`&${f}-checked ${f}-loading-icon`]:{color:c.switchColor}}}},a=c=>{const{componentCls:f,trackPadding:h,handleBg:d,handleShadow:p,handleSize:g,calc:m}=c,v=`${f}-handle`;return{[f]:{[v]:{position:"absolute",top:h,insetInlineStart:h,width:g,height:g,transition:`all ${c.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:d,borderRadius:m(g).div(2).equal(),boxShadow:p,transition:`all ${c.switchDuration} ease-in-out`,content:'""'}},[`&${f}-checked ${v}`]:{insetInlineStart:`calc(100% - ${(0,e.unit)(m(g).add(h).equal())})`},[`&:not(${f}-disabled):active`]:{[`${v}::before`]:{insetInlineEnd:c.switchHandleActiveInset,insetInlineStart:0},[`&${f}-checked ${v}::before`]:{insetInlineEnd:0,insetInlineStart:c.switchHandleActiveInset}}}}},l=c=>{const{componentCls:f,trackHeight:h,trackPadding:d,innerMinMargin:p,innerMaxMargin:g,handleSize:m,calc:v}=c,y=`${f}-inner`,b=(0,e.unit)(v(m).add(v(d).mul(2)).equal()),C=(0,e.unit)(v(g).mul(2).equal());return{[f]:{[y]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:g,paddingInlineEnd:p,transition:`padding-inline-start ${c.switchDuration} ease-in-out, padding-inline-end ${c.switchDuration} ease-in-out`,[`${y}-checked, ${y}-unchecked`]:{display:"block",color:c.colorTextLightSolid,fontSize:c.fontSizeSM,transition:`margin-inline-start ${c.switchDuration} ease-in-out, margin-inline-end ${c.switchDuration} ease-in-out`,pointerEvents:"none"},[`${y}-checked`]:{marginInlineStart:`calc(-100% + ${b} - ${C})`,marginInlineEnd:`calc(100% - ${b} + ${C})`},[`${y}-unchecked`]:{marginTop:v(h).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${f}-checked ${y}`]:{paddingInlineStart:p,paddingInlineEnd:g,[`${y}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${y}-unchecked`]:{marginInlineStart:`calc(100% - ${b} + ${C})`,marginInlineEnd:`calc(-100% + ${b} - ${C})`}},[`&:not(${f}-disabled):active`]:{[`&:not(${f}-checked) ${y}`]:{[`${y}-unchecked`]:{marginInlineStart:v(d).mul(2).equal(),marginInlineEnd:v(d).mul(-1).mul(2).equal()}},[`&${f}-checked ${y}`]:{[`${y}-checked`]:{marginInlineStart:v(d).mul(-1).mul(2).equal(),marginInlineEnd:v(d).mul(2).equal()}}}}}},s=c=>{const{componentCls:f,trackHeight:h,trackMinWidth:d}=c;return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(c)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:d,height:h,lineHeight:`${(0,e.unit)(h)}`,verticalAlign:"middle",background:c.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${c.motionDurationMid}`,userSelect:"none",[`&:hover:not(${f}-disabled)`]:{background:c.colorTextTertiary}}),(0,n.genFocusStyle)(c)),{[`&${f}-checked`]:{background:c.switchColor,[`&:hover:not(${f}-disabled)`]:{background:c.colorPrimaryHover}},[`&${f}-loading, &${f}-disabled`]:{cursor:"not-allowed",opacity:c.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${f}-rtl`]:{direction:"rtl"}})}},u=c=>{const{fontSize:f,lineHeight:h,controlHeight:d,colorWhite:p}=c,g=f*h,m=d/2,v=2,y=g-v*2,b=m-v*2;return{trackHeight:g,trackHeightSM:m,trackMinWidth:y*2+v*4,trackMinWidthSM:b*2+v*2,trackPadding:v,handleBg:p,handleSize:y,handleSizeSM:b,handleShadow:`0 2px 4px 0 ${new t.TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:y/2,innerMaxMargin:y+v+v*2,innerMinMarginSM:b/2,innerMaxMarginSM:b+v+v*2}};return $m.prepareComponentToken=u,$m.default=(0,r.genStyleHooks)("Switch",c=>{const f=(0,r.mergeToken)(c,{switchDuration:c.motionDurationMid,switchColor:c.colorPrimary,switchDisabledOpacity:c.opacityLoading,switchLoadingIconSize:c.calc(c.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${c.opacityLoading})`,switchHandleActiveInset:"-30%"});return[s(f),l(f),a(f),o(f),i(f)]},u),$m}var c_e;function VQt(){if(c_e)return tO;c_e=1;var e=ze;Object.defineProperty(tO,"__esModule",{value:!0}),tO.default=void 0;var t=h(_),n=e(Vf()),r=e(Tt()),i=e(WQt),o=e(eP()),a=Lt(),l=e($a()),s=e(no()),u=e(qQt()),c=e(ns());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,size:y,disabled:b,loading:C,className:x,rootClassName:S,style:w,checked:O,value:$,defaultChecked:P,defaultValue:T,onChange:R}=g,M=d(g,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[A,N]=(0,c.default)(!1,{value:O??$,defaultValue:P??T}),{getPrefixCls:k,direction:D,switch:L}=t.useContext(a.ConfigContext),B=t.useContext(l.default),j=(b??B)||C,z=k("switch",v),V=t.createElement("div",{className:`${z}-handle`},C&&t.createElement(n.default,{className:`${z}-loading-icon`})),[W,U,K]=(0,u.default)(z),X=(0,s.default)(y),G=(0,r.default)(L==null?void 0:L.className,{[`${z}-small`]:X==="small",[`${z}-loading`]:C,[`${z}-rtl`]:D==="rtl"},x,S,U,K),Y=Object.assign(Object.assign({},L==null?void 0:L.style),w),J=function(){N(arguments.length<=0?void 0:arguments[0]),R==null||R.apply(void 0,arguments)};return W(t.createElement(o.default,{component:"Switch"},t.createElement(i.default,Object.assign({},M,{checked:A,onChange:J,prefixCls:z,className:G,style:Y,disabled:j,ref:m,loadingIcon:V}))))});return p.__ANT_SWITCH=!0,tO.default=p,tO}var nO={},rO={};const hP=cr(GTt);var iO={},u_e;function UQt(){if(u_e)return iO;u_e=1,Object.defineProperty(iO,"__esModule",{value:!0}),iO.default=void 0;function e(t){return null}return iO.default=e,iO}var oO={},d_e;function GQt(){if(d_e)return oO;d_e=1,Object.defineProperty(oO,"__esModule",{value:!0}),oO.default=void 0;function e(t){return null}return oO.default=e,oO}var Ys={},jG={},DG={exports:{}},f_e;function nUe(){return f_e||(f_e=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r=0)&&(i[a]=n[a]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(zG)),zG.exports}var h_e;function gP(){return h_e||(h_e=1,function(e){var t=KQt();function n(r,i){if(r==null)return{};var o=t(r,i),a,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(r,a)&&(o[a]=r[a])}return o}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(LG)),LG.exports}var aO={},BG={exports:{}},g_e;function XQt(){return g_e||(g_e=1,function(e){var t=fF(),n=dF(),r=uF();function i(o){var a=n();return function(){var s=t(o),u;if(a){var c=t(this).constructor;u=Reflect.construct(s,arguments,c)}else u=s.apply(this,arguments);return r(this,u)}}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}(BG)),BG.exports}var lO={},m_e;function YQt(){if(m_e)return lO;m_e=1;var e=ll();Object.defineProperty(lO,"__esModule",{value:!0}),lO.TreeContext=void 0;var t=r(_);function n(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(n=function(s){return s?a:o})(i)}function r(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||e(i)!="object"&&typeof i!="function")return{default:i};var a=n(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}return lO.TreeContext=t.createContext(null),lO}var sO={},v_e;function ZQt(){if(v_e)return sO;v_e=1;var e=ze,t=ll();Object.defineProperty(sO,"__esModule",{value:!0}),sO.default=void 0;var n=e(lF()),r=a(_),i=e(Tt());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(h){return h?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||t(s)!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var l=function(u){for(var c=u.prefixCls,f=u.level,h=u.isStart,d=u.isEnd,p="".concat(c,"-indent-unit"),g=[],m=0;m1&&arguments[1]!==void 0?arguments[1]:"";($||[]).forEach(function(T){var R=T[S.key],M=T[S.children];(0,l.default)(R!=null,"Tree node must have a certain key: [".concat(P).concat(R,"]"));var A=String(R);(0,l.default)(!w.has(A)||R===null||R===void 0,"Same 'key' exist in the Tree: ".concat(A)),w.set(A,!0),O(M,"".concat(P).concat(A," > "))})}O(x)}function g(x){function S(w){var O=(0,o.default)(w);return O.map(function($){if(!f($))return(0,l.default)(!$,"Tree/TreeNode can only accept TreeNode as children."),null;var P=$.key,T=$.props,R=T.children,M=(0,i.default)(T,u),A=(0,r.default)({key:P},M),N=S(R);return N.length&&(A.children=N),A}).filter(function($){return $})}return S(x)}function m(x,S,w){var O=d(w),$=O._title,P=O.key,T=O.children,R=new Set(S===!0?[]:S),M=[];function A(N){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return N.map(function(D,L){for(var B=c(k?k.pos:"0",L),j=h(D[P],B),z,V=0;V<$.length;V+=1){var W=$[V];if(D[W]!==void 0){z=D[W];break}}var U=(0,r.default)((0,r.default)({},(0,a.default)(D,[].concat((0,n.default)($),[P,T]))),{},{title:z,key:j,parent:k,pos:B,children:null,data:D,isStart:[].concat((0,n.default)(k?k.isStart:[]),[L===0]),isEnd:[].concat((0,n.default)(k?k.isEnd:[]),[L===N.length-1])});return M.push(U),S===!0||R.has(j)?U.children=A(D[T]||[],U):U.children=[],U})}return A(x),M}function v(x,S,w){var O={};(0,t.default)(w)==="object"?O=w:O={externalGetKey:w},O=O||{};var $=O,P=$.childrenPropName,T=$.externalGetKey,R=$.fieldNames,M=d(R),A=M.key,N=M.children,k=P||N,D;T?typeof T=="string"?D=function(j){return j[T]}:typeof T=="function"&&(D=function(j){return T(j)}):D=function(j,z){return h(j[A],z)};function L(B,j,z,V){var W=B?B[k]:x,U=B?c(z.pos,j):"0",K=B?[].concat((0,n.default)(V),[B]):[];if(B){var X=D(B,U),G={node:B,index:j,pos:U,key:X,parentPos:z.node?z.pos:null,level:z.level+1,nodes:K};S(G)}W&&W.forEach(function(Y,J){L(Y,J,{node:B,pos:U,level:z?z.level+1:-1},K)})}L(null)}function y(x){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=S.initWrapper,O=S.processEntity,$=S.onProcessFinished,P=S.externalGetKey,T=S.childrenPropName,R=S.fieldNames,M=arguments.length>2?arguments[2]:void 0,A=P||M,N={},k={},D={posEntities:N,keyEntities:k};return w&&(D=w(D)||D),v(x,function(L){var B=L.node,j=L.index,z=L.pos,V=L.key,W=L.parentPos,U=L.level,K=L.nodes,X={node:B,nodes:K,index:j,key:V,pos:z,level:U},G=h(V,z);N[z]=X,k[G]=X,X.parent=N[W],X.parent&&(X.parent.children=X.parent.children||[],X.parent.children.push(X)),O&&O(X,D)},{externalGetKey:A,childrenPropName:T,fieldNames:R}),$&&$(D),D}function b(x,S){var w=S.expandedKeys,O=S.selectedKeys,$=S.loadedKeys,P=S.loadingKeys,T=S.checkedKeys,R=S.halfCheckedKeys,M=S.dragOverNodeKey,A=S.dropPosition,N=S.keyEntities,k=(0,s.default)(N,x),D={eventKey:x,expanded:w.indexOf(x)!==-1,selected:O.indexOf(x)!==-1,loaded:$.indexOf(x)!==-1,loading:P.indexOf(x)!==-1,checked:T.indexOf(x)!==-1,halfChecked:R.indexOf(x)!==-1,pos:String(k?k.pos:""),dragOver:M===x&&A===0,dragOverGapTop:M===x&&A===-1,dragOverGapBottom:M===x&&A===1};return D}function C(x){var S=x.data,w=x.expanded,O=x.selected,$=x.checked,P=x.loaded,T=x.loading,R=x.halfChecked,M=x.dragOver,A=x.dragOverGapTop,N=x.dragOverGapBottom,k=x.pos,D=x.active,L=x.eventKey,B=(0,r.default)((0,r.default)({},S),{},{expanded:w,selected:O,checked:$,loaded:P,loading:T,halfChecked:R,dragOver:M,dragOverGapTop:A,dragOverGapBottom:N,pos:k,active:D,key:L});return"props"in B||Object.defineProperty(B,"props",{get:function(){return(0,l.default)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),x}}),B}return cs}var C_e;function QQt(){if(C_e)return aO;C_e=1;var e=ze,t=ll();Object.defineProperty(aO,"__esModule",{value:!0}),aO.default=void 0;var n=e(nUe()),r=e(gP()),i=e(kh()),o=e(PC()),a=e(TC()),l=e(vqe()),s=e(pF()),u=e(XQt()),c=e(lF()),f=e(Tt()),h=e(MC()),d=C(_),p=YQt(),g=e(ZQt()),m=e(BF()),v=mP(),y=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"];function b(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(b=function(A){return A?R:T})(P)}function C(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||t(P)!="object"&&typeof P!="function")return{default:P};var R=b(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var k=A?Object.getOwnPropertyDescriptor(P,N):null;k&&(k.get||k.set)?Object.defineProperty(M,N,k):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}var x="open",S="close",w="---",O=function(P){(0,s.default)(R,P);var T=(0,u.default)(R);function R(){var M;(0,o.default)(this,R);for(var A=arguments.length,N=new Array(A),k=0;k=0&&P.splice(T,1),P}function d(O,$){var P=(O||[]).slice();return P.indexOf($)===-1&&P.push($),P}function p(O){return O.split("-")}function g(O,$){var P=[],T=(0,u.default)($,O);function R(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];M.forEach(function(A){var N=A.key,k=A.children;P.push(N),R(k)})}return R(T.children),P}function m(O){if(O.parent){var $=p(O.pos);return Number($[$.length-1])===O.parent.children.length-1}return!1}function v(O){var $=p(O.pos);return Number($[$.length-1])===0}function y(O,$,P,T,R,M,A,N,k,D){var L,B=O.clientX,j=O.clientY,z=O.target.getBoundingClientRect(),V=z.top,W=z.height,U=(D==="rtl"?-1:1)*(((R==null?void 0:R.x)||0)-B),K=(U-12)/T,X=k.filter(function(le){var ve;return(ve=N[le])===null||ve===void 0||(ve=ve.children)===null||ve===void 0?void 0:ve.length}),G=(0,u.default)(N,P.props.eventKey);if(j-1.5?M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1:M({dragNode:ye,dropNode:be,dropPosition:0})?re=0:M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1:M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1,{dropPosition:re,dropLevelOffset:oe,dropTargetKey:G.key,dropTargetPos:G.pos,dragOverNodeKey:ne,dropContainerKey:re===0?null:((L=G.parent)===null||L===void 0?void 0:L.key)||null,dropAllowed:he}}function b(O,$){if(O){var P=$.multiple;return P?O.slice():O.length?[O[0]]:O}}var C=function($){return $};function x(O,$){if(!O)return[];var P=$||{},T=P.processProps,R=T===void 0?C:T,M=Array.isArray(O)?O:[O];return M.map(function(A){var N=A.children,k=(0,o.default)(A,f),D=x(N,$);return l.default.createElement(s.default,(0,i.default)({key:k.key},R(k)),D)})}function S(O){if(!O)return null;var $;if(Array.isArray(O))$={checkedKeys:O,halfCheckedKeys:void 0};else if((0,r.default)(O)==="object")$={checkedKeys:O.checked||void 0,halfCheckedKeys:O.halfChecked||void 0};else return(0,a.default)(!1,"`checkedKeys` is not an array or an object"),null;return $}function w(O,$){var P=new Set;function T(R){if(!P.has(R)){var M=(0,u.default)($,R);if(M){P.add(R);var A=M.parent,N=M.node;N.disabled||A&&T(A.key)}}}return(O||[]).forEach(function(R){T(R)}),(0,n.default)(P)}}(jG)),jG}var cO={},x_e;function JQt(){if(x_e)return cO;x_e=1;var e=ze;Object.defineProperty(cO,"__esModule",{value:!0}),cO.conductCheck=l,cO.isCheckDisabled=i;var t=e(jh()),n=e(BF());function r(s,u){var c=new Set;return s.forEach(function(f){u.has(f)||c.add(f)}),c}function i(s){var u=s||{},c=u.disabled,f=u.disableCheckbox,h=u.checkable;return!!(c||f)||h===!1}function o(s,u,c,f){for(var h=new Set(s),d=new Set,p=0;p<=c;p+=1){var g=u.get(p)||new Set;g.forEach(function(b){var C=b.key,x=b.node,S=b.children,w=S===void 0?[]:S;h.has(C)&&!f(x)&&w.filter(function(O){return!f(O.node)}).forEach(function(O){h.add(O.key)})})}for(var m=new Set,v=c;v>=0;v-=1){var y=u.get(v)||new Set;y.forEach(function(b){var C=b.parent,x=b.node;if(!(f(x)||!b.parent||m.has(b.parent.key))){if(f(b.parent.node)){m.add(C.key);return}var S=!0,w=!1;(C.children||[]).filter(function(O){return!f(O.node)}).forEach(function(O){var $=O.key,P=h.has($);S&&!P&&(S=!1),!w&&(P||d.has($))&&(w=!0)}),S&&h.add(C.key),w&&d.add(C.key),m.add(C.key)}})}return{checkedKeys:Array.from(h),halfCheckedKeys:Array.from(r(d,h))}}function a(s,u,c,f,h){for(var d=new Set(s),p=new Set(u),g=0;g<=f;g+=1){var m=c.get(g)||new Set;m.forEach(function(C){var x=C.key,S=C.node,w=C.children,O=w===void 0?[]:w;!d.has(x)&&!p.has(x)&&!h(S)&&O.filter(function($){return!h($.node)}).forEach(function($){d.delete($.key)})})}p=new Set;for(var v=new Set,y=f;y>=0;y-=1){var b=c.get(y)||new Set;b.forEach(function(C){var x=C.parent,S=C.node;if(!(h(S)||!C.parent||v.has(C.parent.key))){if(h(C.parent.node)){v.add(x.key);return}var w=!0,O=!1;(x.children||[]).filter(function($){return!h($.node)}).forEach(function($){var P=$.key,T=d.has(P);w&&!T&&(w=!1),!O&&(T||p.has(P))&&(O=!0)}),w||d.delete(x.key),O&&p.add(x.key),v.add(x.key)}})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(r(p,d))}}function l(s,u,c,f){var h=[],d;f?d=f:d=i;var p=new Set(s.filter(function(y){var b=!!(0,n.default)(c,y);return b||h.push(y),b})),g=new Map,m=0;Object.keys(c).forEach(function(y){var b=c[y],C=b.level,x=g.get(C);x||(x=new Set,g.set(C,x)),x.add(b),m=Math.max(m,C)}),(0,t.default)(!h.length,"Tree missing follow keys: ".concat(h.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var v;return u===!0?v=o(p,g,m,d):v=a(p,u.halfCheckedKeys,g,m,d),v}return cO}var XI={},__e;function iUe(){if(__e)return XI;__e=1,Object.defineProperty(XI,"__esModule",{value:!0}),XI.default=t;var e=_;function t(n){const[r,i]=(0,e.useState)(null);return[(0,e.useCallback)((l,s,u)=>{const c=r??l,f=Math.min(c||0,l),h=Math.max(c||0,l),d=s.slice(f,h+1).map(m=>n(m)),p=d.some(m=>!u.has(m)),g=[];return d.forEach(m=>{p?(u.has(m)||g.push(m),u.add(m)):(u.delete(m),g.push(m))}),i(p?h:null),g},[r]),l=>{i(l)}]}return XI}var w_e;function oUe(){if(w_e)return Ys;w_e=1;var e=ze;Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=Ys.SELECTION_NONE=Ys.SELECTION_INVERT=Ys.SELECTION_COLUMN=Ys.SELECTION_ALL=void 0;var t=e(qr()),n=v(_),r=n,i=e(oP()),o=e(Tt()),a=hP,l=rUe(),s=JQt(),u=mP(),c=e(ns()),f=e(iUe()),h=_n(),d=e(dP()),p=e(AF()),g=e(TF());function m($){if(typeof WeakMap!="function")return null;var P=new WeakMap,T=new WeakMap;return(m=function(R){return R?T:P})($)}function v($,P){if(!P&&$&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var T=m(P);if(T&&T.has($))return T.get($);var R={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in $)if(A!=="default"&&Object.prototype.hasOwnProperty.call($,A)){var N=M?Object.getOwnPropertyDescriptor($,A):null;N&&(N.get||N.set)?Object.defineProperty(R,A,N):R[A]=$[A]}return R.default=$,T&&T.set($,R),R}const y=Ys.SELECTION_COLUMN={},b=Ys.SELECTION_ALL="SELECT_ALL",C=Ys.SELECTION_INVERT="SELECT_INVERT",x=Ys.SELECTION_NONE="SELECT_NONE",S=[],w=($,P)=>{let T=[];return(P||[]).forEach(R=>{T.push(R),R&&typeof R=="object"&&$ in R&&(T=[].concat((0,t.default)(T),(0,t.default)(w($,R[$]))))}),T},O=($,P)=>{const{preserveSelectedRowKeys:T,selectedRowKeys:R,defaultSelectedRowKeys:M,getCheckboxProps:A,onChange:N,onSelect:k,onSelectAll:D,onSelectInvert:L,onSelectNone:B,onSelectMultiple:j,columnWidth:z,type:V,selections:W,fixed:U,renderCell:K,hideSelectAll:X,checkStrictly:G=!0}=P||{},{prefixCls:Y,data:J,pageData:ee,getRecordByKey:Q,getRowKey:te,expandType:ne,childrenColumnName:re,locale:oe,getPopupContainer:se}=$,ye=(0,h.devUseWarning)("Table"),[be,he]=(0,f.default)($e=>$e),[le,ve]=(0,c.default)(R||M||S,{value:R}),ke=r.useRef(new Map),Ie=(0,n.useCallback)($e=>{if(T){const Le=new Map;$e.forEach(Fe=>{let Ke=Q(Fe);!Ke&&ke.current.has(Fe)&&(Ke=ke.current.get(Fe)),Le.set(Fe,Ke)}),ke.current=Le}},[Q,T]);r.useEffect(()=>{Ie(le)},[le]);const{keyEntities:Oe}=(0,n.useMemo)(()=>{if(G)return{keyEntities:null};let $e=J;if(T){const Le=new Set(J.map((Ke,lt)=>te(Ke,lt))),Fe=Array.from(ke.current).reduce((Ke,lt)=>{let[ft,Ye]=lt;return Le.has(ft)?Ke:Ke.concat(Ye)},[]);$e=[].concat((0,t.default)($e),(0,t.default)(Fe))}return(0,u.convertDataToEntities)($e,{externalGetKey:te,childrenPropName:re})},[J,te,G,re,T]),Pe=(0,n.useMemo)(()=>w(re,ee),[re,ee]),_e=(0,n.useMemo)(()=>{const $e=new Map;return Pe.forEach((Le,Fe)=>{const Ke=te(Le,Fe),lt=(A?A(Le):null)||{};$e.set(Ke,lt)}),$e},[Pe,te,A]),ce=(0,n.useCallback)($e=>{var Le;return!!(!((Le=_e.get(te($e)))===null||Le===void 0)&&Le.disabled)},[_e,te]),[Te,Ne]=(0,n.useMemo)(()=>{if(G)return[le||[],[]];const{checkedKeys:$e,halfCheckedKeys:Le}=(0,s.conductCheck)(le,!0,Oe,ce);return[$e||[],Le]},[le,G,Oe,ce]),je=(0,n.useMemo)(()=>{const $e=V==="radio"?Te.slice(0,1):Te;return new Set($e)},[Te,V]),He=(0,n.useMemo)(()=>V==="radio"?new Set:new Set(Ne),[Ne,V]);r.useEffect(()=>{P||ve(S)},[!!P]);const Be=(0,n.useCallback)(($e,Le)=>{let Fe,Ke;Ie($e),T?(Fe=$e,Ke=$e.map(lt=>ke.current.get(lt))):(Fe=[],Ke=[],$e.forEach(lt=>{const ft=Q(lt);ft!==void 0&&(Fe.push(lt),Ke.push(ft))})),ve(Fe),N==null||N(Fe,Ke,{type:Le})},[ve,Q,N,T]),qe=(0,n.useCallback)(($e,Le,Fe,Ke)=>{if(k){const lt=Fe.map(ft=>Q(ft));k(Q($e),Le,lt,Ke)}Be(Fe,"single")},[k,Q,Be]),me=(0,n.useMemo)(()=>!W||X?null:(W===!0?[b,C,x]:W).map(Le=>Le===b?{key:"all",text:oe.selectionAll,onSelect(){Be(J.map((Fe,Ke)=>te(Fe,Ke)).filter(Fe=>{const Ke=_e.get(Fe);return!(Ke!=null&&Ke.disabled)||je.has(Fe)}),"all")}}:Le===C?{key:"invert",text:oe.selectInvert,onSelect(){const Fe=new Set(je);ee.forEach((lt,ft)=>{const Ye=te(lt,ft),we=_e.get(Ye);we!=null&&we.disabled||(Fe.has(Ye)?Fe.delete(Ye):Fe.add(Ye))});const Ke=Array.from(Fe);L&&(ye.deprecated(!1,"onSelectInvert","onChange"),L(Ke)),Be(Ke,"invert")}}:Le===x?{key:"none",text:oe.selectNone,onSelect(){B==null||B(),Be(Array.from(je).filter(Fe=>{const Ke=_e.get(Fe);return Ke==null?void 0:Ke.disabled}),"none")}}:Le).map(Le=>Object.assign(Object.assign({},Le),{onSelect:function(){for(var Fe,Ke,lt=arguments.length,ft=new Array(lt),Ye=0;Ye{var Le;if(!P)return $e.filter(ot=>ot!==y);let Fe=(0,t.default)($e);const Ke=new Set(je),lt=Pe.map(te).filter(ot=>!_e.get(ot).disabled),ft=lt.every(ot=>Ke.has(ot)),Ye=lt.some(ot=>Ke.has(ot)),we=()=>{const ot=[];ft?lt.forEach(_t=>{Ke.delete(_t),ot.push(_t)}):lt.forEach(_t=>{Ke.has(_t)||(Ke.add(_t),ot.push(_t))});const dt=Array.from(Ke);D==null||D(!ft,dt.map(_t=>Q(_t)),ot.map(_t=>Q(_t))),Be(dt,"all"),he(null)};let De,We;if(V!=="radio"){let ot;if(me){const mt={getPopupContainer:se,items:me.map((It,nt)=>{const{key:yt,text:xt,onSelect:At}=It;return{key:yt??nt,onClick:()=>{At==null||At(lt)},label:xt}})};ot=r.createElement("div",{className:`${Y}-selection-extra`},r.createElement(p.default,{menu:mt,getPopupContainer:se},r.createElement("span",null,r.createElement(i.default,null))))}const dt=Pe.map((mt,It)=>{const nt=te(mt,It),yt=_e.get(nt)||{};return Object.assign({checked:Ke.has(nt)},yt)}).filter(mt=>{let{disabled:It}=mt;return It}),_t=!!dt.length&&dt.length===Pe.length,Ot=_t&&dt.every(mt=>{let{checked:It}=mt;return It}),Ct=_t&&dt.some(mt=>{let{checked:It}=mt;return It});We=r.createElement(d.default,{checked:_t?Ot:!!Pe.length&&ft,indeterminate:_t?!Ot&&Ct:!ft&&Ye,onChange:we,disabled:Pe.length===0||_t,"aria-label":ot?"Custom selection":"Select all",skipGroup:!0}),De=!X&&r.createElement("div",{className:`${Y}-selection`},We,ot)}let Ge;V==="radio"?Ge=(ot,dt,_t)=>{const Ot=te(dt,_t),Ct=Ke.has(Ot);return{node:r.createElement(g.default,Object.assign({},_e.get(Ot),{checked:Ct,onClick:mt=>mt.stopPropagation(),onChange:mt=>{Ke.has(Ot)||qe(Ot,!0,[Ot],mt.nativeEvent)}})),checked:Ct}}:Ge=(ot,dt,_t)=>{var Ot;const Ct=te(dt,_t),mt=Ke.has(Ct),It=He.has(Ct),nt=_e.get(Ct);let yt;return ne==="nest"?yt=It:yt=(Ot=nt==null?void 0:nt.indeterminate)!==null&&Ot!==void 0?Ot:It,{node:r.createElement(d.default,Object.assign({},nt,{indeterminate:yt,checked:mt,skipGroup:!0,onClick:xt=>xt.stopPropagation(),onChange:xt=>{let{nativeEvent:At}=xt;const{shiftKey:cn}=At,Ht=lt.findIndex(zt=>zt===Ct),$t=Te.some(zt=>lt.includes(zt));if(cn&&G&&$t){const zt=be(Ht,lt,Ke),Qt=Array.from(Ke);j==null||j(!mt,Qt.map(Pt=>Q(Pt)),zt.map(Pt=>Q(Pt))),Be(Qt,"multiple")}else{const zt=Te;if(G){const Qt=mt?(0,l.arrDel)(zt,Ct):(0,l.arrAdd)(zt,Ct);qe(Ct,!mt,Qt,At)}else{const Qt=(0,s.conductCheck)([].concat((0,t.default)(zt),[Ct]),!0,Oe,ce),{checkedKeys:Pt,halfCheckedKeys:ct}=Qt;let Wt=Pt;if(mt){const wn=new Set(Pt);wn.delete(Ct),Wt=(0,s.conductCheck)(Array.from(wn),{checked:!1,halfCheckedKeys:ct},Oe,ce).checkedKeys}qe(Ct,!mt,Wt,At)}}he(mt?null:Ht)}})),checked:mt}};const Je=(ot,dt,_t)=>{const{node:Ot,checked:Ct}=Ge(ot,dt,_t);return K?K(Ct,dt,_t,Ot):Ot};if(!Fe.includes(y))if(Fe.findIndex(ot=>{var dt;return((dt=ot[a.INTERNAL_COL_DEFINE])===null||dt===void 0?void 0:dt.columnType)==="EXPAND_COLUMN"})===0){const[ot,...dt]=Fe;Fe=[ot,y].concat((0,t.default)(dt))}else Fe=[y].concat((0,t.default)(Fe));const bt=Fe.indexOf(y);Fe=Fe.filter((ot,dt)=>ot!==y||dt===bt);const at=Fe[bt-1],et=Fe[bt+1];let rt=U;rt===void 0&&((et==null?void 0:et.fixed)!==void 0?rt=et.fixed:(at==null?void 0:at.fixed)!==void 0&&(rt=at.fixed)),rt&&at&&((Le=at[a.INTERNAL_COL_DEFINE])===null||Le===void 0?void 0:Le.columnType)==="EXPAND_COLUMN"&&at.fixed===void 0&&(at.fixed=rt);const Ze=(0,o.default)(`${Y}-selection-col`,{[`${Y}-selection-col-with-dropdown`]:W&&V==="checkbox"}),wt=()=>P!=null&&P.columnTitle?typeof P.columnTitle=="function"?P.columnTitle(We):P.columnTitle:De,ut={fixed:rt,width:z,className:`${Y}-selection-column`,title:wt(),render:Je,onCell:P.onCell,[a.INTERNAL_COL_DEFINE]:{className:Ze}};return Fe.map(ot=>ot===y?ut:ot)},[te,Pe,P,Te,je,He,z,me,ne,_e,j,qe,ce]),je]};return Ys.default=O,Ys}var uO={},u2={},Pm={},O_e;function eJt(){return O_e||(O_e=1,Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.INTERNAL_HOOKS=Pm.EXPAND_COLUMN=void 0,Pm.EXPAND_COLUMN={},Pm.INTERNAL_HOOKS="rc-table-internal-hook"),Pm}var d2={},E_e;function tJt(){if(E_e)return d2;E_e=1;var e=ze;Object.defineProperty(d2,"__esModule",{value:!0}),d2.INTERNAL_COL_DEFINE=void 0,d2.getExpandableProps=i;var t=e(kh()),n=e(gP());e(jh());var r=["expandable"];d2.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE";function i(o){var a=o.expandable,l=(0,n.default)(o,r),s;return"expandable"in o?s=(0,t.default)((0,t.default)({},l),a):s=l,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}return d2}var YI={},$_e;function nJt(){if($_e)return YI;$_e=1;var e=ze,t=ll();Object.defineProperty(YI,"__esModule",{value:!0}),YI.default=l;var n=e(kh()),r=o(_);function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(h){return h?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||t(s)!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function a(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof u=="number"?u:u.endsWith("%")?s*parseFloat(u)/100:null}function l(s,u,c){return r.useMemo(function(){if(u&&u>0){var f=0,h=0;s.forEach(function(C){var x=a(u,C.width);x?f+=x:h+=1});var d=Math.max(u,c),p=Math.max(d-f,h),g=h,m=p/h,v=0,y=s.map(function(C){var x=(0,n.default)({},C),S=a(u,x.width);if(S)x.width=S;else{var w=Math.floor(m);x.width=g===1?p:w,p-=w,g-=1}return v+=x.width,x});if(v0?(0,a.default)((0,a.default)({},w),{},{children:y(O)}):w})}function b(S){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return S.filter(function(O){return O&&(0,o.default)(O)==="object"}).reduce(function(O,$,P){var T=$.fixed,R=T===!0?"left":T,M="".concat(w,"-").concat(P),A=$.children;return A&&A.length>0?[].concat((0,i.default)(O),(0,i.default)(b(A,M).map(function(N){return(0,a.default)({fixed:R},N)}))):[].concat((0,i.default)(O),[(0,a.default)((0,a.default)({key:M},$),{},{fixed:R})])},[])}function C(S){return S.map(function(w){var O=w.fixed,$=(0,l.default)(w,p),P=O;return O==="left"?P="right":O==="right"&&(P="left"),(0,a.default)({fixed:P},$)})}function x(S,w){var O=S.prefixCls,$=S.columns,P=S.children,T=S.expandable,R=S.expandedKeys,M=S.columnTitle,A=S.getRowKey,N=S.onTriggerExpand,k=S.expandIcon,D=S.rowExpandable,L=S.expandIconColumnIndex,B=S.direction,j=S.expandRowByClick,z=S.columnWidth,V=S.fixed,W=S.scrollWidth,U=S.clientWidth,K=u.useMemo(function(){var re=$||v(P)||[];return y(re.slice())},[$,P]),X=u.useMemo(function(){if(T){var re,oe=K.slice();if(!oe.includes(c.EXPAND_COLUMN)){var se=L||0;se>=0&&oe.splice(se,0,c.EXPAND_COLUMN)}var ye=oe.indexOf(c.EXPAND_COLUMN);oe=oe.filter(function(ve,ke){return ve!==c.EXPAND_COLUMN||ke===ye});var be=K[ye],he;(V==="left"||V)&&!L?he="left":(V==="right"||V)&&L===K.length?he="right":he=be?be.fixed:null;var le=(re={},(0,r.default)(re,f.INTERNAL_COL_DEFINE,{className:"".concat(O,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,r.default)(re,"title",M),(0,r.default)(re,"fixed",he),(0,r.default)(re,"className","".concat(O,"-row-expand-icon-cell")),(0,r.default)(re,"width",z),(0,r.default)(re,"render",function(ke,Ie,Oe){var Pe=A(Ie,Oe),_e=R.has(Pe),ce=D?D(Ie):!0,Te=k({prefixCls:O,expanded:_e,expandable:ce,record:Ie,onExpand:N});return j?u.createElement("span",{onClick:function(je){return je.stopPropagation()}},Te):Te}),re);return oe.map(function(ve){return ve===c.EXPAND_COLUMN?le:ve})}return K.filter(function(ve){return ve!==c.EXPAND_COLUMN})},[T,K,A,R,k,B]),G=u.useMemo(function(){var re=X;return w&&(re=w(re)),re.length||(re=[{render:function(){return null}}]),re},[w,X,B]),Y=u.useMemo(function(){return B==="rtl"?C(b(G)):b(G)},[G,B,W]),J=u.useMemo(function(){for(var re=-1,oe=Y.length-1;oe>=0;oe-=1){var se=Y[oe].fixed;if(se==="left"||se===!0){re=oe;break}}if(re>=0)for(var ye=0;ye<=re;ye+=1){var be=Y[ye].fixed;if(be!=="left"&&be!==!0)return!0}var he=Y.findIndex(function(ke){var Ie=ke.fixed;return Ie==="right"});if(he>=0)for(var le=he;le{if(!(o in r._antProxy)){const a=r[o];r._antProxy[o]=a,r[o]=i[o]}}),r}function n(r,i){return(0,e.useImperativeHandle)(r,()=>{const o=i(),{nativeElement:a}=o;return typeof Proxy<"u"?new Proxy(a,{get(l,s){return o[s]?o[s]:Reflect.get(l,s)}}):t(a,o)})}return ZI}var dO={},M_e;function oJt(){if(M_e)return dO;M_e=1;var e=ze;Object.defineProperty(dO,"__esModule",{value:!0}),dO.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){return function(s){let{prefixCls:u,onExpand:c,record:f,expanded:h,expandable:d}=s;const p=`${u}-row-expand-icon`;return n.createElement("button",{type:"button",onClick:g=>{c(f,g),g.stopPropagation()},className:(0,t.default)(p,{[`${p}-spaced`]:!d,[`${p}-expanded`]:d&&h,[`${p}-collapsed`]:d&&!h}),"aria-label":h?a.collapse:a.expand,"aria-expanded":h})}}return dO.default=o,dO}var QI={},R_e;function aJt(){if(R_e)return QI;R_e=1,Object.defineProperty(QI,"__esModule",{value:!0}),QI.default=e;function e(t){return(r,i)=>{const o=r.querySelector(`.${t}-container`);let a=i;if(o){const l=getComputedStyle(o),s=parseInt(l.borderLeftWidth,10),u=parseInt(l.borderRightWidth,10);a=i-s-u}return a}}return QI}var FG={},Tm={},I_e;function bae(){if(I_e)return Tm;I_e=1,Object.defineProperty(Tm,"__esModule",{value:!0}),Tm.getColumnKey=e,Tm.getColumnPos=t,Tm.renderColumnTitle=n,Tm.safeColumnTitle=r;function e(i,o){return"key"in i&&i.key!==void 0&&i.key!==null?i.key:i.dataIndex?Array.isArray(i.dataIndex)?i.dataIndex.join("."):i.dataIndex:o}function t(i,o){return o?`${o}-${i}`:`${i}`}function n(i,o){return typeof i=="function"?i(o):i}function r(i,o){const a=n(i,o);return Object.prototype.toString.call(a)==="[object Object]"?"":a}return Tm}var f2={},JI={exports:{}},HG={},eN={},N_e;function lJt(){if(N_e)return eN;N_e=1,Object.defineProperty(eN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};return eN.default=e,eN}var A_e;function sJt(){return A_e||(A_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(lJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pl.current,u=>{l.current=u,s()}]}return tN}var fO={};const aUe=cr(OMt);var pO={},nN={exports:{}},WG={},rN={},D_e;function dJt(){if(D_e)return rN;D_e=1,Object.defineProperty(rN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};return rN.default=e,rN}var L_e;function fJt(){return L_e||(L_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(dJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p({[`.${d}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${p.motionDurationSlow}`}}}),l=(d,p)=>({[`.${d}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:p.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidthBold)} solid ${p.colorPrimary}`,borderRadius:"50%",content:'""'}}}),s=(d,p)=>{const{treeCls:g,treeNodeCls:m,treeNodePadding:v,titleHeight:y,nodeSelectedBg:b,nodeHoverBg:C}=p,x=p.paddingXS;return{[g]:Object.assign(Object.assign({},(0,n.resetComponent)(p)),{background:p.colorBgContainer,borderRadius:p.borderRadius,transition:`background-color ${p.motionDurationSlow}`,[`&${g}-rtl`]:{[`${g}-switcher`]:{"&_close":{[`${g}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${g}-active-focused)`]:Object.assign({},(0,n.genFocusOutline)(p)),[`${g}-list-holder-inner`]:{alignItems:"flex-start"},[`&${g}-block-node`]:{[`${g}-list-holder-inner`]:{alignItems:"stretch",[`${g}-node-content-wrapper`]:{flex:"auto"},[`${m}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:v,insetInlineStart:0,border:`1px solid ${p.colorPrimary}`,opacity:0,animationName:o,animationDuration:p.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${m}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,e.unit)(v)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${g}-node-content-wrapper`]:{color:p.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${g}-node-content-wrapper`]:{background:p.controlItemBgHover},[`&:not(${m}-disabled).filter-node ${g}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${g}-draggable-icon`]:{flexShrink:0,width:y,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${p.motionDurationSlow}`,[`${m}:hover &`]:{opacity:.45}},[`&${m}-disabled`]:{[`${g}-draggable-icon`]:{visibility:"hidden"}}}},[`${g}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:y}},[`${g}-draggable-icon`]:{visibility:"hidden"},[`${g}-switcher`]:Object.assign(Object.assign({},a(d,p)),{position:"relative",flex:"none",alignSelf:"stretch",width:y,margin:0,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${p.motionDurationSlow}`,borderRadius:p.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${g}-switcher-noop):hover`]:{backgroundColor:p.colorBgTextHover},"&_close":{[`${g}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:p.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:p.calc(y).div(2).equal(),bottom:p.calc(v).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${p.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:p.calc(p.calc(y).div(2).equal()).mul(.8).equal(),height:p.calc(y).div(2).equal(),borderBottom:`1px solid ${p.colorBorder}`,content:'""'}}}),[`${g}-checkbox`]:{top:"initial",marginInlineEnd:x,alignSelf:"flex-start",marginTop:p.marginXXS},[`${g}-node-content-wrapper, ${g}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:y,margin:0,padding:`0 ${(0,e.unit)(p.calc(p.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${(0,e.unit)(y)}`,background:"transparent",borderRadius:p.borderRadius,cursor:"pointer",transition:`all ${p.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:C},[`&${g}-node-selected`]:{backgroundColor:b},[`${g}-iconEle`]:{display:"inline-block",width:y,height:y,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${g}-unselectable ${g}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${g}-node-content-wrapper`]:Object.assign({lineHeight:`${(0,e.unit)(y)}`,userSelect:"none"},l(d,p)),[`${m}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${p.colorPrimary}`}},"&-show-line":{[`${g}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:p.calc(y).div(2).equal(),bottom:p.calc(v).mul(-1).equal(),borderInlineEnd:`1px solid ${p.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${g}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${m}-leaf-last`]:{[`${g}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(p.calc(y).div(2).equal())} !important`}}}}})}};Bl.genBaseStyle=s;const u=d=>{const{treeCls:p,treeNodeCls:g,treeNodePadding:m,directoryNodeSelectedBg:v,directoryNodeSelectedColor:y}=d;return{[`${p}${p}-directory`]:{[g]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:m,insetInlineStart:0,transition:`background-color ${d.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:d.controlItemBgHover}},"> *":{zIndex:1},[`${p}-switcher`]:{transition:`color ${d.motionDurationMid}`},[`${p}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${p}-node-selected`]:{color:y,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:v},[`${p}-switcher`]:{color:y},[`${p}-node-content-wrapper`]:{color:y,background:"transparent"}}}}}};Bl.genDirectoryStyle=u;const c=(d,p)=>{const g=`.${d}`,m=`${g}-treenode`,v=p.calc(p.paddingXS).div(2).equal(),y=(0,i.mergeToken)(p,{treeCls:g,treeNodeCls:m,treeNodePadding:v});return[s(d,y),u(y)]};Bl.genTreeStyle=c;const f=d=>{const{controlHeightSM:p}=d;return{titleHeight:p,nodeHoverBg:d.controlItemBgHover,nodeSelectedBg:d.controlItemBgActive}};Bl.initComponentToken=f;const h=d=>{const{colorTextLightSolid:p,colorPrimary:g}=d;return Object.assign(Object.assign({},f(d)),{directoryNodeSelectedColor:p,directoryNodeSelectedBg:g})};return Bl.prepareComponentToken=h,Bl.default=(0,i.genStyleHooks)("Tree",(d,p)=>{let{prefixCls:g}=p;return[{[d.componentCls]:(0,t.getStyle)(`${g}-checkbox`,d)},c(g,d),(0,r.genCollapseMotion)(d)]},h),Bl}var p2={},Y_e;function xJt(){if(Y_e)return p2;Y_e=1;var e=ze;Object.defineProperty(p2,"__esModule",{value:!0}),p2.default=r,p2.offset=void 0;var t=e(_);const n=p2.offset=4;function r(i){const{dropPosition:o,dropLevelOffset:a,prefixCls:l,indent:s,direction:u="ltr"}=i,c=u==="ltr"?"left":"right",f=u==="ltr"?"right":"left",h={[c]:-a*s+n,[f]:0};switch(o){case-1:h.top=-3;break;case 1:h.bottom=-3;break;default:h.bottom=-3,h[c]=s+n;break}return t.default.createElement("div",{style:h,className:`${l}-drop-indicator`})}return p2}var gO={},uN={exports:{}},GG={},dN={},Z_e;function _Jt(){if(Z_e)return dN;Z_e=1,Object.defineProperty(dN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};return dN.default=e,dN}var Q_e;function wJt(){return Q_e||(Q_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(_Jt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:d,switcherIcon:p,treeNodeProps:g,showLine:m}=h,{isLeaf:v,expanded:y,loading:b}=g;if(b)return l.createElement(r.default,{className:`${d}-switcher-loading-icon`});let C;if(m&&typeof m=="object"&&(C=m.showLeafIcon),v){if(!m)return null;if(typeof C!="boolean"&&C){const w=typeof C=="function"?C(g):C,O=`${d}-switcher-line-custom-icon`;return(0,s.isValidElement)(w)?(0,s.cloneElement)(w,{className:(0,a.default)(w.props.className||"",O)}):w}return C?l.createElement(n.default,{className:`${d}-switcher-line-icon`}):l.createElement("span",{className:`${d}-switcher-leaf-line`})}const x=`${d}-switcher-icon`,S=typeof p=="function"?p(g):p;return(0,s.isValidElement)(S)?(0,s.cloneElement)(S,{className:(0,a.default)(S.props.className||"",x)}):S!==void 0?S:m?y?l.createElement(i.default,{className:`${d}-switcher-line-icon`}):l.createElement(o.default,{className:`${d}-switcher-line-icon`}):l.createElement(t.default,{className:x})};return gO.default=f,gO}var lwe;function uUe(){if(lwe)return hO;lwe=1;var e=ze;Object.defineProperty(hO,"__esModule",{value:!0}),hO.default=void 0;var t=e(_),n=e(SJt()),r=e(Tt()),i=e(aUe),o=e(Il()),a=Lt(),l=e(sUe()),s=e(xJt()),u=e(cUe()),c=Jt();const f=t.default.forwardRef((h,d)=>{var p;const{getPrefixCls:g,direction:m,virtual:v,tree:y}=t.default.useContext(a.ConfigContext),{prefixCls:b,className:C,showIcon:x=!1,showLine:S,switcherIcon:w,blockNode:O=!1,children:$,checkable:P=!1,selectable:T=!0,draggable:R,motion:M,style:A}=h,N=g("tree",b),k=g(),D=M??Object.assign(Object.assign({},(0,o.default)(k)),{motionAppear:!1}),L=Object.assign(Object.assign({},h),{checkable:P,selectable:T,showIcon:x,motion:D,blockNode:O,showLine:!!S,dropIndicatorRender:s.default}),[B,j,z]=(0,l.default)(N),[,V]=(0,c.useToken)(),W=V.paddingXS/2+(((p=V.Tree)===null||p===void 0?void 0:p.titleHeight)||V.controlHeightSM),U=t.default.useMemo(()=>{if(!R)return!1;let X={};switch(typeof R){case"function":X.nodeDraggable=R;break;case"object":X=Object.assign({},R);break}return X.icon!==!1&&(X.icon=X.icon||t.default.createElement(n.default,null)),X},[R]),K=X=>t.default.createElement(u.default,{prefixCls:N,switcherIcon:w,treeNodeProps:X,showLine:S});return B(t.default.createElement(i.default,Object.assign({itemHeight:W,ref:d,virtual:v},L,{style:Object.assign(Object.assign({},y==null?void 0:y.style),A),prefixCls:N,className:(0,r.default)({[`${N}-icon-hide`]:!x,[`${N}-block-node`]:O,[`${N}-unselectable`]:!T,[`${N}-rtl`]:m==="rtl"},y==null?void 0:y.className,C,j,z),direction:m,checkable:P&&t.default.createElement("span",{className:`${N}-checkbox-inner`}),selectable:T,switcherIcon:K,draggable:U}),$))});return hO.default=f,hO}var mO={},swe;function IJt(){if(swe)return mO;swe=1;var e=ze;Object.defineProperty(mO,"__esModule",{value:!0}),mO.calcRangeKeys=o,mO.convertDirectoryKeysToNodes=a;var t=e(qr()),n=mP(),r;(function(l){l[l.None=0]="None",l[l.Start=1]="Start",l[l.End=2]="End"})(r||(r={}));function i(l,s,u){const{key:c,children:f}=u;function h(d){const p=d[c],g=d[f];s(p,d)!==!1&&i(g||[],s,u)}l.forEach(h)}function o(l){let{treeData:s,expandedKeys:u,startKey:c,endKey:f,fieldNames:h}=l;const d=[];let p=r.None;if(c&&c===f)return[c];if(!c||!f)return[];function g(m){return m===c||m===f}return i(s,m=>{if(p===r.End)return!1;if(g(m)){if(d.push(m),p===r.None)p=r.Start;else if(p===r.Start)return p=r.End,!1}else p===r.Start&&d.push(m);return u.includes(m)},(0,n.fillFieldNames)(h)),d}function a(l,s,u){const c=(0,t.default)(s),f=[];return i(l,(h,d)=>{const p=c.indexOf(h);return p!==-1&&(f.push(d),c.splice(p,1)),!!c.length},(0,n.fillFieldNames)(u)),f}return mO}var cwe;function NJt(){if(cwe)return pO;cwe=1;var e=ze;Object.defineProperty(pO,"__esModule",{value:!0}),pO.default=void 0;var t=e(qr()),n=d(_),r=e(lUe()),i=e(gJt()),o=e(yJt()),a=e(Tt()),l=rUe(),s=mP(),u=Lt(),c=e(uUe()),f=IJt();function h(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(h=function(S){return S?x:C})(b)}function d(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=h(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var p=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{var{defaultExpandAll:x,defaultExpandParent:S,defaultExpandedKeys:w}=b,O=p(b,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const $=n.useRef(),P=n.useRef(),T=()=>{const{keyEntities:G}=(0,s.convertDataToEntities)(m(O));let Y;return x?Y=Object.keys(G):S?Y=(0,l.conductExpandParent)(O.expandedKeys||w||[],G):Y=O.expandedKeys||w,Y},[R,M]=n.useState(O.selectedKeys||O.defaultSelectedKeys||[]),[A,N]=n.useState(()=>T());n.useEffect(()=>{"selectedKeys"in O&&M(O.selectedKeys)},[O.selectedKeys]),n.useEffect(()=>{"expandedKeys"in O&&N(O.expandedKeys)},[O.expandedKeys]);const k=(G,Y)=>{var J;return"expandedKeys"in O||N(G),(J=O.onExpand)===null||J===void 0?void 0:J.call(O,G,Y)},D=(G,Y)=>{var J;const{multiple:ee,fieldNames:Q}=O,{node:te,nativeEvent:ne}=Y,{key:re=""}=te,oe=m(O),se=Object.assign(Object.assign({},Y),{selected:!0}),ye=(ne==null?void 0:ne.ctrlKey)||(ne==null?void 0:ne.metaKey),be=ne==null?void 0:ne.shiftKey;let he;ee&&ye?(he=G,$.current=re,P.current=he,se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)):ee&&be?(he=Array.from(new Set([].concat((0,t.default)(P.current||[]),(0,t.default)((0,f.calcRangeKeys)({treeData:oe,expandedKeys:A,startKey:re,endKey:$.current,fieldNames:Q}))))),se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)):(he=[re],$.current=re,P.current=he,se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)),(J=O.onSelect)===null||J===void 0||J.call(O,he,se),"selectedKeys"in O||M(he)},{getPrefixCls:L,direction:B}=n.useContext(u.ConfigContext),{prefixCls:j,className:z,showIcon:V=!0,expandAction:W="click"}=O,U=p(O,["prefixCls","className","showIcon","expandAction"]),K=L("tree",j),X=(0,a.default)(`${K}-directory`,{[`${K}-directory-rtl`]:B==="rtl"},z);return n.createElement(c.default,Object.assign({icon:g,ref:C,blockNode:!0},U,{showIcon:V,expandAction:W,prefixCls:K,className:X,expandedKeys:A,selectedKeys:R,onSelect:D,onExpand:k}))},y=n.forwardRef(v);return pO.default=y,pO}var uwe;function dUe(){if(uwe)return fO;uwe=1;var e=ze;Object.defineProperty(fO,"__esModule",{value:!0}),fO.default=void 0;var t=aUe,n=e(NJt()),r=e(uUe());const i=r.default;return i.DirectoryTree=n.default,i.TreeNode=t.TreeNode,fO.default=i,fO}var vO={},dwe;function AJt(){if(dwe)return vO;dwe=1;var e=ze;Object.defineProperty(vO,"__esModule",{value:!0}),vO.default=void 0;var t=e(_F()),n=o(_),r=e(NF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){let{value:s,onChange:u,filterSearch:c,tablePrefixCls:f,locale:h}=l;return c?n.createElement("div",{className:`${f}-filter-dropdown-search`},n.createElement(r.default,{prefix:n.createElement(t.default,null),placeholder:h.filterSearchPlaceholder,onChange:u,value:s,htmlSize:1,className:`${f}-filter-dropdown-search-input`})):null}return vO.default=a,vO}var yO={},fwe;function kJt(){if(fwe)return yO;fwe=1;var e=ze;Object.defineProperty(yO,"__esModule",{value:!0}),yO.default=void 0;var t=e(pP()),n=i(_);function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const o=l=>{const{keyCode:s}=l;s===t.default.ENTER&&l.stopPropagation()},a=n.forwardRef((l,s)=>n.createElement("div",{className:l.className,onClick:u=>u.stopPropagation(),onKeyDown:o,ref:s},l.children));return yO.default=a,yO}var pwe;function jJt(){if(pwe)return f2;pwe=1;var e=ze;Object.defineProperty(f2,"__esModule",{value:!0}),f2.default=void 0,f2.flattenKeys=C;var t=e(qr()),n=b(_),r=e(cJt()),i=e(Tt()),o=e(hqe()),a=e(uJt());_n();var l=e(Ac()),s=e(dP()),u=Q$(),c=e(AF()),f=e(Uoe()),h=e(rae()),d=nae(),p=e(TF()),g=e(dUe()),m=e(AJt()),v=e(kJt());function y(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(y=function(M){return M?R:T})(P)}function b(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=y(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var k=A?Object.getOwnPropertyDescriptor(P,N):null;k&&(k.get||k.set)?Object.defineProperty(M,N,k):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}function C(P){let T=[];return(P||[]).forEach(R=>{let{value:M,children:A}=R;T.push(M),A&&(T=[].concat((0,t.default)(T),(0,t.default)(C(A))))}),T}function x(P){return P.some(T=>{let{children:R}=T;return R})}function S(P,T){return typeof T=="string"||typeof T=="number"?T==null?void 0:T.toString().toLowerCase().includes(P.trim().toLowerCase()):!1}function w(P){let{filters:T,prefixCls:R,filteredKeys:M,filterMultiple:A,searchValue:N,filterSearch:k}=P;return T.map((D,L)=>{const B=String(D.value);if(D.children)return{key:B||L,label:D.text,popupClassName:`${R}-dropdown-submenu`,children:w({filters:D.children,prefixCls:R,filteredKeys:M,filterMultiple:A,searchValue:N,filterSearch:k})};const j=A?s.default:p.default,z={key:D.value!==void 0?B:L,label:n.createElement(n.Fragment,null,n.createElement(j,{checked:M.includes(B)}),n.createElement("span",null,D.text))};return N.trim()?typeof k=="function"?k(N,D)?z:null:S(N,D.text)?z:null:z})}function O(P){return P||[]}function $(P){var T,R;const{tablePrefixCls:M,prefixCls:A,column:N,dropdownPrefixCls:k,columnKey:D,filterMultiple:L,filterMode:B="menu",filterSearch:j=!1,filterState:z,triggerFilter:V,locale:W,children:U,getPopupContainer:K,rootClassName:X}=P,{filterDropdownOpen:G,onFilterDropdownOpenChange:Y,filterResetToDefaultFilteredValue:J,defaultFilteredValue:ee,filterDropdownVisible:Q,onFilterDropdownVisibleChange:te}=N,[ne,re]=n.useState(!1),oe=!!(z&&(!((T=z.filteredKeys)===null||T===void 0)&&T.length||z.forceFiltered)),se=Ye=>{re(Ye),Y==null||Y(Ye),te==null||te(Ye)},ye=(R=G??Q)!==null&&R!==void 0?R:ne,be=z==null?void 0:z.filteredKeys,[he,le]=(0,a.default)(O(be)),ve=Ye=>{let{selectedKeys:we}=Ye;le(we)},ke=(Ye,we)=>{let{node:De,checked:We}=we;ve(L?{selectedKeys:Ye}:{selectedKeys:We&&De.key?[De.key]:[]})};n.useEffect(()=>{ne&&ve({selectedKeys:O(be)})},[be]);const[Ie,Oe]=n.useState([]),Pe=Ye=>{Oe(Ye)},[_e,ce]=n.useState(""),Te=Ye=>{const{value:we}=Ye.target;ce(we)};n.useEffect(()=>{ne||ce("")},[ne]);const Ne=Ye=>{const we=Ye&&Ye.length?Ye:null;if(we===null&&(!z||!z.filteredKeys)||(0,o.default)(we,z==null?void 0:z.filteredKeys,!0))return null;V({column:N,key:D,filteredKeys:we})},je=()=>{se(!1),Ne(he())},He=function(){let{confirm:Ye,closeDropdown:we}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ye&&Ne([]),we&&se(!1),ce(""),le(J?(ee||[]).map(De=>String(De)):[])},Be=function(){let{closeDropdown:Ye}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ye&&se(!1),Ne(he())},qe=(Ye,we)=>{we.source==="trigger"&&(Ye&&be!==void 0&&le(O(be)),se(Ye),!Ye&&!N.filterDropdown&&je())},me=(0,i.default)({[`${k}-menu-without-submenu`]:!x(N.filters||[])}),Ee=Ye=>{if(Ye.target.checked){const we=C(N==null?void 0:N.filters).map(De=>String(De));le(we)}else le([])},$e=Ye=>{let{filters:we}=Ye;return(we||[]).map((De,We)=>{const Ge=String(De.value),Je={title:De.text,key:De.value!==void 0?Ge:String(We)};return De.children&&(Je.children=$e({filters:De.children})),Je})},Le=Ye=>{var we;return Object.assign(Object.assign({},Ye),{text:Ye.title,value:Ye.key,children:((we=Ye.children)===null||we===void 0?void 0:we.map(De=>Le(De)))||[]})};let Fe;if(typeof N.filterDropdown=="function")Fe=N.filterDropdown({prefixCls:`${k}-custom`,setSelectedKeys:Ye=>ve({selectedKeys:Ye}),selectedKeys:he(),confirm:Be,clearFilters:He,filters:N.filters,visible:ye,close:()=>{se(!1)}});else if(N.filterDropdown)Fe=N.filterDropdown;else{const Ye=he()||[],we=()=>(N.filters||[]).length===0?n.createElement(f.default,{image:f.default.PRESENTED_IMAGE_SIMPLE,description:W.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):B==="tree"?n.createElement(n.Fragment,null,n.createElement(m.default,{filterSearch:j,value:_e,onChange:Te,tablePrefixCls:M,locale:W}),n.createElement("div",{className:`${M}-filter-dropdown-tree`},L?n.createElement(s.default,{checked:Ye.length===C(N.filters).length,indeterminate:Ye.length>0&&Ye.lengthtypeof j=="function"?j(_e,Le(We)):S(_e,We.title):void 0}))):n.createElement(n.Fragment,null,n.createElement(m.default,{filterSearch:j,value:_e,onChange:Te,tablePrefixCls:M,locale:W}),n.createElement(h.default,{selectable:!0,multiple:L,prefixCls:`${k}-menu`,className:me,onSelect:ve,onDeselect:ve,selectedKeys:Ye,getPopupContainer:K,openKeys:Ie,onOpenChange:Pe,items:w({filters:N.filters||[],filterSearch:j,prefixCls:A,filteredKeys:he(),filterMultiple:L,searchValue:_e})})),De=()=>J?(0,o.default)((ee||[]).map(We=>String(We)),Ye,!0):Ye.length===0;Fe=n.createElement(n.Fragment,null,we(),n.createElement("div",{className:`${A}-dropdown-btns`},n.createElement(l.default,{type:"link",size:"small",disabled:De(),onClick:()=>He()},W.filterReset),n.createElement(l.default,{type:"primary",size:"small",onClick:je},W.filterConfirm)))}N.filterDropdown&&(Fe=n.createElement(d.OverrideProvider,{selectable:void 0},Fe));const Ke=()=>n.createElement(v.default,{className:`${A}-dropdown`},Fe);let lt;typeof N.filterIcon=="function"?lt=N.filterIcon(oe):N.filterIcon?lt=N.filterIcon:lt=n.createElement(r.default,null);const{direction:ft}=n.useContext(u.ConfigContext);return n.createElement("div",{className:`${A}-column`},n.createElement("span",{className:`${M}-column-title`},U),n.createElement(c.default,{dropdownRender:Ke,trigger:["click"],open:ye,onOpenChange:qe,getPopupContainer:K,placement:ft==="rtl"?"bottomLeft":"bottomRight",rootClassName:X},n.createElement("span",{role:"button",tabIndex:-1,className:(0,i.default)(`${A}-trigger`,{active:oe}),onClick:Ye=>{Ye.stopPropagation()}},lt)))}return f2.default=$,f2}var hwe;function DJt(){return hwe||(hwe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"flattenKeys",{enumerable:!0,get:function(){return a.flattenKeys}}),e.getFilterData=h;var n=t(qr()),r=s(_),i=_n(),o=bae(),a=s(jJt());function l(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(l=function(y){return y?v:m})(g)}function s(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=l(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}function u(g,m,v){let y=[];return(g||[]).forEach((b,C)=>{var x;const S=(0,o.getColumnPos)(C,v);if(b.filters||"filterDropdown"in b||"onFilter"in b)if("filteredValue"in b){let w=b.filteredValue;"filterDropdown"in b||(w=(x=w==null?void 0:w.map(String))!==null&&x!==void 0?x:w),y.push({column:b,key:(0,o.getColumnKey)(b,S),filteredKeys:w,forceFiltered:b.filtered})}else y.push({column:b,key:(0,o.getColumnKey)(b,S),filteredKeys:m&&b.defaultFilteredValue?b.defaultFilteredValue:void 0,forceFiltered:b.filtered});"children"in b&&(y=[].concat((0,n.default)(y),(0,n.default)(u(b.children,m,S))))}),y}function c(g,m,v,y,b,C,x,S,w){return v.map((O,$)=>{const P=(0,o.getColumnPos)($,S),{filterMultiple:T=!0,filterMode:R,filterSearch:M}=O;let A=O;if(A.filters||A.filterDropdown){const N=(0,o.getColumnKey)(A,P),k=y.find(D=>{let{key:L}=D;return N===L});A=Object.assign(Object.assign({},A),{title:D=>r.createElement(a.default,{tablePrefixCls:g,prefixCls:`${g}-filter`,dropdownPrefixCls:m,column:A,columnKey:N,filterState:k,filterMultiple:T,filterMode:R,filterSearch:M,triggerFilter:C,locale:b,getPopupContainer:x,rootClassName:w},(0,o.renderColumnTitle)(O.title,D))})}return"children"in A&&(A=Object.assign(Object.assign({},A),{children:c(g,m,A.children,y,b,C,x,P,w)})),A})}function f(g){const m={};return g.forEach(v=>{let{key:y,filteredKeys:b,column:C}=v;const x=y,{filters:S,filterDropdown:w}=C;if(w)m[x]=b||null;else if(Array.isArray(b)){const O=(0,a.flattenKeys)(S);m[x]=O.filter($=>b.includes(String($)))}else m[x]=null}),m}function h(g,m,v){return m.reduce((y,b)=>{const{column:{onFilter:C,filters:x},filteredKeys:S}=b;return C&&S&&S.length?y.map(w=>Object.assign({},w)).filter(w=>S.some(O=>{const $=(0,a.flattenKeys)(x),P=$.findIndex(R=>String(R)===String(O)),T=P!==-1?$[P]:O;return w[v]&&(w[v]=h(w[v],m,v)),C(T,w)})):y},g)}const d=g=>g.flatMap(m=>"children"in m?[m].concat((0,n.default)(d(m.children||[]))):[m]);function p(g){let{prefixCls:m,dropdownPrefixCls:v,mergedColumns:y,onFilterChange:b,getPopupContainer:C,locale:x,rootClassName:S}=g;(0,i.devUseWarning)("Table");const w=r.useMemo(()=>d(y||[]),[y]),[O,$]=r.useState(()=>u(w,!0)),P=r.useMemo(()=>{const A=u(w,!1);if(A.length===0)return A;let N=!0;if(A.forEach(k=>{let{filteredKeys:D}=k;D!==void 0&&(N=!1)}),N){const k=(w||[]).map((D,L)=>(0,o.getColumnKey)(D,(0,o.getColumnPos)(L)));return O.filter(D=>{let{key:L}=D;return k.includes(L)}).map(D=>{const L=w[k.findIndex(B=>B===D.key)];return Object.assign(Object.assign({},D),{column:Object.assign(Object.assign({},D.column),L),forceFiltered:L.filtered})})}return A},[w,O]),T=r.useMemo(()=>f(P),[P]),R=A=>{const N=P.filter(k=>{let{key:D}=k;return D!==A.key});N.push(A),$(N),b(f(N),N)};return[A=>c(m,v,A,P,x,R,C,void 0,S),P,T]}e.default=p}(FG)),FG}var mN={},gwe;function LJt(){if(gwe)return mN;gwe=1,Object.defineProperty(mN,"__esModule",{value:!0}),mN.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o,a){const l=e.useRef({});function s(u){if(!l.current||l.current.data!==i||l.current.childrenColumnName!==o||l.current.getRowKey!==a){let f=function(h){h.forEach((d,p)=>{const g=a(d,p);c.set(g,d),d&&typeof d=="object"&&o in d&&f(d[o]||[])})};const c=new Map;f(i),l.current={data:i,childrenColumnName:o,kvMap:c,getRowKey:a}}return l.current.kvMap.get(u)}return[s]}return mN}var d1={},mwe;function zJt(){if(mwe)return d1;mwe=1;var e=ze;Object.defineProperty(d1,"__esModule",{value:!0}),d1.default=d1.DEFAULT_PAGE_SIZE=void 0,d1.getPaginationParam=o;var t=_,n=e(YVe()),r=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{const h=l[f];typeof h!="function"&&(u[f]=h)}),u}function a(l,s,u){const c=u&&typeof u=="object"?u:{},{total:f=0}=c,h=r(c,["total"]),[d,p]=(0,t.useState)(()=>({current:"defaultCurrent"in h?h.defaultCurrent:1,pageSize:"defaultPageSize"in h?h.defaultPageSize:i})),g=(0,n.default)(d,h,{total:f>0?f:l}),m=Math.ceil((f||l)/g.pageSize);g.current>m&&(g.current=m||1);const v=(b,C)=>{p({current:b??1,pageSize:C||g.pageSize})},y=(b,C)=>{var x;u&&((x=u.onChange)===null||x===void 0||x.call(u,b,C)),v(b,C),s(b,C||(g==null?void 0:g.pageSize))};return u===!1?[{},()=>{}]:[Object.assign(Object.assign({},g),{onChange:y}),v]}return d1.default=a,d1}var bO={},vN={exports:{}},YG={},yN={},vwe;function BJt(){if(vwe)return yN;vwe=1,Object.defineProperty(yN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};return yN.default=e,yN}var ywe;function FJt(){return ywe||(ywe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(BJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const M=(0,s.getColumnPos)(R,O);T.children?("sortOrder"in T&&P(T,M),$=[].concat((0,t.default)($),(0,t.default)(m(T.children,w,M)))):T.sorter&&("sortOrder"in T?P(T,M):w&&T.defaultSortOrder&&$.push({column:T,key:(0,s.getColumnKey)(T,M),multiplePriority:d(T),sortOrder:T.defaultSortOrder}))}),$}function v(S,w,O,$,P,T,R,M){return(w||[]).map((A,N)=>{const k=(0,s.getColumnPos)(N,M);let D=A;if(D.sorter){const L=D.sortDirections||P,B=D.showSorterTooltip===void 0?R:D.showSorterTooltip,j=(0,s.getColumnKey)(D,k),z=O.find(ee=>{let{key:Q}=ee;return Q===j}),V=z?z.sortOrder:null,W=g(L,V);let U;if(A.sortIcon)U=A.sortIcon({sortOrder:V});else{const ee=L.includes(f)&&a.createElement(r.default,{className:(0,i.default)(`${S}-column-sorter-up`,{active:V===f})}),Q=L.includes(h)&&a.createElement(n.default,{className:(0,i.default)(`${S}-column-sorter-down`,{active:V===h})});U=a.createElement("span",{className:(0,i.default)(`${S}-column-sorter`,{[`${S}-column-sorter-full`]:!!(ee&&Q)})},a.createElement("span",{className:`${S}-column-sorter-inner`,"aria-hidden":"true"},ee,Q))}const{cancelSort:K,triggerAsc:X,triggerDesc:G}=T||{};let Y=K;W===h?Y=G:W===f&&(Y=X);const J=typeof B=="object"?Object.assign({title:Y},B):{title:Y};D=Object.assign(Object.assign({},D),{className:(0,i.default)(D.className,{[`${S}-column-sort`]:V}),title:ee=>{const Q=a.createElement("div",{className:`${S}-column-sorters`},a.createElement("span",{className:`${S}-column-title`},(0,s.renderColumnTitle)(A.title,ee)),U);return B?a.createElement(l.default,Object.assign({},J),Q):Q},onHeaderCell:ee=>{const Q=A.onHeaderCell&&A.onHeaderCell(ee)||{},te=Q.onClick,ne=Q.onKeyDown;Q.onClick=se=>{$({column:A,key:j,sortOrder:W,multiplePriority:d(A)}),te==null||te(se)},Q.onKeyDown=se=>{se.keyCode===o.default.ENTER&&($({column:A,key:j,sortOrder:W,multiplePriority:d(A)}),ne==null||ne(se))};const re=(0,s.safeColumnTitle)(A.title,{}),oe=re==null?void 0:re.toString();return V?Q["aria-sort"]=V==="ascend"?"ascending":"descending":Q["aria-label"]=oe||"",Q.className=(0,i.default)(Q.className,`${S}-column-has-sorters`),Q.tabIndex=0,A.ellipsis&&(Q.title=(re??"").toString()),Q}})}return"children"in D&&(D=Object.assign(Object.assign({},D),{children:v(S,D.children,O,$,P,T,R,k)})),D})}function y(S){const{column:w,sortOrder:O}=S;return{column:w,order:O,field:w.dataIndex,columnKey:w.key}}function b(S){const w=S.filter(O=>{let{sortOrder:$}=O;return $}).map(y);return w.length===0&&S.length?Object.assign(Object.assign({},y(S[S.length-1])),{column:void 0}):w.length<=1?w[0]||{}:w}function C(S,w,O){const $=w.slice().sort((R,M)=>M.multiplePriority-R.multiplePriority),P=S.slice(),T=$.filter(R=>{let{column:{sorter:M},sortOrder:A}=R;return p(M)&&A});return T.length?P.sort((R,M)=>{for(let A=0;A{const M=R[O];return M?Object.assign(Object.assign({},R),{[O]:C(M,w,O)}):R}):P}function x(S){let{prefixCls:w,mergedColumns:O,onSorterChange:$,sortDirections:P,tableLocale:T,showSorterTooltip:R}=S;const[M,A]=a.useState(m(O,!0)),N=a.useMemo(()=>{let j=!0;const z=m(O,!1);if(!z.length)return M;const V=[];function W(K){j?V.push(K):V.push(Object.assign(Object.assign({},K),{sortOrder:null}))}let U=null;return z.forEach(K=>{U===null?(W(K),K.sortOrder&&(K.multiplePriority===!1?j=!1:U=!0)):(U&&K.multiplePriority!==!1||(j=!1),W(K))}),V},[O,M]),k=a.useMemo(()=>{const j=N.map(z=>{let{column:V,sortOrder:W}=z;return{column:V,order:W}});return{sortColumns:j,sortColumn:j[0]&&j[0].column,sortOrder:j[0]&&j[0].order}},[N]);function D(j){let z;j.multiplePriority===!1||!N.length||N[0].multiplePriority===!1?z=[j]:z=[].concat((0,t.default)(N.filter(V=>{let{key:W}=V;return W!==j.key})),[j]),A(z),$(b(z),z)}return[j=>v(w,j,N,D,P,T,R),N,k,()=>b(N)]}return bO}var SN={},wwe;function GJt(){if(wwe)return SN;wwe=1,Object.defineProperty(SN,"__esModule",{value:!0}),SN.default=o;var e=r(_),t=bae();function n(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(n=function(u){return u?s:l})(a)}function r(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=n(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function i(a,l){return a.map(s=>{const u=Object.assign({},s);return u.title=(0,t.renderColumnTitle)(s.title,l),"children"in u&&(u.children=i(u.children,l)),u})}function o(a){return[e.useCallback(s=>i(s,a),[a])]}return SN}var CO={},Owe;function KJt(){if(Owe)return CO;Owe=1,Object.defineProperty(CO,"__esModule",{value:!0}),CO.default=void 0;var e=hP;return CO.default=(0,e.genTable)((t,n)=>{const{_renderTimes:r}=t,{_renderTimes:i}=n;return r!==i}),CO}var SO={},Ewe;function XJt(){if(Ewe)return SO;Ewe=1,Object.defineProperty(SO,"__esModule",{value:!0}),SO.default=void 0;var e=hP;return SO.default=(0,e.genVirtualTable)((t,n)=>{const{_renderTimes:r}=t,{_renderTimes:i}=n;return r!==i}),SO}var Mm={},xO={},$we;function YJt(){if($we)return xO;$we=1,Object.defineProperty(xO,"__esModule",{value:!0}),xO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,lineWidth:i,lineType:o,tableBorderColor:a,tableHeaderBg:l,tablePaddingVertical:s,tablePaddingHorizontal:u,calc:c}=n,f=`${(0,e.unit)(i)} ${o} ${a}`,h=(d,p,g)=>({[`&${r}-${d}`]:{[`> ${r}-container`]:{[`> ${r}-content, > ${r}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${r}-expanded-row-fixed`]:{margin:`${(0,e.unit)(c(p).mul(-1).equal())} + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${f}-tooltip-inner`]:{minWidth:"unset"}})}},o=(u,c)=>{const{componentCls:f,railSize:h,handleSize:d,dotSize:p,marginFull:g,calc:m}=u,v=c?"paddingBlock":"paddingInline",y=c?"width":"height",b=c?"height":"width",C=c?"insetBlockStart":"insetInlineStart",x=c?"top":"insetInlineStart",S=m(h).mul(3).sub(d).div(2).equal(),w=m(d).sub(h).div(2).equal(),O=c?{borderWidth:`${(0,r.unit)(w)} 0`,transform:`translateY(${(0,r.unit)(m(w).mul(-1).equal())})`}:{borderWidth:`0 ${(0,r.unit)(w)}`,transform:`translateX(${(0,r.unit)(u.calc(w).mul(-1).equal())})`};return{[v]:h,[b]:m(h).mul(3).equal(),[`${f}-rail`]:{[y]:"100%",[b]:h},[`${f}-track,${f}-tracks`]:{[b]:h},[`${f}-track-draggable`]:Object.assign({},O),[`${f}-handle`]:{[C]:S},[`${f}-mark`]:{insetInlineStart:0,top:0,[x]:m(h).mul(3).add(c?0:g).equal(),[y]:"100%"},[`${f}-step`]:{insetInlineStart:0,top:0,[x]:h,[y]:"100%",[b]:h},[`${f}-dot`]:{position:"absolute",[C]:m(h).sub(p).div(2).equal()}}},a=u=>{const{componentCls:c,marginPartWithMark:f}=u;return{[`${c}-horizontal`]:Object.assign(Object.assign({},o(u,!0)),{[`&${c}-with-marks`]:{marginBottom:f}})}},l=u=>{const{componentCls:c}=u;return{[`${c}-vertical`]:Object.assign(Object.assign({},o(u,!1)),{height:"100%"})}},s=u=>{const f=u.controlHeightLG/4,h=u.controlHeightSM/2,d=u.lineWidth+1,p=u.lineWidth+1*3;return{controlSize:f,railSize:4,handleSize:f,handleSizeHover:h,dotSize:8,handleLineWidth:d,handleLineWidthHover:p,railBg:u.colorFillTertiary,railHoverBg:u.colorFillSecondary,trackBg:u.colorPrimaryBorder,trackHoverBg:u.colorPrimaryBorderHover,handleColor:u.colorPrimaryBorder,handleActiveColor:u.colorPrimary,handleColorDisabled:new e.TinyColor(u.colorTextDisabled).onBackground(u.colorBgContainer).toHexShortString(),dotBorderColor:u.colorBorderSecondary,dotActiveBorderColor:u.colorPrimaryBorder,trackBgDisabled:u.colorBgContainerDisabled}};return wm.prepareComponentToken=s,wm.default=(0,n.genStyleHooks)("Slider",u=>{const c=(0,n.mergeToken)(u,{marginPart:u.calc(u.controlHeight).sub(u.controlSize).div(2).equal(),marginFull:u.calc(u.controlSize).div(2).equal(),marginPartWithMark:u.calc(u.controlHeightLG).sub(u.controlSize).equal()});return[i(c),a(c),l(c)]},s),wm}var q5e;function xQt(){if(q5e)return zw;q5e=1;var e=ze;Object.defineProperty(zw,"__esModule",{value:!0}),zw.default=void 0;var t=e(_),n=e(Tt()),r=e(bQt);_n();var i=Lt(),o=e($a()),a=e(CQt()),l=e(SQt()),s=function(f,h){var d={};for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&h.indexOf(p)<0&&(d[p]=f[p]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(f);gtypeof d=="number"?d.toString():""}const c=t.default.forwardRef((f,h)=>{const{prefixCls:d,range:p,className:g,rootClassName:m,style:v,disabled:y,tooltipPrefixCls:b,tipFormatter:C,tooltipVisible:x,getTooltipPopupContainer:S,tooltipPlacement:w}=f,O=s(f,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:$,slider:P,getPrefixCls:T,getPopupContainer:R}=t.default.useContext(i.ConfigContext),M=t.default.useContext(o.default),A=y??M,[N,j]=t.default.useState({}),D=(Y,J)=>{j(ee=>Object.assign(Object.assign({},ee),{[Y]:J}))},L=(Y,J)=>Y||(J?$==="rtl"?"left":"right":"top"),B=T("slider",d),[k,z,q]=(0,l.default)(B),W=(0,n.default)(g,P==null?void 0:P.className,m,{[`${B}-rtl`]:$==="rtl"},z,q);$==="rtl"&&!O.vertical&&(O.reverse=!O.reverse);const[U,K]=t.default.useMemo(()=>p?typeof p=="object"?[!0,p.draggableTrack]:[!0,!1]:[!1],[p]),X=(Y,J)=>{var ee;const{index:Q,dragging:te}=J,{tooltip:ne={},vertical:re}=f,oe=Object.assign({},ne),{open:se,placement:ye,getPopupContainer:be,prefixCls:he,formatter:le}=oe,ve=u(le,C),ke=ve?N[Q]||te:!1,Ie=(ee=se??x)!==null&&ee!==void 0?ee:se===void 0&&ke,Oe=Object.assign(Object.assign({},Y.props),{onMouseEnter:()=>D(Q,!0),onMouseLeave:()=>D(Q,!1),onFocus:Pe=>{var _e;D(Q,!0),(_e=O.onFocus)===null||_e===void 0||_e.call(O,Pe)},onBlur:Pe=>{var _e;D(Q,!1),(_e=O.onBlur)===null||_e===void 0||_e.call(O,Pe)}});return t.default.createElement(a.default,Object.assign({},oe,{prefixCls:T("tooltip",he??b),title:ve?ve(J.value):"",open:Ie,placement:L(ye??w,re),key:Q,overlayClassName:`${B}-tooltip`,getPopupContainer:be||S||R}),t.default.cloneElement(Y,Oe))},G=Object.assign(Object.assign({},P==null?void 0:P.style),v);return k(t.default.createElement(r.default,Object.assign({},O,{step:O.step,range:U,draggableTrack:K,className:W,style:G,disabled:A,ref:h,prefixCls:B,handleRender:X})))});return zw.default=c,zw}var Fw={},Hw={},Ww={},qw={},V5e;function _Qt(){if(V5e)return qw;V5e=1,Object.defineProperty(qw,"__esModule",{value:!0}),qw.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=i=>{const{value:o,formatter:a,precision:l,decimalSeparator:s,groupSeparator:u="",prefixCls:c}=i;let f;if(typeof a=="function")f=a(o);else{const h=String(o),d=h.match(/^(-?)(\d*)(\.(\d+))?$/);if(!d||h==="-")f=h;else{const p=d[1];let g=d[2]||"0",m=d[4]||"";g=g.replace(/\B(?=(\d{3})+(?!\d))/g,u),typeof l=="number"&&(m=m.padEnd(l,"0").slice(0,l>0?l:0)),m&&(m=`${s}${m}`),f=[e.createElement("span",{key:"int",className:`${c}-content-value-int`},p,g),m&&e.createElement("span",{key:"decimal",className:`${c}-content-value-decimal`},m)]}}return e.createElement("span",{className:`${c}-content-value`},f)};return qw.default=r,qw}var Om={},U5e;function wQt(){if(U5e)return Om;U5e=1,Object.defineProperty(Om,"__esModule",{value:!0}),Om.prepareComponentToken=Om.default=void 0;var e=Tn(),t=Jt();const n=i=>{const{componentCls:o,marginXXS:a,padding:l,colorTextDescription:s,titleFontSize:u,colorTextHeading:c,contentFontSize:f,fontFamily:h}=i;return{[`${o}`]:Object.assign(Object.assign({},(0,e.resetComponent)(i)),{[`${o}-title`]:{marginBottom:a,color:s,fontSize:u},[`${o}-skeleton`]:{paddingTop:l},[`${o}-content`]:{color:c,fontSize:f,fontFamily:h,[`${o}-content-value`]:{display:"inline-block",direction:"ltr"},[`${o}-content-prefix, ${o}-content-suffix`]:{display:"inline-block"},[`${o}-content-prefix`]:{marginInlineEnd:a},[`${o}-content-suffix`]:{marginInlineStart:a}}})}},r=i=>{const{fontSizeHeading3:o,fontSize:a}=i;return{titleFontSize:a,contentFontSize:o}};return Om.prepareComponentToken=r,Om.default=(0,t.genStyleHooks)("Statistic",i=>{const o=(0,t.mergeToken)(i,{});return[n(o)]},r),Om}var G5e;function tUe(){if(G5e)return Ww;G5e=1;var e=ze;Object.defineProperty(Ww,"__esModule",{value:!0}),Ww.default=void 0;var t=e(Tt()),n=u(_),r=e(MC()),i=Lt(),o=e(dae()),a=e(_Qt()),l=e(wQt());function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,className:p,rootClassName:g,style:m,valueStyle:v,value:y=0,title:b,valueRender:C,prefix:x,suffix:S,loading:w=!1,formatter:O,precision:$,decimalSeparator:P=".",groupSeparator:T=",",onMouseEnter:R,onMouseLeave:M}=h,A=c(h,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:N,direction:j,statistic:D}=n.useContext(i.ConfigContext),L=N("statistic",d),[B,k,z]=(0,l.default)(L),q=n.createElement(a.default,{decimalSeparator:P,groupSeparator:T,prefixCls:L,formatter:O,precision:$,value:y}),W=(0,t.default)(L,{[`${L}-rtl`]:j==="rtl"},D==null?void 0:D.className,p,g,k,z),U=(0,r.default)(A,{aria:!0,data:!0});return B(n.createElement("div",Object.assign({},U,{className:W,style:Object.assign(Object.assign({},D==null?void 0:D.style),m),onMouseEnter:R,onMouseLeave:M}),b&&n.createElement("div",{className:`${L}-title`},b),n.createElement(o.default,{paragraph:!1,loading:w,className:`${L}-skeleton`},n.createElement("div",{style:v,className:`${L}-content`},x&&n.createElement("span",{className:`${L}-content-prefix`},x),C?C(q):q,S&&n.createElement("span",{className:`${L}-content-suffix`},S)))))};return Ww.default=f,Ww}var Vw={},K5e;function OQt(){if(K5e)return Vw;K5e=1,Object.defineProperty(Vw,"__esModule",{value:!0}),Vw.formatCountdown=n,Vw.formatTimeStr=t;const e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function t(r,i){let o=r;const a=/\[[^\]]*]/g,l=(i.match(a)||[]).map(f=>f.slice(1,-1)),s=i.replace(a,"[]"),u=e.reduce((f,h)=>{let[d,p]=h;if(f.includes(d)){const g=Math.floor(o/p);return o-=g*p,f.replace(new RegExp(`${d}+`,"g"),m=>{const v=m.length;return g.toString().padStart(v,"0")})}return f},s);let c=0;return u.replace(a,()=>{const f=l[c];return c+=1,f})}function n(r,i){const{format:o=""}=i,a=new Date(r).getTime(),l=Date.now(),s=Math.max(a-l,0);return t(s,o)}return Vw}var X5e;function EQt(){if(X5e)return Hw;X5e=1;var e=ze;Object.defineProperty(Hw,"__esModule",{value:!0}),Hw.default=void 0;var t=l(_),n=e(EF()),r=to(),i=e(tUe()),o=OQt();function a(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(a=function(g){return g?p:d})(h)}function l(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=a(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var s=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{value:d,format:p="HH:mm:ss",onChange:g,onFinish:m}=h,v=s(h,["value","format","onChange","onFinish"]),y=(0,n.default)(),b=t.useRef(null),C=()=>{m==null||m(),b.current&&(clearInterval(b.current),b.current=null)},x=()=>{const O=c(d);O>=Date.now()&&(b.current=setInterval(()=>{y(),g==null||g(O-Date.now()),O(x(),()=>{b.current&&(clearInterval(b.current),b.current=null)}),[d]);const S=(O,$)=>(0,o.formatCountdown)(O,Object.assign(Object.assign({},$),{format:p})),w=O=>(0,r.cloneElement)(O,{title:void 0});return t.createElement(i.default,Object.assign({},v,{value:d,valueRender:w,formatter:S}))};return Hw.default=t.memo(f),Hw}var Y5e;function $Qt(){if(Y5e)return Fw;Y5e=1;var e=ze;Object.defineProperty(Fw,"__esModule",{value:!0}),Fw.default=void 0;var t=e(EQt()),n=e(tUe());return n.default.Countdown=t.default,Fw.default=n.default,Fw}var Uw={};const PQt=gr(dPt);var Em={},Gw={},Z5e;function TQt(){if(Z5e)return Gw;Z5e=1,Object.defineProperty(Gw,"__esModule",{value:!0}),Gw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,customIconTop:i,customIconSize:o,customIconFontSize:a}=n;return{[`${r}-item-custom`]:{[`> ${r}-item-container > ${r}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${r}-icon`]:{top:i,width:o,height:o,fontSize:a,lineHeight:`${(0,e.unit)(a)}`}}},[`&:not(${r}-vertical)`]:{[`${r}-item-custom`]:{[`${r}-item-icon`]:{width:"auto",background:"none"}}}}};return Gw.default=t,Gw}var Kw={},Q5e;function MQt(){if(Q5e)return Kw;Q5e=1,Object.defineProperty(Kw,"__esModule",{value:!0}),Kw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,inlineDotSize:i,inlineTitleColor:o,inlineTailColor:a}=n,l=n.calc(n.paddingXS).add(n.lineWidth).equal(),s={[`${r}-item-container ${r}-item-content ${r}-item-title`]:{color:o}};return{[`&${r}-inline`]:{width:"auto",display:"inline-flex",[`${r}-item`]:{flex:"none","&-container":{padding:`${(0,e.unit)(l)} ${(0,e.unit)(n.paddingXXS)} 0`,margin:`0 ${(0,e.unit)(n.calc(n.marginXXS).div(2).equal())}`,borderRadius:n.borderRadiusSM,cursor:"pointer",transition:`background-color ${n.motionDurationMid}`,"&:hover":{background:n.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:i,height:i,marginInlineStart:`calc(50% - ${(0,e.unit)(n.calc(i).div(2).equal())})`,[`> ${r}-icon`]:{top:0},[`${r}-icon-dot`]:{borderRadius:n.calc(n.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:n.calc(n.marginXS).sub(n.lineWidth).equal()},"&-title":{color:o,fontSize:n.fontSizeSM,lineHeight:n.lineHeightSM,fontWeight:"normal",marginBottom:n.calc(n.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:n.calc(i).div(2).add(l).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:n.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${r}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${r}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${r}-item-icon ${r}-icon ${r}-icon-dot`]:{backgroundColor:n.colorBorderBg,border:`${(0,e.unit)(n.lineWidth)} ${n.lineType} ${a}`}},s),"&-finish":Object.assign({[`${r}-item-tail::after`]:{backgroundColor:a},[`${r}-item-icon ${r}-icon ${r}-icon-dot`]:{backgroundColor:a,border:`${(0,e.unit)(n.lineWidth)} ${n.lineType} ${a}`}},s),"&-error":s,"&-active, &-process":Object.assign({[`${r}-item-icon`]:{width:i,height:i,marginInlineStart:`calc(50% - ${(0,e.unit)(n.calc(i).div(2).equal())})`,top:0}},s),[`&:not(${r}-item-active) > ${r}-item-container[role='button']:hover`]:{[`${r}-item-title`]:{color:o}}}}}};return Kw.default=t,Kw}var Xw={},J5e;function RQt(){if(J5e)return Xw;J5e=1,Object.defineProperty(Xw,"__esModule",{value:!0}),Xw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSize:i,lineHeight:o,iconSizeSM:a}=n;return{[`&${r}-label-vertical`]:{[`${r}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n.calc(i).div(2).add(n.controlHeightLG).equal(),padding:`${(0,e.unit)(n.paddingXXS)} ${(0,e.unit)(n.paddingLG)}`},"&-content":{display:"block",width:n.calc(i).div(2).add(n.controlHeightLG).mul(2).equal(),marginTop:n.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:n.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:n.marginXXS,marginInlineStart:0,lineHeight:o}},[`&${r}-small:not(${r}-dot)`]:{[`${r}-item`]:{"&-icon":{marginInlineStart:n.calc(i).sub(a).div(2).add(n.controlHeightLG).equal()}}}}}};return Xw.default=t,Xw}var Yw={},e_e;function IQt(){if(e_e)return Yw;e_e=1,Object.defineProperty(Yw,"__esModule",{value:!0}),Yw.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,navContentMaxWidth:o,navArrowColor:a,stepsNavActiveColor:l,motionDurationSlow:s}=r;return{[`&${i}-navigation`]:{paddingTop:r.paddingSM,[`&${i}-small`]:{[`${i}-item`]:{"&-container":{marginInlineStart:r.calc(r.marginSM).mul(-1).equal()}}},[`${i}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:r.calc(r.margin).mul(-1).equal(),paddingBottom:r.paddingSM,textAlign:"start",transition:`opacity ${s}`,[`${i}-item-content`]:{maxWidth:o},[`${i}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},t.textEllipsis),{"&::after":{display:"none"}})},[`&:not(${i}-item-active)`]:{[`${i}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${(0,e.unit)(r.calc(r.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:r.fontSizeIcon,height:r.fontSizeIcon,borderTop:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${a}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,e.unit)(r.lineWidth)} ${r.lineType} ${a}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:r.lineWidthBold,backgroundColor:l,transition:`width ${s}, inset-inline-start ${s}`,transitionTimingFunction:"ease-out",content:'""'}},[`${i}-item${i}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${i}-navigation${i}-vertical`]:{[`> ${i}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${i}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:r.calc(r.lineWidth).mul(3).equal(),height:`calc(100% - ${(0,e.unit)(r.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:r.calc(r.controlHeight).mul(.25).equal(),height:r.calc(r.controlHeight).mul(.25).equal(),marginBottom:r.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}},[`&${i}-navigation${i}-horizontal`]:{[`> ${i}-item > ${i}-item-container > ${i}-item-tail`]:{visibility:"hidden"}}}};return Yw.default=n,Yw}var Zw={},t_e;function NQt(){if(t_e)return Zw;t_e=1,Object.defineProperty(Zw,"__esModule",{value:!0}),Zw.default=void 0;const e=t=>{const{antCls:n,componentCls:r}=t;return{[`&${r}-with-progress`]:{[`${r}-item`]:{paddingTop:t.paddingXXS,[`&-process ${r}-item-container ${r}-item-icon ${r}-icon`]:{color:t.processIconColor}},[`&${r}-vertical > ${r}-item `]:{paddingInlineStart:t.paddingXXS,[`> ${r}-item-container > ${r}-item-tail`]:{top:t.marginXXS,insetInlineStart:t.calc(t.iconSize).div(2).sub(t.lineWidth).add(t.paddingXXS).equal()}},[`&, &${r}-small`]:{[`&${r}-horizontal ${r}-item:first-child`]:{paddingBottom:t.paddingXXS,paddingInlineStart:t.paddingXXS}},[`&${r}-small${r}-vertical > ${r}-item > ${r}-item-container > ${r}-item-tail`]:{insetInlineStart:t.calc(t.iconSizeSM).div(2).sub(t.lineWidth).add(t.paddingXXS).equal()},[`&${r}-label-vertical`]:{[`${r}-item ${r}-item-tail`]:{top:t.calc(t.margin).sub(t.calc(t.lineWidth).mul(2).equal()).equal()}},[`${r}-item-icon`]:{position:"relative",[`${n}-progress`]:{position:"absolute",insetBlockStart:t.calc(t.calc(t.iconSize).sub(t.stepsProgressSize).sub(t.calc(t.lineWidth).mul(2).equal()).equal()).div(2).equal(),insetInlineStart:t.calc(t.calc(t.iconSize).sub(t.stepsProgressSize).sub(t.calc(t.lineWidth).mul(2).equal()).equal()).div(2).equal()}}}}};return Zw.default=e,Zw}var Qw={},n_e;function AQt(){if(n_e)return Qw;n_e=1,Object.defineProperty(Qw,"__esModule",{value:!0}),Qw.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,descriptionMaxWidth:i,lineHeight:o,dotCurrentSize:a,dotSize:l,motionDurationSlow:s}=n;return{[`&${r}-dot, &${r}-dot${r}-small`]:{[`${r}-item`]:{"&-title":{lineHeight:o},"&-tail":{top:n.calc(n.dotSize).sub(n.calc(n.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${(0,e.unit)(n.calc(i).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${(0,e.unit)(n.calc(n.marginSM).mul(2).equal())})`,height:n.calc(n.lineWidth).mul(3).equal(),marginInlineStart:n.marginSM}},"&-icon":{width:l,height:l,marginInlineStart:n.calc(n.descriptionMaxWidth).sub(l).div(2).equal(),paddingInlineEnd:0,lineHeight:`${(0,e.unit)(l)}`,background:"transparent",border:0,[`${r}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${s}`,"&::after":{position:"absolute",top:n.calc(n.marginSM).mul(-1).equal(),insetInlineStart:n.calc(l).sub(n.calc(n.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:n.calc(n.controlHeightLG).mul(1.5).equal(),height:n.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:i},[`&-process ${r}-item-icon`]:{position:"relative",top:n.calc(l).sub(a).div(2).equal(),width:a,height:a,lineHeight:`${(0,e.unit)(a)}`,background:"none",marginInlineStart:n.calc(n.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${r}-icon`]:{[`&:first-child ${r}-icon-dot`]:{insetInlineStart:0}}}},[`&${r}-vertical${r}-dot`]:{[`${r}-item-icon`]:{marginTop:n.calc(n.controlHeight).sub(l).div(2).equal(),marginInlineStart:0,background:"none"},[`${r}-item-process ${r}-item-icon`]:{marginTop:n.calc(n.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:n.calc(l).sub(a).div(2).equal(),marginInlineStart:0},[`${r}-item > ${r}-item-container > ${r}-item-tail`]:{top:n.calc(n.controlHeight).sub(l).div(2).equal(),insetInlineStart:0,margin:0,padding:`${(0,e.unit)(n.calc(l).add(n.paddingXS).equal())} 0 ${(0,e.unit)(n.paddingXS)}`,"&::after":{marginInlineStart:n.calc(l).sub(n.lineWidth).div(2).equal()}},[`&${r}-small`]:{[`${r}-item-icon`]:{marginTop:n.calc(n.controlHeightSM).sub(l).div(2).equal()},[`${r}-item-process ${r}-item-icon`]:{marginTop:n.calc(n.controlHeightSM).sub(a).div(2).equal()},[`${r}-item > ${r}-item-container > ${r}-item-tail`]:{top:n.calc(n.controlHeightSM).sub(l).div(2).equal()}},[`${r}-item:first-child ${r}-icon-dot`]:{insetInlineStart:0},[`${r}-item-content`]:{width:"inherit"}}}};return Qw.default=t,Qw}var Jw={},r_e;function kQt(){if(r_e)return Jw;r_e=1,Object.defineProperty(Jw,"__esModule",{value:!0}),Jw.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`&${n}-rtl`]:{direction:"rtl",[`${n}-item`]:{"&-subtitle":{float:"left"}},[`&${n}-navigation`]:{[`${n}-item::after`]:{transform:"rotate(-45deg)"}},[`&${n}-vertical`]:{[`> ${n}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${n}-item-icon`]:{float:"right"}}},[`&${n}-dot`]:{[`${n}-item-icon ${n}-icon-dot, &${n}-small ${n}-item-icon ${n}-icon-dot`]:{float:"right"}}}}};return Jw.default=e,Jw}var eO={},i_e;function jQt(){if(i_e)return eO;i_e=1,Object.defineProperty(eO,"__esModule",{value:!0}),eO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSizeSM:i,fontSizeSM:o,fontSize:a,colorTextDescription:l}=n;return{[`&${r}-small`]:{[`&${r}-horizontal:not(${r}-label-vertical) ${r}-item`]:{paddingInlineStart:n.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${r}-item-icon`]:{width:i,height:i,marginTop:0,marginBottom:0,marginInline:`0 ${(0,e.unit)(n.marginXS)}`,fontSize:o,lineHeight:`${(0,e.unit)(i)}`,textAlign:"center",borderRadius:i},[`${r}-item-title`]:{paddingInlineEnd:n.paddingSM,fontSize:a,lineHeight:`${(0,e.unit)(i)}`,"&::after":{top:n.calc(i).div(2).equal()}},[`${r}-item-description`]:{color:l,fontSize:a},[`${r}-item-tail`]:{top:n.calc(i).div(2).sub(n.paddingXXS).equal()},[`${r}-item-custom ${r}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${r}-icon`]:{fontSize:i,lineHeight:`${(0,e.unit)(i)}`,transform:"none"}}}}};return eO.default=t,eO}var tO={},o_e;function DQt(){if(o_e)return tO;o_e=1,Object.defineProperty(tO,"__esModule",{value:!0}),tO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconSizeSM:i,iconSize:o}=n;return{[`&${r}-vertical`]:{display:"flex",flexDirection:"column",[`> ${r}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${r}-item-icon`]:{float:"left",marginInlineEnd:n.margin},[`${r}-item-content`]:{display:"block",minHeight:n.calc(n.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${r}-item-title`]:{lineHeight:`${(0,e.unit)(o)}`},[`${r}-item-description`]:{paddingBottom:n.paddingSM}},[`> ${r}-item > ${r}-item-container > ${r}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n.calc(o).div(2).sub(n.lineWidth).equal(),width:n.lineWidth,height:"100%",padding:`${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).add(o).equal())} 0 ${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).equal())}`,"&::after":{width:n.lineWidth,height:"100%"}},[`> ${r}-item:not(:last-child) > ${r}-item-container > ${r}-item-tail`]:{display:"block"},[` > ${r}-item > ${r}-item-container > ${r}-item-content > ${r}-item-title`]:{"&::after":{display:"none"}},[`&${r}-small ${r}-item-container`]:{[`${r}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n.calc(i).div(2).sub(n.lineWidth).equal(),padding:`${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).add(i).equal())} 0 ${(0,e.unit)(n.calc(n.marginXXS).mul(1.5).equal())}`},[`${r}-item-title`]:{lineHeight:`${(0,e.unit)(i)}`}}}}};return tO.default=t,tO}var a_e;function LQt(){if(a_e)return Em;a_e=1;var e=ze;Object.defineProperty(Em,"__esModule",{value:!0}),Em.prepareComponentToken=Em.default=void 0;var t=Xt,n=Tn(),r=Jt(),i=e(TQt()),o=e(MQt()),a=e(RQt()),l=e(IQt()),s=e(NQt()),u=e(AQt()),c=e(kQt()),f=e(jQt()),h=e(DQt()),d;(function(b){b.wait="wait",b.process="process",b.finish="finish",b.error="error"})(d||(d={}));const p=(b,C)=>{const x=`${C.componentCls}-item`,S=`${b}IconColor`,w=`${b}TitleColor`,O=`${b}DescriptionColor`,$=`${b}TailColor`,P=`${b}IconBgColor`,T=`${b}IconBorderColor`,R=`${b}DotColor`;return{[`${x}-${b} ${x}-icon`]:{backgroundColor:C[P],borderColor:C[T],[`> ${C.componentCls}-icon`]:{color:C[S],[`${C.componentCls}-icon-dot`]:{background:C[R]}}},[`${x}-${b}${x}-custom ${x}-icon`]:{[`> ${C.componentCls}-icon`]:{color:C[R]}},[`${x}-${b} > ${x}-container > ${x}-content > ${x}-title`]:{color:C[w],"&::after":{backgroundColor:C[$]}},[`${x}-${b} > ${x}-container > ${x}-content > ${x}-description`]:{color:C[O]},[`${x}-${b} > ${x}-container > ${x}-tail::after`]:{backgroundColor:C[$]}}},g=b=>{const{componentCls:C,motionDurationSlow:x}=b,S=`${C}-item`,w=`${S}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[S]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${S}-container > ${S}-tail, > ${S}-container > ${S}-content > ${S}-title::after`]:{display:"none"}}},[`${S}-container`]:{outline:"none","&:focus-visible":{[w]:Object.assign({},(0,n.genFocusOutline)(b))}},[`${w}, ${S}-content`]:{display:"inline-block",verticalAlign:"top"},[w]:{width:b.iconSize,height:b.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:b.marginXS,fontSize:b.iconFontSize,fontFamily:b.fontFamily,lineHeight:`${(0,t.unit)(b.iconSize)}`,textAlign:"center",borderRadius:b.iconSize,border:`${(0,t.unit)(b.lineWidth)} ${b.lineType} transparent`,transition:`background-color ${x}, border-color ${x}`,[`${C}-icon`]:{position:"relative",top:b.iconTop,color:b.colorPrimary,lineHeight:1}},[`${S}-tail`]:{position:"absolute",top:b.calc(b.iconSize).div(2).sub(b.paddingXXS).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:b.lineWidth,background:b.colorSplit,borderRadius:b.lineWidth,transition:`background ${x}`,content:'""'}},[`${S}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:b.padding,color:b.colorText,fontSize:b.fontSizeLG,lineHeight:`${(0,t.unit)(b.titleLineHeight)}`,"&::after":{position:"absolute",top:b.calc(b.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:b.lineWidth,background:b.processTailColor,content:'""'}},[`${S}-subtitle`]:{display:"inline",marginInlineStart:b.marginXS,color:b.colorTextDescription,fontWeight:"normal",fontSize:b.fontSize},[`${S}-description`]:{color:b.colorTextDescription,fontSize:b.fontSize}},p(d.wait,b)),p(d.process,b)),{[`${S}-process > ${S}-container > ${S}-title`]:{fontWeight:b.fontWeightStrong}}),p(d.finish,b)),p(d.error,b)),{[`${S}${C}-next-error > ${C}-item-title::after`]:{background:b.colorError},[`${S}-disabled`]:{cursor:"not-allowed"}})},m=b=>{const{componentCls:C,motionDurationSlow:x}=b;return{[`& ${C}-item`]:{[`&:not(${C}-item-active)`]:{[`& > ${C}-item-container[role='button']`]:{cursor:"pointer",[`${C}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${C}-icon`]:{transition:`color ${x}`}},"&:hover":{[`${C}-item`]:{"&-title, &-subtitle, &-description":{color:b.colorPrimary}}}},[`&:not(${C}-item-process)`]:{[`& > ${C}-item-container[role='button']:hover`]:{[`${C}-item`]:{"&-icon":{borderColor:b.colorPrimary,[`${C}-icon`]:{color:b.colorPrimary}}}}}}},[`&${C}-horizontal:not(${C}-label-vertical)`]:{[`${C}-item`]:{paddingInlineStart:b.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${C}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:b.descriptionMaxWidth,whiteSpace:"normal"}}}}},v=b=>{const{componentCls:C}=b;return{[C]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(b)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),g(b)),m(b)),(0,i.default)(b)),(0,f.default)(b)),(0,h.default)(b)),(0,a.default)(b)),(0,u.default)(b)),(0,l.default)(b)),(0,c.default)(b)),(0,s.default)(b)),(0,o.default)(b))}},y=b=>({titleLineHeight:b.controlHeight,customIconSize:b.controlHeight,customIconTop:0,customIconFontSize:b.controlHeightSM,iconSize:b.controlHeight,iconTop:-.5,iconFontSize:b.fontSize,iconSizeSM:b.fontSizeHeading3,dotSize:b.controlHeight/4,dotCurrentSize:b.controlHeightLG/4,navArrowColor:b.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:b.wireframe?b.colorTextDisabled:b.colorTextLabel,waitIconBgColor:b.wireframe?b.colorBgContainer:b.colorFillContent,waitIconBorderColor:b.wireframe?b.colorTextDisabled:"transparent",finishIconBgColor:b.wireframe?b.colorBgContainer:b.controlItemBgActive,finishIconBorderColor:b.wireframe?b.colorPrimary:b.controlItemBgActive});return Em.prepareComponentToken=y,Em.default=(0,r.genStyleHooks)("Steps",b=>{const{colorTextDisabled:C,controlHeightLG:x,colorTextLightSolid:S,colorText:w,colorPrimary:O,colorTextDescription:$,colorTextQuaternary:P,colorError:T,colorBorderSecondary:R,colorSplit:M}=b,A=(0,r.mergeToken)(b,{processIconColor:S,processTitleColor:w,processDescriptionColor:w,processIconBgColor:O,processIconBorderColor:O,processDotColor:O,processTailColor:M,waitTitleColor:$,waitDescriptionColor:$,waitTailColor:M,waitDotColor:C,finishIconColor:O,finishTitleColor:w,finishDescriptionColor:$,finishTailColor:O,finishDotColor:O,errorIconColor:S,errorTitleColor:T,errorDescriptionColor:T,errorTailColor:M,errorIconBgColor:T,errorIconBorderColor:T,errorDotColor:T,stepsNavActiveColor:O,stepsProgressSize:x,inlineDotSize:6,inlineTitleColor:P,inlineTailColor:R});return[v(A)]},y),Em}var KI={},l_e;function zQt(){if(l_e)return KI;l_e=1;var e=ze;Object.defineProperty(KI,"__esModule",{value:!0}),KI.default=a;var t=i(_),n=e(fl());_n();function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function o(l){return l.filter(s=>s)}function a(l,s){if(l)return l;const u=(0,n.default)(s).map(c=>{if(t.isValidElement(c)){const{props:f}=c;return Object.assign({},f)}return null});return o(u)}return KI}var s_e;function BQt(){if(s_e)return Uw;s_e=1;var e=ze;Object.defineProperty(Uw,"__esModule",{value:!0}),Uw.default=void 0;var t=e(_F()),n=e(zs()),r=e(Tt()),i=e(PQt),o=p(_),a=Lt(),l=e(no()),s=e(Zy()),u=e(bae()),c=e(kc()),f=e(LQt()),h=e(zQt());function d(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(d=function(C){return C?b:y})(v)}function p(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=d(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var g=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const{percent:y,size:b,className:C,rootClassName:x,direction:S,items:w,responsive:O=!0,current:$=0,children:P,style:T}=v,R=g(v,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:M}=(0,s.default)(O),{getPrefixCls:A,direction:N,steps:j}=o.useContext(a.ConfigContext),D=o.useMemo(()=>O&&M?"vertical":S,[M,S]),L=(0,l.default)(b),B=A("steps",v.prefixCls),[k,z,q]=(0,f.default)(B),W=v.type==="inline",U=A("",v.iconPrefix),K=(0,h.default)(w,P),X=W?void 0:y,G=Object.assign(Object.assign({},j==null?void 0:j.style),T),Y=(0,r.default)(j==null?void 0:j.className,{[`${B}-rtl`]:N==="rtl",[`${B}-with-progress`]:X!==void 0},C,x,z,q),J={finish:o.createElement(t.default,{className:`${B}-finish-icon`}),error:o.createElement(n.default,{className:`${B}-error-icon`})},ee=te=>{let{node:ne,status:re}=te;if(re==="process"&&X!==void 0){const oe=L==="small"?32:40;return o.createElement("div",{className:`${B}-progress-icon`},o.createElement(u.default,{type:"circle",percent:X,size:oe,strokeWidth:4,format:()=>null}),ne)}return ne},Q=(te,ne)=>te.description?o.createElement(c.default,{title:te.description},ne):ne;return k(o.createElement(i.default,Object.assign({icons:J},R,{style:G,current:$,size:L,items:K,itemRender:W?Q:void 0,stepIcon:ee,direction:D,prefixCls:B,iconPrefix:U,className:Y})))};return m.Step=i.default.Step,Uw.default=m,Uw}var nO={};const FQt=gr(RPt);var $m={},c_e;function HQt(){if(c_e)return $m;c_e=1,Object.defineProperty($m,"__esModule",{value:!0}),$m.prepareComponentToken=$m.default=void 0;var e=Xt,t=Ea,n=Tn(),r=Jt();const i=c=>{const{componentCls:f,trackHeightSM:h,trackPadding:d,trackMinWidthSM:p,innerMinMarginSM:g,innerMaxMarginSM:m,handleSizeSM:v,calc:y}=c,b=`${f}-inner`,C=(0,e.unit)(y(v).add(y(d).mul(2)).equal()),x=(0,e.unit)(y(m).mul(2).equal());return{[f]:{[`&${f}-small`]:{minWidth:p,height:h,lineHeight:(0,e.unit)(h),[`${f}-inner`]:{paddingInlineStart:m,paddingInlineEnd:g,[`${b}-checked`]:{marginInlineStart:`calc(-100% + ${C} - ${x})`,marginInlineEnd:`calc(100% - ${C} + ${x})`},[`${b}-unchecked`]:{marginTop:y(h).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${f}-handle`]:{width:v,height:v},[`${f}-loading-icon`]:{top:y(y(v).sub(c.switchLoadingIconSize)).div(2).equal(),fontSize:c.switchLoadingIconSize},[`&${f}-checked`]:{[`${f}-inner`]:{paddingInlineStart:g,paddingInlineEnd:m,[`${b}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${b}-unchecked`]:{marginInlineStart:`calc(100% - ${C} + ${x})`,marginInlineEnd:`calc(-100% + ${C} - ${x})`}},[`${f}-handle`]:{insetInlineStart:`calc(100% - ${(0,e.unit)(y(v).add(d).equal())})`}},[`&:not(${f}-disabled):active`]:{[`&:not(${f}-checked) ${b}`]:{[`${b}-unchecked`]:{marginInlineStart:y(c.marginXXS).div(2).equal(),marginInlineEnd:y(c.marginXXS).mul(-1).div(2).equal()}},[`&${f}-checked ${b}`]:{[`${b}-checked`]:{marginInlineStart:y(c.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:y(c.marginXXS).div(2).equal()}}}}}}},o=c=>{const{componentCls:f,handleSize:h,calc:d}=c;return{[f]:{[`${f}-loading-icon${c.iconCls}`]:{position:"relative",top:d(d(h).sub(c.fontSize)).div(2).equal(),color:c.switchLoadingIconColor,verticalAlign:"top"},[`&${f}-checked ${f}-loading-icon`]:{color:c.switchColor}}}},a=c=>{const{componentCls:f,trackPadding:h,handleBg:d,handleShadow:p,handleSize:g,calc:m}=c,v=`${f}-handle`;return{[f]:{[v]:{position:"absolute",top:h,insetInlineStart:h,width:g,height:g,transition:`all ${c.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:d,borderRadius:m(g).div(2).equal(),boxShadow:p,transition:`all ${c.switchDuration} ease-in-out`,content:'""'}},[`&${f}-checked ${v}`]:{insetInlineStart:`calc(100% - ${(0,e.unit)(m(g).add(h).equal())})`},[`&:not(${f}-disabled):active`]:{[`${v}::before`]:{insetInlineEnd:c.switchHandleActiveInset,insetInlineStart:0},[`&${f}-checked ${v}::before`]:{insetInlineEnd:0,insetInlineStart:c.switchHandleActiveInset}}}}},l=c=>{const{componentCls:f,trackHeight:h,trackPadding:d,innerMinMargin:p,innerMaxMargin:g,handleSize:m,calc:v}=c,y=`${f}-inner`,b=(0,e.unit)(v(m).add(v(d).mul(2)).equal()),C=(0,e.unit)(v(g).mul(2).equal());return{[f]:{[y]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:g,paddingInlineEnd:p,transition:`padding-inline-start ${c.switchDuration} ease-in-out, padding-inline-end ${c.switchDuration} ease-in-out`,[`${y}-checked, ${y}-unchecked`]:{display:"block",color:c.colorTextLightSolid,fontSize:c.fontSizeSM,transition:`margin-inline-start ${c.switchDuration} ease-in-out, margin-inline-end ${c.switchDuration} ease-in-out`,pointerEvents:"none"},[`${y}-checked`]:{marginInlineStart:`calc(-100% + ${b} - ${C})`,marginInlineEnd:`calc(100% - ${b} + ${C})`},[`${y}-unchecked`]:{marginTop:v(h).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${f}-checked ${y}`]:{paddingInlineStart:p,paddingInlineEnd:g,[`${y}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${y}-unchecked`]:{marginInlineStart:`calc(100% - ${b} + ${C})`,marginInlineEnd:`calc(-100% + ${b} - ${C})`}},[`&:not(${f}-disabled):active`]:{[`&:not(${f}-checked) ${y}`]:{[`${y}-unchecked`]:{marginInlineStart:v(d).mul(2).equal(),marginInlineEnd:v(d).mul(-1).mul(2).equal()}},[`&${f}-checked ${y}`]:{[`${y}-checked`]:{marginInlineStart:v(d).mul(-1).mul(2).equal(),marginInlineEnd:v(d).mul(2).equal()}}}}}},s=c=>{const{componentCls:f,trackHeight:h,trackMinWidth:d}=c;return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.resetComponent)(c)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:d,height:h,lineHeight:`${(0,e.unit)(h)}`,verticalAlign:"middle",background:c.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${c.motionDurationMid}`,userSelect:"none",[`&:hover:not(${f}-disabled)`]:{background:c.colorTextTertiary}}),(0,n.genFocusStyle)(c)),{[`&${f}-checked`]:{background:c.switchColor,[`&:hover:not(${f}-disabled)`]:{background:c.colorPrimaryHover}},[`&${f}-loading, &${f}-disabled`]:{cursor:"not-allowed",opacity:c.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${f}-rtl`]:{direction:"rtl"}})}},u=c=>{const{fontSize:f,lineHeight:h,controlHeight:d,colorWhite:p}=c,g=f*h,m=d/2,v=2,y=g-v*2,b=m-v*2;return{trackHeight:g,trackHeightSM:m,trackMinWidth:y*2+v*4,trackMinWidthSM:b*2+v*2,trackPadding:v,handleBg:p,handleSize:y,handleSizeSM:b,handleShadow:`0 2px 4px 0 ${new t.TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:y/2,innerMaxMargin:y+v+v*2,innerMinMarginSM:b/2,innerMaxMarginSM:b+v+v*2}};return $m.prepareComponentToken=u,$m.default=(0,r.genStyleHooks)("Switch",c=>{const f=(0,r.mergeToken)(c,{switchDuration:c.motionDurationMid,switchColor:c.colorPrimary,switchDisabledOpacity:c.opacityLoading,switchLoadingIconSize:c.calc(c.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${c.opacityLoading})`,switchHandleActiveInset:"-30%"});return[s(f),l(f),a(f),o(f),i(f)]},u),$m}var u_e;function WQt(){if(u_e)return nO;u_e=1;var e=ze;Object.defineProperty(nO,"__esModule",{value:!0}),nO.default=void 0;var t=h(_),n=e(Vf()),r=e(Tt()),i=e(FQt),o=e(tP()),a=Lt(),l=e($a()),s=e(no()),u=e(HQt()),c=e(ns());function f(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(f=function(y){return y?v:m})(g)}function h(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=f(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}var d=function(g,m){var v={};for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&m.indexOf(y)<0&&(v[y]=g[y]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(g);b{const{prefixCls:v,size:y,disabled:b,loading:C,className:x,rootClassName:S,style:w,checked:O,value:$,defaultChecked:P,defaultValue:T,onChange:R}=g,M=d(g,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[A,N]=(0,c.default)(!1,{value:O??$,defaultValue:P??T}),{getPrefixCls:j,direction:D,switch:L}=t.useContext(a.ConfigContext),B=t.useContext(l.default),k=(b??B)||C,z=j("switch",v),q=t.createElement("div",{className:`${z}-handle`},C&&t.createElement(n.default,{className:`${z}-loading-icon`})),[W,U,K]=(0,u.default)(z),X=(0,s.default)(y),G=(0,r.default)(L==null?void 0:L.className,{[`${z}-small`]:X==="small",[`${z}-loading`]:C,[`${z}-rtl`]:D==="rtl"},x,S,U,K),Y=Object.assign(Object.assign({},L==null?void 0:L.style),w),J=function(){N(arguments.length<=0?void 0:arguments[0]),R==null||R.apply(void 0,arguments)};return W(t.createElement(o.default,{component:"Switch"},t.createElement(i.default,Object.assign({},M,{checked:A,onChange:J,prefixCls:z,className:G,style:Y,disabled:k,ref:m,loadingIcon:q}))))});return p.__ANT_SWITCH=!0,nO.default=p,nO}var rO={},iO={};const gP=gr(UTt);var oO={},d_e;function qQt(){if(d_e)return oO;d_e=1,Object.defineProperty(oO,"__esModule",{value:!0}),oO.default=void 0;function e(t){return null}return oO.default=e,oO}var aO={},f_e;function VQt(){if(f_e)return aO;f_e=1,Object.defineProperty(aO,"__esModule",{value:!0}),aO.default=void 0;function e(t){return null}return aO.default=e,aO}var Ys={},DG={},LG={exports:{}},p_e;function nUe(){return p_e||(p_e=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r=0)&&(i[a]=n[a]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(BG)),BG.exports}var g_e;function mP(){return g_e||(g_e=1,function(e){var t=UQt();function n(r,i){if(r==null)return{};var o=t(r,i),a,l;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(r,a)&&(o[a]=r[a])}return o}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(zG)),zG.exports}var lO={},FG={exports:{}},m_e;function GQt(){return m_e||(m_e=1,function(e){var t=pF(),n=fF(),r=dF();function i(o){var a=n();return function(){var s=t(o),u;if(a){var c=t(this).constructor;u=Reflect.construct(s,arguments,c)}else u=s.apply(this,arguments);return r(this,u)}}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}(FG)),FG.exports}var sO={},v_e;function KQt(){if(v_e)return sO;v_e=1;var e=ll();Object.defineProperty(sO,"__esModule",{value:!0}),sO.TreeContext=void 0;var t=r(_);function n(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(n=function(s){return s?a:o})(i)}function r(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||e(i)!="object"&&typeof i!="function")return{default:i};var a=n(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}return sO.TreeContext=t.createContext(null),sO}var cO={},y_e;function XQt(){if(y_e)return cO;y_e=1;var e=ze,t=ll();Object.defineProperty(cO,"__esModule",{value:!0}),cO.default=void 0;var n=e(sF()),r=a(_),i=e(Tt());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(h){return h?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||t(s)!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var l=function(u){for(var c=u.prefixCls,f=u.level,h=u.isStart,d=u.isEnd,p="".concat(c,"-indent-unit"),g=[],m=0;m1&&arguments[1]!==void 0?arguments[1]:"";($||[]).forEach(function(T){var R=T[S.key],M=T[S.children];(0,l.default)(R!=null,"Tree node must have a certain key: [".concat(P).concat(R,"]"));var A=String(R);(0,l.default)(!w.has(A)||R===null||R===void 0,"Same 'key' exist in the Tree: ".concat(A)),w.set(A,!0),O(M,"".concat(P).concat(A," > "))})}O(x)}function g(x){function S(w){var O=(0,o.default)(w);return O.map(function($){if(!f($))return(0,l.default)(!$,"Tree/TreeNode can only accept TreeNode as children."),null;var P=$.key,T=$.props,R=T.children,M=(0,i.default)(T,u),A=(0,r.default)({key:P},M),N=S(R);return N.length&&(A.children=N),A}).filter(function($){return $})}return S(x)}function m(x,S,w){var O=d(w),$=O._title,P=O.key,T=O.children,R=new Set(S===!0?[]:S),M=[];function A(N){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return N.map(function(D,L){for(var B=c(j?j.pos:"0",L),k=h(D[P],B),z,q=0;q<$.length;q+=1){var W=$[q];if(D[W]!==void 0){z=D[W];break}}var U=(0,r.default)((0,r.default)({},(0,a.default)(D,[].concat((0,n.default)($),[P,T]))),{},{title:z,key:k,parent:j,pos:B,children:null,data:D,isStart:[].concat((0,n.default)(j?j.isStart:[]),[L===0]),isEnd:[].concat((0,n.default)(j?j.isEnd:[]),[L===N.length-1])});return M.push(U),S===!0||R.has(k)?U.children=A(D[T]||[],U):U.children=[],U})}return A(x),M}function v(x,S,w){var O={};(0,t.default)(w)==="object"?O=w:O={externalGetKey:w},O=O||{};var $=O,P=$.childrenPropName,T=$.externalGetKey,R=$.fieldNames,M=d(R),A=M.key,N=M.children,j=P||N,D;T?typeof T=="string"?D=function(k){return k[T]}:typeof T=="function"&&(D=function(k){return T(k)}):D=function(k,z){return h(k[A],z)};function L(B,k,z,q){var W=B?B[j]:x,U=B?c(z.pos,k):"0",K=B?[].concat((0,n.default)(q),[B]):[];if(B){var X=D(B,U),G={node:B,index:k,pos:U,key:X,parentPos:z.node?z.pos:null,level:z.level+1,nodes:K};S(G)}W&&W.forEach(function(Y,J){L(Y,J,{node:B,pos:U,level:z?z.level+1:-1},K)})}L(null)}function y(x){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=S.initWrapper,O=S.processEntity,$=S.onProcessFinished,P=S.externalGetKey,T=S.childrenPropName,R=S.fieldNames,M=arguments.length>2?arguments[2]:void 0,A=P||M,N={},j={},D={posEntities:N,keyEntities:j};return w&&(D=w(D)||D),v(x,function(L){var B=L.node,k=L.index,z=L.pos,q=L.key,W=L.parentPos,U=L.level,K=L.nodes,X={node:B,nodes:K,index:k,key:q,pos:z,level:U},G=h(q,z);N[z]=X,j[G]=X,X.parent=N[W],X.parent&&(X.parent.children=X.parent.children||[],X.parent.children.push(X)),O&&O(X,D)},{externalGetKey:A,childrenPropName:T,fieldNames:R}),$&&$(D),D}function b(x,S){var w=S.expandedKeys,O=S.selectedKeys,$=S.loadedKeys,P=S.loadingKeys,T=S.checkedKeys,R=S.halfCheckedKeys,M=S.dragOverNodeKey,A=S.dropPosition,N=S.keyEntities,j=(0,s.default)(N,x),D={eventKey:x,expanded:w.indexOf(x)!==-1,selected:O.indexOf(x)!==-1,loaded:$.indexOf(x)!==-1,loading:P.indexOf(x)!==-1,checked:T.indexOf(x)!==-1,halfChecked:R.indexOf(x)!==-1,pos:String(j?j.pos:""),dragOver:M===x&&A===0,dragOverGapTop:M===x&&A===-1,dragOverGapBottom:M===x&&A===1};return D}function C(x){var S=x.data,w=x.expanded,O=x.selected,$=x.checked,P=x.loaded,T=x.loading,R=x.halfChecked,M=x.dragOver,A=x.dragOverGapTop,N=x.dragOverGapBottom,j=x.pos,D=x.active,L=x.eventKey,B=(0,r.default)((0,r.default)({},S),{},{expanded:w,selected:O,checked:$,loaded:P,loading:T,halfChecked:R,dragOver:M,dragOverGapTop:A,dragOverGapBottom:N,pos:j,active:D,key:L});return"props"in B||Object.defineProperty(B,"props",{get:function(){return(0,l.default)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),x}}),B}return cs}var S_e;function YQt(){if(S_e)return lO;S_e=1;var e=ze,t=ll();Object.defineProperty(lO,"__esModule",{value:!0}),lO.default=void 0;var n=e(nUe()),r=e(mP()),i=e(kh()),o=e(PC()),a=e(TC()),l=e(yqe()),s=e(hF()),u=e(GQt()),c=e(sF()),f=e(Tt()),h=e(MC()),d=C(_),p=KQt(),g=e(XQt()),m=e(FF()),v=vP(),y=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"];function b(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(b=function(A){return A?R:T})(P)}function C(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||t(P)!="object"&&typeof P!="function")return{default:P};var R=b(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var j=A?Object.getOwnPropertyDescriptor(P,N):null;j&&(j.get||j.set)?Object.defineProperty(M,N,j):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}var x="open",S="close",w="---",O=function(P){(0,s.default)(R,P);var T=(0,u.default)(R);function R(){var M;(0,o.default)(this,R);for(var A=arguments.length,N=new Array(A),j=0;j=0&&P.splice(T,1),P}function d(O,$){var P=(O||[]).slice();return P.indexOf($)===-1&&P.push($),P}function p(O){return O.split("-")}function g(O,$){var P=[],T=(0,u.default)($,O);function R(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];M.forEach(function(A){var N=A.key,j=A.children;P.push(N),R(j)})}return R(T.children),P}function m(O){if(O.parent){var $=p(O.pos);return Number($[$.length-1])===O.parent.children.length-1}return!1}function v(O){var $=p(O.pos);return Number($[$.length-1])===0}function y(O,$,P,T,R,M,A,N,j,D){var L,B=O.clientX,k=O.clientY,z=O.target.getBoundingClientRect(),q=z.top,W=z.height,U=(D==="rtl"?-1:1)*(((R==null?void 0:R.x)||0)-B),K=(U-12)/T,X=j.filter(function(le){var ve;return(ve=N[le])===null||ve===void 0||(ve=ve.children)===null||ve===void 0?void 0:ve.length}),G=(0,u.default)(N,P.props.eventKey);if(k-1.5?M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1:M({dragNode:ye,dropNode:be,dropPosition:0})?re=0:M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1:M({dragNode:ye,dropNode:be,dropPosition:1})?re=1:he=!1,{dropPosition:re,dropLevelOffset:oe,dropTargetKey:G.key,dropTargetPos:G.pos,dragOverNodeKey:ne,dropContainerKey:re===0?null:((L=G.parent)===null||L===void 0?void 0:L.key)||null,dropAllowed:he}}function b(O,$){if(O){var P=$.multiple;return P?O.slice():O.length?[O[0]]:O}}var C=function($){return $};function x(O,$){if(!O)return[];var P=$||{},T=P.processProps,R=T===void 0?C:T,M=Array.isArray(O)?O:[O];return M.map(function(A){var N=A.children,j=(0,o.default)(A,f),D=x(N,$);return l.default.createElement(s.default,(0,i.default)({key:j.key},R(j)),D)})}function S(O){if(!O)return null;var $;if(Array.isArray(O))$={checkedKeys:O,halfCheckedKeys:void 0};else if((0,r.default)(O)==="object")$={checkedKeys:O.checked||void 0,halfCheckedKeys:O.halfChecked||void 0};else return(0,a.default)(!1,"`checkedKeys` is not an array or an object"),null;return $}function w(O,$){var P=new Set;function T(R){if(!P.has(R)){var M=(0,u.default)($,R);if(M){P.add(R);var A=M.parent,N=M.node;N.disabled||A&&T(A.key)}}}return(O||[]).forEach(function(R){T(R)}),(0,n.default)(P)}}(DG)),DG}var uO={},__e;function ZQt(){if(__e)return uO;__e=1;var e=ze;Object.defineProperty(uO,"__esModule",{value:!0}),uO.conductCheck=l,uO.isCheckDisabled=i;var t=e(jh()),n=e(FF());function r(s,u){var c=new Set;return s.forEach(function(f){u.has(f)||c.add(f)}),c}function i(s){var u=s||{},c=u.disabled,f=u.disableCheckbox,h=u.checkable;return!!(c||f)||h===!1}function o(s,u,c,f){for(var h=new Set(s),d=new Set,p=0;p<=c;p+=1){var g=u.get(p)||new Set;g.forEach(function(b){var C=b.key,x=b.node,S=b.children,w=S===void 0?[]:S;h.has(C)&&!f(x)&&w.filter(function(O){return!f(O.node)}).forEach(function(O){h.add(O.key)})})}for(var m=new Set,v=c;v>=0;v-=1){var y=u.get(v)||new Set;y.forEach(function(b){var C=b.parent,x=b.node;if(!(f(x)||!b.parent||m.has(b.parent.key))){if(f(b.parent.node)){m.add(C.key);return}var S=!0,w=!1;(C.children||[]).filter(function(O){return!f(O.node)}).forEach(function(O){var $=O.key,P=h.has($);S&&!P&&(S=!1),!w&&(P||d.has($))&&(w=!0)}),S&&h.add(C.key),w&&d.add(C.key),m.add(C.key)}})}return{checkedKeys:Array.from(h),halfCheckedKeys:Array.from(r(d,h))}}function a(s,u,c,f,h){for(var d=new Set(s),p=new Set(u),g=0;g<=f;g+=1){var m=c.get(g)||new Set;m.forEach(function(C){var x=C.key,S=C.node,w=C.children,O=w===void 0?[]:w;!d.has(x)&&!p.has(x)&&!h(S)&&O.filter(function($){return!h($.node)}).forEach(function($){d.delete($.key)})})}p=new Set;for(var v=new Set,y=f;y>=0;y-=1){var b=c.get(y)||new Set;b.forEach(function(C){var x=C.parent,S=C.node;if(!(h(S)||!C.parent||v.has(C.parent.key))){if(h(C.parent.node)){v.add(x.key);return}var w=!0,O=!1;(x.children||[]).filter(function($){return!h($.node)}).forEach(function($){var P=$.key,T=d.has(P);w&&!T&&(w=!1),!O&&(T||p.has(P))&&(O=!0)}),w||d.delete(x.key),O&&p.add(x.key),v.add(x.key)}})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(r(p,d))}}function l(s,u,c,f){var h=[],d;f?d=f:d=i;var p=new Set(s.filter(function(y){var b=!!(0,n.default)(c,y);return b||h.push(y),b})),g=new Map,m=0;Object.keys(c).forEach(function(y){var b=c[y],C=b.level,x=g.get(C);x||(x=new Set,g.set(C,x)),x.add(b),m=Math.max(m,C)}),(0,t.default)(!h.length,"Tree missing follow keys: ".concat(h.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var v;return u===!0?v=o(p,g,m,d):v=a(p,u.halfCheckedKeys,g,m,d),v}return uO}var YI={},w_e;function iUe(){if(w_e)return YI;w_e=1,Object.defineProperty(YI,"__esModule",{value:!0}),YI.default=t;var e=_;function t(n){const[r,i]=(0,e.useState)(null);return[(0,e.useCallback)((l,s,u)=>{const c=r??l,f=Math.min(c||0,l),h=Math.max(c||0,l),d=s.slice(f,h+1).map(m=>n(m)),p=d.some(m=>!u.has(m)),g=[];return d.forEach(m=>{p?(u.has(m)||g.push(m),u.add(m)):(u.delete(m),g.push(m))}),i(p?h:null),g},[r]),l=>{i(l)}]}return YI}var O_e;function oUe(){if(O_e)return Ys;O_e=1;var e=ze;Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=Ys.SELECTION_NONE=Ys.SELECTION_INVERT=Ys.SELECTION_COLUMN=Ys.SELECTION_ALL=void 0;var t=e(qr()),n=v(_),r=n,i=e(aP()),o=e(Tt()),a=gP,l=rUe(),s=ZQt(),u=vP(),c=e(ns()),f=e(iUe()),h=_n(),d=e(fP()),p=e(kF()),g=e(MF());function m($){if(typeof WeakMap!="function")return null;var P=new WeakMap,T=new WeakMap;return(m=function(R){return R?T:P})($)}function v($,P){if(!P&&$&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var T=m(P);if(T&&T.has($))return T.get($);var R={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in $)if(A!=="default"&&Object.prototype.hasOwnProperty.call($,A)){var N=M?Object.getOwnPropertyDescriptor($,A):null;N&&(N.get||N.set)?Object.defineProperty(R,A,N):R[A]=$[A]}return R.default=$,T&&T.set($,R),R}const y=Ys.SELECTION_COLUMN={},b=Ys.SELECTION_ALL="SELECT_ALL",C=Ys.SELECTION_INVERT="SELECT_INVERT",x=Ys.SELECTION_NONE="SELECT_NONE",S=[],w=($,P)=>{let T=[];return(P||[]).forEach(R=>{T.push(R),R&&typeof R=="object"&&$ in R&&(T=[].concat((0,t.default)(T),(0,t.default)(w($,R[$]))))}),T},O=($,P)=>{const{preserveSelectedRowKeys:T,selectedRowKeys:R,defaultSelectedRowKeys:M,getCheckboxProps:A,onChange:N,onSelect:j,onSelectAll:D,onSelectInvert:L,onSelectNone:B,onSelectMultiple:k,columnWidth:z,type:q,selections:W,fixed:U,renderCell:K,hideSelectAll:X,checkStrictly:G=!0}=P||{},{prefixCls:Y,data:J,pageData:ee,getRecordByKey:Q,getRowKey:te,expandType:ne,childrenColumnName:re,locale:oe,getPopupContainer:se}=$,ye=(0,h.devUseWarning)("Table"),[be,he]=(0,f.default)($e=>$e),[le,ve]=(0,c.default)(R||M||S,{value:R}),ke=r.useRef(new Map),Ie=(0,n.useCallback)($e=>{if(T){const Le=new Map;$e.forEach(Fe=>{let Ke=Q(Fe);!Ke&&ke.current.has(Fe)&&(Ke=ke.current.get(Fe)),Le.set(Fe,Ke)}),ke.current=Le}},[Q,T]);r.useEffect(()=>{Ie(le)},[le]);const{keyEntities:Oe}=(0,n.useMemo)(()=>{if(G)return{keyEntities:null};let $e=J;if(T){const Le=new Set(J.map((Ke,lt)=>te(Ke,lt))),Fe=Array.from(ke.current).reduce((Ke,lt)=>{let[ft,Ye]=lt;return Le.has(ft)?Ke:Ke.concat(Ye)},[]);$e=[].concat((0,t.default)($e),(0,t.default)(Fe))}return(0,u.convertDataToEntities)($e,{externalGetKey:te,childrenPropName:re})},[J,te,G,re,T]),Pe=(0,n.useMemo)(()=>w(re,ee),[re,ee]),_e=(0,n.useMemo)(()=>{const $e=new Map;return Pe.forEach((Le,Fe)=>{const Ke=te(Le,Fe),lt=(A?A(Le):null)||{};$e.set(Ke,lt)}),$e},[Pe,te,A]),ce=(0,n.useCallback)($e=>{var Le;return!!(!((Le=_e.get(te($e)))===null||Le===void 0)&&Le.disabled)},[_e,te]),[Te,Ne]=(0,n.useMemo)(()=>{if(G)return[le||[],[]];const{checkedKeys:$e,halfCheckedKeys:Le}=(0,s.conductCheck)(le,!0,Oe,ce);return[$e||[],Le]},[le,G,Oe,ce]),je=(0,n.useMemo)(()=>{const $e=q==="radio"?Te.slice(0,1):Te;return new Set($e)},[Te,q]),He=(0,n.useMemo)(()=>q==="radio"?new Set:new Set(Ne),[Ne,q]);r.useEffect(()=>{P||ve(S)},[!!P]);const Be=(0,n.useCallback)(($e,Le)=>{let Fe,Ke;Ie($e),T?(Fe=$e,Ke=$e.map(lt=>ke.current.get(lt))):(Fe=[],Ke=[],$e.forEach(lt=>{const ft=Q(lt);ft!==void 0&&(Fe.push(lt),Ke.push(ft))})),ve(Fe),N==null||N(Fe,Ke,{type:Le})},[ve,Q,N,T]),qe=(0,n.useCallback)(($e,Le,Fe,Ke)=>{if(j){const lt=Fe.map(ft=>Q(ft));j(Q($e),Le,lt,Ke)}Be(Fe,"single")},[j,Q,Be]),me=(0,n.useMemo)(()=>!W||X?null:(W===!0?[b,C,x]:W).map(Le=>Le===b?{key:"all",text:oe.selectionAll,onSelect(){Be(J.map((Fe,Ke)=>te(Fe,Ke)).filter(Fe=>{const Ke=_e.get(Fe);return!(Ke!=null&&Ke.disabled)||je.has(Fe)}),"all")}}:Le===C?{key:"invert",text:oe.selectInvert,onSelect(){const Fe=new Set(je);ee.forEach((lt,ft)=>{const Ye=te(lt,ft),we=_e.get(Ye);we!=null&&we.disabled||(Fe.has(Ye)?Fe.delete(Ye):Fe.add(Ye))});const Ke=Array.from(Fe);L&&(ye.deprecated(!1,"onSelectInvert","onChange"),L(Ke)),Be(Ke,"invert")}}:Le===x?{key:"none",text:oe.selectNone,onSelect(){B==null||B(),Be(Array.from(je).filter(Fe=>{const Ke=_e.get(Fe);return Ke==null?void 0:Ke.disabled}),"none")}}:Le).map(Le=>Object.assign(Object.assign({},Le),{onSelect:function(){for(var Fe,Ke,lt=arguments.length,ft=new Array(lt),Ye=0;Ye{var Le;if(!P)return $e.filter(ot=>ot!==y);let Fe=(0,t.default)($e);const Ke=new Set(je),lt=Pe.map(te).filter(ot=>!_e.get(ot).disabled),ft=lt.every(ot=>Ke.has(ot)),Ye=lt.some(ot=>Ke.has(ot)),we=()=>{const ot=[];ft?lt.forEach(_t=>{Ke.delete(_t),ot.push(_t)}):lt.forEach(_t=>{Ke.has(_t)||(Ke.add(_t),ot.push(_t))});const dt=Array.from(Ke);D==null||D(!ft,dt.map(_t=>Q(_t)),ot.map(_t=>Q(_t))),Be(dt,"all"),he(null)};let De,We;if(q!=="radio"){let ot;if(me){const mt={getPopupContainer:se,items:me.map((It,nt)=>{const{key:yt,text:xt,onSelect:At}=It;return{key:yt??nt,onClick:()=>{At==null||At(lt)},label:xt}})};ot=r.createElement("div",{className:`${Y}-selection-extra`},r.createElement(p.default,{menu:mt,getPopupContainer:se},r.createElement("span",null,r.createElement(i.default,null))))}const dt=Pe.map((mt,It)=>{const nt=te(mt,It),yt=_e.get(nt)||{};return Object.assign({checked:Ke.has(nt)},yt)}).filter(mt=>{let{disabled:It}=mt;return It}),_t=!!dt.length&&dt.length===Pe.length,Ot=_t&&dt.every(mt=>{let{checked:It}=mt;return It}),Ct=_t&&dt.some(mt=>{let{checked:It}=mt;return It});We=r.createElement(d.default,{checked:_t?Ot:!!Pe.length&&ft,indeterminate:_t?!Ot&&Ct:!ft&&Ye,onChange:we,disabled:Pe.length===0||_t,"aria-label":ot?"Custom selection":"Select all",skipGroup:!0}),De=!X&&r.createElement("div",{className:`${Y}-selection`},We,ot)}let Ge;q==="radio"?Ge=(ot,dt,_t)=>{const Ot=te(dt,_t),Ct=Ke.has(Ot);return{node:r.createElement(g.default,Object.assign({},_e.get(Ot),{checked:Ct,onClick:mt=>mt.stopPropagation(),onChange:mt=>{Ke.has(Ot)||qe(Ot,!0,[Ot],mt.nativeEvent)}})),checked:Ct}}:Ge=(ot,dt,_t)=>{var Ot;const Ct=te(dt,_t),mt=Ke.has(Ct),It=He.has(Ct),nt=_e.get(Ct);let yt;return ne==="nest"?yt=It:yt=(Ot=nt==null?void 0:nt.indeterminate)!==null&&Ot!==void 0?Ot:It,{node:r.createElement(d.default,Object.assign({},nt,{indeterminate:yt,checked:mt,skipGroup:!0,onClick:xt=>xt.stopPropagation(),onChange:xt=>{let{nativeEvent:At}=xt;const{shiftKey:cn}=At,Ht=lt.findIndex(zt=>zt===Ct),$t=Te.some(zt=>lt.includes(zt));if(cn&&G&&$t){const zt=be(Ht,lt,Ke),Qt=Array.from(Ke);k==null||k(!mt,Qt.map(Pt=>Q(Pt)),zt.map(Pt=>Q(Pt))),Be(Qt,"multiple")}else{const zt=Te;if(G){const Qt=mt?(0,l.arrDel)(zt,Ct):(0,l.arrAdd)(zt,Ct);qe(Ct,!mt,Qt,At)}else{const Qt=(0,s.conductCheck)([].concat((0,t.default)(zt),[Ct]),!0,Oe,ce),{checkedKeys:Pt,halfCheckedKeys:ct}=Qt;let Wt=Pt;if(mt){const wn=new Set(Pt);wn.delete(Ct),Wt=(0,s.conductCheck)(Array.from(wn),{checked:!1,halfCheckedKeys:ct},Oe,ce).checkedKeys}qe(Ct,!mt,Wt,At)}}he(mt?null:Ht)}})),checked:mt}};const Je=(ot,dt,_t)=>{const{node:Ot,checked:Ct}=Ge(ot,dt,_t);return K?K(Ct,dt,_t,Ot):Ot};if(!Fe.includes(y))if(Fe.findIndex(ot=>{var dt;return((dt=ot[a.INTERNAL_COL_DEFINE])===null||dt===void 0?void 0:dt.columnType)==="EXPAND_COLUMN"})===0){const[ot,...dt]=Fe;Fe=[ot,y].concat((0,t.default)(dt))}else Fe=[y].concat((0,t.default)(Fe));const bt=Fe.indexOf(y);Fe=Fe.filter((ot,dt)=>ot!==y||dt===bt);const at=Fe[bt-1],et=Fe[bt+1];let rt=U;rt===void 0&&((et==null?void 0:et.fixed)!==void 0?rt=et.fixed:(at==null?void 0:at.fixed)!==void 0&&(rt=at.fixed)),rt&&at&&((Le=at[a.INTERNAL_COL_DEFINE])===null||Le===void 0?void 0:Le.columnType)==="EXPAND_COLUMN"&&at.fixed===void 0&&(at.fixed=rt);const Ze=(0,o.default)(`${Y}-selection-col`,{[`${Y}-selection-col-with-dropdown`]:W&&q==="checkbox"}),wt=()=>P!=null&&P.columnTitle?typeof P.columnTitle=="function"?P.columnTitle(We):P.columnTitle:De,ut={fixed:rt,width:z,className:`${Y}-selection-column`,title:wt(),render:Je,onCell:P.onCell,[a.INTERNAL_COL_DEFINE]:{className:Ze}};return Fe.map(ot=>ot===y?ut:ot)},[te,Pe,P,Te,je,He,z,me,ne,_e,k,qe,ce]),je]};return Ys.default=O,Ys}var dO={},u2={},Pm={},E_e;function QQt(){return E_e||(E_e=1,Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.INTERNAL_HOOKS=Pm.EXPAND_COLUMN=void 0,Pm.EXPAND_COLUMN={},Pm.INTERNAL_HOOKS="rc-table-internal-hook"),Pm}var d2={},$_e;function JQt(){if($_e)return d2;$_e=1;var e=ze;Object.defineProperty(d2,"__esModule",{value:!0}),d2.INTERNAL_COL_DEFINE=void 0,d2.getExpandableProps=i;var t=e(kh()),n=e(mP());e(jh());var r=["expandable"];d2.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE";function i(o){var a=o.expandable,l=(0,n.default)(o,r),s;return"expandable"in o?s=(0,t.default)((0,t.default)({},l),a):s=l,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}return d2}var ZI={},P_e;function eJt(){if(P_e)return ZI;P_e=1;var e=ze,t=ll();Object.defineProperty(ZI,"__esModule",{value:!0}),ZI.default=l;var n=e(kh()),r=o(_);function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(h){return h?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||t(s)!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}function a(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof u=="number"?u:u.endsWith("%")?s*parseFloat(u)/100:null}function l(s,u,c){return r.useMemo(function(){if(u&&u>0){var f=0,h=0;s.forEach(function(C){var x=a(u,C.width);x?f+=x:h+=1});var d=Math.max(u,c),p=Math.max(d-f,h),g=h,m=p/h,v=0,y=s.map(function(C){var x=(0,n.default)({},C),S=a(u,x.width);if(S)x.width=S;else{var w=Math.floor(m);x.width=g===1?p:w,p-=w,g-=1}return v+=x.width,x});if(v0?(0,a.default)((0,a.default)({},w),{},{children:y(O)}):w})}function b(S){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return S.filter(function(O){return O&&(0,o.default)(O)==="object"}).reduce(function(O,$,P){var T=$.fixed,R=T===!0?"left":T,M="".concat(w,"-").concat(P),A=$.children;return A&&A.length>0?[].concat((0,i.default)(O),(0,i.default)(b(A,M).map(function(N){return(0,a.default)({fixed:R},N)}))):[].concat((0,i.default)(O),[(0,a.default)((0,a.default)({key:M},$),{},{fixed:R})])},[])}function C(S){return S.map(function(w){var O=w.fixed,$=(0,l.default)(w,p),P=O;return O==="left"?P="right":O==="right"&&(P="left"),(0,a.default)({fixed:P},$)})}function x(S,w){var O=S.prefixCls,$=S.columns,P=S.children,T=S.expandable,R=S.expandedKeys,M=S.columnTitle,A=S.getRowKey,N=S.onTriggerExpand,j=S.expandIcon,D=S.rowExpandable,L=S.expandIconColumnIndex,B=S.direction,k=S.expandRowByClick,z=S.columnWidth,q=S.fixed,W=S.scrollWidth,U=S.clientWidth,K=u.useMemo(function(){var re=$||v(P)||[];return y(re.slice())},[$,P]),X=u.useMemo(function(){if(T){var re,oe=K.slice();if(!oe.includes(c.EXPAND_COLUMN)){var se=L||0;se>=0&&oe.splice(se,0,c.EXPAND_COLUMN)}var ye=oe.indexOf(c.EXPAND_COLUMN);oe=oe.filter(function(ve,ke){return ve!==c.EXPAND_COLUMN||ke===ye});var be=K[ye],he;(q==="left"||q)&&!L?he="left":(q==="right"||q)&&L===K.length?he="right":he=be?be.fixed:null;var le=(re={},(0,r.default)(re,f.INTERNAL_COL_DEFINE,{className:"".concat(O,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,r.default)(re,"title",M),(0,r.default)(re,"fixed",he),(0,r.default)(re,"className","".concat(O,"-row-expand-icon-cell")),(0,r.default)(re,"width",z),(0,r.default)(re,"render",function(ke,Ie,Oe){var Pe=A(Ie,Oe),_e=R.has(Pe),ce=D?D(Ie):!0,Te=j({prefixCls:O,expanded:_e,expandable:ce,record:Ie,onExpand:N});return k?u.createElement("span",{onClick:function(je){return je.stopPropagation()}},Te):Te}),re);return oe.map(function(ve){return ve===c.EXPAND_COLUMN?le:ve})}return K.filter(function(ve){return ve!==c.EXPAND_COLUMN})},[T,K,A,R,j,B]),G=u.useMemo(function(){var re=X;return w&&(re=w(re)),re.length||(re=[{render:function(){return null}}]),re},[w,X,B]),Y=u.useMemo(function(){return B==="rtl"?C(b(G)):b(G)},[G,B,W]),J=u.useMemo(function(){for(var re=-1,oe=Y.length-1;oe>=0;oe-=1){var se=Y[oe].fixed;if(se==="left"||se===!0){re=oe;break}}if(re>=0)for(var ye=0;ye<=re;ye+=1){var be=Y[ye].fixed;if(be!=="left"&&be!==!0)return!0}var he=Y.findIndex(function(ke){var Ie=ke.fixed;return Ie==="right"});if(he>=0)for(var le=he;le{if(!(o in r._antProxy)){const a=r[o];r._antProxy[o]=a,r[o]=i[o]}}),r}function n(r,i){return(0,e.useImperativeHandle)(r,()=>{const o=i(),{nativeElement:a}=o;return typeof Proxy<"u"?new Proxy(a,{get(l,s){return o[s]?o[s]:Reflect.get(l,s)}}):t(a,o)})}return QI}var fO={},R_e;function rJt(){if(R_e)return fO;R_e=1;var e=ze;Object.defineProperty(fO,"__esModule",{value:!0}),fO.default=void 0;var t=e(Tt()),n=i(_);function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function o(a){return function(s){let{prefixCls:u,onExpand:c,record:f,expanded:h,expandable:d}=s;const p=`${u}-row-expand-icon`;return n.createElement("button",{type:"button",onClick:g=>{c(f,g),g.stopPropagation()},className:(0,t.default)(p,{[`${p}-spaced`]:!d,[`${p}-expanded`]:d&&h,[`${p}-collapsed`]:d&&!h}),"aria-label":h?a.collapse:a.expand,"aria-expanded":h})}}return fO.default=o,fO}var JI={},I_e;function iJt(){if(I_e)return JI;I_e=1,Object.defineProperty(JI,"__esModule",{value:!0}),JI.default=e;function e(t){return(r,i)=>{const o=r.querySelector(`.${t}-container`);let a=i;if(o){const l=getComputedStyle(o),s=parseInt(l.borderLeftWidth,10),u=parseInt(l.borderRightWidth,10);a=i-s-u}return a}}return JI}var HG={},Tm={},N_e;function Cae(){if(N_e)return Tm;N_e=1,Object.defineProperty(Tm,"__esModule",{value:!0}),Tm.getColumnKey=e,Tm.getColumnPos=t,Tm.renderColumnTitle=n,Tm.safeColumnTitle=r;function e(i,o){return"key"in i&&i.key!==void 0&&i.key!==null?i.key:i.dataIndex?Array.isArray(i.dataIndex)?i.dataIndex.join("."):i.dataIndex:o}function t(i,o){return o?`${o}-${i}`:`${i}`}function n(i,o){return typeof i=="function"?i(o):i}function r(i,o){const a=n(i,o);return Object.prototype.toString.call(a)==="[object Object]"?"":a}return Tm}var f2={},eN={exports:{}},WG={},tN={},A_e;function oJt(){if(A_e)return tN;A_e=1,Object.defineProperty(tN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};return tN.default=e,tN}var k_e;function aJt(){return k_e||(k_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(oJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;pl.current,u=>{l.current=u,s()}]}return nN}var pO={};const aUe=gr(wMt);var hO={},rN={exports:{}},qG={},iN={},L_e;function cJt(){if(L_e)return iN;L_e=1,Object.defineProperty(iN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};return iN.default=e,iN}var z_e;function uJt(){return z_e||(z_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(cJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p({[`.${d}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${p.motionDurationSlow}`}}}),l=(d,p)=>({[`.${d}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:p.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(p.lineWidthBold)} solid ${p.colorPrimary}`,borderRadius:"50%",content:'""'}}}),s=(d,p)=>{const{treeCls:g,treeNodeCls:m,treeNodePadding:v,titleHeight:y,nodeSelectedBg:b,nodeHoverBg:C}=p,x=p.paddingXS;return{[g]:Object.assign(Object.assign({},(0,n.resetComponent)(p)),{background:p.colorBgContainer,borderRadius:p.borderRadius,transition:`background-color ${p.motionDurationSlow}`,[`&${g}-rtl`]:{[`${g}-switcher`]:{"&_close":{[`${g}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${g}-active-focused)`]:Object.assign({},(0,n.genFocusOutline)(p)),[`${g}-list-holder-inner`]:{alignItems:"flex-start"},[`&${g}-block-node`]:{[`${g}-list-holder-inner`]:{alignItems:"stretch",[`${g}-node-content-wrapper`]:{flex:"auto"},[`${m}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:v,insetInlineStart:0,border:`1px solid ${p.colorPrimary}`,opacity:0,animationName:o,animationDuration:p.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${m}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,e.unit)(v)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${g}-node-content-wrapper`]:{color:p.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${g}-node-content-wrapper`]:{background:p.controlItemBgHover},[`&:not(${m}-disabled).filter-node ${g}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${g}-draggable-icon`]:{flexShrink:0,width:y,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${p.motionDurationSlow}`,[`${m}:hover &`]:{opacity:.45}},[`&${m}-disabled`]:{[`${g}-draggable-icon`]:{visibility:"hidden"}}}},[`${g}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:y}},[`${g}-draggable-icon`]:{visibility:"hidden"},[`${g}-switcher`]:Object.assign(Object.assign({},a(d,p)),{position:"relative",flex:"none",alignSelf:"stretch",width:y,margin:0,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${p.motionDurationSlow}`,borderRadius:p.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${g}-switcher-noop):hover`]:{backgroundColor:p.colorBgTextHover},"&_close":{[`${g}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:p.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:p.calc(y).div(2).equal(),bottom:p.calc(v).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${p.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:p.calc(p.calc(y).div(2).equal()).mul(.8).equal(),height:p.calc(y).div(2).equal(),borderBottom:`1px solid ${p.colorBorder}`,content:'""'}}}),[`${g}-checkbox`]:{top:"initial",marginInlineEnd:x,alignSelf:"flex-start",marginTop:p.marginXXS},[`${g}-node-content-wrapper, ${g}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:y,margin:0,padding:`0 ${(0,e.unit)(p.calc(p.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${(0,e.unit)(y)}`,background:"transparent",borderRadius:p.borderRadius,cursor:"pointer",transition:`all ${p.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:C},[`&${g}-node-selected`]:{backgroundColor:b},[`${g}-iconEle`]:{display:"inline-block",width:y,height:y,lineHeight:`${(0,e.unit)(y)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${g}-unselectable ${g}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${g}-node-content-wrapper`]:Object.assign({lineHeight:`${(0,e.unit)(y)}`,userSelect:"none"},l(d,p)),[`${m}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${p.colorPrimary}`}},"&-show-line":{[`${g}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:p.calc(y).div(2).equal(),bottom:p.calc(v).mul(-1).equal(),borderInlineEnd:`1px solid ${p.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${g}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${m}-leaf-last`]:{[`${g}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(p.calc(y).div(2).equal())} !important`}}}}})}};Bl.genBaseStyle=s;const u=d=>{const{treeCls:p,treeNodeCls:g,treeNodePadding:m,directoryNodeSelectedBg:v,directoryNodeSelectedColor:y}=d;return{[`${p}${p}-directory`]:{[g]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:m,insetInlineStart:0,transition:`background-color ${d.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:d.controlItemBgHover}},"> *":{zIndex:1},[`${p}-switcher`]:{transition:`color ${d.motionDurationMid}`},[`${p}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${p}-node-selected`]:{color:y,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:v},[`${p}-switcher`]:{color:y},[`${p}-node-content-wrapper`]:{color:y,background:"transparent"}}}}}};Bl.genDirectoryStyle=u;const c=(d,p)=>{const g=`.${d}`,m=`${g}-treenode`,v=p.calc(p.paddingXS).div(2).equal(),y=(0,i.mergeToken)(p,{treeCls:g,treeNodeCls:m,treeNodePadding:v});return[s(d,y),u(y)]};Bl.genTreeStyle=c;const f=d=>{const{controlHeightSM:p}=d;return{titleHeight:p,nodeHoverBg:d.controlItemBgHover,nodeSelectedBg:d.controlItemBgActive}};Bl.initComponentToken=f;const h=d=>{const{colorTextLightSolid:p,colorPrimary:g}=d;return Object.assign(Object.assign({},f(d)),{directoryNodeSelectedColor:p,directoryNodeSelectedBg:g})};return Bl.prepareComponentToken=h,Bl.default=(0,i.genStyleHooks)("Tree",(d,p)=>{let{prefixCls:g}=p;return[{[d.componentCls]:(0,t.getStyle)(`${g}-checkbox`,d)},c(g,d),(0,r.genCollapseMotion)(d)]},h),Bl}var p2={},Z_e;function CJt(){if(Z_e)return p2;Z_e=1;var e=ze;Object.defineProperty(p2,"__esModule",{value:!0}),p2.default=r,p2.offset=void 0;var t=e(_);const n=p2.offset=4;function r(i){const{dropPosition:o,dropLevelOffset:a,prefixCls:l,indent:s,direction:u="ltr"}=i,c=u==="ltr"?"left":"right",f=u==="ltr"?"right":"left",h={[c]:-a*s+n,[f]:0};switch(o){case-1:h.top=-3;break;case 1:h.bottom=-3;break;default:h.bottom=-3,h[c]=s+n;break}return t.default.createElement("div",{style:h,className:`${l}-drop-indicator`})}return p2}var mO={},dN={exports:{}},KG={},fN={},Q_e;function SJt(){if(Q_e)return fN;Q_e=1,Object.defineProperty(fN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};return fN.default=e,fN}var J_e;function xJt(){return J_e||(J_e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(SJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{prefixCls:d,switcherIcon:p,treeNodeProps:g,showLine:m}=h,{isLeaf:v,expanded:y,loading:b}=g;if(b)return l.createElement(r.default,{className:`${d}-switcher-loading-icon`});let C;if(m&&typeof m=="object"&&(C=m.showLeafIcon),v){if(!m)return null;if(typeof C!="boolean"&&C){const w=typeof C=="function"?C(g):C,O=`${d}-switcher-line-custom-icon`;return(0,s.isValidElement)(w)?(0,s.cloneElement)(w,{className:(0,a.default)(w.props.className||"",O)}):w}return C?l.createElement(n.default,{className:`${d}-switcher-line-icon`}):l.createElement("span",{className:`${d}-switcher-leaf-line`})}const x=`${d}-switcher-icon`,S=typeof p=="function"?p(g):p;return(0,s.isValidElement)(S)?(0,s.cloneElement)(S,{className:(0,a.default)(S.props.className||"",x)}):S!==void 0?S:m?y?l.createElement(i.default,{className:`${d}-switcher-line-icon`}):l.createElement(o.default,{className:`${d}-switcher-line-icon`}):l.createElement(t.default,{className:x})};return mO.default=f,mO}var swe;function uUe(){if(swe)return gO;swe=1;var e=ze;Object.defineProperty(gO,"__esModule",{value:!0}),gO.default=void 0;var t=e(_),n=e(bJt()),r=e(Tt()),i=e(aUe),o=e(Il()),a=Lt(),l=e(sUe()),s=e(CJt()),u=e(cUe()),c=Jt();const f=t.default.forwardRef((h,d)=>{var p;const{getPrefixCls:g,direction:m,virtual:v,tree:y}=t.default.useContext(a.ConfigContext),{prefixCls:b,className:C,showIcon:x=!1,showLine:S,switcherIcon:w,blockNode:O=!1,children:$,checkable:P=!1,selectable:T=!0,draggable:R,motion:M,style:A}=h,N=g("tree",b),j=g(),D=M??Object.assign(Object.assign({},(0,o.default)(j)),{motionAppear:!1}),L=Object.assign(Object.assign({},h),{checkable:P,selectable:T,showIcon:x,motion:D,blockNode:O,showLine:!!S,dropIndicatorRender:s.default}),[B,k,z]=(0,l.default)(N),[,q]=(0,c.useToken)(),W=q.paddingXS/2+(((p=q.Tree)===null||p===void 0?void 0:p.titleHeight)||q.controlHeightSM),U=t.default.useMemo(()=>{if(!R)return!1;let X={};switch(typeof R){case"function":X.nodeDraggable=R;break;case"object":X=Object.assign({},R);break}return X.icon!==!1&&(X.icon=X.icon||t.default.createElement(n.default,null)),X},[R]),K=X=>t.default.createElement(u.default,{prefixCls:N,switcherIcon:w,treeNodeProps:X,showLine:S});return B(t.default.createElement(i.default,Object.assign({itemHeight:W,ref:d,virtual:v},L,{style:Object.assign(Object.assign({},y==null?void 0:y.style),A),prefixCls:N,className:(0,r.default)({[`${N}-icon-hide`]:!x,[`${N}-block-node`]:O,[`${N}-unselectable`]:!T,[`${N}-rtl`]:m==="rtl"},y==null?void 0:y.className,C,k,z),direction:m,checkable:P&&t.default.createElement("span",{className:`${N}-checkbox-inner`}),selectable:T,switcherIcon:K,draggable:U}),$))});return gO.default=f,gO}var vO={},cwe;function MJt(){if(cwe)return vO;cwe=1;var e=ze;Object.defineProperty(vO,"__esModule",{value:!0}),vO.calcRangeKeys=o,vO.convertDirectoryKeysToNodes=a;var t=e(qr()),n=vP(),r;(function(l){l[l.None=0]="None",l[l.Start=1]="Start",l[l.End=2]="End"})(r||(r={}));function i(l,s,u){const{key:c,children:f}=u;function h(d){const p=d[c],g=d[f];s(p,d)!==!1&&i(g||[],s,u)}l.forEach(h)}function o(l){let{treeData:s,expandedKeys:u,startKey:c,endKey:f,fieldNames:h}=l;const d=[];let p=r.None;if(c&&c===f)return[c];if(!c||!f)return[];function g(m){return m===c||m===f}return i(s,m=>{if(p===r.End)return!1;if(g(m)){if(d.push(m),p===r.None)p=r.Start;else if(p===r.Start)return p=r.End,!1}else p===r.Start&&d.push(m);return u.includes(m)},(0,n.fillFieldNames)(h)),d}function a(l,s,u){const c=(0,t.default)(s),f=[];return i(l,(h,d)=>{const p=c.indexOf(h);return p!==-1&&(f.push(d),c.splice(p,1)),!!c.length},(0,n.fillFieldNames)(u)),f}return vO}var uwe;function RJt(){if(uwe)return hO;uwe=1;var e=ze;Object.defineProperty(hO,"__esModule",{value:!0}),hO.default=void 0;var t=e(qr()),n=d(_),r=e(lUe()),i=e(pJt()),o=e(mJt()),a=e(Tt()),l=rUe(),s=vP(),u=Lt(),c=e(uUe()),f=MJt();function h(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,x=new WeakMap;return(h=function(S){return S?x:C})(b)}function d(b,C){if(!C&&b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var x=h(C);if(x&&x.has(b))return x.get(b);var S={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in b)if(O!=="default"&&Object.prototype.hasOwnProperty.call(b,O)){var $=w?Object.getOwnPropertyDescriptor(b,O):null;$&&($.get||$.set)?Object.defineProperty(S,O,$):S[O]=b[O]}return S.default=b,x&&x.set(b,S),S}var p=function(b,C){var x={};for(var S in b)Object.prototype.hasOwnProperty.call(b,S)&&C.indexOf(S)<0&&(x[S]=b[S]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(b);w{var{defaultExpandAll:x,defaultExpandParent:S,defaultExpandedKeys:w}=b,O=p(b,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const $=n.useRef(),P=n.useRef(),T=()=>{const{keyEntities:G}=(0,s.convertDataToEntities)(m(O));let Y;return x?Y=Object.keys(G):S?Y=(0,l.conductExpandParent)(O.expandedKeys||w||[],G):Y=O.expandedKeys||w,Y},[R,M]=n.useState(O.selectedKeys||O.defaultSelectedKeys||[]),[A,N]=n.useState(()=>T());n.useEffect(()=>{"selectedKeys"in O&&M(O.selectedKeys)},[O.selectedKeys]),n.useEffect(()=>{"expandedKeys"in O&&N(O.expandedKeys)},[O.expandedKeys]);const j=(G,Y)=>{var J;return"expandedKeys"in O||N(G),(J=O.onExpand)===null||J===void 0?void 0:J.call(O,G,Y)},D=(G,Y)=>{var J;const{multiple:ee,fieldNames:Q}=O,{node:te,nativeEvent:ne}=Y,{key:re=""}=te,oe=m(O),se=Object.assign(Object.assign({},Y),{selected:!0}),ye=(ne==null?void 0:ne.ctrlKey)||(ne==null?void 0:ne.metaKey),be=ne==null?void 0:ne.shiftKey;let he;ee&&ye?(he=G,$.current=re,P.current=he,se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)):ee&&be?(he=Array.from(new Set([].concat((0,t.default)(P.current||[]),(0,t.default)((0,f.calcRangeKeys)({treeData:oe,expandedKeys:A,startKey:re,endKey:$.current,fieldNames:Q}))))),se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)):(he=[re],$.current=re,P.current=he,se.selectedNodes=(0,f.convertDirectoryKeysToNodes)(oe,he,Q)),(J=O.onSelect)===null||J===void 0||J.call(O,he,se),"selectedKeys"in O||M(he)},{getPrefixCls:L,direction:B}=n.useContext(u.ConfigContext),{prefixCls:k,className:z,showIcon:q=!0,expandAction:W="click"}=O,U=p(O,["prefixCls","className","showIcon","expandAction"]),K=L("tree",k),X=(0,a.default)(`${K}-directory`,{[`${K}-directory-rtl`]:B==="rtl"},z);return n.createElement(c.default,Object.assign({icon:g,ref:C,blockNode:!0},U,{showIcon:q,expandAction:W,prefixCls:K,className:X,expandedKeys:A,selectedKeys:R,onSelect:D,onExpand:j}))},y=n.forwardRef(v);return hO.default=y,hO}var dwe;function dUe(){if(dwe)return pO;dwe=1;var e=ze;Object.defineProperty(pO,"__esModule",{value:!0}),pO.default=void 0;var t=aUe,n=e(RJt()),r=e(uUe());const i=r.default;return i.DirectoryTree=n.default,i.TreeNode=t.TreeNode,pO.default=i,pO}var yO={},fwe;function IJt(){if(fwe)return yO;fwe=1;var e=ze;Object.defineProperty(yO,"__esModule",{value:!0}),yO.default=void 0;var t=e(wF()),n=o(_),r=e(AF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}function a(l){let{value:s,onChange:u,filterSearch:c,tablePrefixCls:f,locale:h}=l;return c?n.createElement("div",{className:`${f}-filter-dropdown-search`},n.createElement(r.default,{prefix:n.createElement(t.default,null),placeholder:h.filterSearchPlaceholder,onChange:u,value:s,htmlSize:1,className:`${f}-filter-dropdown-search-input`})):null}return yO.default=a,yO}var bO={},pwe;function NJt(){if(pwe)return bO;pwe=1;var e=ze;Object.defineProperty(bO,"__esModule",{value:!0}),bO.default=void 0;var t=e(hP()),n=i(_);function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const o=l=>{const{keyCode:s}=l;s===t.default.ENTER&&l.stopPropagation()},a=n.forwardRef((l,s)=>n.createElement("div",{className:l.className,onClick:u=>u.stopPropagation(),onKeyDown:o,ref:s},l.children));return bO.default=a,bO}var hwe;function AJt(){if(hwe)return f2;hwe=1;var e=ze;Object.defineProperty(f2,"__esModule",{value:!0}),f2.default=void 0,f2.flattenKeys=C;var t=e(qr()),n=b(_),r=e(lJt()),i=e(Tt()),o=e(gqe()),a=e(sJt());_n();var l=e(Ac()),s=e(fP()),u=J$(),c=e(kF()),f=e(Goe()),h=e(iae()),d=rae(),p=e(MF()),g=e(dUe()),m=e(IJt()),v=e(NJt());function y(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,R=new WeakMap;return(y=function(M){return M?R:T})(P)}function b(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var R=y(T);if(R&&R.has(P))return R.get(P);var M={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in P)if(N!=="default"&&Object.prototype.hasOwnProperty.call(P,N)){var j=A?Object.getOwnPropertyDescriptor(P,N):null;j&&(j.get||j.set)?Object.defineProperty(M,N,j):M[N]=P[N]}return M.default=P,R&&R.set(P,M),M}function C(P){let T=[];return(P||[]).forEach(R=>{let{value:M,children:A}=R;T.push(M),A&&(T=[].concat((0,t.default)(T),(0,t.default)(C(A))))}),T}function x(P){return P.some(T=>{let{children:R}=T;return R})}function S(P,T){return typeof T=="string"||typeof T=="number"?T==null?void 0:T.toString().toLowerCase().includes(P.trim().toLowerCase()):!1}function w(P){let{filters:T,prefixCls:R,filteredKeys:M,filterMultiple:A,searchValue:N,filterSearch:j}=P;return T.map((D,L)=>{const B=String(D.value);if(D.children)return{key:B||L,label:D.text,popupClassName:`${R}-dropdown-submenu`,children:w({filters:D.children,prefixCls:R,filteredKeys:M,filterMultiple:A,searchValue:N,filterSearch:j})};const k=A?s.default:p.default,z={key:D.value!==void 0?B:L,label:n.createElement(n.Fragment,null,n.createElement(k,{checked:M.includes(B)}),n.createElement("span",null,D.text))};return N.trim()?typeof j=="function"?j(N,D)?z:null:S(N,D.text)?z:null:z})}function O(P){return P||[]}function $(P){var T,R;const{tablePrefixCls:M,prefixCls:A,column:N,dropdownPrefixCls:j,columnKey:D,filterMultiple:L,filterMode:B="menu",filterSearch:k=!1,filterState:z,triggerFilter:q,locale:W,children:U,getPopupContainer:K,rootClassName:X}=P,{filterDropdownOpen:G,onFilterDropdownOpenChange:Y,filterResetToDefaultFilteredValue:J,defaultFilteredValue:ee,filterDropdownVisible:Q,onFilterDropdownVisibleChange:te}=N,[ne,re]=n.useState(!1),oe=!!(z&&(!((T=z.filteredKeys)===null||T===void 0)&&T.length||z.forceFiltered)),se=Ye=>{re(Ye),Y==null||Y(Ye),te==null||te(Ye)},ye=(R=G??Q)!==null&&R!==void 0?R:ne,be=z==null?void 0:z.filteredKeys,[he,le]=(0,a.default)(O(be)),ve=Ye=>{let{selectedKeys:we}=Ye;le(we)},ke=(Ye,we)=>{let{node:De,checked:We}=we;ve(L?{selectedKeys:Ye}:{selectedKeys:We&&De.key?[De.key]:[]})};n.useEffect(()=>{ne&&ve({selectedKeys:O(be)})},[be]);const[Ie,Oe]=n.useState([]),Pe=Ye=>{Oe(Ye)},[_e,ce]=n.useState(""),Te=Ye=>{const{value:we}=Ye.target;ce(we)};n.useEffect(()=>{ne||ce("")},[ne]);const Ne=Ye=>{const we=Ye&&Ye.length?Ye:null;if(we===null&&(!z||!z.filteredKeys)||(0,o.default)(we,z==null?void 0:z.filteredKeys,!0))return null;q({column:N,key:D,filteredKeys:we})},je=()=>{se(!1),Ne(he())},He=function(){let{confirm:Ye,closeDropdown:we}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ye&&Ne([]),we&&se(!1),ce(""),le(J?(ee||[]).map(De=>String(De)):[])},Be=function(){let{closeDropdown:Ye}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ye&&se(!1),Ne(he())},qe=(Ye,we)=>{we.source==="trigger"&&(Ye&&be!==void 0&&le(O(be)),se(Ye),!Ye&&!N.filterDropdown&&je())},me=(0,i.default)({[`${j}-menu-without-submenu`]:!x(N.filters||[])}),Ee=Ye=>{if(Ye.target.checked){const we=C(N==null?void 0:N.filters).map(De=>String(De));le(we)}else le([])},$e=Ye=>{let{filters:we}=Ye;return(we||[]).map((De,We)=>{const Ge=String(De.value),Je={title:De.text,key:De.value!==void 0?Ge:String(We)};return De.children&&(Je.children=$e({filters:De.children})),Je})},Le=Ye=>{var we;return Object.assign(Object.assign({},Ye),{text:Ye.title,value:Ye.key,children:((we=Ye.children)===null||we===void 0?void 0:we.map(De=>Le(De)))||[]})};let Fe;if(typeof N.filterDropdown=="function")Fe=N.filterDropdown({prefixCls:`${j}-custom`,setSelectedKeys:Ye=>ve({selectedKeys:Ye}),selectedKeys:he(),confirm:Be,clearFilters:He,filters:N.filters,visible:ye,close:()=>{se(!1)}});else if(N.filterDropdown)Fe=N.filterDropdown;else{const Ye=he()||[],we=()=>(N.filters||[]).length===0?n.createElement(f.default,{image:f.default.PRESENTED_IMAGE_SIMPLE,description:W.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):B==="tree"?n.createElement(n.Fragment,null,n.createElement(m.default,{filterSearch:k,value:_e,onChange:Te,tablePrefixCls:M,locale:W}),n.createElement("div",{className:`${M}-filter-dropdown-tree`},L?n.createElement(s.default,{checked:Ye.length===C(N.filters).length,indeterminate:Ye.length>0&&Ye.lengthtypeof k=="function"?k(_e,Le(We)):S(_e,We.title):void 0}))):n.createElement(n.Fragment,null,n.createElement(m.default,{filterSearch:k,value:_e,onChange:Te,tablePrefixCls:M,locale:W}),n.createElement(h.default,{selectable:!0,multiple:L,prefixCls:`${j}-menu`,className:me,onSelect:ve,onDeselect:ve,selectedKeys:Ye,getPopupContainer:K,openKeys:Ie,onOpenChange:Pe,items:w({filters:N.filters||[],filterSearch:k,prefixCls:A,filteredKeys:he(),filterMultiple:L,searchValue:_e})})),De=()=>J?(0,o.default)((ee||[]).map(We=>String(We)),Ye,!0):Ye.length===0;Fe=n.createElement(n.Fragment,null,we(),n.createElement("div",{className:`${A}-dropdown-btns`},n.createElement(l.default,{type:"link",size:"small",disabled:De(),onClick:()=>He()},W.filterReset),n.createElement(l.default,{type:"primary",size:"small",onClick:je},W.filterConfirm)))}N.filterDropdown&&(Fe=n.createElement(d.OverrideProvider,{selectable:void 0},Fe));const Ke=()=>n.createElement(v.default,{className:`${A}-dropdown`},Fe);let lt;typeof N.filterIcon=="function"?lt=N.filterIcon(oe):N.filterIcon?lt=N.filterIcon:lt=n.createElement(r.default,null);const{direction:ft}=n.useContext(u.ConfigContext);return n.createElement("div",{className:`${A}-column`},n.createElement("span",{className:`${M}-column-title`},U),n.createElement(c.default,{dropdownRender:Ke,trigger:["click"],open:ye,onOpenChange:qe,getPopupContainer:K,placement:ft==="rtl"?"bottomLeft":"bottomRight",rootClassName:X},n.createElement("span",{role:"button",tabIndex:-1,className:(0,i.default)(`${A}-trigger`,{active:oe}),onClick:Ye=>{Ye.stopPropagation()}},lt)))}return f2.default=$,f2}var gwe;function kJt(){return gwe||(gwe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"flattenKeys",{enumerable:!0,get:function(){return a.flattenKeys}}),e.getFilterData=h;var n=t(qr()),r=s(_),i=_n(),o=Cae(),a=s(AJt());function l(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(l=function(y){return y?v:m})(g)}function s(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=l(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}function u(g,m,v){let y=[];return(g||[]).forEach((b,C)=>{var x;const S=(0,o.getColumnPos)(C,v);if(b.filters||"filterDropdown"in b||"onFilter"in b)if("filteredValue"in b){let w=b.filteredValue;"filterDropdown"in b||(w=(x=w==null?void 0:w.map(String))!==null&&x!==void 0?x:w),y.push({column:b,key:(0,o.getColumnKey)(b,S),filteredKeys:w,forceFiltered:b.filtered})}else y.push({column:b,key:(0,o.getColumnKey)(b,S),filteredKeys:m&&b.defaultFilteredValue?b.defaultFilteredValue:void 0,forceFiltered:b.filtered});"children"in b&&(y=[].concat((0,n.default)(y),(0,n.default)(u(b.children,m,S))))}),y}function c(g,m,v,y,b,C,x,S,w){return v.map((O,$)=>{const P=(0,o.getColumnPos)($,S),{filterMultiple:T=!0,filterMode:R,filterSearch:M}=O;let A=O;if(A.filters||A.filterDropdown){const N=(0,o.getColumnKey)(A,P),j=y.find(D=>{let{key:L}=D;return N===L});A=Object.assign(Object.assign({},A),{title:D=>r.createElement(a.default,{tablePrefixCls:g,prefixCls:`${g}-filter`,dropdownPrefixCls:m,column:A,columnKey:N,filterState:j,filterMultiple:T,filterMode:R,filterSearch:M,triggerFilter:C,locale:b,getPopupContainer:x,rootClassName:w},(0,o.renderColumnTitle)(O.title,D))})}return"children"in A&&(A=Object.assign(Object.assign({},A),{children:c(g,m,A.children,y,b,C,x,P,w)})),A})}function f(g){const m={};return g.forEach(v=>{let{key:y,filteredKeys:b,column:C}=v;const x=y,{filters:S,filterDropdown:w}=C;if(w)m[x]=b||null;else if(Array.isArray(b)){const O=(0,a.flattenKeys)(S);m[x]=O.filter($=>b.includes(String($)))}else m[x]=null}),m}function h(g,m,v){return m.reduce((y,b)=>{const{column:{onFilter:C,filters:x},filteredKeys:S}=b;return C&&S&&S.length?y.map(w=>Object.assign({},w)).filter(w=>S.some(O=>{const $=(0,a.flattenKeys)(x),P=$.findIndex(R=>String(R)===String(O)),T=P!==-1?$[P]:O;return w[v]&&(w[v]=h(w[v],m,v)),C(T,w)})):y},g)}const d=g=>g.flatMap(m=>"children"in m?[m].concat((0,n.default)(d(m.children||[]))):[m]);function p(g){let{prefixCls:m,dropdownPrefixCls:v,mergedColumns:y,onFilterChange:b,getPopupContainer:C,locale:x,rootClassName:S}=g;(0,i.devUseWarning)("Table");const w=r.useMemo(()=>d(y||[]),[y]),[O,$]=r.useState(()=>u(w,!0)),P=r.useMemo(()=>{const A=u(w,!1);if(A.length===0)return A;let N=!0;if(A.forEach(j=>{let{filteredKeys:D}=j;D!==void 0&&(N=!1)}),N){const j=(w||[]).map((D,L)=>(0,o.getColumnKey)(D,(0,o.getColumnPos)(L)));return O.filter(D=>{let{key:L}=D;return j.includes(L)}).map(D=>{const L=w[j.findIndex(B=>B===D.key)];return Object.assign(Object.assign({},D),{column:Object.assign(Object.assign({},D.column),L),forceFiltered:L.filtered})})}return A},[w,O]),T=r.useMemo(()=>f(P),[P]),R=A=>{const N=P.filter(j=>{let{key:D}=j;return D!==A.key});N.push(A),$(N),b(f(N),N)};return[A=>c(m,v,A,P,x,R,C,void 0,S),P,T]}e.default=p}(HG)),HG}var vN={},mwe;function jJt(){if(mwe)return vN;mwe=1,Object.defineProperty(vN,"__esModule",{value:!0}),vN.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o,a){const l=e.useRef({});function s(u){if(!l.current||l.current.data!==i||l.current.childrenColumnName!==o||l.current.getRowKey!==a){let f=function(h){h.forEach((d,p)=>{const g=a(d,p);c.set(g,d),d&&typeof d=="object"&&o in d&&f(d[o]||[])})};const c=new Map;f(i),l.current={data:i,childrenColumnName:o,kvMap:c,getRowKey:a}}return l.current.kvMap.get(u)}return[s]}return vN}var d1={},vwe;function DJt(){if(vwe)return d1;vwe=1;var e=ze;Object.defineProperty(d1,"__esModule",{value:!0}),d1.default=d1.DEFAULT_PAGE_SIZE=void 0,d1.getPaginationParam=o;var t=_,n=e(YVe()),r=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{const h=l[f];typeof h!="function"&&(u[f]=h)}),u}function a(l,s,u){const c=u&&typeof u=="object"?u:{},{total:f=0}=c,h=r(c,["total"]),[d,p]=(0,t.useState)(()=>({current:"defaultCurrent"in h?h.defaultCurrent:1,pageSize:"defaultPageSize"in h?h.defaultPageSize:i})),g=(0,n.default)(d,h,{total:f>0?f:l}),m=Math.ceil((f||l)/g.pageSize);g.current>m&&(g.current=m||1);const v=(b,C)=>{p({current:b??1,pageSize:C||g.pageSize})},y=(b,C)=>{var x;u&&((x=u.onChange)===null||x===void 0||x.call(u,b,C)),v(b,C),s(b,C||(g==null?void 0:g.pageSize))};return u===!1?[{},()=>{}]:[Object.assign(Object.assign({},g),{onChange:y}),v]}return d1.default=a,d1}var CO={},yN={exports:{}},ZG={},bN={},ywe;function LJt(){if(ywe)return bN;ywe=1,Object.defineProperty(bN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};return bN.default=e,bN}var bwe;function zJt(){return bwe||(bwe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(LJt()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const M=(0,s.getColumnPos)(R,O);T.children?("sortOrder"in T&&P(T,M),$=[].concat((0,t.default)($),(0,t.default)(m(T.children,w,M)))):T.sorter&&("sortOrder"in T?P(T,M):w&&T.defaultSortOrder&&$.push({column:T,key:(0,s.getColumnKey)(T,M),multiplePriority:d(T),sortOrder:T.defaultSortOrder}))}),$}function v(S,w,O,$,P,T,R,M){return(w||[]).map((A,N)=>{const j=(0,s.getColumnPos)(N,M);let D=A;if(D.sorter){const L=D.sortDirections||P,B=D.showSorterTooltip===void 0?R:D.showSorterTooltip,k=(0,s.getColumnKey)(D,j),z=O.find(ee=>{let{key:Q}=ee;return Q===k}),q=z?z.sortOrder:null,W=g(L,q);let U;if(A.sortIcon)U=A.sortIcon({sortOrder:q});else{const ee=L.includes(f)&&a.createElement(r.default,{className:(0,i.default)(`${S}-column-sorter-up`,{active:q===f})}),Q=L.includes(h)&&a.createElement(n.default,{className:(0,i.default)(`${S}-column-sorter-down`,{active:q===h})});U=a.createElement("span",{className:(0,i.default)(`${S}-column-sorter`,{[`${S}-column-sorter-full`]:!!(ee&&Q)})},a.createElement("span",{className:`${S}-column-sorter-inner`,"aria-hidden":"true"},ee,Q))}const{cancelSort:K,triggerAsc:X,triggerDesc:G}=T||{};let Y=K;W===h?Y=G:W===f&&(Y=X);const J=typeof B=="object"?Object.assign({title:Y},B):{title:Y};D=Object.assign(Object.assign({},D),{className:(0,i.default)(D.className,{[`${S}-column-sort`]:q}),title:ee=>{const Q=a.createElement("div",{className:`${S}-column-sorters`},a.createElement("span",{className:`${S}-column-title`},(0,s.renderColumnTitle)(A.title,ee)),U);return B?a.createElement(l.default,Object.assign({},J),Q):Q},onHeaderCell:ee=>{const Q=A.onHeaderCell&&A.onHeaderCell(ee)||{},te=Q.onClick,ne=Q.onKeyDown;Q.onClick=se=>{$({column:A,key:k,sortOrder:W,multiplePriority:d(A)}),te==null||te(se)},Q.onKeyDown=se=>{se.keyCode===o.default.ENTER&&($({column:A,key:k,sortOrder:W,multiplePriority:d(A)}),ne==null||ne(se))};const re=(0,s.safeColumnTitle)(A.title,{}),oe=re==null?void 0:re.toString();return q?Q["aria-sort"]=q==="ascend"?"ascending":"descending":Q["aria-label"]=oe||"",Q.className=(0,i.default)(Q.className,`${S}-column-has-sorters`),Q.tabIndex=0,A.ellipsis&&(Q.title=(re??"").toString()),Q}})}return"children"in D&&(D=Object.assign(Object.assign({},D),{children:v(S,D.children,O,$,P,T,R,j)})),D})}function y(S){const{column:w,sortOrder:O}=S;return{column:w,order:O,field:w.dataIndex,columnKey:w.key}}function b(S){const w=S.filter(O=>{let{sortOrder:$}=O;return $}).map(y);return w.length===0&&S.length?Object.assign(Object.assign({},y(S[S.length-1])),{column:void 0}):w.length<=1?w[0]||{}:w}function C(S,w,O){const $=w.slice().sort((R,M)=>M.multiplePriority-R.multiplePriority),P=S.slice(),T=$.filter(R=>{let{column:{sorter:M},sortOrder:A}=R;return p(M)&&A});return T.length?P.sort((R,M)=>{for(let A=0;A{const M=R[O];return M?Object.assign(Object.assign({},R),{[O]:C(M,w,O)}):R}):P}function x(S){let{prefixCls:w,mergedColumns:O,onSorterChange:$,sortDirections:P,tableLocale:T,showSorterTooltip:R}=S;const[M,A]=a.useState(m(O,!0)),N=a.useMemo(()=>{let k=!0;const z=m(O,!1);if(!z.length)return M;const q=[];function W(K){k?q.push(K):q.push(Object.assign(Object.assign({},K),{sortOrder:null}))}let U=null;return z.forEach(K=>{U===null?(W(K),K.sortOrder&&(K.multiplePriority===!1?k=!1:U=!0)):(U&&K.multiplePriority!==!1||(k=!1),W(K))}),q},[O,M]),j=a.useMemo(()=>{const k=N.map(z=>{let{column:q,sortOrder:W}=z;return{column:q,order:W}});return{sortColumns:k,sortColumn:k[0]&&k[0].column,sortOrder:k[0]&&k[0].order}},[N]);function D(k){let z;k.multiplePriority===!1||!N.length||N[0].multiplePriority===!1?z=[k]:z=[].concat((0,t.default)(N.filter(q=>{let{key:W}=q;return W!==k.key})),[k]),A(z),$(b(z),z)}return[k=>v(w,k,N,D,P,T,R),N,j,()=>b(N)]}return CO}var xN={},Owe;function VJt(){if(Owe)return xN;Owe=1,Object.defineProperty(xN,"__esModule",{value:!0}),xN.default=o;var e=r(_),t=Cae();function n(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(n=function(u){return u?s:l})(a)}function r(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=n(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}function i(a,l){return a.map(s=>{const u=Object.assign({},s);return u.title=(0,t.renderColumnTitle)(s.title,l),"children"in u&&(u.children=i(u.children,l)),u})}function o(a){return[e.useCallback(s=>i(s,a),[a])]}return xN}var SO={},Ewe;function UJt(){if(Ewe)return SO;Ewe=1,Object.defineProperty(SO,"__esModule",{value:!0}),SO.default=void 0;var e=gP;return SO.default=(0,e.genTable)((t,n)=>{const{_renderTimes:r}=t,{_renderTimes:i}=n;return r!==i}),SO}var xO={},$we;function GJt(){if($we)return xO;$we=1,Object.defineProperty(xO,"__esModule",{value:!0}),xO.default=void 0;var e=gP;return xO.default=(0,e.genVirtualTable)((t,n)=>{const{_renderTimes:r}=t,{_renderTimes:i}=n;return r!==i}),xO}var Mm={},_O={},Pwe;function KJt(){if(Pwe)return _O;Pwe=1,Object.defineProperty(_O,"__esModule",{value:!0}),_O.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,lineWidth:i,lineType:o,tableBorderColor:a,tableHeaderBg:l,tablePaddingVertical:s,tablePaddingHorizontal:u,calc:c}=n,f=`${(0,e.unit)(i)} ${o} ${a}`,h=(d,p,g)=>({[`&${r}-${d}`]:{[`> ${r}-container`]:{[`> ${r}-content, > ${r}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${r}-expanded-row-fixed`]:{margin:`${(0,e.unit)(c(p).mul(-1).equal())} ${(0,e.unit)(c(c(g).add(i)).mul(-1).equal())}`}}}}}});return{[`${r}-wrapper`]:{[`${r}${r}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${r}-title`]:{border:f,borderBottom:0},[`> ${r}-container`]:{borderInlineStart:f,borderTop:f,[` > ${r}-content, > ${r}-header, @@ -848,10 +848,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:f},"> thead":{"> tr:not(:last-child) > th":{borderBottom:f},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${r}-cell-fix-right-first::after`]:{borderInlineEnd:f}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${r}-expanded-row-fixed`]:{margin:`${(0,e.unit)(c(s).mul(-1).equal())} ${(0,e.unit)(c(c(u).add(i)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:i,bottom:0,borderInlineEnd:f,content:'""'}}}}}},[`&${r}-scroll-horizontal`]:{[`> ${r}-container > ${r}-body`]:{"> table > tbody":{[` > tr${r}-expanded-row, > tr${r}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},h("middle",n.tablePaddingVerticalMiddle,n.tablePaddingHorizontalMiddle)),h("small",n.tablePaddingVerticalSmall,n.tablePaddingHorizontalSmall)),{[`> ${r}-footer`]:{border:f,borderTop:0}}),[`${r}-cell`]:{[`${r}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,e.unit)(i)} 0 ${(0,e.unit)(i)} ${l}`}},[`${r}-bordered ${r}-cell-scrollbar`]:{borderInlineEnd:f}}}};return xO.default=t,xO}var _O={},Pwe;function ZJt(){if(Pwe)return _O;Pwe=1,Object.defineProperty(_O,"__esModule",{value:!0}),_O.default=void 0;var e=Tn();const t=n=>{const{componentCls:r}=n;return{[`${r}-wrapper`]:{[`${r}-cell-ellipsis`]:Object.assign(Object.assign({},e.textEllipsis),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},h("middle",n.tablePaddingVerticalMiddle,n.tablePaddingHorizontalMiddle)),h("small",n.tablePaddingVerticalSmall,n.tablePaddingHorizontalSmall)),{[`> ${r}-footer`]:{border:f,borderTop:0}}),[`${r}-cell`]:{[`${r}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,e.unit)(i)} 0 ${(0,e.unit)(i)} ${l}`}},[`${r}-bordered ${r}-cell-scrollbar`]:{borderInlineEnd:f}}}};return _O.default=t,_O}var wO={},Twe;function XJt(){if(Twe)return wO;Twe=1,Object.defineProperty(wO,"__esModule",{value:!0}),wO.default=void 0;var e=Tn();const t=n=>{const{componentCls:r}=n;return{[`${r}-wrapper`]:{[`${r}-cell-ellipsis`]:Object.assign(Object.assign({},e.textEllipsis),{wordBreak:"keep-all",[` &${r}-cell-fix-left-last, &${r}-cell-fix-right-first - `]:{overflow:"visible",[`${r}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${r}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}};return _O.default=t,_O}var wO={},Twe;function QJt(){if(Twe)return wO;Twe=1,Object.defineProperty(wO,"__esModule",{value:!0}),wO.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-wrapper`]:{[`${n}-tbody > tr${n}-placeholder`]:{textAlign:"center",color:t.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:t.colorBgContainer}}}}};return wO.default=e,wO}var OO={},Mwe;function JJt(){if(Mwe)return OO;Mwe=1,Object.defineProperty(OO,"__esModule",{value:!0}),OO.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,motionDurationSlow:a,lineWidth:l,paddingXS:s,lineType:u,tableBorderColor:c,tableExpandIconBg:f,tableExpandColumnWidth:h,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:m,paddingXXS:v,expandIconMarginTop:y,expandIconSize:b,expandIconHalfInner:C,expandIconScale:x,calc:S}=r,w=`${(0,e.unit)(l)} ${u} ${c}`,O=S(v).sub(l).equal();return{[`${i}-wrapper`]:{[`${i}-expand-icon-col`]:{width:h},[`${i}-row-expand-icon-cell`]:{textAlign:"center",[`${i}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${i}-row-indent`]:{height:1,float:"left"},[`${i}-row-expand-icon`]:Object.assign(Object.assign({},(0,t.operationUnit)(r)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,e.unit)(b),background:f,border:w,borderRadius:d,transform:`scale(${x})`,transition:`all ${a}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${a} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:O,insetInlineStart:O,height:l},"&::after":{top:O,bottom:O,insetInlineStart:C,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${i}-row-indent + ${i}-row-expand-icon`]:{marginTop:y,marginInlineEnd:s},[`tr${i}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${o}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${i}-expanded-row-fixed`]:{position:"relative",margin:`${(0,e.unit)(S(p).mul(-1).equal())} ${(0,e.unit)(S(g).mul(-1).equal())}`,padding:`${(0,e.unit)(p)} ${(0,e.unit)(g)}`}}}};return OO.default=n,OO}var EO={},Rwe;function een(){if(Rwe)return EO;Rwe=1,Object.defineProperty(EO,"__esModule",{value:!0}),EO.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,iconCls:a,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:s,paddingXXS:u,paddingXS:c,colorText:f,lineWidth:h,lineType:d,tableBorderColor:p,headerIconColor:g,fontSizeSM:m,tablePaddingHorizontal:v,borderRadius:y,motionDurationSlow:b,colorTextDescription:C,colorPrimary:x,tableHeaderFilterActiveBg:S,colorTextDisabled:w,tableFilterDropdownBg:O,tableFilterDropdownHeight:$,controlItemBgHover:P,controlItemBgActive:T,boxShadowSecondary:R,filterDropdownMenuBg:M,calc:A}=r,N=`${o}-dropdown`,k=`${i}-filter-dropdown`,D=`${o}-tree`,L=`${(0,e.unit)(h)} ${d} ${p}`;return[{[`${i}-wrapper`]:{[`${i}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${i}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:A(u).mul(-1).equal(),marginInline:`${(0,e.unit)(u)} ${(0,e.unit)(A(v).div(2).mul(-1).equal())}`,padding:`0 ${(0,e.unit)(u)}`,color:g,fontSize:m,borderRadius:y,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:C,background:S},"&.active":{color:x}}}},{[`${o}-dropdown`]:{[k]:Object.assign(Object.assign({},(0,t.resetComponent)(r)),{minWidth:l,backgroundColor:O,borderRadius:y,boxShadow:R,overflow:"hidden",[`${N}-menu`]:{maxHeight:$,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:M,"&:empty::after":{display:"block",padding:`${(0,e.unit)(c)} 0`,color:w,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${k}-tree`]:{paddingBlock:`${(0,e.unit)(c)} 0`,paddingInline:c,[D]:{padding:0},[`${D}-treenode ${D}-node-content-wrapper:hover`]:{backgroundColor:P},[`${D}-treenode-checkbox-checked ${D}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:T}}},[`${k}-search`]:{padding:c,borderBottom:L,"&-input":{input:{minWidth:s},[a]:{color:w}}},[`${k}-checkall`]:{width:"100%",marginBottom:u,marginInlineStart:u},[`${k}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,e.unit)(A(c).sub(h).equal())} ${(0,e.unit)(c)}`,overflow:"hidden",borderTop:L}})}},{[`${o}-dropdown ${k}, ${k}-submenu`]:{[`${o}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:f},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]};return EO.default=n,EO}var $O={},Iwe;function ten(){if(Iwe)return $O;Iwe=1,Object.defineProperty($O,"__esModule",{value:!0}),$O.default=void 0;const e=t=>{const{componentCls:n,lineWidth:r,colorSplit:i,motionDurationSlow:o,zIndexTableFixed:a,tableBg:l,zIndexTableSticky:s,calc:u}=t,c=i;return{[`${n}-wrapper`]:{[` + `]:{overflow:"visible",[`${r}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${r}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}};return wO.default=t,wO}var OO={},Mwe;function YJt(){if(Mwe)return OO;Mwe=1,Object.defineProperty(OO,"__esModule",{value:!0}),OO.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-wrapper`]:{[`${n}-tbody > tr${n}-placeholder`]:{textAlign:"center",color:t.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:t.colorBgContainer}}}}};return OO.default=e,OO}var EO={},Rwe;function ZJt(){if(Rwe)return EO;Rwe=1,Object.defineProperty(EO,"__esModule",{value:!0}),EO.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,motionDurationSlow:a,lineWidth:l,paddingXS:s,lineType:u,tableBorderColor:c,tableExpandIconBg:f,tableExpandColumnWidth:h,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:g,tableExpandedRowBg:m,paddingXXS:v,expandIconMarginTop:y,expandIconSize:b,expandIconHalfInner:C,expandIconScale:x,calc:S}=r,w=`${(0,e.unit)(l)} ${u} ${c}`,O=S(v).sub(l).equal();return{[`${i}-wrapper`]:{[`${i}-expand-icon-col`]:{width:h},[`${i}-row-expand-icon-cell`]:{textAlign:"center",[`${i}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${i}-row-indent`]:{height:1,float:"left"},[`${i}-row-expand-icon`]:Object.assign(Object.assign({},(0,t.operationUnit)(r)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,e.unit)(b),background:f,border:w,borderRadius:d,transform:`scale(${x})`,transition:`all ${a}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${a} ease-out`,content:'""'},"&::before":{top:C,insetInlineEnd:O,insetInlineStart:O,height:l},"&::after":{top:O,bottom:O,insetInlineStart:C,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${i}-row-indent + ${i}-row-expand-icon`]:{marginTop:y,marginInlineEnd:s},[`tr${i}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${o}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${i}-expanded-row-fixed`]:{position:"relative",margin:`${(0,e.unit)(S(p).mul(-1).equal())} ${(0,e.unit)(S(g).mul(-1).equal())}`,padding:`${(0,e.unit)(p)} ${(0,e.unit)(g)}`}}}};return EO.default=n,EO}var $O={},Iwe;function QJt(){if(Iwe)return $O;Iwe=1,Object.defineProperty($O,"__esModule",{value:!0}),$O.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,iconCls:a,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:s,paddingXXS:u,paddingXS:c,colorText:f,lineWidth:h,lineType:d,tableBorderColor:p,headerIconColor:g,fontSizeSM:m,tablePaddingHorizontal:v,borderRadius:y,motionDurationSlow:b,colorTextDescription:C,colorPrimary:x,tableHeaderFilterActiveBg:S,colorTextDisabled:w,tableFilterDropdownBg:O,tableFilterDropdownHeight:$,controlItemBgHover:P,controlItemBgActive:T,boxShadowSecondary:R,filterDropdownMenuBg:M,calc:A}=r,N=`${o}-dropdown`,j=`${i}-filter-dropdown`,D=`${o}-tree`,L=`${(0,e.unit)(h)} ${d} ${p}`;return[{[`${i}-wrapper`]:{[`${i}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${i}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:A(u).mul(-1).equal(),marginInline:`${(0,e.unit)(u)} ${(0,e.unit)(A(v).div(2).mul(-1).equal())}`,padding:`0 ${(0,e.unit)(u)}`,color:g,fontSize:m,borderRadius:y,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:C,background:S},"&.active":{color:x}}}},{[`${o}-dropdown`]:{[j]:Object.assign(Object.assign({},(0,t.resetComponent)(r)),{minWidth:l,backgroundColor:O,borderRadius:y,boxShadow:R,overflow:"hidden",[`${N}-menu`]:{maxHeight:$,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:M,"&:empty::after":{display:"block",padding:`${(0,e.unit)(c)} 0`,color:w,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${j}-tree`]:{paddingBlock:`${(0,e.unit)(c)} 0`,paddingInline:c,[D]:{padding:0},[`${D}-treenode ${D}-node-content-wrapper:hover`]:{backgroundColor:P},[`${D}-treenode-checkbox-checked ${D}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:T}}},[`${j}-search`]:{padding:c,borderBottom:L,"&-input":{input:{minWidth:s},[a]:{color:w}}},[`${j}-checkall`]:{width:"100%",marginBottom:u,marginInlineStart:u},[`${j}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,e.unit)(A(c).sub(h).equal())} ${(0,e.unit)(c)}`,overflow:"hidden",borderTop:L}})}},{[`${o}-dropdown ${j}, ${j}-submenu`]:{[`${o}-checkbox-wrapper + span`]:{paddingInlineStart:c,color:f},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]};return $O.default=n,$O}var PO={},Nwe;function JJt(){if(Nwe)return PO;Nwe=1,Object.defineProperty(PO,"__esModule",{value:!0}),PO.default=void 0;const e=t=>{const{componentCls:n,lineWidth:r,colorSplit:i,motionDurationSlow:o,zIndexTableFixed:a,tableBg:l,zIndexTableSticky:s,calc:u}=t,c=i;return{[`${n}-wrapper`]:{[` ${n}-cell-fix-left, ${n}-cell-fix-right `]:{position:"sticky !important",zIndex:a,background:l},[` @@ -871,11 +871,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${n}-cell-fix-left-last::after, ${n}-cell-fix-right-first::after, ${n}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}};return $O.default=e,$O}var PO={},Nwe;function nen(){if(Nwe)return PO;Nwe=1,Object.defineProperty(PO,"__esModule",{value:!0}),PO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,margin:o}=n;return{[`${r}-wrapper`]:{[`${r}-pagination${i}-pagination`]:{margin:`${(0,e.unit)(o)} 0`},[`${r}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:n.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}};return PO.default=t,PO}var TO={},Awe;function ren(){if(Awe)return TO;Awe=1,Object.defineProperty(TO,"__esModule",{value:!0}),TO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,tableRadius:i}=n;return{[`${r}-wrapper`]:{[r]:{[`${r}-title, ${r}-header`]:{borderRadius:`${(0,e.unit)(i)} ${(0,e.unit)(i)} 0 0`},[`${r}-title + ${r}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${r}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:i,borderStartEndRadius:i,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:i},"> *:last-child":{borderStartEndRadius:i}}},"&-footer":{borderRadius:`0 0 ${(0,e.unit)(i)} ${(0,e.unit)(i)}`}}}}};return TO.default=t,TO}var MO={},kwe;function ien(){if(kwe)return MO;kwe=1,Object.defineProperty(MO,"__esModule",{value:!0}),MO.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${n}-pagination-left`]:{justifyContent:"flex-end"},[`${n}-pagination-right`]:{justifyContent:"flex-start"},[`${n}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${n}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${n}-row-indent`]:{float:"right"}}}}};return MO.default=e,MO}var RO={},jwe;function oen(){if(jwe)return RO;jwe=1,Object.defineProperty(RO,"__esModule",{value:!0}),RO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,iconCls:o,fontSizeIcon:a,padding:l,paddingXS:s,headerIconColor:u,headerIconHoverColor:c,tableSelectionColumnWidth:f,tableSelectedRowBg:h,tableSelectedRowHoverBg:d,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:m}=n;return{[`${r}-wrapper`]:{[`${r}-selection-col`]:{width:f,[`&${r}-selection-col-with-dropdown`]:{width:m(f).add(a).add(m(l).div(4)).equal()}},[`${r}-bordered ${r}-selection-col`]:{width:m(f).add(m(s).mul(2)).equal(),[`&${r}-selection-col-with-dropdown`]:{width:m(f).add(a).add(m(l).div(4)).add(m(s).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}};return PO.default=e,PO}var TO={},Awe;function een(){if(Awe)return TO;Awe=1,Object.defineProperty(TO,"__esModule",{value:!0}),TO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,margin:o}=n;return{[`${r}-wrapper`]:{[`${r}-pagination${i}-pagination`]:{margin:`${(0,e.unit)(o)} 0`},[`${r}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:n.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}};return TO.default=t,TO}var MO={},kwe;function ten(){if(kwe)return MO;kwe=1,Object.defineProperty(MO,"__esModule",{value:!0}),MO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,tableRadius:i}=n;return{[`${r}-wrapper`]:{[r]:{[`${r}-title, ${r}-header`]:{borderRadius:`${(0,e.unit)(i)} ${(0,e.unit)(i)} 0 0`},[`${r}-title + ${r}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${r}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:i,borderStartEndRadius:i,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:i},"> *:last-child":{borderStartEndRadius:i}}},"&-footer":{borderRadius:`0 0 ${(0,e.unit)(i)} ${(0,e.unit)(i)}`}}}}};return MO.default=t,MO}var RO={},jwe;function nen(){if(jwe)return RO;jwe=1,Object.defineProperty(RO,"__esModule",{value:!0}),RO.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${n}-pagination-left`]:{justifyContent:"flex-end"},[`${n}-pagination-right`]:{justifyContent:"flex-start"},[`${n}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${n}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${n}-row-indent`]:{float:"right"}}}}};return RO.default=e,RO}var IO={},Dwe;function ren(){if(Dwe)return IO;Dwe=1,Object.defineProperty(IO,"__esModule",{value:!0}),IO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,antCls:i,iconCls:o,fontSizeIcon:a,padding:l,paddingXS:s,headerIconColor:u,headerIconHoverColor:c,tableSelectionColumnWidth:f,tableSelectedRowBg:h,tableSelectedRowHoverBg:d,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:m}=n;return{[`${r}-wrapper`]:{[`${r}-selection-col`]:{width:f,[`&${r}-selection-col-with-dropdown`]:{width:m(f).add(a).add(m(l).div(4)).equal()}},[`${r}-bordered ${r}-selection-col`]:{width:m(f).add(m(s).mul(2)).equal(),[`&${r}-selection-col-with-dropdown`]:{width:m(f).add(a).add(m(l).div(4)).add(m(s).mul(2)).equal()}},[` table tr th${r}-selection-column, table tr td${r}-selection-column, ${r}-selection-column - `]:{paddingInlineEnd:n.paddingXS,paddingInlineStart:n.paddingXS,textAlign:"center",[`${i}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${r}-selection-column${r}-cell-fix-left`]:{zIndex:n.zIndexTableFixed+1},[`table tr th${r}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${r}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${r}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${n.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,e.unit)(m(g).div(4).equal()),[o]:{color:u,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${r}-tbody`]:{[`${r}-row`]:{[`&${r}-row-selected`]:{[`> ${r}-cell`]:{background:h,"&-row-hover":{background:d}}},[`> ${r}-cell-row-hover`]:{background:p}}}}}};return RO.default=t,RO}var IO={},Dwe;function aen(){if(Dwe)return IO;Dwe=1,Object.defineProperty(IO,"__esModule",{value:!0}),IO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,tableExpandColumnWidth:i,calc:o}=n,a=(l,s,u,c)=>({[`${r}${r}-${l}`]:{fontSize:c,[` + `]:{paddingInlineEnd:n.paddingXS,paddingInlineStart:n.paddingXS,textAlign:"center",[`${i}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${r}-selection-column${r}-cell-fix-left`]:{zIndex:n.zIndexTableFixed+1},[`table tr th${r}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${r}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${r}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${n.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,e.unit)(m(g).div(4).equal()),[o]:{color:u,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${r}-tbody`]:{[`${r}-row`]:{[`&${r}-row-selected`]:{[`> ${r}-cell`]:{background:h,"&-row-hover":{background:d}}},[`> ${r}-cell-row-hover`]:{background:p}}}}}};return IO.default=t,IO}var NO={},Lwe;function ien(){if(Lwe)return NO;Lwe=1,Object.defineProperty(NO,"__esModule",{value:!0}),NO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,tableExpandColumnWidth:i,calc:o}=n,a=(l,s,u,c)=>({[`${r}${r}-${l}`]:{fontSize:c,[` ${r}-title, ${r}-footer, ${r}-cell, @@ -884,21 +884,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${r}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${(0,e.unit)(s)} ${(0,e.unit)(u)}`},[`${r}-filter-trigger`]:{marginInlineEnd:(0,e.unit)(o(u).div(2).mul(-1).equal())},[`${r}-expanded-row-fixed`]:{margin:`${(0,e.unit)(o(s).mul(-1).equal())} ${(0,e.unit)(o(u).mul(-1).equal())}`},[`${r}-tbody`]:{[`${r}-wrapper:only-child ${r}`]:{marginBlock:(0,e.unit)(o(s).mul(-1).equal()),marginInline:`${(0,e.unit)(o(i).sub(u).equal())} ${(0,e.unit)(o(u).mul(-1).equal())}`}},[`${r}-selection-extra`]:{paddingInlineStart:(0,e.unit)(o(u).div(4).equal())}}});return{[`${r}-wrapper`]:Object.assign(Object.assign({},a("middle",n.tablePaddingVerticalMiddle,n.tablePaddingHorizontalMiddle,n.tableFontSizeMiddle)),a("small",n.tablePaddingVerticalSmall,n.tablePaddingHorizontalSmall,n.tableFontSizeSmall))}};return IO.default=t,IO}var NO={},Lwe;function len(){if(Lwe)return NO;Lwe=1,Object.defineProperty(NO,"__esModule",{value:!0}),NO.default=void 0;const e=t=>{const{componentCls:n,marginXXS:r,fontSizeIcon:i,headerIconColor:o,headerIconHoverColor:a}=t;return{[`${n}-wrapper`]:{[`${n}-thead th${n}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${t.motionDurationSlow}`,"&:hover":{background:t.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:t.colorPrimary},[` + `]:{padding:`${(0,e.unit)(s)} ${(0,e.unit)(u)}`},[`${r}-filter-trigger`]:{marginInlineEnd:(0,e.unit)(o(u).div(2).mul(-1).equal())},[`${r}-expanded-row-fixed`]:{margin:`${(0,e.unit)(o(s).mul(-1).equal())} ${(0,e.unit)(o(u).mul(-1).equal())}`},[`${r}-tbody`]:{[`${r}-wrapper:only-child ${r}`]:{marginBlock:(0,e.unit)(o(s).mul(-1).equal()),marginInline:`${(0,e.unit)(o(i).sub(u).equal())} ${(0,e.unit)(o(u).mul(-1).equal())}`}},[`${r}-selection-extra`]:{paddingInlineStart:(0,e.unit)(o(u).div(4).equal())}}});return{[`${r}-wrapper`]:Object.assign(Object.assign({},a("middle",n.tablePaddingVerticalMiddle,n.tablePaddingHorizontalMiddle,n.tableFontSizeMiddle)),a("small",n.tablePaddingVerticalSmall,n.tablePaddingHorizontalSmall,n.tableFontSizeSmall))}};return NO.default=t,NO}var AO={},zwe;function oen(){if(zwe)return AO;zwe=1,Object.defineProperty(AO,"__esModule",{value:!0}),AO.default=void 0;const e=t=>{const{componentCls:n,marginXXS:r,fontSizeIcon:i,headerIconColor:o,headerIconHoverColor:a}=t;return{[`${n}-wrapper`]:{[`${n}-thead th${n}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${t.motionDurationSlow}`,"&:hover":{background:t.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:t.colorPrimary},[` &${n}-cell-fix-left:hover, &${n}-cell-fix-right:hover - `]:{background:t.tableFixedHeaderSortActiveBg}},[`${n}-thead th${n}-column-sort`]:{background:t.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${n}-column-sort`]:{background:t.tableBodySortBg},[`${n}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${n}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${n}-column-sorter`]:{marginInlineStart:r,color:o,fontSize:0,transition:`color ${t.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:i,"&.active":{color:t.colorPrimary}},[`${n}-column-sorter-up + ${n}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${n}-column-sorters:hover ${n}-column-sorter`]:{color:a}}}};return NO.default=e,NO}var AO={},zwe;function sen(){if(zwe)return AO;zwe=1,Object.defineProperty(AO,"__esModule",{value:!0}),AO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,opacityLoading:i,tableScrollThumbBg:o,tableScrollThumbBgHover:a,tableScrollThumbSize:l,tableScrollBg:s,zIndexTableSticky:u,stickyScrollBarBorderRadius:c,lineWidth:f,lineType:h,tableBorderColor:d}=n,p=`${(0,e.unit)(f)} ${h} ${d}`;return{[`${r}-wrapper`]:{[`${r}-sticky`]:{"&-holder":{position:"sticky",zIndex:u,background:n.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,e.unit)(l)} !important`,zIndex:u,display:"flex",alignItems:"center",background:s,borderTop:p,opacity:i,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:o,borderRadius:c,transition:`all ${n.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}};return AO.default=t,AO}var kO={},Bwe;function cen(){if(Bwe)return kO;Bwe=1,Object.defineProperty(kO,"__esModule",{value:!0}),kO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,lineWidth:i,tableBorderColor:o,calc:a}=n,l=`${(0,e.unit)(i)} ${n.lineType} ${o}`;return{[`${r}-wrapper`]:{[`${r}-summary`]:{position:"relative",zIndex:n.zIndexTableFixed,background:n.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},[`div${r}-summary`]:{boxShadow:`0 ${(0,e.unit)(a(i).mul(-1).equal())} 0 ${o}`}}}};return kO.default=t,kO}var jO={},Fwe;function uen(){if(Fwe)return jO;Fwe=1,Object.defineProperty(jO,"__esModule",{value:!0}),jO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,motionDurationMid:i,lineWidth:o,lineType:a,tableBorderColor:l,calc:s}=n,u=`${(0,e.unit)(o)} ${a} ${l}`,c=`${r}-expanded-row-cell`;return{[`${r}-wrapper`]:{[`${r}-tbody-virtual`]:{[`${r}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${r}-cell`]:{borderBottom:u,transition:`background ${i}`},[`${r}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,e.unit)(o)})`,borderInlineEnd:"none"}}},[`${r}-bordered`]:{[`${r}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:u,position:"absolute"},[`${r}-cell`]:{borderInlineEnd:u,[`&${r}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:s(o).mul(-1).equal(),borderInlineStart:u}}},[`&${r}-virtual`]:{[`${r}-placeholder ${r}-cell`]:{borderInlineEnd:u,borderBottom:u}}}}}};return jO.default=t,jO}var Hwe;function den(){if(Hwe)return Mm;Hwe=1;var e=ze;Object.defineProperty(Mm,"__esModule",{value:!0}),Mm.prepareComponentToken=Mm.default=void 0;var t=Xt,n=Ea,r=Tn(),i=Jt(),o=e(YJt()),a=e(ZJt()),l=e(QJt()),s=e(JJt()),u=e(een()),c=e(ten()),f=e(nen()),h=e(ren()),d=e(ien()),p=e(oen()),g=e(aen()),m=e(len()),v=e(sen()),y=e(cen()),b=e(uen());const C=S=>{const{componentCls:w,fontWeightStrong:O,tablePaddingVertical:$,tablePaddingHorizontal:P,tableExpandColumnWidth:T,lineWidth:R,lineType:M,tableBorderColor:A,tableFontSize:N,tableBg:k,tableRadius:D,tableHeaderTextColor:L,motionDurationMid:B,tableHeaderBg:j,tableHeaderCellSplitColor:z,tableFooterTextColor:V,tableFooterBg:W,calc:U}=S,K=`${(0,t.unit)(R)} ${M} ${A}`;return{[`${w}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,r.clearFix)()),{[w]:Object.assign(Object.assign({},(0,r.resetComponent)(S)),{fontSize:N,background:k,borderRadius:`${(0,t.unit)(D)} ${(0,t.unit)(D)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,t.unit)(D)} ${(0,t.unit)(D)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:t.tableFixedHeaderSortActiveBg}},[`${n}-thead th${n}-column-sort`]:{background:t.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${n}-column-sort`]:{background:t.tableBodySortBg},[`${n}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${n}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${n}-column-sorter`]:{marginInlineStart:r,color:o,fontSize:0,transition:`color ${t.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:i,"&.active":{color:t.colorPrimary}},[`${n}-column-sorter-up + ${n}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${n}-column-sorters:hover ${n}-column-sorter`]:{color:a}}}};return AO.default=e,AO}var kO={},Bwe;function aen(){if(Bwe)return kO;Bwe=1,Object.defineProperty(kO,"__esModule",{value:!0}),kO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,opacityLoading:i,tableScrollThumbBg:o,tableScrollThumbBgHover:a,tableScrollThumbSize:l,tableScrollBg:s,zIndexTableSticky:u,stickyScrollBarBorderRadius:c,lineWidth:f,lineType:h,tableBorderColor:d}=n,p=`${(0,e.unit)(f)} ${h} ${d}`;return{[`${r}-wrapper`]:{[`${r}-sticky`]:{"&-holder":{position:"sticky",zIndex:u,background:n.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,e.unit)(l)} !important`,zIndex:u,display:"flex",alignItems:"center",background:s,borderTop:p,opacity:i,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:o,borderRadius:c,transition:`all ${n.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}};return kO.default=t,kO}var jO={},Fwe;function len(){if(Fwe)return jO;Fwe=1,Object.defineProperty(jO,"__esModule",{value:!0}),jO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,lineWidth:i,tableBorderColor:o,calc:a}=n,l=`${(0,e.unit)(i)} ${n.lineType} ${o}`;return{[`${r}-wrapper`]:{[`${r}-summary`]:{position:"relative",zIndex:n.zIndexTableFixed,background:n.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},[`div${r}-summary`]:{boxShadow:`0 ${(0,e.unit)(a(i).mul(-1).equal())} 0 ${o}`}}}};return jO.default=t,jO}var DO={},Hwe;function sen(){if(Hwe)return DO;Hwe=1,Object.defineProperty(DO,"__esModule",{value:!0}),DO.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,motionDurationMid:i,lineWidth:o,lineType:a,tableBorderColor:l,calc:s}=n,u=`${(0,e.unit)(o)} ${a} ${l}`,c=`${r}-expanded-row-cell`;return{[`${r}-wrapper`]:{[`${r}-tbody-virtual`]:{[`${r}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${r}-cell`]:{borderBottom:u,transition:`background ${i}`},[`${r}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,e.unit)(o)})`,borderInlineEnd:"none"}}},[`${r}-bordered`]:{[`${r}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:u,position:"absolute"},[`${r}-cell`]:{borderInlineEnd:u,[`&${r}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:s(o).mul(-1).equal(),borderInlineStart:u}}},[`&${r}-virtual`]:{[`${r}-placeholder ${r}-cell`]:{borderInlineEnd:u,borderBottom:u}}}}}};return DO.default=t,DO}var Wwe;function cen(){if(Wwe)return Mm;Wwe=1;var e=ze;Object.defineProperty(Mm,"__esModule",{value:!0}),Mm.prepareComponentToken=Mm.default=void 0;var t=Xt,n=Ea,r=Tn(),i=Jt(),o=e(KJt()),a=e(XJt()),l=e(YJt()),s=e(ZJt()),u=e(QJt()),c=e(JJt()),f=e(een()),h=e(ten()),d=e(nen()),p=e(ren()),g=e(ien()),m=e(oen()),v=e(aen()),y=e(len()),b=e(sen());const C=S=>{const{componentCls:w,fontWeightStrong:O,tablePaddingVertical:$,tablePaddingHorizontal:P,tableExpandColumnWidth:T,lineWidth:R,lineType:M,tableBorderColor:A,tableFontSize:N,tableBg:j,tableRadius:D,tableHeaderTextColor:L,motionDurationMid:B,tableHeaderBg:k,tableHeaderCellSplitColor:z,tableFooterTextColor:q,tableFooterBg:W,calc:U}=S,K=`${(0,t.unit)(R)} ${M} ${A}`;return{[`${w}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,r.clearFix)()),{[w]:Object.assign(Object.assign({},(0,r.resetComponent)(S)),{fontSize:N,background:j,borderRadius:`${(0,t.unit)(D)} ${(0,t.unit)(D)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,t.unit)(D)} ${(0,t.unit)(D)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${w}-cell, ${w}-thead > tr > th, ${w}-tbody > tr > th, ${w}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,overflowWrap:"break-word"},[`${w}-title`]:{padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`},[`${w}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:L,fontWeight:O,textAlign:"start",background:j,borderBottom:K,transition:`background ${B} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${w}-selection-column):not(${w}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:z,transform:"translateY(-50%)",transition:`background-color ${B}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${w}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${B}, border-color ${B}`,borderBottom:K,[` + `]:{position:"relative",padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,overflowWrap:"break-word"},[`${w}-title`]:{padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`},[`${w}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:L,fontWeight:O,textAlign:"start",background:k,borderBottom:K,transition:`background ${B} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${w}-selection-column):not(${w}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:z,transform:"translateY(-50%)",transition:`background-color ${B}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${w}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${B}, border-color ${B}`,borderBottom:K,[` > ${w}-wrapper:only-child, > ${w}-expanded-row-fixed > ${w}-wrapper:only-child `]:{[w]:{marginBlock:(0,t.unit)(U($).mul(-1).equal()),marginInline:`${(0,t.unit)(U(T).sub(P).equal())} - ${(0,t.unit)(U(P).mul(-1).equal())}`,[`${w}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:L,fontWeight:O,textAlign:"start",background:j,borderBottom:K,transition:`background ${B} ease`}}},[`${w}-footer`]:{padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,color:V,background:W}})}},x=S=>{const{colorFillAlter:w,colorBgContainer:O,colorTextHeading:$,colorFillSecondary:P,colorFillContent:T,controlItemBgActive:R,controlItemBgActiveHover:M,padding:A,paddingSM:N,paddingXS:k,colorBorderSecondary:D,borderRadiusLG:L,controlHeight:B,colorTextPlaceholder:j,fontSize:z,fontSizeSM:V,lineHeight:W,lineWidth:U,colorIcon:K,colorIconHover:X,opacityLoading:G,controlInteractiveSize:Y}=S,J=new n.TinyColor(P).onBackground(O).toHexShortString(),ee=new n.TinyColor(T).onBackground(O).toHexShortString(),Q=new n.TinyColor(w).onBackground(O).toHexShortString(),te=new n.TinyColor(K),ne=new n.TinyColor(X),re=Y/2-U,oe=re*2+U*3;return{headerBg:Q,headerColor:$,headerSortActiveBg:J,headerSortHoverBg:ee,bodySortBg:Q,rowHoverBg:Q,rowSelectedBg:R,rowSelectedHoverBg:M,rowExpandedBg:w,cellPaddingBlock:A,cellPaddingInline:A,cellPaddingBlockMD:N,cellPaddingInlineMD:k,cellPaddingBlockSM:k,cellPaddingInlineSM:k,borderColor:D,headerBorderRadius:L,footerBg:Q,footerColor:$,cellFontSize:z,cellFontSizeMD:z,cellFontSizeSM:z,headerSplitColor:D,fixedHeaderSortActiveBg:J,headerFilterHoverBg:T,filterDropdownMenuBg:O,filterDropdownBg:O,expandIconBg:O,selectionColumnWidth:B,stickyScrollBarBg:j,stickyScrollBarBorderRadius:100,expandIconMarginTop:(z*W-U*3)/2-Math.ceil((V*1.4-U*3)/2),headerIconColor:te.clone().setAlpha(te.getAlpha()*G).toRgbString(),headerIconHoverColor:ne.clone().setAlpha(ne.getAlpha()*G).toRgbString(),expandIconHalfInner:re,expandIconSize:oe,expandIconScale:Y/oe}};return Mm.prepareComponentToken=x,Mm.default=(0,i.genStyleHooks)("Table",S=>{const{colorTextHeading:w,colorSplit:O,colorBgContainer:$,controlInteractiveSize:P,headerBg:T,headerColor:R,headerSortActiveBg:M,headerSortHoverBg:A,bodySortBg:N,rowHoverBg:k,rowSelectedBg:D,rowSelectedHoverBg:L,rowExpandedBg:B,cellPaddingBlock:j,cellPaddingInline:z,cellPaddingBlockMD:V,cellPaddingInlineMD:W,cellPaddingBlockSM:U,cellPaddingInlineSM:K,borderColor:X,footerBg:G,footerColor:Y,headerBorderRadius:J,cellFontSize:ee,cellFontSizeMD:Q,cellFontSizeSM:te,headerSplitColor:ne,fixedHeaderSortActiveBg:re,headerFilterHoverBg:oe,filterDropdownBg:se,expandIconBg:ye,selectionColumnWidth:be,stickyScrollBarBg:he,calc:le}=S,ve=2,ke=(0,i.mergeToken)(S,{tableFontSize:ee,tableBg:$,tableRadius:J,tablePaddingVertical:j,tablePaddingHorizontal:z,tablePaddingVerticalMiddle:V,tablePaddingHorizontalMiddle:W,tablePaddingVerticalSmall:U,tablePaddingHorizontalSmall:K,tableBorderColor:X,tableHeaderTextColor:R,tableHeaderBg:T,tableFooterTextColor:Y,tableFooterBg:G,tableHeaderCellSplitColor:ne,tableHeaderSortBg:M,tableHeaderSortHoverBg:A,tableBodySortBg:N,tableFixedHeaderSortActiveBg:re,tableHeaderFilterActiveBg:oe,tableFilterDropdownBg:se,tableRowHoverBg:k,tableSelectedRowBg:D,tableSelectedRowHoverBg:L,zIndexTableFixed:ve,zIndexTableSticky:ve+1,tableFontSizeMiddle:Q,tableFontSizeSmall:te,tableSelectionColumnWidth:be,tableExpandIconBg:ye,tableExpandColumnWidth:le(P).add(le(S.padding).mul(2)).equal(),tableExpandedRowBg:B,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:he,tableScrollThumbBgHover:w,tableScrollBg:O});return[C(ke),(0,f.default)(ke),(0,y.default)(ke),(0,m.default)(ke),(0,u.default)(ke),(0,o.default)(ke),(0,h.default)(ke),(0,s.default)(ke),(0,y.default)(ke),(0,l.default)(ke),(0,p.default)(ke),(0,c.default)(ke),(0,v.default)(ke),(0,a.default)(ke),(0,g.default)(ke),(0,d.default)(ke),(0,b.default)(ke)]},x,{unitless:{expandIconScale:!0}}),Mm}var Wwe;function fen(){if(Wwe)return uO;Wwe=1;var e=ze;Object.defineProperty(uO,"__esModule",{value:!0}),uO.default=void 0;var t=A(_),n=e(Tt()),r=hP,i=rJt(),o=e(Qr()),a=e(iJt()),l=e(mF()),s=_n(),u=Q$(),c=e(k0()),f=e(zr()),h=e(no()),d=e(Zy()),p=e(_u()),g=e(LF()),m=e(fP()),v=Jt(),y=e(oJt()),b=e(aJt()),C=A(DJt()),x=e(LJt()),S=A(zJt()),w=e(oUe()),O=A(UJt()),$=e(GJt()),P=e(KJt()),T=e(XJt()),R=e(den());function M(D){if(typeof WeakMap!="function")return null;var L=new WeakMap,B=new WeakMap;return(M=function(j){return j?B:L})(D)}function A(D,L){if(!L&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var B=M(L);if(B&&B.has(D))return B.get(D);var j={__proto__:null},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var V in D)if(V!=="default"&&Object.prototype.hasOwnProperty.call(D,V)){var W=z?Object.getOwnPropertyDescriptor(D,V):null;W&&(W.get||W.set)?Object.defineProperty(j,V,W):j[V]=D[V]}return j.default=D,B&&B.set(D,j),j}const N=[],k=(D,L)=>{var B,j;const{prefixCls:z,className:V,rootClassName:W,style:U,size:K,bordered:X,dropdownPrefixCls:G,dataSource:Y,pagination:J,rowSelection:ee,rowKey:Q="key",rowClassName:te,columns:ne,children:re,childrenColumnName:oe,onChange:se,getPopupContainer:ye,loading:be,expandIcon:he,expandable:le,expandedRowRender:ve,expandIconColumnIndex:ke,indentSize:Ie,scroll:Oe,sortDirections:Pe,locale:_e,showSorterTooltip:ce=!0,virtual:Te}=D;(0,s.devUseWarning)("Table");const Ne=t.useMemo(()=>ne||(0,i.convertChildrenToColumns)(re),[ne,re]),je=t.useMemo(()=>Ne.some(mn=>mn.responsive),[Ne]),He=(0,d.default)(je),Be=t.useMemo(()=>{const mn=new Set(Object.keys(He).filter(Zt=>He[Zt]));return Ne.filter(Zt=>!Zt.responsive||Zt.responsive.some(nn=>mn.has(nn)))},[Ne,He]),qe=(0,o.default)(D,["className","style","columns"]),{locale:me=p.default,direction:Ee,table:$e,renderEmpty:Le,getPrefixCls:Fe,getPopupContainer:Ke}=t.useContext(u.ConfigContext),lt=(0,h.default)(K),ft=Object.assign(Object.assign({},me.Table),_e),Ye=Y||N,we=Fe("table",z),De=Fe("dropdown",G),[,We]=(0,v.useToken)(),Ge=(0,f.default)(we),[Je,bt,at]=(0,R.default)(we,Ge),et=Object.assign(Object.assign({childrenColumnName:oe,expandIconColumnIndex:ke},le),{expandIcon:(B=le==null?void 0:le.expandIcon)!==null&&B!==void 0?B:(j=$e==null?void 0:$e.expandable)===null||j===void 0?void 0:j.expandIcon}),{childrenColumnName:rt="children"}=et,Ze=t.useMemo(()=>Ye.some(mn=>mn==null?void 0:mn[rt])?"nest":ve||le&&le.expandedRowRender?"row":null,[Ye]),wt={body:t.useRef()},ut=(0,b.default)(we),ot=t.useRef(null),dt=t.useRef(null);(0,a.default)(L,()=>Object.assign(Object.assign({},dt.current),{nativeElement:ot.current}));const _t=t.useMemo(()=>typeof Q=="function"?Q:mn=>mn==null?void 0:mn[Q],[Q]),[Ot]=(0,x.default)(Ye,rt,_t),Ct={},mt=function(mn,Zt){let nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Dn,Xn,ur;const qt=Object.assign(Object.assign({},Ct),mn);nn&&((Dn=Ct.resetPagination)===null||Dn===void 0||Dn.call(Ct),!((Xn=qt.pagination)===null||Xn===void 0)&&Xn.current&&(qt.pagination.current=1),J&&J.onChange&&J.onChange(1,(ur=qt.pagination)===null||ur===void 0?void 0:ur.pageSize)),Oe&&Oe.scrollToFirstRowOnChange!==!1&&wt.body.current&&(0,l.default)(0,{getContainer:()=>wt.body.current}),se==null||se(qt.pagination,qt.filters,qt.sorter,{currentDataSource:(0,C.getFilterData)((0,O.getSortData)(Ye,qt.sorterStates,rt),qt.filterStates,rt),action:Zt})},It=(mn,Zt)=>{mt({sorter:mn,sorterStates:Zt},"sort",!1)},[nt,yt,xt,At]=(0,O.default)({prefixCls:we,mergedColumns:Be,onSorterChange:It,sortDirections:Pe||["ascend","descend"],tableLocale:ft,showSorterTooltip:ce}),cn=t.useMemo(()=>(0,O.getSortData)(Ye,yt,rt),[Ye,yt]);Ct.sorter=At(),Ct.sorterStates=yt;const Ht=(mn,Zt)=>{mt({filters:mn,filterStates:Zt},"filter",!0)},[$t,zt,Qt]=(0,C.default)({prefixCls:we,locale:ft,dropdownPrefixCls:De,mergedColumns:Be,onFilterChange:Ht,getPopupContainer:ye||Ke,rootClassName:(0,n.default)(W,Ge)}),Pt=(0,C.getFilterData)(cn,zt,rt);Ct.filters=Qt,Ct.filterStates=zt;const ct=t.useMemo(()=>{const mn={};return Object.keys(Qt).forEach(Zt=>{Qt[Zt]!==null&&(mn[Zt]=Qt[Zt])}),Object.assign(Object.assign({},xt),{filters:mn})},[xt,Qt]),[Wt]=(0,$.default)(ct),wn=(mn,Zt)=>{mt({pagination:Object.assign(Object.assign({},Ct.pagination),{current:mn,pageSize:Zt})},"paginate")},[kt,gt]=(0,S.default)(Pt.length,wn,J);Ct.pagination=J===!1?{}:(0,S.getPaginationParam)(kt,J),Ct.resetPagination=gt;const Bt=t.useMemo(()=>{if(J===!1||!kt.pageSize)return Pt;const{current:mn=1,total:Zt,pageSize:nn=S.DEFAULT_PAGE_SIZE}=kt;return Pt.lengthnn?Pt.slice((mn-1)*nn,mn*nn):Pt:Pt.slice((mn-1)*nn,mn*nn)},[!!J,Pt,kt&&kt.current,kt&&kt.pageSize,kt&&kt.total]),[Nn,Or]=(0,w.default)({prefixCls:we,data:Pt,pageData:Bt,getRowKey:_t,getRecordByKey:Ot,expandType:Ze,childrenColumnName:rt,locale:ft,getPopupContainer:ye||Ke},ee),Ar=(mn,Zt,nn)=>{let Dn;return typeof te=="function"?Dn=(0,n.default)(te(mn,Zt,nn)):Dn=(0,n.default)(te),(0,n.default)({[`${we}-row-selected`]:Or.has(_t(mn,Zt))},Dn)};et.__PARENT_RENDER_ICON__=et.expandIcon,et.expandIcon=et.expandIcon||he||(0,y.default)(ft),Ze==="nest"&&et.expandIconColumnIndex===void 0?et.expandIconColumnIndex=ee?1:0:et.expandIconColumnIndex>0&&ee&&(et.expandIconColumnIndex-=1),typeof et.indentSize!="number"&&(et.indentSize=typeof Ie=="number"?Ie:15);const ei=t.useCallback(mn=>Wt(Nn($t(nt(mn)))),[nt,$t,Nn]);let ar,Sn;if(J!==!1&&(kt!=null&&kt.total)){let mn;kt.size?mn=kt.size:mn=lt==="small"||lt==="middle"?"small":void 0;const Zt=Xn=>t.createElement(g.default,Object.assign({},kt,{className:(0,n.default)(`${we}-pagination ${we}-pagination-${Xn}`,kt.className),size:mn})),nn=Ee==="rtl"?"left":"right",{position:Dn}=kt;if(Dn!==null&&Array.isArray(Dn)){const Xn=Dn.find(Yt=>Yt.includes("top")),ur=Dn.find(Yt=>Yt.includes("bottom")),qt=Dn.every(Yt=>`${Yt}`=="none");!Xn&&!ur&&!qt&&(Sn=Zt(nn)),Xn&&(ar=Zt(Xn.toLowerCase().replace("top",""))),ur&&(Sn=Zt(ur.toLowerCase().replace("bottom","")))}else Sn=Zt(nn)}let pi;typeof be=="boolean"?pi={spinning:be}:typeof be=="object"&&(pi=Object.assign({spinning:!0},be));const On=(0,n.default)(at,Ge,`${we}-wrapper`,$e==null?void 0:$e.className,{[`${we}-wrapper-rtl`]:Ee==="rtl"},V,W,bt),En=Object.assign(Object.assign({},$e==null?void 0:$e.style),U),en=_e&&_e.emptyText||(Le==null?void 0:Le("Table"))||t.createElement(c.default,{componentName:"Table"}),gn=Te?T.default:P.default,qn={},yr=t.useMemo(()=>{const{fontSize:mn,lineHeight:Zt,padding:nn,paddingXS:Dn,paddingSM:Xn}=We,ur=Math.floor(mn*Zt);switch(lt){case"large":return nn*2+ur;case"small":return Dn*2+ur;default:return Xn*2+ur}},[We,lt]);return Te&&(qn.listItemHeight=yr),Je(t.createElement("div",{ref:ot,className:On,style:En},t.createElement(m.default,Object.assign({spinning:!1},pi),ar,t.createElement(gn,Object.assign({},qn,qe,{ref:dt,columns:Be,direction:Ee,expandable:et,prefixCls:we,className:(0,n.default)({[`${we}-middle`]:lt==="middle",[`${we}-small`]:lt==="small",[`${we}-bordered`]:X,[`${we}-empty`]:Ye.length===0},at,Ge,bt),data:Bt,rowKey:_t,rowClassName:Ar,emptyText:en,internalHooks:r.INTERNAL_HOOKS,internalRefs:wt,transformColumns:ei,getContainerWidth:ut})),Sn)))};return uO.default=t.forwardRef(k),uO}var qwe;function pen(){if(qwe)return rO;qwe=1;var e=ze;Object.defineProperty(rO,"__esModule",{value:!0}),rO.default=void 0;var t=s(_),n=hP,r=e(UQt()),i=e(GQt()),o=oUe(),a=e(fen());function l(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(l=function(p){return p?d:h})(f)}function s(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=l(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const u=(f,h)=>{const d=t.useRef(0);return d.current+=1,t.createElement(a.default,Object.assign({},f,{ref:h,_renderTimes:d.current}))},c=t.forwardRef(u);return c.SELECTION_COLUMN=o.SELECTION_COLUMN,c.EXPAND_COLUMN=n.EXPAND_COLUMN,c.SELECTION_ALL=o.SELECTION_ALL,c.SELECTION_INVERT=o.SELECTION_INVERT,c.SELECTION_NONE=o.SELECTION_NONE,c.Column=r.default,c.ColumnGroup=i.default,c.Summary=n.Summary,rO.default=c,rO}var Vwe;function hen(){if(Vwe)return nO;Vwe=1;var e=ze;Object.defineProperty(nO,"__esModule",{value:!0}),nO.default=void 0;var t=e(pen());return nO.default=t.default,nO}var DO={},LO={},Sp={},Uwe;function FF(){if(Uwe)return Sp;Uwe=1,Object.defineProperty(Sp,"__esModule",{value:!0}),Sp.prepareToken=Sp.prepareComponentToken=Sp.default=void 0;var e=Xt,t=Ea,n=Tn(),r=Jt();const i=l=>{const{paddingXXS:s,lineWidth:u,tagPaddingHorizontal:c,componentCls:f,calc:h}=l,d=h(c).sub(u).equal(),p=h(s).sub(u).equal();return{[f]:Object.assign(Object.assign({},(0,n.resetComponent)(l)),{display:"inline-block",height:"auto",marginInlineEnd:l.marginXS,paddingInline:d,fontSize:l.tagFontSize,lineHeight:l.tagLineHeight,whiteSpace:"nowrap",background:l.defaultBg,border:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,borderRadius:l.borderRadiusSM,opacity:1,transition:`all ${l.motionDurationMid}`,textAlign:"start",position:"relative",[`&${f}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:l.defaultColor},[`${f}-close-icon`]:{marginInlineStart:p,fontSize:l.tagIconSize,color:l.colorTextDescription,cursor:"pointer",transition:`all ${l.motionDurationMid}`,"&:hover":{color:l.colorTextHeading}},[`&${f}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${l.iconCls}-close, ${l.iconCls}-close:hover`]:{color:l.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${f}-checkable-checked):hover`]:{color:l.colorPrimary,backgroundColor:l.colorFillSecondary},"&:active, &-checked":{color:l.colorTextLightSolid},"&-checked":{backgroundColor:l.colorPrimary,"&:hover":{backgroundColor:l.colorPrimaryHover}},"&:active":{backgroundColor:l.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${l.iconCls} + span, > span + ${l.iconCls}`]:{marginInlineStart:d}}),[`${f}-borderless`]:{borderColor:"transparent",background:l.tagBorderlessBg}}},o=l=>{const{lineWidth:s,fontSizeIcon:u,calc:c}=l,f=l.fontSizeSM;return(0,r.mergeToken)(l,{tagFontSize:f,tagLineHeight:(0,e.unit)(c(l.lineHeightSM).mul(f).equal()),tagIconSize:c(u).sub(c(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:l.defaultBg})};Sp.prepareToken=o;const a=l=>({defaultBg:new t.TinyColor(l.colorFillQuaternary).onBackground(l.colorBgContainer).toHexString(),defaultColor:l.colorText});return Sp.prepareComponentToken=a,Sp.default=(0,r.genStyleHooks)("Tag",l=>{const s=o(l);return i(s)},a),Sp}var Gwe;function gen(){if(Gwe)return LO;Gwe=1;var e=ze;Object.defineProperty(LO,"__esModule",{value:!0}),LO.default=void 0;var t=a(_),n=e(Tt()),r=Lt(),i=e(FF());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{prefixCls:f,style:h,className:d,checked:p,onChange:g,onClick:m}=u,v=l(u,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:y,tag:b}=t.useContext(r.ConfigContext),C=P=>{g==null||g(!p),m==null||m(P)},x=y("tag",f),[S,w,O]=(0,i.default)(x),$=(0,n.default)(x,`${x}-checkable`,{[`${x}-checkable-checked`]:p},b==null?void 0:b.className,d,w,O);return S(t.createElement("span",Object.assign({},v,{ref:c,style:Object.assign(Object.assign({},h),b==null?void 0:b.style),className:$,onClick:C})))});return LO.default=s,LO}var zO={},Kwe;function men(){if(Kwe)return zO;Kwe=1,Object.defineProperty(zO,"__esModule",{value:!0}),zO.default=void 0;var e=FF(),t=Jt();const n=r=>(0,t.genPresetColor)(r,(i,o)=>{let{textColor:a,lightBorderColor:l,lightColor:s,darkColor:u}=o;return{[`${r.componentCls}${r.componentCls}-${i}`]:{color:a,background:s,borderColor:l,"&-inverse":{color:r.colorTextLightSolid,background:u,borderColor:u},[`&${r.componentCls}-borderless`]:{borderColor:"transparent"}}}});return zO.default=(0,t.genSubStyleComponent)(["Tag","preset"],r=>{const i=(0,e.prepareToken)(r);return n(i)},e.prepareComponentToken),zO}var BO={},xN={},Xwe;function ven(){if(Xwe)return xN;Xwe=1,Object.defineProperty(xN,"__esModule",{value:!0}),xN.default=e;function e(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}return xN}var Ywe;function yen(){if(Ywe)return BO;Ywe=1;var e=ze;Object.defineProperty(BO,"__esModule",{value:!0}),BO.default=void 0;var t=FF(),n=e(ven()),r=Jt();const i=(o,a,l)=>{const s=(0,n.default)(l);return{[`${o.componentCls}${o.componentCls}-${a}`]:{color:o[`color${l}`],background:o[`color${s}Bg`],borderColor:o[`color${s}Border`],[`&${o.componentCls}-borderless`]:{borderColor:"transparent"}}}};return BO.default=(0,r.genSubStyleComponent)(["Tag","status"],o=>{const a=(0,t.prepareToken)(o);return[i(a,"success","Success"),i(a,"processing","Info"),i(a,"error","Error"),i(a,"warning","Warning")]},t.prepareComponentToken),BO}var Zwe;function ben(){if(Zwe)return DO;Zwe=1;var e=ze;Object.defineProperty(DO,"__esModule",{value:!0}),DO.default=void 0;var t=d(_),n=e(zs()),r=e(Tt()),i=EF(),o=e(CF());_n();var a=e(eP()),l=Lt(),s=e(gen()),u=e(FF()),c=e(men()),f=e(yen());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const{prefixCls:b,className:C,rootClassName:x,style:S,children:w,icon:O,color:$,onClose:P,closeIcon:T,closable:R,bordered:M=!0}=v,A=p(v,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:N,direction:k,tag:D}=t.useContext(l.ConfigContext),[L,B]=t.useState(!0);t.useEffect(()=>{"visible"in A&&B(A.visible)},[A.visible]);const j=(0,i.isPresetColor)($),z=(0,i.isPresetStatusColor)($),V=j||z,W=Object.assign(Object.assign({backgroundColor:$&&!V?$:void 0},D==null?void 0:D.style),S),U=N("tag",b),[K,X,G]=(0,u.default)(U),Y=(0,r.default)(U,D==null?void 0:D.className,{[`${U}-${$}`]:V,[`${U}-has-color`]:$&&!V,[`${U}-hidden`]:!L,[`${U}-rtl`]:k==="rtl",[`${U}-borderless`]:!M},C,x,X,G),J=oe=>{oe.stopPropagation(),P==null||P(oe),!oe.defaultPrevented&&B(!1)},[,ee]=(0,o.default)(R,T??(D==null?void 0:D.closeIcon),oe=>oe===null?t.createElement(n.default,{className:`${U}-close-icon`,onClick:J}):t.createElement("span",{className:`${U}-close-icon`,onClick:J},oe),null,!1),Q=typeof A.onClick=="function"||w&&w.type==="a",te=O||null,ne=te?t.createElement(t.Fragment,null,te,w&&t.createElement("span",null,w)):w,re=t.createElement("span",Object.assign({},A,{ref:y,className:Y,style:W}),ne,ee,j&&t.createElement(c.default,{key:"preset",prefixCls:U}),z&&t.createElement(f.default,{key:"status",prefixCls:U}));return K(Q?t.createElement(a.default,{component:"Tag"},re):re)},m=t.forwardRef(g);return m.CheckableTag=s.default,DO.default=m,DO}var FO={},HO={},Qwe;function Cen(){if(Qwe)return HO;Qwe=1;var e=ze;Object.defineProperty(HO,"__esModule",{value:!0}),HO.default=void 0;var t=Xt,n=e(Z$()),r=e(Ky()),i=e(mqe());const o=a=>{const l=a!=null&&a.algorithm?(0,t.createTheme)(a.algorithm):(0,t.createTheme)(n.default),s=Object.assign(Object.assign({},r.default),a==null?void 0:a.token);return(0,t.getComputedToken)(s,{override:a==null?void 0:a.token},l,i.default)};return HO.default=o,HO}var WO={},_N={},Jwe;function Sen(){if(Jwe)return _N;Jwe=1,Object.defineProperty(_N,"__esModule",{value:!0}),_N.default=e;function e(t){const{sizeUnit:n,sizeStep:r}=t,i=r-2;return{sizeXXL:n*(i+10),sizeXL:n*(i+6),sizeLG:n*(i+2),sizeMD:n*(i+2),sizeMS:n*(i+1),size:n*i,sizeSM:n*i,sizeXS:n*(i-1),sizeXXS:n*(i-1)}}return _N}var eOe;function xen(){if(eOe)return WO;eOe=1;var e=ze;Object.defineProperty(WO,"__esModule",{value:!0}),WO.default=void 0;var t=e(cqe()),n=e(Z$()),r=e(Sen()),i=e(fqe());const o=(a,l)=>{const s=l??(0,n.default)(a),u=s.fontSizeSM,c=s.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s),(0,r.default)(l??a)),(0,i.default)(u)),{controlHeight:c}),(0,t.default)(Object.assign(Object.assign({},s),{controlHeight:c})))};return WO.default=o,WO}var qO={},Rm={},Im={},tOe;function _en(){if(tOe)return Im;tOe=1,Object.defineProperty(Im,"__esModule",{value:!0}),Im.getSolidColor=Im.getAlphaColor=void 0;var e=Ea;const t=(r,i)=>new e.TinyColor(r).setAlpha(i).toRgbString();Im.getAlphaColor=t;const n=(r,i)=>new e.TinyColor(r).lighten(i).toHexString();return Im.getSolidColor=n,Im}var nOe;function wen(){if(nOe)return Rm;nOe=1,Object.defineProperty(Rm,"__esModule",{value:!0}),Rm.generateNeutralColorPalettes=Rm.generateColorPalettes=void 0;var e=Nd,t=_en();const n=i=>{const o=(0,e.generate)(i,{theme:"dark"});return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[6],6:o[5],7:o[4],8:o[6],9:o[5],10:o[4]}};Rm.generateColorPalettes=n;const r=(i,o)=>{const a=i||"#000",l=o||"#fff";return{colorBgBase:a,colorTextBase:l,colorText:(0,t.getAlphaColor)(l,.85),colorTextSecondary:(0,t.getAlphaColor)(l,.65),colorTextTertiary:(0,t.getAlphaColor)(l,.45),colorTextQuaternary:(0,t.getAlphaColor)(l,.25),colorFill:(0,t.getAlphaColor)(l,.18),colorFillSecondary:(0,t.getAlphaColor)(l,.12),colorFillTertiary:(0,t.getAlphaColor)(l,.08),colorFillQuaternary:(0,t.getAlphaColor)(l,.04),colorBgElevated:(0,t.getSolidColor)(a,12),colorBgContainer:(0,t.getSolidColor)(a,8),colorBgLayout:(0,t.getSolidColor)(a,0),colorBgSpotlight:(0,t.getSolidColor)(a,26),colorBgBlur:(0,t.getAlphaColor)(l,.04),colorBorder:(0,t.getSolidColor)(a,26),colorBorderSecondary:(0,t.getSolidColor)(a,19)}};return Rm.generateNeutralColorPalettes=r,Rm}var rOe;function Oen(){if(rOe)return qO;rOe=1;var e=ze;Object.defineProperty(qO,"__esModule",{value:!0}),qO.default=void 0;var t=Nd,n=Ky(),r=e(uqe()),i=wen(),o=e(Z$());const a=(l,s)=>{const u=Object.keys(n.defaultPresetColors).map(f=>{const h=(0,t.generate)(l[f],{theme:"dark"});return new Array(10).fill(1).reduce((d,p,g)=>(d[`${f}-${g+1}`]=h[g],d[`${f}${g+1}`]=h[g],d),{})}).reduce((f,h)=>(f=Object.assign(Object.assign({},f),h),f),{}),c=s??(0,o.default)(l);return Object.assign(Object.assign(Object.assign({},c),u),(0,r.default)(l,{generateColorPalettes:i.generateColorPalettes,generateNeutralColorPalettes:i.generateNeutralColorPalettes}))};return qO.default=a,qO}var iOe;function Een(){if(iOe)return FO;iOe=1;var e=ze;Object.defineProperty(FO,"__esModule",{value:!0}),FO.default=void 0;var t=e(Cen()),n=Jt(),r=e(xen()),i=e(Oen()),o=e(Z$());function a(){const[l,s,u]=(0,n.useToken)();return{theme:l,token:s,hashId:u}}return FO.default={defaultConfig:n.defaultConfig,defaultSeed:n.defaultConfig.token,useToken:a,defaultAlgorithm:o.default,darkAlgorithm:i.default,compactAlgorithm:r.default,getDesignToken:t.default},FO}var VO={},oOe;function $en(){if(oOe)return VO;oOe=1;var e=ze;Object.defineProperty(VO,"__esModule",{value:!0}),VO.default=void 0;var t=o(_),n=e(kd());_n();var r=e(kVe());function i(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(i=function(g){return g?p:d})(h)}function o(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=i(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var a=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);mt.createElement(s,Object.assign({},h,{picker:"time",mode:void 0,ref:d}))),c=t.forwardRef((h,d)=>{var{addon:p,renderExtraFooter:g}=h,m=a(h,["addon","renderExtraFooter"]);const v=t.useMemo(()=>{if(g)return g;if(p)return p},[p,g]);return t.createElement(l,Object.assign({},m,{mode:void 0,ref:d,renderExtraFooter:v}))}),f=(0,n.default)(c,"picker");return c._InternalPanelDoNotUseOrYouWillBeFired=f,c.RangePicker=u,c._InternalPanelDoNotUseOrYouWillBeFired=f,VO.default=c,VO}var UO={},GO={},Nm={},aOe;function Pen(){if(aOe)return Nm;aOe=1,Object.defineProperty(Nm,"__esModule",{value:!0}),Nm.prepareComponentToken=Nm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,calc:l}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{margin:0,padding:0,listStyle:"none",[`${a}-item`]:{position:"relative",margin:0,paddingBottom:o.itemPaddingBottom,fontSize:o.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:o.itemHeadSize,insetInlineStart:l(l(o.itemHeadSize).sub(o.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,e.unit)(o.itemHeadSize)})`,borderInlineStart:`${(0,e.unit)(o.tailWidth)} ${o.lineType} ${o.tailColor}`},"&-pending":{[`${a}-item-head`]:{fontSize:o.fontSizeSM,backgroundColor:"transparent"},[`${a}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:o.itemHeadSize,height:o.itemHeadSize,backgroundColor:o.dotBg,border:`${(0,e.unit)(o.dotBorderWidth)} ${o.lineType} transparent`,borderRadius:"50%","&-blue":{color:o.colorPrimary,borderColor:o.colorPrimary},"&-red":{color:o.colorError,borderColor:o.colorError},"&-green":{color:o.colorSuccess,borderColor:o.colorSuccess},"&-gray":{color:o.colorTextDisabled,borderColor:o.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:l(o.itemHeadSize).div(2).equal(),insetInlineStart:l(o.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:o.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:l(l(o.fontSize).mul(o.lineHeight).sub(o.fontSize)).mul(-1).add(o.lineWidth).equal(),marginInlineStart:l(o.margin).add(o.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${a}-item-tail`]:{display:"none"},[`> ${a}-item-content`]:{minHeight:l(o.controlHeightLG).mul(1.2).equal()}}},[`&${a}-alternate, + ${(0,t.unit)(U(P).mul(-1).equal())}`,[`${w}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:L,fontWeight:O,textAlign:"start",background:k,borderBottom:K,transition:`background ${B} ease`}}},[`${w}-footer`]:{padding:`${(0,t.unit)($)} ${(0,t.unit)(P)}`,color:q,background:W}})}},x=S=>{const{colorFillAlter:w,colorBgContainer:O,colorTextHeading:$,colorFillSecondary:P,colorFillContent:T,controlItemBgActive:R,controlItemBgActiveHover:M,padding:A,paddingSM:N,paddingXS:j,colorBorderSecondary:D,borderRadiusLG:L,controlHeight:B,colorTextPlaceholder:k,fontSize:z,fontSizeSM:q,lineHeight:W,lineWidth:U,colorIcon:K,colorIconHover:X,opacityLoading:G,controlInteractiveSize:Y}=S,J=new n.TinyColor(P).onBackground(O).toHexShortString(),ee=new n.TinyColor(T).onBackground(O).toHexShortString(),Q=new n.TinyColor(w).onBackground(O).toHexShortString(),te=new n.TinyColor(K),ne=new n.TinyColor(X),re=Y/2-U,oe=re*2+U*3;return{headerBg:Q,headerColor:$,headerSortActiveBg:J,headerSortHoverBg:ee,bodySortBg:Q,rowHoverBg:Q,rowSelectedBg:R,rowSelectedHoverBg:M,rowExpandedBg:w,cellPaddingBlock:A,cellPaddingInline:A,cellPaddingBlockMD:N,cellPaddingInlineMD:j,cellPaddingBlockSM:j,cellPaddingInlineSM:j,borderColor:D,headerBorderRadius:L,footerBg:Q,footerColor:$,cellFontSize:z,cellFontSizeMD:z,cellFontSizeSM:z,headerSplitColor:D,fixedHeaderSortActiveBg:J,headerFilterHoverBg:T,filterDropdownMenuBg:O,filterDropdownBg:O,expandIconBg:O,selectionColumnWidth:B,stickyScrollBarBg:k,stickyScrollBarBorderRadius:100,expandIconMarginTop:(z*W-U*3)/2-Math.ceil((q*1.4-U*3)/2),headerIconColor:te.clone().setAlpha(te.getAlpha()*G).toRgbString(),headerIconHoverColor:ne.clone().setAlpha(ne.getAlpha()*G).toRgbString(),expandIconHalfInner:re,expandIconSize:oe,expandIconScale:Y/oe}};return Mm.prepareComponentToken=x,Mm.default=(0,i.genStyleHooks)("Table",S=>{const{colorTextHeading:w,colorSplit:O,colorBgContainer:$,controlInteractiveSize:P,headerBg:T,headerColor:R,headerSortActiveBg:M,headerSortHoverBg:A,bodySortBg:N,rowHoverBg:j,rowSelectedBg:D,rowSelectedHoverBg:L,rowExpandedBg:B,cellPaddingBlock:k,cellPaddingInline:z,cellPaddingBlockMD:q,cellPaddingInlineMD:W,cellPaddingBlockSM:U,cellPaddingInlineSM:K,borderColor:X,footerBg:G,footerColor:Y,headerBorderRadius:J,cellFontSize:ee,cellFontSizeMD:Q,cellFontSizeSM:te,headerSplitColor:ne,fixedHeaderSortActiveBg:re,headerFilterHoverBg:oe,filterDropdownBg:se,expandIconBg:ye,selectionColumnWidth:be,stickyScrollBarBg:he,calc:le}=S,ve=2,ke=(0,i.mergeToken)(S,{tableFontSize:ee,tableBg:$,tableRadius:J,tablePaddingVertical:k,tablePaddingHorizontal:z,tablePaddingVerticalMiddle:q,tablePaddingHorizontalMiddle:W,tablePaddingVerticalSmall:U,tablePaddingHorizontalSmall:K,tableBorderColor:X,tableHeaderTextColor:R,tableHeaderBg:T,tableFooterTextColor:Y,tableFooterBg:G,tableHeaderCellSplitColor:ne,tableHeaderSortBg:M,tableHeaderSortHoverBg:A,tableBodySortBg:N,tableFixedHeaderSortActiveBg:re,tableHeaderFilterActiveBg:oe,tableFilterDropdownBg:se,tableRowHoverBg:j,tableSelectedRowBg:D,tableSelectedRowHoverBg:L,zIndexTableFixed:ve,zIndexTableSticky:ve+1,tableFontSizeMiddle:Q,tableFontSizeSmall:te,tableSelectionColumnWidth:be,tableExpandIconBg:ye,tableExpandColumnWidth:le(P).add(le(S.padding).mul(2)).equal(),tableExpandedRowBg:B,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:he,tableScrollThumbBgHover:w,tableScrollBg:O});return[C(ke),(0,f.default)(ke),(0,y.default)(ke),(0,m.default)(ke),(0,u.default)(ke),(0,o.default)(ke),(0,h.default)(ke),(0,s.default)(ke),(0,y.default)(ke),(0,l.default)(ke),(0,p.default)(ke),(0,c.default)(ke),(0,v.default)(ke),(0,a.default)(ke),(0,g.default)(ke),(0,d.default)(ke),(0,b.default)(ke)]},x,{unitless:{expandIconScale:!0}}),Mm}var qwe;function uen(){if(qwe)return dO;qwe=1;var e=ze;Object.defineProperty(dO,"__esModule",{value:!0}),dO.default=void 0;var t=A(_),n=e(Tt()),r=gP,i=tJt(),o=e(Qr()),a=e(nJt()),l=e(vF()),s=_n(),u=J$(),c=e(k0()),f=e(zr()),h=e(no()),d=e(Zy()),p=e(_u()),g=e(zF()),m=e(pP()),v=Jt(),y=e(rJt()),b=e(iJt()),C=A(kJt()),x=e(jJt()),S=A(DJt()),w=e(oUe()),O=A(qJt()),$=e(VJt()),P=e(UJt()),T=e(GJt()),R=e(cen());function M(D){if(typeof WeakMap!="function")return null;var L=new WeakMap,B=new WeakMap;return(M=function(k){return k?B:L})(D)}function A(D,L){if(!L&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var B=M(L);if(B&&B.has(D))return B.get(D);var k={__proto__:null},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in D)if(q!=="default"&&Object.prototype.hasOwnProperty.call(D,q)){var W=z?Object.getOwnPropertyDescriptor(D,q):null;W&&(W.get||W.set)?Object.defineProperty(k,q,W):k[q]=D[q]}return k.default=D,B&&B.set(D,k),k}const N=[],j=(D,L)=>{var B,k;const{prefixCls:z,className:q,rootClassName:W,style:U,size:K,bordered:X,dropdownPrefixCls:G,dataSource:Y,pagination:J,rowSelection:ee,rowKey:Q="key",rowClassName:te,columns:ne,children:re,childrenColumnName:oe,onChange:se,getPopupContainer:ye,loading:be,expandIcon:he,expandable:le,expandedRowRender:ve,expandIconColumnIndex:ke,indentSize:Ie,scroll:Oe,sortDirections:Pe,locale:_e,showSorterTooltip:ce=!0,virtual:Te}=D;(0,s.devUseWarning)("Table");const Ne=t.useMemo(()=>ne||(0,i.convertChildrenToColumns)(re),[ne,re]),je=t.useMemo(()=>Ne.some(mn=>mn.responsive),[Ne]),He=(0,d.default)(je),Be=t.useMemo(()=>{const mn=new Set(Object.keys(He).filter(Zt=>He[Zt]));return Ne.filter(Zt=>!Zt.responsive||Zt.responsive.some(nn=>mn.has(nn)))},[Ne,He]),qe=(0,o.default)(D,["className","style","columns"]),{locale:me=p.default,direction:Ee,table:$e,renderEmpty:Le,getPrefixCls:Fe,getPopupContainer:Ke}=t.useContext(u.ConfigContext),lt=(0,h.default)(K),ft=Object.assign(Object.assign({},me.Table),_e),Ye=Y||N,we=Fe("table",z),De=Fe("dropdown",G),[,We]=(0,v.useToken)(),Ge=(0,f.default)(we),[Je,bt,at]=(0,R.default)(we,Ge),et=Object.assign(Object.assign({childrenColumnName:oe,expandIconColumnIndex:ke},le),{expandIcon:(B=le==null?void 0:le.expandIcon)!==null&&B!==void 0?B:(k=$e==null?void 0:$e.expandable)===null||k===void 0?void 0:k.expandIcon}),{childrenColumnName:rt="children"}=et,Ze=t.useMemo(()=>Ye.some(mn=>mn==null?void 0:mn[rt])?"nest":ve||le&&le.expandedRowRender?"row":null,[Ye]),wt={body:t.useRef()},ut=(0,b.default)(we),ot=t.useRef(null),dt=t.useRef(null);(0,a.default)(L,()=>Object.assign(Object.assign({},dt.current),{nativeElement:ot.current}));const _t=t.useMemo(()=>typeof Q=="function"?Q:mn=>mn==null?void 0:mn[Q],[Q]),[Ot]=(0,x.default)(Ye,rt,_t),Ct={},mt=function(mn,Zt){let nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Dn,Xn,cr;const qt=Object.assign(Object.assign({},Ct),mn);nn&&((Dn=Ct.resetPagination)===null||Dn===void 0||Dn.call(Ct),!((Xn=qt.pagination)===null||Xn===void 0)&&Xn.current&&(qt.pagination.current=1),J&&J.onChange&&J.onChange(1,(cr=qt.pagination)===null||cr===void 0?void 0:cr.pageSize)),Oe&&Oe.scrollToFirstRowOnChange!==!1&&wt.body.current&&(0,l.default)(0,{getContainer:()=>wt.body.current}),se==null||se(qt.pagination,qt.filters,qt.sorter,{currentDataSource:(0,C.getFilterData)((0,O.getSortData)(Ye,qt.sorterStates,rt),qt.filterStates,rt),action:Zt})},It=(mn,Zt)=>{mt({sorter:mn,sorterStates:Zt},"sort",!1)},[nt,yt,xt,At]=(0,O.default)({prefixCls:we,mergedColumns:Be,onSorterChange:It,sortDirections:Pe||["ascend","descend"],tableLocale:ft,showSorterTooltip:ce}),cn=t.useMemo(()=>(0,O.getSortData)(Ye,yt,rt),[Ye,yt]);Ct.sorter=At(),Ct.sorterStates=yt;const Ht=(mn,Zt)=>{mt({filters:mn,filterStates:Zt},"filter",!0)},[$t,zt,Qt]=(0,C.default)({prefixCls:we,locale:ft,dropdownPrefixCls:De,mergedColumns:Be,onFilterChange:Ht,getPopupContainer:ye||Ke,rootClassName:(0,n.default)(W,Ge)}),Pt=(0,C.getFilterData)(cn,zt,rt);Ct.filters=Qt,Ct.filterStates=zt;const ct=t.useMemo(()=>{const mn={};return Object.keys(Qt).forEach(Zt=>{Qt[Zt]!==null&&(mn[Zt]=Qt[Zt])}),Object.assign(Object.assign({},xt),{filters:mn})},[xt,Qt]),[Wt]=(0,$.default)(ct),wn=(mn,Zt)=>{mt({pagination:Object.assign(Object.assign({},Ct.pagination),{current:mn,pageSize:Zt})},"paginate")},[kt,gt]=(0,S.default)(Pt.length,wn,J);Ct.pagination=J===!1?{}:(0,S.getPaginationParam)(kt,J),Ct.resetPagination=gt;const Bt=t.useMemo(()=>{if(J===!1||!kt.pageSize)return Pt;const{current:mn=1,total:Zt,pageSize:nn=S.DEFAULT_PAGE_SIZE}=kt;return Pt.lengthnn?Pt.slice((mn-1)*nn,mn*nn):Pt:Pt.slice((mn-1)*nn,mn*nn)},[!!J,Pt,kt&&kt.current,kt&&kt.pageSize,kt&&kt.total]),[Nn,Or]=(0,w.default)({prefixCls:we,data:Pt,pageData:Bt,getRowKey:_t,getRecordByKey:Ot,expandType:Ze,childrenColumnName:rt,locale:ft,getPopupContainer:ye||Ke},ee),Ar=(mn,Zt,nn)=>{let Dn;return typeof te=="function"?Dn=(0,n.default)(te(mn,Zt,nn)):Dn=(0,n.default)(te),(0,n.default)({[`${we}-row-selected`]:Or.has(_t(mn,Zt))},Dn)};et.__PARENT_RENDER_ICON__=et.expandIcon,et.expandIcon=et.expandIcon||he||(0,y.default)(ft),Ze==="nest"&&et.expandIconColumnIndex===void 0?et.expandIconColumnIndex=ee?1:0:et.expandIconColumnIndex>0&&ee&&(et.expandIconColumnIndex-=1),typeof et.indentSize!="number"&&(et.indentSize=typeof Ie=="number"?Ie:15);const ei=t.useCallback(mn=>Wt(Nn($t(nt(mn)))),[nt,$t,Nn]);let ar,Sn;if(J!==!1&&(kt!=null&&kt.total)){let mn;kt.size?mn=kt.size:mn=lt==="small"||lt==="middle"?"small":void 0;const Zt=Xn=>t.createElement(g.default,Object.assign({},kt,{className:(0,n.default)(`${we}-pagination ${we}-pagination-${Xn}`,kt.className),size:mn})),nn=Ee==="rtl"?"left":"right",{position:Dn}=kt;if(Dn!==null&&Array.isArray(Dn)){const Xn=Dn.find(Yt=>Yt.includes("top")),cr=Dn.find(Yt=>Yt.includes("bottom")),qt=Dn.every(Yt=>`${Yt}`=="none");!Xn&&!cr&&!qt&&(Sn=Zt(nn)),Xn&&(ar=Zt(Xn.toLowerCase().replace("top",""))),cr&&(Sn=Zt(cr.toLowerCase().replace("bottom","")))}else Sn=Zt(nn)}let pi;typeof be=="boolean"?pi={spinning:be}:typeof be=="object"&&(pi=Object.assign({spinning:!0},be));const On=(0,n.default)(at,Ge,`${we}-wrapper`,$e==null?void 0:$e.className,{[`${we}-wrapper-rtl`]:Ee==="rtl"},q,W,bt),En=Object.assign(Object.assign({},$e==null?void 0:$e.style),U),en=_e&&_e.emptyText||(Le==null?void 0:Le("Table"))||t.createElement(c.default,{componentName:"Table"}),gn=Te?T.default:P.default,qn={},yr=t.useMemo(()=>{const{fontSize:mn,lineHeight:Zt,padding:nn,paddingXS:Dn,paddingSM:Xn}=We,cr=Math.floor(mn*Zt);switch(lt){case"large":return nn*2+cr;case"small":return Dn*2+cr;default:return Xn*2+cr}},[We,lt]);return Te&&(qn.listItemHeight=yr),Je(t.createElement("div",{ref:ot,className:On,style:En},t.createElement(m.default,Object.assign({spinning:!1},pi),ar,t.createElement(gn,Object.assign({},qn,qe,{ref:dt,columns:Be,direction:Ee,expandable:et,prefixCls:we,className:(0,n.default)({[`${we}-middle`]:lt==="middle",[`${we}-small`]:lt==="small",[`${we}-bordered`]:X,[`${we}-empty`]:Ye.length===0},at,Ge,bt),data:Bt,rowKey:_t,rowClassName:Ar,emptyText:en,internalHooks:r.INTERNAL_HOOKS,internalRefs:wt,transformColumns:ei,getContainerWidth:ut})),Sn)))};return dO.default=t.forwardRef(j),dO}var Vwe;function den(){if(Vwe)return iO;Vwe=1;var e=ze;Object.defineProperty(iO,"__esModule",{value:!0}),iO.default=void 0;var t=s(_),n=gP,r=e(qQt()),i=e(VQt()),o=oUe(),a=e(uen());function l(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(l=function(p){return p?d:h})(f)}function s(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=l(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const u=(f,h)=>{const d=t.useRef(0);return d.current+=1,t.createElement(a.default,Object.assign({},f,{ref:h,_renderTimes:d.current}))},c=t.forwardRef(u);return c.SELECTION_COLUMN=o.SELECTION_COLUMN,c.EXPAND_COLUMN=n.EXPAND_COLUMN,c.SELECTION_ALL=o.SELECTION_ALL,c.SELECTION_INVERT=o.SELECTION_INVERT,c.SELECTION_NONE=o.SELECTION_NONE,c.Column=r.default,c.ColumnGroup=i.default,c.Summary=n.Summary,iO.default=c,iO}var Uwe;function fen(){if(Uwe)return rO;Uwe=1;var e=ze;Object.defineProperty(rO,"__esModule",{value:!0}),rO.default=void 0;var t=e(den());return rO.default=t.default,rO}var LO={},zO={},Sp={},Gwe;function HF(){if(Gwe)return Sp;Gwe=1,Object.defineProperty(Sp,"__esModule",{value:!0}),Sp.prepareToken=Sp.prepareComponentToken=Sp.default=void 0;var e=Xt,t=Ea,n=Tn(),r=Jt();const i=l=>{const{paddingXXS:s,lineWidth:u,tagPaddingHorizontal:c,componentCls:f,calc:h}=l,d=h(c).sub(u).equal(),p=h(s).sub(u).equal();return{[f]:Object.assign(Object.assign({},(0,n.resetComponent)(l)),{display:"inline-block",height:"auto",marginInlineEnd:l.marginXS,paddingInline:d,fontSize:l.tagFontSize,lineHeight:l.tagLineHeight,whiteSpace:"nowrap",background:l.defaultBg,border:`${(0,e.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,borderRadius:l.borderRadiusSM,opacity:1,transition:`all ${l.motionDurationMid}`,textAlign:"start",position:"relative",[`&${f}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:l.defaultColor},[`${f}-close-icon`]:{marginInlineStart:p,fontSize:l.tagIconSize,color:l.colorTextDescription,cursor:"pointer",transition:`all ${l.motionDurationMid}`,"&:hover":{color:l.colorTextHeading}},[`&${f}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${l.iconCls}-close, ${l.iconCls}-close:hover`]:{color:l.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${f}-checkable-checked):hover`]:{color:l.colorPrimary,backgroundColor:l.colorFillSecondary},"&:active, &-checked":{color:l.colorTextLightSolid},"&-checked":{backgroundColor:l.colorPrimary,"&:hover":{backgroundColor:l.colorPrimaryHover}},"&:active":{backgroundColor:l.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${l.iconCls} + span, > span + ${l.iconCls}`]:{marginInlineStart:d}}),[`${f}-borderless`]:{borderColor:"transparent",background:l.tagBorderlessBg}}},o=l=>{const{lineWidth:s,fontSizeIcon:u,calc:c}=l,f=l.fontSizeSM;return(0,r.mergeToken)(l,{tagFontSize:f,tagLineHeight:(0,e.unit)(c(l.lineHeightSM).mul(f).equal()),tagIconSize:c(u).sub(c(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:l.defaultBg})};Sp.prepareToken=o;const a=l=>({defaultBg:new t.TinyColor(l.colorFillQuaternary).onBackground(l.colorBgContainer).toHexString(),defaultColor:l.colorText});return Sp.prepareComponentToken=a,Sp.default=(0,r.genStyleHooks)("Tag",l=>{const s=o(l);return i(s)},a),Sp}var Kwe;function pen(){if(Kwe)return zO;Kwe=1;var e=ze;Object.defineProperty(zO,"__esModule",{value:!0}),zO.default=void 0;var t=a(_),n=e(Tt()),r=Lt(),i=e(HF());function o(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,f=new WeakMap;return(o=function(h){return h?f:c})(u)}function a(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var f=o(c);if(f&&f.has(u))return f.get(u);var h={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in u)if(p!=="default"&&Object.prototype.hasOwnProperty.call(u,p)){var g=d?Object.getOwnPropertyDescriptor(u,p):null;g&&(g.get||g.set)?Object.defineProperty(h,p,g):h[p]=u[p]}return h.default=u,f&&f.set(u,h),h}var l=function(u,c){var f={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&c.indexOf(h)<0&&(f[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(u);d{const{prefixCls:f,style:h,className:d,checked:p,onChange:g,onClick:m}=u,v=l(u,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:y,tag:b}=t.useContext(r.ConfigContext),C=P=>{g==null||g(!p),m==null||m(P)},x=y("tag",f),[S,w,O]=(0,i.default)(x),$=(0,n.default)(x,`${x}-checkable`,{[`${x}-checkable-checked`]:p},b==null?void 0:b.className,d,w,O);return S(t.createElement("span",Object.assign({},v,{ref:c,style:Object.assign(Object.assign({},h),b==null?void 0:b.style),className:$,onClick:C})))});return zO.default=s,zO}var BO={},Xwe;function hen(){if(Xwe)return BO;Xwe=1,Object.defineProperty(BO,"__esModule",{value:!0}),BO.default=void 0;var e=HF(),t=Jt();const n=r=>(0,t.genPresetColor)(r,(i,o)=>{let{textColor:a,lightBorderColor:l,lightColor:s,darkColor:u}=o;return{[`${r.componentCls}${r.componentCls}-${i}`]:{color:a,background:s,borderColor:l,"&-inverse":{color:r.colorTextLightSolid,background:u,borderColor:u},[`&${r.componentCls}-borderless`]:{borderColor:"transparent"}}}});return BO.default=(0,t.genSubStyleComponent)(["Tag","preset"],r=>{const i=(0,e.prepareToken)(r);return n(i)},e.prepareComponentToken),BO}var FO={},_N={},Ywe;function gen(){if(Ywe)return _N;Ywe=1,Object.defineProperty(_N,"__esModule",{value:!0}),_N.default=e;function e(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}return _N}var Zwe;function men(){if(Zwe)return FO;Zwe=1;var e=ze;Object.defineProperty(FO,"__esModule",{value:!0}),FO.default=void 0;var t=HF(),n=e(gen()),r=Jt();const i=(o,a,l)=>{const s=(0,n.default)(l);return{[`${o.componentCls}${o.componentCls}-${a}`]:{color:o[`color${l}`],background:o[`color${s}Bg`],borderColor:o[`color${s}Border`],[`&${o.componentCls}-borderless`]:{borderColor:"transparent"}}}};return FO.default=(0,r.genSubStyleComponent)(["Tag","status"],o=>{const a=(0,t.prepareToken)(o);return[i(a,"success","Success"),i(a,"processing","Info"),i(a,"error","Error"),i(a,"warning","Warning")]},t.prepareComponentToken),FO}var Qwe;function ven(){if(Qwe)return LO;Qwe=1;var e=ze;Object.defineProperty(LO,"__esModule",{value:!0}),LO.default=void 0;var t=d(_),n=e(zs()),r=e(Tt()),i=$F(),o=e(SF());_n();var a=e(tP()),l=Lt(),s=e(pen()),u=e(HF()),c=e(hen()),f=e(men());function h(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(h=function(C){return C?b:y})(v)}function d(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=h(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}var p=function(v,y){var b={};for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&y.indexOf(C)<0&&(b[C]=v[C]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(v);x{const{prefixCls:b,className:C,rootClassName:x,style:S,children:w,icon:O,color:$,onClose:P,closeIcon:T,closable:R,bordered:M=!0}=v,A=p(v,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:N,direction:j,tag:D}=t.useContext(l.ConfigContext),[L,B]=t.useState(!0);t.useEffect(()=>{"visible"in A&&B(A.visible)},[A.visible]);const k=(0,i.isPresetColor)($),z=(0,i.isPresetStatusColor)($),q=k||z,W=Object.assign(Object.assign({backgroundColor:$&&!q?$:void 0},D==null?void 0:D.style),S),U=N("tag",b),[K,X,G]=(0,u.default)(U),Y=(0,r.default)(U,D==null?void 0:D.className,{[`${U}-${$}`]:q,[`${U}-has-color`]:$&&!q,[`${U}-hidden`]:!L,[`${U}-rtl`]:j==="rtl",[`${U}-borderless`]:!M},C,x,X,G),J=oe=>{oe.stopPropagation(),P==null||P(oe),!oe.defaultPrevented&&B(!1)},[,ee]=(0,o.default)(R,T??(D==null?void 0:D.closeIcon),oe=>oe===null?t.createElement(n.default,{className:`${U}-close-icon`,onClick:J}):t.createElement("span",{className:`${U}-close-icon`,onClick:J},oe),null,!1),Q=typeof A.onClick=="function"||w&&w.type==="a",te=O||null,ne=te?t.createElement(t.Fragment,null,te,w&&t.createElement("span",null,w)):w,re=t.createElement("span",Object.assign({},A,{ref:y,className:Y,style:W}),ne,ee,k&&t.createElement(c.default,{key:"preset",prefixCls:U}),z&&t.createElement(f.default,{key:"status",prefixCls:U}));return K(Q?t.createElement(a.default,{component:"Tag"},re):re)},m=t.forwardRef(g);return m.CheckableTag=s.default,LO.default=m,LO}var HO={},WO={},Jwe;function yen(){if(Jwe)return WO;Jwe=1;var e=ze;Object.defineProperty(WO,"__esModule",{value:!0}),WO.default=void 0;var t=Xt,n=e(Q$()),r=e(Ky()),i=e(vqe());const o=a=>{const l=a!=null&&a.algorithm?(0,t.createTheme)(a.algorithm):(0,t.createTheme)(n.default),s=Object.assign(Object.assign({},r.default),a==null?void 0:a.token);return(0,t.getComputedToken)(s,{override:a==null?void 0:a.token},l,i.default)};return WO.default=o,WO}var qO={},wN={},eOe;function ben(){if(eOe)return wN;eOe=1,Object.defineProperty(wN,"__esModule",{value:!0}),wN.default=e;function e(t){const{sizeUnit:n,sizeStep:r}=t,i=r-2;return{sizeXXL:n*(i+10),sizeXL:n*(i+6),sizeLG:n*(i+2),sizeMD:n*(i+2),sizeMS:n*(i+1),size:n*i,sizeSM:n*i,sizeXS:n*(i-1),sizeXXS:n*(i-1)}}return wN}var tOe;function Cen(){if(tOe)return qO;tOe=1;var e=ze;Object.defineProperty(qO,"__esModule",{value:!0}),qO.default=void 0;var t=e(uqe()),n=e(Q$()),r=e(ben()),i=e(pqe());const o=(a,l)=>{const s=l??(0,n.default)(a),u=s.fontSizeSM,c=s.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s),(0,r.default)(l??a)),(0,i.default)(u)),{controlHeight:c}),(0,t.default)(Object.assign(Object.assign({},s),{controlHeight:c})))};return qO.default=o,qO}var VO={},Rm={},Im={},nOe;function Sen(){if(nOe)return Im;nOe=1,Object.defineProperty(Im,"__esModule",{value:!0}),Im.getSolidColor=Im.getAlphaColor=void 0;var e=Ea;const t=(r,i)=>new e.TinyColor(r).setAlpha(i).toRgbString();Im.getAlphaColor=t;const n=(r,i)=>new e.TinyColor(r).lighten(i).toHexString();return Im.getSolidColor=n,Im}var rOe;function xen(){if(rOe)return Rm;rOe=1,Object.defineProperty(Rm,"__esModule",{value:!0}),Rm.generateNeutralColorPalettes=Rm.generateColorPalettes=void 0;var e=Nd,t=Sen();const n=i=>{const o=(0,e.generate)(i,{theme:"dark"});return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[6],6:o[5],7:o[4],8:o[6],9:o[5],10:o[4]}};Rm.generateColorPalettes=n;const r=(i,o)=>{const a=i||"#000",l=o||"#fff";return{colorBgBase:a,colorTextBase:l,colorText:(0,t.getAlphaColor)(l,.85),colorTextSecondary:(0,t.getAlphaColor)(l,.65),colorTextTertiary:(0,t.getAlphaColor)(l,.45),colorTextQuaternary:(0,t.getAlphaColor)(l,.25),colorFill:(0,t.getAlphaColor)(l,.18),colorFillSecondary:(0,t.getAlphaColor)(l,.12),colorFillTertiary:(0,t.getAlphaColor)(l,.08),colorFillQuaternary:(0,t.getAlphaColor)(l,.04),colorBgElevated:(0,t.getSolidColor)(a,12),colorBgContainer:(0,t.getSolidColor)(a,8),colorBgLayout:(0,t.getSolidColor)(a,0),colorBgSpotlight:(0,t.getSolidColor)(a,26),colorBgBlur:(0,t.getAlphaColor)(l,.04),colorBorder:(0,t.getSolidColor)(a,26),colorBorderSecondary:(0,t.getSolidColor)(a,19)}};return Rm.generateNeutralColorPalettes=r,Rm}var iOe;function _en(){if(iOe)return VO;iOe=1;var e=ze;Object.defineProperty(VO,"__esModule",{value:!0}),VO.default=void 0;var t=Nd,n=Ky(),r=e(dqe()),i=xen(),o=e(Q$());const a=(l,s)=>{const u=Object.keys(n.defaultPresetColors).map(f=>{const h=(0,t.generate)(l[f],{theme:"dark"});return new Array(10).fill(1).reduce((d,p,g)=>(d[`${f}-${g+1}`]=h[g],d[`${f}${g+1}`]=h[g],d),{})}).reduce((f,h)=>(f=Object.assign(Object.assign({},f),h),f),{}),c=s??(0,o.default)(l);return Object.assign(Object.assign(Object.assign({},c),u),(0,r.default)(l,{generateColorPalettes:i.generateColorPalettes,generateNeutralColorPalettes:i.generateNeutralColorPalettes}))};return VO.default=a,VO}var oOe;function wen(){if(oOe)return HO;oOe=1;var e=ze;Object.defineProperty(HO,"__esModule",{value:!0}),HO.default=void 0;var t=e(yen()),n=Jt(),r=e(Cen()),i=e(_en()),o=e(Q$());function a(){const[l,s,u]=(0,n.useToken)();return{theme:l,token:s,hashId:u}}return HO.default={defaultConfig:n.defaultConfig,defaultSeed:n.defaultConfig.token,useToken:a,defaultAlgorithm:o.default,darkAlgorithm:i.default,compactAlgorithm:r.default,getDesignToken:t.default},HO}var UO={},aOe;function Oen(){if(aOe)return UO;aOe=1;var e=ze;Object.defineProperty(UO,"__esModule",{value:!0}),UO.default=void 0;var t=o(_),n=e(kd());_n();var r=e(kVe());function i(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(i=function(g){return g?p:d})(h)}function o(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=i(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var a=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);mt.createElement(s,Object.assign({},h,{picker:"time",mode:void 0,ref:d}))),c=t.forwardRef((h,d)=>{var{addon:p,renderExtraFooter:g}=h,m=a(h,["addon","renderExtraFooter"]);const v=t.useMemo(()=>{if(g)return g;if(p)return p},[p,g]);return t.createElement(l,Object.assign({},m,{mode:void 0,ref:d,renderExtraFooter:v}))}),f=(0,n.default)(c,"picker");return c._InternalPanelDoNotUseOrYouWillBeFired=f,c.RangePicker=u,c._InternalPanelDoNotUseOrYouWillBeFired=f,UO.default=c,UO}var GO={},KO={},Nm={},lOe;function Een(){if(lOe)return Nm;lOe=1,Object.defineProperty(Nm,"__esModule",{value:!0}),Nm.prepareComponentToken=Nm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=o=>{const{componentCls:a,calc:l}=o;return{[a]:Object.assign(Object.assign({},(0,t.resetComponent)(o)),{margin:0,padding:0,listStyle:"none",[`${a}-item`]:{position:"relative",margin:0,paddingBottom:o.itemPaddingBottom,fontSize:o.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:o.itemHeadSize,insetInlineStart:l(l(o.itemHeadSize).sub(o.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,e.unit)(o.itemHeadSize)})`,borderInlineStart:`${(0,e.unit)(o.tailWidth)} ${o.lineType} ${o.tailColor}`},"&-pending":{[`${a}-item-head`]:{fontSize:o.fontSizeSM,backgroundColor:"transparent"},[`${a}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:o.itemHeadSize,height:o.itemHeadSize,backgroundColor:o.dotBg,border:`${(0,e.unit)(o.dotBorderWidth)} ${o.lineType} transparent`,borderRadius:"50%","&-blue":{color:o.colorPrimary,borderColor:o.colorPrimary},"&-red":{color:o.colorError,borderColor:o.colorError},"&-green":{color:o.colorSuccess,borderColor:o.colorSuccess},"&-gray":{color:o.colorTextDisabled,borderColor:o.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:l(o.itemHeadSize).div(2).equal(),insetInlineStart:l(o.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:o.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:l(l(o.fontSize).mul(o.lineHeight).sub(o.fontSize)).mul(-1).add(o.lineWidth).equal(),marginInlineStart:l(o.margin).add(o.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${a}-item-tail`]:{display:"none"},[`> ${a}-item-content`]:{minHeight:l(o.controlHeightLG).mul(1.2).equal()}}},[`&${a}-alternate, &${a}-right, &${a}-label`]:{[`${a}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:l(o.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:l(o.tailWidth).div(2).equal()}},"&-left":{[`${a}-item-content`]:{insetInlineStart:`calc(50% - ${(0,e.unit)(o.marginXXS)})`,width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,textAlign:"start"}},"&-right":{[`${a}-item-content`]:{width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${a}-right`]:{[`${a}-item-right`]:{[`${a}-item-tail, ${a}-item-head, @@ -906,12 +906,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${a}-item-last ${a}-item-tail`]:{display:"block",height:`calc(100% - ${(0,e.unit)(o.margin)})`,borderInlineStart:`${(0,e.unit)(o.tailWidth)} dotted ${o.tailColor}`},[`&${a}-reverse ${a}-item-last - ${a}-item-tail`]:{display:"none"},[`&${a}-reverse ${a}-item-pending`]:{[`${a}-item-tail`]:{insetBlockStart:o.margin,display:"block",height:`calc(100% - ${(0,e.unit)(o.margin)})`,borderInlineStart:`${(0,e.unit)(o.tailWidth)} dotted ${o.tailColor}`},[`${a}-item-content`]:{minHeight:l(o.controlHeightLG).mul(1.2).equal()}},[`&${a}-label`]:{[`${a}-item-label`]:{position:"absolute",insetBlockStart:l(l(o.fontSize).mul(o.lineHeight).sub(o.fontSize)).mul(-1).add(o.tailWidth).equal(),width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,textAlign:"end"},[`${a}-item-right`]:{[`${a}-item-label`]:{insetInlineStart:`calc(50% + ${(0,e.unit)(o.marginSM)})`,width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${a}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},i=o=>({tailColor:o.colorSplit,tailWidth:o.lineWidthBold,dotBorderWidth:o.wireframe?o.lineWidthBold:o.lineWidth*3,dotBg:o.colorBgContainer,itemPaddingBottom:o.padding*1.25});return Nm.prepareComponentToken=i,Nm.default=(0,n.genStyleHooks)("Timeline",o=>{const a=(0,n.mergeToken)(o,{itemHeadSize:10,customHeadPaddingVertical:o.paddingXXS,paddingInlineEnd:2});return[r(a)]},i),Nm}var KO={},lOe;function fUe(){if(lOe)return KO;lOe=1;var e=ze;Object.defineProperty(KO,"__esModule",{value:!0}),KO.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{prefixCls:u,className:c,color:f="blue",dot:h,pending:d=!1,position:p,label:g,children:m}=s,v=a(s,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:y}=n.useContext(r.ConfigContext),b=y("timeline",u),C=(0,t.default)(`${b}-item`,{[`${b}-item-pending`]:d},c),x=/blue|red|green|gray/.test(f||"")?void 0:f,S=(0,t.default)(`${b}-item-head`,{[`${b}-item-head-custom`]:!!h,[`${b}-item-head-${f}`]:!x});return n.createElement("li",Object.assign({},v,{className:C}),g&&n.createElement("div",{className:`${b}-item-label`},g),n.createElement("div",{className:`${b}-item-tail`}),n.createElement("div",{className:S,style:{borderColor:x,color:x}},h),n.createElement("div",{className:`${b}-item-content`},m))};return KO.default=l,KO}var XO={},sOe;function Ten(){if(sOe)return XO;sOe=1;var e=ze;Object.defineProperty(XO,"__esModule",{value:!0}),XO.default=void 0;var t=e(qr()),n=e(Tt()),r=l(_),i=e(Vf()),o=e(fUe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{var{prefixCls:f,className:h,pending:d=!1,children:p,items:g,rootClassName:m,reverse:v=!1,direction:y,hashId:b,pendingDot:C,mode:x=""}=c,S=s(c,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const w=(N,k)=>x==="alternate"?N==="right"?`${f}-item-right`:N==="left"?`${f}-item-left`:k%2===0?`${f}-item-left`:`${f}-item-right`:x==="left"?`${f}-item-left`:x==="right"?`${f}-item-right`:N==="right"?`${f}-item-right`:"",O=(0,t.default)(g||[]),$=typeof d=="boolean"?null:d;d&&O.push({pending:!!d,dot:C||r.createElement(i.default,null),children:$}),v&&O.reverse();const P=O.length,T=`${f}-item-last`,R=O.filter(N=>!!N).map((N,k)=>{var D;const L=k===P-2?T:"",B=k===P-1?T:"",{className:j}=N,z=s(N,["className"]);return r.createElement(o.default,Object.assign({},z,{className:(0,n.default)([j,!v&&d?L:B,w((D=N==null?void 0:N.position)!==null&&D!==void 0?D:"",k)]),key:(N==null?void 0:N.key)||k}))}),M=O.some(N=>!!(N!=null&&N.label)),A=(0,n.default)(f,{[`${f}-pending`]:!!d,[`${f}-reverse`]:!!v,[`${f}-${x}`]:!!x&&!M,[`${f}-label`]:M,[`${f}-rtl`]:y==="rtl"},h,m,b);return r.createElement("ul",Object.assign({},S,{className:A}),R)};return XO.default=u,XO}var YO={},cOe;function Men(){if(cOe)return YO;cOe=1;var e=ze;Object.defineProperty(YO,"__esModule",{value:!0}),YO.default=void 0;var t=e(fl());function n(r,i){return r&&Array.isArray(r)?r:(0,t.default)(i).map(o=>{var a,l;return Object.assign({children:(l=(a=o==null?void 0:o.props)===null||a===void 0?void 0:a.children)!==null&&l!==void 0?l:""},o.props)})}return YO.default=n,YO}var uOe;function Ren(){if(uOe)return GO;uOe=1;var e=ze;Object.defineProperty(GO,"__esModule",{value:!0}),GO.default=void 0;var t=c(_),n=e(Tt());_n();var r=Lt(),i=e(Pen()),o=e(zr()),a=e(fUe()),l=e(Ten()),s=e(Men());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var f=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{getPrefixCls:p,direction:g,timeline:m}=t.useContext(r.ConfigContext),{prefixCls:v,children:y,items:b,className:C,style:x}=d,S=f(d,["prefixCls","children","items","className","style"]),w=p("timeline",v),O=(0,o.default)(w),[$,P,T]=(0,i.default)(w,O),R=(0,s.default)(b,y);return $(t.createElement(l.default,Object.assign({},S,{className:(0,n.default)(m==null?void 0:m.className,C,T,O),style:Object.assign(Object.assign({},m==null?void 0:m.style),x),prefixCls:w,direction:g,items:R,hashId:P})))};return h.Item=a.default,GO.default=h,GO}var dOe;function Ien(){if(dOe)return UO;dOe=1;var e=ze;Object.defineProperty(UO,"__esModule",{value:!0}),UO.default=void 0;var t=e(Ren());return UO.default=t.default,UO}var ZO={};const Nen=cr(KIt);var QO={},fOe;function pUe(){if(fOe)return QO;fOe=1;var e=ze;Object.defineProperty(QO,"__esModule",{value:!0}),QO.default=void 0;var t=e(qr()),n=e(_),r=e(zs()),i=e(Tt()),o=e(CF()),a=e(Ac()),l=Rl(),s=e(_u());function u(f){return f!=null}const c=f=>{var h,d;const{stepProps:p,current:g,type:m,closeIcon:v,indicatorsRender:y}=f,{prefixCls:b,total:C=1,title:x,onClose:S,onPrev:w,onNext:O,onFinish:$,cover:P,description:T,nextButtonProps:R,prevButtonProps:M,type:A,closeIcon:N}=p,k=A??m,D=N??v,L=D!==!1&&D!==null,[B,j]=(0,o.default)(L,D,Q=>n.default.createElement("span",{onClick:S,"aria-label":"Close",className:`${b}-close`},Q),n.default.createElement(r.default,{className:`${b}-close-icon`}),!0),z=g===C-1,V=()=>{var Q;w==null||w(),(Q=M==null?void 0:M.onClick)===null||Q===void 0||Q.call(M)},W=()=>{var Q;z?$==null||$():O==null||O(),(Q=R==null?void 0:R.onClick)===null||Q===void 0||Q.call(R)},U=u(x)?n.default.createElement("div",{className:`${b}-header`},n.default.createElement("div",{className:`${b}-title`},x)):null,K=u(T)?n.default.createElement("div",{className:`${b}-description`},T):null,X=u(P)?n.default.createElement("div",{className:`${b}-cover`},P):null;let G;y?G=y(g,C):G=(0,t.default)(Array.from({length:C}).keys()).map((Q,te)=>n.default.createElement("span",{key:Q,className:(0,i.default)(te===g&&`${b}-indicator-active`,`${b}-indicator`)}));const Y=k==="primary"?"default":"primary",J={type:"default",ghost:k==="primary"},[ee]=(0,l.useLocale)("Tour",s.default.Tour);return n.default.createElement("div",{className:`${b}-content`},n.default.createElement("div",{className:`${b}-inner`},B&&j,X,U,K,n.default.createElement("div",{className:`${b}-footer`},C>1&&n.default.createElement("div",{className:`${b}-indicators`},G),n.default.createElement("div",{className:`${b}-buttons`},g!==0?n.default.createElement(a.default,Object.assign({},J,M,{onClick:V,size:"small",className:(0,i.default)(`${b}-prev-btn`,M==null?void 0:M.className)}),(h=M==null?void 0:M.children)!==null&&h!==void 0?h:ee==null?void 0:ee.Previous):null,n.default.createElement(a.default,Object.assign({type:Y},R,{onClick:W,size:"small",className:(0,i.default)(`${b}-next-btn`,R==null?void 0:R.className)}),(d=R==null?void 0:R.children)!==null&&d!==void 0?d:z?ee==null?void 0:ee.Finish:ee==null?void 0:ee.Next)))))};return QO.default=c,QO}var JO={},Am={},pOe;function hUe(){if(pOe)return Am;pOe=1,Object.defineProperty(Am,"__esModule",{value:!0}),Am.prepareComponentToken=Am.default=void 0;var e=Ea,t=Tn(),n=l(lP()),r=Jt(),i=Qy(),o=Xt;function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const s=c=>{const{componentCls:f,lineHeight:h,padding:d,paddingXS:p,borderRadius:g,borderRadiusXS:m,colorPrimary:v,colorText:y,colorFill:b,indicatorHeight:C,indicatorWidth:x,boxShadowTertiary:S,tourZIndexPopup:w,fontSize:O,colorBgElevated:$,fontWeightStrong:P,marginXS:T,colorTextLightSolid:R,tourBorderRadius:M,colorWhite:A,primaryNextBtnHoverBg:N,closeBtnSize:k,motionDurationSlow:D,antCls:L,primaryPrevBtnBg:B}=c;return[{[f]:Object.assign(Object.assign({},(0,t.resetComponent)(c)),{color:y,position:"absolute",zIndex:w,display:"block",visibility:"visible",fontSize:O,lineHeight:h,width:520,"--antd-arrow-background-color":$,"&-pure":{maxWidth:"100%",position:"relative"},[`&${f}-hidden`]:{display:"none"},[`${f}-content`]:{position:"relative"},[`${f}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:M,boxShadow:S,position:"relative",backgroundColor:$,border:"none",backgroundClip:"padding-box",[`${f}-close`]:{position:"absolute",top:d,insetInlineEnd:d,color:c.colorIcon,outline:"none",width:k,height:k,borderRadius:c.borderRadiusSM,transition:`background-color ${c.motionDurationMid}, color ${c.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:c.colorIconHover,backgroundColor:c.closeBtnHoverBg}},[`${f}-cover`]:{textAlign:"center",padding:`${(0,o.unit)(c.calc(d).add(k).add(p).equal())} ${(0,o.unit)(d)} 0`,img:{width:"100%"}},[`${f}-header`]:{padding:`${(0,o.unit)(d)} ${(0,o.unit)(d)} ${(0,o.unit)(p)}`,[`${f}-title`]:{lineHeight:h,fontSize:O,fontWeight:P}},[`${f}-description`]:{padding:`0 ${(0,o.unit)(d)}`,lineHeight:h,wordWrap:"break-word"},[`${f}-footer`]:{padding:`${(0,o.unit)(p)} ${(0,o.unit)(d)} ${(0,o.unit)(d)}`,textAlign:"end",borderRadius:`0 0 ${(0,o.unit)(m)} ${(0,o.unit)(m)}`,display:"flex",[`${f}-indicators`]:{display:"inline-block",[`${f}-indicator`]:{width:x,height:C,display:"inline-block",borderRadius:"50%",background:b,"&:not(:last-child)":{marginInlineEnd:C},"&-active":{background:v}}},[`${f}-buttons`]:{marginInlineStart:"auto",[`${L}-btn`]:{marginInlineStart:T}}}},[`${f}-primary, &${f}-primary`]:{"--antd-arrow-background-color":v,[`${f}-inner`]:{color:R,textAlign:"start",textDecoration:"none",backgroundColor:v,borderRadius:g,boxShadow:S,[`${f}-close`]:{color:R},[`${f}-indicators`]:{[`${f}-indicator`]:{background:B,"&-active":{background:R}}},[`${f}-prev-btn`]:{color:R,borderColor:B,backgroundColor:v,"&:hover":{backgroundColor:B,borderColor:"transparent"}},[`${f}-next-btn`]:{color:v,borderColor:"transparent",background:A,"&:hover":{background:N}}}}}),[`${f}-mask`]:{[`${f}-placeholder-animated`]:{transition:`all ${D}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${f}-inner`]:{borderRadius:c.min(M,n.MAX_VERTICAL_CONTENT_RADIUS)}}},(0,n.default)(c,"var(--antd-arrow-background-color)")]},u=c=>Object.assign(Object.assign({zIndexPopup:c.zIndexPopupBase+70,closeBtnSize:c.fontSize*c.lineHeight,primaryPrevBtnBg:new e.TinyColor(c.colorTextLightSolid).setAlpha(.15).toRgbString(),closeBtnHoverBg:c.wireframe?"transparent":c.colorFillContent,primaryNextBtnHoverBg:new e.TinyColor(c.colorBgTextHover).onBackground(c.colorWhite).toRgbString()},(0,n.getArrowOffsetToken)({contentRadius:c.borderRadiusLG,limitVerticalRadius:!0})),(0,i.getArrowToken)(c));return Am.prepareComponentToken=u,Am.default=(0,r.genStyleHooks)("Tour",c=>{const{borderRadiusLG:f}=c,h=(0,r.mergeToken)(c,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:f});return[s(h)]},u),Am}var hOe;function Aen(){if(hOe)return JO;hOe=1;var e=ze;Object.defineProperty(JO,"__esModule",{value:!0}),JO.default=void 0;var t=e(Tt()),n=u(_),r=Lt(),i=Joe(),o=e(pUe()),a=e(hUe()),l=kd();function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,current:p=0,total:g=6,className:m,style:v,type:y}=h,b=c(h,["prefixCls","current","total","className","style","type"]),{getPrefixCls:C}=n.useContext(r.ConfigContext),x=C("tour",d),[S,w,O]=(0,a.default)(x);return S(n.createElement(i.RawPurePanel,{prefixCls:x,hashId:w,className:(0,t.default)(m,`${x}-pure`,y&&`${x}-${y}`,O),style:v},n.createElement(o.default,{stepProps:Object.assign(Object.assign({},b),{prefixCls:x,total:g}),current:p,type:y})))};return JO.default=(0,l.withPureRenderTheme)(f),JO}var gOe;function ken(){if(gOe)return ZO;gOe=1;var e=ze;Object.defineProperty(ZO,"__esModule",{value:!0}),ZO.default=void 0;var t=d(_),n=e(Nen),r=e(Tt()),i=dl(),o=e(Qoe()),a=e(RC()),l=Lt(),s=Jt(),u=e(pUe()),c=e(Aen()),f=e(hUe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:v,type:y,rootClassName:b,indicatorsRender:C,steps:x}=m,S=p(m,["prefixCls","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:w,direction:O,tour:$}=(0,t.useContext)(l.ConfigContext),P=w("tour",v),[T,R,M]=(0,f.default)(P),[,A]=(0,s.useToken)(),N=t.default.useMemo(()=>x==null?void 0:x.map(z=>{var V;return Object.assign(Object.assign({},z),{className:(0,r.default)(z.className,{[`${P}-primary`]:((V=z.type)!==null&&V!==void 0?V:y)==="primary"})})}),[x,y]),k=z=>{var V;return(0,o.default)({arrowPointAtCenter:(V=z==null?void 0:z.arrowPointAtCenter)!==null&&V!==void 0?V:!0,autoAdjustOverflow:!0,offset:A.marginXXS,arrowWidth:A.sizePopupArrow,borderRadius:A.borderRadius})},D=(0,r.default)({[`${P}-rtl`]:O==="rtl"},R,M,b),L=(z,V)=>t.default.createElement(u.default,{type:y,stepProps:z,current:V,closeIcon:$==null?void 0:$.closeIcon,indicatorsRender:C}),[B,j]=(0,i.useZIndex)("Tour",S.zIndex);return T(t.default.createElement(a.default.Provider,{value:j},t.default.createElement(n.default,Object.assign({},S,{zIndex:B,rootClassName:D,prefixCls:P,animated:!0,renderPanel:L,builtinPlacements:k,steps:N}))))};return g._InternalPanelDoNotUseOrYouWillBeFired=c.default,ZO.default=g,ZO}var e8={},km={},mOe;function Cae(){if(mOe)return km;mOe=1,Object.defineProperty(km,"__esModule",{value:!0}),km.groupKeysMap=km.groupDisabledKeysMap=void 0;const e=n=>{const r=new Map;return n.forEach((i,o)=>{r.set(i,o)}),r};km.groupKeysMap=e;const t=n=>{const r=new Map;return n.forEach((i,o)=>{let{disabled:a,key:l}=i;a&&r.set(l,o)}),r};return km.groupDisabledKeysMap=t,km}var t8={},vOe;function jen(){if(vOe)return t8;vOe=1,Object.defineProperty(t8,"__esModule",{value:!0}),t8.default=void 0;var e=r(_),t=Cae();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=(o,a,l)=>{const s=e.useMemo(()=>(o||[]).map(f=>(a&&(f=Object.assign(Object.assign({},f),{key:a(f)})),f)),[o,a]),[u,c]=e.useMemo(()=>{const f=[],h=new Array((l||[]).length),d=(0,t.groupKeysMap)(l||[]);return s.forEach(p=>{d.has(p.key)?h[d.get(p.key)]=p:f.push(p)}),[f,h]},[s,l,a]);return[s,u,c]};return t8.default=i,t8}var wN={},yOe;function Den(){if(yOe)return wN;yOe=1,Object.defineProperty(wN,"__esModule",{value:!0}),wN.default=a;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=[];function i(l,s){const u=l.filter(c=>s.has(c));return l.length===u.length?l:u}function o(l){return Array.from(l).join(";")}function a(l,s){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;const[c,f]=e.useMemo(()=>[new Set(l.map(m=>m.key)),new Set(s.map(m=>m.key))],[l,s]),[h,d]=e.useState(()=>i(u,c)),[p,g]=e.useState(()=>i(u,f));return e.useEffect(()=>{d(i(u,c)),g(i(u,f))},[u]),e.useEffect(()=>{d(i(h,c)),g(i(p,f))},[o(c),o(f)]),[h,p,d,g]}return wN}var n8={},jm={},r8={},ON={exports:{}},QG={},EN={},bOe;function Len(){if(bOe)return EN;bOe=1,Object.defineProperty(EN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};return EN.default=e,EN}var COe;function zen(){return COe||(COe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Len()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const c=v=>{const{keyCode:y}=v;y===t.default.ENTER&&v.preventDefault()},f=v=>{const{keyCode:y}=v,{onClick:b}=s;y===t.default.ENTER&&b&&b()},{style:h,noStyle:d,disabled:p}=s,g=o(s,["style","noStyle","disabled"]);let m={};return d||(m=Object.assign({},a)),p&&(m.pointerEvents="none"),m=Object.assign(Object.assign({},m),h),n.createElement("div",Object.assign({role:"button",tabIndex:0,ref:u},g,{onKeyDown:c,onKeyUp:f,style:m}))});return i8.default=l,i8}var _Oe;function Ben(){if(_Oe)return r8;_Oe=1;var e=ze;Object.defineProperty(r8,"__esModule",{value:!0}),r8.default=void 0;var t=e(gUe()),n=e(Tt()),r=u(_),i=e(mUe()),o=e(dP()),a=Rl(),l=e(_u());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{const{renderedText:h,renderedEl:d,item:p,checked:g,disabled:m,prefixCls:v,onClick:y,onRemove:b,showRemove:C}=f,x=(0,n.default)(`${v}-content-item`,{[`${v}-content-item-disabled`]:m||p.disabled,[`${v}-content-item-checked`]:g});let S;(typeof h=="string"||typeof h=="number")&&(S=String(h));const[w]=(0,a.useLocale)("Transfer",l.default.Transfer),O={className:x,title:S},$=r.createElement("span",{className:`${v}-content-item-text`},d);return C?r.createElement("li",Object.assign({},O),$,r.createElement(i.default,{disabled:m||p.disabled,className:`${v}-content-item-remove`,"aria-label":w==null?void 0:w.remove,onClick:()=>{b==null||b(p)}},r.createElement(t.default,null))):(O.onClick=m||p.disabled?void 0:P=>y(p,P),r.createElement("li",Object.assign({},O),r.createElement(o.default,{className:`${v}-checkbox`,checked:g,disabled:m||p.disabled}),$))};return r8.default=r.memo(c),r8}var wOe;function Fen(){if(wOe)return jm;wOe=1;var e=ze;Object.defineProperty(jm,"__esModule",{value:!0}),jm.default=jm.OmitProps=void 0;var t=l(_),n=e(Tt()),r=e(ns()),i=e(LF()),o=e(Ben());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}jm.OmitProps=["handleFilter","handleClear","checkedKeys"];const s=c=>Object.assign(Object.assign({},{simple:!0,showSizeChanger:!1,showLessItems:!1}),c),u=(c,f)=>{const{prefixCls:h,filteredRenderItems:d,selectedKeys:p,disabled:g,showRemove:m,pagination:v,onScroll:y,onItemSelect:b,onItemRemove:C}=c,[x,S]=t.useState(1),w=t.useMemo(()=>v?s(typeof v=="object"?v:{}):null,[v]),[O,$]=(0,r.default)(10,{value:w==null?void 0:w.pageSize});t.useEffect(()=>{if(w){const D=Math.ceil(d.length/O);S(Math.min(x,D))}},[d,w,O]);const P=(D,L)=>{b(D.key,!p.includes(D.key),L)},T=D=>{C==null||C([D.key])},R=D=>{S(D)},M=(D,L)=>{S(D),$(L)},A=t.useMemo(()=>w?d.slice((x-1)*O,x*O):d,[x,d,w,O]);t.useImperativeHandle(f,()=>({items:A}));const N=w?t.createElement(i.default,{size:"small",disabled:g,simple:w.simple,pageSize:O,showLessItems:w.showLessItems,showSizeChanger:w.showSizeChanger,className:`${h}-pagination`,total:d.length,current:x,onChange:R,onShowSizeChange:M}):null,k=(0,n.default)(`${h}-content`,{[`${h}-content-show-remove`]:m});return t.createElement(t.Fragment,null,t.createElement("ul",{className:k,onScroll:y},(A||[]).map(D=>{let{renderedEl:L,renderedText:B,item:j}=D;return t.createElement(o.default,{key:j.key,item:j,renderedText:B,renderedEl:L,prefixCls:h,showRemove:m,onClick:P,onRemove:T,checked:p.includes(j.key),disabled:g||j.disabled})})),N)};return jm.default=t.forwardRef(u),jm}var o8={},OOe;function vUe(){if(OOe)return o8;OOe=1;var e=ze;Object.defineProperty(o8,"__esModule",{value:!0}),o8.default=void 0;var t=e(_F()),n=o(_),r=e(NF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{placeholder:s="",value:u,prefixCls:c,disabled:f,onChange:h,handleClear:d}=l,p=n.useCallback(g=>{h==null||h(g),g.target.value===""&&(d==null||d())},[h]);return n.createElement(r.default,{placeholder:s,className:c,value:u,onChange:p,disabled:f,allowClear:!0,prefix:n.createElement(t.default,null)})};return o8.default=a,o8}var EOe;function Hen(){if(EOe)return n8;EOe=1;var e=ze;Object.defineProperty(n8,"__esModule",{value:!0}),n8.default=void 0;var t=h(_),n=e(oP()),r=e(Tt()),i=e(Qr()),o=to(),a=Cae(),l=e(dP()),s=e(AF()),u=h(Fen()),c=e(vUe());function f(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(f=function(x){return x?C:b})(y)}function h(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=f(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}const d=()=>null;function p(y){return!!(y&&!(0,o.isValidElement)(y)&&Object.prototype.toString.call(y)==="[object Object]")}function g(y){return y.filter(b=>!b.disabled).map(b=>b.key)}const m=y=>y!==void 0,v=y=>{const{prefixCls:b,dataSource:C=[],titleText:x="",checkedKeys:S,disabled:w,showSearch:O=!1,style:$,searchPlaceholder:P,notFoundContent:T,selectAll:R,selectCurrent:M,selectInvert:A,removeAll:N,removeCurrent:k,showSelectAll:D=!0,showRemove:L,pagination:B,direction:j,itemsUnit:z,itemUnit:V,selectAllLabel:W,selectionsIcon:U,footer:K,renderList:X,onItemSelectAll:G,onItemRemove:Y,handleFilter:J,handleClear:ee,filterOption:Q,render:te=d}=y,[ne,re]=(0,t.useState)(""),oe=(0,t.useRef)({}),se=me=>{re(me.target.value),J(me)},ye=()=>{re(""),ee()},be=(me,Ee)=>Q?Q(ne,Ee,j):me.includes(ne),he=me=>{let Ee=X?X(Object.assign(Object.assign({},me),{onItemSelect:(Le,Fe)=>me.onItemSelect(Le,Fe)})):null;const $e=!!Ee;return $e||(Ee=t.default.createElement(u.default,Object.assign({ref:oe},me))),{customize:$e,bodyContent:Ee}},le=me=>{const Ee=te(me),$e=p(Ee);return{item:me,renderedEl:$e?Ee.label:Ee,renderedText:$e?Ee.value:Ee}},ve=(0,t.useMemo)(()=>Array.isArray(T)?T[j==="left"?0:1]:T,[T,j]),[ke,Ie]=(0,t.useMemo)(()=>{const me=[],Ee=[];return C.forEach($e=>{const Le=le($e);ne&&!be(Le.renderedText,$e)||(me.push($e),Ee.push(Le))}),[me,Ee]},[C,ne]),Oe=(0,t.useMemo)(()=>{if(S.length===0)return"none";const me=(0,a.groupKeysMap)(S);return ke.every(Ee=>me.has(Ee.key)||!!Ee.disabled)?"all":"part"},[S,ke]),Pe=(0,t.useMemo)(()=>{const me=O?t.default.createElement("div",{className:`${b}-body-search-wrapper`},t.default.createElement(c.default,{prefixCls:`${b}-search`,onChange:se,handleClear:ye,placeholder:P,value:ne,disabled:w})):null,{customize:Ee,bodyContent:$e}=he(Object.assign(Object.assign({},(0,i.default)(y,u.OmitProps)),{filteredItems:ke,filteredRenderItems:Ie,selectedKeys:S}));let Le;return Ee?Le=t.default.createElement("div",{className:`${b}-body-customize-wrapper`},$e):Le=ke.length?$e:t.default.createElement("div",{className:`${b}-body-not-found`},ve),t.default.createElement("div",{className:(0,r.default)(O?`${b}-body ${b}-body-with-search`:`${b}-body`)},me,Le)},[O,b,P,ne,w,S,ke,Ie,ve]),_e=t.default.createElement(l.default,{disabled:C.length===0||w,checked:Oe==="all",indeterminate:Oe==="part",className:`${b}-checkbox`,onChange:()=>{G==null||G(ke.filter(me=>!me.disabled).map(me=>{let{key:Ee}=me;return Ee}),Oe!=="all")}}),ce=(me,Ee)=>{if(W)return typeof W=="function"?W({selectedCount:me,totalCount:Ee}):W;const $e=Ee>1?z:V;return t.default.createElement(t.default.Fragment,null,(me>0?`${me}/`:"")+Ee," ",$e)},Te=K&&(K.length<2?K(y):K(y,{direction:j})),Ne=(0,r.default)(b,{[`${b}-with-pagination`]:!!B,[`${b}-with-footer`]:!!Te}),je=Te?t.default.createElement("div",{className:`${b}-footer`},Te):null,He=!L&&!B&&_e;let Be;L?Be=[B?{key:"removeCurrent",label:k,onClick(){var me;const Ee=g((((me=oe.current)===null||me===void 0?void 0:me.items)||[]).map($e=>$e.item));Y==null||Y(Ee)}}:null,{key:"removeAll",label:N,onClick(){Y==null||Y(g(ke))}}].filter(Boolean):Be=[{key:"selectAll",label:R,onClick(){const me=g(ke);G==null||G(me,me.length!==S.length)}},B?{key:"selectCurrent",label:M,onClick(){var me;const Ee=((me=oe.current)===null||me===void 0?void 0:me.items)||[];G==null||G(g(Ee.map($e=>$e.item)),!0)}}:null,{key:"selectInvert",label:A,onClick(){var me;const Ee=g((((me=oe.current)===null||me===void 0?void 0:me.items)||[]).map(Fe=>Fe.item)),$e=new Set(S),Le=new Set($e);Ee.forEach(Fe=>{$e.has(Fe)?Le.delete(Fe):Le.add(Fe)}),G==null||G(Array.from(Le),"replace")}}];const qe=t.default.createElement(s.default,{className:`${b}-header-dropdown`,menu:{items:Be},disabled:w},m(U)?U:t.default.createElement(n.default,null));return t.default.createElement("div",{className:Ne,style:$},t.default.createElement("div",{className:`${b}-header`},D?t.default.createElement(t.default.Fragment,null,He,qe):null,t.default.createElement("span",{className:`${b}-header-selected`},ce(S.length,ke.length)),t.default.createElement("span",{className:`${b}-header-title`},x)),Pe,je)};return n8.default=v,n8}var a8={},$Oe;function Wen(){if($Oe)return a8;$Oe=1;var e=ze;Object.defineProperty(a8,"__esModule",{value:!0}),a8.default=void 0;var t=e(sP()),n=e(Jy()),r=a(_),i=e(Ac());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{const{disabled:u,moveToLeft:c,moveToRight:f,leftArrowText:h="",rightArrowText:d="",leftActive:p,rightActive:g,className:m,style:v,direction:y,oneWay:b}=s;return r.createElement("div",{className:m,style:v},r.createElement(i.default,{type:"primary",size:"small",disabled:u||!g,onClick:f,icon:y!=="rtl"?r.createElement(n.default,null):r.createElement(t.default,null)},d),!b&&r.createElement(i.default,{type:"primary",size:"small",disabled:u||!p,onClick:c,icon:y!=="rtl"?r.createElement(t.default,null):r.createElement(n.default,null)},h))};return a8.default=l,a8}var Dm={},POe;function qen(){if(POe)return Dm;POe=1,Object.defineProperty(Dm,"__esModule",{value:!0}),Dm.prepareComponentToken=Dm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=c=>{const{antCls:f,componentCls:h,listHeight:d,controlHeightLG:p}=c,g=`${f}-table`,m=`${f}-input`;return{[`${h}-customize-list`]:{[`${h}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:d},[`${g}-wrapper`]:{[`${g}-small`]:{border:0,borderRadius:0,[`${g}-selection-column`]:{width:p,minWidth:p}},[`${g}-pagination${g}-pagination`]:{margin:0,padding:c.paddingXS}},[`${m}[disabled]`]:{backgroundColor:"transparent"}}}},i=(c,f)=>{const{componentCls:h,colorBorder:d}=c;return{[`${h}-list`]:{borderColor:f,"&-search:not([disabled])":{borderColor:d}}}},o=c=>{const{componentCls:f}=c;return{[`${f}-status-error`]:Object.assign({},i(c,c.colorError)),[`${f}-status-warning`]:Object.assign({},i(c,c.colorWarning))}},a=c=>{const{componentCls:f,colorBorder:h,colorSplit:d,lineWidth:p,itemHeight:g,headerHeight:m,transferHeaderVerticalPadding:v,itemPaddingBlock:y,controlItemBgActive:b,colorTextDisabled:C,listHeight:x,listWidth:S,listWidthLG:w,fontSizeIcon:O,marginXS:$,paddingSM:P,lineType:T,antCls:R,iconCls:M,motionDurationSlow:A,controlItemBgHover:N,borderRadiusLG:k,colorBgContainer:D,colorText:L,controlItemBgActiveHover:B}=c;return{display:"flex",flexDirection:"column",width:S,height:x,border:`${(0,e.unit)(p)} ${T} ${h}`,borderRadius:c.borderRadiusLG,"&-with-pagination":{width:w,height:"auto"},"&-search":{[`${M}-search`]:{color:C}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:m,padding:`${(0,e.unit)(c.calc(v).sub(p).equal())} ${(0,e.unit)(P)} ${(0,e.unit)(v)}`,color:L,background:D,borderBottom:`${(0,e.unit)(p)} ${T} ${d}`,borderRadius:`${(0,e.unit)(k)} ${(0,e.unit)(k)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":Object.assign(Object.assign({},t.textEllipsis),{flex:"auto",textAlign:"end"}),"&-dropdown":Object.assign(Object.assign({},(0,t.resetIcon)()),{fontSize:O,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:c.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:P}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:g,padding:`${(0,e.unit)(y)} ${(0,e.unit)(P)}`,transition:`all ${A}`,"> *:not(:last-child)":{marginInlineEnd:$},"> *":{flex:"none"},"&-text":Object.assign(Object.assign({},t.textEllipsis),{flex:"auto"}),"&-remove":{position:"relative",color:h,cursor:"pointer",transition:`all ${A}`,"&:hover":{color:c.colorLinkHover},"&::after":{position:"absolute",inset:`-${(0,e.unit)(y)} -50%`,content:'""'}},[`&:not(${f}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:N,cursor:"pointer"},[`&${f}-list-content-item-checked:hover`]:{backgroundColor:B}},"&-checked":{backgroundColor:b},"&-disabled":{color:C,cursor:"not-allowed"}},[`&-show-remove ${f}-list-content-item:not(${f}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:c.paddingXS,textAlign:"end",borderTop:`${(0,e.unit)(p)} ${T} ${d}`,[`${R}-pagination-options`]:{paddingInlineEnd:c.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:C,textAlign:"center"},"&-footer":{borderTop:`${(0,e.unit)(p)} ${T} ${d}`},"&-checkbox":{lineHeight:1}}},l=c=>{const{antCls:f,iconCls:h,componentCls:d,marginXS:p,marginXXS:g,fontSizeIcon:m,colorBgContainerDisabled:v}=c;return{[d]:Object.assign(Object.assign({},(0,t.resetComponent)(c)),{position:"relative",display:"flex",alignItems:"stretch",[`${d}-disabled`]:{[`${d}-list`]:{background:v}},[`${d}-list`]:a(c),[`${d}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${(0,e.unit)(p)}`,verticalAlign:"middle",[`${f}-btn`]:{display:"block","&:first-child":{marginBottom:g},[h]:{fontSize:m}}}})}},s=c=>{const{componentCls:f}=c;return{[`${f}-rtl`]:{direction:"rtl"}}},u=c=>{const{fontSize:f,lineHeight:h,controlHeight:d,controlHeightLG:p,lineWidth:g}=c,m=Math.round(f*h);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:p,itemHeight:d,itemPaddingBlock:(d-m)/2,transferHeaderVerticalPadding:Math.ceil((p-g-m)/2)}};return Dm.prepareComponentToken=u,Dm.default=(0,n.genStyleHooks)("Transfer",c=>{const f=(0,n.mergeToken)(c);return[l(f),r(f),o(f),s(f)]},u),Dm}var TOe;function Ven(){if(TOe)return e8;TOe=1;var e=ze;Object.defineProperty(e8,"__esModule",{value:!0}),e8.default=void 0;var t=e(qr()),n=b(_),r=e(Tt()),i=e(iUe()),o=jd(),a=Cae();_n();var l=Lt(),s=e(k0()),u=fi(),c=Rl(),f=e(_u()),h=e(jen()),d=e(Den()),p=e(Hen()),g=e(Wen()),m=e(vUe()),v=e(qen());function y(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(y=function(O){return O?w:S})(x)}function b(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=y(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}const C=x=>{const{dataSource:S,targetKeys:w=[],selectedKeys:O,selectAllLabels:$=[],operations:P=[],style:T={},listStyle:R={},locale:M={},titles:A,disabled:N,showSearch:k=!1,operationStyle:D,showSelectAll:L,oneWay:B,pagination:j,status:z,prefixCls:V,className:W,rootClassName:U,selectionsIcon:K,filterOption:X,render:G,footer:Y,children:J,rowKey:ee,onScroll:Q,onChange:te,onSearch:ne,onSelectChange:re}=x,{getPrefixCls:oe,renderEmpty:se,direction:ye,transfer:be}=(0,n.useContext)(l.ConfigContext),he=oe("transfer",V),[le,ve,ke]=(0,v.default)(he),[Ie,Oe,Pe]=(0,h.default)(S,ee,w),[_e,ce,Te,Ne]=(0,d.default)(Oe,Pe,O),[je,He]=(0,i.default)(Pt=>Pt.key),[Be,qe]=(0,i.default)(Pt=>Pt.key),me=(0,n.useCallback)((Pt,ct)=>{if(Pt==="left"){const Wt=typeof ct=="function"?ct(_e||[]):ct;Te(Wt)}else{const Wt=typeof ct=="function"?ct(ce||[]):ct;Ne(Wt)}},[_e,ce]),Ee=(Pt,ct)=>{(Pt==="left"?He:qe)(ct)},$e=(0,n.useCallback)((Pt,ct)=>{Pt==="left"?re==null||re(ct,ce):re==null||re(_e,ct)},[_e,ce]),Le=Pt=>{var ct;return(ct=A??Pt.titles)!==null&&ct!==void 0?ct:[]},Fe=Pt=>{Q==null||Q("left",Pt)},Ke=Pt=>{Q==null||Q("right",Pt)},lt=Pt=>{const ct=Pt==="right"?_e:ce,Wt=(0,a.groupDisabledKeysMap)(Ie),wn=ct.filter(Nn=>!Wt.has(Nn)),kt=(0,a.groupKeysMap)(wn),gt=Pt==="right"?wn.concat(w):w.filter(Nn=>!kt.has(Nn)),Bt=Pt==="right"?"left":"right";me(Bt,[]),$e(Bt,[]),te==null||te(gt,Pt,wn)},ft=()=>{lt("left"),Ee("left",null)},Ye=()=>{lt("right"),Ee("right",null)},we=(Pt,ct,Wt)=>{me(Pt,wn=>{let kt=[];if(Wt==="replace")kt=ct;else if(Wt)kt=Array.from(new Set([].concat((0,t.default)(wn),(0,t.default)(ct))));else{const gt=(0,a.groupKeysMap)(ct);kt=wn.filter(Bt=>!gt.has(Bt))}return $e(Pt,kt),kt}),Ee(Pt,null)},De=(Pt,ct)=>{we("left",Pt,ct)},We=(Pt,ct)=>{we("right",Pt,ct)},Ge=Pt=>ne==null?void 0:ne("left",Pt.target.value),Je=Pt=>ne==null?void 0:ne("right",Pt.target.value),bt=()=>ne==null?void 0:ne("left",""),at=()=>ne==null?void 0:ne("right",""),et=(Pt,ct,Wt,wn,kt)=>{ct.has(Wt)&&(ct.delete(Wt),Ee(Pt,null)),wn&&(ct.add(Wt),Ee(Pt,kt))},rt=(Pt,ct,Wt,wn)=>{(Pt==="left"?je:Be)(wn,ct,Wt)},Ze=(Pt,ct,Wt,wn)=>{const kt=Pt==="left",gt=(0,t.default)(kt?_e:ce),Bt=new Set(gt),Nn=(0,t.default)(kt?Oe:Pe).filter(ei=>!ei.disabled),Or=Nn.findIndex(ei=>ei.key===ct);wn&>.length>0?rt(Pt,Nn,Bt,Or):et(Pt,Bt,ct,Wt,Or);const Ar=Array.from(Bt);$e(Pt,Ar),x.selectedKeys||me(Pt,Ar)},wt=(Pt,ct,Wt)=>{Ze("left",Pt,ct,Wt==null?void 0:Wt.shiftKey)},ut=(Pt,ct,Wt)=>{Ze("right",Pt,ct,Wt==null?void 0:Wt.shiftKey)},ot=Pt=>{me("right",[]),te==null||te(w.filter(ct=>!Pt.includes(ct)),"left",(0,t.default)(Pt))},dt=Pt=>typeof R=="function"?R({direction:Pt}):R||{},_t=(0,n.useContext)(u.FormItemInputContext),{hasFeedback:Ot,status:Ct}=_t,mt=Pt=>Object.assign(Object.assign(Object.assign({},Pt),{notFoundContent:(se==null?void 0:se("Transfer"))||n.default.createElement(s.default,{componentName:"Transfer"})}),M),It=(0,o.getMergedStatus)(Ct,z),nt=!J&&j,yt=ce.length>0,xt=_e.length>0,At=(0,r.default)(he,{[`${he}-disabled`]:N,[`${he}-customize-list`]:!!J,[`${he}-rtl`]:ye==="rtl"},(0,o.getStatusClassNames)(he,It,Ot),be==null?void 0:be.className,W,U,ve,ke),[cn]=(0,c.useLocale)("Transfer",f.default.Transfer),Ht=mt(cn),[$t,zt]=Le(Ht),Qt=K??(be==null?void 0:be.selectionsIcon);return le(n.default.createElement("div",{className:At,style:Object.assign(Object.assign({},be==null?void 0:be.style),T)},n.default.createElement(p.default,Object.assign({prefixCls:`${he}-list`,titleText:$t,dataSource:Oe,filterOption:X,style:dt("left"),checkedKeys:_e,handleFilter:Ge,handleClear:bt,onItemSelect:wt,onItemSelectAll:De,render:G,showSearch:k,renderList:J,footer:Y,onScroll:Fe,disabled:N,direction:ye==="rtl"?"right":"left",showSelectAll:L,selectAllLabel:$[0],pagination:nt,selectionsIcon:Qt},Ht)),n.default.createElement(g.default,{className:`${he}-operation`,rightActive:xt,rightArrowText:P[0],moveToRight:Ye,leftActive:yt,leftArrowText:P[1],moveToLeft:ft,style:D,disabled:N,direction:ye,oneWay:B}),n.default.createElement(p.default,Object.assign({prefixCls:`${he}-list`,titleText:zt,dataSource:Pe,filterOption:X,style:dt("right"),checkedKeys:ce,handleFilter:Je,handleClear:at,onItemSelect:ut,onItemSelectAll:We,onItemRemove:ot,render:G,showSearch:k,renderList:J,footer:Y,onScroll:Ke,disabled:N,direction:ye==="rtl"?"left":"right",showSelectAll:L,selectAllLabel:$[1],showRemove:B,pagination:nt,selectionsIcon:Qt},Ht))))};return C.List=p.default,C.Search=m.default,C.Operation=g.default,e8.default=C,e8}var JG={};const Uen=cr(gNt);var h2={},MOe;function Gen(){if(MOe)return h2;MOe=1,Object.defineProperty(h2,"__esModule",{value:!0}),h2.default=o,h2.prepareComponentToken=void 0;var e=Xt,t=uP(),n=Jt(),r=sUe();const i=a=>{const{componentCls:l,treePrefixCls:s,colorBgElevated:u}=a,c=`.${s}`;return[{[`${l}-dropdown`]:[{padding:`${(0,e.unit)(a.paddingXS)} ${(0,e.unit)(a.calc(a.paddingXS).div(2).equal())}`},(0,r.genTreeStyle)(s,(0,n.mergeToken)(a,{colorBgContainer:u})),{[c]:{borderRadius:0,[`${c}-list-holder-inner`]:{alignItems:"stretch",[`${c}-treenode`]:{[`${c}-node-content-wrapper`]:{flex:"auto"}}}}},(0,t.getStyle)(`${s}-checkbox`,a),{"&-rtl":{direction:"rtl",[`${c}-switcher${c}-switcher_close`]:{[`${c}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};h2.prepareComponentToken=r.initComponentToken;function o(a,l,s){return(0,n.genStyleHooks)("TreeSelect",u=>{const c=(0,n.mergeToken)(u,{treePrefixCls:l});return[i(c)]},r.initComponentToken)(a,s)}return h2}var ROe;function Ken(){return ROe||(ROe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TreeNode",{enumerable:!0,get:function(){return i.TreeNode}}),e.default=void 0;var n=$(_),r=t(Tt()),i=$(Uen),o=t(Qr()),a=dl(),l=Il(),s=t(kd()),u=jd();_n();var c=Lt(),f=t(k0()),h=t($a()),d=t(zr()),p=t(no()),g=fi(),m=t(Dh()),v=t(Goe()),y=t(Koe()),b=t(wF()),C=t(Xoe()),x=ts(),S=t(cUe()),w=t(Gen());function O(N){if(typeof WeakMap!="function")return null;var k=new WeakMap,D=new WeakMap;return(O=function(L){return L?D:k})(N)}function $(N,k){if(!k&&N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var D=O(k);if(D&&D.has(N))return D.get(N);var L={__proto__:null},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in N)if(j!=="default"&&Object.prototype.hasOwnProperty.call(N,j)){var z=B?Object.getOwnPropertyDescriptor(N,j):null;z&&(z.get||z.set)?Object.defineProperty(L,j,z):L[j]=N[j]}return L.default=N,D&&D.set(N,L),L}var P=function(N,k){var D={};for(var L in N)Object.prototype.hasOwnProperty.call(N,L)&&k.indexOf(L)<0&&(D[L]=N[L]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,L=Object.getOwnPropertySymbols(N);B{var D,{prefixCls:L,size:B,disabled:j,bordered:z=!0,className:V,rootClassName:W,treeCheckable:U,multiple:K,listHeight:X=256,listItemHeight:G=26,placement:Y,notFoundContent:J,switcherIcon:ee,treeLine:Q,getPopupContainer:te,popupClassName:ne,dropdownClassName:re,treeIcon:oe=!1,transitionName:se,choiceTransitionName:ye="",status:be,treeExpandAction:he,builtinPlacements:le,dropdownMatchSelectWidth:ve,popupMatchSelectWidth:ke,allowClear:Ie,variant:Oe,dropdownStyle:Pe,tagRender:_e}=N,ce=P(N,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:Te,getPrefixCls:Ne,renderEmpty:je,direction:He,virtual:Be,popupMatchSelectWidth:qe,popupOverflow:me}=n.useContext(c.ConfigContext),Ee=Ne(),$e=Ne("select",L),Le=Ne("select-tree",L),Fe=Ne("tree-select",L),{compactSize:Ke,compactItemClassnames:lt}=(0,x.useCompactItemContext)($e,He),ft=(0,d.default)($e),Ye=(0,d.default)(Fe),[we,De,We]=(0,y.default)($e,ft),[Ge]=(0,w.default)(Fe,Le,Ye),[Je,bt]=(0,m.default)(Oe,z),at=(0,r.default)(ne||re,`${Fe}-dropdown`,{[`${Fe}-dropdown-rtl`]:He==="rtl"},W,We,ft,Ye,De),et=!!(U||K),rt=(0,C.default)(ce.suffixIcon,ce.showArrow),Ze=(D=ke??ve)!==null&&D!==void 0?D:qe,{status:wt,hasFeedback:ut,isFormItemInput:ot,feedbackIcon:dt}=n.useContext(g.FormItemInputContext),_t=(0,u.getMergedStatus)(wt,be),{suffixIcon:Ot,removeIcon:Ct,clearIcon:mt}=(0,b.default)(Object.assign(Object.assign({},ce),{multiple:et,showSuffixIcon:rt,hasFeedback:ut,feedbackIcon:dt,prefixCls:$e,componentName:"TreeSelect"})),It=Ie===!0?{clearIcon:mt}:Ie;let nt;J!==void 0?nt=J:nt=(je==null?void 0:je("Select"))||n.createElement(f.default,{componentName:"Select"});const yt=(0,o.default)(ce,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),xt=n.useMemo(()=>Y!==void 0?Y:He==="rtl"?"bottomRight":"bottomLeft",[Y,He]),At=(0,p.default)(ct=>{var Wt;return(Wt=B??Ke)!==null&&Wt!==void 0?Wt:ct}),cn=n.useContext(h.default),Ht=j??cn,$t=(0,r.default)(!L&&Fe,{[`${$e}-lg`]:At==="large",[`${$e}-sm`]:At==="small",[`${$e}-rtl`]:He==="rtl",[`${$e}-${Je}`]:bt,[`${$e}-in-form-item`]:ot},(0,u.getStatusClassNames)($e,_t,ut),lt,V,W,We,ft,Ye,De),zt=ct=>n.createElement(S.default,{prefixCls:Le,switcherIcon:ee,treeNodeProps:ct,showLine:Q}),[Qt]=(0,a.useZIndex)("SelectLike",Pe==null?void 0:Pe.zIndex),Pt=n.createElement(i.default,Object.assign({virtual:Be,disabled:Ht},yt,{dropdownMatchSelectWidth:Ze,builtinPlacements:(0,v.default)(le,me),ref:k,prefixCls:$e,className:$t,listHeight:X,listItemHeight:G,treeCheckable:U&&n.createElement("span",{className:`${$e}-tree-checkbox-inner`}),treeLine:!!Q,suffixIcon:Ot,multiple:et,placement:xt,removeIcon:Ct,allowClear:It,switcherIcon:zt,showTreeIcon:oe,notFoundContent:nt,getPopupContainer:te||Te,treeMotion:null,dropdownClassName:at,dropdownStyle:Object.assign(Object.assign({},Pe),{zIndex:Qt}),choiceTransitionName:(0,l.getTransitionName)(Ee,"",ye),transitionName:(0,l.getTransitionName)(Ee,"slide-up",se),treeExpandAction:he,tagRender:et?_e:void 0}));return we(Ge(Pt))},M=n.forwardRef(T),A=(0,s.default)(M);M.TreeNode=i.TreeNode,M.SHOW_ALL=i.SHOW_ALL,M.SHOW_PARENT=i.SHOW_PARENT,M.SHOW_CHILD=i.SHOW_CHILD,M._InternalPanelDoNotUseOrYouWillBeFired=A,e.default=M}(JG)),JG}var l8={},s8={},c8={},$N={exports:{}},eK={},PN={},IOe;function Xen(){if(IOe)return PN;IOe=1,Object.defineProperty(PN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};return PN.default=e,PN}var NOe;function Yen(){return NOe||(NOe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Xen()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{titleMarginBottom:p,fontWeightStrong:g}=d;return{marginBottom:p,color:h,fontWeight:g,fontSize:c,lineHeight:f}},i=c=>{const f=[1,2,3,4,5],h={};return f.forEach(d=>{h[` + ${a}-item-tail`]:{display:"none"},[`&${a}-reverse ${a}-item-pending`]:{[`${a}-item-tail`]:{insetBlockStart:o.margin,display:"block",height:`calc(100% - ${(0,e.unit)(o.margin)})`,borderInlineStart:`${(0,e.unit)(o.tailWidth)} dotted ${o.tailColor}`},[`${a}-item-content`]:{minHeight:l(o.controlHeightLG).mul(1.2).equal()}},[`&${a}-label`]:{[`${a}-item-label`]:{position:"absolute",insetBlockStart:l(l(o.fontSize).mul(o.lineHeight).sub(o.fontSize)).mul(-1).add(o.tailWidth).equal(),width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,textAlign:"end"},[`${a}-item-right`]:{[`${a}-item-label`]:{insetInlineStart:`calc(50% + ${(0,e.unit)(o.marginSM)})`,width:`calc(50% - ${(0,e.unit)(o.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${a}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},i=o=>({tailColor:o.colorSplit,tailWidth:o.lineWidthBold,dotBorderWidth:o.wireframe?o.lineWidthBold:o.lineWidth*3,dotBg:o.colorBgContainer,itemPaddingBottom:o.padding*1.25});return Nm.prepareComponentToken=i,Nm.default=(0,n.genStyleHooks)("Timeline",o=>{const a=(0,n.mergeToken)(o,{itemHeadSize:10,customHeadPaddingVertical:o.paddingXXS,paddingInlineEnd:2});return[r(a)]},i),Nm}var XO={},sOe;function fUe(){if(sOe)return XO;sOe=1;var e=ze;Object.defineProperty(XO,"__esModule",{value:!0}),XO.default=void 0;var t=e(Tt()),n=o(_),r=Lt();function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{prefixCls:u,className:c,color:f="blue",dot:h,pending:d=!1,position:p,label:g,children:m}=s,v=a(s,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:y}=n.useContext(r.ConfigContext),b=y("timeline",u),C=(0,t.default)(`${b}-item`,{[`${b}-item-pending`]:d},c),x=/blue|red|green|gray/.test(f||"")?void 0:f,S=(0,t.default)(`${b}-item-head`,{[`${b}-item-head-custom`]:!!h,[`${b}-item-head-${f}`]:!x});return n.createElement("li",Object.assign({},v,{className:C}),g&&n.createElement("div",{className:`${b}-item-label`},g),n.createElement("div",{className:`${b}-item-tail`}),n.createElement("div",{className:S,style:{borderColor:x,color:x}},h),n.createElement("div",{className:`${b}-item-content`},m))};return XO.default=l,XO}var YO={},cOe;function $en(){if(cOe)return YO;cOe=1;var e=ze;Object.defineProperty(YO,"__esModule",{value:!0}),YO.default=void 0;var t=e(qr()),n=e(Tt()),r=l(_),i=e(Vf()),o=e(fUe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{var{prefixCls:f,className:h,pending:d=!1,children:p,items:g,rootClassName:m,reverse:v=!1,direction:y,hashId:b,pendingDot:C,mode:x=""}=c,S=s(c,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const w=(N,j)=>x==="alternate"?N==="right"?`${f}-item-right`:N==="left"?`${f}-item-left`:j%2===0?`${f}-item-left`:`${f}-item-right`:x==="left"?`${f}-item-left`:x==="right"?`${f}-item-right`:N==="right"?`${f}-item-right`:"",O=(0,t.default)(g||[]),$=typeof d=="boolean"?null:d;d&&O.push({pending:!!d,dot:C||r.createElement(i.default,null),children:$}),v&&O.reverse();const P=O.length,T=`${f}-item-last`,R=O.filter(N=>!!N).map((N,j)=>{var D;const L=j===P-2?T:"",B=j===P-1?T:"",{className:k}=N,z=s(N,["className"]);return r.createElement(o.default,Object.assign({},z,{className:(0,n.default)([k,!v&&d?L:B,w((D=N==null?void 0:N.position)!==null&&D!==void 0?D:"",j)]),key:(N==null?void 0:N.key)||j}))}),M=O.some(N=>!!(N!=null&&N.label)),A=(0,n.default)(f,{[`${f}-pending`]:!!d,[`${f}-reverse`]:!!v,[`${f}-${x}`]:!!x&&!M,[`${f}-label`]:M,[`${f}-rtl`]:y==="rtl"},h,m,b);return r.createElement("ul",Object.assign({},S,{className:A}),R)};return YO.default=u,YO}var ZO={},uOe;function Pen(){if(uOe)return ZO;uOe=1;var e=ze;Object.defineProperty(ZO,"__esModule",{value:!0}),ZO.default=void 0;var t=e(fl());function n(r,i){return r&&Array.isArray(r)?r:(0,t.default)(i).map(o=>{var a,l;return Object.assign({children:(l=(a=o==null?void 0:o.props)===null||a===void 0?void 0:a.children)!==null&&l!==void 0?l:""},o.props)})}return ZO.default=n,ZO}var dOe;function Ten(){if(dOe)return KO;dOe=1;var e=ze;Object.defineProperty(KO,"__esModule",{value:!0}),KO.default=void 0;var t=c(_),n=e(Tt());_n();var r=Lt(),i=e(Een()),o=e(zr()),a=e(fUe()),l=e($en()),s=e(Pen());function u(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(u=function(m){return m?g:p})(d)}function c(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=u(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}var f=function(d,p){var g={};for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&p.indexOf(m)<0&&(g[m]=d[m]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,m=Object.getOwnPropertySymbols(d);v{const{getPrefixCls:p,direction:g,timeline:m}=t.useContext(r.ConfigContext),{prefixCls:v,children:y,items:b,className:C,style:x}=d,S=f(d,["prefixCls","children","items","className","style"]),w=p("timeline",v),O=(0,o.default)(w),[$,P,T]=(0,i.default)(w,O),R=(0,s.default)(b,y);return $(t.createElement(l.default,Object.assign({},S,{className:(0,n.default)(m==null?void 0:m.className,C,T,O),style:Object.assign(Object.assign({},m==null?void 0:m.style),x),prefixCls:w,direction:g,items:R,hashId:P})))};return h.Item=a.default,KO.default=h,KO}var fOe;function Men(){if(fOe)return GO;fOe=1;var e=ze;Object.defineProperty(GO,"__esModule",{value:!0}),GO.default=void 0;var t=e(Ten());return GO.default=t.default,GO}var QO={};const Ren=gr(GIt);var JO={},pOe;function pUe(){if(pOe)return JO;pOe=1;var e=ze;Object.defineProperty(JO,"__esModule",{value:!0}),JO.default=void 0;var t=e(qr()),n=e(_),r=e(zs()),i=e(Tt()),o=e(SF()),a=e(Ac()),l=Rl(),s=e(_u());function u(f){return f!=null}const c=f=>{var h,d;const{stepProps:p,current:g,type:m,closeIcon:v,indicatorsRender:y}=f,{prefixCls:b,total:C=1,title:x,onClose:S,onPrev:w,onNext:O,onFinish:$,cover:P,description:T,nextButtonProps:R,prevButtonProps:M,type:A,closeIcon:N}=p,j=A??m,D=N??v,L=D!==!1&&D!==null,[B,k]=(0,o.default)(L,D,Q=>n.default.createElement("span",{onClick:S,"aria-label":"Close",className:`${b}-close`},Q),n.default.createElement(r.default,{className:`${b}-close-icon`}),!0),z=g===C-1,q=()=>{var Q;w==null||w(),(Q=M==null?void 0:M.onClick)===null||Q===void 0||Q.call(M)},W=()=>{var Q;z?$==null||$():O==null||O(),(Q=R==null?void 0:R.onClick)===null||Q===void 0||Q.call(R)},U=u(x)?n.default.createElement("div",{className:`${b}-header`},n.default.createElement("div",{className:`${b}-title`},x)):null,K=u(T)?n.default.createElement("div",{className:`${b}-description`},T):null,X=u(P)?n.default.createElement("div",{className:`${b}-cover`},P):null;let G;y?G=y(g,C):G=(0,t.default)(Array.from({length:C}).keys()).map((Q,te)=>n.default.createElement("span",{key:Q,className:(0,i.default)(te===g&&`${b}-indicator-active`,`${b}-indicator`)}));const Y=j==="primary"?"default":"primary",J={type:"default",ghost:j==="primary"},[ee]=(0,l.useLocale)("Tour",s.default.Tour);return n.default.createElement("div",{className:`${b}-content`},n.default.createElement("div",{className:`${b}-inner`},B&&k,X,U,K,n.default.createElement("div",{className:`${b}-footer`},C>1&&n.default.createElement("div",{className:`${b}-indicators`},G),n.default.createElement("div",{className:`${b}-buttons`},g!==0?n.default.createElement(a.default,Object.assign({},J,M,{onClick:q,size:"small",className:(0,i.default)(`${b}-prev-btn`,M==null?void 0:M.className)}),(h=M==null?void 0:M.children)!==null&&h!==void 0?h:ee==null?void 0:ee.Previous):null,n.default.createElement(a.default,Object.assign({type:Y},R,{onClick:W,size:"small",className:(0,i.default)(`${b}-next-btn`,R==null?void 0:R.className)}),(d=R==null?void 0:R.children)!==null&&d!==void 0?d:z?ee==null?void 0:ee.Finish:ee==null?void 0:ee.Next)))))};return JO.default=c,JO}var e8={},Am={},hOe;function hUe(){if(hOe)return Am;hOe=1,Object.defineProperty(Am,"__esModule",{value:!0}),Am.prepareComponentToken=Am.default=void 0;var e=Ea,t=Tn(),n=l(sP()),r=Jt(),i=Qy(),o=Xt;function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}const s=c=>{const{componentCls:f,lineHeight:h,padding:d,paddingXS:p,borderRadius:g,borderRadiusXS:m,colorPrimary:v,colorText:y,colorFill:b,indicatorHeight:C,indicatorWidth:x,boxShadowTertiary:S,tourZIndexPopup:w,fontSize:O,colorBgElevated:$,fontWeightStrong:P,marginXS:T,colorTextLightSolid:R,tourBorderRadius:M,colorWhite:A,primaryNextBtnHoverBg:N,closeBtnSize:j,motionDurationSlow:D,antCls:L,primaryPrevBtnBg:B}=c;return[{[f]:Object.assign(Object.assign({},(0,t.resetComponent)(c)),{color:y,position:"absolute",zIndex:w,display:"block",visibility:"visible",fontSize:O,lineHeight:h,width:520,"--antd-arrow-background-color":$,"&-pure":{maxWidth:"100%",position:"relative"},[`&${f}-hidden`]:{display:"none"},[`${f}-content`]:{position:"relative"},[`${f}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:M,boxShadow:S,position:"relative",backgroundColor:$,border:"none",backgroundClip:"padding-box",[`${f}-close`]:{position:"absolute",top:d,insetInlineEnd:d,color:c.colorIcon,outline:"none",width:j,height:j,borderRadius:c.borderRadiusSM,transition:`background-color ${c.motionDurationMid}, color ${c.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:c.colorIconHover,backgroundColor:c.closeBtnHoverBg}},[`${f}-cover`]:{textAlign:"center",padding:`${(0,o.unit)(c.calc(d).add(j).add(p).equal())} ${(0,o.unit)(d)} 0`,img:{width:"100%"}},[`${f}-header`]:{padding:`${(0,o.unit)(d)} ${(0,o.unit)(d)} ${(0,o.unit)(p)}`,[`${f}-title`]:{lineHeight:h,fontSize:O,fontWeight:P}},[`${f}-description`]:{padding:`0 ${(0,o.unit)(d)}`,lineHeight:h,wordWrap:"break-word"},[`${f}-footer`]:{padding:`${(0,o.unit)(p)} ${(0,o.unit)(d)} ${(0,o.unit)(d)}`,textAlign:"end",borderRadius:`0 0 ${(0,o.unit)(m)} ${(0,o.unit)(m)}`,display:"flex",[`${f}-indicators`]:{display:"inline-block",[`${f}-indicator`]:{width:x,height:C,display:"inline-block",borderRadius:"50%",background:b,"&:not(:last-child)":{marginInlineEnd:C},"&-active":{background:v}}},[`${f}-buttons`]:{marginInlineStart:"auto",[`${L}-btn`]:{marginInlineStart:T}}}},[`${f}-primary, &${f}-primary`]:{"--antd-arrow-background-color":v,[`${f}-inner`]:{color:R,textAlign:"start",textDecoration:"none",backgroundColor:v,borderRadius:g,boxShadow:S,[`${f}-close`]:{color:R},[`${f}-indicators`]:{[`${f}-indicator`]:{background:B,"&-active":{background:R}}},[`${f}-prev-btn`]:{color:R,borderColor:B,backgroundColor:v,"&:hover":{backgroundColor:B,borderColor:"transparent"}},[`${f}-next-btn`]:{color:v,borderColor:"transparent",background:A,"&:hover":{background:N}}}}}),[`${f}-mask`]:{[`${f}-placeholder-animated`]:{transition:`all ${D}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${f}-inner`]:{borderRadius:c.min(M,n.MAX_VERTICAL_CONTENT_RADIUS)}}},(0,n.default)(c,"var(--antd-arrow-background-color)")]},u=c=>Object.assign(Object.assign({zIndexPopup:c.zIndexPopupBase+70,closeBtnSize:c.fontSize*c.lineHeight,primaryPrevBtnBg:new e.TinyColor(c.colorTextLightSolid).setAlpha(.15).toRgbString(),closeBtnHoverBg:c.wireframe?"transparent":c.colorFillContent,primaryNextBtnHoverBg:new e.TinyColor(c.colorBgTextHover).onBackground(c.colorWhite).toRgbString()},(0,n.getArrowOffsetToken)({contentRadius:c.borderRadiusLG,limitVerticalRadius:!0})),(0,i.getArrowToken)(c));return Am.prepareComponentToken=u,Am.default=(0,r.genStyleHooks)("Tour",c=>{const{borderRadiusLG:f}=c,h=(0,r.mergeToken)(c,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:f});return[s(h)]},u),Am}var gOe;function Ien(){if(gOe)return e8;gOe=1;var e=ze;Object.defineProperty(e8,"__esModule",{value:!0}),e8.default=void 0;var t=e(Tt()),n=u(_),r=Lt(),i=eae(),o=e(pUe()),a=e(hUe()),l=kd();function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,p=new WeakMap;return(s=function(g){return g?p:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var p=s(d);if(p&&p.has(h))return p.get(h);var g={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var y=m?Object.getOwnPropertyDescriptor(h,v):null;y&&(y.get||y.set)?Object.defineProperty(g,v,y):g[v]=h[v]}return g.default=h,p&&p.set(h,g),g}var c=function(h,d){var p={};for(var g in h)Object.prototype.hasOwnProperty.call(h,g)&&d.indexOf(g)<0&&(p[g]=h[g]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(h);m{const{prefixCls:d,current:p=0,total:g=6,className:m,style:v,type:y}=h,b=c(h,["prefixCls","current","total","className","style","type"]),{getPrefixCls:C}=n.useContext(r.ConfigContext),x=C("tour",d),[S,w,O]=(0,a.default)(x);return S(n.createElement(i.RawPurePanel,{prefixCls:x,hashId:w,className:(0,t.default)(m,`${x}-pure`,y&&`${x}-${y}`,O),style:v},n.createElement(o.default,{stepProps:Object.assign(Object.assign({},b),{prefixCls:x,total:g}),current:p,type:y})))};return e8.default=(0,l.withPureRenderTheme)(f),e8}var mOe;function Nen(){if(mOe)return QO;mOe=1;var e=ze;Object.defineProperty(QO,"__esModule",{value:!0}),QO.default=void 0;var t=d(_),n=e(Ren),r=e(Tt()),i=dl(),o=e(Joe()),a=e(RC()),l=Lt(),s=Jt(),u=e(pUe()),c=e(Ien()),f=e(hUe());function h(m){if(typeof WeakMap!="function")return null;var v=new WeakMap,y=new WeakMap;return(h=function(b){return b?y:v})(m)}function d(m,v){if(!v&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var y=h(v);if(y&&y.has(m))return y.get(m);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in m)if(x!=="default"&&Object.prototype.hasOwnProperty.call(m,x)){var S=C?Object.getOwnPropertyDescriptor(m,x):null;S&&(S.get||S.set)?Object.defineProperty(b,x,S):b[x]=m[x]}return b.default=m,y&&y.set(m,b),b}var p=function(m,v){var y={};for(var b in m)Object.prototype.hasOwnProperty.call(m,b)&&v.indexOf(b)<0&&(y[b]=m[b]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,b=Object.getOwnPropertySymbols(m);C{const{prefixCls:v,type:y,rootClassName:b,indicatorsRender:C,steps:x}=m,S=p(m,["prefixCls","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:w,direction:O,tour:$}=(0,t.useContext)(l.ConfigContext),P=w("tour",v),[T,R,M]=(0,f.default)(P),[,A]=(0,s.useToken)(),N=t.default.useMemo(()=>x==null?void 0:x.map(z=>{var q;return Object.assign(Object.assign({},z),{className:(0,r.default)(z.className,{[`${P}-primary`]:((q=z.type)!==null&&q!==void 0?q:y)==="primary"})})}),[x,y]),j=z=>{var q;return(0,o.default)({arrowPointAtCenter:(q=z==null?void 0:z.arrowPointAtCenter)!==null&&q!==void 0?q:!0,autoAdjustOverflow:!0,offset:A.marginXXS,arrowWidth:A.sizePopupArrow,borderRadius:A.borderRadius})},D=(0,r.default)({[`${P}-rtl`]:O==="rtl"},R,M,b),L=(z,q)=>t.default.createElement(u.default,{type:y,stepProps:z,current:q,closeIcon:$==null?void 0:$.closeIcon,indicatorsRender:C}),[B,k]=(0,i.useZIndex)("Tour",S.zIndex);return T(t.default.createElement(a.default.Provider,{value:k},t.default.createElement(n.default,Object.assign({},S,{zIndex:B,rootClassName:D,prefixCls:P,animated:!0,renderPanel:L,builtinPlacements:j,steps:N}))))};return g._InternalPanelDoNotUseOrYouWillBeFired=c.default,QO.default=g,QO}var t8={},km={},vOe;function Sae(){if(vOe)return km;vOe=1,Object.defineProperty(km,"__esModule",{value:!0}),km.groupKeysMap=km.groupDisabledKeysMap=void 0;const e=n=>{const r=new Map;return n.forEach((i,o)=>{r.set(i,o)}),r};km.groupKeysMap=e;const t=n=>{const r=new Map;return n.forEach((i,o)=>{let{disabled:a,key:l}=i;a&&r.set(l,o)}),r};return km.groupDisabledKeysMap=t,km}var n8={},yOe;function Aen(){if(yOe)return n8;yOe=1,Object.defineProperty(n8,"__esModule",{value:!0}),n8.default=void 0;var e=r(_),t=Sae();function n(o){if(typeof WeakMap!="function")return null;var a=new WeakMap,l=new WeakMap;return(n=function(s){return s?l:a})(o)}function r(o,a){if(!a&&o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var l=n(a);if(l&&l.has(o))return l.get(o);var s={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in o)if(c!=="default"&&Object.prototype.hasOwnProperty.call(o,c)){var f=u?Object.getOwnPropertyDescriptor(o,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=o[c]}return s.default=o,l&&l.set(o,s),s}const i=(o,a,l)=>{const s=e.useMemo(()=>(o||[]).map(f=>(a&&(f=Object.assign(Object.assign({},f),{key:a(f)})),f)),[o,a]),[u,c]=e.useMemo(()=>{const f=[],h=new Array((l||[]).length),d=(0,t.groupKeysMap)(l||[]);return s.forEach(p=>{d.has(p.key)?h[d.get(p.key)]=p:f.push(p)}),[f,h]},[s,l,a]);return[s,u,c]};return n8.default=i,n8}var ON={},bOe;function ken(){if(bOe)return ON;bOe=1,Object.defineProperty(ON,"__esModule",{value:!0}),ON.default=a;var e=n(_);function t(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(t=function(c){return c?u:s})(l)}function n(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=t(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const r=[];function i(l,s){const u=l.filter(c=>s.has(c));return l.length===u.length?l:u}function o(l){return Array.from(l).join(";")}function a(l,s){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;const[c,f]=e.useMemo(()=>[new Set(l.map(m=>m.key)),new Set(s.map(m=>m.key))],[l,s]),[h,d]=e.useState(()=>i(u,c)),[p,g]=e.useState(()=>i(u,f));return e.useEffect(()=>{d(i(u,c)),g(i(u,f))},[u]),e.useEffect(()=>{d(i(h,c)),g(i(p,f))},[o(c),o(f)]),[h,p,d,g]}return ON}var r8={},jm={},i8={},EN={exports:{}},JG={},$N={},COe;function jen(){if(COe)return $N;COe=1,Object.defineProperty($N,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};return $N.default=e,$N}var SOe;function Den(){return SOe||(SOe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(jen()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const c=v=>{const{keyCode:y}=v;y===t.default.ENTER&&v.preventDefault()},f=v=>{const{keyCode:y}=v,{onClick:b}=s;y===t.default.ENTER&&b&&b()},{style:h,noStyle:d,disabled:p}=s,g=o(s,["style","noStyle","disabled"]);let m={};return d||(m=Object.assign({},a)),p&&(m.pointerEvents="none"),m=Object.assign(Object.assign({},m),h),n.createElement("div",Object.assign({role:"button",tabIndex:0,ref:u},g,{onKeyDown:c,onKeyUp:f,style:m}))});return o8.default=l,o8}var wOe;function Len(){if(wOe)return i8;wOe=1;var e=ze;Object.defineProperty(i8,"__esModule",{value:!0}),i8.default=void 0;var t=e(gUe()),n=e(Tt()),r=u(_),i=e(mUe()),o=e(fP()),a=Rl(),l=e(_u());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{const{renderedText:h,renderedEl:d,item:p,checked:g,disabled:m,prefixCls:v,onClick:y,onRemove:b,showRemove:C}=f,x=(0,n.default)(`${v}-content-item`,{[`${v}-content-item-disabled`]:m||p.disabled,[`${v}-content-item-checked`]:g});let S;(typeof h=="string"||typeof h=="number")&&(S=String(h));const[w]=(0,a.useLocale)("Transfer",l.default.Transfer),O={className:x,title:S},$=r.createElement("span",{className:`${v}-content-item-text`},d);return C?r.createElement("li",Object.assign({},O),$,r.createElement(i.default,{disabled:m||p.disabled,className:`${v}-content-item-remove`,"aria-label":w==null?void 0:w.remove,onClick:()=>{b==null||b(p)}},r.createElement(t.default,null))):(O.onClick=m||p.disabled?void 0:P=>y(p,P),r.createElement("li",Object.assign({},O),r.createElement(o.default,{className:`${v}-checkbox`,checked:g,disabled:m||p.disabled}),$))};return i8.default=r.memo(c),i8}var OOe;function zen(){if(OOe)return jm;OOe=1;var e=ze;Object.defineProperty(jm,"__esModule",{value:!0}),jm.default=jm.OmitProps=void 0;var t=l(_),n=e(Tt()),r=e(ns()),i=e(zF()),o=e(Len());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}jm.OmitProps=["handleFilter","handleClear","checkedKeys"];const s=c=>Object.assign(Object.assign({},{simple:!0,showSizeChanger:!1,showLessItems:!1}),c),u=(c,f)=>{const{prefixCls:h,filteredRenderItems:d,selectedKeys:p,disabled:g,showRemove:m,pagination:v,onScroll:y,onItemSelect:b,onItemRemove:C}=c,[x,S]=t.useState(1),w=t.useMemo(()=>v?s(typeof v=="object"?v:{}):null,[v]),[O,$]=(0,r.default)(10,{value:w==null?void 0:w.pageSize});t.useEffect(()=>{if(w){const D=Math.ceil(d.length/O);S(Math.min(x,D))}},[d,w,O]);const P=(D,L)=>{b(D.key,!p.includes(D.key),L)},T=D=>{C==null||C([D.key])},R=D=>{S(D)},M=(D,L)=>{S(D),$(L)},A=t.useMemo(()=>w?d.slice((x-1)*O,x*O):d,[x,d,w,O]);t.useImperativeHandle(f,()=>({items:A}));const N=w?t.createElement(i.default,{size:"small",disabled:g,simple:w.simple,pageSize:O,showLessItems:w.showLessItems,showSizeChanger:w.showSizeChanger,className:`${h}-pagination`,total:d.length,current:x,onChange:R,onShowSizeChange:M}):null,j=(0,n.default)(`${h}-content`,{[`${h}-content-show-remove`]:m});return t.createElement(t.Fragment,null,t.createElement("ul",{className:j,onScroll:y},(A||[]).map(D=>{let{renderedEl:L,renderedText:B,item:k}=D;return t.createElement(o.default,{key:k.key,item:k,renderedText:B,renderedEl:L,prefixCls:h,showRemove:m,onClick:P,onRemove:T,checked:p.includes(k.key),disabled:g||k.disabled})})),N)};return jm.default=t.forwardRef(u),jm}var a8={},EOe;function vUe(){if(EOe)return a8;EOe=1;var e=ze;Object.defineProperty(a8,"__esModule",{value:!0}),a8.default=void 0;var t=e(wF()),n=o(_),r=e(AF());function i(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(i=function(c){return c?u:s})(l)}function o(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=i(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}const a=l=>{const{placeholder:s="",value:u,prefixCls:c,disabled:f,onChange:h,handleClear:d}=l,p=n.useCallback(g=>{h==null||h(g),g.target.value===""&&(d==null||d())},[h]);return n.createElement(r.default,{placeholder:s,className:c,value:u,onChange:p,disabled:f,allowClear:!0,prefix:n.createElement(t.default,null)})};return a8.default=a,a8}var $Oe;function Ben(){if($Oe)return r8;$Oe=1;var e=ze;Object.defineProperty(r8,"__esModule",{value:!0}),r8.default=void 0;var t=h(_),n=e(aP()),r=e(Tt()),i=e(Qr()),o=to(),a=Sae(),l=e(fP()),s=e(kF()),u=h(zen()),c=e(vUe());function f(y){if(typeof WeakMap!="function")return null;var b=new WeakMap,C=new WeakMap;return(f=function(x){return x?C:b})(y)}function h(y,b){if(!b&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var C=f(b);if(C&&C.has(y))return C.get(y);var x={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in y)if(w!=="default"&&Object.prototype.hasOwnProperty.call(y,w)){var O=S?Object.getOwnPropertyDescriptor(y,w):null;O&&(O.get||O.set)?Object.defineProperty(x,w,O):x[w]=y[w]}return x.default=y,C&&C.set(y,x),x}const d=()=>null;function p(y){return!!(y&&!(0,o.isValidElement)(y)&&Object.prototype.toString.call(y)==="[object Object]")}function g(y){return y.filter(b=>!b.disabled).map(b=>b.key)}const m=y=>y!==void 0,v=y=>{const{prefixCls:b,dataSource:C=[],titleText:x="",checkedKeys:S,disabled:w,showSearch:O=!1,style:$,searchPlaceholder:P,notFoundContent:T,selectAll:R,selectCurrent:M,selectInvert:A,removeAll:N,removeCurrent:j,showSelectAll:D=!0,showRemove:L,pagination:B,direction:k,itemsUnit:z,itemUnit:q,selectAllLabel:W,selectionsIcon:U,footer:K,renderList:X,onItemSelectAll:G,onItemRemove:Y,handleFilter:J,handleClear:ee,filterOption:Q,render:te=d}=y,[ne,re]=(0,t.useState)(""),oe=(0,t.useRef)({}),se=me=>{re(me.target.value),J(me)},ye=()=>{re(""),ee()},be=(me,Ee)=>Q?Q(ne,Ee,k):me.includes(ne),he=me=>{let Ee=X?X(Object.assign(Object.assign({},me),{onItemSelect:(Le,Fe)=>me.onItemSelect(Le,Fe)})):null;const $e=!!Ee;return $e||(Ee=t.default.createElement(u.default,Object.assign({ref:oe},me))),{customize:$e,bodyContent:Ee}},le=me=>{const Ee=te(me),$e=p(Ee);return{item:me,renderedEl:$e?Ee.label:Ee,renderedText:$e?Ee.value:Ee}},ve=(0,t.useMemo)(()=>Array.isArray(T)?T[k==="left"?0:1]:T,[T,k]),[ke,Ie]=(0,t.useMemo)(()=>{const me=[],Ee=[];return C.forEach($e=>{const Le=le($e);ne&&!be(Le.renderedText,$e)||(me.push($e),Ee.push(Le))}),[me,Ee]},[C,ne]),Oe=(0,t.useMemo)(()=>{if(S.length===0)return"none";const me=(0,a.groupKeysMap)(S);return ke.every(Ee=>me.has(Ee.key)||!!Ee.disabled)?"all":"part"},[S,ke]),Pe=(0,t.useMemo)(()=>{const me=O?t.default.createElement("div",{className:`${b}-body-search-wrapper`},t.default.createElement(c.default,{prefixCls:`${b}-search`,onChange:se,handleClear:ye,placeholder:P,value:ne,disabled:w})):null,{customize:Ee,bodyContent:$e}=he(Object.assign(Object.assign({},(0,i.default)(y,u.OmitProps)),{filteredItems:ke,filteredRenderItems:Ie,selectedKeys:S}));let Le;return Ee?Le=t.default.createElement("div",{className:`${b}-body-customize-wrapper`},$e):Le=ke.length?$e:t.default.createElement("div",{className:`${b}-body-not-found`},ve),t.default.createElement("div",{className:(0,r.default)(O?`${b}-body ${b}-body-with-search`:`${b}-body`)},me,Le)},[O,b,P,ne,w,S,ke,Ie,ve]),_e=t.default.createElement(l.default,{disabled:C.length===0||w,checked:Oe==="all",indeterminate:Oe==="part",className:`${b}-checkbox`,onChange:()=>{G==null||G(ke.filter(me=>!me.disabled).map(me=>{let{key:Ee}=me;return Ee}),Oe!=="all")}}),ce=(me,Ee)=>{if(W)return typeof W=="function"?W({selectedCount:me,totalCount:Ee}):W;const $e=Ee>1?z:q;return t.default.createElement(t.default.Fragment,null,(me>0?`${me}/`:"")+Ee," ",$e)},Te=K&&(K.length<2?K(y):K(y,{direction:k})),Ne=(0,r.default)(b,{[`${b}-with-pagination`]:!!B,[`${b}-with-footer`]:!!Te}),je=Te?t.default.createElement("div",{className:`${b}-footer`},Te):null,He=!L&&!B&&_e;let Be;L?Be=[B?{key:"removeCurrent",label:j,onClick(){var me;const Ee=g((((me=oe.current)===null||me===void 0?void 0:me.items)||[]).map($e=>$e.item));Y==null||Y(Ee)}}:null,{key:"removeAll",label:N,onClick(){Y==null||Y(g(ke))}}].filter(Boolean):Be=[{key:"selectAll",label:R,onClick(){const me=g(ke);G==null||G(me,me.length!==S.length)}},B?{key:"selectCurrent",label:M,onClick(){var me;const Ee=((me=oe.current)===null||me===void 0?void 0:me.items)||[];G==null||G(g(Ee.map($e=>$e.item)),!0)}}:null,{key:"selectInvert",label:A,onClick(){var me;const Ee=g((((me=oe.current)===null||me===void 0?void 0:me.items)||[]).map(Fe=>Fe.item)),$e=new Set(S),Le=new Set($e);Ee.forEach(Fe=>{$e.has(Fe)?Le.delete(Fe):Le.add(Fe)}),G==null||G(Array.from(Le),"replace")}}];const qe=t.default.createElement(s.default,{className:`${b}-header-dropdown`,menu:{items:Be},disabled:w},m(U)?U:t.default.createElement(n.default,null));return t.default.createElement("div",{className:Ne,style:$},t.default.createElement("div",{className:`${b}-header`},D?t.default.createElement(t.default.Fragment,null,He,qe):null,t.default.createElement("span",{className:`${b}-header-selected`},ce(S.length,ke.length)),t.default.createElement("span",{className:`${b}-header-title`},x)),Pe,je)};return r8.default=v,r8}var l8={},POe;function Fen(){if(POe)return l8;POe=1;var e=ze;Object.defineProperty(l8,"__esModule",{value:!0}),l8.default=void 0;var t=e(cP()),n=e(Jy()),r=a(_),i=e(Ac());function o(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(o=function(f){return f?c:u})(s)}function a(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=o(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}const l=s=>{const{disabled:u,moveToLeft:c,moveToRight:f,leftArrowText:h="",rightArrowText:d="",leftActive:p,rightActive:g,className:m,style:v,direction:y,oneWay:b}=s;return r.createElement("div",{className:m,style:v},r.createElement(i.default,{type:"primary",size:"small",disabled:u||!g,onClick:f,icon:y!=="rtl"?r.createElement(n.default,null):r.createElement(t.default,null)},d),!b&&r.createElement(i.default,{type:"primary",size:"small",disabled:u||!p,onClick:c,icon:y!=="rtl"?r.createElement(t.default,null):r.createElement(n.default,null)},h))};return l8.default=l,l8}var Dm={},TOe;function Hen(){if(TOe)return Dm;TOe=1,Object.defineProperty(Dm,"__esModule",{value:!0}),Dm.prepareComponentToken=Dm.default=void 0;var e=Xt,t=Tn(),n=Jt();const r=c=>{const{antCls:f,componentCls:h,listHeight:d,controlHeightLG:p}=c,g=`${f}-table`,m=`${f}-input`;return{[`${h}-customize-list`]:{[`${h}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:d},[`${g}-wrapper`]:{[`${g}-small`]:{border:0,borderRadius:0,[`${g}-selection-column`]:{width:p,minWidth:p}},[`${g}-pagination${g}-pagination`]:{margin:0,padding:c.paddingXS}},[`${m}[disabled]`]:{backgroundColor:"transparent"}}}},i=(c,f)=>{const{componentCls:h,colorBorder:d}=c;return{[`${h}-list`]:{borderColor:f,"&-search:not([disabled])":{borderColor:d}}}},o=c=>{const{componentCls:f}=c;return{[`${f}-status-error`]:Object.assign({},i(c,c.colorError)),[`${f}-status-warning`]:Object.assign({},i(c,c.colorWarning))}},a=c=>{const{componentCls:f,colorBorder:h,colorSplit:d,lineWidth:p,itemHeight:g,headerHeight:m,transferHeaderVerticalPadding:v,itemPaddingBlock:y,controlItemBgActive:b,colorTextDisabled:C,listHeight:x,listWidth:S,listWidthLG:w,fontSizeIcon:O,marginXS:$,paddingSM:P,lineType:T,antCls:R,iconCls:M,motionDurationSlow:A,controlItemBgHover:N,borderRadiusLG:j,colorBgContainer:D,colorText:L,controlItemBgActiveHover:B}=c;return{display:"flex",flexDirection:"column",width:S,height:x,border:`${(0,e.unit)(p)} ${T} ${h}`,borderRadius:c.borderRadiusLG,"&-with-pagination":{width:w,height:"auto"},"&-search":{[`${M}-search`]:{color:C}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:m,padding:`${(0,e.unit)(c.calc(v).sub(p).equal())} ${(0,e.unit)(P)} ${(0,e.unit)(v)}`,color:L,background:D,borderBottom:`${(0,e.unit)(p)} ${T} ${d}`,borderRadius:`${(0,e.unit)(j)} ${(0,e.unit)(j)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":Object.assign(Object.assign({},t.textEllipsis),{flex:"auto",textAlign:"end"}),"&-dropdown":Object.assign(Object.assign({},(0,t.resetIcon)()),{fontSize:O,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:c.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:P}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:g,padding:`${(0,e.unit)(y)} ${(0,e.unit)(P)}`,transition:`all ${A}`,"> *:not(:last-child)":{marginInlineEnd:$},"> *":{flex:"none"},"&-text":Object.assign(Object.assign({},t.textEllipsis),{flex:"auto"}),"&-remove":{position:"relative",color:h,cursor:"pointer",transition:`all ${A}`,"&:hover":{color:c.colorLinkHover},"&::after":{position:"absolute",inset:`-${(0,e.unit)(y)} -50%`,content:'""'}},[`&:not(${f}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:N,cursor:"pointer"},[`&${f}-list-content-item-checked:hover`]:{backgroundColor:B}},"&-checked":{backgroundColor:b},"&-disabled":{color:C,cursor:"not-allowed"}},[`&-show-remove ${f}-list-content-item:not(${f}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:c.paddingXS,textAlign:"end",borderTop:`${(0,e.unit)(p)} ${T} ${d}`,[`${R}-pagination-options`]:{paddingInlineEnd:c.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:C,textAlign:"center"},"&-footer":{borderTop:`${(0,e.unit)(p)} ${T} ${d}`},"&-checkbox":{lineHeight:1}}},l=c=>{const{antCls:f,iconCls:h,componentCls:d,marginXS:p,marginXXS:g,fontSizeIcon:m,colorBgContainerDisabled:v}=c;return{[d]:Object.assign(Object.assign({},(0,t.resetComponent)(c)),{position:"relative",display:"flex",alignItems:"stretch",[`${d}-disabled`]:{[`${d}-list`]:{background:v}},[`${d}-list`]:a(c),[`${d}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${(0,e.unit)(p)}`,verticalAlign:"middle",[`${f}-btn`]:{display:"block","&:first-child":{marginBottom:g},[h]:{fontSize:m}}}})}},s=c=>{const{componentCls:f}=c;return{[`${f}-rtl`]:{direction:"rtl"}}},u=c=>{const{fontSize:f,lineHeight:h,controlHeight:d,controlHeightLG:p,lineWidth:g}=c,m=Math.round(f*h);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:p,itemHeight:d,itemPaddingBlock:(d-m)/2,transferHeaderVerticalPadding:Math.ceil((p-g-m)/2)}};return Dm.prepareComponentToken=u,Dm.default=(0,n.genStyleHooks)("Transfer",c=>{const f=(0,n.mergeToken)(c);return[l(f),r(f),o(f),s(f)]},u),Dm}var MOe;function Wen(){if(MOe)return t8;MOe=1;var e=ze;Object.defineProperty(t8,"__esModule",{value:!0}),t8.default=void 0;var t=e(qr()),n=b(_),r=e(Tt()),i=e(iUe()),o=jd(),a=Sae();_n();var l=Lt(),s=e(k0()),u=fi(),c=Rl(),f=e(_u()),h=e(Aen()),d=e(ken()),p=e(Ben()),g=e(Fen()),m=e(vUe()),v=e(Hen());function y(x){if(typeof WeakMap!="function")return null;var S=new WeakMap,w=new WeakMap;return(y=function(O){return O?w:S})(x)}function b(x,S){if(!S&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var w=y(S);if(w&&w.has(x))return w.get(x);var O={__proto__:null},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in x)if(P!=="default"&&Object.prototype.hasOwnProperty.call(x,P)){var T=$?Object.getOwnPropertyDescriptor(x,P):null;T&&(T.get||T.set)?Object.defineProperty(O,P,T):O[P]=x[P]}return O.default=x,w&&w.set(x,O),O}const C=x=>{const{dataSource:S,targetKeys:w=[],selectedKeys:O,selectAllLabels:$=[],operations:P=[],style:T={},listStyle:R={},locale:M={},titles:A,disabled:N,showSearch:j=!1,operationStyle:D,showSelectAll:L,oneWay:B,pagination:k,status:z,prefixCls:q,className:W,rootClassName:U,selectionsIcon:K,filterOption:X,render:G,footer:Y,children:J,rowKey:ee,onScroll:Q,onChange:te,onSearch:ne,onSelectChange:re}=x,{getPrefixCls:oe,renderEmpty:se,direction:ye,transfer:be}=(0,n.useContext)(l.ConfigContext),he=oe("transfer",q),[le,ve,ke]=(0,v.default)(he),[Ie,Oe,Pe]=(0,h.default)(S,ee,w),[_e,ce,Te,Ne]=(0,d.default)(Oe,Pe,O),[je,He]=(0,i.default)(Pt=>Pt.key),[Be,qe]=(0,i.default)(Pt=>Pt.key),me=(0,n.useCallback)((Pt,ct)=>{if(Pt==="left"){const Wt=typeof ct=="function"?ct(_e||[]):ct;Te(Wt)}else{const Wt=typeof ct=="function"?ct(ce||[]):ct;Ne(Wt)}},[_e,ce]),Ee=(Pt,ct)=>{(Pt==="left"?He:qe)(ct)},$e=(0,n.useCallback)((Pt,ct)=>{Pt==="left"?re==null||re(ct,ce):re==null||re(_e,ct)},[_e,ce]),Le=Pt=>{var ct;return(ct=A??Pt.titles)!==null&&ct!==void 0?ct:[]},Fe=Pt=>{Q==null||Q("left",Pt)},Ke=Pt=>{Q==null||Q("right",Pt)},lt=Pt=>{const ct=Pt==="right"?_e:ce,Wt=(0,a.groupDisabledKeysMap)(Ie),wn=ct.filter(Nn=>!Wt.has(Nn)),kt=(0,a.groupKeysMap)(wn),gt=Pt==="right"?wn.concat(w):w.filter(Nn=>!kt.has(Nn)),Bt=Pt==="right"?"left":"right";me(Bt,[]),$e(Bt,[]),te==null||te(gt,Pt,wn)},ft=()=>{lt("left"),Ee("left",null)},Ye=()=>{lt("right"),Ee("right",null)},we=(Pt,ct,Wt)=>{me(Pt,wn=>{let kt=[];if(Wt==="replace")kt=ct;else if(Wt)kt=Array.from(new Set([].concat((0,t.default)(wn),(0,t.default)(ct))));else{const gt=(0,a.groupKeysMap)(ct);kt=wn.filter(Bt=>!gt.has(Bt))}return $e(Pt,kt),kt}),Ee(Pt,null)},De=(Pt,ct)=>{we("left",Pt,ct)},We=(Pt,ct)=>{we("right",Pt,ct)},Ge=Pt=>ne==null?void 0:ne("left",Pt.target.value),Je=Pt=>ne==null?void 0:ne("right",Pt.target.value),bt=()=>ne==null?void 0:ne("left",""),at=()=>ne==null?void 0:ne("right",""),et=(Pt,ct,Wt,wn,kt)=>{ct.has(Wt)&&(ct.delete(Wt),Ee(Pt,null)),wn&&(ct.add(Wt),Ee(Pt,kt))},rt=(Pt,ct,Wt,wn)=>{(Pt==="left"?je:Be)(wn,ct,Wt)},Ze=(Pt,ct,Wt,wn)=>{const kt=Pt==="left",gt=(0,t.default)(kt?_e:ce),Bt=new Set(gt),Nn=(0,t.default)(kt?Oe:Pe).filter(ei=>!ei.disabled),Or=Nn.findIndex(ei=>ei.key===ct);wn&>.length>0?rt(Pt,Nn,Bt,Or):et(Pt,Bt,ct,Wt,Or);const Ar=Array.from(Bt);$e(Pt,Ar),x.selectedKeys||me(Pt,Ar)},wt=(Pt,ct,Wt)=>{Ze("left",Pt,ct,Wt==null?void 0:Wt.shiftKey)},ut=(Pt,ct,Wt)=>{Ze("right",Pt,ct,Wt==null?void 0:Wt.shiftKey)},ot=Pt=>{me("right",[]),te==null||te(w.filter(ct=>!Pt.includes(ct)),"left",(0,t.default)(Pt))},dt=Pt=>typeof R=="function"?R({direction:Pt}):R||{},_t=(0,n.useContext)(u.FormItemInputContext),{hasFeedback:Ot,status:Ct}=_t,mt=Pt=>Object.assign(Object.assign(Object.assign({},Pt),{notFoundContent:(se==null?void 0:se("Transfer"))||n.default.createElement(s.default,{componentName:"Transfer"})}),M),It=(0,o.getMergedStatus)(Ct,z),nt=!J&&k,yt=ce.length>0,xt=_e.length>0,At=(0,r.default)(he,{[`${he}-disabled`]:N,[`${he}-customize-list`]:!!J,[`${he}-rtl`]:ye==="rtl"},(0,o.getStatusClassNames)(he,It,Ot),be==null?void 0:be.className,W,U,ve,ke),[cn]=(0,c.useLocale)("Transfer",f.default.Transfer),Ht=mt(cn),[$t,zt]=Le(Ht),Qt=K??(be==null?void 0:be.selectionsIcon);return le(n.default.createElement("div",{className:At,style:Object.assign(Object.assign({},be==null?void 0:be.style),T)},n.default.createElement(p.default,Object.assign({prefixCls:`${he}-list`,titleText:$t,dataSource:Oe,filterOption:X,style:dt("left"),checkedKeys:_e,handleFilter:Ge,handleClear:bt,onItemSelect:wt,onItemSelectAll:De,render:G,showSearch:j,renderList:J,footer:Y,onScroll:Fe,disabled:N,direction:ye==="rtl"?"right":"left",showSelectAll:L,selectAllLabel:$[0],pagination:nt,selectionsIcon:Qt},Ht)),n.default.createElement(g.default,{className:`${he}-operation`,rightActive:xt,rightArrowText:P[0],moveToRight:Ye,leftActive:yt,leftArrowText:P[1],moveToLeft:ft,style:D,disabled:N,direction:ye,oneWay:B}),n.default.createElement(p.default,Object.assign({prefixCls:`${he}-list`,titleText:zt,dataSource:Pe,filterOption:X,style:dt("right"),checkedKeys:ce,handleFilter:Je,handleClear:at,onItemSelect:ut,onItemSelectAll:We,onItemRemove:ot,render:G,showSearch:j,renderList:J,footer:Y,onScroll:Ke,disabled:N,direction:ye==="rtl"?"left":"right",showSelectAll:L,selectAllLabel:$[1],showRemove:B,pagination:nt,selectionsIcon:Qt},Ht))))};return C.List=p.default,C.Search=m.default,C.Operation=g.default,t8.default=C,t8}var eK={};const qen=gr(hNt);var h2={},ROe;function Ven(){if(ROe)return h2;ROe=1,Object.defineProperty(h2,"__esModule",{value:!0}),h2.default=o,h2.prepareComponentToken=void 0;var e=Xt,t=dP(),n=Jt(),r=sUe();const i=a=>{const{componentCls:l,treePrefixCls:s,colorBgElevated:u}=a,c=`.${s}`;return[{[`${l}-dropdown`]:[{padding:`${(0,e.unit)(a.paddingXS)} ${(0,e.unit)(a.calc(a.paddingXS).div(2).equal())}`},(0,r.genTreeStyle)(s,(0,n.mergeToken)(a,{colorBgContainer:u})),{[c]:{borderRadius:0,[`${c}-list-holder-inner`]:{alignItems:"stretch",[`${c}-treenode`]:{[`${c}-node-content-wrapper`]:{flex:"auto"}}}}},(0,t.getStyle)(`${s}-checkbox`,a),{"&-rtl":{direction:"rtl",[`${c}-switcher${c}-switcher_close`]:{[`${c}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};h2.prepareComponentToken=r.initComponentToken;function o(a,l,s){return(0,n.genStyleHooks)("TreeSelect",u=>{const c=(0,n.mergeToken)(u,{treePrefixCls:l});return[i(c)]},r.initComponentToken)(a,s)}return h2}var IOe;function Uen(){return IOe||(IOe=1,function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TreeNode",{enumerable:!0,get:function(){return i.TreeNode}}),e.default=void 0;var n=$(_),r=t(Tt()),i=$(qen),o=t(Qr()),a=dl(),l=Il(),s=t(kd()),u=jd();_n();var c=Lt(),f=t(k0()),h=t($a()),d=t(zr()),p=t(no()),g=fi(),m=t(Dh()),v=t(Koe()),y=t(Xoe()),b=t(OF()),C=t(Yoe()),x=ts(),S=t(cUe()),w=t(Ven());function O(N){if(typeof WeakMap!="function")return null;var j=new WeakMap,D=new WeakMap;return(O=function(L){return L?D:j})(N)}function $(N,j){if(!j&&N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var D=O(j);if(D&&D.has(N))return D.get(N);var L={__proto__:null},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in N)if(k!=="default"&&Object.prototype.hasOwnProperty.call(N,k)){var z=B?Object.getOwnPropertyDescriptor(N,k):null;z&&(z.get||z.set)?Object.defineProperty(L,k,z):L[k]=N[k]}return L.default=N,D&&D.set(N,L),L}var P=function(N,j){var D={};for(var L in N)Object.prototype.hasOwnProperty.call(N,L)&&j.indexOf(L)<0&&(D[L]=N[L]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,L=Object.getOwnPropertySymbols(N);B{var D,{prefixCls:L,size:B,disabled:k,bordered:z=!0,className:q,rootClassName:W,treeCheckable:U,multiple:K,listHeight:X=256,listItemHeight:G=26,placement:Y,notFoundContent:J,switcherIcon:ee,treeLine:Q,getPopupContainer:te,popupClassName:ne,dropdownClassName:re,treeIcon:oe=!1,transitionName:se,choiceTransitionName:ye="",status:be,treeExpandAction:he,builtinPlacements:le,dropdownMatchSelectWidth:ve,popupMatchSelectWidth:ke,allowClear:Ie,variant:Oe,dropdownStyle:Pe,tagRender:_e}=N,ce=P(N,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:Te,getPrefixCls:Ne,renderEmpty:je,direction:He,virtual:Be,popupMatchSelectWidth:qe,popupOverflow:me}=n.useContext(c.ConfigContext),Ee=Ne(),$e=Ne("select",L),Le=Ne("select-tree",L),Fe=Ne("tree-select",L),{compactSize:Ke,compactItemClassnames:lt}=(0,x.useCompactItemContext)($e,He),ft=(0,d.default)($e),Ye=(0,d.default)(Fe),[we,De,We]=(0,y.default)($e,ft),[Ge]=(0,w.default)(Fe,Le,Ye),[Je,bt]=(0,m.default)(Oe,z),at=(0,r.default)(ne||re,`${Fe}-dropdown`,{[`${Fe}-dropdown-rtl`]:He==="rtl"},W,We,ft,Ye,De),et=!!(U||K),rt=(0,C.default)(ce.suffixIcon,ce.showArrow),Ze=(D=ke??ve)!==null&&D!==void 0?D:qe,{status:wt,hasFeedback:ut,isFormItemInput:ot,feedbackIcon:dt}=n.useContext(g.FormItemInputContext),_t=(0,u.getMergedStatus)(wt,be),{suffixIcon:Ot,removeIcon:Ct,clearIcon:mt}=(0,b.default)(Object.assign(Object.assign({},ce),{multiple:et,showSuffixIcon:rt,hasFeedback:ut,feedbackIcon:dt,prefixCls:$e,componentName:"TreeSelect"})),It=Ie===!0?{clearIcon:mt}:Ie;let nt;J!==void 0?nt=J:nt=(je==null?void 0:je("Select"))||n.createElement(f.default,{componentName:"Select"});const yt=(0,o.default)(ce,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),xt=n.useMemo(()=>Y!==void 0?Y:He==="rtl"?"bottomRight":"bottomLeft",[Y,He]),At=(0,p.default)(ct=>{var Wt;return(Wt=B??Ke)!==null&&Wt!==void 0?Wt:ct}),cn=n.useContext(h.default),Ht=k??cn,$t=(0,r.default)(!L&&Fe,{[`${$e}-lg`]:At==="large",[`${$e}-sm`]:At==="small",[`${$e}-rtl`]:He==="rtl",[`${$e}-${Je}`]:bt,[`${$e}-in-form-item`]:ot},(0,u.getStatusClassNames)($e,_t,ut),lt,q,W,We,ft,Ye,De),zt=ct=>n.createElement(S.default,{prefixCls:Le,switcherIcon:ee,treeNodeProps:ct,showLine:Q}),[Qt]=(0,a.useZIndex)("SelectLike",Pe==null?void 0:Pe.zIndex),Pt=n.createElement(i.default,Object.assign({virtual:Be,disabled:Ht},yt,{dropdownMatchSelectWidth:Ze,builtinPlacements:(0,v.default)(le,me),ref:j,prefixCls:$e,className:$t,listHeight:X,listItemHeight:G,treeCheckable:U&&n.createElement("span",{className:`${$e}-tree-checkbox-inner`}),treeLine:!!Q,suffixIcon:Ot,multiple:et,placement:xt,removeIcon:Ct,allowClear:It,switcherIcon:zt,showTreeIcon:oe,notFoundContent:nt,getPopupContainer:te||Te,treeMotion:null,dropdownClassName:at,dropdownStyle:Object.assign(Object.assign({},Pe),{zIndex:Qt}),choiceTransitionName:(0,l.getTransitionName)(Ee,"",ye),transitionName:(0,l.getTransitionName)(Ee,"slide-up",se),treeExpandAction:he,tagRender:et?_e:void 0}));return we(Ge(Pt))},M=n.forwardRef(T),A=(0,s.default)(M);M.TreeNode=i.TreeNode,M.SHOW_ALL=i.SHOW_ALL,M.SHOW_PARENT=i.SHOW_PARENT,M.SHOW_CHILD=i.SHOW_CHILD,M._InternalPanelDoNotUseOrYouWillBeFired=A,e.default=M}(eK)),eK}var s8={},c8={},u8={},PN={exports:{}},tK={},TN={},NOe;function Gen(){if(NOe)return TN;NOe=1,Object.defineProperty(TN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};return TN.default=e,TN}var AOe;function Ken(){return AOe||(AOe=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Gen()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{const{titleMarginBottom:p,fontWeightStrong:g}=d;return{marginBottom:p,color:h,fontWeight:g,fontSize:c,lineHeight:f}},i=c=>{const f=[1,2,3,4,5],h={};return f.forEach(d=>{h[` h${d}&, div&-h${d}, div&-h${d} > textarea, h${d} - `]=r(c[`fontSizeHeading${d}`],c[`lineHeightHeading${d}`],c.colorTextHeading,c)}),h};Fl.getTitleStyles=i;const o=c=>{const{componentCls:f}=c;return{"a&, a":Object.assign(Object.assign({},(0,n.operationUnit)(c)),{textDecoration:c.linkDecoration,"&:active, &:hover":{textDecoration:c.linkHoverDecoration},[`&[disabled], &${f}-disabled`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:c.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}};Fl.getLinkStyles=o;const a=c=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:c.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:c.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:e.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:c.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}});Fl.getResetStyles=a;const l=c=>{const{componentCls:f,paddingSM:h}=c,d=h;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:c.calc(c.paddingSM).mul(-1).equal(),marginTop:c.calc(d).mul(-1).equal(),marginBottom:`calc(1em - ${(0,t.unit)(d)})`},[`${f}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:c.calc(c.marginXS).add(2).equal(),insetBlockEnd:c.marginXS,color:c.colorTextDescription,fontWeight:"normal",fontSize:c.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}};Fl.getEditableStyles=l;const s=c=>({[`${c.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:c.colorSuccess}},[`${c.componentCls}-copy-icon-only`]:{marginInlineStart:0}});Fl.getCopyableStyles=s;const u=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}});return Fl.getEllipsisStyles=u,Fl}var HOe;function yUe(){if(HOe)return Lm;HOe=1,Object.defineProperty(Lm,"__esModule",{value:!0}),Lm.prepareComponentToken=Lm.default=void 0;var e=Tn(),t=Jt(),n=itn();const r=o=>{const{componentCls:a,titleMarginTop:l}=o;return{[a]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o.colorText,wordBreak:"break-word",lineHeight:o.lineHeight,[`&${a}-secondary`]:{color:o.colorTextDescription},[`&${a}-success`]:{color:o.colorSuccess},[`&${a}-warning`]:{color:o.colorWarning},[`&${a}-danger`]:{color:o.colorError,"a&:active, a&:focus":{color:o.colorErrorActive},"a&:hover":{color:o.colorErrorHover}},[`&${a}-disabled`]:{color:o.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},(0,n.getTitleStyles)(o)),{[` + `]=r(c[`fontSizeHeading${d}`],c[`lineHeightHeading${d}`],c.colorTextHeading,c)}),h};Fl.getTitleStyles=i;const o=c=>{const{componentCls:f}=c;return{"a&, a":Object.assign(Object.assign({},(0,n.operationUnit)(c)),{textDecoration:c.linkDecoration,"&:active, &:hover":{textDecoration:c.linkHoverDecoration},[`&[disabled], &${f}-disabled`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:c.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}};Fl.getLinkStyles=o;const a=c=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:c.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:c.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:e.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:c.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}});Fl.getResetStyles=a;const l=c=>{const{componentCls:f,paddingSM:h}=c,d=h;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:c.calc(c.paddingSM).mul(-1).equal(),marginTop:c.calc(d).mul(-1).equal(),marginBottom:`calc(1em - ${(0,t.unit)(d)})`},[`${f}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:c.calc(c.marginXS).add(2).equal(),insetBlockEnd:c.marginXS,color:c.colorTextDescription,fontWeight:"normal",fontSize:c.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}};Fl.getEditableStyles=l;const s=c=>({[`${c.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:c.colorSuccess}},[`${c.componentCls}-copy-icon-only`]:{marginInlineStart:0}});Fl.getCopyableStyles=s;const u=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}});return Fl.getEllipsisStyles=u,Fl}var WOe;function yUe(){if(WOe)return Lm;WOe=1,Object.defineProperty(Lm,"__esModule",{value:!0}),Lm.prepareComponentToken=Lm.default=void 0;var e=Tn(),t=Jt(),n=ntn();const r=o=>{const{componentCls:a,titleMarginTop:l}=o;return{[a]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o.colorText,wordBreak:"break-word",lineHeight:o.lineHeight,[`&${a}-secondary`]:{color:o.colorTextDescription},[`&${a}-success`]:{color:o.colorSuccess},[`&${a}-warning`]:{color:o.colorWarning},[`&${a}-danger`]:{color:o.colorError,"a&:active, a&:focus":{color:o.colorErrorActive},"a&:hover":{color:o.colorErrorHover}},[`&${a}-disabled`]:{color:o.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},(0,n.getTitleStyles)(o)),{[` & + h1${a}, & + h2${a}, & + h3${a}, @@ -921,16 +921,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${a}-expand, ${a}-edit, ${a}-copy - `]:Object.assign(Object.assign({},(0,e.operationUnit)(o)),{marginInlineStart:o.marginXXS})}),(0,n.getEditableStyles)(o)),(0,n.getCopyableStyles)(o)),(0,n.getEllipsisStyles)()),{"&-rtl":{direction:"rtl"}})}},i=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});return Lm.prepareComponentToken=i,Lm.default=(0,t.genStyleHooks)("Typography",o=>[r(o)],i),Lm}var WOe;function otn(){if(WOe)return u8;WOe=1;var e=ze;Object.defineProperty(u8,"__esModule",{value:!0}),u8.default=void 0;var t=e(rtn()),n=e(Tt()),r=e(pP()),i=u(_),o=to(),a=e(MVe()),l=e(yUe());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{const{prefixCls:h,"aria-label":d,className:p,style:g,direction:m,maxLength:v,autoSize:y=!0,value:b,onSave:C,onCancel:x,onEnd:S,component:w,enterIcon:O=i.createElement(t.default,null)}=f,$=i.useRef(null),P=i.useRef(!1),T=i.useRef(),[R,M]=i.useState(b);i.useEffect(()=>{M(b)},[b]),i.useEffect(()=>{if($.current&&$.current.resizableTextArea){const{textArea:X}=$.current.resizableTextArea;X.focus();const{length:G}=X.value;X.setSelectionRange(G,G)}},[]);const A=X=>{let{target:G}=X;M(G.value.replace(/[\n\r]/g,""))},N=()=>{P.current=!0},k=()=>{P.current=!1},D=X=>{let{keyCode:G}=X;P.current||(T.current=G)},L=()=>{C(R.trim())},B=X=>{let{keyCode:G,ctrlKey:Y,altKey:J,metaKey:ee,shiftKey:Q}=X;T.current===G&&!P.current&&!Y&&!J&&!ee&&!Q&&(G===r.default.ENTER?(L(),S==null||S()):G===r.default.ESC&&x())},j=()=>{L()},z=w?`${h}-${w}`:"",[V,W,U]=(0,l.default)(h),K=(0,n.default)(h,`${h}-edit-content`,{[`${h}-rtl`]:m==="rtl"},p,z,W,U);return V(i.createElement("div",{className:K,style:g},i.createElement(a.default,{ref:$,maxLength:v,value:R,onChange:A,onKeyDown:D,onKeyUp:B,onCompositionStart:N,onCompositionEnd:k,onBlur:j,"aria-label":d,rows:1,autoSize:y}),O!==null?(0,o.cloneElement)(O,{className:`${h}-edit-content-confirm`}):null))};return u8.default=c,u8}var NN={},qOe;function atn(){if(qOe)return NN;qOe=1,Object.defineProperty(NN,"__esModule",{value:!0}),NN.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o){return e.useMemo(()=>{const a=!!i;return[a,Object.assign(Object.assign({},o),a&&typeof i=="object"?i:null)]},[i])}return NN}var d8={},VOe;function ltn(){if(VOe)return d8;VOe=1,Object.defineProperty(d8,"__esModule",{value:!0}),d8.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=(i,o)=>{const a=e.useRef(!1);e.useEffect(()=>{a.current?i():a.current=!0},o)};return d8.default=r,d8}var f8={},UOe;function bUe(){if(UOe)return f8;UOe=1;var e=ze;Object.defineProperty(f8,"__esModule",{value:!0}),f8.default=void 0;var t=l(_),n=e(Tt()),r=Nc();_n();var i=Lt(),o=e(yUe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{prefixCls:h,component:d="article",className:p,rootClassName:g,setContentRef:m,children:v,direction:y,style:b}=c,C=s(c,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:x,direction:S,typography:w}=t.useContext(i.ConfigContext),O=y??S;let $=f;m&&($=(0,r.composeRef)(f,m));const P=x("typography",h),[T,R,M]=(0,o.default)(P),A=(0,n.default)(P,w==null?void 0:w.className,{[`${P}-rtl`]:O==="rtl"},p,g,R,M),N=Object.assign(Object.assign({},w==null?void 0:w.style),b);return T(t.createElement(d,Object.assign({className:A,style:N,ref:$},C),v))});return f8.default=u,f8}var p8={},GOe;function stn(){if(GOe)return p8;GOe=1;var e=ze;Object.defineProperty(p8,"__esModule",{value:!0}),p8.default=void 0;var t=o(_),n=e(fl()),r=e(iP());function i(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(i=function(y){return y?v:m})(g)}function o(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=i(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}function a(g){const m=typeof g;return m==="string"||m==="number"}function l(g){let m=0;return g.forEach(v=>{a(v)?m+=String(v).length:m+=1}),m}function s(g,m){let v=0;const y=[];for(let b=0;bm){const O=m-v;return y.push(String(C).slice(0,O)),y}y.push(C),v=w}return g}const u=0,c=1,f=2,h=3,d=4,p=g=>{let{enabledMeasure:m,children:v,text:y,width:b,fontSize:C,rows:x,onEllipsis:S}=g;const[[w,O,$],P]=t.useState([0,0,0]),[T,R]=t.useState(0),[M,A]=t.useState(u),[N,k]=t.useState(0),D=t.useRef(null),L=t.useRef(null),B=t.useMemo(()=>(0,n.default)(y),[y]),j=t.useMemo(()=>l(B),[B]),z=t.useMemo(()=>!m||M!==h?T&&M!==d&&m?v(s(B,T),T{m&&b&&C&&j&&(A(c),P([0,Math.ceil(j/2),j]))},[m,b,C,y,j,x]),(0,r.default)(()=>{var K;M===c&&k(((K=D.current)===null||K===void 0?void 0:K.offsetHeight)||0)},[M]),(0,r.default)(()=>{var K,X;if(N){if(M===c){const G=((K=L.current)===null||K===void 0?void 0:K.offsetHeight)||0,Y=x*N;G<=Y?(A(d),S(!1)):A(f)}else if(M===f)if(w!==$){const G=((X=L.current)===null||X===void 0?void 0:X.offsetHeight)||0,Y=x*N;let J=w,ee=$;w===$-1?ee=w:G<=Y?J=O:ee=O;const Q=Math.ceil((J+ee)/2);P([J,Q,ee])}else A(h),R(O),S(!0)}},[M,w,$,x,N]);const V={width:b,whiteSpace:"normal",margin:0,padding:0},W=(K,X,G)=>t.createElement("span",{"aria-hidden":!0,ref:X,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.ceil(C/2)*2},G)},K),U=(K,X)=>{const G=s(B,K);return W(v(G,!0),X,V)};return t.createElement(t.Fragment,null,z,m&&M!==h&&M!==d&&t.createElement(t.Fragment,null,W("lg",D,{wordBreak:"keep-all",whiteSpace:"nowrap"}),M===c?W(v(B,!1),L,V):U(O,L)))};return p8.default=p,p8}var h8={},KOe;function ctn(){if(KOe)return h8;KOe=1;var e=ze;Object.defineProperty(h8,"__esModule",{value:!0}),h8.default=void 0;var t=i(_),n=e(kc());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{let{enabledEllipsis:l,isEllipsis:s,children:u,tooltipProps:c}=a;return!(c!=null&&c.title)||!l?u:t.createElement(n.default,Object.assign({open:s?void 0:!1},c),u)};return h8.default=o,h8}var XOe;function HF(){if(XOe)return c8;XOe=1;var e=ze;Object.defineProperty(c8,"__esModule",{value:!0}),c8.default=void 0;var t=$(_),n=e(xF()),r=e(Zen()),i=e(etn()),o=e(Tt()),a=e($Nt()),l=e($oe),s=e(fl()),u=e(iP()),c=e(ns()),f=e(Qr()),h=Nc(),d=Lqe(),p=e(mUe()),g=Lt(),m=e(Aoe()),v=e(kc()),y=e(otn()),b=e(atn()),C=e(ltn()),x=e(bUe()),S=e(stn()),w=e(ctn());function O(k){if(typeof WeakMap!="function")return null;var D=new WeakMap,L=new WeakMap;return(O=function(B){return B?L:D})(k)}function $(k,D){if(!D&&k&&k.__esModule)return k;if(k===null||typeof k!="object"&&typeof k!="function")return{default:k};var L=O(D);if(L&&L.has(k))return L.get(k);var B={__proto__:null},j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in k)if(z!=="default"&&Object.prototype.hasOwnProperty.call(k,z)){var V=j?Object.getOwnPropertyDescriptor(k,z):null;V&&(V.get||V.set)?Object.defineProperty(B,z,V):B[z]=k[z]}return B.default=k,L&&L.set(k,B),B}var P=function(k,D){var L={};for(var B in k)Object.prototype.hasOwnProperty.call(k,B)&&D.indexOf(B)<0&&(L[B]=k[B]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,B=Object.getOwnPropertySymbols(k);j{var L,B,j;const{prefixCls:z,className:V,style:W,type:U,disabled:K,children:X,ellipsis:G,editable:Y,copyable:J,component:ee,title:Q}=k,te=P(k,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:ne,direction:re}=t.useContext(g.ConfigContext),[oe]=(0,m.default)("Text"),se=t.useRef(null),ye=t.useRef(null),be=ne("typography",z),he=(0,f.default)(te,["mark","code","delete","underline","strong","keyboard","italic"]),[le,ve]=(0,b.default)(Y),[ke,Ie]=(0,c.default)(!1,{value:ve.editing}),{triggerType:Oe=["icon"]}=ve,Pe=ct=>{var Wt;ct&&((Wt=ve.onStart)===null||Wt===void 0||Wt.call(ve)),Ie(ct)};(0,C.default)(()=>{var ct;ke||(ct=ye.current)===null||ct===void 0||ct.focus()},[ke]);const _e=ct=>{ct==null||ct.preventDefault(),Pe(!0)},ce=ct=>{var Wt;(Wt=ve.onChange)===null||Wt===void 0||Wt.call(ve,ct),Pe(!1)},Te=()=>{var ct;(ct=ve.onCancel)===null||ct===void 0||ct.call(ve),Pe(!1)},[Ne,je]=(0,b.default)(J),[He,Be]=t.useState(!1),qe=t.useRef(null),me={};je.format&&(me.format=je.format);const Ee=()=>{qe.current&&clearTimeout(qe.current)},$e=ct=>{var Wt;ct==null||ct.preventDefault(),ct==null||ct.stopPropagation(),(0,a.default)(je.text||String(X)||"",me),Be(!0),Ee(),qe.current=setTimeout(()=>{Be(!1)},3e3),(Wt=je.onCopy)===null||Wt===void 0||Wt.call(je,ct)};t.useEffect(()=>Ee,[]);const[Le,Fe]=t.useState(!1),[Ke,lt]=t.useState(!1),[ft,Ye]=t.useState(!1),[we,De]=t.useState(!1),[We,Ge]=t.useState(!1),[Je,bt]=t.useState(!0),[at,et]=(0,b.default)(G,{expandable:!1}),rt=at&&!ft,{rows:Ze=1}=et,wt=t.useMemo(()=>!rt||et.suffix!==void 0||et.onEllipsis||et.expandable||le||Ne,[rt,et,le,Ne]);(0,u.default)(()=>{at&&!wt&&(Fe((0,d.isStyleSupport)("webkitLineClamp")),lt((0,d.isStyleSupport)("textOverflow")))},[wt,at]);const ut=t.useMemo(()=>wt?!1:Ze===1?Ke:Le,[wt,Ke,Le]),ot=rt&&(ut?We:we),dt=rt&&Ze===1&&ut,_t=rt&&Ze>1&&ut,Ot=ct=>{var Wt;Ye(!0),(Wt=et.onExpand)===null||Wt===void 0||Wt.call(et,ct)},[Ct,mt]=t.useState(0),[It,nt]=t.useState(0),yt=(ct,Wt)=>{let{offsetWidth:wn}=ct;var kt;mt(wn),nt(parseInt((kt=window.getComputedStyle)===null||kt===void 0?void 0:kt.call(window,Wt).fontSize,10)||0)},xt=ct=>{var Wt;De(ct),we!==ct&&((Wt=et.onEllipsis)===null||Wt===void 0||Wt.call(et,ct))};t.useEffect(()=>{const ct=se.current;if(at&&ut&&ct){const Wt=_t?ct.offsetHeight{const ct=se.current;if(typeof IntersectionObserver>"u"||!ct||!ut||!rt)return;const Wt=new IntersectionObserver(()=>{bt(!!ct.offsetParent)});return Wt.observe(ct),()=>{Wt.disconnect()}},[ut,rt]);let At={};et.tooltip===!0?At={title:(L=ve.text)!==null&&L!==void 0?L:X}:t.isValidElement(et.tooltip)?At={title:et.tooltip}:typeof et.tooltip=="object"?At=Object.assign({title:(B=ve.text)!==null&&B!==void 0?B:X},et.tooltip):At={title:et.tooltip};const cn=t.useMemo(()=>{const ct=Wt=>["string","number"].includes(typeof Wt);if(!(!at||ut)){if(ct(ve.text))return ve.text;if(ct(X))return X;if(ct(Q))return Q;if(ct(At.title))return At.title}},[at,ut,Q,At.title,ot]);if(ke)return t.createElement(y.default,{value:(j=ve.text)!==null&&j!==void 0?j:typeof X=="string"?X:"",onSave:ce,onCancel:Te,onEnd:ve.onEnd,prefixCls:be,className:V,style:W,direction:re,component:ee,maxLength:ve.maxLength,autoSize:ve.autoSize,enterIcon:ve.enterIcon});const Ht=()=>{const{expandable:ct,symbol:Wt}=et;if(!ct)return null;let wn;return Wt?wn=Wt:wn=oe==null?void 0:oe.expand,t.createElement("a",{key:"expand",className:`${be}-expand`,onClick:Ot,"aria-label":oe==null?void 0:oe.expand},wn)},$t=()=>{if(!le)return;const{icon:ct,tooltip:Wt}=ve,wn=(0,s.default)(Wt)[0]||(oe==null?void 0:oe.edit),kt=typeof wn=="string"?wn:"";return Oe.includes("icon")?t.createElement(v.default,{key:"edit",title:Wt===!1?"":wn},t.createElement(p.default,{ref:ye,className:`${be}-edit`,onClick:_e,"aria-label":kt},ct||t.createElement(i.default,{role:"button"}))):null},zt=()=>{if(!Ne)return null;const{tooltips:ct,icon:Wt}=je,wn=M(ct),kt=M(Wt),gt=He?R(wn[1],oe==null?void 0:oe.copied):R(wn[0],oe==null?void 0:oe.copy),Bt=He?oe==null?void 0:oe.copied:oe==null?void 0:oe.copy,Nn=typeof gt=="string"?gt:Bt;return t.createElement(v.default,{key:"copy",title:gt},t.createElement(p.default,{className:(0,o.default)(`${be}-copy`,{[`${be}-copy-success`]:He,[`${be}-copy-icon-only`]:X==null}),onClick:$e,"aria-label":Nn},He?R(kt[1],t.createElement(n.default,null),!0):R(kt[0],t.createElement(r.default,null),!0)))},Qt=ct=>[ct&&Ht(),$t(),zt()],Pt=ct=>[ct&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},A),et.suffix,Qt(ct)];return t.createElement(l.default,{onResize:yt,disabled:!rt},ct=>t.createElement(w.default,{tooltipProps:At,enabledEllipsis:rt,isEllipsis:ot},t.createElement(x.default,Object.assign({className:(0,o.default)({[`${be}-${U}`]:U,[`${be}-disabled`]:K,[`${be}-ellipsis`]:at,[`${be}-single-line`]:rt&&Ze===1,[`${be}-ellipsis-single-line`]:dt,[`${be}-ellipsis-multiple-line`]:_t},V),prefixCls:z,style:Object.assign(Object.assign({},W),{WebkitLineClamp:_t?Ze:void 0}),component:ee,ref:(0,h.composeRef)(ct,se,D),direction:re,onClick:Oe.includes("text")?_e:void 0,"aria-label":cn==null?void 0:cn.toString(),title:Q},he),t.createElement(S.default,{enabledMeasure:rt&&!ut,text:X,rows:Ze,width:Ct,fontSize:It,onEllipsis:xt},(Wt,wn)=>{let kt=Wt;return Wt.length&&wn&&cn&&(kt=t.createElement("span",{key:"show-content","aria-hidden":!0},kt)),T(k,t.createElement(t.Fragment,null,kt,Pt(wn)))}))))});return c8.default=N,c8}var YOe;function utn(){if(YOe)return s8;YOe=1;var e=ze;Object.defineProperty(s8,"__esModule",{value:!0}),s8.default=void 0;var t=i(_);_n();var n=e(HF());function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{var{ellipsis:u,rel:c}=l,f=o(l,["ellipsis","rel"]);const h=Object.assign(Object.assign({},f),{rel:c===void 0&&f.target==="_blank"?"noopener noreferrer":c});return delete h.navigate,t.createElement(n.default,Object.assign({},h,{ref:s,ellipsis:!!u,component:"a"}))});return s8.default=a,s8}var g8={},ZOe;function dtn(){if(ZOe)return g8;ZOe=1;var e=ze;Object.defineProperty(g8,"__esModule",{value:!0}),g8.default=void 0;var t=i(_),n=e(HF());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=t.forwardRef((a,l)=>t.createElement(n.default,Object.assign({ref:l},a,{component:"div"})));return g8.default=o,g8}var m8={},QOe;function ftn(){if(QOe)return m8;QOe=1;var e=ze;Object.defineProperty(m8,"__esModule",{value:!0}),m8.default=void 0;var t=o(_),n=e(Qr());_n();var r=e(HF());function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{ellipsis:c}=s,f=a(s,["ellipsis"]);const h=t.useMemo(()=>c&&typeof c=="object"?(0,n.default)(c,["expandable","rows"]):c,[c]);return t.createElement(r.default,Object.assign({ref:u},f,{ellipsis:h,component:"span"}))};return m8.default=t.forwardRef(l),m8}var v8={},JOe;function ptn(){if(JOe)return v8;JOe=1;var e=ze;Object.defineProperty(v8,"__esModule",{value:!0}),v8.default=void 0;var t=i(_);_n();var n=e(HF());function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var o=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{level:c=1}=s,f=o(s,["level"]);let h;return a.includes(c)?h=`h${c}`:h="h1",t.createElement(n.default,Object.assign({ref:u},f,{component:h}))});return v8.default=l,v8}var e8e;function htn(){if(e8e)return l8;e8e=1;var e=ze;Object.defineProperty(l8,"__esModule",{value:!0}),l8.default=void 0;var t=e(utn()),n=e(dtn()),r=e(ftn()),i=e(ptn()),o=e(bUe());const a=o.default;return a.Text=r.default,a.Link=t.default,a.Title=i.default,a.Paragraph=n.default,l8.default=a,l8}var y8={},b8={},zm={};const gtn=cr(jNt);var Bm={},C8={},t8e;function mtn(){if(t8e)return C8;t8e=1,Object.defineProperty(C8,"__esModule",{value:!0}),C8.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconCls:i}=n;return{[`${r}-wrapper`]:{[`${r}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:n.colorFillAlter,border:`${(0,e.unit)(n.lineWidth)} dashed ${n.colorBorder}`,borderRadius:n.borderRadiusLG,cursor:"pointer",transition:`border-color ${n.motionDurationSlow}`,[r]:{padding:n.padding},[`${r}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:n.borderRadiusLG,"&:focus-visible":{outline:`${(0,e.unit)(n.lineWidthFocus)} solid ${n.colorPrimaryBorder}`}},[`${r}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + `]:Object.assign(Object.assign({},(0,e.operationUnit)(o)),{marginInlineStart:o.marginXXS})}),(0,n.getEditableStyles)(o)),(0,n.getCopyableStyles)(o)),(0,n.getEllipsisStyles)()),{"&-rtl":{direction:"rtl"}})}},i=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});return Lm.prepareComponentToken=i,Lm.default=(0,t.genStyleHooks)("Typography",o=>[r(o)],i),Lm}var qOe;function rtn(){if(qOe)return d8;qOe=1;var e=ze;Object.defineProperty(d8,"__esModule",{value:!0}),d8.default=void 0;var t=e(ttn()),n=e(Tt()),r=e(hP()),i=u(_),o=to(),a=e(MVe()),l=e(yUe());function s(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,d=new WeakMap;return(s=function(p){return p?d:h})(f)}function u(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var d=s(h);if(d&&d.has(f))return d.get(f);var p={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(p,m,v):p[m]=f[m]}return p.default=f,d&&d.set(f,p),p}const c=f=>{const{prefixCls:h,"aria-label":d,className:p,style:g,direction:m,maxLength:v,autoSize:y=!0,value:b,onSave:C,onCancel:x,onEnd:S,component:w,enterIcon:O=i.createElement(t.default,null)}=f,$=i.useRef(null),P=i.useRef(!1),T=i.useRef(),[R,M]=i.useState(b);i.useEffect(()=>{M(b)},[b]),i.useEffect(()=>{if($.current&&$.current.resizableTextArea){const{textArea:X}=$.current.resizableTextArea;X.focus();const{length:G}=X.value;X.setSelectionRange(G,G)}},[]);const A=X=>{let{target:G}=X;M(G.value.replace(/[\n\r]/g,""))},N=()=>{P.current=!0},j=()=>{P.current=!1},D=X=>{let{keyCode:G}=X;P.current||(T.current=G)},L=()=>{C(R.trim())},B=X=>{let{keyCode:G,ctrlKey:Y,altKey:J,metaKey:ee,shiftKey:Q}=X;T.current===G&&!P.current&&!Y&&!J&&!ee&&!Q&&(G===r.default.ENTER?(L(),S==null||S()):G===r.default.ESC&&x())},k=()=>{L()},z=w?`${h}-${w}`:"",[q,W,U]=(0,l.default)(h),K=(0,n.default)(h,`${h}-edit-content`,{[`${h}-rtl`]:m==="rtl"},p,z,W,U);return q(i.createElement("div",{className:K,style:g},i.createElement(a.default,{ref:$,maxLength:v,value:R,onChange:A,onKeyDown:D,onKeyUp:B,onCompositionStart:N,onCompositionEnd:j,onBlur:k,"aria-label":d,rows:1,autoSize:y}),O!==null?(0,o.cloneElement)(O,{className:`${h}-edit-content-confirm`}):null))};return d8.default=c,d8}var AN={},VOe;function itn(){if(VOe)return AN;VOe=1,Object.defineProperty(AN,"__esModule",{value:!0}),AN.default=r;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}function r(i,o){return e.useMemo(()=>{const a=!!i;return[a,Object.assign(Object.assign({},o),a&&typeof i=="object"?i:null)]},[i])}return AN}var f8={},UOe;function otn(){if(UOe)return f8;UOe=1,Object.defineProperty(f8,"__esModule",{value:!0}),f8.default=void 0;var e=n(_);function t(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,a=new WeakMap;return(t=function(l){return l?a:o})(i)}function n(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=t(o);if(a&&a.has(i))return a.get(i);var l={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in i)if(u!=="default"&&Object.prototype.hasOwnProperty.call(i,u)){var c=s?Object.getOwnPropertyDescriptor(i,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=i[u]}return l.default=i,a&&a.set(i,l),l}const r=(i,o)=>{const a=e.useRef(!1);e.useEffect(()=>{a.current?i():a.current=!0},o)};return f8.default=r,f8}var p8={},GOe;function bUe(){if(GOe)return p8;GOe=1;var e=ze;Object.defineProperty(p8,"__esModule",{value:!0}),p8.default=void 0;var t=l(_),n=e(Tt()),r=Nc();_n();var i=Lt(),o=e(yUe());function a(c){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(a=function(d){return d?h:f})(c)}function l(c,f){if(!f&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var h=a(f);if(h&&h.has(c))return h.get(c);var d={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var m=p?Object.getOwnPropertyDescriptor(c,g):null;m&&(m.get||m.set)?Object.defineProperty(d,g,m):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}var s=function(c,f){var h={};for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&f.indexOf(d)<0&&(h[d]=c[d]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,d=Object.getOwnPropertySymbols(c);p{const{prefixCls:h,component:d="article",className:p,rootClassName:g,setContentRef:m,children:v,direction:y,style:b}=c,C=s(c,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:x,direction:S,typography:w}=t.useContext(i.ConfigContext),O=y??S;let $=f;m&&($=(0,r.composeRef)(f,m));const P=x("typography",h),[T,R,M]=(0,o.default)(P),A=(0,n.default)(P,w==null?void 0:w.className,{[`${P}-rtl`]:O==="rtl"},p,g,R,M),N=Object.assign(Object.assign({},w==null?void 0:w.style),b);return T(t.createElement(d,Object.assign({className:A,style:N,ref:$},C),v))});return p8.default=u,p8}var h8={},KOe;function atn(){if(KOe)return h8;KOe=1;var e=ze;Object.defineProperty(h8,"__esModule",{value:!0}),h8.default=void 0;var t=o(_),n=e(fl()),r=e(oP());function i(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,v=new WeakMap;return(i=function(y){return y?v:m})(g)}function o(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var v=i(m);if(v&&v.has(g))return v.get(g);var y={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in g)if(C!=="default"&&Object.prototype.hasOwnProperty.call(g,C)){var x=b?Object.getOwnPropertyDescriptor(g,C):null;x&&(x.get||x.set)?Object.defineProperty(y,C,x):y[C]=g[C]}return y.default=g,v&&v.set(g,y),y}function a(g){const m=typeof g;return m==="string"||m==="number"}function l(g){let m=0;return g.forEach(v=>{a(v)?m+=String(v).length:m+=1}),m}function s(g,m){let v=0;const y=[];for(let b=0;bm){const O=m-v;return y.push(String(C).slice(0,O)),y}y.push(C),v=w}return g}const u=0,c=1,f=2,h=3,d=4,p=g=>{let{enabledMeasure:m,children:v,text:y,width:b,fontSize:C,rows:x,onEllipsis:S}=g;const[[w,O,$],P]=t.useState([0,0,0]),[T,R]=t.useState(0),[M,A]=t.useState(u),[N,j]=t.useState(0),D=t.useRef(null),L=t.useRef(null),B=t.useMemo(()=>(0,n.default)(y),[y]),k=t.useMemo(()=>l(B),[B]),z=t.useMemo(()=>!m||M!==h?T&&M!==d&&m?v(s(B,T),T{m&&b&&C&&k&&(A(c),P([0,Math.ceil(k/2),k]))},[m,b,C,y,k,x]),(0,r.default)(()=>{var K;M===c&&j(((K=D.current)===null||K===void 0?void 0:K.offsetHeight)||0)},[M]),(0,r.default)(()=>{var K,X;if(N){if(M===c){const G=((K=L.current)===null||K===void 0?void 0:K.offsetHeight)||0,Y=x*N;G<=Y?(A(d),S(!1)):A(f)}else if(M===f)if(w!==$){const G=((X=L.current)===null||X===void 0?void 0:X.offsetHeight)||0,Y=x*N;let J=w,ee=$;w===$-1?ee=w:G<=Y?J=O:ee=O;const Q=Math.ceil((J+ee)/2);P([J,Q,ee])}else A(h),R(O),S(!0)}},[M,w,$,x,N]);const q={width:b,whiteSpace:"normal",margin:0,padding:0},W=(K,X,G)=>t.createElement("span",{"aria-hidden":!0,ref:X,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.ceil(C/2)*2},G)},K),U=(K,X)=>{const G=s(B,K);return W(v(G,!0),X,q)};return t.createElement(t.Fragment,null,z,m&&M!==h&&M!==d&&t.createElement(t.Fragment,null,W("lg",D,{wordBreak:"keep-all",whiteSpace:"nowrap"}),M===c?W(v(B,!1),L,q):U(O,L)))};return h8.default=p,h8}var g8={},XOe;function ltn(){if(XOe)return g8;XOe=1;var e=ze;Object.defineProperty(g8,"__esModule",{value:!0}),g8.default=void 0;var t=i(_),n=e(kc());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=a=>{let{enabledEllipsis:l,isEllipsis:s,children:u,tooltipProps:c}=a;return!(c!=null&&c.title)||!l?u:t.createElement(n.default,Object.assign({open:s?void 0:!1},c),u)};return g8.default=o,g8}var YOe;function WF(){if(YOe)return u8;YOe=1;var e=ze;Object.defineProperty(u8,"__esModule",{value:!0}),u8.default=void 0;var t=$(_),n=e(_F()),r=e(Xen()),i=e(Qen()),o=e(Tt()),a=e(ENt()),l=e(Poe),s=e(fl()),u=e(oP()),c=e(ns()),f=e(Qr()),h=Nc(),d=Lqe(),p=e(mUe()),g=Lt(),m=e(koe()),v=e(kc()),y=e(rtn()),b=e(itn()),C=e(otn()),x=e(bUe()),S=e(atn()),w=e(ltn());function O(j){if(typeof WeakMap!="function")return null;var D=new WeakMap,L=new WeakMap;return(O=function(B){return B?L:D})(j)}function $(j,D){if(!D&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var L=O(D);if(L&&L.has(j))return L.get(j);var B={__proto__:null},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in j)if(z!=="default"&&Object.prototype.hasOwnProperty.call(j,z)){var q=k?Object.getOwnPropertyDescriptor(j,z):null;q&&(q.get||q.set)?Object.defineProperty(B,z,q):B[z]=j[z]}return B.default=j,L&&L.set(j,B),B}var P=function(j,D){var L={};for(var B in j)Object.prototype.hasOwnProperty.call(j,B)&&D.indexOf(B)<0&&(L[B]=j[B]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,B=Object.getOwnPropertySymbols(j);k{var L,B,k;const{prefixCls:z,className:q,style:W,type:U,disabled:K,children:X,ellipsis:G,editable:Y,copyable:J,component:ee,title:Q}=j,te=P(j,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:ne,direction:re}=t.useContext(g.ConfigContext),[oe]=(0,m.default)("Text"),se=t.useRef(null),ye=t.useRef(null),be=ne("typography",z),he=(0,f.default)(te,["mark","code","delete","underline","strong","keyboard","italic"]),[le,ve]=(0,b.default)(Y),[ke,Ie]=(0,c.default)(!1,{value:ve.editing}),{triggerType:Oe=["icon"]}=ve,Pe=ct=>{var Wt;ct&&((Wt=ve.onStart)===null||Wt===void 0||Wt.call(ve)),Ie(ct)};(0,C.default)(()=>{var ct;ke||(ct=ye.current)===null||ct===void 0||ct.focus()},[ke]);const _e=ct=>{ct==null||ct.preventDefault(),Pe(!0)},ce=ct=>{var Wt;(Wt=ve.onChange)===null||Wt===void 0||Wt.call(ve,ct),Pe(!1)},Te=()=>{var ct;(ct=ve.onCancel)===null||ct===void 0||ct.call(ve),Pe(!1)},[Ne,je]=(0,b.default)(J),[He,Be]=t.useState(!1),qe=t.useRef(null),me={};je.format&&(me.format=je.format);const Ee=()=>{qe.current&&clearTimeout(qe.current)},$e=ct=>{var Wt;ct==null||ct.preventDefault(),ct==null||ct.stopPropagation(),(0,a.default)(je.text||String(X)||"",me),Be(!0),Ee(),qe.current=setTimeout(()=>{Be(!1)},3e3),(Wt=je.onCopy)===null||Wt===void 0||Wt.call(je,ct)};t.useEffect(()=>Ee,[]);const[Le,Fe]=t.useState(!1),[Ke,lt]=t.useState(!1),[ft,Ye]=t.useState(!1),[we,De]=t.useState(!1),[We,Ge]=t.useState(!1),[Je,bt]=t.useState(!0),[at,et]=(0,b.default)(G,{expandable:!1}),rt=at&&!ft,{rows:Ze=1}=et,wt=t.useMemo(()=>!rt||et.suffix!==void 0||et.onEllipsis||et.expandable||le||Ne,[rt,et,le,Ne]);(0,u.default)(()=>{at&&!wt&&(Fe((0,d.isStyleSupport)("webkitLineClamp")),lt((0,d.isStyleSupport)("textOverflow")))},[wt,at]);const ut=t.useMemo(()=>wt?!1:Ze===1?Ke:Le,[wt,Ke,Le]),ot=rt&&(ut?We:we),dt=rt&&Ze===1&&ut,_t=rt&&Ze>1&&ut,Ot=ct=>{var Wt;Ye(!0),(Wt=et.onExpand)===null||Wt===void 0||Wt.call(et,ct)},[Ct,mt]=t.useState(0),[It,nt]=t.useState(0),yt=(ct,Wt)=>{let{offsetWidth:wn}=ct;var kt;mt(wn),nt(parseInt((kt=window.getComputedStyle)===null||kt===void 0?void 0:kt.call(window,Wt).fontSize,10)||0)},xt=ct=>{var Wt;De(ct),we!==ct&&((Wt=et.onEllipsis)===null||Wt===void 0||Wt.call(et,ct))};t.useEffect(()=>{const ct=se.current;if(at&&ut&&ct){const Wt=_t?ct.offsetHeight{const ct=se.current;if(typeof IntersectionObserver>"u"||!ct||!ut||!rt)return;const Wt=new IntersectionObserver(()=>{bt(!!ct.offsetParent)});return Wt.observe(ct),()=>{Wt.disconnect()}},[ut,rt]);let At={};et.tooltip===!0?At={title:(L=ve.text)!==null&&L!==void 0?L:X}:t.isValidElement(et.tooltip)?At={title:et.tooltip}:typeof et.tooltip=="object"?At=Object.assign({title:(B=ve.text)!==null&&B!==void 0?B:X},et.tooltip):At={title:et.tooltip};const cn=t.useMemo(()=>{const ct=Wt=>["string","number"].includes(typeof Wt);if(!(!at||ut)){if(ct(ve.text))return ve.text;if(ct(X))return X;if(ct(Q))return Q;if(ct(At.title))return At.title}},[at,ut,Q,At.title,ot]);if(ke)return t.createElement(y.default,{value:(k=ve.text)!==null&&k!==void 0?k:typeof X=="string"?X:"",onSave:ce,onCancel:Te,onEnd:ve.onEnd,prefixCls:be,className:q,style:W,direction:re,component:ee,maxLength:ve.maxLength,autoSize:ve.autoSize,enterIcon:ve.enterIcon});const Ht=()=>{const{expandable:ct,symbol:Wt}=et;if(!ct)return null;let wn;return Wt?wn=Wt:wn=oe==null?void 0:oe.expand,t.createElement("a",{key:"expand",className:`${be}-expand`,onClick:Ot,"aria-label":oe==null?void 0:oe.expand},wn)},$t=()=>{if(!le)return;const{icon:ct,tooltip:Wt}=ve,wn=(0,s.default)(Wt)[0]||(oe==null?void 0:oe.edit),kt=typeof wn=="string"?wn:"";return Oe.includes("icon")?t.createElement(v.default,{key:"edit",title:Wt===!1?"":wn},t.createElement(p.default,{ref:ye,className:`${be}-edit`,onClick:_e,"aria-label":kt},ct||t.createElement(i.default,{role:"button"}))):null},zt=()=>{if(!Ne)return null;const{tooltips:ct,icon:Wt}=je,wn=M(ct),kt=M(Wt),gt=He?R(wn[1],oe==null?void 0:oe.copied):R(wn[0],oe==null?void 0:oe.copy),Bt=He?oe==null?void 0:oe.copied:oe==null?void 0:oe.copy,Nn=typeof gt=="string"?gt:Bt;return t.createElement(v.default,{key:"copy",title:gt},t.createElement(p.default,{className:(0,o.default)(`${be}-copy`,{[`${be}-copy-success`]:He,[`${be}-copy-icon-only`]:X==null}),onClick:$e,"aria-label":Nn},He?R(kt[1],t.createElement(n.default,null),!0):R(kt[0],t.createElement(r.default,null),!0)))},Qt=ct=>[ct&&Ht(),$t(),zt()],Pt=ct=>[ct&&t.createElement("span",{"aria-hidden":!0,key:"ellipsis"},A),et.suffix,Qt(ct)];return t.createElement(l.default,{onResize:yt,disabled:!rt},ct=>t.createElement(w.default,{tooltipProps:At,enabledEllipsis:rt,isEllipsis:ot},t.createElement(x.default,Object.assign({className:(0,o.default)({[`${be}-${U}`]:U,[`${be}-disabled`]:K,[`${be}-ellipsis`]:at,[`${be}-single-line`]:rt&&Ze===1,[`${be}-ellipsis-single-line`]:dt,[`${be}-ellipsis-multiple-line`]:_t},q),prefixCls:z,style:Object.assign(Object.assign({},W),{WebkitLineClamp:_t?Ze:void 0}),component:ee,ref:(0,h.composeRef)(ct,se,D),direction:re,onClick:Oe.includes("text")?_e:void 0,"aria-label":cn==null?void 0:cn.toString(),title:Q},he),t.createElement(S.default,{enabledMeasure:rt&&!ut,text:X,rows:Ze,width:Ct,fontSize:It,onEllipsis:xt},(Wt,wn)=>{let kt=Wt;return Wt.length&&wn&&cn&&(kt=t.createElement("span",{key:"show-content","aria-hidden":!0},kt)),T(j,t.createElement(t.Fragment,null,kt,Pt(wn)))}))))});return u8.default=N,u8}var ZOe;function stn(){if(ZOe)return c8;ZOe=1;var e=ze;Object.defineProperty(c8,"__esModule",{value:!0}),c8.default=void 0;var t=i(_);_n();var n=e(WF());function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{var{ellipsis:u,rel:c}=l,f=o(l,["ellipsis","rel"]);const h=Object.assign(Object.assign({},f),{rel:c===void 0&&f.target==="_blank"?"noopener noreferrer":c});return delete h.navigate,t.createElement(n.default,Object.assign({},h,{ref:s,ellipsis:!!u,component:"a"}))});return c8.default=a,c8}var m8={},QOe;function ctn(){if(QOe)return m8;QOe=1;var e=ze;Object.defineProperty(m8,"__esModule",{value:!0}),m8.default=void 0;var t=i(_),n=e(WF());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=t.forwardRef((a,l)=>t.createElement(n.default,Object.assign({ref:l},a,{component:"div"})));return m8.default=o,m8}var v8={},JOe;function utn(){if(JOe)return v8;JOe=1;var e=ze;Object.defineProperty(v8,"__esModule",{value:!0}),v8.default=void 0;var t=o(_),n=e(Qr());_n();var r=e(WF());function i(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(i=function(f){return f?c:u})(s)}function o(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=i(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var a=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{var{ellipsis:c}=s,f=a(s,["ellipsis"]);const h=t.useMemo(()=>c&&typeof c=="object"?(0,n.default)(c,["expandable","rows"]):c,[c]);return t.createElement(r.default,Object.assign({ref:u},f,{ellipsis:h,component:"span"}))};return v8.default=t.forwardRef(l),v8}var y8={},e8e;function dtn(){if(e8e)return y8;e8e=1;var e=ze;Object.defineProperty(y8,"__esModule",{value:!0}),y8.default=void 0;var t=i(_);_n();var n=e(WF());function r(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,c=new WeakMap;return(r=function(f){return f?c:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var c=r(u);if(c&&c.has(s))return c.get(s);var f={__proto__:null},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in s)if(d!=="default"&&Object.prototype.hasOwnProperty.call(s,d)){var p=h?Object.getOwnPropertyDescriptor(s,d):null;p&&(p.get||p.set)?Object.defineProperty(f,d,p):f[d]=s[d]}return f.default=s,c&&c.set(s,f),f}var o=function(s,u){var c={};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&u.indexOf(f)<0&&(c[f]=s[f]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(s);h{const{level:c=1}=s,f=o(s,["level"]);let h;return a.includes(c)?h=`h${c}`:h="h1",t.createElement(n.default,Object.assign({ref:u},f,{component:h}))});return y8.default=l,y8}var t8e;function ftn(){if(t8e)return s8;t8e=1;var e=ze;Object.defineProperty(s8,"__esModule",{value:!0}),s8.default=void 0;var t=e(stn()),n=e(ctn()),r=e(utn()),i=e(dtn()),o=e(bUe());const a=o.default;return a.Text=r.default,a.Link=t.default,a.Title=i.default,a.Paragraph=n.default,s8.default=a,s8}var b8={},C8={},zm={};const ptn=gr(kNt);var Bm={},S8={},n8e;function htn(){if(n8e)return S8;n8e=1,Object.defineProperty(S8,"__esModule",{value:!0}),S8.default=void 0;var e=Xt;const t=n=>{const{componentCls:r,iconCls:i}=n;return{[`${r}-wrapper`]:{[`${r}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:n.colorFillAlter,border:`${(0,e.unit)(n.lineWidth)} dashed ${n.colorBorder}`,borderRadius:n.borderRadiusLG,cursor:"pointer",transition:`border-color ${n.motionDurationSlow}`,[r]:{padding:n.padding},[`${r}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:n.borderRadiusLG,"&:focus-visible":{outline:`${(0,e.unit)(n.lineWidthFocus)} solid ${n.colorPrimaryBorder}`}},[`${r}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${r}-disabled):hover, &-hover:not(${r}-disabled) `]:{borderColor:n.colorPrimaryHover},[`p${r}-drag-icon`]:{marginBottom:n.margin,[i]:{color:n.colorPrimary,fontSize:n.uploadThumbnailSize}},[`p${r}-text`]:{margin:`0 0 ${(0,e.unit)(n.marginXXS)}`,color:n.colorTextHeading,fontSize:n.fontSizeLG},[`p${r}-hint`]:{color:n.colorTextDescription,fontSize:n.fontSize},[`&${r}-disabled`]:{[`p${r}-drag-icon ${i}, p${r}-text, p${r}-hint - `]:{color:n.colorTextDisabled}}}}}};return C8.default=t,C8}var S8={},n8e;function vtn(){if(n8e)return S8;n8e=1,Object.defineProperty(S8,"__esModule",{value:!0}),S8.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,iconCls:a,fontSize:l,lineHeight:s,calc:u}=r,c=`${i}-list-item`,f=`${c}-actions`,h=`${c}-action`,d=r.fontHeightSM;return{[`${i}-wrapper`]:{[`${i}-list`]:Object.assign(Object.assign({},(0,t.clearFix)()),{lineHeight:r.lineHeight,[c]:{position:"relative",height:u(r.lineHeight).mul(l).equal(),marginTop:r.marginXS,fontSize:l,display:"flex",alignItems:"center",transition:`background-color ${r.motionDurationSlow}`,"&:hover":{backgroundColor:r.controlItemBgHover},[`${c}-name`]:Object.assign(Object.assign({},t.textEllipsis),{padding:`0 ${(0,e.unit)(r.paddingXS)}`,lineHeight:s,flex:"auto",transition:`all ${r.motionDurationSlow}`}),[f]:{[h]:{opacity:0},[a]:{color:r.actionsColor,transition:`all ${r.motionDurationSlow}`},[` + `]:{color:n.colorTextDisabled}}}}}};return S8.default=t,S8}var x8={},r8e;function gtn(){if(r8e)return x8;r8e=1,Object.defineProperty(x8,"__esModule",{value:!0}),x8.default=void 0;var e=Xt,t=Tn();const n=r=>{const{componentCls:i,antCls:o,iconCls:a,fontSize:l,lineHeight:s,calc:u}=r,c=`${i}-list-item`,f=`${c}-actions`,h=`${c}-action`,d=r.fontHeightSM;return{[`${i}-wrapper`]:{[`${i}-list`]:Object.assign(Object.assign({},(0,t.clearFix)()),{lineHeight:r.lineHeight,[c]:{position:"relative",height:u(r.lineHeight).mul(l).equal(),marginTop:r.marginXS,fontSize:l,display:"flex",alignItems:"center",transition:`background-color ${r.motionDurationSlow}`,"&:hover":{backgroundColor:r.controlItemBgHover},[`${c}-name`]:Object.assign(Object.assign({},t.textEllipsis),{padding:`0 ${(0,e.unit)(r.paddingXS)}`,lineHeight:s,flex:"auto",transition:`all ${r.motionDurationSlow}`}),[f]:{[h]:{opacity:0},[a]:{color:r.actionsColor,transition:`all ${r.motionDurationSlow}`},[` ${h}:focus-visible, &.picture ${h} - `]:{opacity:1},[`${h}${o}-btn`]:{height:d,border:0,lineHeight:1}},[`${i}-icon ${a}`]:{color:r.colorTextDescription,fontSize:l},[`${c}-progress`]:{position:"absolute",bottom:r.calc(r.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:u(l).add(r.paddingXS).equal(),fontSize:l,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${c}:hover ${h}`]:{opacity:1},[`${c}-error`]:{color:r.colorError,[`${c}-name, ${i}-icon ${a}`]:{color:r.colorError},[f]:{[`${a}, ${a}:hover`]:{color:r.colorError},[h]:{opacity:1}}},[`${i}-list-item-container`]:{transition:`opacity ${r.motionDurationSlow}, height ${r.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}};return S8.default=n,S8}var x8={},r8e;function ytn(){if(r8e)return x8;r8e=1,Object.defineProperty(x8,"__esModule",{value:!0}),x8.default=void 0;var e=Xt,t=Bs();const n=new e.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),r=new e.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),i=o=>{const{componentCls:a}=o,l=`${a}-animate-inline`;return[{[`${a}-wrapper`]:{[`${l}-appear, ${l}-enter, ${l}-leave`]:{animationDuration:o.motionDurationSlow,animationTimingFunction:o.motionEaseInOutCirc,animationFillMode:"forwards"},[`${l}-appear, ${l}-enter`]:{animationName:n},[`${l}-leave`]:{animationName:r}}},{[`${a}-wrapper`]:(0,t.initFadeMotion)(o)},n,r]};return x8.default=i,x8}var Fm={},i8e;function btn(){if(i8e)return Fm;i8e=1,Object.defineProperty(Fm,"__esModule",{value:!0}),Fm.genPictureStyle=Fm.genPictureCardStyle=void 0;var e=Nd,t=Tn(),n=Xt;const r=o=>{const{componentCls:a,iconCls:l,uploadThumbnailSize:s,uploadProgressOffset:u,calc:c}=o,f=`${a}-list`,h=`${f}-item`;return{[`${a}-wrapper`]:{[` + `]:{opacity:1},[`${h}${o}-btn`]:{height:d,border:0,lineHeight:1}},[`${i}-icon ${a}`]:{color:r.colorTextDescription,fontSize:l},[`${c}-progress`]:{position:"absolute",bottom:r.calc(r.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:u(l).add(r.paddingXS).equal(),fontSize:l,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${c}:hover ${h}`]:{opacity:1},[`${c}-error`]:{color:r.colorError,[`${c}-name, ${i}-icon ${a}`]:{color:r.colorError},[f]:{[`${a}, ${a}:hover`]:{color:r.colorError},[h]:{opacity:1}}},[`${i}-list-item-container`]:{transition:`opacity ${r.motionDurationSlow}, height ${r.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}};return x8.default=n,x8}var _8={},i8e;function mtn(){if(i8e)return _8;i8e=1,Object.defineProperty(_8,"__esModule",{value:!0}),_8.default=void 0;var e=Xt,t=Bs();const n=new e.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),r=new e.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}}),i=o=>{const{componentCls:a}=o,l=`${a}-animate-inline`;return[{[`${a}-wrapper`]:{[`${l}-appear, ${l}-enter, ${l}-leave`]:{animationDuration:o.motionDurationSlow,animationTimingFunction:o.motionEaseInOutCirc,animationFillMode:"forwards"},[`${l}-appear, ${l}-enter`]:{animationName:n},[`${l}-leave`]:{animationName:r}}},{[`${a}-wrapper`]:(0,t.initFadeMotion)(o)},n,r]};return _8.default=i,_8}var Fm={},o8e;function vtn(){if(o8e)return Fm;o8e=1,Object.defineProperty(Fm,"__esModule",{value:!0}),Fm.genPictureStyle=Fm.genPictureCardStyle=void 0;var e=Nd,t=Tn(),n=Xt;const r=o=>{const{componentCls:a,iconCls:l,uploadThumbnailSize:s,uploadProgressOffset:u,calc:c}=o,f=`${a}-list`,h=`${f}-item`;return{[`${a}-wrapper`]:{[` ${f}${f}-picture, ${f}${f}-picture-card, ${f}${f}-picture-circle @@ -941,7 +941,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${l}-eye, ${l}-download, ${l}-delete - `]:{zIndex:10,width:s,margin:`0 ${(0,n.unit)(o.marginXXS)}`,fontSize:s,cursor:"pointer",transition:`all ${o.motionDurationSlow}`,color:u,"&:hover":{color:u},svg:{verticalAlign:"baseline"}}},[`${h}-thumbnail, ${h}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${h}-name`]:{display:"none",textAlign:"center"},[`${h}-file + ${h}-name`]:{position:"absolute",bottom:o.margin,display:"block",width:`calc(100% - ${(0,n.unit)(c(o.paddingXS).mul(2).equal())})`},[`${h}-uploading`]:{[`&${h}`]:{backgroundColor:o.colorFillAlter},[`&::before, ${l}-eye, ${l}-download, ${l}-delete`]:{display:"none"}},[`${h}-progress`]:{bottom:o.marginXL,width:`calc(100% - ${(0,n.unit)(c(o.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${a}-wrapper${a}-picture-circle-wrapper`]:{[`${a}${a}-select`]:{borderRadius:"50%"}}}};return Fm.genPictureCardStyle=i,Fm}var _8={},o8e;function Ctn(){if(o8e)return _8;o8e=1,Object.defineProperty(_8,"__esModule",{value:!0}),_8.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-rtl`]:{direction:"rtl"}}};return _8.default=e,_8}var a8e;function Stn(){if(a8e)return Bm;a8e=1;var e=ze;Object.defineProperty(Bm,"__esModule",{value:!0}),Bm.prepareComponentToken=Bm.default=void 0;var t=Tn(),n=Bs(),r=Jt(),i=e(mtn()),o=e(vtn()),a=e(ytn()),l=btn(),s=e(Ctn());const u=f=>{const{componentCls:h,colorTextDisabled:d}=f;return{[`${h}-wrapper`]:Object.assign(Object.assign({},(0,t.resetComponent)(f)),{[h]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${h}-select`]:{display:"inline-block"},[`${h}-disabled`]:{color:d,cursor:"not-allowed"}})}},c=f=>({actionsColor:f.colorTextDescription});return Bm.prepareComponentToken=c,Bm.default=(0,r.genStyleHooks)("Upload",f=>{const{fontSizeHeading3:h,fontHeight:d,lineWidth:p,controlHeightLG:g,calc:m}=f,v=(0,r.mergeToken)(f,{uploadThumbnailSize:m(h).mul(2).equal(),uploadProgressOffset:m(m(d).div(2)).add(p).equal(),uploadPicCardSize:m(g).mul(2.55).equal()});return[u(v),(0,i.default)(v),(0,l.genPictureStyle)(v),(0,l.genPictureCardStyle)(v),(0,o.default)(v),(0,a.default)(v),(0,s.default)(v),(0,n.genCollapseMotion)(v)]},c),Bm}var w8={},AN={exports:{}},rK={},kN={},l8e;function xtn(){if(l8e)return kN;l8e=1,Object.defineProperty(kN,"__esModule",{value:!0});var e={icon:function(n,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:r}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:n}}]}},name:"file",theme:"twotone"};return kN.default=e,kN}var s8e;function _tn(){return s8e||(s8e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(xtn()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{uid:m}=g;return m===f.uid});return p===-1?d.push(f):d[p]=f,d}function i(f,h){const d=f.uid!==void 0?"uid":"name";return h.filter(p=>p[d]===f[d])[0]}function o(f,h){const d=f.uid!==void 0?"uid":"name",p=h.filter(g=>g[d]!==f[d]);return p.length===h.length?null:p}const a=function(){const h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),p=h[h.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(p)||[""])[0]},l=f=>f.indexOf("image/")===0,s=f=>{if(f.type&&!f.thumbUrl)return l(f.type);const h=f.thumbUrl||f.url||"",d=a(h);return/^data:image\//.test(h)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(d)?!0:!(/^data:/.test(h)||d)};Xd.isImageUrl=s;const u=200;function c(f){return new Promise(h=>{if(!f.type||!l(f.type)){h("");return}const d=document.createElement("canvas");d.width=u,d.height=u,d.style.cssText=`position: fixed; left: 0; top: 0; width: ${u}px; height: ${u}px; z-index: 9999; display: none;`,document.body.appendChild(d);const p=d.getContext("2d"),g=new Image;if(g.onload=()=>{const{width:m,height:v}=g;let y=u,b=u,C=0,x=0;m>v?(b=v*(u/m),x=-(b-y)/2):(y=m*(u/v),C=-(y-b)/2),p.drawImage(g,C,x,y,b);const S=d.toDataURL();document.body.removeChild(d),window.URL.revokeObjectURL(g.src),h(S)},g.crossOrigin="anonymous",f.type.startsWith("image/svg+xml")){const m=new FileReader;m.onload=()=>{m.result&&typeof m.result=="string"&&(g.src=m.result)},m.readAsDataURL(f)}else if(f.type.startsWith("image/gif")){const m=new FileReader;m.onload=()=>{m.result&&h(m.result)},m.readAsDataURL(f)}else g.src=window.URL.createObjectURL(f)})}return Xd}var O8={},BN={exports:{}},aK={},FN={},v8e;function Rtn(){if(v8e)return FN;v8e=1,Object.defineProperty(FN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};return FN.default=e,FN}var y8e;function Itn(){return y8e||(y8e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Rtn()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{prefixCls:g,className:m,style:v,locale:y,listType:b,file:C,items:x,progress:S,iconRender:w,actionIconRender:O,itemRender:$,isImgUrl:P,showPreviewIcon:T,showRemoveIcon:R,showDownloadIcon:M,previewIcon:A,removeIcon:N,downloadIcon:k,onPreview:D,onDownload:L,onClose:B}=d;var j,z;const{status:V}=C,[W,U]=a.useState(V);a.useEffect(()=>{V!=="removed"&&U(V)},[V]);const[K,X]=a.useState(!1);a.useEffect(()=>{const Ie=setTimeout(()=>{X(!0)},300);return()=>{clearTimeout(Ie)}},[]);const G=w(C);let Y=a.createElement("div",{className:`${g}-icon`},G);if(b==="picture"||b==="picture-card"||b==="picture-circle")if(W==="uploading"||!C.thumbUrl&&!C.url){const Ie=(0,i.default)(`${g}-list-item-thumbnail`,{[`${g}-list-item-file`]:W!=="uploading"});Y=a.createElement("div",{className:Ie},G)}else{const Ie=P!=null&&P(C)?a.createElement("img",{src:C.thumbUrl||C.url,alt:C.name,className:`${g}-list-item-image`,crossOrigin:C.crossOrigin}):G,Oe=(0,i.default)(`${g}-list-item-thumbnail`,{[`${g}-list-item-file`]:P&&!P(C)});Y=a.createElement("a",{className:Oe,onClick:Pe=>D(C,Pe),href:C.url||C.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ie)}const J=(0,i.default)(`${g}-list-item`,`${g}-list-item-${W}`),ee=typeof C.linkProps=="string"?JSON.parse(C.linkProps):C.linkProps,Q=R?O((typeof N=="function"?N(C):N)||a.createElement(t.default,null),()=>B(C),g,y.removeFile,!0):null,te=M&&W==="done"?O((typeof k=="function"?k(C):k)||a.createElement(n.default,null),()=>L(C),g,y.downloadFile):null,ne=b!=="picture-card"&&b!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:(0,i.default)(`${g}-list-item-actions`,{picture:b==="picture"})},te,Q),re=(0,i.default)(`${g}-list-item-name`),oe=C.url?[a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:re,title:C.name},ee,{href:C.url,onClick:Ie=>D(C,Ie)}),C.name),ne]:[a.createElement("span",{key:"view",className:re,onClick:Ie=>D(C,Ie),title:C.name},C.name),ne],se=T&&(C.url||C.thumbUrl)?a.createElement("a",{href:C.url||C.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Ie=>D(C,Ie),title:y.previewFile},typeof A=="function"?A(C):A||a.createElement(r.default,null)):null,ye=(b==="picture-card"||b==="picture-circle")&&W!=="uploading"&&a.createElement("span",{className:`${g}-list-item-actions`},se,W==="done"&&te,Q),{getPrefixCls:be}=a.useContext(l.ConfigContext),he=be(),le=a.createElement("div",{className:J},Y,oe,ye,K&&a.createElement(o.default,{motionName:`${he}-fade`,visible:W==="uploading",motionDeadline:2e3},Ie=>{let{className:Oe}=Ie;const Pe="percent"in C?a.createElement(s.default,Object.assign({},S,{type:"line",percent:C.percent,"aria-label":C["aria-label"],"aria-labelledby":C["aria-labelledby"]})):null;return a.createElement("div",{className:(0,i.default)(`${g}-list-item-progress`,Oe)},Pe)})),ve=C.response&&typeof C.response=="string"?C.response:((j=C.error)===null||j===void 0?void 0:j.statusText)||((z=C.error)===null||z===void 0?void 0:z.message)||y.uploadError,ke=W==="error"?a.createElement(u.default,{title:ve,getPopupContainer:Ie=>Ie.parentNode},le):le;return a.createElement("div",{className:(0,i.default)(`${g}-list-item-container`,m),style:v,ref:p},$?$(ke,C,x,{download:L.bind(null,C),preview:D.bind(null,C),remove:B.bind(null,C)}):ke)});return O8.default=h,O8}var S8e;function ktn(){if(S8e)return w8;S8e=1;var e=ze;Object.defineProperty(w8,"__esModule",{value:!0}),w8.default=void 0;var t=e(qr()),n=v(_),r=e(wtn()),i=e(Vf()),o=e($tn()),a=e(Mtn()),l=e(Tt()),s=v(Ad),u=e(OF()),c=e(Il()),f=to(),h=e(Ac()),d=Lt(),p=CUe(),g=e(Atn());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}const y=(C,x)=>{const{listType:S="text",previewFile:w=p.previewImage,onPreview:O,onDownload:$,onRemove:P,locale:T,iconRender:R,isImageUrl:M=p.isImageUrl,prefixCls:A,items:N=[],showPreviewIcon:k=!0,showRemoveIcon:D=!0,showDownloadIcon:L=!1,removeIcon:B,previewIcon:j,downloadIcon:z,progress:V={size:[-1,2],showInfo:!1},appendAction:W,appendActionVisible:U=!0,itemRender:K,disabled:X}=C,G=(0,u.default)(),[Y,J]=n.useState(!1);n.useEffect(()=>{S!=="picture"&&S!=="picture-card"&&S!=="picture-circle"||(N||[]).forEach(Ie=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(Ie.originFileObj instanceof File||Ie.originFileObj instanceof Blob)||Ie.thumbUrl!==void 0||(Ie.thumbUrl="",w&&w(Ie.originFileObj).then(Oe=>{Ie.thumbUrl=Oe||"",G()}))})},[S,N,w]),n.useEffect(()=>{J(!0)},[]);const ee=(Ie,Oe)=>{if(O)return Oe==null||Oe.preventDefault(),O(Ie)},Q=Ie=>{typeof $=="function"?$(Ie):Ie.url&&window.open(Ie.url)},te=Ie=>{P==null||P(Ie)},ne=Ie=>{if(R)return R(Ie,S);const Oe=Ie.status==="uploading",Pe=M&&M(Ie)?n.createElement(a.default,null):n.createElement(r.default,null);let _e=Oe?n.createElement(i.default,null):n.createElement(o.default,null);return S==="picture"?_e=Oe?n.createElement(i.default,null):Pe:(S==="picture-card"||S==="picture-circle")&&(_e=Oe?T.uploading:Pe),_e},re=(Ie,Oe,Pe,_e,ce)=>{const Te={type:"text",size:"small",title:_e,onClick:Ne=>{Oe(),(0,f.isValidElement)(Ie)&&Ie.props.onClick&&Ie.props.onClick(Ne)},className:`${Pe}-list-item-action`};if(ce&&(Te.disabled=X),(0,f.isValidElement)(Ie)){const Ne=(0,f.cloneElement)(Ie,Object.assign(Object.assign({},Ie.props),{onClick:()=>{}}));return n.createElement(h.default,Object.assign({},Te,{icon:Ne}))}return n.createElement(h.default,Object.assign({},Te),n.createElement("span",null,Ie))};n.useImperativeHandle(x,()=>({handlePreview:ee,handleDownload:Q}));const{getPrefixCls:oe}=n.useContext(d.ConfigContext),se=oe("upload",A),ye=oe(),be=(0,l.default)(`${se}-list`,`${se}-list-${S}`),he=(0,t.default)(N.map(Ie=>({key:Ie.uid,file:Ie})));let ve={motionDeadline:2e3,motionName:`${se}-${S==="picture-card"||S==="picture-circle"?"animate-inline":"animate"}`,keys:he,motionAppear:Y};const ke=n.useMemo(()=>{const Ie=Object.assign({},(0,c.default)(ye));return delete Ie.onAppearEnd,delete Ie.onEnterEnd,delete Ie.onLeaveEnd,Ie},[ye]);return S!=="picture-card"&&S!=="picture-circle"&&(ve=Object.assign(Object.assign({},ke),ve)),n.createElement("div",{className:be},n.createElement(s.CSSMotionList,Object.assign({},ve,{component:!1}),Ie=>{let{key:Oe,file:Pe,className:_e,style:ce}=Ie;return n.createElement(g.default,{key:Oe,locale:T,prefixCls:se,className:_e,style:ce,file:Pe,items:N,progress:V,listType:S,isImgUrl:M,showPreviewIcon:k,showRemoveIcon:D,showDownloadIcon:L,removeIcon:B,previewIcon:j,downloadIcon:z,iconRender:ne,actionIconRender:re,itemRender:K,onPreview:ee,onDownload:Q,onClose:te})}),W&&n.createElement(s.default,Object.assign({},ve,{visible:U,forceRender:!0}),Ie=>{let{className:Oe,style:Pe}=Ie;return(0,f.cloneElement)(W,_e=>({className:(0,l.default)(_e.className,Oe),style:Object.assign(Object.assign(Object.assign({},Pe),{pointerEvents:Oe?"none":void 0}),_e.style)}))}))},b=n.forwardRef(y);return w8.default=b,w8}var x8e;function SUe(){if(x8e)return zm;x8e=1;var e=ze;Object.defineProperty(zm,"__esModule",{value:!0}),zm.default=zm.LIST_IGNORE=void 0;var t=e(qr()),n=g(_),r=Ns,i=e(Tt()),o=e(gtn),a=e(ns());_n();var l=Lt(),s=e($a()),u=Rl(),c=e(_u()),f=e(Stn()),h=e(ktn()),d=CUe();function p(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(p=function(w){return w?S:x})(C)}function g(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=p(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var m=function(C,x,S,w){function O($){return $ instanceof S?$:new S(function(P){P($)})}return new(S||(S=Promise))(function($,P){function T(A){try{M(w.next(A))}catch(N){P(N)}}function R(A){try{M(w.throw(A))}catch(N){P(N)}}function M(A){A.done?$(A.value):O(A.value).then(T,R)}M((w=w.apply(C,x||[])).next())})};const v=zm.LIST_IGNORE=`__LIST_IGNORE_${Date.now()}__`,y=(C,x)=>{const{fileList:S,defaultFileList:w,onRemove:O,showUploadList:$=!0,listType:P="text",onPreview:T,onDownload:R,onChange:M,onDrop:A,previewFile:N,disabled:k,locale:D,iconRender:L,isImageUrl:B,progress:j,prefixCls:z,className:V,type:W="select",children:U,style:K,itemRender:X,maxCount:G,data:Y={},multiple:J=!1,hasControlInside:ee=!0,action:Q="",accept:te="",supportServerRender:ne=!0,rootClassName:re}=C,oe=n.useContext(s.default),se=k??oe,[ye,be]=(0,a.default)(w||[],{value:S,postState:Ze=>Ze??[]}),[he,le]=n.useState("drop"),ve=n.useRef(null);n.useMemo(()=>{const Ze=Date.now();(S||[]).forEach((wt,ut)=>{!wt.uid&&!Object.isFrozen(wt)&&(wt.uid=`__AUTO__${Ze}_${ut}__`)})},[S]);const ke=(Ze,wt,ut)=>{let ot=(0,t.default)(wt),dt=!1;G===1?ot=ot.slice(-1):G&&(dt=ot.length>G,ot=ot.slice(0,G)),(0,r.flushSync)(()=>{be(ot)});const _t={file:Ze,fileList:ot};ut&&(_t.event=ut),(!dt||ot.some(Ot=>Ot.uid===Ze.uid))&&(0,r.flushSync)(()=>{M==null||M(_t)})},Ie=(Ze,wt)=>m(void 0,void 0,void 0,function*(){const{beforeUpload:ut,transformFile:ot}=C;let dt=Ze;if(ut){const _t=yield ut(Ze,wt);if(_t===!1)return!1;if(delete Ze[v],_t===v)return Object.defineProperty(Ze,v,{value:!0,configurable:!0}),!1;typeof _t=="object"&&_t&&(dt=_t)}return ot&&(dt=yield ot(dt)),dt}),Oe=Ze=>{const wt=Ze.filter(dt=>!dt.file[v]);if(!wt.length)return;const ut=wt.map(dt=>(0,d.file2Obj)(dt.file));let ot=(0,t.default)(ye);ut.forEach(dt=>{ot=(0,d.updateFileList)(dt,ot)}),ut.forEach((dt,_t)=>{let Ot=dt;if(wt[_t].parsedFile)dt.status="uploading";else{const{originFileObj:Ct}=dt;let mt;try{mt=new File([Ct],Ct.name,{type:Ct.type})}catch{mt=new Blob([Ct],{type:Ct.type}),mt.name=Ct.name,mt.lastModifiedDate=new Date,mt.lastModified=new Date().getTime()}mt.uid=dt.uid,Ot=mt}ke(Ot,ot)})},Pe=(Ze,wt,ut)=>{try{typeof Ze=="string"&&(Ze=JSON.parse(Ze))}catch{}if(!(0,d.getFileItem)(wt,ye))return;const ot=(0,d.file2Obj)(wt);ot.status="done",ot.percent=100,ot.response=Ze,ot.xhr=ut;const dt=(0,d.updateFileList)(ot,ye);ke(ot,dt)},_e=(Ze,wt)=>{if(!(0,d.getFileItem)(wt,ye))return;const ut=(0,d.file2Obj)(wt);ut.status="uploading",ut.percent=Ze.percent;const ot=(0,d.updateFileList)(ut,ye);ke(ut,ot,Ze)},ce=(Ze,wt,ut)=>{if(!(0,d.getFileItem)(ut,ye))return;const ot=(0,d.file2Obj)(ut);ot.error=Ze,ot.response=wt,ot.status="error";const dt=(0,d.updateFileList)(ot,ye);ke(ot,dt)},Te=Ze=>{let wt;Promise.resolve(typeof O=="function"?O(Ze):O).then(ut=>{var ot;if(ut===!1)return;const dt=(0,d.removeFileItem)(Ze,ye);dt&&(wt=Object.assign(Object.assign({},Ze),{status:"removed"}),ye==null||ye.forEach(_t=>{const Ot=wt.uid!==void 0?"uid":"name";_t[Ot]===wt[Ot]&&!Object.isFrozen(_t)&&(_t.status="removed")}),(ot=ve.current)===null||ot===void 0||ot.abort(wt),ke(wt,dt))})},Ne=Ze=>{le(Ze.type),Ze.type==="drop"&&(A==null||A(Ze))};n.useImperativeHandle(x,()=>({onBatchStart:Oe,onSuccess:Pe,onProgress:_e,onError:ce,fileList:ye,upload:ve.current}));const{getPrefixCls:je,direction:He,upload:Be}=n.useContext(l.ConfigContext),qe=je("upload",z),me=Object.assign(Object.assign({onBatchStart:Oe,onError:ce,onProgress:_e,onSuccess:Pe},C),{data:Y,multiple:J,action:Q,accept:te,supportServerRender:ne,prefixCls:qe,disabled:se,beforeUpload:Ie,onChange:void 0,hasControlInside:ee});delete me.className,delete me.style,(!U||se)&&delete me.id;const Ee=`${qe}-wrapper`,[$e,Le,Fe]=(0,f.default)(qe,Ee),[Ke]=(0,u.useLocale)("Upload",c.default.Upload),{showRemoveIcon:lt,showPreviewIcon:ft,showDownloadIcon:Ye,removeIcon:we,previewIcon:De,downloadIcon:We}=typeof $=="boolean"?{}:$,Ge=typeof lt>"u"?!se:!!lt,Je=(Ze,wt)=>$?n.createElement(h.default,{prefixCls:qe,listType:P,items:ye,previewFile:N,onPreview:T,onDownload:R,onRemove:Te,showRemoveIcon:Ge,showPreviewIcon:ft,showDownloadIcon:Ye,removeIcon:we,previewIcon:De,downloadIcon:We,iconRender:L,locale:Object.assign(Object.assign({},Ke),D),isImageUrl:B,progress:j,appendAction:Ze,appendActionVisible:wt,itemRender:X,disabled:se}):Ze,bt=(0,i.default)(Ee,V,re,Le,Fe,Be==null?void 0:Be.className,{[`${qe}-rtl`]:He==="rtl",[`${qe}-picture-card-wrapper`]:P==="picture-card",[`${qe}-picture-circle-wrapper`]:P==="picture-circle"}),at=Object.assign(Object.assign({},Be==null?void 0:Be.style),K);if(W==="drag"){const Ze=(0,i.default)(Le,qe,`${qe}-drag`,{[`${qe}-drag-uploading`]:ye.some(wt=>wt.status==="uploading"),[`${qe}-drag-hover`]:he==="dragover",[`${qe}-disabled`]:se,[`${qe}-rtl`]:He==="rtl"});return $e(n.createElement("span",{className:bt},n.createElement("div",{className:Ze,style:at,onDrop:Ne,onDragOver:Ne,onDragLeave:Ne},n.createElement(o.default,Object.assign({},me,{ref:ve,className:`${qe}-btn`}),n.createElement("div",{className:`${qe}-drag-container`},U))),Je()))}const et=(0,i.default)(qe,`${qe}-select`,{[`${qe}-disabled`]:se}),rt=n.createElement("div",{className:et,style:U?void 0:{display:"none"}},n.createElement(o.default,Object.assign({},me,{ref:ve})));return $e(P==="picture-card"||P==="picture-circle"?n.createElement("span",{className:bt},Je(rt,!!U)):n.createElement("span",{className:bt},rt,Je()))},b=n.forwardRef(y);return zm.default=b,zm}var _8e;function jtn(){if(_8e)return b8;_8e=1;var e=ze;Object.defineProperty(b8,"__esModule",{value:!0}),b8.default=void 0;var t=i(_),n=e(SUe());function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{var{style:u,height:c,hasControlInside:f=!1}=l,h=o(l,["style","height","hasControlInside"]);return t.createElement(n.default,Object.assign({ref:s,hasControlInside:f},h,{type:"drag",style:Object.assign(Object.assign({},u),{height:c})}))});return b8.default=a,b8}var w8e;function Dtn(){if(w8e)return y8;w8e=1;var e=ze;Object.defineProperty(y8,"__esModule",{value:!0}),y8.default=void 0;var t=e(jtn()),n=i(SUe());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=n.default;return o.Dragger=t.default,o.LIST_IGNORE=n.LIST_IGNORE,y8.default=o,y8}var E8={};const Ltn=cr(MAt);var g2={},O8e;function ztn(){if(O8e)return g2;O8e=1,Object.defineProperty(g2,"__esModule",{value:!0}),g2.FontGap=void 0,g2.default=n;const e=g2.FontGap=3;function t(r,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const a=document.createElement("canvas"),l=a.getContext("2d"),s=r*o,u=i*o;return a.setAttribute("width",`${s}px`),a.setAttribute("height",`${u}px`),l.save(),[l,a,s,u]}function n(){function r(i,o,a,l,s,u,c,f){const[h,d,p,g]=t(l,s,a);if(i instanceof HTMLImageElement)h.drawImage(i,0,0,p,g);else{const{color:U,fontSize:K,fontStyle:X,fontWeight:G,fontFamily:Y,textAlign:J}=u,ee=Number(K)*a;h.font=`${X} normal ${G} ${ee}px/${s}px ${Y}`,h.fillStyle=U,h.textAlign=J,h.textBaseline="top";const Q=Array.isArray(i)?i:[i];Q==null||Q.forEach((te,ne)=>{h.fillText(te??"",p/2,ne*(ee+e*a))})}const m=Math.PI/180*Number(o),v=Math.max(l,s),[y,b,C]=t(v,v,a);y.translate(C/2,C/2),y.rotate(m),p>0&&g>0&&y.drawImage(d,-p/2,-g/2);function x(U,K){const X=U*Math.cos(m)-K*Math.sin(m),G=U*Math.sin(m)+K*Math.cos(m);return[X,G]}let S=0,w=0,O=0,$=0;const P=p/2,T=g/2;[[0-P,0-T],[0+P,0-T],[0+P,0+T],[0-P,0+T]].forEach(U=>{let[K,X]=U;const[G,Y]=x(K,X);S=Math.min(S,G),w=Math.max(w,G),O=Math.min(O,Y),$=Math.max($,Y)});const M=S+C/2,A=O+C/2,N=w-S,k=$-O,D=c*a,L=f*a,B=(N+D)*2,j=k+L,[z,V]=t(B,j);function W(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;z.drawImage(b,M,A,N,k,U,K,N,k)}return W(),W(N+D,-k/2-L/2),W(N+D,+k/2+L/2),[V.toDataURL(),B/a,j/a]}return r}return g2}var HN={},E8e;function Btn(){if(E8e)return HN;E8e=1;var e=ze;Object.defineProperty(HN,"__esModule",{value:!0}),HN.default=i;var t=e(_),n=e(Gy()),r=Xy;function i(o){const a=t.default.useRef(!1),l=t.default.useRef(),s=(0,r.useEvent)(o);return()=>{a.current||(a.current=!0,s(),l.current=(0,n.default)(()=>{a.current=!1}))}}return HN}var f1={},p1={},$8e;function xUe(){if($8e)return p1;$8e=1,Object.defineProperty(p1,"__esModule",{value:!0}),p1.getPixelRatio=n,p1.getStyleStr=t,p1.reRendering=void 0,p1.toLowercaseSeparator=e;function e(i){return i.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(i){return Object.keys(i).map(o=>`${e(o)}: ${i[o]};`).join(" ")}function n(){return window.devicePixelRatio||1}const r=(i,o)=>{let a=!1;return i.removedNodes.length&&(a=Array.from(i.removedNodes).some(l=>o(l))),i.type==="attributes"&&o(i.target)&&(a=!0),a};return p1.reRendering=r,p1}var P8e;function Ftn(){if(P8e)return f1;P8e=1,Object.defineProperty(f1,"__esModule",{value:!0}),f1.FontGap=f1.BaseSize=void 0,f1.default=o;var e=r(_),t=xUe();function n(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(n=function(u){return u?s:l})(a)}function r(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=n(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}f1.BaseSize=2,f1.FontGap=3;const i={visibility:"visible !important"};function o(a){const[l]=e.useState(()=>new Map);return[(f,h,d)=>{if(d){if(!l.get(d)){const g=document.createElement("div");l.set(d,g)}const p=l.get(d);p.setAttribute("style",(0,t.getStyleStr)(Object.assign(Object.assign(Object.assign({},a),{backgroundImage:`url('${f}')`,backgroundSize:`${Math.floor(h)}px`}),i))),p.removeAttribute("class"),d.append(p)}},f=>{const h=l.get(f);h&&f&&f.removeChild(h),l.delete(f)},f=>Array.from(l.values()).includes(f)]}return f1}var T8e;function Htn(){if(T8e)return E8;T8e=1;var e=ze;Object.defineProperty(E8,"__esModule",{value:!0}),E8.default=void 0;var t=e(qr()),n=h(_),r=Ltn,i=e(Tt()),o=Jt(),a=e(Foe()),l=h(ztn()),s=e(Btn()),u=e(Ftn()),c=xUe();function f(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(f=function(C){return C?b:y})(v)}function h(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=f(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}function d(v,y){return v.size===y.size?v:y}const p=100,g=100,m=v=>{var y,b;const{zIndex:C=9,rotate:x=-22,width:S,height:w,image:O,content:$,font:P={},style:T,className:R,rootClassName:M,gap:A=[p,g],offset:N,children:k,inherit:D=!0}=v,[,L]=(0,o.useToken)(),{color:B=L.colorFill,fontSize:j=L.fontSizeLG,fontWeight:z="normal",fontStyle:V="normal",fontFamily:W="sans-serif",textAlign:U="center"}=P,[K=p,X=g]=A,G=K/2,Y=X/2,J=(y=N==null?void 0:N[0])!==null&&y!==void 0?y:G,ee=(b=N==null?void 0:N[1])!==null&&b!==void 0?b:Y,Q=n.default.useMemo(()=>{const Ne={zIndex:C,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let je=J-G,He=ee-Y;return je>0&&(Ne.left=`${je}px`,Ne.width=`calc(100% - ${je}px)`,je=0),He>0&&(Ne.top=`${He}px`,Ne.height=`calc(100% - ${He}px)`,He=0),Ne.backgroundPosition=`${je}px ${He}px`,Ne},[C,J,G,ee,Y]),[te,ne]=n.default.useState(),[re,oe]=n.default.useState(new Set),se=n.default.useMemo(()=>{const Ne=te?[te]:[];return[].concat(Ne,(0,t.default)(Array.from(re)))},[te,re]),ye=Ne=>{let je=120,He=64;if(!O&&Ne.measureText){Ne.font=`${Number(j)}px ${W}`;const Be=Array.isArray($)?$:[$],qe=Be.map(me=>{const Ee=Ne.measureText(me);return[Ee.width,Ee.fontBoundingBoxAscent+Ee.fontBoundingBoxDescent]});je=Math.ceil(Math.max.apply(Math,(0,t.default)(qe.map(me=>me[0])))),He=Math.ceil(Math.max.apply(Math,(0,t.default)(qe.map(me=>me[1]))))*Be.length+(Be.length-1)*l.FontGap}return[S??je,w??He]},be=(0,l.default)(),[he,le]=n.default.useState(null),ve=()=>{const je=document.createElement("canvas").getContext("2d");if(je){const He=(0,c.getPixelRatio)(),[Be,qe]=ye(je),me=Ee=>{const[$e,Le]=be(Ee||"",x,He,Be,qe,{color:B,fontSize:j,fontStyle:V,fontWeight:z,fontFamily:W,textAlign:U},K,X);le([$e,Le])};if(O){const Ee=new Image;Ee.onload=()=>{me(Ee)},Ee.onerror=()=>{me($)},Ee.crossOrigin="anonymous",Ee.referrerPolicy="no-referrer",Ee.src=O}else me($)}},ke=(0,s.default)(ve),[Ie,Oe,Pe]=(0,u.default)(Q);(0,n.useEffect)(()=>{he&&se.forEach(Ne=>{Ie(he[0],he[1],Ne)})},[he,se]);const _e=Ne=>{Ne.forEach(je=>{(0,c.reRendering)(je,Pe)&&ke()})};(0,r.useMutateObserver)(se,_e),(0,n.useEffect)(ke,[x,C,S,w,O,$,B,j,z,V,W,U,K,X,J,ee]);const ce=n.default.useMemo(()=>({add:Ne=>{oe(je=>{const He=new Set(je);return He.add(Ne),d(je,He)})},remove:Ne=>{Oe(Ne),oe(je=>{const He=new Set(je);return He.delete(Ne),d(je,He)})}}),[]),Te=D?n.default.createElement(a.default.Provider,{value:ce},k):k;return n.default.createElement("div",{ref:ne,className:(0,i.default)(R,M),style:Object.assign({position:"relative"},T)},Te)};return E8.default=m,E8}(function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Affix",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Alert",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Anchor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"App",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"AutoComplete",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Avatar",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"BackTop",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Badge",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Breadcrumb",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Card",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Carousel",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Cascader",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"Checkbox",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"Col",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"Collapse",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"ColorPicker",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"ConfigProvider",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"DatePicker",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"Descriptions",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"Divider",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"Drawer",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"Empty",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"Flex",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"FloatButton",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"Form",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"Grid",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"Input",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"InputNumber",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"Layout",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"List",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"Mentions",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"Menu",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"Modal",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"Pagination",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"Popconfirm",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"Popover",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"Progress",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"QRCode",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"Radio",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"Rate",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"Result",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"Segmented",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"Select",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"Skeleton",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"Space",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"Spin",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"Statistic",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"Steps",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"Tabs",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"Tag",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"TimePicker",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"Timeline",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"Tour",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(e,"Transfer",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(e,"Tree",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(e,"TreeSelect",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"Typography",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"Upload",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(e,"Watermark",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(e,"message",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"notification",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"theme",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return $e.default}});var n=t(_qe()),r=t(HUt()),i=t(UUt()),o=t(PGt()),a=t(qGt()),l=t(GGt()),s=t(ZGt()),u=t(tVe()),c=t(EKt()),f=t(Ac()),h=t(jKt()),d=t(aXt()),p=t(cXt()),g=t(fXt()),m=t(dP()),v=t(gXt()),y=t(_Ve()),b=t(eYt()),C=t(Lt()),x=t(kVe()),S=t(bYt()),w=t(wVe()),O=t(wYt()),$=t(AF()),P=t(Uoe()),T=t(PYt()),R=t(AYt()),M=t(JYt()),A=t(DC()),N=t(mZt()),k=t(NF()),D=t($Ve()),L=t(SZt()),B=t(jZt()),j=t(zZt()),z=t(rae()),V=t(BZt()),W=t(HZt()),U=t(WZt()),K=t(LF()),X=t(VZt()),G=t($F()),Y=t(yae()),J=t(nQt()),ee=t(TF()),Q=t(sQt()),te=t(mQt()),ne=t(vQt()),re=t(CQt()),oe=t(aP()),se=t(uae()),ye=t(wQt()),be=t(zVe()),he=t(fP()),le=t(TQt()),ve=t(HQt()),ke=t(VQt()),Ie=t(hen()),Oe=t(dVe()),Pe=t(ben()),_e=t(Een()),ce=t($en()),Te=t(Ien()),Ne=t(kc()),je=t(ken()),He=t(Ven()),Be=t(dUe()),qe=t(Ken()),me=t(htn()),Ee=t(Dtn()),$e=t(gqe()),Le=t(Htn())})(JWe);const Wtn=({onClick:e})=>ge.jsxs("button",{className:"select",onClick:e,children:[ge.jsx("span",{className:"text",children:"添加"}),ge.jsx("span",{className:"iconNew",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:ge.jsx("text",{x:"50%",y:"50%",dominantBaseline:"middle",textAnchor:"middle",fontSize:"45",fontWeight:"bold",children:"+"})})})]}),qtn=({style:e})=>{const[t,n]=_.useState(!0);return ge.jsxs("div",{className:"search_container",style:{marginLeft:e.marginLeft},children:[ge.jsx("input",{className:"checkbox",type:"checkbox",checked:t,onChange:()=>n(!t)}),ge.jsxs("div",{className:"mainbox",children:[ge.jsx("div",{className:"iconContainer",children:ge.jsx("svg",{viewBox:"0 0 512 512",height:"1em",xmlns:"http://www.w3.org/2000/svg",className:"search_icon",children:ge.jsx("path",{d:"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"})})}),ge.jsx("input",{className:"search_input",placeholder:"search",type:"text"})]})]})},Vtn=()=>{const[e]=dr.useForm(),[t,n]=_.useState(!1),[r,i]=_.useState(!1),[o,a]=_.useState([]),[l,s]=_.useState(0),u=Yl(y=>y.user.avatar);_.useEffect(()=>{c().then(y=>{a(y)})},[]);const c=async()=>Tr({url:"/api/protect/talk",method:"GET"}).then(y=>y.data.data).catch(y=>{console.log(y)}),f=()=>{n(!0)},h=y=>{s(y.talkKey),f(),e.setFieldsValue({talkTitle:y.talkTitle,content:y.content})},d=async()=>{if(l!==0){const y={talkTitle:e.getFieldsValue().talkTitle,content:e.getFieldsValue().content,updateTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss")};Tr({url:`/api/protect/talk/${l}`,method:"POST",data:y}).then(async b=>{b.status==200?c().then(C=>{a(C),pr.success("修改成功"),s(0),e.resetFields(),n(!1)}):(await pr.error("修改失败"),s(0),e.resetFields(),n(!1))})}else e.validateFields().then(()=>{i(!0),m(),pr.success("发布成功"),i(!1),e.resetFields(),n(!1)})},p=()=>{s(0),e.resetFields(),n(!1)},g=async y=>{try{Tr({url:`/api/protect/talk/${y}`,method:"DELETE"}).then(async b=>{b.status===200?c().then(C=>{a(C),pr.success("删除成功")}):await pr.error("删除失败")})}catch(b){console.log(b),await pr.error("删除失败")}},m=async()=>{const b={...e.getFieldsValue(),createTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss"),updateTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss")};(await Tr({url:"/api/protect/talk",method:"POST",data:b})).status===200&&c().then(x=>{a(x)})},v={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}};return ge.jsx("div",{className:"Comments_Body",children:ge.jsxs(JWe.ConfigProvider,{theme:{components:{Card:{}}},children:[ge.jsxs("div",{className:"action",children:[ge.jsx(Wtn,{onClick:f}),ge.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:ge.jsxs("h2",{children:[" ",ge.jsx("i",{className:"iconfont icon-pinglun4",style:{fontWeight:"100",fontSize:50,color:"#13a8a8"}})," 说说 "]})}),ge.jsx(qtn,{style:{marginLeft:"50px"}})]}),ge.jsx($B,{gutter:16,style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gridGap:30},children:o.map(y=>ge.jsx(Bv,{children:ge.jsx(mh,{hoverable:!0,style:{width:300,marginTop:25,fontWeight:600},className:"talkCard",actions:[ge.jsx(ONt,{onClick:()=>h(y)},"edit"),ge.jsx(pie,{title:"删除确认",description:"确定删除此说说?",onConfirm:()=>g(y.talkKey),okText:"Yes",cancelText:"No",style:{position:"absolute"},children:ge.jsx(DFe,{},"delete")})],children:ge.jsx(mh.Meta,{avatar:ge.jsx(ODe,{src:u}),title:y.talkTitle,description:y.content})})},y.talkKey))}),ge.jsx(vh,{title:"说说修改",open:t,onOk:d,confirmLoading:r,onCancel:p,okText:l===0?"发布":"保存",cancelText:"取消",children:ge.jsxs(dr,{...v,variant:"filled",style:{maxWidth:600},onFinish:m,form:e,children:[ge.jsx(dr.Item,{label:"标题",name:"talkTitle",children:ge.jsx(au,{})}),ge.jsx(dr.Item,{label:"内容",name:"content",children:ge.jsx(au.TextArea,{autoSize:!0})})]})})]})})};/*! ***************************************************************************** + `]:{zIndex:10,width:s,margin:`0 ${(0,n.unit)(o.marginXXS)}`,fontSize:s,cursor:"pointer",transition:`all ${o.motionDurationSlow}`,color:u,"&:hover":{color:u},svg:{verticalAlign:"baseline"}}},[`${h}-thumbnail, ${h}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${h}-name`]:{display:"none",textAlign:"center"},[`${h}-file + ${h}-name`]:{position:"absolute",bottom:o.margin,display:"block",width:`calc(100% - ${(0,n.unit)(c(o.paddingXS).mul(2).equal())})`},[`${h}-uploading`]:{[`&${h}`]:{backgroundColor:o.colorFillAlter},[`&::before, ${l}-eye, ${l}-download, ${l}-delete`]:{display:"none"}},[`${h}-progress`]:{bottom:o.marginXL,width:`calc(100% - ${(0,n.unit)(c(o.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${a}-wrapper${a}-picture-circle-wrapper`]:{[`${a}${a}-select`]:{borderRadius:"50%"}}}};return Fm.genPictureCardStyle=i,Fm}var w8={},a8e;function ytn(){if(a8e)return w8;a8e=1,Object.defineProperty(w8,"__esModule",{value:!0}),w8.default=void 0;const e=t=>{const{componentCls:n}=t;return{[`${n}-rtl`]:{direction:"rtl"}}};return w8.default=e,w8}var l8e;function btn(){if(l8e)return Bm;l8e=1;var e=ze;Object.defineProperty(Bm,"__esModule",{value:!0}),Bm.prepareComponentToken=Bm.default=void 0;var t=Tn(),n=Bs(),r=Jt(),i=e(htn()),o=e(gtn()),a=e(mtn()),l=vtn(),s=e(ytn());const u=f=>{const{componentCls:h,colorTextDisabled:d}=f;return{[`${h}-wrapper`]:Object.assign(Object.assign({},(0,t.resetComponent)(f)),{[h]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${h}-select`]:{display:"inline-block"},[`${h}-disabled`]:{color:d,cursor:"not-allowed"}})}},c=f=>({actionsColor:f.colorTextDescription});return Bm.prepareComponentToken=c,Bm.default=(0,r.genStyleHooks)("Upload",f=>{const{fontSizeHeading3:h,fontHeight:d,lineWidth:p,controlHeightLG:g,calc:m}=f,v=(0,r.mergeToken)(f,{uploadThumbnailSize:m(h).mul(2).equal(),uploadProgressOffset:m(m(d).div(2)).add(p).equal(),uploadPicCardSize:m(g).mul(2.55).equal()});return[u(v),(0,i.default)(v),(0,l.genPictureStyle)(v),(0,l.genPictureCardStyle)(v),(0,o.default)(v),(0,a.default)(v),(0,s.default)(v),(0,n.genCollapseMotion)(v)]},c),Bm}var O8={},kN={exports:{}},iK={},jN={},s8e;function Ctn(){if(s8e)return jN;s8e=1,Object.defineProperty(jN,"__esModule",{value:!0});var e={icon:function(n,r){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:r}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:n}}]}},name:"file",theme:"twotone"};return jN.default=e,jN}var c8e;function Stn(){return c8e||(c8e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Ctn()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{uid:m}=g;return m===f.uid});return p===-1?d.push(f):d[p]=f,d}function i(f,h){const d=f.uid!==void 0?"uid":"name";return h.filter(p=>p[d]===f[d])[0]}function o(f,h){const d=f.uid!==void 0?"uid":"name",p=h.filter(g=>g[d]!==f[d]);return p.length===h.length?null:p}const a=function(){const h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),p=h[h.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(p)||[""])[0]},l=f=>f.indexOf("image/")===0,s=f=>{if(f.type&&!f.thumbUrl)return l(f.type);const h=f.thumbUrl||f.url||"",d=a(h);return/^data:image\//.test(h)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(d)?!0:!(/^data:/.test(h)||d)};Xd.isImageUrl=s;const u=200;function c(f){return new Promise(h=>{if(!f.type||!l(f.type)){h("");return}const d=document.createElement("canvas");d.width=u,d.height=u,d.style.cssText=`position: fixed; left: 0; top: 0; width: ${u}px; height: ${u}px; z-index: 9999; display: none;`,document.body.appendChild(d);const p=d.getContext("2d"),g=new Image;if(g.onload=()=>{const{width:m,height:v}=g;let y=u,b=u,C=0,x=0;m>v?(b=v*(u/m),x=-(b-y)/2):(y=m*(u/v),C=-(y-b)/2),p.drawImage(g,C,x,y,b);const S=d.toDataURL();document.body.removeChild(d),window.URL.revokeObjectURL(g.src),h(S)},g.crossOrigin="anonymous",f.type.startsWith("image/svg+xml")){const m=new FileReader;m.onload=()=>{m.result&&typeof m.result=="string"&&(g.src=m.result)},m.readAsDataURL(f)}else if(f.type.startsWith("image/gif")){const m=new FileReader;m.onload=()=>{m.result&&h(m.result)},m.readAsDataURL(f)}else g.src=window.URL.createObjectURL(f)})}return Xd}var E8={},FN={exports:{}},lK={},HN={},y8e;function Ttn(){if(y8e)return HN;y8e=1,Object.defineProperty(HN,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};return HN.default=e,HN}var b8e;function Mtn(){return b8e||(b8e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=l(_),n=o(Ttn()),r=o(Kn());function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function o(d){return d&&d.__esModule?d:{default:d}}function a(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(a=function(m){return m?g:p})(d)}function l(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=a(p);if(g&&g.has(d))return g.get(d);var m={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var b=v?Object.getOwnPropertyDescriptor(d,y):null;b&&(b.get||b.set)?Object.defineProperty(m,y,b):m[y]=d[y]}return m.default=d,g&&g.set(d,m),m}function s(d){for(var p=1;p{let{prefixCls:g,className:m,style:v,locale:y,listType:b,file:C,items:x,progress:S,iconRender:w,actionIconRender:O,itemRender:$,isImgUrl:P,showPreviewIcon:T,showRemoveIcon:R,showDownloadIcon:M,previewIcon:A,removeIcon:N,downloadIcon:j,onPreview:D,onDownload:L,onClose:B}=d;var k,z;const{status:q}=C,[W,U]=a.useState(q);a.useEffect(()=>{q!=="removed"&&U(q)},[q]);const[K,X]=a.useState(!1);a.useEffect(()=>{const Ie=setTimeout(()=>{X(!0)},300);return()=>{clearTimeout(Ie)}},[]);const G=w(C);let Y=a.createElement("div",{className:`${g}-icon`},G);if(b==="picture"||b==="picture-card"||b==="picture-circle")if(W==="uploading"||!C.thumbUrl&&!C.url){const Ie=(0,i.default)(`${g}-list-item-thumbnail`,{[`${g}-list-item-file`]:W!=="uploading"});Y=a.createElement("div",{className:Ie},G)}else{const Ie=P!=null&&P(C)?a.createElement("img",{src:C.thumbUrl||C.url,alt:C.name,className:`${g}-list-item-image`,crossOrigin:C.crossOrigin}):G,Oe=(0,i.default)(`${g}-list-item-thumbnail`,{[`${g}-list-item-file`]:P&&!P(C)});Y=a.createElement("a",{className:Oe,onClick:Pe=>D(C,Pe),href:C.url||C.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ie)}const J=(0,i.default)(`${g}-list-item`,`${g}-list-item-${W}`),ee=typeof C.linkProps=="string"?JSON.parse(C.linkProps):C.linkProps,Q=R?O((typeof N=="function"?N(C):N)||a.createElement(t.default,null),()=>B(C),g,y.removeFile,!0):null,te=M&&W==="done"?O((typeof j=="function"?j(C):j)||a.createElement(n.default,null),()=>L(C),g,y.downloadFile):null,ne=b!=="picture-card"&&b!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:(0,i.default)(`${g}-list-item-actions`,{picture:b==="picture"})},te,Q),re=(0,i.default)(`${g}-list-item-name`),oe=C.url?[a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:re,title:C.name},ee,{href:C.url,onClick:Ie=>D(C,Ie)}),C.name),ne]:[a.createElement("span",{key:"view",className:re,onClick:Ie=>D(C,Ie),title:C.name},C.name),ne],se=T&&(C.url||C.thumbUrl)?a.createElement("a",{href:C.url||C.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Ie=>D(C,Ie),title:y.previewFile},typeof A=="function"?A(C):A||a.createElement(r.default,null)):null,ye=(b==="picture-card"||b==="picture-circle")&&W!=="uploading"&&a.createElement("span",{className:`${g}-list-item-actions`},se,W==="done"&&te,Q),{getPrefixCls:be}=a.useContext(l.ConfigContext),he=be(),le=a.createElement("div",{className:J},Y,oe,ye,K&&a.createElement(o.default,{motionName:`${he}-fade`,visible:W==="uploading",motionDeadline:2e3},Ie=>{let{className:Oe}=Ie;const Pe="percent"in C?a.createElement(s.default,Object.assign({},S,{type:"line",percent:C.percent,"aria-label":C["aria-label"],"aria-labelledby":C["aria-labelledby"]})):null;return a.createElement("div",{className:(0,i.default)(`${g}-list-item-progress`,Oe)},Pe)})),ve=C.response&&typeof C.response=="string"?C.response:((k=C.error)===null||k===void 0?void 0:k.statusText)||((z=C.error)===null||z===void 0?void 0:z.message)||y.uploadError,ke=W==="error"?a.createElement(u.default,{title:ve,getPopupContainer:Ie=>Ie.parentNode},le):le;return a.createElement("div",{className:(0,i.default)(`${g}-list-item-container`,m),style:v,ref:p},$?$(ke,C,x,{download:L.bind(null,C),preview:D.bind(null,C),remove:B.bind(null,C)}):ke)});return E8.default=h,E8}var x8e;function Ntn(){if(x8e)return O8;x8e=1;var e=ze;Object.defineProperty(O8,"__esModule",{value:!0}),O8.default=void 0;var t=e(qr()),n=v(_),r=e(xtn()),i=e(Vf()),o=e(Otn()),a=e(Ptn()),l=e(Tt()),s=v(Ad),u=e(EF()),c=e(Il()),f=to(),h=e(Ac()),d=Lt(),p=CUe(),g=e(Itn());function m(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(m=function(w){return w?S:x})(C)}function v(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=m(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}const y=(C,x)=>{const{listType:S="text",previewFile:w=p.previewImage,onPreview:O,onDownload:$,onRemove:P,locale:T,iconRender:R,isImageUrl:M=p.isImageUrl,prefixCls:A,items:N=[],showPreviewIcon:j=!0,showRemoveIcon:D=!0,showDownloadIcon:L=!1,removeIcon:B,previewIcon:k,downloadIcon:z,progress:q={size:[-1,2],showInfo:!1},appendAction:W,appendActionVisible:U=!0,itemRender:K,disabled:X}=C,G=(0,u.default)(),[Y,J]=n.useState(!1);n.useEffect(()=>{S!=="picture"&&S!=="picture-card"&&S!=="picture-circle"||(N||[]).forEach(Ie=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(Ie.originFileObj instanceof File||Ie.originFileObj instanceof Blob)||Ie.thumbUrl!==void 0||(Ie.thumbUrl="",w&&w(Ie.originFileObj).then(Oe=>{Ie.thumbUrl=Oe||"",G()}))})},[S,N,w]),n.useEffect(()=>{J(!0)},[]);const ee=(Ie,Oe)=>{if(O)return Oe==null||Oe.preventDefault(),O(Ie)},Q=Ie=>{typeof $=="function"?$(Ie):Ie.url&&window.open(Ie.url)},te=Ie=>{P==null||P(Ie)},ne=Ie=>{if(R)return R(Ie,S);const Oe=Ie.status==="uploading",Pe=M&&M(Ie)?n.createElement(a.default,null):n.createElement(r.default,null);let _e=Oe?n.createElement(i.default,null):n.createElement(o.default,null);return S==="picture"?_e=Oe?n.createElement(i.default,null):Pe:(S==="picture-card"||S==="picture-circle")&&(_e=Oe?T.uploading:Pe),_e},re=(Ie,Oe,Pe,_e,ce)=>{const Te={type:"text",size:"small",title:_e,onClick:Ne=>{Oe(),(0,f.isValidElement)(Ie)&&Ie.props.onClick&&Ie.props.onClick(Ne)},className:`${Pe}-list-item-action`};if(ce&&(Te.disabled=X),(0,f.isValidElement)(Ie)){const Ne=(0,f.cloneElement)(Ie,Object.assign(Object.assign({},Ie.props),{onClick:()=>{}}));return n.createElement(h.default,Object.assign({},Te,{icon:Ne}))}return n.createElement(h.default,Object.assign({},Te),n.createElement("span",null,Ie))};n.useImperativeHandle(x,()=>({handlePreview:ee,handleDownload:Q}));const{getPrefixCls:oe}=n.useContext(d.ConfigContext),se=oe("upload",A),ye=oe(),be=(0,l.default)(`${se}-list`,`${se}-list-${S}`),he=(0,t.default)(N.map(Ie=>({key:Ie.uid,file:Ie})));let ve={motionDeadline:2e3,motionName:`${se}-${S==="picture-card"||S==="picture-circle"?"animate-inline":"animate"}`,keys:he,motionAppear:Y};const ke=n.useMemo(()=>{const Ie=Object.assign({},(0,c.default)(ye));return delete Ie.onAppearEnd,delete Ie.onEnterEnd,delete Ie.onLeaveEnd,Ie},[ye]);return S!=="picture-card"&&S!=="picture-circle"&&(ve=Object.assign(Object.assign({},ke),ve)),n.createElement("div",{className:be},n.createElement(s.CSSMotionList,Object.assign({},ve,{component:!1}),Ie=>{let{key:Oe,file:Pe,className:_e,style:ce}=Ie;return n.createElement(g.default,{key:Oe,locale:T,prefixCls:se,className:_e,style:ce,file:Pe,items:N,progress:q,listType:S,isImgUrl:M,showPreviewIcon:j,showRemoveIcon:D,showDownloadIcon:L,removeIcon:B,previewIcon:k,downloadIcon:z,iconRender:ne,actionIconRender:re,itemRender:K,onPreview:ee,onDownload:Q,onClose:te})}),W&&n.createElement(s.default,Object.assign({},ve,{visible:U,forceRender:!0}),Ie=>{let{className:Oe,style:Pe}=Ie;return(0,f.cloneElement)(W,_e=>({className:(0,l.default)(_e.className,Oe),style:Object.assign(Object.assign(Object.assign({},Pe),{pointerEvents:Oe?"none":void 0}),_e.style)}))}))},b=n.forwardRef(y);return O8.default=b,O8}var _8e;function SUe(){if(_8e)return zm;_8e=1;var e=ze;Object.defineProperty(zm,"__esModule",{value:!0}),zm.default=zm.LIST_IGNORE=void 0;var t=e(qr()),n=g(_),r=Ns,i=e(Tt()),o=e(ptn),a=e(ns());_n();var l=Lt(),s=e($a()),u=Rl(),c=e(_u()),f=e(btn()),h=e(Ntn()),d=CUe();function p(C){if(typeof WeakMap!="function")return null;var x=new WeakMap,S=new WeakMap;return(p=function(w){return w?S:x})(C)}function g(C,x){if(!x&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=p(x);if(S&&S.has(C))return S.get(C);var w={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in C)if($!=="default"&&Object.prototype.hasOwnProperty.call(C,$)){var P=O?Object.getOwnPropertyDescriptor(C,$):null;P&&(P.get||P.set)?Object.defineProperty(w,$,P):w[$]=C[$]}return w.default=C,S&&S.set(C,w),w}var m=function(C,x,S,w){function O($){return $ instanceof S?$:new S(function(P){P($)})}return new(S||(S=Promise))(function($,P){function T(A){try{M(w.next(A))}catch(N){P(N)}}function R(A){try{M(w.throw(A))}catch(N){P(N)}}function M(A){A.done?$(A.value):O(A.value).then(T,R)}M((w=w.apply(C,x||[])).next())})};const v=zm.LIST_IGNORE=`__LIST_IGNORE_${Date.now()}__`,y=(C,x)=>{const{fileList:S,defaultFileList:w,onRemove:O,showUploadList:$=!0,listType:P="text",onPreview:T,onDownload:R,onChange:M,onDrop:A,previewFile:N,disabled:j,locale:D,iconRender:L,isImageUrl:B,progress:k,prefixCls:z,className:q,type:W="select",children:U,style:K,itemRender:X,maxCount:G,data:Y={},multiple:J=!1,hasControlInside:ee=!0,action:Q="",accept:te="",supportServerRender:ne=!0,rootClassName:re}=C,oe=n.useContext(s.default),se=j??oe,[ye,be]=(0,a.default)(w||[],{value:S,postState:Ze=>Ze??[]}),[he,le]=n.useState("drop"),ve=n.useRef(null);n.useMemo(()=>{const Ze=Date.now();(S||[]).forEach((wt,ut)=>{!wt.uid&&!Object.isFrozen(wt)&&(wt.uid=`__AUTO__${Ze}_${ut}__`)})},[S]);const ke=(Ze,wt,ut)=>{let ot=(0,t.default)(wt),dt=!1;G===1?ot=ot.slice(-1):G&&(dt=ot.length>G,ot=ot.slice(0,G)),(0,r.flushSync)(()=>{be(ot)});const _t={file:Ze,fileList:ot};ut&&(_t.event=ut),(!dt||ot.some(Ot=>Ot.uid===Ze.uid))&&(0,r.flushSync)(()=>{M==null||M(_t)})},Ie=(Ze,wt)=>m(void 0,void 0,void 0,function*(){const{beforeUpload:ut,transformFile:ot}=C;let dt=Ze;if(ut){const _t=yield ut(Ze,wt);if(_t===!1)return!1;if(delete Ze[v],_t===v)return Object.defineProperty(Ze,v,{value:!0,configurable:!0}),!1;typeof _t=="object"&&_t&&(dt=_t)}return ot&&(dt=yield ot(dt)),dt}),Oe=Ze=>{const wt=Ze.filter(dt=>!dt.file[v]);if(!wt.length)return;const ut=wt.map(dt=>(0,d.file2Obj)(dt.file));let ot=(0,t.default)(ye);ut.forEach(dt=>{ot=(0,d.updateFileList)(dt,ot)}),ut.forEach((dt,_t)=>{let Ot=dt;if(wt[_t].parsedFile)dt.status="uploading";else{const{originFileObj:Ct}=dt;let mt;try{mt=new File([Ct],Ct.name,{type:Ct.type})}catch{mt=new Blob([Ct],{type:Ct.type}),mt.name=Ct.name,mt.lastModifiedDate=new Date,mt.lastModified=new Date().getTime()}mt.uid=dt.uid,Ot=mt}ke(Ot,ot)})},Pe=(Ze,wt,ut)=>{try{typeof Ze=="string"&&(Ze=JSON.parse(Ze))}catch{}if(!(0,d.getFileItem)(wt,ye))return;const ot=(0,d.file2Obj)(wt);ot.status="done",ot.percent=100,ot.response=Ze,ot.xhr=ut;const dt=(0,d.updateFileList)(ot,ye);ke(ot,dt)},_e=(Ze,wt)=>{if(!(0,d.getFileItem)(wt,ye))return;const ut=(0,d.file2Obj)(wt);ut.status="uploading",ut.percent=Ze.percent;const ot=(0,d.updateFileList)(ut,ye);ke(ut,ot,Ze)},ce=(Ze,wt,ut)=>{if(!(0,d.getFileItem)(ut,ye))return;const ot=(0,d.file2Obj)(ut);ot.error=Ze,ot.response=wt,ot.status="error";const dt=(0,d.updateFileList)(ot,ye);ke(ot,dt)},Te=Ze=>{let wt;Promise.resolve(typeof O=="function"?O(Ze):O).then(ut=>{var ot;if(ut===!1)return;const dt=(0,d.removeFileItem)(Ze,ye);dt&&(wt=Object.assign(Object.assign({},Ze),{status:"removed"}),ye==null||ye.forEach(_t=>{const Ot=wt.uid!==void 0?"uid":"name";_t[Ot]===wt[Ot]&&!Object.isFrozen(_t)&&(_t.status="removed")}),(ot=ve.current)===null||ot===void 0||ot.abort(wt),ke(wt,dt))})},Ne=Ze=>{le(Ze.type),Ze.type==="drop"&&(A==null||A(Ze))};n.useImperativeHandle(x,()=>({onBatchStart:Oe,onSuccess:Pe,onProgress:_e,onError:ce,fileList:ye,upload:ve.current}));const{getPrefixCls:je,direction:He,upload:Be}=n.useContext(l.ConfigContext),qe=je("upload",z),me=Object.assign(Object.assign({onBatchStart:Oe,onError:ce,onProgress:_e,onSuccess:Pe},C),{data:Y,multiple:J,action:Q,accept:te,supportServerRender:ne,prefixCls:qe,disabled:se,beforeUpload:Ie,onChange:void 0,hasControlInside:ee});delete me.className,delete me.style,(!U||se)&&delete me.id;const Ee=`${qe}-wrapper`,[$e,Le,Fe]=(0,f.default)(qe,Ee),[Ke]=(0,u.useLocale)("Upload",c.default.Upload),{showRemoveIcon:lt,showPreviewIcon:ft,showDownloadIcon:Ye,removeIcon:we,previewIcon:De,downloadIcon:We}=typeof $=="boolean"?{}:$,Ge=typeof lt>"u"?!se:!!lt,Je=(Ze,wt)=>$?n.createElement(h.default,{prefixCls:qe,listType:P,items:ye,previewFile:N,onPreview:T,onDownload:R,onRemove:Te,showRemoveIcon:Ge,showPreviewIcon:ft,showDownloadIcon:Ye,removeIcon:we,previewIcon:De,downloadIcon:We,iconRender:L,locale:Object.assign(Object.assign({},Ke),D),isImageUrl:B,progress:k,appendAction:Ze,appendActionVisible:wt,itemRender:X,disabled:se}):Ze,bt=(0,i.default)(Ee,q,re,Le,Fe,Be==null?void 0:Be.className,{[`${qe}-rtl`]:He==="rtl",[`${qe}-picture-card-wrapper`]:P==="picture-card",[`${qe}-picture-circle-wrapper`]:P==="picture-circle"}),at=Object.assign(Object.assign({},Be==null?void 0:Be.style),K);if(W==="drag"){const Ze=(0,i.default)(Le,qe,`${qe}-drag`,{[`${qe}-drag-uploading`]:ye.some(wt=>wt.status==="uploading"),[`${qe}-drag-hover`]:he==="dragover",[`${qe}-disabled`]:se,[`${qe}-rtl`]:He==="rtl"});return $e(n.createElement("span",{className:bt},n.createElement("div",{className:Ze,style:at,onDrop:Ne,onDragOver:Ne,onDragLeave:Ne},n.createElement(o.default,Object.assign({},me,{ref:ve,className:`${qe}-btn`}),n.createElement("div",{className:`${qe}-drag-container`},U))),Je()))}const et=(0,i.default)(qe,`${qe}-select`,{[`${qe}-disabled`]:se}),rt=n.createElement("div",{className:et,style:U?void 0:{display:"none"}},n.createElement(o.default,Object.assign({},me,{ref:ve})));return $e(P==="picture-card"||P==="picture-circle"?n.createElement("span",{className:bt},Je(rt,!!U)):n.createElement("span",{className:bt},rt,Je()))},b=n.forwardRef(y);return zm.default=b,zm}var w8e;function Atn(){if(w8e)return C8;w8e=1;var e=ze;Object.defineProperty(C8,"__esModule",{value:!0}),C8.default=void 0;var t=i(_),n=e(SUe());function r(l){if(typeof WeakMap!="function")return null;var s=new WeakMap,u=new WeakMap;return(r=function(c){return c?u:s})(l)}function i(l,s){if(!s&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var u=r(s);if(u&&u.has(l))return u.get(l);var c={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(h!=="default"&&Object.prototype.hasOwnProperty.call(l,h)){var d=f?Object.getOwnPropertyDescriptor(l,h):null;d&&(d.get||d.set)?Object.defineProperty(c,h,d):c[h]=l[h]}return c.default=l,u&&u.set(l,c),c}var o=function(l,s){var u={};for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&s.indexOf(c)<0&&(u[c]=l[c]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,c=Object.getOwnPropertySymbols(l);f{var{style:u,height:c,hasControlInside:f=!1}=l,h=o(l,["style","height","hasControlInside"]);return t.createElement(n.default,Object.assign({ref:s,hasControlInside:f},h,{type:"drag",style:Object.assign(Object.assign({},u),{height:c})}))});return C8.default=a,C8}var O8e;function ktn(){if(O8e)return b8;O8e=1;var e=ze;Object.defineProperty(b8,"__esModule",{value:!0}),b8.default=void 0;var t=e(Atn()),n=i(SUe());function r(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(r=function(u){return u?s:l})(a)}function i(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=r(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}const o=n.default;return o.Dragger=t.default,o.LIST_IGNORE=n.LIST_IGNORE,b8.default=o,b8}var $8={};const jtn=gr(TAt);var g2={},E8e;function Dtn(){if(E8e)return g2;E8e=1,Object.defineProperty(g2,"__esModule",{value:!0}),g2.FontGap=void 0,g2.default=n;const e=g2.FontGap=3;function t(r,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const a=document.createElement("canvas"),l=a.getContext("2d"),s=r*o,u=i*o;return a.setAttribute("width",`${s}px`),a.setAttribute("height",`${u}px`),l.save(),[l,a,s,u]}function n(){function r(i,o,a,l,s,u,c,f){const[h,d,p,g]=t(l,s,a);if(i instanceof HTMLImageElement)h.drawImage(i,0,0,p,g);else{const{color:U,fontSize:K,fontStyle:X,fontWeight:G,fontFamily:Y,textAlign:J}=u,ee=Number(K)*a;h.font=`${X} normal ${G} ${ee}px/${s}px ${Y}`,h.fillStyle=U,h.textAlign=J,h.textBaseline="top";const Q=Array.isArray(i)?i:[i];Q==null||Q.forEach((te,ne)=>{h.fillText(te??"",p/2,ne*(ee+e*a))})}const m=Math.PI/180*Number(o),v=Math.max(l,s),[y,b,C]=t(v,v,a);y.translate(C/2,C/2),y.rotate(m),p>0&&g>0&&y.drawImage(d,-p/2,-g/2);function x(U,K){const X=U*Math.cos(m)-K*Math.sin(m),G=U*Math.sin(m)+K*Math.cos(m);return[X,G]}let S=0,w=0,O=0,$=0;const P=p/2,T=g/2;[[0-P,0-T],[0+P,0-T],[0+P,0+T],[0-P,0+T]].forEach(U=>{let[K,X]=U;const[G,Y]=x(K,X);S=Math.min(S,G),w=Math.max(w,G),O=Math.min(O,Y),$=Math.max($,Y)});const M=S+C/2,A=O+C/2,N=w-S,j=$-O,D=c*a,L=f*a,B=(N+D)*2,k=j+L,[z,q]=t(B,k);function W(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;z.drawImage(b,M,A,N,j,U,K,N,j)}return W(),W(N+D,-j/2-L/2),W(N+D,+j/2+L/2),[q.toDataURL(),B/a,k/a]}return r}return g2}var WN={},$8e;function Ltn(){if($8e)return WN;$8e=1;var e=ze;Object.defineProperty(WN,"__esModule",{value:!0}),WN.default=i;var t=e(_),n=e(Gy()),r=Xy;function i(o){const a=t.default.useRef(!1),l=t.default.useRef(),s=(0,r.useEvent)(o);return()=>{a.current||(a.current=!0,s(),l.current=(0,n.default)(()=>{a.current=!1}))}}return WN}var f1={},p1={},P8e;function xUe(){if(P8e)return p1;P8e=1,Object.defineProperty(p1,"__esModule",{value:!0}),p1.getPixelRatio=n,p1.getStyleStr=t,p1.reRendering=void 0,p1.toLowercaseSeparator=e;function e(i){return i.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(i){return Object.keys(i).map(o=>`${e(o)}: ${i[o]};`).join(" ")}function n(){return window.devicePixelRatio||1}const r=(i,o)=>{let a=!1;return i.removedNodes.length&&(a=Array.from(i.removedNodes).some(l=>o(l))),i.type==="attributes"&&o(i.target)&&(a=!0),a};return p1.reRendering=r,p1}var T8e;function ztn(){if(T8e)return f1;T8e=1,Object.defineProperty(f1,"__esModule",{value:!0}),f1.FontGap=f1.BaseSize=void 0,f1.default=o;var e=r(_),t=xUe();function n(a){if(typeof WeakMap!="function")return null;var l=new WeakMap,s=new WeakMap;return(n=function(u){return u?s:l})(a)}function r(a,l){if(!l&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var s=n(l);if(s&&s.has(a))return s.get(a);var u={__proto__:null},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)){var h=c?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(u,f,h):u[f]=a[f]}return u.default=a,s&&s.set(a,u),u}f1.BaseSize=2,f1.FontGap=3;const i={visibility:"visible !important"};function o(a){const[l]=e.useState(()=>new Map);return[(f,h,d)=>{if(d){if(!l.get(d)){const g=document.createElement("div");l.set(d,g)}const p=l.get(d);p.setAttribute("style",(0,t.getStyleStr)(Object.assign(Object.assign(Object.assign({},a),{backgroundImage:`url('${f}')`,backgroundSize:`${Math.floor(h)}px`}),i))),p.removeAttribute("class"),d.append(p)}},f=>{const h=l.get(f);h&&f&&f.removeChild(h),l.delete(f)},f=>Array.from(l.values()).includes(f)]}return f1}var M8e;function Btn(){if(M8e)return $8;M8e=1;var e=ze;Object.defineProperty($8,"__esModule",{value:!0}),$8.default=void 0;var t=e(qr()),n=h(_),r=jtn,i=e(Tt()),o=Jt(),a=e(Hoe()),l=h(Dtn()),s=e(Ltn()),u=e(ztn()),c=xUe();function f(v){if(typeof WeakMap!="function")return null;var y=new WeakMap,b=new WeakMap;return(f=function(C){return C?b:y})(v)}function h(v,y){if(!y&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var b=f(y);if(b&&b.has(v))return b.get(v);var C={__proto__:null},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in v)if(S!=="default"&&Object.prototype.hasOwnProperty.call(v,S)){var w=x?Object.getOwnPropertyDescriptor(v,S):null;w&&(w.get||w.set)?Object.defineProperty(C,S,w):C[S]=v[S]}return C.default=v,b&&b.set(v,C),C}function d(v,y){return v.size===y.size?v:y}const p=100,g=100,m=v=>{var y,b;const{zIndex:C=9,rotate:x=-22,width:S,height:w,image:O,content:$,font:P={},style:T,className:R,rootClassName:M,gap:A=[p,g],offset:N,children:j,inherit:D=!0}=v,[,L]=(0,o.useToken)(),{color:B=L.colorFill,fontSize:k=L.fontSizeLG,fontWeight:z="normal",fontStyle:q="normal",fontFamily:W="sans-serif",textAlign:U="center"}=P,[K=p,X=g]=A,G=K/2,Y=X/2,J=(y=N==null?void 0:N[0])!==null&&y!==void 0?y:G,ee=(b=N==null?void 0:N[1])!==null&&b!==void 0?b:Y,Q=n.default.useMemo(()=>{const Ne={zIndex:C,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let je=J-G,He=ee-Y;return je>0&&(Ne.left=`${je}px`,Ne.width=`calc(100% - ${je}px)`,je=0),He>0&&(Ne.top=`${He}px`,Ne.height=`calc(100% - ${He}px)`,He=0),Ne.backgroundPosition=`${je}px ${He}px`,Ne},[C,J,G,ee,Y]),[te,ne]=n.default.useState(),[re,oe]=n.default.useState(new Set),se=n.default.useMemo(()=>{const Ne=te?[te]:[];return[].concat(Ne,(0,t.default)(Array.from(re)))},[te,re]),ye=Ne=>{let je=120,He=64;if(!O&&Ne.measureText){Ne.font=`${Number(k)}px ${W}`;const Be=Array.isArray($)?$:[$],qe=Be.map(me=>{const Ee=Ne.measureText(me);return[Ee.width,Ee.fontBoundingBoxAscent+Ee.fontBoundingBoxDescent]});je=Math.ceil(Math.max.apply(Math,(0,t.default)(qe.map(me=>me[0])))),He=Math.ceil(Math.max.apply(Math,(0,t.default)(qe.map(me=>me[1]))))*Be.length+(Be.length-1)*l.FontGap}return[S??je,w??He]},be=(0,l.default)(),[he,le]=n.default.useState(null),ve=()=>{const je=document.createElement("canvas").getContext("2d");if(je){const He=(0,c.getPixelRatio)(),[Be,qe]=ye(je),me=Ee=>{const[$e,Le]=be(Ee||"",x,He,Be,qe,{color:B,fontSize:k,fontStyle:q,fontWeight:z,fontFamily:W,textAlign:U},K,X);le([$e,Le])};if(O){const Ee=new Image;Ee.onload=()=>{me(Ee)},Ee.onerror=()=>{me($)},Ee.crossOrigin="anonymous",Ee.referrerPolicy="no-referrer",Ee.src=O}else me($)}},ke=(0,s.default)(ve),[Ie,Oe,Pe]=(0,u.default)(Q);(0,n.useEffect)(()=>{he&&se.forEach(Ne=>{Ie(he[0],he[1],Ne)})},[he,se]);const _e=Ne=>{Ne.forEach(je=>{(0,c.reRendering)(je,Pe)&&ke()})};(0,r.useMutateObserver)(se,_e),(0,n.useEffect)(ke,[x,C,S,w,O,$,B,k,z,q,W,U,K,X,J,ee]);const ce=n.default.useMemo(()=>({add:Ne=>{oe(je=>{const He=new Set(je);return He.add(Ne),d(je,He)})},remove:Ne=>{Oe(Ne),oe(je=>{const He=new Set(je);return He.delete(Ne),d(je,He)})}}),[]),Te=D?n.default.createElement(a.default.Provider,{value:ce},j):j;return n.default.createElement("div",{ref:ne,className:(0,i.default)(R,M),style:Object.assign({position:"relative"},T)},Te)};return $8.default=m,$8}(function(e){"use client";var t=ze;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Affix",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Alert",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Anchor",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"App",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"AutoComplete",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Avatar",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"BackTop",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"Badge",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Breadcrumb",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"Card",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"Carousel",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Cascader",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"Checkbox",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"Col",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"Collapse",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"ColorPicker",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"ConfigProvider",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"DatePicker",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"Descriptions",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"Divider",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"Drawer",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"Empty",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"Flex",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"FloatButton",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"Form",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"Grid",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"Input",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"InputNumber",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"Layout",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"List",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"Mentions",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"Menu",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"Modal",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"Pagination",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"Popconfirm",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"Popover",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"Progress",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"QRCode",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"Radio",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"Rate",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"Result",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"Row",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"Segmented",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"Select",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"Skeleton",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"Slider",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"Space",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"Spin",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"Statistic",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"Steps",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"Tabs",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"Tag",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"TimePicker",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"Timeline",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"Tour",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(e,"Transfer",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(e,"Tree",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(e,"TreeSelect",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"Typography",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(e,"Upload",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(e,"Watermark",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(e,"message",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"notification",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"theme",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return $e.default}});var n=t(wqe()),r=t(FUt()),i=t(VUt()),o=t($Gt()),a=t(WGt()),l=t(UGt()),s=t(YGt()),u=t(tVe()),c=t(OKt()),f=t(Ac()),h=t(kKt()),d=t(oXt()),p=t(sXt()),g=t(dXt()),m=t(fP()),v=t(hXt()),y=t(_Ve()),b=t(JXt()),C=t(Lt()),x=t(kVe()),S=t(yYt()),w=t(wVe()),O=t(_Yt()),$=t(kF()),P=t(Goe()),T=t($Yt()),R=t(NYt()),M=t(QYt()),A=t(DC()),N=t(gZt()),j=t(AF()),D=t($Ve()),L=t(CZt()),B=t(AZt()),k=t(DZt()),z=t(iae()),q=t(LZt()),W=t(BZt()),U=t(FZt()),K=t(zF()),X=t(WZt()),G=t(PF()),Y=t(bae()),J=t(eQt()),ee=t(MF()),Q=t(aQt()),te=t(hQt()),ne=t(gQt()),re=t(yQt()),oe=t(lP()),se=t(dae()),ye=t(xQt()),be=t(zVe()),he=t(pP()),le=t($Qt()),ve=t(BQt()),ke=t(WQt()),Ie=t(fen()),Oe=t(dVe()),Pe=t(ven()),_e=t(wen()),ce=t(Oen()),Te=t(Men()),Ne=t(kc()),je=t(Nen()),He=t(Wen()),Be=t(dUe()),qe=t(Uen()),me=t(ftn()),Ee=t(ktn()),$e=t(mqe()),Le=t(Btn())})(eqe);const Ftn=({onClick:e})=>ge.jsxs("button",{className:"select",onClick:e,children:[ge.jsx("span",{className:"text",children:"添加"}),ge.jsx("span",{className:"iconNew",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:ge.jsx("text",{x:"50%",y:"50%",dominantBaseline:"middle",textAnchor:"middle",fontSize:"45",fontWeight:"bold",children:"+"})})})]}),Htn=({style:e})=>{const[t,n]=_.useState(!0);return ge.jsxs("div",{className:"search_container",style:{marginLeft:e.marginLeft},children:[ge.jsx("input",{className:"checkbox",type:"checkbox",checked:t,onChange:()=>n(!t)}),ge.jsxs("div",{className:"mainbox",children:[ge.jsx("div",{className:"iconContainer",children:ge.jsx("svg",{viewBox:"0 0 512 512",height:"1em",xmlns:"http://www.w3.org/2000/svg",className:"search_icon",children:ge.jsx("path",{d:"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"})})}),ge.jsx("input",{className:"search_input",placeholder:"search",type:"text"})]})]})},Wtn=()=>{const[e]=ur.useForm(),[t,n]=_.useState(!1),[r,i]=_.useState(!1),[o,a]=_.useState([]),[l,s]=_.useState(0),u=Yl(y=>y.user.avatar);_.useEffect(()=>{c().then(y=>{a(y)})},[]);const c=async()=>Tr({url:"/api/protect/talk",method:"GET"}).then(y=>y.data.data).catch(y=>{console.log(y)}),f=()=>{n(!0)},h=y=>{s(y.talkKey),f(),e.setFieldsValue({talkTitle:y.talkTitle,content:y.content})},d=async()=>{if(l!==0){const y={talkTitle:e.getFieldsValue().talkTitle,content:e.getFieldsValue().content,updateTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss")};Tr({url:`/api/protect/talk/${l}`,method:"POST",data:y}).then(async b=>{b.status==200?c().then(C=>{a(C),fr.success("修改成功"),s(0),e.resetFields(),n(!1)}):(await fr.error("修改失败"),s(0),e.resetFields(),n(!1))})}else e.validateFields().then(()=>{i(!0),m(),fr.success("发布成功"),i(!1),e.resetFields(),n(!1)})},p=()=>{s(0),e.resetFields(),n(!1)},g=async y=>{try{Tr({url:`/api/protect/talk/${y}`,method:"DELETE"}).then(async b=>{b.status===200?c().then(C=>{a(C),fr.success("删除成功")}):await fr.error("删除失败")})}catch(b){console.log(b),await fr.error("删除失败")}},m=async()=>{const b={...e.getFieldsValue(),createTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss"),updateTime:$o(new Date).format("YYYY-MM-DD HH:mm:ss")};(await Tr({url:"/api/protect/talk",method:"POST",data:b})).status===200&&c().then(x=>{a(x)})},v={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}};return ge.jsx("div",{className:"Comments_Body",children:ge.jsxs(eqe.ConfigProvider,{theme:{components:{Card:{}}},children:[ge.jsxs("div",{className:"action",children:[ge.jsx(Ftn,{onClick:f}),ge.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:ge.jsxs("h2",{children:[" ",ge.jsx("i",{className:"iconfont icon-pinglun4",style:{fontWeight:"100",fontSize:50,color:"#13a8a8"}})," 说说 "]})}),ge.jsx(Htn,{style:{marginLeft:"50px"}})]}),ge.jsx(PB,{gutter:16,style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gridGap:30},children:o.map(y=>ge.jsx(Bv,{children:ge.jsx(mh,{hoverable:!0,style:{width:300,marginTop:25,fontWeight:600},className:"talkCard",actions:[ge.jsx(wNt,{onClick:()=>h(y)},"edit"),ge.jsx(hie,{title:"删除确认",description:"确定删除此说说?",onConfirm:()=>g(y.talkKey),okText:"Yes",cancelText:"No",style:{position:"absolute"},children:ge.jsx(LFe,{},"delete")})],children:ge.jsx(mh.Meta,{avatar:ge.jsx(ODe,{src:u}),title:y.talkTitle,description:y.content})})},y.talkKey))}),ge.jsx(vh,{title:"说说修改",open:t,onOk:d,confirmLoading:r,onCancel:p,okText:l===0?"发布":"保存",cancelText:"取消",children:ge.jsxs(ur,{...v,variant:"filled",style:{maxWidth:600},onFinish:m,form:e,children:[ge.jsx(ur.Item,{label:"标题",name:"talkTitle",children:ge.jsx(au,{})}),ge.jsx(ur.Item,{label:"内容",name:"content",children:ge.jsx(au.TextArea,{autoSize:!0})})]})})]})})};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the @@ -954,62 +954,62 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */var pJ=function(e,t){return pJ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},pJ(e,t)};function Utn(e,t){pJ(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var V9=function(){return V9=Object.assign||function(t){for(var n,r=1,i=arguments.length;re?d():t!==!0&&(i=setTimeout(r?p:d,r===void 0?e-f:e))}return u.cancel=s,u}var k3={Pixel:"Pixel",Percent:"Percent"},M8e={unit:k3.Percent,value:.8};function R8e(e){return typeof e=="number"?{unit:k3.Percent,value:e*100}:typeof e=="string"?e.match(/^(\d*(\.\d+)?)px$/)?{unit:k3.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:k3.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),M8e):(console.warn("scrollThreshold should be string or number"),M8e)}var Ktn=function(e){Utn(t,e);function t(n){var r=e.call(this,n)||this;return r.lastScrollTop=0,r.actionTriggered=!1,r.startY=0,r.currentY=0,r.dragging=!1,r.maxPullDownDistance=0,r.getScrollableTarget=function(){return r.props.scrollableTarget instanceof HTMLElement?r.props.scrollableTarget:typeof r.props.scrollableTarget=="string"?document.getElementById(r.props.scrollableTarget):(r.props.scrollableTarget===null&&console.warn(`You are trying to pass scrollableTarget but it is null. This might +***************************************************************************** */var hJ=function(e,t){return hJ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},hJ(e,t)};function qtn(e,t){hJ(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var U9=function(){return U9=Object.assign||function(t){for(var n,r=1,i=arguments.length;re?d():t!==!0&&(i=setTimeout(r?p:d,r===void 0?e-f:e))}return u.cancel=s,u}var k3={Pixel:"Pixel",Percent:"Percent"},R8e={unit:k3.Percent,value:.8};function I8e(e){return typeof e=="number"?{unit:k3.Percent,value:e*100}:typeof e=="string"?e.match(/^(\d*(\.\d+)?)px$/)?{unit:k3.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:k3.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),R8e):(console.warn("scrollThreshold should be string or number"),R8e)}var Utn=function(e){qtn(t,e);function t(n){var r=e.call(this,n)||this;return r.lastScrollTop=0,r.actionTriggered=!1,r.startY=0,r.currentY=0,r.dragging=!1,r.maxPullDownDistance=0,r.getScrollableTarget=function(){return r.props.scrollableTarget instanceof HTMLElement?r.props.scrollableTarget:typeof r.props.scrollableTarget=="string"?document.getElementById(r.props.scrollableTarget):(r.props.scrollableTarget===null&&console.warn(`You are trying to pass scrollableTarget but it is null. This might happen because the element may not have been added to DOM yet. See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info. - `),null)},r.onStart=function(i){r.lastScrollTop||(r.dragging=!0,i instanceof MouseEvent?r.startY=i.pageY:i instanceof TouchEvent&&(r.startY=i.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(i){r.dragging&&(i instanceof MouseEvent?r.currentY=i.pageY:i instanceof TouchEvent&&(r.currentY=i.touches[0].pageY),!(r.currentY=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(i){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(i)},0);var o=r.props.height||r._scrollableNode?i.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(o,r.props.scrollThreshold):r.isElementAtBottom(o,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=o.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Gtn(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing. + `),null)},r.onStart=function(i){r.lastScrollTop||(r.dragging=!0,i instanceof MouseEvent?r.startY=i.pageY:i instanceof TouchEvent&&(r.startY=i.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(i){r.dragging&&(i instanceof MouseEvent?r.currentY=i.pageY:i instanceof TouchEvent&&(r.currentY=i.touches[0].pageY),!(r.currentY=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(i){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(i)},0);var o=r.props.height||r._scrollableNode?i.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(o,r.props.scrollThreshold):r.isElementAtBottom(o,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=o.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Vtn(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing. Pull Down To Refresh functionality will not work - as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var i=n.dataLength!==r.prevDataLength;return i?V9(V9({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var i=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,o=R8e(r);return o.unit===k3.Pixel?n.scrollTop<=o.value+i-n.scrollHeight+1:n.scrollTop<=o.value/100+i-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var i=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,o=R8e(r);return o.unit===k3.Pixel?n.scrollTop+i>=n.scrollHeight-o.value:n.scrollTop+i>=o.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=V9({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),i=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),o=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return Se.createElement("div",{style:o,className:"infinite-scroll-component__outerdiv"},Se.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r},this.props.pullDownToRefresh&&Se.createElement("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a}},Se.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!i&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(_.Component);const _Ue=()=>ge.jsx(ge.Fragment,{children:ge.jsxs("button",{className:"noselect",children:[ge.jsx("span",{className:"text",children:"删除"}),ge.jsx("span",{className:"icon",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:ge.jsx("path",{d:"M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"})})})]})}),Xtn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAxdJREFUSEvNVkFPE1EQnplKJRhCNEZJTPTt0iCJF0gg3rB486BejNGT9BcYT4aDQYyJ4SY/ACsHD1y9iCfAk5EY8MBBpLsrRkWCJIRoaum+sVN3ybLdLW0DwU2abt6+N998733vm0E4pAcPCRf+P2CllCKiOwCgmFkhopL3KjvkyDdmdhBR3h0iml1eXp6JWlPBWAARMYuIaW+BEwxWBbiclCQp/8H1WusBx3HKiflPBbBhGNPCDhFHcrnc80Y1IAQSiUSamYclhmVZRixwR0fHIDNnS1s0ELdF9SaSSqXSWuvpcMxdjE3TlOweWpbVkOiUUt1EdI2ZF2zbfilJelqxvbgjkVttmmZWzsi27YF6mXV2dp4sFosWALR6Z33dB5fjk7Fg3DBjyWzGsqxMvcBKqUtEFFTwsGVZjyTOgQILgGmabwHgIgBsaa37HcdZ8MazJULpoMD2jbG/Q8I8mUwuLi0trftjnnYGqwFzWASy2FOmbGWsIVQ7mijRhhlXAHv3Oo1E34DZZebxkup31FmLFuoGNkxzlohS1HpqtOnE2fnC18WMLvzKaK2NsBPtG2Mf9Oi53lvBoH++fBgCt/g+l/v0IDju3deySxHRRNCAambMAJeFaRhUgm5vrPS4m6tjQda+OyEl5st3WLs9iInHfnK1AjtIlIwC9RnmnblJBBqXwDs229L2JHn6/Cs/Ob21dh8Yn7nu9rhX5XY5YtR1Uom29rtypnHn5rMuOaIUkcGo+e7WWntxY+WpgDO7XQBwI2jFlcBITc2q9/Zeai38+HiFC/luOnZ8Ki5JAd/++XkMmNcAoC32Hv+7OtTVbPTd3Au41u9l8HVHasBcrFcfBLAkmLfnXgPwZLAGVJZFxHvNqu9qrYxqmZe3372pWhb9a7GXuGoB8+eIFvTvzaGw6exi7JnAC0A0qKllKnnmglSVhh9f/cw8E67x0c0e0QQC9Is/MwMh4negI6uSAXr/UdmwLraD/DwT8eZIt5kJt1KRLY4w96wv3N7KcFyLG+wipSGor71teF/rXNhQU1cnRuT0QwP+Cyp3vy6980x9AAAAAElFTkSuQmCC",Ytn=({onClick:e})=>ge.jsxs("button",{className:"select",onClick:e,children:[ge.jsx("span",{className:"text",children:"上传"}),ge.jsx("span",{className:"icon",children:ge.jsx("img",{src:Xtn,alt:""})})]}),wUe=({checked:e,handleCheckBoxChange:t})=>ge.jsxs("label",{className:"Check_container",children:[ge.jsx("input",{checked:e,type:"checkbox",onChange:t}),ge.jsx("div",{className:"checkmark"})]}),Ztn=()=>{const[e,t]=_.useState([]),[n,r]=_.useState(0),[i,o]=_.useState({}),[a,l]=_.useState([]),[s,u]=_.useState(!1),[c,f]=_.useState(!1);_.useEffect(()=>{h()},[]);const h=()=>{Tr({url:"/api/protect/images",method:"GET"}).then(O=>{l(O.data.data)}).catch(O=>{throw O})},d=async()=>{},p=_.useCallback(()=>{const O=Object.keys(i).filter($=>i[$]);Tr({url:"/api/protect/delImg",method:"DELETE",data:O}).then($=>{$.status===200&&(h(),pr.success("删除成功"),o({}),r(0))}).catch($=>{pr.error("删除失败:"+$),o({}),r(0)})},[n,i]),g=O=>{const $=i[O.imageUrl]||!1;o(P=>({...P,[O.imageUrl]:!$})),r(P=>$?P-1:P+1)},m=()=>{u(!0)},v=()=>{t([]),u(!1)},y=()=>{t([]),u(!1)},{Dragger:b}=qFe,C={name:"file",fileList:e,multiple:!0,customRequest:async O=>{console.log(O);const $=new FormData;$.append("file",O.file);try{Tr({url:"/api/protect/upload",data:$,method:"post"}).then(P=>{P.status===200&&(h(),pr.success(`${O.file.name} 图片上传成功`))}).catch(P=>{throw P})}catch{pr.error("Error uploading file")}},onDrop(O){console.log("Dropped files",O.dataTransfer.files)},progress:{strokeColor:{"0%":"#108ee9","100%":"#87d068"},strokeWidth:3,format:O=>O&&`${parseFloat(O.toFixed(2))}%`}},x=()=>{if(n===0){pr.warning("待选中");return}else f(!0)},S=()=>{p(),f(!1)},w=()=>{f(!1)};return ge.jsxs("div",{style:{height:"100%"},children:[ge.jsxs(Ktn,{dataLength:a.length,next:d,hasMore:!0,loader:null,endMessage:ge.jsx("p",{style:{textAlign:"center"},children:ge.jsx("b",{children:"Yay! You have seen it all"})}),children:[ge.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:30,marginLeft:20,marginRight:20},className:"action_img",children:[ge.jsx(Ytn,{onClick:m}),ge.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:ge.jsxs("h2",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[" ",ge.jsx("i",{className:"iconfont icon-xiangce icon",style:{fontWeight:"80",fontSize:50,color:"#1668dc"}})," 图库 "]})}),ge.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[ge.jsxs("h2",{style:{position:"absolute",right:180,opacity:n!==0?1:0,transition:"0.3s"},children:["已选中",n,"张图片"]}),ge.jsx("div",{onClick:x,children:ge.jsx(_Ue,{})})]})]}),ge.jsx(mh,{style:{width:"100%",height:"86vh",marginLeft:"0%",marginTop:"0%",overflowY:"scroll",backgroundColor:"transparent",border:"none"},children:a.map(O=>ge.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[ge.jsx("div",{style:{position:"absolute",top:30,right:40,transform:"scale(0.8)",zIndex:3},children:ge.jsx(wUe,{checked:i[O.imageUrl]||!1,handleCheckBoxChange:()=>g(O)})}),ge.jsx("img",{src:O.imageUrl,onClick:()=>g(O),style:{maxWidth:250,maxHeight:250,margin:40,marginLeft:45,marginTop:30,borderRadius:10},className:"imgShade"})]},O.imageKey))}),ge.jsx(vh,{open:s,onOk:v,onCancel:y,okText:"完成",cancelText:"取消",children:ge.jsxs(b,{...C,listType:"picture",children:[ge.jsx("p",{className:"ant-upload-drag-icon",children:ge.jsx(BVt,{})}),ge.jsx("p",{className:"ant-upload-text",children:"点击或拖动文件到此区域进行上传"}),ge.jsx("p",{className:"ant-upload-hint",children:"支持单个或批量上传"})]})})]}),ge.jsx(vh,{title:"删除确认",open:c,onOk:S,onCancel:w,okText:"确定",cancelText:"取消",children:"是否删除选中所有图片?"})]})},Qtn=()=>{const[e,t]=_.useState(0),[n,r]=_.useState({}),[i,o]=_.useState([]),[a,l]=_.useState([]),[s,u]=_.useState(!1),c=_.useContext(XB),[f,h]=_.useState(!1);_.useEffect(()=>{d().then(w=>{o(w.filter(O=>O.status===1)),l(w.filter(O=>O.status===0))}).catch(w=>{console.error("获取朋友列表时出错:",w)}),u(c==="true")},[c]);const d=async()=>Tr({url:"/api/protected/friends",method:"GET"}).then(S=>S.data.data).catch(S=>{throw console.log(S),S}),p=()=>{if(e===0){pr.warning("待选中");return}const S=Object.keys(n).filter(w=>n[w]);Tr({url:"/api/protected/friends",method:"DELETE",data:S}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),pr.success("删除成功"),r({}),t(0)}).catch(O=>{console.error("获取朋友列表时出错:",O)})})},g=()=>{if(e===0){pr.warning("待选中");return}else h(!0)},m=()=>{p(),h(!1)},v=()=>{h(!1)},y=S=>{const w=n[S]||!1;r(O=>({...O,[S]:!w})),t(O=>w?O-1:O+1)},b=()=>i.reduce((w,O,$)=>{const P=Math.floor($/5);return w[P]||(w[P]=[]),w[P].push(O),w},[]).map((w,O)=>ge.jsx("ul",{className:"link-items",children:w.map($=>ge.jsxs("li",{className:"link-item",onClick:()=>y($.friendKey),children:[ge.jsx("div",{style:{position:"absolute",right:5,top:5},onClick:P=>{P.stopPropagation()},children:ge.jsx(wUe,{checked:n[$.friendKey]||!1,handleCheckBoxChange:()=>{y($.friendKey)}})}),ge.jsxs("a",{children:[ge.jsx("img",{alt:$.siteName,className:"lazyload","data-src":$.avatar,src:$.avatar}),ge.jsx("br",{}),ge.jsx("span",{className:"sitename",children:$.siteName}),ge.jsx("div",{className:"linkdes",children:$.description})]})]},$.friendKey))},O)),C=S=>{Tr({url:`/api/protected/friends/${S}`,method:"POST"}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),pr.success("已添加")}).catch(O=>{console.error("获取朋友列表时出错:",O)})})},x=S=>{Tr({url:"/api/protected/friends",method:"DELETE",data:[S]}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),pr.success("已拒绝")}).catch(O=>{console.error("获取朋友列表时出错:",O)})})};return ge.jsxs("div",{style:{height:"100%",padding:20,overflowY:"scroll"},className:"link",children:[ge.jsx(YE,{defaultActiveKey:"1",centered:!0,children:new Array(2).fill(null).map((S,w)=>ge.jsx(YE.TabPane,{tab:w===0?ge.jsx("h3",{children:"全部友链"}):ge.jsx("h3",{children:"友链申请"}),children:w===0?ge.jsxs(ge.Fragment,{children:[ge.jsx("h3",{className:"link-title",children:ge.jsx("span",{className:"link-fix",style:{color:s?"cornflowerblue":"black"},children:"Friends"})}),ge.jsx("div",{style:{float:"right"},children:ge.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[ge.jsxs("h3",{style:{position:"absolute",right:180,opacity:e!==0?1:0,transition:"0.3s"},children:["已选中",e,"条友链"]}),ge.jsx("div",{style:{transform:"scale(0.8)"},onClick:g,children:ge.jsx(_Ue,{})})]})}),b()]}):ge.jsxs(ge.Fragment,{children:[ge.jsx("h3",{className:"link-title",children:ge.jsx("span",{className:"link-fix",children:"友链申请"})}),ge.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(210px, 1fr))",gridGap:90},children:a.map(O=>ge.jsx(mh,{hoverable:!0,style:{width:270,marginTop:25},className:"resCard",actions:[ge.jsx(iB,{onClick:()=>C(O.friendKey)},"agree"),ge.jsx(Ic,{onClick:()=>x(O.friendKey)},"refused")],children:ge.jsx(mh.Meta,{avatar:ge.jsx(ODe,{src:O.avatar}),title:O.siteName,description:O.description})},O.friendKey))})]})},String(w+1)))}),ge.jsx(vh,{title:"删除确认",open:f,onOk:m,onCancel:v,okText:"确定",cancelText:"取消",children:"是否删除选中所有友链?"})]})},OUe=()=>[["cartesian"]];OUe.props={};function Jtn(e,t){return e=e%(2*Math.PI),t=t%(2*Math.PI),e<0&&(e=2*Math.PI+e),t<0&&(t=2*Math.PI+t),e>=t&&(t=t+2*Math.PI),{startAngle:e,endAngle:t}}const EUe=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1},n=Object.assign(Object.assign({},t),e);return Object.assign(Object.assign({},n),Jtn(n.startAngle,n.endAngle))},vP=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=EUe(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,i]]};vP.props={};const Sae=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];Sae.props={transform:!0};const enn=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},t),e)},$Ue=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=enn(e);return[...Sae(),...vP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};$Ue.props={};const PUe=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},t),e)},xae=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=PUe(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...vP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};xae.props={};const _ae=()=>[["parallel",0,1,0,1]];_ae.props={};const TUe=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",e,t,n,r,i]];TUe.props={transform:!0};const MUe=e=>{const{startAngle:t=-Math.PI/2,endAngle:n=Math.PI*3/2,innerRadius:r=0,outerRadius:i=1}=e;return[..._ae(),...vP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};MUe.props={};const RUe=({value:e})=>t=>t.map(()=>e);RUe.props={};const IUe=({value:e})=>t=>t.map(e);IUe.props={};const NUe=({value:e})=>t=>t.map(n=>n[e]);NUe.props={};const AUe=({value:e})=>()=>e;AUe.props={};var C7=function(e){return e!==null&&typeof e!="function"&&isFinite(e.length)},tnn=function(e,t){if(!C7(e))return e;for(var n=[],r=0;rn?n:e},Ro=function(e){return yP(e,"Number")},ann=1e-5;function U9(e,t,n){return n===void 0&&(n=ann),Math.abs(e-t)r&&(n=o,r=a)}return n}},snn=function(e,t){if(sa(e)){for(var n,r=1/0,i=0;ii&&(r=n,a(1),++t),n[l]=s}function a(l){t=0,n=Object.create(null),l||(r=Object.create(null))}return a(),{clear:a,has:function(l){return n[l]!==void 0||r[l]!==void 0},get:function(l){var s=n[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return o(l,s),s},set:function(l,s){n[l]!==void 0?n[l]=s:o(l,s)}}}const fnn=function(e,t,n){if(n===void 0&&(n=128),!rs(e))throw new TypeError("Expected a function");var r=function(){for(var i=[],o=0;ot?(r&&(clearTimeout(r),r=null),l=c,a=e.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(s,f)),a};return u.cancel=function(){clearTimeout(r),l=0,r=i=o=null},u},sK=function(){};function gJ(e){return Cn(e)?0:C7(e)?e.length:Object.keys(e).length}var Ki=1e-6,Io=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});function LC(){var e=new Io(9);return Io!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function vnn(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function ynn(e){var t=new Io(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function bnn(e,t,n,r,i,o,a,l,s){var u=new Io(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u[6]=a,u[7]=l,u[8]=s,u}function Cnn(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=c*a-l*u,h=-c*o+l*s,d=u*o-a*s,p=n*f+r*h+i*d;return p?(p=1/p,e[0]=f*p,e[1]=(-c*r+i*u)*p,e[2]=(l*r-i*a)*p,e[3]=h*p,e[4]=(c*n-i*s)*p,e[5]=(-l*n+i*o)*p,e[6]=d*p,e[7]=(-u*n+r*s)*p,e[8]=(a*n-r*o)*p,e):null}function Snn(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=n[0],d=n[1],p=n[2],g=n[3],m=n[4],v=n[5],y=n[6],b=n[7],C=n[8];return e[0]=h*r+d*a+p*u,e[1]=h*i+d*l+p*c,e[2]=h*o+d*s+p*f,e[3]=g*r+m*a+v*u,e[4]=g*i+m*l+v*c,e[5]=g*o+m*s+v*f,e[6]=y*r+b*a+C*u,e[7]=y*i+b*l+C*c,e[8]=y*o+b*s+C*f,e}function xnn(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e}function _nn(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function wnn(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}var Onn=Snn;function ci(){var e=new Io(16);return Io!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function $ae(e){var t=new Io(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function hy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Enn(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g){var m=new Io(16);return m[0]=e,m[1]=t,m[2]=n,m[3]=r,m[4]=i,m[5]=o,m[6]=a,m[7]=l,m[8]=s,m[9]=u,m[10]=c,m[11]=f,m[12]=h,m[13]=d,m[14]=p,m[15]=g,m}function mJ(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=l,e[7]=s,e[8]=u,e[9]=c,e[10]=f,e[11]=h,e[12]=d,e[13]=p,e[14]=g,e[15]=m,e}function CP(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function HUe(e,t){if(e===t){var n=t[1],r=t[2],i=t[3],o=t[6],a=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=o,e[11]=t[14],e[12]=i,e[13]=a,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function pd(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],g=t[13],m=t[14],v=t[15],y=n*l-r*a,b=n*s-i*a,C=n*u-o*a,x=r*s-i*l,S=r*u-o*l,w=i*u-o*s,O=c*g-f*p,$=c*m-h*p,P=c*v-d*p,T=f*m-h*g,R=f*v-d*g,M=h*v-d*m,A=y*M-b*R+C*T+x*P-S*$+w*O;return A?(A=1/A,e[0]=(l*M-s*R+u*T)*A,e[1]=(i*R-r*M-o*T)*A,e[2]=(g*w-m*S+v*x)*A,e[3]=(h*S-f*w-d*x)*A,e[4]=(s*P-a*M-u*$)*A,e[5]=(n*M-i*P+o*$)*A,e[6]=(m*C-p*w-v*b)*A,e[7]=(c*w-h*C+d*b)*A,e[8]=(a*R-l*P+u*O)*A,e[9]=(r*P-n*R-o*O)*A,e[10]=(p*S-g*C+v*y)*A,e[11]=(f*C-c*S-d*y)*A,e[12]=(l*$-a*T-s*O)*A,e[13]=(n*T-r*$+i*O)*A,e[14]=(g*b-p*x-m*y)*A,e[15]=(c*x-f*b+h*y)*A,e):null}function $nn(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],g=t[13],m=t[14],v=t[15];return e[0]=l*(h*v-d*m)-f*(s*v-u*m)+g*(s*d-u*h),e[1]=-(r*(h*v-d*m)-f*(i*v-o*m)+g*(i*d-o*h)),e[2]=r*(s*v-u*m)-l*(i*v-o*m)+g*(i*u-o*s),e[3]=-(r*(s*d-u*h)-l*(i*d-o*h)+f*(i*u-o*s)),e[4]=-(a*(h*v-d*m)-c*(s*v-u*m)+p*(s*d-u*h)),e[5]=n*(h*v-d*m)-c*(i*v-o*m)+p*(i*d-o*h),e[6]=-(n*(s*v-u*m)-a*(i*v-o*m)+p*(i*u-o*s)),e[7]=n*(s*d-u*h)-a*(i*d-o*h)+c*(i*u-o*s),e[8]=a*(f*v-d*g)-c*(l*v-u*g)+p*(l*d-u*f),e[9]=-(n*(f*v-d*g)-c*(r*v-o*g)+p*(r*d-o*f)),e[10]=n*(l*v-u*g)-a*(r*v-o*g)+p*(r*u-o*l),e[11]=-(n*(l*d-u*f)-a*(r*d-o*f)+c*(r*u-o*l)),e[12]=-(a*(f*m-h*g)-c*(l*m-s*g)+p*(l*h-s*f)),e[13]=n*(f*m-h*g)-c*(r*m-i*g)+p*(r*h-i*f),e[14]=-(n*(l*m-s*g)-a*(r*m-i*g)+p*(r*s-i*l)),e[15]=n*(l*h-s*f)-a*(r*h-i*f)+c*(r*s-i*l),e}function WUe(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],l=e[6],s=e[7],u=e[8],c=e[9],f=e[10],h=e[11],d=e[12],p=e[13],g=e[14],m=e[15],v=t*a-n*o,y=t*l-r*o,b=t*s-i*o,C=n*l-r*a,x=n*s-i*a,S=r*s-i*l,w=u*p-c*d,O=u*g-f*d,$=u*m-h*d,P=c*g-f*p,T=c*m-h*p,R=f*m-h*g;return v*R-y*T+b*P+C*$-x*O+S*w}function Ol(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],g=t[12],m=t[13],v=t[14],y=t[15],b=n[0],C=n[1],x=n[2],S=n[3];return e[0]=b*r+C*l+x*f+S*g,e[1]=b*i+C*s+x*h+S*m,e[2]=b*o+C*u+x*d+S*v,e[3]=b*a+C*c+x*p+S*y,b=n[4],C=n[5],x=n[6],S=n[7],e[4]=b*r+C*l+x*f+S*g,e[5]=b*i+C*s+x*h+S*m,e[6]=b*o+C*u+x*d+S*v,e[7]=b*a+C*c+x*p+S*y,b=n[8],C=n[9],x=n[10],S=n[11],e[8]=b*r+C*l+x*f+S*g,e[9]=b*i+C*s+x*h+S*m,e[10]=b*o+C*u+x*d+S*v,e[11]=b*a+C*c+x*p+S*y,b=n[12],C=n[13],x=n[14],S=n[15],e[12]=b*r+C*l+x*f+S*g,e[13]=b*i+C*s+x*h+S*m,e[14]=b*o+C*u+x*d+S*v,e[15]=b*a+C*c+x*p+S*y,e}function a0(e,t,n){var r=n[0],i=n[1],o=n[2],a,l,s,u,c,f,h,d,p,g,m,v;return t===e?(e[12]=t[0]*r+t[4]*i+t[8]*o+t[12],e[13]=t[1]*r+t[5]*i+t[9]*o+t[13],e[14]=t[2]*r+t[6]*i+t[10]*o+t[14],e[15]=t[3]*r+t[7]*i+t[11]*o+t[15]):(a=t[0],l=t[1],s=t[2],u=t[3],c=t[4],f=t[5],h=t[6],d=t[7],p=t[8],g=t[9],m=t[10],v=t[11],e[0]=a,e[1]=l,e[2]=s,e[3]=u,e[4]=c,e[5]=f,e[6]=h,e[7]=d,e[8]=p,e[9]=g,e[10]=m,e[11]=v,e[12]=a*r+c*i+p*o+t[12],e[13]=l*r+f*i+g*o+t[13],e[14]=s*r+h*i+m*o+t[14],e[15]=u*r+d*i+v*o+t[15]),e}function zD(e,t,n){var r=n[0],i=n[1],o=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Pnn(e,t,n,r){var i=r[0],o=r[1],a=r[2],l=Math.hypot(i,o,a),s,u,c,f,h,d,p,g,m,v,y,b,C,x,S,w,O,$,P,T,R,M,A,N;return l0?(n[0]=(l*a+c*r+s*o-u*i)*2/f,n[1]=(s*a+c*i+u*r-l*o)*2/f,n[2]=(u*a+c*o+l*i-s*r)*2/f):(n[0]=(l*a+c*r+s*o-u*i)*2,n[1]=(s*a+c*i+u*r-l*o)*2,n[2]=(u*a+c*o+l*i-s*r)*2),UUe(e,t,n),e}function BD(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function P4(e,t){var n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],l=t[6],s=t[8],u=t[9],c=t[10];return e[0]=Math.hypot(n,r,i),e[1]=Math.hypot(o,a,l),e[2]=Math.hypot(s,u,c),e}function FD(e,t){var n=new Io(3);P4(n,t);var r=1/n[0],i=1/n[1],o=1/n[2],a=t[0]*r,l=t[1]*i,s=t[2]*o,u=t[4]*r,c=t[5]*i,f=t[6]*o,h=t[8]*r,d=t[9]*i,p=t[10]*o,g=a+c+p,m=0;return g>0?(m=Math.sqrt(g+1)*2,e[3]=.25*m,e[0]=(f-d)/m,e[1]=(h-s)/m,e[2]=(l-u)/m):a>c&&a>p?(m=Math.sqrt(1+a-c-p)*2,e[3]=(f-d)/m,e[0]=.25*m,e[1]=(l+u)/m,e[2]=(h+s)/m):c>p?(m=Math.sqrt(1+c-a-p)*2,e[3]=(h-s)/m,e[0]=(l+u)/m,e[1]=.25*m,e[2]=(f+d)/m):(m=Math.sqrt(1+p-a-c)*2,e[3]=(l-u)/m,e[0]=(h+s)/m,e[1]=(f+d)/m,e[2]=.25*m),e}function knn(e,t,n,r){var i=t[0],o=t[1],a=t[2],l=t[3],s=i+i,u=o+o,c=a+a,f=i*s,h=i*u,d=i*c,p=o*u,g=o*c,m=a*c,v=l*s,y=l*u,b=l*c,C=r[0],x=r[1],S=r[2];return e[0]=(1-(p+m))*C,e[1]=(h+b)*C,e[2]=(d-y)*C,e[3]=0,e[4]=(h-b)*x,e[5]=(1-(f+m))*x,e[6]=(g+v)*x,e[7]=0,e[8]=(d+y)*S,e[9]=(g-v)*S,e[10]=(1-(f+p))*S,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function G9(e,t,n,r,i){var o=t[0],a=t[1],l=t[2],s=t[3],u=o+o,c=a+a,f=l+l,h=o*u,d=o*c,p=o*f,g=a*c,m=a*f,v=l*f,y=s*u,b=s*c,C=s*f,x=r[0],S=r[1],w=r[2],O=i[0],$=i[1],P=i[2],T=(1-(g+v))*x,R=(d+C)*x,M=(p-b)*x,A=(d-C)*S,N=(1-(h+v))*S,k=(m+y)*S,D=(p+b)*w,L=(m-y)*w,B=(1-(h+g))*w;return e[0]=T,e[1]=R,e[2]=M,e[3]=0,e[4]=A,e[5]=N,e[6]=k,e[7]=0,e[8]=D,e[9]=L,e[10]=B,e[11]=0,e[12]=n[0]+O-(T*O+A*$+D*P),e[13]=n[1]+$-(R*O+N*$+L*P),e[14]=n[2]+P-(M*O+k*$+B*P),e[15]=1,e}function Mae(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n+n,l=r+r,s=i+i,u=n*a,c=r*a,f=r*l,h=i*a,d=i*l,p=i*s,g=o*a,m=o*l,v=o*s;return e[0]=1-f-p,e[1]=c+v,e[2]=h-m,e[3]=0,e[4]=c-v,e[5]=1-u-p,e[6]=d+g,e[7]=0,e[8]=h+m,e[9]=d-g,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function jnn(e,t,n,r,i,o,a){var l=1/(n-t),s=1/(i-r),u=1/(o-a);return e[0]=o*2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o*2*s,e[6]=0,e[7]=0,e[8]=(n+t)*l,e[9]=(i+r)*s,e[10]=(a+o)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*o*2*u,e[15]=0,e}function GUe(e,t,n,r,i){var o=1/Math.tan(t/2),a;return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,i!=null&&i!==1/0?(a=1/(r-i),e[10]=(i+r)*a,e[14]=2*i*r*a):(e[10]=-1,e[14]=-2*r),e}var Dnn=GUe;function Lnn(e,t,n,r,i){var o=1/Math.tan(t/2),a;return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,i!=null&&i!==1/0?(a=1/(r-i),e[10]=i*a,e[14]=i*r*a):(e[10]=-1,e[14]=-r),e}function znn(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),o=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),s=2/(a+l),u=2/(i+o);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-((a-l)*s*.5),e[9]=(i-o)*u*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function KUe(e,t,n,r,i,o,a){var l=1/(t-n),s=1/(r-i),u=1/(o-a);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*l,e[13]=(i+r)*s,e[14]=(a+o)*u,e[15]=1,e}var XUe=KUe;function YUe(e,t,n,r,i,o,a){var l=1/(t-n),s=1/(r-i),u=1/(o-a);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=u,e[11]=0,e[12]=(t+n)*l,e[13]=(i+r)*s,e[14]=o*u,e[15]=1,e}function ZUe(e,t,n,r){var i,o,a,l,s,u,c,f,h,d,p=t[0],g=t[1],m=t[2],v=r[0],y=r[1],b=r[2],C=n[0],x=n[1],S=n[2];return Math.abs(p-C)0&&(d=1/Math.sqrt(d),c*=d,f*=d,h*=d);var p=s*h-u*f,g=u*c-l*h,m=l*f-s*c;return d=p*p+g*g+m*m,d>0&&(d=1/Math.sqrt(d),p*=d,g*=d,m*=d),e[0]=p,e[1]=g,e[2]=m,e[3]=0,e[4]=f*m-h*g,e[5]=h*p-c*m,e[6]=c*g-f*p,e[7]=0,e[8]=c,e[9]=f,e[10]=h,e[11]=0,e[12]=i,e[13]=o,e[14]=a,e[15]=1,e}function Fnn(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function Hnn(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function Wnn(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function QUe(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function qnn(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Vnn(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function Unn(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function Gnn(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],l=e[5],s=e[6],u=e[7],c=e[8],f=e[9],h=e[10],d=e[11],p=e[12],g=e[13],m=e[14],v=e[15],y=t[0],b=t[1],C=t[2],x=t[3],S=t[4],w=t[5],O=t[6],$=t[7],P=t[8],T=t[9],R=t[10],M=t[11],A=t[12],N=t[13],k=t[14],D=t[15];return Math.abs(n-y)<=Ki*Math.max(1,Math.abs(n),Math.abs(y))&&Math.abs(r-b)<=Ki*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-C)<=Ki*Math.max(1,Math.abs(i),Math.abs(C))&&Math.abs(o-x)<=Ki*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(a-S)<=Ki*Math.max(1,Math.abs(a),Math.abs(S))&&Math.abs(l-w)<=Ki*Math.max(1,Math.abs(l),Math.abs(w))&&Math.abs(s-O)<=Ki*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(u-$)<=Ki*Math.max(1,Math.abs(u),Math.abs($))&&Math.abs(c-P)<=Ki*Math.max(1,Math.abs(c),Math.abs(P))&&Math.abs(f-T)<=Ki*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(h-R)<=Ki*Math.max(1,Math.abs(h),Math.abs(R))&&Math.abs(d-M)<=Ki*Math.max(1,Math.abs(d),Math.abs(M))&&Math.abs(p-A)<=Ki*Math.max(1,Math.abs(p),Math.abs(A))&&Math.abs(g-N)<=Ki*Math.max(1,Math.abs(g),Math.abs(N))&&Math.abs(m-k)<=Ki*Math.max(1,Math.abs(m),Math.abs(k))&&Math.abs(v-D)<=Ki*Math.max(1,Math.abs(v),Math.abs(D))}var JUe=Ol,Knn=QUe;const Xnn=Object.freeze(Object.defineProperty({__proto__:null,add:Wnn,adjoint:$nn,clone:$ae,copy:hy,create:ci,determinant:WUe,equals:Gnn,exactEquals:Unn,frob:Hnn,fromQuat:Mae,fromQuat2:Ann,fromRotation:Mnn,fromRotationTranslation:UUe,fromRotationTranslationScale:knn,fromRotationTranslationScaleOrigin:G9,fromScaling:Tae,fromTranslation:Pae,fromValues:Enn,fromXRotation:Rnn,fromYRotation:Inn,fromZRotation:Nnn,frustum:jnn,getRotation:FD,getScaling:P4,getTranslation:BD,identity:CP,invert:pd,lookAt:ZUe,mul:JUe,multiply:Ol,multiplyScalar:qnn,multiplyScalarAndAdd:Vnn,ortho:XUe,orthoNO:KUe,orthoZO:YUe,perspective:Dnn,perspectiveFromFieldOfView:znn,perspectiveNO:GUe,perspectiveZO:Lnn,rotate:Pnn,rotateX:qUe,rotateY:VUe,rotateZ:Tnn,scale:zD,set:mJ,str:Fnn,sub:Knn,subtract:QUe,targetTo:Bnn,translate:a0,transpose:HUe},Symbol.toStringTag,{value:"Module"}));function _r(){var e=new Io(3);return Io!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function Rp(e){var t=new Io(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Fp(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function Br(e,t,n){var r=new Io(3);return r[0]=e,r[1]=t,r[2]=n,r}function Cs(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function ud(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function j3(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function A8e(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function Ynn(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function vJ(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function Znn(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.hypot(n,r,i)}function Uv(e,t){var n=t[0],r=t[1],i=t[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e}function yf(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Wk(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],l=n[1],s=n[2];return e[0]=i*s-o*l,e[1]=o*a-r*s,e[2]=r*l-i*a,e}function yJ(e,t,n,r){var i=t[0],o=t[1],a=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e}function xa(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,e[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,e[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,e[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,e}function eGe(e,t,n){var r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function Qnn(e,t,n){var r=n[0],i=n[1],o=n[2],a=n[3],l=t[0],s=t[1],u=t[2],c=i*u-o*s,f=o*l-r*u,h=r*s-i*l,d=i*h-o*f,p=o*c-r*h,g=r*f-i*c,m=a*2;return c*=m,f*=m,h*=m,d*=2,p*=2,g*=2,e[0]=l+c+d,e[1]=s+f+p,e[2]=u+h+g,e}function $8(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],l=t[2];return Math.abs(n-o)<=Ki*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=Ki*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-l)<=Ki*Math.max(1,Math.abs(i),Math.abs(l))}var k8e=Znn,tGe=Fp;(function(){var e=_r();return function(t,n,r,i,o,a){var l,s;for(n||(n=3),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;l0&&(a=1/Math.sqrt(a)),e[0]=n*a,e[1]=r*a,e[2]=i*a,e[3]=o*a,e}function l3(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,e}(function(){var e=a3();return function(t,n,r,i,o,a){var l,s;for(n||(n=4),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;lKi?(h=Math.acos(d),p=Math.sin(h),g=Math.sin((1-r)*h)/p,m=Math.sin(r*h)/p):(g=1-r,m=r),e[0]=g*i+m*s,e[1]=g*o+m*u,e[2]=g*a+m*c,e[3]=g*l+m*f,e}function uK(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o,l=a?1/a:0;return e[0]=-n*l,e[1]=-r*l,e[2]=-i*l,e[3]=o*l,e}function nrn(e,t){var n=t[0]+t[4]+t[8],r;if(n>0)r=Math.sqrt(n+1),e[3]=.5*r,r=.5/r,e[0]=(t[5]-t[7])*r,e[1]=(t[6]-t[2])*r,e[2]=(t[1]-t[3])*r;else{var i=0;t[4]>t[0]&&(i=1),t[8]>t[i*3+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;r=Math.sqrt(t[i*3+i]-t[o*3+o]-t[a*3+a]+1),e[i]=.5*r,r=.5/r,e[3]=(t[o*3+a]-t[a*3+o])*r,e[o]=(t[o*3+i]+t[i*3+o])*r,e[a]=(t[a*3+i]+t[i*3+a])*r}return e}function WN(e,t,n,r){var i=.5*Math.PI/180;t*=i,n*=i,r*=i;var o=Math.sin(t),a=Math.cos(t),l=Math.sin(n),s=Math.cos(n),u=Math.sin(r),c=Math.cos(r);return e[0]=o*s*c-a*l*u,e[1]=a*l*c+o*s*u,e[2]=a*s*u-o*l*c,e[3]=a*s*c+o*l*u,e}var dK=Jnn,qN=ern,j8e=l0,HD=trn;(function(){var e=_r(),t=Br(1,0,0),n=Br(0,1,0);return function(r,i,o){var a=yf(i,o);return a<-.999999?(Wk(e,t,i),tGe(e)<1e-6&&Wk(e,n,i),Uv(e,e),q1(r,e,Math.PI),r):a>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(Wk(e,i,o),r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=1+a,HD(r,r))}})();(function(){var e=Fo(),t=Fo();return function(n,r,i,o,a,l){return cK(e,r,a,l),cK(t,i,o,l),cK(n,e,t,2*l*(1-l)),n}})();(function(){var e=LC();return function(t,n,r,i){return e[0]=r[0],e[3]=r[1],e[6]=r[2],e[1]=i[0],e[4]=i[1],e[7]=i[2],e[2]=-n[0],e[5]=-n[1],e[8]=-n[2],HD(t,nrn(t,e))}})();function rrn(){var e=new Io(2);return Io!=Float32Array&&(e[0]=0,e[1]=0),e}function irn(e,t){var n=new Io(2);return n[0]=e,n[1]=t,n}function orn(e,t){return e[0]=t[0],e[1]=t[1],e}function arn(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e}function lrn(e,t){return e[0]*t[0]+e[1]*t[1]}function srn(e,t){return e[0]===t[0]&&e[1]===t[1]}(function(){var e=rrn();return function(t,n,r,i,o,a){var l,s;for(n||(n=2),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;l0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ae(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function nGe(){for(var e=0,t=0,n=arguments.length;t7){e[n].shift();for(var r=e[n],i=n;r.length;)t[n]="A",e.splice(i+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}var K9={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0};function iGe(e){return Array.isArray(e)&&e.every(function(t){var n=t[0].toLowerCase();return K9[n]===t.length-1&&"achlmqstvz".includes(n)})}function oGe(e){return iGe(e)&&e.every(function(t){var n=t[0];return n===n.toUpperCase()})}function aGe(e){return oGe(e)&&e.every(function(t){var n=t[0];return"ACLMQZ".includes(n)})}function D8e(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=K9[n]&&(n==="m"&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t=t==="m"?"l":"L"):e.segments.push([t].concat(r.splice(0,K9[n]))),!!K9[n]););}function urn(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(r===48){e.param=0,e.index+=1;return}if(r===49){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}function drn(e){return e>=48&&e<=57||e===43||e===45||e===46}function m2(e){return e>=48&&e<=57}function frn(e){var t=e.max,n=e.pathValue,r=e.index,i=r,o=!1,a=!1,l=!1,s=!1,u;if(i>=t){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if(u=n.charCodeAt(i),(u===43||u===45)&&(i+=1,u=n.charCodeAt(i)),!m2(u)&&u!==46){e.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" is not a number';return}if(u!==46){if(o=u===48,i+=1,u=n.charCodeAt(i),o&&i=5760&&t.includes(e)}function qk(e){for(var t=e.pathValue,n=e.max;e.index0;a-=1){if(grn(i)&&(a===3||a===4)?urn(e):frn(e),e.err.length)return;e.data.push(e.param),qk(e),e.index=e.max||!drn(n.charCodeAt(e.index)))break}D8e(e)}var vrn=function(){function e(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}return e}();function yrn(e){if(iGe(e))return[].concat(e);var t=new vrn(e);for(qk(t);t.index1&&(P=Math.sqrt(P),h*=P,d*=P);var T=h*h,R=d*d,M=(o===a?-1:1)*Math.sqrt(Math.abs((T*R-T*$*$-R*O*O)/(T*$*$+R*O*O)));S=M*h*$/d+(c+p)/2,w=M*-d*O/h+(f+g)/2,C=Math.asin(((f-w)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),x=Math.asin(((g-w)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),C=cx&&(C-=Math.PI*2),!a&&x>C&&(x-=Math.PI*2)}var A=x-C;if(Math.abs(A)>m){var N=x,k=p,D=g;x=C+m*(a&&x>C?1:-1),p=S+h*Math.cos(x),g=w+d*Math.sin(x),y=Rae(p,g,h,d,i,0,a,k,D,[x,N,S,w])}A=x-C;var L=Math.cos(C),B=Math.sin(C),j=Math.cos(x),z=Math.sin(x),V=Math.tan(A/4),W=4/3*h*V,U=4/3*d*V,K=[c,f],X=[c+W*B,f-U*L],G=[p+W*z,g-U*j],Y=[p,g];if(X[0]=2*K[0]-X[0],X[1]=2*K[1]-X[1],u)return X.concat(G,Y,y);y=X.concat(G,Y,y);for(var J=[],ee=0,Q=y.length;ee=o)a={x:n,y:r};else{var l=M1([e,t],[n,r],i/o),s=l[0],u=l[1];a={x:s,y:u}}return{length:o,point:a,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function z8e(e,t){var n=e.x,r=e.y,i=t.x,o=t.y,a=n*i+r*o,l=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(o,2))),s=n*o-r*i<0?-1:1,u=s*Math.acos(a/l);return u}function Ern(e,t,n,r,i,o,a,l,s,u){var c=Math.abs,f=Math.sin,h=Math.cos,d=Math.sqrt,p=Math.PI,g=c(n),m=c(r),v=(i%360+360)%360,y=v*(p/180);if(e===l&&t===s)return{x:e,y:t};if(g===0||m===0)return SJ(e,t,l,s,u).point;var b=(e-l)/2,C=(t-s)/2,x={x:h(y)*b+f(y)*C,y:-f(y)*b+h(y)*C},S=Math.pow(x.x,2)/Math.pow(g,2)+Math.pow(x.y,2)/Math.pow(m,2);S>1&&(g*=d(S),m*=d(S));var w=Math.pow(g,2)*Math.pow(m,2)-Math.pow(g,2)*Math.pow(x.y,2)-Math.pow(m,2)*Math.pow(x.x,2),O=Math.pow(g,2)*Math.pow(x.y,2)+Math.pow(m,2)*Math.pow(x.x,2),$=w/O;$=$<0?0:$;var P=(o!==a?1:-1)*d($),T={x:P*(g*x.y/m),y:P*(-(m*x.x)/g)},R={x:h(y)*T.x-f(y)*T.y+(e+l)/2,y:f(y)*T.x+h(y)*T.y+(t+s)/2},M={x:(x.x-T.x)/g,y:(x.y-T.y)/m},A=z8e({x:1,y:0},M),N={x:(-x.x-T.x)/g,y:(-x.y-T.y)/m},k=z8e(M,N);!a&&k>0?k-=2*p:a&&k<0&&(k+=2*p),k%=2*p;var D=A+k*u,L=g*h(D),B=m*f(D),j={x:h(y)*L-f(y)*B+R.x,y:f(y)*L+h(y)*B+R.y};return j}function $rn(e,t,n,r,i,o,a,l,s,u,c){var f,h=c.bbox,d=h===void 0?!0:h,p=c.length,g=p===void 0?!0:p,m=c.sampleSize,v=m===void 0?30:m,y=typeof u=="number",b=e,C=t,x=0,S=[b,C,x],w=[b,C],O=0,$={x:0,y:0},P=[{x:b,y:C}];y&&u<=0&&($={x:b,y:C});for(var T=0;T<=v;T+=1){if(O=T/v,f=Ern(e,t,n,r,i,o,a,l,s,O),b=f.x,C=f.y,d&&P.push({x:b,y:C}),g&&(x+=ys(w,[b,C])),w=[b,C],y&&x>=u&&u>S[2]){var R=(x-u)/(x-S[2]);$={x:w[0]*(1-R)+S[0]*R,y:w[1]*(1-R)+S[1]*R}}S=[b,C,x]}return y&&u>=x&&($={x:l,y:s}),{length:x,point:$,min:{x:Math.min.apply(null,P.map(function(M){return M.x})),y:Math.min.apply(null,P.map(function(M){return M.y}))},max:{x:Math.max.apply(null,P.map(function(M){return M.x})),y:Math.max.apply(null,P.map(function(M){return M.y}))}}}function Prn(e,t,n,r,i,o,a,l,s){var u=1-s;return{x:Math.pow(u,3)*e+3*Math.pow(u,2)*s*n+3*u*Math.pow(s,2)*i+Math.pow(s,3)*a,y:Math.pow(u,3)*t+3*Math.pow(u,2)*s*r+3*u*Math.pow(s,2)*o+Math.pow(s,3)*l}}function lGe(e,t,n,r,i,o,a,l,s,u){var c,f=u.bbox,h=f===void 0?!0:f,d=u.length,p=d===void 0?!0:d,g=u.sampleSize,m=g===void 0?10:g,v=typeof s=="number",y=e,b=t,C=0,x=[y,b,C],S=[y,b],w=0,O={x:0,y:0},$=[{x:y,y:b}];v&&s<=0&&(O={x:y,y:b});for(var P=0;P<=m;P+=1){if(w=P/m,c=Prn(e,t,n,r,i,o,a,l,w),y=c.x,b=c.y,h&&$.push({x:y,y:b}),p&&(C+=ys(S,[y,b])),S=[y,b],v&&C>=s&&s>x[2]){var T=(C-s)/(C-x[2]);O={x:S[0]*(1-T)+x[0]*T,y:S[1]*(1-T)+x[1]*T}}x=[y,b,C]}return v&&s>=C&&(O={x:a,y:l}),{length:C,point:O,min:{x:Math.min.apply(null,$.map(function(R){return R.x})),y:Math.min.apply(null,$.map(function(R){return R.y}))},max:{x:Math.max.apply(null,$.map(function(R){return R.x})),y:Math.max.apply(null,$.map(function(R){return R.y}))}}}function Trn(e,t,n,r,i,o,a){var l=1-a;return{x:Math.pow(l,2)*e+2*l*a*n+Math.pow(a,2)*i,y:Math.pow(l,2)*t+2*l*a*r+Math.pow(a,2)*o}}function Mrn(e,t,n,r,i,o,a,l){var s,u=l.bbox,c=u===void 0?!0:u,f=l.length,h=f===void 0?!0:f,d=l.sampleSize,p=d===void 0?10:d,g=typeof a=="number",m=e,v=t,y=0,b=[m,v,y],C=[m,v],x=0,S={x:0,y:0},w=[{x:m,y:v}];g&&a<=0&&(S={x:m,y:v});for(var O=0;O<=p;O+=1){if(x=O/p,s=Trn(e,t,n,r,i,o,x),m=s.x,v=s.y,c&&w.push({x:m,y:v}),h&&(y+=ys(C,[m,v])),C=[m,v],g&&y>=a&&a>b[2]){var $=(y-a)/(y-b[2]);S={x:C[0]*(1-$)+b[0]*$,y:C[1]*(1-$)+b[1]*$}}b=[m,v,y]}return g&&a>=y&&(S={x:i,y:o}),{length:y,point:S,min:{x:Math.min.apply(null,w.map(function(P){return P.x})),y:Math.min.apply(null,w.map(function(P){return P.y}))},max:{x:Math.max.apply(null,w.map(function(P){return P.x})),y:Math.max.apply(null,w.map(function(P){return P.y}))}}}function sGe(e,t,n){for(var r,i,o,a,l,s,u=WD(e),c=typeof t=="number",f,h=[],d,p=0,g=0,m=0,v=0,y,b=[],C=[],x=0,S={x:0,y:0},w=S,O=S,$=S,P=0,T=0,R=u.length;T=t&&($=O),C.push(w),b.push(S),P+=x,s=d!=="Z"?y.slice(-2):[m,v],p=s[0],g=s[1];return c&&t>=P&&($={x:p,y:g}),{length:P,point:$,min:{x:Math.min.apply(null,b.map(function(M){return M.x})),y:Math.min.apply(null,b.map(function(M){return M.y}))},max:{x:Math.max.apply(null,C.map(function(M){return M.x})),y:Math.max.apply(null,C.map(function(M){return M.y}))}}}function Rrn(e,t){return sGe(e,void 0,Mt(Mt({},t),{bbox:!1,length:!0})).length}function Irn(e){var t=e.length,n=t-1;return e.map(function(r,i){return e.map(function(o,a){var l=i+a,s;return a===0||e[l]&&e[l][0]==="M"?(s=e[l],["M"].concat(s.slice(-2))):(l>=t&&(l-=n),e[l])})})}function Nrn(e,t){var n=e.length-1,r=[],i=0,o=0,a=Irn(e);return a.forEach(function(l,s){e.slice(1).forEach(function(u,c){o+=ys(e[(s+c)%n].slice(-2),t[c%n].slice(-2))}),r[s]=o,o=0}),i=r.indexOf(Math.min.apply(null,r)),a[i]}function Arn(e,t,n,r,i,o,a,l){return 3*((l-t)*(n+i)-(a-e)*(r+o)+r*(e-i)-n*(t-o)+l*(i+e/3)-a*(o+t/3))/20}function krn(e){var t=0,n=0,r=0;return CJ(e).map(function(i){var o;switch(i[0]){case"M":return t=i[1],n=i[2],0;default:var a=i.slice(1),l=a[0],s=a[1],u=a[2],c=a[3],f=a[4],h=a[5];return r=Arn(t,n,l,s,u,c,f,h),o=i.slice(-2),t=o[0],n=o[1],r}}).reduce(function(i,o){return i+o},0)}function B8e(e){return krn(e)>=0}function jrn(e,t,n){return sGe(e,t,Mt(Mt({},n),{bbox:!1,length:!0})).point}function Drn(e,t){t===void 0&&(t=.5);var n=e.slice(0,2),r=e.slice(2,4),i=e.slice(4,6),o=e.slice(6,8),a=M1(n,r,t),l=M1(r,i,t),s=M1(i,o,t),u=M1(a,l,t),c=M1(l,s,t),f=M1(u,c,t);return[["C"].concat(a,u,f),["C"].concat(c,s,o)]}function F8e(e){return e.map(function(t,n,r){var i=n&&r[n-1].slice(-2).concat(t.slice(1)),o=n?lGe(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],{bbox:!1}).length:0,a;return n?a=o?Drn(i):[t,t]:a=[t],{s:t,ss:a,l:o}})}function cGe(e,t,n){var r=F8e(e),i=F8e(t),o=r.length,a=i.length,l=r.filter(function(m){return m.l}).length,s=i.filter(function(m){return m.l}).length,u=r.filter(function(m){return m.l}).reduce(function(m,v){var y=v.l;return m+y},0)/l||0,c=i.filter(function(m){return m.l}).reduce(function(m,v){var y=v.l;return m+y},0)/s||0,f=n||Math.max(o,a),h=[u,c],d=[f-o,f-a],p=0,g=[r,i].map(function(m,v){return m.l===f?m.map(function(y){return y.s}):m.map(function(y,b){return p=b&&d[v]&&y.l>=h[v],d[v]-=p?1:0,p?y.ss:[y.s]}).flat()});return g[0].length===g[1].length?g:cGe(g[0],g[1],f)}function H8e(e){var t=document.createElement("div");t.innerHTML=e;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}function Ni(e,t){if(e!==null)return{type:"column",value:e,field:t}}function WF(e,t){const n=Ni(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function qD(e,t){if(e!==null)return{type:"column",value:e,field:t,visual:!0}}function Lrn(e,t){const n=Ni(e,t);return Object.assign(Object.assign({},n),{constant:!1})}function s0(e,t){const n=[];for(const r of e)n[r]=t;return n}function Nr(e,t){const n=e[t];if(!n)return[null,null];const{value:r,field:i=null}=n;return[r,i]}function x7(e,...t){for(const n of t)if(typeof n=="string"){const[r,i]=Nr(e,n);if(r!==null)return[r,i]}else return[n,null];return[null,null]}function SP(e){return e instanceof Date?!1:typeof e=="object"}const xP=()=>(e,t)=>{const{encode:n}=t,{y1:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{y1:WF(s0(e,0))}})]};xP.props={};function po(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function zrn(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function R4(e){let t,n,r;e.length!==2?(t=po,n=(l,s)=>po(e(l),s),r=(l,s)=>e(l)-s):(t=e===po||e===zrn?e:Brn,n=e,r=e);function i(l,s,u=0,c=l.length){if(u>>1;n(l[f],s)<0?u=f+1:c=f}while(u>>1;n(l[f],s)<=0?u=f+1:c=f}while(uu&&r(l[f-1],s)>-r(l[f],s)?f-1:f}return{left:i,center:a,right:o}}function Brn(){return 0}function xJ(e){return e===null?NaN:+e}function*Frn(e,t){if(t===void 0)for(let n of e)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}const uGe=R4(po),Hrn=uGe.right,Wrn=uGe.left,qrn=R4(xJ).center;function dGe(e,t){let n=0;if(t===void 0)for(let r of e)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(i=+i)>=i&&++n}return n}function Vrn(e,t){let n=0,r,i=0,o=0;if(t===void 0)for(let a of e)a!=null&&(a=+a)>=a&&(r=a-i,i+=r/++n,o+=r*(a-i));else{let a=-1;for(let l of e)(l=t(l,++a,e))!=null&&(l=+l)>=l&&(r=l-i,i+=r/++n,o+=r*(l-i))}if(n>1)return o/(n-1)}function fGe(e,t){const n=Vrn(e,t);return n&&Math.sqrt(n)}function eh(e,t){let n,r;if(t===void 0)for(const i of e)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r=o&&(n=r=o):(n>o&&(n=o),r=r.length)return n(o);const l=new zFt,s=r[a++];let u=-1;for(const c of o){const f=s(c,++u,o),h=l.get(f);h?h.push(c):l.set(f,[c])}for(const[c,f]of l)l.set(c,i(f,a));return t(l)}(e,0)}function Urn(e,t){return Array.from(t,n=>e[n])}function th(e,...t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&n.length!==2||t.length>1){const r=Uint32Array.from(e,(i,o)=>o);return t.length>1?(t=t.map(i=>e.map(i)),r.sort((i,o)=>{for(const a of t){const l=w7(a[i],a[o]);if(l)return l}})):(n=e.map(n),r.sort((i,o)=>w7(n[i],n[o]))),Urn(e,r)}return e.sort(hGe(n))}function hGe(e=po){if(e===po)return w7;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function w7(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}function Grn(e,t,n){return(t.length!==2?th(Nae(e,t,n),([r,i],[o,a])=>po(i,a)||po(r,o)):th(Ji(e,n),([r,i],[o,a])=>t(i,a)||po(r,o))).map(([r])=>r)}var Krn=Array.prototype,Xrn=Krn.slice;function pK(e){return()=>e}const Yrn=Math.sqrt(50),Zrn=Math.sqrt(10),Qrn=Math.sqrt(2);function VD(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Yrn?10:o>=Zrn?5:o>=Qrn?2:1;let l,s,u;return i<0?(u=Math.pow(10,-i)/a,l=Math.round(e*u),s=Math.round(t*u),l/ut&&--s,u=-u):(u=Math.pow(10,i)*a,l=Math.round(e/u),s=Math.round(t/u),l*ut&&--s),s0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,s=new Array(l);if(r)if(a<0)for(let u=0;u0?(e=Math.floor(e/i)*i,t=Math.ceil(t/i)*i):i<0&&(e=Math.ceil(e*i)/i,t=Math.floor(t*i)/i),r=i}}function tin(e){return Math.max(1,Math.ceil(Math.log(dGe(e))/Math.LN2)+1)}function nin(){var e=_7,t=eh,n=tin;function r(i){Array.isArray(i)||(i=Array.from(i));var o,a=i.length,l,s,u=new Array(a);for(o=0;o=h)if(b>=h&&t===eh){const x=_J(f,h,C);isFinite(x)&&(x>0?h=(Math.floor(h/x)+1)*x:x<0&&(h=(Math.ceil(h*-x)+1)/-x))}else d.pop()}for(var p=d.length,g=0,m=p;d[g]<=f;)++g;for(;d[m-1]>h;)--m;(g||m0?d[o-1]:f,y.x1=o0)for(o=0;o=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function zC(e,t){let n,r=-1,i=-1;if(t===void 0)for(const o of e)++i,o!=null&&(n=o)&&(n=o,r=i);else for(let o of e)(o=t(o,++i,e))!=null&&(n=o)&&(n=o,r=i);return r}function $c(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function VF(e,t){let n,r=-1,i=-1;if(t===void 0)for(const o of e)++i,o!=null&&(n>o||n===void 0&&o>=o)&&(n=o,r=i);else for(let o of e)(o=t(o,++i,e))!=null&&(n>o||n===void 0&&o>=o)&&(n=o,r=i);return r}function Aae(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?w7:hGe(i);r>n;){if(r-n>600){const s=r-n+1,u=t-n+1,c=Math.log(s),f=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*f*(s-f)/s)*(u-s/2<0?-1:1),d=Math.max(n,Math.floor(t-u*f/s+h)),p=Math.min(r,Math.floor(t+(s-u)*f/s+h));Aae(e,t,d,p,i)}const o=e[t];let a=n,l=r;for(P8(e,n,t),i(e[r],o)>0&&P8(e,n,r);a0;)--l}i(e[n],o)===0?P8(e,n,l):(++l,P8(e,l,r)),l<=t&&(n=l+1),t<=l&&(r=l-1)}return e}function P8(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function rin(e,t=po){let n,r=!1;if(t.length===1){let i;for(const o of e){const a=t(o);(r?po(a,i)>0:po(a,a)===0)&&(n=o,i=a,r=!0)}}else for(const i of e)(r?t(i,n)>0:t(i,i)===0)&&(n=i,r=!0);return n}function UF(e,t,n){if(e=Float64Array.from(Frn(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return $c(e);if(t>=1)return ri(e);var r,i=(r-1)*t,o=Math.floor(i),a=ri(Aae(e,o).subarray(0,o+1)),l=$c(e.subarray(o+1));return a+(l-a)*(i-o)}}function iin(e,t,n=xJ){if(!isNaN(t=+t)){if(r=Float64Array.from(e,(l,s)=>xJ(n(e[s],s,e))),t<=0)return VF(r);if(t>=1)return zC(r);var r,i=Uint32Array.from(e,(l,s)=>s),o=r.length-1,a=Math.floor(o*t);return Aae(i,a,0,o,(l,s)=>w7(r[l],r[s])),a=rin(i.subarray(0,a+1),l=>r[l]),a>=0?a:-1}}function oin(e,t,n){const r=dGe(e),i=fGe(e);return r&&i?Math.ceil((n-t)*Math.cbrt(r)/(3.49*i)):1}function O7(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function kae(e,t){return UF(e,.5,t)}function ain(e,t){return iin(e,.5,t)}function cu(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}var lin=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};function gy(e){return e}function jae(e){return e.reduce((t,n)=>(r,...i)=>n(t(r,...i),...i),gy)}function sin(e){return e.reduce((t,n)=>r=>lin(this,void 0,void 0,function*(){const i=yield t(r);return n(i)}),gy)}function Dae(e){return e.replace(/( |^)[a-z]/g,t=>t.toUpperCase())}function I4(e=""){throw new Error(e)}function Lae(e,t){const{attributes:n}=t,r=new Set(["id","className"]);for(const[i,o]of Object.entries(n))r.has(i)||(i==="transform"&&e.attr(i,""),e.attr(i,o))}function Pi(e){return e!=null&&!Number.isNaN(e)}function cin(e){const t=new Map;return n=>{if(t.has(n))return t.get(n);const r=e(n);return t.set(n,r),r}}function uin(e,t){const{transform:n}=e.style,i=(o=>o==="none"||o===void 0)(n)?"":n;e.style.transform=`${i} ${t}`.trimStart()}function hn(e,t){return gGe(e,t)||{}}function gGe(e,t){const n=Object.entries(e||{}).filter(([r])=>r.startsWith(t)).map(([r,i])=>[LUe(r.replace(t,"").trim()),i]).filter(([r])=>!!r);return n.length===0?null:Object.fromEntries(n)}function din(e,t){return Object.fromEntries(Object.entries(e).filter(([n])=>t.find(r=>n.startsWith(r))))}function hK(e,...t){return Object.fromEntries(Object.entries(e).filter(([n])=>t.every(r=>!n.startsWith(r))))}function W8e(e,t){if(e===void 0)return null;if(typeof e=="number")return e;const n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function E7(e){return typeof e=="object"&&!(e instanceof Date)&&e!==null&&!Array.isArray(e)}function xh(e){return e===null||e===!1}function mGe(e,t,n=5,r=0){if(!(r>=n)){for(const i of Object.keys(t)){const o=t[i];!Sh(o)||!Sh(e[i])?e[i]=o:mGe(e[i],o,n,r+1)}return e}}function D0(e,t){return Object.entries(e).reduce((n,[r,i])=>(n[r]=t(i,r,e),n),{})}function tb(e){return e.map((t,n)=>n)}function fin(e){return e[0]}function vGe(e){return e[e.length-1]}function pin(e){return Array.from(new Set(e))}function yGe(e,t){const n=[[],[]];return e.forEach(r=>{n[t(r)?0:1].push(r)}),n}function bGe(e,t=e.length){if(t===1)return e.map(r=>[r]);const n=[];for(let r=0;r{n.push([e[r],...a])})}return n}function hin(e){if(e.length===1)return[e];const t=[];for(let n=1;n<=e.length;n++)t.push(...bGe(e,n));return t}function L0(e,t,n){const{encode:r}=n;if(e===null)return[t];const i=gin(e).map(a=>{var l;return[a,(l=Nr(r,a))===null||l===void 0?void 0:l[0]]}).filter(([,a])=>Pi(a)),o=a=>i.map(([,l])=>l[a]).join("-");return Array.from(Ji(t,o).values())}function CGe(e){return Array.isArray(e)?yin(e):typeof e=="function"?vin(e):e==="series"?min:e==="value"?bin:e==="sum"?Cin:e==="maxIndex"?Sin:()=>null}function SGe(e,t){for(const n of e)n.sort(t)}function xGe(e,t){return(t==null?void 0:t.domain)||Array.from(new Set(e))}function gin(e){return Array.isArray(e)?e:[e]}function min(e,t,n){return _P(r=>n[r])}function vin(e){return(t,n,r)=>_P(i=>e(t[i]))}function yin(e){return(t,n,r)=>(i,o)=>e.reduce((a,l)=>a!==0?a:po(t[i][l],t[o][l]),0)}function bin(e,t,n){return _P(r=>t[r])}function Cin(e,t,n){const r=tb(e),i=Array.from(Ji(r,a=>n[+a]).entries()),o=new Map(i.map(([a,l])=>[a,l.reduce((s,u)=>s+ +t[u])]));return _P(a=>o.get(n[a]))}function Sin(e,t,n){const r=tb(e),i=Array.from(Ji(r,a=>n[+a]).entries()),o=new Map(i.map(([a,l])=>[a,zC(l,s=>t[s])]));return _P(a=>o.get(n[a]))}function _P(e){return(t,n)=>po(e(t),e(n))}const _Ge=(e={})=>{const{groupBy:t="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:o="y1",series:a=!0}=e;return(l,s)=>{const{data:u,encode:c,style:f={}}=s,[h,d]=Nr(c,"y"),[p,g]=Nr(c,"y1"),[m]=a?x7(c,"series","color"):Nr(c,"color"),v=L0(t,l,s),b=CGe(n)(u,h,m);b&&SGe(v,b);const C=new Array(l.length),x=new Array(l.length),S=new Array(l.length),w=[],O=[];for(const M of v){r&&M.reverse();const A=p?+p[M[0]]:0,N=[],k=[];for(const W of M){const U=S[W]=+h[W]-A;U<0?k.push(W):U>=0&&N.push(W)}const D=N.length>0?N:k,L=k.length>0?k:N;let B=N.length-1,j=0;for(;B>0&&h[D[B]]===0;)B--;for(;j0?V=C[W]=(x[W]=V)+U:C[W]=x[W]=V}}const $=new Set(w),P=new Set(O),T=i==="y"?C:x,R=o==="y"?C:x;return[l,Dt({},s,{encode:{y0:WF(h,d),y:Ni(T,d),y1:Ni(R,g)},style:Object.assign({first:(M,A)=>$.has(A),last:(M,A)=>P.has(A)},f)})]}};_Ge.props={};function T8(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}function xin(e){const t=e.getFullYear(),n=T8(e.getMonth()+1),r=T8(e.getDate()),i=`${t}-${n}-${r}`,o=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return o||a||l?`${i} ${T8(o)}:${T8(a)}:${T8(l)}`:i}const GF=(e={})=>{const{channel:t="x"}=e;return(n,r)=>{const{encode:i}=r,{tooltip:o}=r;if(xh(o))return[n,r];const{title:a}=o;if(a!==void 0)return[n,r];const l=Object.keys(i).filter(u=>u.startsWith(t)).filter(u=>!i[u].inferred).map(u=>Nr(i,u)).filter(([u])=>u).map(u=>u[0]);if(l.length===0)return[n,r];const s=[];for(const u of n)s[u]={value:l.map(c=>c[u]instanceof Date?xin(c[u]):c[u]).join(", ")};return[n,Dt({},r,{tooltip:{title:s}})]}};GF.props={};const nb=()=>(e,t)=>{const{encode:n}=t,{x:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{x:WF(s0(e,0))},scale:{x:{guide:null}}})]};nb.props={};const KF=()=>(e,t)=>{const{encode:n}=t,{y:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{y:WF(s0(e,0))},scale:{y:{guide:null}}})]};KF.props={};const wGe=()=>(e,t)=>{const{encode:n}=t,{size:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{size:qD(s0(e,3))}})]};wGe.props={};var _in=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(e,t)=>{const{encode:n}=t,{key:r}=n,i=_in(n,["key"]);if(r!==void 0)return[e,t];const o=Object.values(i).map(({value:l})=>l),a=e.map(l=>o.filter(Array.isArray).map(s=>s[l]).join("-"));return[e,Dt({},t,{encode:{key:Ni(a)}})]};OGe.props={};const zae=()=>(e,t)=>{const{encode:n}=t,{series:r,color:i}=n;if(r!==void 0||i===void 0)return[e,t];const[o,a]=Nr(n,"color");return[e,Dt({},t,{encode:{series:Ni(o,a)}})]};zae.props={};const EGe=()=>(e,t)=>{const{data:n}=t;return!Array.isArray(n)||n.some(SP)?[e,t]:[e,Dt({},t,{encode:{y:Ni(n)}})]};EGe.props={};const $Ge=()=>(e,t)=>{const{data:n}=t;return!Array.isArray(n)||n.some(SP)?[e,t]:[e,Dt({},t,{encode:{x:Ni(n)}})]};$Ge.props={};const PGe=()=>(e,t)=>{const{encode:n}=t,{y1:r}=n;if(r)return[e,t];const[i]=Nr(n,"y");return[e,Dt({},t,{encode:{y1:Ni([...i])}})]};PGe.props={};const TGe=()=>(e,t)=>{const{encode:n}=t,{x1:r}=n;if(r)return[e,t];const[i]=Nr(n,"x");return[e,Dt({},t,{encode:{x1:Ni([...i])}})]};TGe.props={};const MGe=()=>(e,t)=>{const{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(SP))){const r=(i,o)=>Array.isArray(i[0])?i.map(a=>a[o]):[i[o]];return[e,Dt({},t,{encode:{x:Ni(r(n,0)),x1:Ni(r(n,1))}})]}return[e,t]};MGe.props={};const RGe=()=>(e,t)=>{const{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(SP))){const r=(i,o)=>Array.isArray(i[0])?i.map(a=>a[o]):[i[o]];return[e,Dt({},t,{encode:{y:Ni(r(n,0)),y1:Ni(r(n,1))}})]}return[e,t]};RGe.props={};const XF=e=>{const{channel:t}=e;return(n,r)=>{const{encode:i,tooltip:o}=r;if(xh(o))return[n,r];const{items:a=[]}=o;if(!a||a.length>0)return[n,r];const s=(Array.isArray(t)?t:[t]).flatMap(u=>Object.keys(i).filter(c=>c.startsWith(u)).map(c=>{const{field:f,value:h,inferred:d=!1,aggregate:p}=i[c];return d?null:p&&h?{channel:c}:f?{field:f}:h?{channel:c}:null}).filter(c=>c!==null));return[n,Dt({},r,{tooltip:{items:s}})]}};XF.props={};const Bae=()=>(e,t)=>[e,Dt({scale:{x:{padding:0},y:{padding:0}}},t)];Bae.props={};var q8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(e,t)=>{const{data:n,style:r={}}=t,i=q8e(t,["data","style"]),{x:o,y:a}=r,l=q8e(r,["x","y"]);if(o==null||a==null)return[e,t];const s=o||0,u=a||0;return[[0],Dt({},i,{data:[0],cartesian:!0,encode:{x:Ni([s]),y:Ni([u])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};YF.props={};const IGe=()=>(e,t)=>{const{style:n={}}=t;return[e,Dt({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,r])=>typeof r=="function").map(([r,i])=>[r,()=>i])))})]};IGe.props={};const ZF=()=>(e,t)=>{const{data:n}=t;if(!Array.isArray(n)||n.some(SP))return[e,t];const r=Array.isArray(n[0])?n:[n],i=r.map(a=>a[0]),o=r.map(a=>a[1]);return[e,Dt({},t,{encode:{x:Ni(i),y:Ni(o)}})]};ZF.props={};const NGe=()=>(e,t)=>{const{style:n={},encode:r}=t,{series:i}=r,{gradient:o}=n;return!o||i?[e,t]:[e,Dt({},t,{encode:{series:qD(s0(e,void 0))}})]};NGe.props={};var win=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupBy:t="x",reverse:n=!1,orderBy:r,padding:i}=e;return win(e,["groupBy","reverse","orderBy","padding"]),(o,a)=>{const{data:l,encode:s,scale:u}=a,{series:c}=u,[f]=Nr(s,"y"),[h]=x7(s,"series","color"),d=xGe(h,c),p=L0(t,o,a),m=CGe(r)(l,f,h);m&&SGe(p,m);const v=new Array(o.length);for(const y of p){n&&y.reverse();for(let b=0;b{const{groupBy:t=["x"],reducer:n=(a,l)=>l[a[0]],orderBy:r=null,reverse:i=!1,duration:o}=e;return(a,l)=>{const{encode:s}=l,c=(Array.isArray(t)?t:[t]).map(m=>[m,Nr(s,m)[0]]);if(c.length===0)return[a,l];let f=[a];for(const[,m]of c){const v=[];for(const y of f){const b=Array.from(Ji(y,C=>m[C]).values());v.push(...b)}f=v}if(r){const[m]=Nr(s,r);m&&f.sort((v,y)=>n(v,m)-n(y,m)),i&&f.reverse()}const h=(o||3e3)/f.length,[d]=o?[s0(a,h)]:x7(s,"enterDuration",s0(a,h)),[p]=x7(s,"enterDelay",s0(a,0)),g=new Array(a.length);for(let m=0,v=0;m+d[C]);for(const C of y)g[C]=+p[C]+v;v+=b}return[a,Dt({},l,{encode:{enterDuration:qD(d),enterDelay:qD(g)}})]}};kGe.props={};var Oin=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i$c(n,i=>r[+i]),max:(n,r)=>ri(n,i=>r[+i]),first:(n,r)=>r[n[0]],last:(n,r)=>r[n[n.length-1]],mean:(n,r)=>O7(n,i=>r[+i]),median:(n,r)=>kae(n,i=>r[+i]),sum:(n,r)=>cu(n,i=>r[+i]),deviation:(n,r)=>fGe(n,i=>r[+i])}[e]||ri}const jGe=(e={})=>{const{groupBy:t="x",basis:n="max"}=e;return(r,i)=>{const{encode:o,tooltip:a}=i,l=Oin(o,["x"]),s=Object.entries(l).filter(([p])=>p.startsWith("y")).map(([p])=>[p,Nr(o,p)[0]]),[,u]=s.find(([p])=>p==="y"),c=s.map(([p])=>[p,new Array(r.length)]),f=L0(t,r,i),h=Ein(n);for(const p of f){const g=h(p,u);for(const m of p)for(let v=0;v[p,Ni(g,Nr(o,p)[1])]))},!d&&o.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};jGe.props={};function N4(e,...t){return t.reduce((n,r)=>i=>n(r(i)),e)}function UD(e,t){return t-e?n=>(n-e)/(t-e):n=>.5}function $in(e,t){const n=tt?e:t;return i=>Math.min(Math.max(n,i),r)}function Fae(e,t,n,r,i){let o=n||0,a=r||e.length;const l=i||(s=>s);for(;ot?a=s:o=s+1}return o}const wJ=Math.sqrt(50),OJ=Math.sqrt(10),EJ=Math.sqrt(2);function Vk(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/10**i;return i>=0?(o>=wJ?10:o>=OJ?5:o>=EJ?2:1)*10**i:-(10**-i)/(o>=wJ?10:o>=OJ?5:o>=EJ?2:1)}function V8e(e,t,n){const r=Math.abs(t-e)/Math.max(0,n);let i=10**Math.floor(Math.log(r)/Math.LN10);const o=r/i;return o>=wJ?i*=10:o>=OJ?i*=5:o>=EJ&&(i*=2),t{const r=[e,t];let i=0,o=r.length-1,a=r[i],l=r[o],s;return l0?(a=Math.floor(a/s)*s,l=Math.ceil(l/s)*s,s=Vk(a,l,n)):s<0&&(a=Math.ceil(a*s)/s,l=Math.floor(l*s)/s,s=Vk(a,l,n)),s>0?(r[i]=Math.floor(a/s)*s,r[o]=Math.ceil(l/s)*s):s<0&&(r[i]=Math.ceil(a*s)/s,r[o]=Math.floor(l*s)/s),r},$7=1e3,P7=$7*60,T7=P7*60,my=T7*24,X9=my*7,LGe=my*30,zGe=my*365;function Nl(e,t,n,r){const i=(u,c)=>{const f=d=>r(d)%c===0;let h=c;for(;h&&!f(u);)n(u,-1),h-=1;return u},o=(u,c)=>{c&&i(u,c),t(u)},a=(u,c)=>{const f=new Date(+u);return o(f,c),f},l=(u,c)=>{const f=new Date(+u-1);return o(f,c),n(f,c),o(f),f};return{ceil:l,floor:a,range:(u,c,f,h)=>{const d=[],p=Math.floor(f),g=h?l(u,f):l(u);for(let m=g;me,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),Tin=Nl($7,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+$7*t)},e=>e.getSeconds()),Min=Nl(P7,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+P7*t)},e=>e.getMinutes()),Rin=Nl(T7,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+T7*t)},e=>e.getHours()),Iin=Nl(my,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+my*t)},e=>e.getDate()-1),BGe=Nl(LGe,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{const n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),Nin=Nl(X9,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{const t=BGe.floor(e),n=new Date(+e);return Math.floor((+n-+t)/X9)}),Ain=Nl(zGe,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{const n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear()),FGe={millisecond:Pin,second:Tin,minute:Min,hour:Rin,day:Iin,week:Nin,month:BGe,year:Ain},kin=Nl(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),jin=Nl($7,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+$7*t)},e=>e.getUTCSeconds()),Din=Nl(P7,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+P7*t)},e=>e.getUTCMinutes()),Lin=Nl(T7,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+T7*t)},e=>e.getUTCHours()),zin=Nl(my,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+my*t)},e=>e.getUTCDate()-1),HGe=Nl(LGe,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{const n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),Bin=Nl(X9,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+X9*t)},e=>{const t=HGe.floor(e),n=new Date(+e);return Math.floor((+n-+t)/X9)}),Fin=Nl(zGe,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{const n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear()),WGe={millisecond:kin,second:jin,minute:Din,hour:Lin,day:zin,week:Bin,month:HGe,year:Fin};function Hin(e){const t=e?WGe:FGe,{year:n,month:r,week:i,day:o,hour:a,minute:l,second:s,millisecond:u}=t;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[l,1],[l,5],[l,15],[l,30],[a,1],[a,3],[a,6],[a,12],[o,1],[o,2],[i,1],[r,1],[r,3],[n,1]],year:n,millisecond:u}}function qGe(e,t,n,r,i){const o=+e,a=+t,{tickIntervals:l,year:s,millisecond:u}=Hin(i),c=([m,v])=>m.duration*v,f=r?(a-o)/r:n||5,h=r||(a-o)/f,d=l.length,p=Fae(l,h,0,d,c);let g;if(p===d){const m=V8e(o/s.duration,a/s.duration,f);g=[s,m]}else if(p){const m=h/c(l[p-1]){const o=e>t,a=o?t:e,l=o?e:t,[s,u]=qGe(a,l,n,r,i),c=[s.floor(a,u),s.ceil(l,u)];return o?c.reverse():c};var VGe=function(e){return e!==null&&typeof e!="function"&&isFinite(e.length)},qin={}.toString,wP=function(e,t){return qin.call(e)==="[object "+t+"]"};const UGe=function(e){return wP(e,"Function")};var Vin=function(e){return e==null};const GGe=function(e){return Array.isArray?Array.isArray(e):wP(e,"Array")},Uin=function(e){var t=typeof e;return e!==null&&t==="object"||t==="function"};function Gin(e,t){if(e){var n;if(GGe(e))for(var r=0,i=e.length;rt=>-e(-t),Hae=(e,t)=>{const n=Math.log(e),r=e===Math.E?Math.log:e===10?Math.log10:e===2?Math.log2:i=>Math.log(i)/n;return t?ZGe(r):r},Wae=(e,t)=>{const n=e===Math.E?Math.exp:r=>e**r;return t?ZGe(n):n},ton=(e,t,n,r)=>{const i=e<0,o=Hae(r,i),a=Wae(r,i),l=e>t,s=l?t:e,u=l?e:t,c=[a(Math.floor(o(s))),a(Math.ceil(o(u)))];return l?c.reverse():c},non=e=>t=>{const n=e(t);return M7(n)?Math.round(n):n};function ron(e,t){return n=>{n.prototype.rescale=function(){this.initRange(),this.nice();const[r]=this.chooseTransforms();this.composeOutput(r,this.chooseClamp(r))},n.prototype.initRange=function(){const{interpolator:r}=this.options;this.options.range=e(r)},n.prototype.composeOutput=function(r,i){const{domain:o,interpolator:a,round:l}=this.getOptions(),s=t(o.map(r)),u=l?non(a):a;this.output=N4(u,s,i,r)},n.prototype.invert=void 0}}var QGe={exports:{}},ion={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},JGe={exports:{}},oon=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},aon=oon,lon=Array.prototype.concat,son=Array.prototype.slice,K8e=JGe.exports=function(t){for(var n=[],r=0,i=t.length;r=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};fc.to.keyword=function(e){return tKe[e.slice(0,3)]};function c0(e,t,n){return Math.min(Math.max(t,e),n)}function GN(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var uon=QGe.exports;const don=bo(uon);function mK(e,t,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function fon(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100,i=e[3];if(n===0)return[r*255,r*255,r*255,i];const o=r<.5?r*(1+n):r+n-r*n,a=2*r-o,l=mK(a,o,t+1/3),s=mK(a,o,t),u=mK(a,o,t-1/3);return[l*255,s*255,u*255,i]}function X8e(e){const t=don.get(e);if(!t)return null;const{model:n,value:r}=t;return n==="rgb"?r:n==="hsl"?fon(r):null}const A4=(e,t)=>n=>e*(1-n)+t*n,pon=(e,t)=>{const n=X8e(e),r=X8e(t);return n===null||r===null?n?()=>e:()=>t:i=>{const o=new Array(4);for(let c=0;c<4;c+=1){const f=n[c],h=r[c];o[c]=f*(1-i)+h*i}const[a,l,s,u]=o;return`rgba(${Math.round(a)}, ${Math.round(l)}, ${Math.round(s)}, ${u})`}},EP=(e,t)=>typeof e=="number"&&typeof t=="number"?A4(e,t):typeof e=="string"&&typeof t=="string"?pon(e,t):()=>e,hon=(e,t)=>{const n=A4(e,t);return r=>Math.round(n(r))};function gon(e,t){const{second:n,minute:r,hour:i,day:o,week:a,month:l,year:s}=t;return n.floor(e)`${t}`:typeof e=="object"?t=>JSON.stringify(t):t=>t}let nKe=class rKe extends $P{getDefaultOptions(){return{domain:[],range:[],unknown:QF}}constructor(t){super(t)}map(t){return this.domainIndexMap.size===0&&Q8e(this.domainIndexMap,this.getDomain(),this.domainKey),J8e({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return this.rangeIndexMap.size===0&&Q8e(this.rangeIndexMap,this.getRange(),this.rangeKey),J8e({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){const[n]=this.options.domain,[r]=this.options.range;if(this.domainKey=e9e(n),this.rangeKey=e9e(r),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new rKe(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;const{domain:t,compare:n}=this.options;return this.sortedDomain=n?[...t].sort(n):t,this.sortedDomain}};function bon(e){const t=Math.min(...e);return e.map(n=>n/t)}function Con(e,t){const n=e.length,r=t-n;return r>0?[...e,...new Array(r).fill(1)]:r<0?e.slice(0,t):e}function Son(e){return Math.round(e*1e12)/1e12}function xon(e){const{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:o,round:a,align:l}=e,s=t.length,u=Con(o,s),[c,f]=n,h=f-c,d=2/s*r+1-1/s*i,p=h/d,g=p*i/s,m=p-s*g,v=bon(u),y=v.reduce((R,M)=>R+M),b=m/y,C=new Z8e(t.map((R,M)=>{const A=v[M]*b;return[R,a?Math.floor(A):A]})),x=new Z8e(t.map((R,M)=>{const N=v[M]*b+g;return[R,a?Math.floor(N):N]})),S=Array.from(x.values()).reduce((R,M)=>R+M),O=(h-(S-S/s*i))*l,$=c+O;let P=a?Math.round($):$;const T=new Array(s);for(let R=0;Rh+b*c);return{valueStep:c,valueBandWidth:f,adjustedRange:v}}let k4=class iKe extends nKe{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:QF,flex:[]}}constructor(t){super(t)}clone(){return new iKe(this.options)}getStep(t){return this.valueStep===void 0?1:typeof this.valueStep=="number"?this.valueStep:t===void 0?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return this.valueBandWidth===void 0?1:typeof this.valueBandWidth=="number"?this.valueBandWidth:t===void 0?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){const{padding:t,paddingInner:n}=this.options;return t>0?t:n}getPaddingOuter(){const{padding:t,paddingOuter:n}=this.options;return t>0?t:n}rescale(){super.rescale();const{align:t,domain:n,range:r,round:i,flex:o}=this.options,{adjustedRange:a,valueBandWidth:l,valueStep:s}=_on({align:t,range:r,round:i,flex:o,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:n});this.valueStep=s,this.valueBandWidth=l,this.adjustedRange=a}};const yy=(e,t,n)=>{let r,i,o=e,a=t;if(o===a&&n>0)return[o];let l=Vk(o,a,n);if(l===0||!Number.isFinite(l))return[];if(l>0){o=Math.ceil(o/l),a=Math.floor(a/l),i=new Array(r=Math.ceil(a-o+1));for(let s=0;s=0&&(s=1),1-l/(a-1)-n+s}function Pon(e,t,n){const r=YGe(t);return 1-XGe(t,e)/(r-1)-n+1}function Ton(e,t,n,r,i,o){const a=(e-1)/(o-i),l=(t-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/l,l/a)}function Mon(e,t){return e>=t?2-(e-1)/(t-1):1}function Ron(e,t,n,r){const i=t-e;return 1-.5*((t-r)**2+(e-n)**2)/(.1*i)**2}function Ion(e,t,n){const r=t-e;return n>r?1-((n-r)/2)**2/(.1*r)**2:1}function Non(){return 1}const Vae=(e,t,n=5,r=!0,i=won,o=[.25,.2,.5,.05])=>{const a=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||typeof e!="number"||typeof t!="number"||!a)return[];if(t-e<1e-15||a===1)return[e];const l={score:-2,lmin:0,lmax:0,lstep:0};let s=1;for(;s<1/0;){for(let p=0;pl.score&&(!r||R<=e&&M>=t)&&(l.lmin=R,l.lmax=M,l.lstep=A,l.score=B)}}C+=1}v+=1}}s+=1}const u=M8(l.lmax),c=M8(l.lmin),f=M8(l.lstep),h=Math.floor(Eon((u-c)/f))+1,d=new Array(h);d[0]=M8(c);for(let p=1;p{const[r,i]=e,[o,a]=t;let l,s;return r{const r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=e[0]>e[r],l=a?[...e].reverse():e,s=a?[...t].reverse():t;for(let u=0;u{const c=Fae(e,u,1,r)-1,f=i[c],h=o[c];return N4(h,f)(u)}},n9e=(e,t,n,r)=>(Math.min(e.length,t.length)>2?kon:Aon)(e,t,r?hon:n);let JF=class extends $P{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:A4,tickCount:5}}map(t){return GD(t)?this.output(t):this.options.unknown}invert(t){return GD(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;const[t,n,r,...i]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,n,r,...i)}getTicks(){const{tickMethod:t}=this.options,[n,r,i,...o]=this.getTickMethodOptions();return t(n,r,i,...o)}getTickMethodOptions(){const{domain:t,tickCount:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,n]}chooseNice(){return DGe}rescale(){this.nice();const[t,n]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,n,this.chooseClamp(n))}chooseClamp(t){const{clamp:n,range:r}=this.options,i=this.options.domain.map(t),o=Math.min(i.length,r.length);return n?$in(i[0],i[o-1]):vy}composeOutput(t,n){const{domain:r,range:i,round:o,interpolate:a}=this.options,l=n9e(r.map(t),i,a,o);this.output=N4(l,n,t)}composeInput(t,n,r){const{domain:i,range:o}=this.options,a=n9e(o,i.map(t),A4);this.input=N4(n,r,a)}},Ri=class sKe extends JF{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:EP,tickMethod:yy,tickCount:5}}chooseTransforms(){return[vy,vy]}clone(){return new sKe(this.options)}},cKe=class uKe extends k4{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:QF,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new uKe(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}};const jon=e=>t=>t<0?-((-t)**e):t**e,Don=e=>t=>t<0?-((-t)**(1/e)):t**(1/e),Lon=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);let dKe=class fKe extends JF{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:EP,tickMethod:yy,tickCount:5}}constructor(t){super(t)}chooseTransforms(){const{exponent:t}=this.options;if(t===1)return[vy,vy];const n=t===.5?Lon:jon(t),r=Don(t);return[n,r]}clone(){return new fKe(this.options)}},zon=class pKe extends dKe{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:EP,tickMethod:yy,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new pKe(this.options)}},eH=class hKe extends $P{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!GD(t))return this.options.unknown;const n=Fae(this.thresholds,t,0,this.n);return this.options.range[n]}invert(t){const{range:n}=this.options,r=n.indexOf(t),i=this.thresholds;return[i[r-1],i[r]]}clone(){return new hKe(this.options)}rescale(){const{domain:t,range:n}=this.options;this.n=Math.min(t.length,n.length-1),this.thresholds=t}};const Bon=(e,t,n,r=10)=>{const i=e<0,o=Wae(r,i),a=Hae(r,i),l=t=1;p-=1){const g=d*p;if(g>u)break;g>=s&&h.push(g)}}else for(;c<=f;c+=1){const d=o(c);for(let p=1;pu)break;g>=s&&h.push(g)}}h.length*2o-a);const i=[];for(let o=1;o3?0:(e-e%10!==10?1:0)*e%10]}},Xon=$J({},Kon),us=function(e,t){for(t===void 0&&(t=2),e=String(e);e.length0?"-":"+")+us(Math.floor(Math.abs(t)/60)*100+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+us(Math.floor(Math.abs(t)/60),2)+":"+us(Math.abs(t)%60,2)}},r9e={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Zon=function(e,t,n){if(t===void 0&&(t=r9e.default),n===void 0&&(n={}),typeof e=="number"&&(e=new Date(e)),Object.prototype.toString.call(e)!=="[object Date]"||isNaN(e.getTime()))throw new Error("Invalid Date pass to format");t=r9e[t]||t;var r=[];t=t.replace(Von,function(o,a){return r.push(a),"@@@"});var i=$J($J({},Xon),n);return t=t.replace(qon,function(o){return Yon[o](e,i)}),t.replace(/@@@/g,function(){return r.shift()})};const Qon=(e,t,n,r,i)=>{const o=e>t,a=o?t:e,l=o?e:t,[s,u]=qGe(a,l,n,r,i),c=s.range(a,new Date(+l+1),u,!0);return o?c.reverse():c};function Jon(e){const t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}let ean=class _Ke extends JF{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:Qon,interpolate:A4,mask:void 0,utc:!1}}chooseTransforms(){return[r=>+r,r=>new Date(r)]}chooseNice(){return Win}getTickMethodOptions(){const{domain:t,tickCount:n,tickInterval:r,utc:i}=this.options,o=t[0],a=t[t.length-1];return[o,a,n,r,i]}getFormatter(){const{mask:t,utc:n}=this.options,r=n?WGe:FGe,i=n?Jon:vy;return o=>Zon(i(o),t||gon(o,r))}clone(){return new _Ke(this.options)}};var tan=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},PJ;function nan(e){return[e(0),e(1)]}const ran=e=>{const[t,n]=e;return N4(A4(0,1),UD(t,n))};let TJ=PJ=class extends Ri{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:vy,tickMethod:yy,tickCount:5}}constructor(t){super(t)}clone(){return new PJ(this.options)}};TJ=PJ=tan([ron(nan,ran)],TJ);function KD(e,t,n){if(e===null)return[-.5,.5];const r=xGe(e,t),o=new k4({domain:r,range:[0,1],padding:n}).getBandWidth();return[-o/2,o/2]}function XD(e,t,n){return t*(1-e)+n*e}const wKe=(e={})=>{const{padding:t=0,paddingX:n=t,paddingY:r=t,random:i=Math.random}=e;return(o,a)=>{const{encode:l,scale:s}=a,{x:u,y:c}=s,[f]=Nr(l,"x"),[h]=Nr(l,"y"),d=KD(f,u,n),p=KD(h,c,r),g=o.map(()=>XD(i(),...p)),m=o.map(()=>XD(i(),...d));return[o,Dt({scale:{x:{padding:.5},y:{padding:.5}}},a,{encode:{dy:Ni(g),dx:Ni(m)}})]}};wKe.props={};const OKe=(e={})=>{const{padding:t=0,random:n=Math.random}=e;return(r,i)=>{const{encode:o,scale:a}=i,{x:l}=a,[s]=Nr(o,"x"),u=KD(s,l,t),c=r.map(()=>XD(n(),...u));return[r,Dt({scale:{x:{padding:.5}}},i,{encode:{dx:Ni(c)}})]}};OKe.props={};const EKe=(e={})=>{const{padding:t=0,random:n=Math.random}=e;return(r,i)=>{const{encode:o,scale:a}=i,{y:l}=a,[s]=Nr(o,"y"),u=KD(s,l,t),c=r.map(()=>XD(n(),...u));return[r,Dt({scale:{y:{padding:.5}}},i,{encode:{dy:Ni(c)}})]}};EKe.props={};var ian=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupBy:t="x"}=e;return(n,r)=>{const{encode:i}=r,o=ian(i,["x"]),a=Object.entries(o).filter(([f])=>f.startsWith("y")).map(([f])=>[f,Nr(i,f)[0]]),l=a.map(([f])=>[f,new Array(n.length)]),s=L0(t,n,r),u=new Array(s.length);for(let f=0;fa.map(([,v])=>+v[m])),[p,g]=eh(d);u[f]=(p+g)/2}const c=Math.max(...u);for(let f=0;f[f,Ni(h,Nr(i,f)[1])]))})]}};$Ke.props={};const PKe=(e={})=>{const{groupBy:t="x",series:n=!0}=e;return(r,i)=>{const{encode:o}=i,[a]=Nr(o,"y"),[l,s]=Nr(o,"y1");n?x7(o,"series","color"):Nr(o,"color");const u=L0(t,r,i),c=new Array(r.length);for(const f of u){const h=f.map(d=>+a[d]);for(let d=0;dv!==d));c[p]=a[p]>g?g:a[p]}}return[r,Dt({},i,{encode:{y1:Ni(c,s)}})]}};PKe.props={};function i9e(e,t){return[e[0]]}function oan(e,t){const n=e.length-1;return[e[n]]}function aan(e,t){const n=zC(e,r=>t[r]);return[e[n]]}function lan(e,t){const n=VF(e,r=>t[r]);return[e[n]]}function san(e){return typeof e=="function"?e:{first:i9e,last:oan,max:aan,min:lan}[e]||i9e}const tH=(e={})=>{const{groupBy:t="series",channel:n,selector:r}=e;return(i,o)=>{const{encode:a}=o,l=L0(t,i,o),[s]=Nr(a,n),u=san(r);return[l.flatMap(c=>u(c,s)),o]}};tH.props={};var can=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{selector:t}=e,n=can(e,["selector"]);return tH(Object.assign({channel:"x",selector:t},n))};TKe.props={};var uan=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{selector:t}=e,n=uan(e,["selector"]);return tH(Object.assign({channel:"y",selector:t},n))};MKe.props={};var dan=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it===null?e:`${e} of ${t}`}function fan(e){if(typeof e=="function")return[e,null];const n={mean:pan,max:gan,count:van,first:ban,last:Can,sum:yan,min:man,median:han}[e];if(!n)throw new Error(`Unknown reducer: ${e}.`);return n()}function pan(){const e=(n,r)=>O7(n,i=>+r[i]),t=z0("mean");return[e,t]}function han(){const e=(n,r)=>kae(n,i=>+r[i]),t=z0("median");return[e,t]}function gan(){const e=(n,r)=>ri(n,i=>+r[i]),t=z0("max");return[e,t]}function man(){const e=(n,r)=>$c(n,i=>+r[i]),t=z0("min");return[e,t]}function van(){const e=(n,r)=>n.length,t=z0("count");return[e,t]}function yan(){const e=(n,r)=>cu(n,i=>+r[i]),t=z0("sum");return[e,t]}function ban(){const e=(n,r)=>r[n[0]],t=z0("first");return[e,t]}function Can(){const e=(n,r)=>r[n[n.length-1]],t=z0("last");return[e,t]}const Uae=(e={})=>{const{groupBy:t}=e,n=dan(e,["groupBy"]);return(r,i)=>{const{data:o,encode:a}=i,l=t(r,i);if(!l)return[r,i];const s=(d,p)=>{if(d)return d;const{from:g}=p;if(!g)return d;const[,m]=Nr(a,g);return m},u=Object.entries(n).map(([d,p])=>{const[g,m]=fan(p),[v,y]=Nr(a,d),b=s(y,p),C=l.map(x=>g(x,v??o));return[d,Object.assign(Object.assign({},Lrn(C,(m==null?void 0:m(b))||b)),{aggregate:!0})]}),c=Object.keys(a).map(d=>{const[p,g]=Nr(a,d),m=l.map(v=>p[v[0]]);return[d,Ni(m,g)]}),f=l.map(d=>o[d[0]]);return[tb(l),Dt({},i,{data:f,encode:Object.fromEntries([...c,...u])})]}};Uae.props={};var San=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{channels:t=["x","y"]}=e,n=San(e,["channels"]),r=(i,o)=>L0(t,i,o);return Uae(Object.assign(Object.assign({},n),{groupBy:r}))};PP.props={};const RKe=(e={})=>PP(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));RKe.props={};const IKe=(e={})=>PP(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));IKe.props={};const NKe=(e={})=>PP(Object.assign(Object.assign({},e),{channels:["color"]}));NKe.props={};var AKe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii(a,o);if(i==="max")return a=>ri(a,l=>+o[l]);if(i==="min")return a=>$c(a,l=>+o[l]);if(i==="sum")return a=>cu(a,l=>+o[l]);if(i==="median")return a=>kae(a,l=>+o[l]);if(i==="mean")return a=>O7(a,l=>+o[l]);if(i==="first")return a=>o[a[0]];if(i==="last")return a=>o[a[a.length-1]];throw new Error(`Unknown reducer: ${i}`)}function _an(e,t,n){const{reverse:r,channel:i}=n,{encode:o}=t,[a]=Nr(o,i),l=th(e,s=>a[s]);return r&&l.reverse(),[l,t]}function wan(e,t,n){if(!Array.isArray(n))return e;const r=new Set(n);return e.filter(i=>r.has(t[i]))}function Oan(e,t,n){var r;const{reverse:i,slice:o,channel:a}=n,l=AKe(n,["reverse","slice","channel"]),{encode:s,scale:u={}}=t,c=(r=u[a])===null||r===void 0?void 0:r.domain,[f]=Nr(s,a),h=xan(a,l,s),d=wan(e,f,c),p=Grn(d,h,v=>f[v]);i&&p.reverse();const g=typeof o=="number"?[0,o]:o,m=o?p.slice(...g):p;return[e,Dt(t,{scale:{[a]:{domain:m}}})]}const nH=(e={})=>{const{reverse:t=!1,slice:n,channel:r,ordinal:i=!0}=e,o=AKe(e,["reverse","slice","channel","ordinal"]);return(a,l)=>i?Oan(a,l,Object.assign({reverse:t,slice:n,channel:r},o)):_an(a,l,Object.assign({reverse:t,slice:n,channel:r},o))};nH.props={};const kKe=(e={})=>nH(Object.assign(Object.assign({},e),{channel:"x"}));kKe.props={};const jKe=(e={})=>nH(Object.assign(Object.assign({},e),{channel:"color"}));jKe.props={};const DKe=(e={})=>nH(Object.assign(Object.assign({},e),{channel:"y"}));DKe.props={};function Ean(e,t){return typeof t=="string"?e.map(n=>n[t]):e.map(t)}function $an(e,t){if(typeof e=="function")return n=>e(n,t);if(e==="sum")return n=>cu(n,r=>+t[r]);throw new Error(`Unknown reducer: ${e}`)}const LKe=(e={})=>{const{field:t,channel:n="y",reducer:r="sum"}=e;return(i,o)=>{const{data:a,encode:l}=o,[s]=Nr(l,"x"),u=t?Ean(a,t):Nr(l,n)[0],c=$an(r,u),f=pGe(i,c,h=>s[h]).map(h=>h[1]);return[i,Dt({},o,{scale:{x:{flex:f}}})]}};LKe.props={};function ho([e,t],[n,r]){return[e-n,t-r]}function KN([e,t],[n,r]){return[e+n,t+r]}function Zi([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function yu([e,t]){return Math.atan2(t,e)}function j4([e,t]){return yu([e,t])+Math.PI/2}function zKe(e,t){const n=yu(e),r=yu(t);return n{const a=r.length;if(a===0)return[];const{innerWidth:l,innerHeight:s}=o,u=s/l;let c=Math.ceil(Math.sqrt(i/u)),f=l/c,h=Math.ceil(i/c),d=h*f;for(;d>s;)c=c+1,f=l/c,h=Math.ceil(i/c),d=h*f;const p=s-h*f,g=h<=1?0:p/(h-1),[m,v]=h<=1?[(l-a*f)/(a-1),(s-f)/2]:[0,0];return r.map((y,b)=>{const[C,x,S,w]=Gae(y),O=n==="col"?b%c:Math.floor(b/h),$=n==="col"?Math.floor(b/c):b%h,P=O*f,T=(h-$-1)*f+p,R=(f-t)/S,M=(f-t)/w,A=P-C+m*O+1/2*t,N=T-x-g*$-v+1/2*t;return`translate(${A}, ${N}) scale(${R}, ${M})`})}}const FKe=e=>(t,n)=>[t,Dt({},n,{modifier:Pan(e),axis:!1})];FKe.props={};var Tan=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=Tan(e,["groupChannels","binChannels"]),i={},o=(a,l)=>{const{encode:s}=l,u=n.map(p=>{const[g]=Nr(s,p);return g}),c=hn(r,o9e),f=a.filter(p=>u.every(g=>Pi(g[p]))),h=[...t.map(p=>{const[g]=Nr(s,p);return g}).filter(Pi).map(p=>g=>p[g]),...n.map((p,g)=>{const m=u[g],v=c[p]||Man(m),y=nin().thresholds(v).value(C=>+m[C])(f),b=new Map(y.flatMap(C=>{const{x0:x,x1:S}=C,w=`${x},${S}`;return C.map(O=>[O,w])}));return i[p]=b,C=>b.get(C)})],d=p=>h.map(g=>g(p)).join("-");return Array.from(Ji(f,d).values())};return Uae(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([a])=>!a.startsWith(o9e)))),Object.fromEntries(n.flatMap(a=>{const l=([u])=>+i[a].get(u).split(",")[0],s=([u])=>+i[a].get(u).split(",")[1];return s.from=a,[[a,l],[`${a}1`,s]]}))),{groupBy:o}))};Kae.props={};const HKe=(e={})=>{const{thresholds:t}=e;return Kae(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};HKe.props={};function Ran(e,t,n,r){const i=e.length;if(r>=i||r===0)return e;const o=d=>t[e[d]]*1,a=d=>n[e[d]]*1,l=[],s=(i-2)/(r-2);let u=0,c,f,h;l.push(u);for(let d=0;dc&&(c=f,h=b);l.push(h),u=h}return l.push(i-1),l.map(d=>e[d])}function Ian(e){if(typeof e=="function")return e;if(e==="lttb")return Ran;const t={first:r=>[r[0]],last:r=>[r[r.length-1]],min:(r,i,o)=>[r[VF(r,a=>o[a])]],max:(r,i,o)=>[r[zC(r,a=>o[a])]],median:(r,i,o)=>[r[ain(r,a=>o[a])]]},n=t[e]||t.median;return(r,i,o,a)=>{const l=Math.max(1,Math.floor(r.length/a));return Nan(r,l).flatMap(u=>n(u,i,o))}}function Nan(e,t){const n=e.length,r=[];let i=0;for(;i{const{strategy:t="median",thresholds:n=2e3,groupBy:r=["series","color"]}=e,i=Ian(t);return(o,a)=>{const{encode:l}=a,s=L0(r,o,a),[u]=Nr(l,"x"),[c]=Nr(l,"y");return[s.flatMap(f=>i(f,u,c,n)),a]}};WKe.props={};function Aan(e){return typeof e=="object"?[e.value,e.ordinal]:[e,!0]}const qKe=(e={})=>(t,n)=>{const{encode:r,data:i}=n,o=Object.entries(e).map(([c,f])=>{const[h]=Nr(r,c);if(!h)return null;const[d,p=!0]=Aan(f);if(typeof d=="function")return g=>d(h[g]);if(p){const g=Array.isArray(d)?d:[d];return g.length===0?null:m=>g.includes(h[m])}else{const[g,m]=d;return v=>h[v]>=g&&h[v]<=m}}).filter(Pi);if(o.length===0)return[t,n];const a=c=>o.every(f=>f(c)),l=t.filter(a),s=l.map((c,f)=>f),u=Object.entries(r).map(([c,f])=>[c,Object.assign(Object.assign({},f),{value:s.map(h=>f.value[l[h]]).filter(h=>h!==void 0)})]);return[s,Dt({},n,{encode:Object.fromEntries(u),data:l.map(c=>i[c])})]};qKe.props={};function zi(e){return function(){return e}}const a9e=Math.abs,yl=Math.atan2,Hm=Math.cos,kan=Math.max,vK=Math.min,Yd=Math.sin,s3=Math.sqrt,bl=1e-12,R7=Math.PI,YD=R7/2,jan=2*R7;function Dan(e){return e>1?0:e<-1?R7:Math.acos(e)}function l9e(e){return e>=1?YD:e<=-1?-YD:Math.asin(e)}const MJ=Math.PI,RJ=2*MJ,ov=1e-6,Lan=RJ-ov;function VKe(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return VKe;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iov)if(!(Math.abs(f*s-u*c)>ov)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let d=r-a,p=i-l,g=s*s+u*u,m=d*d+p*p,v=Math.sqrt(g),y=Math.sqrt(h),b=o*Math.tan((MJ-Math.acos((g+h-m)/(2*v*y)))/2),C=b/y,x=b/v;Math.abs(C-1)>ov&&this._append`L${t+C*c},${n+C*f}`,this._append`A${o},${o},0,0,${+(f*d>c*p)},${this._x1=t+x*s},${this._y1=n+x*u}`}}arc(t,n,r,i,o,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),s=r*Math.sin(i),u=t+l,c=n+s,f=1^a,h=a?i-o:o-i;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>ov||Math.abs(this._y1-c)>ov)&&this._append`L${u},${c}`,r&&(h<0&&(h=h%RJ+RJ),h>Lan?this._append`A${r},${r},0,1,${f},${t-l},${n-s}A${r},${r},0,1,${f},${this._x1=u},${this._y1=c}`:h>ov&&this._append`A${r},${r},0,${+(h>=MJ)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function wu(){return new Xae}wu.prototype=Xae.prototype;function Yae(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new Xae(t)}function Ban(e){return e.innerRadius}function Fan(e){return e.outerRadius}function Han(e){return e.startAngle}function Wan(e){return e.endAngle}function qan(e){return e&&e.padAngle}function Van(e,t,n,r,i,o,a,l){var s=n-e,u=r-t,c=a-i,f=l-o,h=f*s-c*u;if(!(h*hA*A+N*N&&(O=P,$=T),{cx:O,cy:$,x01:-c,y01:-f,x11:O*(i/x-1),y11:$*(i/x-1)}}function rH(){var e=Ban,t=Fan,n=zi(0),r=null,i=Han,o=Wan,a=qan,l=null,s=Yae(u);function u(){var c,f,h=+e.apply(this,arguments),d=+t.apply(this,arguments),p=i.apply(this,arguments)-YD,g=o.apply(this,arguments)-YD,m=a9e(g-p),v=g>p;if(l||(l=c=s()),dbl))l.moveTo(0,0);else if(m>jan-bl)l.moveTo(d*Hm(p),d*Yd(p)),l.arc(0,0,d,p,g,!v),h>bl&&(l.moveTo(h*Hm(g),h*Yd(g)),l.arc(0,0,h,g,p,v));else{var y=p,b=g,C=p,x=g,S=m,w=m,O=a.apply(this,arguments)/2,$=O>bl&&(r?+r.apply(this,arguments):s3(h*h+d*d)),P=vK(a9e(d-h)/2,+n.apply(this,arguments)),T=P,R=P,M,A;if($>bl){var N=l9e($/h*Yd(O)),k=l9e($/d*Yd(O));(S-=N*2)>bl?(N*=v?1:-1,C+=N,x-=N):(S=0,C=x=(p+g)/2),(w-=k*2)>bl?(k*=v?1:-1,y+=k,b-=k):(w=0,y=b=(p+g)/2)}var D=d*Hm(y),L=d*Yd(y),B=h*Hm(x),j=h*Yd(x);if(P>bl){var z=d*Hm(b),V=d*Yd(b),W=h*Hm(C),U=h*Yd(C),K;if(mbl?R>bl?(M=XN(W,U,D,L,d,R,v),A=XN(z,V,B,j,d,R,v),l.moveTo(M.cx+M.x01,M.cy+M.y01),Rbl)||!(S>bl)?l.lineTo(B,j):T>bl?(M=XN(B,j,z,V,h,-T,v),A=XN(D,L,W,U,h,-T,v),l.lineTo(M.cx+M.x01,M.cy+M.y01),T=d;--p)l.point(b[p],C[p]);l.lineEnd(),l.areaEnd()}v&&(b[h]=+e(m,h,f),C[h]=+t(m,h,f),l.point(r?+r(m,h,f):b[h],n?+n(m,h,f):C[h]))}if(y)return l=null,y+""||null}function c(){return S0().defined(i).curve(a).context(o)}return u.x=function(f){return arguments.length?(e=typeof f=="function"?f:zi(+f),r=null,u):e},u.x0=function(f){return arguments.length?(e=typeof f=="function"?f:zi(+f),u):e},u.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:zi(+f),u):r},u.y=function(f){return arguments.length?(t=typeof f=="function"?f:zi(+f),n=null,u):t},u.y0=function(f){return arguments.length?(t=typeof f=="function"?f:zi(+f),u):t},u.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:zi(+f),u):n},u.lineX0=u.lineY0=function(){return c().x(e).y(t)},u.lineY1=function(){return c().x(e).y(n)},u.lineX1=function(){return c().x(r).y(t)},u.defined=function(f){return arguments.length?(i=typeof f=="function"?f:zi(!!f),u):i},u.curve=function(f){return arguments.length?(a=f,o!=null&&(l=a(o)),u):a},u.context=function(f){return arguments.length?(f==null?o=l=null:l=a(o=f),u):o},u}var YKe=Zae(TP);function ZKe(e){this._curve=e}ZKe.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};function Zae(e){function t(n){return new ZKe(e(n))}return t._curve=e,t}function a9(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(n){return arguments.length?t(Zae(n)):t()._curve},e}function Uan(){return a9(S0().curve(YKe))}function Gan(){var e=IJ().curve(YKe),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return a9(n())},delete e.lineX0,e.lineEndAngle=function(){return a9(r())},delete e.lineX1,e.lineInnerRadius=function(){return a9(i())},delete e.lineY0,e.lineOuterRadius=function(){return a9(o())},delete e.lineY1,e.curve=function(a){return arguments.length?t(Zae(a)):t()._curve},e}function D4(){}function NJ(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Qae(e,t){this._context=e,this._k=(1-t)/6}Qae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:NJ(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:NJ(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return new Qae(r,t)}return n.tension=function(r){return e(+r)},n})(0);function Jae(e,t){this._context=e,this._k=(1-t)/6}Jae.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:NJ(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return new Jae(r,t)}return n.tension=function(r){return e(+r)},n})(0);function QKe(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>bl){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>bl){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function JKe(e,t){this._context=e,this._alpha=t}JKe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:QKe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return t?new JKe(r,t):new Qae(r,0)}return n.alpha=function(r){return e(+r)},n})(.5);function eXe(e,t){this._context=e,this._alpha=t}eXe.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:QKe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const tXe=function e(t){function n(r){return t?new eXe(r,t):new Jae(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function nXe(e){this._context=e}nXe.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function ele(e){return new nXe(e)}function s9e(e){return e<0?-1:1}function c9e(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),l=(o*i+a*r)/(r+i);return(s9e(o)+s9e(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function u9e(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function yK(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,l=(o-r)/3;e._context.bezierCurveTo(r+l,i+l*t,o-l,a-l*n,o,a)}function ZD(e){this._context=e}ZD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:yK(this,this._t0,u9e(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,yK(this,u9e(this,n=c9e(this,e,t)),n);break;default:yK(this,this._t0,n=c9e(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function rXe(e){this._context=new iXe(e)}(rXe.prototype=Object.create(ZD.prototype)).point=function(e,t){ZD.prototype.point.call(this,t,e)};function iXe(e){this._context=e}iXe.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}};function oXe(e){return new ZD(e)}function aXe(e){return new rXe(e)}function iH(e,t){this._context=e,this._t=t}iH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function lXe(e){return new iH(e,.5)}function sXe(e){return new iH(e,0)}function cXe(e){return new iH(e,1)}function Hi(e){const{transformations:t}=e.getOptions();return t.map(([r])=>r).filter(r=>r==="transpose").length%2!==0}function Ai(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="polar")}function oH(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="reflect")&&t.some(([n])=>n.startsWith("transpose"))}function uXe(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="helix")}function aH(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="parallel")}function dXe(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="fisheye")}function Kan(e){return aH(e)&&Ai(e)}function BC(e){return uXe(e)||Ai(e)}function Xan(e){return Ai(e)&&Hi(e)}function Yan(e){if(BC(e)){const[t,n]=e.getSize(),r=e.getOptions().transformations.find(i=>i[0]==="polar");if(r)return Math.max(t,n)/2*r[4]}return 0}function lH(e){const{transformations:t}=e.getOptions(),[,,,n,r]=t.find(i=>i[0]==="polar");return[+n,+r]}function tle(e,t=!0){const{transformations:n}=e.getOptions(),[,r,i]=n.find(o=>o[0]==="polar");return t?[+r*180/Math.PI,+i*180/Math.PI]:[r,i]}function Zan(e,t){const{transformations:n}=e.getOptions(),[,...r]=n.find(i=>i[0]===t);return r}var fXe={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(s,u,c){this.fn=s,this.context=u,this.once=c||!1}function o(s,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var d=new i(c,f||s,h),p=n?n+u:u;return s._events[p]?s._events[p].fn?s._events[p]=[s._events[p],d]:s._events[p].push(d):(s._events[p]=d,s._eventsCount++),s}function a(s,u){--s._eventsCount===0?s._events=new r:delete s._events[u]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],c,f;if(this._eventsCount===0)return u;for(f in c=this._events)t.call(c,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},l.prototype.listeners=function(u){var c=n?n+u:u,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,d=f.length,p=new Array(d);h>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?YN(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?YN(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=eln.exec(e))?new pc(t[1],t[2],t[3],1):(t=tln.exec(e))?new pc(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=nln.exec(e))?YN(t[1],t[2],t[3],t[4]):(t=rln.exec(e))?YN(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=iln.exec(e))?v9e(t[1],t[2]/100,t[3]/100,1):(t=oln.exec(e))?v9e(t[1],t[2]/100,t[3]/100,t[4]):d9e.hasOwnProperty(e)?h9e(d9e[e]):e==="transparent"?new pc(NaN,NaN,NaN,0):null}function h9e(e){return new pc(e>>16&255,e>>8&255,e&255,1)}function YN(e,t,n,r){return r<=0&&(e=t=n=NaN),new pc(e,t,n,r)}function lln(e){return e instanceof MP||(e=sH(e)),e?(e=e.rgb(),new pc(e.r,e.g,e.b,e.opacity)):new pc}function sln(e,t,n,r){return arguments.length===1?lln(e):new pc(e,t,n,r??1)}function pc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}rle(pc,sln,pXe(MP,{brighter:function(e){return e=e==null?QD:Math.pow(QD,e),new pc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?I7:Math.pow(I7,e),new pc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:g9e,formatHex:g9e,formatRgb:m9e,toString:m9e}));function g9e(){return"#"+bK(this.r)+bK(this.g)+bK(this.b)}function m9e(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function bK(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function v9e(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new uf(e,t,n,r)}function hXe(e){if(e instanceof uf)return new uf(e.h,e.s,e.l,e.opacity);if(e instanceof MP||(e=sH(e)),!e)return new uf;if(e instanceof uf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new uf(a,l,s,e.opacity)}function cln(e,t,n,r){return arguments.length===1?hXe(e):new uf(e,t,n,r??1)}function uf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}rle(uf,cln,pXe(MP,{brighter:function(e){return e=e==null?QD:Math.pow(QD,e),new uf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?I7:Math.pow(I7,e),new uf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new pc(CK(e>=240?e-240:e+120,i,r),CK(e,i,r),CK(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function CK(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function nh(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function gXe(e,t){var n=Math.min.apply(Math,Kt([],Ae(e),!1)),r=Math.min.apply(Math,Kt([],Ae(t),!1)),i=Math.max.apply(Math,Kt([],Ae(e),!1)),o=Math.max.apply(Math,Kt([],Ae(t),!1));return{x:n,y:r,width:i-n,height:o-r}}function uln(e,t,n){return Math.atan(-t/e*Math.tan(n))}function dln(e,t,n){return Math.atan(t/(e*Math.tan(n)))}function fln(e,t,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+e}function pln(e,t,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+t}function hln(e,t,n,r,i,o,a){for(var l=uln(n,r,i),s=1/0,u=-1/0,c=[o,a],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var h=l+f;ou&&(u=d)}for(var p=dln(n,r,i),g=1/0,m=-1/0,v=[o,a],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var y=p+f;om&&(m=b)}return{x:s,y:g,width:u-s,height:m-g}}var gln=1e-4;function mXe(e,t,n,r,i,o){var a=-1,l=1/0,s=[n,r],u=20;o&&o>200&&(u=o/10);for(var c=1/u,f=c/10,h=0;h<=u;h++){var d=h*c,p=[i.apply(void 0,Kt([],Ae(e.concat([d])),!1)),i.apply(void 0,Kt([],Ae(t.concat([d])),!1))],g=nh(s[0],s[1],p[0],p[1]);g=0&&g=0&&s<=1&&l.push(s));else{var f=o*o-4*i*a;U9(f,0)?l.push(-o/(2*i)):f>0&&(c=Math.sqrt(f),s=(-o+c)/(2*i),u=(-o-c)/(2*i),s>=0&&s<=1&&l.push(s),u>=0&&u<=1&&l.push(u))}return l}function vln(e,t,n,r,i,o,a,l){for(var s=[e,a],u=[t,l],c=y9e(e,n,i,a),f=y9e(t,r,o,l),h=0;h=0?[i]:[]}function Sln(e,t,n,r,i,o){var a=C9e(e,n,i)[0],l=C9e(t,r,o)[0],s=[e,i],u=[t,o];return a!==void 0&&s.push(kJ(e,n,i,a)),l!==void 0&&u.push(kJ(t,r,o,l)),gXe(s,u)}function xln(e,t,n,r,i,o,a,l){return mXe([e,n,i],[t,r,o],a,l,kJ)}function _ln(e,t,n,r,i,o,a,l){var s=xln(e,t,n,r,i,o,a,l);return nh(s.x,s.y,a,l)}var wln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bXe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(wln,function(){function n(x,S,w,O,$){r(x,S,w||0,O||x.length-1,$||o)}function r(x,S,w,O,$){for(;O>w;){if(O-w>600){var P=O-w+1,T=S-w+1,R=Math.log(P),M=.5*Math.exp(2*R/3),A=.5*Math.sqrt(R*M*(P-M)/P)*(T-P/2<0?-1:1),N=Math.max(w,Math.floor(S-T*M/P+A)),k=Math.min(O,Math.floor(S+(P-T)*M/P+A));r(x,S,N,k,$)}var D=x[S],L=w,B=O;for(i(x,w,S),$(x[O],D)>0&&i(x,w,O);L0;)B--}$(x[w],D)===0?i(x,w,B):(B++,i(x,B,O)),B<=S&&(w=B+1),S<=B&&(O=B-1)}}function i(x,S,w){var O=x[S];x[S]=x[w],x[w]=O}function o(x,S){return xS?1:0}var a=function(S){S===void 0&&(S=9),this._maxEntries=Math.max(4,S),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()};a.prototype.all=function(){return this._all(this.data,[])},a.prototype.search=function(S){var w=this.data,O=[];if(!y(S,w))return O;for(var $=this.toBBox,P=[];w;){for(var T=0;T=0&&P[w].children.length>this._maxEntries;)this._split(P,w),w--;this._adjustParentBBoxes($,P,w)},a.prototype._split=function(S,w){var O=S[w],$=O.children.length,P=this._minEntries;this._chooseSplitAxis(O,P,$);var T=this._chooseSplitIndex(O,P,$),R=b(O.children.splice(T,O.children.length-T));R.height=O.height,R.leaf=O.leaf,s(O,this.toBBox),s(R,this.toBBox),w?S[w-1].children.push(R):this._splitRoot(O,R)},a.prototype._splitRoot=function(S,w){this.data=b([S,w]),this.data.height=S.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},a.prototype._chooseSplitIndex=function(S,w,O){for(var $,P=1/0,T=1/0,R=w;R<=O-w;R++){var M=u(S,0,R,this.toBBox),A=u(S,R,O,this.toBBox),N=m(M,A),k=d(M)+d(A);N=w;k--){var D=S.children[k];c(R,S.leaf?P(D):D),M+=p(R)}return M},a.prototype._adjustParentBBoxes=function(S,w,O){for(var $=O;$>=0;$--)c(w[$],S)},a.prototype._condense=function(S){for(var w=S.length-1,O=void 0;w>=0;w--)S[w].children.length===0?w>0?(O=S[w-1].children,O.splice(O.indexOf(S[w]),1)):this.clear():s(S[w],this.toBBox)};function l(x,S,w){if(!w)return S.indexOf(x);for(var O=0;O=x.minX&&S.maxY>=x.minY}function b(x){return{children:x,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function C(x,S,w,O,$){for(var P=[S,w];P.length;)if(w=P.pop(),S=P.pop(),!(w-S<=O)){var T=S+Math.ceil((w-S)/O/2)*O;n(x,T,S,w,$),P.push(S,T,T,w)}}return a})})(bXe);var Oln=bXe.exports,Rt;(function(e){e.GROUP="g",e.CIRCLE="circle",e.ELLIPSE="ellipse",e.IMAGE="image",e.RECT="rect",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.TEXT="text",e.PATH="path",e.HTML="html",e.MESH="mesh"})(Rt||(Rt={}));var L3;(function(e){e[e.ZERO=0]="ZERO",e[e.NEGATIVE_ONE=1]="NEGATIVE_ONE"})(L3||(L3={}));var B0=function(){function e(){this.plugins=[]}return e.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},e.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(n){var r=t.context.renderingPlugins.indexOf(n);r>=0&&t.context.renderingPlugins.splice(r,1)})},e}(),Eln=function(){function e(t){this.clipSpaceNearZ=L3.NEGATIVE_ONE,this.plugins=[],this.config=Mt({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1},t)}return e.prototype.registerPlugin=function(t){var n=this.plugins.findIndex(function(r){return r===t});n===-1&&this.plugins.push(t)},e.prototype.unregisterPlugin=function(t){var n=this.plugins.findIndex(function(r){return r===t});n>-1&&this.plugins.splice(n,1)},e.prototype.getPlugins=function(){return this.plugins},e.prototype.getPlugin=function(t){return this.plugins.find(function(n){return n.name===t})},e.prototype.getConfig=function(){return this.config},e.prototype.setConfig=function(t){Object.assign(this.config,t)},e}();function v2(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function SK(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function Uk(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function S9e(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function $ln(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function Pln(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function z3(e){return e===void 0?0:e>360||e<-360?e%360:e}function ql(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=0),Array.isArray(e)&&e.length===3?Rp(e):Ro(e)?Br(e,t,n):Br(e[0],e[1]||t,e[2]||n)}function ao(e){return e*(Math.PI/180)}function Kc(e){return e*(180/Math.PI)}function Tln(e){return 360*e}function Mln(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n,l=r*r,s=i*i,u=o*o,c=a+l+s+u,f=n*o-r*i;return f>.499995*c?(e[0]=Math.PI/2,e[1]=2*Math.atan2(r,n),e[2]=0):f<-.499995*c?(e[0]=-Math.PI/2,e[1]=2*Math.atan2(r,n),e[2]=0):(e[0]=Math.asin(2*(n*i-o*r)),e[1]=Math.atan2(2*(n*o+r*i),1-2*(s+u)),e[2]=Math.atan2(2*(n*r+i*o),1-2*(l+s))),e}function Rln(e,t){var n,r,i=Math.PI*.5,o=Ae(P4(_r(),t),3),a=o[0],l=o[1],s=o[2],u=Math.asin(-t[2]/a);return u-i?(n=Math.atan2(t[6]/l,t[10]/s),r=Math.atan2(t[1]/a,t[0]/a)):(r=0,n=-Math.atan2(t[4]/l,t[5]/l)):(r=0,n=Math.atan2(t[4]/l,t[5]/l)),e[0]=n,e[1]=u,e[2]=r,e}function xK(e,t){return t.length===16?Rln(e,t):Mln(e,t)}function Iln(e,t,n,r,i){var o=Math.cos(e),a=Math.sin(e);return bnn(r*o,i*a,0,-r*a,i*o,0,t,n,1)}function Nln(e,t,n,r,i,o,a,l){l===void 0&&(l=!1);var s=2*o/(n-t),u=2*o/(r-i),c=(n+t)/(n-t),f=(r+i)/(r-i),h,d;return l?(h=-a/(a-o),d=-a*o/(a-o)):(h=-(a+o)/(a-o),d=-2*a*o/(a-o)),e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=c,e[9]=f,e[10]=h,e[11]=-1,e[12]=0,e[13]=0,e[14]=d,e[15]=0,e}function x9e(e){var t=e[0],n=e[1],r=e[3],i=e[4],o=Math.sqrt(t*t+n*n),a=Math.sqrt(r*r+i*i),l=t*i-n*r;l<0&&(tJn[1][2]&&(o[0]=-o[0]),Jn[0][2]>Jn[2][0]&&(o[1]=-o[1]),Jn[1][0]>Jn[0][1]&&(o[2]=-o[2]),!0}function kln(e,t){var n=t[15];if(n===0)return!1;for(var r=1/n,i=0;i<16;i++)e[i]=t[i]*r;return!0}function jln(e,t){e[0][0]=t[0],e[0][1]=t[1],e[0][2]=t[2],e[1][0]=t[4],e[1][1]=t[5],e[1][2]=t[6],e[2][0]=t[8],e[2][1]=t[9],e[2][2]=t[10]}function _K(e,t,n,r,i){e[0]=t[0]*r+n[0]*i,e[1]=t[1]*r+n[1]*i,e[2]=t[2]*r+n[2]*i}var Jo=function(){function e(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return e.isEmpty=function(t){return!t||t.halfExtents[0]===0&&t.halfExtents[1]===0&&t.halfExtents[2]===0},e.prototype.update=function(t,n){v2(this.center,t),v2(this.halfExtents,n),SK(this.min,this.center,this.halfExtents),Uk(this.max,this.center,this.halfExtents)},e.prototype.setMinMax=function(t,n){Uk(this.center,n,t),S9e(this.center,this.center,.5),SK(this.halfExtents,n,t),S9e(this.halfExtents,this.halfExtents,.5),v2(this.min,t),v2(this.max,n)},e.prototype.getMin=function(){return this.min},e.prototype.getMax=function(){return this.max},e.prototype.add=function(t){if(!e.isEmpty(t)){if(e.isEmpty(this)){this.setMinMax(t.getMin(),t.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,l=a[0],s=a[1],u=a[2],c=r-l,f=r+l,h=i-s,d=i+s,p=o-u,g=o+u,m=t.center,v=m[0],y=m[1],b=m[2],C=t.halfExtents,x=C[0],S=C[1],w=C[2],O=v-x,$=v+x,P=y-S,T=y+S,R=b-w,M=b+w;Of&&(f=$),Pd&&(d=T),Rg&&(g=M),n[0]=(c+f)*.5,n[1]=(h+d)*.5,n[2]=(p+g)*.5,a[0]=(f-c)*.5,a[1]=(d-h)*.5,a[2]=(g-p)*.5,this.min[0]=c,this.min[1]=h,this.min[2]=p,this.max[0]=f,this.max[1]=d,this.max[2]=g}},e.prototype.setFromTransformedAABB=function(t,n){var r=this.center,i=this.halfExtents,o=t.center,a=t.halfExtents,l=n[0],s=n[4],u=n[8],c=n[1],f=n[5],h=n[9],d=n[2],p=n[6],g=n[10],m=Math.abs(l),v=Math.abs(s),y=Math.abs(u),b=Math.abs(c),C=Math.abs(f),x=Math.abs(h),S=Math.abs(d),w=Math.abs(p),O=Math.abs(g);r[0]=n[12]+l*o[0]+s*o[1]+u*o[2],r[1]=n[13]+c*o[0]+f*o[1]+h*o[2],r[2]=n[14]+d*o[0]+p*o[1]+g*o[2],i[0]=m*a[0]+v*a[1]+y*a[2],i[1]=b*a[0]+C*a[1]+x*a[2],i[2]=S*a[0]+w*a[1]+O*a[2],SK(this.min,r,i),Uk(this.max,r,i)},e.prototype.intersects=function(t){var n=this.getMax(),r=this.getMin(),i=t.getMax(),o=t.getMin();return r[0]<=i[0]&&n[0]>=o[0]&&r[1]<=i[1]&&n[1]>=o[1]&&r[2]<=i[2]&&n[2]>=o[2]},e.prototype.intersection=function(t){if(!this.intersects(t))return null;var n=new e,r=$ln([0,0,0],this.getMin(),t.getMin()),i=Pln([0,0,0],this.getMax(),t.getMax());return n.setMinMax(r,i),n},e.prototype.getNegativeFarPoint=function(t){return t.pnVertexFlag===273?v2([0,0,0],this.min):t.pnVertexFlag===272?[this.min[0],this.min[1],this.max[2]]:t.pnVertexFlag===257?[this.min[0],this.max[1],this.min[2]]:t.pnVertexFlag===256?[this.min[0],this.max[1],this.max[2]]:t.pnVertexFlag===17?[this.max[0],this.min[1],this.min[2]]:t.pnVertexFlag===16?[this.max[0],this.min[1],this.max[2]]:t.pnVertexFlag===1?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]},e.prototype.getPositiveFarPoint=function(t){return t.pnVertexFlag===273?v2([0,0,0],this.max):t.pnVertexFlag===272?[this.max[0],this.max[1],this.min[2]]:t.pnVertexFlag===257?[this.max[0],this.min[1],this.max[2]]:t.pnVertexFlag===256?[this.max[0],this.min[1],this.min[2]]:t.pnVertexFlag===17?[this.min[0],this.max[1],this.max[2]]:t.pnVertexFlag===16?[this.min[0],this.max[1],this.min[2]]:t.pnVertexFlag===1?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]},e}(),Dln=function(){function e(t,n){this.distance=t||0,this.normal=n||Br(0,1,0),this.updatePNVertexFlag()}return e.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(+(this.normal[0]>=0)<<8)+(+(this.normal[1]>=0)<<4)+ +(this.normal[2]>=0)},e.prototype.distanceToPoint=function(t){return yf(t,this.normal)-this.distance},e.prototype.normalize=function(){var t=1/tGe(this.normal);vJ(this.normal,this.normal,t),this.distance*=t},e.prototype.intersectsLine=function(t,n,r){var i=this.distanceToPoint(t),o=this.distanceToPoint(n),a=i/(i-o),l=a>=0&&a<=1;return l&&r&&yJ(r,t,n,a),l},e}(),R1;(function(e){e[e.OUTSIDE=4294967295]="OUTSIDE",e[e.INSIDE=0]="INSIDE",e[e.INDETERMINATE=2147483647]="INDETERMINATE"})(R1||(R1={}));var Lln=function(){function e(t){if(this.planes=[],t)this.planes=t;else for(var n=0;n<6;n++)this.planes.push(new Dln)}return e.prototype.extractFromVPMatrix=function(t){var n=Ae(t,16),r=n[0],i=n[1],o=n[2],a=n[3],l=n[4],s=n[5],u=n[6],c=n[7],f=n[8],h=n[9],d=n[10],p=n[11],g=n[12],m=n[13],v=n[14],y=n[15];ud(this.planes[0].normal,a-r,c-l,p-f),this.planes[0].distance=y-g,ud(this.planes[1].normal,a+r,c+l,p+f),this.planes[1].distance=y+g,ud(this.planes[2].normal,a+i,c+s,p+h),this.planes[2].distance=y+m,ud(this.planes[3].normal,a-i,c-s,p-h),this.planes[3].distance=y-m,ud(this.planes[4].normal,a-o,c-u,p-d),this.planes[4].distance=y-v,ud(this.planes[5].normal,a+o,c+u,p+d),this.planes[5].distance=y+v,this.planes.forEach(function(b){b.normalize(),b.updatePNVertexFlag()})},e}(),La=function(){function e(t,n){t===void 0&&(t=0),n===void 0&&(n=0),this.x=0,this.y=0,this.x=t,this.y=n}return e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},e}(),by=function(){function e(t,n,r,i){this.x=t,this.y=n,this.width=r,this.height=i,this.left=t,this.right=t+r,this.top=n,this.bottom=n+i}return e.prototype.toJSON=function(){},e}(),gi="Method not implemented.",y2="Use document.documentElement instead.",zln="Cannot append a destroyed element.",ti;(function(e){e[e.ORBITING=0]="ORBITING",e[e.EXPLORING=1]="EXPLORING",e[e.TRACKING=2]="TRACKING"})(ti||(ti={}));var A7;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ROTATIONAL=1]="ROTATIONAL",e[e.TRANSLATIONAL=2]="TRANSLATIONAL",e[e.CINEMATIC=3]="CINEMATIC"})(A7||(A7={}));var ms;(function(e){e[e.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",e[e.PERSPECTIVE=1]="PERSPECTIVE"})(ms||(ms={}));var CXe={UPDATED:"updated"},w9e=2e-4,SXe=function(){function e(){this.clipSpaceNearZ=L3.NEGATIVE_ONE,this.eventEmitter=new nle,this.matrix=ci(),this.right=Br(1,0,0),this.up=Br(0,1,0),this.forward=Br(0,0,1),this.position=Br(0,0,1),this.focalPoint=Br(0,0,0),this.distanceVector=Br(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=ci(),this.projectionMatrixInverse=ci(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=ti.EXPLORING,this.trackingMode=A7.DEFAULT,this.projectionMode=ms.PERSPECTIVE,this.frustum=new Lln,this.orthoMatrix=ci()}return e.prototype.isOrtho=function(){return this.projectionMode===ms.ORTHOGRAPHIC},e.prototype.getProjectionMode=function(){return this.projectionMode},e.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},e.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},e.prototype.getFrustum=function(){return this.frustum},e.prototype.getPosition=function(){return this.position},e.prototype.getFocalPoint=function(){return this.focalPoint},e.prototype.getDollyingStep=function(){return this.dollyingStep},e.prototype.getNear=function(){return this.near},e.prototype.getFar=function(){return this.far},e.prototype.getZoom=function(){return this.zoom},e.prototype.getOrthoMatrix=function(){return this.orthoMatrix},e.prototype.getView=function(){return this.view},e.prototype.setEnableUpdate=function(t){this.enableUpdate=t},e.prototype.setType=function(t,n){return this.type=t,this.type===ti.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===ti.TRACKING&&n!==void 0&&this.setTrackingMode(n),this},e.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},e.prototype.setTrackingMode=function(t){if(this.type!==ti.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},e.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},e.prototype.getViewTransform=function(){return pd(ci(),this.matrix)},e.prototype.getWorldTransform=function(){return this.matrix},e.prototype.jitterProjectionMatrix=function(t,n){var r=Pae(ci(),[t,n,0]);this.jitteredProjectionMatrix=Ol(ci(),r,this.projectionMatrix)},e.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},e.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},e.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},e.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},e.prototype.setNear=function(t){return this.projectionMode===ms.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},e.prototype.setFar=function(t){return this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},e.prototype.setViewOffset=function(t,n,r,i,o,a){return this.aspect=t/n,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},e.prototype.clearViewOffset=function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},e.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===ms.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===ms.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},e.prototype.setZoomByViewportPoint=function(t,n){var r=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),i=r.x,o=r.y,a=this.roll;this.rotate(0,0,-a),this.setPosition(i,o),this.setFocalPoint(i,o),this.setZoom(t),this.rotate(0,0,a);var l=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),s=l.x,u=l.y,c=Br(s-i,u-o,0),f=yf(c,this.right)/Fp(this.right),h=yf(c,this.up)/Fp(this.up);return this.pan(-f,-h),this},e.prototype.setPerspective=function(t,n,r,i){var o;this.projectionMode=ms.PERSPECTIVE,this.fov=r,this.near=t,this.far=n,this.aspect=i;var a=this.near*Math.tan(ao(.5*this.fov))/this.zoom,l=2*a,s=this.aspect*l,u=-.5*s;if(!((o=this.view)===null||o===void 0)&&o.enabled){var c=this.view.fullWidth,f=this.view.fullHeight;u+=this.view.offsetX*s/c,a-=this.view.offsetY*l/f,s*=this.view.width/c,l*=this.view.height/f}return Nln(this.projectionMatrix,u,u+s,a,a-l,t,this.far,this.clipSpaceNearZ===L3.ZERO),zD(this.projectionMatrix,this.projectionMatrix,Br(1,-1,1)),pd(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},e.prototype.setOrthographic=function(t,n,r,i,o,a){var l;this.projectionMode=ms.ORTHOGRAPHIC,this.rright=n,this.left=t,this.top=r,this.bottom=i,this.near=o,this.far=a;var s=(this.rright-this.left)/(2*this.zoom),u=(this.top-this.bottom)/(2*this.zoom),c=(this.rright+this.left)/2,f=(this.top+this.bottom)/2,h=c-s,d=c+s,p=f+u,g=f-u;if(!((l=this.view)===null||l===void 0)&&l.enabled){var m=(this.rright-this.left)/this.view.fullWidth/this.zoom,v=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=m*this.view.offsetX,d=h+m*this.view.width,p-=v*this.view.offsetY,g=p-v*this.view.height}return this.clipSpaceNearZ===L3.NEGATIVE_ONE?XUe(this.projectionMatrix,h,d,g,p,o,a):YUe(this.projectionMatrix,h,d,g,p,o,a),zD(this.projectionMatrix,this.projectionMatrix,Br(1,-1,1)),pd(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},e.prototype.setPosition=function(t,n,r){n===void 0&&(n=this.position[1]),r===void 0&&(r=this.position[2]);var i=ql(t,n,r);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},e.prototype.setFocalPoint=function(t,n,r){n===void 0&&(n=this.focalPoint[1]),r===void 0&&(r=this.focalPoint[2]);var i=Br(0,1,0);if(this.focalPoint=ql(t,n,r),this.trackingMode===A7.CINEMATIC){var o=A8e(_r(),this.focalPoint,this.position);t=o[0],n=o[1],r=o[2];var a=Fp(o),l=Kc(Math.asin(n/a)),s=90+Kc(Math.atan2(r,t)),u=ci();VUe(u,u,ao(s)),qUe(u,u,ao(l)),i=xa(_r(),[0,1,0],u)}return pd(this.matrix,ZUe(ci(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},e.prototype.getDistance=function(){return this.distance},e.prototype.getDistanceVector=function(){return this.distanceVector},e.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance=dn.kEms&&t=x0.kUnitType&&this.getType()<=x0.kClampType},e}(),Vln=function(e){$n(t,e);function t(n){var r=e.call(this)||this;return r.colorSpace=n,r}return t.prototype.getType=function(){return x0.kColorType},t.prototype.to=function(n){return this},t}(cH),bf;(function(e){e[e.Constant=0]="Constant",e[e.LinearGradient=1]="LinearGradient",e[e.RadialGradient=2]="RadialGradient"})(bf||(bf={}));var ZN=function(e){$n(t,e);function t(n,r){var i=e.call(this)||this;return i.type=n,i.value=r,i}return t.prototype.clone=function(){return new t(this.type,this.value)},t.prototype.buildCSSText=function(n,r,i){return i},t.prototype.getType=function(){return x0.kColorType},t}(cH),ks=function(e){$n(t,e);function t(n){var r=e.call(this)||this;return r.value=n,r}return t.prototype.clone=function(){return new t(this.value)},t.prototype.getType=function(){return x0.kKeywordType},t.prototype.buildCSSText=function(n,r,i){return i+this.value},t}(cH),Uln=pl(function(e){return e===void 0&&(e=""),e.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),$9e=function(e){return e.split("").map(function(t,n){return t.toUpperCase()===t?"".concat(n!==0?"-":"").concat(t.toLowerCase()):t}).join("")};function Gln(e){if(!e)throw new Error}function c3(e){return typeof e=="function"}function Kln(e){return typeof e=="symbol"}var Xln={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},zJ=pl(function(e){var t=Uln(e),n=Xln[t];return t=(n==null?void 0:n.alias)||t,t}),Yln=function(e,t){t===void 0&&(t="");var n="";return Number.isFinite(e)?(Gln(Number.isNaN(e)),n="NaN"):e>0?n="infinity":n="-infinity",n+=t},BJ=function(e){return qln(Wln(e))},mi=function(e){$n(t,e);function t(n,r){r===void 0&&(r=dn.kNumber);var i=e.call(this)||this,o;return typeof r=="string"?o=Hln(r):o=r,i.unit=o,i.value=n,i}return t.prototype.clone=function(){return new t(this.value,this.unit)},t.prototype.equals=function(n){var r=n;return this.value===r.value&&this.unit===r.unit},t.prototype.getType=function(){return x0.kUnitType},t.prototype.convertTo=function(n){if(this.unit===n)return new t(this.value,this.unit);var r=BJ(this.unit);if(r!==BJ(n)||r===dn.kUnknown)return null;var i=E9e(this.unit)/E9e(n);return new t(this.value*i,n)},t.prototype.buildCSSText=function(n,r,i){var o;switch(this.unit){case dn.kUnknown:break;case dn.kInteger:o=Number(this.value).toFixed(0);break;case dn.kNumber:case dn.kPercentage:case dn.kEms:case dn.kRems:case dn.kPixels:case dn.kDegrees:case dn.kRadians:case dn.kGradians:case dn.kMilliseconds:case dn.kSeconds:case dn.kTurns:{var a=-999999,l=999999,s=this.value,u=LJ(this.unit);if(sl){var c=LJ(this.unit);!Number.isFinite(s)||Number.isNaN(s)?o=Yln(s,c):o=s+(c||"")}else o="".concat(s).concat(u)}}return i+=o,i},t}(cH),Ca=new mi(0,"px");new mi(1,"px");var hd=new mi(0,"deg"),ile=function(e){$n(t,e);function t(n,r,i,o,a){o===void 0&&(o=1),a===void 0&&(a=!1);var l=e.call(this,"rgb")||this;return l.r=n,l.g=r,l.b=i,l.alpha=o,l.isNone=a,l}return t.prototype.clone=function(){return new t(this.r,this.g,this.b,this.alpha)},t.prototype.buildCSSText=function(n,r,i){return i+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},t}(Vln),Mi=new ks("unset"),Zln=new ks("initial"),Qln=new ks("inherit"),wK={"":Mi,unset:Mi,initial:Zln,inherit:Qln},FJ=function(e){return wK[e]||(wK[e]=new ks(e)),wK[e]},HJ=new ile(0,0,0,0,!0),xXe=new ile(0,0,0,0),Jln=pl(function(e,t,n,r){return new ile(e,t,n,r)},function(e,t,n,r){return"rgba(".concat(e,",").concat(t,",").concat(n,",").concat(r,")")}),$i=function(e,t){return t===void 0&&(t=dn.kNumber),new mi(e,t)},JD=new mi(50,"%"),WJ;(function(e){e[e.Standard=0]="Standard"})(WJ||(WJ={}));var L4;(function(e){e[e.ADDED=0]="ADDED",e[e.REMOVED=1]="REMOVED",e[e.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED"})(L4||(L4={}));var _Xe={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new by(0,0,0,0)},vn;(function(e){e.COORDINATE="",e.COLOR="",e.PAINT="",e.NUMBER="",e.ANGLE="",e.OPACITY_VALUE="",e.SHADOW_BLUR="",e.LENGTH="",e.PERCENTAGE="",e.LENGTH_PERCENTAGE=" | ",e.LENGTH_PERCENTAGE_12="[ | ]{1,2}",e.LENGTH_PERCENTAGE_14="[ | ]{1,4}",e.LIST_OF_POINTS="",e.PATH="",e.FILTER="",e.Z_INDEX="",e.OFFSET_DISTANCE="",e.DEFINED_PATH="",e.MARKER="",e.TRANSFORM="",e.TRANSFORM_ORIGIN="",e.TEXT="",e.TEXT_TRANSFORM=""})(vn||(vn={}));function esn(e){var t=e.type,n=e.value;return t==="hex"?"#".concat(n):t==="literal"?n:t==="rgb"?"rgb(".concat(n.join(","),")"):"rgba(".concat(n.join(","),")")}var tsn=function(){var e={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(D){throw new Error(t+": "+D)}function r(){var D=i();return t.length>0&&n("Invalid input not EOF"),D}function i(){return b(o)}function o(){return a("linear-gradient",e.linearGradient,s)||a("repeating-linear-gradient",e.repeatingLinearGradient,s)||a("radial-gradient",e.radialGradient,f)||a("repeating-radial-gradient",e.repeatingRadialGradient,f)||a("conic-gradient",e.conicGradient,f)}function a(D,L,B){return l(L,function(j){var z=B();return z&&(N(e.comma)||n("Missing comma before color stops")),{type:D,orientation:z,colorStops:b(C)}})}function l(D,L){var B=N(D);if(B){N(e.startCall)||n("Missing (");var j=L(B);return N(e.endCall)||n("Missing )"),j}}function s(){return u()||c()}function u(){return A("directional",e.sideOrCorner,1)}function c(){return A("angular",e.angleValue,1)}function f(){var D,L=h(),B;return L&&(D=[],D.push(L),B=t,N(e.comma)&&(L=h(),L?D.push(L):t=B)),D}function h(){var D=d()||p();if(D)D.at=m();else{var L=g();if(L){D=L;var B=m();B&&(D.at=B)}else{var j=v();j&&(D={type:"default-radial",at:j})}}return D}function d(){var D=A("shape",/^(circle)/i,0);return D&&(D.style=M()||g()),D}function p(){var D=A("shape",/^(ellipse)/i,0);return D&&(D.style=T()||g()),D}function g(){return A("extent-keyword",e.extentKeywords,1)}function m(){if(A("position",/^at/,0)){var D=v();return D||n("Missing positioning value"),D}}function v(){var D=y();if(D.x||D.y)return{type:"position",value:D}}function y(){return{x:T(),y:T()}}function b(D){var L=D(),B=[];if(L)for(B.push(L);N(e.comma);)L=D(),L?B.push(L):n("One extra comma");return B}function C(){var D=x();return D||n("Expected color definition"),D.length=T(),D}function x(){return w()||$()||O()||S()}function S(){return A("literal",e.literalColor,0)}function w(){return A("hex",e.hexColor,1)}function O(){return l(e.rgbColor,function(){return{type:"rgb",value:b(P)}})}function $(){return l(e.rgbaColor,function(){return{type:"rgba",value:b(P)}})}function P(){return N(e.number)[1]}function T(){return A("%",e.percentageValue,1)||R()||M()}function R(){return A("position-keyword",e.positionKeywords,1)}function M(){return A("px",e.pixelValue,1)||A("em",e.emValue,1)}function A(D,L,B){var j=N(L);if(j)return{type:D,value:j[B]}}function N(D){var L=/^[\n\r\t\s]+/.exec(t);L&&k(L[0].length);var B=D.exec(t);return B&&k(B[0].length),B}function k(D){t=t.substring(D)}return function(D){return t=D,r()}}();function nsn(e,t,n){var r=ao(n.value),i=0,o=0,a=i+e/2,l=o+t/2,s=Math.abs(e*Math.cos(r))+Math.abs(t*Math.sin(r)),u=a-Math.cos(r)*s/2,c=l-Math.sin(r)*s/2,f=a+Math.cos(r)*s/2,h=l+Math.sin(r)*s/2;return{x1:u,y1:c,x2:f,y2:h}}function rsn(e,t,n,r,i){var o=n.value,a=r.value;n.unit===dn.kPercentage&&(o=n.value/100*e),r.unit===dn.kPercentage&&(a=r.value/100*t);var l=Math.max(ys([0,0],[o,a]),ys([0,t],[o,a]),ys([e,t],[o,a]),ys([e,0],[o,a]));return i&&(i instanceof mi?l=i.value:i instanceof ks&&(i.value==="closest-side"?l=Math.min(o,e-o,a,t-a):i.value==="farthest-side"?l=Math.max(o,e-o,a,t-a):i.value==="closest-corner"&&(l=Math.min(ys([0,0],[o,a]),ys([0,t],[o,a]),ys([e,t],[o,a]),ys([e,0],[o,a]))))),{x:o,y:a,r:l}}var isn=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,osn=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,asn=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,wXe=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function lsn(e){var t,n,r,i=e.length;e[i-1].length=(t=e[i-1].length)!==null&&t!==void 0?t:{type:"%",value:"100"},i>1&&(e[0].length=(n=e[0].length)!==null&&n!==void 0?n:{type:"%",value:"0"});for(var o=0,a=Number(e[0].length.value),l=1;l-1||e.indexOf("radial")>-1){var n=tsn(e);return n.map(function(l){var s=l.type,u=l.orientation,c=l.colorStops;lsn(c);var f=c.map(function(b){return{offset:$i(Number(b.length.value),"%"),color:esn(b)}});if(s==="linear-gradient")return new ZN(bf.LinearGradient,{angle:u?csn(u):hd,steps:f});if(s==="radial-gradient"&&(u||(u=[{type:"shape",value:"circle"}]),u[0].type==="shape"&&u[0].value==="circle")){var h=usn(u[0].at),d=h.cx,p=h.cy,g=void 0;if(u[0].style){var m=u[0].style,v=m.type,y=m.value;v==="extent-keyword"?g=FJ(y):g=$i(y,v)}return new ZN(bf.RadialGradient,{cx:d,cy:p,size:g,steps:f})}})}var r=e[0];if(e[1]==="("||e[2]==="("){if(r==="l"){var i=isn.exec(e);if(i){var o=((t=i[2].match(wXe))===null||t===void 0?void 0:t.map(function(l){return l.split(":")}))||[];return[new ZN(bf.LinearGradient,{angle:$i(parseFloat(i[1]),"deg"),steps:o.map(function(l){var s=Ae(l,2),u=s[0],c=s[1];return{offset:$i(Number(u)*100,"%"),color:c}})})]}}else if(r==="r"){var a=fsn(e);if(a)if(eo(a))e=a;else return[new ZN(bf.RadialGradient,a)]}else if(r==="p")return psn(e)}});function fsn(e){var t,n=osn.exec(e);if(n){var r=((t=n[4].match(wXe))===null||t===void 0?void 0:t.map(function(i){return i.split(":")}))||[];return{cx:$i(50,"%"),cy:$i(50,"%"),steps:r.map(function(i){var o=Ae(i,2),a=o[0],l=o[1];return{offset:$i(Number(a)*100,"%"),color:l}})}}return null}function psn(e){var t=asn.exec(e);if(t){var n=t[1],r=t[2];switch(n){case"a":n="repeat";break;case"x":n="repeat-x";break;case"y":n="repeat-y";break;case"n":n="no-repeat";break;default:n="no-repeat"}return{image:r,repetition:n}}return null}function k7(e){return e&&!!e.image}function eL(e){return e&&!Cn(e.r)&&!Cn(e.g)&&!Cn(e.b)}var rh=pl(function(e){if(k7(e))return Mt({repetition:"repeat"},e);if(Cn(e)&&(e=""),e==="transparent")return xXe;e==="currentColor"&&(e="black");var t=dsn(e);if(t)return t;var n=sH(e),r=[0,0,0,0];return n!==null&&(r[0]=n.r||0,r[1]=n.g||0,r[2]=n.b||0,r[3]=n.opacity),Jln.apply(void 0,Kt([],Ae(r),!1))});function hsn(e,t){if(!(!eL(e)||!eL(t)))return[[Number(e.r),Number(e.g),Number(e.b),Number(e.alpha)],[Number(t.r),Number(t.g),Number(t.b),Number(t.alpha)],function(n){var r=n.slice();if(r[3])for(var i=0;i<3;i++)r[i]=Math.round(mo(r[i],0,255));return r[3]=mo(r[3],0,1),"rgba(".concat(r.join(","),")")}]}function RP(e,t){if(Cn(t))return $i(0,"px");if(t="".concat(t).trim().toLowerCase(),isFinite(Number(t))){if("px".search(e)>=0)return $i(Number(t),"px");if("deg".search(e)>=0)return $i(Number(t),"deg")}var n=[];t=t.replace(e,function(i){return n.push(i),"U"+i});var r="U("+e.source+")";return n.map(function(i){return $i(Number(t.replace(new RegExp("U"+i,"g"),"").replace(new RegExp(r,"g"),"*0")),i)})[0]}var OXe=function(e){return RP(new RegExp("px","g"),e)},gsn=pl(OXe),msn=function(e){return RP(new RegExp("%","g"),e)};pl(msn);var j7=function(e){return Ro(e)||isFinite(Number(e))?$i(Number(e)||0,"px"):RP(new RegExp("px|%|em|rem","g"),e)},z4=pl(j7),ole=function(e){return RP(new RegExp("deg|rad|grad|turn","g"),e)},EXe=pl(ole);function vsn(e,t,n,r,i){i===void 0&&(i=0);var o="",a=e.value||0,l=t.value||0,s=BJ(e.unit),u=e.convertTo(s),c=t.convertTo(s);return u&&c?(a=u.value,l=c.value,o=LJ(e.unit)):(mi.isLength(e.unit)||mi.isLength(t.unit))&&(a=ec(e,i,n),l=ec(t,i,n),o="px"),[a,l,function(f){return r&&(f=Math.max(f,0)),f+o}]}function nc(e){var t=0;return e.unit===dn.kDegrees?t=e.value:e.unit===dn.kRadians?t=Kc(Number(e.value)):e.unit===dn.kTurns&&(t=Tln(Number(e.value))),t}function OK(e,t){var n;return Array.isArray(e)?n=e.map(function(r){return Number(r)}):eo(e)?n=e.split(" ").map(function(r){return Number(r)}):Ro(e)&&(n=[e]),t===2?n.length===1?[n[0],n[0]]:[n[0],n[1]]:n.length===1?[n[0],n[0],n[0],n[0]]:n.length===2?[n[0],n[1],n[0],n[1]]:n.length===3?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function $Xe(e){return eo(e)?e.split(" ").map(function(t){return z4(t)}):e.map(function(t){return z4(t.toString())})}function ec(e,t,n){if(e.value===0)return 0;if(e.unit===dn.kPixels)return Number(e.value);if(e.unit===dn.kPercentage&&n){var r=n.nodeName===Rt.GROUP?n.getLocalBounds():n.geometry.contentBounds;return e.value/100*r.halfExtents[t]*2}return 0}var ysn=function(e){return RP(/deg|rad|grad|turn|px|%/g,e)},bsn=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function PXe(e){if(e===void 0&&(e=""),e=e.toLowerCase().trim(),e==="none")return[];for(var t=/\s*([\w-]+)\(([^)]*)\)/g,n=[],r,i=0;r=t.exec(e);){if(r.index!==i)return[];if(i=r.index+r[0].length,bsn.indexOf(r[1])>-1&&n.push({name:r[1],params:r[2].split(" ").map(function(o){return ysn(o)||rh(o)})}),t.lastIndex===e.length)return n}return[]}function TXe(e){return e.toString()}var FC=function(e){return typeof e=="number"?$i(e):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e)?$i(Number(e)):$i(0)},Cy=pl(FC);pl(function(e){return eo(e)?e.split(" ").map(Cy):e.map(Cy)});function ale(e,t){return[e,t,TXe]}function lle(e,t){return function(n,r){return[n,r,function(i){return TXe(mo(i,e,t))}]}}function MXe(e,t){if(e.length===t.length)return[e,t,function(n){return n}]}function qJ(e){return e.parsedStyle.path.totalLength===0&&(e.parsedStyle.path.totalLength=Rrn(e.parsedStyle.path.absolutePath)),e.parsedStyle.path.totalLength}function Csn(e){for(var t=0;t0&&n.push(r),{polygons:t,polylines:n}}function tL(e,t){return e[0]===t[0]&&e[1]===t[1]}function _sn(e,t){for(var n=[],r=[],i=[],o=0;oMath.PI/2?Math.PI-u:u,c=c>Math.PI/2?Math.PI-c:c;var f={xExtra:Math.cos(s/2-u)*(t/2*(1/Math.sin(s/2)))-t/2||0,yExtra:Math.cos(c-s/2)*(t/2*(1/Math.sin(s/2)))-t/2||0};return f}function P9e(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}var T9e=function(e,t){var n=e.x*t.x+e.y*t.y,r=Math.sqrt((Math.pow(e.x,2)+Math.pow(e.y,2))*(Math.pow(t.x,2)+Math.pow(t.y,2))),i=e.x*t.y-e.y*t.x<0?-1:1,o=i*Math.acos(n/r);return o},M9e=function(e,t,n,r,i,o,a,l){t=Math.abs(t),n=Math.abs(n),r=jUe(r,360);var s=ao(r);if(e.x===a.x&&e.y===a.y)return{x:e.x,y:e.y,ellipticalArcAngle:0};if(t===0||n===0)return{x:0,y:0,ellipticalArcAngle:0};var u=(e.x-a.x)/2,c=(e.y-a.y)/2,f={x:Math.cos(s)*u+Math.sin(s)*c,y:-Math.sin(s)*u+Math.cos(s)*c},h=Math.pow(f.x,2)/Math.pow(t,2)+Math.pow(f.y,2)/Math.pow(n,2);h>1&&(t=Math.sqrt(h)*t,n=Math.sqrt(h)*n);var d=Math.pow(t,2)*Math.pow(n,2)-Math.pow(t,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2),p=Math.pow(t,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2),g=d/p;g=g<0?0:g;var m=(i!==o?1:-1)*Math.sqrt(g),v={x:m*(t*f.y/n),y:m*(-(n*f.x)/t)},y={x:Math.cos(s)*v.x-Math.sin(s)*v.y+(e.x+a.x)/2,y:Math.sin(s)*v.x+Math.cos(s)*v.y+(e.y+a.y)/2},b={x:(f.x-v.x)/t,y:(f.y-v.y)/n},C=T9e({x:1,y:0},b),x={x:(-f.x-v.x)/t,y:(-f.y-v.y)/n},S=T9e(b,x);!o&&S>0?S-=2*Math.PI:o&&S<0&&(S+=2*Math.PI),S%=2*Math.PI;var w=C+S*l,O=t*Math.cos(w),$=n*Math.sin(w),P={x:Math.cos(s)*O-Math.sin(s)*$+y.x,y:Math.sin(s)*O+Math.cos(s)*$+y.y,ellipticalArcStartAngle:C,ellipticalArcEndAngle:C+S,ellipticalArcAngle:w,ellipticalArcCenter:y,resultantRx:t,resultantRy:n};return P};function wsn(e){for(var t=[],n=null,r=null,i=null,o=0,a=e.length,l=0;l1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var p=n*n*(h*h)+r*r*(f*f),g=p?Math.sqrt((n*n*(r*r)-p)/p):1;o===a&&(g*=-1),isNaN(g)&&(g=0);var m=r?g*n*h/r:0,v=n?g*-r*f/n:0,y=(l+u)/2+Math.cos(i)*m-Math.sin(i)*v,b=(s+c)/2+Math.sin(i)*m+Math.cos(i)*v,C=[(f-m)/n,(h-v)/r],x=[(-1*f-m)/n,(-1*h-v)/r],S=I9e([1,0],C),w=I9e(C,x);return VJ(C,x)<=-1&&(w=Math.PI),VJ(C,x)>=1&&(w=0),a===0&&w>0&&(w=w-2*Math.PI),a===1&&w<0&&(w=w+2*Math.PI),{cx:y,cy:b,rx:tL(e,[u,c])?0:n,ry:tL(e,[u,c])?0:r,startAngle:S,endAngle:S+w,xRotation:i,arcFlag:o,sweepFlag:a}}function Esn(e,t,n){var r=t.parsedStyle,i=r.defX,o=i===void 0?0:i,a=r.defY,l=a===void 0?0:a;return e.reduce(function(s,u){var c="";if(u[0]==="M"||u[0]==="L"){var f=Br(u[1]-o,u[2]-l,0);n&&xa(f,f,n),c="".concat(u[0]).concat(f[0],",").concat(f[1])}else if(u[0]==="Z")c=u[0];else if(u[0]==="C"){var h=Br(u[1]-o,u[2]-l,0),d=Br(u[3]-o,u[4]-l,0),p=Br(u[5]-o,u[6]-l,0);n&&(xa(h,h,n),xa(d,d,n),xa(p,p,n)),c="".concat(u[0]).concat(h[0],",").concat(h[1],",").concat(d[0],",").concat(d[1],",").concat(p[0],",").concat(p[1])}else if(u[0]==="A"){var g=Br(u[6]-o,u[7]-l,0);n&&xa(g,g,n),c="".concat(u[0]).concat(u[1],",").concat(u[2],",").concat(u[3],",").concat(u[4],",").concat(u[5],",").concat(g[0],",").concat(g[1])}else if(u[0]==="Q"){var h=Br(u[1]-o,u[2]-l,0),d=Br(u[3]-o,u[4]-l,0);n&&(xa(h,h,n),xa(d,d,n)),c="".concat(u[0]).concat(u[1],",").concat(u[2],",").concat(u[3],",").concat(u[4],"}")}return s+=c},"")}function $sn(e,t,n,r){return[["M",e,t],["L",n,r]]}function N9e(e,t,n,r){var i=(-1+Math.sqrt(2))/3*4,o=e*i,a=t*i,l=n-e,s=n+e,u=r-t,c=r+t;return[["M",l,r],["C",l,r-a,n-o,u,n,u],["C",n+o,u,s,r-a,s,r],["C",s,r+a,n+o,c,n,c],["C",n-o,c,l,r+a,l,r],["Z"]]}function Psn(e,t){var n=e.map(function(r,i){return[i===0?"M":"L",r[0],r[1]]});return t&&n.push(["Z"]),n}function Tsn(e,t,n,r,i){if(i){var o=Ae(i,4),a=o[0],l=o[1],s=o[2],u=o[3],c=e>0?1:-1,f=t>0?1:-1,h=c+f!==0?1:0;return[["M",c*a+n,r],["L",e-c*l+n,r],l?["A",l,l,0,0,h,e+n,f*l+r]:null,["L",e+n,t-f*s+r],s?["A",s,s,0,0,h,e+n-c*s,t+r]:null,["L",n+c*u,t+r],u?["A",u,u,0,0,h,n,t+r-f*u]:null,["L",n,f*a+r],a?["A",a,a,0,0,h,c*a+n,r]:null,["Z"]].filter(function(d){return d})}return[["M",n,r],["L",n+e,r],["L",n+e,r+t],["L",n,r+t],["Z"]]}function sle(e,t){t===void 0&&(t=e.getLocalTransform());var n=[];switch(e.nodeName){case Rt.LINE:var r=e.parsedStyle,i=r.x1,o=i===void 0?0:i,a=r.y1,l=a===void 0?0:a,s=r.x2,u=s===void 0?0:s,c=r.y2,f=c===void 0?0:c;n=$sn(o,l,u,f);break;case Rt.CIRCLE:{var h=e.parsedStyle,d=h.r,p=d===void 0?0:d,g=h.cx,m=g===void 0?0:g,v=h.cy,y=v===void 0?0:v;n=N9e(p,p,m,y);break}case Rt.ELLIPSE:{var b=e.parsedStyle,C=b.rx,x=C===void 0?0:C,S=b.ry,w=S===void 0?0:S,O=b.cx,m=O===void 0?0:O,$=b.cy,y=$===void 0?0:$;n=N9e(x,w,m,y);break}case Rt.POLYLINE:case Rt.POLYGON:var P=e.parsedStyle.points;n=Psn(P.points,e.nodeName===Rt.POLYGON);break;case Rt.RECT:var T=e.parsedStyle,R=T.width,M=R===void 0?0:R,A=T.height,N=A===void 0?0:A,k=T.x,D=k===void 0?0:k,L=T.y,B=L===void 0?0:L,j=T.radius,z=j&&j.some(function(W){return W!==0});n=Tsn(M,N,D,B,z&&j.map(function(W){return mo(W,0,Math.min(Math.abs(M)/2,Math.abs(N)/2))}));break;case Rt.PATH:var V=e.parsedStyle.path.absolutePath;n=Kt([],Ae(V),!1);break}if(n.length)return Esn(n,e,t)}var RXe=function(e){if(e===""||Array.isArray(e)&&e.length===0)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};var t;try{t=WD(e)}catch{t=WD(""),console.error("[g]: Invalid SVG Path definition: ".concat(e))}Csn(t);var n=Ssn(t),r=xsn(t),i=r.polygons,o=r.polylines,a=wsn(t),l=_sn(a,0),s=l.x,u=l.y,c=l.width,f=l.height;return{absolutePath:t,hasArc:n,segments:a,polygons:i,polylines:o,totalLength:0,rect:{x:Number.isFinite(s)?s:0,y:Number.isFinite(u)?u:0,width:Number.isFinite(c)?c:0,height:Number.isFinite(f)?f:0}}},Msn=pl(RXe);function UJ(e){return eo(e)?Msn(e):RXe(e)}function Rsn(e,t,n){var r=e.curve,i=t.curve;(!r||r.length===0)&&(r=CJ(e.absolutePath,!1),e.curve=r),(!i||i.length===0)&&(i=CJ(t.absolutePath,!1),t.curve=i);var o=[r,i];r.length!==i.length&&(o=cGe(r,i));var a=B8e(o[0])!==B8e(o[1])?Orn(o[0]):wrn(o[0]);return[a,Nrn(o[1],a),function(l){return l}]}function IXe(e,t){var n;eo(e)?n=e.split(" ").map(function(c){var f=Ae(c.split(","),2),h=f[0],d=f[1];return[Number(h),Number(d)]}):n=e;var r=[],i=0,o,a,l=Cln(n);n.forEach(function(c,f){n[f+1]&&(o=[0,0],o[0]=i/l,a=vXe(c[0],c[1],n[f+1][0],n[f+1][1]),i+=a,o[1]=i/l,r.push(o))});var s=Math.min.apply(Math,Kt([],Ae(n.map(function(c){return c[0]})),!1)),u=Math.min.apply(Math,Kt([],Ae(n.map(function(c){return c[1]})),!1));return t&&(t.parsedStyle.defX=s,t.parsedStyle.defY=u),{points:n,totalLength:l,segments:r}}function Isn(e,t){return[e.points,t.points,function(n){return n}]}var co=null;function ds(e){return function(t){var n=0;return e.map(function(r){return r===co?t[n++]:r})}}function Wm(e){return e}var nL={matrix:["NNNNNN",[co,co,0,0,co,co,0,0,0,0,1,0,co,co,0,1],Wm],matrix3d:["NNNNNNNNNNNNNNNN",Wm],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",ds([co,co,new mi(1)]),Wm],scalex:["N",ds([co,new mi(1),new mi(1)]),ds([co,new mi(1)])],scaley:["N",ds([new mi(1),co,new mi(1)]),ds([new mi(1),co])],scalez:["N",ds([new mi(1),new mi(1),co])],scale3d:["NNN",Wm],skew:["Aa",null,Wm],skewx:["A",null,ds([co,hd])],skewy:["A",null,ds([hd,co])],translate:["Tt",ds([co,co,Ca]),Wm],translatex:["T",ds([co,Ca,Ca]),ds([co,Ca])],translatey:["T",ds([Ca,co,Ca]),ds([Ca,co])],translatez:["L",ds([Ca,Ca,co])],translate3d:["TTL",Wm]};function cle(e){if(e=(e||"none").toLowerCase().trim(),e==="none")return[];for(var t=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=t.exec(e);){if(r.index!==i)return[];i=r.index+r[0].length;var o=r[1],a=nL[o];if(!a)return[];var l=r[2].split(","),s=a[0];if(s.length"].calculator(null,null,{value:n.textTransform},t,null),n.clipPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",a,n.clipPath,t,this.runtime),n.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",l,n.offsetPath,t,this.runtime),n.anchor&&(t.parsedStyle.anchor=OK(n.anchor,2)),n.transform&&(t.parsedStyle.transform=cle(n.transform)),n.transformOrigin&&(t.parsedStyle.transformOrigin=NXe(n.transformOrigin)),n.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,n.markerStart,n.markerStart,null,null)),n.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,n.markerEnd,n.markerEnd,null,null)),n.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",n.markerMid,n.markerMid,null,null)),((t.nodeName===Rt.CIRCLE||t.nodeName===Rt.ELLIPSE)&&(!Cn(n.cx)||!Cn(n.cy))||(t.nodeName===Rt.RECT||t.nodeName===Rt.IMAGE||t.nodeName===Rt.GROUP||t.nodeName===Rt.HTML||t.nodeName===Rt.TEXT||t.nodeName===Rt.MESH)&&(!Cn(n.x)||!Cn(n.y)||!Cn(n.z))||t.nodeName===Rt.LINE&&(!Cn(n.x1)||!Cn(n.y1)||!Cn(n.z1)||!Cn(n.x2)||!Cn(n.y2)||!Cn(n.z2)))&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),Cn(n.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.path&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.points&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),Cn(n.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),s&&this.updateGeometry(t);return}var c=r.skipUpdateAttribute,f=r.skipParse,h=r.forceUpdateGeometry,d=r.usedAttributes,p=r.memoize,g=h,m=Object.keys(n);m.forEach(function(v){var y;c||(t.attributes[v]=n[v]),!g&&(!((y=_1[v])===null||y===void 0)&&y.l)&&(g=!0)}),f||m.forEach(function(v){t.computedStyle[v]=i.parseProperty(v,t.attributes[v],t,p)}),d!=null&&d.length&&(m=Array.from(new Set(m.concat(d)))),m.forEach(function(v){v in t.computedStyle&&(t.parsedStyle[v]=i.computeProperty(v,t.computedStyle[v],t,p))}),g&&this.updateGeometry(t),m.forEach(function(v){v in t.parsedStyle&&i.postProcessProperty(v,t,m)}),this.runtime.enableCSSParsing&&t.children.length&&m.forEach(function(v){v in t.parsedStyle&&i.isPropertyInheritable(v)&&t.children.forEach(function(y){y.internalSetAttribute(v,null,{skipUpdateAttribute:!0,skipParse:!0})})})},e.prototype.parseProperty=function(t,n,r,i){var o=_1[t],a=n;if((n===""||Cn(n))&&(n="unset"),n==="unset"||n==="initial"||n==="inherit")a=FJ(n);else if(o){var l=o.k,s=o.syntax,u=s&&this.getPropertySyntax(s);l&&l.indexOf(n)>-1?a=FJ(n):u&&(!i&&u.parserUnmemoize?a=u.parserUnmemoize(n,r):u.parser&&(a=u.parser(n,r)))}return a},e.prototype.computeProperty=function(t,n,r,i){var o=_1[t],a=r.id==="g-root",l=n;if(o){var s=o.syntax,u=o.inh,c=o.d;if(n instanceof ks){var f=n.value;if(f==="unset"&&(u&&!a?f="inherit":f="initial"),f==="initial")Cn(c)||(n=this.parseProperty(t,c3(c)?c(r.nodeName):c,r,i));else if(f==="inherit"){var h=this.tryToResolveProperty(r,t,{inherited:!0});if(Cn(h)){this.addUnresolveProperty(r,t);return}else return h}}var d=s&&this.getPropertySyntax(s);if(d&&d.calculator){var p=r.parsedStyle[t];l=d.calculator(t,p,n,r,this.runtime)}else n instanceof ks?l=n.value:l=n}return l},e.prototype.postProcessProperty=function(t,n,r){var i=_1[t];if(i&&i.syntax){var o=i.syntax&&this.getPropertySyntax(i.syntax),a=o;a&&a.postProcessor&&a.postProcessor(n,r)}},e.prototype.addUnresolveProperty=function(t,n){var r=R2.get(t);r||(R2.set(t,[]),r=R2.get(t)),r.indexOf(n)===-1&&r.push(n)},e.prototype.tryToResolveProperty=function(t,n,r){r===void 0&&(r={});var i=r.inherited;if(i&&t.parentElement&&Wsn(t.parentElement,n)){var o=t.parentElement.parsedStyle[n];return o==="unset"||o==="initial"||o==="inherit"?void 0:o}},e.prototype.recalc=function(t){var n=R2.get(t);if(n&&n.length){var r={};n.forEach(function(i){r[i]=t.attributes[i]}),this.processProperties(t,r),R2.delete(t)}},e.prototype.updateGeometry=function(t){var n=t.nodeName,r=this.runtime.geometryUpdaterFactory[n];if(r){var i=t.geometry;i.contentBounds||(i.contentBounds=new Jo),i.renderBounds||(i.renderBounds=new Jo);var o=t.parsedStyle,a=r.update(o,t),l=a.width,s=a.height,u=a.depth,c=u===void 0?0:u,f=a.offsetX,h=f===void 0?0:f,d=a.offsetY,p=d===void 0?0:d,g=a.offsetZ,m=g===void 0?0:g,v=[Math.abs(l)/2,Math.abs(s)/2,c/2],y=o,b=y.stroke,C=y.lineWidth,x=y.increasedLineWidthForHitTesting,S=y.shadowType,w=y.shadowColor,O=y.filter,$=O===void 0?[]:O,P=y.transformOrigin,T=o.anchor;n===Rt.TEXT?delete o.anchor:n===Rt.MESH&&(o.anchor[2]=.5);var R=[(1-(T&&T[0]||0)*2)*l/2+h,(1-(T&&T[1]||0)*2)*s/2+p,(1-(T&&T[2]||0)*2)*v[2]+m];i.contentBounds.update(R,v);var M=n===Rt.POLYLINE||n===Rt.POLYGON||n===Rt.PATH?Math.SQRT2:.5,A=b&&!b.isNone;if(A){var N=((C||0)+(x||0))*M;v[0]+=N,v[1]+=N}if(i.renderBounds.update(R,v),w&&S&&S!=="inner"){var k=i.renderBounds,D=k.min,L=k.max,B=o,j=B.shadowBlur,z=B.shadowOffsetX,V=B.shadowOffsetY,W=j||0,U=z||0,K=V||0,X=D[0]-W+U,G=L[0]+W+U,Y=D[1]-W+K,J=L[1]+W+K;D[0]=Math.min(D[0],X),L[0]=Math.max(L[0],G),D[1]=Math.min(D[1],Y),L[1]=Math.max(L[1],J),i.renderBounds.setMinMax(D,L)}$.forEach(function(re){var oe=re.name,se=re.params;if(oe==="blur"){var ye=se[0].value;i.renderBounds.update(i.renderBounds.center,Uk(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[ye,ye,0]))}else if(oe==="drop-shadow"){var be=se[0].value,he=se[1].value,le=se[2].value,ve=i.renderBounds,ke=ve.min,Ie=ve.max,Oe=ke[0]-le+be,Pe=Ie[0]+le+be,_e=ke[1]-le+he,ce=Ie[1]+le+he;ke[0]=Math.min(ke[0],Oe),Ie[0]=Math.max(Ie[0],Pe),ke[1]=Math.min(ke[1],_e),Ie[1]=Math.max(Ie[1],ce),i.renderBounds.setMinMax(ke,Ie)}}),T=o.anchor;var ee=l<0,Q=s<0,te=(ee?-1:1)*(P?ec(P[0],0,t):0),ne=(Q?-1:1)*(P?ec(P[1],1,t):0);te=te-(ee?-1:1)*(T&&T[0]||0)*i.contentBounds.halfExtents[0]*2,ne=ne-(Q?-1:1)*(T&&T[1]||0)*i.contentBounds.halfExtents[1]*2,t.setOrigin(te,ne),this.runtime.sceneGraphService.dirtifyToRoot(t)}},e.prototype.isPropertyInheritable=function(t){var n=_1[t];return n?n.inh:!1},e}(),Vsn=function(){function e(){this.parser=EXe,this.parserUnmemoize=ole,this.parserWithCSSDisabled=null,this.mixer=ale}return e.prototype.calculator=function(t,n,r,i){return nc(r)},e}(),Usn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i,o){return r instanceof ks&&(r=null),o.sceneGraphService.updateDisplayObjectDependency(t,n,r,i),t==="clipPath"&&i.forEach(function(a){a.childNodes.length===0&&o.sceneGraphService.dirtifyToRoot(a)}),r},e}(),Gsn=function(){function e(){this.parser=rh,this.parserWithCSSDisabled=rh,this.mixer=hsn}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?r.value==="none"?HJ:xXe:r},e}(),Ksn=function(){function e(){this.parser=PXe}return e.prototype.calculator=function(t,n,r){return r instanceof ks?[]:r},e}();function D9e(e){var t=e.parsedStyle.fontSize;return Cn(t)?null:t}var dle=function(){function e(){this.parser=z4,this.parserUnmemoize=j7,this.parserWithCSSDisabled=null,this.mixer=ale}return e.prototype.calculator=function(t,n,r,i,o){var a;if(Ro(r))return r;if(mi.isRelativeUnit(r.unit)){var l=o.styleValueRegistry;if(r.unit===dn.kPercentage)return 0;if(r.unit===dn.kEms){if(i.parentNode){var s=D9e(i.parentNode);if(s)return s*=r.value,s;l.addUnresolveProperty(i,t)}else l.addUnresolveProperty(i,t);return 0}else if(r.unit===dn.kRems){if(!((a=i==null?void 0:i.ownerDocument)===null||a===void 0)&&a.documentElement){var s=D9e(i.ownerDocument.documentElement);if(s)return s*=r.value,s;l.addUnresolveProperty(i,t)}else l.addUnresolveProperty(i,t);return 0}}else return r.value},e}(),Xsn=function(){function e(){this.mixer=MXe}return e.prototype.parser=function(t){var n=$Xe(Ro(t)?[t]:t),r;return n.length===1?r=[n[0],n[0]]:r=[n[0],n[1]],r},e.prototype.calculator=function(t,n,r){return r.map(function(i){return i.value})},e}(),Ysn=function(){function e(){this.mixer=MXe}return e.prototype.parser=function(t){var n=$Xe(Ro(t)?[t]:t),r;return n.length===1?r=[n[0],n[0],n[0],n[0]]:n.length===2?r=[n[0],n[1],n[0],n[1]]:n.length===3?r=[n[0],n[1],n[2],n[1]]:r=[n[0],n[1],n[2],n[3]],r},e.prototype.calculator=function(t,n,r){return r.map(function(i){return i.value})},e}(),I8=ci();function fle(e,t){var n=t.parsedStyle.defX||0,r=t.parsedStyle.defY||0;return t.resetLocalTransform(),t.setLocalPosition(n,r),e.forEach(function(i){var o=i.t,a=i.d;if(o==="scale"){var l=(a==null?void 0:a.map(function(y){return y.value}))||[1,1];t.scaleLocal(l[0],l[1],1)}else if(o==="scalex"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(l[0],1,1)}else if(o==="scaley"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(1,l[0],1)}else if(o==="scalez"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(1,1,l[0])}else if(o==="scale3d"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1,1,1];t.scaleLocal(l[0],l[1],l[2])}else if(o==="translate"){var s=a||[Ca,Ca];t.translateLocal(s[0].value,s[1].value,0)}else if(o==="translatex"){var s=a||[Ca];t.translateLocal(s[0].value,0,0)}else if(o==="translatey"){var s=a||[Ca];t.translateLocal(0,s[0].value,0)}else if(o==="translatez"){var s=a||[Ca];t.translateLocal(0,0,s[0].value)}else if(o==="translate3d"){var s=a||[Ca,Ca,Ca];t.translateLocal(s[0].value,s[1].value,s[2].value)}else if(o==="rotate"){var u=a||[hd];t.rotateLocal(0,0,nc(u[0]))}else if(o==="rotatex"){var u=a||[hd];t.rotateLocal(nc(u[0]),0,0)}else if(o==="rotatey"){var u=a||[hd];t.rotateLocal(0,nc(u[0]),0)}else if(o==="rotatez"){var u=a||[hd];t.rotateLocal(0,0,nc(u[0]))}else if(o!=="rotate3d")if(o==="skew"){var c=(a==null?void 0:a.map(function(y){return y.value}))||[0,0];t.setLocalSkew(ao(c[0]),ao(c[1]))}else if(o==="skewx"){var c=(a==null?void 0:a.map(function(b){return b.value}))||[0];t.setLocalSkew(ao(c[0]),t.getLocalSkew()[1])}else if(o==="skewy"){var c=(a==null?void 0:a.map(function(b){return b.value}))||[0];t.setLocalSkew(t.getLocalSkew()[0],ao(c[0]))}else if(o==="matrix"){var f=Ae(a.map(function(y){return y.value}),6),h=f[0],d=f[1],p=f[2],g=f[3],m=f[4],v=f[5];t.setLocalTransform(mJ(I8,h,d,0,0,p,g,0,0,0,0,1,0,m+n,v+r,0,1))}else o==="matrix3d"&&(mJ.apply(Xnn,Kt([I8],Ae(a.map(function(y){return y.value})),!1)),I8[12]+=n,I8[13]+=r,t.setLocalTransform(I8))}),t.getLocalTransform()}var Zsn=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.postProcessor=function(n,r){var i,o,a;switch(n.nodeName){case Rt.CIRCLE:case Rt.ELLIPSE:var l=n.parsedStyle,s=l.cx,u=l.cy,c=l.cz;Cn(s)||(i=s),Cn(u)||(o=u),Cn(c)||(a=c);break;case Rt.LINE:var f=n.parsedStyle,h=f.x1,d=f.x2,p=f.y1,g=f.y2,m=Math.min(h,d),v=Math.min(p,g);i=m,o=v,a=0;break;case Rt.RECT:case Rt.IMAGE:case Rt.GROUP:case Rt.HTML:case Rt.TEXT:case Rt.MESH:Cn(n.parsedStyle.x)||(i=n.parsedStyle.x),Cn(n.parsedStyle.y)||(o=n.parsedStyle.y),Cn(n.parsedStyle.z)||(a=n.parsedStyle.z);break}n.nodeName!==Rt.PATH&&n.nodeName!==Rt.POLYLINE&&n.nodeName!==Rt.POLYGON&&(n.parsedStyle.defX=i||0,n.parsedStyle.defY=o||0);var y=!Cn(i)||!Cn(o)||!Cn(a);if(y&&r.indexOf("transform")===-1){var b=n.parsedStyle.transform;if(b&&b.length)fle(b,n);else{var C=Ae(n.getLocalPosition(),3),x=C[0],S=C[1],w=C[2];n.setLocalPosition(Cn(i)?x:i,Cn(o)?S:o,Cn(a)?w:a)}}},t}(dle),Qsn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){r instanceof ks&&(r=null);var o=r==null?void 0:r.cloneNode(!0);return o&&(o.style.isMarker=!0),o},e}(),Jsn=function(){function e(){this.mixer=ale,this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null}return e.prototype.calculator=function(t,n,r){return r.value},e}(),ecn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null,this.mixer=lle(0,1)}return e.prototype.calculator=function(t,n,r){return r.value},e.prototype.postProcessor=function(t){var n=t.parsedStyle,r=n.offsetPath,i=n.offsetDistance;if(r){var o=r.nodeName;if(o===Rt.LINE||o===Rt.PATH||o===Rt.POLYLINE){var a=r.getPoint(i);a&&(t.parsedStyle.defX=a.x,t.parsedStyle.defY=a.y,t.setLocalPosition(a.x,a.y))}}},e}(),tcn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null,this.mixer=lle(0,1)}return e.prototype.calculator=function(t,n,r){return r.value},e}(),ncn=function(){function e(){this.parser=UJ,this.parserWithCSSDisabled=UJ,this.mixer=Rsn}return e.prototype.calculator=function(t,n,r){return r instanceof ks&&r.value==="unset"?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new by(0,0,0,0)}:r},e.prototype.postProcessor=function(t,n){if(t.parsedStyle.defX=t.parsedStyle.path.rect.x,t.parsedStyle.defY=t.parsedStyle.path.rect.y,t.nodeName===Rt.PATH&&n.indexOf("transform")===-1){var r=t.parsedStyle,i=r.defX,o=i===void 0?0:i,a=r.defY,l=a===void 0?0:a;t.setLocalPosition(o,l)}},e}(),rcn=function(){function e(){this.parser=IXe,this.mixer=Isn}return e.prototype.postProcessor=function(t,n){if((t.nodeName===Rt.POLYGON||t.nodeName===Rt.POLYLINE)&&n.indexOf("transform")===-1){var r=t.parsedStyle,i=r.defX,o=r.defY;t.setLocalPosition(i,o)}},e}(),icn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.mixer=lle(0,1/0),n}return t}(dle),ocn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?r.value==="unset"?"":r.value:"".concat(r)},e.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},e}(),acn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){var o=i.getAttribute("text");if(o){var a=o;r.value==="capitalize"?a=o.charAt(0).toUpperCase()+o.slice(1):r.value==="lowercase"?a=o.toLowerCase():r.value==="uppercase"&&(a=o.toUpperCase()),i.parsedStyle.text=a}return r.value},e}(),TK={},lcn=0;function scn(e,t){if(e){var n=typeof e=="string"?e:e.id||lcn++;TK[n]&&TK[n].destroy(),TK[n]=t}}var IP=typeof window<"u"&&typeof window.document<"u";function ccn(e){return!!e.getAttribute}function ucn(e,t){for(var n=0,r=e.length;n>>1;AXe(e[i],t)<0?n=i+1:r=i}return n}function AXe(e,t){var n=Number(e.parsedStyle.zIndex),r=Number(t.parsedStyle.zIndex);if(n===r){var i=e.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(e)-o.indexOf(t)}}return n-r}function kXe(e){var t,n=e;do{var r=(t=n.parsedStyle)===null||t===void 0?void 0:t.clipPath;if(r)return n;n=n.parentElement}while(n!==null);return null}var L9e="px";function dcn(e,t,n){IP&&e.style&&(e.style.width=t+L9e,e.style.height=n+L9e)}function jXe(e,t){if(IP)return document.defaultView.getComputedStyle(e,null).getPropertyValue(t)}function fcn(e){var t=jXe(e,"width");return t==="auto"?e.offsetWidth:parseFloat(t)}function pcn(e){var t=jXe(e,"height");return t==="auto"?e.offsetHeight:parseFloat(t)}var hcn=1,gcn={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},GJ=typeof performance=="object"&&performance.now?performance:Date;function rb(e,t,n){var r=!1,i=!1,o=!!t&&!t.isNone,a=!!n&&!n.isNone;return e==="visiblepainted"||e==="painted"||e==="auto"?(r=o,i=a):e==="visiblefill"||e==="fill"?r=!0:e==="visiblestroke"||e==="stroke"?i=!0:(e==="visible"||e==="all")&&(r=!0,i=!0),[r,i]}var mcn=1,vcn=function(){return mcn++},Pf=typeof self=="object"&&self.self==self?self:typeof global=="object"&&global.global==global?global:{},ycn=Date.now(),bcn=function(){return Pf.performance&&typeof Pf.performance.now=="function"?Pf.performance.now():Date.now()-ycn},l9={},z9e=Date.now(),Ccn=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");var t=Date.now(),n=t-z9e,r=n>16?0:16-n,i=vcn();return l9[i]=e,Object.keys(l9).length>1||setTimeout(function(){z9e=t;var o=l9;l9={},Object.keys(o).forEach(function(a){return o[a](bcn())})},r),i},Scn=function(e){delete l9[e]},xcn=["","webkit","moz","ms","o"],DXe=function(e){return typeof e!="string"?Ccn:e===""?Pf.requestAnimationFrame:Pf[e+"RequestAnimationFrame"]},_cn=function(e){return typeof e!="string"?Scn:e===""?Pf.cancelAnimationFrame:Pf[e+"CancelAnimationFrame"]||Pf[e+"CancelRequestAnimationFrame"]},wcn=function(e,t){for(var n=0;e[n]!==void 0;){if(t(e[n]))return e[n];n=n+1}},LXe=wcn(xcn,function(e){return!!DXe(e)}),zXe=DXe(LXe),BXe=_cn(LXe);Pf.requestAnimationFrame=zXe;Pf.cancelAnimationFrame=BXe;var Ocn=function(){function e(){this.callbacks=[]}return e.prototype.getCallbacksNum=function(){return this.callbacks.length},e.prototype.tapPromise=function(t,n){this.callbacks.push(n)},e.prototype.promise=function(){for(var t=[],n=0;n=0;s--){var u=l[s].trim();!Pcn.test(u)&&$cn.indexOf(u)<0&&(u='"'.concat(u,'"')),l[s]=u}return"".concat(r," ").concat(i," ").concat(o," ").concat(a," ").concat(l.join(","))}var Mcn=function(){function e(){this.parser=cle,this.parserUnmemoize=A9e,this.parserWithCSSDisabled=A9e,this.mixer=Fsn}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?[]:r},e.prototype.postProcessor=function(t){var n=t.parsedStyle.transform;fle(n,t)},e}(),Rcn=function(){function e(){this.parser=NXe,this.parserUnmemoize=Hsn}return e}(),Icn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC}return e.prototype.calculator=function(t,n,r,i){return r.value},e.prototype.postProcessor=function(t){if(t.parentNode){var n=t.parentNode,r=n.renderable,i=n.sortable;r&&(r.dirty=!0),i&&(i.dirty=!0,i.dirtyReason=L4.Z_INDEX_CHANGED)}},e}(),Ncn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.r,i=r*2,o=r*2;return{width:i,height:o}},e}(),Acn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.rx,i=t.ry,o=r*2,a=i*2;return{width:o,height:a}},e}(),kcn=function(){function e(){}return e.prototype.update=function(t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=Math.min(n,i),l=Math.max(n,i),s=Math.min(r,o),u=Math.max(r,o),c=l-a,f=u-s;return{width:c,height:f}},e}(),jcn=function(){function e(){}return e.prototype.update=function(t){var n=t.path,r=n.rect,i=r.width,o=r.height;return{width:i,height:o}},e}(),Dcn=function(){function e(){}return e.prototype.update=function(t){if(t.points&&sa(t.points.points)){var n=t.points.points,r=Math.min.apply(Math,Kt([],Ae(n.map(function(u){return u[0]})),!1)),i=Math.max.apply(Math,Kt([],Ae(n.map(function(u){return u[0]})),!1)),o=Math.min.apply(Math,Kt([],Ae(n.map(function(u){return u[1]})),!1)),a=Math.max.apply(Math,Kt([],Ae(n.map(function(u){return u[1]})),!1)),l=i-r,s=a-o;return{width:l,height:s}}return{width:0,height:0}},e}(),Lcn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.img,i=t.width,o=i===void 0?0:i,a=t.height,l=a===void 0?0:a,s=o,u=l;return r&&!eo(r)&&(s||(s=r.width,t.width=s),u||(u=r.height,t.height=u)),{width:s,height:u}},e}(),zcn=function(){function e(t){this.globalRuntime=t}return e.prototype.isReadyToMeasure=function(t,n){var r=t.text,i=t.textAlign,o=t.textBaseline,a=t.fontSize,l=t.fontStyle,s=t.fontWeight,u=t.fontVariant,c=t.lineWidth;return r&&a&&l&&s&&u&&i&&o&&!Cn(c)},e.prototype.update=function(t,n){var r,i,o=t.text,a=t.textAlign,l=t.lineWidth,s=t.textBaseline,u=t.dx,c=t.dy;if(!this.isReadyToMeasure(t,n))return t.metrics={font:"",width:0,height:0,lines:[],lineWidths:[],lineHeight:0,maxLineWidth:0,fontProperties:{ascent:0,descent:0,fontSize:0},lineMetrics:[]},{width:0,height:0,x:0,y:0,offsetX:0,offsetY:0};var f=(((i=(r=n==null?void 0:n.ownerDocument)===null||r===void 0?void 0:r.defaultView)===null||i===void 0?void 0:i.getConfig())||{}).offscreenCanvas,h=this.globalRuntime.textService.measureText(o,t,f);t.metrics=h;var d=h.width,p=h.height,g=h.lineHeight,m=h.fontProperties,v=[d/2,p/2,0],y=[0,1],b=0;a==="center"||a==="middle"?(b=l/2,y=[.5,1]):(a==="right"||a==="end")&&(b=l,y=[1,1]);var C=0;return s==="middle"?C=v[1]:s==="top"||s==="hanging"?C=v[1]*2:s==="alphabetic"?C=this.globalRuntime.enableCSSParsing?g-m.ascent:0:(s==="bottom"||s==="ideographic")&&(C=0),u&&(b+=u),c&&(C+=c),t.anchor=[y[0],y[1],0],{width:v[0]*2,height:v[1]*2,offsetX:b,offsetY:C}},e}();function Bcn(e){return!!e.type}var uH=function(){function e(t){this.eventPhase=e.prototype.NONE,this.bubbles=!0,this.cancelBubble=!0,this.cancelable=!1,this.defaultPrevented=!1,this.propagationStopped=!1,this.propagationImmediatelyStopped=!1,this.layer=new La,this.page=new La,this.canvas=new La,this.viewport=new La,this.composed=!1,this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,this.manager=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerX",{get:function(){return this.layer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerY",{get:function(){return this.layer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageX",{get:function(){return this.page.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageY",{get:function(){return this.page.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvasX",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvasY",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportX",{get:function(){return this.viewport.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this.viewport.y},enumerable:!1,configurable:!0}),e.prototype.composedPath=function(){return this.manager&&(!this.path||this.path[0]!==this.target)&&(this.path=this.target?this.manager.propagationPath(this.target):[]),this.path},Object.defineProperty(e.prototype,"propagationPath",{get:function(){return this.composedPath()},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){this.nativeEvent instanceof Event&&this.nativeEvent.cancelable&&this.nativeEvent.preventDefault(),this.defaultPrevented=!0},e.prototype.stopImmediatePropagation=function(){this.propagationImmediatelyStopped=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.initEvent=function(){},e.prototype.initUIEvent=function(){},e.prototype.clone=function(){throw new Error(gi)},e}(),FXe=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.client=new La,n.movement=new La,n.offset=new La,n.global=new La,n.screen=new La,n}return Object.defineProperty(t.prototype,"clientX",{get:function(){return this.client.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.client.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementX",{get:function(){return this.movement.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementY",{get:function(){return this.movement.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsetX",{get:function(){return this.offset.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsetY",{get:function(){return this.offset.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"globalX",{get:function(){return this.global.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"globalY",{get:function(){return this.global.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screenX",{get:function(){return this.screen.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screenY",{get:function(){return this.screen.y},enumerable:!1,configurable:!0}),t.prototype.getModifierState=function(n){return"getModifierState"in this.nativeEvent&&this.nativeEvent.getModifierState(n)},t.prototype.initMouseEvent=function(){throw new Error(gi)},t}(uH),KJ=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.width=0,n.height=0,n.isPrimary=!1,n}return t.prototype.getCoalescedEvents=function(){return this.type==="pointermove"||this.type==="mousemove"||this.type==="touchmove"?[this]:[]},t.prototype.getPredictedEvents=function(){throw new Error("getPredictedEvents is not supported!")},t.prototype.clone=function(){return this.manager.clonePointerEvent(this)},t}(FXe),XJ=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.clone=function(){return this.manager.cloneWheelEvent(this)},t}(FXe),vi=function(e){$n(t,e);function t(n,r){var i=e.call(this,null)||this;return i.type=n,i.detail=r,Object.assign(i,r),i}return t}(uH),B9e=":",HXe=function(){function e(){this.emitter=new nle}return e.prototype.on=function(t,n,r){return this.addEventListener(t,n,r),this},e.prototype.addEventListener=function(t,n,r){var i=N8e(r)&&r||Vv(r)&&r.capture,o=Vv(r)&&r.once,a=c3(n)?void 0:n,l=!1,s="";if(t.indexOf(B9e)>-1){var u=Ae(t.split(B9e),2),c=u[0],f=u[1];t=f,s=c,l=!0}if(t=i?"".concat(t,"capture"):t,n=c3(n)?n:n.handleEvent,l){var h=n;n=function(){for(var d,p=[],g=0;g0},t.prototype.isDefaultNamespace=function(n){throw new Error(gi)},t.prototype.lookupNamespaceURI=function(n){throw new Error(gi)},t.prototype.lookupPrefix=function(n){throw new Error(gi)},t.prototype.normalize=function(){throw new Error(gi)},t.prototype.isEqualNode=function(n){return this===n},t.prototype.isSameNode=function(n){return this.isEqualNode(n)},Object.defineProperty(t.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),t.prototype.compareDocumentPosition=function(n){var r;if(n===this)return 0;for(var i=n,o=this,a=[i],l=[o];(r=i.parentNode)!==null&&r!==void 0?r:o.parentNode;)i=i.parentNode?(a.push(i.parentNode),i.parentNode):i,o=o.parentNode?(l.push(o.parentNode),o.parentNode):o;if(i!==o)return t.DOCUMENT_POSITION_DISCONNECTED|t.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|t.DOCUMENT_POSITION_PRECEDING;var s=a.length>l.length?a:l,u=s===a?l:a;if(s[s.length-u.length]===u[0])return s===a?t.DOCUMENT_POSITION_CONTAINED_BY|t.DOCUMENT_POSITION_FOLLOWING:t.DOCUMENT_POSITION_CONTAINS|t.DOCUMENT_POSITION_PRECEDING;for(var c=s.length-u.length,f=u.length-1;f>=0;f--){var h=u[f],d=s[c+f];if(d!==h){var p=h.parentNode.childNodes;return p.indexOf(h)0&&r;)r=r.parentNode,n--;return r},t.prototype.forEach=function(n,r){r===void 0&&(r=!1),n(this)||(r?this.childNodes.slice():this.childNodes).forEach(function(i){i.forEach(n)})},t.DOCUMENT_POSITION_DISCONNECTED=1,t.DOCUMENT_POSITION_PRECEDING=2,t.DOCUMENT_POSITION_FOLLOWING=4,t.DOCUMENT_POSITION_CONTAINS=8,t.DOCUMENT_POSITION_CONTAINED_BY=16,t.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,t}(HXe),Fcn=2048,Hcn=function(){function e(t,n){var r=this;this.globalRuntime=t,this.context=n,this.emitter=new nle,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=ci(),this.tmpVec3=_r(),this.onPointerDown=function(i){var o=r.createPointerEvent(i);if(r.dispatchEvent(o,"pointerdown"),o.pointerType==="touch")r.dispatchEvent(o,"touchstart");else if(o.pointerType==="mouse"||o.pointerType==="pen"){var a=o.button===2;r.dispatchEvent(o,a?"rightdown":"mousedown")}var l=r.trackingData(i.pointerId);l.pressTargetsByButton[i.button]=o.composedPath(),r.freeEvent(o)},this.onPointerUp=function(i){var o,a=GJ.now(),l=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);if(r.dispatchEvent(l,"pointerup"),l.pointerType==="touch")r.dispatchEvent(l,"touchend");else if(l.pointerType==="mouse"||l.pointerType==="pen"){var s=l.button===2;r.dispatchEvent(l,s?"rightup":"mouseup")}var u=r.trackingData(i.pointerId),c=r.findMountedTarget(u.pressTargetsByButton[i.button]),f=c;if(c&&!l.composedPath().includes(c)){for(var h=c;h&&!l.composedPath().includes(h);){if(l.currentTarget=h,r.notifyTarget(l,"pointerupoutside"),l.pointerType==="touch")r.notifyTarget(l,"touchendoutside");else if(l.pointerType==="mouse"||l.pointerType==="pen"){var s=l.button===2;r.notifyTarget(l,s?"rightupoutside":"mouseupoutside")}Na.isNode(h)&&(h=h.parentNode)}delete u.pressTargetsByButton[i.button],f=h}if(f){var d=r.clonePointerEvent(l,"click");d.target=f,d.path=[],u.clicksByButton[i.button]||(u.clicksByButton[i.button]={clickCount:0,target:d.target,timeStamp:a});var p=u.clicksByButton[i.button];p.target===d.target&&a-p.timeStamp<200?++p.clickCount:p.clickCount=1,p.target=d.target,p.timeStamp=a,d.detail=p.clickCount,!((o=l.detail)===null||o===void 0)&&o.preventClick||(!r.context.config.useNativeClickEvent&&(d.pointerType==="mouse"||d.pointerType==="touch")&&r.dispatchEvent(d,"click"),r.dispatchEvent(d,"pointertap")),r.freeEvent(d)}r.freeEvent(l)},this.onPointerMove=function(i){var o=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0),a=o.pointerType==="mouse"||o.pointerType==="pen",l=r.trackingData(i.pointerId),s=r.findMountedTarget(l.overTargets);if(l.overTargets&&s!==o.target){var u=i.type==="mousemove"?"mouseout":"pointerout",c=r.createPointerEvent(i,u,s||void 0);if(r.dispatchEvent(c,"pointerout"),a&&r.dispatchEvent(c,"mouseout"),!o.composedPath().includes(s)){var f=r.createPointerEvent(i,"pointerleave",s||void 0);for(f.eventPhase=f.AT_TARGET;f.target&&!o.composedPath().includes(f.target);)f.currentTarget=f.target,r.notifyTarget(f),a&&r.notifyTarget(f,"mouseleave"),Na.isNode(f.target)&&(f.target=f.target.parentNode);r.freeEvent(f)}r.freeEvent(c)}if(s!==o.target){var h=i.type==="mousemove"?"mouseover":"pointerover",d=r.clonePointerEvent(o,h);r.dispatchEvent(d,"pointerover"),a&&r.dispatchEvent(d,"mouseover");for(var p=s&&Na.isNode(s)&&s.parentNode;p&&p!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode)&&p!==o.target;)p=p.parentNode;var g=!p||p===(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);if(g){var m=r.clonePointerEvent(o,"pointerenter");for(m.eventPhase=m.AT_TARGET;m.target&&m.target!==s&&m.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)m.currentTarget=m.target,r.notifyTarget(m),a&&r.notifyTarget(m,"mouseenter"),Na.isNode(m.target)&&(m.target=m.target.parentNode);r.freeEvent(m)}r.freeEvent(d)}r.dispatchEvent(o,"pointermove"),o.pointerType==="touch"&&r.dispatchEvent(o,"touchmove"),a&&(r.dispatchEvent(o,"mousemove"),r.cursor=r.getCursor(o.target)),l.overTargets=o.composedPath(),r.freeEvent(o)},this.onPointerOut=function(i){var o=r.trackingData(i.pointerId);if(o.overTargets){var a=i.pointerType==="mouse"||i.pointerType==="pen",l=r.findMountedTarget(o.overTargets),s=r.createPointerEvent(i,"pointerout",l||void 0);r.dispatchEvent(s),a&&r.dispatchEvent(s,"mouseout");var u=r.createPointerEvent(i,"pointerleave",l||void 0);for(u.eventPhase=u.AT_TARGET;u.target&&u.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)u.currentTarget=u.target,r.notifyTarget(u),a&&r.notifyTarget(u,"mouseleave"),Na.isNode(u.target)&&(u.target=u.target.parentNode);o.overTargets=null,r.freeEvent(s),r.freeEvent(u)}r.cursor=null},this.onPointerOver=function(i){var o=r.trackingData(i.pointerId),a=r.createPointerEvent(i),l=a.pointerType==="mouse"||a.pointerType==="pen";r.dispatchEvent(a,"pointerover"),l&&r.dispatchEvent(a,"mouseover"),a.pointerType==="mouse"&&(r.cursor=r.getCursor(a.target));var s=r.clonePointerEvent(a,"pointerenter");for(s.eventPhase=s.AT_TARGET;s.target&&s.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)s.currentTarget=s.target,r.notifyTarget(s),l&&r.notifyTarget(s,"mouseenter"),Na.isNode(s.target)&&(s.target=s.target.parentNode);o.overTargets=a.composedPath(),r.freeEvent(a),r.freeEvent(s)},this.onPointerUpOutside=function(i){var o=r.trackingData(i.pointerId),a=r.findMountedTarget(o.pressTargetsByButton[i.button]),l=r.createPointerEvent(i);if(a){for(var s=a;s;)l.currentTarget=s,r.notifyTarget(l,"pointerupoutside"),l.pointerType==="touch"||(l.pointerType==="mouse"||l.pointerType==="pen")&&r.notifyTarget(l,l.button===2?"rightupoutside":"mouseupoutside"),Na.isNode(s)&&(s=s.parentNode);delete o.pressTargetsByButton[i.button]}r.freeEvent(l)},this.onWheel=function(i){var o=r.createWheelEvent(i);r.dispatchEvent(o),r.freeEvent(o)},this.onClick=function(i){if(r.context.config.useNativeClickEvent){var o=r.createPointerEvent(i);r.dispatchEvent(o),r.freeEvent(o)}},this.onPointerCancel=function(i){var o=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);r.dispatchEvent(o),r.freeEvent(o)}}return e.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},e.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},e.prototype.client2Viewport=function(t){var n=this.context.contextService.getBoundingClientRect();return new La(t.x-((n==null?void 0:n.left)||0),t.y-((n==null?void 0:n.top)||0))},e.prototype.viewport2Client=function(t){var n=this.context.contextService.getBoundingClientRect();return new La(t.x+((n==null?void 0:n.left)||0),t.y+((n==null?void 0:n.top)||0))},e.prototype.viewport2Canvas=function(t){var n=t.x,r=t.y,i=this.rootTarget.defaultView,o=i.getCamera(),a=this.context.config,l=a.width,s=a.height,u=o.getPerspectiveInverse(),c=o.getWorldTransform(),f=Ol(this.tmpMatrix,c,u),h=ud(this.tmpVec3,n/l*2-1,(1-r/s)*2-1,0);return xa(h,h,f),new La(h[0],h[1])},e.prototype.canvas2Viewport=function(t){var n=this.rootTarget.defaultView,r=n.getCamera(),i=r.getPerspective(),o=r.getViewTransform(),a=Ol(this.tmpMatrix,i,o),l=ud(this.tmpVec3,t.x,t.y,0);xa(this.tmpVec3,this.tmpVec3,a);var s=this.context.config,u=s.width,c=s.height;return new La((l[0]+1)/2*u,(1-(l[1]+1)/2)*c)},e.prototype.setPickHandler=function(t){this.pickHandler=t},e.prototype.addEventMapping=function(t,n){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:n,priority:0}),this.mappingTable[t].sort(function(r,i){return r.priority-i.priority})},e.prototype.mapEvent=function(t){if(this.rootTarget){var n=this.mappingTable[t.type];if(n)for(var r=0,i=n.length;r=1;i--)if(t.currentTarget=r[i],this.notifyTarget(t,n),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,n),!(t.propagationStopped||t.propagationImmediatelyStopped)){var o=r.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var i=o+1;io||r>a?null:!l&&this.pickHandler(t)||this.rootTarget||null},e.prototype.isNativeEventFromCanvas=function(t){var n,r=this.context.contextService.getDomElement(),i=(n=t.nativeEvent)===null||n===void 0?void 0:n.target;if(i){if(i===r)return!0;if(r&&r.contains)return r.contains(i)}return t.nativeEvent.composedPath?t.nativeEvent.composedPath().indexOf(r)>-1:!1},e.prototype.getExistedHTML=function(t){var n,r;if(t.nativeEvent.composedPath)try{for(var i=ac(t.nativeEvent.composedPath()),o=i.next();!o.done;o=i.next()){var a=o.value,l=this.nativeHTMLMap.get(a);if(l)return l}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},e.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},e.prototype.createPointerEvent=function(t,n,r,i){var o=this.allocateEvent(KJ);this.copyPointerData(t,o),this.copyMouseData(t,o),this.copyData(t,o),o.nativeEvent=t.nativeEvent,o.originalEvent=t;var a=this.getExistedHTML(o);return o.target=r??(a||this.isNativeEventFromCanvas(o)&&this.pickTarget(o)||i),typeof n=="string"&&(o.type=n),o},e.prototype.createWheelEvent=function(t){var n=this.allocateEvent(XJ);this.copyWheelData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.nativeEvent=t.nativeEvent,n.originalEvent=t;var r=this.getExistedHTML(n);return n.target=r||this.isNativeEventFromCanvas(n)&&this.pickTarget(n),n},e.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},e.prototype.cloneWheelEvent=function(t){var n=this.allocateEvent(XJ);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyWheelData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=t.type,n},e.prototype.clonePointerEvent=function(t,n){var r=this.allocateEvent(KJ);return r.nativeEvent=t.nativeEvent,r.originalEvent=t.originalEvent,this.copyPointerData(t,r),this.copyMouseData(t,r),this.copyData(t,r),r.target=t.target,r.path=t.composedPath().slice(),r.type=n??r.type,r},e.prototype.copyPointerData=function(t,n){n.pointerId=t.pointerId,n.width=t.width,n.height=t.height,n.isPrimary=t.isPrimary,n.pointerType=t.pointerType,n.pressure=t.pressure,n.tangentialPressure=t.tangentialPressure,n.tiltX=t.tiltX,n.tiltY=t.tiltY,n.twist=t.twist},e.prototype.copyMouseData=function(t,n){n.altKey=t.altKey,n.button=t.button,n.buttons=t.buttons,n.ctrlKey=t.ctrlKey,n.metaKey=t.metaKey,n.shiftKey=t.shiftKey,n.client.copyFrom(t.client),n.movement.copyFrom(t.movement),n.canvas.copyFrom(t.canvas),n.screen.copyFrom(t.screen),n.global.copyFrom(t.global),n.offset.copyFrom(t.offset)},e.prototype.copyWheelData=function(t,n){n.deltaMode=t.deltaMode,n.deltaX=t.deltaX,n.deltaY=t.deltaY,n.deltaZ=t.deltaZ},e.prototype.copyData=function(t,n){n.isTrusted=t.isTrusted,n.timeStamp=GJ.now(),n.type=t.type,n.detail=t.detail,n.view=t.view,n.page.copyFrom(t.page),n.viewport.copyFrom(t.viewport)},e.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var n=this.eventPool.get(t).pop()||new t(this);return n.eventPhase=n.NONE,n.currentTarget=null,n.path=[],n.target=null,n},e.prototype.freeEvent=function(t){if(t.manager!==this)throw new Error("It is illegal to free an event not managed by this EventBoundary!");var n=t.constructor;this.eventPool.has(n)||this.eventPool.set(n,[]),this.eventPool.get(n).push(t)},e.prototype.notifyTarget=function(t,n){n=n??t.type;var r=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(n,"capture"):n;this.notifyListeners(t,r),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,n)},e.prototype.notifyListeners=function(t,n){var r=t.currentTarget.emitter,i=r._events[n];if(i)if("fn"in i)i.once&&r.removeListener(n,i.fn,void 0,!0),i.fn.call(t.currentTarget||i.context,t);else for(var o=0;o=0;r--){var i=t[r];if(i===this.rootTarget||Na.isNode(i)&&i.parentNode===n)n=t[r];else break}return n},e.prototype.getCursor=function(t){for(var n=t;n;){var r=ccn(n)&&n.getAttribute("cursor");if(r)return r;n=Na.isNode(n)&&n.parentNode}},e}(),Wcn=function(){function e(){}return e.prototype.getOrCreateCanvas=function(t,n){if(this.canvas)return this.canvas;if(t||jt.offscreenCanvas)this.canvas=t||jt.offscreenCanvas,this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n)),(!this.context||!this.context.measureText)&&(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch{this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n))}return this.canvas.width=10,this.canvas.height=10,this.canvas},e.prototype.getOrCreateContext=function(t,n){return this.context?this.context:(this.getOrCreateCanvas(t,n),this.context)},e}(),u0;(function(e){e[e.CAMERA_CHANGED=0]="CAMERA_CHANGED",e[e.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",e[e.NONE=2]="NONE"})(u0||(u0={}));var qcn=function(){function e(t,n){this.globalRuntime=t,this.context=n,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new Hl,initAsync:new Ocn,dirtycheck:new MK,cull:new MK,beginFrame:new Hl,beforeRender:new Hl,render:new Hl,afterRender:new Hl,endFrame:new Hl,destroy:new Hl,pick:new Ecn,pickSync:new MK,pointerDown:new Hl,pointerUp:new Hl,pointerMove:new Hl,pointerOut:new Hl,pointerOver:new Hl,pointerWheel:new Hl,pointerCancel:new Hl,click:new Hl}}return e.prototype.init=function(t){var n=this,r=Mt(Mt({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(i){i.apply(r,n.globalRuntime)}),this.hooks.init.call(),this.hooks.initAsync.getCallbacksNum()===0?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){n.inited=!0,t()})},e.prototype.getStats=function(){return this.stats},e.prototype.disableDirtyRectangleRendering=function(){var t=this.context.config.renderer,n=t.getConfig().enableDirtyRectangleRendering;return!n||this.context.renderingContext.renderReasons.has(u0.CAMERA_CHANGED)},e.prototype.render=function(t,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=i.renderReasons.size===1&&i.renderReasons.has(u0.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(),a&&i.renderListCurrentFrame.forEach(function(l){r.hooks.beforeRender.call(l),r.hooks.render.call(l),r.hooks.afterRender.call(l)}),this.hooks.endFrame.call(),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},e.prototype.renderDisplayObject=function(t,n,r){var i=this,o=n.renderer.getConfig(),a=o.enableDirtyCheck,l=o.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,u=a?s.dirty||r.dirtyRectangleRenderingDisabled?t:null:t;if(u){var c=l?this.hooks.cull.call(u,this.context.camera):u;c&&(this.stats.rendered++,r.renderListCurrentFrame.push(c))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var f=t.sortable;f.dirty&&(this.sort(t,f),f.dirty=!1,f.dirtyChildren=[],f.dirtyReason=void 0),(f.sorted||t.childNodes).forEach(function(h){i.renderDisplayObject(h,n,r)})},e.prototype.sort=function(t,n){n.sorted&&n.dirtyReason!==L4.Z_INDEX_CHANGED?n.dirtyChildren.forEach(function(r){var i=t.childNodes.indexOf(r);if(i===-1){var o=n.sorted.indexOf(r);o>=0&&n.sorted.splice(o,1)}else if(n.sorted.length===0)n.sorted.push(r);else{var a=ucn(n.sorted,r);n.sorted.splice(a,0,r)}}):n.sorted=t.childNodes.slice().sort(AXe)},e.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},e.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(u0.DISPLAY_OBJECT_CHANGED)},e}(),Vcn=/\[\s*(.*)=(.*)\s*\]/,Ucn=function(){function e(){}return e.prototype.selectOne=function(t,n){var r=this;if(t.startsWith("."))return n.find(function(l){return((l==null?void 0:l.classList)||[]).indexOf(r.getIdOrClassname(t))>-1});if(t.startsWith("#"))return n.find(function(l){return l.id===r.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),o=i.name,a=i.value;return o?n.find(function(l){return n!==l&&(o==="name"?l.name===a:r.attributeToString(l,o)===a)}):null}else return n.find(function(l){return n!==l&&l.nodeName===t})},e.prototype.selectAll=function(t,n){var r=this;if(t.startsWith("."))return n.findAll(function(l){return n!==l&&((l==null?void 0:l.classList)||[]).indexOf(r.getIdOrClassname(t))>-1});if(t.startsWith("#"))return n.findAll(function(l){return n!==l&&l.id===r.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),o=i.name,a=i.value;return o?n.findAll(function(l){return n!==l&&(o==="name"?l.name===a:r.attributeToString(l,o)===a)}):[]}else return n.findAll(function(l){return n!==l&&l.nodeName===t})},e.prototype.is=function(t,n){if(t.startsWith("."))return n.className===this.getIdOrClassname(t);if(t.startsWith("#"))return n.id===this.getIdOrClassname(t);if(t.startsWith("[")){var r=this.getAttribute(t),i=r.name,o=r.value;return i==="name"?n.name===o:this.attributeToString(n,i)===o}else return n.nodeName===t},e.prototype.getIdOrClassname=function(t){return t.substring(1)},e.prototype.getAttribute=function(t){var n=t.match(Vcn),r="",i="";return n&&n.length>2&&(r=n[1].replace(/"/g,""),i=n[2].replace(/"/g,"")),{name:r,value:i}},e.prototype.attributeToString=function(t,n){if(!t.getAttribute)return"";var r=t.getAttribute(n);return Cn(r)?"":r.toString?r.toString():""},e}(),Sy=function(e){$n(t,e);function t(n,r,i,o,a,l,s,u){var c=e.call(this,null)||this;return c.relatedNode=r,c.prevValue=i,c.newValue=o,c.attrName=a,c.attrChange=l,c.prevParsedValue=s,c.newParsedValue=u,c.type=n,c}return t.ADDITION=2,t.MODIFICATION=1,t.REMOVAL=3,t}(uH),hr;(function(e){e.REPARENT="reparent",e.DESTROY="destroy",e.ATTR_MODIFIED="DOMAttrModified",e.INSERTED="DOMNodeInserted",e.REMOVED="removed",e.MOUNTED="DOMNodeInsertedIntoDocument",e.UNMOUNTED="DOMNodeRemovedFromDocument",e.BOUNDS_CHANGED="bounds-changed",e.CULLED="culled"})(hr||(hr={}));function F9e(e){var t=e.renderable;t&&(t.renderBoundsDirty=!0,t.boundsDirty=!0)}var Gcn=new Sy(hr.REPARENT,null,"","","",0,"",""),Kcn=function(){function e(t){var n=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new vi(hr.BOUNDS_CHANGED),this.rotate=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.rotateLocal(i,o);else{var u=Fo();WN(u,o[0],o[1],o[2]);var c=n.getRotation(i),f=n.getRotation(i.parentNode);qN(r,f),uK(r,r),l0(u,r,u),l0(s.localRotation,u,c),HD(s.localRotation,s.localRotation),n.dirtifyLocal(i,s)}}}(),this.rotateLocal=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;WN(r,o[0],o[1],o[2]),j8e(s.localRotation,s.localRotation,r),n.dirtifyLocal(i,s)}}(),this.setEulerAngles=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.setLocalEulerAngles(i,o);else{WN(s.localRotation,o[0],o[1],o[2]);var u=n.getRotation(i.parentNode);qN(r,uK(Fo(),u)),j8e(s.localRotation,s.localRotation,r),n.dirtifyLocal(i,s)}}}(),this.translateLocal=function(){return function(r,i,o,a){o===void 0&&(o=0),a===void 0&&(a=0),typeof i=="number"&&(i=Br(i,o,a));var l=r.transformable;$8(i,_r())||(Qnn(i,i,l.localRotation),j3(l.localPosition,l.localPosition,i),n.dirtifyLocal(r,l))}}(),this.setPosition=function(){var r=ci(),i=_r();return function(o,a){var l=o.transformable;if(i[0]=a[0],i[1]=a[1],i[2]=a[2]||0,!$8(n.getPosition(o),i)){if(Cs(l.position,i),o.parentNode===null||!o.parentNode.transformable)Cs(l.localPosition,i);else{var s=o.parentNode.transformable;hy(r,s.worldTransform),pd(r,r),xa(l.localPosition,i,r)}n.dirtifyLocal(o,l)}}}(),this.setLocalPosition=function(){var r=_r();return function(i,o){var a=i.transformable;r[0]=o[0],r[1]=o[1],r[2]=o[2]||0,!$8(a.localPosition,r)&&(Cs(a.localPosition,r),n.dirtifyLocal(i,a))}}(),this.translate=function(){var r=_r(),i=_r(),o=_r();return function(a,l,s,u){s===void 0&&(s=0),u===void 0&&(u=0),typeof l=="number"&&(l=ud(i,l,s,u)),!$8(l,r)&&(j3(o,n.getPosition(a),l),n.setPosition(a,o))}}(),this.setRotation=function(){var r=Fo();return function(i,o,a,l,s){var u=i.transformable;if(typeof o=="number"&&(o=dK(o,a,l,s)),i.parentNode===null||!i.parentNode.transformable)n.setLocalRotation(i,o);else{var c=n.getRotation(i.parentNode);qN(r,c),uK(r,r),l0(u.localRotation,r,o),HD(u.localRotation,u.localRotation),n.dirtifyLocal(i,u)}}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=function(){var r=ci(),i=_r(),o=dK(0,0,0,1);return function(a){var l=a.localSkew[0]!==0||a.localSkew[1]!==0;if(l){if(G9(a.localTransform,a.localRotation,a.localPosition,Br(1,1,1),a.origin),a.localSkew[0]!==0||a.localSkew[1]!==0){var s=CP(r);s[4]=Math.tan(a.localSkew[0]),s[1]=Math.tan(a.localSkew[1]),Ol(a.localTransform,a.localTransform,s)}var u=G9(r,o,i,a.localScale,a.origin);Ol(a.localTransform,a.localTransform,u)}else G9(a.localTransform,a.localRotation,a.localPosition,a.localScale,a.origin)}}()}return e.prototype.matches=function(t,n){return this.runtime.sceneGraphSelector.is(t,n)},e.prototype.querySelector=function(t,n){return this.runtime.sceneGraphSelector.selectOne(t,n)},e.prototype.querySelectorAll=function(t,n){return this.runtime.sceneGraphSelector.selectAll(t,n)},e.prototype.attach=function(t,n,r){var i,o,a=!1;t.parentNode&&(a=t.parentNode!==n,this.detach(t)),t.parentNode=n,Cn(r)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(r,0,t);var l=n.sortable;(!((i=l==null?void 0:l.sorted)===null||i===void 0)&&i.length||!((o=t.style)===null||o===void 0)&&o.zIndex)&&(l.dirtyChildren.indexOf(t)===-1&&l.dirtyChildren.push(t),l.dirty=!0,l.dirtyReason=L4.ADDED);var s=t.transformable;s&&this.dirtifyWorld(t,s),s.frozen&&this.unfreezeParentToRoot(t),a&&t.dispatchEvent(Gcn)},e.prototype.detach=function(t){var n,r;if(t.parentNode){var i=t.transformable,o=t.parentNode.sortable;(!((n=o==null?void 0:o.sorted)===null||n===void 0)&&n.length||!((r=t.style)===null||r===void 0)&&r.zIndex)&&(o.dirtyChildren.indexOf(t)===-1&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=L4.REMOVED);var a=t.parentNode.childNodes.indexOf(t);a>-1&&t.parentNode.childNodes.splice(a,1),i&&this.dirtifyWorld(t,i),t.parentNode=null}},e.prototype.getOrigin=function(t){return t.transformable.origin},e.prototype.setOrigin=function(t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=[n,r,i]);var o=t.transformable;if(!(n[0]===o.origin[0]&&n[1]===o.origin[1]&&n[2]===o.origin[2])){var a=o.origin;a[0]=n[0],a[1]=n[1],a[2]=n[2]||0,this.dirtifyLocal(t,o)}},e.prototype.setLocalEulerAngles=function(t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=Br(n,r,i));var o=t.transformable;WN(o.localRotation,n[0],n[1],n[2]),this.dirtifyLocal(t,o)},e.prototype.scaleLocal=function(t,n){var r=t.transformable;Ynn(r.localScale,r.localScale,Br(n[0],n[1],n[2]||1)),this.dirtifyLocal(t,r)},e.prototype.setLocalScale=function(t,n){var r=t.transformable,i=Br(n[0],n[1],n[2]||r.localScale[2]);$8(i,r.localScale)||(Cs(r.localScale,i),this.dirtifyLocal(t,r))},e.prototype.setLocalRotation=function(t,n,r,i,o){typeof n=="number"&&(n=dK(n,r,i,o));var a=t.transformable;qN(a.localRotation,n),this.dirtifyLocal(t,a)},e.prototype.setLocalSkew=function(t,n,r){typeof n=="number"&&(n=irn(n,r));var i=t.transformable;orn(i.localSkew,n),this.dirtifyLocal(t,i)},e.prototype.dirtifyLocal=function(t,n){n.localDirtyFlag||(n.localDirtyFlag=!0,n.dirtyFlag||this.dirtifyWorld(t,n))},e.prototype.dirtifyWorld=function(t,n){n.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,n),this.dirtifyToRoot(t,!0)},e.prototype.triggerPendingEvents=function(){var t=this,n=new Set,r=function(i,o){i.isConnected&&!n.has(i.entity)&&(t.boundsChangedEvent.detail=o,t.boundsChangedEvent.target=i,i.isMutationObserved?i.dispatchEvent(t.boundsChangedEvent):i.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),n.add(i.entity))};this.pendingEvents.forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1];l.affectChildren?a.forEach(function(s){r(s,l)}):r(a,l)}),this.clearPendingEvents(),n.clear()},e.prototype.clearPendingEvents=function(){this.pendingEvents=[]},e.prototype.dirtifyToRoot=function(t,n){n===void 0&&(n=!1);var r=t;for(r.renderable&&(r.renderable.dirty=!0);r;)F9e(r),r=r.parentNode;n&&t.forEach(function(i){F9e(i)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:n}])},e.prototype.updateDisplayObjectDependency=function(t,n,r,i){if(n&&n!==r){var o=this.displayObjectDependencyMap.get(n);if(o&&o[t]){var a=o[t].indexOf(i);o[t].splice(a,1)}}if(r){var l=this.displayObjectDependencyMap.get(r);l||(this.displayObjectDependencyMap.set(r,{}),l=this.displayObjectDependencyMap.get(r)),l[t]||(l[t]=[]),l[t].push(i)}},e.prototype.informDependentDisplayObjects=function(t){var n=this,r=this.displayObjectDependencyMap.get(t);r&&Object.keys(r).forEach(function(i){r[i].forEach(function(o){n.dirtifyToRoot(o,!0),o.dispatchEvent(new Sy(hr.ATTR_MODIFIED,o,n,n,i,Sy.MODIFICATION,n,n)),o.isCustomElement&&o.isConnected&&o.attributeChangedCallback&&o.attributeChangedCallback(i,n,n)})})},e.prototype.getPosition=function(t){var n=t.transformable;return BD(n.position,this.getWorldTransform(t,n))},e.prototype.getRotation=function(t){var n=t.transformable;return FD(n.rotation,this.getWorldTransform(t,n))},e.prototype.getScale=function(t){var n=t.transformable;return P4(n.scaling,this.getWorldTransform(t,n))},e.prototype.getWorldTransform=function(t,n){return n===void 0&&(n=t.transformable),!n.localDirtyFlag&&!n.dirtyFlag||(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,n)),n.worldTransform},e.prototype.getLocalPosition=function(t){return t.transformable.localPosition},e.prototype.getLocalRotation=function(t){return t.transformable.localRotation},e.prototype.getLocalScale=function(t){return t.transformable.localScale},e.prototype.getLocalSkew=function(t){return t.transformable.localSkew},e.prototype.getLocalTransform=function(t){var n=t.transformable;return n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.localTransform},e.prototype.setLocalTransform=function(t,n){var r=BD(_r(),n),i=FD(Fo(),n),o=P4(_r(),n);this.setLocalScale(t,o),this.setLocalPosition(t,r),this.setLocalRotation(t,i)},e.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},e.prototype.getTransformedGeometryBounds=function(t,n,r){n===void 0&&(n=!1);var i=this.getGeometryBounds(t,n);if(Jo.isEmpty(i))return null;var o=r||new Jo;return o.setFromTransformedAABB(i,this.getWorldTransform(t)),o},e.prototype.getGeometryBounds=function(t,n){n===void 0&&(n=!1);var r=t.geometry,i=n?r.renderBounds:r.contentBounds||null;return i||new Jo},e.prototype.getBounds=function(t,n){var r=this;n===void 0&&(n=!1);var i=t.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var o=n?i.renderBounds:i.bounds,a=this.getTransformedGeometryBounds(t,n,o),l=t.childNodes;if(l.forEach(function(c){var f=r.getBounds(c,n);f&&(a?a.add(f):(a=o||new Jo,a.update(f.center,f.halfExtents)))}),n){var s=kXe(t);if(s){var u=s.parsedStyle.clipPath.getBounds(n);a?u&&(a=u.intersection(a)):a=u}}return a||(a=new Jo),a&&(n?i.renderBounds=a:i.bounds=a),n?i.renderBoundsDirty=!1:i.boundsDirty=!1,a},e.prototype.getLocalBounds=function(t){if(t.parentNode){var n=ci();t.parentNode.transformable&&(n=pd(ci(),this.getWorldTransform(t.parentNode)));var r=this.getBounds(t);if(!Jo.isEmpty(r)){var i=new Jo;return i.setFromTransformedAABB(r,n),i}}return this.getBounds(t)},e.prototype.getBoundingClientRect=function(t){var n,r,i,o=this.getGeometryBounds(t);Jo.isEmpty(o)||(i=new Jo,i.setFromTransformedAABB(o,this.getWorldTransform(t)));var a=(r=(n=t.ownerDocument)===null||n===void 0?void 0:n.defaultView)===null||r===void 0?void 0:r.getContextService().getBoundingClientRect();if(i){var l=Ae(i.getMin(),2),s=l[0],u=l[1],c=Ae(i.getMax(),2),f=c[0],h=c[1];return new by(s+((a==null?void 0:a.left)||0),u+((a==null?void 0:a.top)||0),f-s,h-u)}return new by((a==null?void 0:a.left)||0,(a==null?void 0:a.top)||0,0,0)},e.prototype.dirtifyWorldInternal=function(t,n){var r=this;if(!n.dirtyFlag){n.dirtyFlag=!0,n.frozen=!1,t.childNodes.forEach(function(o){var a=o.transformable;a.dirtyFlag||r.dirtifyWorldInternal(o,a)});var i=t.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}},e.prototype.syncHierarchy=function(t){var n=t.transformable;if(!n.frozen){n.frozen=!0,(n.localDirtyFlag||n.dirtyFlag)&&this.sync(t,n);for(var r=t.childNodes,i=0;is;--d){for(var m=0;m=u){n.isOverflowing=!0;break}m=0,p[g]="";continue}if(m>0&&m+$>h){if(g+1>=u){if(n.isOverflowing=!0,b>0&&b<=h){for(var P=p[g].length,T=0,R=P,M=0;Mh){R=M;break}T+=A}p[g]=(p[g]||"").slice(0,R)+d}break}if(g++,m=0,p[g]="",this.isBreakingSpace(S))continue;this.canBreakInLastChar(S)||(p=this.trimToBreakable(p),m=this.sumTextWidthByCache(p[g]||"",v)),this.shouldBreakByKinsokuShorui(S,O)&&(p=this.trimByKinsokuShorui(p),m+=y(w||""))}m+=$,p[g]=(p[g]||"")+S}return p.join(` -`)},e.prototype.isBreakingSpace=function(t){return typeof t!="string"?!1:qm.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},e.prototype.isNewline=function(t){return typeof t!="string"?!1:qm.Newlines.indexOf(t.charCodeAt(0))>=0},e.prototype.trimToBreakable=function(t){var n=Kt([],Ae(t),!1),r=n[n.length-2],i=this.findBreakableIndex(r);if(i===-1||!r)return n;var o=r.slice(i,i+1),a=this.isBreakingSpace(o),l=i+1,s=i+(a?0:1);return n[n.length-1]+=r.slice(l,r.length),n[n.length-2]=r.slice(0,s),n},e.prototype.canBreakInLastChar=function(t){return!(t&&H9e.test(t))},e.prototype.sumTextWidthByCache=function(t,n){return t.split("").reduce(function(r,i){if(!n[i])throw Error("cannot count the word without cache");return r+n[i]},0)},e.prototype.findBreakableIndex=function(t){for(var n=t.length-1;n>=0;n--)if(!H9e.test(t[n]))return n;return-1},e.prototype.getFromCache=function(t,n,r,i){var o=r[t];if(typeof o!="number"){var a=t.length*n;o=i.measureText(t).width+a,r[t]=o}return o},e}(),jt={},aun=function(){var e,t=new Lcn,n=new Dcn;return e={},e[Rt.CIRCLE]=new Ncn,e[Rt.ELLIPSE]=new Acn,e[Rt.RECT]=t,e[Rt.IMAGE]=t,e[Rt.GROUP]=t,e[Rt.LINE]=new kcn,e[Rt.TEXT]=new zcn(jt),e[Rt.POLYLINE]=n,e[Rt.POLYGON]=n,e[Rt.PATH]=new jcn,e[Rt.HTML]=null,e[Rt.MESH]=null,e}(),lun=function(){var e,t=new Gsn,n=new dle;return e={},e[vn.PERCENTAGE]=null,e[vn.NUMBER]=new Jsn,e[vn.ANGLE]=new Vsn,e[vn.DEFINED_PATH]=new Usn,e[vn.PAINT]=t,e[vn.COLOR]=t,e[vn.FILTER]=new Ksn,e[vn.LENGTH]=n,e[vn.LENGTH_PERCENTAGE]=n,e[vn.LENGTH_PERCENTAGE_12]=new Xsn,e[vn.LENGTH_PERCENTAGE_14]=new Ysn,e[vn.COORDINATE]=new Zsn,e[vn.OFFSET_DISTANCE]=new ecn,e[vn.OPACITY_VALUE]=new tcn,e[vn.PATH]=new ncn,e[vn.LIST_OF_POINTS]=new rcn,e[vn.SHADOW_BLUR]=new icn,e[vn.TEXT]=new ocn,e[vn.TEXT_TRANSFORM]=new acn,e[vn.TRANSFORM]=new Mcn,e[vn.TRANSFORM_ORIGIN]=new Rcn,e[vn.Z_INDEX]=new Icn,e[vn.MARKER]=new Qsn,e}(),sun=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}};jt.CameraContribution=SXe;jt.AnimationTimeline=null;jt.EasingFunction=null;jt.offscreenCanvasCreator=new Wcn;jt.sceneGraphSelector=new Ucn;jt.sceneGraphService=new Kcn(jt);jt.textService=new oun(jt);jt.geometryUpdaterFactory=aun;jt.CSSPropertySyntaxFactory=lun;jt.styleValueRegistry=new qsn(jt);jt.layoutRegistry=null;jt.globalThis=sun();jt.enableCSSParsing=!0;jt.enableDataset=!1;jt.enableStyleSyntax=!0;var cun=0,W9e=new Sy(hr.INSERTED,null,"","","",0,"",""),q9e=new Sy(hr.REMOVED,null,"","","",0,"",""),uun=new vi(hr.DESTROY),dun=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.entity=cun++,n.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},n.cullable={strategy:WJ.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},n.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},n.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},n.geometry={contentBounds:void 0,renderBounds:void 0},n.rBushNode={aabb:void 0},n.namespaceURI="g",n.scrollLeft=0,n.scrollTop=0,n.clientTop=0,n.clientLeft=0,n.destroyed=!1,n.style={},n.computedStyle=jt.enableCSSParsing?{anchor:Mi,opacity:Mi,fillOpacity:Mi,strokeOpacity:Mi,fill:Mi,stroke:Mi,transform:Mi,transformOrigin:Mi,visibility:Mi,pointerEvents:Mi,lineWidth:Mi,lineCap:Mi,lineJoin:Mi,increasedLineWidthForHitTesting:Mi,fontSize:Mi,fontFamily:Mi,fontStyle:Mi,fontWeight:Mi,fontVariant:Mi,textAlign:Mi,textBaseline:Mi,textTransform:Mi,zIndex:Mi,filter:Mi,shadowType:Mi}:null,n.parsedStyle={},n.attributes={},n}return Object.defineProperty(t.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(n){this.setAttribute("class",n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(n){return n!==""})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n-1]||null}return null},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(n){throw new Error(gi)},t.prototype.appendChild=function(n,r){var i;if(n.destroyed)throw new Error(zln);return jt.sceneGraphService.attach(n,this,r),!((i=this.ownerDocument)===null||i===void 0)&&i.defaultView&&this.ownerDocument.defaultView.mountChildren(n),W9e.relatedNode=this,n.dispatchEvent(W9e),n},t.prototype.insertBefore=function(n,r){if(!r)this.appendChild(n);else{n.parentElement&&n.parentElement.removeChild(n);var i=this.childNodes.indexOf(r);i===-1?this.appendChild(n):this.appendChild(n,i)}return n},t.prototype.replaceChild=function(n,r){var i=this.childNodes.indexOf(r);return this.removeChild(r),this.appendChild(n,i),r},t.prototype.removeChild=function(n){var r;return q9e.relatedNode=this,n.dispatchEvent(q9e),!((r=n.ownerDocument)===null||r===void 0)&&r.defaultView&&n.ownerDocument.defaultView.unmountChildren(n),jt.sceneGraphService.detach(n),n},t.prototype.removeChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];this.removeChild(r)}},t.prototype.destroyChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];r.childNodes.length&&r.destroyChildren(),r.destroy()}},t.prototype.matches=function(n){return jt.sceneGraphService.matches(n,this)},t.prototype.getElementById=function(n){return jt.sceneGraphService.querySelector("#".concat(n),this)},t.prototype.getElementsByName=function(n){return jt.sceneGraphService.querySelectorAll('[name="'.concat(n,'"]'),this)},t.prototype.getElementsByClassName=function(n){return jt.sceneGraphService.querySelectorAll(".".concat(n),this)},t.prototype.getElementsByTagName=function(n){return jt.sceneGraphService.querySelectorAll(n,this)},t.prototype.querySelector=function(n){return jt.sceneGraphService.querySelector(n,this)},t.prototype.querySelectorAll=function(n){return jt.sceneGraphService.querySelectorAll(n,this)},t.prototype.closest=function(n){var r=this;do{if(jt.sceneGraphService.matches(n,r))return r;r=r.parentElement}while(r!==null);return null},t.prototype.find=function(n){var r=this,i=null;return this.forEach(function(o){return o!==r&&n(o)?(i=o,!0):!1}),i},t.prototype.findAll=function(n){var r=this,i=[];return this.forEach(function(o){o!==r&&n(o)&&i.push(o)}),i},t.prototype.after=function(){for(var n=this,r=[],i=0;i1){var i=n[0].currentPoint,o=n[1].currentPoint,a=n[1].startTangent;r=[],a?(r.push([i[0]-a[0],i[1]-a[1]]),r.push([i[0],i[1]])):(r.push([o[0],o[1]]),r.push([i[0],i[1]]))}return r},t.prototype.getEndTangent=function(){var n=this.parsedStyle.path.segments,r=n.length,i=[];if(r>1){var o=n[r-2].currentPoint,a=n[r-1].currentPoint,l=n[r-1].endTangent;i=[],l?(i.push([a[0]-l[0],a[1]-l[1]]),i.push([a[0],a[1]])):(i.push([o[0],o[1]]),i.push([a[0],a[1]]))}return i},t}(Al),kP=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=this,i=n.style,o=Ci(n,["style"]);r=e.call(this,Mt({type:Rt.POLYGON,style:jt.enableCSSParsing?Mt({points:"",miterLimit:"",isClosed:!0},i):Mt({},i),initialParsedStyle:jt.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},o))||this,r.markerStartAngle=0,r.markerEndAngle=0,r.markerMidList=[];var a=r.parsedStyle,l=a.markerStart,s=a.markerEnd,u=a.markerMid;return l&&Hr(l)&&(r.markerStartAngle=l.getLocalEulerAngles(),r.appendChild(l)),u&&Hr(u)&&r.placeMarkerMid(u),s&&Hr(s)&&(r.markerEndAngle=s.getLocalEulerAngles(),r.appendChild(s)),r.transformMarker(!0),r.transformMarker(!1),r}return t.prototype.attributeChangedCallback=function(n,r,i,o,a){n==="points"?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):n==="markerStartOffset"||n==="markerEndOffset"?(this.transformMarker(!0),this.transformMarker(!1)):n==="markerStart"?(o&&Hr(o)&&(this.markerStartAngle=0,o.remove()),a&&Hr(a)&&(this.markerStartAngle=a.getLocalEulerAngles(),this.appendChild(a),this.transformMarker(!0))):n==="markerEnd"?(o&&Hr(o)&&(this.markerEndAngle=0,o.remove()),a&&Hr(a)&&(this.markerEndAngle=a.getLocalEulerAngles(),this.appendChild(a),this.transformMarker(!1))):n==="markerMid"&&this.placeMarkerMid(a)},t.prototype.transformMarker=function(n){var r=this.parsedStyle,i=r.markerStart,o=r.markerEnd,a=r.markerStartOffset,l=r.markerEndOffset,s=r.points,u=r.defX,c=r.defY,f=(s||{}).points,h=n?i:o;if(!(!h||!Hr(h)||!f)){var d=0,p,g,m,v,y,b;if(m=f[0][0]-u,v=f[0][1]-c,n)p=f[1][0]-f[0][0],g=f[1][1]-f[0][1],y=a||0,b=this.markerStartAngle;else{var C=f.length;this.parsedStyle.isClosed?(p=f[C-1][0]-f[0][0],g=f[C-1][1]-f[0][1]):(m=f[C-1][0]-u,v=f[C-1][1]-c,p=f[C-2][0]-f[C-1][0],g=f[C-2][1]-f[C-1][1]),y=l||0,b=this.markerEndAngle}d=Math.atan2(g,p),h.setLocalEulerAngles(d*180/Math.PI+b),h.setLocalPosition(m+Math.cos(d)*y,v+Math.sin(d)*y)}},t.prototype.placeMarkerMid=function(n){var r=this.parsedStyle,i=r.points,o=r.defX,a=r.defY,l=(i||{}).points;if(this.markerMidList.forEach(function(h){h.remove()}),this.markerMidList=[],n&&Hr(n)&&l)for(var s=1;s<(this.parsedStyle.isClosed?l.length:l.length-1);s++){var u=l[s][0]-o,c=l[s][1]-a,f=s===1?n:n.cloneNode(!0);this.markerMidList.push(f),this.appendChild(f),f.setLocalPosition(u,c)}},t}(Al),gle=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.POLYLINE,style:jt.enableCSSParsing?Mt({points:"",miterLimit:"",isClosed:!1},r):Mt({},r),initialParsedStyle:jt.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},i))||this}return t.prototype.getTotalLength=function(){return this.parsedStyle.points.totalLength},t.prototype.getPointAtLength=function(n,r){return r===void 0&&(r=!1),this.getPoint(n/this.getTotalLength(),r)},t.prototype.getPoint=function(n,r){r===void 0&&(r=!1);var i=this.parsedStyle,o=i.defX,a=i.defY,l=i.points,s=l.points,u=l.segments,c=0,f=0;u.forEach(function(m,v){n>=m[0]&&n<=m[1]&&(c=(n-m[0])/(m[1]-m[0]),f=v)});var h=yXe(s[f][0],s[f][1],s[f+1][0],s[f+1][1],c),d=h.x,p=h.y,g=xa(_r(),Br(d-o,p-a,0),r?this.getWorldTransform():this.getLocalTransform());return new La(g[0],g[1])},t.prototype.getStartTangent=function(){var n=this.parsedStyle.points.points,r=[];return r.push([n[1][0],n[1][1]]),r.push([n[0][0],n[0][1]]),r},t.prototype.getEndTangent=function(){var n=this.parsedStyle.points.points,r=n.length-1,i=[];return i.push([n[r-1][0],n[r-1][1]]),i.push([n[r][0],n[r][1]]),i},t}(kP),ib=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.RECT,style:jt.enableCSSParsing?Mt({x:"",y:"",width:"",height:"",radius:""},r):Mt({},r)},i))||this}return t}(Al),uu=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.TEXT,style:jt.enableCSSParsing?Mt({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},r):Mt({fill:"black"},r),initialParsedStyle:jt.enableCSSParsing?{}:{x:0,y:0,fontSize:16,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",lineHeight:0,letterSpacing:0,textBaseline:"alphabetic",textAlign:"start",wordWrap:!1,wordWrapWidth:0,leading:0,dx:0,dy:0}},i))||this}return t.prototype.getComputedTextLength=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.maxLineWidth)||0},t.prototype.getLineBoundingRects=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.lineMetrics)||[]},t.prototype.isOverflowing=function(){return!!this.parsedStyle.isOverflowing},t}(Al),mun=function(){function e(){this.registry={},this.define(Rt.CIRCLE,NP),this.define(Rt.ELLIPSE,ple),this.define(Rt.RECT,ib),this.define(Rt.IMAGE,hle),this.define(Rt.LINE,AP),this.define(Rt.GROUP,Ha),this.define(Rt.PATH,is),this.define(Rt.POLYGON,kP),this.define(Rt.POLYLINE,gle),this.define(Rt.TEXT,uu),this.define(Rt.HTML,fH)}return e.prototype.define=function(t,n){this.registry[t]=n},e.prototype.get=function(t){return this.registry[t]},e}(),vun=function(e){$n(t,e);function t(){var n=e.call(this)||this;n.defaultView=null,n.ownerDocument=null,n.nodeName="document";try{n.timeline=new jt.AnimationTimeline(n)}catch{}var r={};return ule.forEach(function(i){var o=i.n,a=i.inh,l=i.d;a&&l&&(r[o]=c3(l)?l(Rt.GROUP):l)}),n.documentElement=new Ha({id:"g-root",style:r}),n.documentElement.ownerDocument=n,n.documentElement.parentNode=n,n.childNodes=[n.documentElement],n}return Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),t.prototype.createElement=function(n,r){if(n==="svg")return this.documentElement;var i=this.defaultView.customElements.get(n);i||(console.warn("Unsupported tagName: ",n),i=n==="tspan"?uu:Ha);var o=new i(r);return o.ownerDocument=this,o},t.prototype.createElementNS=function(n,r,i){return this.createElement(r,i)},t.prototype.cloneNode=function(n){throw new Error(gi)},t.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch{}},t.prototype.elementsFromBBox=function(n,r,i,o){var a=this.defaultView.context.rBushRoot,l=a.search({minX:n,minY:r,maxX:i,maxY:o}),s=[];return l.forEach(function(u){var c=u.displayObject,f=c.parsedStyle.pointerEvents,h=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(f);(!h||h&&c.isVisible())&&!c.isCulled()&&c.isInteractive()&&s.push(c)}),s.sort(function(u,c){return c.sortable.renderOrder-u.sortable.renderOrder}),s},t.prototype.elementFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height;if(o<0||a<0||o>s||a>u)return null;var c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,d=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]}).picked;return d&&d[0]||this.documentElement},t.prototype.elementFromPoint=function(n,r){return T4(this,void 0,void 0,function(){var i,o,a,l,s,u,c,f,h,d;return M4(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height,o<0||a<0||o>s||a>u?[2,null]:(c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]})]);case 1:return d=p.sent().picked,[2,d&&d[0]||this.documentElement]}})})},t.prototype.elementsFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height;if(o<0||a<0||o>s||a>u)return[];var c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,d=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]}).picked;return d[d.length-1]!==this.documentElement&&d.push(this.documentElement),d},t.prototype.elementsFromPoint=function(n,r){return T4(this,void 0,void 0,function(){var i,o,a,l,s,u,c,f,h,d;return M4(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height,o<0||a<0||o>s||a>u?[2,[]]:(c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]})]);case 1:return d=p.sent().picked,d[d.length-1]!==this.documentElement&&d.push(this.documentElement),[2,d]}})})},t.prototype.appendChild=function(n,r){throw new Error(y2)},t.prototype.insertBefore=function(n,r){throw new Error(y2)},t.prototype.removeChild=function(n,r){throw new Error(y2)},t.prototype.replaceChild=function(n,r,i){throw new Error(y2)},t.prototype.append=function(){throw new Error(y2)},t.prototype.prepend=function(){throw new Error(y2)},t.prototype.getElementById=function(n){return this.documentElement.getElementById(n)},t.prototype.getElementsByName=function(n){return this.documentElement.getElementsByName(n)},t.prototype.getElementsByTagName=function(n){return this.documentElement.getElementsByTagName(n)},t.prototype.getElementsByClassName=function(n){return this.documentElement.getElementsByClassName(n)},t.prototype.querySelector=function(n){return this.documentElement.querySelector(n)},t.prototype.querySelectorAll=function(n){return this.documentElement.querySelectorAll(n)},t.prototype.find=function(n){return this.documentElement.find(n)},t.prototype.findAll=function(n){return this.documentElement.findAll(n)},t}(Na),yun=function(){function e(t){this.strategies=t}return e.prototype.apply=function(t){var n=t.camera,r=t.renderingService,i=t.renderingContext,o=this.strategies;r.hooks.cull.tap(e.tag,function(a){if(a){var l=a.cullable;return o.length===0?l.visible=i.unculledEntities.indexOf(a.entity)>-1:l.visible=o.every(function(s){return s.isVisible(n,a)}),!a.isCulled()&&a.isVisible()?a:(a.dispatchEvent(new vi(hr.CULLED)),null)}return a}),r.hooks.afterRender.tap(e.tag,function(a){a.cullable.visibilityPlaneMask=-1})},e.tag="Culling",e}(),bun=function(){function e(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new KJ(null),this.rootWheelEvent=new XJ(null),this.onPointerMove=function(n){var r,i,o,a,l=(a=(o=t.context.renderingContext.root)===null||o===void 0?void 0:o.ownerDocument)===null||a===void 0?void 0:a.defaultView;if(!(l.supportsTouchEvents&&n.pointerType==="touch")){var s=t.normalizeToPointerEvent(n,l);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=t.bootstrapEvent(t.rootPointerEvent,f,l,n);t.context.eventService.mapEvent(h)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(n){var r,i,o,a,l=(a=(o=t.context.renderingContext.root)===null||o===void 0?void 0:o.ownerDocument)===null||a===void 0?void 0:a.defaultView,s=t.normalizeToPointerEvent(n,l);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=t.bootstrapEvent(t.rootPointerEvent,f,l,n);t.context.eventService.mapEvent(h)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}t.setCursor(t.context.eventService.cursor)}}return e.prototype.apply=function(t){var n=this;this.context=t;var r=t.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(o){var a=n.context.renderingService.hooks.pickSync.call({position:o,picked:[],topmost:!0}).picked;return a[0]||null}),r.hooks.pointerWheel.tap(e.tag,function(o){var a=n.normalizeWheelEvent(o);n.context.eventService.mapEvent(a)}),r.hooks.pointerDown.tap(e.tag,function(o){var a,l;if(!(i.supportsTouchEvents&&o.pointerType==="touch")){var s=n.normalizeToPointerEvent(o,i);if(n.autoPreventDefault&&s[0].isNormalized){var u=o.cancelable||!("cancelable"in o);u&&o.preventDefault()}try{for(var c=ac(s),f=c.next();!f.done;f=c.next()){var h=f.value,d=n.bootstrapEvent(n.rootPointerEvent,h,i,o);n.context.eventService.mapEvent(d)}}catch(p){a={error:p}}finally{try{f&&!f.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(e.tag,function(o){var a,l;if(!(i.supportsTouchEvents&&o.pointerType==="touch")){var s=n.context.contextService.getDomElement(),u="outside";try{u=s&&o.target&&o.target!==s&&s.contains&&!s.contains(o.target)?"outside":""}catch{}var c=n.normalizeToPointerEvent(o,i);try{for(var f=ac(c),h=f.next();!h.done;h=f.next()){var d=h.value,p=n.bootstrapEvent(n.rootPointerEvent,d,i,o);p.type+=u,n.context.eventService.mapEvent(p)}}catch(g){a={error:g}}finally{try{h&&!h.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(e.tag,this.onPointerMove),r.hooks.pointerOver.tap(e.tag,this.onPointerMove),r.hooks.pointerOut.tap(e.tag,this.onPointerMove),r.hooks.click.tap(e.tag,this.onClick),r.hooks.pointerCancel.tap(e.tag,function(o){var a,l,s=n.normalizeToPointerEvent(o,i);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=n.bootstrapEvent(n.rootPointerEvent,f,i,o);n.context.eventService.mapEvent(h)}}catch(d){a={error:d}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)})},e.prototype.getViewportXY=function(t){var n,r,i=t.offsetX,o=t.offsetY,a=t.clientX,l=t.clientY;if(this.context.config.supportsCSSTransform&&!Cn(i)&&!Cn(o))n=i,r=o;else{var s=this.context.eventService.client2Viewport(new La(a,l));n=s.x,r=s.y}return{x:n,y:r}},e.prototype.bootstrapEvent=function(t,n,r,i){t.view=r,t.originalEvent=null,t.nativeEvent=i,t.pointerId=n.pointerId,t.width=n.width,t.height=n.height,t.isPrimary=n.isPrimary,t.pointerType=n.pointerType,t.pressure=n.pressure,t.tangentialPressure=n.tangentialPressure,t.tiltX=n.tiltX,t.tiltY=n.tiltY,t.twist=n.twist,this.transferMouseData(t,n);var o=this.getViewportXY(n),a=o.x,l=o.y;t.viewport.x=a,t.viewport.y=l;var s=this.context.eventService.viewport2Canvas(t.viewport),u=s.x,c=s.y;return t.canvas.x=u,t.canvas.y=c,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=i.isTrusted,t.type==="pointerleave"&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=gcn[t.type]||t.type),t},e.prototype.normalizeWheelEvent=function(t){var n=this.rootWheelEvent;this.transferMouseData(n,t),n.deltaMode=t.deltaMode,n.deltaX=t.deltaX,n.deltaY=t.deltaY,n.deltaZ=t.deltaZ;var r=this.getViewportXY(t),i=r.x,o=r.y;n.viewport.x=i,n.viewport.y=o;var a=this.context.eventService.viewport2Canvas(n.viewport),l=a.x,s=a.y;return n.canvas.x=l,n.canvas.y=s,n.global.copyFrom(n.canvas),n.offset.copyFrom(n.canvas),n.nativeEvent=t,n.type=t.type,n},e.prototype.transferMouseData=function(t,n){t.isTrusted=n.isTrusted,t.srcElement=n.srcElement,t.timeStamp=GJ.now(),t.type=n.type,t.altKey=n.altKey,t.metaKey=n.metaKey,t.shiftKey=n.shiftKey,t.ctrlKey=n.ctrlKey,t.button=n.button,t.buttons=n.buttons,t.client.x=n.clientX,t.client.y=n.clientY,t.movement.x=n.movementX,t.movement.y=n.movementY,t.page.x=n.pageX,t.page.y=n.pageY,t.screen.x=n.screenX,t.screen.y=n.screenY,t.relatedTarget=null},e.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},e.prototype.normalizeToPointerEvent=function(t,n){var r=[];if(n.isTouchEvent(t))for(var i=0;i-1,l=0,s=i.length;l=1?Math.ceil(T):1,$=l||fcn(o)||o.width/T,P=s||pcn(o)||o.height/T),a&&(jt.offscreenCanvas=a),r.devicePixelRatio=T,r.requestAnimationFrame=p??zXe.bind(jt.globalThis),r.cancelAnimationFrame=g??BXe.bind(jt.globalThis),r.supportsTouchEvents=y??"ontouchstart"in jt.globalThis,r.supportsPointerEvents=v??!!jt.globalThis.PointerEvent,r.isTouchEvent=w??function(R){return r.supportsTouchEvents&&R instanceof jt.globalThis.TouchEvent},r.isMouseEvent=O??function(R){return!jt.globalThis.MouseEvent||R instanceof jt.globalThis.MouseEvent&&(!r.supportsPointerEvents||!(R instanceof jt.globalThis.PointerEvent))},r.initRenderingContext({container:i,canvas:o,width:$,height:P,renderer:c,offscreenCanvas:a,devicePixelRatio:T,cursor:h||"default",background:f||"transparent",createImage:m,document:d,supportsCSSTransform:b,useNativeClickEvent:x,alwaysTriggerPointerEventOnCanvas:S}),r.initDefaultCamera($,P,c.clipSpaceNearZ),r.initRenderer(c,!0),r}return t.prototype.initRenderingContext=function(n){this.context.config=n,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},t.prototype.initDefaultCamera=function(n,r,i){var o=this,a=new jt.CameraContribution;a.clipSpaceNearZ=i,a.setType(ti.EXPLORING,A7.DEFAULT).setPosition(n/2,r/2,U9e).setFocalPoint(n/2,r/2,0).setOrthographic(n/-2,n/2,r/2,r/-2,_un,wun),a.canvas=this,a.eventEmitter.on(CXe.UPDATED,function(){o.context.renderingContext.renderReasons.add(u0.CAMERA_CHANGED)}),this.context.camera=a},t.prototype.getConfig=function(){return this.context.config},t.prototype.getRoot=function(){return this.document.documentElement},t.prototype.getCamera=function(){return this.context.camera},t.prototype.getContextService=function(){return this.context.contextService},t.prototype.getEventService=function(){return this.context.eventService},t.prototype.getRenderingService=function(){return this.context.renderingService},t.prototype.getRenderingContext=function(){return this.context.renderingContext},t.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(t.prototype,"ready",{get:function(){var n=this;return this.readyPromise||(this.readyPromise=new Promise(function(r){n.resolveReadyPromise=function(){r(n)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),t.prototype.destroy=function(n,r){if(n===void 0&&(n=!0),r===void 0&&(r=!1),r||this.dispatchEvent(new vi(Ss.BEFORE_DESTROY)),this.frameId){var i=this.getConfig().cancelAnimationFrame||cancelAnimationFrame;i(this.frameId)}var o=this.getRoot();this.unmountChildren(o),n&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),n&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),r||this.dispatchEvent(new vi(Ss.AFTER_DESTROY))},t.prototype.changeSize=function(n,r){this.resize(n,r)},t.prototype.resize=function(n,r){var i=this.context.config;i.width=n,i.height=r,this.getContextService().resize(n,r);var o=this.context.camera,a=o.getProjectionMode();o.setPosition(n/2,r/2,U9e).setFocalPoint(n/2,r/2,0),a===ms.ORTHOGRAPHIC?o.setOrthographic(n/-2,n/2,r/2,r/-2,o.getNear(),o.getFar()):o.setAspect(n/r),this.dispatchEvent(new vi(Ss.RESIZE,{width:n,height:r}))},t.prototype.appendChild=function(n,r){return this.document.documentElement.appendChild(n,r)},t.prototype.insertBefore=function(n,r){return this.document.documentElement.insertBefore(n,r)},t.prototype.removeChild=function(n){return this.document.documentElement.removeChild(n)},t.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},t.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},t.prototype.render=function(){var n=this;this.dispatchEvent(Oun);var r=this.getRenderingService();r.render(this.getConfig(),function(){n.dispatchEvent(Eun)}),this.dispatchEvent($un)},t.prototype.run=function(){var n=this,r=function(){n.render(),n.frameId=n.requestAnimationFrame(r)};r()},t.prototype.initRenderer=function(n,r){var i=this;if(r===void 0&&(r=!1),!n)throw new Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new Oln,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new bun,new xun,new yun([new Sun])),this.loadRendererContainerModule(n),this.context.contextService=new this.context.ContextService(Mt(Mt({},jt),this.context)),this.context.renderingService=new qcn(jt,this.context),this.context.eventService=new Hcn(jt,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(n,r,!0)):this.context.contextService.initAsync().then(function(){i.initRenderingService(n,r)})},t.prototype.initRenderingService=function(n,r,i){var o=this;r===void 0&&(r=!1),i===void 0&&(i=!1),this.context.renderingService.init(function(){o.inited=!0,r?(i?o.requestAnimationFrame(function(){o.dispatchEvent(new vi(Ss.READY))}):o.dispatchEvent(new vi(Ss.READY)),o.readyPromise&&o.resolveReadyPromise()):o.dispatchEvent(new vi(Ss.RENDERER_CHANGED)),r||o.getRoot().forEach(function(a){var l=a.renderable;l&&(l.renderBoundsDirty=!0,l.boundsDirty=!0,l.dirty=!0)}),o.mountChildren(o.getRoot()),n.getConfig().enableAutoRendering&&o.run()})},t.prototype.loadRendererContainerModule=function(n){var r=this,i=n.getPlugins();i.forEach(function(o){o.context=r.context,o.init(jt)})},t.prototype.setRenderer=function(n){var r=this.getConfig();if(r.renderer!==n){var i=r.renderer;r.renderer=n,this.destroy(!1,!0),Kt([],Ae(i==null?void 0:i.getPlugins()),!1).reverse().forEach(function(o){o.destroy(jt)}),this.initRenderer(n)}},t.prototype.setCursor=function(n){var r=this.getConfig();r.cursor=n,this.getContextService().applyCursorStyle(n)},t.prototype.unmountChildren=function(n){var r=this;n.childNodes.forEach(function(i){r.unmountChildren(i)}),this.inited&&(n.isMutationObserved?n.dispatchEvent(IK):(IK.target=n,this.dispatchEvent(IK,!0)),n!==this.document.documentElement&&(n.ownerDocument=null),n.isConnected=!1),n.isCustomElement&&n.disconnectedCallback&&n.disconnectedCallback()},t.prototype.mountChildren=function(n){var r=this;this.inited?n.isConnected||(n.ownerDocument=this.document,n.isConnected=!0,n.isMutationObserved?n.dispatchEvent(RK):(RK.target=n,this.dispatchEvent(RK,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",n.nodeName),n.childNodes.forEach(function(i){r.mountChildren(i)}),n.isCustomElement&&n.connectedCallback&&n.connectedCallback()},t.prototype.client2Viewport=function(n){return this.getEventService().client2Viewport(n)},t.prototype.viewport2Client=function(n){return this.getEventService().viewport2Client(n)},t.prototype.viewport2Canvas=function(n){return this.getEventService().viewport2Canvas(n)},t.prototype.canvas2Viewport=function(n){return this.getEventService().canvas2Viewport(n)},t.prototype.getPointByClient=function(n,r){return this.client2Viewport({x:n,y:r})},t.prototype.getClientByPoint=function(n,r){return this.viewport2Client({x:n,y:r})},t}(HXe),Pun=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.landmarks=[],n}return t.prototype.rotate=function(n,r,i){if(this.relElevation=z3(r),this.relAzimuth=z3(n),this.relRoll=z3(i),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===ti.EXPLORING){var o=q1(Fo(),[1,0,0],ao((this.rotateWorld?1:-1)*this.relElevation)),a=q1(Fo(),[0,1,0],ao((this.rotateWorld?1:-1)*this.relAzimuth)),l=q1(Fo(),[0,0,1],ao(this.relRoll)),s=l0(Fo(),a,o);s=l0(Fo(),s,l);var u=Mae(ci(),s);a0(this.matrix,this.matrix,[0,0,-this.distance]),Ol(this.matrix,this.matrix,u),a0(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===ti.ORBITING||this.type===ti.EXPLORING?this._getPosition():this.type===ti.TRACKING&&this._getFocalPoint(),this._update(),this},t.prototype.pan=function(n,r){var i=ql(n,r,0),o=Rp(this.position);return j3(o,o,vJ(_r(),this.right,i[0])),j3(o,o,vJ(_r(),this.up,i[1])),this._setPosition(o),this.triggerUpdate(),this},t.prototype.dolly=function(n){var r=this.forward,i=Rp(this.position),o=n*this.dollyingStep,a=this.distance+n*this.dollyingStep;return o=Math.max(Math.min(a,this.maxDistance),this.minDistance)-this.distance,i[0]+=o*r[0],i[1]+=o*r[1],i[2]+=o*r[2],this._setPosition(i),this.type===ti.ORBITING||this.type===ti.EXPLORING?this._getDistance():this.type===ti.TRACKING&&j3(this.focalPoint,i,this.distanceVector),this.triggerUpdate(),this},t.prototype.cancelLandmarkAnimation=function(){this.landmarkAnimationID!==void 0&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},t.prototype.createLandmark=function(n,r){var i,o,a,l;r===void 0&&(r={});var s=r.position,u=s===void 0?this.position:s,c=r.focalPoint,f=c===void 0?this.focalPoint:c,h=r.roll,d=r.zoom,p=new jt.CameraContribution;p.setType(this.type,void 0),p.setPosition(u[0],(i=u[1])!==null&&i!==void 0?i:this.position[1],(o=u[2])!==null&&o!==void 0?o:this.position[2]),p.setFocalPoint(f[0],(a=f[1])!==null&&a!==void 0?a:this.focalPoint[1],(l=f[2])!==null&&l!==void 0?l:this.focalPoint[2]),p.setRoll(h??this.roll),p.setZoom(d??this.zoom);var g={name:n,matrix:$ae(p.getWorldTransform()),right:Rp(p.right),up:Rp(p.up),forward:Rp(p.forward),position:Rp(p.getPosition()),focalPoint:Rp(p.getFocalPoint()),distanceVector:Rp(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(g),g},t.prototype.gotoLandmark=function(n,r){var i=this;r===void 0&&(r={});var o=eo(n)?this.landmarks.find(function(P){return P.name===n}):n;if(o){var a=Ro(r)?{duration:r}:r,l=a.easing,s=l===void 0?"linear":l,u=a.duration,c=u===void 0?100:u,f=a.easingFunction,h=f===void 0?void 0:f,d=a.onfinish,p=d===void 0?void 0:d,g=a.onframe,m=g===void 0?void 0:g,v=.01;if(c===0){this.syncFromLandmark(o),p&&p();return}this.cancelLandmarkAnimation();var y=o.position,b=o.focalPoint,C=o.zoom,x=o.roll,S=h||jt.EasingFunction(s),w,O=function(){i.setFocalPoint(b),i.setPosition(y),i.setRoll(x),i.setZoom(C),i.computeMatrix(),i.triggerUpdate(),p&&p()},$=function(P){w===void 0&&(w=P);var T=P-w;if(T>c){O();return}var R=S(T/c),M=_r(),A=_r(),N=1,k=0;yJ(M,i.focalPoint,b,R),yJ(A,i.position,y,R),k=i.roll*(1-R)+x*R,N=i.zoom*(1-R)+C*R,i.setFocalPoint(M),i.setPosition(A),i.setRoll(k),i.setZoom(N);var D=k8e(M,b)+k8e(A,y);if(D<=v&&C==null&&x==null){O();return}i.computeMatrix(),i.triggerUpdate(),T0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&Number(this._currentTime)<=0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_needsTick",{get:function(){return this.pending||this.playState==="running"||!this._finishedFlag},enumerable:!1,configurable:!0}),e.prototype.updatePromises=function(){var t=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==t&&(n==="idle"?(this.rejectReadyPromise(),this.readyPromise=void 0):t==="pending"?this.resolveReadyPromise():n==="pending"&&(this.readyPromise=void 0)),this.finishedPromise&&n!==t&&(n==="idle"?(this.rejectFinishedPromise(),this.finishedPromise=void 0):n==="finished"?this.resolveFinishedPromise():t==="finished"&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise},e.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),this.timeline.animations.indexOf(this)===-1&&this.timeline.animations.push(this),this.updatePromises()},e.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),!this._isFinished&&!this._paused&&!this._idle?this.currentTimePending=!0:this._idle&&(this.rewind(),this._idle=!1),this._startTime=null,this._paused=!0,this.updatePromises()},e.prototype.finish=function(){this.updatePromises(),!this._idle&&(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},e.prototype.cancel=function(){var t=this;if(this.updatePromises(),!!this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var n=new NK(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(n)})}},e.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),t!==null&&(this.currentTime=t),this.updatePromises()},e.prototype.updatePlaybackRate=function(t){this.playbackRate=t},e.prototype.targetAnimations=function(){var t,n=(t=this.effect)===null||t===void 0?void 0:t.target;return n.getAnimations()},e.prototype.markTarget=function(){var t=this.targetAnimations();t.indexOf(this)===-1&&t.push(this)},e.prototype.unmarkTarget=function(){var t=this.targetAnimations(),n=t.indexOf(this);n!==-1&&t.splice(n,1)},e.prototype.tick=function(t,n){!this._idle&&!this._paused&&(this._startTime===null?n&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),n&&(this.currentTimePending=!1,this.fireEvents(t))},e.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw new Error("Unable to rewind negative playback rate animation with infinite duration")},e.prototype.persist=function(){throw new Error(gi)},e.prototype.addEventListener=function(t,n,r){throw new Error(gi)},e.prototype.removeEventListener=function(t,n,r){throw new Error(gi)},e.prototype.dispatchEvent=function(t){throw new Error(gi)},e.prototype.commitStyles=function(){throw new Error(gi)},e.prototype.ensureAlive=function(){var t,n;this.playbackRate<0&&this.currentTime===0?this._inEffect=!!(!((t=this.effect)===null||t===void 0)&&t.update(-1)):this._inEffect=!!(!((n=this.effect)===null||n===void 0)&&n.update(this.currentTime)),!this._inTimeline&&(this._inEffect||!this._finishedFlag)&&(this._inTimeline=!0,this.timeline.animations.push(this))},e.prototype.tickCurrentTime=function(t,n){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!n&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},e.prototype.fireEvents=function(t){var n=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var r=new NK(null,this,this.currentTime,t);setTimeout(function(){n.onfinish&&n.onfinish(r)})}this._finishedFlag=!0}}else{if(this.onframe&&this.playState==="running"){var i=new NK(null,this,this.currentTime,t);this.onframe(i)}this._finishedFlag=!1}},e}(),Run=4,Iun=.001,Nun=1e-7,Aun=10,s9=11,eA=1/(s9-1),kun=typeof Float32Array=="function",UXe=function(e,t){return 1-3*t+3*e},GXe=function(e,t){return 3*t-6*e},KXe=function(e){return 3*e},iL=function(e,t,n){return((UXe(t,n)*e+GXe(t,n))*e+KXe(t))*e},XXe=function(e,t,n){return 3*UXe(t,n)*e*e+2*GXe(t,n)*e+KXe(t)},jun=function(e,t,n,r,i){var o,a,l=0;do a=t+(n-t)/2,o=iL(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>Nun&&++l=Iun?Dun(l,h,e,n):d===0?h:jun(l,s,s+eA,e,n)};return function(l){return l===0||l===1?l:iL(a(l),t,r)}},Lun=function(e){return e=e.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())}),e.charAt(0)==="-"?e.substring(1):e},tA=function(e){return Math.pow(e,2)},nA=function(e){return Math.pow(e,3)},rA=function(e){return Math.pow(e,4)},iA=function(e){return Math.pow(e,5)},oA=function(e){return Math.pow(e,6)},aA=function(e){return 1-Math.cos(e*Math.PI/2)},lA=function(e){return 1-Math.sqrt(1-e*e)},sA=function(e){return e*e*(3*e-2)},cA=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)},uA=function(e,t){t===void 0&&(t=[]);var n=Ae(t,2),r=n[0],i=r===void 0?1:r,o=n[1],a=o===void 0?.5:o,l=mo(Number(i),1,10),s=mo(Number(a),.1,2);return e===0||e===1?e:-l*Math.pow(2,10*(e-1))*Math.sin((e-1-s/(Math.PI*2)*Math.asin(1/l))*(Math.PI*2)/s)},N8=function(e,t,n){t===void 0&&(t=[]);var r=Ae(t,4),i=r[0],o=i===void 0?1:i,a=r[1],l=a===void 0?100:a,s=r[2],u=s===void 0?10:s,c=r[3],f=c===void 0?0:c;o=mo(o,.1,1e3),l=mo(l,.1,1e3),u=mo(u,.1,1e3),f=mo(f,.1,1e3);var h=Math.sqrt(l/o),d=u/(2*Math.sqrt(l*o)),p=d<1?h*Math.sqrt(1-d*d):0,g=1,m=d<1?(d*h+-f)/p:-f+h,v=n?n*e/1e3:e;return d<1?v=Math.exp(-v*d*h)*(g*Math.cos(p*v)+m*Math.sin(p*v)):v=(g+m*v)*Math.exp(-v*h),e===0||e===1?e:1-v},AK=function(e,t){t===void 0&&(t=[]);var n=Ae(t,2),r=n[0],i=r===void 0?10:r,o=n[1],a=o=="start"?Math.ceil:Math.floor;return a(mo(e,0,1)*i)/i},G9e=function(e,t){t===void 0&&(t=[]);var n=Ae(t,4),r=n[0],i=n[1],o=n[2],a=n[3];return mle(r,i,o,a)(e)},dA=mle(.42,0,1,1),Fc=function(e){return function(t,n,r){return n===void 0&&(n=[]),1-e(1-t,n,r)}},Hc=function(e){return function(t,n,r){return n===void 0&&(n=[]),t<.5?e(t*2,n,r)/2:1-e(t*-2+2,n,r)/2}},Wc=function(e){return function(t,n,r){return n===void 0&&(n=[]),t<.5?(1-e(1-t*2,n,r))/2:(e(t*2-1,n,r)+1)/2}},K9e={steps:AK,"step-start":function(e){return AK(e,[1,"start"])},"step-end":function(e){return AK(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":G9e,ease:function(e){return G9e(e,[.25,.1,.25,1])},in:dA,out:Fc(dA),"in-out":Hc(dA),"out-in":Wc(dA),"in-quad":tA,"out-quad":Fc(tA),"in-out-quad":Hc(tA),"out-in-quad":Wc(tA),"in-cubic":nA,"out-cubic":Fc(nA),"in-out-cubic":Hc(nA),"out-in-cubic":Wc(nA),"in-quart":rA,"out-quart":Fc(rA),"in-out-quart":Hc(rA),"out-in-quart":Wc(rA),"in-quint":iA,"out-quint":Fc(iA),"in-out-quint":Hc(iA),"out-in-quint":Wc(iA),"in-expo":oA,"out-expo":Fc(oA),"in-out-expo":Hc(oA),"out-in-expo":Wc(oA),"in-sine":aA,"out-sine":Fc(aA),"in-out-sine":Hc(aA),"out-in-sine":Wc(aA),"in-circ":lA,"out-circ":Fc(lA),"in-out-circ":Hc(lA),"out-in-circ":Wc(lA),"in-back":sA,"out-back":Fc(sA),"in-out-back":Hc(sA),"out-in-back":Wc(sA),"in-bounce":cA,"out-bounce":Fc(cA),"in-out-bounce":Hc(cA),"out-in-bounce":Wc(cA),"in-elastic":uA,"out-elastic":Fc(uA),"in-out-elastic":Hc(uA),"out-in-elastic":Wc(uA),spring:N8,"spring-in":N8,"spring-out":Fc(N8),"spring-in-out":Hc(N8),"spring-out-in":Wc(N8)},zun=function(e){return Lun(e).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},Bun=function(e){return K9e[zun(e)]||K9e.linear},Fun=function(e){return e},Hun=1,Wun=.5,X9e=0;function Y9e(e,t){return function(n){if(n>=1)return 1;var r=1/e;return n+=t*r,n-n%r}}var fA="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",qun=new RegExp("cubic-bezier\\("+fA+","+fA+","+fA+","+fA+"\\)"),Vun=/steps\(\s*(\d+)\s*\)/,Uun=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function vle(e){var t=qun.exec(e);if(t)return mle.apply(void 0,Kt([],Ae(t.slice(1).map(Number)),!1));var n=Vun.exec(e);if(n)return Y9e(Number(n[1]),X9e);var r=Uun.exec(e);return r?Y9e(Number(r[1]),{start:Hun,middle:Wun,end:X9e}[r[2]]):Bun(e)}function Gun(e){return Math.abs(Kun(e)/(e.playbackRate||1))}function Kun(e){var t;return e.duration===0||e.iterations===0?0:(e.duration==="auto"?0:Number(e.duration))*((t=e.iterations)!==null&&t!==void 0?t:1)}var YXe=0,yle=1,pH=2,ZXe=3;function Xun(e,t,n){if(t===null)return YXe;var r=n.endTime;return t=Math.min(n.delay+e+n.endDelay,r)?pH:ZXe}function Yun(e,t,n,r,i){switch(r){case yle:return t==="backwards"||t==="both"?0:null;case ZXe:return n-i;case pH:return t==="forwards"||t==="both"?e:null;case YXe:return null}}function Zun(e,t,n,r,i){var o=i;return e===0?t!==yle&&(o+=n):o+=r/e,o}function Qun(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return a===0&&n===pH&&r!==0&&(i!==0||o===0)&&(a=1),a}function Jun(e,t,n,r){return e===pH&&t===1/0?1/0:n===1?Math.floor(r)-1:Math.floor(r)}function edn(e,t,n){var r=e;if(e!=="normal"&&e!=="reverse"){var i=t;e==="alternate-reverse"&&(i+=1),r="normal",i!==1/0&&i%2!==0&&(r="reverse")}return r==="normal"?n:1-n}function tdn(e,t,n){var r=Xun(e,t,n),i=Yun(e,n.fill,t,r,n.delay);if(i===null)return null;var o=n.duration==="auto"?0:n.duration,a=Zun(o,r,n.iterations,i,n.iterationStart),l=Qun(a,n.iterationStart,r,n.iterations,i,o),s=Jun(r,n.iterations,l,a),u=edn(n.direction,s,l);return n.currentIteration=s,n.progress=u,n.easingFunction(u)}function ndn(e,t,n){var r=rdn(e,t),i=idn(r,n);return function(o,a){if(a!==null)i.filter(function(s){return a>=s.applyFrom&&a1)throw new Error("Keyframe offsets must be between 0 and 1.");u.computedOffset=f}}else if(c==="composite"&&["replace","add","accumulate","auto"].indexOf(f)===-1)throw new Error("".concat(f," compositing is not supported"));u[c]=f}return u.offset===void 0&&(u.offset=null),u.easing===void 0&&(u.easing=(t==null?void 0:t.easing)||"linear"),u.composite===void 0&&(u.composite="auto"),u}),r=!0,i=-1/0,o=0;o=0&&Number(s.offset)<=1});function l(){var s,u,c=n.length;n[c-1].computedOffset=Number((s=n[c-1].offset)!==null&&s!==void 0?s:1),c>1&&(n[0].computedOffset=Number((u=n[0].offset)!==null&&u!==void 0?u:0));for(var f=0,h=Number(n[0].computedOffset),d=1;dthis.createElement(t),r=[];if(this._data!==null){for(let i=0;ii,r=()=>null){const i=[],o=[],a=new Set(this._elements),l=[],s=new Set,u=new Map(this._elements.map((d,p)=>[n(d.__data__,p),d])),c=new Map(this._facetElements.map((d,p)=>[n(d.__data__,p),d])),f=Ji(this._elements,d=>r(d.__data__));for(let d=0;da,n=a=>a,r=a=>a.remove(),i=a=>a,o=a=>a.remove()){const a=t(this._enter),l=n(this._update),s=r(this._exit),u=i(this._merge),c=o(this._split);return l.merge(a).merge(s).merge(u).merge(c)}remove(){for(let t=0;ti.finished)).then(()=>{this._elements[t].remove()})}else this._elements[t].remove()}return new Xa([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let n=0;nn:n;return this.each(function(i,o,a){n!==void 0&&(a[t]=r(i,o,a))})}style(t,n){const r=typeof n!="function"?()=>n:n;return this.each(function(i,o,a){n!==void 0&&(a.style[t]=r(i,o,a))})}transition(t){const n=typeof t!="function"?()=>t:t,{_transitions:r}=this;return this.each(function(i,o,a){r[o]=n(i,o,a)})}on(t,n){return this.each(function(r,i,o){o.addEventListener(t,n)}),this}call(t,...n){return t(this,...n),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}};oL.registry={g:Ha,rect:ib,circle:NP,path:is,text:uu,ellipse:ple,image:hle,line:AP,polygon:kP,polyline:gle,html:fH};function pA(e,t,n){return Math.max(t,Math.min(e,n))}function aL(e,t=10){return typeof e!="number"||Math.abs(e)<1e-15?e:parseFloat(e.toFixed(t))}function kn(e,t){for(const[n,r]of Object.entries(t))e.style(n,r)}function gdn(e,t){return t.forEach((n,r)=>r===0?e.moveTo(n[0],n[1]):e.lineTo(n[0],n[1])),e.closePath(),e}function mdn(e,t,n){const{arrowSize:r}=n,i=typeof r=="string"?+parseFloat(r)/100*Zi(e,t):r,o=Math.PI/6,a=Math.atan2(t[1]-e[1],t[0]-e[0]),l=Math.PI/2-a-o,s=[t[0]-i*Math.sin(l),t[1]-i*Math.cos(l)],u=a-o,c=[t[0]-i*Math.cos(u),t[1]-i*Math.sin(u)];return[s,c]}function D7(e,t,n,r,i){const o=yu(ho(r,t))+Math.PI,a=yu(ho(r,n))+Math.PI;return e.arc(r[0],r[1],i,o,a,a-o<0),e}function eYe(e,t,n,r="y",i="between",o=!1){const a=(m,v)=>m==="y"||m===!0?v?180:90:v?90:0,l=r==="y"||r===!0?n:t,s=a(r,o),u=tb(l),[c,f]=eh(u,m=>l[m]),h=new Ri({domain:[c,f],range:[0,100]}),d=m=>Ro(l[m])&&!Number.isNaN(l[m])?h.map(l[m]):0,p={between:m=>`${e[m]} ${d(m)}%`,start:m=>m===0?`${e[m]} ${d(m)}%`:`${e[m-1]} ${d(m)}%, ${e[m]} ${d(m)}%`,end:m=>m===e.length-1?`${e[m]} ${d(m)}%`:`${e[m]} ${d(m)}%, ${e[m+1]} ${d(m)}%`},g=u.sort((m,v)=>d(m)-d(v)).map(p[i]||p.between).join(",");return`linear-gradient(${s}deg, ${g})`}function hH(e){const[t,n,r,i]=e;return[i,t,n,r]}function ob(e,t,n){const[r,i,,o]=Hi(e)?hH(t):t,[a,l]=n,s=e.getCenter(),u=j4(ho(r,s)),c=j4(ho(i,s)),f=c===u&&a!==l?c+Math.PI*2:c;return{startAngle:u,endAngle:f-u>=0?f:Math.PI*2+f,innerRadius:Zi(o,s),outerRadius:Zi(r,s)}}function tYe(e){const{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function nYe(e,t){if(!Ai(e))return"";const n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function rYe(e){if(e.length===1)return e[0];const[[t,n,r=0],[i,o,a=0]]=e;return[(t+i)/2,(n+o)/2,(r+a)/2]}var Gk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?T:T+M,k=A>0?R:R+A,D=Math.abs(M),L=Math.abs(A),B=N+l,j=k+s,z=D-(l+u),V=L-(s+c),W=O?pA(z,v,1/0):pA(z,g,m),U=O?pA(V,g,m):pA(V,v,1/0),K=O?B:B-(W-z)/2,X=O?j-(U-V)/2:j-(U-V);return Un(e.createElement("rect",{})).style("x",K).style("y",X).style("width",W).style("height",U).style("radius",[d,p,h,f]).call(kn,y).node()}const{y:b,y1:C}=n,x=r.getCenter(),S=ob(r,t,[b,C]),w=rH().cornerRadius(a).padAngle(o*Math.PI/180);return Un(e.createElement("path",{})).style("path",w(S)).style("transform",`translate(${x[0]}, ${x[1]})`).style("radius",a).style("inset",o).call(kn,y).node()}const jP=(e,t)=>{const{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:o=!0}=e,a=Gk(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=t;return(u,c,f)=>{const{color:h,radius:d=0}=f,p=Gk(f,["color","radius"]),g=p.lineWidth||1,{stroke:m,radius:v=d,radiusTopLeft:y=v,radiusTopRight:b=v,radiusBottomRight:C=v,radiusBottomLeft:x=v,innerRadius:S=0,innerRadiusTopLeft:w=S,innerRadiusTopRight:O=S,innerRadiusBottomRight:$=S,innerRadiusBottomLeft:P=S,lineWidth:T=n==="stroke"||m?g:0,inset:R=0,insetLeft:M=R,insetRight:A=R,insetBottom:N=R,insetTop:k=R,minWidth:D,maxWidth:L,minHeight:B}=a,j=Gk(a,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:z=h,opacity:V}=c,W=[i?y:w,i?b:O,o?C:$,o?x:P],U=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];Hi(l)&&U.push(U.shift());const K=Object.assign(Object.assign({radius:v},Object.fromEntries(U.map((X,G)=>[X,W[G]]))),{inset:R,insetLeft:M,insetRight:A,insetBottom:N,insetTop:k,minWidth:D,maxWidth:L,minHeight:B});return Un(iYe(s,u,c,l,K)).call(kn,p).style("fill","transparent").style(n,z).style(tYe(e),V).style("lineWidth",T).style("stroke",m===void 0?z:m).call(kn,j).node()}};jP.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const ab=(e,t)=>jP(Object.assign({colorAttribute:"fill"},e),t);ab.props=Object.assign(Object.assign({},jP.props),{defaultMarker:"square"});const gH=(e,t)=>jP(Object.assign({colorAttribute:"stroke"},e),t);gH.props=Object.assign(Object.assign({},jP.props),{defaultMarker:"hollowSquare"});var eEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{adjustPoints:n=vdn}=e,r=eEe(e,["adjustPoints"]),{coordinate:i,document:o}=t;return(a,l,s,u)=>{const{index:c}=l,{color:f}=s,h=eEe(s,["color"]),d=u[c+1],p=n(a,d,i),g=!!Hi(i),[m,v,y,b]=g?hH(p):p,{color:C=f,opacity:x}=l,S=S0().curve(ele)([m,v,y,b]);return Un(o.createElement("path",{})).call(kn,h).style("path",S).style("fill",C).style("fillOpacity",x).call(kn,r).node()}};ble.props={defaultMarker:"square"};function ydn(e,t,n){const[r,i,o,a]=e;if(Hi(n)){const u=[t?t[0][0]:(i[0]+o[0])/2,i[1]],c=[t?t[3][0]:(i[0]+o[0])/2,o[1]];return[r,u,c,a]}const l=[i[0],t?t[0][1]:(i[1]+o[1])/2],s=[o[0],t?t[3][1]:(i[1]+o[1])/2];return[r,l,s,a]}const oYe=(e,t)=>ble(Object.assign({adjustPoints:ydn},e),t);oYe.props={defaultMarker:"square"};function B4(e){const t=typeof e=="function"?e:e.render;return class extends dH{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var tEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{d1:t,d2:n,style1:r,style2:i}=e.attributes,o=e.ownerDocument;Un(e).maybeAppend("line",()=>o.createElement("path",{})).style("d",t).call(kn,r),Un(e).maybeAppend("line1",()=>o.createElement("path",{})).style("d",n).call(kn,i)});function Cdn(e,t){const n=[],r=[];let i=!1,o=null;for(const a of e)!t(a[0])||!t(a[1])?i=!0:(n.push(a),i&&(i=!1,r.push([o,a])),o=a);return[n,r]}const Ou=(e,t)=>{const{curve:n,gradient:r=!1,gradientColor:i="between",defined:o=c=>!Number.isNaN(c)&&c!==void 0&&c!==null,connect:a=!1}=e,l=tEe(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:u}=t;return(c,f,h)=>{const{color:d,lineWidth:p}=h,g=tEe(h,["color","lineWidth"]),{color:m=d,size:v=p,seriesColor:y,seriesX:b,seriesY:C}=f,x=nYe(s,f),S=Hi(s),w=r&&y?eYe(y,b,C,r,i,S):m,O=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},g),w&&{stroke:w}),v&&{lineWidth:v}),x&&{transform:x}),l);let $;if(Ai(s)){const N=s.getCenter();$=k=>Uan().angle((D,L)=>j4(ho(k[L],N))).radius((D,L)=>Zi(k[L],N)).defined(([D,L])=>o(D)&&o(L)).curve(n)(k)}else $=S0().x(N=>N[0]).y(N=>N[1]).defined(([N,k])=>o(N)&&o(k)).curve(n);const[P,T]=Cdn(c,o),R=hn(O,"connect"),M=!!T.length;if(!M||a&&!Object.keys(R).length)return Un(u.createElement("path",{})).style("d",$(P)||[]).call(kn,O).node();if(M&&!a)return Un(u.createElement("path",{})).style("d",$(c)).call(kn,O).node();const A=N=>N.map($).join(",");return Un(new bdn).style("style1",Object.assign(Object.assign({},O),R)).style("style2",O).style("d1",A(T)).style("d2",$(c)).node()}};Ou.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const aYe=(e,t)=>{const{coordinate:n}=t;return(...r)=>{const i=Ai(n)?ele:TP;return Ou(Object.assign({curve:i},e),t)(...r)}};aYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"line"});var Sdn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=Sdn(e,[]),{coordinate:r}=t;return(...i)=>{const o=Ai(r)?tXe:Hi(r)?aXe:oXe;return Ou(Object.assign({curve:o},n),t)(...i)}};lYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"smooth"});const sYe=(e,t)=>Ou(Object.assign({curve:cXe},e),t);sYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"hv"});const cYe=(e,t)=>Ou(Object.assign({curve:sXe},e),t);cYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"vh"});const uYe=(e,t)=>Ou(Object.assign({curve:lXe},e),t);uYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"hvh"});var xdn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{document:n}=t;return(r,i,o)=>{const{seriesSize:a,color:l}=i,{color:s}=o,u=xdn(o,["color"]),c=wu();for(let f=0;f[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];Cle.style=["fill"];const fYe=Cle.bind(void 0);fYe.style=["stroke","lineWidth"];const mH=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];mH.style=["fill"];const pYe=mH.bind(void 0);pYe.style=["fill"];const hYe=mH.bind(void 0);hYe.style=["stroke","lineWidth"];const Sle=(e,t,n)=>{const r=n*.618;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};Sle.style=["fill"];const gYe=Sle.bind(void 0);gYe.style=["stroke","lineWidth"];const xle=(e,t,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};xle.style=["fill"];const mYe=xle.bind(void 0);mYe.style=["stroke","lineWidth"];const _le=(e,t,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};_le.style=["fill"];const vYe=_le.bind(void 0);vYe.style=["stroke","lineWidth"];const wle=(e,t,n)=>{const r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};wle.style=["fill"];const yYe=wle.bind(void 0);yYe.style=["stroke","lineWidth"];const Ole=(e,t,n)=>{const r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};Ole.style=["fill"];const bYe=Ole.bind(void 0);bYe.style=["stroke","lineWidth"];const CYe=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];CYe.style=["stroke","lineWidth"];const SYe=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];SYe.style=["stroke","lineWidth"];const xYe=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];xYe.style=["stroke","lineWidth"];const _Ye=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];_Ye.style=["stroke","lineWidth"];const wYe=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];wYe.style=["stroke","lineWidth"];const Ele=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];Ele.style=["stroke","lineWidth"];const OYe=Ele.bind(void 0);OYe.style=["stroke","lineWidth"];const EYe=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];EYe.style=["stroke","lineWidth"];const $Ye=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];$Ye.style=["stroke","lineWidth"];const PYe=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];PYe.style=["stroke","lineWidth"];const TYe=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];TYe.style=["stroke","lineWidth"];const MYe=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];MYe.style=["stroke","lineWidth"];const lL=new Map([["bowtie",Ole],["cross",SYe],["dash",OYe],["diamond",Sle],["dot",Ele],["hexagon",wle],["hollowBowtie",bYe],["hollowDiamond",gYe],["hollowHexagon",yYe],["hollowPoint",fYe],["hollowSquare",hYe],["hollowTriangle",mYe],["hollowTriangleDown",vYe],["hv",$Ye],["hvh",TYe],["hyphen",wYe],["line",CYe],["plus",_Ye],["point",Cle],["rect",pYe],["smooth",EYe],["square",mH],["tick",xYe],["triangleDown",_le],["triangle",xle],["vh",PYe],["vhv",MYe]]);function Odn(e,t){var{d:n,fill:r,strokeWidth:i,path:o,stroke:a,lineWidth:l,color:s}=t,u=wdn(t,["d","fill","strokeWidth","path","stroke","lineWidth","color"]);const c=lL.get(e)||lL.get("point");return(...f)=>new is({style:Object.assign(Object.assign({},u),{path:c(...f),stroke:c.style.includes("stroke")?s||a:"",fill:c.style.includes("fill")?s||r:"",lineWidth:c.style.includes("lineWidth")?l||l||2:0})})}var Edn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{colorAttribute:n,symbol:r,mode:i="auto"}=e,o=Edn(e,["colorAttribute","symbol","mode"]),a=lL.get(r)||lL.get("point"),{coordinate:l,document:s}=t;return(u,c,f)=>{const{lineWidth:h,color:d}=f,p=o.stroke?h||1:h,{color:g=d,transform:m,opacity:v}=c,[y,b]=rYe(u),x=$dn(i,u,c,l)||o.r||f.r;return Un(s.createElement("path",{})).call(kn,f).style("fill","transparent").style("d",a(y,b,x)).style("lineWidth",p).style("transform",m).style("stroke",g).style(tYe(e),v).style(n,g).call(kn,o).node()}};Er.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const RYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);RYe.props=Object.assign({defaultMarker:"hollowBowtie"},Er.props);const IYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);IYe.props=Object.assign({defaultMarker:"hollowDiamond"},Er.props);const NYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);NYe.props=Object.assign({defaultMarker:"hollowHexagon"},Er.props);const AYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);AYe.props=Object.assign({defaultMarker:"hollowPoint"},Er.props);const kYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);kYe.props=Object.assign({defaultMarker:"hollowSquare"},Er.props);const jYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);jYe.props=Object.assign({defaultMarker:"hollowTriangle"},Er.props);const DYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);DYe.props=Object.assign({defaultMarker:"hollowTriangleDown"},Er.props);const LYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);LYe.props=Object.assign({defaultMarker:"bowtie"},Er.props);const zYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);zYe.props=Object.assign({defaultMarker:"cross"},Er.props);const BYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);BYe.props=Object.assign({defaultMarker:"diamond"},Er.props);const FYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);FYe.props=Object.assign({defaultMarker:"hexagon"},Er.props);const HYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);HYe.props=Object.assign({defaultMarker:"hyphen"},Er.props);const WYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);WYe.props=Object.assign({defaultMarker:"line"},Er.props);const qYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);qYe.props=Object.assign({defaultMarker:"plus"},Er.props);const VYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);VYe.props=Object.assign({defaultMarker:"point"},Er.props);const UYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);UYe.props=Object.assign({defaultMarker:"square"},Er.props);const GYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);GYe.props=Object.assign({defaultMarker:"tick"},Er.props);const KYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);KYe.props=Object.assign({defaultMarker:"triangle"},Er.props);const XYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);XYe.props=Object.assign({defaultMarker:"triangleDown"},Er.props);var nEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{arrow:n=!0,arrowSize:r="40%"}=e,i=nEe(e,["arrow","arrowSize"]),{document:o}=t;return(a,l,s)=>{const{defaultColor:u}=s,c=nEe(s,["defaultColor"]),{color:f=u,transform:h}=l,[d,p]=a,g=wu();if(g.moveTo(...d),g.lineTo(...p),n){const[m,v]=mdn(d,p,{arrowSize:r});g.moveTo(...p),g.lineTo(...m),g.moveTo(...p),g.lineTo(...v)}return Un(o.createElement("path",{})).call(kn,c).style("d",g.toString()).style("stroke",f).style("transform",h).call(kn,i).node()}};$le.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function YYe(e,t){t(e),e.children&&e.children.forEach(function(n){n&&YYe(n,t)})}function DP(e){vH(e,!0)}function F0(e){vH(e,!1)}function vH(e,t){var n=t?"visible":"hidden";YYe(e,function(r){r.attr("visibility",n)})}var Pdn=function(e){$n(t,e);function t(){for(var n=[],r=0;r=this.left&&t<=this.right&&n>=this.top&&n<=this.bottom},e}();function bu(e,t){return rs(e)?e.apply(void 0,Kt([],Ae(t),!1)):e}var Eu=function(e,t){var n=function(i){return"".concat(t,"-").concat(i)},r=Object.fromEntries(Object.entries(e).map(function(i){var o=Ae(i,2),a=o[0],l=o[1],s=n(l);return[a,{name:s,class:".".concat(s),id:"#".concat(s),toString:function(){return s}}]}));return Object.assign(r,{prefix:n}),r},Mdn=5,JYe=function(e,t,n,r){n===void 0&&(n=0),r===void 0&&(r=Mdn),Object.entries(t).forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1],s=e;Object.prototype.hasOwnProperty.call(t,a)&&(l?Sh(l)?(Sh(e[a])||(s[a]={}),nt&&er&&(r=h),d>i&&(i=d)}return new Yi(t,n,r-t,i-n)}var Ldn=function(e,t,n){var r=e.width,i=e.height,o=n.flexDirection,a=o===void 0?"row":o;n.flexWrap;var l=n.justifyContent,s=l===void 0?"flex-start":l;n.alignContent;var u=n.alignItems,c=u===void 0?"flex-start":u,f=a==="row",h=a==="row"||a==="column",d=f?h?[1,0]:[-1,0]:h?[0,1]:[0,-1],p=Ae([0,0],2),g=p[0],m=p[1],v=t.map(function(O){var $,P=O.width,T=O.height,R=Ae([g,m],2),M=R[0],A=R[1];return $=Ae([g+P*d[0],m+T*d[1]],2),g=$[0],m=$[1],new Yi(M,A,P,T)}),y=rEe(v),b={"flex-start":0,"flex-end":f?r-y.width:i-y.height,center:f?(r-y.width)/2:(i-y.height)/2},C=v.map(function(O){var $=O.x,P=O.y,T=Yi.fromRect(O);return T.x=f?$+b[s]:$,T.y=f?P:P+b[s],T});rEe(C);var x=function(O){var $=Ae(f?["height",i]:["width",r],2),P=$[0],T=$[1];switch(c){case"flex-start":return 0;case"flex-end":return T-O[P];case"center":return T/2-O[P]/2;default:return 0}},S=C.map(function(O){var $=O.x,P=O.y,T=Yi.fromRect(O);return T.x=f?$:$+x(T),T.y=f?P+x(T):P,T}),w=S.map(function(O){var $,P,T=Yi.fromRect(O);return T.x+=($=e.x)!==null&&$!==void 0?$:0,T.y+=(P=e.y)!==null&&P!==void 0?P:0,T});return w},zdn=function(e,t,n){return[]};const Bdn=function(e,t,n){if(t.length===0)return[];var r={flex:Ldn,grid:zdn},i=n.display in r?r[n.display]:null;return(i==null?void 0:i.call(null,e,t,n))||[]};function Hp(e,t){return[e[0]*t,e[1]*t]}function c9(e,t){return[e[0]+t[0],e[1]+t[1]]}function kK(e,t){return[e[0]-t[0],e[1]-t[1]]}function Vm(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1])]}function Um(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1])]}function L7(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function iZe(e){if(e[0]===0&&e[1]===0)return[0,0];var t=Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2));return[e[0]/t,e[1]/t]}function Fdn(e,t){return t?[e[1],-e[0]]:[-e[1],e[0]]}function ZJ(e,t){return+e.toPrecision(t)}function iEe(e,t){var n={},r=Array.isArray(t)?t:[t];for(var i in e)r.includes(i)||(n[i]=e[i]);return n}function Hdn(e,t,n,r){var i,o=[],a=!!r,l,s,u=[1/0,1/0],c=[-1/0,-1/0],f,h,d;if(a){i=Ae(r,2),u=i[0],c=i[1];for(var p=0,g=e.length;p="A"&&n<="Z"};function Cr(e,t,n){n===void 0&&(n=!1);var r={};return Object.entries(e).forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1];if(!(a==="className"||a==="class")){if(gA(a,"show")&&gA(lEe(a,"show"),t)!==n)a===efn(t,"show")?r[a]=l:r[a.replace(new RegExp(Rle(t)),"")]=l;else if(!gA(a,"show")&&gA(a,t)!==n){var s=lEe(a,t);s==="filter"&&typeof l=="function"||(r[s]=l)}}}),r}function df(e,t){return Object.entries(e).reduce(function(n,r){var i=Ae(r,2),o=i[0],a=i[1];return o.startsWith("show")?n["show".concat(t).concat(o.slice(4))]=a:n["".concat(t).concat(Rle(o))]=a,n},{})}function wh(e,t){t===void 0&&(t=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],r={},i={};return Object.entries(e).forEach(function(o){var a=Ae(o,2),l=a[0],s=a[1];t.includes(l)||(n.indexOf(l)!==-1?i[l]=s:r[l]=s)}),[r,i]}function nfn(e,t,n){var r=e.getBBox(),i=r.width,o=r.height,a=Ae([t,n].map(function(u,c){var f;return u.includes("%")?parseFloat(((f=u.match(/[+-]?([0-9]*[.])?[0-9]+/))===null||f===void 0?void 0:f[0])||"0")/100*(c===0?i:o):u}),2),l=a[0],s=a[1];return[l,s]}function cL(e,t){if(t)try{var n=/translate\(([+-]*[\d]+[%]*),[ ]*([+-]*[\d]+[%]*)\)/g,r=t.replace(n,function(i,o,a){return"translate(".concat(nfn(e,o,a),")")});e.attr("transform",r)}catch{}}function rfn(e){var t;return((t=e[0])===null||t===void 0?void 0:t.map(function(n,r){return e.map(function(i){return i[r]})}))||[]}function ifn(){vH(this,this.attributes.visibility!=="hidden")}var Wa=function(e){$n(t,e);function t(n,r){r===void 0&&(r={});var i=e.call(this,_h({},{style:r},n))||this;return i.initialized=!1,i._defaultOptions=r,i}return Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=ZYe(this)),this._offscreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultOptions",{get:function(){return this._defaultOptions},enumerable:!1,configurable:!0}),t.prototype.connectedCallback=function(){this.render(this.attributes,this),this.bindEvents(this.attributes,this),this.initialized=!0},t.prototype.disconnectedCallback=function(){var n;(n=this._offscreen)===null||n===void 0||n.destroy()},t.prototype.attributeChangedCallback=function(n){n==="visibility"&&ifn.call(this)},t.prototype.update=function(n,r){var i;return this.attr(_h({},this.attributes,n||{})),(i=this.render)===null||i===void 0?void 0:i.call(this,this.attributes,this,r)},t.prototype.clear=function(){this.removeChildren()},t.prototype.bindEvents=function(n,r){},t}(dH),oZe=function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]]},ofn=oZe,afn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},lfn=function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},sfn=function(e,t,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},cfn=function(e,t,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]},ufn=function(e,t,n){var r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]},dfn=function(e,t,n){var r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]},aZe=function(e,t,n){return[["M",e,t+n],["L",e,t-n]]},ffn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]]},pfn=function(e,t,n){return[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]]},hfn=function(e,t,n){return[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]]},gfn=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},lZe=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},mfn=lZe,vfn=function(e,t,n){return[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]]},yfn=function(e,t,n){return[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]]},bfn=function(e,t,n){return[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]]},Cfn=function(e,t,n){return[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]]};function Sfn(e,t){return[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]]}var xfn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t],["L",e-n,t+n],["Z"]]};function _fn(e){var t="default";if(Vv(e)&&e instanceof Image)t="image";else if(rs(e))t="symbol";else if(eo(e)){var n=new RegExp("data:(image|text)");e.match(n)?t="base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(e)?t="url":t="symbol"}return t}function wfn(e){var t=_fn(e);return["base64","url","image"].includes(t)?"image":e&&t==="symbol"?"path":null}var Si=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r){var i=n.symbol,o=n.size,a=o===void 0?16:o,l=Ci(n,["symbol","size"]),s=wfn(i);Is(!!s,or(r),function(u){u.maybeAppendByClassName("marker",s).attr("className","marker ".concat(s,"-marker")).call(function(c){if(s==="image"){var f=a*2;c.styles({img:i,width:f,height:f,x:-a,y:-a})}else{var f=a/2,h=rs(i)?i:t.getSymbol(i);c.styles(Mt({path:h==null?void 0:h(0,0,f)},l))}})})},t.MARKER_SYMBOL_MAP=new Map,t.registerSymbol=function(n,r){t.MARKER_SYMBOL_MAP.set(n,r)},t.getSymbol=function(n){return t.MARKER_SYMBOL_MAP.get(n)},t.getSymbols=function(){return Array.from(t.MARKER_SYMBOL_MAP.keys())},t}(Wa);Si.registerSymbol("cross",ffn);Si.registerSymbol("hyphen",gfn);Si.registerSymbol("line",aZe);Si.registerSymbol("plus",hfn);Si.registerSymbol("tick",pfn);Si.registerSymbol("circle",oZe);Si.registerSymbol("point",ofn);Si.registerSymbol("bowtie",dfn);Si.registerSymbol("hexagon",ufn);Si.registerSymbol("square",afn);Si.registerSymbol("diamond",lfn);Si.registerSymbol("triangle",sfn);Si.registerSymbol("triangle-down",cfn);Si.registerSymbol("line",aZe);Si.registerSymbol("dot",lZe);Si.registerSymbol("dash",mfn);Si.registerSymbol("smooth",vfn);Si.registerSymbol("hv",yfn);Si.registerSymbol("vh",bfn);Si.registerSymbol("hvh",Cfn);Si.registerSymbol("vhv",Sfn);var Ofn=function(e){$n(t,e);function t(n){var r=this,i=n.style,o=Ci(n,["style"]);return r=e.call(this,Dt({},{type:"column"},Mt({style:i},o)))||this,r.columnsGroup=new Ha({name:"columns"}),r.appendChild(r.columnsGroup),r.render(),r}return t.prototype.render=function(){var n=this.attributes.columns;or(this.columnsGroup).selectAll(".column").data(n.flat()).join(function(r){return r.append("rect").attr("className","column").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},t.prototype.update=function(n){this.attr(_h({},this.attributes,n)),this.render()},t.prototype.clear=function(){this.removeChildren()},t}(Al),Efn=function(e){$n(t,e);function t(n){var r=this,i=n.style,o=Ci(n,["style"]);return r=e.call(this,Dt({},{type:"lines"},Mt({style:i},o)))||this,r.linesGroup=r.appendChild(new Ha),r.areasGroup=r.appendChild(new Ha),r.render(),r}return t.prototype.render=function(){var n=this.attributes,r=n.lines,i=n.areas;r&&this.renderLines(r),i&&this.renderAreas(i)},t.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},t.prototype.update=function(n){this.attr(_h({},this.attributes,n)),this.render()},t.prototype.renderLines=function(n){or(this.linesGroup).selectAll(".line").data(n).join(function(r){return r.append("path").attr("className","line").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},t.prototype.renderAreas=function(n){or(this.linesGroup).selectAll(".area").data(n).join(function(r){return r.append("path").attr("className","area").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.style(i)})},function(r){return r.remove()})},t}(Al);function $fn(e,t){var n,r=t.x,i=t.y,o=Ae(i.getOptions().range||[0,0],2),a=o[0],l=o[1];return l>a&&(n=Ae([a,l],2),l=n[0],a=n[1]),e.map(function(s){var u=s.map(function(c,f){return[r.map(f),mo(i.map(c),l,a)]});return u})}function z7(e,t){t===void 0&&(t=!1);var n=t?e.length-1:0,r=e.map(function(i,o){return Kt([o===n?"M":"L"],Ae(i),!1)});return t?r.reverse():r}function uL(e,t){if(t===void 0&&(t=!1),e.length<=2)return z7(e);for(var n=[],r=e.length,i=0;i=0;i-=1){var o=e[i],a=z7(o),l=void 0;if(i===0)l=Ile(a,t,n);else{var s=e[i-1],u=z7(s,!0);u[0][0]="L",l=Kt(Kt(Kt([],Ae(a),!1),Ae(u),!1),[["Z"]],!1)}r.push(l)}return r}function Mfn(e,t,n){for(var r=[],i=e.length-1;i>=0;i-=1){var o=e[i],a=uL(o),l=void 0;if(i===0)l=Ile(a,t,n);else{var s=e[i-1],u=uL(s,!0),c=o[0];u[0][0]="L",l=Kt(Kt(Kt([],Ae(a),!1),Ae(u),!1),[Kt(["M"],Ae(c),!1),["Z"]],!1)}r.push(l)}return r}function sEe(e){return e.length===0?[0,0]:[DD(snn(e,function(t){return DD(t)||0})),jD(lnn(e,function(t){return jD(t)||0}))]}function cEe(e){for(var t=S7(e),n=t[0].length,r=Ae([Array(n).fill(0),Array(n).fill(0)],2),i=r[0],o=r[1],a=0;a=0?(l[s]+=i[s],i[s]=l[s]):(l[s]+=o[s],o[s]=l[s]);return t}var Rfn=function(e){$n(t,e);function t(n){return e.call(this,n,{type:"line",width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return Object.defineProperty(t.prototype,"rawData",{get:function(){var n=this.attributes.data;if(!n||(n==null?void 0:n.length)===0)return[[]];var r=S7(n);return Ro(r[0])?[r]:r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.attributes.isStack?cEe(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseline",{get:function(){var n=this.scales.y,r=Ae(n.getOptions().domain||[0,0],2),i=r[0],o=r[1];return o<0?n.map(o):n.map(i<0?0:i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerShape",{get:function(){var n=this.attributes,r=n.width,i=n.height;return{width:r,height:i}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linesStyle",{get:function(){var n=this,r=this.attributes,i=r.type,o=r.isStack,a=r.smooth;if(i!=="line")throw new Error("linesStyle can only be used in line type");var l=Cr(this.attributes,"area"),s=Cr(this.attributes,"line"),u=this.containerShape.width,c=this.data;if(c[0].length===0)return{lines:[],areas:[]};var f=this.scales,h=f.x,d=f.y,p=$fn(c,{type:"line",x:h,y:d}),g=[];if(l){var m=this.baseline;o?g=a?Mfn(p,u,m):Tfn(p,u,m):g=Pfn(p,a,u,m)}return{lines:p.map(function(v,y){return Mt({stroke:n.getColor(y),path:a?uL(v):z7(v)},s)}),areas:g.map(function(v,y){return Mt({path:v,fill:n.getColor(y)},l)})}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsStyle",{get:function(){var n=this,r=Cr(this.attributes,"column"),i=this.attributes,o=i.isStack,a=i.type,l=i.scale;if(a!=="column")throw new Error("columnsStyle can only be used in column type");var s=this.containerShape.height,u=this.rawData;if(!u)return{columns:[]};o&&(u=cEe(u));var c=this.createScales(u),f=c.x,h=c.y,d=Ae(sEe(u),2),p=d[0],g=d[1],m=new Ri({domain:[0,g-(p>0?0:p)],range:[0,s*l]}),v=f.getBandWidth(),y=this.rawData;return{columns:u.map(function(b,C){return b.map(function(x,S){var w=v/u.length,O=function(){return{x:f.map(S)+w*C,y:x>=0?h.map(x):h.map(0),width:w,height:m.map(Math.abs(x))}},$=function(){return{x:f.map(S),y:h.map(x),width:v,height:m.map(y[C][S])}};return Mt(Mt({fill:n.getColor(C)},r),o?$():O())})})}},enumerable:!1,configurable:!0}),t.prototype.render=function(n,r){Ydn(r,".container","rect").attr("className","container").node();var i=n.type,o="spark".concat(i),a=i==="line"?this.linesStyle:this.columnsStyle;or(r).selectAll(".spark").data([i]).join(function(l){return l.append(function(s){return s==="line"?new Efn({className:o,style:a}):new Ofn({className:o,style:a})}).attr("className","spark ".concat(o))},function(l){return l.update(a)},function(l){return l.remove()})},t.prototype.getColor=function(n){var r=this.attributes.color;return sa(r)?r[n%r.length]:rs(r)?r.call(null,n):r},t.prototype.createScales=function(n){var r,i,o=this.attributes,a=o.type,l=o.scale,s=o.range,u=s===void 0?[]:s,c=o.spacing,f=this.containerShape,h=f.width,d=f.height,p=Ae(sEe(n),2),g=p[0],m=p[1],v=new Ri({domain:[(r=u[0])!==null&&r!==void 0?r:g,(i=u[1])!==null&&i!==void 0?i:m],range:[d,d*(1-l)]});return a==="line"?{type:a,x:new Ri({domain:[0,n[0].length-1],range:[0,h]}),y:v}:{type:a,x:new k4({domain:n[0].map(function(y,b){return b}),range:[0,h],paddingInner:c,paddingOuter:c/2,align:.5}),y:v}},t.tag="sparkline",t}(Wa);function Ifn(e){return typeof e=="boolean"?!1:"enter"in e&&"update"in e&&"exit"in e}function uEe(e){if(!e)return{enter:!1,update:!1,exit:!1};var t=["enter","update","exit"],n=Object.fromEntries(Object.entries(e).filter(function(r){var i=Ae(r,1),o=i[0];return!t.includes(o)}));return Object.fromEntries(t.map(function(r){return Ifn(e)?e[r]===!1?[r,!1]:[r,Mt(Mt({},e[r]),n)]:[r,n]}))}function HC(e,t){e?e.finished.then(t):t()}function Nfn(e,t){e.length===0?t():Promise.all(e.map(function(n){return n==null?void 0:n.finished})).then(t)}function sZe(e,t){"update"in e?e.update(t):e.attr(t)}function cZe(e,t,n){if(t.length===0)return null;if(!n){var r=t.slice(-1)[0];return sZe(e,{style:r}),null}return e.animate(t,n)}function Afn(e,t){return!(e.nodeName!=="text"||t.nodeName!=="text"||e.attributes.text!==t.attributes.text)}function kfn(e,t,n,r){if(r===void 0&&(r="destroy"),Afn(e,t))return e.remove(),[null];var i=function(){r==="destroy"?e.destroy():r==="hide"&&F0(e),t.isVisible()&&DP(t)};if(!n)return i(),[null];var o=n.duration,a=o===void 0?0:o,l=n.delay,s=l===void 0?0:l,u=Math.ceil(+a/2),c=+a/4,f=function(T){if(T.nodeName==="circle"){var R=Ae(T.getLocalPosition(),2),M=R[0],A=R[1],N=T.attr("r");return[M-N,A-N]}return T.getLocalPosition()},h=Ae(f(e),2),d=h[0],p=h[1],g=Ae(f(t),2),m=g[0],v=g[1],y=Ae([(d+m)/2-d,(p+v)/2-p],2),b=y[0],C=y[1],x=e.style.opacity,S=x===void 0?1:x,w=t.style.opacity,O=w===void 0?1:w,$=e.animate([{opacity:S,transform:"translate(0, 0)"},{opacity:0,transform:"translate(".concat(b,", ").concat(C,")")}],Mt(Mt({fill:"both"},n),{duration:s+u+c})),P=t.animate([{opacity:0,transform:"translate(".concat(-b,", ").concat(-C,")"),offset:.01},{opacity:O,transform:"translate(0, 0)"}],Mt(Mt({fill:"both"},n),{duration:u+c,delay:s+u-c}));return HC(P,i),[$,P]}function Sd(e,t,n){var r={},i={};return Object.entries(t).forEach(function(o){var a=Ae(o,2),l=a[0],s=a[1];if(!Cn(s)){var u=e.style[l]||e.parsedStyle[l]||0;u!==s&&(r[l]=u,i[l]=s)}}),n?cZe(e,[r,i],Mt({fill:"both"},n)):(sZe(e,i),null)}function yH(e,t){return e.style.opacity||(e.style.opacity=1),Sd(e,{opacity:0},t)}var uZe={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},dZe={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},fZe={orientation:"horizontal",showLabel:!0,type:"start"},Qd=Eu({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider"),D1=Eu({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),jfn=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r){var i=n.size,o=i===void 0?10:i,a=n.radius,l=a===void 0?o/4:a,s=n.orientation,u=Ci(n,["size","radius","orientation"]),c=o,f=c*2.4,h=or(r).maybeAppendByClassName(D1.iconRect,"rect").styles(Mt(Mt({},u),{width:c,height:f,radius:l,x:-c/2,y:-f/2})),d=1/3*c,p=2/3*c,g=1/4*f,m=3/4*f;h.maybeAppendByClassName("".concat(D1.iconLine,"-1"),"line").styles(Mt({x1:d,x2:d,y1:g,y2:m},u)),h.maybeAppendByClassName("".concat(D1.iconLine,"-2"),"line").styles(Mt({x1:p,x2:p,y1:g,y2:m},u)),h.node().setOrigin(c/2,f/2),s==="vertical"?r.setLocalEulerAngles(90):r.setLocalEulerAngles(0)},t}(Wa),pZe=function(e){$n(t,e);function t(n){return e.call(this,n,fZe)||this}return t.prototype.renderLabel=function(n){var r=this,i=this.attributes.showLabel,o=Cr(this.attributes,"label"),a=o.transform,l=Ci(o,["transform"]),s=Ae(wh(l,[]),2),u=s[0],c=s[1],f=or(n).maybeAppendByClassName(D1.labelGroup,"g").styles(c),h=Mt(Mt({},dZe),u),d=h.text,p=Ci(h,["text"]);Is(!!i,f,function(g){r.label=g.maybeAppendByClassName(D1.label,"text").styles(Mt(Mt({},p),{transform:a,text:"".concat(d)})),r.label.on("mousedown",function(m){m.stopPropagation()}),r.label.on("touchstart",function(m){m.stopPropagation()})})},t.prototype.renderIcon=function(n){var r=this.attributes,i=r.orientation,o=r.type,a=Mt(Mt({orientation:i},uZe),Cr(this.attributes,"icon")),l=this.attributes.iconShape,s=l===void 0?function(){return new jfn({style:a})}:l,u=or(n).maybeAppendByClassName(D1.iconGroup,"g");u.selectAll(D1.icon.class).data([s]).join(function(c){return c.append(typeof s=="string"?s:function(){return s(o)}).attr("className",D1.icon.name)},function(c){return c.update(a)},function(c){return c.remove()})},t.prototype.render=function(n,r){this.renderIcon(r),this.renderLabel(r)},t}(Wa),hZe=function(e){$n(t,e);function t(n){var r=e.call(this,n,Mt(Mt(Mt({animate:{duration:100,fill:"both"},brushable:!0,formatter:function(i){return i.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},df(fZe,"handle")),df(uZe,"handleIcon")),df(dZe,"handleLabel")))||this;return r.range=[0,1],r.onDragStart=function(i){return function(o){o.stopPropagation(),r.target=i,r.prevPos=r.getOrientVal(sL(o));var a=r.availableSpace,l=a.x,s=a.y,u=r.getBBox(),c=u.x,f=u.y;r.selectionStartPos=r.getRatio(r.prevPos-r.getOrientVal([l,s])-r.getOrientVal([+c,+f])),r.selectionWidth=0,document.addEventListener("pointermove",r.onDragging),document.addEventListener("pointerup",r.onDragEnd)}},r.onDragging=function(i){var o=r.attributes,a=o.slidable,l=o.brushable,s=o.type;i.stopPropagation();var u=r.getOrientVal(sL(i)),c=u-r.prevPos;if(c){var f=r.getRatio(c);switch(r.target){case"start":a&&r.setValuesOffset(f);break;case"end":a&&r.setValuesOffset(0,f);break;case"selection":a&&r.setValuesOffset(f,f);break;case"track":if(!l)return;r.selectionWidth+=f,s==="range"?r.innerSetValues([r.selectionStartPos,r.selectionStartPos+r.selectionWidth].sort(),!0):r.innerSetValues([0,r.selectionStartPos+r.selectionWidth],!0);break}r.prevPos=u}},r.onDragEnd=function(){document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointerup",r.onDragEnd),r.target="",r.updateHandlesPosition(!1)},r.onValueChange=function(i){var o=r.attributes,a=o.onChange,l=o.type,s=l==="range"?i:i[1],u=l==="range"?r.getValues():r.getValues()[1],c=new vi("valuechange",{detail:{oldValue:s,value:u}});r.dispatchEvent(c),a==null||a(u)},r.selectionStartPos=0,r.selectionWidth=0,r.prevPos=0,r.target="",r}return Object.defineProperty(t.prototype,"values",{get:function(){return this.attributes.values},set:function(n){this.attributes.values=this.clampValues(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sparklineStyle",{get:function(){var n=this.attributes.orientation;if(n!=="horizontal")return null;var r=Cr(this.attributes,"sparkline");return Mt(Mt({zIndex:0},this.availableSpace),r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var n=this.attributes,r=n.trackLength,i=n.trackSize,o=Ae(this.getOrientVal([[r,i],[i,r]]),2),a=o[0],l=o[1];return{width:a,height:l}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes.padding,r=Ae(tl(n),4),i=r[0],o=r[1],a=r[2],l=r[3],s=this.shape,u=s.width,c=s.height;return{x:l,y:i,width:u-(l+o),height:c-(i+a)}},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.values},t.prototype.setValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1),this.attributes.values=n;var i=r===!1?!1:this.attributes.animate;this.updateSelectionArea(i),this.updateHandlesPosition(i)},t.prototype.updateSelectionArea=function(n){var r=this.calcSelectionArea();this.foregroundGroup.selectAll(Qd.selection.class).each(function(i,o){Sd(this,r[o],n)})},t.prototype.updateHandlesPosition=function(n){this.attributes.showHandle&&(this.startHandle&&Sd(this.startHandle,this.getHandleStyle("start"),n),this.endHandle&&Sd(this.endHandle,this.getHandleStyle("end"),n))},t.prototype.innerSetValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1);var i=this.values,o=this.clampValues(n);this.attributes.values=o,this.setValues(o),r&&this.onValueChange(i)},t.prototype.renderTrack=function(n){var r=Cr(this.attributes,"track");this.trackShape=or(n).maybeAppendByClassName(Qd.track,"rect").styles(Mt(Mt({},this.shape),r))},t.prototype.renderBrushArea=function(n){var r=this.attributes.brushable;this.brushArea=or(n).maybeAppendByClassName(Qd.brushArea,"rect").styles(Mt({fill:"transparent",cursor:r?"crosshair":"default"},this.shape))},t.prototype.renderSparkline=function(n){var r=this,i=this.attributes.orientation,o=or(n).maybeAppendByClassName(Qd.sparklineGroup,"g");Is(i==="horizontal",o,function(a){var l=r.sparklineStyle;a.maybeAppendByClassName(Qd.sparkline,function(){return new Rfn({style:l})}).update(l)})},t.prototype.renderHandles=function(){var n=this,r,i=this.attributes,o=i.showHandle,a=i.type,l=a==="range"?["start","end"]:["end"],s=o?l:[],u=this;(r=this.foregroundGroup)===null||r===void 0||r.selectAll(Qd.handle.class).data(s.map(function(c){return{type:c}}),function(c){return c.type}).join(function(c){return c.append(function(f){var h=f.type;return new pZe({style:n.getHandleStyle(h)})}).each(function(f){var h=f.type;this.attr("class","".concat(Qd.handle.name," ").concat(h,"-handle"));var d="".concat(h,"Handle");u[d]=this,this.addEventListener("pointerdown",u.onDragStart(h))})},function(c){return c.each(function(f){var h=f.type;this.update(u.getHandleStyle(h))})},function(c){return c.each(function(f){var h=f.type,d="".concat(h,"Handle");u[d]=void 0}).remove()})},t.prototype.renderSelection=function(n){var r=this.attributes,i=r.type,o=r.selectionType;this.foregroundGroup=or(n).maybeAppendByClassName(Qd.foreground,"g");var a=Cr(this.attributes,"selection"),l=function(u){return u.style("visibility",function(c){return c.show?"visible":"hidden"}).style("cursor",function(c){return o==="select"?"grab":o==="invert"?"crosshair":"default"}).styles(a)},s=this;this.foregroundGroup.selectAll(Qd.selection.class).data(i==="value"?[]:this.calcSelectionArea().map(function(u,c){return{style:Mt({},u),index:c,show:o==="select"?c===1:c!==1}}),function(u){return u.index}).join(function(u){return u.append("rect").attr("className",Qd.selection.name).call(l).each(function(c,f){var h=this;f===1?(s.selectionShape=or(this),this.on("pointerdown",function(d){h.attr("cursor","grabbing"),s.onDragStart("selection")(d)}),s.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),s.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),s.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){h.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){h.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){h.attr("cursor","pointer")})):this.on("pointerdown",s.onDragStart("track"))})},function(u){return u.call(l)},function(u){return u.remove()}),this.updateSelectionArea(!1),this.renderHandles()},t.prototype.render=function(n,r){this.renderTrack(r),this.renderSparkline(r),this.renderBrushArea(r),this.renderSelection(r)},t.prototype.clampValues=function(n,r){var i;r===void 0&&(r=4);var o=Ae(this.range,2),a=o[0],l=o[1],s=Ae(this.getValues().map(function(m){return ZJ(m,r)}),2),u=s[0],c=s[1],f=Array.isArray(n)?n:[u,n??c],h=Ae((f||[u,c]).map(function(m){return ZJ(m,r)}),2),d=h[0],p=h[1];if(this.attributes.type==="value")return[0,mo(p,a,l)];d>p&&(i=Ae([p,d],2),d=i[0],p=i[1]);var g=p-d;return g>l-a?[a,l]:dl?c===l&&u===d?[d,l]:[l-g,l]:[d,p]},t.prototype.calcSelectionArea=function(n){var r=Ae(this.clampValues(n),2),i=r[0],o=r[1],a=this.availableSpace,l=a.x,s=a.y,u=a.width,c=a.height;return this.getOrientVal([[{y:s,height:c,x:l,width:i*u},{y:s,height:c,x:i*u+l,width:(o-i)*u},{y:s,height:c,x:o*u,width:(1-o)*u}],[{x:l,width:u,y:s,height:i*c},{x:l,width:u,y:i*c+s,height:(o-i)*c},{x:l,width:u,y:o*c,height:(1-o)*c}]])},t.prototype.calcHandlePosition=function(n){var r=this.attributes.handleIconOffset,i=this.availableSpace,o=i.x,a=i.y,l=i.width,s=i.height,u=Ae(this.clampValues(),2),c=u[0],f=u[1],h=n==="start"?-r:r,d=(n==="start"?c:f)*this.getOrientVal([l,s])+h;return{x:o+this.getOrientVal([d,l/2]),y:a+this.getOrientVal([s/2,d])}},t.prototype.inferTextStyle=function(n){var r=this.attributes.orientation;return r==="horizontal"?{}:n==="start"?{transform:"rotate(90)",textAlign:"start"}:n==="end"?{transform:"rotate(90)",textAlign:"end"}:{}},t.prototype.calcHandleText=function(n){var r,i=this.attributes,o=i.type,a=i.orientation,l=i.formatter,s=i.autoFitLabel,u=Cr(this.attributes,"handle"),c=Cr(u,"label"),f=u.spacing,h=this.getHandleSize(),d=this.clampValues(),p=n==="start"?d[0]:d[1],g=l(p),m=new Ple({style:Mt(Mt(Mt({},c),this.inferTextStyle(n)),{text:g})}),v=m.getBBox(),y=v.width,b=v.height;if(m.destroy(),!s){if(o==="value")return{text:g,x:0,y:-b-f};var C=f+h+(a==="horizontal"?y/2:0);return r={text:g},r[a==="horizontal"?"x":"y"]=n==="start"?-C:C,r}var x=0,S=0,w=this.availableSpace,O=w.width,$=w.height,P=this.calcSelectionArea()[1],T=P.x,R=P.y,M=P.width,A=P.height,N=f+h;if(a==="horizontal"){var k=N+y/2;if(n==="start"){var D=T-N-y;x=D>0?-k:k}else{var L=O-T-M-N>y;x=L?k:-k}}else{var B=N,j=b+N;n==="start"?S=R-h>b?-j:B:S=$-(R+A)-h>b?j:-B}return{x,y:S,text:g}},t.prototype.getHandleLabelStyle=function(n){var r=Cr(this.attributes,"handleLabel");return Mt(Mt(Mt({},r),this.calcHandleText(n)),this.inferTextStyle(n))},t.prototype.getHandleIconStyle=function(){var n=this.attributes.handleIconShape,r=Cr(this.attributes,"handleIcon"),i=this.getOrientVal(["ew-resize","ns-resize"]),o=this.getHandleSize();return Mt({cursor:i,shape:n,size:o},r)},t.prototype.getHandleStyle=function(n){var r=this.attributes,i=r.showLabel,o=r.showLabelOnInteraction,a=r.orientation,l=this.calcHandlePosition(n),s=this.calcHandleText(n),u=i;return!i&&o&&(this.target?u=!0:u=!1),Mt(Mt(Mt(Mt({},df(this.getHandleIconStyle(),"icon")),df(Mt(Mt({},this.getHandleLabelStyle(n)),s),"label")),l),{orientation:a,showLabel:u,type:n,zIndex:3})},t.prototype.getHandleSize=function(){var n=this.attributes,r=n.handleIconSize,i=n.width,o=n.height;return r||Math.floor((this.getOrientVal([+o,+i])+4)/2.4)},t.prototype.getOrientVal=function(n){var r=Ae(n,2),i=r[0],o=r[1],a=this.attributes.orientation;return a==="horizontal"?i:o},t.prototype.setValuesOffset=function(n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var o=this.attributes.type,a=Ae(this.getValues(),2),l=a[0],s=a[1],u=o==="range"?n:0,c=[l+u,s+r].sort();i?this.setValues(c):this.innerSetValues(c,!0)},t.prototype.getRatio=function(n){var r=this.availableSpace,i=r.width,o=r.height;return n/this.getOrientVal([i,o])},t.prototype.dispatchCustomEvent=function(n,r,i){var o=this;n.on(r,function(a){a.stopPropagation(),o.dispatchEvent(new vi(i,{detail:a}))})},t.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var n=this.brushArea;this.dispatchCustomEvent(n,"click","trackClick"),this.dispatchCustomEvent(n,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(n,"pointerleave","trackMouseleave"),n.on("pointerdown",this.onDragStart("track"))},t.prototype.onScroll=function(n){var r=this.attributes.scrollable;if(r){var i=n.deltaX,o=n.deltaY,a=o||i,l=this.getRatio(a);this.setValuesOffset(l,l,!0)}},t.tag="slider",t}(Wa),Dfn=function(e){$n(t,e);function t(n){var r=e.call(this,n,{isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return r.range=[0,1],r.onValueChange=function(i){var o=r.attributes.value;if(i!==o){var a={detail:{oldValue:i,value:o}};r.dispatchEvent(new vi("scroll",a)),r.dispatchEvent(new vi("valuechange",a))}},r.onTrackClick=function(i){var o=r.attributes.slidable;if(o){var a=Ae(r.getLocalPosition(),2),l=a[0],s=a[1],u=Ae(r.padding,4),c=u[0],f=u[3],h=r.getOrientVal([l+f,s+c]),d=r.getOrientVal(sL(i)),p=(d-h)/r.trackLength;r.setValue(p,!0)}},r.onThumbMouseenter=function(i){r.dispatchEvent(new vi("thumbMouseenter",{detail:i.detail}))},r.onTrackMouseenter=function(i){r.dispatchEvent(new vi("trackMouseenter",{detail:i.detail}))},r.onThumbMouseleave=function(i){r.dispatchEvent(new vi("thumbMouseleave",{detail:i.detail}))},r.onTrackMouseleave=function(i){r.dispatchEvent(new vi("trackMouseleave",{detail:i.detail}))},r}return Object.defineProperty(t.prototype,"padding",{get:function(){var n=this.attributes.padding;return tl(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var n=this.attributes.value,r=Ae(this.range,2),i=r[0],o=r[1];return mo(n,i,o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackLength",{get:function(){var n=this.attributes,r=n.viewportLength,i=n.trackLength,o=i===void 0?r:i;return o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes.trackSize,r=this.trackLength,i=Ae(this.padding,4),o=i[0],a=i[1],l=i[2],s=i[3],u=Ae(this.getOrientVal([[r,n],[n,r]]),2),c=u[0],f=u[1];return{x:s,y:o,width:+c-(s+a),height:+f-(o+l)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.trackSize;return r?i/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumbRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.thumbRadius;if(!r)return 0;var o=this.availableSpace,a=o.width,l=o.height;return i||this.getOrientVal([l,a])/2},enumerable:!1,configurable:!0}),t.prototype.getValues=function(n){n===void 0&&(n=this.value);var r=this.attributes,i=r.viewportLength,o=r.contentLength,a=i/o,l=Ae(this.range,2),s=l[0],u=l[1],c=n*(u-s-a);return[c,c+a]},t.prototype.getValue=function(){return this.value},t.prototype.renderSlider=function(n){var r=this.attributes,i=r.orientation,o=r.trackSize,a=r.padding,l=r.slidable,s=Cr(this.attributes,"track"),u=Cr(this.attributes,"thumb"),c=Mt(Mt({brushable:!1,orientation:i,padding:a,selectionRadius:this.thumbRadius,showHandle:!1,slidable:l,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:o,values:this.getValues()},df(s,"track")),df(u,"selection"));this.slider=or(n).maybeAppendByClassName("scrollbar",function(){return new hZe({style:c})}).update(c).node()},t.prototype.render=function(n,r){this.renderSlider(r)},t.prototype.setValue=function(n,r){r===void 0&&(r=!1);var i=this.attributes.value,o=Ae(this.range,2),a=o[0],l=o[1];this.slider.setValues(this.getValues(mo(n,a,l)),r),this.onValueChange(i)},t.prototype.bindEvents=function(){var n=this;this.slider.addEventListener("trackClick",function(r){r.stopPropagation(),n.onTrackClick(r.detail)}),this.onHover()},t.prototype.getOrientVal=function(n){var r=this.attributes.orientation;return r==="horizontal"?n[0]:n[1]},t.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},t.tag="scrollbar",t}(Wa),Nle={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new is({style:{path:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],anchor:"0.5 0.5",fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};Dt({},Nle,{style:{type:"arc"}});Dt({},Nle,{style:{}});var ui=Eu({mainGroup:"main-group",gridGroup:"grid-group",grid:"grid",lineGroup:"line-group",line:"line",tickGroup:"tick-group",tick:"tick",tickItem:"tick-item",labelGroup:"label-group",label:"label",labelItem:"label-item",titleGroup:"title-group",title:"title",lineFirst:"line-first",lineSecond:"line-second"},"axis"),H4=Eu({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function gZe(e){return e.reduce(function(t,n,r){return t.push(Kt([r===0?"M":"L"],Ae(n),!1)),t},[])}function Lfn(e,t,n){var r=t.connect,i=r===void 0?"line":r,o=t.center;if(i==="line")return gZe(e);if(!o)return[];var a=L7(e[0],o),l=n?0:1;return e.reduce(function(s,u,c){return c===0?s.push(Kt(["M"],Ae(u),!1)):s.push(Kt(["A",a,a,0,0,l],Ae(u),!1)),s},[])}function QJ(e,t,n){return t.type==="surround"?Lfn(e,t,n):gZe(e)}function zfn(e,t,n){var r=n.type,i=n.connect,o=n.center,a=n.closed,l=a?[["Z"]]:[],s=Ae([QJ(e,n),QJ(t.slice().reverse(),n,!0)],2),u=s[0],c=s[1],f=Ae([e[0],t.slice(-1)[0]],2),h=f[0],d=f[1],p=function(y,b){return[u,y,c,b,l].flat()};if(i==="line"||r==="surround")return p([Kt(["L"],Ae(d),!1)],[Kt(["L"],Ae(h),!1)]);if(!o)throw new Error("Arc grid need to specified center");var g=Ae([L7(d,o),L7(h,o)],2),m=g[0],v=g[1];return p([Kt(["A",m,m,0,0,1],Ae(d),!1),Kt(["L"],Ae(d),!1)],[Kt(["A",v,v,0,0,0],Ae(h),!1),Kt(["L"],Ae(h),!1)])}function Bfn(e,t,n,r){var i=n.animate,o=n.isBillboard,a=t.map(function(l,s){return{id:l.id||"grid-line-".concat(s),path:QJ(l.points,n)}});return e.selectAll(H4.line.class).data(a,function(l){return l.id}).join(function(l){return l.append("path").each(function(s,u){var c=bu(oEe(Mt({path:s.path},r)),[s,u,a]);this.attr(Mt({class:H4.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:o},c))})},function(l){return l.transition(function(s,u){var c=bu(oEe(Mt({path:s.path},r)),[s,u,a]);return Sd(this,c,i.update)})},function(l){return l.transition(function(){var s=this,u=yH(this,i.exit);return HC(u,function(){return s.remove()}),u})}).transitions()}function Ffn(e,t,n){var r=n.animate,i=n.connect,o=n.areaFill;if(t.length<2||!o||!i)return[];for(var a=Array.isArray(o)?o:[o,"transparent"],l=function(p){return a[p%a.length]},s=[],u=0;u180?1:0,O=e>t?0:1;return"M".concat(p,",").concat(g,",A").concat(l,",").concat(s,",0,").concat(w,",").concat(O,",").concat(v,",").concat(y)}function Ufn(e){var t=e.attributes,n=t.startAngle,r=t.endAngle,i=t.center,o=t.radius;return Kt(Kt([n,r],Ae(i),!1),[o],!1)}function Gfn(e,t,n,r){var i=t.startAngle,o=t.endAngle,a=t.center,l=t.radius;return e.selectAll(ui.line.class).data([{path:dEe.apply(void 0,Kt(Kt([i,o],Ae(a),!1),[l],!1))}],function(s,u){return u}).join(function(s){return s.append("path").attr("className",ui.line.name).styles(t).styles({path:function(u){return u.path}})},function(s){return s.transition(function(){var u=this,c=Ddn(this,Ufn(this),Kt(Kt([i,o],Ae(a),!1),[l],!1),r.update);if(c){var f=function(){var h=Li(u.attributes,"__keyframe_data__");u.style.path=dEe.apply(void 0,Kt([],Ae(h),!1))};c.onframe=f,c.onfinish=f}return c}).styles(t)},function(s){return s.remove()}).styles(n).transitions()}function Kfn(e,t){t.truncRange,t.truncShape,t.lineExtension}function Xfn(e,t,n){n===void 0&&(n=[0,0]);var r=Ae([e,t,n],3),i=Ae(r[0],2),o=i[0],a=i[1],l=Ae(r[1],2),s=l[0],u=l[1],c=Ae(r[2],2),f=c[0],h=c[1],d=Ae([s-o,u-a],2),p=d[0],g=d[1],m=Math.sqrt(Math.pow(p,2)+Math.pow(g,2)),v=Ae([-f/m,h/m],2),y=v[0],b=v[1];return[y*p,y*g,b*p,b*g]}function fEe(e){var t=Ae(e,2),n=Ae(t[0],2),r=n[0],i=n[1],o=Ae(t[1],2),a=o[0],l=o[1];return{x1:r,y1:i,x2:a,y2:l}}function Yfn(e,t,n,r){var i=t.showTrunc,o=t.startPos,a=t.endPos,l=t.truncRange,s=t.lineExtension,u=Ae([o,a],2),c=Ae(u[0],2),f=c[0],h=c[1],d=Ae(u[1],2),p=d[0],g=d[1],m=Ae(s?Xfn(o,a,s):new Array(4).fill(0),4),v=m[0],y=m[1],b=m[2],C=m[3],x=function(L){return e.selectAll(ui.line.class).data(L,function(B,j){return j}).join(function(B){return B.append("line").attr("className",function(j){return"".concat(ui.line.name," ").concat(j.className)}).styles(n).transition(function(j){return Sd(this,fEe(j.line),!1)})},function(B){return B.styles(n).transition(function(j){var z=j.line;return Sd(this,fEe(z),r.update)})},function(B){return B.remove()}).transitions()};if(!i||!l)return x([{line:[[f+v,h+y],[p+b,g+C]],className:ui.line.name}]);var S=Ae(l,2),w=S[0],O=S[1],$=p-f,P=g-h,T=Ae([f+$*w,h+P*w],2),R=T[0],M=T[1],A=Ae([f+$*O,h+P*O],2),N=A[0],k=A[1],D=x([{line:[[f+v,h+y],[R,M]],className:ui.lineFirst.name},{line:[[N,k],[p+b,g+C]],className:ui.lineSecond.name}]);return Kfn(e,t),D}function Zfn(e,t,n,r){var i=n.showArrow,o=n.showTrunc,a=n.lineArrow,l=n.lineArrowOffset,s=n.lineArrowSize,u;if(t==="arc"?u=e.select(ui.line.class):o?u=e.select(ui.lineSecond.class):u=e.select(ui.line.class),!i||!a||n.type==="arc"&&CZe(n.startAngle,n.endAngle)){var c=u.node();c&&(c.style.markerEnd=void 0);return}var f=xy(a);f.attr(r),Mle(f,s,!0),u.style("markerEnd",f).style("markerEndOffset",-l)}function Qfn(e,t,n){var r=t.type,i,o=Cr(t,"line");return r==="linear"?i=Yfn(e,t,iEe(o,"arrow"),n):i=Gfn(e,t,iEe(o,"arrow"),n),Zfn(e,r,t,o),i}function Jfn(e,t){return kle(e,t.gridDirection,t)}function SZe(e){var t=e.type,n=e.gridCenter;return t==="linear"?n:n||e.center}function epn(e,t){var n=t.gridLength;return e.map(function(r,i){var o=r.value,a=Ae(CH(o,t),2),l=a[0],s=a[1],u=Ae(Hp(Jfn(o,t),n),2),c=u[0],f=u[1];return{id:i,points:[[l,s],[l+c,s+f]]}})}function tpn(e,t){var n=t.gridControlAngles,r=SZe(t);if(!r)throw new Error("grid center is not provide");if(e.length<2)throw new Error("Invalid grid data");if(!n||n.length===0)throw new Error("Invalid gridControlAngles");var i=Ae(r,2),o=i[0],a=i[1];return e.map(function(l,s){var u=l.value,c=Ae(CH(u,t),2),f=c[0],h=c[1],d=Ae([f-o,h-a],2),p=d[0],g=d[1],m=[];return n.forEach(function(v){var y=F4(v),b=Ae([Math.cos(y),Math.sin(y)],2),C=b[0],x=b[1],S=p*C-g*x+o,w=p*x+g*C+a;m.push([S,w])}),{points:m,id:s}})}function npn(e,t,n,r){var i=Cr(n,"grid"),o=i.type,a=i.areaFill,l=SZe(n),s=Ale(t,n.gridFilter),u=o==="segment"?epn(s,n):tpn(s,n),c=Mt(Mt({},i),{center:l,areaFill:rs(a)?s.map(function(f,h){return bu(a,[f,h,s])}):a,animate:r,data:u});return e.selectAll(ui.grid.class).data([1]).join(function(f){return f.append(function(){return new Wfn({style:c})}).attr("className",ui.grid.name)},function(f){return f.transition(function(){return this.update(c)})},function(f){return f.remove()}).transitions()}var JJ=function(){function e(t,n,r,i){this.set(t,n,r,i)}return Object.defineProperty(e.prototype,"left",{get:function(){return this.x1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.y1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.y2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.defined("x2")&&this.defined("x1")?this.x2-this.x1:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.defined("y2")&&this.defined("y1")?this.y2-this.y1:void 0},enumerable:!1,configurable:!0}),e.prototype.rotatedPoints=function(t,n,r){var i=this,o=i.x1,a=i.y1,l=i.x2,s=i.y2,u=Math.cos(t),c=Math.sin(t),f=n-n*u+r*c,h=r-n*c-r*u,d=[[u*o-c*s+f,c*o+u*s+h],[u*l-c*s+f,c*l+u*s+h],[u*o-c*a+f,c*o+u*a+h],[u*l-c*a+f,c*l+u*a+h]];return d},e.prototype.set=function(t,n,r,i){return r0,y=r-s,b=i-u,C=h*b-d*y;if(C<0===v)return!1;var x=p*b-g*y;return!(x<0===v||C>m===v||x>m===v)}function spn(e,t){var n=[[e[0],e[1],e[2],e[3]],[e[2],e[3],e[4],e[5]],[e[4],e[5],e[6],e[7]],[e[6],e[7],e[0],e[1]]];return n.some(function(r){return lpn(t,r)})}function cpn(e,t,n){var r,i,o=eee(e,n).flat(1),a=eee(t,n).flat(1),l=[[o[0],o[1],o[2],o[3]],[o[0],o[1],o[4],o[5]],[o[4],o[5],o[6],o[7]],[o[2],o[3],o[6],o[7]]];try{for(var s=ac(l),u=s.next();!u.done;u=s.next()){var c=u.value;if(spn(a,c))return!0}}catch(f){r={error:f}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return!1}function upn(e,t){var n=e.type,r=e.labelDirection,i=e.crossSize;if(!i)return!1;if(n==="arc"){var o=e.center,a=e.radius,l=Ae(o,2),s=l[0],u=l[1],c=r==="negative"?0:i,f=-a-c,h=a+c,d=Ae(tl(t),4),p=d[0],g=d[1],m=d[2],v=d[3];return new JJ(s+f-v,u+f-p,s+h+g,u+h+m)}var y=Ae(e.startPos,2),b=y[0],C=y[1],x=Ae(e.endPos,2),S=x[0],w=x[1],O=Ae(bZe(e)?[-t,0,t,0]:[0,t,0,-t],4),$=O[0],P=O[1],T=O[2],R=O[3],M=LP(0,e),A=Hp(M,i),N=new JJ(b,C,S,w);return N.x1+=R,N.y1+=$,N.x2+=P+A[0],N.y2+=T+A[1],N}function SH(e,t,n){var r,i,o=t.crossPadding,a=new Set,l=null,s=upn(t,o),u=function(p){return s?apn(s,p):!0},c=function(p,g){return p?!cpn(p,g,tl(n)):!0};try{for(var f=ac(e),h=f.next();!h.done;h=f.next()){var d=h.value;u(d)?!l||c(l,d)?l=d:(a.add(l),a.add(d)):a.add(d)}}catch(p){r={error:p}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}return Array.from(a)}function jK(e,t){return t===void 0&&(t={}),Cn(e)?0:typeof e=="number"?e:Math.floor(Rdn(e,t))}function dpn(e,t,n,r){if(!(e.length<=1)){var i=t.suffix,o=i===void 0?"...":i,a=t.minLength,l=t.maxLength,s=l===void 0?1/0:l,u=t.step,c=u===void 0?" ":u,f=t.margin,h=f===void 0?[0,0,0,0]:f,d=tZe(r.getTextShape(e[0])),p=jK(c,d),g=a?jK(a,d):p,m=jK(s,d);(Cn(m)||m===1/0)&&(m=Math.max.apply(null,e.map(function(S){return jle(S).width})));var v=e.slice(),y=Ae(h,4);y[0],y[1],y[2],y[3];for(var b=function(S){if(v.forEach(function(w){r.ellipsis(r.getTextShape(w),S,o)}),v=SH(e,n,h),v.length<1)return{value:void 0}},C=m;C>g+p;C-=p){var x=b(C);if(typeof x=="object")return x.value}}}var fpn={parity:function(e,t){var n=t.seq,r=n===void 0?2:n;return e.filter(function(i,o){return o%r?(F0(i),!1):!0})}},ppn=function(e){return e.filter(eZe)};function hpn(e,t,n,r){var i=e.length,o=t.keepHeader,a=t.keepTail;if(!(i<=1||i===2&&o&&a)){var l=fpn.parity,s=function(b){return b.forEach(r.show),b},u=2,c=e.slice(),f=e.slice(),h=Math.min.apply(Math,Kt([1],Ae(e.map(function(b){return jle(b).width})),!1));if(n.type==="linear"&&(yZe(n)||bZe(n))){var d=aEe(e[0]).left,p=aEe(e[i-1]).right,g=Math.abs(p-d)||1;u=Math.max(Math.floor(i*h/g),u)}var m,v;for(o&&(m=c.splice(0,1)[0]),a&&(v=c.splice(-1,1)[0],c.reverse()),s(c);ul)){for(var v=d;v<=l;v++)if(m(v),p())return;u&&m(h)}}var ypn=new Map([["hide",hpn],["rotate",gpn],["ellipsis",dpn],["wrap",vpn]]);function bpn(e,t,n){return t.labelOverlap.length<1?!1:n==="hide"?!Tdn(e[0]):n==="rotate"?!e.some(function(r){var i;return!!(!((i=r.attr("transform"))===null||i===void 0)&&i.includes("rotate"))}):n==="ellipsis"||n==="wrap"?e.filter(function(r){return r.querySelector("text")}).length>1:!0}function Cpn(e,t,n){var r=t.labelOverlap,i=r===void 0?[]:r;i.length&&i.forEach(function(o){var a=o.type,l=ypn.get(a);bpn(e,t,a)&&(l==null||l(e,o,t,n))})}function Spn(){for(var e=[],t=0;t2?[e[0]]:e.split("")}function Ipn(e,t){var n=e.attributes,r=n.position,i=n.spacing,o=n.inset,a=n.text,l=e.getBBox(),s=t.getBBox(),u=xH(r),c=Ae(tl(a?i:0),4),f=c[0],h=c[1],d=c[2],p=c[3],g=Ae(tl(o),4),m=g[0],v=g[1],y=g[2],b=g[3],C=Ae([p+h,f+d],2),x=C[0],S=C[1],w=Ae([b+v,m+y],2),O=w[0],$=w[1];if(u[0]==="l")return new Yi(l.x,l.y,s.width+l.width+x+O,Math.max(s.height+$,l.height));if(u[0]==="t")return new Yi(l.x,l.y,Math.max(s.width+O,l.width),s.height+l.height+S+$);var P=Ae([t.attributes.width||s.width,t.attributes.height||s.height],2),T=P[0],R=P[1];return new Yi(s.x,s.y,T+l.width+x+O,R+l.height+S+$)}function Npn(e,t){var n=Object.entries(t).reduce(function(r,i){var o=Ae(i,2),a=o[0],l=o[1],s=e.node().attr(a);return s||(r[a]=l),r},{});e.styles(n)}function Apn(e){var t,n,r,i,o=e,a=o.width,l=o.height,s=o.position,u=Ae([+a/2,+l/2],2),c=u[0],f=u[1],h=Ae([+c,+f,"center","middle"],4),d=h[0],p=h[1],g=h[2],m=h[3],v=xH(s);return v.includes("l")&&(t=Ae([0,"start"],2),d=t[0],g=t[1]),v.includes("r")&&(n=Ae([+a,"end"],2),d=n[0],g=n[1]),v.includes("t")&&(r=Ae([0,"top"],2),p=r[0],m=r[1]),v.includes("b")&&(i=Ae([+l,"bottom"],2),p=i[0],m=i[1]),{x:d,y:p,textAlign:g,textBaseline:m}}var OZe=function(e){$n(t,e);function t(n){return e.call(this,n,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return t.prototype.getAvailableSpace=function(){var n=this,r=this.attributes,i=r.width,o=r.height,a=r.position,l=r.spacing,s=r.inset,u=n.querySelector(yEe.text.class);if(!u)return new Yi(0,0,+i,+o);var c=u.getBBox(),f=c.width,h=c.height,d=Ae(tl(l),4),p=d[0],g=d[1],m=d[2],v=d[3],y=Ae([0,0,+i,+o],4),b=y[0],C=y[1],x=y[2],S=y[3],w=xH(a);if(w.includes("i"))return new Yi(b,C,x,S);w.forEach(function(k,D){var L,B,j,z;k==="t"&&(L=Ae(D===0?[h+m,+o-h-m]:[0,+o],2),C=L[0],S=L[1]),k==="r"&&(B=Ae([+i-f-v],1),x=B[0]),k==="b"&&(j=Ae([+o-h-p],1),S=j[0]),k==="l"&&(z=Ae(D===0?[f+g,+i-f-g]:[0,+i],2),b=z[0],x=z[1])});var O=Ae(tl(s),4),$=O[0],P=O[1],T=O[2],R=O[3],M=Ae([R+P,$+T],2),A=M[0],N=M[1];return new Yi(b+R,C+$,x-A,S-N)},t.prototype.getBBox=function(){return this.title?this.title.getBBox():new Yi(0,0,0,0)},t.prototype.render=function(n,r){var i=this;n.width,n.height,n.position,n.spacing;var o=Ci(n,["width","height","position","spacing"]),a=Ae(wh(o),1),l=a[0],s=Apn(n),u=s.x,c=s.y,f=s.textAlign,h=s.textBaseline;Is(!!o.text,or(r),function(d){i.title=d.maybeAppendByClassName(yEe.text,"text").styles(l).call(Npn,{x:u,y:c,textAlign:f,textBaseline:h}).node()})},t}(Wa);function kpn(e,t,n){var r=n.titlePosition,i=r===void 0?"lb":r,o=n.titleSpacing,a=xH(i),l=e.node().getLocalBounds(),s=Ae(l.min,2),u=s[0],c=s[1],f=Ae(l.halfExtents,2),h=f[0],d=f[1],p=Ae(t.node().getLocalBounds().halfExtents,2),g=p[0],m=p[1],v=Ae([u+h,c+d],2),y=v[0],b=v[1],C=Ae(tl(o),4),x=C[0],S=C[1],w=C[2],O=C[3];if(["start","end"].includes(i)&&n.type==="linear"){var $=n.startPos,P=n.endPos,T=Ae(i==="start"?[$,P]:[P,$],2),R=T[0],M=T[1],A=iZe([-M[0]+R[0],-M[1]+R[1]]),N=Ae(Hp(A,x),2),k=N[0],D=N[1];return{x:R[0]+k,y:R[1]+D}}return a.includes("t")&&(b-=d+m+x),a.includes("r")&&(y+=h+g+S),a.includes("l")&&(y-=h+g*2+O),a.includes("b")&&(b+=d+m*2+w),{x:y,y:b}}function jpn(e,t,n){var r=e.cloneNode(!0);r.style.transform="scale(1, 1)",r.style.transform="none";var i=r.getBBox().height;if(t==="vertical"){if(n==="left")return"rotate(-90) translate(0, ".concat(i/2,")");if(n==="right")return"rotate(-90) translate(0, -".concat(i/2,")")}return""}function bEe(e,t,n,r,i){var o=Cr(r,"title"),a=Ae(wh(o),2),l=a[0],s=a[1],u=s.transform,c=Ci(s,["transform"]);e.styles(l),t.styles(c);var f=u||jpn(e.node(),l.direction,l.position);cL(e.node(),f);var h=kpn(or(n._offscreen||n.querySelector(ui.mainGroup.class)),t,r),d=h.x,p=h.y,g=Sd(t.node(),{x:d,y:p},i);return cL(e.node(),f),g}function Dpn(e,t,n,r){var i=n.titleText;return e.selectAll(ui.title.class).data([{title:i}].filter(function(o){return!!o.title}),function(o,a){return o.title}).join(function(o){return o.append(function(){return xy(i)}).attr("className",ui.title.name).transition(function(){return bEe(or(this),e,t,n,r.enter)})},function(o){return o.transition(function(){return bEe(or(this),e,t,n,r.update)})},function(o){return o.remove()}).transitions()}function CEe(e,t,n,r){var i=e.showLine,o=e.showTick,a=e.showLabel,l=t.maybeAppendByClassName(ui.lineGroup,"g"),s=Is(i,l,function(d){return Qfn(d,e,r)})||[],u=t.maybeAppendByClassName(ui.tickGroup,"g"),c=Is(o,u,function(d){return Rpn(d,n,e,r)})||[],f=t.maybeAppendByClassName(ui.labelGroup,"g"),h=Is(a,f,function(d){return Epn(d,n,e,r)})||[];return Kt(Kt(Kt([],Ae(s),!1),Ae(c),!1),Ae(h),!1).filter(function(d){return!!d})}var Dle=function(e){$n(t,e);function t(n){return e.call(this,n,Nle)||this}return t.prototype.render=function(n,r,i){var o=this,a=n.titleText,l=n.data,s=n.animate,u=n.showTitle,c=n.showGrid,f=n.dataThreshold,h=n.truncRange,d=Udn(l,f).filter(function(x){var S=x.value;return!(h&&S>h[0]&&S1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageShape",{get:function(){var n=this.pageViews,r=Ae(rfn(n.map(function(f){var h=f.getBBox(),d=h.width,p=h.height;return[d,p]})).map(function(f){return Math.max.apply(Math,Kt([],Ae(f),!1))}),2),i=r[0],o=r[1],a=this.attributes,l=a.pageWidth,s=l===void 0?i:l,u=a.pageHeight,c=u===void 0?o:u;return{pageWidth:s,pageHeight:c}},enumerable:!1,configurable:!0}),t.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(t.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=e.prototype.getBBox.call(this),r=n.x,i=n.y,o=this.controllerShape,a=this.pageShape,l=a.pageWidth,s=a.pageHeight;return new Yi(r,i,l+o.width,s)},t.prototype.goTo=function(n){var r=this,i=this.attributes.animate,o=this,a=o.currPage,l=o.playState,s=o.playWindow,u=o.pageViews;if(l!=="idle"||n<0||u.length<=0||n>=u.length)return null;u[a].setLocalPosition(0,0),this.prepareFollowingPage(n);var c=Ae(this.getFollowingPageDiff(n),2),f=c[0],h=c[1];this.playState="running";var d=cZe(s,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-f,", ").concat(-h,")")}],i);return HC(d,function(){r.innerCurrPage=n,r.playState="idle",r.setVisiblePages([n]),r.updatePageInfo()}),d},t.prototype.prev=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i<=0)return null;var o=n?(i-1+r)%r:mo(i-1,0,r);return this.goTo(o)},t.prototype.next=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i>=r-1)return null;var o=n?(i+1)%r:mo(i+1,0,r);return this.goTo(o)},t.prototype.renderClipPath=function(n){var r=this.pageShape,i=r.pageWidth,o=r.pageHeight;if(!i||!o){this.contentGroup.style.clipPath=void 0;return}this.clipPath=n.maybeAppendByClassName(qc.clipPath,"rect").styles({width:i,height:o}),this.contentGroup.attr("clipPath",this.clipPath.node())},t.prototype.setVisiblePages=function(n){this.playWindow.children.forEach(function(r,i){n.includes(i)?DP(r):F0(r)})},t.prototype.adjustControllerLayout=function(){var n=this,r=n.prevBtnGroup,i=n.nextBtnGroup,o=n.pageInfoGroup,a=this.attributes,l=a.orientation,s=a.controllerPadding,u=o.getBBox(),c=u.width;u.height;var f=Ae(l==="horizontal"?[-180,0]:[-90,90],2),h=f[0],d=f[1];r.setLocalEulerAngles(h),i.setLocalEulerAngles(d);var p=r.getBBox(),g=p.width,m=p.height,v=i.getBBox(),y=v.width,b=v.height,C=Math.max(g,c,y),x=l==="horizontal"?{offset:[[0,0],[g/2+s,0],[g+c+s*2,0]],textAlign:"start"}:{offset:[[C/2,-m-s],[C/2,0],[C/2,b+s]],textAlign:"center"},S=Ae(x.offset,3),w=Ae(S[0],2),O=w[0],$=w[1],P=Ae(S[1],2),T=P[0],R=P[1],M=Ae(S[2],2),A=M[0],N=M[1],k=x.textAlign,D=o.querySelector("text");D&&(D.style.textAlign=k),r.setLocalPosition(O,$),o.setLocalPosition(T,R),i.setLocalPosition(A,N)},t.prototype.updatePageInfo=function(){var n,r=this,i=r.currPage,o=r.pageViews,a=r.attributes.formatter;o.length<2||((n=this.pageInfoGroup.querySelector(qc.pageInfo.class))===null||n===void 0||n.attr("text",a(i+1,o.length)),this.adjustControllerLayout())},t.prototype.getFollowingPageDiff=function(n){var r=this.currPage;if(r===n)return[0,0];var i=this.attributes.orientation,o=this.pageShape,a=o.pageWidth,l=o.pageHeight,s=n=2,u=n.maybeAppendByClassName(qc.controller,"g");if(vH(u.node(),s),!!s){var c=Cr(this.attributes,"button"),f=Cr(this.attributes,"pageNum"),h=Ae(wh(c),2),d=h[0],p=h[1],g=d.size,m=Ci(d,["size"]),v=!u.select(qc.prevBtnGroup.class).node(),y=u.maybeAppendByClassName(qc.prevBtnGroup,"g").styles(p);this.prevBtnGroup=y.node();var b=y.maybeAppendByClassName(qc.prevBtn,"path"),C=u.maybeAppendByClassName(qc.nextBtnGroup,"g").styles(p);this.nextBtnGroup=C.node();var x=C.maybeAppendByClassName(qc.nextBtn,"path");[b,x].forEach(function(w){w.styles(Mt(Mt({},m),{transformOrigin:"center"})),Mle(w.node(),g,!0)});var S=u.maybeAppendByClassName(qc.pageInfoGroup,"g");this.pageInfoGroup=S.node(),S.maybeAppendByClassName(qc.pageInfo,"text").styles(f),this.updatePageInfo(),u.node().setLocalPosition(a+i,l/2),v&&(this.prevBtnGroup.addEventListener("click",function(){r.prev()}),this.nextBtnGroup.addEventListener("click",function(){r.next()}))}},t.prototype.render=function(n,r){var i=or(r);this.renderClipPath(i),this.renderController(i),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},t.prototype.bindEvents=function(){var n=this,r=zUe(function(){return n.render(n.attributes,n)},50);this.playWindow.addEventListener(hr.INSERTED,r),this.playWindow.addEventListener(hr.REMOVED,r)},t}(Wa);function zpn(e,t,n){var r=Math.round((e-n)/t);return n+r*t}function Bpn(e,t,n){var r=1.4,i=r*n;return[["M",e-n,t-i],["L",e+n,t-i],["L",e+n,t+i],["L",e-n,t+i],["Z"]]}var EZe=1.4,$Ze=.4;function Fpn(e,t,n){var r=n,i=r*EZe,o=r/2,a=r/6,l=e+i*$Ze;return[["M",e,t],["L",l,t+o],["L",e+i,t+o],["L",e+i,t-o],["L",l,t-o],["Z"],["M",l,t+a],["L",e+i-2,t+a],["M",l,t-a],["L",e+i-2,t-a]]}function Hpn(e,t,n){var r=n,i=r*EZe,o=r/2,a=r/6,l=t+i*$Ze;return[["M",e,t],["L",e-o,l],["L",e-o,t+i],["L",e+o,t+i],["L",e+o,l],["Z"],["M",e-a,l],["L",e-a,t+i-2],["M",e+a,l],["L",e+a,t+i-2]]}Si.registerSymbol("hiddenHandle",Bpn);Si.registerSymbol("verticalHandle",Fpn);Si.registerSymbol("horizontalHandle",Hpn);function Wpn(e,t,n,r){var i,o=Ae(e,2),a=o[0],l=o[1],s=Ae(t,2),u=s[0],c=s[1],f=Ae(n,2),h=f[0],d=f[1],p=Ae([u,c],2),g=p[0],m=p[1],v=m-g;return g>m&&(i=Ae([m,g],2),g=i[0],m=i[1]),v>l-a?[a,l]:gl?d===l&&h===g?[g,l]:[l-v,l]:[g,m]}function Cf(e,t,n){return e===void 0&&(e="horizontal"),e==="horizontal"?t:n}var Zs=Eu({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item");function qpn(e){var t=e.querySelector(Zs.marker.class);return t?t.style:{}}var Vpn=function(e){$n(t,e);function t(n){return e.call(this,n,{span:[1,1],marker:function(){return new NP({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return Object.defineProperty(t.prototype,"showValue",{get:function(){var n=this.attributes.valueText;return n?typeof n=="string"||typeof n=="number"?n!=="":typeof n=="function"?!0:n.attr("text")!=="":!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualSpace",{get:function(){var n=this.labelGroup,r=this.valueGroup,i=this.attributes.markerSize,o=n.node().getBBox(),a=o.width,l=o.height,s=r.node().getBBox(),u=s.width,c=s.height;return{markerWidth:i,labelWidth:a,valueWidth:u,height:Math.max(i,l,c)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"span",{get:function(){var n=this.attributes.span;if(!n)return[1,1];var r=Ae(tl(n),2),i=r[0],o=r[1],a=this.showValue?o:0,l=i+a;return[i/l,a/l]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var n,r=this.attributes,i=r.markerSize,o=r.width,a=this.actualSpace,l=a.markerWidth,s=a.height,u=this.actualSpace,c=u.labelWidth,f=u.valueWidth,h=Ae(this.spacing,2),d=h[0],p=h[1];if(o){var g=o-i-d-p,m=Ae(this.span,2),v=m[0],y=m[1];n=Ae([v*g,y*g],2),c=n[0],f=n[1]}var b=l+c+f+d+p;return{width:b,height:s,markerWidth:l,labelWidth:c,valueWidth:f}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){var n=this.attributes.spacing;if(!n)return[0,0];var r=Ae(tl(n),2),i=r[0],o=r[1];return this.showValue?[i,o]:[i,0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layout",{get:function(){var n=this.shape,r=n.markerWidth,i=n.labelWidth,o=n.valueWidth,a=n.width,l=n.height,s=Ae(this.spacing,2),u=s[0],c=s[1];return{height:l,width:a,markerWidth:r,labelWidth:i,valueWidth:o,position:[r/2,r+u,r+i+u+c]}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleSize",{get:function(){var n=qpn(this.markerGroup.node()),r=this.attributes,i=r.markerSize,o=r.markerStrokeWidth,a=o===void 0?n.strokeWidth:o,l=r.markerLineWidth,s=l===void 0?n.lineWidth:l,u=r.markerStroke,c=u===void 0?n.stroke:u,f=+(a||s||(c?1:0))*Math.sqrt(2),h=this.markerGroup.node().getBBox(),d=h.width,p=h.height;return(1-f/Math.max(d,p))*i},enumerable:!1,configurable:!0}),t.prototype.renderMarker=function(n){var r=this,i=this.attributes.marker,o=Cr(this.attributes,"marker");this.markerGroup=n.maybeAppendByClassName(Zs.markerGroup,"g").style("zIndex",0),Is(!!i,this.markerGroup,function(){var a=r.markerGroup.node(),l=a.getElementsByClassName(Zs.marker.name)[0],s=i();l?s.nodeName===l.nodeName?(Qdn(l,s),or(l).styles(o)):(l.remove(),or(s).attr("className",Zs.marker.name).styles(o),a.appendChild(s)):(or(s).attr("className",Zs.marker.name).styles(o),a.appendChild(s)),r.markerGroup.node().scale(1/r.markerGroup.node().getScale()[0]),Mle(r.markerGroup.node(),r.scaleSize,!0)})},t.prototype.renderLabel=function(n){var r=Cr(this.attributes,"label"),i=r.text,o=Ci(r,["text"]);this.labelGroup=n.maybeAppendByClassName(Zs.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(Zs.label,function(){return xy(i)}).styles(o)},t.prototype.renderValue=function(n){var r=this,i=Cr(this.attributes,"value"),o=i.text,a=Ci(i,["text"]);this.valueGroup=n.maybeAppendByClassName(Zs.valueGroup,"g").style("zIndex",0),Is(this.showValue,this.valueGroup,function(){r.valueGroup.maybeAppendByClassName(Zs.value,function(){return xy(o)}).styles(a)})},t.prototype.renderBackground=function(n){var r=this.shape,i=r.width,o=r.height,a=Cr(this.attributes,"background");this.background=n.maybeAppendByClassName(Zs.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(Zs.background,"rect").styles(Mt({width:i,height:o},a))},t.prototype.adjustLayout=function(){var n=this.layout,r=n.labelWidth,i=n.valueWidth,o=n.height,a=Ae(n.position,3),l=a[0],s=a[1],u=a[2],c=o/2;this.markerGroup.styles({x:l,y:c}),this.labelGroup.styles({x:s,y:c}),YJ(this.labelGroup.select(Zs.label.class).node(),Math.ceil(r)),this.showValue&&(this.valueGroup.styles({x:u,y:c}),YJ(this.valueGroup.select(Zs.value.class).node(),Math.ceil(i)))},t.prototype.render=function(n,r){var i=or(r);this.renderMarker(i),this.renderLabel(i),this.renderValue(i),this.renderBackground(i),this.adjustLayout()},t}(Wa),Gm=Eu({page:"item-page",navigator:"navigator",item:"item"},"items"),SEe=function(e,t,n){return n===void 0&&(n=!0),e?t(e):n},Upn=function(e){$n(t,e);function t(n){var r=e.call(this,n,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:sK,mouseenter:sK,mouseleave:sK})||this;return r.navigatorShape=[0,0],r}return Object.defineProperty(t.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"grid",{get:function(){var n=this.attributes,r=n.gridRow,i=n.gridCol,o=n.data;if(!r&&!i)throw new Error("gridRow and gridCol can not be set null at the same time");return r&&i?[r,i]:r?[r,o.length]:[o.length,i]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderData",{get:function(){var n=this.attributes,r=n.data,i=n.layout,o=Cr(this.attributes,"item"),a=r.map(function(l,s){var u=l.id,c=u===void 0?s:u,f=l.label,h=l.value;return{id:"".concat(c),index:s,style:Mt({layout:i,labelText:f,valueText:h},Object.fromEntries(Object.entries(o).map(function(d){var p=Ae(d,2),g=p[0],m=p[1];return[g,bu(m,[l,s,r])]})))}});return a},enumerable:!1,configurable:!0}),t.prototype.getGridLayout=function(){var n=this,r=this.attributes,i=r.orientation,o=r.width,a=r.rowPadding,l=r.colPadding,s=Ae(this.navigatorShape,1),u=s[0],c=Ae(this.grid,2),f=c[0],h=c[1],d=h*f,p=0;return this.pageViews.children.map(function(g,m){var v,y,b=Math.floor(m/d),C=m%d,x=n.ifHorizontal(h,f),S=[Math.floor(C/x),C%x];i==="vertical"&&S.reverse();var w=Ae(S,2),O=w[0],$=w[1],P=(o-u-(h-1)*l)/h,T=g.getBBox().height,R=Ae([0,0],2),M=R[0],A=R[1];return i==="horizontal"?(v=Ae([p,O*(T+a)],2),M=v[0],A=v[1],p=$===h-1?0:p+P+l):(y=Ae([$*(P+l),p],2),M=y[0],A=y[1],p=O===f-1?0:p+T+a),{page:b,index:m,row:O,col:$,pageIndex:C,width:P,height:T,x:M,y:A}})},t.prototype.getFlexLayout=function(){var n=this.attributes,r=n.width,i=n.height,o=n.rowPadding,a=n.colPadding,l=Ae(this.navigatorShape,1),s=l[0],u=Ae(this.grid,2),c=u[0],f=u[1],h=Ae([r-s,i],2),d=h[0],p=h[1],g=Ae([0,0,0,0,0,0,0,0],8),m=g[0],v=g[1],y=g[2],b=g[3],C=g[4],x=g[5],S=g[6],w=g[7];return this.pageViews.children.map(function(O,$){var P,T,R,M,A=O.getBBox(),N=A.width,k=A.height,D=S===0?0:a,L=S+D+N;if(L<=d&&SEe(C,function(j){return j0?(this.navigatorShape=[55,0],n.call(this)):r},enumerable:!1,configurable:!0}),t.prototype.ifHorizontal=function(n,r){var i=this.attributes.orientation;return Cf(i,n,r)},t.prototype.flattenPage=function(n){n.querySelectorAll(Gm.item.class).forEach(function(r){n.appendChild(r)}),n.querySelectorAll(Gm.page.class).forEach(function(r){var i=n.removeChild(r);i.destroy()})},t.prototype.renderItems=function(n){var r=this.attributes,i=r.click,o=r.mouseenter,a=r.mouseleave;this.flattenPage(n);var l=this.dispatchCustomEvent.bind(this);or(n).selectAll(Gm.item.class).data(this.renderData,function(s){return s.id}).join(function(s){return s.append(function(u){var c=u.style;return new Vpn({style:c})}).attr("className",Gm.item.name).on("click",function(){i==null||i(this),l("itemClick",{item:this})}).on("pointerenter",function(){o==null||o(this),l("itemMouseenter",{item:this})}).on("pointerleave",function(){a==null||a(this),l("itemMouseleave",{item:this})})},function(s){return s.each(function(u){var c=u.style;this.update(c)})},function(s){return s.remove()})},t.prototype.relayoutNavigator=function(){var n,r=this.attributes,i=r.layout,o=r.width,a=((n=this.pageViews.children[0])===null||n===void 0?void 0:n.getBBox().height)||0,l=Ae(this.navigatorShape,2),s=l[0],u=l[1];this.navigator.update(i==="grid"?{pageWidth:o-s,pageHeight:a-u}:{})},t.prototype.adjustLayout=function(){var n=this,r=Object.entries(Ndn(this.itemsLayout,"page")).map(function(o){var a=Ae(o,2),l=a[0],s=a[1];return{page:l,layouts:s}}),i=Kt([],Ae(this.navigator.getContainer().children),!1);r.forEach(function(o){var a=o.layouts,l=n.pageViews.appendChild(new Ha({className:Gm.page.name}));a.forEach(function(s){var u=s.x,c=s.y,f=s.index,h=s.width,d=s.height,p=i[f];l.appendChild(p),gnn(p,"__layout__",s),p.update({x:u,y:c,width:h,height:d})})}),this.relayoutNavigator()},t.prototype.renderNavigator=function(n){var r=this.attributes.orientation,i=Cr(this.attributes,"nav"),o=_h({orientation:r},i),a=this;return n.selectAll(Gm.navigator.class).data(["nav"]).join(function(l){return l.append(function(){return new Lpn({style:o})}).attr("className",Gm.navigator.name).each(function(){a.navigator=this})},function(l){return l.each(function(){this.update(o)})},function(l){return l.remove()}),this.navigator},t.prototype.getBBox=function(){return this.navigator.getBBox()},t.prototype.render=function(n,r){var i=this.attributes.data;if(!(!i||i.length===0)){var o=this.renderNavigator(or(r));this.renderItems(o.getContainer()),this.adjustLayout()}},t.prototype.dispatchCustomEvent=function(n,r){var i=new vi(n,{detail:r});this.dispatchEvent(i)},t}(Wa),A8=Eu({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),PZe={showLabel:!0,formatter:function(e){return e.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},Gpn=function(e){$n(t,e);function t(n){return e.call(this,n,PZe)||this}return t.prototype.render=function(n,r){var i=or(r).maybeAppendByClassName(A8.markerGroup,"g");this.renderMarker(i);var o=or(r).maybeAppendByClassName(A8.labelGroup,"g");this.renderLabel(o)},t.prototype.renderMarker=function(n){var r=this,i=this.attributes,o=i.orientation,a=i.markerSymbol,l=a===void 0?Cf(o,"horizontalHandle","verticalHandle"):a;Is(!!l,n,function(s){var u=Cr(r.attributes,"marker"),c=Mt({symbol:l},u);r.marker=s.maybeAppendByClassName(A8.marker,function(){return new Si({style:c})}).update(c)})},t.prototype.renderLabel=function(n){var r=this,i=this.attributes,o=i.showLabel,a=i.orientation,l=i.spacing,s=l===void 0?0:l,u=i.formatter;Is(o,n,function(c){var f,h=Cr(r.attributes,"label"),d=h.text,p=Ci(h,["text"]),g=((f=c.select(A8.marker.class))===null||f===void 0?void 0:f.node().getBBox())||{},m=g.width,v=m===void 0?0:m,y=g.height,b=y===void 0?0:y,C=Ae(Cf(a,[0,b+s,"center","top"],[v+s,0,"start","middle"]),4),x=C[0],S=C[1],w=C[2],O=C[3];c.maybeAppendByClassName(A8.label,"text").styles(Mt(Mt({},p),{x,y:S,text:u(d).toString(),textAlign:w,textBaseline:O}))})},t}(Wa),TZe={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},Kpn=_h({},TZe,{}),Xpn=_h({},TZe,df(PZe,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),Ypn=.01,Aa=Eu({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend"),Zpn=function(e){$n(t,e);function t(n){return e.call(this,n,Kpn)||this}return t.prototype.renderTitle=function(n,r,i){var o=this.attributes,a=o.showTitle,l=o.titleText,s=Cr(this.attributes,"title"),u=Ae(wh(s),2),c=u[0],f=u[1];this.titleGroup=n.maybeAppendByClassName(Aa.titleGroup,"g").styles(f);var h=Mt(Mt({width:r,height:i},c),{text:a?l:""});this.title=this.titleGroup.maybeAppendByClassName(Aa.title,function(){return new OZe({style:h})}).update(h)},t.prototype.renderItems=function(n,r){var i=r.x,o=r.y,a=r.width,l=r.height,s=Cr(this.attributes,"title",!0),u=Ae(wh(s),2),c=u[0],f=u[1],h=Mt(Mt({},c),{width:a,height:l,x:0,y:0});this.itemsGroup=n.maybeAppendByClassName(Aa.itemsGroup,"g").styles(Mt({x:i,y:o},f));var d=this;this.itemsGroup.selectAll(Aa.items.class).data(["items"]).join(function(p){return p.append(function(){return new Upn({style:h})}).attr("className",Aa.items.name).each(function(){d.items=or(this)})},function(p){return p.update(h)},function(p){return p.remove()})},t.prototype.adjustLayout=function(){var n=this.attributes.showTitle;if(n){var r=this.title.node().getAvailableSpace(),i=r.x,o=r.y;this.itemsGroup.node().setLocalPosition(i,o)}},Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes,r=n.showTitle,i=n.width,o=n.height;return r?this.title.node().getAvailableSpace():new Yi(0,0,i,o)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n,r,i=(n=this.title)===null||n===void 0?void 0:n.node(),o=(r=this.items)===null||r===void 0?void 0:r.node();return!i||!o?e.prototype.getBBox.call(this):Ipn(i,o)},t.prototype.render=function(n,r){var i=n.width,o=n.height,a=or(r);this.renderTitle(a,i,o),this.renderItems(a,this.availableSpace),this.adjustLayout()},t}(Wa),Qpn={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(e){return e.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},DK=Eu({background:"background",labelGroup:"label-group",label:"label"},"indicator"),Jpn=function(e){$n(t,e);function t(n){var r=e.call(this,n,Qpn)||this;return r.point=[0,0],r.group=r.appendChild(new Ha({})),r.isMutationObserved=!0,r}return t.prototype.renderBackground=function(){if(this.label){var n=this.attributes,r=n.position,i=n.padding,o=Ae(tl(i),4),a=o[0],l=o[1],s=o[2],u=o[3],c=this.label.node().getLocalBounds(),f=c.min,h=c.max,d=new Yi(f[0]-u,f[1]-a,h[0]+l-f[0]+u,h[1]+s-f[1]+a),p=this.getPath(r,d),g=Cr(this.attributes,"background");this.background=or(this.group).maybeAppendByClassName(DK.background,"path").styles(Mt(Mt({},g),{path:p})),this.group.appendChild(this.label.node())}},t.prototype.renderLabel=function(){var n=this.attributes,r=n.formatter,i=n.labelText,o=Cr(this.attributes,"label"),a=Ae(wh(o),2),l=a[0],s=a[1];l.text;var u=Ci(l,["text"]);if(this.label=or(this.group).maybeAppendByClassName(DK.labelGroup,"g").styles(s),!!i){var c=this.label.maybeAppendByClassName(DK.label,function(){return xy(r(i))}).style("text",r(i).toString());c.selectAll("text").styles(u)}},t.prototype.adjustLayout=function(){var n=Ae(this.point,2),r=n[0],i=n[1];this.group.attr("x",-r).attr("y",-i)},t.prototype.getPath=function(n,r){var i=this.attributes.radius,o=r.x,a=r.y,l=r.width,s=r.height,u=[["M",o+i,a],["L",o+l-i,a],["A",i,i,0,0,1,o+l,a+i],["L",o+l,a+s-i],["A",i,i,0,0,1,o+l-i,a+s],["L",o+i,a+s],["A",i,i,0,0,1,o,a+s-i],["L",o,a+i],["A",i,i,0,0,1,o+i,a],["Z"]],c={top:4,right:6,bottom:0,left:2},f=c[n],h=this.createCorner([u[f].slice(-2),u[f+1].slice(-2)]);return u.splice.apply(u,Kt([f+1,1],Ae(h),!1)),u[0][0]="M",u},t.prototype.createCorner=function(n,r){r===void 0&&(r=10);var i=.8,o=Zdn.apply(void 0,Kt([],Ae(n),!1)),a=Ae(n,2),l=Ae(a[0],2),s=l[0],u=l[1],c=Ae(a[1],2),f=c[0],h=c[1],d=Ae(o?[f-s,[s,f]]:[h-u,[u,h]],2),p=d[0],g=Ae(d[1],2),m=g[0],v=g[1],y=p/2,b=p/Math.abs(p),C=r*b,x=C/2,S=C*Math.sqrt(3)/2*i,w=Ae([m,m+y-x,m+y,m+y+x,v],5),O=w[0],$=w[1],P=w[2],T=w[3],R=w[4];return o?(this.point=[P,u-S],[["L",O,u],["L",$,u],["L",P,u-S],["L",T,u],["L",R,u]]):(this.point=[s+S,P],[["L",s,O],["L",s,$],["L",s+S,P],["L",s,T],["L",s,R]])},t.prototype.applyVisibility=function(){var n=this.attributes.visibility;n==="hidden"?F0(this):DP(this)},t.prototype.bindEvents=function(){this.label.on(hr.BOUNDS_CHANGED,this.renderBackground)},t.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},t}(Wa);function ehn(e,t){for(var n=1;n=r&&t<=i)return[r,i]}return[t,t]}function thn(e,t,n){var r=Array.from(t),i=e.length;return new Array(i).fill(0).reduce(function(o,a,l){var s=r[l%r.length];return o+=" ".concat(e[l],":").concat(s).concat(l(r+i)/2?i:r,range:[r,i]}}var B7=Eu({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function MZe(e){var t=e.orientation,n=e.size,r=e.length;return Cf(t,[r,n],[n,r])}function RZe(e){var t=e.type,n=Ae(MZe(e),2),r=n[0],i=n[1];return t==="size"?[["M",0,i],["L",0+r,0],["L",0+r,i],["Z"]]:[["M",0,i],["L",0,0],["L",0+r,0],["L",0+r,i],["Z"]]}function nhn(e){return RZe(e)}function rhn(e){var t=e.orientation,n=e.color,r=e.block,i=e.partition,o;if(rs(n)){var a=20;o=new Array(a).fill(0).map(function(u,c,f){return n(c/(f.length-1))})}else o=n;var l=o.length,s=o.map(function(u){return rh(u).toString()});return l?l===1?s[0]:r?thn(i,s,t):s.reduce(function(u,c,f){return u+=" ".concat(f/(l-1),":").concat(c)},"l(".concat(Cf(t,"0","270"),")")):""}function ihn(e){var t=e.orientation,n=e.range;if(!n)return[];var r=Ae(MZe(e),2),i=r[0],o=r[1],a=Ae(n,2),l=a[0],s=a[1],u=Cf(t,l*i,0),c=Cf(t,0,l*o),f=Cf(t,s*i,i),h=Cf(t,o,s*o);return[["M",u,c],["L",u,h],["L",f,h],["L",f,c],["Z"]]}function ohn(e,t){var n=Cr(t,"track");e.maybeAppendByClassName(B7.track,"path").styles(Mt({path:RZe(t)},n))}function ahn(e,t){var n=Cr(t,"selection"),r=rhn(t),i=e.maybeAppendByClassName(B7.selection,"path").styles(Mt({path:nhn(t),fill:r},n)),o=i.maybeAppendByClassName(B7.clipPath,"path").styles({path:ihn(t)}).node();i.style("clip-path",o)}var lhn=function(e){$n(t,e);function t(n){return e.call(this,n,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return t.prototype.render=function(n,r){var i=or(r).maybeAppendByClassName(B7.trackGroup,"g");ohn(i,n);var o=or(r).maybeAppendByClassName(B7.selectionGroup,"g");ahn(o,n)},t}(Wa);function shn(e){return{min:Math.min.apply(Math,Kt([],Ae(e.map(function(t){return t.value})),!1)),max:Math.max.apply(Math,Kt([],Ae(e.map(function(t){return t.value})),!1))}}var chn=function(e){$n(t,e);function t(n){var r=e.call(this,n,Xpn)||this;return r.eventToOffsetScale=new Ri({}),r.innerRibbonScale=new Ri({}),r.cacheLabelBBox=null,r.cacheHandleBBox=null,r.onHovering=function(i){var o=r.attributes,a=o.data,l=o.block;i.stopPropagation();var s=r.getValueByCanvasPoint(i);if(l){var u=xEe(a.map(function(f){var h=f.value;return h}),s).range;r.showIndicator((u[0]+u[1])/2,"".concat(u[0],"-").concat(u[1])),r.dispatchIndicated(s,u)}else{var c=r.getTickValue(s);r.showIndicator(c),r.dispatchIndicated(c)}},r.onDragStart=function(i){return function(o){o.stopPropagation(),r.attributes.slidable&&(r.target=i,r.prevValue=r.getTickValue(r.getValueByCanvasPoint(o)),document.addEventListener("mousemove",r.onDragging),document.addEventListener("touchmove",r.onDragging),document.addEventListener("mouseleave",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("touchend",r.onDragEnd))}},r.onDragging=function(i){var o=r.target;r.updateMouse();var a=Ae(r.selection,2),l=a[0],s=a[1],u=r.getTickValue(r.getValueByCanvasPoint(i)),c=u-r.prevValue;o==="start"?l!==u&&r.updateSelection(u,s):o==="end"?s!==u&&r.updateSelection(l,u):o==="ribbon"&&c!==0&&(r.prevValue=u,r.updateSelection(c,c,!0))},r.onDragEnd=function(){r.style.cursor="pointer",document.removeEventListener("mousemove",r.onDragging),document.removeEventListener("touchmove",r.onDragging),document.removeEventListener("mouseup",r.onDragEnd),document.removeEventListener("touchend",r.onDragEnd)},r}return Object.defineProperty(t.prototype,"handleOffsetRatio",{get:function(){return this.ifHorizontal(.5,.5)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=this.attributes,r=n.width,i=n.height;return new Yi(0,0,r,i)},t.prototype.render=function(n,r){var i=this,o=n.showLabel;this.renderTitle(or(r));var a=this.availableSpace,l=a.x,s=a.y,u=or(r).maybeAppendByClassName(Aa.contentGroup,"g").styles({x:l,y:s}),c=u.maybeAppendByClassName(Aa.labelGroup,"g").styles({zIndex:1});Is(!!o,c,function(h){i.renderLabel(h)});var f=u.maybeAppendByClassName(Aa.ribbonGroup,"g").styles({zIndex:0});this.handlesGroup=u.maybeAppendByClassName(Aa.handlesGroup,"g").styles({zIndex:2}),this.renderHandles(),this.renderRibbon(f),this.renderIndicator(u),this.adjustLabel(),this.adjustHandles()},Object.defineProperty(t.prototype,"range",{get:function(){var n=this.attributes,r=n.data,i=n.domain;return i?{min:i[0],max:i[1]}:shn(r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonScale",{get:function(){var n=this.range,r=n.min,i=n.max;return this.innerRibbonScale.update({domain:[r,i],range:[0,1]}),this.innerRibbonScale},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonRange",{get:function(){var n=Ae(this.selection,2),r=n[0],i=n[1],o=this.ribbonScale;return[o.map(r),o.map(i)]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selection",{get:function(){var n=this.range,r=n.min,i=n.max,o=this.attributes.defaultValue,a=o===void 0?[r,i]:o,l=Ae(a,2),s=l[0],u=l[1];return[s,u]},enumerable:!1,configurable:!0}),t.prototype.ifHorizontal=function(n,r){return Cf(this.attributes.orientation,typeof n=="function"?n():n,typeof r=="function"?r():r)},t.prototype.renderTitle=function(n){var r=this.attributes,i=r.showTitle,o=r.titleText,a=r.width,l=r.height,s=Cr(this.attributes,"title"),u=Mt(Mt({},s),{width:a,height:l,text:o}),c=this;n.selectAll(Aa.title.class).data(i?[o]:[]).join(function(f){return f.append(function(){return new OZe({style:u})}).attr("className",Aa.title.name).each(function(){c.title=this})},function(f){return f.update(u)},function(f){return f.each(function(){c.title=void 0}).remove()})},Object.defineProperty(t.prototype,"availableSpace",{get:function(){if(this.title)return this.title.getAvailableSpace();var n=this.attributes,r=n.width,i=n.height;return new Yi(0,0,r,i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFixedSpacing",{get:function(){var n=this.attributes.showTick;return n?5:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){var n=this.attributes,r=n.orientation,i=n.labelDirection,o={vertical:{positive:"right",negative:"left"},horizontal:{positive:"bottom",negative:"top"}};return o[r][i]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelBBox",{get:function(){var n,r=this.attributes.showLabel;if(!r)return new Yi(0,0,0,0);if(this.cacheLabelBBox)return this.cacheLabelBBox;var i=((n=this.label.querySelector(ui.labelGroup.class))===null||n===void 0?void 0:n.children.slice(-1)[0]).getBBox(),o=i.width,a=i.height;return this.cacheLabelBBox=new Yi(0,0,o,a),this.cacheLabelBBox},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelShape",{get:function(){var n=this.attributes,r=n.showLabel,i=n.labelSpacing,o=i===void 0?0:i;if(!r)return{width:0,height:0,size:0,length:0};var a=this.labelBBox,l=a.width,s=a.height,u=this.ifHorizontal(s,l)+o+this.labelFixedSpacing,c=this.ifHorizontal(l,s);return{width:l,height:s,size:u,length:c}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonBBox",{get:function(){var n=this.attributes,r=n.showHandle,i=n.ribbonSize,o=this.availableSpace,a=o.width,l=o.height,s=this.labelShape,u=s.size,c=s.length,f=Ae(this.ifHorizontal([l,a],[a,l]),2),h=f[0],d=f[1],p=r?this.handleShape:{size:0,length:0},g=p.size,m=p.length,v=this.handleOffsetRatio,y=0,b=this.labelPosition;i?y=i:["bottom","right"].includes(b)?y=Math.min(h-u,(h-g)/v):h*(1-v)>g?y=Math.max(h-u,0):y=Math.max((h-u-g)/v,0);var C=Math.max(m,c),x=d-C,S=Ae(this.ifHorizontal([x,y],[y,x]),2),w=S[0],O=S[1],$=["top","left"].includes(b)?u:0,P=Ae(this.ifHorizontal([C/2,$],[$,C/2]),2),T=P[0],R=P[1];return new Yi(T,R,w,O)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonShape",{get:function(){var n=this.ribbonBBox,r=n.width,i=n.height;return this.ifHorizontal({size:i,length:r},{size:r,length:i})},enumerable:!1,configurable:!0}),t.prototype.renderRibbon=function(n){var r=this.attributes,i=r.data,o=r.type,a=r.orientation,l=r.color,s=r.block,u=Cr(this.attributes,"ribbon"),c=this.range,f=c.min,h=c.max,d=this.ribbonBBox,p=d.x,g=d.y,m=this.ribbonShape,v=m.length,y=m.size,b=_h({x:p,y:g,length:v,size:y,type:o,orientation:a,color:l,block:s,partition:i.map(function(C){return(C.value-f)/(h-f)}),range:this.ribbonRange},u);this.ribbon=n.maybeAppendByClassName(Aa.ribbon,function(){return new lhn({style:b})}).update(b)},t.prototype.getHandleClassName=function(n){return"".concat(Aa.prefix("".concat(n,"-handle")))},t.prototype.renderHandles=function(){var n=this.attributes,r=n.showHandle,i=n.orientation,o=Cr(this.attributes,"handle"),a=Ae(this.selection,2),l=a[0],s=a[1],u=Mt(Mt({},o),{orientation:i}),c=o.shape,f=c===void 0?"slider":c,h=f==="basic"?Gpn:pZe,d=this;this.handlesGroup.selectAll(Aa.handle.class).data(r?[{value:l,type:"start"},{value:s,type:"end"}]:[],function(p){return p.type}).join(function(p){return p.append(function(){return new h({style:u})}).attr("className",function(g){var m=g.type;return"".concat(Aa.handle," ").concat(d.getHandleClassName(m))}).each(function(g){var m=g.type,v=g.value;this.update({labelText:v});var y="".concat(m,"Handle");d[y]=this,this.addEventListener("pointerdown",d.onDragStart(m))})},function(p){return p.update(u).each(function(g){var m=g.value;this.update({labelText:m})})},function(p){return p.each(function(g){var m=g.type,v="".concat(m,"Handle");d[v]=void 0}).remove()})},t.prototype.adjustHandles=function(){var n=Ae(this.selection,2),r=n[0],i=n[1];this.setHandlePosition("start",r),this.setHandlePosition("end",i)},t.prototype.adjustTitle=function(){var n=this.attributes,r=n.titlePosition,i=n.orientation,o=Ae(this.getElementsByClassName(Aa.title.name),1),a=o[0],l=this.handlesGroup.select(".".concat(this.getHandleClassName("start"))).node();if(!(!a||!l)&&!(r!=="top-left"||i!=="horizontal")){var s=Ae(l.getLocalBounds().min,1),u=s[0],c=Ae(a.getLocalBounds().min,1),f=c[0],h=u-f;a.style.x=+(this.style.x||0)+h}},Object.defineProperty(t.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new Yi(0,0,0,0);var n=this.startHandle.getBBox(),r=n.width,i=n.height,o=this.endHandle.getBBox(),a=o.width,l=o.height,s=Ae([Math.max(r,a),Math.max(i,l)],2),u=s[0],c=s[1];return this.cacheHandleBBox=new Yi(0,0,u,c),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handleShape",{get:function(){var n=this.handleBBox,r=n.width,i=n.height,o=Ae(this.ifHorizontal([i,r],[r,i]),2),a=o[0],l=o[1];return{width:r,height:i,size:a,length:l}},enumerable:!1,configurable:!0}),t.prototype.setHandlePosition=function(n,r){var i=this.attributes.handleFormatter,o=this.ribbonBBox,a=o.x,l=o.y,s=this.ribbonShape.size,u=this.getOffset(r),c=Ae(this.ifHorizontal([a+u,l+s*this.handleOffsetRatio],[a+s*this.handleOffsetRatio,l+u]),2),f=c[0],h=c[1],d=this.handlesGroup.select(".".concat(this.getHandleClassName(n))).node();d==null||d.update({x:f,y:h,formatter:i})},t.prototype.renderIndicator=function(n){var r=Cr(this.attributes,"indicator");this.indicator=n.maybeAppendByClassName(Aa.indicator,function(){return new Jpn({})}).update(r)},Object.defineProperty(t.prototype,"labelData",{get:function(){var n=this,r=this.attributes.data;return r.reduce(function(i,o,a,l){var s,u,c=(s=o==null?void 0:o.id)!==null&&s!==void 0?s:a.toString();if(i.push(Mt(Mt({},o),{id:c,index:a,type:"value",label:(u=o==null?void 0:o.label)!==null&&u!==void 0?u:o.value.toString(),value:n.ribbonScale.map(o.value)})),a'),title:'
'),item:'
  • + as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var i=n.dataLength!==r.prevDataLength;return i?U9(U9({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var i=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,o=I8e(r);return o.unit===k3.Pixel?n.scrollTop<=o.value+i-n.scrollHeight+1:n.scrollTop<=o.value/100+i-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var i=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,o=I8e(r);return o.unit===k3.Pixel?n.scrollTop+i>=n.scrollHeight-o.value:n.scrollTop+i>=o.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=U9({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),i=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),o=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return Se.createElement("div",{style:o,className:"infinite-scroll-component__outerdiv"},Se.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r},this.props.pullDownToRefresh&&Se.createElement("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a}},Se.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!i&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(_.Component);const _Ue=()=>ge.jsx(ge.Fragment,{children:ge.jsxs("button",{className:"noselect",children:[ge.jsx("span",{className:"text",children:"删除"}),ge.jsx("span",{className:"icon",children:ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:ge.jsx("path",{d:"M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"})})})]})}),Gtn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAxdJREFUSEvNVkFPE1EQnplKJRhCNEZJTPTt0iCJF0gg3rB486BejNGT9BcYT4aDQYyJ4SY/ACsHD1y9iCfAk5EY8MBBpLsrRkWCJIRoaum+sVN3ybLdLW0DwU2abt6+N998733vm0E4pAcPCRf+P2CllCKiOwCgmFkhopL3KjvkyDdmdhBR3h0iml1eXp6JWlPBWAARMYuIaW+BEwxWBbiclCQp/8H1WusBx3HKiflPBbBhGNPCDhFHcrnc80Y1IAQSiUSamYclhmVZRixwR0fHIDNnS1s0ELdF9SaSSqXSWuvpcMxdjE3TlOweWpbVkOiUUt1EdI2ZF2zbfilJelqxvbgjkVttmmZWzsi27YF6mXV2dp4sFosWALR6Z33dB5fjk7Fg3DBjyWzGsqxMvcBKqUtEFFTwsGVZjyTOgQILgGmabwHgIgBsaa37HcdZ8MazJULpoMD2jbG/Q8I8mUwuLi0trftjnnYGqwFzWASy2FOmbGWsIVQ7mijRhhlXAHv3Oo1E34DZZebxkup31FmLFuoGNkxzlohS1HpqtOnE2fnC18WMLvzKaK2NsBPtG2Mf9Oi53lvBoH++fBgCt/g+l/v0IDju3deySxHRRNCAambMAJeFaRhUgm5vrPS4m6tjQda+OyEl5st3WLs9iInHfnK1AjtIlIwC9RnmnblJBBqXwDs229L2JHn6/Cs/Ob21dh8Yn7nu9rhX5XY5YtR1Uom29rtypnHn5rMuOaIUkcGo+e7WWntxY+WpgDO7XQBwI2jFlcBITc2q9/Zeai38+HiFC/luOnZ8Ki5JAd/++XkMmNcAoC32Hv+7OtTVbPTd3Au41u9l8HVHasBcrFcfBLAkmLfnXgPwZLAGVJZFxHvNqu9qrYxqmZe3372pWhb9a7GXuGoB8+eIFvTvzaGw6exi7JnAC0A0qKllKnnmglSVhh9f/cw8E67x0c0e0QQC9Is/MwMh4negI6uSAXr/UdmwLraD/DwT8eZIt5kJt1KRLY4w96wv3N7KcFyLG+wipSGor71teF/rXNhQU1cnRuT0QwP+Cyp3vy6980x9AAAAAElFTkSuQmCC",Ktn=({onClick:e})=>ge.jsxs("button",{className:"select",onClick:e,children:[ge.jsx("span",{className:"text",children:"上传"}),ge.jsx("span",{className:"icon",children:ge.jsx("img",{src:Gtn,alt:""})})]}),wUe=({checked:e,handleCheckBoxChange:t})=>ge.jsxs("label",{className:"Check_container",children:[ge.jsx("input",{checked:e,type:"checkbox",onChange:t}),ge.jsx("div",{className:"checkmark"})]}),Xtn=()=>{const[e,t]=_.useState([]),[n,r]=_.useState(0),[i,o]=_.useState({}),[a,l]=_.useState([]),[s,u]=_.useState(!1),[c,f]=_.useState(!1);_.useEffect(()=>{h()},[]);const h=()=>{Tr({url:"/api/protect/images",method:"GET"}).then(O=>{l(O.data.data)}).catch(O=>{throw O})},d=async()=>{},p=_.useCallback(()=>{const O=Object.keys(i).filter($=>i[$]);Tr({url:"/api/protect/delImg",method:"DELETE",data:O}).then($=>{$.status===200&&(h(),fr.success("删除成功"),o({}),r(0))}).catch($=>{fr.error("删除失败:"+$),o({}),r(0)})},[n,i]),g=O=>{const $=i[O.imageUrl]||!1;o(P=>({...P,[O.imageUrl]:!$})),r(P=>$?P-1:P+1)},m=()=>{u(!0)},v=()=>{t([]),u(!1)},y=()=>{t([]),u(!1)},{Dragger:b}=VFe,C={name:"file",fileList:e,multiple:!0,customRequest:async O=>{console.log(O);const $=new FormData;$.append("file",O.file);try{Tr({url:"/api/protect/upload",data:$,method:"post"}).then(P=>{P.status===200&&(h(),fr.success(`${O.file.name} 图片上传成功`))}).catch(P=>{throw P})}catch{fr.error("Error uploading file")}},onDrop(O){console.log("Dropped files",O.dataTransfer.files)},progress:{strokeColor:{"0%":"#108ee9","100%":"#87d068"},strokeWidth:3,format:O=>O&&`${parseFloat(O.toFixed(2))}%`}},x=()=>{if(n===0){fr.warning("待选中");return}else f(!0)},S=()=>{p(),f(!1)},w=()=>{f(!1)};return ge.jsxs("div",{style:{height:"100%"},children:[ge.jsxs(Utn,{dataLength:a.length,next:d,hasMore:!0,loader:null,endMessage:ge.jsx("p",{style:{textAlign:"center"},children:ge.jsx("b",{children:"Yay! You have seen it all"})}),children:[ge.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:30,marginLeft:20,marginRight:20},className:"action_img",children:[ge.jsx(Ktn,{onClick:m}),ge.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:ge.jsxs("h2",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[" ",ge.jsx("i",{className:"iconfont icon-xiangce icon",style:{fontWeight:"80",fontSize:50,color:"#1668dc"}})," 图库 "]})}),ge.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[ge.jsxs("h2",{style:{position:"absolute",right:180,opacity:n!==0?1:0,transition:"0.3s"},children:["已选中",n,"张图片"]}),ge.jsx("div",{onClick:x,children:ge.jsx(_Ue,{})})]})]}),ge.jsx(mh,{style:{width:"100%",height:"86vh",marginLeft:"0%",marginTop:"0%",overflowY:"scroll",backgroundColor:"transparent",border:"none"},children:a.map(O=>ge.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[ge.jsx("div",{style:{position:"absolute",top:30,right:40,transform:"scale(0.8)",zIndex:3},children:ge.jsx(wUe,{checked:i[O.imageUrl]||!1,handleCheckBoxChange:()=>g(O)})}),ge.jsx("img",{src:O.imageUrl,onClick:()=>g(O),style:{maxWidth:250,maxHeight:250,margin:40,marginLeft:45,marginTop:30,borderRadius:10},className:"imgShade"})]},O.imageKey))}),ge.jsx(vh,{open:s,onOk:v,onCancel:y,okText:"完成",cancelText:"取消",children:ge.jsxs(b,{...C,listType:"picture",children:[ge.jsx("p",{className:"ant-upload-drag-icon",children:ge.jsx(zVt,{})}),ge.jsx("p",{className:"ant-upload-text",children:"点击或拖动文件到此区域进行上传"}),ge.jsx("p",{className:"ant-upload-hint",children:"支持单个或批量上传"})]})})]}),ge.jsx(vh,{title:"删除确认",open:c,onOk:S,onCancel:w,okText:"确定",cancelText:"取消",children:"是否删除选中所有图片?"})]})},Ytn=()=>{const[e,t]=_.useState(0),[n,r]=_.useState({}),[i,o]=_.useState([]),[a,l]=_.useState([]),[s,u]=_.useState(!1),c=_.useContext(YB),[f,h]=_.useState(!1);_.useEffect(()=>{d().then(w=>{o(w.filter(O=>O.status===1)),l(w.filter(O=>O.status===0))}).catch(w=>{console.error("获取朋友列表时出错:",w)}),u(c==="true")},[c]);const d=async()=>Tr({url:"/api/protected/friends",method:"GET"}).then(S=>S.data.data).catch(S=>{throw console.log(S),S}),p=()=>{if(e===0){fr.warning("待选中");return}const S=Object.keys(n).filter(w=>n[w]);Tr({url:"/api/protected/friends",method:"DELETE",data:S}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),fr.success("删除成功"),r({}),t(0)}).catch(O=>{console.error("获取朋友列表时出错:",O)})})},g=()=>{if(e===0){fr.warning("待选中");return}else h(!0)},m=()=>{p(),h(!1)},v=()=>{h(!1)},y=S=>{const w=n[S]||!1;r(O=>({...O,[S]:!w})),t(O=>w?O-1:O+1)},b=()=>i.reduce((w,O,$)=>{const P=Math.floor($/5);return w[P]||(w[P]=[]),w[P].push(O),w},[]).map((w,O)=>ge.jsx("ul",{className:"link-items",children:w.map($=>ge.jsxs("li",{className:"link-item",onClick:()=>y($.friendKey),children:[ge.jsx("div",{style:{position:"absolute",right:5,top:5},onClick:P=>{P.stopPropagation()},children:ge.jsx(wUe,{checked:n[$.friendKey]||!1,handleCheckBoxChange:()=>{y($.friendKey)}})}),ge.jsxs("a",{children:[ge.jsx("img",{alt:$.siteName,className:"lazyload","data-src":$.avatar,src:$.avatar}),ge.jsx("br",{}),ge.jsx("span",{className:"sitename",children:$.siteName}),ge.jsx("div",{className:"linkdes",children:$.description})]})]},$.friendKey))},O)),C=S=>{Tr({url:`/api/protected/friends/${S}`,method:"POST"}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),fr.success("已添加")}).catch(O=>{console.error("获取朋友列表时出错:",O)})})},x=S=>{Tr({url:"/api/protected/friends",method:"DELETE",data:[S]}).then(w=>{w.status===200&&d().then(O=>{o(O.filter($=>$.status===1)),l(O.filter($=>$.status===0)),fr.success("已拒绝")}).catch(O=>{console.error("获取朋友列表时出错:",O)})})};return ge.jsxs("div",{style:{height:"100%",padding:20,overflowY:"scroll"},className:"link",children:[ge.jsx(ZE,{defaultActiveKey:"1",centered:!0,children:new Array(2).fill(null).map((S,w)=>ge.jsx(ZE.TabPane,{tab:w===0?ge.jsx("h3",{children:"全部友链"}):ge.jsx("h3",{children:"友链申请"}),children:w===0?ge.jsxs(ge.Fragment,{children:[ge.jsx("h3",{className:"link-title",children:ge.jsx("span",{className:"link-fix",style:{color:s?"cornflowerblue":"black"},children:"Friends"})}),ge.jsx("div",{style:{float:"right"},children:ge.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[ge.jsxs("h3",{style:{position:"absolute",right:180,opacity:e!==0?1:0,transition:"0.3s"},children:["已选中",e,"条友链"]}),ge.jsx("div",{style:{transform:"scale(0.8)"},onClick:g,children:ge.jsx(_Ue,{})})]})}),b()]}):ge.jsxs(ge.Fragment,{children:[ge.jsx("h3",{className:"link-title",children:ge.jsx("span",{className:"link-fix",children:"友链申请"})}),ge.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(210px, 1fr))",gridGap:90},children:a.map(O=>ge.jsx(mh,{hoverable:!0,style:{width:270,marginTop:25},className:"resCard",actions:[ge.jsx(oB,{onClick:()=>C(O.friendKey)},"agree"),ge.jsx(Ic,{onClick:()=>x(O.friendKey)},"refused")],children:ge.jsx(mh.Meta,{avatar:ge.jsx(ODe,{src:O.avatar}),title:O.siteName,description:O.description})},O.friendKey))})]})},String(w+1)))}),ge.jsx(vh,{title:"删除确认",open:f,onOk:m,onCancel:v,okText:"确定",cancelText:"取消",children:"是否删除选中所有友链?"})]})},OUe=()=>[["cartesian"]];OUe.props={};function Ztn(e,t){return e=e%(2*Math.PI),t=t%(2*Math.PI),e<0&&(e=2*Math.PI+e),t<0&&(t=2*Math.PI+t),e>=t&&(t=t+2*Math.PI),{startAngle:e,endAngle:t}}const EUe=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1},n=Object.assign(Object.assign({},t),e);return Object.assign(Object.assign({},n),Ztn(n.startAngle,n.endAngle))},yP=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=EUe(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,i]]};yP.props={};const xae=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];xae.props={transform:!0};const Qtn=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},t),e)},$Ue=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=Qtn(e);return[...xae(),...yP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};$Ue.props={};const PUe=(e={})=>{const t={startAngle:-Math.PI/2,endAngle:Math.PI*3/2,innerRadius:0,outerRadius:1};return Object.assign(Object.assign({},t),e)},_ae=e=>{const{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=PUe(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...yP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};_ae.props={};const wae=()=>[["parallel",0,1,0,1]];wae.props={};const TUe=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",e,t,n,r,i]];TUe.props={transform:!0};const MUe=e=>{const{startAngle:t=-Math.PI/2,endAngle:n=Math.PI*3/2,innerRadius:r=0,outerRadius:i=1}=e;return[...wae(),...yP({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};MUe.props={};const RUe=({value:e})=>t=>t.map(()=>e);RUe.props={};const IUe=({value:e})=>t=>t.map(e);IUe.props={};const NUe=({value:e})=>t=>t.map(n=>n[e]);NUe.props={};const AUe=({value:e})=>()=>e;AUe.props={};var S7=function(e){return e!==null&&typeof e!="function"&&isFinite(e.length)},Jtn=function(e,t){if(!S7(e))return e;for(var n=[],r=0;rn?n:e},Ro=function(e){return bP(e,"Number")},inn=1e-5;function G9(e,t,n){return n===void 0&&(n=inn),Math.abs(e-t)r&&(n=o,r=a)}return n}},ann=function(e,t){if(sa(e)){for(var n,r=1/0,i=0;ii&&(r=n,a(1),++t),n[l]=s}function a(l){t=0,n=Object.create(null),l||(r=Object.create(null))}return a(),{clear:a,has:function(l){return n[l]!==void 0||r[l]!==void 0},get:function(l){var s=n[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return o(l,s),s},set:function(l,s){n[l]!==void 0?n[l]=s:o(l,s)}}}const unn=function(e,t,n){if(n===void 0&&(n=128),!rs(e))throw new TypeError("Expected a function");var r=function(){for(var i=[],o=0;ot?(r&&(clearTimeout(r),r=null),l=c,a=e.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(s,f)),a};return u.cancel=function(){clearTimeout(r),l=0,r=i=o=null},u},cK=function(){};function mJ(e){return Cn(e)?0:S7(e)?e.length:Object.keys(e).length}var Ki=1e-6,Io=typeof Float32Array<"u"?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});function LC(){var e=new Io(9);return Io!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function gnn(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function mnn(e){var t=new Io(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function vnn(e,t,n,r,i,o,a,l,s){var u=new Io(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u[6]=a,u[7]=l,u[8]=s,u}function ynn(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=c*a-l*u,h=-c*o+l*s,d=u*o-a*s,p=n*f+r*h+i*d;return p?(p=1/p,e[0]=f*p,e[1]=(-c*r+i*u)*p,e[2]=(l*r-i*a)*p,e[3]=h*p,e[4]=(c*n-i*s)*p,e[5]=(-l*n+i*o)*p,e[6]=d*p,e[7]=(-u*n+r*s)*p,e[8]=(a*n-r*o)*p,e):null}function bnn(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=n[0],d=n[1],p=n[2],g=n[3],m=n[4],v=n[5],y=n[6],b=n[7],C=n[8];return e[0]=h*r+d*a+p*u,e[1]=h*i+d*l+p*c,e[2]=h*o+d*s+p*f,e[3]=g*r+m*a+v*u,e[4]=g*i+m*l+v*c,e[5]=g*o+m*s+v*f,e[6]=y*r+b*a+C*u,e[7]=y*i+b*l+C*c,e[8]=y*o+b*s+C*f,e}function Cnn(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e}function Snn(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function xnn(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}var _nn=bnn;function ci(){var e=new Io(16);return Io!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function Pae(e){var t=new Io(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function hy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function wnn(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g){var m=new Io(16);return m[0]=e,m[1]=t,m[2]=n,m[3]=r,m[4]=i,m[5]=o,m[6]=a,m[7]=l,m[8]=s,m[9]=u,m[10]=c,m[11]=f,m[12]=h,m[13]=d,m[14]=p,m[15]=g,m}function vJ(e,t,n,r,i,o,a,l,s,u,c,f,h,d,p,g,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=l,e[7]=s,e[8]=u,e[9]=c,e[10]=f,e[11]=h,e[12]=d,e[13]=p,e[14]=g,e[15]=m,e}function SP(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function HUe(e,t){if(e===t){var n=t[1],r=t[2],i=t[3],o=t[6],a=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=o,e[11]=t[14],e[12]=i,e[13]=a,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function pd(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],g=t[13],m=t[14],v=t[15],y=n*l-r*a,b=n*s-i*a,C=n*u-o*a,x=r*s-i*l,S=r*u-o*l,w=i*u-o*s,O=c*g-f*p,$=c*m-h*p,P=c*v-d*p,T=f*m-h*g,R=f*v-d*g,M=h*v-d*m,A=y*M-b*R+C*T+x*P-S*$+w*O;return A?(A=1/A,e[0]=(l*M-s*R+u*T)*A,e[1]=(i*R-r*M-o*T)*A,e[2]=(g*w-m*S+v*x)*A,e[3]=(h*S-f*w-d*x)*A,e[4]=(s*P-a*M-u*$)*A,e[5]=(n*M-i*P+o*$)*A,e[6]=(m*C-p*w-v*b)*A,e[7]=(c*w-h*C+d*b)*A,e[8]=(a*R-l*P+u*O)*A,e[9]=(r*P-n*R-o*O)*A,e[10]=(p*S-g*C+v*y)*A,e[11]=(f*C-c*S-d*y)*A,e[12]=(l*$-a*T-s*O)*A,e[13]=(n*T-r*$+i*O)*A,e[14]=(g*b-p*x-m*y)*A,e[15]=(c*x-f*b+h*y)*A,e):null}function Onn(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],h=t[10],d=t[11],p=t[12],g=t[13],m=t[14],v=t[15];return e[0]=l*(h*v-d*m)-f*(s*v-u*m)+g*(s*d-u*h),e[1]=-(r*(h*v-d*m)-f*(i*v-o*m)+g*(i*d-o*h)),e[2]=r*(s*v-u*m)-l*(i*v-o*m)+g*(i*u-o*s),e[3]=-(r*(s*d-u*h)-l*(i*d-o*h)+f*(i*u-o*s)),e[4]=-(a*(h*v-d*m)-c*(s*v-u*m)+p*(s*d-u*h)),e[5]=n*(h*v-d*m)-c*(i*v-o*m)+p*(i*d-o*h),e[6]=-(n*(s*v-u*m)-a*(i*v-o*m)+p*(i*u-o*s)),e[7]=n*(s*d-u*h)-a*(i*d-o*h)+c*(i*u-o*s),e[8]=a*(f*v-d*g)-c*(l*v-u*g)+p*(l*d-u*f),e[9]=-(n*(f*v-d*g)-c*(r*v-o*g)+p*(r*d-o*f)),e[10]=n*(l*v-u*g)-a*(r*v-o*g)+p*(r*u-o*l),e[11]=-(n*(l*d-u*f)-a*(r*d-o*f)+c*(r*u-o*l)),e[12]=-(a*(f*m-h*g)-c*(l*m-s*g)+p*(l*h-s*f)),e[13]=n*(f*m-h*g)-c*(r*m-i*g)+p*(r*h-i*f),e[14]=-(n*(l*m-s*g)-a*(r*m-i*g)+p*(r*s-i*l)),e[15]=n*(l*h-s*f)-a*(r*h-i*f)+c*(r*s-i*l),e}function WUe(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],l=e[6],s=e[7],u=e[8],c=e[9],f=e[10],h=e[11],d=e[12],p=e[13],g=e[14],m=e[15],v=t*a-n*o,y=t*l-r*o,b=t*s-i*o,C=n*l-r*a,x=n*s-i*a,S=r*s-i*l,w=u*p-c*d,O=u*g-f*d,$=u*m-h*d,P=c*g-f*p,T=c*m-h*p,R=f*m-h*g;return v*R-y*T+b*P+C*$-x*O+S*w}function Ol(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=t[9],d=t[10],p=t[11],g=t[12],m=t[13],v=t[14],y=t[15],b=n[0],C=n[1],x=n[2],S=n[3];return e[0]=b*r+C*l+x*f+S*g,e[1]=b*i+C*s+x*h+S*m,e[2]=b*o+C*u+x*d+S*v,e[3]=b*a+C*c+x*p+S*y,b=n[4],C=n[5],x=n[6],S=n[7],e[4]=b*r+C*l+x*f+S*g,e[5]=b*i+C*s+x*h+S*m,e[6]=b*o+C*u+x*d+S*v,e[7]=b*a+C*c+x*p+S*y,b=n[8],C=n[9],x=n[10],S=n[11],e[8]=b*r+C*l+x*f+S*g,e[9]=b*i+C*s+x*h+S*m,e[10]=b*o+C*u+x*d+S*v,e[11]=b*a+C*c+x*p+S*y,b=n[12],C=n[13],x=n[14],S=n[15],e[12]=b*r+C*l+x*f+S*g,e[13]=b*i+C*s+x*h+S*m,e[14]=b*o+C*u+x*d+S*v,e[15]=b*a+C*c+x*p+S*y,e}function a0(e,t,n){var r=n[0],i=n[1],o=n[2],a,l,s,u,c,f,h,d,p,g,m,v;return t===e?(e[12]=t[0]*r+t[4]*i+t[8]*o+t[12],e[13]=t[1]*r+t[5]*i+t[9]*o+t[13],e[14]=t[2]*r+t[6]*i+t[10]*o+t[14],e[15]=t[3]*r+t[7]*i+t[11]*o+t[15]):(a=t[0],l=t[1],s=t[2],u=t[3],c=t[4],f=t[5],h=t[6],d=t[7],p=t[8],g=t[9],m=t[10],v=t[11],e[0]=a,e[1]=l,e[2]=s,e[3]=u,e[4]=c,e[5]=f,e[6]=h,e[7]=d,e[8]=p,e[9]=g,e[10]=m,e[11]=v,e[12]=a*r+c*i+p*o+t[12],e[13]=l*r+f*i+g*o+t[13],e[14]=s*r+h*i+m*o+t[14],e[15]=u*r+d*i+v*o+t[15]),e}function BD(e,t,n){var r=n[0],i=n[1],o=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Enn(e,t,n,r){var i=r[0],o=r[1],a=r[2],l=Math.hypot(i,o,a),s,u,c,f,h,d,p,g,m,v,y,b,C,x,S,w,O,$,P,T,R,M,A,N;return l0?(n[0]=(l*a+c*r+s*o-u*i)*2/f,n[1]=(s*a+c*i+u*r-l*o)*2/f,n[2]=(u*a+c*o+l*i-s*r)*2/f):(n[0]=(l*a+c*r+s*o-u*i)*2,n[1]=(s*a+c*i+u*r-l*o)*2,n[2]=(u*a+c*o+l*i-s*r)*2),UUe(e,t,n),e}function FD(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function P4(e,t){var n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],l=t[6],s=t[8],u=t[9],c=t[10];return e[0]=Math.hypot(n,r,i),e[1]=Math.hypot(o,a,l),e[2]=Math.hypot(s,u,c),e}function HD(e,t){var n=new Io(3);P4(n,t);var r=1/n[0],i=1/n[1],o=1/n[2],a=t[0]*r,l=t[1]*i,s=t[2]*o,u=t[4]*r,c=t[5]*i,f=t[6]*o,h=t[8]*r,d=t[9]*i,p=t[10]*o,g=a+c+p,m=0;return g>0?(m=Math.sqrt(g+1)*2,e[3]=.25*m,e[0]=(f-d)/m,e[1]=(h-s)/m,e[2]=(l-u)/m):a>c&&a>p?(m=Math.sqrt(1+a-c-p)*2,e[3]=(f-d)/m,e[0]=.25*m,e[1]=(l+u)/m,e[2]=(h+s)/m):c>p?(m=Math.sqrt(1+c-a-p)*2,e[3]=(h-s)/m,e[0]=(l+u)/m,e[1]=.25*m,e[2]=(f+d)/m):(m=Math.sqrt(1+p-a-c)*2,e[3]=(l-u)/m,e[0]=(h+s)/m,e[1]=(f+d)/m,e[2]=.25*m),e}function Nnn(e,t,n,r){var i=t[0],o=t[1],a=t[2],l=t[3],s=i+i,u=o+o,c=a+a,f=i*s,h=i*u,d=i*c,p=o*u,g=o*c,m=a*c,v=l*s,y=l*u,b=l*c,C=r[0],x=r[1],S=r[2];return e[0]=(1-(p+m))*C,e[1]=(h+b)*C,e[2]=(d-y)*C,e[3]=0,e[4]=(h-b)*x,e[5]=(1-(f+m))*x,e[6]=(g+v)*x,e[7]=0,e[8]=(d+y)*S,e[9]=(g-v)*S,e[10]=(1-(f+p))*S,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function K9(e,t,n,r,i){var o=t[0],a=t[1],l=t[2],s=t[3],u=o+o,c=a+a,f=l+l,h=o*u,d=o*c,p=o*f,g=a*c,m=a*f,v=l*f,y=s*u,b=s*c,C=s*f,x=r[0],S=r[1],w=r[2],O=i[0],$=i[1],P=i[2],T=(1-(g+v))*x,R=(d+C)*x,M=(p-b)*x,A=(d-C)*S,N=(1-(h+v))*S,j=(m+y)*S,D=(p+b)*w,L=(m-y)*w,B=(1-(h+g))*w;return e[0]=T,e[1]=R,e[2]=M,e[3]=0,e[4]=A,e[5]=N,e[6]=j,e[7]=0,e[8]=D,e[9]=L,e[10]=B,e[11]=0,e[12]=n[0]+O-(T*O+A*$+D*P),e[13]=n[1]+$-(R*O+N*$+L*P),e[14]=n[2]+P-(M*O+j*$+B*P),e[15]=1,e}function Rae(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n+n,l=r+r,s=i+i,u=n*a,c=r*a,f=r*l,h=i*a,d=i*l,p=i*s,g=o*a,m=o*l,v=o*s;return e[0]=1-f-p,e[1]=c+v,e[2]=h-m,e[3]=0,e[4]=c-v,e[5]=1-u-p,e[6]=d+g,e[7]=0,e[8]=h+m,e[9]=d-g,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function Ann(e,t,n,r,i,o,a){var l=1/(n-t),s=1/(i-r),u=1/(o-a);return e[0]=o*2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o*2*s,e[6]=0,e[7]=0,e[8]=(n+t)*l,e[9]=(i+r)*s,e[10]=(a+o)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*o*2*u,e[15]=0,e}function GUe(e,t,n,r,i){var o=1/Math.tan(t/2),a;return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,i!=null&&i!==1/0?(a=1/(r-i),e[10]=(i+r)*a,e[14]=2*i*r*a):(e[10]=-1,e[14]=-2*r),e}var knn=GUe;function jnn(e,t,n,r,i){var o=1/Math.tan(t/2),a;return e[0]=o/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,i!=null&&i!==1/0?(a=1/(r-i),e[10]=i*a,e[14]=i*r*a):(e[10]=-1,e[14]=-r),e}function Dnn(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),o=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),s=2/(a+l),u=2/(i+o);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-((a-l)*s*.5),e[9]=(i-o)*u*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function KUe(e,t,n,r,i,o,a){var l=1/(t-n),s=1/(r-i),u=1/(o-a);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*l,e[13]=(i+r)*s,e[14]=(a+o)*u,e[15]=1,e}var XUe=KUe;function YUe(e,t,n,r,i,o,a){var l=1/(t-n),s=1/(r-i),u=1/(o-a);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=u,e[11]=0,e[12]=(t+n)*l,e[13]=(i+r)*s,e[14]=o*u,e[15]=1,e}function ZUe(e,t,n,r){var i,o,a,l,s,u,c,f,h,d,p=t[0],g=t[1],m=t[2],v=r[0],y=r[1],b=r[2],C=n[0],x=n[1],S=n[2];return Math.abs(p-C)0&&(d=1/Math.sqrt(d),c*=d,f*=d,h*=d);var p=s*h-u*f,g=u*c-l*h,m=l*f-s*c;return d=p*p+g*g+m*m,d>0&&(d=1/Math.sqrt(d),p*=d,g*=d,m*=d),e[0]=p,e[1]=g,e[2]=m,e[3]=0,e[4]=f*m-h*g,e[5]=h*p-c*m,e[6]=c*g-f*p,e[7]=0,e[8]=c,e[9]=f,e[10]=h,e[11]=0,e[12]=i,e[13]=o,e[14]=a,e[15]=1,e}function znn(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function Bnn(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function Fnn(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function QUe(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function Hnn(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Wnn(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function qnn(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function Vnn(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],l=e[5],s=e[6],u=e[7],c=e[8],f=e[9],h=e[10],d=e[11],p=e[12],g=e[13],m=e[14],v=e[15],y=t[0],b=t[1],C=t[2],x=t[3],S=t[4],w=t[5],O=t[6],$=t[7],P=t[8],T=t[9],R=t[10],M=t[11],A=t[12],N=t[13],j=t[14],D=t[15];return Math.abs(n-y)<=Ki*Math.max(1,Math.abs(n),Math.abs(y))&&Math.abs(r-b)<=Ki*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-C)<=Ki*Math.max(1,Math.abs(i),Math.abs(C))&&Math.abs(o-x)<=Ki*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(a-S)<=Ki*Math.max(1,Math.abs(a),Math.abs(S))&&Math.abs(l-w)<=Ki*Math.max(1,Math.abs(l),Math.abs(w))&&Math.abs(s-O)<=Ki*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(u-$)<=Ki*Math.max(1,Math.abs(u),Math.abs($))&&Math.abs(c-P)<=Ki*Math.max(1,Math.abs(c),Math.abs(P))&&Math.abs(f-T)<=Ki*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(h-R)<=Ki*Math.max(1,Math.abs(h),Math.abs(R))&&Math.abs(d-M)<=Ki*Math.max(1,Math.abs(d),Math.abs(M))&&Math.abs(p-A)<=Ki*Math.max(1,Math.abs(p),Math.abs(A))&&Math.abs(g-N)<=Ki*Math.max(1,Math.abs(g),Math.abs(N))&&Math.abs(m-j)<=Ki*Math.max(1,Math.abs(m),Math.abs(j))&&Math.abs(v-D)<=Ki*Math.max(1,Math.abs(v),Math.abs(D))}var JUe=Ol,Unn=QUe;const Gnn=Object.freeze(Object.defineProperty({__proto__:null,add:Fnn,adjoint:Onn,clone:Pae,copy:hy,create:ci,determinant:WUe,equals:Vnn,exactEquals:qnn,frob:Bnn,fromQuat:Rae,fromQuat2:Inn,fromRotation:Pnn,fromRotationTranslation:UUe,fromRotationTranslationScale:Nnn,fromRotationTranslationScaleOrigin:K9,fromScaling:Mae,fromTranslation:Tae,fromValues:wnn,fromXRotation:Tnn,fromYRotation:Mnn,fromZRotation:Rnn,frustum:Ann,getRotation:HD,getScaling:P4,getTranslation:FD,identity:SP,invert:pd,lookAt:ZUe,mul:JUe,multiply:Ol,multiplyScalar:Hnn,multiplyScalarAndAdd:Wnn,ortho:XUe,orthoNO:KUe,orthoZO:YUe,perspective:knn,perspectiveFromFieldOfView:Dnn,perspectiveNO:GUe,perspectiveZO:jnn,rotate:Enn,rotateX:qUe,rotateY:VUe,rotateZ:$nn,scale:BD,set:vJ,str:znn,sub:Unn,subtract:QUe,targetTo:Lnn,translate:a0,transpose:HUe},Symbol.toStringTag,{value:"Module"}));function _r(){var e=new Io(3);return Io!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function Rp(e){var t=new Io(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Fp(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function Br(e,t,n){var r=new Io(3);return r[0]=e,r[1]=t,r[2]=n,r}function Cs(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function ud(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function j3(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function k8e(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function Knn(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function yJ(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function Xnn(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.hypot(n,r,i)}function Uv(e,t){var n=t[0],r=t[1],i=t[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e}function yf(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function qk(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],l=n[1],s=n[2];return e[0]=i*s-o*l,e[1]=o*a-r*s,e[2]=r*l-i*a,e}function bJ(e,t,n,r){var i=t[0],o=t[1],a=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e}function xa(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,e[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,e[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,e[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,e}function eGe(e,t,n){var r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function Ynn(e,t,n){var r=n[0],i=n[1],o=n[2],a=n[3],l=t[0],s=t[1],u=t[2],c=i*u-o*s,f=o*l-r*u,h=r*s-i*l,d=i*h-o*f,p=o*c-r*h,g=r*f-i*c,m=a*2;return c*=m,f*=m,h*=m,d*=2,p*=2,g*=2,e[0]=l+c+d,e[1]=s+f+p,e[2]=u+h+g,e}function P8(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],l=t[2];return Math.abs(n-o)<=Ki*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=Ki*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-l)<=Ki*Math.max(1,Math.abs(i),Math.abs(l))}var j8e=Xnn,tGe=Fp;(function(){var e=_r();return function(t,n,r,i,o,a){var l,s;for(n||(n=3),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;l0&&(a=1/Math.sqrt(a)),e[0]=n*a,e[1]=r*a,e[2]=i*a,e[3]=o*a,e}function l3(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,e}(function(){var e=a3();return function(t,n,r,i,o,a){var l,s;for(n||(n=4),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;lKi?(h=Math.acos(d),p=Math.sin(h),g=Math.sin((1-r)*h)/p,m=Math.sin(r*h)/p):(g=1-r,m=r),e[0]=g*i+m*s,e[1]=g*o+m*u,e[2]=g*a+m*c,e[3]=g*l+m*f,e}function dK(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o,l=a?1/a:0;return e[0]=-n*l,e[1]=-r*l,e[2]=-i*l,e[3]=o*l,e}function ern(e,t){var n=t[0]+t[4]+t[8],r;if(n>0)r=Math.sqrt(n+1),e[3]=.5*r,r=.5/r,e[0]=(t[5]-t[7])*r,e[1]=(t[6]-t[2])*r,e[2]=(t[1]-t[3])*r;else{var i=0;t[4]>t[0]&&(i=1),t[8]>t[i*3+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;r=Math.sqrt(t[i*3+i]-t[o*3+o]-t[a*3+a]+1),e[i]=.5*r,r=.5/r,e[3]=(t[o*3+a]-t[a*3+o])*r,e[o]=(t[o*3+i]+t[i*3+o])*r,e[a]=(t[a*3+i]+t[i*3+a])*r}return e}function qN(e,t,n,r){var i=.5*Math.PI/180;t*=i,n*=i,r*=i;var o=Math.sin(t),a=Math.cos(t),l=Math.sin(n),s=Math.cos(n),u=Math.sin(r),c=Math.cos(r);return e[0]=o*s*c-a*l*u,e[1]=a*l*c+o*s*u,e[2]=a*s*u-o*l*c,e[3]=a*s*c+o*l*u,e}var fK=Znn,VN=Qnn,D8e=l0,WD=Jnn;(function(){var e=_r(),t=Br(1,0,0),n=Br(0,1,0);return function(r,i,o){var a=yf(i,o);return a<-.999999?(qk(e,t,i),tGe(e)<1e-6&&qk(e,n,i),Uv(e,e),q1(r,e,Math.PI),r):a>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(qk(e,i,o),r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=1+a,WD(r,r))}})();(function(){var e=Fo(),t=Fo();return function(n,r,i,o,a,l){return uK(e,r,a,l),uK(t,i,o,l),uK(n,e,t,2*l*(1-l)),n}})();(function(){var e=LC();return function(t,n,r,i){return e[0]=r[0],e[3]=r[1],e[6]=r[2],e[1]=i[0],e[4]=i[1],e[7]=i[2],e[2]=-n[0],e[5]=-n[1],e[8]=-n[2],WD(t,ern(t,e))}})();function trn(){var e=new Io(2);return Io!=Float32Array&&(e[0]=0,e[1]=0),e}function nrn(e,t){var n=new Io(2);return n[0]=e,n[1]=t,n}function rrn(e,t){return e[0]=t[0],e[1]=t[1],e}function irn(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e}function orn(e,t){return e[0]*t[0]+e[1]*t[1]}function arn(e,t){return e[0]===t[0]&&e[1]===t[1]}(function(){var e=trn();return function(t,n,r,i,o,a){var l,s;for(n||(n=2),r||(r=0),i?s=Math.min(i*n+r,t.length):s=t.length,l=r;l0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ae(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function nGe(){for(var e=0,t=0,n=arguments.length;t7){e[n].shift();for(var r=e[n],i=n;r.length;)t[n]="A",e.splice(i+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}var X9={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0};function iGe(e){return Array.isArray(e)&&e.every(function(t){var n=t[0].toLowerCase();return X9[n]===t.length-1&&"achlmqstvz".includes(n)})}function oGe(e){return iGe(e)&&e.every(function(t){var n=t[0];return n===n.toUpperCase()})}function aGe(e){return oGe(e)&&e.every(function(t){var n=t[0];return"ACLMQZ".includes(n)})}function L8e(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=X9[n]&&(n==="m"&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t=t==="m"?"l":"L"):e.segments.push([t].concat(r.splice(0,X9[n]))),!!X9[n]););}function srn(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(r===48){e.param=0,e.index+=1;return}if(r===49){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}function crn(e){return e>=48&&e<=57||e===43||e===45||e===46}function m2(e){return e>=48&&e<=57}function urn(e){var t=e.max,n=e.pathValue,r=e.index,i=r,o=!1,a=!1,l=!1,s=!1,u;if(i>=t){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if(u=n.charCodeAt(i),(u===43||u===45)&&(i+=1,u=n.charCodeAt(i)),!m2(u)&&u!==46){e.err="[path-util]: Invalid path value at index "+i+', "'+n[i]+'" is not a number';return}if(u!==46){if(o=u===48,i+=1,u=n.charCodeAt(i),o&&i=5760&&t.includes(e)}function Vk(e){for(var t=e.pathValue,n=e.max;e.index0;a-=1){if(prn(i)&&(a===3||a===4)?srn(e):urn(e),e.err.length)return;e.data.push(e.param),Vk(e),e.index=e.max||!crn(n.charCodeAt(e.index)))break}L8e(e)}var grn=function(){function e(t){this.pathValue=t,this.segments=[],this.max=t.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""}return e}();function mrn(e){if(iGe(e))return[].concat(e);var t=new grn(e);for(Vk(t);t.index1&&(P=Math.sqrt(P),h*=P,d*=P);var T=h*h,R=d*d,M=(o===a?-1:1)*Math.sqrt(Math.abs((T*R-T*$*$-R*O*O)/(T*$*$+R*O*O)));S=M*h*$/d+(c+p)/2,w=M*-d*O/h+(f+g)/2,C=Math.asin(((f-w)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),x=Math.asin(((g-w)/d*Math.pow(10,9)>>0)/Math.pow(10,9)),C=cx&&(C-=Math.PI*2),!a&&x>C&&(x-=Math.PI*2)}var A=x-C;if(Math.abs(A)>m){var N=x,j=p,D=g;x=C+m*(a&&x>C?1:-1),p=S+h*Math.cos(x),g=w+d*Math.sin(x),y=Iae(p,g,h,d,i,0,a,j,D,[x,N,S,w])}A=x-C;var L=Math.cos(C),B=Math.sin(C),k=Math.cos(x),z=Math.sin(x),q=Math.tan(A/4),W=4/3*h*q,U=4/3*d*q,K=[c,f],X=[c+W*B,f-U*L],G=[p+W*z,g-U*k],Y=[p,g];if(X[0]=2*K[0]-X[0],X[1]=2*K[1]-X[1],u)return X.concat(G,Y,y);y=X.concat(G,Y,y);for(var J=[],ee=0,Q=y.length;ee=o)a={x:n,y:r};else{var l=M1([e,t],[n,r],i/o),s=l[0],u=l[1];a={x:s,y:u}}return{length:o,point:a,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function B8e(e,t){var n=e.x,r=e.y,i=t.x,o=t.y,a=n*i+r*o,l=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(o,2))),s=n*o-r*i<0?-1:1,u=s*Math.acos(a/l);return u}function wrn(e,t,n,r,i,o,a,l,s,u){var c=Math.abs,f=Math.sin,h=Math.cos,d=Math.sqrt,p=Math.PI,g=c(n),m=c(r),v=(i%360+360)%360,y=v*(p/180);if(e===l&&t===s)return{x:e,y:t};if(g===0||m===0)return xJ(e,t,l,s,u).point;var b=(e-l)/2,C=(t-s)/2,x={x:h(y)*b+f(y)*C,y:-f(y)*b+h(y)*C},S=Math.pow(x.x,2)/Math.pow(g,2)+Math.pow(x.y,2)/Math.pow(m,2);S>1&&(g*=d(S),m*=d(S));var w=Math.pow(g,2)*Math.pow(m,2)-Math.pow(g,2)*Math.pow(x.y,2)-Math.pow(m,2)*Math.pow(x.x,2),O=Math.pow(g,2)*Math.pow(x.y,2)+Math.pow(m,2)*Math.pow(x.x,2),$=w/O;$=$<0?0:$;var P=(o!==a?1:-1)*d($),T={x:P*(g*x.y/m),y:P*(-(m*x.x)/g)},R={x:h(y)*T.x-f(y)*T.y+(e+l)/2,y:f(y)*T.x+h(y)*T.y+(t+s)/2},M={x:(x.x-T.x)/g,y:(x.y-T.y)/m},A=B8e({x:1,y:0},M),N={x:(-x.x-T.x)/g,y:(-x.y-T.y)/m},j=B8e(M,N);!a&&j>0?j-=2*p:a&&j<0&&(j+=2*p),j%=2*p;var D=A+j*u,L=g*h(D),B=m*f(D),k={x:h(y)*L-f(y)*B+R.x,y:f(y)*L+h(y)*B+R.y};return k}function Orn(e,t,n,r,i,o,a,l,s,u,c){var f,h=c.bbox,d=h===void 0?!0:h,p=c.length,g=p===void 0?!0:p,m=c.sampleSize,v=m===void 0?30:m,y=typeof u=="number",b=e,C=t,x=0,S=[b,C,x],w=[b,C],O=0,$={x:0,y:0},P=[{x:b,y:C}];y&&u<=0&&($={x:b,y:C});for(var T=0;T<=v;T+=1){if(O=T/v,f=wrn(e,t,n,r,i,o,a,l,s,O),b=f.x,C=f.y,d&&P.push({x:b,y:C}),g&&(x+=ys(w,[b,C])),w=[b,C],y&&x>=u&&u>S[2]){var R=(x-u)/(x-S[2]);$={x:w[0]*(1-R)+S[0]*R,y:w[1]*(1-R)+S[1]*R}}S=[b,C,x]}return y&&u>=x&&($={x:l,y:s}),{length:x,point:$,min:{x:Math.min.apply(null,P.map(function(M){return M.x})),y:Math.min.apply(null,P.map(function(M){return M.y}))},max:{x:Math.max.apply(null,P.map(function(M){return M.x})),y:Math.max.apply(null,P.map(function(M){return M.y}))}}}function Ern(e,t,n,r,i,o,a,l,s){var u=1-s;return{x:Math.pow(u,3)*e+3*Math.pow(u,2)*s*n+3*u*Math.pow(s,2)*i+Math.pow(s,3)*a,y:Math.pow(u,3)*t+3*Math.pow(u,2)*s*r+3*u*Math.pow(s,2)*o+Math.pow(s,3)*l}}function lGe(e,t,n,r,i,o,a,l,s,u){var c,f=u.bbox,h=f===void 0?!0:f,d=u.length,p=d===void 0?!0:d,g=u.sampleSize,m=g===void 0?10:g,v=typeof s=="number",y=e,b=t,C=0,x=[y,b,C],S=[y,b],w=0,O={x:0,y:0},$=[{x:y,y:b}];v&&s<=0&&(O={x:y,y:b});for(var P=0;P<=m;P+=1){if(w=P/m,c=Ern(e,t,n,r,i,o,a,l,w),y=c.x,b=c.y,h&&$.push({x:y,y:b}),p&&(C+=ys(S,[y,b])),S=[y,b],v&&C>=s&&s>x[2]){var T=(C-s)/(C-x[2]);O={x:S[0]*(1-T)+x[0]*T,y:S[1]*(1-T)+x[1]*T}}x=[y,b,C]}return v&&s>=C&&(O={x:a,y:l}),{length:C,point:O,min:{x:Math.min.apply(null,$.map(function(R){return R.x})),y:Math.min.apply(null,$.map(function(R){return R.y}))},max:{x:Math.max.apply(null,$.map(function(R){return R.x})),y:Math.max.apply(null,$.map(function(R){return R.y}))}}}function $rn(e,t,n,r,i,o,a){var l=1-a;return{x:Math.pow(l,2)*e+2*l*a*n+Math.pow(a,2)*i,y:Math.pow(l,2)*t+2*l*a*r+Math.pow(a,2)*o}}function Prn(e,t,n,r,i,o,a,l){var s,u=l.bbox,c=u===void 0?!0:u,f=l.length,h=f===void 0?!0:f,d=l.sampleSize,p=d===void 0?10:d,g=typeof a=="number",m=e,v=t,y=0,b=[m,v,y],C=[m,v],x=0,S={x:0,y:0},w=[{x:m,y:v}];g&&a<=0&&(S={x:m,y:v});for(var O=0;O<=p;O+=1){if(x=O/p,s=$rn(e,t,n,r,i,o,x),m=s.x,v=s.y,c&&w.push({x:m,y:v}),h&&(y+=ys(C,[m,v])),C=[m,v],g&&y>=a&&a>b[2]){var $=(y-a)/(y-b[2]);S={x:C[0]*(1-$)+b[0]*$,y:C[1]*(1-$)+b[1]*$}}b=[m,v,y]}return g&&a>=y&&(S={x:i,y:o}),{length:y,point:S,min:{x:Math.min.apply(null,w.map(function(P){return P.x})),y:Math.min.apply(null,w.map(function(P){return P.y}))},max:{x:Math.max.apply(null,w.map(function(P){return P.x})),y:Math.max.apply(null,w.map(function(P){return P.y}))}}}function sGe(e,t,n){for(var r,i,o,a,l,s,u=qD(e),c=typeof t=="number",f,h=[],d,p=0,g=0,m=0,v=0,y,b=[],C=[],x=0,S={x:0,y:0},w=S,O=S,$=S,P=0,T=0,R=u.length;T=t&&($=O),C.push(w),b.push(S),P+=x,s=d!=="Z"?y.slice(-2):[m,v],p=s[0],g=s[1];return c&&t>=P&&($={x:p,y:g}),{length:P,point:$,min:{x:Math.min.apply(null,b.map(function(M){return M.x})),y:Math.min.apply(null,b.map(function(M){return M.y}))},max:{x:Math.max.apply(null,C.map(function(M){return M.x})),y:Math.max.apply(null,C.map(function(M){return M.y}))}}}function Trn(e,t){return sGe(e,void 0,Mt(Mt({},t),{bbox:!1,length:!0})).length}function Mrn(e){var t=e.length,n=t-1;return e.map(function(r,i){return e.map(function(o,a){var l=i+a,s;return a===0||e[l]&&e[l][0]==="M"?(s=e[l],["M"].concat(s.slice(-2))):(l>=t&&(l-=n),e[l])})})}function Rrn(e,t){var n=e.length-1,r=[],i=0,o=0,a=Mrn(e);return a.forEach(function(l,s){e.slice(1).forEach(function(u,c){o+=ys(e[(s+c)%n].slice(-2),t[c%n].slice(-2))}),r[s]=o,o=0}),i=r.indexOf(Math.min.apply(null,r)),a[i]}function Irn(e,t,n,r,i,o,a,l){return 3*((l-t)*(n+i)-(a-e)*(r+o)+r*(e-i)-n*(t-o)+l*(i+e/3)-a*(o+t/3))/20}function Nrn(e){var t=0,n=0,r=0;return SJ(e).map(function(i){var o;switch(i[0]){case"M":return t=i[1],n=i[2],0;default:var a=i.slice(1),l=a[0],s=a[1],u=a[2],c=a[3],f=a[4],h=a[5];return r=Irn(t,n,l,s,u,c,f,h),o=i.slice(-2),t=o[0],n=o[1],r}}).reduce(function(i,o){return i+o},0)}function F8e(e){return Nrn(e)>=0}function Arn(e,t,n){return sGe(e,t,Mt(Mt({},n),{bbox:!1,length:!0})).point}function krn(e,t){t===void 0&&(t=.5);var n=e.slice(0,2),r=e.slice(2,4),i=e.slice(4,6),o=e.slice(6,8),a=M1(n,r,t),l=M1(r,i,t),s=M1(i,o,t),u=M1(a,l,t),c=M1(l,s,t),f=M1(u,c,t);return[["C"].concat(a,u,f),["C"].concat(c,s,o)]}function H8e(e){return e.map(function(t,n,r){var i=n&&r[n-1].slice(-2).concat(t.slice(1)),o=n?lGe(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],{bbox:!1}).length:0,a;return n?a=o?krn(i):[t,t]:a=[t],{s:t,ss:a,l:o}})}function cGe(e,t,n){var r=H8e(e),i=H8e(t),o=r.length,a=i.length,l=r.filter(function(m){return m.l}).length,s=i.filter(function(m){return m.l}).length,u=r.filter(function(m){return m.l}).reduce(function(m,v){var y=v.l;return m+y},0)/l||0,c=i.filter(function(m){return m.l}).reduce(function(m,v){var y=v.l;return m+y},0)/s||0,f=n||Math.max(o,a),h=[u,c],d=[f-o,f-a],p=0,g=[r,i].map(function(m,v){return m.l===f?m.map(function(y){return y.s}):m.map(function(y,b){return p=b&&d[v]&&y.l>=h[v],d[v]-=p?1:0,p?y.ss:[y.s]}).flat()});return g[0].length===g[1].length?g:cGe(g[0],g[1],f)}function W8e(e){var t=document.createElement("div");t.innerHTML=e;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}function Ni(e,t){if(e!==null)return{type:"column",value:e,field:t}}function qF(e,t){const n=Ni(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function VD(e,t){if(e!==null)return{type:"column",value:e,field:t,visual:!0}}function jrn(e,t){const n=Ni(e,t);return Object.assign(Object.assign({},n),{constant:!1})}function s0(e,t){const n=[];for(const r of e)n[r]=t;return n}function Nr(e,t){const n=e[t];if(!n)return[null,null];const{value:r,field:i=null}=n;return[r,i]}function _7(e,...t){for(const n of t)if(typeof n=="string"){const[r,i]=Nr(e,n);if(r!==null)return[r,i]}else return[n,null];return[null,null]}function xP(e){return e instanceof Date?!1:typeof e=="object"}const _P=()=>(e,t)=>{const{encode:n}=t,{y1:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{y1:qF(s0(e,0))}})]};_P.props={};function ho(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function Drn(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function R4(e){let t,n,r;e.length!==2?(t=ho,n=(l,s)=>ho(e(l),s),r=(l,s)=>e(l)-s):(t=e===ho||e===Drn?e:Lrn,n=e,r=e);function i(l,s,u=0,c=l.length){if(u>>1;n(l[f],s)<0?u=f+1:c=f}while(u>>1;n(l[f],s)<=0?u=f+1:c=f}while(uu&&r(l[f-1],s)>-r(l[f],s)?f-1:f}return{left:i,center:a,right:o}}function Lrn(){return 0}function _J(e){return e===null?NaN:+e}function*zrn(e,t){if(t===void 0)for(let n of e)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}const uGe=R4(ho),Brn=uGe.right,Frn=uGe.left,Hrn=R4(_J).center;function dGe(e,t){let n=0;if(t===void 0)for(let r of e)r!=null&&(r=+r)>=r&&++n;else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(i=+i)>=i&&++n}return n}function Wrn(e,t){let n=0,r,i=0,o=0;if(t===void 0)for(let a of e)a!=null&&(a=+a)>=a&&(r=a-i,i+=r/++n,o+=r*(a-i));else{let a=-1;for(let l of e)(l=t(l,++a,e))!=null&&(l=+l)>=l&&(r=l-i,i+=r/++n,o+=r*(l-i))}if(n>1)return o/(n-1)}function fGe(e,t){const n=Wrn(e,t);return n&&Math.sqrt(n)}function eh(e,t){let n,r;if(t===void 0)for(const i of e)i!=null&&(n===void 0?i>=i&&(n=r=i):(n>i&&(n=i),r=o&&(n=r=o):(n>o&&(n=o),r=r.length)return n(o);const l=new LFt,s=r[a++];let u=-1;for(const c of o){const f=s(c,++u,o),h=l.get(f);h?h.push(c):l.set(f,[c])}for(const[c,f]of l)l.set(c,i(f,a));return t(l)}(e,0)}function qrn(e,t){return Array.from(t,n=>e[n])}function th(e,...t){if(typeof e[Symbol.iterator]!="function")throw new TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&n.length!==2||t.length>1){const r=Uint32Array.from(e,(i,o)=>o);return t.length>1?(t=t.map(i=>e.map(i)),r.sort((i,o)=>{for(const a of t){const l=O7(a[i],a[o]);if(l)return l}})):(n=e.map(n),r.sort((i,o)=>O7(n[i],n[o]))),qrn(e,r)}return e.sort(hGe(n))}function hGe(e=ho){if(e===ho)return O7;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function O7(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}function Vrn(e,t,n){return(t.length!==2?th(Aae(e,t,n),([r,i],[o,a])=>ho(i,a)||ho(r,o)):th(Ji(e,n),([r,i],[o,a])=>t(i,a)||ho(r,o))).map(([r])=>r)}var Urn=Array.prototype,Grn=Urn.slice;function hK(e){return()=>e}const Krn=Math.sqrt(50),Xrn=Math.sqrt(10),Yrn=Math.sqrt(2);function UD(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Krn?10:o>=Xrn?5:o>=Yrn?2:1;let l,s,u;return i<0?(u=Math.pow(10,-i)/a,l=Math.round(e*u),s=Math.round(t*u),l/ut&&--s,u=-u):(u=Math.pow(10,i)*a,l=Math.round(e/u),s=Math.round(t/u),l*ut&&--s),s0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,s=new Array(l);if(r)if(a<0)for(let u=0;u0?(e=Math.floor(e/i)*i,t=Math.ceil(t/i)*i):i<0&&(e=Math.ceil(e*i)/i,t=Math.floor(t*i)/i),r=i}}function Jrn(e){return Math.max(1,Math.ceil(Math.log(dGe(e))/Math.LN2)+1)}function ein(){var e=w7,t=eh,n=Jrn;function r(i){Array.isArray(i)||(i=Array.from(i));var o,a=i.length,l,s,u=new Array(a);for(o=0;o=h)if(b>=h&&t===eh){const x=wJ(f,h,C);isFinite(x)&&(x>0?h=(Math.floor(h/x)+1)*x:x<0&&(h=(Math.ceil(h*-x)+1)/-x))}else d.pop()}for(var p=d.length,g=0,m=p;d[g]<=f;)++g;for(;d[m-1]>h;)--m;(g||m0?d[o-1]:f,y.x1=o0)for(o=0;o=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n=i)&&(n=i)}return n}function zC(e,t){let n,r=-1,i=-1;if(t===void 0)for(const o of e)++i,o!=null&&(n=o)&&(n=o,r=i);else for(let o of e)(o=t(o,++i,e))!=null&&(n=o)&&(n=o,r=i);return r}function $c(e,t){let n;if(t===void 0)for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function UF(e,t){let n,r=-1,i=-1;if(t===void 0)for(const o of e)++i,o!=null&&(n>o||n===void 0&&o>=o)&&(n=o,r=i);else for(let o of e)(o=t(o,++i,e))!=null&&(n>o||n===void 0&&o>=o)&&(n=o,r=i);return r}function kae(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?O7:hGe(i);r>n;){if(r-n>600){const s=r-n+1,u=t-n+1,c=Math.log(s),f=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*f*(s-f)/s)*(u-s/2<0?-1:1),d=Math.max(n,Math.floor(t-u*f/s+h)),p=Math.min(r,Math.floor(t+(s-u)*f/s+h));kae(e,t,d,p,i)}const o=e[t];let a=n,l=r;for(T8(e,n,t),i(e[r],o)>0&&T8(e,n,r);a0;)--l}i(e[n],o)===0?T8(e,n,l):(++l,T8(e,l,r)),l<=t&&(n=l+1),t<=l&&(r=l-1)}return e}function T8(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function tin(e,t=ho){let n,r=!1;if(t.length===1){let i;for(const o of e){const a=t(o);(r?ho(a,i)>0:ho(a,a)===0)&&(n=o,i=a,r=!0)}}else for(const i of e)(r?t(i,n)>0:t(i,i)===0)&&(n=i,r=!0);return n}function GF(e,t,n){if(e=Float64Array.from(zrn(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return $c(e);if(t>=1)return ri(e);var r,i=(r-1)*t,o=Math.floor(i),a=ri(kae(e,o).subarray(0,o+1)),l=$c(e.subarray(o+1));return a+(l-a)*(i-o)}}function nin(e,t,n=_J){if(!isNaN(t=+t)){if(r=Float64Array.from(e,(l,s)=>_J(n(e[s],s,e))),t<=0)return UF(r);if(t>=1)return zC(r);var r,i=Uint32Array.from(e,(l,s)=>s),o=r.length-1,a=Math.floor(o*t);return kae(i,a,0,o,(l,s)=>O7(r[l],r[s])),a=tin(i.subarray(0,a+1),l=>r[l]),a>=0?a:-1}}function rin(e,t,n){const r=dGe(e),i=fGe(e);return r&&i?Math.ceil((n-t)*Math.cbrt(r)/(3.49*i)):1}function E7(e,t){let n=0,r=0;if(t===void 0)for(let i of e)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of e)(o=t(o,++i,e))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function jae(e,t){return GF(e,.5,t)}function iin(e,t){return nin(e,.5,t)}function cu(e,t){let n=0;if(t===void 0)for(let r of e)(r=+r)&&(n+=r);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}var oin=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};function gy(e){return e}function Dae(e){return e.reduce((t,n)=>(r,...i)=>n(t(r,...i),...i),gy)}function ain(e){return e.reduce((t,n)=>r=>oin(this,void 0,void 0,function*(){const i=yield t(r);return n(i)}),gy)}function Lae(e){return e.replace(/( |^)[a-z]/g,t=>t.toUpperCase())}function I4(e=""){throw new Error(e)}function zae(e,t){const{attributes:n}=t,r=new Set(["id","className"]);for(const[i,o]of Object.entries(n))r.has(i)||(i==="transform"&&e.attr(i,""),e.attr(i,o))}function Pi(e){return e!=null&&!Number.isNaN(e)}function lin(e){const t=new Map;return n=>{if(t.has(n))return t.get(n);const r=e(n);return t.set(n,r),r}}function sin(e,t){const{transform:n}=e.style,i=(o=>o==="none"||o===void 0)(n)?"":n;e.style.transform=`${i} ${t}`.trimStart()}function hn(e,t){return gGe(e,t)||{}}function gGe(e,t){const n=Object.entries(e||{}).filter(([r])=>r.startsWith(t)).map(([r,i])=>[LUe(r.replace(t,"").trim()),i]).filter(([r])=>!!r);return n.length===0?null:Object.fromEntries(n)}function cin(e,t){return Object.fromEntries(Object.entries(e).filter(([n])=>t.find(r=>n.startsWith(r))))}function gK(e,...t){return Object.fromEntries(Object.entries(e).filter(([n])=>t.every(r=>!n.startsWith(r))))}function q8e(e,t){if(e===void 0)return null;if(typeof e=="number")return e;const n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function $7(e){return typeof e=="object"&&!(e instanceof Date)&&e!==null&&!Array.isArray(e)}function xh(e){return e===null||e===!1}function mGe(e,t,n=5,r=0){if(!(r>=n)){for(const i of Object.keys(t)){const o=t[i];!Sh(o)||!Sh(e[i])?e[i]=o:mGe(e[i],o,n,r+1)}return e}}function D0(e,t){return Object.entries(e).reduce((n,[r,i])=>(n[r]=t(i,r,e),n),{})}function tb(e){return e.map((t,n)=>n)}function uin(e){return e[0]}function vGe(e){return e[e.length-1]}function din(e){return Array.from(new Set(e))}function yGe(e,t){const n=[[],[]];return e.forEach(r=>{n[t(r)?0:1].push(r)}),n}function bGe(e,t=e.length){if(t===1)return e.map(r=>[r]);const n=[];for(let r=0;r{n.push([e[r],...a])})}return n}function fin(e){if(e.length===1)return[e];const t=[];for(let n=1;n<=e.length;n++)t.push(...bGe(e,n));return t}function L0(e,t,n){const{encode:r}=n;if(e===null)return[t];const i=pin(e).map(a=>{var l;return[a,(l=Nr(r,a))===null||l===void 0?void 0:l[0]]}).filter(([,a])=>Pi(a)),o=a=>i.map(([,l])=>l[a]).join("-");return Array.from(Ji(t,o).values())}function CGe(e){return Array.isArray(e)?min(e):typeof e=="function"?gin(e):e==="series"?hin:e==="value"?vin:e==="sum"?yin:e==="maxIndex"?bin:()=>null}function SGe(e,t){for(const n of e)n.sort(t)}function xGe(e,t){return(t==null?void 0:t.domain)||Array.from(new Set(e))}function pin(e){return Array.isArray(e)?e:[e]}function hin(e,t,n){return wP(r=>n[r])}function gin(e){return(t,n,r)=>wP(i=>e(t[i]))}function min(e){return(t,n,r)=>(i,o)=>e.reduce((a,l)=>a!==0?a:ho(t[i][l],t[o][l]),0)}function vin(e,t,n){return wP(r=>t[r])}function yin(e,t,n){const r=tb(e),i=Array.from(Ji(r,a=>n[+a]).entries()),o=new Map(i.map(([a,l])=>[a,l.reduce((s,u)=>s+ +t[u])]));return wP(a=>o.get(n[a]))}function bin(e,t,n){const r=tb(e),i=Array.from(Ji(r,a=>n[+a]).entries()),o=new Map(i.map(([a,l])=>[a,zC(l,s=>t[s])]));return wP(a=>o.get(n[a]))}function wP(e){return(t,n)=>ho(e(t),e(n))}const _Ge=(e={})=>{const{groupBy:t="x",orderBy:n=null,reverse:r=!1,y:i="y",y1:o="y1",series:a=!0}=e;return(l,s)=>{const{data:u,encode:c,style:f={}}=s,[h,d]=Nr(c,"y"),[p,g]=Nr(c,"y1"),[m]=a?_7(c,"series","color"):Nr(c,"color"),v=L0(t,l,s),b=CGe(n)(u,h,m);b&&SGe(v,b);const C=new Array(l.length),x=new Array(l.length),S=new Array(l.length),w=[],O=[];for(const M of v){r&&M.reverse();const A=p?+p[M[0]]:0,N=[],j=[];for(const W of M){const U=S[W]=+h[W]-A;U<0?j.push(W):U>=0&&N.push(W)}const D=N.length>0?N:j,L=j.length>0?j:N;let B=N.length-1,k=0;for(;B>0&&h[D[B]]===0;)B--;for(;k0?q=C[W]=(x[W]=q)+U:C[W]=x[W]=q}}const $=new Set(w),P=new Set(O),T=i==="y"?C:x,R=o==="y"?C:x;return[l,Dt({},s,{encode:{y0:qF(h,d),y:Ni(T,d),y1:Ni(R,g)},style:Object.assign({first:(M,A)=>$.has(A),last:(M,A)=>P.has(A)},f)})]}};_Ge.props={};function M8(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}function Cin(e){const t=e.getFullYear(),n=M8(e.getMonth()+1),r=M8(e.getDate()),i=`${t}-${n}-${r}`,o=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return o||a||l?`${i} ${M8(o)}:${M8(a)}:${M8(l)}`:i}const KF=(e={})=>{const{channel:t="x"}=e;return(n,r)=>{const{encode:i}=r,{tooltip:o}=r;if(xh(o))return[n,r];const{title:a}=o;if(a!==void 0)return[n,r];const l=Object.keys(i).filter(u=>u.startsWith(t)).filter(u=>!i[u].inferred).map(u=>Nr(i,u)).filter(([u])=>u).map(u=>u[0]);if(l.length===0)return[n,r];const s=[];for(const u of n)s[u]={value:l.map(c=>c[u]instanceof Date?Cin(c[u]):c[u]).join(", ")};return[n,Dt({},r,{tooltip:{title:s}})]}};KF.props={};const nb=()=>(e,t)=>{const{encode:n}=t,{x:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{x:qF(s0(e,0))},scale:{x:{guide:null}}})]};nb.props={};const XF=()=>(e,t)=>{const{encode:n}=t,{y:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{y:qF(s0(e,0))},scale:{y:{guide:null}}})]};XF.props={};const wGe=()=>(e,t)=>{const{encode:n}=t,{size:r}=n;return r!==void 0?[e,t]:[e,Dt({},t,{encode:{size:VD(s0(e,3))}})]};wGe.props={};var Sin=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(e,t)=>{const{encode:n}=t,{key:r}=n,i=Sin(n,["key"]);if(r!==void 0)return[e,t];const o=Object.values(i).map(({value:l})=>l),a=e.map(l=>o.filter(Array.isArray).map(s=>s[l]).join("-"));return[e,Dt({},t,{encode:{key:Ni(a)}})]};OGe.props={};const Bae=()=>(e,t)=>{const{encode:n}=t,{series:r,color:i}=n;if(r!==void 0||i===void 0)return[e,t];const[o,a]=Nr(n,"color");return[e,Dt({},t,{encode:{series:Ni(o,a)}})]};Bae.props={};const EGe=()=>(e,t)=>{const{data:n}=t;return!Array.isArray(n)||n.some(xP)?[e,t]:[e,Dt({},t,{encode:{y:Ni(n)}})]};EGe.props={};const $Ge=()=>(e,t)=>{const{data:n}=t;return!Array.isArray(n)||n.some(xP)?[e,t]:[e,Dt({},t,{encode:{x:Ni(n)}})]};$Ge.props={};const PGe=()=>(e,t)=>{const{encode:n}=t,{y1:r}=n;if(r)return[e,t];const[i]=Nr(n,"y");return[e,Dt({},t,{encode:{y1:Ni([...i])}})]};PGe.props={};const TGe=()=>(e,t)=>{const{encode:n}=t,{x1:r}=n;if(r)return[e,t];const[i]=Nr(n,"x");return[e,Dt({},t,{encode:{x1:Ni([...i])}})]};TGe.props={};const MGe=()=>(e,t)=>{const{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(xP))){const r=(i,o)=>Array.isArray(i[0])?i.map(a=>a[o]):[i[o]];return[e,Dt({},t,{encode:{x:Ni(r(n,0)),x1:Ni(r(n,1))}})]}return[e,t]};MGe.props={};const RGe=()=>(e,t)=>{const{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(xP))){const r=(i,o)=>Array.isArray(i[0])?i.map(a=>a[o]):[i[o]];return[e,Dt({},t,{encode:{y:Ni(r(n,0)),y1:Ni(r(n,1))}})]}return[e,t]};RGe.props={};const YF=e=>{const{channel:t}=e;return(n,r)=>{const{encode:i,tooltip:o}=r;if(xh(o))return[n,r];const{items:a=[]}=o;if(!a||a.length>0)return[n,r];const s=(Array.isArray(t)?t:[t]).flatMap(u=>Object.keys(i).filter(c=>c.startsWith(u)).map(c=>{const{field:f,value:h,inferred:d=!1,aggregate:p}=i[c];return d?null:p&&h?{channel:c}:f?{field:f}:h?{channel:c}:null}).filter(c=>c!==null));return[n,Dt({},r,{tooltip:{items:s}})]}};YF.props={};const Fae=()=>(e,t)=>[e,Dt({scale:{x:{padding:0},y:{padding:0}}},t)];Fae.props={};var V8e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(e,t)=>{const{data:n,style:r={}}=t,i=V8e(t,["data","style"]),{x:o,y:a}=r,l=V8e(r,["x","y"]);if(o==null||a==null)return[e,t];const s=o||0,u=a||0;return[[0],Dt({},i,{data:[0],cartesian:!0,encode:{x:Ni([s]),y:Ni([u])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:l})]};ZF.props={};const IGe=()=>(e,t)=>{const{style:n={}}=t;return[e,Dt({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,r])=>typeof r=="function").map(([r,i])=>[r,()=>i])))})]};IGe.props={};const QF=()=>(e,t)=>{const{data:n}=t;if(!Array.isArray(n)||n.some(xP))return[e,t];const r=Array.isArray(n[0])?n:[n],i=r.map(a=>a[0]),o=r.map(a=>a[1]);return[e,Dt({},t,{encode:{x:Ni(i),y:Ni(o)}})]};QF.props={};const NGe=()=>(e,t)=>{const{style:n={},encode:r}=t,{series:i}=r,{gradient:o}=n;return!o||i?[e,t]:[e,Dt({},t,{encode:{series:VD(s0(e,void 0))}})]};NGe.props={};var xin=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupBy:t="x",reverse:n=!1,orderBy:r,padding:i}=e;return xin(e,["groupBy","reverse","orderBy","padding"]),(o,a)=>{const{data:l,encode:s,scale:u}=a,{series:c}=u,[f]=Nr(s,"y"),[h]=_7(s,"series","color"),d=xGe(h,c),p=L0(t,o,a),m=CGe(r)(l,f,h);m&&SGe(p,m);const v=new Array(o.length);for(const y of p){n&&y.reverse();for(let b=0;b{const{groupBy:t=["x"],reducer:n=(a,l)=>l[a[0]],orderBy:r=null,reverse:i=!1,duration:o}=e;return(a,l)=>{const{encode:s}=l,c=(Array.isArray(t)?t:[t]).map(m=>[m,Nr(s,m)[0]]);if(c.length===0)return[a,l];let f=[a];for(const[,m]of c){const v=[];for(const y of f){const b=Array.from(Ji(y,C=>m[C]).values());v.push(...b)}f=v}if(r){const[m]=Nr(s,r);m&&f.sort((v,y)=>n(v,m)-n(y,m)),i&&f.reverse()}const h=(o||3e3)/f.length,[d]=o?[s0(a,h)]:_7(s,"enterDuration",s0(a,h)),[p]=_7(s,"enterDelay",s0(a,0)),g=new Array(a.length);for(let m=0,v=0;m+d[C]);for(const C of y)g[C]=+p[C]+v;v+=b}return[a,Dt({},l,{encode:{enterDuration:VD(d),enterDelay:VD(g)}})]}};kGe.props={};var _in=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i$c(n,i=>r[+i]),max:(n,r)=>ri(n,i=>r[+i]),first:(n,r)=>r[n[0]],last:(n,r)=>r[n[n.length-1]],mean:(n,r)=>E7(n,i=>r[+i]),median:(n,r)=>jae(n,i=>r[+i]),sum:(n,r)=>cu(n,i=>r[+i]),deviation:(n,r)=>fGe(n,i=>r[+i])}[e]||ri}const jGe=(e={})=>{const{groupBy:t="x",basis:n="max"}=e;return(r,i)=>{const{encode:o,tooltip:a}=i,l=_in(o,["x"]),s=Object.entries(l).filter(([p])=>p.startsWith("y")).map(([p])=>[p,Nr(o,p)[0]]),[,u]=s.find(([p])=>p==="y"),c=s.map(([p])=>[p,new Array(r.length)]),f=L0(t,r,i),h=win(n);for(const p of f){const g=h(p,u);for(const m of p)for(let v=0;v[p,Ni(g,Nr(o,p)[1])]))},!d&&o.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};jGe.props={};function N4(e,...t){return t.reduce((n,r)=>i=>n(r(i)),e)}function GD(e,t){return t-e?n=>(n-e)/(t-e):n=>.5}function Oin(e,t){const n=tt?e:t;return i=>Math.min(Math.max(n,i),r)}function Hae(e,t,n,r,i){let o=n||0,a=r||e.length;const l=i||(s=>s);for(;ot?a=s:o=s+1}return o}const OJ=Math.sqrt(50),EJ=Math.sqrt(10),$J=Math.sqrt(2);function Uk(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/10**i;return i>=0?(o>=OJ?10:o>=EJ?5:o>=$J?2:1)*10**i:-(10**-i)/(o>=OJ?10:o>=EJ?5:o>=$J?2:1)}function U8e(e,t,n){const r=Math.abs(t-e)/Math.max(0,n);let i=10**Math.floor(Math.log(r)/Math.LN10);const o=r/i;return o>=OJ?i*=10:o>=EJ?i*=5:o>=$J&&(i*=2),t{const r=[e,t];let i=0,o=r.length-1,a=r[i],l=r[o],s;return l0?(a=Math.floor(a/s)*s,l=Math.ceil(l/s)*s,s=Uk(a,l,n)):s<0&&(a=Math.ceil(a*s)/s,l=Math.floor(l*s)/s,s=Uk(a,l,n)),s>0?(r[i]=Math.floor(a/s)*s,r[o]=Math.ceil(l/s)*s):s<0&&(r[i]=Math.ceil(a*s)/s,r[o]=Math.floor(l*s)/s),r},P7=1e3,T7=P7*60,M7=T7*60,my=M7*24,Y9=my*7,LGe=my*30,zGe=my*365;function Nl(e,t,n,r){const i=(u,c)=>{const f=d=>r(d)%c===0;let h=c;for(;h&&!f(u);)n(u,-1),h-=1;return u},o=(u,c)=>{c&&i(u,c),t(u)},a=(u,c)=>{const f=new Date(+u);return o(f,c),f},l=(u,c)=>{const f=new Date(+u-1);return o(f,c),n(f,c),o(f),f};return{ceil:l,floor:a,range:(u,c,f,h)=>{const d=[],p=Math.floor(f),g=h?l(u,f):l(u);for(let m=g;me,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),$in=Nl(P7,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+P7*t)},e=>e.getSeconds()),Pin=Nl(T7,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+T7*t)},e=>e.getMinutes()),Tin=Nl(M7,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+M7*t)},e=>e.getHours()),Min=Nl(my,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+my*t)},e=>e.getDate()-1),BGe=Nl(LGe,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{const n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),Rin=Nl(Y9,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{const t=BGe.floor(e),n=new Date(+e);return Math.floor((+n-+t)/Y9)}),Iin=Nl(zGe,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{const n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear()),FGe={millisecond:Ein,second:$in,minute:Pin,hour:Tin,day:Min,week:Rin,month:BGe,year:Iin},Nin=Nl(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),Ain=Nl(P7,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+P7*t)},e=>e.getUTCSeconds()),kin=Nl(T7,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+T7*t)},e=>e.getUTCMinutes()),jin=Nl(M7,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+M7*t)},e=>e.getUTCHours()),Din=Nl(my,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+my*t)},e=>e.getUTCDate()-1),HGe=Nl(LGe,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{const n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),Lin=Nl(Y9,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+Y9*t)},e=>{const t=HGe.floor(e),n=new Date(+e);return Math.floor((+n-+t)/Y9)}),zin=Nl(zGe,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{const n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear()),WGe={millisecond:Nin,second:Ain,minute:kin,hour:jin,day:Din,week:Lin,month:HGe,year:zin};function Bin(e){const t=e?WGe:FGe,{year:n,month:r,week:i,day:o,hour:a,minute:l,second:s,millisecond:u}=t;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[l,1],[l,5],[l,15],[l,30],[a,1],[a,3],[a,6],[a,12],[o,1],[o,2],[i,1],[r,1],[r,3],[n,1]],year:n,millisecond:u}}function qGe(e,t,n,r,i){const o=+e,a=+t,{tickIntervals:l,year:s,millisecond:u}=Bin(i),c=([m,v])=>m.duration*v,f=r?(a-o)/r:n||5,h=r||(a-o)/f,d=l.length,p=Hae(l,h,0,d,c);let g;if(p===d){const m=U8e(o/s.duration,a/s.duration,f);g=[s,m]}else if(p){const m=h/c(l[p-1]){const o=e>t,a=o?t:e,l=o?e:t,[s,u]=qGe(a,l,n,r,i),c=[s.floor(a,u),s.ceil(l,u)];return o?c.reverse():c};var VGe=function(e){return e!==null&&typeof e!="function"&&isFinite(e.length)},Hin={}.toString,OP=function(e,t){return Hin.call(e)==="[object "+t+"]"};const UGe=function(e){return OP(e,"Function")};var Win=function(e){return e==null};const GGe=function(e){return Array.isArray?Array.isArray(e):OP(e,"Array")},qin=function(e){var t=typeof e;return e!==null&&t==="object"||t==="function"};function Vin(e,t){if(e){var n;if(GGe(e))for(var r=0,i=e.length;rt=>-e(-t),Wae=(e,t)=>{const n=Math.log(e),r=e===Math.E?Math.log:e===10?Math.log10:e===2?Math.log2:i=>Math.log(i)/n;return t?ZGe(r):r},qae=(e,t)=>{const n=e===Math.E?Math.exp:r=>e**r;return t?ZGe(n):n},Jin=(e,t,n,r)=>{const i=e<0,o=Wae(r,i),a=qae(r,i),l=e>t,s=l?t:e,u=l?e:t,c=[a(Math.floor(o(s))),a(Math.ceil(o(u)))];return l?c.reverse():c},eon=e=>t=>{const n=e(t);return R7(n)?Math.round(n):n};function ton(e,t){return n=>{n.prototype.rescale=function(){this.initRange(),this.nice();const[r]=this.chooseTransforms();this.composeOutput(r,this.chooseClamp(r))},n.prototype.initRange=function(){const{interpolator:r}=this.options;this.options.range=e(r)},n.prototype.composeOutput=function(r,i){const{domain:o,interpolator:a,round:l}=this.getOptions(),s=t(o.map(r)),u=l?eon(a):a;this.output=N4(u,s,i,r)},n.prototype.invert=void 0}}var QGe={exports:{}},non={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},JGe={exports:{}},ron=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},ion=ron,oon=Array.prototype.concat,aon=Array.prototype.slice,X8e=JGe.exports=function(t){for(var n=[],r=0,i=t.length;r=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};fc.to.keyword=function(e){return tKe[e.slice(0,3)]};function c0(e,t,n){return Math.min(Math.max(t,e),n)}function KN(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var son=QGe.exports;const con=so(son);function vK(e,t,n){let r=n;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function uon(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100,i=e[3];if(n===0)return[r*255,r*255,r*255,i];const o=r<.5?r*(1+n):r+n-r*n,a=2*r-o,l=vK(a,o,t+1/3),s=vK(a,o,t),u=vK(a,o,t-1/3);return[l*255,s*255,u*255,i]}function Y8e(e){const t=con.get(e);if(!t)return null;const{model:n,value:r}=t;return n==="rgb"?r:n==="hsl"?uon(r):null}const A4=(e,t)=>n=>e*(1-n)+t*n,don=(e,t)=>{const n=Y8e(e),r=Y8e(t);return n===null||r===null?n?()=>e:()=>t:i=>{const o=new Array(4);for(let c=0;c<4;c+=1){const f=n[c],h=r[c];o[c]=f*(1-i)+h*i}const[a,l,s,u]=o;return`rgba(${Math.round(a)}, ${Math.round(l)}, ${Math.round(s)}, ${u})`}},$P=(e,t)=>typeof e=="number"&&typeof t=="number"?A4(e,t):typeof e=="string"&&typeof t=="string"?don(e,t):()=>e,fon=(e,t)=>{const n=A4(e,t);return r=>Math.round(n(r))};function pon(e,t){const{second:n,minute:r,hour:i,day:o,week:a,month:l,year:s}=t;return n.floor(e)`${t}`:typeof e=="object"?t=>JSON.stringify(t):t=>t}let nKe=class rKe extends PP{getDefaultOptions(){return{domain:[],range:[],unknown:JF}}constructor(t){super(t)}map(t){return this.domainIndexMap.size===0&&J8e(this.domainIndexMap,this.getDomain(),this.domainKey),e9e({value:this.domainKey(t),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(t){return this.rangeIndexMap.size===0&&J8e(this.rangeIndexMap,this.getRange(),this.rangeKey),e9e({value:this.rangeKey(t),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(t){const[n]=this.options.domain,[r]=this.options.range;if(this.domainKey=t9e(n),this.rangeKey=t9e(r),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!t||t.range)&&this.rangeIndexMap.clear(),(!t||t.domain||t.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new rKe(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;const{domain:t,compare:n}=this.options;return this.sortedDomain=n?[...t].sort(n):t,this.sortedDomain}};function von(e){const t=Math.min(...e);return e.map(n=>n/t)}function yon(e,t){const n=e.length,r=t-n;return r>0?[...e,...new Array(r).fill(1)]:r<0?e.slice(0,t):e}function bon(e){return Math.round(e*1e12)/1e12}function Con(e){const{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:o,round:a,align:l}=e,s=t.length,u=yon(o,s),[c,f]=n,h=f-c,d=2/s*r+1-1/s*i,p=h/d,g=p*i/s,m=p-s*g,v=von(u),y=v.reduce((R,M)=>R+M),b=m/y,C=new Q8e(t.map((R,M)=>{const A=v[M]*b;return[R,a?Math.floor(A):A]})),x=new Q8e(t.map((R,M)=>{const N=v[M]*b+g;return[R,a?Math.floor(N):N]})),S=Array.from(x.values()).reduce((R,M)=>R+M),O=(h-(S-S/s*i))*l,$=c+O;let P=a?Math.round($):$;const T=new Array(s);for(let R=0;Rh+b*c);return{valueStep:c,valueBandWidth:f,adjustedRange:v}}let k4=class iKe extends nKe{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:JF,flex:[]}}constructor(t){super(t)}clone(){return new iKe(this.options)}getStep(t){return this.valueStep===void 0?1:typeof this.valueStep=="number"?this.valueStep:t===void 0?Array.from(this.valueStep.values())[0]:this.valueStep.get(t)}getBandWidth(t){return this.valueBandWidth===void 0?1:typeof this.valueBandWidth=="number"?this.valueBandWidth:t===void 0?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(t)}getRange(){return this.adjustedRange}getPaddingInner(){const{padding:t,paddingInner:n}=this.options;return t>0?t:n}getPaddingOuter(){const{padding:t,paddingOuter:n}=this.options;return t>0?t:n}rescale(){super.rescale();const{align:t,domain:n,range:r,round:i,flex:o}=this.options,{adjustedRange:a,valueBandWidth:l,valueStep:s}=Son({align:t,range:r,round:i,flex:o,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:n});this.valueStep=s,this.valueBandWidth=l,this.adjustedRange=a}};const yy=(e,t,n)=>{let r,i,o=e,a=t;if(o===a&&n>0)return[o];let l=Uk(o,a,n);if(l===0||!Number.isFinite(l))return[];if(l>0){o=Math.ceil(o/l),a=Math.floor(a/l),i=new Array(r=Math.ceil(a-o+1));for(let s=0;s=0&&(s=1),1-l/(a-1)-n+s}function Eon(e,t,n){const r=YGe(t);return 1-XGe(t,e)/(r-1)-n+1}function $on(e,t,n,r,i,o){const a=(e-1)/(o-i),l=(t-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/l,l/a)}function Pon(e,t){return e>=t?2-(e-1)/(t-1):1}function Ton(e,t,n,r){const i=t-e;return 1-.5*((t-r)**2+(e-n)**2)/(.1*i)**2}function Mon(e,t,n){const r=t-e;return n>r?1-((n-r)/2)**2/(.1*r)**2:1}function Ron(){return 1}const Uae=(e,t,n=5,r=!0,i=xon,o=[.25,.2,.5,.05])=>{const a=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||typeof e!="number"||typeof t!="number"||!a)return[];if(t-e<1e-15||a===1)return[e];const l={score:-2,lmin:0,lmax:0,lstep:0};let s=1;for(;s<1/0;){for(let p=0;pl.score&&(!r||R<=e&&M>=t)&&(l.lmin=R,l.lmax=M,l.lstep=A,l.score=B)}}C+=1}v+=1}}s+=1}const u=R8(l.lmax),c=R8(l.lmin),f=R8(l.lstep),h=Math.floor(won((u-c)/f))+1,d=new Array(h);d[0]=R8(c);for(let p=1;p{const[r,i]=e,[o,a]=t;let l,s;return r{const r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=e[0]>e[r],l=a?[...e].reverse():e,s=a?[...t].reverse():t;for(let u=0;u{const c=Hae(e,u,1,r)-1,f=i[c],h=o[c];return N4(h,f)(u)}},r9e=(e,t,n,r)=>(Math.min(e.length,t.length)>2?Non:Ion)(e,t,r?fon:n);let eH=class extends PP{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:A4,tickCount:5}}map(t){return KD(t)?this.output(t):this.options.unknown}invert(t){return KD(t)?this.input(t):this.options.unknown}nice(){if(!this.options.nice)return;const[t,n,r,...i]=this.getTickMethodOptions();this.options.domain=this.chooseNice()(t,n,r,...i)}getTicks(){const{tickMethod:t}=this.options,[n,r,i,...o]=this.getTickMethodOptions();return t(n,r,i,...o)}getTickMethodOptions(){const{domain:t,tickCount:n}=this.options,r=t[0],i=t[t.length-1];return[r,i,n]}chooseNice(){return DGe}rescale(){this.nice();const[t,n]=this.chooseTransforms();this.composeOutput(t,this.chooseClamp(t)),this.composeInput(t,n,this.chooseClamp(n))}chooseClamp(t){const{clamp:n,range:r}=this.options,i=this.options.domain.map(t),o=Math.min(i.length,r.length);return n?Oin(i[0],i[o-1]):vy}composeOutput(t,n){const{domain:r,range:i,round:o,interpolate:a}=this.options,l=r9e(r.map(t),i,a,o);this.output=N4(l,n,t)}composeInput(t,n,r){const{domain:i,range:o}=this.options,a=r9e(o,i.map(t),A4);this.input=N4(n,r,a)}},Ri=class sKe extends eH{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:$P,tickMethod:yy,tickCount:5}}chooseTransforms(){return[vy,vy]}clone(){return new sKe(this.options)}},cKe=class uKe extends k4{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:JF,paddingInner:1,paddingOuter:0}}constructor(t){super(t)}getPaddingInner(){return 1}clone(){return new uKe(this.options)}update(t){super.update(t)}getPaddingOuter(){return this.options.padding}};const Aon=e=>t=>t<0?-((-t)**e):t**e,kon=e=>t=>t<0?-((-t)**(1/e)):t**(1/e),jon=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);let dKe=class fKe extends eH{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:$P,tickMethod:yy,tickCount:5}}constructor(t){super(t)}chooseTransforms(){const{exponent:t}=this.options;if(t===1)return[vy,vy];const n=t===.5?jon:Aon(t),r=kon(t);return[n,r]}clone(){return new fKe(this.options)}},Don=class pKe extends dKe{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:$P,tickMethod:yy,tickCount:5,exponent:.5}}constructor(t){super(t)}update(t){super.update(t)}clone(){return new pKe(this.options)}},tH=class hKe extends PP{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(t){super(t)}map(t){if(!KD(t))return this.options.unknown;const n=Hae(this.thresholds,t,0,this.n);return this.options.range[n]}invert(t){const{range:n}=this.options,r=n.indexOf(t),i=this.thresholds;return[i[r-1],i[r]]}clone(){return new hKe(this.options)}rescale(){const{domain:t,range:n}=this.options;this.n=Math.min(t.length,n.length-1),this.thresholds=t}};const Lon=(e,t,n,r=10)=>{const i=e<0,o=qae(r,i),a=Wae(r,i),l=t=1;p-=1){const g=d*p;if(g>u)break;g>=s&&h.push(g)}}else for(;c<=f;c+=1){const d=o(c);for(let p=1;pu)break;g>=s&&h.push(g)}}h.length*2o-a);const i=[];for(let o=1;o3?0:(e-e%10!==10?1:0)*e%10]}},Gon=PJ({},Uon),us=function(e,t){for(t===void 0&&(t=2),e=String(e);e.length0?"-":"+")+us(Math.floor(Math.abs(t)/60)*100+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+us(Math.floor(Math.abs(t)/60),2)+":"+us(Math.abs(t)%60,2)}},i9e={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Xon=function(e,t,n){if(t===void 0&&(t=i9e.default),n===void 0&&(n={}),typeof e=="number"&&(e=new Date(e)),Object.prototype.toString.call(e)!=="[object Date]"||isNaN(e.getTime()))throw new Error("Invalid Date pass to format");t=i9e[t]||t;var r=[];t=t.replace(Won,function(o,a){return r.push(a),"@@@"});var i=PJ(PJ({},Gon),n);return t=t.replace(Hon,function(o){return Kon[o](e,i)}),t.replace(/@@@/g,function(){return r.shift()})};const Yon=(e,t,n,r,i)=>{const o=e>t,a=o?t:e,l=o?e:t,[s,u]=qGe(a,l,n,r,i),c=s.range(a,new Date(+l+1),u,!0);return o?c.reverse():c};function Zon(e){const t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}let Qon=class _Ke extends eH{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:Yon,interpolate:A4,mask:void 0,utc:!1}}chooseTransforms(){return[r=>+r,r=>new Date(r)]}chooseNice(){return Fin}getTickMethodOptions(){const{domain:t,tickCount:n,tickInterval:r,utc:i}=this.options,o=t[0],a=t[t.length-1];return[o,a,n,r,i]}getFormatter(){const{mask:t,utc:n}=this.options,r=n?WGe:FGe,i=n?Zon:vy;return o=>Xon(i(o),t||pon(o,r))}clone(){return new _Ke(this.options)}};var Jon=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},TJ;function ean(e){return[e(0),e(1)]}const tan=e=>{const[t,n]=e;return N4(A4(0,1),GD(t,n))};let MJ=TJ=class extends Ri{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:vy,tickMethod:yy,tickCount:5}}constructor(t){super(t)}clone(){return new TJ(this.options)}};MJ=TJ=Jon([ton(ean,tan)],MJ);function XD(e,t,n){if(e===null)return[-.5,.5];const r=xGe(e,t),o=new k4({domain:r,range:[0,1],padding:n}).getBandWidth();return[-o/2,o/2]}function YD(e,t,n){return t*(1-e)+n*e}const wKe=(e={})=>{const{padding:t=0,paddingX:n=t,paddingY:r=t,random:i=Math.random}=e;return(o,a)=>{const{encode:l,scale:s}=a,{x:u,y:c}=s,[f]=Nr(l,"x"),[h]=Nr(l,"y"),d=XD(f,u,n),p=XD(h,c,r),g=o.map(()=>YD(i(),...p)),m=o.map(()=>YD(i(),...d));return[o,Dt({scale:{x:{padding:.5},y:{padding:.5}}},a,{encode:{dy:Ni(g),dx:Ni(m)}})]}};wKe.props={};const OKe=(e={})=>{const{padding:t=0,random:n=Math.random}=e;return(r,i)=>{const{encode:o,scale:a}=i,{x:l}=a,[s]=Nr(o,"x"),u=XD(s,l,t),c=r.map(()=>YD(n(),...u));return[r,Dt({scale:{x:{padding:.5}}},i,{encode:{dx:Ni(c)}})]}};OKe.props={};const EKe=(e={})=>{const{padding:t=0,random:n=Math.random}=e;return(r,i)=>{const{encode:o,scale:a}=i,{y:l}=a,[s]=Nr(o,"y"),u=XD(s,l,t),c=r.map(()=>YD(n(),...u));return[r,Dt({scale:{y:{padding:.5}}},i,{encode:{dy:Ni(c)}})]}};EKe.props={};var nan=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupBy:t="x"}=e;return(n,r)=>{const{encode:i}=r,o=nan(i,["x"]),a=Object.entries(o).filter(([f])=>f.startsWith("y")).map(([f])=>[f,Nr(i,f)[0]]),l=a.map(([f])=>[f,new Array(n.length)]),s=L0(t,n,r),u=new Array(s.length);for(let f=0;fa.map(([,v])=>+v[m])),[p,g]=eh(d);u[f]=(p+g)/2}const c=Math.max(...u);for(let f=0;f[f,Ni(h,Nr(i,f)[1])]))})]}};$Ke.props={};const PKe=(e={})=>{const{groupBy:t="x",series:n=!0}=e;return(r,i)=>{const{encode:o}=i,[a]=Nr(o,"y"),[l,s]=Nr(o,"y1");n?_7(o,"series","color"):Nr(o,"color");const u=L0(t,r,i),c=new Array(r.length);for(const f of u){const h=f.map(d=>+a[d]);for(let d=0;dv!==d));c[p]=a[p]>g?g:a[p]}}return[r,Dt({},i,{encode:{y1:Ni(c,s)}})]}};PKe.props={};function o9e(e,t){return[e[0]]}function ran(e,t){const n=e.length-1;return[e[n]]}function ian(e,t){const n=zC(e,r=>t[r]);return[e[n]]}function oan(e,t){const n=UF(e,r=>t[r]);return[e[n]]}function aan(e){return typeof e=="function"?e:{first:o9e,last:ran,max:ian,min:oan}[e]||o9e}const nH=(e={})=>{const{groupBy:t="series",channel:n,selector:r}=e;return(i,o)=>{const{encode:a}=o,l=L0(t,i,o),[s]=Nr(a,n),u=aan(r);return[l.flatMap(c=>u(c,s)),o]}};nH.props={};var lan=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{selector:t}=e,n=lan(e,["selector"]);return nH(Object.assign({channel:"x",selector:t},n))};TKe.props={};var san=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{selector:t}=e,n=san(e,["selector"]);return nH(Object.assign({channel:"y",selector:t},n))};MKe.props={};var can=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it===null?e:`${e} of ${t}`}function uan(e){if(typeof e=="function")return[e,null];const n={mean:dan,max:pan,count:gan,first:van,last:yan,sum:man,min:han,median:fan}[e];if(!n)throw new Error(`Unknown reducer: ${e}.`);return n()}function dan(){const e=(n,r)=>E7(n,i=>+r[i]),t=z0("mean");return[e,t]}function fan(){const e=(n,r)=>jae(n,i=>+r[i]),t=z0("median");return[e,t]}function pan(){const e=(n,r)=>ri(n,i=>+r[i]),t=z0("max");return[e,t]}function han(){const e=(n,r)=>$c(n,i=>+r[i]),t=z0("min");return[e,t]}function gan(){const e=(n,r)=>n.length,t=z0("count");return[e,t]}function man(){const e=(n,r)=>cu(n,i=>+r[i]),t=z0("sum");return[e,t]}function van(){const e=(n,r)=>r[n[0]],t=z0("first");return[e,t]}function yan(){const e=(n,r)=>r[n[n.length-1]],t=z0("last");return[e,t]}const Gae=(e={})=>{const{groupBy:t}=e,n=can(e,["groupBy"]);return(r,i)=>{const{data:o,encode:a}=i,l=t(r,i);if(!l)return[r,i];const s=(d,p)=>{if(d)return d;const{from:g}=p;if(!g)return d;const[,m]=Nr(a,g);return m},u=Object.entries(n).map(([d,p])=>{const[g,m]=uan(p),[v,y]=Nr(a,d),b=s(y,p),C=l.map(x=>g(x,v??o));return[d,Object.assign(Object.assign({},jrn(C,(m==null?void 0:m(b))||b)),{aggregate:!0})]}),c=Object.keys(a).map(d=>{const[p,g]=Nr(a,d),m=l.map(v=>p[v[0]]);return[d,Ni(m,g)]}),f=l.map(d=>o[d[0]]);return[tb(l),Dt({},i,{data:f,encode:Object.fromEntries([...c,...u])})]}};Gae.props={};var ban=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{channels:t=["x","y"]}=e,n=ban(e,["channels"]),r=(i,o)=>L0(t,i,o);return Gae(Object.assign(Object.assign({},n),{groupBy:r}))};TP.props={};const RKe=(e={})=>TP(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));RKe.props={};const IKe=(e={})=>TP(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));IKe.props={};const NKe=(e={})=>TP(Object.assign(Object.assign({},e),{channels:["color"]}));NKe.props={};var AKe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii(a,o);if(i==="max")return a=>ri(a,l=>+o[l]);if(i==="min")return a=>$c(a,l=>+o[l]);if(i==="sum")return a=>cu(a,l=>+o[l]);if(i==="median")return a=>jae(a,l=>+o[l]);if(i==="mean")return a=>E7(a,l=>+o[l]);if(i==="first")return a=>o[a[0]];if(i==="last")return a=>o[a[a.length-1]];throw new Error(`Unknown reducer: ${i}`)}function San(e,t,n){const{reverse:r,channel:i}=n,{encode:o}=t,[a]=Nr(o,i),l=th(e,s=>a[s]);return r&&l.reverse(),[l,t]}function xan(e,t,n){if(!Array.isArray(n))return e;const r=new Set(n);return e.filter(i=>r.has(t[i]))}function _an(e,t,n){var r;const{reverse:i,slice:o,channel:a}=n,l=AKe(n,["reverse","slice","channel"]),{encode:s,scale:u={}}=t,c=(r=u[a])===null||r===void 0?void 0:r.domain,[f]=Nr(s,a),h=Can(a,l,s),d=xan(e,f,c),p=Vrn(d,h,v=>f[v]);i&&p.reverse();const g=typeof o=="number"?[0,o]:o,m=o?p.slice(...g):p;return[e,Dt(t,{scale:{[a]:{domain:m}}})]}const rH=(e={})=>{const{reverse:t=!1,slice:n,channel:r,ordinal:i=!0}=e,o=AKe(e,["reverse","slice","channel","ordinal"]);return(a,l)=>i?_an(a,l,Object.assign({reverse:t,slice:n,channel:r},o)):San(a,l,Object.assign({reverse:t,slice:n,channel:r},o))};rH.props={};const kKe=(e={})=>rH(Object.assign(Object.assign({},e),{channel:"x"}));kKe.props={};const jKe=(e={})=>rH(Object.assign(Object.assign({},e),{channel:"color"}));jKe.props={};const DKe=(e={})=>rH(Object.assign(Object.assign({},e),{channel:"y"}));DKe.props={};function wan(e,t){return typeof t=="string"?e.map(n=>n[t]):e.map(t)}function Oan(e,t){if(typeof e=="function")return n=>e(n,t);if(e==="sum")return n=>cu(n,r=>+t[r]);throw new Error(`Unknown reducer: ${e}`)}const LKe=(e={})=>{const{field:t,channel:n="y",reducer:r="sum"}=e;return(i,o)=>{const{data:a,encode:l}=o,[s]=Nr(l,"x"),u=t?wan(a,t):Nr(l,n)[0],c=Oan(r,u),f=pGe(i,c,h=>s[h]).map(h=>h[1]);return[i,Dt({},o,{scale:{x:{flex:f}}})]}};LKe.props={};function go([e,t],[n,r]){return[e-n,t-r]}function XN([e,t],[n,r]){return[e+n,t+r]}function Zi([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function yu([e,t]){return Math.atan2(t,e)}function j4([e,t]){return yu([e,t])+Math.PI/2}function zKe(e,t){const n=yu(e),r=yu(t);return n{const a=r.length;if(a===0)return[];const{innerWidth:l,innerHeight:s}=o,u=s/l;let c=Math.ceil(Math.sqrt(i/u)),f=l/c,h=Math.ceil(i/c),d=h*f;for(;d>s;)c=c+1,f=l/c,h=Math.ceil(i/c),d=h*f;const p=s-h*f,g=h<=1?0:p/(h-1),[m,v]=h<=1?[(l-a*f)/(a-1),(s-f)/2]:[0,0];return r.map((y,b)=>{const[C,x,S,w]=Kae(y),O=n==="col"?b%c:Math.floor(b/h),$=n==="col"?Math.floor(b/c):b%h,P=O*f,T=(h-$-1)*f+p,R=(f-t)/S,M=(f-t)/w,A=P-C+m*O+1/2*t,N=T-x-g*$-v+1/2*t;return`translate(${A}, ${N}) scale(${R}, ${M})`})}}const FKe=e=>(t,n)=>[t,Dt({},n,{modifier:Ean(e),axis:!1})];FKe.props={};var $an=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=$an(e,["groupChannels","binChannels"]),i={},o=(a,l)=>{const{encode:s}=l,u=n.map(p=>{const[g]=Nr(s,p);return g}),c=hn(r,a9e),f=a.filter(p=>u.every(g=>Pi(g[p]))),h=[...t.map(p=>{const[g]=Nr(s,p);return g}).filter(Pi).map(p=>g=>p[g]),...n.map((p,g)=>{const m=u[g],v=c[p]||Pan(m),y=ein().thresholds(v).value(C=>+m[C])(f),b=new Map(y.flatMap(C=>{const{x0:x,x1:S}=C,w=`${x},${S}`;return C.map(O=>[O,w])}));return i[p]=b,C=>b.get(C)})],d=p=>h.map(g=>g(p)).join("-");return Array.from(Ji(f,d).values())};return Gae(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([a])=>!a.startsWith(a9e)))),Object.fromEntries(n.flatMap(a=>{const l=([u])=>+i[a].get(u).split(",")[0],s=([u])=>+i[a].get(u).split(",")[1];return s.from=a,[[a,l],[`${a}1`,s]]}))),{groupBy:o}))};Xae.props={};const HKe=(e={})=>{const{thresholds:t}=e;return Xae(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};HKe.props={};function Tan(e,t,n,r){const i=e.length;if(r>=i||r===0)return e;const o=d=>t[e[d]]*1,a=d=>n[e[d]]*1,l=[],s=(i-2)/(r-2);let u=0,c,f,h;l.push(u);for(let d=0;dc&&(c=f,h=b);l.push(h),u=h}return l.push(i-1),l.map(d=>e[d])}function Man(e){if(typeof e=="function")return e;if(e==="lttb")return Tan;const t={first:r=>[r[0]],last:r=>[r[r.length-1]],min:(r,i,o)=>[r[UF(r,a=>o[a])]],max:(r,i,o)=>[r[zC(r,a=>o[a])]],median:(r,i,o)=>[r[iin(r,a=>o[a])]]},n=t[e]||t.median;return(r,i,o,a)=>{const l=Math.max(1,Math.floor(r.length/a));return Ran(r,l).flatMap(u=>n(u,i,o))}}function Ran(e,t){const n=e.length,r=[];let i=0;for(;i{const{strategy:t="median",thresholds:n=2e3,groupBy:r=["series","color"]}=e,i=Man(t);return(o,a)=>{const{encode:l}=a,s=L0(r,o,a),[u]=Nr(l,"x"),[c]=Nr(l,"y");return[s.flatMap(f=>i(f,u,c,n)),a]}};WKe.props={};function Ian(e){return typeof e=="object"?[e.value,e.ordinal]:[e,!0]}const qKe=(e={})=>(t,n)=>{const{encode:r,data:i}=n,o=Object.entries(e).map(([c,f])=>{const[h]=Nr(r,c);if(!h)return null;const[d,p=!0]=Ian(f);if(typeof d=="function")return g=>d(h[g]);if(p){const g=Array.isArray(d)?d:[d];return g.length===0?null:m=>g.includes(h[m])}else{const[g,m]=d;return v=>h[v]>=g&&h[v]<=m}}).filter(Pi);if(o.length===0)return[t,n];const a=c=>o.every(f=>f(c)),l=t.filter(a),s=l.map((c,f)=>f),u=Object.entries(r).map(([c,f])=>[c,Object.assign(Object.assign({},f),{value:s.map(h=>f.value[l[h]]).filter(h=>h!==void 0)})]);return[s,Dt({},n,{encode:Object.fromEntries(u),data:l.map(c=>i[c])})]};qKe.props={};function zi(e){return function(){return e}}const l9e=Math.abs,yl=Math.atan2,Hm=Math.cos,Nan=Math.max,yK=Math.min,Yd=Math.sin,s3=Math.sqrt,bl=1e-12,I7=Math.PI,ZD=I7/2,Aan=2*I7;function kan(e){return e>1?0:e<-1?I7:Math.acos(e)}function s9e(e){return e>=1?ZD:e<=-1?-ZD:Math.asin(e)}const RJ=Math.PI,IJ=2*RJ,ov=1e-6,jan=IJ-ov;function VKe(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return VKe;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iov)if(!(Math.abs(f*s-u*c)>ov)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let d=r-a,p=i-l,g=s*s+u*u,m=d*d+p*p,v=Math.sqrt(g),y=Math.sqrt(h),b=o*Math.tan((RJ-Math.acos((g+h-m)/(2*v*y)))/2),C=b/y,x=b/v;Math.abs(C-1)>ov&&this._append`L${t+C*c},${n+C*f}`,this._append`A${o},${o},0,0,${+(f*d>c*p)},${this._x1=t+x*s},${this._y1=n+x*u}`}}arc(t,n,r,i,o,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),s=r*Math.sin(i),u=t+l,c=n+s,f=1^a,h=a?i-o:o-i;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>ov||Math.abs(this._y1-c)>ov)&&this._append`L${u},${c}`,r&&(h<0&&(h=h%IJ+IJ),h>jan?this._append`A${r},${r},0,1,${f},${t-l},${n-s}A${r},${r},0,1,${f},${this._x1=u},${this._y1=c}`:h>ov&&this._append`A${r},${r},0,${+(h>=RJ)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function wu(){return new Yae}wu.prototype=Yae.prototype;function Zae(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new Yae(t)}function Lan(e){return e.innerRadius}function zan(e){return e.outerRadius}function Ban(e){return e.startAngle}function Fan(e){return e.endAngle}function Han(e){return e&&e.padAngle}function Wan(e,t,n,r,i,o,a,l){var s=n-e,u=r-t,c=a-i,f=l-o,h=f*s-c*u;if(!(h*hA*A+N*N&&(O=P,$=T),{cx:O,cy:$,x01:-c,y01:-f,x11:O*(i/x-1),y11:$*(i/x-1)}}function iH(){var e=Lan,t=zan,n=zi(0),r=null,i=Ban,o=Fan,a=Han,l=null,s=Zae(u);function u(){var c,f,h=+e.apply(this,arguments),d=+t.apply(this,arguments),p=i.apply(this,arguments)-ZD,g=o.apply(this,arguments)-ZD,m=l9e(g-p),v=g>p;if(l||(l=c=s()),dbl))l.moveTo(0,0);else if(m>Aan-bl)l.moveTo(d*Hm(p),d*Yd(p)),l.arc(0,0,d,p,g,!v),h>bl&&(l.moveTo(h*Hm(g),h*Yd(g)),l.arc(0,0,h,g,p,v));else{var y=p,b=g,C=p,x=g,S=m,w=m,O=a.apply(this,arguments)/2,$=O>bl&&(r?+r.apply(this,arguments):s3(h*h+d*d)),P=yK(l9e(d-h)/2,+n.apply(this,arguments)),T=P,R=P,M,A;if($>bl){var N=s9e($/h*Yd(O)),j=s9e($/d*Yd(O));(S-=N*2)>bl?(N*=v?1:-1,C+=N,x-=N):(S=0,C=x=(p+g)/2),(w-=j*2)>bl?(j*=v?1:-1,y+=j,b-=j):(w=0,y=b=(p+g)/2)}var D=d*Hm(y),L=d*Yd(y),B=h*Hm(x),k=h*Yd(x);if(P>bl){var z=d*Hm(b),q=d*Yd(b),W=h*Hm(C),U=h*Yd(C),K;if(mbl?R>bl?(M=YN(W,U,D,L,d,R,v),A=YN(z,q,B,k,d,R,v),l.moveTo(M.cx+M.x01,M.cy+M.y01),Rbl)||!(S>bl)?l.lineTo(B,k):T>bl?(M=YN(B,k,z,q,h,-T,v),A=YN(D,L,W,U,h,-T,v),l.lineTo(M.cx+M.x01,M.cy+M.y01),T=d;--p)l.point(b[p],C[p]);l.lineEnd(),l.areaEnd()}v&&(b[h]=+e(m,h,f),C[h]=+t(m,h,f),l.point(r?+r(m,h,f):b[h],n?+n(m,h,f):C[h]))}if(y)return l=null,y+""||null}function c(){return S0().defined(i).curve(a).context(o)}return u.x=function(f){return arguments.length?(e=typeof f=="function"?f:zi(+f),r=null,u):e},u.x0=function(f){return arguments.length?(e=typeof f=="function"?f:zi(+f),u):e},u.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:zi(+f),u):r},u.y=function(f){return arguments.length?(t=typeof f=="function"?f:zi(+f),n=null,u):t},u.y0=function(f){return arguments.length?(t=typeof f=="function"?f:zi(+f),u):t},u.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:zi(+f),u):n},u.lineX0=u.lineY0=function(){return c().x(e).y(t)},u.lineY1=function(){return c().x(e).y(n)},u.lineX1=function(){return c().x(r).y(t)},u.defined=function(f){return arguments.length?(i=typeof f=="function"?f:zi(!!f),u):i},u.curve=function(f){return arguments.length?(a=f,o!=null&&(l=a(o)),u):a},u.context=function(f){return arguments.length?(f==null?o=l=null:l=a(o=f),u):o},u}var YKe=Qae(MP);function ZKe(e){this._curve=e}ZKe.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};function Qae(e){function t(n){return new ZKe(e(n))}return t._curve=e,t}function l9(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(n){return arguments.length?t(Qae(n)):t()._curve},e}function qan(){return l9(S0().curve(YKe))}function Van(){var e=NJ().curve(YKe),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return l9(n())},delete e.lineX0,e.lineEndAngle=function(){return l9(r())},delete e.lineX1,e.lineInnerRadius=function(){return l9(i())},delete e.lineY0,e.lineOuterRadius=function(){return l9(o())},delete e.lineY1,e.curve=function(a){return arguments.length?t(Qae(a)):t()._curve},e}function D4(){}function AJ(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Jae(e,t){this._context=e,this._k=(1-t)/6}Jae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:AJ(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:AJ(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return new Jae(r,t)}return n.tension=function(r){return e(+r)},n})(0);function ele(e,t){this._context=e,this._k=(1-t)/6}ele.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:AJ(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return new ele(r,t)}return n.tension=function(r){return e(+r)},n})(0);function QKe(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>bl){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,i=(i*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>bl){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/c,a=(a*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function JKe(e,t){this._context=e,this._alpha=t}JKe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:QKe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(r){return t?new JKe(r,t):new Jae(r,0)}return n.alpha=function(r){return e(+r)},n})(.5);function eXe(e,t){this._context=e,this._alpha=t}eXe.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:QKe(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const tXe=function e(t){function n(r){return t?new eXe(r,t):new ele(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function nXe(e){this._context=e}nXe.prototype={areaStart:D4,areaEnd:D4,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function tle(e){return new nXe(e)}function c9e(e){return e<0?-1:1}function u9e(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),l=(o*i+a*r)/(r+i);return(c9e(o)+c9e(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function d9e(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function bK(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,l=(o-r)/3;e._context.bezierCurveTo(r+l,i+l*t,o-l,a-l*n,o,a)}function QD(e){this._context=e}QD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:bK(this,this._t0,d9e(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,bK(this,d9e(this,n=u9e(this,e,t)),n);break;default:bK(this,this._t0,n=u9e(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function rXe(e){this._context=new iXe(e)}(rXe.prototype=Object.create(QD.prototype)).point=function(e,t){QD.prototype.point.call(this,t,e)};function iXe(e){this._context=e}iXe.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}};function oXe(e){return new QD(e)}function aXe(e){return new rXe(e)}function oH(e,t){this._context=e,this._t=t}oH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function lXe(e){return new oH(e,.5)}function sXe(e){return new oH(e,0)}function cXe(e){return new oH(e,1)}function Hi(e){const{transformations:t}=e.getOptions();return t.map(([r])=>r).filter(r=>r==="transpose").length%2!==0}function Ai(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="polar")}function aH(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="reflect")&&t.some(([n])=>n.startsWith("transpose"))}function uXe(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="helix")}function lH(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="parallel")}function dXe(e){const{transformations:t}=e.getOptions();return t.some(([n])=>n==="fisheye")}function Uan(e){return lH(e)&&Ai(e)}function BC(e){return uXe(e)||Ai(e)}function Gan(e){return Ai(e)&&Hi(e)}function Kan(e){if(BC(e)){const[t,n]=e.getSize(),r=e.getOptions().transformations.find(i=>i[0]==="polar");if(r)return Math.max(t,n)/2*r[4]}return 0}function sH(e){const{transformations:t}=e.getOptions(),[,,,n,r]=t.find(i=>i[0]==="polar");return[+n,+r]}function nle(e,t=!0){const{transformations:n}=e.getOptions(),[,r,i]=n.find(o=>o[0]==="polar");return t?[+r*180/Math.PI,+i*180/Math.PI]:[r,i]}function Xan(e,t){const{transformations:n}=e.getOptions(),[,...r]=n.find(i=>i[0]===t);return r}var fXe={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(s,u,c){this.fn=s,this.context=u,this.once=c||!1}function o(s,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var d=new i(c,f||s,h),p=n?n+u:u;return s._events[p]?s._events[p].fn?s._events[p]=[s._events[p],d]:s._events[p].push(d):(s._events[p]=d,s._eventsCount++),s}function a(s,u){--s._eventsCount===0?s._events=new r:delete s._events[u]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],c,f;if(this._eventsCount===0)return u;for(f in c=this._events)t.call(c,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},l.prototype.listeners=function(u){var c=n?n+u:u,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,d=f.length,p=new Array(d);h>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?ZN(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?ZN(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Qan.exec(e))?new pc(t[1],t[2],t[3],1):(t=Jan.exec(e))?new pc(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=eln.exec(e))?ZN(t[1],t[2],t[3],t[4]):(t=tln.exec(e))?ZN(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=nln.exec(e))?y9e(t[1],t[2]/100,t[3]/100,1):(t=rln.exec(e))?y9e(t[1],t[2]/100,t[3]/100,t[4]):f9e.hasOwnProperty(e)?g9e(f9e[e]):e==="transparent"?new pc(NaN,NaN,NaN,0):null}function g9e(e){return new pc(e>>16&255,e>>8&255,e&255,1)}function ZN(e,t,n,r){return r<=0&&(e=t=n=NaN),new pc(e,t,n,r)}function oln(e){return e instanceof RP||(e=cH(e)),e?(e=e.rgb(),new pc(e.r,e.g,e.b,e.opacity)):new pc}function aln(e,t,n,r){return arguments.length===1?oln(e):new pc(e,t,n,r??1)}function pc(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ile(pc,aln,pXe(RP,{brighter:function(e){return e=e==null?JD:Math.pow(JD,e),new pc(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?N7:Math.pow(N7,e),new pc(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:m9e,formatHex:m9e,formatRgb:v9e,toString:v9e}));function m9e(){return"#"+CK(this.r)+CK(this.g)+CK(this.b)}function v9e(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function CK(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function y9e(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new uf(e,t,n,r)}function hXe(e){if(e instanceof uf)return new uf(e.h,e.s,e.l,e.opacity);if(e instanceof RP||(e=cH(e)),!e)return new uf;if(e instanceof uf)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,l=o-i,s=(o+i)/2;return l?(t===o?a=(n-r)/l+(n0&&s<1?0:a,new uf(a,l,s,e.opacity)}function lln(e,t,n,r){return arguments.length===1?hXe(e):new uf(e,t,n,r??1)}function uf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ile(uf,lln,pXe(RP,{brighter:function(e){return e=e==null?JD:Math.pow(JD,e),new uf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?N7:Math.pow(N7,e),new uf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new pc(SK(e>=240?e-240:e+120,i,r),SK(e,i,r),SK(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function SK(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function nh(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)}function gXe(e,t){var n=Math.min.apply(Math,Kt([],Ae(e),!1)),r=Math.min.apply(Math,Kt([],Ae(t),!1)),i=Math.max.apply(Math,Kt([],Ae(e),!1)),o=Math.max.apply(Math,Kt([],Ae(t),!1));return{x:n,y:r,width:i-n,height:o-r}}function sln(e,t,n){return Math.atan(-t/e*Math.tan(n))}function cln(e,t,n){return Math.atan(t/(e*Math.tan(n)))}function uln(e,t,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+e}function dln(e,t,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+t}function fln(e,t,n,r,i,o,a){for(var l=sln(n,r,i),s=1/0,u=-1/0,c=[o,a],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var h=l+f;ou&&(u=d)}for(var p=cln(n,r,i),g=1/0,m=-1/0,v=[o,a],f=-Math.PI*2;f<=Math.PI*2;f+=Math.PI){var y=p+f;om&&(m=b)}return{x:s,y:g,width:u-s,height:m-g}}var pln=1e-4;function mXe(e,t,n,r,i,o){var a=-1,l=1/0,s=[n,r],u=20;o&&o>200&&(u=o/10);for(var c=1/u,f=c/10,h=0;h<=u;h++){var d=h*c,p=[i.apply(void 0,Kt([],Ae(e.concat([d])),!1)),i.apply(void 0,Kt([],Ae(t.concat([d])),!1))],g=nh(s[0],s[1],p[0],p[1]);g=0&&g=0&&s<=1&&l.push(s));else{var f=o*o-4*i*a;G9(f,0)?l.push(-o/(2*i)):f>0&&(c=Math.sqrt(f),s=(-o+c)/(2*i),u=(-o-c)/(2*i),s>=0&&s<=1&&l.push(s),u>=0&&u<=1&&l.push(u))}return l}function gln(e,t,n,r,i,o,a,l){for(var s=[e,a],u=[t,l],c=b9e(e,n,i,a),f=b9e(t,r,o,l),h=0;h=0?[i]:[]}function bln(e,t,n,r,i,o){var a=S9e(e,n,i)[0],l=S9e(t,r,o)[0],s=[e,i],u=[t,o];return a!==void 0&&s.push(jJ(e,n,i,a)),l!==void 0&&u.push(jJ(t,r,o,l)),gXe(s,u)}function Cln(e,t,n,r,i,o,a,l){return mXe([e,n,i],[t,r,o],a,l,jJ)}function Sln(e,t,n,r,i,o,a,l){var s=Cln(e,t,n,r,i,o,a,l);return nh(s.x,s.y,a,l)}var xln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bXe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(xln,function(){function n(x,S,w,O,$){r(x,S,w||0,O||x.length-1,$||o)}function r(x,S,w,O,$){for(;O>w;){if(O-w>600){var P=O-w+1,T=S-w+1,R=Math.log(P),M=.5*Math.exp(2*R/3),A=.5*Math.sqrt(R*M*(P-M)/P)*(T-P/2<0?-1:1),N=Math.max(w,Math.floor(S-T*M/P+A)),j=Math.min(O,Math.floor(S+(P-T)*M/P+A));r(x,S,N,j,$)}var D=x[S],L=w,B=O;for(i(x,w,S),$(x[O],D)>0&&i(x,w,O);L0;)B--}$(x[w],D)===0?i(x,w,B):(B++,i(x,B,O)),B<=S&&(w=B+1),S<=B&&(O=B-1)}}function i(x,S,w){var O=x[S];x[S]=x[w],x[w]=O}function o(x,S){return xS?1:0}var a=function(S){S===void 0&&(S=9),this._maxEntries=Math.max(4,S),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()};a.prototype.all=function(){return this._all(this.data,[])},a.prototype.search=function(S){var w=this.data,O=[];if(!y(S,w))return O;for(var $=this.toBBox,P=[];w;){for(var T=0;T=0&&P[w].children.length>this._maxEntries;)this._split(P,w),w--;this._adjustParentBBoxes($,P,w)},a.prototype._split=function(S,w){var O=S[w],$=O.children.length,P=this._minEntries;this._chooseSplitAxis(O,P,$);var T=this._chooseSplitIndex(O,P,$),R=b(O.children.splice(T,O.children.length-T));R.height=O.height,R.leaf=O.leaf,s(O,this.toBBox),s(R,this.toBBox),w?S[w-1].children.push(R):this._splitRoot(O,R)},a.prototype._splitRoot=function(S,w){this.data=b([S,w]),this.data.height=S.height+1,this.data.leaf=!1,s(this.data,this.toBBox)},a.prototype._chooseSplitIndex=function(S,w,O){for(var $,P=1/0,T=1/0,R=w;R<=O-w;R++){var M=u(S,0,R,this.toBBox),A=u(S,R,O,this.toBBox),N=m(M,A),j=d(M)+d(A);N=w;j--){var D=S.children[j];c(R,S.leaf?P(D):D),M+=p(R)}return M},a.prototype._adjustParentBBoxes=function(S,w,O){for(var $=O;$>=0;$--)c(w[$],S)},a.prototype._condense=function(S){for(var w=S.length-1,O=void 0;w>=0;w--)S[w].children.length===0?w>0?(O=S[w-1].children,O.splice(O.indexOf(S[w]),1)):this.clear():s(S[w],this.toBBox)};function l(x,S,w){if(!w)return S.indexOf(x);for(var O=0;O=x.minX&&S.maxY>=x.minY}function b(x){return{children:x,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function C(x,S,w,O,$){for(var P=[S,w];P.length;)if(w=P.pop(),S=P.pop(),!(w-S<=O)){var T=S+Math.ceil((w-S)/O/2)*O;n(x,T,S,w,$),P.push(S,T,T,w)}}return a})})(bXe);var _ln=bXe.exports,Rt;(function(e){e.GROUP="g",e.CIRCLE="circle",e.ELLIPSE="ellipse",e.IMAGE="image",e.RECT="rect",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.TEXT="text",e.PATH="path",e.HTML="html",e.MESH="mesh"})(Rt||(Rt={}));var L3;(function(e){e[e.ZERO=0]="ZERO",e[e.NEGATIVE_ONE=1]="NEGATIVE_ONE"})(L3||(L3={}));var B0=function(){function e(){this.plugins=[]}return e.prototype.addRenderingPlugin=function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)},e.prototype.removeAllRenderingPlugins=function(){var t=this;this.plugins.forEach(function(n){var r=t.context.renderingPlugins.indexOf(n);r>=0&&t.context.renderingPlugins.splice(r,1)})},e}(),wln=function(){function e(t){this.clipSpaceNearZ=L3.NEGATIVE_ONE,this.plugins=[],this.config=Mt({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1},t)}return e.prototype.registerPlugin=function(t){var n=this.plugins.findIndex(function(r){return r===t});n===-1&&this.plugins.push(t)},e.prototype.unregisterPlugin=function(t){var n=this.plugins.findIndex(function(r){return r===t});n>-1&&this.plugins.splice(n,1)},e.prototype.getPlugins=function(){return this.plugins},e.prototype.getPlugin=function(t){return this.plugins.find(function(n){return n.name===t})},e.prototype.getConfig=function(){return this.config},e.prototype.setConfig=function(t){Object.assign(this.config,t)},e}();function v2(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function xK(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function Gk(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function x9e(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function Oln(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function Eln(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function z3(e){return e===void 0?0:e>360||e<-360?e%360:e}function ql(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=0),Array.isArray(e)&&e.length===3?Rp(e):Ro(e)?Br(e,t,n):Br(e[0],e[1]||t,e[2]||n)}function ao(e){return e*(Math.PI/180)}function Kc(e){return e*(180/Math.PI)}function $ln(e){return 360*e}function Pln(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n,l=r*r,s=i*i,u=o*o,c=a+l+s+u,f=n*o-r*i;return f>.499995*c?(e[0]=Math.PI/2,e[1]=2*Math.atan2(r,n),e[2]=0):f<-.499995*c?(e[0]=-Math.PI/2,e[1]=2*Math.atan2(r,n),e[2]=0):(e[0]=Math.asin(2*(n*i-o*r)),e[1]=Math.atan2(2*(n*o+r*i),1-2*(s+u)),e[2]=Math.atan2(2*(n*r+i*o),1-2*(l+s))),e}function Tln(e,t){var n,r,i=Math.PI*.5,o=Ae(P4(_r(),t),3),a=o[0],l=o[1],s=o[2],u=Math.asin(-t[2]/a);return u-i?(n=Math.atan2(t[6]/l,t[10]/s),r=Math.atan2(t[1]/a,t[0]/a)):(r=0,n=-Math.atan2(t[4]/l,t[5]/l)):(r=0,n=Math.atan2(t[4]/l,t[5]/l)),e[0]=n,e[1]=u,e[2]=r,e}function _K(e,t){return t.length===16?Tln(e,t):Pln(e,t)}function Mln(e,t,n,r,i){var o=Math.cos(e),a=Math.sin(e);return vnn(r*o,i*a,0,-r*a,i*o,0,t,n,1)}function Rln(e,t,n,r,i,o,a,l){l===void 0&&(l=!1);var s=2*o/(n-t),u=2*o/(r-i),c=(n+t)/(n-t),f=(r+i)/(r-i),h,d;return l?(h=-a/(a-o),d=-a*o/(a-o)):(h=-(a+o)/(a-o),d=-2*a*o/(a-o)),e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=c,e[9]=f,e[10]=h,e[11]=-1,e[12]=0,e[13]=0,e[14]=d,e[15]=0,e}function _9e(e){var t=e[0],n=e[1],r=e[3],i=e[4],o=Math.sqrt(t*t+n*n),a=Math.sqrt(r*r+i*i),l=t*i-n*r;l<0&&(tJn[1][2]&&(o[0]=-o[0]),Jn[0][2]>Jn[2][0]&&(o[1]=-o[1]),Jn[1][0]>Jn[0][1]&&(o[2]=-o[2]),!0}function Nln(e,t){var n=t[15];if(n===0)return!1;for(var r=1/n,i=0;i<16;i++)e[i]=t[i]*r;return!0}function Aln(e,t){e[0][0]=t[0],e[0][1]=t[1],e[0][2]=t[2],e[1][0]=t[4],e[1][1]=t[5],e[1][2]=t[6],e[2][0]=t[8],e[2][1]=t[9],e[2][2]=t[10]}function wK(e,t,n,r,i){e[0]=t[0]*r+n[0]*i,e[1]=t[1]*r+n[1]*i,e[2]=t[2]*r+n[2]*i}var Jo=function(){function e(){this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return e.isEmpty=function(t){return!t||t.halfExtents[0]===0&&t.halfExtents[1]===0&&t.halfExtents[2]===0},e.prototype.update=function(t,n){v2(this.center,t),v2(this.halfExtents,n),xK(this.min,this.center,this.halfExtents),Gk(this.max,this.center,this.halfExtents)},e.prototype.setMinMax=function(t,n){Gk(this.center,n,t),x9e(this.center,this.center,.5),xK(this.halfExtents,n,t),x9e(this.halfExtents,this.halfExtents,.5),v2(this.min,t),v2(this.max,n)},e.prototype.getMin=function(){return this.min},e.prototype.getMax=function(){return this.max},e.prototype.add=function(t){if(!e.isEmpty(t)){if(e.isEmpty(this)){this.setMinMax(t.getMin(),t.getMax());return}var n=this.center,r=n[0],i=n[1],o=n[2],a=this.halfExtents,l=a[0],s=a[1],u=a[2],c=r-l,f=r+l,h=i-s,d=i+s,p=o-u,g=o+u,m=t.center,v=m[0],y=m[1],b=m[2],C=t.halfExtents,x=C[0],S=C[1],w=C[2],O=v-x,$=v+x,P=y-S,T=y+S,R=b-w,M=b+w;Of&&(f=$),Pd&&(d=T),Rg&&(g=M),n[0]=(c+f)*.5,n[1]=(h+d)*.5,n[2]=(p+g)*.5,a[0]=(f-c)*.5,a[1]=(d-h)*.5,a[2]=(g-p)*.5,this.min[0]=c,this.min[1]=h,this.min[2]=p,this.max[0]=f,this.max[1]=d,this.max[2]=g}},e.prototype.setFromTransformedAABB=function(t,n){var r=this.center,i=this.halfExtents,o=t.center,a=t.halfExtents,l=n[0],s=n[4],u=n[8],c=n[1],f=n[5],h=n[9],d=n[2],p=n[6],g=n[10],m=Math.abs(l),v=Math.abs(s),y=Math.abs(u),b=Math.abs(c),C=Math.abs(f),x=Math.abs(h),S=Math.abs(d),w=Math.abs(p),O=Math.abs(g);r[0]=n[12]+l*o[0]+s*o[1]+u*o[2],r[1]=n[13]+c*o[0]+f*o[1]+h*o[2],r[2]=n[14]+d*o[0]+p*o[1]+g*o[2],i[0]=m*a[0]+v*a[1]+y*a[2],i[1]=b*a[0]+C*a[1]+x*a[2],i[2]=S*a[0]+w*a[1]+O*a[2],xK(this.min,r,i),Gk(this.max,r,i)},e.prototype.intersects=function(t){var n=this.getMax(),r=this.getMin(),i=t.getMax(),o=t.getMin();return r[0]<=i[0]&&n[0]>=o[0]&&r[1]<=i[1]&&n[1]>=o[1]&&r[2]<=i[2]&&n[2]>=o[2]},e.prototype.intersection=function(t){if(!this.intersects(t))return null;var n=new e,r=Oln([0,0,0],this.getMin(),t.getMin()),i=Eln([0,0,0],this.getMax(),t.getMax());return n.setMinMax(r,i),n},e.prototype.getNegativeFarPoint=function(t){return t.pnVertexFlag===273?v2([0,0,0],this.min):t.pnVertexFlag===272?[this.min[0],this.min[1],this.max[2]]:t.pnVertexFlag===257?[this.min[0],this.max[1],this.min[2]]:t.pnVertexFlag===256?[this.min[0],this.max[1],this.max[2]]:t.pnVertexFlag===17?[this.max[0],this.min[1],this.min[2]]:t.pnVertexFlag===16?[this.max[0],this.min[1],this.max[2]]:t.pnVertexFlag===1?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]},e.prototype.getPositiveFarPoint=function(t){return t.pnVertexFlag===273?v2([0,0,0],this.max):t.pnVertexFlag===272?[this.max[0],this.max[1],this.min[2]]:t.pnVertexFlag===257?[this.max[0],this.min[1],this.max[2]]:t.pnVertexFlag===256?[this.max[0],this.min[1],this.min[2]]:t.pnVertexFlag===17?[this.min[0],this.max[1],this.max[2]]:t.pnVertexFlag===16?[this.min[0],this.max[1],this.min[2]]:t.pnVertexFlag===1?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]},e}(),kln=function(){function e(t,n){this.distance=t||0,this.normal=n||Br(0,1,0),this.updatePNVertexFlag()}return e.prototype.updatePNVertexFlag=function(){this.pnVertexFlag=(+(this.normal[0]>=0)<<8)+(+(this.normal[1]>=0)<<4)+ +(this.normal[2]>=0)},e.prototype.distanceToPoint=function(t){return yf(t,this.normal)-this.distance},e.prototype.normalize=function(){var t=1/tGe(this.normal);yJ(this.normal,this.normal,t),this.distance*=t},e.prototype.intersectsLine=function(t,n,r){var i=this.distanceToPoint(t),o=this.distanceToPoint(n),a=i/(i-o),l=a>=0&&a<=1;return l&&r&&bJ(r,t,n,a),l},e}(),R1;(function(e){e[e.OUTSIDE=4294967295]="OUTSIDE",e[e.INSIDE=0]="INSIDE",e[e.INDETERMINATE=2147483647]="INDETERMINATE"})(R1||(R1={}));var jln=function(){function e(t){if(this.planes=[],t)this.planes=t;else for(var n=0;n<6;n++)this.planes.push(new kln)}return e.prototype.extractFromVPMatrix=function(t){var n=Ae(t,16),r=n[0],i=n[1],o=n[2],a=n[3],l=n[4],s=n[5],u=n[6],c=n[7],f=n[8],h=n[9],d=n[10],p=n[11],g=n[12],m=n[13],v=n[14],y=n[15];ud(this.planes[0].normal,a-r,c-l,p-f),this.planes[0].distance=y-g,ud(this.planes[1].normal,a+r,c+l,p+f),this.planes[1].distance=y+g,ud(this.planes[2].normal,a+i,c+s,p+h),this.planes[2].distance=y+m,ud(this.planes[3].normal,a-i,c-s,p-h),this.planes[3].distance=y-m,ud(this.planes[4].normal,a-o,c-u,p-d),this.planes[4].distance=y-v,ud(this.planes[5].normal,a+o,c+u,p+d),this.planes[5].distance=y+v,this.planes.forEach(function(b){b.normalize(),b.updatePNVertexFlag()})},e}(),La=function(){function e(t,n){t===void 0&&(t=0),n===void 0&&(n=0),this.x=0,this.y=0,this.x=t,this.y=n}return e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.copyFrom=function(t){this.x=t.x,this.y=t.y},e}(),by=function(){function e(t,n,r,i){this.x=t,this.y=n,this.width=r,this.height=i,this.left=t,this.right=t+r,this.top=n,this.bottom=n+i}return e.prototype.toJSON=function(){},e}(),gi="Method not implemented.",y2="Use document.documentElement instead.",Dln="Cannot append a destroyed element.",ti;(function(e){e[e.ORBITING=0]="ORBITING",e[e.EXPLORING=1]="EXPLORING",e[e.TRACKING=2]="TRACKING"})(ti||(ti={}));var k7;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ROTATIONAL=1]="ROTATIONAL",e[e.TRANSLATIONAL=2]="TRANSLATIONAL",e[e.CINEMATIC=3]="CINEMATIC"})(k7||(k7={}));var ms;(function(e){e[e.ORTHOGRAPHIC=0]="ORTHOGRAPHIC",e[e.PERSPECTIVE=1]="PERSPECTIVE"})(ms||(ms={}));var CXe={UPDATED:"updated"},O9e=2e-4,SXe=function(){function e(){this.clipSpaceNearZ=L3.NEGATIVE_ONE,this.eventEmitter=new rle,this.matrix=ci(),this.right=Br(1,0,0),this.up=Br(0,1,0),this.forward=Br(0,0,1),this.position=Br(0,0,1),this.focalPoint=Br(0,0,0),this.distanceVector=Br(0,0,-1),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.zoom=1,this.rotateWorld=!1,this.fov=30,this.near=.1,this.far=1e3,this.aspect=1,this.projectionMatrix=ci(),this.projectionMatrixInverse=ci(),this.jitteredProjectionMatrix=void 0,this.enableUpdate=!0,this.type=ti.EXPLORING,this.trackingMode=k7.DEFAULT,this.projectionMode=ms.PERSPECTIVE,this.frustum=new jln,this.orthoMatrix=ci()}return e.prototype.isOrtho=function(){return this.projectionMode===ms.ORTHOGRAPHIC},e.prototype.getProjectionMode=function(){return this.projectionMode},e.prototype.getPerspective=function(){return this.jitteredProjectionMatrix||this.projectionMatrix},e.prototype.getPerspectiveInverse=function(){return this.projectionMatrixInverse},e.prototype.getFrustum=function(){return this.frustum},e.prototype.getPosition=function(){return this.position},e.prototype.getFocalPoint=function(){return this.focalPoint},e.prototype.getDollyingStep=function(){return this.dollyingStep},e.prototype.getNear=function(){return this.near},e.prototype.getFar=function(){return this.far},e.prototype.getZoom=function(){return this.zoom},e.prototype.getOrthoMatrix=function(){return this.orthoMatrix},e.prototype.getView=function(){return this.view},e.prototype.setEnableUpdate=function(t){this.enableUpdate=t},e.prototype.setType=function(t,n){return this.type=t,this.type===ti.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===ti.TRACKING&&n!==void 0&&this.setTrackingMode(n),this},e.prototype.setProjectionMode=function(t){return this.projectionMode=t,this},e.prototype.setTrackingMode=function(t){if(this.type!==ti.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this},e.prototype.setWorldRotation=function(t){return this.rotateWorld=t,this._getAngles(),this},e.prototype.getViewTransform=function(){return pd(ci(),this.matrix)},e.prototype.getWorldTransform=function(){return this.matrix},e.prototype.jitterProjectionMatrix=function(t,n){var r=Tae(ci(),[t,n,0]);this.jitteredProjectionMatrix=Ol(ci(),r,this.projectionMatrix)},e.prototype.clearJitterProjectionMatrix=function(){this.jitteredProjectionMatrix=void 0},e.prototype.setMatrix=function(t){return this.matrix=t,this._update(),this},e.prototype.setFov=function(t){return this.setPerspective(this.near,this.far,t,this.aspect),this},e.prototype.setAspect=function(t){return this.setPerspective(this.near,this.far,this.fov,t),this},e.prototype.setNear=function(t){return this.projectionMode===ms.PERSPECTIVE?this.setPerspective(t,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,t,this.far),this},e.prototype.setFar=function(t){return this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,t,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,t),this},e.prototype.setViewOffset=function(t,n,r,i,o,a){return this.aspect=t/n,this.view===void 0&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},e.prototype.clearViewOffset=function(){return this.view!==void 0&&(this.view.enabled=!1),this.projectionMode===ms.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this},e.prototype.setZoom=function(t){return this.zoom=t,this.projectionMode===ms.ORTHOGRAPHIC?this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far):this.projectionMode===ms.PERSPECTIVE&&this.setPerspective(this.near,this.far,this.fov,this.aspect),this},e.prototype.setZoomByViewportPoint=function(t,n){var r=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),i=r.x,o=r.y,a=this.roll;this.rotate(0,0,-a),this.setPosition(i,o),this.setFocalPoint(i,o),this.setZoom(t),this.rotate(0,0,a);var l=this.canvas.viewport2Canvas({x:n[0],y:n[1]}),s=l.x,u=l.y,c=Br(s-i,u-o,0),f=yf(c,this.right)/Fp(this.right),h=yf(c,this.up)/Fp(this.up);return this.pan(-f,-h),this},e.prototype.setPerspective=function(t,n,r,i){var o;this.projectionMode=ms.PERSPECTIVE,this.fov=r,this.near=t,this.far=n,this.aspect=i;var a=this.near*Math.tan(ao(.5*this.fov))/this.zoom,l=2*a,s=this.aspect*l,u=-.5*s;if(!((o=this.view)===null||o===void 0)&&o.enabled){var c=this.view.fullWidth,f=this.view.fullHeight;u+=this.view.offsetX*s/c,a-=this.view.offsetY*l/f,s*=this.view.width/c,l*=this.view.height/f}return Rln(this.projectionMatrix,u,u+s,a,a-l,t,this.far,this.clipSpaceNearZ===L3.ZERO),BD(this.projectionMatrix,this.projectionMatrix,Br(1,-1,1)),pd(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this},e.prototype.setOrthographic=function(t,n,r,i,o,a){var l;this.projectionMode=ms.ORTHOGRAPHIC,this.rright=n,this.left=t,this.top=r,this.bottom=i,this.near=o,this.far=a;var s=(this.rright-this.left)/(2*this.zoom),u=(this.top-this.bottom)/(2*this.zoom),c=(this.rright+this.left)/2,f=(this.top+this.bottom)/2,h=c-s,d=c+s,p=f+u,g=f-u;if(!((l=this.view)===null||l===void 0)&&l.enabled){var m=(this.rright-this.left)/this.view.fullWidth/this.zoom,v=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=m*this.view.offsetX,d=h+m*this.view.width,p-=v*this.view.offsetY,g=p-v*this.view.height}return this.clipSpaceNearZ===L3.NEGATIVE_ONE?XUe(this.projectionMatrix,h,d,g,p,o,a):YUe(this.projectionMatrix,h,d,g,p,o,a),BD(this.projectionMatrix,this.projectionMatrix,Br(1,-1,1)),pd(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this},e.prototype.setPosition=function(t,n,r){n===void 0&&(n=this.position[1]),r===void 0&&(r=this.position[2]);var i=ql(t,n,r);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this},e.prototype.setFocalPoint=function(t,n,r){n===void 0&&(n=this.focalPoint[1]),r===void 0&&(r=this.focalPoint[2]);var i=Br(0,1,0);if(this.focalPoint=ql(t,n,r),this.trackingMode===k7.CINEMATIC){var o=k8e(_r(),this.focalPoint,this.position);t=o[0],n=o[1],r=o[2];var a=Fp(o),l=Kc(Math.asin(n/a)),s=90+Kc(Math.atan2(r,t)),u=ci();VUe(u,u,ao(s)),qUe(u,u,ao(l)),i=xa(_r(),[0,1,0],u)}return pd(this.matrix,ZUe(ci(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this},e.prototype.getDistance=function(){return this.distance},e.prototype.getDistanceVector=function(){return this.distanceVector},e.prototype.setDistance=function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance=dn.kEms&&t=x0.kUnitType&&this.getType()<=x0.kClampType},e}(),Wln=function(e){$n(t,e);function t(n){var r=e.call(this)||this;return r.colorSpace=n,r}return t.prototype.getType=function(){return x0.kColorType},t.prototype.to=function(n){return this},t}(uH),bf;(function(e){e[e.Constant=0]="Constant",e[e.LinearGradient=1]="LinearGradient",e[e.RadialGradient=2]="RadialGradient"})(bf||(bf={}));var QN=function(e){$n(t,e);function t(n,r){var i=e.call(this)||this;return i.type=n,i.value=r,i}return t.prototype.clone=function(){return new t(this.type,this.value)},t.prototype.buildCSSText=function(n,r,i){return i},t.prototype.getType=function(){return x0.kColorType},t}(uH),ks=function(e){$n(t,e);function t(n){var r=e.call(this)||this;return r.value=n,r}return t.prototype.clone=function(){return new t(this.value)},t.prototype.getType=function(){return x0.kKeywordType},t.prototype.buildCSSText=function(n,r,i){return i+this.value},t}(uH),qln=pl(function(e){return e===void 0&&(e=""),e.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}),P9e=function(e){return e.split("").map(function(t,n){return t.toUpperCase()===t?"".concat(n!==0?"-":"").concat(t.toLowerCase()):t}).join("")};function Vln(e){if(!e)throw new Error}function c3(e){return typeof e=="function"}function Uln(e){return typeof e=="symbol"}var Gln={d:{alias:"path"},strokeDasharray:{alias:"lineDash"},strokeWidth:{alias:"lineWidth"},textAnchor:{alias:"textAlign"},src:{alias:"img"}},BJ=pl(function(e){var t=qln(e),n=Gln[t];return t=(n==null?void 0:n.alias)||t,t}),Kln=function(e,t){t===void 0&&(t="");var n="";return Number.isFinite(e)?(Vln(Number.isNaN(e)),n="NaN"):e>0?n="infinity":n="-infinity",n+=t},FJ=function(e){return Hln(Fln(e))},mi=function(e){$n(t,e);function t(n,r){r===void 0&&(r=dn.kNumber);var i=e.call(this)||this,o;return typeof r=="string"?o=Bln(r):o=r,i.unit=o,i.value=n,i}return t.prototype.clone=function(){return new t(this.value,this.unit)},t.prototype.equals=function(n){var r=n;return this.value===r.value&&this.unit===r.unit},t.prototype.getType=function(){return x0.kUnitType},t.prototype.convertTo=function(n){if(this.unit===n)return new t(this.value,this.unit);var r=FJ(this.unit);if(r!==FJ(n)||r===dn.kUnknown)return null;var i=$9e(this.unit)/$9e(n);return new t(this.value*i,n)},t.prototype.buildCSSText=function(n,r,i){var o;switch(this.unit){case dn.kUnknown:break;case dn.kInteger:o=Number(this.value).toFixed(0);break;case dn.kNumber:case dn.kPercentage:case dn.kEms:case dn.kRems:case dn.kPixels:case dn.kDegrees:case dn.kRadians:case dn.kGradians:case dn.kMilliseconds:case dn.kSeconds:case dn.kTurns:{var a=-999999,l=999999,s=this.value,u=zJ(this.unit);if(sl){var c=zJ(this.unit);!Number.isFinite(s)||Number.isNaN(s)?o=Kln(s,c):o=s+(c||"")}else o="".concat(s).concat(u)}}return i+=o,i},t}(uH),Ca=new mi(0,"px");new mi(1,"px");var hd=new mi(0,"deg"),ole=function(e){$n(t,e);function t(n,r,i,o,a){o===void 0&&(o=1),a===void 0&&(a=!1);var l=e.call(this,"rgb")||this;return l.r=n,l.g=r,l.b=i,l.alpha=o,l.isNone=a,l}return t.prototype.clone=function(){return new t(this.r,this.g,this.b,this.alpha)},t.prototype.buildCSSText=function(n,r,i){return i+"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")},t}(Wln),Mi=new ks("unset"),Xln=new ks("initial"),Yln=new ks("inherit"),OK={"":Mi,unset:Mi,initial:Xln,inherit:Yln},HJ=function(e){return OK[e]||(OK[e]=new ks(e)),OK[e]},WJ=new ole(0,0,0,0,!0),xXe=new ole(0,0,0,0),Zln=pl(function(e,t,n,r){return new ole(e,t,n,r)},function(e,t,n,r){return"rgba(".concat(e,",").concat(t,",").concat(n,",").concat(r,")")}),$i=function(e,t){return t===void 0&&(t=dn.kNumber),new mi(e,t)},eL=new mi(50,"%"),qJ;(function(e){e[e.Standard=0]="Standard"})(qJ||(qJ={}));var L4;(function(e){e[e.ADDED=0]="ADDED",e[e.REMOVED=1]="REMOVED",e[e.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED"})(L4||(L4={}));var _Xe={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new by(0,0,0,0)},vn;(function(e){e.COORDINATE="",e.COLOR="",e.PAINT="",e.NUMBER="",e.ANGLE="",e.OPACITY_VALUE="",e.SHADOW_BLUR="",e.LENGTH="",e.PERCENTAGE="",e.LENGTH_PERCENTAGE=" | ",e.LENGTH_PERCENTAGE_12="[ | ]{1,2}",e.LENGTH_PERCENTAGE_14="[ | ]{1,4}",e.LIST_OF_POINTS="",e.PATH="",e.FILTER="",e.Z_INDEX="",e.OFFSET_DISTANCE="",e.DEFINED_PATH="",e.MARKER="",e.TRANSFORM="",e.TRANSFORM_ORIGIN="",e.TEXT="",e.TEXT_TRANSFORM=""})(vn||(vn={}));function Qln(e){var t=e.type,n=e.value;return t==="hex"?"#".concat(n):t==="literal"?n:t==="rgb"?"rgb(".concat(n.join(","),")"):"rgba(".concat(n.join(","),")")}var Jln=function(){var e={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},t="";function n(D){throw new Error(t+": "+D)}function r(){var D=i();return t.length>0&&n("Invalid input not EOF"),D}function i(){return b(o)}function o(){return a("linear-gradient",e.linearGradient,s)||a("repeating-linear-gradient",e.repeatingLinearGradient,s)||a("radial-gradient",e.radialGradient,f)||a("repeating-radial-gradient",e.repeatingRadialGradient,f)||a("conic-gradient",e.conicGradient,f)}function a(D,L,B){return l(L,function(k){var z=B();return z&&(N(e.comma)||n("Missing comma before color stops")),{type:D,orientation:z,colorStops:b(C)}})}function l(D,L){var B=N(D);if(B){N(e.startCall)||n("Missing (");var k=L(B);return N(e.endCall)||n("Missing )"),k}}function s(){return u()||c()}function u(){return A("directional",e.sideOrCorner,1)}function c(){return A("angular",e.angleValue,1)}function f(){var D,L=h(),B;return L&&(D=[],D.push(L),B=t,N(e.comma)&&(L=h(),L?D.push(L):t=B)),D}function h(){var D=d()||p();if(D)D.at=m();else{var L=g();if(L){D=L;var B=m();B&&(D.at=B)}else{var k=v();k&&(D={type:"default-radial",at:k})}}return D}function d(){var D=A("shape",/^(circle)/i,0);return D&&(D.style=M()||g()),D}function p(){var D=A("shape",/^(ellipse)/i,0);return D&&(D.style=T()||g()),D}function g(){return A("extent-keyword",e.extentKeywords,1)}function m(){if(A("position",/^at/,0)){var D=v();return D||n("Missing positioning value"),D}}function v(){var D=y();if(D.x||D.y)return{type:"position",value:D}}function y(){return{x:T(),y:T()}}function b(D){var L=D(),B=[];if(L)for(B.push(L);N(e.comma);)L=D(),L?B.push(L):n("One extra comma");return B}function C(){var D=x();return D||n("Expected color definition"),D.length=T(),D}function x(){return w()||$()||O()||S()}function S(){return A("literal",e.literalColor,0)}function w(){return A("hex",e.hexColor,1)}function O(){return l(e.rgbColor,function(){return{type:"rgb",value:b(P)}})}function $(){return l(e.rgbaColor,function(){return{type:"rgba",value:b(P)}})}function P(){return N(e.number)[1]}function T(){return A("%",e.percentageValue,1)||R()||M()}function R(){return A("position-keyword",e.positionKeywords,1)}function M(){return A("px",e.pixelValue,1)||A("em",e.emValue,1)}function A(D,L,B){var k=N(L);if(k)return{type:D,value:k[B]}}function N(D){var L=/^[\n\r\t\s]+/.exec(t);L&&j(L[0].length);var B=D.exec(t);return B&&j(B[0].length),B}function j(D){t=t.substring(D)}return function(D){return t=D,r()}}();function esn(e,t,n){var r=ao(n.value),i=0,o=0,a=i+e/2,l=o+t/2,s=Math.abs(e*Math.cos(r))+Math.abs(t*Math.sin(r)),u=a-Math.cos(r)*s/2,c=l-Math.sin(r)*s/2,f=a+Math.cos(r)*s/2,h=l+Math.sin(r)*s/2;return{x1:u,y1:c,x2:f,y2:h}}function tsn(e,t,n,r,i){var o=n.value,a=r.value;n.unit===dn.kPercentage&&(o=n.value/100*e),r.unit===dn.kPercentage&&(a=r.value/100*t);var l=Math.max(ys([0,0],[o,a]),ys([0,t],[o,a]),ys([e,t],[o,a]),ys([e,0],[o,a]));return i&&(i instanceof mi?l=i.value:i instanceof ks&&(i.value==="closest-side"?l=Math.min(o,e-o,a,t-a):i.value==="farthest-side"?l=Math.max(o,e-o,a,t-a):i.value==="closest-corner"&&(l=Math.min(ys([0,0],[o,a]),ys([0,t],[o,a]),ys([e,t],[o,a]),ys([e,0],[o,a]))))),{x:o,y:a,r:l}}var nsn=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,rsn=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,isn=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,wXe=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function osn(e){var t,n,r,i=e.length;e[i-1].length=(t=e[i-1].length)!==null&&t!==void 0?t:{type:"%",value:"100"},i>1&&(e[0].length=(n=e[0].length)!==null&&n!==void 0?n:{type:"%",value:"0"});for(var o=0,a=Number(e[0].length.value),l=1;l-1||e.indexOf("radial")>-1){var n=Jln(e);return n.map(function(l){var s=l.type,u=l.orientation,c=l.colorStops;osn(c);var f=c.map(function(b){return{offset:$i(Number(b.length.value),"%"),color:Qln(b)}});if(s==="linear-gradient")return new QN(bf.LinearGradient,{angle:u?lsn(u):hd,steps:f});if(s==="radial-gradient"&&(u||(u=[{type:"shape",value:"circle"}]),u[0].type==="shape"&&u[0].value==="circle")){var h=ssn(u[0].at),d=h.cx,p=h.cy,g=void 0;if(u[0].style){var m=u[0].style,v=m.type,y=m.value;v==="extent-keyword"?g=HJ(y):g=$i(y,v)}return new QN(bf.RadialGradient,{cx:d,cy:p,size:g,steps:f})}})}var r=e[0];if(e[1]==="("||e[2]==="("){if(r==="l"){var i=nsn.exec(e);if(i){var o=((t=i[2].match(wXe))===null||t===void 0?void 0:t.map(function(l){return l.split(":")}))||[];return[new QN(bf.LinearGradient,{angle:$i(parseFloat(i[1]),"deg"),steps:o.map(function(l){var s=Ae(l,2),u=s[0],c=s[1];return{offset:$i(Number(u)*100,"%"),color:c}})})]}}else if(r==="r"){var a=usn(e);if(a)if(eo(a))e=a;else return[new QN(bf.RadialGradient,a)]}else if(r==="p")return dsn(e)}});function usn(e){var t,n=rsn.exec(e);if(n){var r=((t=n[4].match(wXe))===null||t===void 0?void 0:t.map(function(i){return i.split(":")}))||[];return{cx:$i(50,"%"),cy:$i(50,"%"),steps:r.map(function(i){var o=Ae(i,2),a=o[0],l=o[1];return{offset:$i(Number(a)*100,"%"),color:l}})}}return null}function dsn(e){var t=isn.exec(e);if(t){var n=t[1],r=t[2];switch(n){case"a":n="repeat";break;case"x":n="repeat-x";break;case"y":n="repeat-y";break;case"n":n="no-repeat";break;default:n="no-repeat"}return{image:r,repetition:n}}return null}function j7(e){return e&&!!e.image}function tL(e){return e&&!Cn(e.r)&&!Cn(e.g)&&!Cn(e.b)}var rh=pl(function(e){if(j7(e))return Mt({repetition:"repeat"},e);if(Cn(e)&&(e=""),e==="transparent")return xXe;e==="currentColor"&&(e="black");var t=csn(e);if(t)return t;var n=cH(e),r=[0,0,0,0];return n!==null&&(r[0]=n.r||0,r[1]=n.g||0,r[2]=n.b||0,r[3]=n.opacity),Zln.apply(void 0,Kt([],Ae(r),!1))});function fsn(e,t){if(!(!tL(e)||!tL(t)))return[[Number(e.r),Number(e.g),Number(e.b),Number(e.alpha)],[Number(t.r),Number(t.g),Number(t.b),Number(t.alpha)],function(n){var r=n.slice();if(r[3])for(var i=0;i<3;i++)r[i]=Math.round(vo(r[i],0,255));return r[3]=vo(r[3],0,1),"rgba(".concat(r.join(","),")")}]}function IP(e,t){if(Cn(t))return $i(0,"px");if(t="".concat(t).trim().toLowerCase(),isFinite(Number(t))){if("px".search(e)>=0)return $i(Number(t),"px");if("deg".search(e)>=0)return $i(Number(t),"deg")}var n=[];t=t.replace(e,function(i){return n.push(i),"U"+i});var r="U("+e.source+")";return n.map(function(i){return $i(Number(t.replace(new RegExp("U"+i,"g"),"").replace(new RegExp(r,"g"),"*0")),i)})[0]}var OXe=function(e){return IP(new RegExp("px","g"),e)},psn=pl(OXe),hsn=function(e){return IP(new RegExp("%","g"),e)};pl(hsn);var D7=function(e){return Ro(e)||isFinite(Number(e))?$i(Number(e)||0,"px"):IP(new RegExp("px|%|em|rem","g"),e)},z4=pl(D7),ale=function(e){return IP(new RegExp("deg|rad|grad|turn","g"),e)},EXe=pl(ale);function gsn(e,t,n,r,i){i===void 0&&(i=0);var o="",a=e.value||0,l=t.value||0,s=FJ(e.unit),u=e.convertTo(s),c=t.convertTo(s);return u&&c?(a=u.value,l=c.value,o=zJ(e.unit)):(mi.isLength(e.unit)||mi.isLength(t.unit))&&(a=ec(e,i,n),l=ec(t,i,n),o="px"),[a,l,function(f){return r&&(f=Math.max(f,0)),f+o}]}function nc(e){var t=0;return e.unit===dn.kDegrees?t=e.value:e.unit===dn.kRadians?t=Kc(Number(e.value)):e.unit===dn.kTurns&&(t=$ln(Number(e.value))),t}function EK(e,t){var n;return Array.isArray(e)?n=e.map(function(r){return Number(r)}):eo(e)?n=e.split(" ").map(function(r){return Number(r)}):Ro(e)&&(n=[e]),t===2?n.length===1?[n[0],n[0]]:[n[0],n[1]]:n.length===1?[n[0],n[0],n[0],n[0]]:n.length===2?[n[0],n[1],n[0],n[1]]:n.length===3?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]}function $Xe(e){return eo(e)?e.split(" ").map(function(t){return z4(t)}):e.map(function(t){return z4(t.toString())})}function ec(e,t,n){if(e.value===0)return 0;if(e.unit===dn.kPixels)return Number(e.value);if(e.unit===dn.kPercentage&&n){var r=n.nodeName===Rt.GROUP?n.getLocalBounds():n.geometry.contentBounds;return e.value/100*r.halfExtents[t]*2}return 0}var msn=function(e){return IP(/deg|rad|grad|turn|px|%/g,e)},vsn=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function PXe(e){if(e===void 0&&(e=""),e=e.toLowerCase().trim(),e==="none")return[];for(var t=/\s*([\w-]+)\(([^)]*)\)/g,n=[],r,i=0;r=t.exec(e);){if(r.index!==i)return[];if(i=r.index+r[0].length,vsn.indexOf(r[1])>-1&&n.push({name:r[1],params:r[2].split(" ").map(function(o){return msn(o)||rh(o)})}),t.lastIndex===e.length)return n}return[]}function TXe(e){return e.toString()}var FC=function(e){return typeof e=="number"?$i(e):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e)?$i(Number(e)):$i(0)},Cy=pl(FC);pl(function(e){return eo(e)?e.split(" ").map(Cy):e.map(Cy)});function lle(e,t){return[e,t,TXe]}function sle(e,t){return function(n,r){return[n,r,function(i){return TXe(vo(i,e,t))}]}}function MXe(e,t){if(e.length===t.length)return[e,t,function(n){return n}]}function VJ(e){return e.parsedStyle.path.totalLength===0&&(e.parsedStyle.path.totalLength=Trn(e.parsedStyle.path.absolutePath)),e.parsedStyle.path.totalLength}function ysn(e){for(var t=0;t0&&n.push(r),{polygons:t,polylines:n}}function nL(e,t){return e[0]===t[0]&&e[1]===t[1]}function Ssn(e,t){for(var n=[],r=[],i=[],o=0;oMath.PI/2?Math.PI-u:u,c=c>Math.PI/2?Math.PI-c:c;var f={xExtra:Math.cos(s/2-u)*(t/2*(1/Math.sin(s/2)))-t/2||0,yExtra:Math.cos(c-s/2)*(t/2*(1/Math.sin(s/2)))-t/2||0};return f}function T9e(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}var M9e=function(e,t){var n=e.x*t.x+e.y*t.y,r=Math.sqrt((Math.pow(e.x,2)+Math.pow(e.y,2))*(Math.pow(t.x,2)+Math.pow(t.y,2))),i=e.x*t.y-e.y*t.x<0?-1:1,o=i*Math.acos(n/r);return o},R9e=function(e,t,n,r,i,o,a,l){t=Math.abs(t),n=Math.abs(n),r=jUe(r,360);var s=ao(r);if(e.x===a.x&&e.y===a.y)return{x:e.x,y:e.y,ellipticalArcAngle:0};if(t===0||n===0)return{x:0,y:0,ellipticalArcAngle:0};var u=(e.x-a.x)/2,c=(e.y-a.y)/2,f={x:Math.cos(s)*u+Math.sin(s)*c,y:-Math.sin(s)*u+Math.cos(s)*c},h=Math.pow(f.x,2)/Math.pow(t,2)+Math.pow(f.y,2)/Math.pow(n,2);h>1&&(t=Math.sqrt(h)*t,n=Math.sqrt(h)*n);var d=Math.pow(t,2)*Math.pow(n,2)-Math.pow(t,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2),p=Math.pow(t,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2),g=d/p;g=g<0?0:g;var m=(i!==o?1:-1)*Math.sqrt(g),v={x:m*(t*f.y/n),y:m*(-(n*f.x)/t)},y={x:Math.cos(s)*v.x-Math.sin(s)*v.y+(e.x+a.x)/2,y:Math.sin(s)*v.x+Math.cos(s)*v.y+(e.y+a.y)/2},b={x:(f.x-v.x)/t,y:(f.y-v.y)/n},C=M9e({x:1,y:0},b),x={x:(-f.x-v.x)/t,y:(-f.y-v.y)/n},S=M9e(b,x);!o&&S>0?S-=2*Math.PI:o&&S<0&&(S+=2*Math.PI),S%=2*Math.PI;var w=C+S*l,O=t*Math.cos(w),$=n*Math.sin(w),P={x:Math.cos(s)*O-Math.sin(s)*$+y.x,y:Math.sin(s)*O+Math.cos(s)*$+y.y,ellipticalArcStartAngle:C,ellipticalArcEndAngle:C+S,ellipticalArcAngle:w,ellipticalArcCenter:y,resultantRx:t,resultantRy:n};return P};function xsn(e){for(var t=[],n=null,r=null,i=null,o=0,a=e.length,l=0;l1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var p=n*n*(h*h)+r*r*(f*f),g=p?Math.sqrt((n*n*(r*r)-p)/p):1;o===a&&(g*=-1),isNaN(g)&&(g=0);var m=r?g*n*h/r:0,v=n?g*-r*f/n:0,y=(l+u)/2+Math.cos(i)*m-Math.sin(i)*v,b=(s+c)/2+Math.sin(i)*m+Math.cos(i)*v,C=[(f-m)/n,(h-v)/r],x=[(-1*f-m)/n,(-1*h-v)/r],S=N9e([1,0],C),w=N9e(C,x);return UJ(C,x)<=-1&&(w=Math.PI),UJ(C,x)>=1&&(w=0),a===0&&w>0&&(w=w-2*Math.PI),a===1&&w<0&&(w=w+2*Math.PI),{cx:y,cy:b,rx:nL(e,[u,c])?0:n,ry:nL(e,[u,c])?0:r,startAngle:S,endAngle:S+w,xRotation:i,arcFlag:o,sweepFlag:a}}function wsn(e,t,n){var r=t.parsedStyle,i=r.defX,o=i===void 0?0:i,a=r.defY,l=a===void 0?0:a;return e.reduce(function(s,u){var c="";if(u[0]==="M"||u[0]==="L"){var f=Br(u[1]-o,u[2]-l,0);n&&xa(f,f,n),c="".concat(u[0]).concat(f[0],",").concat(f[1])}else if(u[0]==="Z")c=u[0];else if(u[0]==="C"){var h=Br(u[1]-o,u[2]-l,0),d=Br(u[3]-o,u[4]-l,0),p=Br(u[5]-o,u[6]-l,0);n&&(xa(h,h,n),xa(d,d,n),xa(p,p,n)),c="".concat(u[0]).concat(h[0],",").concat(h[1],",").concat(d[0],",").concat(d[1],",").concat(p[0],",").concat(p[1])}else if(u[0]==="A"){var g=Br(u[6]-o,u[7]-l,0);n&&xa(g,g,n),c="".concat(u[0]).concat(u[1],",").concat(u[2],",").concat(u[3],",").concat(u[4],",").concat(u[5],",").concat(g[0],",").concat(g[1])}else if(u[0]==="Q"){var h=Br(u[1]-o,u[2]-l,0),d=Br(u[3]-o,u[4]-l,0);n&&(xa(h,h,n),xa(d,d,n)),c="".concat(u[0]).concat(u[1],",").concat(u[2],",").concat(u[3],",").concat(u[4],"}")}return s+=c},"")}function Osn(e,t,n,r){return[["M",e,t],["L",n,r]]}function A9e(e,t,n,r){var i=(-1+Math.sqrt(2))/3*4,o=e*i,a=t*i,l=n-e,s=n+e,u=r-t,c=r+t;return[["M",l,r],["C",l,r-a,n-o,u,n,u],["C",n+o,u,s,r-a,s,r],["C",s,r+a,n+o,c,n,c],["C",n-o,c,l,r+a,l,r],["Z"]]}function Esn(e,t){var n=e.map(function(r,i){return[i===0?"M":"L",r[0],r[1]]});return t&&n.push(["Z"]),n}function $sn(e,t,n,r,i){if(i){var o=Ae(i,4),a=o[0],l=o[1],s=o[2],u=o[3],c=e>0?1:-1,f=t>0?1:-1,h=c+f!==0?1:0;return[["M",c*a+n,r],["L",e-c*l+n,r],l?["A",l,l,0,0,h,e+n,f*l+r]:null,["L",e+n,t-f*s+r],s?["A",s,s,0,0,h,e+n-c*s,t+r]:null,["L",n+c*u,t+r],u?["A",u,u,0,0,h,n,t+r-f*u]:null,["L",n,f*a+r],a?["A",a,a,0,0,h,c*a+n,r]:null,["Z"]].filter(function(d){return d})}return[["M",n,r],["L",n+e,r],["L",n+e,r+t],["L",n,r+t],["Z"]]}function cle(e,t){t===void 0&&(t=e.getLocalTransform());var n=[];switch(e.nodeName){case Rt.LINE:var r=e.parsedStyle,i=r.x1,o=i===void 0?0:i,a=r.y1,l=a===void 0?0:a,s=r.x2,u=s===void 0?0:s,c=r.y2,f=c===void 0?0:c;n=Osn(o,l,u,f);break;case Rt.CIRCLE:{var h=e.parsedStyle,d=h.r,p=d===void 0?0:d,g=h.cx,m=g===void 0?0:g,v=h.cy,y=v===void 0?0:v;n=A9e(p,p,m,y);break}case Rt.ELLIPSE:{var b=e.parsedStyle,C=b.rx,x=C===void 0?0:C,S=b.ry,w=S===void 0?0:S,O=b.cx,m=O===void 0?0:O,$=b.cy,y=$===void 0?0:$;n=A9e(x,w,m,y);break}case Rt.POLYLINE:case Rt.POLYGON:var P=e.parsedStyle.points;n=Esn(P.points,e.nodeName===Rt.POLYGON);break;case Rt.RECT:var T=e.parsedStyle,R=T.width,M=R===void 0?0:R,A=T.height,N=A===void 0?0:A,j=T.x,D=j===void 0?0:j,L=T.y,B=L===void 0?0:L,k=T.radius,z=k&&k.some(function(W){return W!==0});n=$sn(M,N,D,B,z&&k.map(function(W){return vo(W,0,Math.min(Math.abs(M)/2,Math.abs(N)/2))}));break;case Rt.PATH:var q=e.parsedStyle.path.absolutePath;n=Kt([],Ae(q),!1);break}if(n.length)return wsn(n,e,t)}var RXe=function(e){if(e===""||Array.isArray(e)&&e.length===0)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};var t;try{t=qD(e)}catch{t=qD(""),console.error("[g]: Invalid SVG Path definition: ".concat(e))}ysn(t);var n=bsn(t),r=Csn(t),i=r.polygons,o=r.polylines,a=xsn(t),l=Ssn(a,0),s=l.x,u=l.y,c=l.width,f=l.height;return{absolutePath:t,hasArc:n,segments:a,polygons:i,polylines:o,totalLength:0,rect:{x:Number.isFinite(s)?s:0,y:Number.isFinite(u)?u:0,width:Number.isFinite(c)?c:0,height:Number.isFinite(f)?f:0}}},Psn=pl(RXe);function GJ(e){return eo(e)?Psn(e):RXe(e)}function Tsn(e,t,n){var r=e.curve,i=t.curve;(!r||r.length===0)&&(r=SJ(e.absolutePath,!1),e.curve=r),(!i||i.length===0)&&(i=SJ(t.absolutePath,!1),t.curve=i);var o=[r,i];r.length!==i.length&&(o=cGe(r,i));var a=F8e(o[0])!==F8e(o[1])?_rn(o[0]):xrn(o[0]);return[a,Rrn(o[1],a),function(l){return l}]}function IXe(e,t){var n;eo(e)?n=e.split(" ").map(function(c){var f=Ae(c.split(","),2),h=f[0],d=f[1];return[Number(h),Number(d)]}):n=e;var r=[],i=0,o,a,l=yln(n);n.forEach(function(c,f){n[f+1]&&(o=[0,0],o[0]=i/l,a=vXe(c[0],c[1],n[f+1][0],n[f+1][1]),i+=a,o[1]=i/l,r.push(o))});var s=Math.min.apply(Math,Kt([],Ae(n.map(function(c){return c[0]})),!1)),u=Math.min.apply(Math,Kt([],Ae(n.map(function(c){return c[1]})),!1));return t&&(t.parsedStyle.defX=s,t.parsedStyle.defY=u),{points:n,totalLength:l,segments:r}}function Msn(e,t){return[e.points,t.points,function(n){return n}]}var uo=null;function ds(e){return function(t){var n=0;return e.map(function(r){return r===uo?t[n++]:r})}}function Wm(e){return e}var rL={matrix:["NNNNNN",[uo,uo,0,0,uo,uo,0,0,0,0,1,0,uo,uo,0,1],Wm],matrix3d:["NNNNNNNNNNNNNNNN",Wm],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",ds([uo,uo,new mi(1)]),Wm],scalex:["N",ds([uo,new mi(1),new mi(1)]),ds([uo,new mi(1)])],scaley:["N",ds([new mi(1),uo,new mi(1)]),ds([new mi(1),uo])],scalez:["N",ds([new mi(1),new mi(1),uo])],scale3d:["NNN",Wm],skew:["Aa",null,Wm],skewx:["A",null,ds([uo,hd])],skewy:["A",null,ds([hd,uo])],translate:["Tt",ds([uo,uo,Ca]),Wm],translatex:["T",ds([uo,Ca,Ca]),ds([uo,Ca])],translatey:["T",ds([Ca,uo,Ca]),ds([Ca,uo])],translatez:["L",ds([Ca,Ca,uo])],translate3d:["TTL",Wm]};function ule(e){if(e=(e||"none").toLowerCase().trim(),e==="none")return[];for(var t=/\s*(\w+)\(([^)]*)\)/g,n=[],r,i=0;r=t.exec(e);){if(r.index!==i)return[];i=r.index+r[0].length;var o=r[1],a=rL[o];if(!a)return[];var l=r[2].split(","),s=a[0];if(s.length"].calculator(null,null,{value:n.textTransform},t,null),n.clipPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("clipPath",a,n.clipPath,t,this.runtime),n.offsetPath&&this.runtime.CSSPropertySyntaxFactory[""].calculator("offsetPath",l,n.offsetPath,t,this.runtime),n.anchor&&(t.parsedStyle.anchor=EK(n.anchor,2)),n.transform&&(t.parsedStyle.transform=ule(n.transform)),n.transformOrigin&&(t.parsedStyle.transformOrigin=NXe(n.transformOrigin)),n.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,n.markerStart,n.markerStart,null,null)),n.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[""].calculator(null,n.markerEnd,n.markerEnd,null,null)),n.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[""].calculator("",n.markerMid,n.markerMid,null,null)),((t.nodeName===Rt.CIRCLE||t.nodeName===Rt.ELLIPSE)&&(!Cn(n.cx)||!Cn(n.cy))||(t.nodeName===Rt.RECT||t.nodeName===Rt.IMAGE||t.nodeName===Rt.GROUP||t.nodeName===Rt.HTML||t.nodeName===Rt.TEXT||t.nodeName===Rt.MESH)&&(!Cn(n.x)||!Cn(n.y)||!Cn(n.z))||t.nodeName===Rt.LINE&&(!Cn(n.x1)||!Cn(n.y1)||!Cn(n.z1)||!Cn(n.x2)||!Cn(n.y2)||!Cn(n.z2)))&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),Cn(n.zIndex)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.path&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.points&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),Cn(n.offsetDistance)||this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),n.transform&&this.runtime.CSSPropertySyntaxFactory[""].postProcessor(t,o),s&&this.updateGeometry(t);return}var c=r.skipUpdateAttribute,f=r.skipParse,h=r.forceUpdateGeometry,d=r.usedAttributes,p=r.memoize,g=h,m=Object.keys(n);m.forEach(function(v){var y;c||(t.attributes[v]=n[v]),!g&&(!((y=_1[v])===null||y===void 0)&&y.l)&&(g=!0)}),f||m.forEach(function(v){t.computedStyle[v]=i.parseProperty(v,t.attributes[v],t,p)}),d!=null&&d.length&&(m=Array.from(new Set(m.concat(d)))),m.forEach(function(v){v in t.computedStyle&&(t.parsedStyle[v]=i.computeProperty(v,t.computedStyle[v],t,p))}),g&&this.updateGeometry(t),m.forEach(function(v){v in t.parsedStyle&&i.postProcessProperty(v,t,m)}),this.runtime.enableCSSParsing&&t.children.length&&m.forEach(function(v){v in t.parsedStyle&&i.isPropertyInheritable(v)&&t.children.forEach(function(y){y.internalSetAttribute(v,null,{skipUpdateAttribute:!0,skipParse:!0})})})},e.prototype.parseProperty=function(t,n,r,i){var o=_1[t],a=n;if((n===""||Cn(n))&&(n="unset"),n==="unset"||n==="initial"||n==="inherit")a=HJ(n);else if(o){var l=o.k,s=o.syntax,u=s&&this.getPropertySyntax(s);l&&l.indexOf(n)>-1?a=HJ(n):u&&(!i&&u.parserUnmemoize?a=u.parserUnmemoize(n,r):u.parser&&(a=u.parser(n,r)))}return a},e.prototype.computeProperty=function(t,n,r,i){var o=_1[t],a=r.id==="g-root",l=n;if(o){var s=o.syntax,u=o.inh,c=o.d;if(n instanceof ks){var f=n.value;if(f==="unset"&&(u&&!a?f="inherit":f="initial"),f==="initial")Cn(c)||(n=this.parseProperty(t,c3(c)?c(r.nodeName):c,r,i));else if(f==="inherit"){var h=this.tryToResolveProperty(r,t,{inherited:!0});if(Cn(h)){this.addUnresolveProperty(r,t);return}else return h}}var d=s&&this.getPropertySyntax(s);if(d&&d.calculator){var p=r.parsedStyle[t];l=d.calculator(t,p,n,r,this.runtime)}else n instanceof ks?l=n.value:l=n}return l},e.prototype.postProcessProperty=function(t,n,r){var i=_1[t];if(i&&i.syntax){var o=i.syntax&&this.getPropertySyntax(i.syntax),a=o;a&&a.postProcessor&&a.postProcessor(n,r)}},e.prototype.addUnresolveProperty=function(t,n){var r=R2.get(t);r||(R2.set(t,[]),r=R2.get(t)),r.indexOf(n)===-1&&r.push(n)},e.prototype.tryToResolveProperty=function(t,n,r){r===void 0&&(r={});var i=r.inherited;if(i&&t.parentElement&&Fsn(t.parentElement,n)){var o=t.parentElement.parsedStyle[n];return o==="unset"||o==="initial"||o==="inherit"?void 0:o}},e.prototype.recalc=function(t){var n=R2.get(t);if(n&&n.length){var r={};n.forEach(function(i){r[i]=t.attributes[i]}),this.processProperties(t,r),R2.delete(t)}},e.prototype.updateGeometry=function(t){var n=t.nodeName,r=this.runtime.geometryUpdaterFactory[n];if(r){var i=t.geometry;i.contentBounds||(i.contentBounds=new Jo),i.renderBounds||(i.renderBounds=new Jo);var o=t.parsedStyle,a=r.update(o,t),l=a.width,s=a.height,u=a.depth,c=u===void 0?0:u,f=a.offsetX,h=f===void 0?0:f,d=a.offsetY,p=d===void 0?0:d,g=a.offsetZ,m=g===void 0?0:g,v=[Math.abs(l)/2,Math.abs(s)/2,c/2],y=o,b=y.stroke,C=y.lineWidth,x=y.increasedLineWidthForHitTesting,S=y.shadowType,w=y.shadowColor,O=y.filter,$=O===void 0?[]:O,P=y.transformOrigin,T=o.anchor;n===Rt.TEXT?delete o.anchor:n===Rt.MESH&&(o.anchor[2]=.5);var R=[(1-(T&&T[0]||0)*2)*l/2+h,(1-(T&&T[1]||0)*2)*s/2+p,(1-(T&&T[2]||0)*2)*v[2]+m];i.contentBounds.update(R,v);var M=n===Rt.POLYLINE||n===Rt.POLYGON||n===Rt.PATH?Math.SQRT2:.5,A=b&&!b.isNone;if(A){var N=((C||0)+(x||0))*M;v[0]+=N,v[1]+=N}if(i.renderBounds.update(R,v),w&&S&&S!=="inner"){var j=i.renderBounds,D=j.min,L=j.max,B=o,k=B.shadowBlur,z=B.shadowOffsetX,q=B.shadowOffsetY,W=k||0,U=z||0,K=q||0,X=D[0]-W+U,G=L[0]+W+U,Y=D[1]-W+K,J=L[1]+W+K;D[0]=Math.min(D[0],X),L[0]=Math.max(L[0],G),D[1]=Math.min(D[1],Y),L[1]=Math.max(L[1],J),i.renderBounds.setMinMax(D,L)}$.forEach(function(re){var oe=re.name,se=re.params;if(oe==="blur"){var ye=se[0].value;i.renderBounds.update(i.renderBounds.center,Gk(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[ye,ye,0]))}else if(oe==="drop-shadow"){var be=se[0].value,he=se[1].value,le=se[2].value,ve=i.renderBounds,ke=ve.min,Ie=ve.max,Oe=ke[0]-le+be,Pe=Ie[0]+le+be,_e=ke[1]-le+he,ce=Ie[1]+le+he;ke[0]=Math.min(ke[0],Oe),Ie[0]=Math.max(Ie[0],Pe),ke[1]=Math.min(ke[1],_e),Ie[1]=Math.max(Ie[1],ce),i.renderBounds.setMinMax(ke,Ie)}}),T=o.anchor;var ee=l<0,Q=s<0,te=(ee?-1:1)*(P?ec(P[0],0,t):0),ne=(Q?-1:1)*(P?ec(P[1],1,t):0);te=te-(ee?-1:1)*(T&&T[0]||0)*i.contentBounds.halfExtents[0]*2,ne=ne-(Q?-1:1)*(T&&T[1]||0)*i.contentBounds.halfExtents[1]*2,t.setOrigin(te,ne),this.runtime.sceneGraphService.dirtifyToRoot(t)}},e.prototype.isPropertyInheritable=function(t){var n=_1[t];return n?n.inh:!1},e}(),Wsn=function(){function e(){this.parser=EXe,this.parserUnmemoize=ale,this.parserWithCSSDisabled=null,this.mixer=lle}return e.prototype.calculator=function(t,n,r,i){return nc(r)},e}(),qsn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i,o){return r instanceof ks&&(r=null),o.sceneGraphService.updateDisplayObjectDependency(t,n,r,i),t==="clipPath"&&i.forEach(function(a){a.childNodes.length===0&&o.sceneGraphService.dirtifyToRoot(a)}),r},e}(),Vsn=function(){function e(){this.parser=rh,this.parserWithCSSDisabled=rh,this.mixer=fsn}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?r.value==="none"?WJ:xXe:r},e}(),Usn=function(){function e(){this.parser=PXe}return e.prototype.calculator=function(t,n,r){return r instanceof ks?[]:r},e}();function L9e(e){var t=e.parsedStyle.fontSize;return Cn(t)?null:t}var fle=function(){function e(){this.parser=z4,this.parserUnmemoize=D7,this.parserWithCSSDisabled=null,this.mixer=lle}return e.prototype.calculator=function(t,n,r,i,o){var a;if(Ro(r))return r;if(mi.isRelativeUnit(r.unit)){var l=o.styleValueRegistry;if(r.unit===dn.kPercentage)return 0;if(r.unit===dn.kEms){if(i.parentNode){var s=L9e(i.parentNode);if(s)return s*=r.value,s;l.addUnresolveProperty(i,t)}else l.addUnresolveProperty(i,t);return 0}else if(r.unit===dn.kRems){if(!((a=i==null?void 0:i.ownerDocument)===null||a===void 0)&&a.documentElement){var s=L9e(i.ownerDocument.documentElement);if(s)return s*=r.value,s;l.addUnresolveProperty(i,t)}else l.addUnresolveProperty(i,t);return 0}}else return r.value},e}(),Gsn=function(){function e(){this.mixer=MXe}return e.prototype.parser=function(t){var n=$Xe(Ro(t)?[t]:t),r;return n.length===1?r=[n[0],n[0]]:r=[n[0],n[1]],r},e.prototype.calculator=function(t,n,r){return r.map(function(i){return i.value})},e}(),Ksn=function(){function e(){this.mixer=MXe}return e.prototype.parser=function(t){var n=$Xe(Ro(t)?[t]:t),r;return n.length===1?r=[n[0],n[0],n[0],n[0]]:n.length===2?r=[n[0],n[1],n[0],n[1]]:n.length===3?r=[n[0],n[1],n[2],n[1]]:r=[n[0],n[1],n[2],n[3]],r},e.prototype.calculator=function(t,n,r){return r.map(function(i){return i.value})},e}(),N8=ci();function ple(e,t){var n=t.parsedStyle.defX||0,r=t.parsedStyle.defY||0;return t.resetLocalTransform(),t.setLocalPosition(n,r),e.forEach(function(i){var o=i.t,a=i.d;if(o==="scale"){var l=(a==null?void 0:a.map(function(y){return y.value}))||[1,1];t.scaleLocal(l[0],l[1],1)}else if(o==="scalex"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(l[0],1,1)}else if(o==="scaley"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(1,l[0],1)}else if(o==="scalez"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1];t.scaleLocal(1,1,l[0])}else if(o==="scale3d"){var l=(a==null?void 0:a.map(function(b){return b.value}))||[1,1,1];t.scaleLocal(l[0],l[1],l[2])}else if(o==="translate"){var s=a||[Ca,Ca];t.translateLocal(s[0].value,s[1].value,0)}else if(o==="translatex"){var s=a||[Ca];t.translateLocal(s[0].value,0,0)}else if(o==="translatey"){var s=a||[Ca];t.translateLocal(0,s[0].value,0)}else if(o==="translatez"){var s=a||[Ca];t.translateLocal(0,0,s[0].value)}else if(o==="translate3d"){var s=a||[Ca,Ca,Ca];t.translateLocal(s[0].value,s[1].value,s[2].value)}else if(o==="rotate"){var u=a||[hd];t.rotateLocal(0,0,nc(u[0]))}else if(o==="rotatex"){var u=a||[hd];t.rotateLocal(nc(u[0]),0,0)}else if(o==="rotatey"){var u=a||[hd];t.rotateLocal(0,nc(u[0]),0)}else if(o==="rotatez"){var u=a||[hd];t.rotateLocal(0,0,nc(u[0]))}else if(o!=="rotate3d")if(o==="skew"){var c=(a==null?void 0:a.map(function(y){return y.value}))||[0,0];t.setLocalSkew(ao(c[0]),ao(c[1]))}else if(o==="skewx"){var c=(a==null?void 0:a.map(function(b){return b.value}))||[0];t.setLocalSkew(ao(c[0]),t.getLocalSkew()[1])}else if(o==="skewy"){var c=(a==null?void 0:a.map(function(b){return b.value}))||[0];t.setLocalSkew(t.getLocalSkew()[0],ao(c[0]))}else if(o==="matrix"){var f=Ae(a.map(function(y){return y.value}),6),h=f[0],d=f[1],p=f[2],g=f[3],m=f[4],v=f[5];t.setLocalTransform(vJ(N8,h,d,0,0,p,g,0,0,0,0,1,0,m+n,v+r,0,1))}else o==="matrix3d"&&(vJ.apply(Gnn,Kt([N8],Ae(a.map(function(y){return y.value})),!1)),N8[12]+=n,N8[13]+=r,t.setLocalTransform(N8))}),t.getLocalTransform()}var Xsn=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.postProcessor=function(n,r){var i,o,a;switch(n.nodeName){case Rt.CIRCLE:case Rt.ELLIPSE:var l=n.parsedStyle,s=l.cx,u=l.cy,c=l.cz;Cn(s)||(i=s),Cn(u)||(o=u),Cn(c)||(a=c);break;case Rt.LINE:var f=n.parsedStyle,h=f.x1,d=f.x2,p=f.y1,g=f.y2,m=Math.min(h,d),v=Math.min(p,g);i=m,o=v,a=0;break;case Rt.RECT:case Rt.IMAGE:case Rt.GROUP:case Rt.HTML:case Rt.TEXT:case Rt.MESH:Cn(n.parsedStyle.x)||(i=n.parsedStyle.x),Cn(n.parsedStyle.y)||(o=n.parsedStyle.y),Cn(n.parsedStyle.z)||(a=n.parsedStyle.z);break}n.nodeName!==Rt.PATH&&n.nodeName!==Rt.POLYLINE&&n.nodeName!==Rt.POLYGON&&(n.parsedStyle.defX=i||0,n.parsedStyle.defY=o||0);var y=!Cn(i)||!Cn(o)||!Cn(a);if(y&&r.indexOf("transform")===-1){var b=n.parsedStyle.transform;if(b&&b.length)ple(b,n);else{var C=Ae(n.getLocalPosition(),3),x=C[0],S=C[1],w=C[2];n.setLocalPosition(Cn(i)?x:i,Cn(o)?S:o,Cn(a)?w:a)}}},t}(fle),Ysn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){r instanceof ks&&(r=null);var o=r==null?void 0:r.cloneNode(!0);return o&&(o.style.isMarker=!0),o},e}(),Zsn=function(){function e(){this.mixer=lle,this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null}return e.prototype.calculator=function(t,n,r){return r.value},e}(),Qsn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null,this.mixer=sle(0,1)}return e.prototype.calculator=function(t,n,r){return r.value},e.prototype.postProcessor=function(t){var n=t.parsedStyle,r=n.offsetPath,i=n.offsetDistance;if(r){var o=r.nodeName;if(o===Rt.LINE||o===Rt.PATH||o===Rt.POLYLINE){var a=r.getPoint(i);a&&(t.parsedStyle.defX=a.x,t.parsedStyle.defY=a.y,t.setLocalPosition(a.x,a.y))}}},e}(),Jsn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC,this.parserWithCSSDisabled=null,this.mixer=sle(0,1)}return e.prototype.calculator=function(t,n,r){return r.value},e}(),ecn=function(){function e(){this.parser=GJ,this.parserWithCSSDisabled=GJ,this.mixer=Tsn}return e.prototype.calculator=function(t,n,r){return r instanceof ks&&r.value==="unset"?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new by(0,0,0,0)}:r},e.prototype.postProcessor=function(t,n){if(t.parsedStyle.defX=t.parsedStyle.path.rect.x,t.parsedStyle.defY=t.parsedStyle.path.rect.y,t.nodeName===Rt.PATH&&n.indexOf("transform")===-1){var r=t.parsedStyle,i=r.defX,o=i===void 0?0:i,a=r.defY,l=a===void 0?0:a;t.setLocalPosition(o,l)}},e}(),tcn=function(){function e(){this.parser=IXe,this.mixer=Msn}return e.prototype.postProcessor=function(t,n){if((t.nodeName===Rt.POLYGON||t.nodeName===Rt.POLYLINE)&&n.indexOf("transform")===-1){var r=t.parsedStyle,i=r.defX,o=r.defY;t.setLocalPosition(i,o)}},e}(),ncn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.mixer=sle(0,1/0),n}return t}(fle),rcn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?r.value==="unset"?"":r.value:"".concat(r)},e.prototype.postProcessor=function(t){t.nodeValue="".concat(t.parsedStyle.text)||""},e}(),icn=function(){function e(){}return e.prototype.calculator=function(t,n,r,i){var o=i.getAttribute("text");if(o){var a=o;r.value==="capitalize"?a=o.charAt(0).toUpperCase()+o.slice(1):r.value==="lowercase"?a=o.toLowerCase():r.value==="uppercase"&&(a=o.toUpperCase()),i.parsedStyle.text=a}return r.value},e}(),MK={},ocn=0;function acn(e,t){if(e){var n=typeof e=="string"?e:e.id||ocn++;MK[n]&&MK[n].destroy(),MK[n]=t}}var NP=typeof window<"u"&&typeof window.document<"u";function lcn(e){return!!e.getAttribute}function scn(e,t){for(var n=0,r=e.length;n>>1;AXe(e[i],t)<0?n=i+1:r=i}return n}function AXe(e,t){var n=Number(e.parsedStyle.zIndex),r=Number(t.parsedStyle.zIndex);if(n===r){var i=e.parentNode;if(i){var o=i.childNodes||[];return o.indexOf(e)-o.indexOf(t)}}return n-r}function kXe(e){var t,n=e;do{var r=(t=n.parsedStyle)===null||t===void 0?void 0:t.clipPath;if(r)return n;n=n.parentElement}while(n!==null);return null}var z9e="px";function ccn(e,t,n){NP&&e.style&&(e.style.width=t+z9e,e.style.height=n+z9e)}function jXe(e,t){if(NP)return document.defaultView.getComputedStyle(e,null).getPropertyValue(t)}function ucn(e){var t=jXe(e,"width");return t==="auto"?e.offsetWidth:parseFloat(t)}function dcn(e){var t=jXe(e,"height");return t==="auto"?e.offsetHeight:parseFloat(t)}var fcn=1,pcn={touchstart:"pointerdown",touchend:"pointerup",touchendoutside:"pointerupoutside",touchmove:"pointermove",touchcancel:"pointercancel"},KJ=typeof performance=="object"&&performance.now?performance:Date;function rb(e,t,n){var r=!1,i=!1,o=!!t&&!t.isNone,a=!!n&&!n.isNone;return e==="visiblepainted"||e==="painted"||e==="auto"?(r=o,i=a):e==="visiblefill"||e==="fill"?r=!0:e==="visiblestroke"||e==="stroke"?i=!0:(e==="visible"||e==="all")&&(r=!0,i=!0),[r,i]}var hcn=1,gcn=function(){return hcn++},Pf=typeof self=="object"&&self.self==self?self:typeof global=="object"&&global.global==global?global:{},mcn=Date.now(),vcn=function(){return Pf.performance&&typeof Pf.performance.now=="function"?Pf.performance.now():Date.now()-mcn},s9={},B9e=Date.now(),ycn=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");var t=Date.now(),n=t-B9e,r=n>16?0:16-n,i=gcn();return s9[i]=e,Object.keys(s9).length>1||setTimeout(function(){B9e=t;var o=s9;s9={},Object.keys(o).forEach(function(a){return o[a](vcn())})},r),i},bcn=function(e){delete s9[e]},Ccn=["","webkit","moz","ms","o"],DXe=function(e){return typeof e!="string"?ycn:e===""?Pf.requestAnimationFrame:Pf[e+"RequestAnimationFrame"]},Scn=function(e){return typeof e!="string"?bcn:e===""?Pf.cancelAnimationFrame:Pf[e+"CancelAnimationFrame"]||Pf[e+"CancelRequestAnimationFrame"]},xcn=function(e,t){for(var n=0;e[n]!==void 0;){if(t(e[n]))return e[n];n=n+1}},LXe=xcn(Ccn,function(e){return!!DXe(e)}),zXe=DXe(LXe),BXe=Scn(LXe);Pf.requestAnimationFrame=zXe;Pf.cancelAnimationFrame=BXe;var _cn=function(){function e(){this.callbacks=[]}return e.prototype.getCallbacksNum=function(){return this.callbacks.length},e.prototype.tapPromise=function(t,n){this.callbacks.push(n)},e.prototype.promise=function(){for(var t=[],n=0;n=0;s--){var u=l[s].trim();!Ecn.test(u)&&Ocn.indexOf(u)<0&&(u='"'.concat(u,'"')),l[s]=u}return"".concat(r," ").concat(i," ").concat(o," ").concat(a," ").concat(l.join(","))}var Pcn=function(){function e(){this.parser=ule,this.parserUnmemoize=k9e,this.parserWithCSSDisabled=k9e,this.mixer=zsn}return e.prototype.calculator=function(t,n,r,i){return r instanceof ks?[]:r},e.prototype.postProcessor=function(t){var n=t.parsedStyle.transform;ple(n,t)},e}(),Tcn=function(){function e(){this.parser=NXe,this.parserUnmemoize=Bsn}return e}(),Mcn=function(){function e(){this.parser=Cy,this.parserUnmemoize=FC}return e.prototype.calculator=function(t,n,r,i){return r.value},e.prototype.postProcessor=function(t){if(t.parentNode){var n=t.parentNode,r=n.renderable,i=n.sortable;r&&(r.dirty=!0),i&&(i.dirty=!0,i.dirtyReason=L4.Z_INDEX_CHANGED)}},e}(),Rcn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.r,i=r*2,o=r*2;return{width:i,height:o}},e}(),Icn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.rx,i=t.ry,o=r*2,a=i*2;return{width:o,height:a}},e}(),Ncn=function(){function e(){}return e.prototype.update=function(t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=Math.min(n,i),l=Math.max(n,i),s=Math.min(r,o),u=Math.max(r,o),c=l-a,f=u-s;return{width:c,height:f}},e}(),Acn=function(){function e(){}return e.prototype.update=function(t){var n=t.path,r=n.rect,i=r.width,o=r.height;return{width:i,height:o}},e}(),kcn=function(){function e(){}return e.prototype.update=function(t){if(t.points&&sa(t.points.points)){var n=t.points.points,r=Math.min.apply(Math,Kt([],Ae(n.map(function(u){return u[0]})),!1)),i=Math.max.apply(Math,Kt([],Ae(n.map(function(u){return u[0]})),!1)),o=Math.min.apply(Math,Kt([],Ae(n.map(function(u){return u[1]})),!1)),a=Math.max.apply(Math,Kt([],Ae(n.map(function(u){return u[1]})),!1)),l=i-r,s=a-o;return{width:l,height:s}}return{width:0,height:0}},e}(),jcn=function(){function e(){}return e.prototype.update=function(t,n){var r=t.img,i=t.width,o=i===void 0?0:i,a=t.height,l=a===void 0?0:a,s=o,u=l;return r&&!eo(r)&&(s||(s=r.width,t.width=s),u||(u=r.height,t.height=u)),{width:s,height:u}},e}(),Dcn=function(){function e(t){this.globalRuntime=t}return e.prototype.isReadyToMeasure=function(t,n){var r=t.text,i=t.textAlign,o=t.textBaseline,a=t.fontSize,l=t.fontStyle,s=t.fontWeight,u=t.fontVariant,c=t.lineWidth;return r&&a&&l&&s&&u&&i&&o&&!Cn(c)},e.prototype.update=function(t,n){var r,i,o=t.text,a=t.textAlign,l=t.lineWidth,s=t.textBaseline,u=t.dx,c=t.dy;if(!this.isReadyToMeasure(t,n))return t.metrics={font:"",width:0,height:0,lines:[],lineWidths:[],lineHeight:0,maxLineWidth:0,fontProperties:{ascent:0,descent:0,fontSize:0},lineMetrics:[]},{width:0,height:0,x:0,y:0,offsetX:0,offsetY:0};var f=(((i=(r=n==null?void 0:n.ownerDocument)===null||r===void 0?void 0:r.defaultView)===null||i===void 0?void 0:i.getConfig())||{}).offscreenCanvas,h=this.globalRuntime.textService.measureText(o,t,f);t.metrics=h;var d=h.width,p=h.height,g=h.lineHeight,m=h.fontProperties,v=[d/2,p/2,0],y=[0,1],b=0;a==="center"||a==="middle"?(b=l/2,y=[.5,1]):(a==="right"||a==="end")&&(b=l,y=[1,1]);var C=0;return s==="middle"?C=v[1]:s==="top"||s==="hanging"?C=v[1]*2:s==="alphabetic"?C=this.globalRuntime.enableCSSParsing?g-m.ascent:0:(s==="bottom"||s==="ideographic")&&(C=0),u&&(b+=u),c&&(C+=c),t.anchor=[y[0],y[1],0],{width:v[0]*2,height:v[1]*2,offsetX:b,offsetY:C}},e}();function Lcn(e){return!!e.type}var dH=function(){function e(t){this.eventPhase=e.prototype.NONE,this.bubbles=!0,this.cancelBubble=!0,this.cancelable=!1,this.defaultPrevented=!1,this.propagationStopped=!1,this.propagationImmediatelyStopped=!1,this.layer=new La,this.page=new La,this.canvas=new La,this.viewport=new La,this.composed=!1,this.NONE=0,this.CAPTURING_PHASE=1,this.AT_TARGET=2,this.BUBBLING_PHASE=3,this.manager=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerX",{get:function(){return this.layer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"layerY",{get:function(){return this.layer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageX",{get:function(){return this.page.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pageY",{get:function(){return this.page.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvasX",{get:function(){return this.canvas.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvasY",{get:function(){return this.canvas.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportX",{get:function(){return this.viewport.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this.viewport.y},enumerable:!1,configurable:!0}),e.prototype.composedPath=function(){return this.manager&&(!this.path||this.path[0]!==this.target)&&(this.path=this.target?this.manager.propagationPath(this.target):[]),this.path},Object.defineProperty(e.prototype,"propagationPath",{get:function(){return this.composedPath()},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){this.nativeEvent instanceof Event&&this.nativeEvent.cancelable&&this.nativeEvent.preventDefault(),this.defaultPrevented=!0},e.prototype.stopImmediatePropagation=function(){this.propagationImmediatelyStopped=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.initEvent=function(){},e.prototype.initUIEvent=function(){},e.prototype.clone=function(){throw new Error(gi)},e}(),FXe=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.client=new La,n.movement=new La,n.offset=new La,n.global=new La,n.screen=new La,n}return Object.defineProperty(t.prototype,"clientX",{get:function(){return this.client.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientY",{get:function(){return this.client.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementX",{get:function(){return this.movement.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"movementY",{get:function(){return this.movement.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsetX",{get:function(){return this.offset.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"offsetY",{get:function(){return this.offset.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"globalX",{get:function(){return this.global.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"globalY",{get:function(){return this.global.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screenX",{get:function(){return this.screen.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"screenY",{get:function(){return this.screen.y},enumerable:!1,configurable:!0}),t.prototype.getModifierState=function(n){return"getModifierState"in this.nativeEvent&&this.nativeEvent.getModifierState(n)},t.prototype.initMouseEvent=function(){throw new Error(gi)},t}(dH),XJ=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.width=0,n.height=0,n.isPrimary=!1,n}return t.prototype.getCoalescedEvents=function(){return this.type==="pointermove"||this.type==="mousemove"||this.type==="touchmove"?[this]:[]},t.prototype.getPredictedEvents=function(){throw new Error("getPredictedEvents is not supported!")},t.prototype.clone=function(){return this.manager.clonePointerEvent(this)},t}(FXe),YJ=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.clone=function(){return this.manager.cloneWheelEvent(this)},t}(FXe),vi=function(e){$n(t,e);function t(n,r){var i=e.call(this,null)||this;return i.type=n,i.detail=r,Object.assign(i,r),i}return t}(dH),F9e=":",HXe=function(){function e(){this.emitter=new rle}return e.prototype.on=function(t,n,r){return this.addEventListener(t,n,r),this},e.prototype.addEventListener=function(t,n,r){var i=A8e(r)&&r||Vv(r)&&r.capture,o=Vv(r)&&r.once,a=c3(n)?void 0:n,l=!1,s="";if(t.indexOf(F9e)>-1){var u=Ae(t.split(F9e),2),c=u[0],f=u[1];t=f,s=c,l=!0}if(t=i?"".concat(t,"capture"):t,n=c3(n)?n:n.handleEvent,l){var h=n;n=function(){for(var d,p=[],g=0;g0},t.prototype.isDefaultNamespace=function(n){throw new Error(gi)},t.prototype.lookupNamespaceURI=function(n){throw new Error(gi)},t.prototype.lookupPrefix=function(n){throw new Error(gi)},t.prototype.normalize=function(){throw new Error(gi)},t.prototype.isEqualNode=function(n){return this===n},t.prototype.isSameNode=function(n){return this.isEqualNode(n)},Object.defineProperty(t.prototype,"parent",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.childNodes.length>0?this.childNodes[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null},enumerable:!1,configurable:!0}),t.prototype.compareDocumentPosition=function(n){var r;if(n===this)return 0;for(var i=n,o=this,a=[i],l=[o];(r=i.parentNode)!==null&&r!==void 0?r:o.parentNode;)i=i.parentNode?(a.push(i.parentNode),i.parentNode):i,o=o.parentNode?(l.push(o.parentNode),o.parentNode):o;if(i!==o)return t.DOCUMENT_POSITION_DISCONNECTED|t.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|t.DOCUMENT_POSITION_PRECEDING;var s=a.length>l.length?a:l,u=s===a?l:a;if(s[s.length-u.length]===u[0])return s===a?t.DOCUMENT_POSITION_CONTAINED_BY|t.DOCUMENT_POSITION_FOLLOWING:t.DOCUMENT_POSITION_CONTAINS|t.DOCUMENT_POSITION_PRECEDING;for(var c=s.length-u.length,f=u.length-1;f>=0;f--){var h=u[f],d=s[c+f];if(d!==h){var p=h.parentNode.childNodes;return p.indexOf(h)0&&r;)r=r.parentNode,n--;return r},t.prototype.forEach=function(n,r){r===void 0&&(r=!1),n(this)||(r?this.childNodes.slice():this.childNodes).forEach(function(i){i.forEach(n)})},t.DOCUMENT_POSITION_DISCONNECTED=1,t.DOCUMENT_POSITION_PRECEDING=2,t.DOCUMENT_POSITION_FOLLOWING=4,t.DOCUMENT_POSITION_CONTAINS=8,t.DOCUMENT_POSITION_CONTAINED_BY=16,t.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,t}(HXe),zcn=2048,Bcn=function(){function e(t,n){var r=this;this.globalRuntime=t,this.context=n,this.emitter=new rle,this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=ci(),this.tmpVec3=_r(),this.onPointerDown=function(i){var o=r.createPointerEvent(i);if(r.dispatchEvent(o,"pointerdown"),o.pointerType==="touch")r.dispatchEvent(o,"touchstart");else if(o.pointerType==="mouse"||o.pointerType==="pen"){var a=o.button===2;r.dispatchEvent(o,a?"rightdown":"mousedown")}var l=r.trackingData(i.pointerId);l.pressTargetsByButton[i.button]=o.composedPath(),r.freeEvent(o)},this.onPointerUp=function(i){var o,a=KJ.now(),l=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);if(r.dispatchEvent(l,"pointerup"),l.pointerType==="touch")r.dispatchEvent(l,"touchend");else if(l.pointerType==="mouse"||l.pointerType==="pen"){var s=l.button===2;r.dispatchEvent(l,s?"rightup":"mouseup")}var u=r.trackingData(i.pointerId),c=r.findMountedTarget(u.pressTargetsByButton[i.button]),f=c;if(c&&!l.composedPath().includes(c)){for(var h=c;h&&!l.composedPath().includes(h);){if(l.currentTarget=h,r.notifyTarget(l,"pointerupoutside"),l.pointerType==="touch")r.notifyTarget(l,"touchendoutside");else if(l.pointerType==="mouse"||l.pointerType==="pen"){var s=l.button===2;r.notifyTarget(l,s?"rightupoutside":"mouseupoutside")}Na.isNode(h)&&(h=h.parentNode)}delete u.pressTargetsByButton[i.button],f=h}if(f){var d=r.clonePointerEvent(l,"click");d.target=f,d.path=[],u.clicksByButton[i.button]||(u.clicksByButton[i.button]={clickCount:0,target:d.target,timeStamp:a});var p=u.clicksByButton[i.button];p.target===d.target&&a-p.timeStamp<200?++p.clickCount:p.clickCount=1,p.target=d.target,p.timeStamp=a,d.detail=p.clickCount,!((o=l.detail)===null||o===void 0)&&o.preventClick||(!r.context.config.useNativeClickEvent&&(d.pointerType==="mouse"||d.pointerType==="touch")&&r.dispatchEvent(d,"click"),r.dispatchEvent(d,"pointertap")),r.freeEvent(d)}r.freeEvent(l)},this.onPointerMove=function(i){var o=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0),a=o.pointerType==="mouse"||o.pointerType==="pen",l=r.trackingData(i.pointerId),s=r.findMountedTarget(l.overTargets);if(l.overTargets&&s!==o.target){var u=i.type==="mousemove"?"mouseout":"pointerout",c=r.createPointerEvent(i,u,s||void 0);if(r.dispatchEvent(c,"pointerout"),a&&r.dispatchEvent(c,"mouseout"),!o.composedPath().includes(s)){var f=r.createPointerEvent(i,"pointerleave",s||void 0);for(f.eventPhase=f.AT_TARGET;f.target&&!o.composedPath().includes(f.target);)f.currentTarget=f.target,r.notifyTarget(f),a&&r.notifyTarget(f,"mouseleave"),Na.isNode(f.target)&&(f.target=f.target.parentNode);r.freeEvent(f)}r.freeEvent(c)}if(s!==o.target){var h=i.type==="mousemove"?"mouseover":"pointerover",d=r.clonePointerEvent(o,h);r.dispatchEvent(d,"pointerover"),a&&r.dispatchEvent(d,"mouseover");for(var p=s&&Na.isNode(s)&&s.parentNode;p&&p!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode)&&p!==o.target;)p=p.parentNode;var g=!p||p===(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);if(g){var m=r.clonePointerEvent(o,"pointerenter");for(m.eventPhase=m.AT_TARGET;m.target&&m.target!==s&&m.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)m.currentTarget=m.target,r.notifyTarget(m),a&&r.notifyTarget(m,"mouseenter"),Na.isNode(m.target)&&(m.target=m.target.parentNode);r.freeEvent(m)}r.freeEvent(d)}r.dispatchEvent(o,"pointermove"),o.pointerType==="touch"&&r.dispatchEvent(o,"touchmove"),a&&(r.dispatchEvent(o,"mousemove"),r.cursor=r.getCursor(o.target)),l.overTargets=o.composedPath(),r.freeEvent(o)},this.onPointerOut=function(i){var o=r.trackingData(i.pointerId);if(o.overTargets){var a=i.pointerType==="mouse"||i.pointerType==="pen",l=r.findMountedTarget(o.overTargets),s=r.createPointerEvent(i,"pointerout",l||void 0);r.dispatchEvent(s),a&&r.dispatchEvent(s,"mouseout");var u=r.createPointerEvent(i,"pointerleave",l||void 0);for(u.eventPhase=u.AT_TARGET;u.target&&u.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)u.currentTarget=u.target,r.notifyTarget(u),a&&r.notifyTarget(u,"mouseleave"),Na.isNode(u.target)&&(u.target=u.target.parentNode);o.overTargets=null,r.freeEvent(s),r.freeEvent(u)}r.cursor=null},this.onPointerOver=function(i){var o=r.trackingData(i.pointerId),a=r.createPointerEvent(i),l=a.pointerType==="mouse"||a.pointerType==="pen";r.dispatchEvent(a,"pointerover"),l&&r.dispatchEvent(a,"mouseover"),a.pointerType==="mouse"&&(r.cursor=r.getCursor(a.target));var s=r.clonePointerEvent(a,"pointerenter");for(s.eventPhase=s.AT_TARGET;s.target&&s.target!==(Na.isNode(r.rootTarget)&&r.rootTarget.parentNode);)s.currentTarget=s.target,r.notifyTarget(s),l&&r.notifyTarget(s,"mouseenter"),Na.isNode(s.target)&&(s.target=s.target.parentNode);o.overTargets=a.composedPath(),r.freeEvent(a),r.freeEvent(s)},this.onPointerUpOutside=function(i){var o=r.trackingData(i.pointerId),a=r.findMountedTarget(o.pressTargetsByButton[i.button]),l=r.createPointerEvent(i);if(a){for(var s=a;s;)l.currentTarget=s,r.notifyTarget(l,"pointerupoutside"),l.pointerType==="touch"||(l.pointerType==="mouse"||l.pointerType==="pen")&&r.notifyTarget(l,l.button===2?"rightupoutside":"mouseupoutside"),Na.isNode(s)&&(s=s.parentNode);delete o.pressTargetsByButton[i.button]}r.freeEvent(l)},this.onWheel=function(i){var o=r.createWheelEvent(i);r.dispatchEvent(o),r.freeEvent(o)},this.onClick=function(i){if(r.context.config.useNativeClickEvent){var o=r.createPointerEvent(i);r.dispatchEvent(o),r.freeEvent(o)}},this.onPointerCancel=function(i){var o=r.createPointerEvent(i,void 0,void 0,r.context.config.alwaysTriggerPointerEventOnCanvas?r.rootTarget:void 0);r.dispatchEvent(o),r.freeEvent(o)}}return e.prototype.init=function(){this.rootTarget=this.context.renderingContext.root.parentNode,this.addEventMapping("pointerdown",this.onPointerDown),this.addEventMapping("pointerup",this.onPointerUp),this.addEventMapping("pointermove",this.onPointerMove),this.addEventMapping("pointerout",this.onPointerOut),this.addEventMapping("pointerleave",this.onPointerOut),this.addEventMapping("pointercancel",this.onPointerCancel),this.addEventMapping("pointerover",this.onPointerOver),this.addEventMapping("pointerupoutside",this.onPointerUpOutside),this.addEventMapping("wheel",this.onWheel),this.addEventMapping("click",this.onClick)},e.prototype.destroy=function(){this.emitter.removeAllListeners(),this.mappingTable={},this.mappingState={},this.eventPool.clear()},e.prototype.client2Viewport=function(t){var n=this.context.contextService.getBoundingClientRect();return new La(t.x-((n==null?void 0:n.left)||0),t.y-((n==null?void 0:n.top)||0))},e.prototype.viewport2Client=function(t){var n=this.context.contextService.getBoundingClientRect();return new La(t.x+((n==null?void 0:n.left)||0),t.y+((n==null?void 0:n.top)||0))},e.prototype.viewport2Canvas=function(t){var n=t.x,r=t.y,i=this.rootTarget.defaultView,o=i.getCamera(),a=this.context.config,l=a.width,s=a.height,u=o.getPerspectiveInverse(),c=o.getWorldTransform(),f=Ol(this.tmpMatrix,c,u),h=ud(this.tmpVec3,n/l*2-1,(1-r/s)*2-1,0);return xa(h,h,f),new La(h[0],h[1])},e.prototype.canvas2Viewport=function(t){var n=this.rootTarget.defaultView,r=n.getCamera(),i=r.getPerspective(),o=r.getViewTransform(),a=Ol(this.tmpMatrix,i,o),l=ud(this.tmpVec3,t.x,t.y,0);xa(this.tmpVec3,this.tmpVec3,a);var s=this.context.config,u=s.width,c=s.height;return new La((l[0]+1)/2*u,(1-(l[1]+1)/2)*c)},e.prototype.setPickHandler=function(t){this.pickHandler=t},e.prototype.addEventMapping=function(t,n){this.mappingTable[t]||(this.mappingTable[t]=[]),this.mappingTable[t].push({fn:n,priority:0}),this.mappingTable[t].sort(function(r,i){return r.priority-i.priority})},e.prototype.mapEvent=function(t){if(this.rootTarget){var n=this.mappingTable[t.type];if(n)for(var r=0,i=n.length;r=1;i--)if(t.currentTarget=r[i],this.notifyTarget(t,n),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,n),!(t.propagationStopped||t.propagationImmediatelyStopped)){var o=r.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var i=o+1;io||r>a?null:!l&&this.pickHandler(t)||this.rootTarget||null},e.prototype.isNativeEventFromCanvas=function(t){var n,r=this.context.contextService.getDomElement(),i=(n=t.nativeEvent)===null||n===void 0?void 0:n.target;if(i){if(i===r)return!0;if(r&&r.contains)return r.contains(i)}return t.nativeEvent.composedPath?t.nativeEvent.composedPath().indexOf(r)>-1:!1},e.prototype.getExistedHTML=function(t){var n,r;if(t.nativeEvent.composedPath)try{for(var i=ac(t.nativeEvent.composedPath()),o=i.next();!o.done;o=i.next()){var a=o.value,l=this.nativeHTMLMap.get(a);if(l)return l}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},e.prototype.pickTarget=function(t){return this.hitTest({clientX:t.clientX,clientY:t.clientY,viewportX:t.viewportX,viewportY:t.viewportY,x:t.canvasX,y:t.canvasY})},e.prototype.createPointerEvent=function(t,n,r,i){var o=this.allocateEvent(XJ);this.copyPointerData(t,o),this.copyMouseData(t,o),this.copyData(t,o),o.nativeEvent=t.nativeEvent,o.originalEvent=t;var a=this.getExistedHTML(o);return o.target=r??(a||this.isNativeEventFromCanvas(o)&&this.pickTarget(o)||i),typeof n=="string"&&(o.type=n),o},e.prototype.createWheelEvent=function(t){var n=this.allocateEvent(YJ);this.copyWheelData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.nativeEvent=t.nativeEvent,n.originalEvent=t;var r=this.getExistedHTML(n);return n.target=r||this.isNativeEventFromCanvas(n)&&this.pickTarget(n),n},e.prototype.trackingData=function(t){return this.mappingState.trackingData[t]||(this.mappingState.trackingData[t]={pressTargetsByButton:{},clicksByButton:{},overTarget:null}),this.mappingState.trackingData[t]},e.prototype.cloneWheelEvent=function(t){var n=this.allocateEvent(YJ);return n.nativeEvent=t.nativeEvent,n.originalEvent=t.originalEvent,this.copyWheelData(t,n),this.copyMouseData(t,n),this.copyData(t,n),n.target=t.target,n.path=t.composedPath().slice(),n.type=t.type,n},e.prototype.clonePointerEvent=function(t,n){var r=this.allocateEvent(XJ);return r.nativeEvent=t.nativeEvent,r.originalEvent=t.originalEvent,this.copyPointerData(t,r),this.copyMouseData(t,r),this.copyData(t,r),r.target=t.target,r.path=t.composedPath().slice(),r.type=n??r.type,r},e.prototype.copyPointerData=function(t,n){n.pointerId=t.pointerId,n.width=t.width,n.height=t.height,n.isPrimary=t.isPrimary,n.pointerType=t.pointerType,n.pressure=t.pressure,n.tangentialPressure=t.tangentialPressure,n.tiltX=t.tiltX,n.tiltY=t.tiltY,n.twist=t.twist},e.prototype.copyMouseData=function(t,n){n.altKey=t.altKey,n.button=t.button,n.buttons=t.buttons,n.ctrlKey=t.ctrlKey,n.metaKey=t.metaKey,n.shiftKey=t.shiftKey,n.client.copyFrom(t.client),n.movement.copyFrom(t.movement),n.canvas.copyFrom(t.canvas),n.screen.copyFrom(t.screen),n.global.copyFrom(t.global),n.offset.copyFrom(t.offset)},e.prototype.copyWheelData=function(t,n){n.deltaMode=t.deltaMode,n.deltaX=t.deltaX,n.deltaY=t.deltaY,n.deltaZ=t.deltaZ},e.prototype.copyData=function(t,n){n.isTrusted=t.isTrusted,n.timeStamp=KJ.now(),n.type=t.type,n.detail=t.detail,n.view=t.view,n.page.copyFrom(t.page),n.viewport.copyFrom(t.viewport)},e.prototype.allocateEvent=function(t){this.eventPool.has(t)||this.eventPool.set(t,[]);var n=this.eventPool.get(t).pop()||new t(this);return n.eventPhase=n.NONE,n.currentTarget=null,n.path=[],n.target=null,n},e.prototype.freeEvent=function(t){if(t.manager!==this)throw new Error("It is illegal to free an event not managed by this EventBoundary!");var n=t.constructor;this.eventPool.has(n)||this.eventPool.set(n,[]),this.eventPool.get(n).push(t)},e.prototype.notifyTarget=function(t,n){n=n??t.type;var r=t.eventPhase===t.CAPTURING_PHASE||t.eventPhase===t.AT_TARGET?"".concat(n,"capture"):n;this.notifyListeners(t,r),t.eventPhase===t.AT_TARGET&&this.notifyListeners(t,n)},e.prototype.notifyListeners=function(t,n){var r=t.currentTarget.emitter,i=r._events[n];if(i)if("fn"in i)i.once&&r.removeListener(n,i.fn,void 0,!0),i.fn.call(t.currentTarget||i.context,t);else for(var o=0;o=0;r--){var i=t[r];if(i===this.rootTarget||Na.isNode(i)&&i.parentNode===n)n=t[r];else break}return n},e.prototype.getCursor=function(t){for(var n=t;n;){var r=lcn(n)&&n.getAttribute("cursor");if(r)return r;n=Na.isNode(n)&&n.parentNode}},e}(),Fcn=function(){function e(){}return e.prototype.getOrCreateCanvas=function(t,n){if(this.canvas)return this.canvas;if(t||jt.offscreenCanvas)this.canvas=t||jt.offscreenCanvas,this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n)),(!this.context||!this.context.measureText)&&(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch{this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",Mt({willReadFrequently:!0},n))}return this.canvas.width=10,this.canvas.height=10,this.canvas},e.prototype.getOrCreateContext=function(t,n){return this.context?this.context:(this.getOrCreateCanvas(t,n),this.context)},e}(),u0;(function(e){e[e.CAMERA_CHANGED=0]="CAMERA_CHANGED",e[e.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",e[e.NONE=2]="NONE"})(u0||(u0={}));var Hcn=function(){function e(t,n){this.globalRuntime=t,this.context=n,this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new Hl,initAsync:new _cn,dirtycheck:new RK,cull:new RK,beginFrame:new Hl,beforeRender:new Hl,render:new Hl,afterRender:new Hl,endFrame:new Hl,destroy:new Hl,pick:new wcn,pickSync:new RK,pointerDown:new Hl,pointerUp:new Hl,pointerMove:new Hl,pointerOut:new Hl,pointerOver:new Hl,pointerWheel:new Hl,pointerCancel:new Hl,click:new Hl}}return e.prototype.init=function(t){var n=this,r=Mt(Mt({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(i){i.apply(r,n.globalRuntime)}),this.hooks.init.call(),this.hooks.initAsync.getCallbacksNum()===0?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){n.inited=!0,t()})},e.prototype.getStats=function(){return this.stats},e.prototype.disableDirtyRectangleRendering=function(){var t=this.context.config.renderer,n=t.getConfig().enableDirtyRectangleRendering;return!n||this.context.renderingContext.renderReasons.has(u0.CAMERA_CHANGED)},e.prototype.render=function(t,n){var r=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var i=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(i.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),i.renderReasons.size&&this.inited){i.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var o=i.renderReasons.size===1&&i.renderReasons.has(u0.CAMERA_CHANGED),a=!t.disableRenderHooks||!(t.disableRenderHooks&&o);a&&this.renderDisplayObject(i.root,t,i),this.hooks.beginFrame.call(),a&&i.renderListCurrentFrame.forEach(function(l){r.hooks.beforeRender.call(l),r.hooks.render.call(l),r.hooks.afterRender.call(l)}),this.hooks.endFrame.call(),i.renderListCurrentFrame=[],i.renderReasons.clear(),n()}},e.prototype.renderDisplayObject=function(t,n,r){var i=this,o=n.renderer.getConfig(),a=o.enableDirtyCheck,l=o.enableCulling;this.globalRuntime.enableCSSParsing&&this.globalRuntime.styleValueRegistry.recalc(t);var s=t.renderable,u=a?s.dirty||r.dirtyRectangleRenderingDisabled?t:null:t;if(u){var c=l?this.hooks.cull.call(u,this.context.camera):u;c&&(this.stats.rendered++,r.renderListCurrentFrame.push(c))}t.renderable.dirty=!1,t.sortable.renderOrder=this.zIndexCounter++,this.stats.total++;var f=t.sortable;f.dirty&&(this.sort(t,f),f.dirty=!1,f.dirtyChildren=[],f.dirtyReason=void 0),(f.sorted||t.childNodes).forEach(function(h){i.renderDisplayObject(h,n,r)})},e.prototype.sort=function(t,n){n.sorted&&n.dirtyReason!==L4.Z_INDEX_CHANGED?n.dirtyChildren.forEach(function(r){var i=t.childNodes.indexOf(r);if(i===-1){var o=n.sorted.indexOf(r);o>=0&&n.sorted.splice(o,1)}else if(n.sorted.length===0)n.sorted.push(r);else{var a=scn(n.sorted,r);n.sorted.splice(a,0,r)}}):n.sorted=t.childNodes.slice().sort(AXe)},e.prototype.destroy=function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()},e.prototype.dirtify=function(){this.context.renderingContext.renderReasons.add(u0.DISPLAY_OBJECT_CHANGED)},e}(),Wcn=/\[\s*(.*)=(.*)\s*\]/,qcn=function(){function e(){}return e.prototype.selectOne=function(t,n){var r=this;if(t.startsWith("."))return n.find(function(l){return((l==null?void 0:l.classList)||[]).indexOf(r.getIdOrClassname(t))>-1});if(t.startsWith("#"))return n.find(function(l){return l.id===r.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),o=i.name,a=i.value;return o?n.find(function(l){return n!==l&&(o==="name"?l.name===a:r.attributeToString(l,o)===a)}):null}else return n.find(function(l){return n!==l&&l.nodeName===t})},e.prototype.selectAll=function(t,n){var r=this;if(t.startsWith("."))return n.findAll(function(l){return n!==l&&((l==null?void 0:l.classList)||[]).indexOf(r.getIdOrClassname(t))>-1});if(t.startsWith("#"))return n.findAll(function(l){return n!==l&&l.id===r.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),o=i.name,a=i.value;return o?n.findAll(function(l){return n!==l&&(o==="name"?l.name===a:r.attributeToString(l,o)===a)}):[]}else return n.findAll(function(l){return n!==l&&l.nodeName===t})},e.prototype.is=function(t,n){if(t.startsWith("."))return n.className===this.getIdOrClassname(t);if(t.startsWith("#"))return n.id===this.getIdOrClassname(t);if(t.startsWith("[")){var r=this.getAttribute(t),i=r.name,o=r.value;return i==="name"?n.name===o:this.attributeToString(n,i)===o}else return n.nodeName===t},e.prototype.getIdOrClassname=function(t){return t.substring(1)},e.prototype.getAttribute=function(t){var n=t.match(Wcn),r="",i="";return n&&n.length>2&&(r=n[1].replace(/"/g,""),i=n[2].replace(/"/g,"")),{name:r,value:i}},e.prototype.attributeToString=function(t,n){if(!t.getAttribute)return"";var r=t.getAttribute(n);return Cn(r)?"":r.toString?r.toString():""},e}(),Sy=function(e){$n(t,e);function t(n,r,i,o,a,l,s,u){var c=e.call(this,null)||this;return c.relatedNode=r,c.prevValue=i,c.newValue=o,c.attrName=a,c.attrChange=l,c.prevParsedValue=s,c.newParsedValue=u,c.type=n,c}return t.ADDITION=2,t.MODIFICATION=1,t.REMOVAL=3,t}(dH),pr;(function(e){e.REPARENT="reparent",e.DESTROY="destroy",e.ATTR_MODIFIED="DOMAttrModified",e.INSERTED="DOMNodeInserted",e.REMOVED="removed",e.MOUNTED="DOMNodeInsertedIntoDocument",e.UNMOUNTED="DOMNodeRemovedFromDocument",e.BOUNDS_CHANGED="bounds-changed",e.CULLED="culled"})(pr||(pr={}));function H9e(e){var t=e.renderable;t&&(t.renderBoundsDirty=!0,t.boundsDirty=!0)}var Vcn=new Sy(pr.REPARENT,null,"","","",0,"",""),Ucn=function(){function e(t){var n=this;this.runtime=t,this.pendingEvents=[],this.boundsChangedEvent=new vi(pr.BOUNDS_CHANGED),this.rotate=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.rotateLocal(i,o);else{var u=Fo();qN(u,o[0],o[1],o[2]);var c=n.getRotation(i),f=n.getRotation(i.parentNode);VN(r,f),dK(r,r),l0(u,r,u),l0(s.localRotation,u,c),WD(s.localRotation,s.localRotation),n.dirtifyLocal(i,s)}}}(),this.rotateLocal=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;qN(r,o[0],o[1],o[2]),D8e(s.localRotation,s.localRotation,r),n.dirtifyLocal(i,s)}}(),this.setEulerAngles=function(){var r=Fo();return function(i,o,a,l){a===void 0&&(a=0),l===void 0&&(l=0),typeof o=="number"&&(o=Br(o,a,l));var s=i.transformable;if(i.parentNode===null||!i.parentNode.transformable)n.setLocalEulerAngles(i,o);else{qN(s.localRotation,o[0],o[1],o[2]);var u=n.getRotation(i.parentNode);VN(r,dK(Fo(),u)),D8e(s.localRotation,s.localRotation,r),n.dirtifyLocal(i,s)}}}(),this.translateLocal=function(){return function(r,i,o,a){o===void 0&&(o=0),a===void 0&&(a=0),typeof i=="number"&&(i=Br(i,o,a));var l=r.transformable;P8(i,_r())||(Ynn(i,i,l.localRotation),j3(l.localPosition,l.localPosition,i),n.dirtifyLocal(r,l))}}(),this.setPosition=function(){var r=ci(),i=_r();return function(o,a){var l=o.transformable;if(i[0]=a[0],i[1]=a[1],i[2]=a[2]||0,!P8(n.getPosition(o),i)){if(Cs(l.position,i),o.parentNode===null||!o.parentNode.transformable)Cs(l.localPosition,i);else{var s=o.parentNode.transformable;hy(r,s.worldTransform),pd(r,r),xa(l.localPosition,i,r)}n.dirtifyLocal(o,l)}}}(),this.setLocalPosition=function(){var r=_r();return function(i,o){var a=i.transformable;r[0]=o[0],r[1]=o[1],r[2]=o[2]||0,!P8(a.localPosition,r)&&(Cs(a.localPosition,r),n.dirtifyLocal(i,a))}}(),this.translate=function(){var r=_r(),i=_r(),o=_r();return function(a,l,s,u){s===void 0&&(s=0),u===void 0&&(u=0),typeof l=="number"&&(l=ud(i,l,s,u)),!P8(l,r)&&(j3(o,n.getPosition(a),l),n.setPosition(a,o))}}(),this.setRotation=function(){var r=Fo();return function(i,o,a,l,s){var u=i.transformable;if(typeof o=="number"&&(o=fK(o,a,l,s)),i.parentNode===null||!i.parentNode.transformable)n.setLocalRotation(i,o);else{var c=n.getRotation(i.parentNode);VN(r,c),dK(r,r),l0(u.localRotation,r,o),WD(u.localRotation,u.localRotation),n.dirtifyLocal(i,u)}}},this.displayObjectDependencyMap=new WeakMap,this.calcLocalTransform=function(){var r=ci(),i=_r(),o=fK(0,0,0,1);return function(a){var l=a.localSkew[0]!==0||a.localSkew[1]!==0;if(l){if(K9(a.localTransform,a.localRotation,a.localPosition,Br(1,1,1),a.origin),a.localSkew[0]!==0||a.localSkew[1]!==0){var s=SP(r);s[4]=Math.tan(a.localSkew[0]),s[1]=Math.tan(a.localSkew[1]),Ol(a.localTransform,a.localTransform,s)}var u=K9(r,o,i,a.localScale,a.origin);Ol(a.localTransform,a.localTransform,u)}else K9(a.localTransform,a.localRotation,a.localPosition,a.localScale,a.origin)}}()}return e.prototype.matches=function(t,n){return this.runtime.sceneGraphSelector.is(t,n)},e.prototype.querySelector=function(t,n){return this.runtime.sceneGraphSelector.selectOne(t,n)},e.prototype.querySelectorAll=function(t,n){return this.runtime.sceneGraphSelector.selectAll(t,n)},e.prototype.attach=function(t,n,r){var i,o,a=!1;t.parentNode&&(a=t.parentNode!==n,this.detach(t)),t.parentNode=n,Cn(r)?t.parentNode.childNodes.push(t):t.parentNode.childNodes.splice(r,0,t);var l=n.sortable;(!((i=l==null?void 0:l.sorted)===null||i===void 0)&&i.length||!((o=t.style)===null||o===void 0)&&o.zIndex)&&(l.dirtyChildren.indexOf(t)===-1&&l.dirtyChildren.push(t),l.dirty=!0,l.dirtyReason=L4.ADDED);var s=t.transformable;s&&this.dirtifyWorld(t,s),s.frozen&&this.unfreezeParentToRoot(t),a&&t.dispatchEvent(Vcn)},e.prototype.detach=function(t){var n,r;if(t.parentNode){var i=t.transformable,o=t.parentNode.sortable;(!((n=o==null?void 0:o.sorted)===null||n===void 0)&&n.length||!((r=t.style)===null||r===void 0)&&r.zIndex)&&(o.dirtyChildren.indexOf(t)===-1&&o.dirtyChildren.push(t),o.dirty=!0,o.dirtyReason=L4.REMOVED);var a=t.parentNode.childNodes.indexOf(t);a>-1&&t.parentNode.childNodes.splice(a,1),i&&this.dirtifyWorld(t,i),t.parentNode=null}},e.prototype.getOrigin=function(t){return t.transformable.origin},e.prototype.setOrigin=function(t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=[n,r,i]);var o=t.transformable;if(!(n[0]===o.origin[0]&&n[1]===o.origin[1]&&n[2]===o.origin[2])){var a=o.origin;a[0]=n[0],a[1]=n[1],a[2]=n[2]||0,this.dirtifyLocal(t,o)}},e.prototype.setLocalEulerAngles=function(t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=0),typeof n=="number"&&(n=Br(n,r,i));var o=t.transformable;qN(o.localRotation,n[0],n[1],n[2]),this.dirtifyLocal(t,o)},e.prototype.scaleLocal=function(t,n){var r=t.transformable;Knn(r.localScale,r.localScale,Br(n[0],n[1],n[2]||1)),this.dirtifyLocal(t,r)},e.prototype.setLocalScale=function(t,n){var r=t.transformable,i=Br(n[0],n[1],n[2]||r.localScale[2]);P8(i,r.localScale)||(Cs(r.localScale,i),this.dirtifyLocal(t,r))},e.prototype.setLocalRotation=function(t,n,r,i,o){typeof n=="number"&&(n=fK(n,r,i,o));var a=t.transformable;VN(a.localRotation,n),this.dirtifyLocal(t,a)},e.prototype.setLocalSkew=function(t,n,r){typeof n=="number"&&(n=nrn(n,r));var i=t.transformable;rrn(i.localSkew,n),this.dirtifyLocal(t,i)},e.prototype.dirtifyLocal=function(t,n){n.localDirtyFlag||(n.localDirtyFlag=!0,n.dirtyFlag||this.dirtifyWorld(t,n))},e.prototype.dirtifyWorld=function(t,n){n.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,n),this.dirtifyToRoot(t,!0)},e.prototype.triggerPendingEvents=function(){var t=this,n=new Set,r=function(i,o){i.isConnected&&!n.has(i.entity)&&(t.boundsChangedEvent.detail=o,t.boundsChangedEvent.target=i,i.isMutationObserved?i.dispatchEvent(t.boundsChangedEvent):i.ownerDocument.defaultView.dispatchEvent(t.boundsChangedEvent,!0),n.add(i.entity))};this.pendingEvents.forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1];l.affectChildren?a.forEach(function(s){r(s,l)}):r(a,l)}),this.clearPendingEvents(),n.clear()},e.prototype.clearPendingEvents=function(){this.pendingEvents=[]},e.prototype.dirtifyToRoot=function(t,n){n===void 0&&(n=!1);var r=t;for(r.renderable&&(r.renderable.dirty=!0);r;)H9e(r),r=r.parentNode;n&&t.forEach(function(i){H9e(i)}),this.informDependentDisplayObjects(t),this.pendingEvents.push([t,{affectChildren:n}])},e.prototype.updateDisplayObjectDependency=function(t,n,r,i){if(n&&n!==r){var o=this.displayObjectDependencyMap.get(n);if(o&&o[t]){var a=o[t].indexOf(i);o[t].splice(a,1)}}if(r){var l=this.displayObjectDependencyMap.get(r);l||(this.displayObjectDependencyMap.set(r,{}),l=this.displayObjectDependencyMap.get(r)),l[t]||(l[t]=[]),l[t].push(i)}},e.prototype.informDependentDisplayObjects=function(t){var n=this,r=this.displayObjectDependencyMap.get(t);r&&Object.keys(r).forEach(function(i){r[i].forEach(function(o){n.dirtifyToRoot(o,!0),o.dispatchEvent(new Sy(pr.ATTR_MODIFIED,o,n,n,i,Sy.MODIFICATION,n,n)),o.isCustomElement&&o.isConnected&&o.attributeChangedCallback&&o.attributeChangedCallback(i,n,n)})})},e.prototype.getPosition=function(t){var n=t.transformable;return FD(n.position,this.getWorldTransform(t,n))},e.prototype.getRotation=function(t){var n=t.transformable;return HD(n.rotation,this.getWorldTransform(t,n))},e.prototype.getScale=function(t){var n=t.transformable;return P4(n.scaling,this.getWorldTransform(t,n))},e.prototype.getWorldTransform=function(t,n){return n===void 0&&(n=t.transformable),!n.localDirtyFlag&&!n.dirtyFlag||(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,n)),n.worldTransform},e.prototype.getLocalPosition=function(t){return t.transformable.localPosition},e.prototype.getLocalRotation=function(t){return t.transformable.localRotation},e.prototype.getLocalScale=function(t){return t.transformable.localScale},e.prototype.getLocalSkew=function(t){return t.transformable.localSkew},e.prototype.getLocalTransform=function(t){var n=t.transformable;return n.localDirtyFlag&&(this.calcLocalTransform(n),n.localDirtyFlag=!1),n.localTransform},e.prototype.setLocalTransform=function(t,n){var r=FD(_r(),n),i=HD(Fo(),n),o=P4(_r(),n);this.setLocalScale(t,o),this.setLocalPosition(t,r),this.setLocalRotation(t,i)},e.prototype.resetLocalTransform=function(t){this.setLocalScale(t,[1,1,1]),this.setLocalPosition(t,[0,0,0]),this.setLocalEulerAngles(t,[0,0,0]),this.setLocalSkew(t,[0,0])},e.prototype.getTransformedGeometryBounds=function(t,n,r){n===void 0&&(n=!1);var i=this.getGeometryBounds(t,n);if(Jo.isEmpty(i))return null;var o=r||new Jo;return o.setFromTransformedAABB(i,this.getWorldTransform(t)),o},e.prototype.getGeometryBounds=function(t,n){n===void 0&&(n=!1);var r=t.geometry,i=n?r.renderBounds:r.contentBounds||null;return i||new Jo},e.prototype.getBounds=function(t,n){var r=this;n===void 0&&(n=!1);var i=t.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var o=n?i.renderBounds:i.bounds,a=this.getTransformedGeometryBounds(t,n,o),l=t.childNodes;if(l.forEach(function(c){var f=r.getBounds(c,n);f&&(a?a.add(f):(a=o||new Jo,a.update(f.center,f.halfExtents)))}),n){var s=kXe(t);if(s){var u=s.parsedStyle.clipPath.getBounds(n);a?u&&(a=u.intersection(a)):a=u}}return a||(a=new Jo),a&&(n?i.renderBounds=a:i.bounds=a),n?i.renderBoundsDirty=!1:i.boundsDirty=!1,a},e.prototype.getLocalBounds=function(t){if(t.parentNode){var n=ci();t.parentNode.transformable&&(n=pd(ci(),this.getWorldTransform(t.parentNode)));var r=this.getBounds(t);if(!Jo.isEmpty(r)){var i=new Jo;return i.setFromTransformedAABB(r,n),i}}return this.getBounds(t)},e.prototype.getBoundingClientRect=function(t){var n,r,i,o=this.getGeometryBounds(t);Jo.isEmpty(o)||(i=new Jo,i.setFromTransformedAABB(o,this.getWorldTransform(t)));var a=(r=(n=t.ownerDocument)===null||n===void 0?void 0:n.defaultView)===null||r===void 0?void 0:r.getContextService().getBoundingClientRect();if(i){var l=Ae(i.getMin(),2),s=l[0],u=l[1],c=Ae(i.getMax(),2),f=c[0],h=c[1];return new by(s+((a==null?void 0:a.left)||0),u+((a==null?void 0:a.top)||0),f-s,h-u)}return new by((a==null?void 0:a.left)||0,(a==null?void 0:a.top)||0,0,0)},e.prototype.dirtifyWorldInternal=function(t,n){var r=this;if(!n.dirtyFlag){n.dirtyFlag=!0,n.frozen=!1,t.childNodes.forEach(function(o){var a=o.transformable;a.dirtyFlag||r.dirtifyWorldInternal(o,a)});var i=t.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}},e.prototype.syncHierarchy=function(t){var n=t.transformable;if(!n.frozen){n.frozen=!0,(n.localDirtyFlag||n.dirtyFlag)&&this.sync(t,n);for(var r=t.childNodes,i=0;is;--d){for(var m=0;m=u){n.isOverflowing=!0;break}m=0,p[g]="";continue}if(m>0&&m+$>h){if(g+1>=u){if(n.isOverflowing=!0,b>0&&b<=h){for(var P=p[g].length,T=0,R=P,M=0;Mh){R=M;break}T+=A}p[g]=(p[g]||"").slice(0,R)+d}break}if(g++,m=0,p[g]="",this.isBreakingSpace(S))continue;this.canBreakInLastChar(S)||(p=this.trimToBreakable(p),m=this.sumTextWidthByCache(p[g]||"",v)),this.shouldBreakByKinsokuShorui(S,O)&&(p=this.trimByKinsokuShorui(p),m+=y(w||""))}m+=$,p[g]=(p[g]||"")+S}return p.join(` +`)},e.prototype.isBreakingSpace=function(t){return typeof t!="string"?!1:qm.BreakingSpaces.indexOf(t.charCodeAt(0))>=0},e.prototype.isNewline=function(t){return typeof t!="string"?!1:qm.Newlines.indexOf(t.charCodeAt(0))>=0},e.prototype.trimToBreakable=function(t){var n=Kt([],Ae(t),!1),r=n[n.length-2],i=this.findBreakableIndex(r);if(i===-1||!r)return n;var o=r.slice(i,i+1),a=this.isBreakingSpace(o),l=i+1,s=i+(a?0:1);return n[n.length-1]+=r.slice(l,r.length),n[n.length-2]=r.slice(0,s),n},e.prototype.canBreakInLastChar=function(t){return!(t&&W9e.test(t))},e.prototype.sumTextWidthByCache=function(t,n){return t.split("").reduce(function(r,i){if(!n[i])throw Error("cannot count the word without cache");return r+n[i]},0)},e.prototype.findBreakableIndex=function(t){for(var n=t.length-1;n>=0;n--)if(!W9e.test(t[n]))return n;return-1},e.prototype.getFromCache=function(t,n,r,i){var o=r[t];if(typeof o!="number"){var a=t.length*n;o=i.measureText(t).width+a,r[t]=o}return o},e}(),jt={},iun=function(){var e,t=new jcn,n=new kcn;return e={},e[Rt.CIRCLE]=new Rcn,e[Rt.ELLIPSE]=new Icn,e[Rt.RECT]=t,e[Rt.IMAGE]=t,e[Rt.GROUP]=t,e[Rt.LINE]=new Ncn,e[Rt.TEXT]=new Dcn(jt),e[Rt.POLYLINE]=n,e[Rt.POLYGON]=n,e[Rt.PATH]=new Acn,e[Rt.HTML]=null,e[Rt.MESH]=null,e}(),oun=function(){var e,t=new Vsn,n=new fle;return e={},e[vn.PERCENTAGE]=null,e[vn.NUMBER]=new Zsn,e[vn.ANGLE]=new Wsn,e[vn.DEFINED_PATH]=new qsn,e[vn.PAINT]=t,e[vn.COLOR]=t,e[vn.FILTER]=new Usn,e[vn.LENGTH]=n,e[vn.LENGTH_PERCENTAGE]=n,e[vn.LENGTH_PERCENTAGE_12]=new Gsn,e[vn.LENGTH_PERCENTAGE_14]=new Ksn,e[vn.COORDINATE]=new Xsn,e[vn.OFFSET_DISTANCE]=new Qsn,e[vn.OPACITY_VALUE]=new Jsn,e[vn.PATH]=new ecn,e[vn.LIST_OF_POINTS]=new tcn,e[vn.SHADOW_BLUR]=new ncn,e[vn.TEXT]=new rcn,e[vn.TEXT_TRANSFORM]=new icn,e[vn.TRANSFORM]=new Pcn,e[vn.TRANSFORM_ORIGIN]=new Tcn,e[vn.Z_INDEX]=new Mcn,e[vn.MARKER]=new Ysn,e}(),aun=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}};jt.CameraContribution=SXe;jt.AnimationTimeline=null;jt.EasingFunction=null;jt.offscreenCanvasCreator=new Fcn;jt.sceneGraphSelector=new qcn;jt.sceneGraphService=new Ucn(jt);jt.textService=new run(jt);jt.geometryUpdaterFactory=iun;jt.CSSPropertySyntaxFactory=oun;jt.styleValueRegistry=new Hsn(jt);jt.layoutRegistry=null;jt.globalThis=aun();jt.enableCSSParsing=!0;jt.enableDataset=!1;jt.enableStyleSyntax=!0;var lun=0,q9e=new Sy(pr.INSERTED,null,"","","",0,"",""),V9e=new Sy(pr.REMOVED,null,"","","",0,"",""),sun=new vi(pr.DESTROY),cun=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.entity=lun++,n.renderable={bounds:void 0,boundsDirty:!0,renderBounds:void 0,renderBoundsDirty:!0,dirtyRenderBounds:void 0,dirty:!1},n.cullable={strategy:qJ.Standard,visibilityPlaneMask:-1,visible:!0,enable:!0},n.transformable={dirtyFlag:!1,localDirtyFlag:!1,frozen:!1,localPosition:[0,0,0],localRotation:[0,0,0,1],localScale:[1,1,1],localTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],localSkew:[0,0],position:[0,0,0],rotation:[0,0,0,1],scaling:[1,1,1],worldTransform:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],origin:[0,0,0]},n.sortable={dirty:!1,sorted:void 0,renderOrder:0,dirtyChildren:[],dirtyReason:void 0},n.geometry={contentBounds:void 0,renderBounds:void 0},n.rBushNode={aabb:void 0},n.namespaceURI="g",n.scrollLeft=0,n.scrollTop=0,n.clientTop=0,n.clientLeft=0,n.destroyed=!1,n.style={},n.computedStyle=jt.enableCSSParsing?{anchor:Mi,opacity:Mi,fillOpacity:Mi,strokeOpacity:Mi,fill:Mi,stroke:Mi,transform:Mi,transformOrigin:Mi,visibility:Mi,pointerEvents:Mi,lineWidth:Mi,lineCap:Mi,lineJoin:Mi,increasedLineWidthForHitTesting:Mi,fontSize:Mi,fontFamily:Mi,fontStyle:Mi,fontWeight:Mi,fontVariant:Mi,textAlign:Mi,textBaseline:Mi,textTransform:Mi,zIndex:Mi,filter:Mi,shadowType:Mi}:null,n.parsedStyle={},n.attributes={},n}return Object.defineProperty(t.prototype,"className",{get:function(){return this.getAttribute("class")||""},set:function(n){this.setAttribute("class",n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.className.split(" ").filter(function(n){return n!==""})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.nodeName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.parentNode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n+1]||null}return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){if(this.parentNode){var n=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[n-1]||null}return null},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(n){throw new Error(gi)},t.prototype.appendChild=function(n,r){var i;if(n.destroyed)throw new Error(Dln);return jt.sceneGraphService.attach(n,this,r),!((i=this.ownerDocument)===null||i===void 0)&&i.defaultView&&this.ownerDocument.defaultView.mountChildren(n),q9e.relatedNode=this,n.dispatchEvent(q9e),n},t.prototype.insertBefore=function(n,r){if(!r)this.appendChild(n);else{n.parentElement&&n.parentElement.removeChild(n);var i=this.childNodes.indexOf(r);i===-1?this.appendChild(n):this.appendChild(n,i)}return n},t.prototype.replaceChild=function(n,r){var i=this.childNodes.indexOf(r);return this.removeChild(r),this.appendChild(n,i),r},t.prototype.removeChild=function(n){var r;return V9e.relatedNode=this,n.dispatchEvent(V9e),!((r=n.ownerDocument)===null||r===void 0)&&r.defaultView&&n.ownerDocument.defaultView.unmountChildren(n),jt.sceneGraphService.detach(n),n},t.prototype.removeChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];this.removeChild(r)}},t.prototype.destroyChildren=function(){for(var n=this.childNodes.length-1;n>=0;n--){var r=this.childNodes[n];r.childNodes.length&&r.destroyChildren(),r.destroy()}},t.prototype.matches=function(n){return jt.sceneGraphService.matches(n,this)},t.prototype.getElementById=function(n){return jt.sceneGraphService.querySelector("#".concat(n),this)},t.prototype.getElementsByName=function(n){return jt.sceneGraphService.querySelectorAll('[name="'.concat(n,'"]'),this)},t.prototype.getElementsByClassName=function(n){return jt.sceneGraphService.querySelectorAll(".".concat(n),this)},t.prototype.getElementsByTagName=function(n){return jt.sceneGraphService.querySelectorAll(n,this)},t.prototype.querySelector=function(n){return jt.sceneGraphService.querySelector(n,this)},t.prototype.querySelectorAll=function(n){return jt.sceneGraphService.querySelectorAll(n,this)},t.prototype.closest=function(n){var r=this;do{if(jt.sceneGraphService.matches(n,r))return r;r=r.parentElement}while(r!==null);return null},t.prototype.find=function(n){var r=this,i=null;return this.forEach(function(o){return o!==r&&n(o)?(i=o,!0):!1}),i},t.prototype.findAll=function(n){var r=this,i=[];return this.forEach(function(o){o!==r&&n(o)&&i.push(o)}),i},t.prototype.after=function(){for(var n=this,r=[],i=0;i1){var i=n[0].currentPoint,o=n[1].currentPoint,a=n[1].startTangent;r=[],a?(r.push([i[0]-a[0],i[1]-a[1]]),r.push([i[0],i[1]])):(r.push([o[0],o[1]]),r.push([i[0],i[1]]))}return r},t.prototype.getEndTangent=function(){var n=this.parsedStyle.path.segments,r=n.length,i=[];if(r>1){var o=n[r-2].currentPoint,a=n[r-1].currentPoint,l=n[r-1].endTangent;i=[],l?(i.push([a[0]-l[0],a[1]-l[1]]),i.push([a[0],a[1]])):(i.push([o[0],o[1]]),i.push([a[0],a[1]]))}return i},t}(Al),jP=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=this,i=n.style,o=Ci(n,["style"]);r=e.call(this,Mt({type:Rt.POLYGON,style:jt.enableCSSParsing?Mt({points:"",miterLimit:"",isClosed:!0},i):Mt({},i),initialParsedStyle:jt.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},o))||this,r.markerStartAngle=0,r.markerEndAngle=0,r.markerMidList=[];var a=r.parsedStyle,l=a.markerStart,s=a.markerEnd,u=a.markerMid;return l&&Hr(l)&&(r.markerStartAngle=l.getLocalEulerAngles(),r.appendChild(l)),u&&Hr(u)&&r.placeMarkerMid(u),s&&Hr(s)&&(r.markerEndAngle=s.getLocalEulerAngles(),r.appendChild(s)),r.transformMarker(!0),r.transformMarker(!1),r}return t.prototype.attributeChangedCallback=function(n,r,i,o,a){n==="points"?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):n==="markerStartOffset"||n==="markerEndOffset"?(this.transformMarker(!0),this.transformMarker(!1)):n==="markerStart"?(o&&Hr(o)&&(this.markerStartAngle=0,o.remove()),a&&Hr(a)&&(this.markerStartAngle=a.getLocalEulerAngles(),this.appendChild(a),this.transformMarker(!0))):n==="markerEnd"?(o&&Hr(o)&&(this.markerEndAngle=0,o.remove()),a&&Hr(a)&&(this.markerEndAngle=a.getLocalEulerAngles(),this.appendChild(a),this.transformMarker(!1))):n==="markerMid"&&this.placeMarkerMid(a)},t.prototype.transformMarker=function(n){var r=this.parsedStyle,i=r.markerStart,o=r.markerEnd,a=r.markerStartOffset,l=r.markerEndOffset,s=r.points,u=r.defX,c=r.defY,f=(s||{}).points,h=n?i:o;if(!(!h||!Hr(h)||!f)){var d=0,p,g,m,v,y,b;if(m=f[0][0]-u,v=f[0][1]-c,n)p=f[1][0]-f[0][0],g=f[1][1]-f[0][1],y=a||0,b=this.markerStartAngle;else{var C=f.length;this.parsedStyle.isClosed?(p=f[C-1][0]-f[0][0],g=f[C-1][1]-f[0][1]):(m=f[C-1][0]-u,v=f[C-1][1]-c,p=f[C-2][0]-f[C-1][0],g=f[C-2][1]-f[C-1][1]),y=l||0,b=this.markerEndAngle}d=Math.atan2(g,p),h.setLocalEulerAngles(d*180/Math.PI+b),h.setLocalPosition(m+Math.cos(d)*y,v+Math.sin(d)*y)}},t.prototype.placeMarkerMid=function(n){var r=this.parsedStyle,i=r.points,o=r.defX,a=r.defY,l=(i||{}).points;if(this.markerMidList.forEach(function(h){h.remove()}),this.markerMidList=[],n&&Hr(n)&&l)for(var s=1;s<(this.parsedStyle.isClosed?l.length:l.length-1);s++){var u=l[s][0]-o,c=l[s][1]-a,f=s===1?n:n.cloneNode(!0);this.markerMidList.push(f),this.appendChild(f),f.setLocalPosition(u,c)}},t}(Al),mle=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.POLYLINE,style:jt.enableCSSParsing?Mt({points:"",miterLimit:"",isClosed:!1},r):Mt({},r),initialParsedStyle:jt.enableCSSParsing?null:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},i))||this}return t.prototype.getTotalLength=function(){return this.parsedStyle.points.totalLength},t.prototype.getPointAtLength=function(n,r){return r===void 0&&(r=!1),this.getPoint(n/this.getTotalLength(),r)},t.prototype.getPoint=function(n,r){r===void 0&&(r=!1);var i=this.parsedStyle,o=i.defX,a=i.defY,l=i.points,s=l.points,u=l.segments,c=0,f=0;u.forEach(function(m,v){n>=m[0]&&n<=m[1]&&(c=(n-m[0])/(m[1]-m[0]),f=v)});var h=yXe(s[f][0],s[f][1],s[f+1][0],s[f+1][1],c),d=h.x,p=h.y,g=xa(_r(),Br(d-o,p-a,0),r?this.getWorldTransform():this.getLocalTransform());return new La(g[0],g[1])},t.prototype.getStartTangent=function(){var n=this.parsedStyle.points.points,r=[];return r.push([n[1][0],n[1][1]]),r.push([n[0][0],n[0][1]]),r},t.prototype.getEndTangent=function(){var n=this.parsedStyle.points.points,r=n.length-1,i=[];return i.push([n[r-1][0],n[r-1][1]]),i.push([n[r][0],n[r][1]]),i},t}(jP),ib=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.RECT,style:jt.enableCSSParsing?Mt({x:"",y:"",width:"",height:"",radius:""},r):Mt({},r)},i))||this}return t}(Al),uu=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=n.style,i=Ci(n,["style"]);return e.call(this,Mt({type:Rt.TEXT,style:jt.enableCSSParsing?Mt({x:"",y:"",text:"",fontSize:"",fontFamily:"",fontStyle:"",fontWeight:"",fontVariant:"",textAlign:"",textBaseline:"",textTransform:"",fill:"black",letterSpacing:"",lineHeight:"",miterLimit:"",wordWrap:!1,wordWrapWidth:0,leading:0,dx:"",dy:""},r):Mt({fill:"black"},r),initialParsedStyle:jt.enableCSSParsing?{}:{x:0,y:0,fontSize:16,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",lineHeight:0,letterSpacing:0,textBaseline:"alphabetic",textAlign:"start",wordWrap:!1,wordWrapWidth:0,leading:0,dx:0,dy:0}},i))||this}return t.prototype.getComputedTextLength=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.maxLineWidth)||0},t.prototype.getLineBoundingRects=function(){var n;return((n=this.parsedStyle.metrics)===null||n===void 0?void 0:n.lineMetrics)||[]},t.prototype.isOverflowing=function(){return!!this.parsedStyle.isOverflowing},t}(Al),hun=function(){function e(){this.registry={},this.define(Rt.CIRCLE,AP),this.define(Rt.ELLIPSE,hle),this.define(Rt.RECT,ib),this.define(Rt.IMAGE,gle),this.define(Rt.LINE,kP),this.define(Rt.GROUP,Ha),this.define(Rt.PATH,is),this.define(Rt.POLYGON,jP),this.define(Rt.POLYLINE,mle),this.define(Rt.TEXT,uu),this.define(Rt.HTML,pH)}return e.prototype.define=function(t,n){this.registry[t]=n},e.prototype.get=function(t){return this.registry[t]},e}(),gun=function(e){$n(t,e);function t(){var n=e.call(this)||this;n.defaultView=null,n.ownerDocument=null,n.nodeName="document";try{n.timeline=new jt.AnimationTimeline(n)}catch{}var r={};return dle.forEach(function(i){var o=i.n,a=i.inh,l=i.d;a&&l&&(r[o]=c3(l)?l(Rt.GROUP):l)}),n.documentElement=new Ha({id:"g-root",style:r}),n.documentElement.ownerDocument=n,n.documentElement.parentNode=n,n.childNodes=[n.documentElement],n}return Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childElementCount",{get:function(){return this.childNodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"firstElementChild",{get:function(){return this.firstChild},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastElementChild",{get:function(){return this.lastChild},enumerable:!1,configurable:!0}),t.prototype.createElement=function(n,r){if(n==="svg")return this.documentElement;var i=this.defaultView.customElements.get(n);i||(console.warn("Unsupported tagName: ",n),i=n==="tspan"?uu:Ha);var o=new i(r);return o.ownerDocument=this,o},t.prototype.createElementNS=function(n,r,i){return this.createElement(r,i)},t.prototype.cloneNode=function(n){throw new Error(gi)},t.prototype.destroy=function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch{}},t.prototype.elementsFromBBox=function(n,r,i,o){var a=this.defaultView.context.rBushRoot,l=a.search({minX:n,minY:r,maxX:i,maxY:o}),s=[];return l.forEach(function(u){var c=u.displayObject,f=c.parsedStyle.pointerEvents,h=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(f);(!h||h&&c.isVisible())&&!c.isCulled()&&c.isInteractive()&&s.push(c)}),s.sort(function(u,c){return c.sortable.renderOrder-u.sortable.renderOrder}),s},t.prototype.elementFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height;if(o<0||a<0||o>s||a>u)return null;var c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,d=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]}).picked;return d&&d[0]||this.documentElement},t.prototype.elementFromPoint=function(n,r){return T4(this,void 0,void 0,function(){var i,o,a,l,s,u,c,f,h,d;return M4(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height,o<0||a<0||o>s||a>u?[2,null]:(c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]})]);case 1:return d=p.sent().picked,[2,d&&d[0]||this.documentElement]}})})},t.prototype.elementsFromPointSync=function(n,r){var i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height;if(o<0||a<0||o>s||a>u)return[];var c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,d=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]}).picked;return d[d.length-1]!==this.documentElement&&d.push(this.documentElement),d},t.prototype.elementsFromPoint=function(n,r){return T4(this,void 0,void 0,function(){var i,o,a,l,s,u,c,f,h,d;return M4(this,function(p){switch(p.label){case 0:return i=this.defaultView.canvas2Viewport({x:n,y:r}),o=i.x,a=i.y,l=this.defaultView.getConfig(),s=l.width,u=l.height,o<0||a<0||o>s||a>u?[2,[]]:(c=this.defaultView.viewport2Client({x:o,y:a}),f=c.x,h=c.y,[4,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:n,y:r,viewportX:o,viewportY:a,clientX:f,clientY:h},picked:[]})]);case 1:return d=p.sent().picked,d[d.length-1]!==this.documentElement&&d.push(this.documentElement),[2,d]}})})},t.prototype.appendChild=function(n,r){throw new Error(y2)},t.prototype.insertBefore=function(n,r){throw new Error(y2)},t.prototype.removeChild=function(n,r){throw new Error(y2)},t.prototype.replaceChild=function(n,r,i){throw new Error(y2)},t.prototype.append=function(){throw new Error(y2)},t.prototype.prepend=function(){throw new Error(y2)},t.prototype.getElementById=function(n){return this.documentElement.getElementById(n)},t.prototype.getElementsByName=function(n){return this.documentElement.getElementsByName(n)},t.prototype.getElementsByTagName=function(n){return this.documentElement.getElementsByTagName(n)},t.prototype.getElementsByClassName=function(n){return this.documentElement.getElementsByClassName(n)},t.prototype.querySelector=function(n){return this.documentElement.querySelector(n)},t.prototype.querySelectorAll=function(n){return this.documentElement.querySelectorAll(n)},t.prototype.find=function(n){return this.documentElement.find(n)},t.prototype.findAll=function(n){return this.documentElement.findAll(n)},t}(Na),mun=function(){function e(t){this.strategies=t}return e.prototype.apply=function(t){var n=t.camera,r=t.renderingService,i=t.renderingContext,o=this.strategies;r.hooks.cull.tap(e.tag,function(a){if(a){var l=a.cullable;return o.length===0?l.visible=i.unculledEntities.indexOf(a.entity)>-1:l.visible=o.every(function(s){return s.isVisible(n,a)}),!a.isCulled()&&a.isVisible()?a:(a.dispatchEvent(new vi(pr.CULLED)),null)}return a}),r.hooks.afterRender.tap(e.tag,function(a){a.cullable.visibilityPlaneMask=-1})},e.tag="Culling",e}(),vun=function(){function e(){var t=this;this.autoPreventDefault=!1,this.rootPointerEvent=new XJ(null),this.rootWheelEvent=new YJ(null),this.onPointerMove=function(n){var r,i,o,a,l=(a=(o=t.context.renderingContext.root)===null||o===void 0?void 0:o.ownerDocument)===null||a===void 0?void 0:a.defaultView;if(!(l.supportsTouchEvents&&n.pointerType==="touch")){var s=t.normalizeToPointerEvent(n,l);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=t.bootstrapEvent(t.rootPointerEvent,f,l,n);t.context.eventService.mapEvent(h)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}t.setCursor(t.context.eventService.cursor)}},this.onClick=function(n){var r,i,o,a,l=(a=(o=t.context.renderingContext.root)===null||o===void 0?void 0:o.ownerDocument)===null||a===void 0?void 0:a.defaultView,s=t.normalizeToPointerEvent(n,l);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=t.bootstrapEvent(t.rootPointerEvent,f,l,n);t.context.eventService.mapEvent(h)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}t.setCursor(t.context.eventService.cursor)}}return e.prototype.apply=function(t){var n=this;this.context=t;var r=t.renderingService,i=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(o){var a=n.context.renderingService.hooks.pickSync.call({position:o,picked:[],topmost:!0}).picked;return a[0]||null}),r.hooks.pointerWheel.tap(e.tag,function(o){var a=n.normalizeWheelEvent(o);n.context.eventService.mapEvent(a)}),r.hooks.pointerDown.tap(e.tag,function(o){var a,l;if(!(i.supportsTouchEvents&&o.pointerType==="touch")){var s=n.normalizeToPointerEvent(o,i);if(n.autoPreventDefault&&s[0].isNormalized){var u=o.cancelable||!("cancelable"in o);u&&o.preventDefault()}try{for(var c=ac(s),f=c.next();!f.done;f=c.next()){var h=f.value,d=n.bootstrapEvent(n.rootPointerEvent,h,i,o);n.context.eventService.mapEvent(d)}}catch(p){a={error:p}}finally{try{f&&!f.done&&(l=c.return)&&l.call(c)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerUp.tap(e.tag,function(o){var a,l;if(!(i.supportsTouchEvents&&o.pointerType==="touch")){var s=n.context.contextService.getDomElement(),u="outside";try{u=s&&o.target&&o.target!==s&&s.contains&&!s.contains(o.target)?"outside":""}catch{}var c=n.normalizeToPointerEvent(o,i);try{for(var f=ac(c),h=f.next();!h.done;h=f.next()){var d=h.value,p=n.bootstrapEvent(n.rootPointerEvent,d,i,o);p.type+=u,n.context.eventService.mapEvent(p)}}catch(g){a={error:g}}finally{try{h&&!h.done&&(l=f.return)&&l.call(f)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)}}),r.hooks.pointerMove.tap(e.tag,this.onPointerMove),r.hooks.pointerOver.tap(e.tag,this.onPointerMove),r.hooks.pointerOut.tap(e.tag,this.onPointerMove),r.hooks.click.tap(e.tag,this.onClick),r.hooks.pointerCancel.tap(e.tag,function(o){var a,l,s=n.normalizeToPointerEvent(o,i);try{for(var u=ac(s),c=u.next();!c.done;c=u.next()){var f=c.value,h=n.bootstrapEvent(n.rootPointerEvent,f,i,o);n.context.eventService.mapEvent(h)}}catch(d){a={error:d}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(a)throw a.error}}n.setCursor(n.context.eventService.cursor)})},e.prototype.getViewportXY=function(t){var n,r,i=t.offsetX,o=t.offsetY,a=t.clientX,l=t.clientY;if(this.context.config.supportsCSSTransform&&!Cn(i)&&!Cn(o))n=i,r=o;else{var s=this.context.eventService.client2Viewport(new La(a,l));n=s.x,r=s.y}return{x:n,y:r}},e.prototype.bootstrapEvent=function(t,n,r,i){t.view=r,t.originalEvent=null,t.nativeEvent=i,t.pointerId=n.pointerId,t.width=n.width,t.height=n.height,t.isPrimary=n.isPrimary,t.pointerType=n.pointerType,t.pressure=n.pressure,t.tangentialPressure=n.tangentialPressure,t.tiltX=n.tiltX,t.tiltY=n.tiltY,t.twist=n.twist,this.transferMouseData(t,n);var o=this.getViewportXY(n),a=o.x,l=o.y;t.viewport.x=a,t.viewport.y=l;var s=this.context.eventService.viewport2Canvas(t.viewport),u=s.x,c=s.y;return t.canvas.x=u,t.canvas.y=c,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=i.isTrusted,t.type==="pointerleave"&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=pcn[t.type]||t.type),t},e.prototype.normalizeWheelEvent=function(t){var n=this.rootWheelEvent;this.transferMouseData(n,t),n.deltaMode=t.deltaMode,n.deltaX=t.deltaX,n.deltaY=t.deltaY,n.deltaZ=t.deltaZ;var r=this.getViewportXY(t),i=r.x,o=r.y;n.viewport.x=i,n.viewport.y=o;var a=this.context.eventService.viewport2Canvas(n.viewport),l=a.x,s=a.y;return n.canvas.x=l,n.canvas.y=s,n.global.copyFrom(n.canvas),n.offset.copyFrom(n.canvas),n.nativeEvent=t,n.type=t.type,n},e.prototype.transferMouseData=function(t,n){t.isTrusted=n.isTrusted,t.srcElement=n.srcElement,t.timeStamp=KJ.now(),t.type=n.type,t.altKey=n.altKey,t.metaKey=n.metaKey,t.shiftKey=n.shiftKey,t.ctrlKey=n.ctrlKey,t.button=n.button,t.buttons=n.buttons,t.client.x=n.clientX,t.client.y=n.clientY,t.movement.x=n.movementX,t.movement.y=n.movementY,t.page.x=n.pageX,t.page.y=n.pageY,t.screen.x=n.screenX,t.screen.y=n.screenY,t.relatedTarget=null},e.prototype.setCursor=function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")},e.prototype.normalizeToPointerEvent=function(t,n){var r=[];if(n.isTouchEvent(t))for(var i=0;i-1,l=0,s=i.length;l=1?Math.ceil(T):1,$=l||ucn(o)||o.width/T,P=s||dcn(o)||o.height/T),a&&(jt.offscreenCanvas=a),r.devicePixelRatio=T,r.requestAnimationFrame=p??zXe.bind(jt.globalThis),r.cancelAnimationFrame=g??BXe.bind(jt.globalThis),r.supportsTouchEvents=y??"ontouchstart"in jt.globalThis,r.supportsPointerEvents=v??!!jt.globalThis.PointerEvent,r.isTouchEvent=w??function(R){return r.supportsTouchEvents&&R instanceof jt.globalThis.TouchEvent},r.isMouseEvent=O??function(R){return!jt.globalThis.MouseEvent||R instanceof jt.globalThis.MouseEvent&&(!r.supportsPointerEvents||!(R instanceof jt.globalThis.PointerEvent))},r.initRenderingContext({container:i,canvas:o,width:$,height:P,renderer:c,offscreenCanvas:a,devicePixelRatio:T,cursor:h||"default",background:f||"transparent",createImage:m,document:d,supportsCSSTransform:b,useNativeClickEvent:x,alwaysTriggerPointerEventOnCanvas:S}),r.initDefaultCamera($,P,c.clipSpaceNearZ),r.initRenderer(c,!0),r}return t.prototype.initRenderingContext=function(n){this.context.config=n,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}},t.prototype.initDefaultCamera=function(n,r,i){var o=this,a=new jt.CameraContribution;a.clipSpaceNearZ=i,a.setType(ti.EXPLORING,k7.DEFAULT).setPosition(n/2,r/2,G9e).setFocalPoint(n/2,r/2,0).setOrthographic(n/-2,n/2,r/2,r/-2,Sun,xun),a.canvas=this,a.eventEmitter.on(CXe.UPDATED,function(){o.context.renderingContext.renderReasons.add(u0.CAMERA_CHANGED)}),this.context.camera=a},t.prototype.getConfig=function(){return this.context.config},t.prototype.getRoot=function(){return this.document.documentElement},t.prototype.getCamera=function(){return this.context.camera},t.prototype.getContextService=function(){return this.context.contextService},t.prototype.getEventService=function(){return this.context.eventService},t.prototype.getRenderingService=function(){return this.context.renderingService},t.prototype.getRenderingContext=function(){return this.context.renderingContext},t.prototype.getStats=function(){return this.getRenderingService().getStats()},Object.defineProperty(t.prototype,"ready",{get:function(){var n=this;return this.readyPromise||(this.readyPromise=new Promise(function(r){n.resolveReadyPromise=function(){r(n)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise},enumerable:!1,configurable:!0}),t.prototype.destroy=function(n,r){if(n===void 0&&(n=!0),r===void 0&&(r=!1),r||this.dispatchEvent(new vi(Ss.BEFORE_DESTROY)),this.frameId){var i=this.getConfig().cancelAnimationFrame||cancelAnimationFrame;i(this.frameId)}var o=this.getRoot();this.unmountChildren(o),n&&(this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),n&&this.context.rBushRoot&&(this.context.rBushRoot.clear(),this.context.rBushRoot=null,this.context.renderingContext.root=null),r||this.dispatchEvent(new vi(Ss.AFTER_DESTROY))},t.prototype.changeSize=function(n,r){this.resize(n,r)},t.prototype.resize=function(n,r){var i=this.context.config;i.width=n,i.height=r,this.getContextService().resize(n,r);var o=this.context.camera,a=o.getProjectionMode();o.setPosition(n/2,r/2,G9e).setFocalPoint(n/2,r/2,0),a===ms.ORTHOGRAPHIC?o.setOrthographic(n/-2,n/2,r/2,r/-2,o.getNear(),o.getFar()):o.setAspect(n/r),this.dispatchEvent(new vi(Ss.RESIZE,{width:n,height:r}))},t.prototype.appendChild=function(n,r){return this.document.documentElement.appendChild(n,r)},t.prototype.insertBefore=function(n,r){return this.document.documentElement.insertBefore(n,r)},t.prototype.removeChild=function(n){return this.document.documentElement.removeChild(n)},t.prototype.removeChildren=function(){this.document.documentElement.removeChildren()},t.prototype.destroyChildren=function(){this.document.documentElement.destroyChildren()},t.prototype.render=function(){var n=this;this.dispatchEvent(_un);var r=this.getRenderingService();r.render(this.getConfig(),function(){n.dispatchEvent(wun)}),this.dispatchEvent(Oun)},t.prototype.run=function(){var n=this,r=function(){n.render(),n.frameId=n.requestAnimationFrame(r)};r()},t.prototype.initRenderer=function(n,r){var i=this;if(r===void 0&&(r=!1),!n)throw new Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new _ln,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new vun,new Cun,new mun([new bun])),this.loadRendererContainerModule(n),this.context.contextService=new this.context.ContextService(Mt(Mt({},jt),this.context)),this.context.renderingService=new Hcn(jt,this.context),this.context.eventService=new Bcn(jt,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(n,r,!0)):this.context.contextService.initAsync().then(function(){i.initRenderingService(n,r)})},t.prototype.initRenderingService=function(n,r,i){var o=this;r===void 0&&(r=!1),i===void 0&&(i=!1),this.context.renderingService.init(function(){o.inited=!0,r?(i?o.requestAnimationFrame(function(){o.dispatchEvent(new vi(Ss.READY))}):o.dispatchEvent(new vi(Ss.READY)),o.readyPromise&&o.resolveReadyPromise()):o.dispatchEvent(new vi(Ss.RENDERER_CHANGED)),r||o.getRoot().forEach(function(a){var l=a.renderable;l&&(l.renderBoundsDirty=!0,l.boundsDirty=!0,l.dirty=!0)}),o.mountChildren(o.getRoot()),n.getConfig().enableAutoRendering&&o.run()})},t.prototype.loadRendererContainerModule=function(n){var r=this,i=n.getPlugins();i.forEach(function(o){o.context=r.context,o.init(jt)})},t.prototype.setRenderer=function(n){var r=this.getConfig();if(r.renderer!==n){var i=r.renderer;r.renderer=n,this.destroy(!1,!0),Kt([],Ae(i==null?void 0:i.getPlugins()),!1).reverse().forEach(function(o){o.destroy(jt)}),this.initRenderer(n)}},t.prototype.setCursor=function(n){var r=this.getConfig();r.cursor=n,this.getContextService().applyCursorStyle(n)},t.prototype.unmountChildren=function(n){var r=this;n.childNodes.forEach(function(i){r.unmountChildren(i)}),this.inited&&(n.isMutationObserved?n.dispatchEvent(NK):(NK.target=n,this.dispatchEvent(NK,!0)),n!==this.document.documentElement&&(n.ownerDocument=null),n.isConnected=!1),n.isCustomElement&&n.disconnectedCallback&&n.disconnectedCallback()},t.prototype.mountChildren=function(n){var r=this;this.inited?n.isConnected||(n.ownerDocument=this.document,n.isConnected=!0,n.isMutationObserved?n.dispatchEvent(IK):(IK.target=n,this.dispatchEvent(IK,!0))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",n.nodeName),n.childNodes.forEach(function(i){r.mountChildren(i)}),n.isCustomElement&&n.connectedCallback&&n.connectedCallback()},t.prototype.client2Viewport=function(n){return this.getEventService().client2Viewport(n)},t.prototype.viewport2Client=function(n){return this.getEventService().viewport2Client(n)},t.prototype.viewport2Canvas=function(n){return this.getEventService().viewport2Canvas(n)},t.prototype.canvas2Viewport=function(n){return this.getEventService().canvas2Viewport(n)},t.prototype.getPointByClient=function(n,r){return this.client2Viewport({x:n,y:r})},t.prototype.getClientByPoint=function(n,r){return this.viewport2Client({x:n,y:r})},t}(HXe),Eun=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.landmarks=[],n}return t.prototype.rotate=function(n,r,i){if(this.relElevation=z3(r),this.relAzimuth=z3(n),this.relRoll=z3(i),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.type===ti.EXPLORING){var o=q1(Fo(),[1,0,0],ao((this.rotateWorld?1:-1)*this.relElevation)),a=q1(Fo(),[0,1,0],ao((this.rotateWorld?1:-1)*this.relAzimuth)),l=q1(Fo(),[0,0,1],ao(this.relRoll)),s=l0(Fo(),a,o);s=l0(Fo(),s,l);var u=Rae(ci(),s);a0(this.matrix,this.matrix,[0,0,-this.distance]),Ol(this.matrix,this.matrix,u),a0(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation)>90)return this;this.computeMatrix()}return this._getAxes(),this.type===ti.ORBITING||this.type===ti.EXPLORING?this._getPosition():this.type===ti.TRACKING&&this._getFocalPoint(),this._update(),this},t.prototype.pan=function(n,r){var i=ql(n,r,0),o=Rp(this.position);return j3(o,o,yJ(_r(),this.right,i[0])),j3(o,o,yJ(_r(),this.up,i[1])),this._setPosition(o),this.triggerUpdate(),this},t.prototype.dolly=function(n){var r=this.forward,i=Rp(this.position),o=n*this.dollyingStep,a=this.distance+n*this.dollyingStep;return o=Math.max(Math.min(a,this.maxDistance),this.minDistance)-this.distance,i[0]+=o*r[0],i[1]+=o*r[1],i[2]+=o*r[2],this._setPosition(i),this.type===ti.ORBITING||this.type===ti.EXPLORING?this._getDistance():this.type===ti.TRACKING&&j3(this.focalPoint,i,this.distanceVector),this.triggerUpdate(),this},t.prototype.cancelLandmarkAnimation=function(){this.landmarkAnimationID!==void 0&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)},t.prototype.createLandmark=function(n,r){var i,o,a,l;r===void 0&&(r={});var s=r.position,u=s===void 0?this.position:s,c=r.focalPoint,f=c===void 0?this.focalPoint:c,h=r.roll,d=r.zoom,p=new jt.CameraContribution;p.setType(this.type,void 0),p.setPosition(u[0],(i=u[1])!==null&&i!==void 0?i:this.position[1],(o=u[2])!==null&&o!==void 0?o:this.position[2]),p.setFocalPoint(f[0],(a=f[1])!==null&&a!==void 0?a:this.focalPoint[1],(l=f[2])!==null&&l!==void 0?l:this.focalPoint[2]),p.setRoll(h??this.roll),p.setZoom(d??this.zoom);var g={name:n,matrix:Pae(p.getWorldTransform()),right:Rp(p.right),up:Rp(p.up),forward:Rp(p.forward),position:Rp(p.getPosition()),focalPoint:Rp(p.getFocalPoint()),distanceVector:Rp(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(g),g},t.prototype.gotoLandmark=function(n,r){var i=this;r===void 0&&(r={});var o=eo(n)?this.landmarks.find(function(P){return P.name===n}):n;if(o){var a=Ro(r)?{duration:r}:r,l=a.easing,s=l===void 0?"linear":l,u=a.duration,c=u===void 0?100:u,f=a.easingFunction,h=f===void 0?void 0:f,d=a.onfinish,p=d===void 0?void 0:d,g=a.onframe,m=g===void 0?void 0:g,v=.01;if(c===0){this.syncFromLandmark(o),p&&p();return}this.cancelLandmarkAnimation();var y=o.position,b=o.focalPoint,C=o.zoom,x=o.roll,S=h||jt.EasingFunction(s),w,O=function(){i.setFocalPoint(b),i.setPosition(y),i.setRoll(x),i.setZoom(C),i.computeMatrix(),i.triggerUpdate(),p&&p()},$=function(P){w===void 0&&(w=P);var T=P-w;if(T>c){O();return}var R=S(T/c),M=_r(),A=_r(),N=1,j=0;bJ(M,i.focalPoint,b,R),bJ(A,i.position,y,R),j=i.roll*(1-R)+x*R,N=i.zoom*(1-R)+C*R,i.setFocalPoint(M),i.setPosition(A),i.setRoll(j),i.setZoom(N);var D=j8e(M,b)+j8e(A,y);if(D<=v&&C==null&&x==null){O();return}i.computeMatrix(),i.triggerUpdate(),T0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&Number(this._currentTime)<=0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalDuration",{get:function(){return this._totalDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_needsTick",{get:function(){return this.pending||this.playState==="running"||!this._finishedFlag},enumerable:!1,configurable:!0}),e.prototype.updatePromises=function(){var t=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==t&&(n==="idle"?(this.rejectReadyPromise(),this.readyPromise=void 0):t==="pending"?this.resolveReadyPromise():n==="pending"&&(this.readyPromise=void 0)),this.finishedPromise&&n!==t&&(n==="idle"?(this.rejectFinishedPromise(),this.finishedPromise=void 0):n==="finished"?this.resolveFinishedPromise():t==="finished"&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise},e.prototype.play=function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),this.timeline.animations.indexOf(this)===-1&&this.timeline.animations.push(this),this.updatePromises()},e.prototype.pause=function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),!this._isFinished&&!this._paused&&!this._idle?this.currentTimePending=!0:this._idle&&(this.rewind(),this._idle=!1),this._startTime=null,this._paused=!0,this.updatePromises()},e.prototype.finish=function(){this.updatePromises(),!this._idle&&(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())},e.prototype.cancel=function(){var t=this;if(this.updatePromises(),!!this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var n=new AK(null,this,this.currentTime,null);setTimeout(function(){t.oncancel(n)})}},e.prototype.reverse=function(){this.updatePromises();var t=this.currentTime;this.playbackRate*=-1,this.play(),t!==null&&(this.currentTime=t),this.updatePromises()},e.prototype.updatePlaybackRate=function(t){this.playbackRate=t},e.prototype.targetAnimations=function(){var t,n=(t=this.effect)===null||t===void 0?void 0:t.target;return n.getAnimations()},e.prototype.markTarget=function(){var t=this.targetAnimations();t.indexOf(this)===-1&&t.push(this)},e.prototype.unmarkTarget=function(){var t=this.targetAnimations(),n=t.indexOf(this);n!==-1&&t.splice(n,1)},e.prototype.tick=function(t,n){!this._idle&&!this._paused&&(this._startTime===null?n&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((t-this._startTime)*this.playbackRate)),n&&(this.currentTimePending=!1,this.fireEvents(t))},e.prototype.rewind=function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw new Error("Unable to rewind negative playback rate animation with infinite duration")},e.prototype.persist=function(){throw new Error(gi)},e.prototype.addEventListener=function(t,n,r){throw new Error(gi)},e.prototype.removeEventListener=function(t,n,r){throw new Error(gi)},e.prototype.dispatchEvent=function(t){throw new Error(gi)},e.prototype.commitStyles=function(){throw new Error(gi)},e.prototype.ensureAlive=function(){var t,n;this.playbackRate<0&&this.currentTime===0?this._inEffect=!!(!((t=this.effect)===null||t===void 0)&&t.update(-1)):this._inEffect=!!(!((n=this.effect)===null||n===void 0)&&n.update(this.currentTime)),!this._inTimeline&&(this._inEffect||!this._finishedFlag)&&(this._inTimeline=!0,this.timeline.animations.push(this))},e.prototype.tickCurrentTime=function(t,n){t!==this._currentTime&&(this._currentTime=t,this._isFinished&&!n&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())},e.prototype.fireEvents=function(t){var n=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var r=new AK(null,this,this.currentTime,t);setTimeout(function(){n.onfinish&&n.onfinish(r)})}this._finishedFlag=!0}}else{if(this.onframe&&this.playState==="running"){var i=new AK(null,this,this.currentTime,t);this.onframe(i)}this._finishedFlag=!1}},e}(),Tun=4,Mun=.001,Run=1e-7,Iun=10,c9=11,tA=1/(c9-1),Nun=typeof Float32Array=="function",UXe=function(e,t){return 1-3*t+3*e},GXe=function(e,t){return 3*t-6*e},KXe=function(e){return 3*e},oL=function(e,t,n){return((UXe(t,n)*e+GXe(t,n))*e+KXe(t))*e},XXe=function(e,t,n){return 3*UXe(t,n)*e*e+2*GXe(t,n)*e+KXe(t)},Aun=function(e,t,n,r,i){var o,a,l=0;do a=t+(n-t)/2,o=oL(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>Run&&++l=Mun?kun(l,h,e,n):d===0?h:Aun(l,s,s+tA,e,n)};return function(l){return l===0||l===1?l:oL(a(l),t,r)}},jun=function(e){return e=e.replace(/([A-Z])/g,function(t){return"-".concat(t.toLowerCase())}),e.charAt(0)==="-"?e.substring(1):e},nA=function(e){return Math.pow(e,2)},rA=function(e){return Math.pow(e,3)},iA=function(e){return Math.pow(e,4)},oA=function(e){return Math.pow(e,5)},aA=function(e){return Math.pow(e,6)},lA=function(e){return 1-Math.cos(e*Math.PI/2)},sA=function(e){return 1-Math.sqrt(1-e*e)},cA=function(e){return e*e*(3*e-2)},uA=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((t*3-2)/22-e,2)},dA=function(e,t){t===void 0&&(t=[]);var n=Ae(t,2),r=n[0],i=r===void 0?1:r,o=n[1],a=o===void 0?.5:o,l=vo(Number(i),1,10),s=vo(Number(a),.1,2);return e===0||e===1?e:-l*Math.pow(2,10*(e-1))*Math.sin((e-1-s/(Math.PI*2)*Math.asin(1/l))*(Math.PI*2)/s)},A8=function(e,t,n){t===void 0&&(t=[]);var r=Ae(t,4),i=r[0],o=i===void 0?1:i,a=r[1],l=a===void 0?100:a,s=r[2],u=s===void 0?10:s,c=r[3],f=c===void 0?0:c;o=vo(o,.1,1e3),l=vo(l,.1,1e3),u=vo(u,.1,1e3),f=vo(f,.1,1e3);var h=Math.sqrt(l/o),d=u/(2*Math.sqrt(l*o)),p=d<1?h*Math.sqrt(1-d*d):0,g=1,m=d<1?(d*h+-f)/p:-f+h,v=n?n*e/1e3:e;return d<1?v=Math.exp(-v*d*h)*(g*Math.cos(p*v)+m*Math.sin(p*v)):v=(g+m*v)*Math.exp(-v*h),e===0||e===1?e:1-v},kK=function(e,t){t===void 0&&(t=[]);var n=Ae(t,2),r=n[0],i=r===void 0?10:r,o=n[1],a=o=="start"?Math.ceil:Math.floor;return a(vo(e,0,1)*i)/i},K9e=function(e,t){t===void 0&&(t=[]);var n=Ae(t,4),r=n[0],i=n[1],o=n[2],a=n[3];return vle(r,i,o,a)(e)},fA=vle(.42,0,1,1),Fc=function(e){return function(t,n,r){return n===void 0&&(n=[]),1-e(1-t,n,r)}},Hc=function(e){return function(t,n,r){return n===void 0&&(n=[]),t<.5?e(t*2,n,r)/2:1-e(t*-2+2,n,r)/2}},Wc=function(e){return function(t,n,r){return n===void 0&&(n=[]),t<.5?(1-e(1-t*2,n,r))/2:(e(t*2-1,n,r)+1)/2}},X9e={steps:kK,"step-start":function(e){return kK(e,[1,"start"])},"step-end":function(e){return kK(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":K9e,ease:function(e){return K9e(e,[.25,.1,.25,1])},in:fA,out:Fc(fA),"in-out":Hc(fA),"out-in":Wc(fA),"in-quad":nA,"out-quad":Fc(nA),"in-out-quad":Hc(nA),"out-in-quad":Wc(nA),"in-cubic":rA,"out-cubic":Fc(rA),"in-out-cubic":Hc(rA),"out-in-cubic":Wc(rA),"in-quart":iA,"out-quart":Fc(iA),"in-out-quart":Hc(iA),"out-in-quart":Wc(iA),"in-quint":oA,"out-quint":Fc(oA),"in-out-quint":Hc(oA),"out-in-quint":Wc(oA),"in-expo":aA,"out-expo":Fc(aA),"in-out-expo":Hc(aA),"out-in-expo":Wc(aA),"in-sine":lA,"out-sine":Fc(lA),"in-out-sine":Hc(lA),"out-in-sine":Wc(lA),"in-circ":sA,"out-circ":Fc(sA),"in-out-circ":Hc(sA),"out-in-circ":Wc(sA),"in-back":cA,"out-back":Fc(cA),"in-out-back":Hc(cA),"out-in-back":Wc(cA),"in-bounce":uA,"out-bounce":Fc(uA),"in-out-bounce":Hc(uA),"out-in-bounce":Wc(uA),"in-elastic":dA,"out-elastic":Fc(dA),"in-out-elastic":Hc(dA),"out-in-elastic":Wc(dA),spring:A8,"spring-in":A8,"spring-out":Fc(A8),"spring-in-out":Hc(A8),"spring-out-in":Wc(A8)},Dun=function(e){return jun(e).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},Lun=function(e){return X9e[Dun(e)]||X9e.linear},zun=function(e){return e},Bun=1,Fun=.5,Y9e=0;function Z9e(e,t){return function(n){if(n>=1)return 1;var r=1/e;return n+=t*r,n-n%r}}var pA="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",Hun=new RegExp("cubic-bezier\\("+pA+","+pA+","+pA+","+pA+"\\)"),Wun=/steps\(\s*(\d+)\s*\)/,qun=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function yle(e){var t=Hun.exec(e);if(t)return vle.apply(void 0,Kt([],Ae(t.slice(1).map(Number)),!1));var n=Wun.exec(e);if(n)return Z9e(Number(n[1]),Y9e);var r=qun.exec(e);return r?Z9e(Number(r[1]),{start:Bun,middle:Fun,end:Y9e}[r[2]]):Lun(e)}function Vun(e){return Math.abs(Uun(e)/(e.playbackRate||1))}function Uun(e){var t;return e.duration===0||e.iterations===0?0:(e.duration==="auto"?0:Number(e.duration))*((t=e.iterations)!==null&&t!==void 0?t:1)}var YXe=0,ble=1,hH=2,ZXe=3;function Gun(e,t,n){if(t===null)return YXe;var r=n.endTime;return t=Math.min(n.delay+e+n.endDelay,r)?hH:ZXe}function Kun(e,t,n,r,i){switch(r){case ble:return t==="backwards"||t==="both"?0:null;case ZXe:return n-i;case hH:return t==="forwards"||t==="both"?e:null;case YXe:return null}}function Xun(e,t,n,r,i){var o=i;return e===0?t!==ble&&(o+=n):o+=r/e,o}function Yun(e,t,n,r,i,o){var a=e===1/0?t%1:e%1;return a===0&&n===hH&&r!==0&&(i!==0||o===0)&&(a=1),a}function Zun(e,t,n,r){return e===hH&&t===1/0?1/0:n===1?Math.floor(r)-1:Math.floor(r)}function Qun(e,t,n){var r=e;if(e!=="normal"&&e!=="reverse"){var i=t;e==="alternate-reverse"&&(i+=1),r="normal",i!==1/0&&i%2!==0&&(r="reverse")}return r==="normal"?n:1-n}function Jun(e,t,n){var r=Gun(e,t,n),i=Kun(e,n.fill,t,r,n.delay);if(i===null)return null;var o=n.duration==="auto"?0:n.duration,a=Xun(o,r,n.iterations,i,n.iterationStart),l=Yun(a,n.iterationStart,r,n.iterations,i,o),s=Zun(r,n.iterations,l,a),u=Qun(n.direction,s,l);return n.currentIteration=s,n.progress=u,n.easingFunction(u)}function edn(e,t,n){var r=tdn(e,t),i=ndn(r,n);return function(o,a){if(a!==null)i.filter(function(s){return a>=s.applyFrom&&a1)throw new Error("Keyframe offsets must be between 0 and 1.");u.computedOffset=f}}else if(c==="composite"&&["replace","add","accumulate","auto"].indexOf(f)===-1)throw new Error("".concat(f," compositing is not supported"));u[c]=f}return u.offset===void 0&&(u.offset=null),u.easing===void 0&&(u.easing=(t==null?void 0:t.easing)||"linear"),u.composite===void 0&&(u.composite="auto"),u}),r=!0,i=-1/0,o=0;o=0&&Number(s.offset)<=1});function l(){var s,u,c=n.length;n[c-1].computedOffset=Number((s=n[c-1].offset)!==null&&s!==void 0?s:1),c>1&&(n[0].computedOffset=Number((u=n[0].offset)!==null&&u!==void 0?u:0));for(var f=0,h=Number(n[0].computedOffset),d=1;dthis.createElement(t),r=[];if(this._data!==null){for(let i=0;ii,r=()=>null){const i=[],o=[],a=new Set(this._elements),l=[],s=new Set,u=new Map(this._elements.map((d,p)=>[n(d.__data__,p),d])),c=new Map(this._facetElements.map((d,p)=>[n(d.__data__,p),d])),f=Ji(this._elements,d=>r(d.__data__));for(let d=0;da,n=a=>a,r=a=>a.remove(),i=a=>a,o=a=>a.remove()){const a=t(this._enter),l=n(this._update),s=r(this._exit),u=i(this._merge),c=o(this._split);return l.merge(a).merge(s).merge(u).merge(c)}remove(){for(let t=0;ti.finished)).then(()=>{this._elements[t].remove()})}else this._elements[t].remove()}return new Xa([],null,this._parent,this._document,void 0,this._transitions)}each(t){for(let n=0;nn:n;return this.each(function(i,o,a){n!==void 0&&(a[t]=r(i,o,a))})}style(t,n){const r=typeof n!="function"?()=>n:n;return this.each(function(i,o,a){n!==void 0&&(a.style[t]=r(i,o,a))})}transition(t){const n=typeof t!="function"?()=>t:t,{_transitions:r}=this;return this.each(function(i,o,a){r[o]=n(i,o,a)})}on(t,n){return this.each(function(r,i,o){o.addEventListener(t,n)}),this}call(t,...n){return t(this,...n),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}};aL.registry={g:Ha,rect:ib,circle:AP,path:is,text:uu,ellipse:hle,image:gle,line:kP,polygon:jP,polyline:mle,html:pH};function hA(e,t,n){return Math.max(t,Math.min(e,n))}function lL(e,t=10){return typeof e!="number"||Math.abs(e)<1e-15?e:parseFloat(e.toFixed(t))}function kn(e,t){for(const[n,r]of Object.entries(t))e.style(n,r)}function pdn(e,t){return t.forEach((n,r)=>r===0?e.moveTo(n[0],n[1]):e.lineTo(n[0],n[1])),e.closePath(),e}function hdn(e,t,n){const{arrowSize:r}=n,i=typeof r=="string"?+parseFloat(r)/100*Zi(e,t):r,o=Math.PI/6,a=Math.atan2(t[1]-e[1],t[0]-e[0]),l=Math.PI/2-a-o,s=[t[0]-i*Math.sin(l),t[1]-i*Math.cos(l)],u=a-o,c=[t[0]-i*Math.cos(u),t[1]-i*Math.sin(u)];return[s,c]}function L7(e,t,n,r,i){const o=yu(go(r,t))+Math.PI,a=yu(go(r,n))+Math.PI;return e.arc(r[0],r[1],i,o,a,a-o<0),e}function eYe(e,t,n,r="y",i="between",o=!1){const a=(m,v)=>m==="y"||m===!0?v?180:90:v?90:0,l=r==="y"||r===!0?n:t,s=a(r,o),u=tb(l),[c,f]=eh(u,m=>l[m]),h=new Ri({domain:[c,f],range:[0,100]}),d=m=>Ro(l[m])&&!Number.isNaN(l[m])?h.map(l[m]):0,p={between:m=>`${e[m]} ${d(m)}%`,start:m=>m===0?`${e[m]} ${d(m)}%`:`${e[m-1]} ${d(m)}%, ${e[m]} ${d(m)}%`,end:m=>m===e.length-1?`${e[m]} ${d(m)}%`:`${e[m]} ${d(m)}%, ${e[m+1]} ${d(m)}%`},g=u.sort((m,v)=>d(m)-d(v)).map(p[i]||p.between).join(",");return`linear-gradient(${s}deg, ${g})`}function gH(e){const[t,n,r,i]=e;return[i,t,n,r]}function ob(e,t,n){const[r,i,,o]=Hi(e)?gH(t):t,[a,l]=n,s=e.getCenter(),u=j4(go(r,s)),c=j4(go(i,s)),f=c===u&&a!==l?c+Math.PI*2:c;return{startAngle:u,endAngle:f-u>=0?f:Math.PI*2+f,innerRadius:Zi(o,s),outerRadius:Zi(r,s)}}function tYe(e){const{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function nYe(e,t){if(!Ai(e))return"";const n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function rYe(e){if(e.length===1)return e[0];const[[t,n,r=0],[i,o,a=0]]=e;return[(t+i)/2,(n+o)/2,(r+a)/2]}var Kk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?T:T+M,j=A>0?R:R+A,D=Math.abs(M),L=Math.abs(A),B=N+l,k=j+s,z=D-(l+u),q=L-(s+c),W=O?hA(z,v,1/0):hA(z,g,m),U=O?hA(q,g,m):hA(q,v,1/0),K=O?B:B-(W-z)/2,X=O?k-(U-q)/2:k-(U-q);return Un(e.createElement("rect",{})).style("x",K).style("y",X).style("width",W).style("height",U).style("radius",[d,p,h,f]).call(kn,y).node()}const{y:b,y1:C}=n,x=r.getCenter(),S=ob(r,t,[b,C]),w=iH().cornerRadius(a).padAngle(o*Math.PI/180);return Un(e.createElement("path",{})).style("path",w(S)).style("transform",`translate(${x[0]}, ${x[1]})`).style("radius",a).style("inset",o).call(kn,y).node()}const DP=(e,t)=>{const{colorAttribute:n,opacityAttribute:r="fill",first:i=!0,last:o=!0}=e,a=Kk(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:l,document:s}=t;return(u,c,f)=>{const{color:h,radius:d=0}=f,p=Kk(f,["color","radius"]),g=p.lineWidth||1,{stroke:m,radius:v=d,radiusTopLeft:y=v,radiusTopRight:b=v,radiusBottomRight:C=v,radiusBottomLeft:x=v,innerRadius:S=0,innerRadiusTopLeft:w=S,innerRadiusTopRight:O=S,innerRadiusBottomRight:$=S,innerRadiusBottomLeft:P=S,lineWidth:T=n==="stroke"||m?g:0,inset:R=0,insetLeft:M=R,insetRight:A=R,insetBottom:N=R,insetTop:j=R,minWidth:D,maxWidth:L,minHeight:B}=a,k=Kk(a,["stroke","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","lineWidth","inset","insetLeft","insetRight","insetBottom","insetTop","minWidth","maxWidth","minHeight"]),{color:z=h,opacity:q}=c,W=[i?y:w,i?b:O,o?C:$,o?x:P],U=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];Hi(l)&&U.push(U.shift());const K=Object.assign(Object.assign({radius:v},Object.fromEntries(U.map((X,G)=>[X,W[G]]))),{inset:R,insetLeft:M,insetRight:A,insetBottom:N,insetTop:j,minWidth:D,maxWidth:L,minHeight:B});return Un(iYe(s,u,c,l,K)).call(kn,p).style("fill","transparent").style(n,z).style(tYe(e),q).style("lineWidth",T).style("stroke",m===void 0?z:m).call(kn,k).node()}};DP.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const ab=(e,t)=>DP(Object.assign({colorAttribute:"fill"},e),t);ab.props=Object.assign(Object.assign({},DP.props),{defaultMarker:"square"});const mH=(e,t)=>DP(Object.assign({colorAttribute:"stroke"},e),t);mH.props=Object.assign(Object.assign({},DP.props),{defaultMarker:"hollowSquare"});var tEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{adjustPoints:n=gdn}=e,r=tEe(e,["adjustPoints"]),{coordinate:i,document:o}=t;return(a,l,s,u)=>{const{index:c}=l,{color:f}=s,h=tEe(s,["color"]),d=u[c+1],p=n(a,d,i),g=!!Hi(i),[m,v,y,b]=g?gH(p):p,{color:C=f,opacity:x}=l,S=S0().curve(tle)([m,v,y,b]);return Un(o.createElement("path",{})).call(kn,h).style("path",S).style("fill",C).style("fillOpacity",x).call(kn,r).node()}};Cle.props={defaultMarker:"square"};function mdn(e,t,n){const[r,i,o,a]=e;if(Hi(n)){const u=[t?t[0][0]:(i[0]+o[0])/2,i[1]],c=[t?t[3][0]:(i[0]+o[0])/2,o[1]];return[r,u,c,a]}const l=[i[0],t?t[0][1]:(i[1]+o[1])/2],s=[o[0],t?t[3][1]:(i[1]+o[1])/2];return[r,l,s,a]}const oYe=(e,t)=>Cle(Object.assign({adjustPoints:mdn},e),t);oYe.props={defaultMarker:"square"};function B4(e){const t=typeof e=="function"?e:e.render;return class extends fH{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var nEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{d1:t,d2:n,style1:r,style2:i}=e.attributes,o=e.ownerDocument;Un(e).maybeAppend("line",()=>o.createElement("path",{})).style("d",t).call(kn,r),Un(e).maybeAppend("line1",()=>o.createElement("path",{})).style("d",n).call(kn,i)});function ydn(e,t){const n=[],r=[];let i=!1,o=null;for(const a of e)!t(a[0])||!t(a[1])?i=!0:(n.push(a),i&&(i=!1,r.push([o,a])),o=a);return[n,r]}const Ou=(e,t)=>{const{curve:n,gradient:r=!1,gradientColor:i="between",defined:o=c=>!Number.isNaN(c)&&c!==void 0&&c!==null,connect:a=!1}=e,l=nEe(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:s,document:u}=t;return(c,f,h)=>{const{color:d,lineWidth:p}=h,g=nEe(h,["color","lineWidth"]),{color:m=d,size:v=p,seriesColor:y,seriesX:b,seriesY:C}=f,x=nYe(s,f),S=Hi(s),w=r&&y?eYe(y,b,C,r,i,S):m,O=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},g),w&&{stroke:w}),v&&{lineWidth:v}),x&&{transform:x}),l);let $;if(Ai(s)){const N=s.getCenter();$=j=>qan().angle((D,L)=>j4(go(j[L],N))).radius((D,L)=>Zi(j[L],N)).defined(([D,L])=>o(D)&&o(L)).curve(n)(j)}else $=S0().x(N=>N[0]).y(N=>N[1]).defined(([N,j])=>o(N)&&o(j)).curve(n);const[P,T]=ydn(c,o),R=hn(O,"connect"),M=!!T.length;if(!M||a&&!Object.keys(R).length)return Un(u.createElement("path",{})).style("d",$(P)||[]).call(kn,O).node();if(M&&!a)return Un(u.createElement("path",{})).style("d",$(c)).call(kn,O).node();const A=N=>N.map($).join(",");return Un(new vdn).style("style1",Object.assign(Object.assign({},O),R)).style("style2",O).style("d1",A(T)).style("d2",$(c)).node()}};Ou.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const aYe=(e,t)=>{const{coordinate:n}=t;return(...r)=>{const i=Ai(n)?tle:MP;return Ou(Object.assign({curve:i},e),t)(...r)}};aYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"line"});var bdn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=bdn(e,[]),{coordinate:r}=t;return(...i)=>{const o=Ai(r)?tXe:Hi(r)?aXe:oXe;return Ou(Object.assign({curve:o},n),t)(...i)}};lYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"smooth"});const sYe=(e,t)=>Ou(Object.assign({curve:cXe},e),t);sYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"hv"});const cYe=(e,t)=>Ou(Object.assign({curve:sXe},e),t);cYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"vh"});const uYe=(e,t)=>Ou(Object.assign({curve:lXe},e),t);uYe.props=Object.assign(Object.assign({},Ou.props),{defaultMarker:"hvh"});var Cdn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{document:n}=t;return(r,i,o)=>{const{seriesSize:a,color:l}=i,{color:s}=o,u=Cdn(o,["color"]),c=wu();for(let f=0;f[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];Sle.style=["fill"];const fYe=Sle.bind(void 0);fYe.style=["stroke","lineWidth"];const vH=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];vH.style=["fill"];const pYe=vH.bind(void 0);pYe.style=["fill"];const hYe=vH.bind(void 0);hYe.style=["stroke","lineWidth"];const xle=(e,t,n)=>{const r=n*.618;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};xle.style=["fill"];const gYe=xle.bind(void 0);gYe.style=["stroke","lineWidth"];const _le=(e,t,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};_le.style=["fill"];const mYe=_le.bind(void 0);mYe.style=["stroke","lineWidth"];const wle=(e,t,n)=>{const r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};wle.style=["fill"];const vYe=wle.bind(void 0);vYe.style=["stroke","lineWidth"];const Ole=(e,t,n)=>{const r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};Ole.style=["fill"];const yYe=Ole.bind(void 0);yYe.style=["stroke","lineWidth"];const Ele=(e,t,n)=>{const r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};Ele.style=["fill"];const bYe=Ele.bind(void 0);bYe.style=["stroke","lineWidth"];const CYe=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];CYe.style=["stroke","lineWidth"];const SYe=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];SYe.style=["stroke","lineWidth"];const xYe=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];xYe.style=["stroke","lineWidth"];const _Ye=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];_Ye.style=["stroke","lineWidth"];const wYe=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];wYe.style=["stroke","lineWidth"];const $le=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];$le.style=["stroke","lineWidth"];const OYe=$le.bind(void 0);OYe.style=["stroke","lineWidth"];const EYe=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];EYe.style=["stroke","lineWidth"];const $Ye=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];$Ye.style=["stroke","lineWidth"];const PYe=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];PYe.style=["stroke","lineWidth"];const TYe=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];TYe.style=["stroke","lineWidth"];const MYe=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];MYe.style=["stroke","lineWidth"];const sL=new Map([["bowtie",Ele],["cross",SYe],["dash",OYe],["diamond",xle],["dot",$le],["hexagon",Ole],["hollowBowtie",bYe],["hollowDiamond",gYe],["hollowHexagon",yYe],["hollowPoint",fYe],["hollowSquare",hYe],["hollowTriangle",mYe],["hollowTriangleDown",vYe],["hv",$Ye],["hvh",TYe],["hyphen",wYe],["line",CYe],["plus",_Ye],["point",Sle],["rect",pYe],["smooth",EYe],["square",vH],["tick",xYe],["triangleDown",wle],["triangle",_le],["vh",PYe],["vhv",MYe]]);function _dn(e,t){var{d:n,fill:r,strokeWidth:i,path:o,stroke:a,lineWidth:l,color:s}=t,u=xdn(t,["d","fill","strokeWidth","path","stroke","lineWidth","color"]);const c=sL.get(e)||sL.get("point");return(...f)=>new is({style:Object.assign(Object.assign({},u),{path:c(...f),stroke:c.style.includes("stroke")?s||a:"",fill:c.style.includes("fill")?s||r:"",lineWidth:c.style.includes("lineWidth")?l||l||2:0})})}var wdn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{colorAttribute:n,symbol:r,mode:i="auto"}=e,o=wdn(e,["colorAttribute","symbol","mode"]),a=sL.get(r)||sL.get("point"),{coordinate:l,document:s}=t;return(u,c,f)=>{const{lineWidth:h,color:d}=f,p=o.stroke?h||1:h,{color:g=d,transform:m,opacity:v}=c,[y,b]=rYe(u),x=Odn(i,u,c,l)||o.r||f.r;return Un(s.createElement("path",{})).call(kn,f).style("fill","transparent").style("d",a(y,b,x)).style("lineWidth",p).style("transform",m).style("stroke",g).style(tYe(e),v).style(n,g).call(kn,o).node()}};Er.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const RYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);RYe.props=Object.assign({defaultMarker:"hollowBowtie"},Er.props);const IYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);IYe.props=Object.assign({defaultMarker:"hollowDiamond"},Er.props);const NYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);NYe.props=Object.assign({defaultMarker:"hollowHexagon"},Er.props);const AYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);AYe.props=Object.assign({defaultMarker:"hollowPoint"},Er.props);const kYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);kYe.props=Object.assign({defaultMarker:"hollowSquare"},Er.props);const jYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);jYe.props=Object.assign({defaultMarker:"hollowTriangle"},Er.props);const DYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);DYe.props=Object.assign({defaultMarker:"hollowTriangleDown"},Er.props);const LYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);LYe.props=Object.assign({defaultMarker:"bowtie"},Er.props);const zYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);zYe.props=Object.assign({defaultMarker:"cross"},Er.props);const BYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);BYe.props=Object.assign({defaultMarker:"diamond"},Er.props);const FYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);FYe.props=Object.assign({defaultMarker:"hexagon"},Er.props);const HYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);HYe.props=Object.assign({defaultMarker:"hyphen"},Er.props);const WYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);WYe.props=Object.assign({defaultMarker:"line"},Er.props);const qYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);qYe.props=Object.assign({defaultMarker:"plus"},Er.props);const VYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);VYe.props=Object.assign({defaultMarker:"point"},Er.props);const UYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);UYe.props=Object.assign({defaultMarker:"square"},Er.props);const GYe=(e,t)=>Er(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);GYe.props=Object.assign({defaultMarker:"tick"},Er.props);const KYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);KYe.props=Object.assign({defaultMarker:"triangle"},Er.props);const XYe=(e,t)=>Er(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);XYe.props=Object.assign({defaultMarker:"triangleDown"},Er.props);var rEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{arrow:n=!0,arrowSize:r="40%"}=e,i=rEe(e,["arrow","arrowSize"]),{document:o}=t;return(a,l,s)=>{const{defaultColor:u}=s,c=rEe(s,["defaultColor"]),{color:f=u,transform:h}=l,[d,p]=a,g=wu();if(g.moveTo(...d),g.lineTo(...p),n){const[m,v]=hdn(d,p,{arrowSize:r});g.moveTo(...p),g.lineTo(...m),g.moveTo(...p),g.lineTo(...v)}return Un(o.createElement("path",{})).call(kn,c).style("d",g.toString()).style("stroke",f).style("transform",h).call(kn,i).node()}};Ple.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function YYe(e,t){t(e),e.children&&e.children.forEach(function(n){n&&YYe(n,t)})}function LP(e){yH(e,!0)}function F0(e){yH(e,!1)}function yH(e,t){var n=t?"visible":"hidden";YYe(e,function(r){r.attr("visibility",n)})}var Edn=function(e){$n(t,e);function t(){for(var n=[],r=0;r=this.left&&t<=this.right&&n>=this.top&&n<=this.bottom},e}();function bu(e,t){return rs(e)?e.apply(void 0,Kt([],Ae(t),!1)):e}var Eu=function(e,t){var n=function(i){return"".concat(t,"-").concat(i)},r=Object.fromEntries(Object.entries(e).map(function(i){var o=Ae(i,2),a=o[0],l=o[1],s=n(l);return[a,{name:s,class:".".concat(s),id:"#".concat(s),toString:function(){return s}}]}));return Object.assign(r,{prefix:n}),r},Pdn=5,JYe=function(e,t,n,r){n===void 0&&(n=0),r===void 0&&(r=Pdn),Object.entries(t).forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1],s=e;Object.prototype.hasOwnProperty.call(t,a)&&(l?Sh(l)?(Sh(e[a])||(s[a]={}),nt&&er&&(r=h),d>i&&(i=d)}return new Yi(t,n,r-t,i-n)}var jdn=function(e,t,n){var r=e.width,i=e.height,o=n.flexDirection,a=o===void 0?"row":o;n.flexWrap;var l=n.justifyContent,s=l===void 0?"flex-start":l;n.alignContent;var u=n.alignItems,c=u===void 0?"flex-start":u,f=a==="row",h=a==="row"||a==="column",d=f?h?[1,0]:[-1,0]:h?[0,1]:[0,-1],p=Ae([0,0],2),g=p[0],m=p[1],v=t.map(function(O){var $,P=O.width,T=O.height,R=Ae([g,m],2),M=R[0],A=R[1];return $=Ae([g+P*d[0],m+T*d[1]],2),g=$[0],m=$[1],new Yi(M,A,P,T)}),y=iEe(v),b={"flex-start":0,"flex-end":f?r-y.width:i-y.height,center:f?(r-y.width)/2:(i-y.height)/2},C=v.map(function(O){var $=O.x,P=O.y,T=Yi.fromRect(O);return T.x=f?$+b[s]:$,T.y=f?P:P+b[s],T});iEe(C);var x=function(O){var $=Ae(f?["height",i]:["width",r],2),P=$[0],T=$[1];switch(c){case"flex-start":return 0;case"flex-end":return T-O[P];case"center":return T/2-O[P]/2;default:return 0}},S=C.map(function(O){var $=O.x,P=O.y,T=Yi.fromRect(O);return T.x=f?$:$+x(T),T.y=f?P+x(T):P,T}),w=S.map(function(O){var $,P,T=Yi.fromRect(O);return T.x+=($=e.x)!==null&&$!==void 0?$:0,T.y+=(P=e.y)!==null&&P!==void 0?P:0,T});return w},Ddn=function(e,t,n){return[]};const Ldn=function(e,t,n){if(t.length===0)return[];var r={flex:jdn,grid:Ddn},i=n.display in r?r[n.display]:null;return(i==null?void 0:i.call(null,e,t,n))||[]};function Hp(e,t){return[e[0]*t,e[1]*t]}function u9(e,t){return[e[0]+t[0],e[1]+t[1]]}function jK(e,t){return[e[0]-t[0],e[1]-t[1]]}function Vm(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1])]}function Um(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1])]}function z7(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function iZe(e){if(e[0]===0&&e[1]===0)return[0,0];var t=Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2));return[e[0]/t,e[1]/t]}function zdn(e,t){return t?[e[1],-e[0]]:[-e[1],e[0]]}function QJ(e,t){return+e.toPrecision(t)}function oEe(e,t){var n={},r=Array.isArray(t)?t:[t];for(var i in e)r.includes(i)||(n[i]=e[i]);return n}function Bdn(e,t,n,r){var i,o=[],a=!!r,l,s,u=[1/0,1/0],c=[-1/0,-1/0],f,h,d;if(a){i=Ae(r,2),u=i[0],c=i[1];for(var p=0,g=e.length;p="A"&&n<="Z"};function Cr(e,t,n){n===void 0&&(n=!1);var r={};return Object.entries(e).forEach(function(i){var o=Ae(i,2),a=o[0],l=o[1];if(!(a==="className"||a==="class")){if(mA(a,"show")&&mA(sEe(a,"show"),t)!==n)a===Qdn(t,"show")?r[a]=l:r[a.replace(new RegExp(Ile(t)),"")]=l;else if(!mA(a,"show")&&mA(a,t)!==n){var s=sEe(a,t);s==="filter"&&typeof l=="function"||(r[s]=l)}}}),r}function df(e,t){return Object.entries(e).reduce(function(n,r){var i=Ae(r,2),o=i[0],a=i[1];return o.startsWith("show")?n["show".concat(t).concat(o.slice(4))]=a:n["".concat(t).concat(Ile(o))]=a,n},{})}function wh(e,t){t===void 0&&(t=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],r={},i={};return Object.entries(e).forEach(function(o){var a=Ae(o,2),l=a[0],s=a[1];t.includes(l)||(n.indexOf(l)!==-1?i[l]=s:r[l]=s)}),[r,i]}function efn(e,t,n){var r=e.getBBox(),i=r.width,o=r.height,a=Ae([t,n].map(function(u,c){var f;return u.includes("%")?parseFloat(((f=u.match(/[+-]?([0-9]*[.])?[0-9]+/))===null||f===void 0?void 0:f[0])||"0")/100*(c===0?i:o):u}),2),l=a[0],s=a[1];return[l,s]}function uL(e,t){if(t)try{var n=/translate\(([+-]*[\d]+[%]*),[ ]*([+-]*[\d]+[%]*)\)/g,r=t.replace(n,function(i,o,a){return"translate(".concat(efn(e,o,a),")")});e.attr("transform",r)}catch{}}function tfn(e){var t;return((t=e[0])===null||t===void 0?void 0:t.map(function(n,r){return e.map(function(i){return i[r]})}))||[]}function nfn(){yH(this,this.attributes.visibility!=="hidden")}var Wa=function(e){$n(t,e);function t(n,r){r===void 0&&(r={});var i=e.call(this,_h({},{style:r},n))||this;return i.initialized=!1,i._defaultOptions=r,i}return Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=ZYe(this)),this._offscreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultOptions",{get:function(){return this._defaultOptions},enumerable:!1,configurable:!0}),t.prototype.connectedCallback=function(){this.render(this.attributes,this),this.bindEvents(this.attributes,this),this.initialized=!0},t.prototype.disconnectedCallback=function(){var n;(n=this._offscreen)===null||n===void 0||n.destroy()},t.prototype.attributeChangedCallback=function(n){n==="visibility"&&nfn.call(this)},t.prototype.update=function(n,r){var i;return this.attr(_h({},this.attributes,n||{})),(i=this.render)===null||i===void 0?void 0:i.call(this,this.attributes,this,r)},t.prototype.clear=function(){this.removeChildren()},t.prototype.bindEvents=function(n,r){},t}(fH),oZe=function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]]},rfn=oZe,ifn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},ofn=function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},afn=function(e,t,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},lfn=function(e,t,n){var r=n*Math.sin(.3333333333333333*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]},sfn=function(e,t,n){var r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]},cfn=function(e,t,n){var r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]},aZe=function(e,t,n){return[["M",e,t+n],["L",e,t-n]]},ufn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]]},dfn=function(e,t,n){return[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]]},ffn=function(e,t,n){return[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]]},pfn=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},lZe=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},hfn=lZe,gfn=function(e,t,n){return[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]]},mfn=function(e,t,n){return[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]]},vfn=function(e,t,n){return[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]]},yfn=function(e,t,n){return[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]]};function bfn(e,t){return[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]]}var Cfn=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t],["L",e-n,t+n],["Z"]]};function Sfn(e){var t="default";if(Vv(e)&&e instanceof Image)t="image";else if(rs(e))t="symbol";else if(eo(e)){var n=new RegExp("data:(image|text)");e.match(n)?t="base64":/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(e)?t="url":t="symbol"}return t}function xfn(e){var t=Sfn(e);return["base64","url","image"].includes(t)?"image":e&&t==="symbol"?"path":null}var Si=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r){var i=n.symbol,o=n.size,a=o===void 0?16:o,l=Ci(n,["symbol","size"]),s=xfn(i);Is(!!s,or(r),function(u){u.maybeAppendByClassName("marker",s).attr("className","marker ".concat(s,"-marker")).call(function(c){if(s==="image"){var f=a*2;c.styles({img:i,width:f,height:f,x:-a,y:-a})}else{var f=a/2,h=rs(i)?i:t.getSymbol(i);c.styles(Mt({path:h==null?void 0:h(0,0,f)},l))}})})},t.MARKER_SYMBOL_MAP=new Map,t.registerSymbol=function(n,r){t.MARKER_SYMBOL_MAP.set(n,r)},t.getSymbol=function(n){return t.MARKER_SYMBOL_MAP.get(n)},t.getSymbols=function(){return Array.from(t.MARKER_SYMBOL_MAP.keys())},t}(Wa);Si.registerSymbol("cross",ufn);Si.registerSymbol("hyphen",pfn);Si.registerSymbol("line",aZe);Si.registerSymbol("plus",ffn);Si.registerSymbol("tick",dfn);Si.registerSymbol("circle",oZe);Si.registerSymbol("point",rfn);Si.registerSymbol("bowtie",cfn);Si.registerSymbol("hexagon",sfn);Si.registerSymbol("square",ifn);Si.registerSymbol("diamond",ofn);Si.registerSymbol("triangle",afn);Si.registerSymbol("triangle-down",lfn);Si.registerSymbol("line",aZe);Si.registerSymbol("dot",lZe);Si.registerSymbol("dash",hfn);Si.registerSymbol("smooth",gfn);Si.registerSymbol("hv",mfn);Si.registerSymbol("vh",vfn);Si.registerSymbol("hvh",yfn);Si.registerSymbol("vhv",bfn);var _fn=function(e){$n(t,e);function t(n){var r=this,i=n.style,o=Ci(n,["style"]);return r=e.call(this,Dt({},{type:"column"},Mt({style:i},o)))||this,r.columnsGroup=new Ha({name:"columns"}),r.appendChild(r.columnsGroup),r.render(),r}return t.prototype.render=function(){var n=this.attributes.columns;or(this.columnsGroup).selectAll(".column").data(n.flat()).join(function(r){return r.append("rect").attr("className","column").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},t.prototype.update=function(n){this.attr(_h({},this.attributes,n)),this.render()},t.prototype.clear=function(){this.removeChildren()},t}(Al),wfn=function(e){$n(t,e);function t(n){var r=this,i=n.style,o=Ci(n,["style"]);return r=e.call(this,Dt({},{type:"lines"},Mt({style:i},o)))||this,r.linesGroup=r.appendChild(new Ha),r.areasGroup=r.appendChild(new Ha),r.render(),r}return t.prototype.render=function(){var n=this.attributes,r=n.lines,i=n.areas;r&&this.renderLines(r),i&&this.renderAreas(i)},t.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},t.prototype.update=function(n){this.attr(_h({},this.attributes,n)),this.render()},t.prototype.renderLines=function(n){or(this.linesGroup).selectAll(".line").data(n).join(function(r){return r.append("path").attr("className","line").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.attr(i)})},function(r){return r.remove()})},t.prototype.renderAreas=function(n){or(this.linesGroup).selectAll(".area").data(n).join(function(r){return r.append("path").attr("className","area").each(function(i){this.attr(i)})},function(r){return r.each(function(i){this.style(i)})},function(r){return r.remove()})},t}(Al);function Ofn(e,t){var n,r=t.x,i=t.y,o=Ae(i.getOptions().range||[0,0],2),a=o[0],l=o[1];return l>a&&(n=Ae([a,l],2),l=n[0],a=n[1]),e.map(function(s){var u=s.map(function(c,f){return[r.map(f),vo(i.map(c),l,a)]});return u})}function B7(e,t){t===void 0&&(t=!1);var n=t?e.length-1:0,r=e.map(function(i,o){return Kt([o===n?"M":"L"],Ae(i),!1)});return t?r.reverse():r}function dL(e,t){if(t===void 0&&(t=!1),e.length<=2)return B7(e);for(var n=[],r=e.length,i=0;i=0;i-=1){var o=e[i],a=B7(o),l=void 0;if(i===0)l=Nle(a,t,n);else{var s=e[i-1],u=B7(s,!0);u[0][0]="L",l=Kt(Kt(Kt([],Ae(a),!1),Ae(u),!1),[["Z"]],!1)}r.push(l)}return r}function Pfn(e,t,n){for(var r=[],i=e.length-1;i>=0;i-=1){var o=e[i],a=dL(o),l=void 0;if(i===0)l=Nle(a,t,n);else{var s=e[i-1],u=dL(s,!0),c=o[0];u[0][0]="L",l=Kt(Kt(Kt([],Ae(a),!1),Ae(u),!1),[Kt(["M"],Ae(c),!1),["Z"]],!1)}r.push(l)}return r}function cEe(e){return e.length===0?[0,0]:[LD(ann(e,function(t){return LD(t)||0})),DD(onn(e,function(t){return DD(t)||0}))]}function uEe(e){for(var t=x7(e),n=t[0].length,r=Ae([Array(n).fill(0),Array(n).fill(0)],2),i=r[0],o=r[1],a=0;a=0?(l[s]+=i[s],i[s]=l[s]):(l[s]+=o[s],o[s]=l[s]);return t}var Tfn=function(e){$n(t,e);function t(n){return e.call(this,n,{type:"line",width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return Object.defineProperty(t.prototype,"rawData",{get:function(){var n=this.attributes.data;if(!n||(n==null?void 0:n.length)===0)return[[]];var r=x7(n);return Ro(r[0])?[r]:r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.attributes.isStack?uEe(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseline",{get:function(){var n=this.scales.y,r=Ae(n.getOptions().domain||[0,0],2),i=r[0],o=r[1];return o<0?n.map(o):n.map(i<0?0:i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerShape",{get:function(){var n=this.attributes,r=n.width,i=n.height;return{width:r,height:i}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linesStyle",{get:function(){var n=this,r=this.attributes,i=r.type,o=r.isStack,a=r.smooth;if(i!=="line")throw new Error("linesStyle can only be used in line type");var l=Cr(this.attributes,"area"),s=Cr(this.attributes,"line"),u=this.containerShape.width,c=this.data;if(c[0].length===0)return{lines:[],areas:[]};var f=this.scales,h=f.x,d=f.y,p=Ofn(c,{type:"line",x:h,y:d}),g=[];if(l){var m=this.baseline;o?g=a?Pfn(p,u,m):$fn(p,u,m):g=Efn(p,a,u,m)}return{lines:p.map(function(v,y){return Mt({stroke:n.getColor(y),path:a?dL(v):B7(v)},s)}),areas:g.map(function(v,y){return Mt({path:v,fill:n.getColor(y)},l)})}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsStyle",{get:function(){var n=this,r=Cr(this.attributes,"column"),i=this.attributes,o=i.isStack,a=i.type,l=i.scale;if(a!=="column")throw new Error("columnsStyle can only be used in column type");var s=this.containerShape.height,u=this.rawData;if(!u)return{columns:[]};o&&(u=uEe(u));var c=this.createScales(u),f=c.x,h=c.y,d=Ae(cEe(u),2),p=d[0],g=d[1],m=new Ri({domain:[0,g-(p>0?0:p)],range:[0,s*l]}),v=f.getBandWidth(),y=this.rawData;return{columns:u.map(function(b,C){return b.map(function(x,S){var w=v/u.length,O=function(){return{x:f.map(S)+w*C,y:x>=0?h.map(x):h.map(0),width:w,height:m.map(Math.abs(x))}},$=function(){return{x:f.map(S),y:h.map(x),width:v,height:m.map(y[C][S])}};return Mt(Mt({fill:n.getColor(C)},r),o?$():O())})})}},enumerable:!1,configurable:!0}),t.prototype.render=function(n,r){Kdn(r,".container","rect").attr("className","container").node();var i=n.type,o="spark".concat(i),a=i==="line"?this.linesStyle:this.columnsStyle;or(r).selectAll(".spark").data([i]).join(function(l){return l.append(function(s){return s==="line"?new wfn({className:o,style:a}):new _fn({className:o,style:a})}).attr("className","spark ".concat(o))},function(l){return l.update(a)},function(l){return l.remove()})},t.prototype.getColor=function(n){var r=this.attributes.color;return sa(r)?r[n%r.length]:rs(r)?r.call(null,n):r},t.prototype.createScales=function(n){var r,i,o=this.attributes,a=o.type,l=o.scale,s=o.range,u=s===void 0?[]:s,c=o.spacing,f=this.containerShape,h=f.width,d=f.height,p=Ae(cEe(n),2),g=p[0],m=p[1],v=new Ri({domain:[(r=u[0])!==null&&r!==void 0?r:g,(i=u[1])!==null&&i!==void 0?i:m],range:[d,d*(1-l)]});return a==="line"?{type:a,x:new Ri({domain:[0,n[0].length-1],range:[0,h]}),y:v}:{type:a,x:new k4({domain:n[0].map(function(y,b){return b}),range:[0,h],paddingInner:c,paddingOuter:c/2,align:.5}),y:v}},t.tag="sparkline",t}(Wa);function Mfn(e){return typeof e=="boolean"?!1:"enter"in e&&"update"in e&&"exit"in e}function dEe(e){if(!e)return{enter:!1,update:!1,exit:!1};var t=["enter","update","exit"],n=Object.fromEntries(Object.entries(e).filter(function(r){var i=Ae(r,1),o=i[0];return!t.includes(o)}));return Object.fromEntries(t.map(function(r){return Mfn(e)?e[r]===!1?[r,!1]:[r,Mt(Mt({},e[r]),n)]:[r,n]}))}function HC(e,t){e?e.finished.then(t):t()}function Rfn(e,t){e.length===0?t():Promise.all(e.map(function(n){return n==null?void 0:n.finished})).then(t)}function sZe(e,t){"update"in e?e.update(t):e.attr(t)}function cZe(e,t,n){if(t.length===0)return null;if(!n){var r=t.slice(-1)[0];return sZe(e,{style:r}),null}return e.animate(t,n)}function Ifn(e,t){return!(e.nodeName!=="text"||t.nodeName!=="text"||e.attributes.text!==t.attributes.text)}function Nfn(e,t,n,r){if(r===void 0&&(r="destroy"),Ifn(e,t))return e.remove(),[null];var i=function(){r==="destroy"?e.destroy():r==="hide"&&F0(e),t.isVisible()&&LP(t)};if(!n)return i(),[null];var o=n.duration,a=o===void 0?0:o,l=n.delay,s=l===void 0?0:l,u=Math.ceil(+a/2),c=+a/4,f=function(T){if(T.nodeName==="circle"){var R=Ae(T.getLocalPosition(),2),M=R[0],A=R[1],N=T.attr("r");return[M-N,A-N]}return T.getLocalPosition()},h=Ae(f(e),2),d=h[0],p=h[1],g=Ae(f(t),2),m=g[0],v=g[1],y=Ae([(d+m)/2-d,(p+v)/2-p],2),b=y[0],C=y[1],x=e.style.opacity,S=x===void 0?1:x,w=t.style.opacity,O=w===void 0?1:w,$=e.animate([{opacity:S,transform:"translate(0, 0)"},{opacity:0,transform:"translate(".concat(b,", ").concat(C,")")}],Mt(Mt({fill:"both"},n),{duration:s+u+c})),P=t.animate([{opacity:0,transform:"translate(".concat(-b,", ").concat(-C,")"),offset:.01},{opacity:O,transform:"translate(0, 0)"}],Mt(Mt({fill:"both"},n),{duration:u+c,delay:s+u-c}));return HC(P,i),[$,P]}function Sd(e,t,n){var r={},i={};return Object.entries(t).forEach(function(o){var a=Ae(o,2),l=a[0],s=a[1];if(!Cn(s)){var u=e.style[l]||e.parsedStyle[l]||0;u!==s&&(r[l]=u,i[l]=s)}}),n?cZe(e,[r,i],Mt({fill:"both"},n)):(sZe(e,i),null)}function bH(e,t){return e.style.opacity||(e.style.opacity=1),Sd(e,{opacity:0},t)}var uZe={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},dZe={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},fZe={orientation:"horizontal",showLabel:!0,type:"start"},Qd=Eu({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider"),D1=Eu({labelGroup:"label-group",label:"label",iconGroup:"icon-group",icon:"icon",iconRect:"icon-rect",iconLine:"icon-line"},"handle"),Afn=function(e){$n(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r){var i=n.size,o=i===void 0?10:i,a=n.radius,l=a===void 0?o/4:a,s=n.orientation,u=Ci(n,["size","radius","orientation"]),c=o,f=c*2.4,h=or(r).maybeAppendByClassName(D1.iconRect,"rect").styles(Mt(Mt({},u),{width:c,height:f,radius:l,x:-c/2,y:-f/2})),d=1/3*c,p=2/3*c,g=1/4*f,m=3/4*f;h.maybeAppendByClassName("".concat(D1.iconLine,"-1"),"line").styles(Mt({x1:d,x2:d,y1:g,y2:m},u)),h.maybeAppendByClassName("".concat(D1.iconLine,"-2"),"line").styles(Mt({x1:p,x2:p,y1:g,y2:m},u)),h.node().setOrigin(c/2,f/2),s==="vertical"?r.setLocalEulerAngles(90):r.setLocalEulerAngles(0)},t}(Wa),pZe=function(e){$n(t,e);function t(n){return e.call(this,n,fZe)||this}return t.prototype.renderLabel=function(n){var r=this,i=this.attributes.showLabel,o=Cr(this.attributes,"label"),a=o.transform,l=Ci(o,["transform"]),s=Ae(wh(l,[]),2),u=s[0],c=s[1],f=or(n).maybeAppendByClassName(D1.labelGroup,"g").styles(c),h=Mt(Mt({},dZe),u),d=h.text,p=Ci(h,["text"]);Is(!!i,f,function(g){r.label=g.maybeAppendByClassName(D1.label,"text").styles(Mt(Mt({},p),{transform:a,text:"".concat(d)})),r.label.on("mousedown",function(m){m.stopPropagation()}),r.label.on("touchstart",function(m){m.stopPropagation()})})},t.prototype.renderIcon=function(n){var r=this.attributes,i=r.orientation,o=r.type,a=Mt(Mt({orientation:i},uZe),Cr(this.attributes,"icon")),l=this.attributes.iconShape,s=l===void 0?function(){return new Afn({style:a})}:l,u=or(n).maybeAppendByClassName(D1.iconGroup,"g");u.selectAll(D1.icon.class).data([s]).join(function(c){return c.append(typeof s=="string"?s:function(){return s(o)}).attr("className",D1.icon.name)},function(c){return c.update(a)},function(c){return c.remove()})},t.prototype.render=function(n,r){this.renderIcon(r),this.renderLabel(r)},t}(Wa),hZe=function(e){$n(t,e);function t(n){var r=e.call(this,n,Mt(Mt(Mt({animate:{duration:100,fill:"both"},brushable:!0,formatter:function(i){return i.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},df(fZe,"handle")),df(uZe,"handleIcon")),df(dZe,"handleLabel")))||this;return r.range=[0,1],r.onDragStart=function(i){return function(o){o.stopPropagation(),r.target=i,r.prevPos=r.getOrientVal(cL(o));var a=r.availableSpace,l=a.x,s=a.y,u=r.getBBox(),c=u.x,f=u.y;r.selectionStartPos=r.getRatio(r.prevPos-r.getOrientVal([l,s])-r.getOrientVal([+c,+f])),r.selectionWidth=0,document.addEventListener("pointermove",r.onDragging),document.addEventListener("pointerup",r.onDragEnd)}},r.onDragging=function(i){var o=r.attributes,a=o.slidable,l=o.brushable,s=o.type;i.stopPropagation();var u=r.getOrientVal(cL(i)),c=u-r.prevPos;if(c){var f=r.getRatio(c);switch(r.target){case"start":a&&r.setValuesOffset(f);break;case"end":a&&r.setValuesOffset(0,f);break;case"selection":a&&r.setValuesOffset(f,f);break;case"track":if(!l)return;r.selectionWidth+=f,s==="range"?r.innerSetValues([r.selectionStartPos,r.selectionStartPos+r.selectionWidth].sort(),!0):r.innerSetValues([0,r.selectionStartPos+r.selectionWidth],!0);break}r.prevPos=u}},r.onDragEnd=function(){document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointermove",r.onDragging),document.removeEventListener("pointerup",r.onDragEnd),r.target="",r.updateHandlesPosition(!1)},r.onValueChange=function(i){var o=r.attributes,a=o.onChange,l=o.type,s=l==="range"?i:i[1],u=l==="range"?r.getValues():r.getValues()[1],c=new vi("valuechange",{detail:{oldValue:s,value:u}});r.dispatchEvent(c),a==null||a(u)},r.selectionStartPos=0,r.selectionWidth=0,r.prevPos=0,r.target="",r}return Object.defineProperty(t.prototype,"values",{get:function(){return this.attributes.values},set:function(n){this.attributes.values=this.clampValues(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sparklineStyle",{get:function(){var n=this.attributes.orientation;if(n!=="horizontal")return null;var r=Cr(this.attributes,"sparkline");return Mt(Mt({zIndex:0},this.availableSpace),r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var n=this.attributes,r=n.trackLength,i=n.trackSize,o=Ae(this.getOrientVal([[r,i],[i,r]]),2),a=o[0],l=o[1];return{width:a,height:l}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes.padding,r=Ae(tl(n),4),i=r[0],o=r[1],a=r[2],l=r[3],s=this.shape,u=s.width,c=s.height;return{x:l,y:i,width:u-(l+o),height:c-(i+a)}},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.values},t.prototype.setValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1),this.attributes.values=n;var i=r===!1?!1:this.attributes.animate;this.updateSelectionArea(i),this.updateHandlesPosition(i)},t.prototype.updateSelectionArea=function(n){var r=this.calcSelectionArea();this.foregroundGroup.selectAll(Qd.selection.class).each(function(i,o){Sd(this,r[o],n)})},t.prototype.updateHandlesPosition=function(n){this.attributes.showHandle&&(this.startHandle&&Sd(this.startHandle,this.getHandleStyle("start"),n),this.endHandle&&Sd(this.endHandle,this.getHandleStyle("end"),n))},t.prototype.innerSetValues=function(n,r){n===void 0&&(n=[0,0]),r===void 0&&(r=!1);var i=this.values,o=this.clampValues(n);this.attributes.values=o,this.setValues(o),r&&this.onValueChange(i)},t.prototype.renderTrack=function(n){var r=Cr(this.attributes,"track");this.trackShape=or(n).maybeAppendByClassName(Qd.track,"rect").styles(Mt(Mt({},this.shape),r))},t.prototype.renderBrushArea=function(n){var r=this.attributes.brushable;this.brushArea=or(n).maybeAppendByClassName(Qd.brushArea,"rect").styles(Mt({fill:"transparent",cursor:r?"crosshair":"default"},this.shape))},t.prototype.renderSparkline=function(n){var r=this,i=this.attributes.orientation,o=or(n).maybeAppendByClassName(Qd.sparklineGroup,"g");Is(i==="horizontal",o,function(a){var l=r.sparklineStyle;a.maybeAppendByClassName(Qd.sparkline,function(){return new Tfn({style:l})}).update(l)})},t.prototype.renderHandles=function(){var n=this,r,i=this.attributes,o=i.showHandle,a=i.type,l=a==="range"?["start","end"]:["end"],s=o?l:[],u=this;(r=this.foregroundGroup)===null||r===void 0||r.selectAll(Qd.handle.class).data(s.map(function(c){return{type:c}}),function(c){return c.type}).join(function(c){return c.append(function(f){var h=f.type;return new pZe({style:n.getHandleStyle(h)})}).each(function(f){var h=f.type;this.attr("class","".concat(Qd.handle.name," ").concat(h,"-handle"));var d="".concat(h,"Handle");u[d]=this,this.addEventListener("pointerdown",u.onDragStart(h))})},function(c){return c.each(function(f){var h=f.type;this.update(u.getHandleStyle(h))})},function(c){return c.each(function(f){var h=f.type,d="".concat(h,"Handle");u[d]=void 0}).remove()})},t.prototype.renderSelection=function(n){var r=this.attributes,i=r.type,o=r.selectionType;this.foregroundGroup=or(n).maybeAppendByClassName(Qd.foreground,"g");var a=Cr(this.attributes,"selection"),l=function(u){return u.style("visibility",function(c){return c.show?"visible":"hidden"}).style("cursor",function(c){return o==="select"?"grab":o==="invert"?"crosshair":"default"}).styles(a)},s=this;this.foregroundGroup.selectAll(Qd.selection.class).data(i==="value"?[]:this.calcSelectionArea().map(function(u,c){return{style:Mt({},u),index:c,show:o==="select"?c===1:c!==1}}),function(u){return u.index}).join(function(u){return u.append("rect").attr("className",Qd.selection.name).call(l).each(function(c,f){var h=this;f===1?(s.selectionShape=or(this),this.on("pointerdown",function(d){h.attr("cursor","grabbing"),s.onDragStart("selection")(d)}),s.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),s.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),s.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){h.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){h.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){h.attr("cursor","pointer")})):this.on("pointerdown",s.onDragStart("track"))})},function(u){return u.call(l)},function(u){return u.remove()}),this.updateSelectionArea(!1),this.renderHandles()},t.prototype.render=function(n,r){this.renderTrack(r),this.renderSparkline(r),this.renderBrushArea(r),this.renderSelection(r)},t.prototype.clampValues=function(n,r){var i;r===void 0&&(r=4);var o=Ae(this.range,2),a=o[0],l=o[1],s=Ae(this.getValues().map(function(m){return QJ(m,r)}),2),u=s[0],c=s[1],f=Array.isArray(n)?n:[u,n??c],h=Ae((f||[u,c]).map(function(m){return QJ(m,r)}),2),d=h[0],p=h[1];if(this.attributes.type==="value")return[0,vo(p,a,l)];d>p&&(i=Ae([p,d],2),d=i[0],p=i[1]);var g=p-d;return g>l-a?[a,l]:dl?c===l&&u===d?[d,l]:[l-g,l]:[d,p]},t.prototype.calcSelectionArea=function(n){var r=Ae(this.clampValues(n),2),i=r[0],o=r[1],a=this.availableSpace,l=a.x,s=a.y,u=a.width,c=a.height;return this.getOrientVal([[{y:s,height:c,x:l,width:i*u},{y:s,height:c,x:i*u+l,width:(o-i)*u},{y:s,height:c,x:o*u,width:(1-o)*u}],[{x:l,width:u,y:s,height:i*c},{x:l,width:u,y:i*c+s,height:(o-i)*c},{x:l,width:u,y:o*c,height:(1-o)*c}]])},t.prototype.calcHandlePosition=function(n){var r=this.attributes.handleIconOffset,i=this.availableSpace,o=i.x,a=i.y,l=i.width,s=i.height,u=Ae(this.clampValues(),2),c=u[0],f=u[1],h=n==="start"?-r:r,d=(n==="start"?c:f)*this.getOrientVal([l,s])+h;return{x:o+this.getOrientVal([d,l/2]),y:a+this.getOrientVal([s/2,d])}},t.prototype.inferTextStyle=function(n){var r=this.attributes.orientation;return r==="horizontal"?{}:n==="start"?{transform:"rotate(90)",textAlign:"start"}:n==="end"?{transform:"rotate(90)",textAlign:"end"}:{}},t.prototype.calcHandleText=function(n){var r,i=this.attributes,o=i.type,a=i.orientation,l=i.formatter,s=i.autoFitLabel,u=Cr(this.attributes,"handle"),c=Cr(u,"label"),f=u.spacing,h=this.getHandleSize(),d=this.clampValues(),p=n==="start"?d[0]:d[1],g=l(p),m=new Tle({style:Mt(Mt(Mt({},c),this.inferTextStyle(n)),{text:g})}),v=m.getBBox(),y=v.width,b=v.height;if(m.destroy(),!s){if(o==="value")return{text:g,x:0,y:-b-f};var C=f+h+(a==="horizontal"?y/2:0);return r={text:g},r[a==="horizontal"?"x":"y"]=n==="start"?-C:C,r}var x=0,S=0,w=this.availableSpace,O=w.width,$=w.height,P=this.calcSelectionArea()[1],T=P.x,R=P.y,M=P.width,A=P.height,N=f+h;if(a==="horizontal"){var j=N+y/2;if(n==="start"){var D=T-N-y;x=D>0?-j:j}else{var L=O-T-M-N>y;x=L?j:-j}}else{var B=N,k=b+N;n==="start"?S=R-h>b?-k:B:S=$-(R+A)-h>b?k:-B}return{x,y:S,text:g}},t.prototype.getHandleLabelStyle=function(n){var r=Cr(this.attributes,"handleLabel");return Mt(Mt(Mt({},r),this.calcHandleText(n)),this.inferTextStyle(n))},t.prototype.getHandleIconStyle=function(){var n=this.attributes.handleIconShape,r=Cr(this.attributes,"handleIcon"),i=this.getOrientVal(["ew-resize","ns-resize"]),o=this.getHandleSize();return Mt({cursor:i,shape:n,size:o},r)},t.prototype.getHandleStyle=function(n){var r=this.attributes,i=r.showLabel,o=r.showLabelOnInteraction,a=r.orientation,l=this.calcHandlePosition(n),s=this.calcHandleText(n),u=i;return!i&&o&&(this.target?u=!0:u=!1),Mt(Mt(Mt(Mt({},df(this.getHandleIconStyle(),"icon")),df(Mt(Mt({},this.getHandleLabelStyle(n)),s),"label")),l),{orientation:a,showLabel:u,type:n,zIndex:3})},t.prototype.getHandleSize=function(){var n=this.attributes,r=n.handleIconSize,i=n.width,o=n.height;return r||Math.floor((this.getOrientVal([+o,+i])+4)/2.4)},t.prototype.getOrientVal=function(n){var r=Ae(n,2),i=r[0],o=r[1],a=this.attributes.orientation;return a==="horizontal"?i:o},t.prototype.setValuesOffset=function(n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var o=this.attributes.type,a=Ae(this.getValues(),2),l=a[0],s=a[1],u=o==="range"?n:0,c=[l+u,s+r].sort();i?this.setValues(c):this.innerSetValues(c,!0)},t.prototype.getRatio=function(n){var r=this.availableSpace,i=r.width,o=r.height;return n/this.getOrientVal([i,o])},t.prototype.dispatchCustomEvent=function(n,r,i){var o=this;n.on(r,function(a){a.stopPropagation(),o.dispatchEvent(new vi(i,{detail:a}))})},t.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var n=this.brushArea;this.dispatchCustomEvent(n,"click","trackClick"),this.dispatchCustomEvent(n,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(n,"pointerleave","trackMouseleave"),n.on("pointerdown",this.onDragStart("track"))},t.prototype.onScroll=function(n){var r=this.attributes.scrollable;if(r){var i=n.deltaX,o=n.deltaY,a=o||i,l=this.getRatio(a);this.setValuesOffset(l,l,!0)}},t.tag="slider",t}(Wa),kfn=function(e){$n(t,e);function t(n){var r=e.call(this,n,{isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return r.range=[0,1],r.onValueChange=function(i){var o=r.attributes.value;if(i!==o){var a={detail:{oldValue:i,value:o}};r.dispatchEvent(new vi("scroll",a)),r.dispatchEvent(new vi("valuechange",a))}},r.onTrackClick=function(i){var o=r.attributes.slidable;if(o){var a=Ae(r.getLocalPosition(),2),l=a[0],s=a[1],u=Ae(r.padding,4),c=u[0],f=u[3],h=r.getOrientVal([l+f,s+c]),d=r.getOrientVal(cL(i)),p=(d-h)/r.trackLength;r.setValue(p,!0)}},r.onThumbMouseenter=function(i){r.dispatchEvent(new vi("thumbMouseenter",{detail:i.detail}))},r.onTrackMouseenter=function(i){r.dispatchEvent(new vi("trackMouseenter",{detail:i.detail}))},r.onThumbMouseleave=function(i){r.dispatchEvent(new vi("thumbMouseleave",{detail:i.detail}))},r.onTrackMouseleave=function(i){r.dispatchEvent(new vi("trackMouseleave",{detail:i.detail}))},r}return Object.defineProperty(t.prototype,"padding",{get:function(){var n=this.attributes.padding;return tl(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var n=this.attributes.value,r=Ae(this.range,2),i=r[0],o=r[1];return vo(n,i,o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackLength",{get:function(){var n=this.attributes,r=n.viewportLength,i=n.trackLength,o=i===void 0?r:i;return o},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes.trackSize,r=this.trackLength,i=Ae(this.padding,4),o=i[0],a=i[1],l=i[2],s=i[3],u=Ae(this.getOrientVal([[r,n],[n,r]]),2),c=u[0],f=u[1];return{x:s,y:o,width:+c-(s+a),height:+f-(o+l)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.trackSize;return r?i/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumbRadius",{get:function(){var n=this.attributes,r=n.isRound,i=n.thumbRadius;if(!r)return 0;var o=this.availableSpace,a=o.width,l=o.height;return i||this.getOrientVal([l,a])/2},enumerable:!1,configurable:!0}),t.prototype.getValues=function(n){n===void 0&&(n=this.value);var r=this.attributes,i=r.viewportLength,o=r.contentLength,a=i/o,l=Ae(this.range,2),s=l[0],u=l[1],c=n*(u-s-a);return[c,c+a]},t.prototype.getValue=function(){return this.value},t.prototype.renderSlider=function(n){var r=this.attributes,i=r.orientation,o=r.trackSize,a=r.padding,l=r.slidable,s=Cr(this.attributes,"track"),u=Cr(this.attributes,"thumb"),c=Mt(Mt({brushable:!1,orientation:i,padding:a,selectionRadius:this.thumbRadius,showHandle:!1,slidable:l,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:o,values:this.getValues()},df(s,"track")),df(u,"selection"));this.slider=or(n).maybeAppendByClassName("scrollbar",function(){return new hZe({style:c})}).update(c).node()},t.prototype.render=function(n,r){this.renderSlider(r)},t.prototype.setValue=function(n,r){r===void 0&&(r=!1);var i=this.attributes.value,o=Ae(this.range,2),a=o[0],l=o[1];this.slider.setValues(this.getValues(vo(n,a,l)),r),this.onValueChange(i)},t.prototype.bindEvents=function(){var n=this;this.slider.addEventListener("trackClick",function(r){r.stopPropagation(),n.onTrackClick(r.detail)}),this.onHover()},t.prototype.getOrientVal=function(n){var r=this.attributes.orientation;return r==="horizontal"?n[0]:n[1]},t.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},t.tag="scrollbar",t}(Wa),Ale={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new is({style:{path:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],anchor:"0.5 0.5",fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};Dt({},Ale,{style:{type:"arc"}});Dt({},Ale,{style:{}});var ui=Eu({mainGroup:"main-group",gridGroup:"grid-group",grid:"grid",lineGroup:"line-group",line:"line",tickGroup:"tick-group",tick:"tick",tickItem:"tick-item",labelGroup:"label-group",label:"label",labelItem:"label-item",titleGroup:"title-group",title:"title",lineFirst:"line-first",lineSecond:"line-second"},"axis"),H4=Eu({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function gZe(e){return e.reduce(function(t,n,r){return t.push(Kt([r===0?"M":"L"],Ae(n),!1)),t},[])}function jfn(e,t,n){var r=t.connect,i=r===void 0?"line":r,o=t.center;if(i==="line")return gZe(e);if(!o)return[];var a=z7(e[0],o),l=n?0:1;return e.reduce(function(s,u,c){return c===0?s.push(Kt(["M"],Ae(u),!1)):s.push(Kt(["A",a,a,0,0,l],Ae(u),!1)),s},[])}function JJ(e,t,n){return t.type==="surround"?jfn(e,t,n):gZe(e)}function Dfn(e,t,n){var r=n.type,i=n.connect,o=n.center,a=n.closed,l=a?[["Z"]]:[],s=Ae([JJ(e,n),JJ(t.slice().reverse(),n,!0)],2),u=s[0],c=s[1],f=Ae([e[0],t.slice(-1)[0]],2),h=f[0],d=f[1],p=function(y,b){return[u,y,c,b,l].flat()};if(i==="line"||r==="surround")return p([Kt(["L"],Ae(d),!1)],[Kt(["L"],Ae(h),!1)]);if(!o)throw new Error("Arc grid need to specified center");var g=Ae([z7(d,o),z7(h,o)],2),m=g[0],v=g[1];return p([Kt(["A",m,m,0,0,1],Ae(d),!1),Kt(["L"],Ae(d),!1)],[Kt(["A",v,v,0,0,0],Ae(h),!1),Kt(["L"],Ae(h),!1)])}function Lfn(e,t,n,r){var i=n.animate,o=n.isBillboard,a=t.map(function(l,s){return{id:l.id||"grid-line-".concat(s),path:JJ(l.points,n)}});return e.selectAll(H4.line.class).data(a,function(l){return l.id}).join(function(l){return l.append("path").each(function(s,u){var c=bu(aEe(Mt({path:s.path},r)),[s,u,a]);this.attr(Mt({class:H4.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:o},c))})},function(l){return l.transition(function(s,u){var c=bu(aEe(Mt({path:s.path},r)),[s,u,a]);return Sd(this,c,i.update)})},function(l){return l.transition(function(){var s=this,u=bH(this,i.exit);return HC(u,function(){return s.remove()}),u})}).transitions()}function zfn(e,t,n){var r=n.animate,i=n.connect,o=n.areaFill;if(t.length<2||!o||!i)return[];for(var a=Array.isArray(o)?o:[o,"transparent"],l=function(p){return a[p%a.length]},s=[],u=0;u180?1:0,O=e>t?0:1;return"M".concat(p,",").concat(g,",A").concat(l,",").concat(s,",0,").concat(w,",").concat(O,",").concat(v,",").concat(y)}function qfn(e){var t=e.attributes,n=t.startAngle,r=t.endAngle,i=t.center,o=t.radius;return Kt(Kt([n,r],Ae(i),!1),[o],!1)}function Vfn(e,t,n,r){var i=t.startAngle,o=t.endAngle,a=t.center,l=t.radius;return e.selectAll(ui.line.class).data([{path:fEe.apply(void 0,Kt(Kt([i,o],Ae(a),!1),[l],!1))}],function(s,u){return u}).join(function(s){return s.append("path").attr("className",ui.line.name).styles(t).styles({path:function(u){return u.path}})},function(s){return s.transition(function(){var u=this,c=kdn(this,qfn(this),Kt(Kt([i,o],Ae(a),!1),[l],!1),r.update);if(c){var f=function(){var h=Li(u.attributes,"__keyframe_data__");u.style.path=fEe.apply(void 0,Kt([],Ae(h),!1))};c.onframe=f,c.onfinish=f}return c}).styles(t)},function(s){return s.remove()}).styles(n).transitions()}function Ufn(e,t){t.truncRange,t.truncShape,t.lineExtension}function Gfn(e,t,n){n===void 0&&(n=[0,0]);var r=Ae([e,t,n],3),i=Ae(r[0],2),o=i[0],a=i[1],l=Ae(r[1],2),s=l[0],u=l[1],c=Ae(r[2],2),f=c[0],h=c[1],d=Ae([s-o,u-a],2),p=d[0],g=d[1],m=Math.sqrt(Math.pow(p,2)+Math.pow(g,2)),v=Ae([-f/m,h/m],2),y=v[0],b=v[1];return[y*p,y*g,b*p,b*g]}function pEe(e){var t=Ae(e,2),n=Ae(t[0],2),r=n[0],i=n[1],o=Ae(t[1],2),a=o[0],l=o[1];return{x1:r,y1:i,x2:a,y2:l}}function Kfn(e,t,n,r){var i=t.showTrunc,o=t.startPos,a=t.endPos,l=t.truncRange,s=t.lineExtension,u=Ae([o,a],2),c=Ae(u[0],2),f=c[0],h=c[1],d=Ae(u[1],2),p=d[0],g=d[1],m=Ae(s?Gfn(o,a,s):new Array(4).fill(0),4),v=m[0],y=m[1],b=m[2],C=m[3],x=function(L){return e.selectAll(ui.line.class).data(L,function(B,k){return k}).join(function(B){return B.append("line").attr("className",function(k){return"".concat(ui.line.name," ").concat(k.className)}).styles(n).transition(function(k){return Sd(this,pEe(k.line),!1)})},function(B){return B.styles(n).transition(function(k){var z=k.line;return Sd(this,pEe(z),r.update)})},function(B){return B.remove()}).transitions()};if(!i||!l)return x([{line:[[f+v,h+y],[p+b,g+C]],className:ui.line.name}]);var S=Ae(l,2),w=S[0],O=S[1],$=p-f,P=g-h,T=Ae([f+$*w,h+P*w],2),R=T[0],M=T[1],A=Ae([f+$*O,h+P*O],2),N=A[0],j=A[1],D=x([{line:[[f+v,h+y],[R,M]],className:ui.lineFirst.name},{line:[[N,j],[p+b,g+C]],className:ui.lineSecond.name}]);return Ufn(e,t),D}function Xfn(e,t,n,r){var i=n.showArrow,o=n.showTrunc,a=n.lineArrow,l=n.lineArrowOffset,s=n.lineArrowSize,u;if(t==="arc"?u=e.select(ui.line.class):o?u=e.select(ui.lineSecond.class):u=e.select(ui.line.class),!i||!a||n.type==="arc"&&CZe(n.startAngle,n.endAngle)){var c=u.node();c&&(c.style.markerEnd=void 0);return}var f=xy(a);f.attr(r),Rle(f,s,!0),u.style("markerEnd",f).style("markerEndOffset",-l)}function Yfn(e,t,n){var r=t.type,i,o=Cr(t,"line");return r==="linear"?i=Kfn(e,t,oEe(o,"arrow"),n):i=Vfn(e,t,oEe(o,"arrow"),n),Xfn(e,r,t,o),i}function Zfn(e,t){return jle(e,t.gridDirection,t)}function SZe(e){var t=e.type,n=e.gridCenter;return t==="linear"?n:n||e.center}function Qfn(e,t){var n=t.gridLength;return e.map(function(r,i){var o=r.value,a=Ae(SH(o,t),2),l=a[0],s=a[1],u=Ae(Hp(Zfn(o,t),n),2),c=u[0],f=u[1];return{id:i,points:[[l,s],[l+c,s+f]]}})}function Jfn(e,t){var n=t.gridControlAngles,r=SZe(t);if(!r)throw new Error("grid center is not provide");if(e.length<2)throw new Error("Invalid grid data");if(!n||n.length===0)throw new Error("Invalid gridControlAngles");var i=Ae(r,2),o=i[0],a=i[1];return e.map(function(l,s){var u=l.value,c=Ae(SH(u,t),2),f=c[0],h=c[1],d=Ae([f-o,h-a],2),p=d[0],g=d[1],m=[];return n.forEach(function(v){var y=F4(v),b=Ae([Math.cos(y),Math.sin(y)],2),C=b[0],x=b[1],S=p*C-g*x+o,w=p*x+g*C+a;m.push([S,w])}),{points:m,id:s}})}function epn(e,t,n,r){var i=Cr(n,"grid"),o=i.type,a=i.areaFill,l=SZe(n),s=kle(t,n.gridFilter),u=o==="segment"?Qfn(s,n):Jfn(s,n),c=Mt(Mt({},i),{center:l,areaFill:rs(a)?s.map(function(f,h){return bu(a,[f,h,s])}):a,animate:r,data:u});return e.selectAll(ui.grid.class).data([1]).join(function(f){return f.append(function(){return new Ffn({style:c})}).attr("className",ui.grid.name)},function(f){return f.transition(function(){return this.update(c)})},function(f){return f.remove()}).transitions()}var eee=function(){function e(t,n,r,i){this.set(t,n,r,i)}return Object.defineProperty(e.prototype,"left",{get:function(){return this.x1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.y1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.y2},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.defined("x2")&&this.defined("x1")?this.x2-this.x1:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.defined("y2")&&this.defined("y1")?this.y2-this.y1:void 0},enumerable:!1,configurable:!0}),e.prototype.rotatedPoints=function(t,n,r){var i=this,o=i.x1,a=i.y1,l=i.x2,s=i.y2,u=Math.cos(t),c=Math.sin(t),f=n-n*u+r*c,h=r-n*c-r*u,d=[[u*o-c*s+f,c*o+u*s+h],[u*l-c*s+f,c*l+u*s+h],[u*o-c*a+f,c*o+u*a+h],[u*l-c*a+f,c*l+u*a+h]];return d},e.prototype.set=function(t,n,r,i){return r0,y=r-s,b=i-u,C=h*b-d*y;if(C<0===v)return!1;var x=p*b-g*y;return!(x<0===v||C>m===v||x>m===v)}function apn(e,t){var n=[[e[0],e[1],e[2],e[3]],[e[2],e[3],e[4],e[5]],[e[4],e[5],e[6],e[7]],[e[6],e[7],e[0],e[1]]];return n.some(function(r){return opn(t,r)})}function lpn(e,t,n){var r,i,o=tee(e,n).flat(1),a=tee(t,n).flat(1),l=[[o[0],o[1],o[2],o[3]],[o[0],o[1],o[4],o[5]],[o[4],o[5],o[6],o[7]],[o[2],o[3],o[6],o[7]]];try{for(var s=ac(l),u=s.next();!u.done;u=s.next()){var c=u.value;if(apn(a,c))return!0}}catch(f){r={error:f}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return!1}function spn(e,t){var n=e.type,r=e.labelDirection,i=e.crossSize;if(!i)return!1;if(n==="arc"){var o=e.center,a=e.radius,l=Ae(o,2),s=l[0],u=l[1],c=r==="negative"?0:i,f=-a-c,h=a+c,d=Ae(tl(t),4),p=d[0],g=d[1],m=d[2],v=d[3];return new eee(s+f-v,u+f-p,s+h+g,u+h+m)}var y=Ae(e.startPos,2),b=y[0],C=y[1],x=Ae(e.endPos,2),S=x[0],w=x[1],O=Ae(bZe(e)?[-t,0,t,0]:[0,t,0,-t],4),$=O[0],P=O[1],T=O[2],R=O[3],M=zP(0,e),A=Hp(M,i),N=new eee(b,C,S,w);return N.x1+=R,N.y1+=$,N.x2+=P+A[0],N.y2+=T+A[1],N}function xH(e,t,n){var r,i,o=t.crossPadding,a=new Set,l=null,s=spn(t,o),u=function(p){return s?ipn(s,p):!0},c=function(p,g){return p?!lpn(p,g,tl(n)):!0};try{for(var f=ac(e),h=f.next();!h.done;h=f.next()){var d=h.value;u(d)?!l||c(l,d)?l=d:(a.add(l),a.add(d)):a.add(d)}}catch(p){r={error:p}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}return Array.from(a)}function DK(e,t){return t===void 0&&(t={}),Cn(e)?0:typeof e=="number"?e:Math.floor(Tdn(e,t))}function cpn(e,t,n,r){if(!(e.length<=1)){var i=t.suffix,o=i===void 0?"...":i,a=t.minLength,l=t.maxLength,s=l===void 0?1/0:l,u=t.step,c=u===void 0?" ":u,f=t.margin,h=f===void 0?[0,0,0,0]:f,d=tZe(r.getTextShape(e[0])),p=DK(c,d),g=a?DK(a,d):p,m=DK(s,d);(Cn(m)||m===1/0)&&(m=Math.max.apply(null,e.map(function(S){return Dle(S).width})));var v=e.slice(),y=Ae(h,4);y[0],y[1],y[2],y[3];for(var b=function(S){if(v.forEach(function(w){r.ellipsis(r.getTextShape(w),S,o)}),v=xH(e,n,h),v.length<1)return{value:void 0}},C=m;C>g+p;C-=p){var x=b(C);if(typeof x=="object")return x.value}}}var upn={parity:function(e,t){var n=t.seq,r=n===void 0?2:n;return e.filter(function(i,o){return o%r?(F0(i),!1):!0})}},dpn=function(e){return e.filter(eZe)};function fpn(e,t,n,r){var i=e.length,o=t.keepHeader,a=t.keepTail;if(!(i<=1||i===2&&o&&a)){var l=upn.parity,s=function(b){return b.forEach(r.show),b},u=2,c=e.slice(),f=e.slice(),h=Math.min.apply(Math,Kt([1],Ae(e.map(function(b){return Dle(b).width})),!1));if(n.type==="linear"&&(yZe(n)||bZe(n))){var d=lEe(e[0]).left,p=lEe(e[i-1]).right,g=Math.abs(p-d)||1;u=Math.max(Math.floor(i*h/g),u)}var m,v;for(o&&(m=c.splice(0,1)[0]),a&&(v=c.splice(-1,1)[0],c.reverse()),s(c);ul)){for(var v=d;v<=l;v++)if(m(v),p())return;u&&m(h)}}var mpn=new Map([["hide",fpn],["rotate",ppn],["ellipsis",cpn],["wrap",gpn]]);function vpn(e,t,n){return t.labelOverlap.length<1?!1:n==="hide"?!$dn(e[0]):n==="rotate"?!e.some(function(r){var i;return!!(!((i=r.attr("transform"))===null||i===void 0)&&i.includes("rotate"))}):n==="ellipsis"||n==="wrap"?e.filter(function(r){return r.querySelector("text")}).length>1:!0}function ypn(e,t,n){var r=t.labelOverlap,i=r===void 0?[]:r;i.length&&i.forEach(function(o){var a=o.type,l=mpn.get(a);vpn(e,t,a)&&(l==null||l(e,o,t,n))})}function bpn(){for(var e=[],t=0;t2?[e[0]]:e.split("")}function Mpn(e,t){var n=e.attributes,r=n.position,i=n.spacing,o=n.inset,a=n.text,l=e.getBBox(),s=t.getBBox(),u=_H(r),c=Ae(tl(a?i:0),4),f=c[0],h=c[1],d=c[2],p=c[3],g=Ae(tl(o),4),m=g[0],v=g[1],y=g[2],b=g[3],C=Ae([p+h,f+d],2),x=C[0],S=C[1],w=Ae([b+v,m+y],2),O=w[0],$=w[1];if(u[0]==="l")return new Yi(l.x,l.y,s.width+l.width+x+O,Math.max(s.height+$,l.height));if(u[0]==="t")return new Yi(l.x,l.y,Math.max(s.width+O,l.width),s.height+l.height+S+$);var P=Ae([t.attributes.width||s.width,t.attributes.height||s.height],2),T=P[0],R=P[1];return new Yi(s.x,s.y,T+l.width+x+O,R+l.height+S+$)}function Rpn(e,t){var n=Object.entries(t).reduce(function(r,i){var o=Ae(i,2),a=o[0],l=o[1],s=e.node().attr(a);return s||(r[a]=l),r},{});e.styles(n)}function Ipn(e){var t,n,r,i,o=e,a=o.width,l=o.height,s=o.position,u=Ae([+a/2,+l/2],2),c=u[0],f=u[1],h=Ae([+c,+f,"center","middle"],4),d=h[0],p=h[1],g=h[2],m=h[3],v=_H(s);return v.includes("l")&&(t=Ae([0,"start"],2),d=t[0],g=t[1]),v.includes("r")&&(n=Ae([+a,"end"],2),d=n[0],g=n[1]),v.includes("t")&&(r=Ae([0,"top"],2),p=r[0],m=r[1]),v.includes("b")&&(i=Ae([+l,"bottom"],2),p=i[0],m=i[1]),{x:d,y:p,textAlign:g,textBaseline:m}}var OZe=function(e){$n(t,e);function t(n){return e.call(this,n,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return t.prototype.getAvailableSpace=function(){var n=this,r=this.attributes,i=r.width,o=r.height,a=r.position,l=r.spacing,s=r.inset,u=n.querySelector(bEe.text.class);if(!u)return new Yi(0,0,+i,+o);var c=u.getBBox(),f=c.width,h=c.height,d=Ae(tl(l),4),p=d[0],g=d[1],m=d[2],v=d[3],y=Ae([0,0,+i,+o],4),b=y[0],C=y[1],x=y[2],S=y[3],w=_H(a);if(w.includes("i"))return new Yi(b,C,x,S);w.forEach(function(j,D){var L,B,k,z;j==="t"&&(L=Ae(D===0?[h+m,+o-h-m]:[0,+o],2),C=L[0],S=L[1]),j==="r"&&(B=Ae([+i-f-v],1),x=B[0]),j==="b"&&(k=Ae([+o-h-p],1),S=k[0]),j==="l"&&(z=Ae(D===0?[f+g,+i-f-g]:[0,+i],2),b=z[0],x=z[1])});var O=Ae(tl(s),4),$=O[0],P=O[1],T=O[2],R=O[3],M=Ae([R+P,$+T],2),A=M[0],N=M[1];return new Yi(b+R,C+$,x-A,S-N)},t.prototype.getBBox=function(){return this.title?this.title.getBBox():new Yi(0,0,0,0)},t.prototype.render=function(n,r){var i=this;n.width,n.height,n.position,n.spacing;var o=Ci(n,["width","height","position","spacing"]),a=Ae(wh(o),1),l=a[0],s=Ipn(n),u=s.x,c=s.y,f=s.textAlign,h=s.textBaseline;Is(!!o.text,or(r),function(d){i.title=d.maybeAppendByClassName(bEe.text,"text").styles(l).call(Rpn,{x:u,y:c,textAlign:f,textBaseline:h}).node()})},t}(Wa);function Npn(e,t,n){var r=n.titlePosition,i=r===void 0?"lb":r,o=n.titleSpacing,a=_H(i),l=e.node().getLocalBounds(),s=Ae(l.min,2),u=s[0],c=s[1],f=Ae(l.halfExtents,2),h=f[0],d=f[1],p=Ae(t.node().getLocalBounds().halfExtents,2),g=p[0],m=p[1],v=Ae([u+h,c+d],2),y=v[0],b=v[1],C=Ae(tl(o),4),x=C[0],S=C[1],w=C[2],O=C[3];if(["start","end"].includes(i)&&n.type==="linear"){var $=n.startPos,P=n.endPos,T=Ae(i==="start"?[$,P]:[P,$],2),R=T[0],M=T[1],A=iZe([-M[0]+R[0],-M[1]+R[1]]),N=Ae(Hp(A,x),2),j=N[0],D=N[1];return{x:R[0]+j,y:R[1]+D}}return a.includes("t")&&(b-=d+m+x),a.includes("r")&&(y+=h+g+S),a.includes("l")&&(y-=h+g*2+O),a.includes("b")&&(b+=d+m*2+w),{x:y,y:b}}function Apn(e,t,n){var r=e.cloneNode(!0);r.style.transform="scale(1, 1)",r.style.transform="none";var i=r.getBBox().height;if(t==="vertical"){if(n==="left")return"rotate(-90) translate(0, ".concat(i/2,")");if(n==="right")return"rotate(-90) translate(0, -".concat(i/2,")")}return""}function CEe(e,t,n,r,i){var o=Cr(r,"title"),a=Ae(wh(o),2),l=a[0],s=a[1],u=s.transform,c=Ci(s,["transform"]);e.styles(l),t.styles(c);var f=u||Apn(e.node(),l.direction,l.position);uL(e.node(),f);var h=Npn(or(n._offscreen||n.querySelector(ui.mainGroup.class)),t,r),d=h.x,p=h.y,g=Sd(t.node(),{x:d,y:p},i);return uL(e.node(),f),g}function kpn(e,t,n,r){var i=n.titleText;return e.selectAll(ui.title.class).data([{title:i}].filter(function(o){return!!o.title}),function(o,a){return o.title}).join(function(o){return o.append(function(){return xy(i)}).attr("className",ui.title.name).transition(function(){return CEe(or(this),e,t,n,r.enter)})},function(o){return o.transition(function(){return CEe(or(this),e,t,n,r.update)})},function(o){return o.remove()}).transitions()}function SEe(e,t,n,r){var i=e.showLine,o=e.showTick,a=e.showLabel,l=t.maybeAppendByClassName(ui.lineGroup,"g"),s=Is(i,l,function(d){return Yfn(d,e,r)})||[],u=t.maybeAppendByClassName(ui.tickGroup,"g"),c=Is(o,u,function(d){return Tpn(d,n,e,r)})||[],f=t.maybeAppendByClassName(ui.labelGroup,"g"),h=Is(a,f,function(d){return wpn(d,n,e,r)})||[];return Kt(Kt(Kt([],Ae(s),!1),Ae(c),!1),Ae(h),!1).filter(function(d){return!!d})}var Lle=function(e){$n(t,e);function t(n){return e.call(this,n,Ale)||this}return t.prototype.render=function(n,r,i){var o=this,a=n.titleText,l=n.data,s=n.animate,u=n.showTitle,c=n.showGrid,f=n.dataThreshold,h=n.truncRange,d=qdn(l,f).filter(function(x){var S=x.value;return!(h&&S>h[0]&&S1?{width:55,height:0}:{width:0,height:0}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageShape",{get:function(){var n=this.pageViews,r=Ae(tfn(n.map(function(f){var h=f.getBBox(),d=h.width,p=h.height;return[d,p]})).map(function(f){return Math.max.apply(Math,Kt([],Ae(f),!1))}),2),i=r[0],o=r[1],a=this.attributes,l=a.pageWidth,s=l===void 0?i:l,u=a.pageHeight,c=u===void 0?o:u;return{pageWidth:s,pageHeight:c}},enumerable:!1,configurable:!0}),t.prototype.getContainer=function(){return this.playWindow},Object.defineProperty(t.prototype,"totalPages",{get:function(){return this.pageViews.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currPage",{get:function(){return this.innerCurrPage},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=e.prototype.getBBox.call(this),r=n.x,i=n.y,o=this.controllerShape,a=this.pageShape,l=a.pageWidth,s=a.pageHeight;return new Yi(r,i,l+o.width,s)},t.prototype.goTo=function(n){var r=this,i=this.attributes.animate,o=this,a=o.currPage,l=o.playState,s=o.playWindow,u=o.pageViews;if(l!=="idle"||n<0||u.length<=0||n>=u.length)return null;u[a].setLocalPosition(0,0),this.prepareFollowingPage(n);var c=Ae(this.getFollowingPageDiff(n),2),f=c[0],h=c[1];this.playState="running";var d=cZe(s,[{transform:"translate(0, 0)"},{transform:"translate(".concat(-f,", ").concat(-h,")")}],i);return HC(d,function(){r.innerCurrPage=n,r.playState="idle",r.setVisiblePages([n]),r.updatePageInfo()}),d},t.prototype.prev=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i<=0)return null;var o=n?(i-1+r)%r:vo(i-1,0,r);return this.goTo(o)},t.prototype.next=function(){var n=this.attributes.loop,r=this.pageViews.length,i=this.currPage;if(!n&&i>=r-1)return null;var o=n?(i+1)%r:vo(i+1,0,r);return this.goTo(o)},t.prototype.renderClipPath=function(n){var r=this.pageShape,i=r.pageWidth,o=r.pageHeight;if(!i||!o){this.contentGroup.style.clipPath=void 0;return}this.clipPath=n.maybeAppendByClassName(qc.clipPath,"rect").styles({width:i,height:o}),this.contentGroup.attr("clipPath",this.clipPath.node())},t.prototype.setVisiblePages=function(n){this.playWindow.children.forEach(function(r,i){n.includes(i)?LP(r):F0(r)})},t.prototype.adjustControllerLayout=function(){var n=this,r=n.prevBtnGroup,i=n.nextBtnGroup,o=n.pageInfoGroup,a=this.attributes,l=a.orientation,s=a.controllerPadding,u=o.getBBox(),c=u.width;u.height;var f=Ae(l==="horizontal"?[-180,0]:[-90,90],2),h=f[0],d=f[1];r.setLocalEulerAngles(h),i.setLocalEulerAngles(d);var p=r.getBBox(),g=p.width,m=p.height,v=i.getBBox(),y=v.width,b=v.height,C=Math.max(g,c,y),x=l==="horizontal"?{offset:[[0,0],[g/2+s,0],[g+c+s*2,0]],textAlign:"start"}:{offset:[[C/2,-m-s],[C/2,0],[C/2,b+s]],textAlign:"center"},S=Ae(x.offset,3),w=Ae(S[0],2),O=w[0],$=w[1],P=Ae(S[1],2),T=P[0],R=P[1],M=Ae(S[2],2),A=M[0],N=M[1],j=x.textAlign,D=o.querySelector("text");D&&(D.style.textAlign=j),r.setLocalPosition(O,$),o.setLocalPosition(T,R),i.setLocalPosition(A,N)},t.prototype.updatePageInfo=function(){var n,r=this,i=r.currPage,o=r.pageViews,a=r.attributes.formatter;o.length<2||((n=this.pageInfoGroup.querySelector(qc.pageInfo.class))===null||n===void 0||n.attr("text",a(i+1,o.length)),this.adjustControllerLayout())},t.prototype.getFollowingPageDiff=function(n){var r=this.currPage;if(r===n)return[0,0];var i=this.attributes.orientation,o=this.pageShape,a=o.pageWidth,l=o.pageHeight,s=n=2,u=n.maybeAppendByClassName(qc.controller,"g");if(yH(u.node(),s),!!s){var c=Cr(this.attributes,"button"),f=Cr(this.attributes,"pageNum"),h=Ae(wh(c),2),d=h[0],p=h[1],g=d.size,m=Ci(d,["size"]),v=!u.select(qc.prevBtnGroup.class).node(),y=u.maybeAppendByClassName(qc.prevBtnGroup,"g").styles(p);this.prevBtnGroup=y.node();var b=y.maybeAppendByClassName(qc.prevBtn,"path"),C=u.maybeAppendByClassName(qc.nextBtnGroup,"g").styles(p);this.nextBtnGroup=C.node();var x=C.maybeAppendByClassName(qc.nextBtn,"path");[b,x].forEach(function(w){w.styles(Mt(Mt({},m),{transformOrigin:"center"})),Rle(w.node(),g,!0)});var S=u.maybeAppendByClassName(qc.pageInfoGroup,"g");this.pageInfoGroup=S.node(),S.maybeAppendByClassName(qc.pageInfo,"text").styles(f),this.updatePageInfo(),u.node().setLocalPosition(a+i,l/2),v&&(this.prevBtnGroup.addEventListener("click",function(){r.prev()}),this.nextBtnGroup.addEventListener("click",function(){r.next()}))}},t.prototype.render=function(n,r){var i=or(r);this.renderClipPath(i),this.renderController(i),this.setVisiblePages([this.defaultPage]),this.goTo(this.defaultPage)},t.prototype.bindEvents=function(){var n=this,r=zUe(function(){return n.render(n.attributes,n)},50);this.playWindow.addEventListener(pr.INSERTED,r),this.playWindow.addEventListener(pr.REMOVED,r)},t}(Wa);function Dpn(e,t,n){var r=Math.round((e-n)/t);return n+r*t}function Lpn(e,t,n){var r=1.4,i=r*n;return[["M",e-n,t-i],["L",e+n,t-i],["L",e+n,t+i],["L",e-n,t+i],["Z"]]}var EZe=1.4,$Ze=.4;function zpn(e,t,n){var r=n,i=r*EZe,o=r/2,a=r/6,l=e+i*$Ze;return[["M",e,t],["L",l,t+o],["L",e+i,t+o],["L",e+i,t-o],["L",l,t-o],["Z"],["M",l,t+a],["L",e+i-2,t+a],["M",l,t-a],["L",e+i-2,t-a]]}function Bpn(e,t,n){var r=n,i=r*EZe,o=r/2,a=r/6,l=t+i*$Ze;return[["M",e,t],["L",e-o,l],["L",e-o,t+i],["L",e+o,t+i],["L",e+o,l],["Z"],["M",e-a,l],["L",e-a,t+i-2],["M",e+a,l],["L",e+a,t+i-2]]}Si.registerSymbol("hiddenHandle",Lpn);Si.registerSymbol("verticalHandle",zpn);Si.registerSymbol("horizontalHandle",Bpn);function Fpn(e,t,n,r){var i,o=Ae(e,2),a=o[0],l=o[1],s=Ae(t,2),u=s[0],c=s[1],f=Ae(n,2),h=f[0],d=f[1],p=Ae([u,c],2),g=p[0],m=p[1],v=m-g;return g>m&&(i=Ae([m,g],2),g=i[0],m=i[1]),v>l-a?[a,l]:gl?d===l&&h===g?[g,l]:[l-v,l]:[g,m]}function Cf(e,t,n){return e===void 0&&(e="horizontal"),e==="horizontal"?t:n}var Zs=Eu({layout:"flex",markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label",valueGroup:"value-group",value:"value",backgroundGroup:"background-group",background:"background"},"legend-category-item");function Hpn(e){var t=e.querySelector(Zs.marker.class);return t?t.style:{}}var Wpn=function(e){$n(t,e);function t(n){return e.call(this,n,{span:[1,1],marker:function(){return new AP({style:{r:6}})},markerSize:10,labelFill:"#646464",valueFill:"#646464",labelFontSize:12,valueFontSize:12,labelTextBaseline:"middle",valueTextBaseline:"middle"})||this}return Object.defineProperty(t.prototype,"showValue",{get:function(){var n=this.attributes.valueText;return n?typeof n=="string"||typeof n=="number"?n!=="":typeof n=="function"?!0:n.attr("text")!=="":!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actualSpace",{get:function(){var n=this.labelGroup,r=this.valueGroup,i=this.attributes.markerSize,o=n.node().getBBox(),a=o.width,l=o.height,s=r.node().getBBox(),u=s.width,c=s.height;return{markerWidth:i,labelWidth:a,valueWidth:u,height:Math.max(i,l,c)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"span",{get:function(){var n=this.attributes.span;if(!n)return[1,1];var r=Ae(tl(n),2),i=r[0],o=r[1],a=this.showValue?o:0,l=i+a;return[i/l,a/l]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var n,r=this.attributes,i=r.markerSize,o=r.width,a=this.actualSpace,l=a.markerWidth,s=a.height,u=this.actualSpace,c=u.labelWidth,f=u.valueWidth,h=Ae(this.spacing,2),d=h[0],p=h[1];if(o){var g=o-i-d-p,m=Ae(this.span,2),v=m[0],y=m[1];n=Ae([v*g,y*g],2),c=n[0],f=n[1]}var b=l+c+f+d+p;return{width:b,height:s,markerWidth:l,labelWidth:c,valueWidth:f}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){var n=this.attributes.spacing;if(!n)return[0,0];var r=Ae(tl(n),2),i=r[0],o=r[1];return this.showValue?[i,o]:[i,0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"layout",{get:function(){var n=this.shape,r=n.markerWidth,i=n.labelWidth,o=n.valueWidth,a=n.width,l=n.height,s=Ae(this.spacing,2),u=s[0],c=s[1];return{height:l,width:a,markerWidth:r,labelWidth:i,valueWidth:o,position:[r/2,r+u,r+i+u+c]}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scaleSize",{get:function(){var n=Hpn(this.markerGroup.node()),r=this.attributes,i=r.markerSize,o=r.markerStrokeWidth,a=o===void 0?n.strokeWidth:o,l=r.markerLineWidth,s=l===void 0?n.lineWidth:l,u=r.markerStroke,c=u===void 0?n.stroke:u,f=+(a||s||(c?1:0))*Math.sqrt(2),h=this.markerGroup.node().getBBox(),d=h.width,p=h.height;return(1-f/Math.max(d,p))*i},enumerable:!1,configurable:!0}),t.prototype.renderMarker=function(n){var r=this,i=this.attributes.marker,o=Cr(this.attributes,"marker");this.markerGroup=n.maybeAppendByClassName(Zs.markerGroup,"g").style("zIndex",0),Is(!!i,this.markerGroup,function(){var a=r.markerGroup.node(),l=a.getElementsByClassName(Zs.marker.name)[0],s=i();l?s.nodeName===l.nodeName?(Ydn(l,s),or(l).styles(o)):(l.remove(),or(s).attr("className",Zs.marker.name).styles(o),a.appendChild(s)):(or(s).attr("className",Zs.marker.name).styles(o),a.appendChild(s)),r.markerGroup.node().scale(1/r.markerGroup.node().getScale()[0]),Rle(r.markerGroup.node(),r.scaleSize,!0)})},t.prototype.renderLabel=function(n){var r=Cr(this.attributes,"label"),i=r.text,o=Ci(r,["text"]);this.labelGroup=n.maybeAppendByClassName(Zs.labelGroup,"g").style("zIndex",0),this.labelGroup.maybeAppendByClassName(Zs.label,function(){return xy(i)}).styles(o)},t.prototype.renderValue=function(n){var r=this,i=Cr(this.attributes,"value"),o=i.text,a=Ci(i,["text"]);this.valueGroup=n.maybeAppendByClassName(Zs.valueGroup,"g").style("zIndex",0),Is(this.showValue,this.valueGroup,function(){r.valueGroup.maybeAppendByClassName(Zs.value,function(){return xy(o)}).styles(a)})},t.prototype.renderBackground=function(n){var r=this.shape,i=r.width,o=r.height,a=Cr(this.attributes,"background");this.background=n.maybeAppendByClassName(Zs.backgroundGroup,"g").style("zIndex",-1),this.background.maybeAppendByClassName(Zs.background,"rect").styles(Mt({width:i,height:o},a))},t.prototype.adjustLayout=function(){var n=this.layout,r=n.labelWidth,i=n.valueWidth,o=n.height,a=Ae(n.position,3),l=a[0],s=a[1],u=a[2],c=o/2;this.markerGroup.styles({x:l,y:c}),this.labelGroup.styles({x:s,y:c}),ZJ(this.labelGroup.select(Zs.label.class).node(),Math.ceil(r)),this.showValue&&(this.valueGroup.styles({x:u,y:c}),ZJ(this.valueGroup.select(Zs.value.class).node(),Math.ceil(i)))},t.prototype.render=function(n,r){var i=or(r);this.renderMarker(i),this.renderLabel(i),this.renderValue(i),this.renderBackground(i),this.adjustLayout()},t}(Wa),Gm=Eu({page:"item-page",navigator:"navigator",item:"item"},"items"),xEe=function(e,t,n){return n===void 0&&(n=!0),e?t(e):n},qpn=function(e){$n(t,e);function t(n){var r=e.call(this,n,{data:[],gridRow:1/0,gridCol:void 0,padding:0,width:1e3,height:100,rowPadding:0,colPadding:0,layout:"flex",orientation:"horizontal",click:cK,mouseenter:cK,mouseleave:cK})||this;return r.navigatorShape=[0,0],r}return Object.defineProperty(t.prototype,"pageViews",{get:function(){return this.navigator.getContainer()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"grid",{get:function(){var n=this.attributes,r=n.gridRow,i=n.gridCol,o=n.data;if(!r&&!i)throw new Error("gridRow and gridCol can not be set null at the same time");return r&&i?[r,i]:r?[r,o.length]:[o.length,i]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"renderData",{get:function(){var n=this.attributes,r=n.data,i=n.layout,o=Cr(this.attributes,"item"),a=r.map(function(l,s){var u=l.id,c=u===void 0?s:u,f=l.label,h=l.value;return{id:"".concat(c),index:s,style:Mt({layout:i,labelText:f,valueText:h},Object.fromEntries(Object.entries(o).map(function(d){var p=Ae(d,2),g=p[0],m=p[1];return[g,bu(m,[l,s,r])]})))}});return a},enumerable:!1,configurable:!0}),t.prototype.getGridLayout=function(){var n=this,r=this.attributes,i=r.orientation,o=r.width,a=r.rowPadding,l=r.colPadding,s=Ae(this.navigatorShape,1),u=s[0],c=Ae(this.grid,2),f=c[0],h=c[1],d=h*f,p=0;return this.pageViews.children.map(function(g,m){var v,y,b=Math.floor(m/d),C=m%d,x=n.ifHorizontal(h,f),S=[Math.floor(C/x),C%x];i==="vertical"&&S.reverse();var w=Ae(S,2),O=w[0],$=w[1],P=(o-u-(h-1)*l)/h,T=g.getBBox().height,R=Ae([0,0],2),M=R[0],A=R[1];return i==="horizontal"?(v=Ae([p,O*(T+a)],2),M=v[0],A=v[1],p=$===h-1?0:p+P+l):(y=Ae([$*(P+l),p],2),M=y[0],A=y[1],p=O===f-1?0:p+T+a),{page:b,index:m,row:O,col:$,pageIndex:C,width:P,height:T,x:M,y:A}})},t.prototype.getFlexLayout=function(){var n=this.attributes,r=n.width,i=n.height,o=n.rowPadding,a=n.colPadding,l=Ae(this.navigatorShape,1),s=l[0],u=Ae(this.grid,2),c=u[0],f=u[1],h=Ae([r-s,i],2),d=h[0],p=h[1],g=Ae([0,0,0,0,0,0,0,0],8),m=g[0],v=g[1],y=g[2],b=g[3],C=g[4],x=g[5],S=g[6],w=g[7];return this.pageViews.children.map(function(O,$){var P,T,R,M,A=O.getBBox(),N=A.width,j=A.height,D=S===0?0:a,L=S+D+N;if(L<=d&&xEe(C,function(k){return k0?(this.navigatorShape=[55,0],n.call(this)):r},enumerable:!1,configurable:!0}),t.prototype.ifHorizontal=function(n,r){var i=this.attributes.orientation;return Cf(i,n,r)},t.prototype.flattenPage=function(n){n.querySelectorAll(Gm.item.class).forEach(function(r){n.appendChild(r)}),n.querySelectorAll(Gm.page.class).forEach(function(r){var i=n.removeChild(r);i.destroy()})},t.prototype.renderItems=function(n){var r=this.attributes,i=r.click,o=r.mouseenter,a=r.mouseleave;this.flattenPage(n);var l=this.dispatchCustomEvent.bind(this);or(n).selectAll(Gm.item.class).data(this.renderData,function(s){return s.id}).join(function(s){return s.append(function(u){var c=u.style;return new Wpn({style:c})}).attr("className",Gm.item.name).on("click",function(){i==null||i(this),l("itemClick",{item:this})}).on("pointerenter",function(){o==null||o(this),l("itemMouseenter",{item:this})}).on("pointerleave",function(){a==null||a(this),l("itemMouseleave",{item:this})})},function(s){return s.each(function(u){var c=u.style;this.update(c)})},function(s){return s.remove()})},t.prototype.relayoutNavigator=function(){var n,r=this.attributes,i=r.layout,o=r.width,a=((n=this.pageViews.children[0])===null||n===void 0?void 0:n.getBBox().height)||0,l=Ae(this.navigatorShape,2),s=l[0],u=l[1];this.navigator.update(i==="grid"?{pageWidth:o-s,pageHeight:a-u}:{})},t.prototype.adjustLayout=function(){var n=this,r=Object.entries(Rdn(this.itemsLayout,"page")).map(function(o){var a=Ae(o,2),l=a[0],s=a[1];return{page:l,layouts:s}}),i=Kt([],Ae(this.navigator.getContainer().children),!1);r.forEach(function(o){var a=o.layouts,l=n.pageViews.appendChild(new Ha({className:Gm.page.name}));a.forEach(function(s){var u=s.x,c=s.y,f=s.index,h=s.width,d=s.height,p=i[f];l.appendChild(p),pnn(p,"__layout__",s),p.update({x:u,y:c,width:h,height:d})})}),this.relayoutNavigator()},t.prototype.renderNavigator=function(n){var r=this.attributes.orientation,i=Cr(this.attributes,"nav"),o=_h({orientation:r},i),a=this;return n.selectAll(Gm.navigator.class).data(["nav"]).join(function(l){return l.append(function(){return new jpn({style:o})}).attr("className",Gm.navigator.name).each(function(){a.navigator=this})},function(l){return l.each(function(){this.update(o)})},function(l){return l.remove()}),this.navigator},t.prototype.getBBox=function(){return this.navigator.getBBox()},t.prototype.render=function(n,r){var i=this.attributes.data;if(!(!i||i.length===0)){var o=this.renderNavigator(or(r));this.renderItems(o.getContainer()),this.adjustLayout()}},t.prototype.dispatchCustomEvent=function(n,r){var i=new vi(n,{detail:r});this.dispatchEvent(i)},t}(Wa),k8=Eu({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),PZe={showLabel:!0,formatter:function(e){return e.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},Vpn=function(e){$n(t,e);function t(n){return e.call(this,n,PZe)||this}return t.prototype.render=function(n,r){var i=or(r).maybeAppendByClassName(k8.markerGroup,"g");this.renderMarker(i);var o=or(r).maybeAppendByClassName(k8.labelGroup,"g");this.renderLabel(o)},t.prototype.renderMarker=function(n){var r=this,i=this.attributes,o=i.orientation,a=i.markerSymbol,l=a===void 0?Cf(o,"horizontalHandle","verticalHandle"):a;Is(!!l,n,function(s){var u=Cr(r.attributes,"marker"),c=Mt({symbol:l},u);r.marker=s.maybeAppendByClassName(k8.marker,function(){return new Si({style:c})}).update(c)})},t.prototype.renderLabel=function(n){var r=this,i=this.attributes,o=i.showLabel,a=i.orientation,l=i.spacing,s=l===void 0?0:l,u=i.formatter;Is(o,n,function(c){var f,h=Cr(r.attributes,"label"),d=h.text,p=Ci(h,["text"]),g=((f=c.select(k8.marker.class))===null||f===void 0?void 0:f.node().getBBox())||{},m=g.width,v=m===void 0?0:m,y=g.height,b=y===void 0?0:y,C=Ae(Cf(a,[0,b+s,"center","top"],[v+s,0,"start","middle"]),4),x=C[0],S=C[1],w=C[2],O=C[3];c.maybeAppendByClassName(k8.label,"text").styles(Mt(Mt({},p),{x,y:S,text:u(d).toString(),textAlign:w,textBaseline:O}))})},t}(Wa),TZe={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},Upn=_h({},TZe,{}),Gpn=_h({},TZe,df(PZe,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),Kpn=.01,Aa=Eu({title:"title",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend"),Xpn=function(e){$n(t,e);function t(n){return e.call(this,n,Upn)||this}return t.prototype.renderTitle=function(n,r,i){var o=this.attributes,a=o.showTitle,l=o.titleText,s=Cr(this.attributes,"title"),u=Ae(wh(s),2),c=u[0],f=u[1];this.titleGroup=n.maybeAppendByClassName(Aa.titleGroup,"g").styles(f);var h=Mt(Mt({width:r,height:i},c),{text:a?l:""});this.title=this.titleGroup.maybeAppendByClassName(Aa.title,function(){return new OZe({style:h})}).update(h)},t.prototype.renderItems=function(n,r){var i=r.x,o=r.y,a=r.width,l=r.height,s=Cr(this.attributes,"title",!0),u=Ae(wh(s),2),c=u[0],f=u[1],h=Mt(Mt({},c),{width:a,height:l,x:0,y:0});this.itemsGroup=n.maybeAppendByClassName(Aa.itemsGroup,"g").styles(Mt({x:i,y:o},f));var d=this;this.itemsGroup.selectAll(Aa.items.class).data(["items"]).join(function(p){return p.append(function(){return new qpn({style:h})}).attr("className",Aa.items.name).each(function(){d.items=or(this)})},function(p){return p.update(h)},function(p){return p.remove()})},t.prototype.adjustLayout=function(){var n=this.attributes.showTitle;if(n){var r=this.title.node().getAvailableSpace(),i=r.x,o=r.y;this.itemsGroup.node().setLocalPosition(i,o)}},Object.defineProperty(t.prototype,"availableSpace",{get:function(){var n=this.attributes,r=n.showTitle,i=n.width,o=n.height;return r?this.title.node().getAvailableSpace():new Yi(0,0,i,o)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n,r,i=(n=this.title)===null||n===void 0?void 0:n.node(),o=(r=this.items)===null||r===void 0?void 0:r.node();return!i||!o?e.prototype.getBBox.call(this):Mpn(i,o)},t.prototype.render=function(n,r){var i=n.width,o=n.height,a=or(r);this.renderTitle(a,i,o),this.renderItems(a,this.availableSpace),this.adjustLayout()},t}(Wa),Ypn={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(e){return e.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},LK=Eu({background:"background",labelGroup:"label-group",label:"label"},"indicator"),Zpn=function(e){$n(t,e);function t(n){var r=e.call(this,n,Ypn)||this;return r.point=[0,0],r.group=r.appendChild(new Ha({})),r.isMutationObserved=!0,r}return t.prototype.renderBackground=function(){if(this.label){var n=this.attributes,r=n.position,i=n.padding,o=Ae(tl(i),4),a=o[0],l=o[1],s=o[2],u=o[3],c=this.label.node().getLocalBounds(),f=c.min,h=c.max,d=new Yi(f[0]-u,f[1]-a,h[0]+l-f[0]+u,h[1]+s-f[1]+a),p=this.getPath(r,d),g=Cr(this.attributes,"background");this.background=or(this.group).maybeAppendByClassName(LK.background,"path").styles(Mt(Mt({},g),{path:p})),this.group.appendChild(this.label.node())}},t.prototype.renderLabel=function(){var n=this.attributes,r=n.formatter,i=n.labelText,o=Cr(this.attributes,"label"),a=Ae(wh(o),2),l=a[0],s=a[1];l.text;var u=Ci(l,["text"]);if(this.label=or(this.group).maybeAppendByClassName(LK.labelGroup,"g").styles(s),!!i){var c=this.label.maybeAppendByClassName(LK.label,function(){return xy(r(i))}).style("text",r(i).toString());c.selectAll("text").styles(u)}},t.prototype.adjustLayout=function(){var n=Ae(this.point,2),r=n[0],i=n[1];this.group.attr("x",-r).attr("y",-i)},t.prototype.getPath=function(n,r){var i=this.attributes.radius,o=r.x,a=r.y,l=r.width,s=r.height,u=[["M",o+i,a],["L",o+l-i,a],["A",i,i,0,0,1,o+l,a+i],["L",o+l,a+s-i],["A",i,i,0,0,1,o+l-i,a+s],["L",o+i,a+s],["A",i,i,0,0,1,o,a+s-i],["L",o,a+i],["A",i,i,0,0,1,o+i,a],["Z"]],c={top:4,right:6,bottom:0,left:2},f=c[n],h=this.createCorner([u[f].slice(-2),u[f+1].slice(-2)]);return u.splice.apply(u,Kt([f+1,1],Ae(h),!1)),u[0][0]="M",u},t.prototype.createCorner=function(n,r){r===void 0&&(r=10);var i=.8,o=Xdn.apply(void 0,Kt([],Ae(n),!1)),a=Ae(n,2),l=Ae(a[0],2),s=l[0],u=l[1],c=Ae(a[1],2),f=c[0],h=c[1],d=Ae(o?[f-s,[s,f]]:[h-u,[u,h]],2),p=d[0],g=Ae(d[1],2),m=g[0],v=g[1],y=p/2,b=p/Math.abs(p),C=r*b,x=C/2,S=C*Math.sqrt(3)/2*i,w=Ae([m,m+y-x,m+y,m+y+x,v],5),O=w[0],$=w[1],P=w[2],T=w[3],R=w[4];return o?(this.point=[P,u-S],[["L",O,u],["L",$,u],["L",P,u-S],["L",T,u],["L",R,u]]):(this.point=[s+S,P],[["L",s,O],["L",s,$],["L",s+S,P],["L",s,T],["L",s,R]])},t.prototype.applyVisibility=function(){var n=this.attributes.visibility;n==="hidden"?F0(this):LP(this)},t.prototype.bindEvents=function(){this.label.on(pr.BOUNDS_CHANGED,this.renderBackground)},t.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},t}(Wa);function Qpn(e,t){for(var n=1;n=r&&t<=i)return[r,i]}return[t,t]}function Jpn(e,t,n){var r=Array.from(t),i=e.length;return new Array(i).fill(0).reduce(function(o,a,l){var s=r[l%r.length];return o+=" ".concat(e[l],":").concat(s).concat(l(r+i)/2?i:r,range:[r,i]}}var F7=Eu({trackGroup:"background-group",track:"background",selectionGroup:"ribbon-group",selection:"ribbon",clipPath:"clip-path"},"ribbon");function MZe(e){var t=e.orientation,n=e.size,r=e.length;return Cf(t,[r,n],[n,r])}function RZe(e){var t=e.type,n=Ae(MZe(e),2),r=n[0],i=n[1];return t==="size"?[["M",0,i],["L",0+r,0],["L",0+r,i],["Z"]]:[["M",0,i],["L",0,0],["L",0+r,0],["L",0+r,i],["Z"]]}function ehn(e){return RZe(e)}function thn(e){var t=e.orientation,n=e.color,r=e.block,i=e.partition,o;if(rs(n)){var a=20;o=new Array(a).fill(0).map(function(u,c,f){return n(c/(f.length-1))})}else o=n;var l=o.length,s=o.map(function(u){return rh(u).toString()});return l?l===1?s[0]:r?Jpn(i,s,t):s.reduce(function(u,c,f){return u+=" ".concat(f/(l-1),":").concat(c)},"l(".concat(Cf(t,"0","270"),")")):""}function nhn(e){var t=e.orientation,n=e.range;if(!n)return[];var r=Ae(MZe(e),2),i=r[0],o=r[1],a=Ae(n,2),l=a[0],s=a[1],u=Cf(t,l*i,0),c=Cf(t,0,l*o),f=Cf(t,s*i,i),h=Cf(t,o,s*o);return[["M",u,c],["L",u,h],["L",f,h],["L",f,c],["Z"]]}function rhn(e,t){var n=Cr(t,"track");e.maybeAppendByClassName(F7.track,"path").styles(Mt({path:RZe(t)},n))}function ihn(e,t){var n=Cr(t,"selection"),r=thn(t),i=e.maybeAppendByClassName(F7.selection,"path").styles(Mt({path:ehn(t),fill:r},n)),o=i.maybeAppendByClassName(F7.clipPath,"path").styles({path:nhn(t)}).node();i.style("clip-path",o)}var ohn=function(e){$n(t,e);function t(n){return e.call(this,n,{type:"color",orientation:"horizontal",size:30,range:[0,1],length:200,block:!1,partition:[],color:["#fff","#000"],trackFill:"#e5e5e5"})||this}return t.prototype.render=function(n,r){var i=or(r).maybeAppendByClassName(F7.trackGroup,"g");rhn(i,n);var o=or(r).maybeAppendByClassName(F7.selectionGroup,"g");ihn(o,n)},t}(Wa);function ahn(e){return{min:Math.min.apply(Math,Kt([],Ae(e.map(function(t){return t.value})),!1)),max:Math.max.apply(Math,Kt([],Ae(e.map(function(t){return t.value})),!1))}}var lhn=function(e){$n(t,e);function t(n){var r=e.call(this,n,Gpn)||this;return r.eventToOffsetScale=new Ri({}),r.innerRibbonScale=new Ri({}),r.cacheLabelBBox=null,r.cacheHandleBBox=null,r.onHovering=function(i){var o=r.attributes,a=o.data,l=o.block;i.stopPropagation();var s=r.getValueByCanvasPoint(i);if(l){var u=_Ee(a.map(function(f){var h=f.value;return h}),s).range;r.showIndicator((u[0]+u[1])/2,"".concat(u[0],"-").concat(u[1])),r.dispatchIndicated(s,u)}else{var c=r.getTickValue(s);r.showIndicator(c),r.dispatchIndicated(c)}},r.onDragStart=function(i){return function(o){o.stopPropagation(),r.attributes.slidable&&(r.target=i,r.prevValue=r.getTickValue(r.getValueByCanvasPoint(o)),document.addEventListener("mousemove",r.onDragging),document.addEventListener("touchmove",r.onDragging),document.addEventListener("mouseleave",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("mouseup",r.onDragEnd),document.addEventListener("touchend",r.onDragEnd))}},r.onDragging=function(i){var o=r.target;r.updateMouse();var a=Ae(r.selection,2),l=a[0],s=a[1],u=r.getTickValue(r.getValueByCanvasPoint(i)),c=u-r.prevValue;o==="start"?l!==u&&r.updateSelection(u,s):o==="end"?s!==u&&r.updateSelection(l,u):o==="ribbon"&&c!==0&&(r.prevValue=u,r.updateSelection(c,c,!0))},r.onDragEnd=function(){r.style.cursor="pointer",document.removeEventListener("mousemove",r.onDragging),document.removeEventListener("touchmove",r.onDragging),document.removeEventListener("mouseup",r.onDragEnd),document.removeEventListener("touchend",r.onDragEnd)},r}return Object.defineProperty(t.prototype,"handleOffsetRatio",{get:function(){return this.ifHorizontal(.5,.5)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=this.attributes,r=n.width,i=n.height;return new Yi(0,0,r,i)},t.prototype.render=function(n,r){var i=this,o=n.showLabel;this.renderTitle(or(r));var a=this.availableSpace,l=a.x,s=a.y,u=or(r).maybeAppendByClassName(Aa.contentGroup,"g").styles({x:l,y:s}),c=u.maybeAppendByClassName(Aa.labelGroup,"g").styles({zIndex:1});Is(!!o,c,function(h){i.renderLabel(h)});var f=u.maybeAppendByClassName(Aa.ribbonGroup,"g").styles({zIndex:0});this.handlesGroup=u.maybeAppendByClassName(Aa.handlesGroup,"g").styles({zIndex:2}),this.renderHandles(),this.renderRibbon(f),this.renderIndicator(u),this.adjustLabel(),this.adjustHandles()},Object.defineProperty(t.prototype,"range",{get:function(){var n=this.attributes,r=n.data,i=n.domain;return i?{min:i[0],max:i[1]}:ahn(r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonScale",{get:function(){var n=this.range,r=n.min,i=n.max;return this.innerRibbonScale.update({domain:[r,i],range:[0,1]}),this.innerRibbonScale},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonRange",{get:function(){var n=Ae(this.selection,2),r=n[0],i=n[1],o=this.ribbonScale;return[o.map(r),o.map(i)]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selection",{get:function(){var n=this.range,r=n.min,i=n.max,o=this.attributes.defaultValue,a=o===void 0?[r,i]:o,l=Ae(a,2),s=l[0],u=l[1];return[s,u]},enumerable:!1,configurable:!0}),t.prototype.ifHorizontal=function(n,r){return Cf(this.attributes.orientation,typeof n=="function"?n():n,typeof r=="function"?r():r)},t.prototype.renderTitle=function(n){var r=this.attributes,i=r.showTitle,o=r.titleText,a=r.width,l=r.height,s=Cr(this.attributes,"title"),u=Mt(Mt({},s),{width:a,height:l,text:o}),c=this;n.selectAll(Aa.title.class).data(i?[o]:[]).join(function(f){return f.append(function(){return new OZe({style:u})}).attr("className",Aa.title.name).each(function(){c.title=this})},function(f){return f.update(u)},function(f){return f.each(function(){c.title=void 0}).remove()})},Object.defineProperty(t.prototype,"availableSpace",{get:function(){if(this.title)return this.title.getAvailableSpace();var n=this.attributes,r=n.width,i=n.height;return new Yi(0,0,r,i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelFixedSpacing",{get:function(){var n=this.attributes.showTick;return n?5:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){var n=this.attributes,r=n.orientation,i=n.labelDirection,o={vertical:{positive:"right",negative:"left"},horizontal:{positive:"bottom",negative:"top"}};return o[r][i]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelBBox",{get:function(){var n,r=this.attributes.showLabel;if(!r)return new Yi(0,0,0,0);if(this.cacheLabelBBox)return this.cacheLabelBBox;var i=((n=this.label.querySelector(ui.labelGroup.class))===null||n===void 0?void 0:n.children.slice(-1)[0]).getBBox(),o=i.width,a=i.height;return this.cacheLabelBBox=new Yi(0,0,o,a),this.cacheLabelBBox},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelShape",{get:function(){var n=this.attributes,r=n.showLabel,i=n.labelSpacing,o=i===void 0?0:i;if(!r)return{width:0,height:0,size:0,length:0};var a=this.labelBBox,l=a.width,s=a.height,u=this.ifHorizontal(s,l)+o+this.labelFixedSpacing,c=this.ifHorizontal(l,s);return{width:l,height:s,size:u,length:c}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonBBox",{get:function(){var n=this.attributes,r=n.showHandle,i=n.ribbonSize,o=this.availableSpace,a=o.width,l=o.height,s=this.labelShape,u=s.size,c=s.length,f=Ae(this.ifHorizontal([l,a],[a,l]),2),h=f[0],d=f[1],p=r?this.handleShape:{size:0,length:0},g=p.size,m=p.length,v=this.handleOffsetRatio,y=0,b=this.labelPosition;i?y=i:["bottom","right"].includes(b)?y=Math.min(h-u,(h-g)/v):h*(1-v)>g?y=Math.max(h-u,0):y=Math.max((h-u-g)/v,0);var C=Math.max(m,c),x=d-C,S=Ae(this.ifHorizontal([x,y],[y,x]),2),w=S[0],O=S[1],$=["top","left"].includes(b)?u:0,P=Ae(this.ifHorizontal([C/2,$],[$,C/2]),2),T=P[0],R=P[1];return new Yi(T,R,w,O)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ribbonShape",{get:function(){var n=this.ribbonBBox,r=n.width,i=n.height;return this.ifHorizontal({size:i,length:r},{size:r,length:i})},enumerable:!1,configurable:!0}),t.prototype.renderRibbon=function(n){var r=this.attributes,i=r.data,o=r.type,a=r.orientation,l=r.color,s=r.block,u=Cr(this.attributes,"ribbon"),c=this.range,f=c.min,h=c.max,d=this.ribbonBBox,p=d.x,g=d.y,m=this.ribbonShape,v=m.length,y=m.size,b=_h({x:p,y:g,length:v,size:y,type:o,orientation:a,color:l,block:s,partition:i.map(function(C){return(C.value-f)/(h-f)}),range:this.ribbonRange},u);this.ribbon=n.maybeAppendByClassName(Aa.ribbon,function(){return new ohn({style:b})}).update(b)},t.prototype.getHandleClassName=function(n){return"".concat(Aa.prefix("".concat(n,"-handle")))},t.prototype.renderHandles=function(){var n=this.attributes,r=n.showHandle,i=n.orientation,o=Cr(this.attributes,"handle"),a=Ae(this.selection,2),l=a[0],s=a[1],u=Mt(Mt({},o),{orientation:i}),c=o.shape,f=c===void 0?"slider":c,h=f==="basic"?Vpn:pZe,d=this;this.handlesGroup.selectAll(Aa.handle.class).data(r?[{value:l,type:"start"},{value:s,type:"end"}]:[],function(p){return p.type}).join(function(p){return p.append(function(){return new h({style:u})}).attr("className",function(g){var m=g.type;return"".concat(Aa.handle," ").concat(d.getHandleClassName(m))}).each(function(g){var m=g.type,v=g.value;this.update({labelText:v});var y="".concat(m,"Handle");d[y]=this,this.addEventListener("pointerdown",d.onDragStart(m))})},function(p){return p.update(u).each(function(g){var m=g.value;this.update({labelText:m})})},function(p){return p.each(function(g){var m=g.type,v="".concat(m,"Handle");d[v]=void 0}).remove()})},t.prototype.adjustHandles=function(){var n=Ae(this.selection,2),r=n[0],i=n[1];this.setHandlePosition("start",r),this.setHandlePosition("end",i)},t.prototype.adjustTitle=function(){var n=this.attributes,r=n.titlePosition,i=n.orientation,o=Ae(this.getElementsByClassName(Aa.title.name),1),a=o[0],l=this.handlesGroup.select(".".concat(this.getHandleClassName("start"))).node();if(!(!a||!l)&&!(r!=="top-left"||i!=="horizontal")){var s=Ae(l.getLocalBounds().min,1),u=s[0],c=Ae(a.getLocalBounds().min,1),f=c[0],h=u-f;a.style.x=+(this.style.x||0)+h}},Object.defineProperty(t.prototype,"handleBBox",{get:function(){if(this.cacheHandleBBox)return this.cacheHandleBBox;if(!this.attributes.showHandle)return new Yi(0,0,0,0);var n=this.startHandle.getBBox(),r=n.width,i=n.height,o=this.endHandle.getBBox(),a=o.width,l=o.height,s=Ae([Math.max(r,a),Math.max(i,l)],2),u=s[0],c=s[1];return this.cacheHandleBBox=new Yi(0,0,u,c),this.cacheHandleBBox},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"handleShape",{get:function(){var n=this.handleBBox,r=n.width,i=n.height,o=Ae(this.ifHorizontal([i,r],[r,i]),2),a=o[0],l=o[1];return{width:r,height:i,size:a,length:l}},enumerable:!1,configurable:!0}),t.prototype.setHandlePosition=function(n,r){var i=this.attributes.handleFormatter,o=this.ribbonBBox,a=o.x,l=o.y,s=this.ribbonShape.size,u=this.getOffset(r),c=Ae(this.ifHorizontal([a+u,l+s*this.handleOffsetRatio],[a+s*this.handleOffsetRatio,l+u]),2),f=c[0],h=c[1],d=this.handlesGroup.select(".".concat(this.getHandleClassName(n))).node();d==null||d.update({x:f,y:h,formatter:i})},t.prototype.renderIndicator=function(n){var r=Cr(this.attributes,"indicator");this.indicator=n.maybeAppendByClassName(Aa.indicator,function(){return new Zpn({})}).update(r)},Object.defineProperty(t.prototype,"labelData",{get:function(){var n=this,r=this.attributes.data;return r.reduce(function(i,o,a,l){var s,u,c=(s=o==null?void 0:o.id)!==null&&s!==void 0?s:a.toString();if(i.push(Mt(Mt({},o),{id:c,index:a,type:"value",label:(u=o==null?void 0:o.label)!==null&&u!==void 0?u:o.value.toString(),value:n.ribbonScale.map(o.value)})),a'),title:'
    '),item:'
  • {name} {value} -
  • `)},style:uhn(a)})||this,r.timestamp=-1,r.prevCustomContentKey=r.attributes.contentKey,r.initShape(),r.render(r.attributes,r),r}return Object.defineProperty(t.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),t.prototype.getContainer=function(){return this.element},Object.defineProperty(t.prototype,"elementSize",{get:function(){var n=this.element.offsetWidth,r=this.element.offsetHeight;return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HTMLTooltipItemsElements",{get:function(){var n=this.attributes,r=n.data,i=n.template;return r.map(function(o,a){var l=o.name,s=l===void 0?"":l,u=o.color,c=u===void 0?"black":u,f=o.index,h=Ci(o,["name","color","index"]),d=Mt({name:s,color:c,index:f??a},h);return H8e(cnn(i.item,d))})},enumerable:!1,configurable:!0}),t.prototype.render=function(n,r){this.renderHTMLTooltipElement(),this.updatePosition()},t.prototype.destroy=function(){var n;(n=this.element)===null||n===void 0||n.remove(),e.prototype.destroy.call(this)},t.prototype.show=function(n,r){var i=this;if(n!==void 0&&r!==void 0){var o=this.element.style.visibility==="hidden",a=function(){i.attributes.x=n??i.attributes.x,i.attributes.y=r??i.attributes.y,i.updatePosition()};o?this.closeTransition(a):a()}this.element.style.visibility="visible"},t.prototype.hide=function(n,r){n===void 0&&(n=0),r===void 0&&(r=0);var i=this.attributes.enterable;i&&this.isCursorEntered(n,r)||(this.element.style.visibility="hidden")},t.prototype.initShape=function(){var n=this.attributes.template;this.element=H8e(n.container),this.id&&this.element.setAttribute("id",this.id)},t.prototype.renderCustomContent=function(){if(!(this.prevCustomContentKey!==void 0&&this.prevCustomContentKey===this.attributes.contentKey)){this.prevCustomContentKey=this.attributes.contentKey;var n=this.attributes.content;n&&(typeof n=="string"?this.element.innerHTML=n:this.element.replaceChildren(n))}},t.prototype.renderHTMLTooltipElement=function(){var n,r,i=this.attributes,o=i.template,a=i.title,l=i.enterable,s=i.style,u=i.content,c=nee(o.prefixCls),f=this.element;if(this.element.style.pointerEvents=l?"auto":"none",u)this.renderCustomContent();else{a?(f.innerHTML=o.title,f.getElementsByClassName(c.TITLE)[0].innerHTML=a):(r=(n=f.getElementsByClassName(c.TITLE))===null||n===void 0?void 0:n[0])===null||r===void 0||r.remove();var h=this.HTMLTooltipItemsElements,d=document.createElement("ul");d.className=c.LIST,d.replaceChildren.apply(d,Kt([],Ae(h),!1));var p=this.element.querySelector(".".concat(c.LIST));p?p.replaceWith(d):f.appendChild(d)}tfn(f,s)},t.prototype.getRelativeOffsetFromCursor=function(n){var r=this.attributes,i=r.position,o=r.offset,a=n||i,l=a.split("-"),s={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},u=this.elementSize,c=u.width,f=u.height,h=[-c/2,-f/2];return l.forEach(function(d){var p=Ae(h,2),g=p[0],m=p[1],v=Ae(s[d],2),y=v[0],b=v[1];h=[g+(c/2+o[0])*y,m+(f/2+o[1])*b]}),h},t.prototype.setOffsetPosition=function(n){var r=Ae(n,2),i=r[0],o=r[1],a=this.attributes,l=a.x,s=l===void 0?0:l,u=a.y,c=u===void 0?0:u,f=a.container,h=f.x,d=f.y;this.element.style.left="".concat(+s+h+i,"px"),this.element.style.top="".concat(+c+d+o,"px")},t.prototype.updatePosition=function(){var n=this.attributes.showDelay,r=n===void 0?60:n,i=Date.now();this.timestamp>0&&i-this.timestampy+C,top:mb+x},w=[];c.split("-").forEach(function($){S[$]?w.push(v[$]):w.push($)});var O=w.join("-");return this.getRelativeOffsetFromCursor(O)},t.prototype.isCursorEntered=function(n,r){if(this.element){var i=this.element.getBoundingClientRect(),o=i.x,a=i.y,l=i.width,s=i.height;return new Yi(o,a,l,s).isPointIn(n,r)}return!1},t.prototype.closeTransition=function(n){var r=this,i=this.element.style.transition;this.element.style.transition="none",n(),setTimeout(function(){r.element.style.transition=i},10)},t.tag="tooltip",t}(Wa),fhn=function(e){$n(t,e);function t(n){var r=e.call(this,n)||this;r.layoutEvents=[hr.BOUNDS_CHANGED,hr.INSERTED,hr.REMOVED],r.$margin=tl(0),r.$padding=tl(0);var i=n.style||{},o=i.margin,a=o===void 0?0:o,l=i.padding,s=l===void 0?0:l;return r.margin=a,r.padding=s,r.isMutationObserved=!0,r.bindEvents(),r}return Object.defineProperty(t.prototype,"margin",{get:function(){return this.$margin},set:function(n){this.$margin=tl(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.$padding},set:function(n){this.$padding=tl(n)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=this.attributes,r=n.x,i=r===void 0?0:r,o=n.y,a=o===void 0?0:o,l=n.width,s=n.height,u=Ae(this.$margin,4),c=u[0],f=u[1],h=u[2],d=u[3];return new Yi(i-d,a-c,l+d+f,s+c+h)},t.prototype.appendChild=function(n,r){return n.isMutationObserved=!0,e.prototype.appendChild.call(this,n,r),n},t.prototype.getAvailableSpace=function(){var n=this.attributes,r=n.width,i=n.height,o=Ae(this.$padding,4),a=o[0],l=o[1],s=o[2],u=o[3],c=Ae(this.$margin,4),f=c[0],h=c[3];return new Yi(u+h,a+f,r-u-l,i-a-s)},t.prototype.layout=function(){if(!(!this.attributes.display||!this.isConnected)&&!this.children.some(function(r){return!r.isConnected}))try{var n=Bdn(this.getAvailableSpace(),this.children.map(function(r){return r.getBBox()}),this.attributes);this.children.forEach(function(r,i){var o=n[i],a=o.x,l=o.y;r.attr({x:a,y:l})})}catch{}},t.prototype.bindEvents=function(){var n=this;this.layoutEvents.forEach(function(r){n.addEventListener(r,function(i){i.target.isMutationObserved=!0,n.layout()})})},t.prototype.attributeChangedCallback=function(n,r,i){n==="margin"?this.margin=i:n==="padding"&&(this.padding=i),this.layout()},t}(Ha),LK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&(o=t),r<0&&(o=r),n>0&&(a=n),i<0&&(a=i),[o,a]}function hhn(e,t=[]){const[n=0,r=0,i=n,o=r]=t,a=e.parentNode,l=a.getEulerAngles();a.setEulerAngles(0);const{min:s,halfExtents:u}=e.getLocalBounds(),[c,f]=s,[h,d]=u;return a.setEulerAngles(l),{x:c-o,y:f-n,width:h*2+o+r,height:d*2+n+i}}const ghn=(e,t,n)=>{const r=Zi(e,t),i=Zi(t,n),o=Zi(n,e);return(Math.pow(r,2)+Math.pow(i,2)-Math.pow(o,2))/(2*r*i)};function mhn(e,t,n,r){const[[i,o],[a,l]]=t,[s,u]=phn(e);if(i===a&&o===l)return S0()([[0,0],[s,u]]);const c=[[i-a,o-l]].concat(n.length?n:[[0,0]]),f=[r[0]-a,r[1]-l],[h,d]=c;if(ghn(f,h,d)>0){const p=(()=>{const{min:g,max:m}=e.getLocalBounds(),v=h[0]+(h[1]-f[1])*(h[1]-0)/(h[0]-f[0]);return m[0]{const t=e.attributes,{className:n,class:r,transform:i,rotate:o,labelTransform:a,labelTransformOrigin:l,x:s,y:u,x0:c=s,y0:f=u,text:h,background:d,connector:p,startMarker:g,endMarker:m,coordCenter:v,innerHTML:y}=t,b=LK(t,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if([s,u,c,f].some(k=>!Ro(k))){e.children.forEach(k=>k.remove());return}const C=hn(b,"background"),{padding:x}=C,S=LK(C,["padding"]),w=hn(b,"connector"),{points:O=[]}=w,$=LK(w,["points"]),P=[[+c,+f],[+s,+u]];let T;y?T=Un(e).maybeAppend("html","html",n).style("zIndex",0).style("innerHTML",y).call(kn,Object.assign({transform:a,transformOrigin:l},b)).node():T=Un(e).maybeAppend("text","text").style("zIndex",0).style("text",h).call(kn,Object.assign({textBaseline:"middle",transform:a,transformOrigin:l},b)).node();const R=Un(e).maybeAppend("background","rect").style("zIndex",-1).call(kn,hhn(T,x)).call(kn,d?S:{}).node(),M=mhn(R,P,O,v),A=g&&new Si({id:"startMarker",style:Object.assign({x:0,y:0},hn(b,"startMarker"))}),N=m&&new Si({id:"endMarker",style:Object.assign({x:0,y:0},hn(b,"endMarker"))});Un(e).maybeAppend("connector","path").style("zIndex",0).style("path",M).style("markerStart",A).style("markerEnd",N).call(kn,p?$:{})}),NZe=(e,t)=>{const{coordinate:n}=t;return(r,i,o)=>{const{color:a,text:l="",fontSize:s,rotate:u=0,transform:c=""}=i,f={text:String(l),stroke:a,fill:a,fontSize:s},[[h,d]]=r;return Un(new IZe).style("x",h).style("y",d).call(kn,o).style("transform",`${c}rotate(${+u})`).style("coordCenter",n.getCenter()).call(kn,f).call(kn,e).node()}};NZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ree=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=e.attributes,n=ree(t,["class","x","y"]),r=hn(n,"marker"),{size:i=24}=r,o=()=>vhn(i/2),a=Un(e).maybeAppend("marker",()=>new Si({})).call(u=>u.node().update(Object.assign({symbol:o},r))).node(),[l,s]=yhn(a);Un(e).maybeAppend("text","text").style("x",l).style("y",s).call(kn,n)}),AZe=(e,t)=>{const n=ree(e,[]);return(r,i,o)=>{const{color:a}=o,l=ree(o,["color"]),{color:s=a,text:u=""}=i,c={text:String(u),stroke:s,fill:s},[[f,h]]=r;return Un(new bhn).call(kn,l).style("x",f).style("y",h).call(kn,c).call(kn,n).node()}};AZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Chn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t(f)))o=!0;else{if(n.push(u),r.push(c),o&&a){o=!1;const[f,h]=a;i.push([f,u,h,c])}a=[u,c]}}return[n.concat(r),i]}const wEe=B4(e=>{const{areaPath:t,connectPath:n,areaStyle:r,connectStyle:i}=e.attributes,o=e.ownerDocument;Un(e).maybeAppend("connect-path",()=>o.createElement("path",{})).style("d",n).call(kn,i),Un(e).maybeAppend("area-path",()=>o.createElement("path",{})).style("d",t).call(kn,r)}),Dd=(e,t)=>{const{curve:n,gradient:r=!1,defined:i=u=>!Number.isNaN(u)&&u!==void 0&&u!==null,connect:o=!1}=e,a=Chn(e,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=t;return(u,c,f)=>{const{color:h}=f,{color:d=h,seriesColor:p,seriesX:g,seriesY:m}=c,v=Hi(l),y=nYe(l,c),b=r&&p?eYe(p,g,m,r,void 0,v):d,C=Object.assign(Object.assign(Object.assign(Object.assign({},f),{stroke:b,fill:b}),y&&{transform:y}),a),[x,S]=Shn(u,i),w=hn(C,"connect"),O=!!S.length,$=P=>Un(s.createElement("path",{})).style("d",P||"").call(kn,C).node();if(Ai(l)){const P=T=>{const R=l.getCenter(),M=T.slice(0,T.length/2),A=T.slice(T.length/2);return Gan().angle((N,k)=>j4(ho(M[k],R))).outerRadius((N,k)=>Zi(M[k],R)).innerRadius((N,k)=>Zi(A[k],R)).defined((N,k)=>[...M[k],...A[k]].every(i)).curve(n)(A)};return!O||o&&!Object.keys(w).length?$(P(x)):O&&!o?$(P(u)):Un(new wEe).style("areaStyle",C).style("connectStyle",Object.assign(Object.assign({},w),a)).style("areaPath",P(u)).style("connectPath",S.map(P).join("")).node()}else{const P=T=>{const R=T.slice(0,T.length/2),M=T.slice(T.length/2);return v?IJ().y((A,N)=>R[N][1]).x1((A,N)=>R[N][0]).x0((A,N)=>M[N][0]).defined((A,N)=>[...R[N],...M[N]].every(i)).curve(n)(R):IJ().x((A,N)=>R[N][0]).y1((A,N)=>R[N][1]).y0((A,N)=>M[N][1]).defined((A,N)=>[...R[N],...M[N]].every(i)).curve(n)(R)};return!O||o&&!Object.keys(w).length?$(P(x)):O&&!o?$(P(u)):Un(new wEe).style("areaStyle",C).style("connectStyle",Object.assign(Object.assign({},w),a)).style("areaPath",P(u)).style("connectPath",S.map(P).join("")).node()}}};Dd.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const kZe=(e,t)=>{const{coordinate:n}=t;return(...r)=>{const i=Ai(n)?ele:TP;return Dd(Object.assign({curve:i},e),t)(...r)}};kZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"square"});var xhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=xhn(e,[]),{coordinate:r}=t;return(...i)=>{const o=Ai(r)?tXe:Hi(r)?aXe:oXe;return Dd(Object.assign({curve:o},n),t)(...i)}};jZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"smooth"});const DZe=(e,t)=>(...n)=>Dd(Object.assign({curve:lXe},e),t)(...n);DZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"hvh"});const LZe=(e,t)=>(...n)=>Dd(Object.assign({curve:sXe},e),t)(...n);LZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"vh"});const zZe=(e,t)=>(...n)=>Dd(Object.assign({curve:cXe},e),t)(...n);zZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"hv"});const BZe=(e,t)=>{const{arrow:n=!1}=e;return(...r)=>$le(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};BZe.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var OEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=OEe(e,[]),{document:r}=t;return(i,o,a)=>{const{color:l}=a,s=OEe(a,["color"]),{color:u=l,transform:c}=o,[f,h]=i,d=wu();return d.moveTo(f[0],f[1]),d.bezierCurveTo(f[0]/2+h[0]/2,f[1],f[0]/2+h[0]/2,h[1],h[0],h[1]),Un(r.createElement("path",{})).call(kn,s).style("d",d.toString()).style("stroke",u).style("transform",c).call(kn,n).node()}};FZe.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var EEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{cornerRatio:n=1/3}=e,r=EEe(e,["cornerRatio"]),{coordinate:i,document:o}=t;return(a,l,s)=>{const{defaultColor:u}=s,c=EEe(s,["defaultColor"]),{color:f=u,transform:h}=l,[d,p]=a,g=_hn(d,p,i,n);return Un(o.createElement("path",{})).call(kn,c).style("d",g.toString()).style("stroke",f).style("transform",h).call(kn,r).node()}};HZe.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var $Ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=$Ee(e,[]),{coordinate:r,document:i}=t;return(o,a,l)=>{const{color:s}=l,u=$Ee(l,["color"]),{color:c=s,transform:f}=a,[h,d]=o,p=wu();if(p.moveTo(h[0],h[1]),Ai(r)){const g=r.getCenter();p.quadraticCurveTo(g[0],g[1],d[0],d[1])}else{const g=BKe(h,d),m=Zi(h,d)/2;D7(p,h,d,g,m)}return Un(i.createElement("path",{})).call(kn,u).style("d",p.toString()).style("stroke",c).style("transform",f).call(kn,n).node()}};WZe.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function qZe(e={}){const{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function os(e={}){return[...qZe(e),{name:"title",scale:"identity"}]}function H0(){return[{type:GF,channel:"color"},{type:XF,channel:["x","y"]}]}function WC(){return[{type:GF,channel:"x"},{type:XF,channel:["y"]}]}function whn(){return[{type:GF,channel:"color"},{type:XF,channel:["position"]}]}function qC(e={}){return qZe(e)}function No(){return[{type:OGe}]}function Ko(){return[]}function zK(e,t){return e.getBandWidth(e.invert(t))}function lb(e,t,n={}){const{x:r,y:i,series:o}=t,{x:a,y:l,series:s}=e,{style:{bandOffset:u=s?0:.5,bandOffsetX:c=u,bandOffsetY:f=u}={}}=n,h=!!(a!=null&&a.getBandWidth),d=!!(l!=null&&l.getBandWidth),p=!!(s!=null&&s.getBandWidth);return!h&&!d?g=>g:(g,m)=>{const v=h?zK(a,r[m]):0,y=d?zK(l,i[m]):0,C=p&&o?(zK(s,o[m])/2+ +o[m])*v:0,[x,S]=g;return[x+c*v+C,S+f*y]}}function dL(e){return parseFloat(e)/100}function Lle(e,t,n,r){const{x:i,y:o}=n,{innerWidth:a,innerHeight:l}=r.getOptions(),s=Array.from(e,u=>{const c=i[u],f=o[u],h=typeof c=="string"?dL(c)*a:+c,d=typeof f=="string"?dL(f)*l:+f;return[[h,d]]});return[e,s]}function Tf(e){return typeof e=="function"?e:t=>t[e]}function BK(e,t){return Array.from(e,Tf(t))}function zle(e,t){const{source:n=c=>c.source,target:r=c=>c.target,value:i=c=>c.value}=t,{links:o,nodes:a}=e,l=BK(o,n),s=BK(o,r),u=BK(o,i);return{links:o.map((c,f)=>({target:s[f],source:l[f],value:u[f]})),nodes:a||Array.from(new Set([...l,...s]),c=>({key:c}))}}var Ohn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l}=a,s=Ohn(a,["color"]),{color:u=l,src:c="",size:f=32,transform:h=""}=o;let{width:d=f,height:p=f}=e;const[[g,m]]=i,[v,y]=n.getSize();d=typeof d=="string"?dL(d)*v:d,p=typeof p=="string"?dL(p)*y:p;const b=g-Number(d)/2,C=m-Number(p)/2;return Un(r.createElement("image",{})).call(kn,s).style("x",b).style("y",C).style("img",c).style("stroke",u).style("transform",h).call(kn,e).style("width",d).style("height",p).node()}};VZe.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Ehn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iZi(a,r));return i.forEach((a,l)=>{if(l===0){n.moveTo(a[0],a[1]);return}const s=o[l],u=e[l-1],c=o[l-1];c!==void 0&&Math.abs(s-c)<1e-10?D7(n,u,a,r,s):n.lineTo(a[0],a[1])}),n.closePath(),n}return gdn(n,e)}const UZe=(e,t)=>{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l}=a,s=Ehn(a,["color"]),{color:u=l,transform:c}=o,f=$hn(i,n);return Un(r.createElement("path",{})).call(kn,s).style("d",f.toString()).style("stroke",u).style("fill",u).style("transform",c).call(kn,e).node()}};UZe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var PEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=PEe(e,[]),{coordinate:r,document:i}=t;return(o,a,l)=>{const{color:s}=l,u=PEe(l,["color"]),{color:c=s,transform:f}=a,h=Phn(o,r);return Un(i.createElement("path",{})).call(kn,u).style("d",h.toString()).style("fill",c||s).style("stroke",c||s).style("transform",f).call(kn,n).node()}};GZe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Thn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l,transform:s}=o,{color:u,fill:c=u,stroke:f=u}=a,h=Thn(a,["color","fill","stroke"]),d=Mhn(i,n);return Un(r.createElement("path",{})).call(kn,h).style("d",d.toString()).style("stroke",f).style("fill",l||c).style("transform",s).call(kn,e).node()}};KZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Rhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l,transform:s}=o,u=4,{color:c,fill:f=c,stroke:h=c}=a,d=Rhn(a,["color","fill","stroke"]),p=Ihn(i,n,u);return Un(r.createElement("path",{})).call(kn,d).style("d",p.toString()).style("stroke",h).style("fill",l||f).style("transform",s).call(kn,e).node()}};XZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var TEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir[0]).y(r=>r[1])(e);const n=t.getCenter();return rH()({startAngle:0,endAngle:Math.PI*2,outerRadius:Zi(e[0],n),innerRadius:Zi(e[1],n)})}function khn(e,t){if(!Ai(e))return t;const[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}const Ble=(e,t)=>{const{arrow:n,arrowSize:r=4}=e,i=TEe(e,["arrow","arrowSize"]),{coordinate:o,document:a}=t;return(l,s,u)=>{const{color:c,lineWidth:f}=u,h=TEe(u,["color","lineWidth"]),{color:d=c,size:p=f}=s,g=n?Nhn(a,r,Object.assign({fill:i.stroke||d,stroke:i.stroke||d},hn(i,"arrow"))):null,m=Ahn(l,o),v=khn(o,s.transform);return Un(a.createElement("path",{})).call(kn,h).style("d",m).style("stroke",d).style("lineWidth",p).style("transform",v).style("markerEnd",g).call(kn,i).node()}};Ble.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var MEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[0]).y(t=>t[1])(e)}function Lhn(e,t,n,r,i=0){const[[o,a],[l,s]]=t;if(Hi(e)){const h=o+n,d=l+r,p=h+i;return[[h,a],[p,a],[p,s],[d,s]]}const u=a-n,c=s-r,f=u-i;return[[o,u],[o,f],[l,f],[l,c]]}const YZe=(e,t)=>{const{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:o,endMarker:a=!0}=e,l=MEe(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=t;return(u,c,f)=>{const{color:h,connectLength1:d}=f,p=MEe(f,["color","connectLength1"]),{color:g,transform:m}=c,v=Lhn(s,u,r,i,o??d),y=hn(Object.assign(Object.assign({},l),f),"endMarker");return Un(new is).call(kn,p).style("path",Dhn(v)).style("stroke",g||h).style("transform",m).style("markerEnd",a?new Si({className:"marker",style:Object.assign(Object.assign({},y),{symbol:jhn})}):null).call(kn,l).node()}};YZe.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function ZZe(e){return e.replace(/-(\w)/g,function(t,n){return n.toUpperCase()})}function zhn(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Bhn(e,t,n,r){const i=t.length/2,o=t.slice(0,i),a=t.slice(i);let l=zC(o,(d,p)=>Math.abs(d[1]-a[p][1]));l=Math.max(Math.min(l,i-2),1);const s=d=>[o[d][0],(o[d][1]+a[d][1])/2],u=s(l),c=s(l-1),f=s(l+1),h=yu(ho(f,c))/Math.PI*180;return{x:u[0],y:u[1],transform:`rotate(${h})`,textAlign:"center",textBaseline:"middle"}}function QZe(e,t,n,r){const{bounds:i}=n,[[o,a],[l,s]]=i,u=l-o,c=s-a,f=h=>{const{x:d,y:p}=h,g=W8e(n.x,u),m=W8e(n.y,c);return Object.assign(Object.assign({},h),{x:(g||d)+o,y:(m||p)+a})};return f(e==="left"?{x:0,y:c/2,textAnchor:"start",textBaseline:"middle"}:e==="right"?{x:u,y:c/2,textAnchor:"end",textBaseline:"middle"}:e==="top"?{x:u/2,y:0,textAnchor:"center",textBaseline:"top"}:e==="bottom"?{x:u/2,y:c,textAnchor:"center",textBaseline:"bottom"}:e==="top-left"?{x:0,y:0,textAnchor:"start",textBaseline:"top"}:e==="top-right"?{x:u,y:0,textAnchor:"end",textBaseline:"top"}:e==="bottom-left"?{x:0,y:c,textAnchor:"start",textBaseline:"bottom"}:e==="bottom-right"?{x:u,y:c,textAnchor:"end",textBaseline:"bottom"}:{x:u/2,y:c/2,textAnchor:"center",textBaseline:"middle"})}function JZe(e,t,n,r){const{y:i,y1:o,autoRotate:a,rotateToAlignArc:l}=n,s=r.getCenter(),u=ob(r,t,[i,o]),{innerRadius:c,outerRadius:f,startAngle:h,endAngle:d}=u,p=e==="inside"?(h+d)/2:d,g=Fle(p,a,l),m=(()=>{const[v,y]=t,b=c+(f-c)*.5,[C,x]=e==="inside"?F7(s,p,b):BKe(v,y);return{x:C,y:x}})();return Object.assign(Object.assign({},m),{textAlign:e==="inside"?"center":"start",textBaseline:"middle",rotate:g})}function F7(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function Fle(e,t,n){if(!t)return 0;const r=n?0:Math.sin(e)<0?90:-90;return e/Math.PI*180+r}function Fhn(e,t,n,r){const{y:i,y1:o,autoRotate:a,rotateToAlignArc:l,radius:s=.5,offset:u=0}=n,c=ob(r,t,[i,o]),{startAngle:f,endAngle:h}=c,d=r.getCenter(),p=(f+h)/2,m={textAlign:"center",textBaseline:"middle",rotate:Fle(p,a,l)},{innerRadius:v,outerRadius:y}=c,C=v+(y-v)*s+u,[x,S]=F7(d,p,C);return Object.assign({x,y:S},m)}function REe(e){return e===void 0?null:e}function eQe(e,t,n,r){const{bounds:i}=n,[o]=i;return{x:REe(o[0]),y:REe(o[1])}}function _p(e,t,n,r){const{bounds:i}=n;return i.length===1?eQe(e,t,n):(oH(r)?JZe:BC(r)?Fhn:QZe)(e,t,n,r)}function Hhn(e,t,n,r,i){const[o,a]=F7(e,t,n),[l,s]=F7(e,t,r),u=Math.sin(t)>0?1:-1;return[[o,a],[l,s],[l+u*i,s]]}function tQe(e,t,n){const r=ob(n,e,[t.y,t.y1]),{innerRadius:i,outerRadius:o}=r;return i+(o-i)}function nQe(e,t,n){const r=ob(n,e,[t.y,t.y1]),{startAngle:i,endAngle:o}=r;return(i+o)/2}function Hle(e,t,n,r){const{autoRotate:i,rotateToAlignArc:o,offset:a=0,connector:l=!0,connectorLength:s=a,connectorLength2:u=0,connectorDistance:c=0}=n,f=r.getCenter(),h=nQe(t,n,r),d=Math.sin(h)>0?1:-1,p=Fle(h,i,o),g={textAlign:d>0||oH(r)?"start":"end",textBaseline:"middle",rotate:p},m=tQe(t,n,r),v=m+(l?s:a),[[y,b],[C,x],[S,w]]=Hhn(f,h,m,v,l?u:0),O=l?+c*d:0,$=S+O,P=w,T={connector:l,connectorPoints:[[C-$,x-P],[S-$,w-P]]};return Object.assign(Object.assign({x0:y,y0:b,x:S+O,y:w},g),T)}function Whn(e,t,n,r){const{bounds:i}=n;return i.length===1?eQe(e,t,n):(oH(r)?JZe:BC(r)?Hle:QZe)(e,t,n,r)}var qhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?1:-1,d=s[0]+(f+ +a)*h,{x:p}=l,g=d-p;return l.x+=g,l.connectorPoints[0][0]-=g,l}var Uhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?1:-1,[g,m]=F7(c,d,h);return l.x=g+(o+a)*p,l.y=m,l}const Khn=Object.freeze(Object.defineProperty({__proto__:null,area:Bhn,bottom:_p,bottomLeft:_p,bottomRight:_p,inside:_p,left:_p,outside:Whn,right:_p,spider:Vhn,surround:Ghn,top:_p,topLeft:_p,topRight:_p},Symbol.toStringTag,{value:"Module"}));var IEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,theme:r}=t,{render:i}=e;return(o,a)=>{const{text:l,x:s,y:u,transform:c="",transformOrigin:f,className:h=""}=a,d=IEe(a,["text","x","y","transform","transformOrigin","className"]),p=Yhn(o,a,n,r,e),{rotate:g=0,transform:m=""}=p,v=IEe(p,["rotate","transform"]);return Un(new IZe).call(kn,v).style("text",`${l}`).style("className",`${h} g2-label`).style("innerHTML",i?i(l,a.datum,a.index):void 0).style("labelTransform",`${m} rotate(${+g}) ${c}`.trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(kn,d).node()}};rQe.props={defaultMarker:"point"};var NEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{arrow:n,colorAttribute:r}=e,i=NEe(e,["arrow","colorAttribute"]),{coordinate:o,document:a}=t;return(l,s,u)=>{const{color:c,stroke:f}=u,h=NEe(u,["color","stroke"]),{d,color:p=c}=s,[g,m]=o.getSize();return Un(a.createElement("path",{})).call(kn,h).style("d",typeof d=="function"?d({width:g,height:m}):d).style(r,p).call(kn,i).node()}};Wle.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const iQe=(e,t)=>Wle(Object.assign({colorAttribute:"fill"},e),t);iQe.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const oQe=(e,t)=>Wle(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);oQe.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Zhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{document:n}=t;return(r,i,o)=>{const{transform:a}=i,{color:l}=o,s=Zhn(o,["color"]),{color:u=l}=i,[c,...f]=r,h=wu();return h.moveTo(...c),f.forEach(([d,p])=>{h.lineTo(d,p)}),h.closePath(),Un(n.createElement("path",{})).call(kn,s).style("d",h.toString()).style("stroke",u||l).style("fill",u||l).style("fillOpacity",.4).style("transform",a).call(kn,e).node()}};aQe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function lQe(e){var t,n,r,i=e||1;function o(l,s){++t>i&&(r=n,a(1),++t),n[l]=s}function a(l){t=0,n=Object.create(null),l||(r=Object.create(null))}return a(),{clear:a,has:function(l){return n[l]!==void 0||r[l]!==void 0},get:function(l){var s=n[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return o(l,s),s},set:function(l,s){n[l]!==void 0?n[l]=s:o(l,s)}}}lQe(3);function Qhn(e,t=(...r)=>`${r[0]}`,n=16){const r=lQe(n);return(...i)=>{const o=t(...i);let a=r.get(o);return r.has(o)?r.get(o):(a=e(...i),r.set(o,a),a)}}function Jhn(e){return typeof e=="string"?e.split(" ").map(t=>{const[n,r]=t.split(":");return[+n,r]}):e}function fL(e,t,n){const r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}const e1n=Qhn((e,t,n)=>{const r=fL(n,e*2,e*2),i=r.getContext("2d"),o=e,a=e;if(t===1)i.beginPath(),i.arc(o,a,e,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{const l=i.createRadialGradient(o,a,e*t,o,a,e);l.addColorStop(0,"rgba(0,0,0,1)"),l.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=l,i.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);function t1n(e,t){const r=fL(t,256,1).getContext("2d"),i=r.createLinearGradient(0,0,256,1);return Jhn(e).forEach(([o,a])=>{i.addColorStop(o,a)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}function n1n(e,t,n,r,i,o){const{blur:a}=i;let l=r.length;for(;l--;){const{x:s,y:u,value:c,radius:f}=r[l],h=Math.min(c,n),d=s-f,p=u-f,g=e1n(f,1-a,o),m=(h-t)/(n-t);e.globalAlpha=Math.max(m,.001),e.drawImage(g,d,p)}return e}function r1n(e,t,n,r,i){const{minOpacity:o,opacity:a,maxOpacity:l,useGradientOpacity:s}=i,u=0,c=0,f=t,h=n,d=e.getImageData(u,c,f,h),p=d.data,g=p.length;for(let m=3;m{const i=e[r];return t(i,r)||(n[r]=i),n},{})}const sQe=(e,t)=>{const{gradient:n,opacity:r,maxOpacity:i,minOpacity:o,blur:a,useGradientOpacity:l}=e,s=o1n(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:u,createCanvas:c,document:f}=t;return(h,d,p)=>{const{transform:g}=d,[m,v]=u.getSize(),y=h.map(w=>({x:w[0],y:w[1],value:w[2],radius:w[3]})),b=$c(h,w=>w[2]),C=ri(h,w=>w[2]),S=m&&v?i1n(m,v,b,C,y,a1n({gradient:n,opacity:r,minOpacity:o,maxOpacity:i,blur:a,useGradientOpacity:l},w=>w===void 0),c):{canvas:null};return Un(f.createElement("image",{})).call(kn,p).style("x",0).style("y",0).style("width",m).style("height",v).style("src",S.canvas).style("transform",g).call(kn,s).node()}};sQe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var l1n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{render:n}=e,r=l1n(e,["render"]);return i=>{const[[o,a]]=i;return n(Object.assign(Object.assign({},r),{x:o,y:a}),t)}};cQe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const AEe=5e3;function kEe(e,t,n){return e+(t-e)*n}function s1n(e,t,n,r){return t===0?[[e+1/2*n/Math.PI/2,r/2],[e+1/2*n/Math.PI,r],[e+n/4,r]]:t===1?[[e+1/2*n/Math.PI/2*(Math.PI-2),r],[e+1/2*n/Math.PI/2*(Math.PI-1),r/2],[e+n/4,0]]:t===2?[[e+1/2*n/Math.PI/2,-r/2],[e+1/2*n/Math.PI,-r],[e+n/4,-r]]:[[e+1/2*n/Math.PI/2*(Math.PI-2),-r],[e+1/2*n/Math.PI/2*(Math.PI-1),-r/2],[e+n/4,0]]}function c1n(e,t,n,r,i,o,a){const l=Math.ceil(2*e/n*4)*4,s=[];let u=r;for(;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*n;const c=o-e+u-e*2;s.push(["M",c,t]);let f=0;for(let h=0;h`)},style:shn(a)})||this,r.timestamp=-1,r.prevCustomContentKey=r.attributes.contentKey,r.initShape(),r.render(r.attributes,r),r}return Object.defineProperty(t.prototype,"HTMLTooltipElement",{get:function(){return this.element},enumerable:!1,configurable:!0}),t.prototype.getContainer=function(){return this.element},Object.defineProperty(t.prototype,"elementSize",{get:function(){var n=this.element.offsetWidth,r=this.element.offsetHeight;return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"HTMLTooltipItemsElements",{get:function(){var n=this.attributes,r=n.data,i=n.template;return r.map(function(o,a){var l=o.name,s=l===void 0?"":l,u=o.color,c=u===void 0?"black":u,f=o.index,h=Ci(o,["name","color","index"]),d=Mt({name:s,color:c,index:f??a},h);return W8e(lnn(i.item,d))})},enumerable:!1,configurable:!0}),t.prototype.render=function(n,r){this.renderHTMLTooltipElement(),this.updatePosition()},t.prototype.destroy=function(){var n;(n=this.element)===null||n===void 0||n.remove(),e.prototype.destroy.call(this)},t.prototype.show=function(n,r){var i=this;if(n!==void 0&&r!==void 0){var o=this.element.style.visibility==="hidden",a=function(){i.attributes.x=n??i.attributes.x,i.attributes.y=r??i.attributes.y,i.updatePosition()};o?this.closeTransition(a):a()}this.element.style.visibility="visible"},t.prototype.hide=function(n,r){n===void 0&&(n=0),r===void 0&&(r=0);var i=this.attributes.enterable;i&&this.isCursorEntered(n,r)||(this.element.style.visibility="hidden")},t.prototype.initShape=function(){var n=this.attributes.template;this.element=W8e(n.container),this.id&&this.element.setAttribute("id",this.id)},t.prototype.renderCustomContent=function(){if(!(this.prevCustomContentKey!==void 0&&this.prevCustomContentKey===this.attributes.contentKey)){this.prevCustomContentKey=this.attributes.contentKey;var n=this.attributes.content;n&&(typeof n=="string"?this.element.innerHTML=n:this.element.replaceChildren(n))}},t.prototype.renderHTMLTooltipElement=function(){var n,r,i=this.attributes,o=i.template,a=i.title,l=i.enterable,s=i.style,u=i.content,c=ree(o.prefixCls),f=this.element;if(this.element.style.pointerEvents=l?"auto":"none",u)this.renderCustomContent();else{a?(f.innerHTML=o.title,f.getElementsByClassName(c.TITLE)[0].innerHTML=a):(r=(n=f.getElementsByClassName(c.TITLE))===null||n===void 0?void 0:n[0])===null||r===void 0||r.remove();var h=this.HTMLTooltipItemsElements,d=document.createElement("ul");d.className=c.LIST,d.replaceChildren.apply(d,Kt([],Ae(h),!1));var p=this.element.querySelector(".".concat(c.LIST));p?p.replaceWith(d):f.appendChild(d)}Jdn(f,s)},t.prototype.getRelativeOffsetFromCursor=function(n){var r=this.attributes,i=r.position,o=r.offset,a=n||i,l=a.split("-"),s={left:[-1,0],right:[1,0],top:[0,-1],bottom:[0,1]},u=this.elementSize,c=u.width,f=u.height,h=[-c/2,-f/2];return l.forEach(function(d){var p=Ae(h,2),g=p[0],m=p[1],v=Ae(s[d],2),y=v[0],b=v[1];h=[g+(c/2+o[0])*y,m+(f/2+o[1])*b]}),h},t.prototype.setOffsetPosition=function(n){var r=Ae(n,2),i=r[0],o=r[1],a=this.attributes,l=a.x,s=l===void 0?0:l,u=a.y,c=u===void 0?0:u,f=a.container,h=f.x,d=f.y;this.element.style.left="".concat(+s+h+i,"px"),this.element.style.top="".concat(+c+d+o,"px")},t.prototype.updatePosition=function(){var n=this.attributes.showDelay,r=n===void 0?60:n,i=Date.now();this.timestamp>0&&i-this.timestampy+C,top:mb+x},w=[];c.split("-").forEach(function($){S[$]?w.push(v[$]):w.push($)});var O=w.join("-");return this.getRelativeOffsetFromCursor(O)},t.prototype.isCursorEntered=function(n,r){if(this.element){var i=this.element.getBoundingClientRect(),o=i.x,a=i.y,l=i.width,s=i.height;return new Yi(o,a,l,s).isPointIn(n,r)}return!1},t.prototype.closeTransition=function(n){var r=this,i=this.element.style.transition;this.element.style.transition="none",n(),setTimeout(function(){r.element.style.transition=i},10)},t.tag="tooltip",t}(Wa),uhn=function(e){$n(t,e);function t(n){var r=e.call(this,n)||this;r.layoutEvents=[pr.BOUNDS_CHANGED,pr.INSERTED,pr.REMOVED],r.$margin=tl(0),r.$padding=tl(0);var i=n.style||{},o=i.margin,a=o===void 0?0:o,l=i.padding,s=l===void 0?0:l;return r.margin=a,r.padding=s,r.isMutationObserved=!0,r.bindEvents(),r}return Object.defineProperty(t.prototype,"margin",{get:function(){return this.$margin},set:function(n){this.$margin=tl(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.$padding},set:function(n){this.$padding=tl(n)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var n=this.attributes,r=n.x,i=r===void 0?0:r,o=n.y,a=o===void 0?0:o,l=n.width,s=n.height,u=Ae(this.$margin,4),c=u[0],f=u[1],h=u[2],d=u[3];return new Yi(i-d,a-c,l+d+f,s+c+h)},t.prototype.appendChild=function(n,r){return n.isMutationObserved=!0,e.prototype.appendChild.call(this,n,r),n},t.prototype.getAvailableSpace=function(){var n=this.attributes,r=n.width,i=n.height,o=Ae(this.$padding,4),a=o[0],l=o[1],s=o[2],u=o[3],c=Ae(this.$margin,4),f=c[0],h=c[3];return new Yi(u+h,a+f,r-u-l,i-a-s)},t.prototype.layout=function(){if(!(!this.attributes.display||!this.isConnected)&&!this.children.some(function(r){return!r.isConnected}))try{var n=Ldn(this.getAvailableSpace(),this.children.map(function(r){return r.getBBox()}),this.attributes);this.children.forEach(function(r,i){var o=n[i],a=o.x,l=o.y;r.attr({x:a,y:l})})}catch{}},t.prototype.bindEvents=function(){var n=this;this.layoutEvents.forEach(function(r){n.addEventListener(r,function(i){i.target.isMutationObserved=!0,n.layout()})})},t.prototype.attributeChangedCallback=function(n,r,i){n==="margin"?this.margin=i:n==="padding"&&(this.padding=i),this.layout()},t}(Ha),zK=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0&&(o=t),r<0&&(o=r),n>0&&(a=n),i<0&&(a=i),[o,a]}function fhn(e,t=[]){const[n=0,r=0,i=n,o=r]=t,a=e.parentNode,l=a.getEulerAngles();a.setEulerAngles(0);const{min:s,halfExtents:u}=e.getLocalBounds(),[c,f]=s,[h,d]=u;return a.setEulerAngles(l),{x:c-o,y:f-n,width:h*2+o+r,height:d*2+n+i}}const phn=(e,t,n)=>{const r=Zi(e,t),i=Zi(t,n),o=Zi(n,e);return(Math.pow(r,2)+Math.pow(i,2)-Math.pow(o,2))/(2*r*i)};function hhn(e,t,n,r){const[[i,o],[a,l]]=t,[s,u]=dhn(e);if(i===a&&o===l)return S0()([[0,0],[s,u]]);const c=[[i-a,o-l]].concat(n.length?n:[[0,0]]),f=[r[0]-a,r[1]-l],[h,d]=c;if(phn(f,h,d)>0){const p=(()=>{const{min:g,max:m}=e.getLocalBounds(),v=h[0]+(h[1]-f[1])*(h[1]-0)/(h[0]-f[0]);return m[0]{const t=e.attributes,{className:n,class:r,transform:i,rotate:o,labelTransform:a,labelTransformOrigin:l,x:s,y:u,x0:c=s,y0:f=u,text:h,background:d,connector:p,startMarker:g,endMarker:m,coordCenter:v,innerHTML:y}=t,b=zK(t,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if([s,u,c,f].some(j=>!Ro(j))){e.children.forEach(j=>j.remove());return}const C=hn(b,"background"),{padding:x}=C,S=zK(C,["padding"]),w=hn(b,"connector"),{points:O=[]}=w,$=zK(w,["points"]),P=[[+c,+f],[+s,+u]];let T;y?T=Un(e).maybeAppend("html","html",n).style("zIndex",0).style("innerHTML",y).call(kn,Object.assign({transform:a,transformOrigin:l},b)).node():T=Un(e).maybeAppend("text","text").style("zIndex",0).style("text",h).call(kn,Object.assign({textBaseline:"middle",transform:a,transformOrigin:l},b)).node();const R=Un(e).maybeAppend("background","rect").style("zIndex",-1).call(kn,fhn(T,x)).call(kn,d?S:{}).node(),M=hhn(R,P,O,v),A=g&&new Si({id:"startMarker",style:Object.assign({x:0,y:0},hn(b,"startMarker"))}),N=m&&new Si({id:"endMarker",style:Object.assign({x:0,y:0},hn(b,"endMarker"))});Un(e).maybeAppend("connector","path").style("zIndex",0).style("path",M).style("markerStart",A).style("markerEnd",N).call(kn,p?$:{})}),NZe=(e,t)=>{const{coordinate:n}=t;return(r,i,o)=>{const{color:a,text:l="",fontSize:s,rotate:u=0,transform:c=""}=i,f={text:String(l),stroke:a,fill:a,fontSize:s},[[h,d]]=r;return Un(new IZe).style("x",h).style("y",d).call(kn,o).style("transform",`${c}rotate(${+u})`).style("coordCenter",n.getCenter()).call(kn,f).call(kn,e).node()}};NZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var iee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=e.attributes,n=iee(t,["class","x","y"]),r=hn(n,"marker"),{size:i=24}=r,o=()=>ghn(i/2),a=Un(e).maybeAppend("marker",()=>new Si({})).call(u=>u.node().update(Object.assign({symbol:o},r))).node(),[l,s]=mhn(a);Un(e).maybeAppend("text","text").style("x",l).style("y",s).call(kn,n)}),AZe=(e,t)=>{const n=iee(e,[]);return(r,i,o)=>{const{color:a}=o,l=iee(o,["color"]),{color:s=a,text:u=""}=i,c={text:String(u),stroke:s,fill:s},[[f,h]]=r;return Un(new vhn).call(kn,l).style("x",f).style("y",h).call(kn,c).call(kn,n).node()}};AZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var yhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t(f)))o=!0;else{if(n.push(u),r.push(c),o&&a){o=!1;const[f,h]=a;i.push([f,u,h,c])}a=[u,c]}}return[n.concat(r),i]}const OEe=B4(e=>{const{areaPath:t,connectPath:n,areaStyle:r,connectStyle:i}=e.attributes,o=e.ownerDocument;Un(e).maybeAppend("connect-path",()=>o.createElement("path",{})).style("d",n).call(kn,i),Un(e).maybeAppend("area-path",()=>o.createElement("path",{})).style("d",t).call(kn,r)}),Dd=(e,t)=>{const{curve:n,gradient:r=!1,defined:i=u=>!Number.isNaN(u)&&u!==void 0&&u!==null,connect:o=!1}=e,a=yhn(e,["curve","gradient","defined","connect"]),{coordinate:l,document:s}=t;return(u,c,f)=>{const{color:h}=f,{color:d=h,seriesColor:p,seriesX:g,seriesY:m}=c,v=Hi(l),y=nYe(l,c),b=r&&p?eYe(p,g,m,r,void 0,v):d,C=Object.assign(Object.assign(Object.assign(Object.assign({},f),{stroke:b,fill:b}),y&&{transform:y}),a),[x,S]=bhn(u,i),w=hn(C,"connect"),O=!!S.length,$=P=>Un(s.createElement("path",{})).style("d",P||"").call(kn,C).node();if(Ai(l)){const P=T=>{const R=l.getCenter(),M=T.slice(0,T.length/2),A=T.slice(T.length/2);return Van().angle((N,j)=>j4(go(M[j],R))).outerRadius((N,j)=>Zi(M[j],R)).innerRadius((N,j)=>Zi(A[j],R)).defined((N,j)=>[...M[j],...A[j]].every(i)).curve(n)(A)};return!O||o&&!Object.keys(w).length?$(P(x)):O&&!o?$(P(u)):Un(new OEe).style("areaStyle",C).style("connectStyle",Object.assign(Object.assign({},w),a)).style("areaPath",P(u)).style("connectPath",S.map(P).join("")).node()}else{const P=T=>{const R=T.slice(0,T.length/2),M=T.slice(T.length/2);return v?NJ().y((A,N)=>R[N][1]).x1((A,N)=>R[N][0]).x0((A,N)=>M[N][0]).defined((A,N)=>[...R[N],...M[N]].every(i)).curve(n)(R):NJ().x((A,N)=>R[N][0]).y1((A,N)=>R[N][1]).y0((A,N)=>M[N][1]).defined((A,N)=>[...R[N],...M[N]].every(i)).curve(n)(R)};return!O||o&&!Object.keys(w).length?$(P(x)):O&&!o?$(P(u)):Un(new OEe).style("areaStyle",C).style("connectStyle",Object.assign(Object.assign({},w),a)).style("areaPath",P(u)).style("connectPath",S.map(P).join("")).node()}}};Dd.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const kZe=(e,t)=>{const{coordinate:n}=t;return(...r)=>{const i=Ai(n)?tle:MP;return Dd(Object.assign({curve:i},e),t)(...r)}};kZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"square"});var Chn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=Chn(e,[]),{coordinate:r}=t;return(...i)=>{const o=Ai(r)?tXe:Hi(r)?aXe:oXe;return Dd(Object.assign({curve:o},n),t)(...i)}};jZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"smooth"});const DZe=(e,t)=>(...n)=>Dd(Object.assign({curve:lXe},e),t)(...n);DZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"hvh"});const LZe=(e,t)=>(...n)=>Dd(Object.assign({curve:sXe},e),t)(...n);LZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"vh"});const zZe=(e,t)=>(...n)=>Dd(Object.assign({curve:cXe},e),t)(...n);zZe.props=Object.assign(Object.assign({},Dd.props),{defaultMarker:"hv"});const BZe=(e,t)=>{const{arrow:n=!1}=e;return(...r)=>Ple(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};BZe.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var EEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=EEe(e,[]),{document:r}=t;return(i,o,a)=>{const{color:l}=a,s=EEe(a,["color"]),{color:u=l,transform:c}=o,[f,h]=i,d=wu();return d.moveTo(f[0],f[1]),d.bezierCurveTo(f[0]/2+h[0]/2,f[1],f[0]/2+h[0]/2,h[1],h[0],h[1]),Un(r.createElement("path",{})).call(kn,s).style("d",d.toString()).style("stroke",u).style("transform",c).call(kn,n).node()}};FZe.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var $Ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{cornerRatio:n=1/3}=e,r=$Ee(e,["cornerRatio"]),{coordinate:i,document:o}=t;return(a,l,s)=>{const{defaultColor:u}=s,c=$Ee(s,["defaultColor"]),{color:f=u,transform:h}=l,[d,p]=a,g=Shn(d,p,i,n);return Un(o.createElement("path",{})).call(kn,c).style("d",g.toString()).style("stroke",f).style("transform",h).call(kn,r).node()}};HZe.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var PEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=PEe(e,[]),{coordinate:r,document:i}=t;return(o,a,l)=>{const{color:s}=l,u=PEe(l,["color"]),{color:c=s,transform:f}=a,[h,d]=o,p=wu();if(p.moveTo(h[0],h[1]),Ai(r)){const g=r.getCenter();p.quadraticCurveTo(g[0],g[1],d[0],d[1])}else{const g=BKe(h,d),m=Zi(h,d)/2;L7(p,h,d,g,m)}return Un(i.createElement("path",{})).call(kn,u).style("d",p.toString()).style("stroke",c).style("transform",f).call(kn,n).node()}};WZe.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function qZe(e={}){const{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function os(e={}){return[...qZe(e),{name:"title",scale:"identity"}]}function H0(){return[{type:KF,channel:"color"},{type:YF,channel:["x","y"]}]}function WC(){return[{type:KF,channel:"x"},{type:YF,channel:["y"]}]}function xhn(){return[{type:KF,channel:"color"},{type:YF,channel:["position"]}]}function qC(e={}){return qZe(e)}function No(){return[{type:OGe}]}function Ko(){return[]}function BK(e,t){return e.getBandWidth(e.invert(t))}function lb(e,t,n={}){const{x:r,y:i,series:o}=t,{x:a,y:l,series:s}=e,{style:{bandOffset:u=s?0:.5,bandOffsetX:c=u,bandOffsetY:f=u}={}}=n,h=!!(a!=null&&a.getBandWidth),d=!!(l!=null&&l.getBandWidth),p=!!(s!=null&&s.getBandWidth);return!h&&!d?g=>g:(g,m)=>{const v=h?BK(a,r[m]):0,y=d?BK(l,i[m]):0,C=p&&o?(BK(s,o[m])/2+ +o[m])*v:0,[x,S]=g;return[x+c*v+C,S+f*y]}}function fL(e){return parseFloat(e)/100}function zle(e,t,n,r){const{x:i,y:o}=n,{innerWidth:a,innerHeight:l}=r.getOptions(),s=Array.from(e,u=>{const c=i[u],f=o[u],h=typeof c=="string"?fL(c)*a:+c,d=typeof f=="string"?fL(f)*l:+f;return[[h,d]]});return[e,s]}function Tf(e){return typeof e=="function"?e:t=>t[e]}function FK(e,t){return Array.from(e,Tf(t))}function Ble(e,t){const{source:n=c=>c.source,target:r=c=>c.target,value:i=c=>c.value}=t,{links:o,nodes:a}=e,l=FK(o,n),s=FK(o,r),u=FK(o,i);return{links:o.map((c,f)=>({target:s[f],source:l[f],value:u[f]})),nodes:a||Array.from(new Set([...l,...s]),c=>({key:c}))}}var _hn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l}=a,s=_hn(a,["color"]),{color:u=l,src:c="",size:f=32,transform:h=""}=o;let{width:d=f,height:p=f}=e;const[[g,m]]=i,[v,y]=n.getSize();d=typeof d=="string"?fL(d)*v:d,p=typeof p=="string"?fL(p)*y:p;const b=g-Number(d)/2,C=m-Number(p)/2;return Un(r.createElement("image",{})).call(kn,s).style("x",b).style("y",C).style("img",c).style("stroke",u).style("transform",h).call(kn,e).style("width",d).style("height",p).node()}};VZe.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var whn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iZi(a,r));return i.forEach((a,l)=>{if(l===0){n.moveTo(a[0],a[1]);return}const s=o[l],u=e[l-1],c=o[l-1];c!==void 0&&Math.abs(s-c)<1e-10?L7(n,u,a,r,s):n.lineTo(a[0],a[1])}),n.closePath(),n}return pdn(n,e)}const UZe=(e,t)=>{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l}=a,s=whn(a,["color"]),{color:u=l,transform:c}=o,f=Ohn(i,n);return Un(r.createElement("path",{})).call(kn,s).style("d",f.toString()).style("stroke",u).style("fill",u).style("transform",c).call(kn,e).node()}};UZe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var TEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=TEe(e,[]),{coordinate:r,document:i}=t;return(o,a,l)=>{const{color:s}=l,u=TEe(l,["color"]),{color:c=s,transform:f}=a,h=Ehn(o,r);return Un(i.createElement("path",{})).call(kn,u).style("d",h.toString()).style("fill",c||s).style("stroke",c||s).style("transform",f).call(kn,n).node()}};GZe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var $hn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l,transform:s}=o,{color:u,fill:c=u,stroke:f=u}=a,h=$hn(a,["color","fill","stroke"]),d=Phn(i,n);return Un(r.createElement("path",{})).call(kn,h).style("d",d.toString()).style("stroke",f).style("fill",l||c).style("transform",s).call(kn,e).node()}};KZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Thn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,document:r}=t;return(i,o,a)=>{const{color:l,transform:s}=o,u=4,{color:c,fill:f=c,stroke:h=c}=a,d=Thn(a,["color","fill","stroke"]),p=Mhn(i,n,u);return Un(r.createElement("path",{})).call(kn,d).style("d",p.toString()).style("stroke",h).style("fill",l||f).style("transform",s).call(kn,e).node()}};XZe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var MEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir[0]).y(r=>r[1])(e);const n=t.getCenter();return iH()({startAngle:0,endAngle:Math.PI*2,outerRadius:Zi(e[0],n),innerRadius:Zi(e[1],n)})}function Nhn(e,t){if(!Ai(e))return t;const[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}const Fle=(e,t)=>{const{arrow:n,arrowSize:r=4}=e,i=MEe(e,["arrow","arrowSize"]),{coordinate:o,document:a}=t;return(l,s,u)=>{const{color:c,lineWidth:f}=u,h=MEe(u,["color","lineWidth"]),{color:d=c,size:p=f}=s,g=n?Rhn(a,r,Object.assign({fill:i.stroke||d,stroke:i.stroke||d},hn(i,"arrow"))):null,m=Ihn(l,o),v=Nhn(o,s.transform);return Un(a.createElement("path",{})).call(kn,h).style("d",m).style("stroke",d).style("lineWidth",p).style("transform",v).style("markerEnd",g).call(kn,i).node()}};Fle.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var REe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[0]).y(t=>t[1])(e)}function jhn(e,t,n,r,i=0){const[[o,a],[l,s]]=t;if(Hi(e)){const h=o+n,d=l+r,p=h+i;return[[h,a],[p,a],[p,s],[d,s]]}const u=a-n,c=s-r,f=u-i;return[[o,u],[o,f],[l,f],[l,c]]}const YZe=(e,t)=>{const{offset:n=0,offset1:r=n,offset2:i=n,connectLength1:o,endMarker:a=!0}=e,l=REe(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:s}=t;return(u,c,f)=>{const{color:h,connectLength1:d}=f,p=REe(f,["color","connectLength1"]),{color:g,transform:m}=c,v=jhn(s,u,r,i,o??d),y=hn(Object.assign(Object.assign({},l),f),"endMarker");return Un(new is).call(kn,p).style("path",khn(v)).style("stroke",g||h).style("transform",m).style("markerEnd",a?new Si({className:"marker",style:Object.assign(Object.assign({},y),{symbol:Ahn})}):null).call(kn,l).node()}};YZe.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function ZZe(e){return e.replace(/-(\w)/g,function(t,n){return n.toUpperCase()})}function Dhn(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Lhn(e,t,n,r){const i=t.length/2,o=t.slice(0,i),a=t.slice(i);let l=zC(o,(d,p)=>Math.abs(d[1]-a[p][1]));l=Math.max(Math.min(l,i-2),1);const s=d=>[o[d][0],(o[d][1]+a[d][1])/2],u=s(l),c=s(l-1),f=s(l+1),h=yu(go(f,c))/Math.PI*180;return{x:u[0],y:u[1],transform:`rotate(${h})`,textAlign:"center",textBaseline:"middle"}}function QZe(e,t,n,r){const{bounds:i}=n,[[o,a],[l,s]]=i,u=l-o,c=s-a,f=h=>{const{x:d,y:p}=h,g=q8e(n.x,u),m=q8e(n.y,c);return Object.assign(Object.assign({},h),{x:(g||d)+o,y:(m||p)+a})};return f(e==="left"?{x:0,y:c/2,textAnchor:"start",textBaseline:"middle"}:e==="right"?{x:u,y:c/2,textAnchor:"end",textBaseline:"middle"}:e==="top"?{x:u/2,y:0,textAnchor:"center",textBaseline:"top"}:e==="bottom"?{x:u/2,y:c,textAnchor:"center",textBaseline:"bottom"}:e==="top-left"?{x:0,y:0,textAnchor:"start",textBaseline:"top"}:e==="top-right"?{x:u,y:0,textAnchor:"end",textBaseline:"top"}:e==="bottom-left"?{x:0,y:c,textAnchor:"start",textBaseline:"bottom"}:e==="bottom-right"?{x:u,y:c,textAnchor:"end",textBaseline:"bottom"}:{x:u/2,y:c/2,textAnchor:"center",textBaseline:"middle"})}function JZe(e,t,n,r){const{y:i,y1:o,autoRotate:a,rotateToAlignArc:l}=n,s=r.getCenter(),u=ob(r,t,[i,o]),{innerRadius:c,outerRadius:f,startAngle:h,endAngle:d}=u,p=e==="inside"?(h+d)/2:d,g=Hle(p,a,l),m=(()=>{const[v,y]=t,b=c+(f-c)*.5,[C,x]=e==="inside"?H7(s,p,b):BKe(v,y);return{x:C,y:x}})();return Object.assign(Object.assign({},m),{textAlign:e==="inside"?"center":"start",textBaseline:"middle",rotate:g})}function H7(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function Hle(e,t,n){if(!t)return 0;const r=n?0:Math.sin(e)<0?90:-90;return e/Math.PI*180+r}function zhn(e,t,n,r){const{y:i,y1:o,autoRotate:a,rotateToAlignArc:l,radius:s=.5,offset:u=0}=n,c=ob(r,t,[i,o]),{startAngle:f,endAngle:h}=c,d=r.getCenter(),p=(f+h)/2,m={textAlign:"center",textBaseline:"middle",rotate:Hle(p,a,l)},{innerRadius:v,outerRadius:y}=c,C=v+(y-v)*s+u,[x,S]=H7(d,p,C);return Object.assign({x,y:S},m)}function IEe(e){return e===void 0?null:e}function eQe(e,t,n,r){const{bounds:i}=n,[o]=i;return{x:IEe(o[0]),y:IEe(o[1])}}function _p(e,t,n,r){const{bounds:i}=n;return i.length===1?eQe(e,t,n):(aH(r)?JZe:BC(r)?zhn:QZe)(e,t,n,r)}function Bhn(e,t,n,r,i){const[o,a]=H7(e,t,n),[l,s]=H7(e,t,r),u=Math.sin(t)>0?1:-1;return[[o,a],[l,s],[l+u*i,s]]}function tQe(e,t,n){const r=ob(n,e,[t.y,t.y1]),{innerRadius:i,outerRadius:o}=r;return i+(o-i)}function nQe(e,t,n){const r=ob(n,e,[t.y,t.y1]),{startAngle:i,endAngle:o}=r;return(i+o)/2}function Wle(e,t,n,r){const{autoRotate:i,rotateToAlignArc:o,offset:a=0,connector:l=!0,connectorLength:s=a,connectorLength2:u=0,connectorDistance:c=0}=n,f=r.getCenter(),h=nQe(t,n,r),d=Math.sin(h)>0?1:-1,p=Hle(h,i,o),g={textAlign:d>0||aH(r)?"start":"end",textBaseline:"middle",rotate:p},m=tQe(t,n,r),v=m+(l?s:a),[[y,b],[C,x],[S,w]]=Bhn(f,h,m,v,l?u:0),O=l?+c*d:0,$=S+O,P=w,T={connector:l,connectorPoints:[[C-$,x-P],[S-$,w-P]]};return Object.assign(Object.assign({x0:y,y0:b,x:S+O,y:w},g),T)}function Fhn(e,t,n,r){const{bounds:i}=n;return i.length===1?eQe(e,t,n):(aH(r)?JZe:BC(r)?Wle:QZe)(e,t,n,r)}var Hhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?1:-1,d=s[0]+(f+ +a)*h,{x:p}=l,g=d-p;return l.x+=g,l.connectorPoints[0][0]-=g,l}var qhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?1:-1,[g,m]=H7(c,d,h);return l.x=g+(o+a)*p,l.y=m,l}const Uhn=Object.freeze(Object.defineProperty({__proto__:null,area:Lhn,bottom:_p,bottomLeft:_p,bottomRight:_p,inside:_p,left:_p,outside:Fhn,right:_p,spider:Whn,surround:Vhn,top:_p,topLeft:_p,topRight:_p},Symbol.toStringTag,{value:"Module"}));var NEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{coordinate:n,theme:r}=t,{render:i}=e;return(o,a)=>{const{text:l,x:s,y:u,transform:c="",transformOrigin:f,className:h=""}=a,d=NEe(a,["text","x","y","transform","transformOrigin","className"]),p=Khn(o,a,n,r,e),{rotate:g=0,transform:m=""}=p,v=NEe(p,["rotate","transform"]);return Un(new IZe).call(kn,v).style("text",`${l}`).style("className",`${h} g2-label`).style("innerHTML",i?i(l,a.datum,a.index):void 0).style("labelTransform",`${m} rotate(${+g}) ${c}`.trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(kn,d).node()}};rQe.props={defaultMarker:"point"};var AEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{arrow:n,colorAttribute:r}=e,i=AEe(e,["arrow","colorAttribute"]),{coordinate:o,document:a}=t;return(l,s,u)=>{const{color:c,stroke:f}=u,h=AEe(u,["color","stroke"]),{d,color:p=c}=s,[g,m]=o.getSize();return Un(a.createElement("path",{})).call(kn,h).style("d",typeof d=="function"?d({width:g,height:m}):d).style(r,p).call(kn,i).node()}};qle.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const iQe=(e,t)=>qle(Object.assign({colorAttribute:"fill"},e),t);iQe.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const oQe=(e,t)=>qle(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);oQe.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var Xhn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{document:n}=t;return(r,i,o)=>{const{transform:a}=i,{color:l}=o,s=Xhn(o,["color"]),{color:u=l}=i,[c,...f]=r,h=wu();return h.moveTo(...c),f.forEach(([d,p])=>{h.lineTo(d,p)}),h.closePath(),Un(n.createElement("path",{})).call(kn,s).style("d",h.toString()).style("stroke",u||l).style("fill",u||l).style("fillOpacity",.4).style("transform",a).call(kn,e).node()}};aQe.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};function lQe(e){var t,n,r,i=e||1;function o(l,s){++t>i&&(r=n,a(1),++t),n[l]=s}function a(l){t=0,n=Object.create(null),l||(r=Object.create(null))}return a(),{clear:a,has:function(l){return n[l]!==void 0||r[l]!==void 0},get:function(l){var s=n[l];if(s!==void 0)return s;if((s=r[l])!==void 0)return o(l,s),s},set:function(l,s){n[l]!==void 0?n[l]=s:o(l,s)}}}lQe(3);function Yhn(e,t=(...r)=>`${r[0]}`,n=16){const r=lQe(n);return(...i)=>{const o=t(...i);let a=r.get(o);return r.has(o)?r.get(o):(a=e(...i),r.set(o,a),a)}}function Zhn(e){return typeof e=="string"?e.split(" ").map(t=>{const[n,r]=t.split(":");return[+n,r]}):e}function pL(e,t,n){const r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}const Qhn=Yhn((e,t,n)=>{const r=pL(n,e*2,e*2),i=r.getContext("2d"),o=e,a=e;if(t===1)i.beginPath(),i.arc(o,a,e,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{const l=i.createRadialGradient(o,a,e*t,o,a,e);l.addColorStop(0,"rgba(0,0,0,1)"),l.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=l,i.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);function Jhn(e,t){const r=pL(t,256,1).getContext("2d"),i=r.createLinearGradient(0,0,256,1);return Zhn(e).forEach(([o,a])=>{i.addColorStop(o,a)}),r.fillStyle=i,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data}function e1n(e,t,n,r,i,o){const{blur:a}=i;let l=r.length;for(;l--;){const{x:s,y:u,value:c,radius:f}=r[l],h=Math.min(c,n),d=s-f,p=u-f,g=Qhn(f,1-a,o),m=(h-t)/(n-t);e.globalAlpha=Math.max(m,.001),e.drawImage(g,d,p)}return e}function t1n(e,t,n,r,i){const{minOpacity:o,opacity:a,maxOpacity:l,useGradientOpacity:s}=i,u=0,c=0,f=t,h=n,d=e.getImageData(u,c,f,h),p=d.data,g=p.length;for(let m=3;m{const i=e[r];return t(i,r)||(n[r]=i),n},{})}const sQe=(e,t)=>{const{gradient:n,opacity:r,maxOpacity:i,minOpacity:o,blur:a,useGradientOpacity:l}=e,s=r1n(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:u,createCanvas:c,document:f}=t;return(h,d,p)=>{const{transform:g}=d,[m,v]=u.getSize(),y=h.map(w=>({x:w[0],y:w[1],value:w[2],radius:w[3]})),b=$c(h,w=>w[2]),C=ri(h,w=>w[2]),S=m&&v?n1n(m,v,b,C,y,i1n({gradient:n,opacity:r,minOpacity:o,maxOpacity:i,blur:a,useGradientOpacity:l},w=>w===void 0),c):{canvas:null};return Un(f.createElement("image",{})).call(kn,p).style("x",0).style("y",0).style("width",m).style("height",v).style("src",S.canvas).style("transform",g).call(kn,s).node()}};sQe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var o1n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{render:n}=e,r=o1n(e,["render"]);return i=>{const[[o,a]]=i;return n(Object.assign(Object.assign({},r),{x:o,y:a}),t)}};cQe.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};const kEe=5e3;function jEe(e,t,n){return e+(t-e)*n}function a1n(e,t,n,r){return t===0?[[e+1/2*n/Math.PI/2,r/2],[e+1/2*n/Math.PI,r],[e+n/4,r]]:t===1?[[e+1/2*n/Math.PI/2*(Math.PI-2),r],[e+1/2*n/Math.PI/2*(Math.PI-1),r/2],[e+n/4,0]]:t===2?[[e+1/2*n/Math.PI/2,-r/2],[e+1/2*n/Math.PI,-r],[e+n/4,-r]]:[[e+1/2*n/Math.PI/2*(Math.PI-2),-r],[e+1/2*n/Math.PI/2*(Math.PI-1),-r/2],[e+n/4,0]]}function l1n(e,t,n,r,i,o,a){const l=Math.ceil(2*e/n*4)*4,s=[];let u=r;for(;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*n;const c=o-e+u-e*2;s.push(["M",c,t]);let f=0;for(let h=0;hjEe[e]||jEe.circle,uQe=(e,t)=>{if(!t)return;const{coordinate:n}=t,{liquidOptions:r,styleOptions:i}=e,{liquidShape:o,percent:a}=r,{background:l,outline:s={},wave:u={}}=i,c=DEe(i,["background","outline","wave"]),{border:f=2,distance:h=0}=s,d=DEe(s,["border","distance"]),{length:p=192,count:g=3}=u;return(m,v,y)=>{const{document:b}=t.canvas,{color:C,fillOpacity:x}=y,S=Object.assign(Object.assign({fill:C},y),c),w=b.createElement("g",{}),[O,$]=n.getCenter(),P=n.getSize(),T=Math.min(...P)/2,M=(rs(o)?o:m1n(o))(O,$,T,...P);if(Object.keys(l).length){const k=b.createElement("path",{style:Object.assign({path:M,fill:"#fff"},l)});w.appendChild(k)}if(a>0){const k=b.createElement("path",{style:{path:M}});w.appendChild(k),w.style.clipPath=k,u1n(O,$,1-a,g,S,w,k.getBBox().y,T*2,p,!0,b)}const A=b.createElement("path",{style:{path:M,fill:"transparent",lineWidth:f+2*h,stroke:"#fff"}}),N=b.createElement("path",{style:Object.assign(Object.assign(Object.assign({path:M,stroke:C,strokeOpacity:x,lineWidth:f},S),d),{fill:"transparent"})});return w.appendChild(A),w.appendChild(N),w}};uQe.props={};function LEe(e,t){return e.getBandWidth(e.invert(t))}const zEe={rect:ab,hollow:gH,funnel:ble,pyramid:oYe},dQe=()=>(e,t,n,r)=>{const{x:i,y:o,y1:a,series:l,size:s}=n,u=t.x,c=t.series,[f]=r.getSize(),h=s?s.map(g=>+g/f):null,d=s?(g,m,v)=>{const y=g+m/2,b=h[v];return[y-b/2,y+b/2]}:(g,m,v)=>[g,g+m],p=Array.from(e,g=>{const m=LEe(u,i[g]),v=c?LEe(c,l==null?void 0:l[g]):1,y=m*v,b=(+(l==null?void 0:l[g])||0)*m,C=+i[g]+b,[x,S]=d(C,y,g),w=+o[g],O=+a[g];return[[x,w],[S,w],[S,O],[x,O]].map(M=>r.map(M))});return[e,p]};dQe.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:zEe,channels:[...os({shapes:Object.keys(zEe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...No(),{type:xP},{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const BEe={rect:ab,hollow:gH},fQe=()=>(e,t,n,r)=>{const{x:i,x1:o,y:a,y1:l}=n,s=Array.from(e,u=>{const c=[+i[u],+a[u]],f=[+o[u],+a[u]],h=[+o[u],+l[u]],d=[+i[u],+l[u]];return[c,f,h,d].map(p=>r.map(p))});return[e,s]};fQe.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:BEe,channels:[...os({shapes:Object.keys(BEe)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:xP}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const FEe={line:aYe,smooth:lYe,hv:sYe,vh:cYe,hvh:uYe,trail:dYe},v1n=(e,t,n,r)=>{var i,o;const{series:a,x:l,y:s}=n,{x:u,y:c}=t;if(l===void 0||s===void 0)throw new Error("Missing encode for x or y channel.");const f=a?Array.from(Ji(e,m=>a[m]).values()):[e],h=f.map(m=>m[0]).filter(m=>m!==void 0),d=(((i=u==null?void 0:u.getBandWidth)===null||i===void 0?void 0:i.call(u))||0)/2,p=(((o=c==null?void 0:c.getBandWidth)===null||o===void 0?void 0:o.call(c))||0)/2,g=Array.from(f,m=>m.map(v=>r.map([+l[v]+d,+s[v]+p])));return[h,g,f]},y1n=(e,t,n,r)=>{const i=Object.entries(n).filter(([a])=>a.startsWith("position")).map(([,a])=>a);if(i.length===0)throw new Error("Missing encode for position channel.");const o=Array.from(e,a=>{const l=i.map(c=>+c[a]),s=r.map(l),u=[];for(let c=0;c(e,t,n,r)=>(aH(r)?y1n:v1n)(e,t,n,r);pQe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:FEe,channels:[...os({shapes:Object.keys(FEe)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...No(),{type:NGe},{type:zae}],postInference:[...Ko(),...WC(),...whn()],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};const HEe={hollow:AYe,hollowDiamond:IYe,hollowHexagon:NYe,hollowSquare:kYe,hollowTriangleDown:DYe,hollowTriangle:jYe,hollowBowtie:RYe,point:VYe,plus:qYe,diamond:BYe,square:UYe,triangle:KYe,hexagon:FYe,cross:zYe,bowtie:LYe,hyphen:HYe,line:WYe,tick:GYe,triangleDown:XYe},hQe=e=>(t,n,r,i)=>{const{x:o,y:a,x1:l,y1:s,size:u,dx:c,dy:f}=r,[h,d]=i.getSize(),p=lb(n,r,e),g=v=>{const y=+((c==null?void 0:c[v])||0),b=+((f==null?void 0:f[v])||0),C=l?(+o[v]+ +l[v])/2:+o[v],x=s?(+a[v]+ +s[v])/2:+a[v],S=C+y,w=x+b;return[S,w]},m=u?Array.from(t,v=>{const[y,b]=g(v),C=+u[v],x=C/h,S=C/d,w=[y-x,b-S],O=[y+x,b+S];return[i.map(p(w,v)),i.map(p(O,v))]}):Array.from(t,v=>[i.map(p(g(v),v))]);return[t,m]};hQe.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:HEe,channels:[...os({shapes:Object.keys(HEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...No(),{type:nb},{type:KF}],postInference:[...Ko(),{type:wGe},...H0()]};const WEe={text:NZe,badge:AZe},gQe=e=>{const{cartesian:t=!1}=e;return t?Lle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};gQe.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:WEe,channels:[...os({shapes:Object.keys(WEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize"},{name:"rotate"}],preInference:[...No(),{type:ZF},{type:YF}],postInference:[...Ko(),...H0()]};const qEe={cell:ab,hollow:gH},mQe=()=>(e,t,n,r)=>{const{x:i,y:o}=n,a=t.x,l=t.y,s=Array.from(e,u=>{const c=a.getBandWidth(a.invert(+i[u])),f=l.getBandWidth(l.invert(+o[u])),h=+i[u],d=+o[u],p=[h,d],g=[h+c,d],m=[h+c,d+f],v=[h,d+f];return[p,g,m,v].map(y=>r.map(y))});return[e,s]};mQe.props={defaultShape:"cell",defaultLabelShape:"label",shape:qEe,composite:!1,channels:[...os({shapes:Object.keys(qEe)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...No(),{type:nb},{type:KF},{type:Bae}],postInference:[...Ko(),...H0()]};const VEe={area:kZe,smooth:jZe,hvh:DZe,vh:LZe,hv:zZe},vQe=()=>(e,t,n,r)=>{var i,o;const{x:a,y:l,y1:s,series:u}=n,{x:c,y:f}=t,h=u?Array.from(Ji(e,v=>u[v]).values()):[e],d=h.map(v=>v[0]).filter(v=>v!==void 0),p=(((i=c==null?void 0:c.getBandWidth)===null||i===void 0?void 0:i.call(c))||0)/2,g=(((o=f==null?void 0:f.getBandWidth)===null||o===void 0?void 0:o.call(f))||0)/2,m=Array.from(h,v=>{const y=v.length,b=new Array(y*2);for(let C=0;C(t,n,r,i)=>{const{x:o,y:a,x1:l=o,y1:s=a}=r,u=lb(n,r,e),c=t.map(f=>[i.map(u([+o[f],+a[f]],f)),i.map(u([+l[f],+s[f]],f))]);return[t,c]};qle.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:UEe,channels:[...os({shapes:Object.keys(UEe)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:PGe},{type:TGe}],postInference:[...Ko(),...H0()]};const GEe={image:VZe},yQe=e=>{const{cartesian:t}=e;return t?Lle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};yQe.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:GEe,channels:[...os({shapes:Object.keys(GEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...No(),{type:ZF},{type:YF}],postInference:[...Ko(),...H0()]};const KEe={polygon:UZe,ribbon:GZe},bQe=()=>(e,t,n,r)=>{const i=Object.entries(n).filter(([l])=>l.startsWith("x")).map(([,l])=>l),o=Object.entries(n).filter(([l])=>l.startsWith("y")).map(([,l])=>l),a=e.map(l=>{const s=[];for(let u=0;u(e,t,n,r)=>{const{x:i,y:o,y1:a,y2:l,y3:s,y4:u,series:c}=n,f=t.x,h=t.series,d=Array.from(e,p=>{const g=f.getBandWidth(f.invert(+i[p])),m=h?h.getBandWidth(h.invert(+(c==null?void 0:c[p]))):1,v=g*m,y=(+(c==null?void 0:c[p])||0)*g,b=+i[p]+y+v/2,[C,x,S,w,O]=[+o[p],+a[p],+l[p],+s[p],+u[p]];return[[b-v/2,O],[b+v/2,O],[b,O],[b,w],[b-v/2,w],[b+v/2,w],[b+v/2,x],[b-v/2,x],[b-v/2,S],[b+v/2,S],[b,x],[b,C],[b-v/2,C],[b+v/2,C]].map(P=>r.map(P))});return[e,d]};CQe.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:XEe,channels:[...os({shapes:Object.keys(XEe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...No(),{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const YEe={vector:$le},SQe=()=>(e,t,n,r)=>{const{x:i,y:o,size:a,rotate:l}=n,[s,u]=r.getSize(),c=e.map(f=>{const h=+l[f]/180*Math.PI,d=+a[f],p=d/s,g=d/u,m=p*Math.cos(h),v=-g*Math.sin(h);return[r.map([+i[f]-m/2,+o[f]-v/2]),r.map([+i[f]+m/2,+o[f]+v/2])]});return[e,c]};SQe.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:YEe,channels:[...os({shapes:Object.keys(YEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...No()],postInference:[...Ko(),...H0()]};const ZEe={line:Ble},xQe=e=>(t,n,r,i)=>{const{y:o}=r,a=lb(n,r,Dt({style:{bandOffset:0}},e)),l=Array.from(t,s=>{const u=[0,o[s]],c=[1,o[s]];return[u,c].map(f=>i.map(a(f,s)))});return[t,l]};xQe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:ZEe,channels:[...qC({shapes:Object.keys(ZEe)}),{name:"y",required:!0}],preInference:[...No(),{type:EGe}],postInference:[...Ko()]};const QEe={line:Ble},_Qe=e=>(t,n,r,i)=>{const{x:o}=r,a=lb(n,r,Dt({style:{bandOffset:0}},e)),l=Array.from(t,s=>{const u=[o[s],1],c=[o[s],0];return[u,c].map(f=>i.map(a(f,s)))});return[t,l]};_Qe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:QEe,channels:[...qC({shapes:Object.keys(QEe)}),{name:"x",required:!0}],preInference:[...No(),{type:$Ge}],postInference:[...Ko()]};const JEe={connector:YZe},wQe=(...e)=>qle(...e);wQe.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:JEe,channels:[...qC({shapes:Object.keys(JEe)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No()],postInference:[...Ko()]};function e7e(e,t,n,r){if(t)return()=>[0,1];const{[e]:i,[`${e}1`]:o}=n;return a=>{var l;const s=((l=r.getBandWidth)===null||l===void 0?void 0:l.call(r,r.invert(+o[a])))||0;return[i[a],o[a]+s]}}function Vle(e={}){const{extendX:t=!1,extendY:n=!1}=e;return(r,i,o,a)=>{const l=e7e("x",t,o,i.x),s=e7e("y",n,o,i.y),u=Array.from(r,c=>{const[f,h]=l(c),[d,p]=s(c);return[[f,d],[h,d],[h,p],[f,p]].map(b=>a.map(b))});return[r,u]}}const t7e={range:ab},OQe=()=>Vle();OQe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:t7e,channels:[...qC({shapes:Object.keys(t7e)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No()],postInference:[...Ko()]};const n7e={range:ab},EQe=()=>Vle({extendY:!0});EQe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:n7e,channels:[...qC({shapes:Object.keys(n7e)}),{name:"x",required:!0}],preInference:[...No(),{type:MGe}],postInference:[...Ko()]};const r7e={range:ab},$Qe=()=>Vle({extendX:!0});$Qe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:r7e,channels:[...qC({shapes:Object.keys(r7e)}),{name:"y",required:!0}],preInference:[...No(),{type:RGe}],postInference:[...Ko()]};function b1n(e){return e.target.depth}function C1n(e){return e.depth}function S1n(e,t){return t-1-e.height}function pL(e,t){return e.sourceLinks.length?e.depth:t-1}function x1n(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?$c(e.sourceLinks,b1n)-1:0}function mA(e){return function(){return e}}function i7e(e,t){return hL(e.source,t.source)||e.index-t.index}function o7e(e,t){return hL(e.target,t.target)||e.index-t.index}function hL(e,t){return e.y0-t.y0}function FK(e){return e.value}function _1n(e){return e.index}function w1n(e){return e.nodes}function O1n(e){return e.links}function a7e(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function l7e({nodes:e}){for(const t of e){let n=t.y0,r=n;for(const i of t.sourceLinks)i.y0=n+i.width/2,n+=i.width;for(const i of t.targetLinks)i.y1=r+i.width/2,r+=i.width}}function E1n(){let e=0,t=0,n=1,r=1,i=24,o=8,a,l=_1n,s=pL,u,c,f,h=w1n,d=O1n,p=6;function g(k){const D={nodes:h(k),links:d(k)};return m(D),v(D),y(D),b(D),S(D),l7e(D),D}g.update=function(k){return l7e(k),k},g.nodeId=function(k){return arguments.length?(l=typeof k=="function"?k:mA(k),g):l},g.nodeAlign=function(k){return arguments.length?(s=typeof k=="function"?k:mA(k),g):s},g.nodeDepth=function(k){return arguments.length?(u=k,g):u},g.nodeSort=function(k){return arguments.length?(c=k,g):c},g.nodeWidth=function(k){return arguments.length?(i=+k,g):i},g.nodePadding=function(k){return arguments.length?(o=a=+k,g):o},g.nodes=function(k){return arguments.length?(h=typeof k=="function"?k:mA(k),g):h},g.links=function(k){return arguments.length?(d=typeof k=="function"?k:mA(k),g):d},g.linkSort=function(k){return arguments.length?(f=k,g):f},g.size=function(k){return arguments.length?(e=t=0,n=+k[0],r=+k[1],g):[n-e,r-t]},g.extent=function(k){return arguments.length?(e=+k[0][0],n=+k[1][0],t=+k[0][1],r=+k[1][1],g):[[e,t],[n,r]]},g.iterations=function(k){return arguments.length?(p=+k,g):p};function m({nodes:k,links:D}){k.forEach((B,j)=>{B.index=j,B.sourceLinks=[],B.targetLinks=[]});const L=new Map(k.map(B=>[l(B),B]));if(D.forEach((B,j)=>{B.index=j;let{source:z,target:V}=B;typeof z!="object"&&(z=B.source=a7e(L,z)),typeof V!="object"&&(V=B.target=a7e(L,V)),z.sourceLinks.push(B),V.targetLinks.push(B)}),f!=null)for(const{sourceLinks:B,targetLinks:j}of k)B.sort(f),j.sort(f)}function v({nodes:k}){for(const D of k)D.value=D.fixedValue===void 0?Math.max(cu(D.sourceLinks,FK),cu(D.targetLinks,FK)):D.fixedValue}function y({nodes:k}){const D=k.length;let L=new Set(k),B=new Set,j=0;for(;L.size;){if(L.forEach(z=>{z.depth=j;for(const{target:V}of z.sourceLinks)B.add(V)}),++j>D)throw new Error("circular link");L=B,B=new Set}if(u){const z=Math.max(ri(k,W=>W.depth)+1,0);let V;for(let W=0;W{z.height=j;for(const{source:V}of z.targetLinks)B.add(V)}),++j>D)throw new Error("circular link");L=B,B=new Set}}function C({nodes:k}){const D=Math.max(ri(k,j=>j.depth)+1,0),L=(n-e-i)/(D-1),B=new Array(D).fill(0).map(()=>[]);for(const j of k){const z=Math.max(0,Math.min(D-1,Math.floor(s.call(null,j,D))));j.layer=z,j.x0=e+z*L,j.x1=j.x0+i,B[z]?B[z].push(j):B[z]=[j]}if(c)for(const j of B)j.sort(c);return B}function x(k){const D=$c(k,L=>(r-t-(L.length-1)*a)/cu(L,FK));for(const L of k){let B=t;for(const j of L){j.y0=B,j.y1=B+j.value*D,B=j.y1+a;for(const z of j.sourceLinks)z.width=z.value*D}B=(r-B+a)/(L.length+1);for(let j=0;jL.length)-1)),x(D);for(let L=0;L0))continue;const K=(W/U-V.y0)*D;V.y0+=K,V.y1+=K,R(V)}c===void 0&&z.sort(hL),z.length&&$(z,L)}}function O(k,D,L){for(let B=k.length,j=B-2;j>=0;--j){const z=k[j];for(const V of z){let W=0,U=0;for(const{target:X,value:G}of V.sourceLinks){const Y=G*(X.layer-V.layer);W+=N(V,X)*Y,U+=Y}if(!(U>0))continue;const K=(W/U-V.y0)*D;V.y0+=K,V.y1+=K,R(V)}c===void 0&&z.sort(hL),z.length&&$(z,L)}}function $(k,D){const L=k.length>>1,B=k[L];T(k,B.y0-a,L-1,D),P(k,B.y1+a,L+1,D),T(k,r,k.length-1,D),P(k,t,0,D)}function P(k,D,L,B){for(;L1e-6&&(j.y0+=z,j.y1+=z),D=j.y1+a}}function T(k,D,L,B){for(;L>=0;--L){const j=k[L],z=(j.y1-D)*B;z>1e-6&&(j.y0-=z,j.y1-=z),D=j.y0-a}}function R({sourceLinks:k,targetLinks:D}){if(f===void 0){for(const{source:{sourceLinks:L}}of D)L.sort(o7e);for(const{target:{targetLinks:L}}of k)L.sort(i7e)}}function M(k){if(f===void 0)for(const{sourceLinks:D,targetLinks:L}of k)D.sort(o7e),L.sort(i7e)}function A(k,D){let L=k.y0-(k.sourceLinks.length-1)*a/2;for(const{target:B,width:j}of k.sourceLinks){if(B===D)break;L+=j+a}for(const{source:B,width:j}of D.targetLinks){if(B===k)break;L-=j}return L}function N(k,D){let L=D.y0-(D.targetLinks.length-1)*a/2;for(const{source:B,width:j}of D.targetLinks){if(B===k)break;L+=j+a}for(const{target:B,width:j}of k.sourceLinks){if(B===D)break;L-=j}return L}return g}const $1n={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},P1n={left:C1n,right:S1n,center:x1n,justify:pL};function T1n(e){const t=typeof e;return t==="string"?P1n[e]||pL:t==="function"?e:pL}const PQe=e=>t=>{const{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:o,nodePadding:a,nodeDepth:l,nodes:s,links:u,linkSort:c,iterations:f}=Object.assign({},$1n,e),h=E1n().nodeSort(r).linkSort(c).links(u).nodes(s).nodeWidth(o).nodePadding(a).nodeDepth(l).nodeAlign(T1n(i)).iterations(f).extent([[0,0],[1,1]]);typeof n=="function"&&h.nodeId(n);const d=h(t),{nodes:p,links:g}=d,m=p.map(y=>{const{x0:b,x1:C,y0:x,y1:S}=y;return Object.assign(Object.assign({},y),{x:[b,C,C,b],y:[x,x,S,S]})}),v=g.map(y=>{const{source:b,target:C}=y,x=b.x1,S=C.x0,w=y.width/2;return Object.assign(Object.assign({},y),{x:[x,x,S,S],y:[y.y0+w,y.y0-w,y.y1+w,y.y1-w]})});return{nodes:m,links:v}};PQe.props={};function zf(e,t,n={},r=!1){if(xh(e)||Array.isArray(e)&&r)return e;const i=hn(e,t);return Dt(n,i)}function gL(e,t={}){return xh(e)||Array.isArray(e)||!TQe(e)?e:Dt(t,e)}function TQe(e){if(Object.keys(e).length===0)return!0;const{title:t,items:n}=e;return t!==void 0||n!==void 0}function Bf(e,t){return typeof e=="object"?hn(e,t):e}var M1n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.key,nodeWidth:.02,nodePadding:.02},I1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},N1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},A1n={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},MQe=e=>{const{data:t,encode:n={},scale:r,style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,{links:c,nodes:f}=zle(t,n),h=hn(n,"node"),d=hn(n,"link"),{key:p=$=>$.key,color:g=p}=h,{links:m,nodes:v}=PQe(Object.assign(Object.assign(Object.assign({},R1n),{nodeId:Tf(p)}),o))({links:c,nodes:f}),y=hn(i,"label"),{text:b=p,spacing:C=5}=y,x=M1n(y,["text","spacing"]),S=Tf(p),w=zf(u,"node",{title:S,items:[{field:"value"}]},!0),O=zf(u,"link",{title:"",items:[$=>({name:"source",value:S($.source)}),$=>({name:"target",value:S($.target)})]});return[Dt({},I1n,{data:v,encode:Object.assign(Object.assign({},h),{color:g}),scale:r,style:hn(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},A1n),{text:b,dx:$=>$.x[0]<.5?C:-C}),x),...a],tooltip:w,animate:Bf(s,"node"),axis:!1}),Dt({},N1n,{data:m,encode:d,labels:l,style:Object.assign({fill:d.color?void 0:"#aaa",strokeWidth:0},hn(i,"link")),tooltip:O,animate:Bf(s,"link")})]};MQe.props={};function k1n(e,t){return t.value-e.value}function j1n(e,t){return t.frequency-e.frequency}function D1n(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function L1n(e,t){return`${e.name}`.localeCompare(`${t.name}`)}const z1n=Object.freeze(Object.defineProperty({__proto__:null,frequency:j1n,id:D1n,name:L1n,weight:k1n},Symbol.toStringTag,{value:"Module"})),B1n={y:0,thickness:.05,weight:!1,marginRatio:.1,id:e=>e.id,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null};function F1n(e){const{y:t,thickness:n,weight:r,marginRatio:i,id:o,source:a,target:l,sourceWeight:s,targetWeight:u,sortBy:c}=Object.assign(Object.assign({},B1n),e);function f(m){const v=m.nodes.map(b=>Object.assign({},b)),y=m.edges.map(b=>Object.assign({},b));return h(v,y),d(v),p(v,y),g(v,y),{nodes:v,edges:y}}function h(m,v){v.forEach(C=>{C.source=a(C),C.target=l(C),C.sourceWeight=s(C),C.targetWeight=u(C)});const y=Ji(v,C=>C.source),b=Ji(v,C=>C.target);return m.forEach(C=>{C.id=o(C);const x=y.has(C.id)?y.get(C.id):[],S=b.has(C.id)?b.get(C.id):[];C.frequency=x.length+S.length,C.value=cu(x,w=>w.sourceWeight)+cu(S,w=>w.targetWeight)}),{nodes:m,edges:v}}function d(m,v){const y=typeof c=="function"?c:z1n[c];y&&m.sort(y)}function p(m,v){const y=m.length;if(!y)throw I4("Invalid nodes: it's empty!");if(!r){const x=1/y;return m.forEach((S,w)=>{S.x=(w+.5)*x,S.y=t}),{nodes:m,edges:v}}const b=i/(2*y),C=m.reduce((x,S)=>x+=S.value,0);return m.reduce((x,S)=>{S.weight=S.value/C,S.width=S.weight*(1-i),S.height=n;const w=b+x,O=w+S.width,$=t-n/2,P=$+n;return S.x=[w,O,O,w],S.y=[$,$,P,P],x+S.width+2*b},0),{nodes:m,edges:v}}function g(m,v){const y=new Map(m.map(x=>[x.id,x]));if(!r)return v.forEach(x=>{const S=a(x),w=l(x),O=y.get(S),$=y.get(w);O&&$&&(x.x=[O.x,$.x],x.y=[O.y,$.y])}),{nodes:m,edges:v};v.forEach(x=>{x.x=[0,0,0,0],x.y=[t,t,t,t]});const b=Ji(v,x=>x.source),C=Ji(v,x=>x.target);m.forEach(x=>{const{edges:S,width:w,x:O,y:$,value:P,id:T}=x,R=b.get(T)||[],M=C.get(T)||[];let A=0;R.map(N=>{const k=N.sourceWeight/P*w;N.x[0]=O[0]+A,N.x[1]=O[0]+A+k,A+=k}),M.forEach(N=>{const k=N.targetWeight/P*w;N.x[3]=O[0]+A,N.x[2]=O[0]+A+k,A+=k})})}return f}const Ule=e=>t=>F1n(e)(t);Ule.props={};var s7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.key,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},H1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},W1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1,strokeWidth:1}},q1n={position:"outside",fontSize:10},RQe=(e,t)=>{const{data:n,encode:r={},scale:i,style:o={},layout:a={},nodeLabels:l=[],linkLabels:s=[],animate:u={},tooltip:c={}}=e,{nodes:f,links:h}=zle(n,r),d=hn(r,"node"),p=hn(r,"link"),{key:g=N=>N.key,color:m=g}=d,{linkEncodeColor:v=N=>N.source}=p,{nodeWidthRatio:y=HK.thickness,nodePaddingRatio:b=HK.marginRatio}=a,C=s7e(a,["nodeWidthRatio","nodePaddingRatio"]),{nodes:x,edges:S}=Ule(Object.assign(Object.assign(Object.assign(Object.assign({},HK),{id:Tf(g),thickness:y,marginRatio:b}),C),{weight:!0}))({nodes:f,edges:h}),w=hn(o,"label"),{text:O=g}=w,$=s7e(w,["text"]),P=zf(c,"node",{title:"",items:[N=>({name:N.key,value:N.value})]},!0),T=zf(c,"link",{title:"",items:[N=>({name:`${N.source} -> ${N.target}`,value:N.value})]}),{height:R,width:M}=t,A=Math.min(R,M);return[Dt({},W1n,{data:S,encode:Object.assign(Object.assign({},p),{color:v}),labels:s,style:Object.assign({fill:v?void 0:"#aaa"},hn(o,"link")),tooltip:T,animate:Bf(u,"link")}),Dt({},H1n,{data:x,encode:Object.assign(Object.assign({},d),{color:m}),scale:i,style:hn(o,"node"),coordinate:{type:"polar",outerRadius:(A-20)/A,startAngle:-Math.PI*2,endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},q1n),{text:O}),$),...l],tooltip:P,animate:Bf(u,"node"),axis:!1})]};RQe.props={};const c7e={path:iQe,hollow:oQe},IQe=e=>(t,n,r,i)=>[t,t.map(()=>[[0,0]])];IQe.props={defaultShape:"path",defaultLabelShape:"label",shape:c7e,composite:!1,channels:[...os({shapes:Object.keys(c7e)}),{name:"d",scale:"identity"}],preInference:[...No()],postInference:[...Ko()]};function V1n(e,t){return e.parent===t.parent?1:2}function U1n(e){return e.reduce(G1n,0)/e.length}function G1n(e,t){return e+t.x}function K1n(e){return 1+e.reduce(X1n,0)}function X1n(e,t){return Math.max(e,t.y)}function Y1n(e){for(var t;t=e.children;)e=t[0];return e}function Z1n(e){for(var t;t=e.children;)e=t[t.length-1];return e}function Q1n(){var e=V1n,t=1,n=1,r=!1;function i(o){var a,l=0;o.eachAfter(function(h){var d=h.children;d?(h.x=U1n(d),h.y=K1n(d)):(h.x=a?l+=e(h,a):0,h.y=0,a=h)});var s=Y1n(o),u=Z1n(o),c=s.x-e(s,u)/2,f=u.x+e(u,s)/2;return o.eachAfter(r?function(h){h.x=(h.x-o.x)*t,h.y=(o.y-h.y)*n}:function(h){h.x=(h.x-c)/(f-c)*t,h.y=(1-(o.y?h.y/o.y:1))*n})}return i.separation=function(o){return arguments.length?(e=o,i):e},i.size=function(o){return arguments.length?(r=!1,t=+o[0],n=+o[1],i):r?null:[t,n]},i.nodeSize=function(o){return arguments.length?(r=!0,t=+o[0],n=+o[1],i):r?[t,n]:null},i}function J1n(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function e0n(){return this.eachAfter(J1n)}function t0n(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function n0n(e,t){for(var n=this,r=[n],i,o,a=-1;n=r.pop();)if(e.call(t,n,++a,this),i=n.children)for(o=i.length-1;o>=0;--o)r.push(i[o]);return this}function r0n(e,t){for(var n=this,r=[n],i=[],o,a,l,s=-1;n=r.pop();)if(i.push(n),o=n.children)for(a=0,l=o.length;a=0;)n+=r[i].value;t.value=n})}function a0n(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function l0n(e){for(var t=this,n=s0n(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function s0n(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function c0n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function u0n(){return Array.from(this)}function d0n(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function f0n(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*p0n(){var e=this,t,n=[e],r,i,o;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,o=r.length;i=0;--l)i.push(o=a[l]=new W4(a[l])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(NQe)}function h0n(){return VC(this).eachBefore(v0n)}function g0n(e){return e.children}function m0n(e){return Array.isArray(e)?e[1]:null}function v0n(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function NQe(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function W4(e){this.data=e,this.depth=this.height=0,this.parent=null}W4.prototype=VC.prototype={constructor:W4,count:e0n,each:t0n,eachAfter:r0n,eachBefore:n0n,find:i0n,sum:o0n,sort:a0n,path:l0n,ancestors:c0n,descendants:u0n,leaves:d0n,links:f0n,copy:h0n,[Symbol.iterator]:p0n};function Kk(e){return e==null?null:AQe(e)}function AQe(e){if(typeof e!="function")throw new Error;return e}function pv(){return 0}function I2(e){return function(){return e}}const y0n=1664525,b0n=1013904223,u7e=4294967296;function C0n(){let e=1;return()=>(e=(y0n*e+b0n)%u7e)/u7e}function S0n(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function x0n(e,t){let n=e.length,r,i;for(;n;)i=t()*n--|0,r=e[n],e[n]=e[i],e[i]=r;return e}function _0n(e,t){for(var n=0,r=(e=x0n(Array.from(e),t)).length,i=[],o,a;n0&&n*n>r*r+i*i}function WK(e,t){for(var n=0;n1e-6?(T+Math.sqrt(T*T-4*P*R))/(2*P):R/T);return{x:r+S+w*M,y:i+O+$*M,r:M}}function d7e(e,t,n){var r=e.x-t.x,i,o,a=e.y-t.y,l,s,u=r*r+a*a;u?(o=t.r+n.r,o*=o,s=e.r+n.r,s*=s,o>s?(i=(u+s-o)/(2*u),l=Math.sqrt(Math.max(0,s/u-i*i)),n.x=e.x-i*r-l*a,n.y=e.y-i*a+l*r):(i=(u+o-s)/(2*u),l=Math.sqrt(Math.max(0,o/u-i*i)),n.x=t.x+i*r-l*a,n.y=t.y+i*a+l*r)):(n.x=t.x+n.r,n.y=t.y)}function f7e(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function p7e(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function yA(e){this._=e,this.next=null,this.previous=null}function $0n(e,t){if(!(o=(e=S0n(e)).length))return 0;var n,r,i,o,a,l,s,u,c,f,h;if(n=e[0],n.x=0,n.y=0,!(o>1))return n.r;if(r=e[1],n.x=-r.r,r.x=n.r,r.y=0,!(o>2))return n.r+r.r;d7e(r,n,i=e[2]),n=new yA(n),r=new yA(r),i=new yA(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(s=3;sA0n(n(C,x,i))),y=v.map(v7e),b=new Set(v).add("");for(const C of y)b.has(C)||(b.add(C),v.push(C),y.push(v7e(C)),o.push(VK));a=(C,x)=>v[x],l=(C,x)=>y[x]}for(c=0,s=o.length;c=0&&(d=o[v],d.data===VK);--v)d.data=null}if(f.parent=R0n,f.eachBefore(function(v){v.depth=v.parent.depth+1,--s}).eachBefore(NQe),f.parent=null,s>0)throw new Error("cycle");return f}return r.id=function(i){return arguments.length?(e=Kk(i),r):e},r.parentId=function(i){return arguments.length?(t=Kk(i),r):t},r.path=function(i){return arguments.length?(n=Kk(i),r):n},r}function A0n(e){e=`${e}`;let t=e.length;return oee(e,t-1)&&!oee(e,t-2)&&(e=e.slice(0,-1)),e[0]==="/"?e:`/${e}`}function v7e(e){let t=e.length;if(t<2)return"";for(;--t>1&&!oee(e,t););return e.slice(0,t)}function oee(e,t){if(e[t]==="/"){let n=0;for(;t>0&&e[--t]==="\\";)++n;if(!(n&1))return!0}return!1}function k0n(e,t){return e.parent===t.parent?1:2}function UK(e){var t=e.children;return t?t[0]:e.t}function GK(e){var t=e.children;return t?t[t.length-1]:e.t}function j0n(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function D0n(e){for(var t=0,n=0,r=e.children,i=r.length,o;--i>=0;)o=r[i],o.z+=t,o.m+=t,t+=o.s+(n+=o.c)}function L0n(e,t,n){return e.a.parent===t.parent?e.a:n}function Xk(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}Xk.prototype=Object.create(W4.prototype);function z0n(e){for(var t=new Xk(e,0),n,r=[t],i,o,a,l;n=r.pop();)if(o=n._.children)for(n.children=new Array(l=o.length),a=l-1;a>=0;--a)r.push(i=n.children[a]=new Xk(o[a],a)),i.parent=n;return(t.parent=new Xk(null,0)).children=[t],t}function B0n(){var e=k0n,t=1,n=1,r=null;function i(u){var c=z0n(u);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)u.eachBefore(s);else{var f=u,h=u,d=u;u.eachBefore(function(y){y.xh.x&&(h=y),y.depth>d.depth&&(d=y)});var p=f===h?1:e(f,h)/2,g=p-f.x,m=t/(h.x+p+g),v=n/(d.depth||1);u.eachBefore(function(y){y.x=(y.x+g)*m,y.y=y.depth*v})}return u}function o(u){var c=u.children,f=u.parent.children,h=u.i?f[u.i-1]:null;if(c){D0n(u);var d=(c[0].z+c[c.length-1].z)/2;h?(u.z=h.z+e(u._,h._),u.m=u.z-d):u.z=d}else h&&(u.z=h.z+e(u._,h._));u.parent.A=l(u,h,u.parent.A||f[0])}function a(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function l(u,c,f){if(c){for(var h=u,d=u,p=c,g=h.parent.children[0],m=h.m,v=d.m,y=p.m,b=g.m,C;p=GK(p),h=UK(h),p&&h;)g=UK(g),d=GK(d),d.a=u,C=p.z+y-h.z-m+e(p._,h._),C>0&&(j0n(L0n(p,u,f),u,C),m+=C,v+=C),y+=p.m,m+=h.m,b+=g.m,v+=d.m;p&&!GK(d)&&(d.t=p,d.m+=y-v),h&&!UK(g)&&(g.t=h,g.m+=m-b,f=u)}return f}function s(u){u.x*=t,u.y=u.depth*n}return i.separation=function(u){return arguments.length?(e=u,i):e},i.size=function(u){return arguments.length?(r=!1,t=+u[0],n=+u[1],i):r?null:[t,n]},i.nodeSize=function(u){return arguments.length?(r=!0,t=+u[0],n=+u[1],i):r?[t,n]:null},i}function _H(e,t,n,r,i){for(var o=e.children,a,l=-1,s=o.length,u=e.value&&(i-n)/e.value;++ly&&(y=u),S=m*m*x,b=Math.max(y/S,S/v),b>C){m-=u;break}C=b}a.push(s={value:m,dice:d1?r:1)},n}(LQe);function F0n(){var e=BQe,t=!1,n=1,r=1,i=[0],o=pv,a=pv,l=pv,s=pv,u=pv;function c(h){return h.x0=h.y0=0,h.x1=n,h.y1=r,h.eachBefore(f),i=[0],t&&h.eachBefore(DQe),h}function f(h){var d=i[h.depth],p=h.x0+d,g=h.y0+d,m=h.x1-d,v=h.y1-d;m=h-1){var y=o[f];y.x0=p,y.y0=g,y.x1=m,y.y1=v;return}for(var b=u[f],C=d/2+b,x=f+1,S=h-1;x>>1;u[w]v-g){var P=d?(p*$+m*O)/d:m;c(f,x,O,p,g,P,v),c(x,h,$,P,g,m,v)}else{var T=d?(g*$+v*O)/d:v;c(f,x,O,p,g,m,T),c(x,h,$,p,T,m,v)}}}function W0n(e,t,n,r,i){(e.depth&1?_H:zP)(e,t,n,r,i)}const q0n=function e(t){function n(r,i,o,a,l){if((s=r._squarify)&&s.ratio===t)for(var s,u,c,f,h=-1,d,p=s.length,g=r.value;++h1?r:1)},n}(LQe);function V0n(e,t){return Array.isArray(e)?typeof t=="function"?iee().path(t)(e):iee()(e):VC(e)}function FQe(e,t=[e.data.name]){e.id=e.id||e.data.name,e.path=t,e.children&&e.children.forEach(n=>{n.id=`${e.id}/${n.data.name}`,n.path=[...t,n.data.name],FQe(n,n.path)})}function HQe(e){const t=Li(e,["data","name"]);t.replaceAll&&(e.path=t.replaceAll(".","/").split("/")),e.children&&e.children.forEach(n=>{HQe(n)})}function U0n(e,t){const n={treemapBinary:H0n,treemapDice:zP,treemapSlice:_H,treemapSliceDice:W0n,treemapSquarify:BQe,treemapResquarify:q0n},r=e==="treemapSquarify"?n[e].ratio(t):n[e];if(!r)throw new TypeError("Invalid tile method!");return r}function WQe(e,t,n){const{value:r}=n,i=U0n(t.tile,t.ratio),o=V0n(e,t.path);sa(e)?HQe(o):FQe(o),r?o.sum(s=>t.ignoreParentValue&&s.children?0:Tf(r)(s)).sort(t.sort):o.count(),F0n().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);const a=o.descendants().map(s=>Object.assign(s,{id:s.id.replace(/^\//,""),x:[s.x0,s.x1],y:[s.y0,s.y1]}));return[a.filter(typeof t.layer=="function"?t.layer:s=>s.height===t.layer),a]}var G0n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[e,t],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(n,r)=>r.value-n.value,layer:0}),X0n=(e,t)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:n=>n.path[1]},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),Y0n={fontSize:10,text:e=>bP(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},Z0n={title:e=>{var t,n;return(n=(t=e.path)===null||t===void 0?void 0:t.join)===null||n===void 0?void 0:n.call(t,".")},items:[{field:"value"}]},Q0n={title:e=>bP(e.path),items:[{field:"value"}]},qQe=(e,t)=>{const{width:n,height:r,options:i}=t,{data:o,encode:a={},scale:l,style:s={},layout:u={},labels:c=[],tooltip:f={}}=e,h=G0n(e,["data","encode","scale","style","layout","labels","tooltip"]),d=Li(i,["interaction","treemapDrillDown"]),p=Dt({},K0n(n,r),u,{layer:d?y=>y.depth===1:u.layer}),[g,m]=WQe(o,p,a),v=hn(s,"label");return Dt({},X0n(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},Y0n),v),...c]},h),{encode:a,tooltip:gL(f,Z0n),axis:!1}),d?{interaction:Object.assign(Object.assign({},h.interaction),{treemapDrillDown:d?Object.assign(Object.assign({},d),{originData:m,layout:p}):void 0}),encode:Object.assign({color:y=>bP(y.path)},a),tooltip:gL(f,Q0n)}:{})};qQe.props={};var J0n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({size:[e,t],padding:0,sort:(n,r)=>r.value-n.value}),tgn=(e,t,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,e]},y:{domain:[0,t]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:r=>r.height===0?"#ddd":"#fff",stroke:n.color?void 0:r=>r.height===0?"":"#000"}}),ngn={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.r*2},rgn={title:e=>e.data.name,items:[{field:"value"}]},ign=(e,t,n)=>{const{value:r}=n,i=sa(e)?iee().path(t.path)(e):VC(e);return r?i.sum(o=>Tf(r)(o)).sort(t.sort):i.count(),T0n().size(t.size).padding(t.padding)(i),i.descendants()},VQe=(e,t)=>{const{width:n,height:r}=t,{data:i,encode:o={},scale:a={},style:l={},layout:s={},labels:u=[],tooltip:c={}}=e,f=J0n(e,["data","encode","scale","style","layout","labels","tooltip"]),h=tgn(n,r,o),d=ign(i,Dt({},egn(n,r),s),Dt({},h.encode,o)),p=hn(l,"label");return Dt({},h,Object.assign(Object.assign({data:d,encode:o,scale:a,style:l,labels:[Object.assign(Object.assign({},ngn),p),...u]},f),{tooltip:gL(c,rgn),axis:!1}))};VQe.props={};var y7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[n])}function agn(e,t){return ri(e,n=>t[n])}function UQe(e,t){const n=Gle(e,t)*2.5-Kle(e,t)*1.5;return $c(e,r=>t[r]>=n?t[r]:NaN)}function Gle(e,t){return UF(e,.25,n=>t[n])}function lgn(e,t){return UF(e,.5,n=>t[n])}function Kle(e,t){return UF(e,.75,n=>t[n])}function GQe(e,t){const n=Kle(e,t)*2.5-Gle(e,t)*1.5;return ri(e,r=>t[r]<=n?t[r]:NaN)}function sgn(){return(e,t)=>{const{encode:n}=t,{y:r,x:i}=n,{value:o}=r,{value:a}=i;return[Array.from(Ji(e,u=>a[+u]).values()).flatMap(u=>{const c=UQe(u,o),f=GQe(u,o);return u.filter(h=>o[h]f)}),t]}}const KQe=e=>{const{data:t,encode:n,style:r={},tooltip:i={},transform:o,animate:a}=e,l=y7e(e,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,u=y7e(r,["point"]),{y:c}=n,f={y:c,y1:c,y2:c,y3:c,y4:c},h={y1:Gle,y2:lgn,y3:Kle},d=zf(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=zf(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:ogn},h),{y4:agn})],encode:Object.assign(Object.assign({},n),f),style:u,tooltip:d},l);const g=hn(u,"box"),m=hn(u,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:UQe},h),{y4:GQe})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:d,animate:Bf(a,"box")},l),{type:"point",data:t,transform:[{type:sgn}],encode:n,style:Object.assign({},m),tooltip:p,animate:Bf(a,"point")}]};KQe.props={};const cgn={shape:cQe},XQe=e=>{const{cartesian:t}=e;return t?Lle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};XQe.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:cgn,channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:ZF},{type:YF},{type:IGe}]};function ugn(e,t){var n,r=1;e==null&&(e=0),t==null&&(t=0);function i(){var o,a=n.length,l,s=0,u=0;for(o=0;o=(f=(l+u)/2))?l=f:u=f,(m=n>=(h=(s+c)/2))?s=h:c=h,i=o,!(o=o[v=m<<1|g]))return i[v]=a,e;if(d=+e._x.call(null,o.data),p=+e._y.call(null,o.data),t===d&&n===p)return a.next=o,i?i[v]=a:e._root=a,e;do i=i?i[v]=new Array(4):e._root=new Array(4),(g=t>=(f=(l+u)/2))?l=f:u=f,(m=n>=(h=(s+c)/2))?s=h:c=h;while((v=m<<1|g)===(y=(p>=h)<<1|d>=f));return i[y]=o,i[v]=a,e}function fgn(e){var t,n,r=e.length,i,o,a=new Array(r),l=new Array(r),s=1/0,u=1/0,c=-1/0,f=-1/0;for(n=0;nc&&(c=i),of&&(f=o));if(s>c||u>f)return this;for(this.cover(s,u).cover(c,f),n=0;ne||e>=i||r>t||t>=o;)switch(u=(tc||(l=p.y0)>f||(s=p.x1)=v)<<1|e>=m)&&(p=h[h.length-1],h[h.length-1]=h[h.length-1-g],h[h.length-1-g]=p)}else{var y=e-+this._x.call(null,d.data),b=t-+this._y.call(null,d.data),C=y*y+b*b;if(C=(h=(a+s)/2))?a=h:s=h,(g=f>=(d=(l+u)/2))?l=d:u=d,t=n,!(n=n[m=g<<1|p]))return this;if(!n.length)break;(t[m+1&3]||t[m+2&3]||t[m+3&3])&&(r=t,v=m)}for(;n.data!==e;)if(i=n,!(n=n.next))return this;return(o=n.next)&&delete n.next,i?(o?i.next=o:delete i.next,this):t?(o?t[m]=o:delete t[m],(n=t[0]||t[1]||t[2]||t[3])&&n===(t[3]||t[2]||t[1]||t[0])&&!n.length&&(r?r[v]=n:this._root=n),this):(this._root=o,this)}function ygn(e){for(var t=0,n=e.length;t[t(x,S,a),x])),C;for(m=0,l=new Array(v);m(e=(Tgn*e+Mgn)%S7e)/S7e}function Ign(e){return e.x}function Ngn(e){return e.y}var Agn=10,kgn=Math.PI*(3-Math.sqrt(5));function jgn(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,l=new Map,s=eoe(f),u=U$("tick","end"),c=Rgn();e==null&&(e=[]);function f(){h(),u.call("tick",t),n1?(m==null?l.delete(g):l.set(g,p(m)),t):l.get(g)},find:function(g,m,v){var y=0,b=e.length,C,x,S,w,O;for(v==null?v=1/0:v*=v,y=0;y1?(u.on(g,m),t):u.on(g)}}}function Dgn(){var e,t,n,r,i=hc(-30),o,a=1,l=1/0,s=.81;function u(d){var p,g=e.length,m=ZQe(e,Ign,Ngn).visitAfter(f);for(r=d,p=0;p=l)return;(d.data!==t||d.next)&&(v===0&&(v=u3(n),C+=v*v),y===0&&(y=u3(n),C+=y*y),Ce.source.x,e=>e.target.x],y:[e=>e.source.y,e=>e.target.y]},style:{stroke:"#999",strokeOpacity:.6}},Wgn={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},qgn={text:""};function Vgn(e,t,n){const{nodes:r,links:i}=e,{joint:o,nodeStrength:a,linkStrength:l}=t,{nodeKey:s=p=>p.id,linkKey:u=p=>p.id}=n,c=Dgn(),f=Pgn(i).id(Tf(u));typeof a=="function"&&c.strength(a),typeof l=="function"&&f.strength(l);const h=jgn(r).force("link",f).force("charge",c);o?h.force("center",ugn()):h.force("x",Lgn()).force("y",zgn()),h.stop();const d=Math.ceil(Math.log(h.alphaMin())/Math.log(1-h.alphaDecay()));for(let p=0;p{const{data:t,encode:n={},scale:r,style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,{nodeKey:c=S=>S.id,linkKey:f=S=>S.id}=n,h=Bgn(n,["nodeKey","linkKey"]),d=Object.assign({nodeKey:c,linkKey:f},h),p=hn(d,"node"),g=hn(d,"link"),{links:m,nodes:v}=zle(t,d),{nodesData:y,linksData:b}=Vgn({links:m,nodes:v},Dt({},Fgn,o),d),C=zf(u,"link",{items:[S=>({name:"source",value:Tf(f)(S.source)}),S=>({name:"target",value:Tf(f)(S.target)})]}),x=zf(u,"node",{items:[S=>({name:"key",value:Tf(c)(S)})]},!0);return[Dt({},Hgn,{data:b,encode:g,labels:l,style:hn(i,"link"),tooltip:C,animate:Bf(s,"link")}),Dt({},Wgn,{data:y,encode:Object.assign({},p),scale:r,style:hn(i,"node"),tooltip:x,labels:[Object.assign(Object.assign({},qgn),hn(i,"label")),...a],animate:Bf(s,"link")})]};QQe.props={};const JQe=e=>t=>n=>{const{field:r="value",nodeSize:i,separation:o,sortBy:a,as:l=["x","y"]}=t,[s,u]=l,c=VC(n,p=>p.children).sum(p=>p[r]).sort(a),f=e();f.size([1,1]),i&&f.nodeSize(i),o&&f.separation(o),f(c);const h=[];c.each(p=>{p[s]=p.x,p[u]=p.y,p.name=p.data.name,h.push(p)});const d=c.links();return d.forEach(p=>{p[s]=[p.source[s],p.target[s]],p[u]=[p.source[u],p.target[u]]}),{nodes:h,edges:d}},eJe=e=>JQe(Q1n)(e);eJe.props={};const tJe=e=>JQe(B0n)(e);tJe.props={};const Ugn={sortBy:(e,t)=>t.value-e.value},Ggn={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},Kgn={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},Xgn={text:"",fontSize:10},nJe=e=>{const{data:t,encode:n={},scale:r={},style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,c=n==null?void 0:n.value,{nodes:f,edges:h}=tJe(Object.assign(Object.assign(Object.assign({},Ugn),o),{field:c}))(t),d=zf(u,"node",{title:"name",items:["value"]},!0),p=zf(u,"link",{title:"",items:[g=>({name:"source",value:g.source.name}),g=>({name:"target",value:g.target.name})]});return[Dt({},Kgn,{data:h,encode:hn(n,"link"),scale:hn(r,"link"),labels:l,style:Object.assign({stroke:"#999"},hn(i,"link")),tooltip:p,animate:Bf(s,"link")}),Dt({},Ggn,{data:f,scale:hn(r,"node"),encode:hn(n,"node"),labels:[Object.assign(Object.assign({},Xgn),hn(i,"label")),...a],style:Object.assign({},hn(i,"node")),tooltip:d,animate:Bf(s,"node")})]};nJe.props={};var x7e={},KK={},XK=34,k8=10,YK=13;function rJe(e){return new Function("d","return {"+e.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function Ygn(e,t){var n=rJe(e);return function(r,i){return t(n(r),i,e)}}function _7e(e){var t=Object.create(null),n=[];return e.forEach(function(r){for(var i in r)i in t||n.push(t[i]=i)}),n}function vs(e,t){var n=e+"",r=n.length;return r9999?"+"+vs(e,6):vs(e,4)}function Qgn(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":Zgn(e.getUTCFullYear())+"-"+vs(e.getUTCMonth()+1,2)+"-"+vs(e.getUTCDate(),2)+(i?"T"+vs(t,2)+":"+vs(n,2)+":"+vs(r,2)+"."+vs(i,3)+"Z":r?"T"+vs(t,2)+":"+vs(n,2)+":"+vs(r,2)+"Z":n||t?"T"+vs(t,2)+":"+vs(n,2)+"Z":"")}function Jgn(e){var t=new RegExp('["'+e+` -\r]`),n=e.charCodeAt(0);function r(f,h){var d,p,g=i(f,function(m,v){if(d)return d(m,v-1);p=m,d=h?Ygn(m,h):rJe(m)});return g.columns=p||[],g}function i(f,h){var d=[],p=f.length,g=0,m=0,v,y=p<=0,b=!1;f.charCodeAt(p-1)===k8&&--p,f.charCodeAt(p-1)===YK&&--p;function C(){if(y)return KK;if(b)return b=!1,x7e;var S,w=g,O;if(f.charCodeAt(w)===XK){for(;g++=p?y=!0:(O=f.charCodeAt(g++))===k8?b=!0:O===YK&&(b=!0,f.charCodeAt(g)===k8&&++g),f.slice(w+1,S-1).replace(/""/g,'"')}for(;gDEe[e]||DEe.circle,uQe=(e,t)=>{if(!t)return;const{coordinate:n}=t,{liquidOptions:r,styleOptions:i}=e,{liquidShape:o,percent:a}=r,{background:l,outline:s={},wave:u={}}=i,c=LEe(i,["background","outline","wave"]),{border:f=2,distance:h=0}=s,d=LEe(s,["border","distance"]),{length:p=192,count:g=3}=u;return(m,v,y)=>{const{document:b}=t.canvas,{color:C,fillOpacity:x}=y,S=Object.assign(Object.assign({fill:C},y),c),w=b.createElement("g",{}),[O,$]=n.getCenter(),P=n.getSize(),T=Math.min(...P)/2,M=(rs(o)?o:h1n(o))(O,$,T,...P);if(Object.keys(l).length){const j=b.createElement("path",{style:Object.assign({path:M,fill:"#fff"},l)});w.appendChild(j)}if(a>0){const j=b.createElement("path",{style:{path:M}});w.appendChild(j),w.style.clipPath=j,s1n(O,$,1-a,g,S,w,j.getBBox().y,T*2,p,!0,b)}const A=b.createElement("path",{style:{path:M,fill:"transparent",lineWidth:f+2*h,stroke:"#fff"}}),N=b.createElement("path",{style:Object.assign(Object.assign(Object.assign({path:M,stroke:C,strokeOpacity:x,lineWidth:f},S),d),{fill:"transparent"})});return w.appendChild(A),w.appendChild(N),w}};uQe.props={};function zEe(e,t){return e.getBandWidth(e.invert(t))}const BEe={rect:ab,hollow:mH,funnel:Cle,pyramid:oYe},dQe=()=>(e,t,n,r)=>{const{x:i,y:o,y1:a,series:l,size:s}=n,u=t.x,c=t.series,[f]=r.getSize(),h=s?s.map(g=>+g/f):null,d=s?(g,m,v)=>{const y=g+m/2,b=h[v];return[y-b/2,y+b/2]}:(g,m,v)=>[g,g+m],p=Array.from(e,g=>{const m=zEe(u,i[g]),v=c?zEe(c,l==null?void 0:l[g]):1,y=m*v,b=(+(l==null?void 0:l[g])||0)*m,C=+i[g]+b,[x,S]=d(C,y,g),w=+o[g],O=+a[g];return[[x,w],[S,w],[S,O],[x,O]].map(M=>r.map(M))});return[e,p]};dQe.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:BEe,channels:[...os({shapes:Object.keys(BEe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...No(),{type:_P},{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const FEe={rect:ab,hollow:mH},fQe=()=>(e,t,n,r)=>{const{x:i,x1:o,y:a,y1:l}=n,s=Array.from(e,u=>{const c=[+i[u],+a[u]],f=[+o[u],+a[u]],h=[+o[u],+l[u]],d=[+i[u],+l[u]];return[c,f,h,d].map(p=>r.map(p))});return[e,s]};fQe.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:FEe,channels:[...os({shapes:Object.keys(FEe)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:_P}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const HEe={line:aYe,smooth:lYe,hv:sYe,vh:cYe,hvh:uYe,trail:dYe},g1n=(e,t,n,r)=>{var i,o;const{series:a,x:l,y:s}=n,{x:u,y:c}=t;if(l===void 0||s===void 0)throw new Error("Missing encode for x or y channel.");const f=a?Array.from(Ji(e,m=>a[m]).values()):[e],h=f.map(m=>m[0]).filter(m=>m!==void 0),d=(((i=u==null?void 0:u.getBandWidth)===null||i===void 0?void 0:i.call(u))||0)/2,p=(((o=c==null?void 0:c.getBandWidth)===null||o===void 0?void 0:o.call(c))||0)/2,g=Array.from(f,m=>m.map(v=>r.map([+l[v]+d,+s[v]+p])));return[h,g,f]},m1n=(e,t,n,r)=>{const i=Object.entries(n).filter(([a])=>a.startsWith("position")).map(([,a])=>a);if(i.length===0)throw new Error("Missing encode for position channel.");const o=Array.from(e,a=>{const l=i.map(c=>+c[a]),s=r.map(l),u=[];for(let c=0;c(e,t,n,r)=>(lH(r)?m1n:g1n)(e,t,n,r);pQe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:HEe,channels:[...os({shapes:Object.keys(HEe)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...No(),{type:NGe},{type:Bae}],postInference:[...Ko(),...WC(),...xhn()],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};const WEe={hollow:AYe,hollowDiamond:IYe,hollowHexagon:NYe,hollowSquare:kYe,hollowTriangleDown:DYe,hollowTriangle:jYe,hollowBowtie:RYe,point:VYe,plus:qYe,diamond:BYe,square:UYe,triangle:KYe,hexagon:FYe,cross:zYe,bowtie:LYe,hyphen:HYe,line:WYe,tick:GYe,triangleDown:XYe},hQe=e=>(t,n,r,i)=>{const{x:o,y:a,x1:l,y1:s,size:u,dx:c,dy:f}=r,[h,d]=i.getSize(),p=lb(n,r,e),g=v=>{const y=+((c==null?void 0:c[v])||0),b=+((f==null?void 0:f[v])||0),C=l?(+o[v]+ +l[v])/2:+o[v],x=s?(+a[v]+ +s[v])/2:+a[v],S=C+y,w=x+b;return[S,w]},m=u?Array.from(t,v=>{const[y,b]=g(v),C=+u[v],x=C/h,S=C/d,w=[y-x,b-S],O=[y+x,b+S];return[i.map(p(w,v)),i.map(p(O,v))]}):Array.from(t,v=>[i.map(p(g(v),v))]);return[t,m]};hQe.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:WEe,channels:[...os({shapes:Object.keys(WEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...No(),{type:nb},{type:XF}],postInference:[...Ko(),{type:wGe},...H0()]};const qEe={text:NZe,badge:AZe},gQe=e=>{const{cartesian:t=!1}=e;return t?zle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};gQe.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:qEe,channels:[...os({shapes:Object.keys(qEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize"},{name:"rotate"}],preInference:[...No(),{type:QF},{type:ZF}],postInference:[...Ko(),...H0()]};const VEe={cell:ab,hollow:mH},mQe=()=>(e,t,n,r)=>{const{x:i,y:o}=n,a=t.x,l=t.y,s=Array.from(e,u=>{const c=a.getBandWidth(a.invert(+i[u])),f=l.getBandWidth(l.invert(+o[u])),h=+i[u],d=+o[u],p=[h,d],g=[h+c,d],m=[h+c,d+f],v=[h,d+f];return[p,g,m,v].map(y=>r.map(y))});return[e,s]};mQe.props={defaultShape:"cell",defaultLabelShape:"label",shape:VEe,composite:!1,channels:[...os({shapes:Object.keys(VEe)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...No(),{type:nb},{type:XF},{type:Fae}],postInference:[...Ko(),...H0()]};const UEe={area:kZe,smooth:jZe,hvh:DZe,vh:LZe,hv:zZe},vQe=()=>(e,t,n,r)=>{var i,o;const{x:a,y:l,y1:s,series:u}=n,{x:c,y:f}=t,h=u?Array.from(Ji(e,v=>u[v]).values()):[e],d=h.map(v=>v[0]).filter(v=>v!==void 0),p=(((i=c==null?void 0:c.getBandWidth)===null||i===void 0?void 0:i.call(c))||0)/2,g=(((o=f==null?void 0:f.getBandWidth)===null||o===void 0?void 0:o.call(f))||0)/2,m=Array.from(h,v=>{const y=v.length,b=new Array(y*2);for(let C=0;C(t,n,r,i)=>{const{x:o,y:a,x1:l=o,y1:s=a}=r,u=lb(n,r,e),c=t.map(f=>[i.map(u([+o[f],+a[f]],f)),i.map(u([+l[f],+s[f]],f))]);return[t,c]};Vle.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:GEe,channels:[...os({shapes:Object.keys(GEe)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:PGe},{type:TGe}],postInference:[...Ko(),...H0()]};const KEe={image:VZe},yQe=e=>{const{cartesian:t}=e;return t?zle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};yQe.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:KEe,channels:[...os({shapes:Object.keys(KEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...No(),{type:QF},{type:ZF}],postInference:[...Ko(),...H0()]};const XEe={polygon:UZe,ribbon:GZe},bQe=()=>(e,t,n,r)=>{const i=Object.entries(n).filter(([l])=>l.startsWith("x")).map(([,l])=>l),o=Object.entries(n).filter(([l])=>l.startsWith("y")).map(([,l])=>l),a=e.map(l=>{const s=[];for(let u=0;u(e,t,n,r)=>{const{x:i,y:o,y1:a,y2:l,y3:s,y4:u,series:c}=n,f=t.x,h=t.series,d=Array.from(e,p=>{const g=f.getBandWidth(f.invert(+i[p])),m=h?h.getBandWidth(h.invert(+(c==null?void 0:c[p]))):1,v=g*m,y=(+(c==null?void 0:c[p])||0)*g,b=+i[p]+y+v/2,[C,x,S,w,O]=[+o[p],+a[p],+l[p],+s[p],+u[p]];return[[b-v/2,O],[b+v/2,O],[b,O],[b,w],[b-v/2,w],[b+v/2,w],[b+v/2,x],[b-v/2,x],[b-v/2,S],[b+v/2,S],[b,x],[b,C],[b-v/2,C],[b+v/2,C]].map(P=>r.map(P))});return[e,d]};CQe.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:YEe,channels:[...os({shapes:Object.keys(YEe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...No(),{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const ZEe={vector:Ple},SQe=()=>(e,t,n,r)=>{const{x:i,y:o,size:a,rotate:l}=n,[s,u]=r.getSize(),c=e.map(f=>{const h=+l[f]/180*Math.PI,d=+a[f],p=d/s,g=d/u,m=p*Math.cos(h),v=-g*Math.sin(h);return[r.map([+i[f]-m/2,+o[f]-v/2]),r.map([+i[f]+m/2,+o[f]+v/2])]});return[e,c]};SQe.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:ZEe,channels:[...os({shapes:Object.keys(ZEe)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...No()],postInference:[...Ko(),...H0()]};const QEe={line:Fle},xQe=e=>(t,n,r,i)=>{const{y:o}=r,a=lb(n,r,Dt({style:{bandOffset:0}},e)),l=Array.from(t,s=>{const u=[0,o[s]],c=[1,o[s]];return[u,c].map(f=>i.map(a(f,s)))});return[t,l]};xQe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:QEe,channels:[...qC({shapes:Object.keys(QEe)}),{name:"y",required:!0}],preInference:[...No(),{type:EGe}],postInference:[...Ko()]};const JEe={line:Fle},_Qe=e=>(t,n,r,i)=>{const{x:o}=r,a=lb(n,r,Dt({style:{bandOffset:0}},e)),l=Array.from(t,s=>{const u=[o[s],1],c=[o[s],0];return[u,c].map(f=>i.map(a(f,s)))});return[t,l]};_Qe.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:JEe,channels:[...qC({shapes:Object.keys(JEe)}),{name:"x",required:!0}],preInference:[...No(),{type:$Ge}],postInference:[...Ko()]};const e7e={connector:YZe},wQe=(...e)=>Vle(...e);wQe.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:e7e,channels:[...qC({shapes:Object.keys(e7e)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No()],postInference:[...Ko()]};function t7e(e,t,n,r){if(t)return()=>[0,1];const{[e]:i,[`${e}1`]:o}=n;return a=>{var l;const s=((l=r.getBandWidth)===null||l===void 0?void 0:l.call(r,r.invert(+o[a])))||0;return[i[a],o[a]+s]}}function Ule(e={}){const{extendX:t=!1,extendY:n=!1}=e;return(r,i,o,a)=>{const l=t7e("x",t,o,i.x),s=t7e("y",n,o,i.y),u=Array.from(r,c=>{const[f,h]=l(c),[d,p]=s(c);return[[f,d],[h,d],[h,p],[f,p]].map(b=>a.map(b))});return[r,u]}}const n7e={range:ab},OQe=()=>Ule();OQe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:n7e,channels:[...qC({shapes:Object.keys(n7e)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No()],postInference:[...Ko()]};const r7e={range:ab},EQe=()=>Ule({extendY:!0});EQe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:r7e,channels:[...qC({shapes:Object.keys(r7e)}),{name:"x",required:!0}],preInference:[...No(),{type:MGe}],postInference:[...Ko()]};const i7e={range:ab},$Qe=()=>Ule({extendX:!0});$Qe.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:i7e,channels:[...qC({shapes:Object.keys(i7e)}),{name:"y",required:!0}],preInference:[...No(),{type:RGe}],postInference:[...Ko()]};function v1n(e){return e.target.depth}function y1n(e){return e.depth}function b1n(e,t){return t-1-e.height}function hL(e,t){return e.sourceLinks.length?e.depth:t-1}function C1n(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?$c(e.sourceLinks,v1n)-1:0}function vA(e){return function(){return e}}function o7e(e,t){return gL(e.source,t.source)||e.index-t.index}function a7e(e,t){return gL(e.target,t.target)||e.index-t.index}function gL(e,t){return e.y0-t.y0}function HK(e){return e.value}function S1n(e){return e.index}function x1n(e){return e.nodes}function _1n(e){return e.links}function l7e(e,t){const n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function s7e({nodes:e}){for(const t of e){let n=t.y0,r=n;for(const i of t.sourceLinks)i.y0=n+i.width/2,n+=i.width;for(const i of t.targetLinks)i.y1=r+i.width/2,r+=i.width}}function w1n(){let e=0,t=0,n=1,r=1,i=24,o=8,a,l=S1n,s=hL,u,c,f,h=x1n,d=_1n,p=6;function g(j){const D={nodes:h(j),links:d(j)};return m(D),v(D),y(D),b(D),S(D),s7e(D),D}g.update=function(j){return s7e(j),j},g.nodeId=function(j){return arguments.length?(l=typeof j=="function"?j:vA(j),g):l},g.nodeAlign=function(j){return arguments.length?(s=typeof j=="function"?j:vA(j),g):s},g.nodeDepth=function(j){return arguments.length?(u=j,g):u},g.nodeSort=function(j){return arguments.length?(c=j,g):c},g.nodeWidth=function(j){return arguments.length?(i=+j,g):i},g.nodePadding=function(j){return arguments.length?(o=a=+j,g):o},g.nodes=function(j){return arguments.length?(h=typeof j=="function"?j:vA(j),g):h},g.links=function(j){return arguments.length?(d=typeof j=="function"?j:vA(j),g):d},g.linkSort=function(j){return arguments.length?(f=j,g):f},g.size=function(j){return arguments.length?(e=t=0,n=+j[0],r=+j[1],g):[n-e,r-t]},g.extent=function(j){return arguments.length?(e=+j[0][0],n=+j[1][0],t=+j[0][1],r=+j[1][1],g):[[e,t],[n,r]]},g.iterations=function(j){return arguments.length?(p=+j,g):p};function m({nodes:j,links:D}){j.forEach((B,k)=>{B.index=k,B.sourceLinks=[],B.targetLinks=[]});const L=new Map(j.map(B=>[l(B),B]));if(D.forEach((B,k)=>{B.index=k;let{source:z,target:q}=B;typeof z!="object"&&(z=B.source=l7e(L,z)),typeof q!="object"&&(q=B.target=l7e(L,q)),z.sourceLinks.push(B),q.targetLinks.push(B)}),f!=null)for(const{sourceLinks:B,targetLinks:k}of j)B.sort(f),k.sort(f)}function v({nodes:j}){for(const D of j)D.value=D.fixedValue===void 0?Math.max(cu(D.sourceLinks,HK),cu(D.targetLinks,HK)):D.fixedValue}function y({nodes:j}){const D=j.length;let L=new Set(j),B=new Set,k=0;for(;L.size;){if(L.forEach(z=>{z.depth=k;for(const{target:q}of z.sourceLinks)B.add(q)}),++k>D)throw new Error("circular link");L=B,B=new Set}if(u){const z=Math.max(ri(j,W=>W.depth)+1,0);let q;for(let W=0;W{z.height=k;for(const{source:q}of z.targetLinks)B.add(q)}),++k>D)throw new Error("circular link");L=B,B=new Set}}function C({nodes:j}){const D=Math.max(ri(j,k=>k.depth)+1,0),L=(n-e-i)/(D-1),B=new Array(D).fill(0).map(()=>[]);for(const k of j){const z=Math.max(0,Math.min(D-1,Math.floor(s.call(null,k,D))));k.layer=z,k.x0=e+z*L,k.x1=k.x0+i,B[z]?B[z].push(k):B[z]=[k]}if(c)for(const k of B)k.sort(c);return B}function x(j){const D=$c(j,L=>(r-t-(L.length-1)*a)/cu(L,HK));for(const L of j){let B=t;for(const k of L){k.y0=B,k.y1=B+k.value*D,B=k.y1+a;for(const z of k.sourceLinks)z.width=z.value*D}B=(r-B+a)/(L.length+1);for(let k=0;kL.length)-1)),x(D);for(let L=0;L0))continue;const K=(W/U-q.y0)*D;q.y0+=K,q.y1+=K,R(q)}c===void 0&&z.sort(gL),z.length&&$(z,L)}}function O(j,D,L){for(let B=j.length,k=B-2;k>=0;--k){const z=j[k];for(const q of z){let W=0,U=0;for(const{target:X,value:G}of q.sourceLinks){const Y=G*(X.layer-q.layer);W+=N(q,X)*Y,U+=Y}if(!(U>0))continue;const K=(W/U-q.y0)*D;q.y0+=K,q.y1+=K,R(q)}c===void 0&&z.sort(gL),z.length&&$(z,L)}}function $(j,D){const L=j.length>>1,B=j[L];T(j,B.y0-a,L-1,D),P(j,B.y1+a,L+1,D),T(j,r,j.length-1,D),P(j,t,0,D)}function P(j,D,L,B){for(;L1e-6&&(k.y0+=z,k.y1+=z),D=k.y1+a}}function T(j,D,L,B){for(;L>=0;--L){const k=j[L],z=(k.y1-D)*B;z>1e-6&&(k.y0-=z,k.y1-=z),D=k.y0-a}}function R({sourceLinks:j,targetLinks:D}){if(f===void 0){for(const{source:{sourceLinks:L}}of D)L.sort(a7e);for(const{target:{targetLinks:L}}of j)L.sort(o7e)}}function M(j){if(f===void 0)for(const{sourceLinks:D,targetLinks:L}of j)D.sort(a7e),L.sort(o7e)}function A(j,D){let L=j.y0-(j.sourceLinks.length-1)*a/2;for(const{target:B,width:k}of j.sourceLinks){if(B===D)break;L+=k+a}for(const{source:B,width:k}of D.targetLinks){if(B===j)break;L-=k}return L}function N(j,D){let L=D.y0-(D.targetLinks.length-1)*a/2;for(const{source:B,width:k}of D.targetLinks){if(B===j)break;L+=k+a}for(const{target:B,width:k}of j.sourceLinks){if(B===D)break;L-=k}return L}return g}const O1n={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},E1n={left:y1n,right:b1n,center:C1n,justify:hL};function $1n(e){const t=typeof e;return t==="string"?E1n[e]||hL:t==="function"?e:hL}const PQe=e=>t=>{const{nodeId:n,nodeSort:r,nodeAlign:i,nodeWidth:o,nodePadding:a,nodeDepth:l,nodes:s,links:u,linkSort:c,iterations:f}=Object.assign({},O1n,e),h=w1n().nodeSort(r).linkSort(c).links(u).nodes(s).nodeWidth(o).nodePadding(a).nodeDepth(l).nodeAlign($1n(i)).iterations(f).extent([[0,0],[1,1]]);typeof n=="function"&&h.nodeId(n);const d=h(t),{nodes:p,links:g}=d,m=p.map(y=>{const{x0:b,x1:C,y0:x,y1:S}=y;return Object.assign(Object.assign({},y),{x:[b,C,C,b],y:[x,x,S,S]})}),v=g.map(y=>{const{source:b,target:C}=y,x=b.x1,S=C.x0,w=y.width/2;return Object.assign(Object.assign({},y),{x:[x,x,S,S],y:[y.y0+w,y.y0-w,y.y1+w,y.y1-w]})});return{nodes:m,links:v}};PQe.props={};function zf(e,t,n={},r=!1){if(xh(e)||Array.isArray(e)&&r)return e;const i=hn(e,t);return Dt(n,i)}function mL(e,t={}){return xh(e)||Array.isArray(e)||!TQe(e)?e:Dt(t,e)}function TQe(e){if(Object.keys(e).length===0)return!0;const{title:t,items:n}=e;return t!==void 0||n!==void 0}function Bf(e,t){return typeof e=="object"?hn(e,t):e}var P1n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.key,nodeWidth:.02,nodePadding:.02},M1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},R1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},I1n={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},MQe=e=>{const{data:t,encode:n={},scale:r,style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,{links:c,nodes:f}=Ble(t,n),h=hn(n,"node"),d=hn(n,"link"),{key:p=$=>$.key,color:g=p}=h,{links:m,nodes:v}=PQe(Object.assign(Object.assign(Object.assign({},T1n),{nodeId:Tf(p)}),o))({links:c,nodes:f}),y=hn(i,"label"),{text:b=p,spacing:C=5}=y,x=P1n(y,["text","spacing"]),S=Tf(p),w=zf(u,"node",{title:S,items:[{field:"value"}]},!0),O=zf(u,"link",{title:"",items:[$=>({name:"source",value:S($.source)}),$=>({name:"target",value:S($.target)})]});return[Dt({},M1n,{data:v,encode:Object.assign(Object.assign({},h),{color:g}),scale:r,style:hn(i,"node"),labels:[Object.assign(Object.assign(Object.assign({},I1n),{text:b,dx:$=>$.x[0]<.5?C:-C}),x),...a],tooltip:w,animate:Bf(s,"node"),axis:!1}),Dt({},R1n,{data:m,encode:d,labels:l,style:Object.assign({fill:d.color?void 0:"#aaa",strokeWidth:0},hn(i,"link")),tooltip:O,animate:Bf(s,"link")})]};MQe.props={};function N1n(e,t){return t.value-e.value}function A1n(e,t){return t.frequency-e.frequency}function k1n(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function j1n(e,t){return`${e.name}`.localeCompare(`${t.name}`)}const D1n=Object.freeze(Object.defineProperty({__proto__:null,frequency:A1n,id:k1n,name:j1n,weight:N1n},Symbol.toStringTag,{value:"Module"})),L1n={y:0,thickness:.05,weight:!1,marginRatio:.1,id:e=>e.id,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null};function z1n(e){const{y:t,thickness:n,weight:r,marginRatio:i,id:o,source:a,target:l,sourceWeight:s,targetWeight:u,sortBy:c}=Object.assign(Object.assign({},L1n),e);function f(m){const v=m.nodes.map(b=>Object.assign({},b)),y=m.edges.map(b=>Object.assign({},b));return h(v,y),d(v),p(v,y),g(v,y),{nodes:v,edges:y}}function h(m,v){v.forEach(C=>{C.source=a(C),C.target=l(C),C.sourceWeight=s(C),C.targetWeight=u(C)});const y=Ji(v,C=>C.source),b=Ji(v,C=>C.target);return m.forEach(C=>{C.id=o(C);const x=y.has(C.id)?y.get(C.id):[],S=b.has(C.id)?b.get(C.id):[];C.frequency=x.length+S.length,C.value=cu(x,w=>w.sourceWeight)+cu(S,w=>w.targetWeight)}),{nodes:m,edges:v}}function d(m,v){const y=typeof c=="function"?c:D1n[c];y&&m.sort(y)}function p(m,v){const y=m.length;if(!y)throw I4("Invalid nodes: it's empty!");if(!r){const x=1/y;return m.forEach((S,w)=>{S.x=(w+.5)*x,S.y=t}),{nodes:m,edges:v}}const b=i/(2*y),C=m.reduce((x,S)=>x+=S.value,0);return m.reduce((x,S)=>{S.weight=S.value/C,S.width=S.weight*(1-i),S.height=n;const w=b+x,O=w+S.width,$=t-n/2,P=$+n;return S.x=[w,O,O,w],S.y=[$,$,P,P],x+S.width+2*b},0),{nodes:m,edges:v}}function g(m,v){const y=new Map(m.map(x=>[x.id,x]));if(!r)return v.forEach(x=>{const S=a(x),w=l(x),O=y.get(S),$=y.get(w);O&&$&&(x.x=[O.x,$.x],x.y=[O.y,$.y])}),{nodes:m,edges:v};v.forEach(x=>{x.x=[0,0,0,0],x.y=[t,t,t,t]});const b=Ji(v,x=>x.source),C=Ji(v,x=>x.target);m.forEach(x=>{const{edges:S,width:w,x:O,y:$,value:P,id:T}=x,R=b.get(T)||[],M=C.get(T)||[];let A=0;R.map(N=>{const j=N.sourceWeight/P*w;N.x[0]=O[0]+A,N.x[1]=O[0]+A+j,A+=j}),M.forEach(N=>{const j=N.targetWeight/P*w;N.x[3]=O[0]+A,N.x[2]=O[0]+A+j,A+=j})})}return f}const Gle=e=>t=>z1n(e)(t);Gle.props={};var c7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.key,source:e=>e.source,target:e=>e.target,sourceWeight:e=>e.value||1,targetWeight:e=>e.value||1,sortBy:null},B1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{opacity:1,fillOpacity:1,lineWidth:1}},F1n={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1,strokeWidth:1}},H1n={position:"outside",fontSize:10},RQe=(e,t)=>{const{data:n,encode:r={},scale:i,style:o={},layout:a={},nodeLabels:l=[],linkLabels:s=[],animate:u={},tooltip:c={}}=e,{nodes:f,links:h}=Ble(n,r),d=hn(r,"node"),p=hn(r,"link"),{key:g=N=>N.key,color:m=g}=d,{linkEncodeColor:v=N=>N.source}=p,{nodeWidthRatio:y=WK.thickness,nodePaddingRatio:b=WK.marginRatio}=a,C=c7e(a,["nodeWidthRatio","nodePaddingRatio"]),{nodes:x,edges:S}=Gle(Object.assign(Object.assign(Object.assign(Object.assign({},WK),{id:Tf(g),thickness:y,marginRatio:b}),C),{weight:!0}))({nodes:f,edges:h}),w=hn(o,"label"),{text:O=g}=w,$=c7e(w,["text"]),P=zf(c,"node",{title:"",items:[N=>({name:N.key,value:N.value})]},!0),T=zf(c,"link",{title:"",items:[N=>({name:`${N.source} -> ${N.target}`,value:N.value})]}),{height:R,width:M}=t,A=Math.min(R,M);return[Dt({},F1n,{data:S,encode:Object.assign(Object.assign({},p),{color:v}),labels:s,style:Object.assign({fill:v?void 0:"#aaa"},hn(o,"link")),tooltip:T,animate:Bf(u,"link")}),Dt({},B1n,{data:x,encode:Object.assign(Object.assign({},d),{color:m}),scale:i,style:hn(o,"node"),coordinate:{type:"polar",outerRadius:(A-20)/A,startAngle:-Math.PI*2,endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},H1n),{text:O}),$),...l],tooltip:P,animate:Bf(u,"node"),axis:!1})]};RQe.props={};const u7e={path:iQe,hollow:oQe},IQe=e=>(t,n,r,i)=>[t,t.map(()=>[[0,0]])];IQe.props={defaultShape:"path",defaultLabelShape:"label",shape:u7e,composite:!1,channels:[...os({shapes:Object.keys(u7e)}),{name:"d",scale:"identity"}],preInference:[...No()],postInference:[...Ko()]};function W1n(e,t){return e.parent===t.parent?1:2}function q1n(e){return e.reduce(V1n,0)/e.length}function V1n(e,t){return e+t.x}function U1n(e){return 1+e.reduce(G1n,0)}function G1n(e,t){return Math.max(e,t.y)}function K1n(e){for(var t;t=e.children;)e=t[0];return e}function X1n(e){for(var t;t=e.children;)e=t[t.length-1];return e}function Y1n(){var e=W1n,t=1,n=1,r=!1;function i(o){var a,l=0;o.eachAfter(function(h){var d=h.children;d?(h.x=q1n(d),h.y=U1n(d)):(h.x=a?l+=e(h,a):0,h.y=0,a=h)});var s=K1n(o),u=X1n(o),c=s.x-e(s,u)/2,f=u.x+e(u,s)/2;return o.eachAfter(r?function(h){h.x=(h.x-o.x)*t,h.y=(o.y-h.y)*n}:function(h){h.x=(h.x-c)/(f-c)*t,h.y=(1-(o.y?h.y/o.y:1))*n})}return i.separation=function(o){return arguments.length?(e=o,i):e},i.size=function(o){return arguments.length?(r=!1,t=+o[0],n=+o[1],i):r?null:[t,n]},i.nodeSize=function(o){return arguments.length?(r=!0,t=+o[0],n=+o[1],i):r?[t,n]:null},i}function Z1n(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function Q1n(){return this.eachAfter(Z1n)}function J1n(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this}function e0n(e,t){for(var n=this,r=[n],i,o,a=-1;n=r.pop();)if(e.call(t,n,++a,this),i=n.children)for(o=i.length-1;o>=0;--o)r.push(i[o]);return this}function t0n(e,t){for(var n=this,r=[n],i=[],o,a,l,s=-1;n=r.pop();)if(i.push(n),o=n.children)for(a=0,l=o.length;a=0;)n+=r[i].value;t.value=n})}function i0n(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function o0n(e){for(var t=this,n=a0n(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function a0n(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function l0n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function s0n(){return Array.from(this)}function c0n(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function u0n(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*d0n(){var e=this,t,n=[e],r,i,o;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,o=r.length;i=0;--l)i.push(o=a[l]=new W4(a[l])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(NQe)}function f0n(){return VC(this).eachBefore(g0n)}function p0n(e){return e.children}function h0n(e){return Array.isArray(e)?e[1]:null}function g0n(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function NQe(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function W4(e){this.data=e,this.depth=this.height=0,this.parent=null}W4.prototype=VC.prototype={constructor:W4,count:Q1n,each:J1n,eachAfter:t0n,eachBefore:e0n,find:n0n,sum:r0n,sort:i0n,path:o0n,ancestors:l0n,descendants:s0n,leaves:c0n,links:u0n,copy:f0n,[Symbol.iterator]:d0n};function Xk(e){return e==null?null:AQe(e)}function AQe(e){if(typeof e!="function")throw new Error;return e}function pv(){return 0}function I2(e){return function(){return e}}const m0n=1664525,v0n=1013904223,d7e=4294967296;function y0n(){let e=1;return()=>(e=(m0n*e+v0n)%d7e)/d7e}function b0n(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function C0n(e,t){let n=e.length,r,i;for(;n;)i=t()*n--|0,r=e[n],e[n]=e[i],e[i]=r;return e}function S0n(e,t){for(var n=0,r=(e=C0n(Array.from(e),t)).length,i=[],o,a;n0&&n*n>r*r+i*i}function qK(e,t){for(var n=0;n1e-6?(T+Math.sqrt(T*T-4*P*R))/(2*P):R/T);return{x:r+S+w*M,y:i+O+$*M,r:M}}function f7e(e,t,n){var r=e.x-t.x,i,o,a=e.y-t.y,l,s,u=r*r+a*a;u?(o=t.r+n.r,o*=o,s=e.r+n.r,s*=s,o>s?(i=(u+s-o)/(2*u),l=Math.sqrt(Math.max(0,s/u-i*i)),n.x=e.x-i*r-l*a,n.y=e.y-i*a+l*r):(i=(u+o-s)/(2*u),l=Math.sqrt(Math.max(0,o/u-i*i)),n.x=t.x+i*r-l*a,n.y=t.y+i*a+l*r)):(n.x=t.x+n.r,n.y=t.y)}function p7e(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function h7e(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function bA(e){this._=e,this.next=null,this.previous=null}function O0n(e,t){if(!(o=(e=b0n(e)).length))return 0;var n,r,i,o,a,l,s,u,c,f,h;if(n=e[0],n.x=0,n.y=0,!(o>1))return n.r;if(r=e[1],n.x=-r.r,r.x=n.r,r.y=0,!(o>2))return n.r+r.r;f7e(r,n,i=e[2]),n=new bA(n),r=new bA(r),i=new bA(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(s=3;sI0n(n(C,x,i))),y=v.map(y7e),b=new Set(v).add("");for(const C of y)b.has(C)||(b.add(C),v.push(C),y.push(y7e(C)),o.push(UK));a=(C,x)=>v[x],l=(C,x)=>y[x]}for(c=0,s=o.length;c=0&&(d=o[v],d.data===UK);--v)d.data=null}if(f.parent=T0n,f.eachBefore(function(v){v.depth=v.parent.depth+1,--s}).eachBefore(NQe),f.parent=null,s>0)throw new Error("cycle");return f}return r.id=function(i){return arguments.length?(e=Xk(i),r):e},r.parentId=function(i){return arguments.length?(t=Xk(i),r):t},r.path=function(i){return arguments.length?(n=Xk(i),r):n},r}function I0n(e){e=`${e}`;let t=e.length;return aee(e,t-1)&&!aee(e,t-2)&&(e=e.slice(0,-1)),e[0]==="/"?e:`/${e}`}function y7e(e){let t=e.length;if(t<2)return"";for(;--t>1&&!aee(e,t););return e.slice(0,t)}function aee(e,t){if(e[t]==="/"){let n=0;for(;t>0&&e[--t]==="\\";)++n;if(!(n&1))return!0}return!1}function N0n(e,t){return e.parent===t.parent?1:2}function GK(e){var t=e.children;return t?t[0]:e.t}function KK(e){var t=e.children;return t?t[t.length-1]:e.t}function A0n(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function k0n(e){for(var t=0,n=0,r=e.children,i=r.length,o;--i>=0;)o=r[i],o.z+=t,o.m+=t,t+=o.s+(n+=o.c)}function j0n(e,t,n){return e.a.parent===t.parent?e.a:n}function Yk(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}Yk.prototype=Object.create(W4.prototype);function D0n(e){for(var t=new Yk(e,0),n,r=[t],i,o,a,l;n=r.pop();)if(o=n._.children)for(n.children=new Array(l=o.length),a=l-1;a>=0;--a)r.push(i=n.children[a]=new Yk(o[a],a)),i.parent=n;return(t.parent=new Yk(null,0)).children=[t],t}function L0n(){var e=N0n,t=1,n=1,r=null;function i(u){var c=D0n(u);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)u.eachBefore(s);else{var f=u,h=u,d=u;u.eachBefore(function(y){y.xh.x&&(h=y),y.depth>d.depth&&(d=y)});var p=f===h?1:e(f,h)/2,g=p-f.x,m=t/(h.x+p+g),v=n/(d.depth||1);u.eachBefore(function(y){y.x=(y.x+g)*m,y.y=y.depth*v})}return u}function o(u){var c=u.children,f=u.parent.children,h=u.i?f[u.i-1]:null;if(c){k0n(u);var d=(c[0].z+c[c.length-1].z)/2;h?(u.z=h.z+e(u._,h._),u.m=u.z-d):u.z=d}else h&&(u.z=h.z+e(u._,h._));u.parent.A=l(u,h,u.parent.A||f[0])}function a(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function l(u,c,f){if(c){for(var h=u,d=u,p=c,g=h.parent.children[0],m=h.m,v=d.m,y=p.m,b=g.m,C;p=KK(p),h=GK(h),p&&h;)g=GK(g),d=KK(d),d.a=u,C=p.z+y-h.z-m+e(p._,h._),C>0&&(A0n(j0n(p,u,f),u,C),m+=C,v+=C),y+=p.m,m+=h.m,b+=g.m,v+=d.m;p&&!KK(d)&&(d.t=p,d.m+=y-v),h&&!GK(g)&&(g.t=h,g.m+=m-b,f=u)}return f}function s(u){u.x*=t,u.y=u.depth*n}return i.separation=function(u){return arguments.length?(e=u,i):e},i.size=function(u){return arguments.length?(r=!1,t=+u[0],n=+u[1],i):r?null:[t,n]},i.nodeSize=function(u){return arguments.length?(r=!0,t=+u[0],n=+u[1],i):r?[t,n]:null},i}function wH(e,t,n,r,i){for(var o=e.children,a,l=-1,s=o.length,u=e.value&&(i-n)/e.value;++ly&&(y=u),S=m*m*x,b=Math.max(y/S,S/v),b>C){m-=u;break}C=b}a.push(s={value:m,dice:d1?r:1)},n}(LQe);function z0n(){var e=BQe,t=!1,n=1,r=1,i=[0],o=pv,a=pv,l=pv,s=pv,u=pv;function c(h){return h.x0=h.y0=0,h.x1=n,h.y1=r,h.eachBefore(f),i=[0],t&&h.eachBefore(DQe),h}function f(h){var d=i[h.depth],p=h.x0+d,g=h.y0+d,m=h.x1-d,v=h.y1-d;m=h-1){var y=o[f];y.x0=p,y.y0=g,y.x1=m,y.y1=v;return}for(var b=u[f],C=d/2+b,x=f+1,S=h-1;x>>1;u[w]v-g){var P=d?(p*$+m*O)/d:m;c(f,x,O,p,g,P,v),c(x,h,$,P,g,m,v)}else{var T=d?(g*$+v*O)/d:v;c(f,x,O,p,g,m,T),c(x,h,$,p,T,m,v)}}}function F0n(e,t,n,r,i){(e.depth&1?wH:BP)(e,t,n,r,i)}const H0n=function e(t){function n(r,i,o,a,l){if((s=r._squarify)&&s.ratio===t)for(var s,u,c,f,h=-1,d,p=s.length,g=r.value;++h1?r:1)},n}(LQe);function W0n(e,t){return Array.isArray(e)?typeof t=="function"?oee().path(t)(e):oee()(e):VC(e)}function FQe(e,t=[e.data.name]){e.id=e.id||e.data.name,e.path=t,e.children&&e.children.forEach(n=>{n.id=`${e.id}/${n.data.name}`,n.path=[...t,n.data.name],FQe(n,n.path)})}function HQe(e){const t=Li(e,["data","name"]);t.replaceAll&&(e.path=t.replaceAll(".","/").split("/")),e.children&&e.children.forEach(n=>{HQe(n)})}function q0n(e,t){const n={treemapBinary:B0n,treemapDice:BP,treemapSlice:wH,treemapSliceDice:F0n,treemapSquarify:BQe,treemapResquarify:H0n},r=e==="treemapSquarify"?n[e].ratio(t):n[e];if(!r)throw new TypeError("Invalid tile method!");return r}function WQe(e,t,n){const{value:r}=n,i=q0n(t.tile,t.ratio),o=W0n(e,t.path);sa(e)?HQe(o):FQe(o),r?o.sum(s=>t.ignoreParentValue&&s.children?0:Tf(r)(s)).sort(t.sort):o.count(),z0n().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);const a=o.descendants().map(s=>Object.assign(s,{id:s.id.replace(/^\//,""),x:[s.x0,s.x1],y:[s.y0,s.y1]}));return[a.filter(typeof t.layer=="function"?t.layer:s=>s.height===t.layer),a]}var V0n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({tile:"treemapSquarify",ratio:.5*(1+Math.sqrt(5)),size:[e,t],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,sort:(n,r)=>r.value-n.value,layer:0}),G0n=(e,t)=>({type:"rect",axis:!1,encode:{x:"x",y:"y",key:"id",color:n=>n.path[1]},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]}},style:{stroke:"#fff"},state:{active:{opacity:.6},inactive:{opacity:1}}}),K0n={fontSize:10,text:e=>CP(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},X0n={title:e=>{var t,n;return(n=(t=e.path)===null||t===void 0?void 0:t.join)===null||n===void 0?void 0:n.call(t,".")},items:[{field:"value"}]},Y0n={title:e=>CP(e.path),items:[{field:"value"}]},qQe=(e,t)=>{const{width:n,height:r,options:i}=t,{data:o,encode:a={},scale:l,style:s={},layout:u={},labels:c=[],tooltip:f={}}=e,h=V0n(e,["data","encode","scale","style","layout","labels","tooltip"]),d=Li(i,["interaction","treemapDrillDown"]),p=Dt({},U0n(n,r),u,{layer:d?y=>y.depth===1:u.layer}),[g,m]=WQe(o,p,a),v=hn(s,"label");return Dt({},G0n(n,r),Object.assign(Object.assign({data:g,scale:l,style:s,labels:[Object.assign(Object.assign({},K0n),v),...c]},h),{encode:a,tooltip:mL(f,X0n),axis:!1}),d?{interaction:Object.assign(Object.assign({},h.interaction),{treemapDrillDown:d?Object.assign(Object.assign({},d),{originData:m,layout:p}):void 0}),encode:Object.assign({color:y=>CP(y.path)},a),tooltip:mL(f,Y0n)}:{})};qQe.props={};var Z0n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({size:[e,t],padding:0,sort:(n,r)=>r.value-n.value}),J0n=(e,t,n)=>({type:"point",axis:!1,legend:!1,scale:{x:{domain:[0,e]},y:{domain:[0,t]},size:{type:"identity"}},encode:{x:"x",y:"y",size:"r",shape:"point"},style:{fill:n.color?void 0:r=>r.height===0?"#ddd":"#fff",stroke:n.color?void 0:r=>r.height===0?"":"#000"}}),egn={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.r*2},tgn={title:e=>e.data.name,items:[{field:"value"}]},ngn=(e,t,n)=>{const{value:r}=n,i=sa(e)?oee().path(t.path)(e):VC(e);return r?i.sum(o=>Tf(r)(o)).sort(t.sort):i.count(),$0n().size(t.size).padding(t.padding)(i),i.descendants()},VQe=(e,t)=>{const{width:n,height:r}=t,{data:i,encode:o={},scale:a={},style:l={},layout:s={},labels:u=[],tooltip:c={}}=e,f=Z0n(e,["data","encode","scale","style","layout","labels","tooltip"]),h=J0n(n,r,o),d=ngn(i,Dt({},Q0n(n,r),s),Dt({},h.encode,o)),p=hn(l,"label");return Dt({},h,Object.assign(Object.assign({data:d,encode:o,scale:a,style:l,labels:[Object.assign(Object.assign({},egn),p),...u]},f),{tooltip:mL(c,tgn),axis:!1}))};VQe.props={};var b7e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[n])}function ign(e,t){return ri(e,n=>t[n])}function UQe(e,t){const n=Kle(e,t)*2.5-Xle(e,t)*1.5;return $c(e,r=>t[r]>=n?t[r]:NaN)}function Kle(e,t){return GF(e,.25,n=>t[n])}function ogn(e,t){return GF(e,.5,n=>t[n])}function Xle(e,t){return GF(e,.75,n=>t[n])}function GQe(e,t){const n=Xle(e,t)*2.5-Kle(e,t)*1.5;return ri(e,r=>t[r]<=n?t[r]:NaN)}function agn(){return(e,t)=>{const{encode:n}=t,{y:r,x:i}=n,{value:o}=r,{value:a}=i;return[Array.from(Ji(e,u=>a[+u]).values()).flatMap(u=>{const c=UQe(u,o),f=GQe(u,o);return u.filter(h=>o[h]f)}),t]}}const KQe=e=>{const{data:t,encode:n,style:r={},tooltip:i={},transform:o,animate:a}=e,l=b7e(e,["data","encode","style","tooltip","transform","animate"]),{point:s=!0}=r,u=b7e(r,["point"]),{y:c}=n,f={y:c,y1:c,y2:c,y3:c,y4:c},h={y1:Kle,y2:ogn,y3:Xle},d=zf(i,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),p=zf(i,"point",{title:{channel:"x"},items:[{name:"outlier",channel:"y"}]});if(!s)return Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:rgn},h),{y4:ign})],encode:Object.assign(Object.assign({},n),f),style:u,tooltip:d},l);const g=hn(u,"box"),m=hn(u,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:UQe},h),{y4:GQe})],encode:Object.assign(Object.assign({},n),f),style:g,tooltip:d,animate:Bf(a,"box")},l),{type:"point",data:t,transform:[{type:agn}],encode:n,style:Object.assign({},m),tooltip:p,animate:Bf(a,"point")}]};KQe.props={};const lgn={shape:cQe},XQe=e=>{const{cartesian:t}=e;return t?zle:(n,r,i,o)=>{const{x:a,y:l}=i,s=lb(r,i,e),u=Array.from(n,c=>{const f=[+a[c],+l[c]];return[o.map(s(f,c))]});return[n,u]}};XQe.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:lgn,channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...No(),{type:QF},{type:ZF},{type:IGe}]};function sgn(e,t){var n,r=1;e==null&&(e=0),t==null&&(t=0);function i(){var o,a=n.length,l,s=0,u=0;for(o=0;o=(f=(l+u)/2))?l=f:u=f,(m=n>=(h=(s+c)/2))?s=h:c=h,i=o,!(o=o[v=m<<1|g]))return i[v]=a,e;if(d=+e._x.call(null,o.data),p=+e._y.call(null,o.data),t===d&&n===p)return a.next=o,i?i[v]=a:e._root=a,e;do i=i?i[v]=new Array(4):e._root=new Array(4),(g=t>=(f=(l+u)/2))?l=f:u=f,(m=n>=(h=(s+c)/2))?s=h:c=h;while((v=m<<1|g)===(y=(p>=h)<<1|d>=f));return i[y]=o,i[v]=a,e}function ugn(e){var t,n,r=e.length,i,o,a=new Array(r),l=new Array(r),s=1/0,u=1/0,c=-1/0,f=-1/0;for(n=0;nc&&(c=i),of&&(f=o));if(s>c||u>f)return this;for(this.cover(s,u).cover(c,f),n=0;ne||e>=i||r>t||t>=o;)switch(u=(tc||(l=p.y0)>f||(s=p.x1)=v)<<1|e>=m)&&(p=h[h.length-1],h[h.length-1]=h[h.length-1-g],h[h.length-1-g]=p)}else{var y=e-+this._x.call(null,d.data),b=t-+this._y.call(null,d.data),C=y*y+b*b;if(C=(h=(a+s)/2))?a=h:s=h,(g=f>=(d=(l+u)/2))?l=d:u=d,t=n,!(n=n[m=g<<1|p]))return this;if(!n.length)break;(t[m+1&3]||t[m+2&3]||t[m+3&3])&&(r=t,v=m)}for(;n.data!==e;)if(i=n,!(n=n.next))return this;return(o=n.next)&&delete n.next,i?(o?i.next=o:delete i.next,this):t?(o?t[m]=o:delete t[m],(n=t[0]||t[1]||t[2]||t[3])&&n===(t[3]||t[2]||t[1]||t[0])&&!n.length&&(r?r[v]=n:this._root=n),this):(this._root=o,this)}function mgn(e){for(var t=0,n=e.length;t[t(x,S,a),x])),C;for(m=0,l=new Array(v);m(e=($gn*e+Pgn)%x7e)/x7e}function Mgn(e){return e.x}function Rgn(e){return e.y}var Ign=10,Ngn=Math.PI*(3-Math.sqrt(5));function Agn(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,l=new Map,s=toe(f),u=G$("tick","end"),c=Tgn();e==null&&(e=[]);function f(){h(),u.call("tick",t),n1?(m==null?l.delete(g):l.set(g,p(m)),t):l.get(g)},find:function(g,m,v){var y=0,b=e.length,C,x,S,w,O;for(v==null?v=1/0:v*=v,y=0;y1?(u.on(g,m),t):u.on(g)}}}function kgn(){var e,t,n,r,i=hc(-30),o,a=1,l=1/0,s=.81;function u(d){var p,g=e.length,m=ZQe(e,Mgn,Rgn).visitAfter(f);for(r=d,p=0;p=l)return;(d.data!==t||d.next)&&(v===0&&(v=u3(n),C+=v*v),y===0&&(y=u3(n),C+=y*y),Ce.source.x,e=>e.target.x],y:[e=>e.source.y,e=>e.target.y]},style:{stroke:"#999",strokeOpacity:.6}},Fgn={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},Hgn={text:""};function Wgn(e,t,n){const{nodes:r,links:i}=e,{joint:o,nodeStrength:a,linkStrength:l}=t,{nodeKey:s=p=>p.id,linkKey:u=p=>p.id}=n,c=kgn(),f=Egn(i).id(Tf(u));typeof a=="function"&&c.strength(a),typeof l=="function"&&f.strength(l);const h=Agn(r).force("link",f).force("charge",c);o?h.force("center",sgn()):h.force("x",jgn()).force("y",Dgn()),h.stop();const d=Math.ceil(Math.log(h.alphaMin())/Math.log(1-h.alphaDecay()));for(let p=0;p{const{data:t,encode:n={},scale:r,style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,{nodeKey:c=S=>S.id,linkKey:f=S=>S.id}=n,h=Lgn(n,["nodeKey","linkKey"]),d=Object.assign({nodeKey:c,linkKey:f},h),p=hn(d,"node"),g=hn(d,"link"),{links:m,nodes:v}=Ble(t,d),{nodesData:y,linksData:b}=Wgn({links:m,nodes:v},Dt({},zgn,o),d),C=zf(u,"link",{items:[S=>({name:"source",value:Tf(f)(S.source)}),S=>({name:"target",value:Tf(f)(S.target)})]}),x=zf(u,"node",{items:[S=>({name:"key",value:Tf(c)(S)})]},!0);return[Dt({},Bgn,{data:b,encode:g,labels:l,style:hn(i,"link"),tooltip:C,animate:Bf(s,"link")}),Dt({},Fgn,{data:y,encode:Object.assign({},p),scale:r,style:hn(i,"node"),tooltip:x,labels:[Object.assign(Object.assign({},Hgn),hn(i,"label")),...a],animate:Bf(s,"link")})]};QQe.props={};const JQe=e=>t=>n=>{const{field:r="value",nodeSize:i,separation:o,sortBy:a,as:l=["x","y"]}=t,[s,u]=l,c=VC(n,p=>p.children).sum(p=>p[r]).sort(a),f=e();f.size([1,1]),i&&f.nodeSize(i),o&&f.separation(o),f(c);const h=[];c.each(p=>{p[s]=p.x,p[u]=p.y,p.name=p.data.name,h.push(p)});const d=c.links();return d.forEach(p=>{p[s]=[p.source[s],p.target[s]],p[u]=[p.source[u],p.target[u]]}),{nodes:h,edges:d}},eJe=e=>JQe(Y1n)(e);eJe.props={};const tJe=e=>JQe(L0n)(e);tJe.props={};const qgn={sortBy:(e,t)=>t.value-e.value},Vgn={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},Ugn={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},Ggn={text:"",fontSize:10},nJe=e=>{const{data:t,encode:n={},scale:r={},style:i={},layout:o={},nodeLabels:a=[],linkLabels:l=[],animate:s={},tooltip:u={}}=e,c=n==null?void 0:n.value,{nodes:f,edges:h}=tJe(Object.assign(Object.assign(Object.assign({},qgn),o),{field:c}))(t),d=zf(u,"node",{title:"name",items:["value"]},!0),p=zf(u,"link",{title:"",items:[g=>({name:"source",value:g.source.name}),g=>({name:"target",value:g.target.name})]});return[Dt({},Ugn,{data:h,encode:hn(n,"link"),scale:hn(r,"link"),labels:l,style:Object.assign({stroke:"#999"},hn(i,"link")),tooltip:p,animate:Bf(s,"link")}),Dt({},Vgn,{data:f,scale:hn(r,"node"),encode:hn(n,"node"),labels:[Object.assign(Object.assign({},Ggn),hn(i,"label")),...a],style:Object.assign({},hn(i,"node")),tooltip:d,animate:Bf(s,"node")})]};nJe.props={};var _7e={},XK={},YK=34,j8=10,ZK=13;function rJe(e){return new Function("d","return {"+e.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function Kgn(e,t){var n=rJe(e);return function(r,i){return t(n(r),i,e)}}function w7e(e){var t=Object.create(null),n=[];return e.forEach(function(r){for(var i in r)i in t||n.push(t[i]=i)}),n}function vs(e,t){var n=e+"",r=n.length;return r9999?"+"+vs(e,6):vs(e,4)}function Ygn(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":Xgn(e.getUTCFullYear())+"-"+vs(e.getUTCMonth()+1,2)+"-"+vs(e.getUTCDate(),2)+(i?"T"+vs(t,2)+":"+vs(n,2)+":"+vs(r,2)+"."+vs(i,3)+"Z":r?"T"+vs(t,2)+":"+vs(n,2)+":"+vs(r,2)+"Z":n||t?"T"+vs(t,2)+":"+vs(n,2)+"Z":"")}function Zgn(e){var t=new RegExp('["'+e+` +\r]`),n=e.charCodeAt(0);function r(f,h){var d,p,g=i(f,function(m,v){if(d)return d(m,v-1);p=m,d=h?Kgn(m,h):rJe(m)});return g.columns=p||[],g}function i(f,h){var d=[],p=f.length,g=0,m=0,v,y=p<=0,b=!1;f.charCodeAt(p-1)===j8&&--p,f.charCodeAt(p-1)===ZK&&--p;function C(){if(y)return XK;if(b)return b=!1,_7e;var S,w=g,O;if(f.charCodeAt(w)===YK){for(;g++=p?y=!0:(O=f.charCodeAt(g++))===j8?b=!0:O===ZK&&(b=!0,f.charCodeAt(g)===j8&&++g),f.slice(w+1,S-1).replace(/""/g,'"')}for(;g{const{value:t,format:n=t.split(".").pop(),delimiter:r=",",autoType:i=!0}=e;return()=>nmn(void 0,void 0,void 0,function*(){const o=yield fetch(t);if(n==="csv"){const a=yield o.text();return Jgn(r).parse(a,i?emn:gy)}else if(n==="json")return yield o.json();throw new Error(`Unknown format: ${n}.`)})};iJe.props={};function rmn(e){return!e||Object.keys(e).length===0}const oJe=e=>{const{fields:t,key:n="key",value:r="value"}=e;return i=>rmn(t)?i:i.flatMap(o=>t.map(a=>Object.assign(Object.assign({},o),{[n]:a,[r]:o[a]})))};oJe.props={};function imn(e){return e!=null&&!Number.isNaN(e)}const aJe=e=>{const{callback:t=imn}=e;return n=>n.filter(t)};aJe.props={};const lJe=e=>{const{callback:t}=e;return n=>Array.isArray(n)?[...n].sort(t):n};lJe.props={};function omn(e,t=[]){return t.reduce((n,r)=>(r in e&&(n[r]=e[r]),n),{})}const sJe=e=>{const{fields:t}=e;return n=>n.map(r=>omn(r,t))};sJe.props={};function amn(e){return Object.keys(e).length===0}const cJe=e=>t=>{if(!e||amn(e))return t;const n=r=>Object.entries(r).reduce((i,[o,a])=>(i[e[o]||o]=a,i),{});return t.map(n)};cJe.props={};function lmn(e,t){return e.map(n=>{if(Array.isArray(n)){const[r,i=t]=n;return[r,i]}return[n,t]})}const uJe=e=>{const{fields:t=[]}=e,n=lmn(t,!0);return r=>{const i=(o,a)=>n.reduce((l,[s,u=!0])=>l!==0?l:u?o[s]a[s]?-1:+(o[s]!==a[s]),0);return[...r].sort(i)}};uJe.props={};const dJe=e=>{const{value:t}=e;return()=>t};dJe.props={};const fJe=e=>{const{callback:t=gy}=e;return n=>t(n)};fJe.props={};const pJe=e=>{const{callback:t=gy}=e;return n=>Array.isArray(n)?n.map(t):n};pJe.props={};const ZK=Math.PI/180,p9=64,Yk=2048;function smn(e){return e.text}function cmn(){return"serif"}function w7e(){return"normal"}function umn(e){return e.value}function dmn(){return~~(Math.random()*2)*90}function fmn(){return 1}function pmn(){}function hmn(e,t,n,r){if(t.sprite)return;const i=e.context,o=e.ratio;i.clearRect(0,0,(p9<<5)/o,Yk/o);let a=0,l=0,s=0;const u=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else h=h+31>>5<<5;if(d>s&&(s=d),a+h>=p9<<5&&(a=0,l+=s,s=0),l+d>=Yk)break;i.translate((a+(h>>1))/o,(l+(d>>1))/o),t.rotate&&i.rotate(t.rotate*ZK),i.fillText(t.text,0,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,0,0)),i.restore(),t.width=h,t.height=d,t.xoff=a,t.yoff=l,t.x1=h>>1,t.y1=d>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=h}const c=i.getImageData(0,0,(p9<<5)/o,Yk/o).data,f=[];for(;--r>=0;){if(t=n[r],!t.hasText)continue;const h=t.width,d=h>>5;let p=t.y1-t.y0;for(let v=0;v>5),C=c[(l+v)*(p9<<5)+(a+y)<<2]?1<<31-y%32:0;f[b]|=C,g|=C}g?m=v:(t.y0++,p--,v--,l++)}t.y1=t.y0+m,t.sprite=f.slice(0,(t.y1-t.y0)*d)}}function gmn(e,t,n){n>>=5;const r=e.sprite,i=e.width>>5,o=e.x-(i<<4),a=o&127,l=32-a,s=e.y1-e.y0;let u=(e.y+e.y0)*n+(o>>5),c;for(let f=0;f>>a:0))&t[u+h])return!0;u+=n}return!1}function mmn(e,t){const n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function vmn(e,t){return e.x+e.x1>t[0].x&&e.x+e.x0t[0].y&&e.y+e.y0>5)*e[1]),S=c.length,w=[],O=c.map(function(R,M,A){return R.text=t.call(this,R,M,A),R.font=n.call(this,R,M,A),R.style=d.call(this,R,M,A),R.weight=i.call(this,R,M,A),R.rotate=o.call(this,R,M,A),R.size=~~r.call(this,R,M,A),R.padding=a.call(this,R,M,A),R}).sort(function(R,M){return M.size-R.size});let $=-1,P=g.board?[{x:0,y:0},{x:y,y:b}]:void 0;f&&clearInterval(f),f=setInterval(T,0),T();function T(){const R=Date.now();for(;Date.now()-R>1,M.y=b*(s()+.5)>>1,hmn(C,M,O,$),M.hasText&&v(x,M,P)&&(u.call(null,"word",{cloud:g,word:M}),w.push(M),P?g.hasImage||mmn(P,M):P=[{x:M.x+M.x0,y:M.y+M.y0},{x:M.x+M.x1,y:M.y+M.y1}],M.x-=e[0]>>1,M.y-=e[1]>>1)}g._tags=w,g._bounds=P,$>=S&&(g.stop(),u.call(null,"end",{cloud:g,words:w,bounds:P}))}return g},g.stop=function(){return f&&(clearInterval(f),f=null),g};function m(y){y.width=y.height=1;const b=Math.sqrt(y.getContext("2d").getImageData(0,0,1,1).data.length>>2);y.width=(p9<<5)/b,y.height=Yk/b;const C=y.getContext("2d");return C.fillStyle=C.strokeStyle="red",C.textAlign="center",{context:C,ratio:b}}function v(y,b,C){const x=b.x,S=b.y,w=Math.sqrt(e[0]*e[0]+e[1]*e[1]),O=l(e),$=s()<.5?1:-1;let P,T=-$,R,M;for(;(P=O(T+=$))&&(R=~~P[0],M=~~P[1],!(Math.min(Math.abs(R),Math.abs(M))>=w));)if(b.x=x+R,b.y=S+M,!(b.x+b.x0<0||b.y+b.y0<0||b.x+b.x1>e[0]||b.y+b.y1>e[1])&&(!C||!gmn(b,y,e[0]))&&(!C||vmn(b,C))){const A=b.sprite,N=b.width>>5,k=e[0]>>5,D=b.x-(N<<4),L=D&127,B=32-L,j=b.y1-b.y0;let z,V=(b.y+b.y0)*k+(D>>5);for(let W=0;W>>L:0);V+=k}return delete b.sprite,!0}return!1}return g.createMask=y=>{const b=document.createElement("canvas"),[C,x]=e;if(!C||!x)return;const S=C>>5,w=O7e((C>>5)*x);b.width=C,b.height=x;const O=b.getContext("2d");O.drawImage(y,0,0,y.width,y.height,0,0,C,x);const $=O.getImageData(0,0,C,x).data;for(let P=0;P>5),M=P*C+T<<2,N=$[M]>=250&&$[M+1]>=250&&$[M+2]>=250?1<<31-T%32:0;w[R]|=N}g.board=w,g.hasImage=!0},g.timeInterval=function(y){h=y??1/0},g.words=function(y){c=y},g.size=function(y=[]){e=[+y[0],+y[1]]},g.text=function(y){t=h1(y)},g.font=function(y){n=h1(y)},g.fontWeight=function(y){i=h1(y)},g.rotate=function(y){o=h1(y)},g.spiral=function(y){l=Cmn[y]||y},g.fontSize=function(y){r=h1(y)},g.padding=function(y){a=h1(y)},g.random=function(y){s=h1(y)},g.on=function(y){u=h1(y)},g}var xmn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};function _mn(e,t){return{set(n,r,i){if(t[n]===void 0)return this;const o=r?r.call(null,t[n]):t[n];return i?i.call(null,o):typeof e[n]=="function"?e[n](o):e[n]=o,this},setAsync(n,r,i){return xmn(this,void 0,void 0,function*(){if(t[n]===void 0)return this;const o=r?yield r.call(null,t[n]):t[n];return i?i.call(null,o):typeof e[n]=="function"?e[n](o):e[n]=o,this})}}}var wmn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Omn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(e instanceof HTMLImageElement){t(e);return}if(typeof e=="string"){const r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t(r),r.onerror=()=>{console.error(`'image ${e} load failed !!!'`),n()};return}n()})}function Pmn(e,t){if(typeof e=="function")return e;if(Array.isArray(e)){const[n,r]=e;if(!t)return()=>(r+n)/2;const[i,o]=t;return o===i?()=>(r+n)/2:({value:a})=>(r-n)/(o-i)*(a-i)+n}return()=>e}const gJe=e=>t=>wmn(void 0,void 0,void 0,function*(){const n=Object.assign({},Emn,e),r=Smn();yield _mn(r,n).set("fontSize",v=>{const y=t.map(b=>b.value);return Pmn(v,[$c(y),ri(y)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").setAsync("imageMask",$mn,r.createMask),r.words([...t]);const i=r.start(),[o,a]=n.size,l=[{x:0,y:0},{x:o,y:a}],{_bounds:s=l,_tags:u,hasImage:c}=i,f=u.map(v=>{var{x:y,y:b}=v,C=Omn(v,["x","y"]);return Object.assign(Object.assign({},C),{x:y+o/2,y:b+a/2})}),[{x:h,y:d},{x:p,y:g}]=s,m={text:"",value:0,opacity:0,fontSize:0};return f.push(Object.assign(Object.assign({},m),{x:c?0:h,y:c?0:d}),Object.assign(Object.assign({},m),{x:c?o:p,y:c?a:g})),f});gJe.props={};function E7e(e){return typeof e=="string"?t=>t[e]:e}const mJe=e=>{const{join:t,on:n,select:r=[],as:i=r,unknown:o=NaN}=e,[a,l]=n,s=E7e(l),u=E7e(a),c=Nae(t,([f])=>f,f=>s(f));return f=>f.map(h=>{const d=c.get(u(h));return Object.assign(Object.assign({},h),r.reduce((p,g,m)=>(p[i[m]]=d?d[g]:o,p),{}))})};mJe.props={};const vJe=e=>{const{start:t,end:n}=e;return r=>r.slice(t,n)};vJe.props={};var yJe={exports:{}},bJe={exports:{}};(function(e){var t=e.exports;e.exports.isNumber=function(n){return typeof n=="number"},e.exports.findMin=function(n){if(n.length===0)return 1/0;for(var r=n[0],i=1;i=v.length)){var M=Math.max(R-f,0),A=R,N=Math.min(R+f,v.length-1),k=M-(R-f),D=R+f-N,L=C[-f-1+k]||0,B=C[-f-1+D]||0,j=x/(x-L-B);k>0&&(w+=j*(k-1)*S);var z=Math.max(0,R-f+1);o.inside(0,v.length-1,z)&&(v[z].y+=j*1*S),o.inside(0,v.length-1,A+1)&&(v[A+1].y-=j*2*S),o.inside(0,v.length-1,N+1)&&(v[N+1].y+=j*1*S)}});var O=w,$=0,P=0;return v.forEach(function(T){$+=T.y,O+=$,T.y=O,P+=O}),P>0&&v.forEach(function(T){T.y/=P}),v};function l(s,u){for(var c={},f=0,h=-u;h<=u;h++)f+=s(h/u),c[h]=f;return c}e.exports.getExpectedValueFromPdf=function(s){if(!(!s||s.length===0)){var u=0;return s.forEach(function(c){u+=c.x*c.y}),u}},e.exports.getXWithLeftTailArea=function(s,u){if(!(!s||s.length===0)){for(var c=0,f=0,h=0;h=u));h++);return s[f].x}},e.exports.getPerplexity=function(s){if(!(!s||s.length===0)){var u=0;return s.forEach(function(c){var f=Math.log(c.y);isFinite(f)&&(u+=c.y*f)}),u=-u/r,Math.pow(2,u)}}})(yJe);var Mmn=yJe.exports;const Rmn=bo(Mmn),CJe=e=>{const{field:t,groupBy:n,as:r=["y","size"],min:i,max:o,size:a=10,width:l}=e,[s,u]=r;return c=>Array.from(Ji(c,h=>n.map(d=>h[d]).join("-")).values()).map(h=>{const d=Rmn.create(h.map(m=>m[t]),{min:i,max:o,size:a,width:l}),p=d.map(m=>m.x),g=d.map(m=>m.y);return Object.assign(Object.assign({},h[0]),{[s]:p,[u]:g})})};CJe.props={};function Imn(e,t,n,r){r=r||{};var i=r.maxIterations||100,o=r.tolerance||1e-10,a=e(t),l=e(n),s=n-t;if(a*l>0)throw"Initial bisect points must have opposite signs";if(a===0)return t;if(l===0)return n;for(var u=0;u=0&&(t=c),Math.abs(s)=p[d-1].fx){var T=!1;if(C.fx>P.fx?(Wp(x,1+c,b,-c,P),x.fx=e(x),x.fx=1)break;for(g=1;gl+o*i*s||u>=v)m=i;else{if(Math.abs(f)<=-a*s)return i;f*(m-g)>=0&&(m=g),g=i,v=u}return 0}for(var p=0;p<10;++p){if(Wp(r.x,1,n.x,i,t),u=r.fx=e(r.x,r.fxprime),f=B3(r.fxprime,t),u>l+o*i*s||p&&u>=c)return d(h,i,c);if(Math.abs(f)<=-a*s)return i;if(f>=0)return d(i,h,u);c=u,h=i,i*=2}return i}function kmn(e,t,n){var r={x:t.slice(),fx:0,fxprime:t.slice()},i={x:t.slice(),fx:0,fxprime:t.slice()},o=t.slice(),a,l,s=1,u;n=n||{},u=n.maxIterations||t.length*20,r.fx=e(r.x,r.fxprime),a=r.fxprime.slice(),see(a,r.fxprime,-1);for(var c=0;c1){const s=Lmn(r);for(a=0;a-1){const p=e[c.parentIndex[d]],g=Math.atan2(c.x-p.x,c.y-p.y),m=Math.atan2(u.x-p.x,u.y-p.y);let v=m-g;v<0&&(v+=2*Math.PI);const y=m-v/2;let b=H7(f,{x:p.x+p.radius*Math.sin(y),y:p.y+p.radius*Math.cos(y)});b>p.radius*2&&(b=p.radius*2),(h===null||h.width>b)&&(h={circle:p,width:b,p1:c,p2:u})}h!==null&&(l.push(h),i+=cee(h.circle.radius,h.width),u=c)}}else{let s=e[0];for(a=1;aMath.abs(s.radius-e[a].radius)){u=!0;break}u?i=o=0:(i=s.radius*s.radius*Math.PI,l.push({circle:s,p1:{x:s.x,y:s.y+s.radius},p2:{x:s.x-SJe,y:s.y+s.radius},width:s.radius*2}))}return o/=2,t&&(t.area=i+o,t.arcArea=i,t.polygonArea=o,t.arcs=l,t.innerPoints=r,t.intersectionPoints=n),i+o}function jmn(e,t){for(let n=0;nt[n].radius+SJe)return!1;return!0}function Dmn(e){const t=[];for(let n=0;n=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);const r=e-(n*n-t*t+e*e)/(2*n),i=t-(n*n-e*e+t*t)/(2*n);return cee(e,r)+cee(t,i)}function wJe(e,t){const n=H7(e,t),r=e.radius,i=t.radius;if(n>=r+i||n<=Math.abs(r-i))return[];const o=(r*r-i*i+n*n)/(2*n),a=Math.sqrt(r*r-o*o),l=e.x+o*(t.x-e.x)/n,s=e.y+o*(t.y-e.y)/n,u=-(t.y-e.y)*(a/n),c=-(t.x-e.x)*(a/n);return[{x:l+u,y:s-c},{x:l-u,y:s+c}]}function Lmn(e){const t={x:0,y:0};for(let n=0;nl>s?1:-1),r=0;r=Math.min(t[a].size,t[l].size)?f=1:o.size<=1e-10&&(f=-1),i[a][l]=i[l][a]=f}),{distances:r,constraints:i}}function Hmn(e,t,n,r){let i=0,o;for(o=0;o0&&p<=f||h<0&&p>=f||(i+=2*g*g,t[2*o]+=4*g*(a-u),t[2*o+1]+=4*g*(l-c),t[2*s]+=4*g*(u-a),t[2*s+1]+=4*g*(c-l))}}return i}function Wmn(e,t){let n=Vmn(e,t);const r=t.lossFunction||Yle;if(e.length>=8){const i=qmn(e,t),o=r(i,e),a=r(n,e);o+1e-8=Math.min(r[p].size,r[g].size)&&(d=0),i[p].push({set:g,size:h.size,weight:d}),i[g].push({set:p,size:h.size,weight:d})}const a=[];for(o in i)if(i.hasOwnProperty(o)){let f=0;for(let h=0;h{const{value:t,format:n=t.split(".").pop(),delimiter:r=",",autoType:i=!0}=e;return()=>emn(void 0,void 0,void 0,function*(){const o=yield fetch(t);if(n==="csv"){const a=yield o.text();return Zgn(r).parse(a,i?Qgn:gy)}else if(n==="json")return yield o.json();throw new Error(`Unknown format: ${n}.`)})};iJe.props={};function tmn(e){return!e||Object.keys(e).length===0}const oJe=e=>{const{fields:t,key:n="key",value:r="value"}=e;return i=>tmn(t)?i:i.flatMap(o=>t.map(a=>Object.assign(Object.assign({},o),{[n]:a,[r]:o[a]})))};oJe.props={};function nmn(e){return e!=null&&!Number.isNaN(e)}const aJe=e=>{const{callback:t=nmn}=e;return n=>n.filter(t)};aJe.props={};const lJe=e=>{const{callback:t}=e;return n=>Array.isArray(n)?[...n].sort(t):n};lJe.props={};function rmn(e,t=[]){return t.reduce((n,r)=>(r in e&&(n[r]=e[r]),n),{})}const sJe=e=>{const{fields:t}=e;return n=>n.map(r=>rmn(r,t))};sJe.props={};function imn(e){return Object.keys(e).length===0}const cJe=e=>t=>{if(!e||imn(e))return t;const n=r=>Object.entries(r).reduce((i,[o,a])=>(i[e[o]||o]=a,i),{});return t.map(n)};cJe.props={};function omn(e,t){return e.map(n=>{if(Array.isArray(n)){const[r,i=t]=n;return[r,i]}return[n,t]})}const uJe=e=>{const{fields:t=[]}=e,n=omn(t,!0);return r=>{const i=(o,a)=>n.reduce((l,[s,u=!0])=>l!==0?l:u?o[s]a[s]?-1:+(o[s]!==a[s]),0);return[...r].sort(i)}};uJe.props={};const dJe=e=>{const{value:t}=e;return()=>t};dJe.props={};const fJe=e=>{const{callback:t=gy}=e;return n=>t(n)};fJe.props={};const pJe=e=>{const{callback:t=gy}=e;return n=>Array.isArray(n)?n.map(t):n};pJe.props={};const QK=Math.PI/180,h9=64,Zk=2048;function amn(e){return e.text}function lmn(){return"serif"}function O7e(){return"normal"}function smn(e){return e.value}function cmn(){return~~(Math.random()*2)*90}function umn(){return 1}function dmn(){}function fmn(e,t,n,r){if(t.sprite)return;const i=e.context,o=e.ratio;i.clearRect(0,0,(h9<<5)/o,Zk/o);let a=0,l=0,s=0;const u=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else h=h+31>>5<<5;if(d>s&&(s=d),a+h>=h9<<5&&(a=0,l+=s,s=0),l+d>=Zk)break;i.translate((a+(h>>1))/o,(l+(d>>1))/o),t.rotate&&i.rotate(t.rotate*QK),i.fillText(t.text,0,0),t.padding&&(i.lineWidth=2*t.padding,i.strokeText(t.text,0,0)),i.restore(),t.width=h,t.height=d,t.xoff=a,t.yoff=l,t.x1=h>>1,t.y1=d>>1,t.x0=-t.x1,t.y0=-t.y1,t.hasText=!0,a+=h}const c=i.getImageData(0,0,(h9<<5)/o,Zk/o).data,f=[];for(;--r>=0;){if(t=n[r],!t.hasText)continue;const h=t.width,d=h>>5;let p=t.y1-t.y0;for(let v=0;v>5),C=c[(l+v)*(h9<<5)+(a+y)<<2]?1<<31-y%32:0;f[b]|=C,g|=C}g?m=v:(t.y0++,p--,v--,l++)}t.y1=t.y0+m,t.sprite=f.slice(0,(t.y1-t.y0)*d)}}function pmn(e,t,n){n>>=5;const r=e.sprite,i=e.width>>5,o=e.x-(i<<4),a=o&127,l=32-a,s=e.y1-e.y0;let u=(e.y+e.y0)*n+(o>>5),c;for(let f=0;f>>a:0))&t[u+h])return!0;u+=n}return!1}function hmn(e,t){const n=e[0],r=e[1];t.x+t.x0r.x&&(r.x=t.x+t.x1),t.y+t.y1>r.y&&(r.y=t.y+t.y1)}function gmn(e,t){return e.x+e.x1>t[0].x&&e.x+e.x0t[0].y&&e.y+e.y0>5)*e[1]),S=c.length,w=[],O=c.map(function(R,M,A){return R.text=t.call(this,R,M,A),R.font=n.call(this,R,M,A),R.style=d.call(this,R,M,A),R.weight=i.call(this,R,M,A),R.rotate=o.call(this,R,M,A),R.size=~~r.call(this,R,M,A),R.padding=a.call(this,R,M,A),R}).sort(function(R,M){return M.size-R.size});let $=-1,P=g.board?[{x:0,y:0},{x:y,y:b}]:void 0;f&&clearInterval(f),f=setInterval(T,0),T();function T(){const R=Date.now();for(;Date.now()-R>1,M.y=b*(s()+.5)>>1,fmn(C,M,O,$),M.hasText&&v(x,M,P)&&(u.call(null,"word",{cloud:g,word:M}),w.push(M),P?g.hasImage||hmn(P,M):P=[{x:M.x+M.x0,y:M.y+M.y0},{x:M.x+M.x1,y:M.y+M.y1}],M.x-=e[0]>>1,M.y-=e[1]>>1)}g._tags=w,g._bounds=P,$>=S&&(g.stop(),u.call(null,"end",{cloud:g,words:w,bounds:P}))}return g},g.stop=function(){return f&&(clearInterval(f),f=null),g};function m(y){y.width=y.height=1;const b=Math.sqrt(y.getContext("2d").getImageData(0,0,1,1).data.length>>2);y.width=(h9<<5)/b,y.height=Zk/b;const C=y.getContext("2d");return C.fillStyle=C.strokeStyle="red",C.textAlign="center",{context:C,ratio:b}}function v(y,b,C){const x=b.x,S=b.y,w=Math.sqrt(e[0]*e[0]+e[1]*e[1]),O=l(e),$=s()<.5?1:-1;let P,T=-$,R,M;for(;(P=O(T+=$))&&(R=~~P[0],M=~~P[1],!(Math.min(Math.abs(R),Math.abs(M))>=w));)if(b.x=x+R,b.y=S+M,!(b.x+b.x0<0||b.y+b.y0<0||b.x+b.x1>e[0]||b.y+b.y1>e[1])&&(!C||!pmn(b,y,e[0]))&&(!C||gmn(b,C))){const A=b.sprite,N=b.width>>5,j=e[0]>>5,D=b.x-(N<<4),L=D&127,B=32-L,k=b.y1-b.y0;let z,q=(b.y+b.y0)*j+(D>>5);for(let W=0;W>>L:0);q+=j}return delete b.sprite,!0}return!1}return g.createMask=y=>{const b=document.createElement("canvas"),[C,x]=e;if(!C||!x)return;const S=C>>5,w=E7e((C>>5)*x);b.width=C,b.height=x;const O=b.getContext("2d");O.drawImage(y,0,0,y.width,y.height,0,0,C,x);const $=O.getImageData(0,0,C,x).data;for(let P=0;P>5),M=P*C+T<<2,N=$[M]>=250&&$[M+1]>=250&&$[M+2]>=250?1<<31-T%32:0;w[R]|=N}g.board=w,g.hasImage=!0},g.timeInterval=function(y){h=y??1/0},g.words=function(y){c=y},g.size=function(y=[]){e=[+y[0],+y[1]]},g.text=function(y){t=h1(y)},g.font=function(y){n=h1(y)},g.fontWeight=function(y){i=h1(y)},g.rotate=function(y){o=h1(y)},g.spiral=function(y){l=ymn[y]||y},g.fontSize=function(y){r=h1(y)},g.padding=function(y){a=h1(y)},g.random=function(y){s=h1(y)},g.on=function(y){u=h1(y)},g}var Cmn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};function Smn(e,t){return{set(n,r,i){if(t[n]===void 0)return this;const o=r?r.call(null,t[n]):t[n];return i?i.call(null,o):typeof e[n]=="function"?e[n](o):e[n]=o,this},setAsync(n,r,i){return Cmn(this,void 0,void 0,function*(){if(t[n]===void 0)return this;const o=r?yield r.call(null,t[n]):t[n];return i?i.call(null,o):typeof e[n]=="function"?e[n](o):e[n]=o,this})}}}var xmn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},_mn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(e instanceof HTMLImageElement){t(e);return}if(typeof e=="string"){const r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t(r),r.onerror=()=>{console.error(`'image ${e} load failed !!!'`),n()};return}n()})}function Emn(e,t){if(typeof e=="function")return e;if(Array.isArray(e)){const[n,r]=e;if(!t)return()=>(r+n)/2;const[i,o]=t;return o===i?()=>(r+n)/2:({value:a})=>(r-n)/(o-i)*(a-i)+n}return()=>e}const gJe=e=>t=>xmn(void 0,void 0,void 0,function*(){const n=Object.assign({},wmn,e),r=bmn();yield Smn(r,n).set("fontSize",v=>{const y=t.map(b=>b.value);return Emn(v,[$c(y),ri(y)])}).set("font").set("fontStyle").set("fontWeight").set("padding").set("rotate").set("size").set("spiral").set("timeInterval").set("random").set("text").set("on").setAsync("imageMask",Omn,r.createMask),r.words([...t]);const i=r.start(),[o,a]=n.size,l=[{x:0,y:0},{x:o,y:a}],{_bounds:s=l,_tags:u,hasImage:c}=i,f=u.map(v=>{var{x:y,y:b}=v,C=_mn(v,["x","y"]);return Object.assign(Object.assign({},C),{x:y+o/2,y:b+a/2})}),[{x:h,y:d},{x:p,y:g}]=s,m={text:"",value:0,opacity:0,fontSize:0};return f.push(Object.assign(Object.assign({},m),{x:c?0:h,y:c?0:d}),Object.assign(Object.assign({},m),{x:c?o:p,y:c?a:g})),f});gJe.props={};function $7e(e){return typeof e=="string"?t=>t[e]:e}const mJe=e=>{const{join:t,on:n,select:r=[],as:i=r,unknown:o=NaN}=e,[a,l]=n,s=$7e(l),u=$7e(a),c=Aae(t,([f])=>f,f=>s(f));return f=>f.map(h=>{const d=c.get(u(h));return Object.assign(Object.assign({},h),r.reduce((p,g,m)=>(p[i[m]]=d?d[g]:o,p),{}))})};mJe.props={};const vJe=e=>{const{start:t,end:n}=e;return r=>r.slice(t,n)};vJe.props={};var yJe={exports:{}},bJe={exports:{}};(function(e){var t=e.exports;e.exports.isNumber=function(n){return typeof n=="number"},e.exports.findMin=function(n){if(n.length===0)return 1/0;for(var r=n[0],i=1;i=v.length)){var M=Math.max(R-f,0),A=R,N=Math.min(R+f,v.length-1),j=M-(R-f),D=R+f-N,L=C[-f-1+j]||0,B=C[-f-1+D]||0,k=x/(x-L-B);j>0&&(w+=k*(j-1)*S);var z=Math.max(0,R-f+1);o.inside(0,v.length-1,z)&&(v[z].y+=k*1*S),o.inside(0,v.length-1,A+1)&&(v[A+1].y-=k*2*S),o.inside(0,v.length-1,N+1)&&(v[N+1].y+=k*1*S)}});var O=w,$=0,P=0;return v.forEach(function(T){$+=T.y,O+=$,T.y=O,P+=O}),P>0&&v.forEach(function(T){T.y/=P}),v};function l(s,u){for(var c={},f=0,h=-u;h<=u;h++)f+=s(h/u),c[h]=f;return c}e.exports.getExpectedValueFromPdf=function(s){if(!(!s||s.length===0)){var u=0;return s.forEach(function(c){u+=c.x*c.y}),u}},e.exports.getXWithLeftTailArea=function(s,u){if(!(!s||s.length===0)){for(var c=0,f=0,h=0;h=u));h++);return s[f].x}},e.exports.getPerplexity=function(s){if(!(!s||s.length===0)){var u=0;return s.forEach(function(c){var f=Math.log(c.y);isFinite(f)&&(u+=c.y*f)}),u=-u/r,Math.pow(2,u)}}})(yJe);var Pmn=yJe.exports;const Tmn=so(Pmn),CJe=e=>{const{field:t,groupBy:n,as:r=["y","size"],min:i,max:o,size:a=10,width:l}=e,[s,u]=r;return c=>Array.from(Ji(c,h=>n.map(d=>h[d]).join("-")).values()).map(h=>{const d=Tmn.create(h.map(m=>m[t]),{min:i,max:o,size:a,width:l}),p=d.map(m=>m.x),g=d.map(m=>m.y);return Object.assign(Object.assign({},h[0]),{[s]:p,[u]:g})})};CJe.props={};function Mmn(e,t,n,r){r=r||{};var i=r.maxIterations||100,o=r.tolerance||1e-10,a=e(t),l=e(n),s=n-t;if(a*l>0)throw"Initial bisect points must have opposite signs";if(a===0)return t;if(l===0)return n;for(var u=0;u=0&&(t=c),Math.abs(s)=p[d-1].fx){var T=!1;if(C.fx>P.fx?(Wp(x,1+c,b,-c,P),x.fx=e(x),x.fx=1)break;for(g=1;gl+o*i*s||u>=v)m=i;else{if(Math.abs(f)<=-a*s)return i;f*(m-g)>=0&&(m=g),g=i,v=u}return 0}for(var p=0;p<10;++p){if(Wp(r.x,1,n.x,i,t),u=r.fx=e(r.x,r.fxprime),f=B3(r.fxprime,t),u>l+o*i*s||p&&u>=c)return d(h,i,c);if(Math.abs(f)<=-a*s)return i;if(f>=0)return d(i,h,u);c=u,h=i,i*=2}return i}function Nmn(e,t,n){var r={x:t.slice(),fx:0,fxprime:t.slice()},i={x:t.slice(),fx:0,fxprime:t.slice()},o=t.slice(),a,l,s=1,u;n=n||{},u=n.maxIterations||t.length*20,r.fx=e(r.x,r.fxprime),a=r.fxprime.slice(),cee(a,r.fxprime,-1);for(var c=0;c1){const s=jmn(r);for(a=0;a-1){const p=e[c.parentIndex[d]],g=Math.atan2(c.x-p.x,c.y-p.y),m=Math.atan2(u.x-p.x,u.y-p.y);let v=m-g;v<0&&(v+=2*Math.PI);const y=m-v/2;let b=W7(f,{x:p.x+p.radius*Math.sin(y),y:p.y+p.radius*Math.cos(y)});b>p.radius*2&&(b=p.radius*2),(h===null||h.width>b)&&(h={circle:p,width:b,p1:c,p2:u})}h!==null&&(l.push(h),i+=uee(h.circle.radius,h.width),u=c)}}else{let s=e[0];for(a=1;aMath.abs(s.radius-e[a].radius)){u=!0;break}u?i=o=0:(i=s.radius*s.radius*Math.PI,l.push({circle:s,p1:{x:s.x,y:s.y+s.radius},p2:{x:s.x-SJe,y:s.y+s.radius},width:s.radius*2}))}return o/=2,t&&(t.area=i+o,t.arcArea=i,t.polygonArea=o,t.arcs=l,t.innerPoints=r,t.intersectionPoints=n),i+o}function Amn(e,t){for(let n=0;nt[n].radius+SJe)return!1;return!0}function kmn(e){const t=[];for(let n=0;n=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);const r=e-(n*n-t*t+e*e)/(2*n),i=t-(n*n-e*e+t*t)/(2*n);return uee(e,r)+uee(t,i)}function wJe(e,t){const n=W7(e,t),r=e.radius,i=t.radius;if(n>=r+i||n<=Math.abs(r-i))return[];const o=(r*r-i*i+n*n)/(2*n),a=Math.sqrt(r*r-o*o),l=e.x+o*(t.x-e.x)/n,s=e.y+o*(t.y-e.y)/n,u=-(t.y-e.y)*(a/n),c=-(t.x-e.x)*(a/n);return[{x:l+u,y:s-c},{x:l-u,y:s+c}]}function jmn(e){const t={x:0,y:0};for(let n=0;nl>s?1:-1),r=0;r=Math.min(t[a].size,t[l].size)?f=1:o.size<=1e-10&&(f=-1),i[a][l]=i[l][a]=f}),{distances:r,constraints:i}}function Bmn(e,t,n,r){let i=0,o;for(o=0;o0&&p<=f||h<0&&p>=f||(i+=2*g*g,t[2*o]+=4*g*(a-u),t[2*o+1]+=4*g*(l-c),t[2*s]+=4*g*(u-a),t[2*s+1]+=4*g*(c-l))}}return i}function Fmn(e,t){let n=Wmn(e,t);const r=t.lossFunction||Zle;if(e.length>=8){const i=Hmn(e,t),o=r(i,e),a=r(n,e);o+1e-8=Math.min(r[p].size,r[g].size)&&(d=0),i[p].push({set:g,size:h.size,weight:d}),i[g].push({set:p,size:h.size,weight:d})}const a=[];for(o in i)if(i.hasOwnProperty(o)){let f=0;for(let h=0;ha;r.push(` -A`,a,a,0,l?1:0,1,o.p1.x,o.p1.y)}return r.join(" ")}}const EJe=e=>{const{sets:t="sets",size:n="size",as:r=["key","path"],padding:i=0}=e,[o,a]=r;return l=>{const s=l.map(f=>Object.assign(Object.assign({},f),{sets:f[t],size:f[n],[o]:f.sets.join("&")}));s.sort((f,h)=>f.sets.length-h.sets.length);const u=zmn(s);let c;return s.map(f=>{const h=f[t],d=({width:p,height:g})=>{c=c||Gmn(u,p,g,i);const m=h.map(y=>c[y]);let v=Xmn(m);return/[zZ]$/.test(v)||(v+=" Z"),v};return Object.assign(Object.assign({},f),{[a]:d})})}};EJe.props={};const $Je=()=>e=>(console.log("G2 data section:",e),e);$Je.props={};var Ymn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Zmn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iObject.assign(Object.assign({},i),{text:i[n],value:i[r]}))}const Jmn=(e,t)=>({size:[e,t]}),evn=(e,t)=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size"},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]},fontSize:{type:"identity"},rotate:{type:"identity"}},style:{textAlign:"center"}}),PJe=(e,t)=>Ymn(void 0,void 0,void 0,function*(){const{width:n,height:r}=t,{data:i,encode:o={},scale:a,style:l={},layout:s={}}=e,u=Zmn(e,["data","encode","scale","style","layout"]),c=Qmn(i,o),f=yield gJe(Object.assign(Object.assign({},Jmn(n,r)),s))(c);return Dt({},evn(n,r),Object.assign(Object.assign({data:f,encode:o,scale:a,style:l},u),{axis:!1}))});PJe.props={};var Zk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{shape:n,radius:r}=e,i=Zk(e,["shape","radius"]),o=hn(i,"pointer"),a=hn(i,"pin"),{shape:l}=o,s=Zk(o,["shape"]),{shape:u}=a,c=Zk(a,["shape"]),{coordinate:f,theme:h}=t;return(d,p)=>{const g=d.map(A=>f.invert(A)),[m,v,y]=Zan(f,"polar"),b=f.clone(),{color:C}=p,x=xae({startAngle:m,endAngle:v,innerRadius:y,outerRadius:r});x.push(["cartesian"]),b.update({transformations:x});const S=g.map(A=>b.map(A)),[w,O]=rYe(S),[$,P]=f.getCenter(),T=Object.assign(Object.assign({x1:w,y1:O,x2:$,y2:P,stroke:C},s),i),R=Object.assign(Object.assign({cx:$,cy:P,stroke:C},c),i),M=Un(new Ha);return xh(l)||(typeof l=="function"?M.append(()=>l(S,p,b,h)):M.append("line").call(kn,T).node()),xh(u)||(typeof u=="function"?M.append(()=>u(S,p,b,h)):M.append("circle").call(kn,R).node()),M.node()}},P7e={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-11/10*Math.PI,endAngle:1/10*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},nvn={style:{shape:tvn,lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},rvn={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}};function ivn(e){if(Ro(e)){const t=Math.max(0,Math.min(e,1));return{percent:t,target:t,total:1}}return e}function ovn(e,t){const{name:n="score",target:r,total:i,percent:o,thresholds:a=[]}=ivn(e),l=o||r,s=o?1:i,u=Object.assign({y:{domain:[0,s]}},t);return a.length?{targetData:[{x:n,y:l,color:"target"}],totalData:a.map((c,f)=>({x:n,y:f>=1?c-a[f-1]:c,color:f})),target:l,total:s,scale:u}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:u}}function avn(e,{target:t,total:n}){const{content:r}=e;return r?r(t,n):t.toString()}const TJe=e=>{const{data:t={},scale:n={},style:r={},animate:i={},transform:o=[]}=e,a=Zk(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:s,target:u,total:c,scale:f}=ovn(t,n),h=hn(r,"text"),d=din(r,["pointer","pin"]);return[Dt({},P7e,Object.assign({type:"interval",transform:[{type:"stackY"}],data:s,scale:f,style:hn(r,"arc"),animate:typeof i=="object"?hn(i,"arc"):i},a)),Dt({},P7e,nvn,Object.assign({type:"point",data:l,scale:f,style:d,animate:typeof i=="object"?hn(i,"indicator"):i},a)),Dt({},rvn,{style:Object.assign({text:avn(h,{target:u,total:c})},h),animate:typeof i=="object"?hn(i,"text"):i})]};TJe.props={};const T7e={density:aQe},MJe=()=>(e,t,n,r)=>{const{x:i,series:o}=n,a=Object.entries(n).filter(([f])=>f.startsWith("y")).map(([,f])=>f),l=Object.entries(n).filter(([f])=>f.startsWith("size")).map(([,f])=>f);if(i===void 0||a===void 0||l===void 0)throw new Error("Missing encode for x or y or size channel.");const s=t.x,u=t.series,c=Array.from(e,f=>{const h=s.getBandWidth(s.invert(+i[f])),d=u?u.getBandWidth(u.invert(+(o==null?void 0:o[f]))):1,p=h*d,g=(+(o==null?void 0:o[f])||0)*h,m=+i[f]+g+p/2;return[...a.map((y,b)=>[m+ +l[b][f]/e.length,+a[b][f]]),...a.map((y,b)=>[m-+l[b][f]/e.length,+a[b][f]]).reverse()].map(y=>r.map(y))});return[e,c]};MJe.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:T7e,channels:[...os({shapes:Object.keys(T7e)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...No(),{type:xP},{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const M7e={heatmap:sQe},RJe=e=>(t,n,r,i)=>{const{x:o,y:a,size:l,color:s}=r,u=Array.from(t,c=>{const f=l?+l[c]:40;return[...i.map([+o[c],+a[c]]),s[c],f]});return[[0],[u]]};RJe.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:M7e,channels:[...os({shapes:Object.keys(M7e)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...No(),{type:nb},{type:KF}],postInference:[...Ko(),...H0()]};var lvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{data:t={},style:n={},animate:r}=e,i=lvn(e,["data","style","animate"]),o=Math.max(0,Ro(t)?t:t==null?void 0:t.percent),a=[{percent:o,type:"liquid"}],l=Object.assign(Object.assign({},hn(n,"text")),hn(n,"content")),s=hn(n,"outline"),u=hn(n,"wave"),c=hn(n,"background");return[Dt({},svn,Object.assign({type:"interval",data:a,style:{liquidOptions:{percent:o,liquidShape:n==null?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:u,background:c})},animate:r},i)),Dt({},cvn,{style:Object.assign({text:`${aL(o*100)} %`},l),animate:r})]};IJe.props={};const NJe=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];NJe.props={};const AJe=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];AJe.props={};const kJe=e=>new k4(e);kJe.props={};const jJe=e=>new Ri(e);jJe.props={};const DJe=e=>new nKe(e);DJe.props={};const LJe=e=>new aKe(e);LJe.props={};const zJe=e=>new cKe(e);zJe.props={};const BJe=e=>new ean(e);BJe.props={};const FJe=e=>new Fon(e);FJe.props={};const HJe=e=>new dKe(e);HJe.props={};const WJe=e=>new eH(e);WJe.props={};const qJe=e=>new yKe(e);qJe.props={};const VJe=e=>new mKe(e);VJe.props={};const UJe=e=>new zon(e);UJe.props={};const GJe=e=>new TJ(e);GJe.props={};const KJe=e=>new qae(e);KJe.props={};function Zle({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:i,padding1:o,padding2:a,padding3:l,alpha90:s,alpha65:u,alpha45:c,alpha25:f,alpha10:h,category10:d,category20:p,sizeDefault:g=1,padding:m="auto",margin:v=16}){return{padding:m,margin:v,size:g,color:e,category10:d,category20:p,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:i,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,strokeWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,strokeWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:t,labelOpacity:c,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:c,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:c,titleFill:t,titleOpacity:s,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:s,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:o,colPadding:a,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:c,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:c,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:s,tickStroke:t,tickStrokeOpacity:c},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:s,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"}}}const uvn={colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1},dvn=Zle(uvn),Qle=e=>Dt({},dvn,e);Qle.props={};const XJe=e=>Dt({},Qle(),{category10:"category10",category20:"category20"},e);XJe.props={};const fvn={colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"#141414",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25},pvn=Zle(fvn),YJe=e=>Dt({},pvn,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},e),ZJe=e=>Object.assign({},YJe(),{category10:"category10",category20:"category20"},e);ZJe.props={};const hvn={colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1},gvn=Zle(hvn),QJe=e=>Dt({},gvn,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,n)=>n!==0},axisRight:{gridFilter:(t,n)=>n!==0},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);QJe.props={};function mvn(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function mL(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function vvn(e){return e=mL(Math.abs(e)),e?e[1]:NaN}function yvn(e,t){return function(n,r){for(var i=n.length,o=[],a=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),o.push(n.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[a=(a+1)%e.length];return o.reverse().join(t)}}function bvn(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Cvn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function dee(e){if(!(t=Cvn.exec(e)))throw new Error("invalid format: "+e);var t;return new Jle({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}dee.prototype=Jle.prototype;function Jle(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Jle.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Svn(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var JJe;function xvn(e,t){var n=mL(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(JJe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+mL(e,Math.max(0,t+o-1))[0]}function R7e(e,t){var n=mL(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const I7e={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:mvn,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>R7e(e*100,t),r:R7e,s:xvn,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function N7e(e){return e}var A7e=Array.prototype.map,k7e=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _vn(e){var t=e.grouping===void 0||e.thousands===void 0?N7e:yvn(A7e.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?N7e:bvn(A7e.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function u(f){f=dee(f);var h=f.fill,d=f.align,p=f.sign,g=f.symbol,m=f.zero,v=f.width,y=f.comma,b=f.precision,C=f.trim,x=f.type;x==="n"?(y=!0,x="g"):I7e[x]||(b===void 0&&(b=12),C=!0,x="g"),(m||h==="0"&&d==="=")&&(m=!0,h="0",d="=");var S=g==="$"?n:g==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=g==="$"?r:/[%p]/.test(x)?a:"",O=I7e[x],$=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function P(T){var R=S,M=w,A,N,k;if(x==="c")M=O(T)+M,T="";else{T=+T;var D=T<0||1/T<0;if(T=isNaN(T)?s:O(Math.abs(T),b),C&&(T=Svn(T)),D&&+T==0&&p!=="+"&&(D=!1),R=(D?p==="("?p:l:p==="-"||p==="("?"":p)+R,M=(x==="s"?k7e[8+JJe/3]:"")+M+(D&&p==="("?")":""),$){for(A=-1,N=T.length;++Ak||k>57){M=(k===46?i+T.slice(A+1):T.slice(A))+M,T=T.slice(0,A);break}}}y&&!m&&(T=t(T,1/0));var L=R.length+T.length+M.length,B=L>1)+R+T+M+B.slice(L);break;default:T=B+R+T+M;break}return o(T)}return P.toString=function(){return f+""},P}function c(f,h){var d=u((f=dee(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(vvn(h)/3)))*3,g=Math.pow(10,-p),m=k7e[8+p/3];return function(v){return d(g*v)+m}}return{format:u,formatPrefix:c}}var bA,W0;wvn({thousands:",",grouping:[3],currency:["$",""]});function wvn(e){return bA=_vn(e),W0=bA.format,bA.formatPrefix,bA}var Ovn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir.getOptions().name===t))===null||n===void 0?void 0:n[0]}function Pvn(e){return e==="horizontal"||e===0}function Tvn(e){return e==="vertical"||e===-Math.PI/2}function net(e,t,n){const{bbox:r}=e,{position:i="top",size:o,length:a}=t,l=["top","bottom","center"].includes(i),[s,u]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:c,defaultLength:f}=n.props,h=o||c||s,d=a||f||u,p=l?"horizontal":"vertical",[g,m]=l?[d,h]:[h,d];return{orientation:p,width:g,height:m,size:h,length:d}}function Mvn(e){return e.find(t=>t.getOptions().domain.length>0).getOptions().domain}function OH(e){const t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=Ovn(e,["style"]),i={};return Object.entries(r).forEach(([o,a])=>{t.includes(o)?i[`show${j0(o)}`]=a:i[o]=a}),Object.assign(Object.assign({},i),n)}var ret=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(!dXe(t))return i;const o=e==="bottom"?[i,1]:[0,i],a=t.map(o);if(e==="bottom"){const l=a[0];return new Ri({domain:[0,n],range:[0,1]}).map(l)}else if(e==="left"){const l=a[1];return new Ri({domain:[0,r],range:[0,1]}).map(l)}return i}}function Ivn(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;const[r,i]=eh(t,a=>+a),{tickCount:o}=e.getOptions();return n(r,i,o)}function Nvn(e,t){if(Ai(t))return d=>d;const n=t.getOptions(),{innerWidth:r,innerHeight:i,insetTop:o,insetBottom:a,insetLeft:l,insetRight:s}=n,[u,c,f]=e==="left"||e==="right"?[o,a,i]:[l,s,r],h=new Ri({domain:[0,1],range:[u/f,1-c/f]});return d=>h.map(d)}function aet(e,t,n,r,i,o,a,l){var s;(n!==void 0||o!==void 0)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),o&&{tickMethod:o}));const u=Ivn(e,t,o),c=i?u.filter(i):u,f=v=>v instanceof Date?String(v):typeof v=="object"&&v?v:String(v),h=r||((s=e.getFormatter)===null||s===void 0?void 0:s.call(e))||f,d=Nvn(a,l),p=Rvn(a,l),g=v=>["top","bottom","center","outer"].includes(v),m=v=>["left","right"].includes(v);return Ai(l)||Hi(l)?c.map((v,y,b)=>{var C,x;const S=((C=e.getBandWidth)===null||C===void 0?void 0:C.call(e,v))/2||0,w=d(e.map(v)+S);return{value:oH(l)&&a==="center"||Hi(l)&&((x=e.getTicks)===null||x===void 0?void 0:x.call(e))&&g(a)||Hi(l)&&m(a)?1-w:w,label:f(h(aL(v),y,b)),id:String(y)}}):c.map((v,y,b)=>{var C;const x=((C=e.getBandWidth)===null||C===void 0?void 0:C.call(e,v))/2||0,S=p(d(e.map(v)+x));return{value:m(a)?1-S:S,label:f(h(aL(v),y,b)),id:String(y)}})}function Avn(e,t,n="xy"){const[r,i,o]=oet(t);return n==="xy"?e.includes("bottom")||e.includes("top")?i:r:n==="xz"?e.includes("bottom")||e.includes("top")?o:r:e.includes("bottom")||e.includes("top")?i:o}function kvn(e=[],t){if(e.length>0)return e;const{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:o}=t,a=[],l=(s,u)=>{u&&a.push(Object.assign(Object.assign({},s),u))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},o),a}function jvn(e,t,n,r,i){const{x:o,y:a,width:l,height:s}=t,u=[o+l/2,a+s/2],c=Math.min(l,s)/2,[f,h]=tle(i),[d,p]=oet(i),g=Math.min(d,p)/2,m={center:u,radius:c,startAngle:f,endAngle:h,gridLength:(r-n)*g};if(e==="inner"){const{insetLeft:v,insetTop:y}=i.getOptions();return Object.assign(Object.assign({},m),{center:[u[0]-v,u[1]-y],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}function Dvn(e,t,n){return Xan(t)||aH(t)?!1:e===void 0?!!n.getTicks:e}function Lvn(e){const{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}function zvn(e,t,n,r,i){const{x:o,y:a,width:l,height:s}=n;if(e==="bottom")return{startPos:[o,a],endPos:[o+l,a]};if(e==="left")return{startPos:[o+l,a+s],endPos:[o+l,a]};if(e==="right")return{startPos:[o,a+s],endPos:[o,a]};if(e==="top")return{startPos:[o,a+s],endPos:[o+l,a+s]};if(e==="center"){if(t==="vertical")return{startPos:[o,a],endPos:[o,a+s]};if(t==="horizontal")return{startPos:[o,a],endPos:[o+l,a]};if(typeof t=="number"){const[u,c]=r.getCenter(),[f,h]=lH(r),[d,p]=tle(r),g=Math.min(l,s)/2,{insetLeft:m,insetTop:v}=r.getOptions(),y=f*g,b=h*g,[C,x]=[u+o-m,c+a-v],[S,w]=[Math.cos(t),Math.sin(t)],O=[C+b*S,x+b*w],$=[C+y*S,x+y*w],P=()=>{const{domain:R}=i.getOptions();return R.length},T=Ai(r)&&i?P():3;return{startPos:O,endPos:$,gridClosed:Math.abs(p-d-360)<1e-6,gridCenter:[C,x],gridControlAngles:new Array(T).fill(0).map((R,M,A)=>(p-d)/T*M)}}}return{}}const Bvn=e=>{const{order:t,size:n,position:r,orientation:i,labelFormatter:o,tickFilter:a,tickCount:l,tickMethod:s,important:u={},style:c={},indexBBox:f,title:h,grid:d=!1}=e,p=ret(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return({scales:[g],value:m,coordinate:v,theme:y})=>{const{bbox:b}=m,{domain:C}=g.getOptions(),x=aet(g,C,l,o,a,s,r,v),S=f?x.map((M,A)=>{const N=f.get(A);return!N||N[0]!==M.label?M:Object.assign(Object.assign({},M),{bbox:N[1]})}):x,[w,O]=lH(v),$=jvn(r,b,w,O,v),{axis:P,axisArc:T={}}=y,R=OH(Dt({},P,T,$,Object.assign(Object.assign({type:"arc",data:S,titleText:wH(h),grid:d},p),u)));return new Dle({style:FUe(R,["transform"])})}};function Fvn(e,t,n,r,i,o){const a=n.axis,l=["top","right","bottom","left"].includes(i)?n[`axis${Dae(i)}`]:n.axisLinear,s=e.getOptions().name,u=n[`axis${j0(s)}`]||{};return Object.assign({},a,l,u)}function Hvn(e,t,n,r,i,o){const a=Fvn(e,t,n,r,i);return i==="center"?Object.assign(Object.assign(Object.assign(Object.assign({},a),{labelDirection:r==="right"?"negative":"positive"}),r==="center"?{labelTransform:"translate(50%,0)"}:null),{tickDirection:r==="right"?"negative":"positive",labelSpacing:r==="center"?0:4,titleSpacing:Tvn(o)?10:0,tick:r==="center"?!1:void 0}):a}const Wvn=e=>{const{direction:t="left",important:n={},labelFormatter:r,order:i,orientation:o,actualPosition:a,position:l,size:s,style:u={},title:c,tickCount:f,tickFilter:h,tickMethod:d,transform:p,indexBBox:g}=e,m=ret(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return({scales:v,value:y,coordinate:b,theme:C})=>{const{bbox:x}=y,[S]=v,{domain:w,xScale:O}=S.getOptions(),$=Hvn(S,b,C,t,l,o),P=Object.assign(Object.assign(Object.assign({},$),u),m),T=Avn(a||l,b,e.plane),R=zvn(l,o,x,b,O),M=Lvn(b),A=aet(S,w,f,r,h,d,l,b),N=g?A.map((L,B)=>{const j=g.get(B);return!j||j[0]!==L.label?L:Object.assign(Object.assign({},L),{bbox:j[1]})}):A,k=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P),{type:"linear",data:N,crossSize:s,titleText:wH(c),labelOverlap:kvn(p,P),grid:Dvn(P.grid,b,S),gridLength:T,line:!0,indexBBox:g}),P.line?null:{lineOpacity:0}),R),M),n);return k.labelOverlap.find(L=>L.type==="hide")&&(k.crossSize=!1),new Dle({className:"axis",style:OH(k)})}},set=e=>t=>{const{labelFormatter:n,labelFilter:r=()=>!0}=t;return i=>{var o;const{scales:[a]}=i,l=((o=a.getTicks)===null||o===void 0?void 0:o.call(a))||a.getOptions().domain,s=typeof n=="string"?W0(n):n,u=(f,h,d)=>r(l[h],h,l),c=Object.assign(Object.assign({},t),{labelFormatter:s,labelFilter:u,scale:a});return e(c)(i)}},q0=set(Wvn),cet=set(Bvn);q0.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};cet.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const uet=e=>(...t)=>{const n=q0(Object.assign({},{crossPadding:50},e))(...t);return iet(n,e),n};uet.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"bottom"});const det=e=>(...t)=>{const n=q0(Object.assign({},{crossPadding:10},e))(...t);return iet(n,e),n};det.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"left"});var qvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i-Math.PI/2&&tMath.PI/2&&t(s-l)/i.count*f)})}const fet=e=>{const{important:t={}}=e,n=qvn(e,["important"]);return r=>{const{theme:i,coordinate:o,scales:a}=r;return q0(Object.assign(Object.assign(Object.assign({},n),Vvn(e.orientation)),{important:Object.assign(Object.assign({},Uvn(e,i,o,a)),t)}))(r)}};fet.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"center"});var Gvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?r==null?void 0:r.getOptions().domain:s.data).map((h,d)=>{var p;return i?i.map(h||"point"):((p=l==null?void 0:l.style)===null||p===void 0?void 0:p.shape)||s.defaultShape||"point"});typeof u=="string"&&o.push([u,f])}if(o.length===0)return["point",["point"]];if(o.length===1||!n)return o[0];const{range:a}=n.getOptions();return o.map(([l,s])=>{let u=0;for(let c=0;cs[0]-l[0])[0][1]}function Xvn(e,t){const{scales:n,library:r,markState:i}=t,[o,a]=Kvn(n,i),{itemMarker:l,itemMarkerSize:s}=e,u=(h,d)=>{var p,g,m;const v=((m=(g=(p=r[`mark.${o}`])===null||p===void 0?void 0:p.props)===null||g===void 0?void 0:g.shape[h])===null||m===void 0?void 0:m.props.defaultMarker)||bP(h.split(".")),y=typeof s=="function"?s(d):s;return()=>Odn(v,{color:d.color})(0,0,y)},c=h=>`${a[h]}`;return Mf(n,"shape")&&!l?(h,d)=>u(c(d),h):typeof l=="function"?(h,d)=>{const p=l(h.id,d);return typeof p=="string"?u(p,h):p}:(h,d)=>u(l||c(d),h)}function Yvn(e){const t=Mf(e,"opacity");if(t){const{range:n}=t.getOptions();return(r,i)=>n[i]}}function Zvn(e,t){const n=Mf(e,"size");return n instanceof aKe?n.map(NaN)*2:t}function Qvn(e,t){const{labelFormatter:n=h=>`${h}`}=e,{scales:r,theme:i}=t,o=i.legendCategory.itemMarkerSize,a=Zvn(r,o),l={itemMarker:Xvn(Object.assign(Object.assign({},e),{itemMarkerSize:a}),t),itemMarkerSize:a,itemMarkerOpacity:Yvn(r)},s=typeof n=="string"?W0(n):n,u=Mf(r,"color"),c=Mvn(r),f=u?h=>u.map(h):()=>t.theme.color;return Object.assign(Object.assign({},l),{data:c.map(h=>({id:h,label:s(h),color:f(h)}))})}function Jvn(e,t,n){const{position:r}=t;if(r==="center"){const{bbox:a}=e,{width:l,height:s}=a;return{width:l,height:s}}const{width:i,height:o}=net(e,t,n);return{width:i,height:o}}const ese=e=>{const{labelFormatter:t,layout:n,order:r,orientation:i,position:o,size:a,title:l,cols:s,itemMarker:u}=e,c=Gvn(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=c;return h=>{const{value:d,theme:p}=h,{bbox:g}=d,{width:m,height:v}=Jvn(d,e,ese),y=eet(o,n),b=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(o)?"vertical":"horizontal",width:m,height:v,layout:s!==void 0?"grid":"flex"},s!==void 0&&{gridCol:s}),f!==void 0&&{gridRow:f}),{titleText:wH(l)}),Qvn(e,h)),{legendCategory:C={}}=p,x=OH(Object.assign({},C,b,c)),S=new $vn({style:Object.assign(Object.assign({x:g.x,y:g.y,width:g.width,height:g.height},y),{subOptions:x})});return S.appendChild(new Zpn({className:"legend-category",style:x})),S}};ese.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var eyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({value:t/e,label:String(t)})}function iyn(e,t,n,r,i){const o=t.thresholds,a=ryn(r);return Object.assign(Object.assign({},e),{color:i,data:[n,...o,r].map(a)})}function oyn(e,t,n){const i=[-1/0,...t.thresholds,1/0].map((o,a)=>({value:a,label:o}));return Object.assign(Object.assign({},e),{data:i,color:n,labelFilter:(o,a)=>a>0&&ap!==void 0).find(p=>!(p instanceof qae)));return Object.assign(Object.assign({},e),{domain:[h,d],data:u.getTicks().map(p=>({value:p})),color:new Array(Math.floor(a)).fill(0).map((p,g)=>{const m=(f-c)/(a-1)*g+c,v=u.map(m)||s,y=r?r.map(m):1;return v.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(b,C,x,S)=>`rgba(${C}, ${x}, ${S}, ${y})`)})})}function syn(e,t,n,r,i,o){const a=Mf(e,"color"),l=nyn(n,r,i);if(a instanceof eH){const{range:c}=a.getOptions(),[f,h]=fee(a);return a instanceof mKe||a instanceof yKe?iyn(l,a,f,h,c):oyn(l,a,c)}const s=Mf(e,"size"),u=Mf(e,"opacity");return lyn(l,a,s,u,t,o)}const V0=e=>{const{labelFormatter:t,layout:n,order:r,orientation:i,position:o,size:a,title:l,style:s,crossPadding:u,padding:c}=e,f=eyn(e,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return({scales:h,value:d,theme:p,scale:g})=>{const{bbox:m}=d,{x:v,y,width:b,height:C}=m,x=eet(o,n),{legendContinuous:S={}}=p,w=OH(Object.assign({},S,Object.assign(Object.assign({titleText:wH(l),labelAlign:"value",labelFormatter:typeof t=="string"?$=>W0(t)($.label):t},syn(h,g,d,e,V0,p)),s),f)),O=new tet({style:Object.assign(Object.assign({x:v,y,width:b,height:C},x),{subOptions:w})});return O.appendChild(new chn({className:"legend-continuous",style:w})),O}};V0.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};const pet=e=>(...t)=>V0(Object.assign({},{block:!0},e))(...t);pet.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});const tse=e=>t=>{const{scales:n}=t,r=Mf(n,"size");return V0(Object.assign({},{type:"size",data:r.getTicks().map((i,o)=>({value:i,label:String(i)}))},e))(t)};tse.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});const het=e=>tse(Object.assign({},{block:!0},e));het.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var cyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(!i)return h.node().remove();h.node().attr(Object.assign(Object.assign(Object.assign({},D7e(0,f.max[1]+o,n,a)),{fontSize:12,textBaseline:"top",text:i}),u))})}}),get=e=>({value:t,theme:n})=>{const{x:r,y:i,width:o,height:a}=t.bbox;return new uyn({style:Dt({},n.title,Object.assign({x:r,y:i,width:o,height:a},e))})};get.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};function dyn(e,t,n){return Math.min(n,Math.max(t,e))}function Z9(e){return!!e.getBandWidth}function q4(e,t,n){if(!Z9(e))return e.invert(t);const{adjustedRange:r}=e,{domain:i}=e.getOptions(),o=n?-1:0,a=e.getStep(),l=n?r:r.map(c=>c+a),s=Wrn(l,t),u=dyn(s+o,0,i.length-1);return i[u]}function V1(e,t,n){if(!t)return e.getOptions().domain;if(!Z9(e)){const s=th(t);if(!n)return s;const[u]=s,{range:c}=e.getOptions(),[f,h]=c,d=f>h?-1:1,p=e.invert(e.map(u)+d*n);return[u,p]}const{domain:r}=e.getOptions(),i=t[0],o=r.indexOf(i);if(n){const s=o+Math.round(r.length*n);return r.slice(o,s)}const a=t[t.length-1],l=r.indexOf(a);return r.slice(o,l+1)}function Qk(e,t,n,r,i,o){const{x:a,y:l}=i,s=(d,p)=>{const[g,m]=o.invert(d);return[q4(a,g,p),q4(l,m,p)]},u=s([e,t],!0),c=s([n,r],!1),f=V1(a,[u[0],c[0]]),h=V1(l,[u[1],c[1]]);return[f,h]}function vL(e,t){const[n,r]=e,i=o=>o.getStep?o.getStep():0;return[t.map(n),t.map(r)+i(t)]}function fyn(e,t,n){const{x:r,y:i}=t,[o,a]=e,l=vL(o,r),s=vL(a,i),u=[l[0],s[0]],c=[l[1],s[1]],[f,h]=n.map(u),[d,p]=n.map(c);return[f,h,d,p]}var pyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{orientation:t,labelFormatter:n,size:r,style:i={},position:o}=e,a=pyn(e,["orientation","labelFormatter","size","style","position"]);return l=>{var s;const{scales:[u],value:c,theme:f,coordinate:h}=l,{bbox:d}=c,{width:p,height:g}=d,{slider:m={}}=f,v=((s=u.getFormatter)===null||s===void 0?void 0:s.call(u))||(O=>O+""),y=typeof n=="string"?W0(n):n,b=t==="horizontal",C=Hi(h)&&b,{trackSize:x=m.trackSize}=i,[S,w]=hyn(d,o,x);return new hZe({className:"slider",style:Object.assign({},m,Object.assign(Object.assign({x:S,y:w,trackLength:b?p:g,orientation:t,formatter:O=>{const $=y||v,P=C?1-O:O,T=q4(u,P,!0);return $(T)},sparklineData:myn(e,l)},i),a))})}};function gyn(e,t){const[n]=Array.from(e.entries()).filter(([i])=>i.type==="line"||i.type==="area").map(([i])=>{const{encode:o,slider:a}=i;if(a!=null&&a.x&&Object.keys(a.x).length===0){const l=s=>{const u=o[s];return[s,u?u.value:void 0]};return Object.fromEntries(t.map(l))}});if(!(n!=null&&n.series))return n==null?void 0:n.y;const r=n.series.reduce((i,o,a)=>(i[o]=i[o]||[],i[o].push(n.y[a]),i),{});return Object.values(r)}function myn(e,t){const{markState:n}=t;return sa(e.sparklineData)?e.sparklineData:gyn(n,["y","series"])}BP.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const met=e=>BP(Object.assign(Object.assign({},e),{orientation:"horizontal"}));met.props=Object.assign(Object.assign({},BP.props),{defaultPosition:"bottom"});const vet=e=>BP(Object.assign(Object.assign({},e),{orientation:"vertical"}));vet.props=Object.assign(Object.assign({},BP.props),{defaultPosition:"left"});var vyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{orientation:t,labelFormatter:n,style:r}=e,i=vyn(e,["orientation","labelFormatter","style"]);return({scales:[o],value:a,theme:l})=>{const{bbox:s}=a,{x:u,y:c,width:f,height:h}=s,{scrollbar:d={}}=l,{ratio:p,range:g}=o.getOptions(),m=t==="horizontal"?f:h,v=m/p,[y,b]=g,C=b>y?0:1;return new Dfn({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:u,y:c,trackLength:m,value:C}),i),{orientation:t,contentLength:v,viewportLength:m}))})}};FP.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const yet=e=>FP(Object.assign(Object.assign({},e),{orientation:"horizontal"}));yet.props=Object.assign(Object.assign({},FP.props),{defaultPosition:"bottom"});const bet=e=>FP(Object.assign(Object.assign({},e),{orientation:"vertical"}));bet.props=Object.assign(Object.assign({},FP.props),{defaultPosition:"left"});const Cet=e=>()=>new Ha;Cet.props={};const nse=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left bottom",`scale(1, ${1e-4})`]:["left top",`scale(${1e-4}, 1)`],p=[{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.01},{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f}];return l.animate(p,Object.assign(Object.assign({},a),e))}},yyn=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left bottom",`scale(1, ${1e-4})`]:["left top",`scale(${1e-4}, 1)`],p=[{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.99},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0}];return l.animate(p,Object.assign(Object.assign({},a),e))}},xet=(e,t)=>{const{coordinate:r}=t;return qXe.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:vn.NUMBER}),(i,o,a)=>{const[l]=i,s=c=>{const{__data__:f,style:h}=c,{radius:d=0,inset:p=0,fillOpacity:g=1,strokeOpacity:m=1,opacity:v=1}=h,{points:y,y:b,y1:C}=f,x=ob(r,y,[b,C]),{innerRadius:S,outerRadius:w}=x,O=rH().cornerRadius(d).padAngle(p*Math.PI/180),$=new is({}),P=r.getCenter(),T=A=>{$.attr({d:O(A),transform:`translate(${P[0]}, ${P[1]})`});const N=sle($);return $.style.transform="",N},R=[{scaleInYRadius:S+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:S+1e-4,fillOpacity:g,strokeOpacity:m,opacity:v,offset:.01},{scaleInYRadius:w,fillOpacity:g,strokeOpacity:m,opacity:v}],M=c.animate(R,Object.assign(Object.assign({},a),e));return M.onframe=function(){c.style.path=T(Object.assign(Object.assign({},x),{outerRadius:Number(c.style.scaleInYRadius)}))},M.onfinish=function(){c.style.path=T(Object.assign(Object.assign({},x),{outerRadius:w}))},M},u=c=>{const{style:f}=c,{transform:h="",fillOpacity:d=1,strokeOpacity:p=1,opacity:g=1}=f,[m,v]=Hi(r)?["left top",`scale(${1e-4}, 1)`]:["left bottom",`scale(1, ${1e-4})`],y=[{transform:`${h} ${v}`.trimStart(),transformOrigin:m,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${h} ${v}`.trimStart(),transformOrigin:m,fillOpacity:d,strokeOpacity:p,opacity:g,offset:.01},{transform:`${h} scale(1, 1)`.trimStart(),transformOrigin:m,fillOpacity:d,strokeOpacity:p,opacity:g}];return c.animate(y,Object.assign(Object.assign({},a),e))};return Ai(r)?s(l):u(l)}},byn=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left top",`scale(${1e-4}, 1)`]:["left bottom",`scale(1, ${1e-4})`],p=[{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.99},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0}];return l.animate(p,Object.assign(Object.assign({},a),e))}},_et=e=>(t,n,r)=>{const[i]=t,{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:o,strokeOpacity:a,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),e))};_et.props={};const wet=e=>(t,n,r)=>{const[i]=t,{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=i.style,s=[{fillOpacity:o,strokeOpacity:a,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),e))};wet.props={};function V4(e,t){const n={};for(const r of t){const i=e.style[r];i&&(n[r]=i)}return n}const U4=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function pee(e){const{min:t,max:n}=e.getLocalBounds(),[r,i]=t,[o,a]=n,l=a-i,s=o-r;return[r,i,s,l]}function Cyn(e){const[t,n,r,i]=e;return` +A`,a,a,0,l?1:0,1,o.p1.x,o.p1.y)}return r.join(" ")}}const EJe=e=>{const{sets:t="sets",size:n="size",as:r=["key","path"],padding:i=0}=e,[o,a]=r;return l=>{const s=l.map(f=>Object.assign(Object.assign({},f),{sets:f[t],size:f[n],[o]:f.sets.join("&")}));s.sort((f,h)=>f.sets.length-h.sets.length);const u=Dmn(s);let c;return s.map(f=>{const h=f[t],d=({width:p,height:g})=>{c=c||Vmn(u,p,g,i);const m=h.map(y=>c[y]);let v=Gmn(m);return/[zZ]$/.test(v)||(v+=" Z"),v};return Object.assign(Object.assign({},f),{[a]:d})})}};EJe.props={};const $Je=()=>e=>(console.log("G2 data section:",e),e);$Je.props={};var Kmn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Xmn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iObject.assign(Object.assign({},i),{text:i[n],value:i[r]}))}const Zmn=(e,t)=>({size:[e,t]}),Qmn=(e,t)=>({axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size"},scale:{x:{domain:[0,e],range:[0,1]},y:{domain:[0,t],range:[0,1]},fontSize:{type:"identity"},rotate:{type:"identity"}},style:{textAlign:"center"}}),PJe=(e,t)=>Kmn(void 0,void 0,void 0,function*(){const{width:n,height:r}=t,{data:i,encode:o={},scale:a,style:l={},layout:s={}}=e,u=Xmn(e,["data","encode","scale","style","layout"]),c=Ymn(i,o),f=yield gJe(Object.assign(Object.assign({},Zmn(n,r)),s))(c);return Dt({},Qmn(n,r),Object.assign(Object.assign({data:f,encode:o,scale:a,style:l},u),{axis:!1}))});PJe.props={};var Qk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{shape:n,radius:r}=e,i=Qk(e,["shape","radius"]),o=hn(i,"pointer"),a=hn(i,"pin"),{shape:l}=o,s=Qk(o,["shape"]),{shape:u}=a,c=Qk(a,["shape"]),{coordinate:f,theme:h}=t;return(d,p)=>{const g=d.map(A=>f.invert(A)),[m,v,y]=Xan(f,"polar"),b=f.clone(),{color:C}=p,x=_ae({startAngle:m,endAngle:v,innerRadius:y,outerRadius:r});x.push(["cartesian"]),b.update({transformations:x});const S=g.map(A=>b.map(A)),[w,O]=rYe(S),[$,P]=f.getCenter(),T=Object.assign(Object.assign({x1:w,y1:O,x2:$,y2:P,stroke:C},s),i),R=Object.assign(Object.assign({cx:$,cy:P,stroke:C},c),i),M=Un(new Ha);return xh(l)||(typeof l=="function"?M.append(()=>l(S,p,b,h)):M.append("line").call(kn,T).node()),xh(u)||(typeof u=="function"?M.append(()=>u(S,p,b,h)):M.append("circle").call(kn,R).node()),M.node()}},T7e={coordinate:{type:"radial",innerRadius:.9,outerRadius:1,startAngle:-11/10*Math.PI,endAngle:1/10*Math.PI},axis:{x:!1},legend:!1,tooltip:!1,encode:{x:"x",y:"y",color:"color"},scale:{color:{range:["#30BF78","#D0D0D0"]}}},evn={style:{shape:Jmn,lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},tvn={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}};function nvn(e){if(Ro(e)){const t=Math.max(0,Math.min(e,1));return{percent:t,target:t,total:1}}return e}function rvn(e,t){const{name:n="score",target:r,total:i,percent:o,thresholds:a=[]}=nvn(e),l=o||r,s=o?1:i,u=Object.assign({y:{domain:[0,s]}},t);return a.length?{targetData:[{x:n,y:l,color:"target"}],totalData:a.map((c,f)=>({x:n,y:f>=1?c-a[f-1]:c,color:f})),target:l,total:s,scale:u}:{targetData:[{x:n,y:l,color:"target"}],totalData:[{x:n,y:l,color:"target"},{x:n,y:s-l,color:"total"}],target:l,total:s,scale:u}}function ivn(e,{target:t,total:n}){const{content:r}=e;return r?r(t,n):t.toString()}const TJe=e=>{const{data:t={},scale:n={},style:r={},animate:i={},transform:o=[]}=e,a=Qk(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:s,target:u,total:c,scale:f}=rvn(t,n),h=hn(r,"text"),d=cin(r,["pointer","pin"]);return[Dt({},T7e,Object.assign({type:"interval",transform:[{type:"stackY"}],data:s,scale:f,style:hn(r,"arc"),animate:typeof i=="object"?hn(i,"arc"):i},a)),Dt({},T7e,evn,Object.assign({type:"point",data:l,scale:f,style:d,animate:typeof i=="object"?hn(i,"indicator"):i},a)),Dt({},tvn,{style:Object.assign({text:ivn(h,{target:u,total:c})},h),animate:typeof i=="object"?hn(i,"text"):i})]};TJe.props={};const M7e={density:aQe},MJe=()=>(e,t,n,r)=>{const{x:i,series:o}=n,a=Object.entries(n).filter(([f])=>f.startsWith("y")).map(([,f])=>f),l=Object.entries(n).filter(([f])=>f.startsWith("size")).map(([,f])=>f);if(i===void 0||a===void 0||l===void 0)throw new Error("Missing encode for x or y or size channel.");const s=t.x,u=t.series,c=Array.from(e,f=>{const h=s.getBandWidth(s.invert(+i[f])),d=u?u.getBandWidth(u.invert(+(o==null?void 0:o[f]))):1,p=h*d,g=(+(o==null?void 0:o[f])||0)*h,m=+i[f]+g+p/2;return[...a.map((y,b)=>[m+ +l[b][f]/e.length,+a[b][f]]),...a.map((y,b)=>[m-+l[b][f]/e.length,+a[b][f]]).reverse()].map(y=>r.map(y))});return[e,c]};MJe.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:M7e,channels:[...os({shapes:Object.keys(M7e)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...No(),{type:_P},{type:nb}],postInference:[...Ko(),...WC()],interaction:{shareTooltip:!0}};const R7e={heatmap:sQe},RJe=e=>(t,n,r,i)=>{const{x:o,y:a,size:l,color:s}=r,u=Array.from(t,c=>{const f=l?+l[c]:40;return[...i.map([+o[c],+a[c]]),s[c],f]});return[[0],[u]]};RJe.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:R7e,channels:[...os({shapes:Object.keys(R7e)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...No(),{type:nb},{type:XF}],postInference:[...Ko(),...H0()]};var ovn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{data:t={},style:n={},animate:r}=e,i=ovn(e,["data","style","animate"]),o=Math.max(0,Ro(t)?t:t==null?void 0:t.percent),a=[{percent:o,type:"liquid"}],l=Object.assign(Object.assign({},hn(n,"text")),hn(n,"content")),s=hn(n,"outline"),u=hn(n,"wave"),c=hn(n,"background");return[Dt({},avn,Object.assign({type:"interval",data:a,style:{liquidOptions:{percent:o,liquidShape:n==null?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:s,wave:u,background:c})},animate:r},i)),Dt({},lvn,{style:Object.assign({text:`${lL(o*100)} %`},l),animate:r})]};IJe.props={};const NJe=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];NJe.props={};const AJe=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];AJe.props={};const kJe=e=>new k4(e);kJe.props={};const jJe=e=>new Ri(e);jJe.props={};const DJe=e=>new nKe(e);DJe.props={};const LJe=e=>new aKe(e);LJe.props={};const zJe=e=>new cKe(e);zJe.props={};const BJe=e=>new Qon(e);BJe.props={};const FJe=e=>new zon(e);FJe.props={};const HJe=e=>new dKe(e);HJe.props={};const WJe=e=>new tH(e);WJe.props={};const qJe=e=>new yKe(e);qJe.props={};const VJe=e=>new mKe(e);VJe.props={};const UJe=e=>new Don(e);UJe.props={};const GJe=e=>new MJ(e);GJe.props={};const KJe=e=>new Vae(e);KJe.props={};function Qle({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:i,padding1:o,padding2:a,padding3:l,alpha90:s,alpha65:u,alpha45:c,alpha25:f,alpha10:h,category10:d,category20:p,sizeDefault:g=1,padding:m="auto",margin:v=16}){return{padding:m,margin:v,size:g,color:e,category10:d,category20:p,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:i,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,strokeWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,strokeWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:t,labelOpacity:c,labelFontSize:12,labelFontWeight:"normal",labelSpacing:o,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:c,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:c,titleFill:t,titleOpacity:s,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",label:!1,tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:s,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,itemSpacing:[o,o],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:o,colPadding:a,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:c,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:c,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:s,tickStroke:t,tickStrokeOpacity:c},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:s,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:u,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"}}}const svn={colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1},cvn=Qle(svn),Jle=e=>Dt({},cvn,e);Jle.props={};const XJe=e=>Dt({},Jle(),{category10:"category10",category20:"category20"},e);XJe.props={};const uvn={colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"#141414",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25},dvn=Qle(uvn),YJe=e=>Dt({},dvn,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{".g2-tooltip":{background:"#1f1f1f",opacity:.95},".g2-tooltip-title":{color:"#A6A6A6"},".g2-tooltip-list-item-name-label":{color:"#A6A6A6"},".g2-tooltip-list-item-value":{color:"#A6A6A6"}}}},e),ZJe=e=>Object.assign({},YJe(),{category10:"category10",category20:"category20"},e);ZJe.props={};const fvn={colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1},pvn=Qle(fvn),QJe=e=>Dt({},pvn,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(t,n)=>n!==0},axisRight:{gridFilter:(t,n)=>n!==0},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);QJe.props={};function hvn(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function vL(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function gvn(e){return e=vL(Math.abs(e)),e?e[1]:NaN}function mvn(e,t){return function(n,r){for(var i=n.length,o=[],a=0,l=e[0],s=0;i>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),o.push(n.substring(i-=l,i+l)),!((s+=l+1)>r));)l=e[a=(a+1)%e.length];return o.reverse().join(t)}}function vvn(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var yvn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fee(e){if(!(t=yvn.exec(e)))throw new Error("invalid format: "+e);var t;return new ese({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}fee.prototype=ese.prototype;function ese(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}ese.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function bvn(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var JJe;function Cvn(e,t){var n=vL(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(JJe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+vL(e,Math.max(0,t+o-1))[0]}function I7e(e,t){var n=vL(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const N7e={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:hvn,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>I7e(e*100,t),r:I7e,s:Cvn,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function A7e(e){return e}var k7e=Array.prototype.map,j7e=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Svn(e){var t=e.grouping===void 0||e.thousands===void 0?A7e:mvn(k7e.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?A7e:vvn(k7e.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",s=e.nan===void 0?"NaN":e.nan+"";function u(f){f=fee(f);var h=f.fill,d=f.align,p=f.sign,g=f.symbol,m=f.zero,v=f.width,y=f.comma,b=f.precision,C=f.trim,x=f.type;x==="n"?(y=!0,x="g"):N7e[x]||(b===void 0&&(b=12),C=!0,x="g"),(m||h==="0"&&d==="=")&&(m=!0,h="0",d="=");var S=g==="$"?n:g==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",w=g==="$"?r:/[%p]/.test(x)?a:"",O=N7e[x],$=/[defgprs%]/.test(x);b=b===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b));function P(T){var R=S,M=w,A,N,j;if(x==="c")M=O(T)+M,T="";else{T=+T;var D=T<0||1/T<0;if(T=isNaN(T)?s:O(Math.abs(T),b),C&&(T=bvn(T)),D&&+T==0&&p!=="+"&&(D=!1),R=(D?p==="("?p:l:p==="-"||p==="("?"":p)+R,M=(x==="s"?j7e[8+JJe/3]:"")+M+(D&&p==="("?")":""),$){for(A=-1,N=T.length;++Aj||j>57){M=(j===46?i+T.slice(A+1):T.slice(A))+M,T=T.slice(0,A);break}}}y&&!m&&(T=t(T,1/0));var L=R.length+T.length+M.length,B=L>1)+R+T+M+B.slice(L);break;default:T=B+R+T+M;break}return o(T)}return P.toString=function(){return f+""},P}function c(f,h){var d=u((f=fee(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(gvn(h)/3)))*3,g=Math.pow(10,-p),m=j7e[8+p/3];return function(v){return d(g*v)+m}}return{format:u,formatPrefix:c}}var CA,W0;xvn({thousands:",",grouping:[3],currency:["$",""]});function xvn(e){return CA=Svn(e),W0=CA.format,CA.formatPrefix,CA}var _vn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ir.getOptions().name===t))===null||n===void 0?void 0:n[0]}function Evn(e){return e==="horizontal"||e===0}function $vn(e){return e==="vertical"||e===-Math.PI/2}function net(e,t,n){const{bbox:r}=e,{position:i="top",size:o,length:a}=t,l=["top","bottom","center"].includes(i),[s,u]=l?[r.height,r.width]:[r.width,r.height],{defaultSize:c,defaultLength:f}=n.props,h=o||c||s,d=a||f||u,p=l?"horizontal":"vertical",[g,m]=l?[d,h]:[h,d];return{orientation:p,width:g,height:m,size:h,length:d}}function Pvn(e){return e.find(t=>t.getOptions().domain.length>0).getOptions().domain}function EH(e){const t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=_vn(e,["style"]),i={};return Object.entries(r).forEach(([o,a])=>{t.includes(o)?i[`show${j0(o)}`]=a:i[o]=a}),Object.assign(Object.assign({},i),n)}var ret=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(!dXe(t))return i;const o=e==="bottom"?[i,1]:[0,i],a=t.map(o);if(e==="bottom"){const l=a[0];return new Ri({domain:[0,n],range:[0,1]}).map(l)}else if(e==="left"){const l=a[1];return new Ri({domain:[0,r],range:[0,1]}).map(l)}return i}}function Mvn(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;const[r,i]=eh(t,a=>+a),{tickCount:o}=e.getOptions();return n(r,i,o)}function Rvn(e,t){if(Ai(t))return d=>d;const n=t.getOptions(),{innerWidth:r,innerHeight:i,insetTop:o,insetBottom:a,insetLeft:l,insetRight:s}=n,[u,c,f]=e==="left"||e==="right"?[o,a,i]:[l,s,r],h=new Ri({domain:[0,1],range:[u/f,1-c/f]});return d=>h.map(d)}function aet(e,t,n,r,i,o,a,l){var s;(n!==void 0||o!==void 0)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),o&&{tickMethod:o}));const u=Mvn(e,t,o),c=i?u.filter(i):u,f=v=>v instanceof Date?String(v):typeof v=="object"&&v?v:String(v),h=r||((s=e.getFormatter)===null||s===void 0?void 0:s.call(e))||f,d=Rvn(a,l),p=Tvn(a,l),g=v=>["top","bottom","center","outer"].includes(v),m=v=>["left","right"].includes(v);return Ai(l)||Hi(l)?c.map((v,y,b)=>{var C,x;const S=((C=e.getBandWidth)===null||C===void 0?void 0:C.call(e,v))/2||0,w=d(e.map(v)+S);return{value:aH(l)&&a==="center"||Hi(l)&&((x=e.getTicks)===null||x===void 0?void 0:x.call(e))&&g(a)||Hi(l)&&m(a)?1-w:w,label:f(h(lL(v),y,b)),id:String(y)}}):c.map((v,y,b)=>{var C;const x=((C=e.getBandWidth)===null||C===void 0?void 0:C.call(e,v))/2||0,S=p(d(e.map(v)+x));return{value:m(a)?1-S:S,label:f(h(lL(v),y,b)),id:String(y)}})}function Ivn(e,t,n="xy"){const[r,i,o]=oet(t);return n==="xy"?e.includes("bottom")||e.includes("top")?i:r:n==="xz"?e.includes("bottom")||e.includes("top")?o:r:e.includes("bottom")||e.includes("top")?i:o}function Nvn(e=[],t){if(e.length>0)return e;const{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:o}=t,a=[],l=(s,u)=>{u&&a.push(Object.assign(Object.assign({},s),u))};return l({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),l({type:"ellipsis",minLength:20},i),l({type:"hide"},r),l({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},o),a}function Avn(e,t,n,r,i){const{x:o,y:a,width:l,height:s}=t,u=[o+l/2,a+s/2],c=Math.min(l,s)/2,[f,h]=nle(i),[d,p]=oet(i),g=Math.min(d,p)/2,m={center:u,radius:c,startAngle:f,endAngle:h,gridLength:(r-n)*g};if(e==="inner"){const{insetLeft:v,insetTop:y}=i.getOptions();return Object.assign(Object.assign({},m),{center:[u[0]-v,u[1]-y],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}function kvn(e,t,n){return Gan(t)||lH(t)?!1:e===void 0?!!n.getTicks:e}function jvn(e){const{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}function Dvn(e,t,n,r,i){const{x:o,y:a,width:l,height:s}=n;if(e==="bottom")return{startPos:[o,a],endPos:[o+l,a]};if(e==="left")return{startPos:[o+l,a+s],endPos:[o+l,a]};if(e==="right")return{startPos:[o,a+s],endPos:[o,a]};if(e==="top")return{startPos:[o,a+s],endPos:[o+l,a+s]};if(e==="center"){if(t==="vertical")return{startPos:[o,a],endPos:[o,a+s]};if(t==="horizontal")return{startPos:[o,a],endPos:[o+l,a]};if(typeof t=="number"){const[u,c]=r.getCenter(),[f,h]=sH(r),[d,p]=nle(r),g=Math.min(l,s)/2,{insetLeft:m,insetTop:v}=r.getOptions(),y=f*g,b=h*g,[C,x]=[u+o-m,c+a-v],[S,w]=[Math.cos(t),Math.sin(t)],O=[C+b*S,x+b*w],$=[C+y*S,x+y*w],P=()=>{const{domain:R}=i.getOptions();return R.length},T=Ai(r)&&i?P():3;return{startPos:O,endPos:$,gridClosed:Math.abs(p-d-360)<1e-6,gridCenter:[C,x],gridControlAngles:new Array(T).fill(0).map((R,M,A)=>(p-d)/T*M)}}}return{}}const Lvn=e=>{const{order:t,size:n,position:r,orientation:i,labelFormatter:o,tickFilter:a,tickCount:l,tickMethod:s,important:u={},style:c={},indexBBox:f,title:h,grid:d=!1}=e,p=ret(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","important","style","indexBBox","title","grid"]);return({scales:[g],value:m,coordinate:v,theme:y})=>{const{bbox:b}=m,{domain:C}=g.getOptions(),x=aet(g,C,l,o,a,s,r,v),S=f?x.map((M,A)=>{const N=f.get(A);return!N||N[0]!==M.label?M:Object.assign(Object.assign({},M),{bbox:N[1]})}):x,[w,O]=sH(v),$=Avn(r,b,w,O,v),{axis:P,axisArc:T={}}=y,R=EH(Dt({},P,T,$,Object.assign(Object.assign({type:"arc",data:S,titleText:OH(h),grid:d},p),u)));return new Lle({style:FUe(R,["transform"])})}};function zvn(e,t,n,r,i,o){const a=n.axis,l=["top","right","bottom","left"].includes(i)?n[`axis${Lae(i)}`]:n.axisLinear,s=e.getOptions().name,u=n[`axis${j0(s)}`]||{};return Object.assign({},a,l,u)}function Bvn(e,t,n,r,i,o){const a=zvn(e,t,n,r,i);return i==="center"?Object.assign(Object.assign(Object.assign(Object.assign({},a),{labelDirection:r==="right"?"negative":"positive"}),r==="center"?{labelTransform:"translate(50%,0)"}:null),{tickDirection:r==="right"?"negative":"positive",labelSpacing:r==="center"?0:4,titleSpacing:$vn(o)?10:0,tick:r==="center"?!1:void 0}):a}const Fvn=e=>{const{direction:t="left",important:n={},labelFormatter:r,order:i,orientation:o,actualPosition:a,position:l,size:s,style:u={},title:c,tickCount:f,tickFilter:h,tickMethod:d,transform:p,indexBBox:g}=e,m=ret(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","transform","indexBBox"]);return({scales:v,value:y,coordinate:b,theme:C})=>{const{bbox:x}=y,[S]=v,{domain:w,xScale:O}=S.getOptions(),$=Bvn(S,b,C,t,l,o),P=Object.assign(Object.assign(Object.assign({},$),u),m),T=Ivn(a||l,b,e.plane),R=Dvn(l,o,x,b,O),M=jvn(b),A=aet(S,w,f,r,h,d,l,b),N=g?A.map((L,B)=>{const k=g.get(B);return!k||k[0]!==L.label?L:Object.assign(Object.assign({},L),{bbox:k[1]})}):A,j=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P),{type:"linear",data:N,crossSize:s,titleText:OH(c),labelOverlap:Nvn(p,P),grid:kvn(P.grid,b,S),gridLength:T,line:!0,indexBBox:g}),P.line?null:{lineOpacity:0}),R),M),n);return j.labelOverlap.find(L=>L.type==="hide")&&(j.crossSize=!1),new Lle({className:"axis",style:EH(j)})}},set=e=>t=>{const{labelFormatter:n,labelFilter:r=()=>!0}=t;return i=>{var o;const{scales:[a]}=i,l=((o=a.getTicks)===null||o===void 0?void 0:o.call(a))||a.getOptions().domain,s=typeof n=="string"?W0(n):n,u=(f,h,d)=>r(l[h],h,l),c=Object.assign(Object.assign({},t),{labelFormatter:s,labelFilter:u,scale:a});return e(c)(i)}},q0=set(Fvn),cet=set(Lvn);q0.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};cet.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const uet=e=>(...t)=>{const n=q0(Object.assign({},{crossPadding:50},e))(...t);return iet(n,e),n};uet.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"bottom"});const det=e=>(...t)=>{const n=q0(Object.assign({},{crossPadding:10},e))(...t);return iet(n,e),n};det.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"left"});var Hvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i-Math.PI/2&&tMath.PI/2&&t(s-l)/i.count*f)})}const fet=e=>{const{important:t={}}=e,n=Hvn(e,["important"]);return r=>{const{theme:i,coordinate:o,scales:a}=r;return q0(Object.assign(Object.assign(Object.assign({},n),Wvn(e.orientation)),{important:Object.assign(Object.assign({},qvn(e,i,o,a)),t)}))(r)}};fet.props=Object.assign(Object.assign({},q0.props),{defaultPosition:"center"});var Vvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0?r==null?void 0:r.getOptions().domain:s.data).map((h,d)=>{var p;return i?i.map(h||"point"):((p=l==null?void 0:l.style)===null||p===void 0?void 0:p.shape)||s.defaultShape||"point"});typeof u=="string"&&o.push([u,f])}if(o.length===0)return["point",["point"]];if(o.length===1||!n)return o[0];const{range:a}=n.getOptions();return o.map(([l,s])=>{let u=0;for(let c=0;cs[0]-l[0])[0][1]}function Gvn(e,t){const{scales:n,library:r,markState:i}=t,[o,a]=Uvn(n,i),{itemMarker:l,itemMarkerSize:s}=e,u=(h,d)=>{var p,g,m;const v=((m=(g=(p=r[`mark.${o}`])===null||p===void 0?void 0:p.props)===null||g===void 0?void 0:g.shape[h])===null||m===void 0?void 0:m.props.defaultMarker)||CP(h.split(".")),y=typeof s=="function"?s(d):s;return()=>_dn(v,{color:d.color})(0,0,y)},c=h=>`${a[h]}`;return Mf(n,"shape")&&!l?(h,d)=>u(c(d),h):typeof l=="function"?(h,d)=>{const p=l(h.id,d);return typeof p=="string"?u(p,h):p}:(h,d)=>u(l||c(d),h)}function Kvn(e){const t=Mf(e,"opacity");if(t){const{range:n}=t.getOptions();return(r,i)=>n[i]}}function Xvn(e,t){const n=Mf(e,"size");return n instanceof aKe?n.map(NaN)*2:t}function Yvn(e,t){const{labelFormatter:n=h=>`${h}`}=e,{scales:r,theme:i}=t,o=i.legendCategory.itemMarkerSize,a=Xvn(r,o),l={itemMarker:Gvn(Object.assign(Object.assign({},e),{itemMarkerSize:a}),t),itemMarkerSize:a,itemMarkerOpacity:Kvn(r)},s=typeof n=="string"?W0(n):n,u=Mf(r,"color"),c=Pvn(r),f=u?h=>u.map(h):()=>t.theme.color;return Object.assign(Object.assign({},l),{data:c.map(h=>({id:h,label:s(h),color:f(h)}))})}function Zvn(e,t,n){const{position:r}=t;if(r==="center"){const{bbox:a}=e,{width:l,height:s}=a;return{width:l,height:s}}const{width:i,height:o}=net(e,t,n);return{width:i,height:o}}const tse=e=>{const{labelFormatter:t,layout:n,order:r,orientation:i,position:o,size:a,title:l,cols:s,itemMarker:u}=e,c=Vvn(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:f}=c;return h=>{const{value:d,theme:p}=h,{bbox:g}=d,{width:m,height:v}=Zvn(d,e,tse),y=eet(o,n),b=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(o)?"vertical":"horizontal",width:m,height:v,layout:s!==void 0?"grid":"flex"},s!==void 0&&{gridCol:s}),f!==void 0&&{gridRow:f}),{titleText:OH(l)}),Yvn(e,h)),{legendCategory:C={}}=p,x=EH(Object.assign({},C,b,c)),S=new Ovn({style:Object.assign(Object.assign({x:g.x,y:g.y,width:g.width,height:g.height},y),{subOptions:x})});return S.appendChild(new Xpn({className:"legend-category",style:x})),S}};tse.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var Qvn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({value:t/e,label:String(t)})}function nyn(e,t,n,r,i){const o=t.thresholds,a=tyn(r);return Object.assign(Object.assign({},e),{color:i,data:[n,...o,r].map(a)})}function ryn(e,t,n){const i=[-1/0,...t.thresholds,1/0].map((o,a)=>({value:a,label:o}));return Object.assign(Object.assign({},e),{data:i,color:n,labelFilter:(o,a)=>a>0&&ap!==void 0).find(p=>!(p instanceof Vae)));return Object.assign(Object.assign({},e),{domain:[h,d],data:u.getTicks().map(p=>({value:p})),color:new Array(Math.floor(a)).fill(0).map((p,g)=>{const m=(f-c)/(a-1)*g+c,v=u.map(m)||s,y=r?r.map(m):1;return v.replace(/rgb[a]*\(([\d]{1,3}) *, *([\d]{1,3}) *, *([\d]{1,3})[\S\s]*\)/,(b,C,x,S)=>`rgba(${C}, ${x}, ${S}, ${y})`)})})}function ayn(e,t,n,r,i,o){const a=Mf(e,"color"),l=eyn(n,r,i);if(a instanceof tH){const{range:c}=a.getOptions(),[f,h]=pee(a);return a instanceof mKe||a instanceof yKe?nyn(l,a,f,h,c):ryn(l,a,c)}const s=Mf(e,"size"),u=Mf(e,"opacity");return oyn(l,a,s,u,t,o)}const V0=e=>{const{labelFormatter:t,layout:n,order:r,orientation:i,position:o,size:a,title:l,style:s,crossPadding:u,padding:c}=e,f=Qvn(e,["labelFormatter","layout","order","orientation","position","size","title","style","crossPadding","padding"]);return({scales:h,value:d,theme:p,scale:g})=>{const{bbox:m}=d,{x:v,y,width:b,height:C}=m,x=eet(o,n),{legendContinuous:S={}}=p,w=EH(Object.assign({},S,Object.assign(Object.assign({titleText:OH(l),labelAlign:"value",labelFormatter:typeof t=="string"?$=>W0(t)($.label):t},ayn(h,g,d,e,V0,p)),s),f)),O=new tet({style:Object.assign(Object.assign({x:v,y,width:b,height:C},x),{subOptions:w})});return O.appendChild(new lhn({className:"legend-continuous",style:w})),O}};V0.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};const pet=e=>(...t)=>V0(Object.assign({},{block:!0},e))(...t);pet.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});const nse=e=>t=>{const{scales:n}=t,r=Mf(n,"size");return V0(Object.assign({},{type:"size",data:r.getTicks().map((i,o)=>({value:i,label:String(i)}))},e))(t)};nse.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});const het=e=>nse(Object.assign({},{block:!0},e));het.props=Object.assign(Object.assign({},V0.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var lyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(!i)return h.node().remove();h.node().attr(Object.assign(Object.assign(Object.assign({},L7e(0,f.max[1]+o,n,a)),{fontSize:12,textBaseline:"top",text:i}),u))})}}),get=e=>({value:t,theme:n})=>{const{x:r,y:i,width:o,height:a}=t.bbox;return new syn({style:Dt({},n.title,Object.assign({x:r,y:i,width:o,height:a},e))})};get.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};function cyn(e,t,n){return Math.min(n,Math.max(t,e))}function Q9(e){return!!e.getBandWidth}function q4(e,t,n){if(!Q9(e))return e.invert(t);const{adjustedRange:r}=e,{domain:i}=e.getOptions(),o=n?-1:0,a=e.getStep(),l=n?r:r.map(c=>c+a),s=Frn(l,t),u=cyn(s+o,0,i.length-1);return i[u]}function V1(e,t,n){if(!t)return e.getOptions().domain;if(!Q9(e)){const s=th(t);if(!n)return s;const[u]=s,{range:c}=e.getOptions(),[f,h]=c,d=f>h?-1:1,p=e.invert(e.map(u)+d*n);return[u,p]}const{domain:r}=e.getOptions(),i=t[0],o=r.indexOf(i);if(n){const s=o+Math.round(r.length*n);return r.slice(o,s)}const a=t[t.length-1],l=r.indexOf(a);return r.slice(o,l+1)}function Jk(e,t,n,r,i,o){const{x:a,y:l}=i,s=(d,p)=>{const[g,m]=o.invert(d);return[q4(a,g,p),q4(l,m,p)]},u=s([e,t],!0),c=s([n,r],!1),f=V1(a,[u[0],c[0]]),h=V1(l,[u[1],c[1]]);return[f,h]}function yL(e,t){const[n,r]=e,i=o=>o.getStep?o.getStep():0;return[t.map(n),t.map(r)+i(t)]}function uyn(e,t,n){const{x:r,y:i}=t,[o,a]=e,l=yL(o,r),s=yL(a,i),u=[l[0],s[0]],c=[l[1],s[1]],[f,h]=n.map(u),[d,p]=n.map(c);return[f,h,d,p]}var dyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{orientation:t,labelFormatter:n,size:r,style:i={},position:o}=e,a=dyn(e,["orientation","labelFormatter","size","style","position"]);return l=>{var s;const{scales:[u],value:c,theme:f,coordinate:h}=l,{bbox:d}=c,{width:p,height:g}=d,{slider:m={}}=f,v=((s=u.getFormatter)===null||s===void 0?void 0:s.call(u))||(O=>O+""),y=typeof n=="string"?W0(n):n,b=t==="horizontal",C=Hi(h)&&b,{trackSize:x=m.trackSize}=i,[S,w]=fyn(d,o,x);return new hZe({className:"slider",style:Object.assign({},m,Object.assign(Object.assign({x:S,y:w,trackLength:b?p:g,orientation:t,formatter:O=>{const $=y||v,P=C?1-O:O,T=q4(u,P,!0);return $(T)},sparklineData:hyn(e,l)},i),a))})}};function pyn(e,t){const[n]=Array.from(e.entries()).filter(([i])=>i.type==="line"||i.type==="area").map(([i])=>{const{encode:o,slider:a}=i;if(a!=null&&a.x&&Object.keys(a.x).length===0){const l=s=>{const u=o[s];return[s,u?u.value:void 0]};return Object.fromEntries(t.map(l))}});if(!(n!=null&&n.series))return n==null?void 0:n.y;const r=n.series.reduce((i,o,a)=>(i[o]=i[o]||[],i[o].push(n.y[a]),i),{});return Object.values(r)}function hyn(e,t){const{markState:n}=t;return sa(e.sparklineData)?e.sparklineData:pyn(n,["y","series"])}FP.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const met=e=>FP(Object.assign(Object.assign({},e),{orientation:"horizontal"}));met.props=Object.assign(Object.assign({},FP.props),{defaultPosition:"bottom"});const vet=e=>FP(Object.assign(Object.assign({},e),{orientation:"vertical"}));vet.props=Object.assign(Object.assign({},FP.props),{defaultPosition:"left"});var gyn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{orientation:t,labelFormatter:n,style:r}=e,i=gyn(e,["orientation","labelFormatter","style"]);return({scales:[o],value:a,theme:l})=>{const{bbox:s}=a,{x:u,y:c,width:f,height:h}=s,{scrollbar:d={}}=l,{ratio:p,range:g}=o.getOptions(),m=t==="horizontal"?f:h,v=m/p,[y,b]=g,C=b>y?0:1;return new kfn({className:"g2-scrollbar",style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:u,y:c,trackLength:m,value:C}),i),{orientation:t,contentLength:v,viewportLength:m}))})}};HP.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};const yet=e=>HP(Object.assign(Object.assign({},e),{orientation:"horizontal"}));yet.props=Object.assign(Object.assign({},HP.props),{defaultPosition:"bottom"});const bet=e=>HP(Object.assign(Object.assign({},e),{orientation:"vertical"}));bet.props=Object.assign(Object.assign({},HP.props),{defaultPosition:"left"});const Cet=e=>()=>new Ha;Cet.props={};const rse=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left bottom",`scale(1, ${1e-4})`]:["left top",`scale(${1e-4}, 1)`],p=[{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.01},{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f}];return l.animate(p,Object.assign(Object.assign({},a),e))}},myn=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left bottom",`scale(1, ${1e-4})`]:["left top",`scale(${1e-4}, 1)`],p=[{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.99},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0}];return l.animate(p,Object.assign(Object.assign({},a),e))}},xet=(e,t)=>{const{coordinate:r}=t;return qXe.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:vn.NUMBER}),(i,o,a)=>{const[l]=i,s=c=>{const{__data__:f,style:h}=c,{radius:d=0,inset:p=0,fillOpacity:g=1,strokeOpacity:m=1,opacity:v=1}=h,{points:y,y:b,y1:C}=f,x=ob(r,y,[b,C]),{innerRadius:S,outerRadius:w}=x,O=iH().cornerRadius(d).padAngle(p*Math.PI/180),$=new is({}),P=r.getCenter(),T=A=>{$.attr({d:O(A),transform:`translate(${P[0]}, ${P[1]})`});const N=cle($);return $.style.transform="",N},R=[{scaleInYRadius:S+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:S+1e-4,fillOpacity:g,strokeOpacity:m,opacity:v,offset:.01},{scaleInYRadius:w,fillOpacity:g,strokeOpacity:m,opacity:v}],M=c.animate(R,Object.assign(Object.assign({},a),e));return M.onframe=function(){c.style.path=T(Object.assign(Object.assign({},x),{outerRadius:Number(c.style.scaleInYRadius)}))},M.onfinish=function(){c.style.path=T(Object.assign(Object.assign({},x),{outerRadius:w}))},M},u=c=>{const{style:f}=c,{transform:h="",fillOpacity:d=1,strokeOpacity:p=1,opacity:g=1}=f,[m,v]=Hi(r)?["left top",`scale(${1e-4}, 1)`]:["left bottom",`scale(1, ${1e-4})`],y=[{transform:`${h} ${v}`.trimStart(),transformOrigin:m,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${h} ${v}`.trimStart(),transformOrigin:m,fillOpacity:d,strokeOpacity:p,opacity:g,offset:.01},{transform:`${h} scale(1, 1)`.trimStart(),transformOrigin:m,fillOpacity:d,strokeOpacity:p,opacity:g}];return c.animate(y,Object.assign(Object.assign({},a),e))};return Ai(r)?s(l):u(l)}},vyn=(e,t)=>{const{coordinate:r}=t;return(i,o,a)=>{const[l]=i,{transform:s="",fillOpacity:u=1,strokeOpacity:c=1,opacity:f=1}=l.style,[h,d]=Hi(r)?["left top",`scale(${1e-4}, 1)`]:["left bottom",`scale(1, ${1e-4})`],p=[{transform:`${s} scale(1, 1)`.trimStart(),transformOrigin:h},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:u,strokeOpacity:c,opacity:f,offset:.99},{transform:`${s} ${d}`.trimStart(),transformOrigin:h,fillOpacity:0,strokeOpacity:0,opacity:0}];return l.animate(p,Object.assign(Object.assign({},a),e))}},_et=e=>(t,n,r)=>{const[i]=t,{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=i.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:o,strokeOpacity:a,opacity:l}];return i.animate(s,Object.assign(Object.assign({},r),e))};_et.props={};const wet=e=>(t,n,r)=>{const[i]=t,{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=i.style,s=[{fillOpacity:o,strokeOpacity:a,opacity:l},{fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(s,Object.assign(Object.assign({},r),e))};wet.props={};function V4(e,t){const n={};for(const r of t){const i=e.style[r];i&&(n[r]=i)}return n}const U4=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function hee(e){const{min:t,max:n}=e.getLocalBounds(),[r,i]=t,[o,a]=n,l=a-i,s=o-r;return[r,i,s,l]}function yyn(e){const[t,n,r,i]=e;return` M ${t} ${n} L ${t+r} ${n} L ${t+r} ${n+i} L ${t} ${n+i} Z - `}function Syn(e,t){const[n,r,i,o]=pee(e),a=o/i,l=Math.ceil(Math.sqrt(t/a)),s=Math.ceil(t/l),u=[],c=o/s;let f=0,h=t;for(;h>0;){const d=Math.min(h,l),p=i/d;for(let g=0;g{c.style.transform="none",Lae(c,n)},c.style.transform="none",h}function Eyn(e,t,n,r){e.style.visibility="hidden";const i=r(e,t.length);return t.map((o,a)=>{const l=new is({style:Object.assign({path:i[a]},V4(e,U4))});return rse(o,l,o,n)})}function $yn(e,t,n,r){const i=r(t,e.length),{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=t.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:o,strokeOpacity:a,opacity:l}],u=t.animate(s,n);return[...e.map((f,h)=>{const d=new is({style:{path:i[h],fill:t.style.fill}});return rse(f,f,d,n)}),u]}const Eet=e=>(t,n,r)=>{const i=xyn(e.split),o=Object.assign(Object.assign({},r),e),{length:a}=t,{length:l}=n;if(a===1&&l===1||a>1&&l>1){const[s]=t,[u]=n;return rse(s,s,u,o)}if(a===1&&l>1){const[s]=t;return Eyn(s,n,o,i)}if(a>1&&l===1){const[s]=n;return $yn(t,s,o,i)}return null};Eet.props={};const $et=(e,t)=>{qXe.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:vn.NUMBER});const{coordinate:r}=t;return(i,o,a)=>{const[l]=i;if(!Ai(r))return nse(e,t)(i,o,a);const s=r.getCenter(),{__data__:u,style:c}=l,{radius:f=0,inset:h=0,fillOpacity:d=1,strokeOpacity:p=1,opacity:g=1}=c,{points:m,y:v,y1:y}=u,b=rH().cornerRadius(f).padAngle(h*Math.PI/180),C=ob(r,m,[v,y]),{startAngle:x,endAngle:S}=C,w=new is({}),O=T=>{w.attr({d:b(T),transform:`translate(${s[0]}, ${s[1]})`});const R=sle(w);return w.style.transform="",R},$=[{waveInArcAngle:x+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:x+1e-4,fillOpacity:d,strokeOpacity:p,opacity:g,offset:.01},{waveInArcAngle:S,fillOpacity:d,strokeOpacity:p,opacity:g}],P=l.animate($,Object.assign(Object.assign({},a),e));return P.onframe=function(){l.style.path=O(Object.assign(Object.assign({},C),{endAngle:Number(l.style.waveInArcAngle)}))},P.onfinish=function(){l.style.path=O(Object.assign(Object.assign({},C),{endAngle:S}))},P}};$et.props={};const Pyn=e=>(n,r,i)=>{const[o]=n,{transform:a="",fillOpacity:l=1,strokeOpacity:s=1,opacity:u=1}=o.style,c="center center",f=[{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u,offset:.01},{transform:`${a} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u}];return o.animate(f,Object.assign(Object.assign({},i),e))},Tyn=e=>(n,r,i)=>{const[o]=n,{transform:a="",fillOpacity:l=1,strokeOpacity:s=1,opacity:u=1}=o.style,c="center center",f=[{transform:`${a} scale(1)`.trimStart(),transformOrigin:c},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u,offset:.99},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}];return o.animate(f,Object.assign(Object.assign({},i),e))},Pet=e=>(t,n,r)=>{var i,o;const[a]=t,l=((o=(i=a).getTotalLength)===null||o===void 0?void 0:o.call(i))||0,s=[{lineDash:[0,l]},{lineDash:[l,0]}];return a.animate(s,Object.assign(Object.assign({},r),e))};Pet.props={};const Tet=(e,t)=>(n,r,i)=>{const[o]=n,{height:a,width:l}=o.getBoundingClientRect(),s=new is({style:{path:`M0,0L${l},0L${l},${a}L0,${a}Z`}});return o.appendChild(s),o.style.clipPath=s,nse(e,t)([s],r,i)};Tet.props={};const Met=(e,t)=>(n,r,i)=>{const[o]=n,{height:a,width:l}=o.getBoundingClientRect(),s=new is({style:{path:`M0,0L${l},0L${l},${a}L0,${a}Z`}});return o.appendChild(s),o.style.clipPath=s,xet(e,t)([s],r,i)};Met.props={};const B7e="main-layer",hee="label-layer",Bp="element",gee="view",W7="plot",F7e="component",mee="label",H7e="area";function Myn(e,t){var n=t.r;e.arc(n,n,n,0,Math.PI*2,!1)}function Ryn(e,t){var n=t.rx,r=t.ry,i=n,o=r;if(e.ellipse)e.ellipse(i,o,i,o,0,0,Math.PI*2,!1);else{var a=i>o?i:o,l=i>o?1:i/o,s=i>o?o/i:1;e.save(),e.scale(l,s),e.arc(a,a,a,0,Math.PI*2)}}function Iyn(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.defX,l=a===void 0?0:a,s=t.defY,u=s===void 0?0:s,c=t.markerStart,f=t.markerEnd,h=t.markerStartOffset,d=t.markerEndOffset,p=0,g=0,m=0,v=0,y=0,b,C;c&&Hr(c)&&h&&(b=i-n,C=o-r,y=Math.atan2(C,b),p=Math.cos(y)*(h||0),g=Math.sin(y)*(h||0)),f&&Hr(f)&&d&&(b=n-i,C=r-o,y=Math.atan2(C,b),m=Math.cos(y)*(d||0),v=Math.sin(y)*(d||0)),e.moveTo(n-l+p,r-u+g),e.lineTo(i-l+m,o-u+v)}function Nyn(e,t){var n=t.defX,r=n===void 0?0:n,i=t.defY,o=i===void 0?0:i,a=t.markerStart,l=t.markerEnd,s=t.markerStartOffset,u=t.markerEndOffset,c=t.path,f=c.absolutePath,h=c.segments,d=0,p=0,g=0,m=0,v=0,y,b;if(a&&Hr(a)&&s){var C=Ae(a.parentNode.getStartTangent(),2),x=C[0],S=C[1];y=x[0]-S[0],b=x[1]-S[1],v=Math.atan2(b,y),d=Math.cos(v)*(s||0),p=Math.sin(v)*(s||0)}if(l&&Hr(l)&&u){var w=Ae(l.parentNode.getEndTangent(),2),x=w[0],S=w[1];y=x[0]-S[0],b=x[1]-S[1],v=Math.atan2(b,y),g=Math.cos(v)*(u||0),m=Math.sin(v)*(u||0)}for(var O=0;OL?D:L,U=D>L?1:D/L,K=D>L?L/D:1;e.translate(N-r,k-o),e.rotate(z),e.scale(U,K),e.arc(0,0,W,B,j,!!(1-V)),e.scale(1/U,1/K),e.rotate(-z),e.translate(-(N-r),-(k-o))}M&&e.lineTo($[6]-r+g,$[7]-o+m);break}case"Z":e.closePath();break}}}function Ayn(e,t){var n=t.defX,r=n===void 0?0:n,i=t.defY,o=i===void 0?0:i,a=t.markerStart,l=t.markerEnd,s=t.markerStartOffset,u=t.markerEndOffset,c=t.points.points,f=c.length,h=c[0][0]-r,d=c[0][1]-o,p=c[f-1][0]-r,g=c[f-1][1]-o,m=0,v=0,y=0,b=0,C=0,x,S;a&&Hr(a)&&s&&(x=c[1][0]-c[0][0],S=c[1][1]-c[0][1],C=Math.atan2(S,x),m=Math.cos(C)*(s||0),v=Math.sin(C)*(s||0)),l&&Hr(l)&&u&&(x=c[f-1][0]-c[0][0],S=c[f-1][1]-c[0][1],C=Math.atan2(S,x),y=Math.cos(C)*(u||0),b=Math.sin(C)*(u||0)),e.moveTo(h+(m||y),d+(v||b));for(var w=1;w0?1:-1,u=i>0?1:-1,c=s+u===0,f=Ae(n.map(function(m){return mo(m,0,Math.min(Math.abs(o)/2,Math.abs(a)/2))}),4),h=f[0],d=f[1],p=f[2],g=f[3];e.moveTo(s*h,0),e.lineTo(o-s*d,0),d!==0&&e.arc(o-s*d,u*d,d,-u*Math.PI/2,s>0?0:Math.PI,c),e.lineTo(o,a-u*p),p!==0&&e.arc(o-s*p,a-u*p,p,s>0?0:Math.PI,u>0?Math.PI/2:1.5*Math.PI,c),e.lineTo(s*g,a),g!==0&&e.arc(s*g,a-u*g,g,u>0?Math.PI/2:-Math.PI/2,s>0?Math.PI:0,c),e.lineTo(0,u*h),h!==0&&e.arc(s*h,u*h,h,s>0?Math.PI:0,u>0?Math.PI*1.5:Math.PI/2,c)}}var Dyn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.name="canvas-path-generator",n}return t.prototype.init=function(){var n,r=(n={},n[Rt.CIRCLE]=Myn,n[Rt.ELLIPSE]=Ryn,n[Rt.RECT]=jyn,n[Rt.LINE]=Iyn,n[Rt.POLYLINE]=kyn,n[Rt.POLYGON]=Ayn,n[Rt.PATH]=Nyn,n[Rt.TEXT]=void 0,n[Rt.GROUP]=void 0,n[Rt.IMAGE]=void 0,n[Rt.HTML]=void 0,n[Rt.MESH]=void 0,n);this.context.pathGeneratorFactory=r},t.prototype.destroy=function(){delete this.context.pathGeneratorFactory},t}(B0),Lyn=_r(),zyn=_r(),Byn=_r(),Fyn=ci(),Hyn=function(){function e(){var t=this;this.isHit=function(n,r,i,o){var a=t.context.pointInPathPickerFactory[n.nodeName];if(a){var l=pd(Fyn,i),s=xa(zyn,ud(Byn,r[0],r[1],0),l),u=n.getGeometryBounds().halfExtents,c=n.parsedStyle.anchor;if(s[0]+=(c&&c[0]||0)*u[0]*2,s[1]+=(c&&c[1]||0)*u[1]*2,a(n,new La(s[0],s[1]),o,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(n,r){var i=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),o=t.context.pathGeneratorFactory[n.nodeName];return o&&(i.beginPath(),o(i,n.parsedStyle),i.closePath()),i.isPointInPath(r.x,r.y)}}return e.prototype.apply=function(t,n){var r=this,i,o=t.renderingService,a=t.renderingContext;this.context=t,this.runtime=n;var l=(i=a.root)===null||i===void 0?void 0:i.ownerDocument;o.hooks.pick.tapPromise(e.tag,function(s){return T4(r,void 0,void 0,function(){return M4(this,function(u){return[2,this.pick(l,s)]})})}),o.hooks.pickSync.tap(e.tag,function(s){return r.pick(l,s)})},e.prototype.pick=function(t,n){var r,i,o=n.topmost,a=n.position,l=a.x,s=a.y,u=ud(Lyn,l,s,0),c=t.elementsFromBBox(u[0],u[1],u[0],u[1]),f=[];try{for(var h=ac(c),d=h.next();!d.done;d=h.next()){var p=d.value,g=p.getWorldTransform(),m=this.isHit(p,u,g,!1);if(m){var v=kXe(p);if(v){var y=v.parsedStyle.clipPath,b=this.isHit(y,u,y.getWorldTransform(),!0);if(b){if(o)return n.picked=[p],n;f.push(p)}}else{if(o)return n.picked=[p],n;f.push(p)}}}}catch(C){r={error:C}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}return n.picked=f,n},e.tag="CanvasPicker",e}();function Wyn(e,t,n){var r=e.parsedStyle,i=r.r,o=r.fill,a=r.stroke,l=r.lineWidth,s=r.increasedLineWidthForHitTesting,u=r.pointerEvents,c=((l||0)+(s||0))/2,f=nh(i,i,t.x,t.y),h=Ae(rb(u,o,a),2),d=h[0],p=h[1];return d&&p||n?f<=i+c:d?f<=i:p?f>=i-c&&f<=i+c:!1}function CA(e,t,n,r){return e/(n*n)+t/(r*r)}function qyn(e,t,n){var r=e.parsedStyle,i=r.rx,o=r.ry,a=r.fill,l=r.stroke,s=r.lineWidth,u=r.increasedLineWidthForHitTesting,c=r.pointerEvents,f=t.x,h=t.y,d=Ae(rb(c,a,l),2),p=d[0],g=d[1],m=((s||0)+(u||0))/2,v=(f-i)*(f-i),y=(h-o)*(h-o);return p&&g||n?CA(v,y,i+m,o+m)<=1:p?CA(v,y,i,o)<=1:g?CA(v,y,i-m,o-m)>=1&&CA(v,y,i+m,o+m)<=1:!1}function Tv(e,t,n,r,i,o){return i>=e&&i<=e+n&&o>=t&&o<=t+r}function Vyn(e,t,n,r,i,o,a){var l=i/2;return Tv(e-l,t-l,n,i,o,a)||Tv(e+n-l,t-l,i,r,o,a)||Tv(e+l,t+r-l,n,i,o,a)||Tv(e-l,t+l,i,r,o,a)}function SA(e,t,n,r,i,o,a,l){var s=(Math.atan2(l-t,a-e)+Math.PI*2)%(Math.PI*2),u={x:e+n*Math.cos(s),y:t+n*Math.sin(s)};return nh(u.x,u.y,a,l)<=o/2}function U1(e,t,n,r,i,o,a){var l=Math.min(e,n),s=Math.max(e,n),u=Math.min(t,r),c=Math.max(t,r),f=i/2;return o>=l-f&&o<=s+f&&a>=u-f&&a<=c+f?mln(e,t,n,r,o,a)<=i/2:!1}function Ret(e,t,n,r,i){var o=e.length;if(o<2)return!1;for(var a=0;a0!=QK(l[1]-n)>0&&QK(t-(n-a[1])*(a[0]-l[0])/(a[1]-l[1])-a[0])<0&&(r=!r)}return r}function W7e(e,t,n){for(var r=!1,i=0;iC&&$>x,g&&(g.resetTransform?g.resetTransform():g.setTransform(1,0,0,1,0,0),r.clearFullScreen&&r.clearRect(g,0,0,v*m,y*m,i.background))});var p=function(g,m){g.isVisible()&&!g.isCulled()&&(r.renderDisplayObject(g,m,r.context,r.restoreStack,n),r.saveDirtyAABB(g));var v=g.sortable.sorted||g.childNodes;v.forEach(function(y){p(y,m)})};a.hooks.endFrame.tap(e.tag,function(){var g=c.getContext(),m=c.getDPR();if(Tae(r.dprMatrix,[m,m,1]),Ol(r.vpMatrix,r.dprMatrix,o.getOrthoMatrix()),r.clearFullScreen)p(l.root,g);else{var v=r.safeMergeAABB.apply(r,Kt([r.mergeDirtyAABBs(r.renderQueue)],Ae(r.removedRBushNodeAABBs.map(function(z){var V=z.minX,W=z.minY,U=z.maxX,K=z.maxY,X=new Jo;return X.setMinMax([V,W,0],[U,K,0]),X})),!1));if(r.removedRBushNodeAABBs=[],Jo.isEmpty(v)){r.renderQueue=[];return}var y=r.convertAABB2Rect(v),b=y.x,C=y.y,x=y.width,S=y.height,w=xa(r.vec3a,[b,C,0],r.vpMatrix),O=xa(r.vec3b,[b+x,C,0],r.vpMatrix),$=xa(r.vec3c,[b,C+S,0],r.vpMatrix),P=xa(r.vec3d,[b+x,C+S,0],r.vpMatrix),T=Math.min(w[0],O[0],P[0],$[0]),R=Math.min(w[1],O[1],P[1],$[1]),M=Math.max(w[0],O[0],P[0],$[0]),A=Math.max(w[1],O[1],P[1],$[1]),N=Math.floor(T),k=Math.floor(R),D=Math.ceil(M-T),L=Math.ceil(A-R);g.save(),r.clearRect(g,N,k,D,L,i.background),g.beginPath(),g.rect(N,k,D,L),g.clip(),g.setTransform(r.vpMatrix[0],r.vpMatrix[1],r.vpMatrix[4],r.vpMatrix[5],r.vpMatrix[12],r.vpMatrix[13]);var B=i.renderer.getConfig().enableDirtyRectangleRenderingDebug;B&&f.dispatchEvent(new vi(Ss.DIRTY_RECTANGLE,{dirtyRect:{x:N,y:k,width:D,height:L}}));var j=r.searchDirtyObjects(v);j.sort(function(z,V){return z.sortable.renderOrder-V.sortable.renderOrder}).forEach(function(z){z&&z.isVisible()&&!z.isCulled()&&r.renderDisplayObject(z,g,r.context,r.restoreStack,n)}),g.restore(),r.renderQueue.forEach(function(z){r.saveDirtyAABB(z)}),r.renderQueue=[]}r.restoreStack.forEach(function(){g.restore()}),r.restoreStack=[]}),a.hooks.render.tap(e.tag,function(g){r.clearFullScreen||r.renderQueue.push(g)})},e.prototype.clearRect=function(t,n,r,i,o,a){t.clearRect(n,r,i,o),a&&(t.fillStyle=a,t.fillRect(n,r,i,o))},e.prototype.renderDisplayObject=function(t,n,r,i,o){var a=t.nodeName,l=i[i.length-1];l&&!(t.compareDocumentPosition(l)&Na.DOCUMENT_POSITION_CONTAINS)&&(n.restore(),i.pop());var s=this.context.styleRendererFactory[a],u=this.pathGeneratorFactory[a],c=t.parsedStyle.clipPath;if(c){this.applyWorldTransform(n,c);var f=this.pathGeneratorFactory[c.nodeName];f&&(n.save(),i.push(t),n.beginPath(),f(n,c.parsedStyle),n.closePath(),n.clip())}s&&(this.applyWorldTransform(n,t),n.save(),this.applyAttributesToContext(n,t)),u&&(n.beginPath(),u(n,t.parsedStyle),t.nodeName!==Rt.LINE&&t.nodeName!==Rt.PATH&&t.nodeName!==Rt.POLYLINE&&n.closePath()),s&&(s.render(n,t.parsedStyle,t,r,this,o),n.restore()),t.renderable.dirty=!1},e.prototype.convertAABB2Rect=function(t){var n=t.getMin(),r=t.getMax(),i=Math.floor(n[0]),o=Math.floor(n[1]),a=Math.ceil(r[0]),l=Math.ceil(r[1]),s=a-i,u=l-o;return{x:i,y:o,width:s,height:u}},e.prototype.mergeDirtyAABBs=function(t){var n=new Jo;return t.forEach(function(r){var i=r.getRenderBounds();n.add(i);var o=r.renderable.dirtyRenderBounds;o&&n.add(o)}),n},e.prototype.searchDirtyObjects=function(t){var n=Ae(t.getMin(),2),r=n[0],i=n[1],o=Ae(t.getMax(),2),a=o[0],l=o[1],s=this.rBush.search({minX:r,minY:i,maxX:a,maxY:l});return s.map(function(u){var c=u.displayObject;return c})},e.prototype.saveDirtyAABB=function(t){var n=t.renderable;n.dirtyRenderBounds||(n.dirtyRenderBounds=new Jo);var r=t.getRenderBounds();r&&n.dirtyRenderBounds.update(r.center,r.halfExtents)},e.prototype.applyAttributesToContext=function(t,n){var r=n.parsedStyle,i=r.stroke,o=r.fill,a=r.opacity,l=r.lineDash,s=r.lineDashOffset;l&&t.setLineDash(l),Cn(s)||(t.lineDashOffset=s),Cn(a)||(t.globalAlpha*=a),!Cn(i)&&!Array.isArray(i)&&!i.isNone&&(t.strokeStyle=n.attributes.stroke),!Cn(o)&&!Array.isArray(o)&&!o.isNone&&(t.fillStyle=n.attributes.fill)},e.prototype.applyWorldTransform=function(t,n,r){var i=0,o=0,a=(n.parsedStyle||{}).anchor,l=a&&a[0]||0,s=a&&a[1]||0;if(l!==0||s!==0){var u=n.geometry.contentBounds,c=u&&u.halfExtents[0]*2||0,f=u&&u.halfExtents[1]*2||0;i=-(l*c),o=-(s*f)}r?(hy(this.tmpMat4,n.getLocalTransform()),this.vec3a[0]=i,this.vec3a[1]=o,this.vec3a[2]=0,a0(this.tmpMat4,this.tmpMat4,this.vec3a),Ol(this.tmpMat4,r,this.tmpMat4),Ol(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(hy(this.tmpMat4,n.getWorldTransform()),this.vec3a[0]=i,this.vec3a[1]=o,this.vec3a[2]=0,a0(this.tmpMat4,this.tmpMat4,this.vec3a),Ol(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},e.prototype.safeMergeAABB=function(){for(var t=[],n=0;n0,w=l.alpha===0,O=!!(b&&b.length),$=!Cn(v)&&y>0,P=r.nodeName,T=m==="inner",R=S&&$&&(P===Rt.PATH||P===Rt.LINE||P===Rt.POLYLINE||w||T);x&&(t.globalAlpha=u*c,R||yL(r,t,$),this.fill(t,r,l,s,i,o,a),R||this.clearShadowAndFilter(t,O,$)),S&&(t.globalAlpha=u*h,t.lineWidth=d,Cn(C)||(t.miterLimit=C),Cn(p)||(t.lineCap=p),Cn(g)||(t.lineJoin=g),R&&(T&&(t.globalCompositeOperation="source-atop"),yL(r,t,!0),T&&(this.stroke(t,r,f,i,o,a),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,O,!0))),this.stroke(t,r,f,i,o,a))},e.prototype.clearShadowAndFilter=function(t,n,r){if(r&&(t.shadowColor="transparent",t.shadowBlur=0),n){var i=t.filter;!Cn(i)&&i.indexOf("drop-shadow")>-1&&(t.filter=i.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},e.prototype.fill=function(t,n,r,i,o,a,l){var s=this;Array.isArray(r)?r.forEach(function(u){t.fillStyle=s.getColor(u,n,t),i?t.fill(i):t.fill()}):(k7(r)&&(t.fillStyle=this.getPattern(r,n,t,o,a,l)),i?t.fill(i):t.fill())},e.prototype.stroke=function(t,n,r,i,o,a){var l=this;Array.isArray(r)?r.forEach(function(s){t.strokeStyle=l.getColor(s,n,t),t.stroke()}):(k7(r)&&(t.strokeStyle=this.getPattern(r,n,t,i,o,a)),t.stroke())},e.prototype.getPattern=function(t,n,r,i,o,a){var l,s;if(t.image.nodeName==="rect"){var u=t.image.parsedStyle,c=u.width,f=u.height;s=i.contextService.getDPR();var h=i.config.offscreenCanvas;l=a.offscreenCanvasCreator.getOrCreateCanvas(h),l.width=c*s,l.height=f*s;var d=a.offscreenCanvasCreator.getOrCreateContext(h),p=[];t.image.forEach(function(m){o.renderDisplayObject(m,d,i,p,a)}),p.forEach(function(){d.restore()})}var g=this.imagePool.getOrCreatePatternSync(t,r,l,s,function(){n.renderable.dirty=!0,i.renderingService.dirtify()});return g},e.prototype.getColor=function(t,n,r){var i;if(t.type===bf.LinearGradient||t.type===bf.RadialGradient){var o=n.getGeometryBounds(),a=o&&o.halfExtents[0]*2||1,l=o&&o.halfExtents[1]*2||1;i=this.imagePool.getOrCreateGradient(Mt(Mt({type:t.type},t.value),{width:a,height:l}),r)}return i},e}();function yL(e,t,n){var r=e.parsedStyle,i=r.filter,o=r.shadowColor,a=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(t.filter=e.style.filter),n&&(t.shadowColor=o.toString(),t.shadowBlur=a||0,t.shadowOffsetX=l||0,t.shadowOffsetY=s||0)}var ibn=function(){function e(t){this.imagePool=t}return e.prototype.render=function(t,n,r){var i=n.width,o=n.height,a=n.img,l=n.shadowColor,s=n.shadowBlur,u,c=i,f=o;if(eo(a)?u=this.imagePool.getImageSync(a):(c||(c=a.width),f||(f=a.height),u=a),u){var h=!Cn(l)&&s>0;yL(r,t,h);try{t.drawImage(u,0,0,c,f)}catch{}}},e}(),obn=function(){function e(){}return e.prototype.render=function(t,n,r,i,o,a){var l=n,s=l.lineWidth,u=l.textAlign,c=l.textBaseline,f=l.lineJoin,h=l.miterLimit,d=l.letterSpacing,p=l.stroke,g=l.fill,m=l.fillOpacity,v=l.strokeOpacity,y=l.opacity,b=l.metrics,C=l.dx,x=l.dy,S=l.shadowColor,w=l.shadowBlur,O=b.font,$=b.lines,P=b.height,T=b.lineHeight,R=b.lineMetrics;t.font=O,t.lineWidth=s,t.textAlign=u==="middle"?"center":u;var M=c;!a.enableCSSParsing&&M==="alphabetic"&&(M="bottom"),t.lineJoin=f,Cn(h)||(t.miterLimit=h);var A=0;c==="middle"?A=-P/2-T/2:c==="bottom"||c==="alphabetic"||c==="ideographic"?A=-P:(c==="top"||c==="hanging")&&(A=-T);var N=C||0;A+=x||0,$.length===1&&(M==="bottom"?(M="middle",A-=.5*P):M==="top"&&(M="middle",A+=.5*P)),t.textBaseline=M;var k=!Cn(S)&&w>0;yL(r,t,k);for(var D=0;D<$.length;D++){var L=s/2+N;A+=T,!Cn(p)&&!p.isNone&&s&&this.drawLetterSpacing(t,$[D],R[D],u,L,A,d,m,v,y,!0),Cn(g)||this.drawLetterSpacing(t,$[D],R[D],u,L,A,d,m,v,y)}},e.prototype.drawLetterSpacing=function(t,n,r,i,o,a,l,s,u,c,f){if(f===void 0&&(f=!1),l===0){f?this.strokeText(t,n,o,a,u):this.fillText(t,n,o,a,s,c);return}var h=t.textAlign;t.textAlign="left";var d=o;i==="center"||i==="middle"?d=o-r.width/2:(i==="right"||i==="end")&&(d=o-r.width);for(var p=Array.from(n),g=t.measureText(n).width,m=0,v=0;v=1?Math.ceil(i):1,this.dpr=i,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*n,dcn(this.$canvas,t,n)),this.renderingContext.renderReasons.add(u0.CAMERA_CHANGED)},e.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},e.prototype.toDataURL=function(t){return t===void 0&&(t={}),T4(this,void 0,void 0,function(){var n,r;return M4(this,function(i){return n=t.type,r=t.encoderOptions,[2,this.context.canvas.toDataURL(n,r)]})})},e}(),mbn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.name="canvas-context-register",n}return t.prototype.init=function(){this.context.ContextService=gbn},t.prototype.destroy=function(){delete this.context.ContextService},t}(B0),Net=function(e){$n(t,e);function t(n){var r=e.call(this,n)||this;return r.registerPlugin(new mbn),r.registerPlugin(new hbn),r.registerPlugin(new Dyn),r.registerPlugin(new abn),r.registerPlugin(new sbn),r.registerPlugin(new nbn),r.registerPlugin(new dbn),r}return t}(Eln),vbn=function(){function e(t){this.dragndropPluginOptions=t}return e.prototype.apply=function(t){var n=this,r=t.renderingService,i=t.renderingContext,o=i.root.ownerDocument,a=o.defaultView,l=function(s){var u=s.target,c=u===o,f=c&&n.dragndropPluginOptions.isDocumentDraggable?o:u.closest&&u.closest("[draggable=true]");if(f){var h=!1,d=s.timeStamp,p=[s.clientX,s.clientY],g=null,m=[s.clientX,s.clientY],v=function(b){return T4(n,void 0,void 0,function(){var C,x,S,w,O,$;return M4(this,function(P){switch(P.label){case 0:if(!h){if(C=b.timeStamp-d,x=ys([b.clientX,b.clientY],p),C<=this.dragndropPluginOptions.dragstartTimeThreshold||x<=this.dragndropPluginOptions.dragstartDistanceThreshold)return[2];b.type="dragstart",f.dispatchEvent(b),h=!0}return b.type="drag",b.dx=b.clientX-m[0],b.dy=b.clientY-m[1],f.dispatchEvent(b),m=[b.clientX,b.clientY],c?[3,2]:(S=this.dragndropPluginOptions.overlap==="pointer"?[b.canvasX,b.canvasY]:u.getBounds().center,[4,o.elementsFromPoint(S[0],S[1])]);case 1:w=P.sent(),O=w[w.indexOf(u)+1],$=(O==null?void 0:O.closest("[droppable=true]"))||(this.dragndropPluginOptions.isDocumentDroppable?o:null),g!==$&&(g&&(b.type="dragleave",b.target=g,g.dispatchEvent(b)),$&&(b.type="dragenter",b.target=$,$.dispatchEvent(b)),g=$,g&&(b.type="dragover",b.target=g,g.dispatchEvent(b))),P.label=2;case 2:return[2]}})})};a.addEventListener("pointermove",v);var y=function(b){if(h){b.detail={preventClick:!0};var C=b.clone();g&&(C.type="drop",C.target=g,g.dispatchEvent(C)),C.type="dragend",f.dispatchEvent(C),h=!1}a.removeEventListener("pointermove",v)};u.addEventListener("pointerup",y,{once:!0}),u.addEventListener("pointerupoutside",y,{once:!0})}};r.hooks.init.tap(e.tag,function(){a.addEventListener("pointerdown",l)}),r.hooks.destroy.tap(e.tag,function(){a.removeEventListener("pointerdown",l)})},e.tag="Dragndrop",e}(),Aet=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.options=n,r.name="dragndrop",r}return t.prototype.init=function(){this.addRenderingPlugin(new vbn(Mt({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))},t.prototype.destroy=function(){this.removeAllRenderingPlugins()},t.prototype.setOptions=function(n){Object.assign(this.plugins[0].dragndropPluginOptions,n)},t}(B0),ybn="*",ise=function(){function e(){this._events={}}return e.prototype.on=function(t,n,r){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:n,once:!!r}),this},e.prototype.once=function(t,n){return this.on(t,n,!0)},e.prototype.emit=function(t){for(var n=this,r=[],i=1;i0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Het=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;rn;)e-=Math.PI*2;return e}var Mbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Rbn=function(e,t,n,r,i){var o=Mbn(e,2),a=o[0],l=o[1],s=LC();return xnn(s,[a,l])},V7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Ibn=function(e,t,n,r,i){var o=new Ri({range:[t,t+r]}),a=new Ri({range:[n,n+i]});return{transform:function(l){var s=V7e(l,2),u=s[0],c=s[1];return[o.map(u),a.map(c)]},untransform:function(l){var s=V7e(l,2),u=s[0],c=s[1];return[o.invert(u),a.invert(c)]}}},Nbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Abn=function(e,t,n,r,i){var o=Nbn(e,1),a=o[0];return a(t,n,r,i)},kbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},jbn=function(e,t,n,r,i){var o=kbn(e,1),a=o[0];return a},JK=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Dbn=function(e,t,n,r,i){var o=JK(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=new Ri({range:[s,u]}),f=new Ri({range:[a,l]}),h=i/r,d=h>1?1:h,p=h>1?1/h:1;return{transform:function(g){var m=JK(g,2),v=m[0],y=m[1],b=f.map(v),C=c.map(y),x=C*Math.cos(b)*d,S=C*Math.sin(b)*p,w=x*.5+.5,O=S*.5+.5;return[w,O]},untransform:function(g){var m=JK(g,2),v=m[0],y=m[1],b=(v-.5)*2/d,C=(y-.5)*2/p,x=Math.sqrt(Math.pow(b,2)+Math.pow(C,2)),S=Math.atan2(C,b),w=Wet(S,a,l),O=f.invert(w),$=c.invert(x);return[O,$]}}},U7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Lbn=function(e,t,n,r,i){return{transform:function(o){var a=U7e(o,2),l=a[0],s=a[1];return[s,l]},untransform:function(o){var a=U7e(o,2),l=a[0],s=a[1];return[s,l]}}},zbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},$H=function(e,t,n,r,i){var o=zbn(e,2),a=o[0],l=o[1],s=LC();return wnn(s,[a,l])},ase=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},lse=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},qbn=function(e,t,n,r,i){var o=Wbn(e,1),a=o[0],l=LC();return _nn(l,a)},eX=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Vbn=function(e,t,n,r,i){var o=eX(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=(l-0)/(2*Math.PI)+1,f=(u-s)/c,h=f/(Math.PI*2),d=new Ri({range:[s,s+f*.99]}),p=new Ri({range:[a,l]}),g=i/r,m=g>1?1:g,v=g>1?1/g:1;return{transform:function(y){var b=eX(y,2),C=b[0],x=b[1],S=p.map(C),w=d.map(x),O=Math.cos(S)*(h*S+w)*m,$=Math.sin(S)*(h*S+w)*v,P=O*.5+.5,T=$*.5+.5;return[P,T]},untransform:function(y){var b=eX(y,2),C=b[0],x=b[1],S=(C-.5)*2/m,w=(x-.5)*2/v,O=Math.sqrt(Math.pow(S,2)+Math.pow(w,2)),$=Math.atan2(w,S)+Math.floor(O/f)*Math.PI*2,P=Wet($,a,l),T=O-h*P,R=p.invert(P),M=d.invert(T);return[R,M]}}},Ubn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Gbn=function(e,t,n,r,i){var o=Ubn(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=new Ri({range:[s,u]});return{transform:function(f){for(var h=[],d=f.length,p=new cKe({domain:new Array(d).fill(0).map(function(b,C){return C}),range:[a,l]}),g=0;g0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function qet(e){return 1/Math.tan(e)}var Kbn=function(e,t,n,r,i){var o=F3(e,1),a=o[0],l=qet(a);return{transform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=c+f*l;return[h,f]},untransform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=c-f*l;return[h,f]}}},Xbn=function(e,t,n,r,i){var o=F3(e,1),a=o[0],l=qet(a);return{transform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=f+c*l;return[c,h]},untransform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=f-c*l;return[c,h]}}},du=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function q7(e,t,n,r,i){var o=es)return[y,b];var w=q7(S,0,u,0,s),O=Math.atan2(x,C),$=p+w*Math.cos(O),P=g+w*Math.sin(O);return[h.invert($),d.invert(P)]},untransform:function(m){var v=du(m,2),y=v[0],b=v[1],C=h.map(y)-p,x=d.map(b)-g,S=Math.sqrt(C*C+x*x);if(S>s)return[y,b];var w=V7(S,0,u,0,s),O=Math.atan2(x,C),$=p+w*Math.cos(O),P=g+w*Math.sin(O);return[h.invert($),d.invert(P)]}}},G7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},e2n=function(e,t,n,r,i,o,a){var l=new Ri({range:[t,t+i]}),s=new Ri({range:[n,n+o]}),u=new Ri({range:[r,r+a]});return{transform:function(c){var f=G7e(c,3),h=f[0],d=f[1],p=f[2];return[l.map(h),s.map(d),u.map(p)]},untransform:function(c){var f=G7e(c,3),h=f[0],d=f[1],p=f[2];return[l.invert(h),s.invert(d),u.invert(p)]}}},t2n=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},n2n=function(e,t,n,r,i,o,a){var l=t2n(e,3),s=l[0],u=l[1],c=l[2];return Pae(ci(),[s,u,c])},K7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},r2n=function(e,t,n,r,i,o,a){return{transform:function(l){var s=K7e(l,3),u=s[0],c=s[1],f=s[2];return[c,u,f]},untransform:function(l){var s=K7e(l,3),u=s[0],c=s[1],f=s[2];return[c,u,f]}}},i2n=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},o2n=function(e,t,n,r,i,o,a){var l=i2n(e,3),s=l[0],u=l[1],c=l[2];return Tae(ci(),[s,u,c])},b2=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},C2=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l2n=function(){function e(t){this.options={x:0,y:0,width:300,height:150,transformations:[]},this.transformers={cartesian:Ibn,translate:Rbn,custom:Abn,matrix:jbn,polar:Dbn,transpose:Lbn,scale:$H,"shear.x":Kbn,"shear.y":Xbn,reflect:Bbn,"reflect.x":Fbn,"reflect.y":Hbn,rotate:qbn,helix:Vbn,parallel:Gbn,fisheye:Qbn,"fisheye.x":Ybn,"fisheye.y":Zbn,"fisheye.circular":Jbn},this.update(t)}return e.prototype.update=function(t){this.options=Let({},this.options,t),this.recoordinate()},e.prototype.clone=function(){return new e(this.options)},e.prototype.getOptions=function(){return this.options},e.prototype.clear=function(){this.update({transformations:[]})},e.prototype.getSize=function(){var t=this.options,n=t.width,r=t.height;return[n,r]},e.prototype.getCenter=function(){var t=this.options,n=t.x,r=t.y,i=t.width,o=t.height;return[(n*2+i)/2,(r*2+o)/2]},e.prototype.transform=function(){for(var t=[],n=0;n0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},x2=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},c2n=function(){function e(t){this.options={x:0,y:0,z:0,width:300,height:150,depth:150,transformations:[]},this.transformers={cartesian3D:e2n,translate3D:n2n,scale3D:o2n,transpose3D:r2n},this.update(t)}return e.prototype.update=function(t){this.options=Let({},this.options,t),this.recoordinate()},e.prototype.clone=function(){return new e(this.options)},e.prototype.getOptions=function(){return this.options},e.prototype.clear=function(){this.update({transformations:[]})},e.prototype.getSize=function(){var t=this.options,n=t.width,r=t.height,i=t.depth;return[n,r,i]},e.prototype.getCenter=function(){var t=this.options,n=t.x,r=t.y,i=t.z,o=t.width,a=t.height,l=t.depth;return[(n*2+o)/2,(r*2+a)/2,(i*2+l)/2]},e.prototype.transform=function(){for(var t=[],n=0;nDt({},e(t,...n),t)}function GC(e){return(t,...n)=>Dt({},t,e(t,...n))}function sse(e,t){if(!e)return t;if(Array.isArray(e))return e;const{value:n=t}=e,r=u2n(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}var d2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie=>{const{children:t}=e;if(!Array.isArray(t))return[];const{x:n=0,y:r=0,width:i,height:o,data:a}=e;return t.map(l=>{var{data:s,x:u,y:c,width:f,height:h}=l,d=d2n(l,["data","x","y","width","height"]);return Object.assign(Object.assign({},d),{data:sse(s,a),x:u??n,y:c??r,width:f??i,height:h??o})})};Vet.props={};var f2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie=>{const{children:t}=e;if(!Array.isArray(t))return[];const{direction:n="row",ratio:r=t.map(()=>1),padding:i=0,data:o}=e,[a,l,s,u]=n==="col"?["y","height","width","x"]:["x","width","height","y"],c=r.reduce((g,m)=>g+m),f=e[l]-i*(t.length-1),h=r.map(g=>f*(g/c)),d=[];let p=e[a]||0;for(let g=0;ge=>{const{children:t}=e,n=tX(e,["children"]);if(!Array.isArray(t))return[];const{data:r,scale:i={},axis:o={},legend:a={},encode:l={},transform:s=[]}=n,u=tX(n,["data","scale","axis","legend","encode","transform"]),c=t.map(f=>{var{data:h,scale:d={},axis:p={},legend:g={},encode:m={},transform:v=[]}=f,y=tX(f,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:sse(h,r),scale:Dt({},i,d),encode:Dt({},l,m),transform:[...s,...v],axis:p&&o?Dt({},o,p):!1,legend:g&&a?Dt({},a,g):!1},y)});return[Object.assign(Object.assign({},u),{marks:c,type:"standardView"})]};Get.props={};var p2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it=>{const{width:n,height:r,depth:i,paddingLeft:o,paddingRight:a,paddingTop:l,paddingBottom:s,padding:u,inset:c,insetLeft:f,insetTop:h,insetRight:d,insetBottom:p,margin:g,marginLeft:m,marginBottom:v,marginTop:y,marginRight:b,data:C,coordinate:x,theme:S,component:w,interaction:O,x:$,y:P,z:T,key:R,frame:M,labelTransform:A,parentKey:N,clip:k,viewStyle:D,title:L}=t,B=p2n(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:$,y:P,z:T,key:R,width:n,height:r,depth:i,padding:u,paddingLeft:o,paddingRight:a,paddingTop:l,inset:c,insetLeft:f,insetTop:h,insetRight:d,insetBottom:p,paddingBottom:s,theme:S,coordinate:x,component:w,interaction:O,frame:M,labelTransform:A,margin:g,marginLeft:m,marginBottom:v,marginTop:y,marginRight:b,parentKey:N,clip:k,style:D},!e&&{title:L}),{marks:[Object.assign(Object.assign(Object.assign({},B),{key:`${R}-0`,data:C}),e&&{title:L})]})]};Ket.props={};class HP{constructor(t){this.$value=t}static of(t){return new HP(t)}call(t,...n){return this.$value=t(this.$value,...n),this}value(){return this.$value}}var h2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{encode:t,data:n,scale:r,shareSize:i=!1}=e,{x:o,y:a}=t,l=(s,u)=>{var c;if(s===void 0||!i)return{};const f=Ji(n,p=>p[s]),h=((c=r==null?void 0:r[u])===null||c===void 0?void 0:c.domain)||Array.from(f.keys()),d=h.map(p=>f.has(p)?f.get(p).length:1);return{domain:h,flex:d}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:o===void 0?null:{position:"top"}},o===void 0&&{paddingInner:0}),l(o,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:a===void 0?null:{position:"right"}},a===void 0&&{paddingInner:0}),l(a,"y"))}}}),cse=UC(e=>{const{data:t,scale:n}=e,r=[e];let i,o,a;for(;r.length;){const f=r.shift(),{children:h,encode:d={},scale:p={},legend:g={}}=f,{color:m}=d,{color:v}=p,{color:y}=g;m!==void 0&&(i=m),v!==void 0&&(o=v),y!==void 0&&(a=y),Array.isArray(h)&&r.push(...h)}const l=()=>{var f;const h=(f=n==null?void 0:n.color)===null||f===void 0?void 0:f.domain;if(h!==void 0)return[h];if(i===void 0)return[void 0];const d=typeof i=="function"?i:g=>g[i],p=t.map(d);return p.some(g=>typeof g=="number")?[eh(p)]:[Array.from(new Set(p)),"ordinal"]},s=typeof i=="string"?i:"",[u,c]=l();return{encode:{color:i},scale:{color:Dt({},o,{domain:u,type:c})},legend:{color:Dt({title:s},a)}}}),use=UC(()=>({animate:{enterType:"fadeIn"}})),dse=GC(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),fse=GC(()=>({type:"cell"})),Xet=GC(e=>{const{data:t}=e;return{data:{type:"inline",value:t,transform:[{type:"custom",callback:()=>{const{data:r,encode:i}=e,{x:o,y:a}=i,l=o?Array.from(new Set(r.map(c=>c[o]))):[],s=a?Array.from(new Set(r.map(c=>c[a]))):[];return(()=>{if(l.length&&s.length){const c=[];for(const f of l)for(const h of s)c.push({[o]:f,[a]:h});return c}if(l.length)return l.map(c=>({[o]:c}));if(s.length)return s.map(c=>({[a]:c}))})()}}]}}}),Yet=GC((e,t=m2n,n=v2n,r=y2n,i={})=>{const{data:o,encode:a,children:l,scale:s,x:u=0,y:c=0,shareData:f=!1,key:h}=e,{value:d}=o,{x:p,y:g}=a,{color:m}=s,{domain:v}=m;return{children:(b,C,x)=>{const{x:S,y:w}=C,{paddingLeft:O,paddingTop:$,marginLeft:P,marginTop:T}=x,{domain:R}=S.getOptions(),{domain:M}=w.getOptions(),A=tb(b),N=b.map(t),k=b.map(({x:V,y:W})=>[S.invert(V),w.invert(W)]),L=k.map(([V,W])=>U=>{const{[p]:K,[g]:X}=U;return(p!==void 0?K===V:!0)&&(g!==void 0?X===W:!0)}).map(V=>d.filter(V)),B=f?ri(L,V=>V.length):void 0,j=k.map(([V,W])=>({columnField:p,columnIndex:R.indexOf(V),columnValue:V,columnValuesLength:R.length,rowField:g,rowIndex:M.indexOf(W),rowValue:W,rowValuesLength:M.length})),z=j.map(V=>Array.isArray(l)?l:[l(V)].flat(1));return A.flatMap(V=>{const[W,U,K,X]=N[V],G=j[V],Y=L[V];return z[V].map(ee=>{var Q,te,{scale:ne,key:re,facet:oe=!0,axis:se={},legend:ye={}}=ee,be=h2n(ee,["scale","key","facet","axis","legend"]);const he=((Q=ne==null?void 0:ne.y)===null||Q===void 0?void 0:Q.guide)||se.y,le=((te=ne==null?void 0:ne.x)===null||te===void 0?void 0:te.guide)||se.x,ve={x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},ke=oe?Y:Y.length===0?[]:d,Ie={color:{domain:v}},Oe={x:X7e(le,n)(G,ke),y:X7e(he,r)(G,ke)};return Object.assign(Object.assign({key:`${re}-${V}`,data:ke,margin:0,x:W+O+u+P,y:U+$+c+T,parentKey:h,width:K,height:X,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!ke.length,dataDomain:B,scale:Dt(ve,ne,Ie),axis:Dt({},se,Oe),legend:!1},be),i)})})}}});function m2n(e){const{points:t}=e;return Gae(t)}function PH(e,t){return t.length?Dt({title:!1,tick:null,label:null},e):Dt({title:!1,tick:null,label:null,grid:null},e)}function v2n(e){return(t,n)=>{const{rowIndex:r,rowValuesLength:i,columnIndex:o,columnValuesLength:a}=t;if(r!==i-1)return PH(e,n);const l=o!==a-1?!1:void 0,s=n.length?void 0:null;return Dt({title:l,grid:s},e)}}function y2n(e){return(t,n)=>{const{rowIndex:r,columnIndex:i}=t;if(i!==0)return PH(e,n);const o=r!==0?!1:void 0,a=n.length?void 0:null;return Dt({title:o,grid:a},e)}}function X7e(e,t){return typeof e=="function"?e:e===null||e===!1?()=>null:t(e)}const Zet=()=>e=>[HP.of(e).call(fse).call(cse).call(use).call(g2n).call(dse).call(Xet).call(Yet).value()];Zet.props={};var vee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),C2n=GC(e=>{const{data:t,children:n,x:r=0,y:i=0,key:o}=e;return{children:(l,s,u)=>{const{x:c,y:f}=s,{paddingLeft:h,paddingTop:d,marginLeft:p,marginTop:g}=u,{domain:m}=c.getOptions(),{domain:v}=f.getOptions(),y=tb(l),b=l.map(({points:w})=>Gae(w)),C=l.map(({x:w,y:O})=>[c.invert(w),f.invert(O)]),x=C.map(([w,O])=>({columnField:w,columnIndex:m.indexOf(w),columnValue:w,columnValuesLength:m.length,rowField:O,rowIndex:v.indexOf(O),rowValue:O,rowValuesLength:v.length})),S=x.map(w=>Array.isArray(n)?n:[n(w)].flat(1));return y.flatMap(w=>{const[O,$,P,T]=b[w],[R,M]=C[w],A=x[w];return S[w].map(k=>{var D,L;const{scale:B,key:j,encode:z,axis:V,interaction:W}=k,U=vee(k,["scale","key","encode","axis","interaction"]),K=(D=B==null?void 0:B.y)===null||D===void 0?void 0:D.guide,X=(L=B==null?void 0:B.x)===null||L===void 0?void 0:L.guide,G={x:{facet:!1},y:{facet:!1}},Y={x:x2n(X)(A,t),y:_2n(K)(A,t)},J={x:{tickCount:5},y:{tickCount:5}};return Object.assign({data:t,parentKey:o,key:`${j}-${w}`,x:O+h+r+p,y:$+d+i+g,width:P,height:T,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:Dt(G,B),axis:Dt(J,V,Y),legend:!1,encode:Dt({},z,{x:R,y:M}),interaction:Dt({},W,{legendFilter:!1})},U)})})}}}),S2n=GC(e=>{const{encode:t}=e,n=vee(e,["encode"]),{position:r=[],x:i=r,y:o=[...r].reverse()}=t,a=vee(t,["position","x","y"]),l=[];for(const s of[i].flat(1))for(const u of[o].flat(1))l.push({$x:s,$y:u});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},a),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},[i].flat(1).length===1&&{x:{paddingInner:0}}),[o].flat(1).length===1&&{y:{paddingInner:0}})})});function x2n(e){return typeof e=="function"?e:e===null?()=>null:(t,n)=>{const{rowIndex:r,rowValuesLength:i}=t;if(r!==i-1)return PH(e,n)}}function _2n(e){return typeof e=="function"?e:e===null?()=>null:(t,n)=>{const{columnIndex:r}=t;if(r!==0)return PH(e,n)}}const w2n=()=>e=>[HP.of(e).call(fse).call(cse).call(C2n).call(S2n).call(use).call(dse).call(b2n).value()];var O2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),$2n=UC(e=>({coordinate:{type:"polar"}})),P2n=e=>{const{encode:t}=e,n=O2n(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function Y7e(e){return t=>null}function T2n(e){const{points:t}=e,[n,r,i,o]=t,a=Zi(n,o),l=ho(n,o),s=ho(r,i),u=zKe(l,s),c=1/Math.sin(u/2),f=a/(1+c),h=f*Math.sqrt(2),[d,p]=i,m=j4(l)+u/2,v=f*c,y=d+v*Math.sin(m),b=p-v*Math.cos(m);return[y-h/2,b-h/2,h,h]}const M2n=()=>e=>[HP.of(e).call(fse).call(P2n).call(cse).call($2n).call(Xet).call(Yet,T2n,Y7e,Y7e,{frame:!1}).call(use).call(dse).call(E2n).value()];function R2n(e,t,n){const i=n,o=[0,i],a=[-i+1,1];if(e==="normal")return o;if(e==="reverse")return a;if(e==="alternate")return t%2===0?o:a;if(e==="reverse-alternate")return t%2===0?a:o}function I2n(e,t,n){const r=[e];for(;r.length;){const i=r.pop();i.animate=Dt({enter:{duration:t},update:{duration:t,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:t}},i.animate||{});const{children:o}=i;Array.isArray(o)&&r.push(...o)}return e}const Qet=()=>e=>{const{children:t=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:o="ease-in-out-sine"}=e,a=t.length;if(!Array.isArray(t)||a===0)return[];const{key:l}=t[0],s=t.map(u=>Object.assign(Object.assign({},u),{key:l})).map(u=>I2n(u,n,o));return function*(){let u=0,c;for(;r==="infinite"||ue=>{const{type:t,data:n,scale:r,encode:i,style:o,animate:a,key:l,state:s}=e,u=N2n(e,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},u),{children:[{type:"geoPath",key:`${l}-0`,data:{value:n},scale:r,encode:i,style:o,animate:a,state:s}]})]};Jet.props={};var Qn=1e-6,ett=1e-12,Pr=Math.PI,Po=Pr/2,Z7e=Pr/4,Pc=Pr*2,Cl=180/Pr,uo=Pr/180,Xr=Math.abs,KC=Math.atan,Oh=Math.atan2,wr=Math.cos,_A=Math.ceil,ttt=Math.exp,CL=Math.log,nX=Math.pow,gr=Math.sin,nu=Math.sign||function(e){return e>0?1:e<0?-1:0},js=Math.sqrt,pse=Math.tan;function ntt(e){return e>1?0:e<-1?Pr:Math.acos(e)}function Cu(e){return e>1?Po:e<-1?-Po:Math.asin(e)}function ru(){}function SL(e,t){e&&J7e.hasOwnProperty(e.type)&&J7e[e.type](e,t)}var Q7e={Feature:function(e,t){SL(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++rPr&&(e-=Math.round(e/Pc)*Pc),[e,t]}xee.invert=xee;function rtt(e,t,n){return(e%=Pc)?t||n?See(n$e(e),r$e(t,n)):n$e(e):t||n?r$e(t,n):xee}function t$e(e){return function(t,n){return t+=e,Xr(t)>Pr&&(t-=Math.round(t/Pc)*Pc),[t,n]}}function n$e(e){var t=t$e(e);return t.invert=t$e(-e),t}function r$e(e,t){var n=wr(e),r=gr(e),i=wr(t),o=gr(t);function a(l,s){var u=wr(s),c=wr(l)*u,f=gr(l)*u,h=gr(s),d=h*n+c*r;return[Oh(f*i-d*o,c*n-h*r),Cu(d*i+f*o)]}return a.invert=function(l,s){var u=wr(s),c=wr(l)*u,f=gr(l)*u,h=gr(s),d=h*i-f*o;return[Oh(f*i+h*o,c*n+d*r),Cu(d*n-c*r)]},a}function A2n(e){e=rtt(e[0]*uo,e[1]*uo,e.length>2?e[2]*uo:0);function t(n){return n=e(n[0]*uo,n[1]*uo),n[0]*=Cl,n[1]*=Cl,n}return t.invert=function(n){return n=e.invert(n[0]*uo,n[1]*uo),n[0]*=Cl,n[1]*=Cl,n},t}function k2n(e,t,n,r,i,o){if(n){var a=wr(t),l=gr(t),s=r*n;i==null?(i=t+r*Pc,o=t-s/2):(i=i$e(a,i),o=i$e(a,o),(r>0?io)&&(i+=r*Pc));for(var u,c=i;r>0?c>o:c1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Jk(e,t){return Xr(e[0]-t[0])=0;--l)i.point((f=c[l])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,d=!d}while(!h.v);i.lineEnd()}}}function o$e(e){if(t=e.length){for(var t,n=0,r=e[0],i;++n=0?1:-1,P=$*O,T=P>Pr,R=m*S;if(s.add(Oh(R*$*gr(P),v*w+R*wr(P))),a+=T?O+$*Pc:O,T^p>=n^C>=n){var M=xL(G4(d),G4(b));Cee(M);var A=xL(o,M);Cee(A);var N=(T^O>=0?-1:1)*Cu(A[2]);(r>N||r===N&&(M[0]||M[1]))&&(l+=T^O>=0?1:-1)}}return(a<-Qn||a0){for(s||(i.polygonStart(),s=!0),i.lineStart(),S=0;S1&&C&2&&x.push(x.pop().concat(x.shift())),c.push(x.filter(D2n))}}return h}}function D2n(e){return e.length>1}function L2n(e,t){return((e=e.x)[0]<0?e[1]-Po-Qn:Po-e[1])-((t=t.x)[0]<0?t[1]-Po-Qn:Po-t[1])}const a$e=att(function(){return!0},z2n,F2n,[-Pr,-Po]);function z2n(e){var t=NaN,n=NaN,r=NaN,i;return{lineStart:function(){e.lineStart(),i=1},point:function(o,a){var l=o>0?Pr:-Pr,s=Xr(o-t);Xr(s-Pr)0?Po:-Po),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(l,n),e.point(o,n),i=0):r!==l&&s>=Pr&&(Xr(t-r)Qn?KC((gr(t)*(o=wr(r))*gr(n)-gr(r)*(i=wr(t))*gr(e))/(i*o*a)):(t+r)/2}function F2n(e,t,n,r){var i;if(e==null)i=n*Po,r.point(-Pr,i),r.point(0,i),r.point(Pr,i),r.point(Pr,0),r.point(Pr,-i),r.point(0,-i),r.point(-Pr,-i),r.point(-Pr,0),r.point(-Pr,i);else if(Xr(e[0]-t[0])>Qn){var o=e[0]0,i=Xr(t)>Qn;function o(c,f,h,d){k2n(d,e,n,h,c,f)}function a(c,f){return wr(c)*wr(f)>t}function l(c){var f,h,d,p,g;return{lineStart:function(){p=d=!1,g=1},point:function(m,v){var y=[m,v],b,C=a(m,v),x=r?C?0:u(m,v):C?u(m+(m<0?Pr:-Pr),v):0;if(!f&&(p=d=C)&&c.lineStart(),C!==d&&(b=s(f,y),(!b||Jk(f,b)||Jk(y,b))&&(y[2]=1)),C!==d)g=0,C?(c.lineStart(),b=s(y,f),c.point(b[0],b[1])):(b=s(f,y),c.point(b[0],b[1],2),c.lineEnd()),f=b;else if(i&&f&&r^C){var S;!(x&h)&&(S=s(y,f,!0))&&(g=0,r?(c.lineStart(),c.point(S[0][0],S[0][1]),c.point(S[1][0],S[1][1]),c.lineEnd()):(c.point(S[1][0],S[1][1]),c.lineEnd(),c.lineStart(),c.point(S[0][0],S[0][1],3)))}C&&(!f||!Jk(f,y))&&c.point(y[0],y[1]),f=y,d=C,h=x},lineEnd:function(){d&&c.lineEnd(),f=null},clean:function(){return g|(p&&d)<<1}}}function s(c,f,h){var d=G4(c),p=G4(f),g=[1,0,0],m=xL(d,p),v=wA(m,m),y=m[0],b=v-y*y;if(!b)return!h&&c;var C=t*v/b,x=-t*y/b,S=xL(g,m),w=OA(g,C),O=OA(m,x);rX(w,O);var $=S,P=wA(w,$),T=wA($,$),R=P*P-T*(wA(w,w)-1);if(!(R<0)){var M=js(R),A=OA($,(-P-M)/T);if(rX(A,w),A=bee(A),!h)return A;var N=c[0],k=f[0],D=c[1],L=f[1],B;k0^A[1]<(Xr(A[0]-N)Pr^(N<=A[0]&&A[0]<=k)){var W=OA($,(-P+M)/T);return rX(W,w),[A,bee(W)]}}}function u(c,f){var h=r?e:Pr-e,d=0;return c<-h?d|=1:c>h&&(d|=2),f<-h?d|=4:f>h&&(d|=8),d}return att(a,l,o,r?[0,-e]:[-Pr,e-Pr])}function W2n(e,t,n,r,i,o){var a=e[0],l=e[1],s=t[0],u=t[1],c=0,f=1,h=s-a,d=u-l,p;if(p=n-a,!(!h&&p>0)){if(p/=h,h<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=i-a,!(!h&&p<0)){if(p/=h,h<0){if(p>f)return;p>c&&(c=p)}else if(h>0){if(p0)){if(p/=d,d<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=o-l,!(!d&&p<0)){if(p/=d,d<0){if(p>f)return;p>c&&(c=p)}else if(d>0){if(p0&&(e[0]=a+c*h,e[1]=l+c*d),f<1&&(t[0]=a+f*h,t[1]=l+f*d),!0}}}}}var h9=1e9,$A=-h9;function ltt(e,t,n,r){function i(u,c){return e<=u&&u<=n&&t<=c&&c<=r}function o(u,c,f,h){var d=0,p=0;if(u==null||(d=a(u,f))!==(p=a(c,f))||s(u,c)<0^f>0)do h.point(d===0||d===3?e:n,d>1?r:t);while((d=(d+f+4)%4)!==p);else h.point(c[0],c[1])}function a(u,c){return Xr(u[0]-e)0?0:3:Xr(u[0]-n)0?2:1:Xr(u[1]-t)0?1:0:c>0?3:2}function l(u,c){return s(u.x,c.x)}function s(u,c){var f=a(u,1),h=a(c,1);return f!==h?f-h:f===0?c[1]-u[1]:f===1?u[0]-c[0]:f===2?u[1]-c[1]:c[0]-u[0]}return function(u){var c=u,f=itt(),h,d,p,g,m,v,y,b,C,x,S,w={point:O,lineStart:R,lineEnd:M,polygonStart:P,polygonEnd:T};function O(N,k){i(N,k)&&c.point(N,k)}function $(){for(var N=0,k=0,D=d.length;kr&&(U-V)*(r-W)>(K-W)*(e-V)&&++N:K<=r&&(U-V)*(r-W)<(K-W)*(e-V)&&--N;return N}function P(){c=f,h=[],d=[],S=!0}function T(){var N=$(),k=S&&N,D=(h=mWe(h)).length;(k||D)&&(u.polygonStart(),k&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),D&&ott(h,l,N,o,u),u.polygonEnd()),c=u,h=d=p=null}function R(){w.point=A,d&&d.push(p=[]),x=!0,C=!1,y=b=NaN}function M(){h&&(A(g,m),v&&C&&f.rejoin(),h.push(f.result())),w.point=O,C&&c.lineEnd()}function A(N,k){var D=i(N,k);if(d&&p.push([N,k]),x)g=N,m=k,v=D,x=!1,D&&(c.lineStart(),c.point(N,k));else if(D&&C)c.point(N,k);else{var L=[y=Math.max($A,Math.min(h9,y)),b=Math.max($A,Math.min(h9,b))],B=[N=Math.max($A,Math.min(h9,N)),k=Math.max($A,Math.min(h9,k))];W2n(L,B,e,t,n,r)?(C||(c.lineStart(),c.point(L[0],L[1])),c.point(B[0],B[1]),D||c.lineEnd(),S=!1):D&&(c.lineStart(),c.point(N,k),S=!1)}y=N,b=k,C=D}return w}}function l$e(e,t,n){var r=Pv(e,t-Qn,n).concat(t);return function(i){return r.map(function(o){return[i,o]})}}function s$e(e,t,n){var r=Pv(e,t-Qn,n).concat(t);return function(i){return r.map(function(o){return[o,i]})}}function q2n(){var e,t,n,r,i,o,a,l,s=10,u=s,c=90,f=360,h,d,p,g,m=2.5;function v(){return{type:"MultiLineString",coordinates:y()}}function y(){return Pv(_A(r/c)*c,n,c).map(p).concat(Pv(_A(l/f)*f,a,f).map(g)).concat(Pv(_A(t/s)*s,e,s).filter(function(b){return Xr(b%c)>Qn}).map(h)).concat(Pv(_A(o/u)*u,i,u).filter(function(b){return Xr(b%f)>Qn}).map(d))}return v.lines=function(){return y().map(function(b){return{type:"LineString",coordinates:b}})},v.outline=function(){return{type:"Polygon",coordinates:[p(r).concat(g(a).slice(1),p(n).reverse().slice(1),g(l).reverse().slice(1))]}},v.extent=function(b){return arguments.length?v.extentMajor(b).extentMinor(b):v.extentMinor()},v.extentMajor=function(b){return arguments.length?(r=+b[0][0],n=+b[1][0],l=+b[0][1],a=+b[1][1],r>n&&(b=r,r=n,n=b),l>a&&(b=l,l=a,a=b),v.precision(m)):[[r,l],[n,a]]},v.extentMinor=function(b){return arguments.length?(t=+b[0][0],e=+b[1][0],o=+b[0][1],i=+b[1][1],t>e&&(b=t,t=e,e=b),o>i&&(b=o,o=i,i=b),v.precision(m)):[[t,o],[e,i]]},v.step=function(b){return arguments.length?v.stepMajor(b).stepMinor(b):v.stepMinor()},v.stepMajor=function(b){return arguments.length?(c=+b[0],f=+b[1],v):[c,f]},v.stepMinor=function(b){return arguments.length?(s=+b[0],u=+b[1],v):[s,u]},v.precision=function(b){return arguments.length?(m=+b,h=l$e(o,i,90),d=s$e(t,e,m),p=l$e(l,a,90),g=s$e(r,n,m),v):m},v.extentMajor([[-180,-90+Qn],[180,90-Qn]]).extentMinor([[-180,-80-Qn],[180,80+Qn]])}function V2n(){return q2n()()}const U7=e=>e;var oX=new cy,_ee=new cy,stt,ctt,wee,Oee,qp={point:ru,lineStart:ru,lineEnd:ru,polygonStart:function(){qp.lineStart=U2n,qp.lineEnd=K2n},polygonEnd:function(){qp.lineStart=qp.lineEnd=qp.point=ru,oX.add(Xr(_ee)),_ee=new cy},result:function(){var e=oX/2;return oX=new cy,e}};function U2n(){qp.point=G2n}function G2n(e,t){qp.point=utt,stt=wee=e,ctt=Oee=t}function utt(e,t){_ee.add(Oee*e-wee*t),wee=e,Oee=t}function K2n(){utt(stt,ctt)}var K4=1/0,_L=K4,G7=-K4,wL=G7,OL={point:X2n,lineStart:ru,lineEnd:ru,polygonStart:ru,polygonEnd:ru,result:function(){var e=[[K4,_L],[G7,wL]];return G7=wL=-(_L=K4=1/0),e}};function X2n(e,t){eG7&&(G7=e),t<_L&&(_L=t),t>wL&&(wL=t)}var Eee=0,$ee=0,g9=0,EL=0,$L=0,d3=0,Pee=0,Tee=0,m9=0,dtt,ftt,ff,pf,eu={point:_y,lineStart:c$e,lineEnd:u$e,polygonStart:function(){eu.lineStart=Q2n,eu.lineEnd=J2n},polygonEnd:function(){eu.point=_y,eu.lineStart=c$e,eu.lineEnd=u$e},result:function(){var e=m9?[Pee/m9,Tee/m9]:d3?[EL/d3,$L/d3]:g9?[Eee/g9,$ee/g9]:[NaN,NaN];return Eee=$ee=g9=EL=$L=d3=Pee=Tee=m9=0,e}};function _y(e,t){Eee+=e,$ee+=t,++g9}function c$e(){eu.point=Y2n}function Y2n(e,t){eu.point=Z2n,_y(ff=e,pf=t)}function Z2n(e,t){var n=e-ff,r=t-pf,i=js(n*n+r*r);EL+=i*(ff+e)/2,$L+=i*(pf+t)/2,d3+=i,_y(ff=e,pf=t)}function u$e(){eu.point=_y}function Q2n(){eu.point=e3n}function J2n(){ptt(dtt,ftt)}function e3n(e,t){eu.point=ptt,_y(dtt=ff=e,ftt=pf=t)}function ptt(e,t){var n=e-ff,r=t-pf,i=js(n*n+r*r);EL+=i*(ff+e)/2,$L+=i*(pf+t)/2,d3+=i,i=pf*e-ff*t,Pee+=i*(ff+e),Tee+=i*(pf+t),m9+=i*3,_y(ff=e,pf=t)}function htt(e){this._context=e}htt.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:{this._context.moveTo(e,t),this._point=1;break}case 1:{this._context.lineTo(e,t);break}default:{this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Pc);break}}},result:ru};var Mee=new cy,aX,gtt,mtt,v9,y9,K7={point:ru,lineStart:function(){K7.point=t3n},lineEnd:function(){aX&&vtt(gtt,mtt),K7.point=ru},polygonStart:function(){aX=!0},polygonEnd:function(){aX=null},result:function(){var e=+Mee;return Mee=new cy,e}};function t3n(e,t){K7.point=vtt,gtt=v9=e,mtt=y9=t}function vtt(e,t){v9-=e,y9-=t,Mee.add(js(v9*v9+y9*y9)),v9=e,y9=t}let d$e,PL,f$e,p$e;class h$e{constructor(t){this._append=t==null?ytt:n3n(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:{this._append`M${t},${n}`,this._point=1;break}case 1:{this._append`L${t},${n}`;break}default:{if(this._append`M${t},${n}`,this._radius!==f$e||this._append!==PL){const r=this._radius,i=this._;this._="",this._append`m0,${r}a${r},${r} 0 1,1 0,${-2*r}a${r},${r} 0 1,1 0,${2*r}z`,f$e=r,PL=this._append,p$e=this._,this._=i}this._+=p$e;break}}}result(){const t=this._;return this._="",t.length?t:null}}function ytt(e){let t=1;this._+=e[0];for(const n=e.length;t=0))throw new RangeError(`invalid digits: ${e}`);if(t>15)return ytt;if(t!==d$e){const n=10**t;d$e=t,PL=function(i){let o=1;this._+=i[0];for(const a=i.length;o=0))throw new RangeError(`invalid digits: ${l}`);n=s}return t===null&&(o=new h$e(n)),a},a.projection(e).digits(n).context(t)}function TH(e){return function(t){var n=new Ree;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Ree(){}Ree.prototype={constructor:Ree,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function hse(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),N2(n,e.stream(OL)),t(OL.result()),r!=null&&e.clipExtent(r),e}function MH(e,t,n){return hse(e,function(r){var i=t[1][0]-t[0][0],o=t[1][1]-t[0][1],a=Math.min(i/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),l=+t[0][0]+(i-a*(r[1][0]+r[0][0]))/2,s=+t[0][1]+(o-a*(r[1][1]+r[0][1]))/2;e.scale(150*a).translate([l,s])},n)}function gse(e,t,n){return MH(e,[[0,0],t],n)}function mse(e,t,n){return hse(e,function(r){var i=+t,o=i/(r[1][0]-r[0][0]),a=(i-o*(r[1][0]+r[0][0]))/2,l=-o*r[0][1];e.scale(150*o).translate([a,l])},n)}function vse(e,t,n){return hse(e,function(r){var i=+t,o=i/(r[1][1]-r[0][1]),a=-o*r[0][0],l=(i-o*(r[1][1]+r[0][1]))/2;e.scale(150*o).translate([a,l])},n)}var g$e=16,r3n=wr(30*uo);function m$e(e,t){return+t?o3n(e,t):i3n(e)}function i3n(e){return TH({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function o3n(e,t){function n(r,i,o,a,l,s,u,c,f,h,d,p,g,m){var v=u-r,y=c-i,b=v*v+y*y;if(b>4*t&&g--){var C=a+h,x=l+d,S=s+p,w=js(C*C+x*x+S*S),O=Cu(S/=w),$=Xr(Xr(S)-1)t||Xr((v*M+y*A)/b-.5)>.3||a*h+l*d+s*p2?N[2]%360*uo:0,M()):[l*Cl,s*Cl,u*Cl]},T.angle=function(N){return arguments.length?(f=N%360*uo,M()):f*Cl},T.reflectX=function(N){return arguments.length?(h=N?-1:1,M()):h<0},T.reflectY=function(N){return arguments.length?(d=N?-1:1,M()):d<0},T.precision=function(N){return arguments.length?(S=m$e(w,x=N*N),A()):js(x)},T.fitExtent=function(N,k){return MH(T,N,k)},T.fitSize=function(N,k){return gse(T,N,k)},T.fitWidth=function(N,k){return mse(T,N,k)},T.fitHeight=function(N,k){return vse(T,N,k)};function M(){var N=v$e(n,0,0,h,d,f).apply(null,t(o,a)),k=v$e(n,r-N[0],i-N[1],h,d,f);return c=rtt(l,s,u),w=See(t,k),O=See(c,w),S=m$e(w,x),A()}function A(){return $=P=null,T}return function(){return t=e.apply(this,arguments),T.invert=t.invert&&R,M()}}function bse(e){var t=0,n=Pr/3,r=yse(e),i=r(t,n);return i.parallels=function(o){return arguments.length?r(t=o[0]*uo,n=o[1]*uo):[t*Cl,n*Cl]},i}function c3n(e){var t=wr(e);function n(r,i){return[r*t,gr(i)/t]}return n.invert=function(r,i){return[r/t,Cu(i*t)]},n}function Ctt(e,t){var n=gr(e),r=(n+gr(t))/2;if(Xr(r)=.12&&m<.234&&g>=-.425&&g<-.214?i:m>=.166&&m<.234&&g>=-.214&&g<-.115?a:n).invert(h)},c.stream=function(h){return e&&t===h?e:e=u3n([n.stream(t=h),i.stream(h),a.stream(h)])},c.precision=function(h){return arguments.length?(n.precision(h),i.precision(h),a.precision(h),f()):n.precision()},c.scale=function(h){return arguments.length?(n.scale(h),i.scale(h*.35),a.scale(h),c.translate(n.translate())):n.scale()},c.translate=function(h){if(!arguments.length)return n.translate();var d=n.scale(),p=+h[0],g=+h[1];return r=n.translate(h).clipExtent([[p-.455*d,g-.238*d],[p+.455*d,g+.238*d]]).stream(u),o=i.translate([p-.307*d,g+.201*d]).clipExtent([[p-.425*d+Qn,g+.12*d+Qn],[p-.214*d-Qn,g+.234*d-Qn]]).stream(u),l=a.translate([p-.205*d,g+.212*d]).clipExtent([[p-.214*d+Qn,g+.166*d+Qn],[p-.115*d-Qn,g+.234*d-Qn]]).stream(u),f()},c.fitExtent=function(h,d){return MH(c,h,d)},c.fitSize=function(h,d){return gse(c,h,d)},c.fitWidth=function(h,d){return mse(c,h,d)},c.fitHeight=function(h,d){return vse(c,h,d)};function f(){return e=t=null,c}return c.scale(1070)}function xtt(e){return function(t,n){var r=wr(t),i=wr(n),o=e(r*i);return o===1/0?[2,0]:[o*i*gr(t),o*gr(n)]}}function WP(e){return function(t,n){var r=js(t*t+n*n),i=e(r),o=gr(i),a=wr(i);return[Oh(t*o,r*a),Cu(r&&n*o/r)]}}var Cse=xtt(function(e){return js(2/(1+e))});Cse.invert=WP(function(e){return 2*Cu(e/2)});function f3n(){return Uf(Cse).scale(124.75).clipAngle(180-.001)}var Sse=xtt(function(e){return(e=ntt(e))&&e/gr(e)});Sse.invert=WP(function(e){return e});function p3n(){return Uf(Sse).scale(79.4188).clipAngle(180-.001)}function qP(e,t){return[e,CL(pse((Po+t)/2))]}qP.invert=function(e,t){return[e,2*KC(ttt(t))-Po]};function h3n(){return _tt(qP).scale(961/Pc)}function _tt(e){var t=Uf(e),n=t.center,r=t.scale,i=t.translate,o=t.clipExtent,a=null,l,s,u;t.scale=function(f){return arguments.length?(r(f),c()):r()},t.translate=function(f){return arguments.length?(i(f),c()):i()},t.center=function(f){return arguments.length?(n(f),c()):n()},t.clipExtent=function(f){return arguments.length?(f==null?a=l=s=u=null:(a=+f[0][0],l=+f[0][1],s=+f[1][0],u=+f[1][1]),c()):a==null?null:[[a,l],[s,u]]};function c(){var f=Pr*r(),h=t(A2n(t.rotate()).invert([0,0]));return o(a==null?[[h[0]-f,h[1]-f],[h[0]+f,h[1]+f]]:e===qP?[[Math.max(h[0]-f,a),l],[Math.min(h[0]+f,s),u]]:[[a,Math.max(h[1]-f,l)],[s,Math.min(h[1]+f,u)]])}return c()}function PA(e){return pse((Po+e)/2)}function wtt(e,t){var n=wr(e),r=e===t?gr(e):CL(n/wr(t))/CL(PA(t)/PA(e)),i=n*nX(PA(e),r)/r;if(!r)return qP;function o(a,l){i>0?l<-Po+Qn&&(l=-Po+Qn):l>Po-Qn&&(l=Po-Qn);var s=i/nX(PA(l),r);return[s*gr(r*a),i-s*wr(r*a)]}return o.invert=function(a,l){var s=i-l,u=nu(r)*js(a*a+s*s),c=Oh(a,Xr(s))*nu(s);return s*r<0&&(c-=Pr*nu(a)*nu(s)),[c/r,2*KC(nX(i/u,1/r))-Po]},o}function g3n(){return bse(wtt).scale(109.5).parallels([30,30])}function X7(e,t){return[e,t]}X7.invert=X7;function m3n(){return Uf(X7).scale(152.63)}function Ott(e,t){var n=wr(e),r=e===t?gr(e):(n-wr(t))/(t-e),i=n/r+e;if(Xr(r)Qn&&--r>0);return[e/(.8707+(o=n*n)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),n]};function x3n(){return Uf(wse).scale(175.295)}function Ose(e,t){return[wr(t)*gr(e),gr(t)]}Ose.invert=WP(Cu);function _3n(){return Uf(Ose).scale(249.5).clipAngle(90+Qn)}function Ese(e,t){var n=wr(t),r=1+wr(e)*n;return[n*gr(e)/r,gr(t)/r]}Ese.invert=WP(function(e){return 2*KC(e)});function w3n(){return Uf(Ese).scale(250).clipAngle(142)}function $se(e,t){return[CL(pse((Po+t)/2)),-e]}$se.invert=function(e,t){return[-t,2*KC(ttt(e))-Po]};function O3n(){var e=_tt($se),t=e.center,n=e.rotate;return e.center=function(r){return arguments.length?t([-r[1],r[0]]):(r=t(),[r[1],-r[0]])},e.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}const E3n=Object.freeze(Object.defineProperty({__proto__:null,geoAlbers:Stt,geoAlbersUsa:d3n,geoAzimuthalEqualArea:f3n,geoAzimuthalEqualAreaRaw:Cse,geoAzimuthalEquidistant:p3n,geoAzimuthalEquidistantRaw:Sse,geoConicConformal:g3n,geoConicConformalRaw:wtt,geoConicEqualArea:TL,geoConicEqualAreaRaw:Ctt,geoConicEquidistant:v3n,geoConicEquidistantRaw:Ott,geoEqualEarth:b3n,geoEqualEarthRaw:xse,geoEquirectangular:m3n,geoEquirectangularRaw:X7,geoGnomonic:C3n,geoGnomonicRaw:_se,geoIdentity:S3n,geoMercator:h3n,geoMercatorRaw:qP,geoNaturalEarth1:x3n,geoNaturalEarth1Raw:wse,geoOrthographic:_3n,geoOrthographicRaw:Ose,geoProjection:Uf,geoProjectionMutator:yse,geoStereographic:w3n,geoStereographicRaw:Ese,geoTransverseMercator:O3n,geoTransverseMercatorRaw:$se},Symbol.toStringTag,{value:"Module"}));var $3n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iM3n(t).features)}}function M3n(e){const t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"};if(!e||!e.type)return null;const n=t[e.type];if(!n)return null;if(n==="geometry")return{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]};if(n==="feature")return{type:"FeatureCollection",features:[e]};if(n==="featureCollection")return e}function R3n(e,t){var n;for(const[r,i]of Object.entries(t))(n=e[r])===null||n===void 0||n.call(e,i)}function I3n(e,t,n,r){const i=()=>{const l=t.filter(Ett);return l.find(u=>u.sphere)?{type:"Sphere"}:T3n(l.filter(u=>!u.sphere).flatMap(u=>u.data.value))},{outline:o=i()}=r,{size:a="fitExtent"}=r;if(a==="fitExtent")return N3n(e,o,n);if(a==="fitWidth")return A3n(e,o,n)}function N3n(e,t,n){const{x:r,y:i,width:o,height:a}=n;e.fitExtent([[r,i],[o,a]],t)}function A3n(e,t,n){const{width:r,height:i}=n,[[o,a],[l,s]]=btt(e.fitWidth(r,t)).bounds(t),u=Math.ceil(s-a),c=Math.min(Math.ceil(l-o),u),f=e.scale()*(c-1)/c,[h,d]=e.translate(),p=d+(i-u)/2;e.scale(f).translate([h,p]).precision(.2)}function k3n(e){const{data:t}=e;if(Array.isArray(t))return Object.assign(Object.assign({},e),{data:{value:t}});const{type:n}=t;return n==="graticule10"?Object.assign(Object.assign({},e),{data:{value:[V2n()]}}):n==="sphere"?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function Ett(e){return e.type==="geoPath"}const $tt=()=>e=>{const{children:t,coordinate:n={}}=e;if(!Array.isArray(t))return[];const{type:r="equalEarth"}=n,i=$3n(n,["type"]),o=P3n(r),a=t.map(k3n);let l;function s(){return[["custom",(f,h,d,p)=>{const g=o();I3n(g,a,{x:f,y:h,width:d,height:p},i),R3n(g,i),l=btt(g);const v=new Ri({domain:[f,f+d]}),y=new Ri({domain:[h,h+p]}),b=x=>{const S=g(x);if(!S)return[null,null];const[w,O]=S;return[v.map(w),y.map(O)]},C=x=>{if(!x)return null;const[S,w]=x,O=[v.invert(S),y.invert(w)];return g.invert(O)};return{transform:x=>b(x),untransform:x=>C(x)}}]]}function u(f){const{style:h,tooltip:d={}}=f;return Object.assign(Object.assign({},f),{type:"path",tooltip:gL(d,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},h),{d:p=>l(p)||[]})})}const c=f=>Ett(f)?u(f):f;return[Object.assign(Object.assign({},e),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:s},children:a.flatMap(c)})]};$tt.props={};function Ptt(e,t){const{__data__:n}=e,{markKey:r,index:i,seriesIndex:o}=n,{markState:a}=t,l=Array.from(a.keys()).find(s=>s.key===r);if(l)return o?o.map(s=>l.data[s]):l.data[i]}function Pse(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function j3n(e){return Pse(e,t=>t.className==="component")}function D3n(e){return Pse(e,t=>t.className==="element")}function L3n(e){return Pse(e,t=>t.className==="label")}function Ia(e,t,n,r=i=>!0){return i=>{if(!r(i))return;n.emit(`plot:${e}`,i);const{target:o}=i;if(!o)return;const{className:a}=o;if(a==="plot")return;const l=D3n(o),s=j3n(o),u=L3n(o),c=l||s||u;if(!c)return;const{className:f,markType:h}=c,d=Object.assign(Object.assign({},i),{nativeEvent:!0});f==="element"?(d.data={data:Ptt(c,t)},n.emit(`element:${e}`,d),n.emit(`${h}:${e}`,d)):f==="label"?(d.data={data:c.attributes.datum},n.emit(`label:${e}`,d),n.emit(`${a}:${e}`,d)):(n.emit(`component:${e}`,d),n.emit(`${a}:${e}`,d))}}function Ttt(){return(e,t,n)=>{const{container:r,view:i}=e,o=Ia(ni.CLICK,i,n,w=>w.detail===1),a=Ia(ni.DBLCLICK,i,n,w=>w.detail===2),l=Ia(ni.POINTER_TAP,i,n),s=Ia(ni.POINTER_DOWN,i,n),u=Ia(ni.POINTER_UP,i,n),c=Ia(ni.POINTER_OVER,i,n),f=Ia(ni.POINTER_OUT,i,n),h=Ia(ni.POINTER_MOVE,i,n),d=Ia(ni.POINTER_ENTER,i,n),p=Ia(ni.POINTER_LEAVE,i,n),g=Ia(ni.POINTER_UPOUTSIDE,i,n),m=Ia(ni.DRAG_START,i,n),v=Ia(ni.DRAG,i,n),y=Ia(ni.DRAG_END,i,n),b=Ia(ni.DRAG_ENTER,i,n),C=Ia(ni.DRAG_LEAVE,i,n),x=Ia(ni.DRAG_OVER,i,n),S=Ia(ni.DROP,i,n);return r.addEventListener("click",o),r.addEventListener("click",a),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",u),r.addEventListener("pointerover",c),r.addEventListener("pointerout",f),r.addEventListener("pointermove",h),r.addEventListener("pointerenter",d),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",v),r.addEventListener("dragend",y),r.addEventListener("dragenter",b),r.addEventListener("dragleave",C),r.addEventListener("dragover",x),r.addEventListener("drop",S),()=>{r.removeEventListener("click",o),r.removeEventListener("click",a),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",u),r.removeEventListener("pointerover",c),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",h),r.removeEventListener("pointerenter",d),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",v),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",C),r.removeEventListener("dragover",x),r.removeEventListener("drop",S)}}}Ttt.props={reapplyWhenUpdate:!0};function z3n(){return{"component.axisRadar":fet,"component.axisLinear":q0,"component.axisArc":cet,"component.legendContinuousBlock":pet,"component.legendContinuousBlockSize":het,"component.legendContinuousSize":tse,"interaction.event":Ttt,"composition.mark":Ket,"composition.view":Get,"shape.label.label":rQe}}var B3n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof o!="string")return o;const a=`${e}.${o}`;return n[a]||I4(`Unknown Component: ${a}`)};return[(o,a)=>{const{type:l}=o,s=B3n(o,["type"]);l||I4("Plot type is required!");const u=r(l);return u==null?void 0:u(s,a)},r]}function Mtt(e){const{canvas:t,group:n}=e;return(t==null?void 0:t.document)||(n==null?void 0:n.ownerDocument)||I4("Cannot find library document")}var y$e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);in.type===t)}function Mv(e){return $d(e,"polar").length>0}function H3n(e){return $d(e,"helix").length>0}function H3(e){return $d(e,"transpose").length%2===1}function W3n(e){return $d(e,"parallel").length>0}function Itt(e){return $d(e,"theta").length>0}function q3n(e){return $d(e,"reflect").length>0}function nE(e){return $d(e,"radial").length>0}function V3n(e){return $d(e,"radar").length>0}function U3n(e){return $d(e,"reflectY").length>0}function G3n(e){return e.find(t=>t.type==="cartesian"||t.type==="cartesian3D")?e:[...e,{type:"cartesian"}]}function xr(e){for(var t=e.length/6|0,n=new Array(t),r=0;rEqt(e[e.length-1]);var Ntt=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(xr);const i4n=ki(Ntt);var Att=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(xr);const o4n=ki(Att);var ktt=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(xr);const a4n=ki(ktt);var jtt=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(xr);const l4n=ki(jtt);var Dtt=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(xr);const s4n=ki(Dtt);var Ltt=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(xr);const c4n=ki(Ltt);var ztt=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(xr);const u4n=ki(ztt);var Btt=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(xr);const d4n=ki(Btt);var Ftt=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(xr);const f4n=ki(Ftt);var Htt=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(xr);const p4n=ki(Htt);var Wtt=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(xr);const h4n=ki(Wtt);var qtt=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(xr);const g4n=ki(qtt);var Vtt=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(xr);const m4n=ki(Vtt);var Utt=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(xr);const v4n=ki(Utt);var Gtt=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(xr);const y4n=ki(Gtt);var Ktt=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(xr);const b4n=ki(Ktt);var Xtt=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(xr);const C4n=ki(Xtt);var Ytt=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(xr);const S4n=ki(Ytt);var Ztt=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(xr);const x4n=ki(Ztt);var Qtt=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(xr);const _4n=ki(Qtt);var Jtt=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(xr);const w4n=ki(Jtt);var ent=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(xr);const O4n=ki(ent);var tnt=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(xr);const E4n=ki(tnt);var nnt=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(xr);const $4n=ki(nnt);var rnt=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(xr);const P4n=ki(rnt);var int=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(xr);const T4n=ki(int);var ont=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(xr);const M4n=ki(ont);function R4n(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const I4n=xoe(Lf(300,.5,0),Lf(-240,.5,1));var N4n=xoe(Lf(-100,.75,.35),Lf(80,1.5,.8)),A4n=xoe(Lf(260,.75,.35),Lf(80,1.5,.8)),TA=Lf();function k4n(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return TA.h=360*e-100,TA.s=1.5-1.5*t,TA.l=.8-.9*t,TA+""}var MA=y7(),j4n=Math.PI/3,D4n=Math.PI*2/3;function L4n(e){var t;return e=(.5-e)*Math.PI,MA.r=255*(t=Math.sin(e))*t,MA.g=255*(t=Math.sin(e+j4n))*t,MA.b=255*(t=Math.sin(e+D4n))*t,MA+""}function z4n(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function RH(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const B4n=RH(xr("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var F4n=RH(xr("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),H4n=RH(xr("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),W4n=RH(xr("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));const Iee=Object.freeze(Object.defineProperty({__proto__:null,interpolateBlues:O4n,interpolateBrBG:i4n,interpolateBuGn:p4n,interpolateBuPu:h4n,interpolateCividis:R4n,interpolateCool:A4n,interpolateCubehelixDefault:I4n,interpolateGnBu:g4n,interpolateGreens:E4n,interpolateGreys:$4n,interpolateInferno:H4n,interpolateMagma:F4n,interpolateOrRd:m4n,interpolateOranges:M4n,interpolatePRGn:o4n,interpolatePiYG:a4n,interpolatePlasma:W4n,interpolatePuBu:y4n,interpolatePuBuGn:v4n,interpolatePuOr:l4n,interpolatePuRd:b4n,interpolatePurples:P4n,interpolateRainbow:k4n,interpolateRdBu:s4n,interpolateRdGy:c4n,interpolateRdPu:C4n,interpolateRdYlBu:u4n,interpolateRdYlGn:d4n,interpolateReds:T4n,interpolateSinebow:L4n,interpolateSpectral:f4n,interpolateTurbo:z4n,interpolateViridis:B4n,interpolateWarm:N4n,interpolateYlGn:x4n,interpolateYlGnBu:S4n,interpolateYlOrBr:_4n,interpolateYlOrRd:w4n,schemeAccent:X3n,schemeBlues:ent,schemeBrBG:Ntt,schemeBuGn:Htt,schemeBuPu:Wtt,schemeCategory10:K3n,schemeDark2:Y3n,schemeGnBu:qtt,schemeGreens:tnt,schemeGreys:nnt,schemeOrRd:Vtt,schemeOranges:ont,schemePRGn:Att,schemePaired:Z3n,schemePastel1:Q3n,schemePastel2:J3n,schemePiYG:ktt,schemePuBu:Gtt,schemePuBuGn:Utt,schemePuOr:jtt,schemePuRd:Ktt,schemePurples:rnt,schemeRdBu:Dtt,schemeRdGy:Ltt,schemeRdPu:Xtt,schemeRdYlBu:ztt,schemeRdYlGn:Btt,schemeReds:int,schemeSet1:e4n,schemeSet2:t4n,schemeSet3:n4n,schemeSpectral:Ftt,schemeTableau10:r4n,schemeYlGn:Ztt,schemeYlGnBu:Ytt,schemeYlOrBr:Qtt,schemeYlOrRd:Jtt},Symbol.toStringTag,{value:"Module"}));function q4n(e,t,n,r,i,o){const{guide:a={}}=n,l=J4n(e,t,n);if(typeof l!="string")return n;const s=eCn(l,e,t,n),u=Y4n(l,s,n);return Object.assign(Object.assign(Object.assign({},n),nCn(l,e,t,n,r)),{domain:u,range:tCn(l,e,t,n,u,i,o),expectedDomain:s,guide:a,name:e,type:l})}function V4n(e,t){const n={};for(const r of e){const{values:i,name:o}=r,a=t[o];for(const l of i){const{name:s,value:u}=l;n[s]=u.map(c=>a.map(c))}}return n}function U4n(e,t){var n;const{components:r=[]}=t,i=["scale","encode","axis","legend","data","transform"],o=Array.from(new Set(e.flatMap(l=>l.channels.map(s=>s.scale)))),a=new Map(o.map(l=>[l.name,l]));for(const l of r){const s=X4n(l);for(const u of s){const c=a.get(u),f=((n=l.scale)===null||n===void 0?void 0:n[u])||{},{independent:h=!1}=f;if(c&&!h){const{guide:d}=c,p=typeof d=="boolean"?{}:d;c.guide=Dt({},p,l),Object.assign(c,f)}else{const d=Object.assign(Object.assign({},f),{expectedDomain:f.domain,name:u,guide:FUe(l,i)});o.push(d)}}}return o}function G4n(e){if(!e||!Array.isArray(e))return[gy,gy];let t,n;return[o=>{var a;t=o.map.bind(o),n=(a=o.invert)===null||a===void 0?void 0:a.bind(o);const l=e.filter(([h])=>typeof h=="function"),s=e.filter(([h])=>typeof h!="function"),u=new Map(s);if(o.map=h=>{for(const[d,p]of l)if(d(h))return p;return u.has(h)?u.get(h):t(h)},!n)return o;const c=new Map(s.map(([h,d])=>[d,h])),f=new Map(l.map(([h,d])=>[d,h]));return o.invert=h=>f.has(h)?h:c.has(h)?c.get(h):n(h),o},o=>(t!==null&&(o.map=t),n!==null&&(o.invert=n),o)]}function b$e(e,t){const n=Object.keys(e);for(const r of Object.values(t)){const{name:i}=r.getOptions();if(!(i in e))e[i]=r;else{const o=n.filter(s=>s.startsWith(i)).map(s=>+(s.replace(i,"")||0)),a=ri(o)+1,l=`${i}${a}`;e[l]=r,r.getOptions().key=l}}return e}function C$e(e,t){const[n]=Wi("scale",t),{relations:r}=e,[i]=G4n(r),o=n(e);return i(o)}function K4n(e){const t=e.flatMap(n=>Array.from(n.values())).flatMap(n=>n.channels.map(r=>r.scale));S$e(t,"x"),S$e(t,"y")}function X4n(e){const{channels:t=[],type:n,scale:r={}}=e,i=["shape","color","opacity","size"];return t.length!==0?t:n==="axisX"?["x"]:n==="axisY"?["y"]:n==="legends"?Object.keys(r).filter(o=>i.includes(o)):[]}function S$e(e,t){const n=e.filter(({name:o,facet:a=!0})=>a&&o===t),r=n.flatMap(o=>o.domain),i=n.every(ant)?eh(r):n.every(lnt)?Array.from(new Set(r)):null;if(i!==null)for(const o of n)o.domain=i}function Y4n(e,t,n){const{ratio:r}=n;return r==null?t:ant({type:e})?Z4n(t,r,e):lnt({type:e})?Q4n(t,r):t}function Z4n(e,t,n){const r=e.map(Number),i=new Ri({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return n==="time"?e.map(o=>new Date(i.map(o))):e.map(o=>i.map(o))}function Q4n(e,t){const n=Math.round(e.length*t);return e.slice(0,n)}function ant(e){const{type:t}=e;return typeof t!="string"?!1:["linear","log","pow","time"].includes(t)}function lnt(e){const{type:t}=e;return typeof t!="string"?!1:["band","point","ordinal"].includes(t)}function J4n(e,t,n){const{type:r,domain:i,range:o,quantitative:a,ordinal:l}=n;return r!==void 0?r:pCn(t)?"identity":typeof o=="string"?"linear":(i||o||[]).length>2?lX(e,l):i!==void 0?O$e([i])?lX(e,l):E$e(t)?"time":_$e(e,o,a):O$e(t)?lX(e,l):E$e(t)?"time":_$e(e,o,a)}function eCn(e,t,n,r){const{domain:i}=r;if(i!==void 0)return i;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return w$e(cCn(n,r),r);case"band":case"ordinal":case"point":return snt(n);case"quantile":return uCn(n);case"sequential":return w$e(dCn(n),r);default:return[]}}function tCn(e,t,n,r,i,o,a){const{range:l}=r;if(typeof l=="string")return rCn(l);if(l!==void 0)return l;const{rangeMin:s,rangeMax:u}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{const c=x$e(n,r,i,o,a),[f,h]=fCn(t,c);return[s||f,u||h]}case"band":case"point":return[s||(t==="size"?5:0),u||(t==="size"?10:1)];case"ordinal":return x$e(n,r,i,o,a);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}function nCn(e,t,n,r,i){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":return aCn(i,r);case"band":case"point":return lCn(e,t,i,r);case"sequential":return oCn(r);default:return r}}function x$e(e,t,n,r,i){const[o]=Wi("palette",i),{category10:a,category20:l}=r,s=pin(e.flat()).length<=a.length?a:l,{palette:u=s,offset:c}=t;if(Array.isArray(u))return u;try{return o({type:u})}catch{const h=iCn(u,n,c);if(h)return h;throw new Error(`Unknown Component: ${u} `)}}function rCn(e){return e.split("-")}function iCn(e,t,n=r=>r){if(!e)return null;const r=j0(e),i=Iee[`scheme${r}`],o=Iee[`interpolate${r}`];if(!i&&!o)return null;if(i){if(!i.some(Array.isArray))return i;const a=i[t.length];if(a)return a}return t.map((a,l)=>o(n(l/t.length)))}function oCn(e){const{palette:t="ylGnBu",offset:n}=e,r=j0(t),i=Iee[`interpolate${r}`];if(!i)throw new Error(`Unknown palette: ${r}`);return{interpolator:n?o=>i(n(o)):i}}function aCn(e,t){const{interpolate:n=EP,nice:r=!1,tickCount:i=5}=t;return Object.assign(Object.assign({},t),{interpolate:n,nice:r,tickCount:i})}function lCn(e,t,n,r){if(r.padding!==void 0||r.paddingInner!==void 0||r.paddingOuter!==void 0)return Object.assign(Object.assign({},r),{unknown:NaN});const i=sCn(e,t,n),{paddingInner:o=i,paddingOuter:a=i}=r;return Object.assign(Object.assign({},r),{paddingInner:o,paddingOuter:a,padding:i,unknown:NaN})}function sCn(e,t,n){return t==="enterDelay"||t==="enterDuration"||t==="size"?0:e==="band"?Itt(n)?0:.1:e==="point"?.5:0}function lX(e,t){return t||(hCn(e)?"point":"ordinal")}function _$e(e,t,n){return n||(e!=="color"||t?"linear":"sequential")}function w$e(e,t){if(e.length===0)return e;const{domainMin:n,domainMax:r}=t,[i,o]=e;return[n??i,r??o]}function cCn(e,t){const{zero:n=!1}=t;let r=1/0,i=-1/0;for(const o of e)for(const a of o)Pi(a)&&(r=Math.min(r,+a),i=Math.max(i,+a));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}function snt(e){return Array.from(new Set(e.flat()))}function uCn(e){return snt(e).sort()}function dCn(e){let t=1/0,n=-1/0;for(const r of e)for(const i of r)Pi(i)&&(t=Math.min(t,+i),n=Math.max(n,+i));return t===1/0?[]:[t<0?-n:t,n]}function fCn(e,t){return e==="enterDelay"?[0,1e3]:e=="enterDuration"?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:e==="color"?[fin(t),vGe(t)]:e==="opacity"?[0,1]:e==="size"?[1,10]:[0,1]}function O$e(e){return Tse(e,t=>{const n=typeof t;return n==="string"||n==="boolean"})}function E$e(e){return Tse(e,t=>t instanceof Date)}function pCn(e){return Tse(e,E7)}function Tse(e,t){for(const n of e)if(n.some(t))return!0;return!1}function hCn(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")}function gCn(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e==="enterDelay"||e==="enterDuration"||e==="updateDelay"||e==="updateDuration"||e==="exitDelay"||e==="exitDuration"}function mCn(e){if(!e||!e.type)return!1;if(typeof e.type=="function")return!0;const{type:t,domain:n,range:r,interpolator:i}=e,o=n&&n.length>0,a=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&o&&a||["sequential"].includes(t)&&o&&(a||i)||["constant","identity"].includes(t)&&a)}const vCn={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},yCn={threshold:"threshold",quantize:"quantize",quantile:"quantile"},bCn={ordinal:"ordinal",band:"band",point:"point"},CCn={constant:"constant"};var G0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ic!==null),l=[],s=RCn(t,e,n);if(l.push(...s),i){const{props:c}=o("title"),{defaultPosition:f,defaultOrientation:h,defaultOrder:d,defaultSize:p,defaultCrossPadding:g}=c,m=typeof i=="string"?{title:i}:i;l.push(Object.assign({type:"title",position:f,orientation:h,order:d,crossPadding:g[0],defaultSize:p},m))}return ECn(a,r).forEach(([c,f])=>{const{props:h}=o(c),{defaultPosition:d,defaultPlane:p="xy",defaultOrientation:g,defaultSize:m,defaultOrder:v,defaultLength:y,defaultPadding:b=[0,0],defaultCrossPadding:C=[0,0]}=h,x=Dt({},...f),{guide:S,field:w}=x,O=Array.isArray(S)?S:[S];for(const $ of O){const[P,T]=TCn(c,d,g,$,f,a,r);if(!P&&!T)continue;const R=P==="left"||P==="right",M=R?b[1]:b[0],A=R?C[1]:C[0],{size:N,order:k=v,length:D=y,padding:L=M,crossPadding:B=A}=$;l.push(Object.assign(Object.assign({title:w},$),{defaultSize:m,length:D,position:P,plane:p,orientation:T,padding:L,order:k,crossPadding:B,size:N,type:c,scales:f}))}}),l}function $$e(e,t,n,r,i){const[o]=Wi("component",r),{scaleInstances:a,scale:l,bbox:s}=e,u=G0(e,["scaleInstances","scale","bbox"]),c={bbox:s,library:r};return o(u)({coordinate:t,library:r,markState:i,scales:a,theme:n,value:c,scale:l})}function xCn(e){return e.map(t=>{const n=Dt(t,t.style);return delete n.style,n})}function cnt(e,t){const n=["left","right","bottom","top"];return Iae(e,({type:o,position:a,group:l})=>n.includes(a)?l===void 0?o.startsWith("legend")?`legend-${a}`:Symbol("independent"):l==="independent"?Symbol("independent"):l:Symbol("independent")).flatMap(([,o])=>{if(o.length===1)return o[0];if(t!==void 0){const c=o.filter(g=>g.length!==void 0).map(g=>g.length),f=cu(c);if(f>t)return o.forEach(g=>g.group=Symbol("independent")),o;const h=t-f,d=o.length-c.length,p=h/d;o.forEach(g=>{g.length===void 0&&(g.length=p)})}const a=ri(o,c=>c.size),l=ri(o,c=>c.order),s=ri(o,c=>c.crossPadding),u=o[0].position;return{type:"group",size:a,order:l,position:u,children:o,crossPadding:s}})}function _Cn(e,t){const n=["shape","size","color","opacity"],r=(h,d)=>h==="constant"&&d==="size",i=e.filter(({type:h,name:d})=>typeof h=="string"&&n.includes(d)&&!r(h,d)),o=i.filter(({type:h})=>h==="constant"),a=i.filter(({type:h})=>h!=="constant"),s=Iae(a,h=>h.field?h.field:Symbol("independent")).map(([h,d])=>[h,[...d,...o]]).filter(([,h])=>h.some(d=>d.type!=="constant")),u=new Map(s);if(u.size===0)return[];const c=h=>h.sort(([d],[p])=>d.localeCompare(p));return Array.from(u).map(([,h])=>{const p=hin(h).sort((g,m)=>m.length-g.length).map(g=>({combination:g,option:g.map(m=>[m.name,wCn(m)])}));for(const{option:g,combination:m}of p)if(!g.every(v=>v[1]==="constant")&&g.every(v=>v[1]==="discrete"||v[1]==="constant"))return["legendCategory",m];for(const[g,m]of bbn)for(const{option:v,combination:y}of p)if(m.some(b=>LD(c(b),c(v))))return[g,y];return null}).filter(Pi)}function wCn(e){const{type:t}=e;return typeof t!="string"?null:t in vCn?"continuous":t in bCn?"discrete":t in yCn?"distribution":t in CCn?"constant":null}function OCn(e,t){return e.map(n=>{const{name:r}=n;if(H3n(t)||Itt(t)||H3(t)&&(Mv(t)||nE(t)))return null;if(r.startsWith("x"))return Mv(t)?["axisArc",[n]]:nE(t)?["axisLinear",[n]]:[H3(t)?"axisY":"axisX",[n]];if(r.startsWith("y"))return Mv(t)?["axisLinear",[n]]:nE(t)?["axisArc",[n]]:[H3(t)?"axisX":"axisY",[n]];if(r.startsWith("z"))return["axisZ",[n]];if(r.startsWith("position")){if(V3n(t))return["axisRadar",[n]];if(!Mv(t))return["axisY",[n]]}return null}).filter(Pi)}function ECn(e,t){const n=e.filter(r=>mCn(r));return[..._Cn(n),...OCn(n,t)]}function Nee(e){const t=$d(e,"polar");if(t.length){const r=t[t.length-1],{startAngle:i,endAngle:o}=EUe(r);return[i,o]}const n=$d(e,"radial");if(n.length){const r=n[n.length-1],{startAngle:i,endAngle:o}=PUe(r);return[i,o]}return[-Math.PI/2,Math.PI/2*3]}function $Cn(e){const t=/position(\d*)/g.exec(e);return t?+t[1]:null}function PCn(e,t,n,r,i){const{name:o}=n[0];if(e==="axisRadar"){const a=r.filter(f=>f.name.startsWith("position")),l=$Cn(o);if(o===a.slice(-1)[0].name||l===null)return[null,null];const[s,u]=Nee(i);return["center",(u-s)/(a.length-1)*l+s]}if(e==="axisY"&&W3n(i))return H3(i)?["center","horizontal"]:["center","vertical"];if(e==="axisLinear"){const[a]=Nee(i);return["center",a]}return e==="axisArc"?t[0]==="inner"?["inner",null]:["outer",null]:Mv(i)?["center",null]:nE(i)?["center",null]:e==="axisX"&&q3n(i)||e==="axisX"&&U3n(i)?["top",null]:t}function TCn(e,t,n,r,i,o,a){const[l]=Nee(a),s=[r.position||t,l??n];return typeof e=="string"&&e.startsWith("axis")?PCn(e,s,i,o,a):typeof e=="string"&&e.startsWith("legend")&&Mv(a)&&r.position==="center"?["center","vertical"]:s}function MCn(e,t,n=[]){return e==="x"?H3(n)?`${t}Y`:`${t}X`:e==="y"?H3(n)?`${t}X`:`${t}Y`:null}function RCn(e,t,n){const[,r]=Wi("component",n),{coordinates:i}=e;function o(a,l,s,u){const c=MCn(l,a,i);if(!u||!c)return;const{props:f}=r(c),{defaultPosition:h,defaultSize:d,defaultOrder:p,defaultCrossPadding:[g]}=f;return Object.assign(Object.assign({position:h,defaultSize:d,order:p,type:c,crossPadding:g},u),{scales:[s]})}return t.filter(a=>a.slider||a.scrollbar).flatMap(a=>{const{slider:l,scrollbar:s,name:u}=a;return[o("slider",u,a,l),o("scrollbar",u,a,s)]}).filter(a=>!!a)}function unt(e,t,n,r,i,o){const{type:a}=e;if(!["left","right","bottom","top"].includes(r)||typeof a!="string")return;const s=a;return(s.startsWith("axis")?jCn:s.startsWith("group")?ICn:s.startsWith("legendContinuous")?DCn:s==="legendCategory"?LCn:s.startsWith("slider")?kCn:s==="title"?ACn:s.startsWith("scrollbar")?NCn:()=>{})(e,t,n,r,i,o)}function ICn(e,t,n,r,i,o){const{children:a}=e,l=ri(a,u=>u.crossPadding);a.forEach(u=>u.crossPadding=l),a.forEach(u=>unt(u,t,n,r,i,o));const s=ri(a,u=>u.size);e.size=s,a.forEach(u=>u.size=s)}function NCn(e,t,n,r,i,o){const{trackSize:a=6}=Dt({},i.scrollbar,e);e.size=a}function ACn(e,t,n,r,i,o){const a=Dt({},i.title,e),{title:l,subtitle:s,spacing:u=0}=a,c=G0(a,["title","subtitle","spacing"]);if(l){const f=hn(c,"title"),h=RL(l,f);e.size=h.height}if(s){const f=hn(c,"subtitle"),h=RL(s,f);e.size+=u+h.height}}function kCn(e,t,n,r,i,o){const a=()=>{const{slider:c}=i;return Dt({},c,e)},{trackSize:l,handleIconSize:s}=a(),u=Math.max(l,s*2.4);e.size=u}function jCn(e,t,n,r,i,o){e.transform=e.transform||[{type:"hide"}];const a=r==="left"||r==="right",l=dnt(e,r,i),{tickLength:s=0,labelSpacing:u=0,titleSpacing:c=0,labelAutoRotate:f}=l,h=G0(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),d=IH(e,o),p=NH(h,d),g=s+u;if(p&&p.length){const v=ri(p,b=>b.width),y=ri(p,b=>b.height);if(a)e.size=v+g;else{const{tickFilter:b,labelTransform:C}=e;FCn(d,p,t,n,b)&&!C&&f!==!1&&f!==null?(e.labelTransform="rotate(90)",e.size=v+g):e.size=y+g}}else e.size=s;const m=AH(h);m&&(a?e.size+=c+m.width:e.size+=c+m.height)}function DCn(e,t,n,r,i,o){const l=(()=>{const{legendContinuous:C}=i;return Dt({},C,e)})(),{labelSpacing:s=0,titleSpacing:u=0}=l,c=G0(l,["labelSpacing","titleSpacing"]),f=r==="left"||r==="right",h=hn(c,"ribbon"),{size:d}=h,p=hn(c,"handleIcon"),{size:g}=p,m=Math.max(d,g*2.4);e.size=m;const v=IH(e,o),y=NH(c,v);if(y){const C=f?"width":"height",x=ri(y,S=>S[C]);e.size+=x+s}const b=AH(c);b&&(f?e.size=Math.max(e.size,b.width):e.size+=u+b.height)}function LCn(e,t,n,r,i,o){const l=(()=>{const{legendCategory:A}=i,{title:N}=e,[k,D]=Array.isArray(N)?[N,void 0]:[void 0,N];return Dt({title:k},A,Object.assign(Object.assign({},e),{title:D}))})(),{itemSpacing:s,itemMarkerSize:u,titleSpacing:c,rowPadding:f,colPadding:h,maxCols:d=1/0,maxRows:p=1/0}=l,g=G0(l,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:m,length:v}=e,y=A=>Math.min(A,p),b=A=>Math.min(A,d),C=r==="left"||r==="right",x=v===void 0?t+(C?0:n[0]+n[1]):v,S=AH(g),w=IH(e,o),O=NH(g,w,"itemLabel"),$=Math.max(O[0].height,u)+f,P=(A,N=0)=>u+A+s[0]+N;C?(()=>{let A=-1/0,N=0,k=1,D=0,L=-1/0,B=-1/0;const j=S?S.height:0,z=x-j;for(const{width:V}of O){const W=P(V,h);A=Math.max(A,W),N+$>z?(k++,L=Math.max(L,D),B=Math.max(B,N),D=1,N=$):(N+=$,D++)}k<=1&&(L=D,B=N),e.size=A*b(k),e.length=B+j,Dt(e,{cols:b(k),gridRow:L})})():typeof m=="number"?(()=>{const A=Math.ceil(O.length/m),N=ri(O,k=>P(k.width))*m;e.size=$*y(A)-f,e.length=Math.min(N,x)})():(()=>{let A=1,N=0,k=-1/0;for(const{width:D}of O){const L=P(D,h);N+L>x?(k=Math.max(k,N),N=L,A++):N+=L}A===1&&(k=N),e.size=$*y(A)-f,e.length=k})(),S&&(C?e.size=Math.max(e.size,S.width):e.size+=c+S.height)}function IH(e,t){const[n]=Wi("scale",t),{scales:r,tickCount:i,tickMethod:o}=e,a=r.find(l=>l.type!=="constant"&&l.type!=="identity");return i!==void 0&&(a.tickCount=i),o!==void 0&&(a.tickMethod=o),n(a)}function NH(e,t,n="label"){const{labelFormatter:r,tickFilter:i,label:o=!0}=e,a=G0(e,["labelFormatter","tickFilter","label"]);if(!o)return null;const l=zCn(t,r,i),s=hn(a,n),u=l.map((h,d)=>Object.fromEntries(Object.entries(s).map(([p,g])=>[p,typeof g=="function"?g(h,d):g]))),c=l.map((h,d)=>{const p=u[d];return RL(h,p)});if(!u.some(h=>h.transform)){const h=l.map((d,p)=>p);e.indexBBox=new Map(h.map(d=>[d,[l[d],c[d]]]))}return c}function AH(e){const t=u=>u===!1||u===null,{title:n}=e,r=G0(e,["title"]);if(t(n)||n===void 0)return null;const i=hn(r,"title"),{direction:o,transform:a}=i,l=Array.isArray(n)?n.join(","):n;return typeof l!="string"?null:RL(l,Object.assign(Object.assign({},i),{transform:a||(o==="vertical"?"rotate(-90)":"")}))}function dnt(e,t,n){const{title:r}=e,[i,o]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:a,[`axis${Dae(t)}`]:l}=n;return Dt({title:i},a,l,Object.assign(Object.assign({},e),{title:o}))}function fnt(e,t){const n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function zCn(e,t,n){const i=fnt(e,n).map(a=>typeof a=="number"?aL(a):a),o=t?typeof t=="string"?W0(t):t:e.getFormatter?e.getFormatter():a=>`${a}`;return i.map(o)}function BCn(e,t){return e.getBandWidth?e.getBandWidth(t)/2:0}function FCn(e,t,n,r,i){if(cu(t,d=>d.width)>n)return!0;const a=e.clone();a.update({range:[0,n]});const l=fnt(e,i),s=l.map(d=>a.map(d)+BCn(a,d)),u=l.map((d,p)=>p),c=-r[0],f=n+r[1],h=(d,p)=>{const{width:g}=p;return[d-g/2,d+g/2]};for(let d=0;df)return!0;const v=s[d+1];if(v){const[y]=h(v,t[d+1]);if(m>y)return!0}}return!1}function RL(e,t){const n=HCn(e),r=G0(t,["filter"]);return n.attr(Object.assign(Object.assign({},r),{visibility:"none"})),n.getBBox()}function HCn(e){return e instanceof Al?e:new uu({style:{text:`${e}`}})}function WCn(e){const t=e.find(({type:n})=>n==="axisZ");if(t){const n=e.find(({type:i})=>i==="axisX");n.plane="xy";const r=e.find(({type:i})=>i==="axisY");r.plane="xy",t.plane="yz",t.origin=[n.bbox.x,n.bbox.y,0],t.eulerAngles=[0,-90,0],t.bbox.x=n.bbox.x,t.bbox.y=n.bbox.y,e.push(Object.assign(Object.assign({},n),{plane:"xz",showLabel:!1,showTitle:!1,origin:[n.bbox.x,n.bbox.y,0],eulerAngles:[-90,0,0]})),e.push(Object.assign(Object.assign({},r),{plane:"yz",showLabel:!1,showTitle:!1,origin:[r.bbox.x+r.bbox.width,r.bbox.y,0],eulerAngles:[0,-90,0]})),e.push(Object.assign(Object.assign({},t),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]}))}}function qCn(e,t,n,r){var i,o;const{width:a,height:l,depth:s,x:u=0,y:c=0,z:f=0,inset:h=(i=n.inset)!==null&&i!==void 0?i:0,insetLeft:d=h,insetTop:p=h,insetBottom:g=h,insetRight:m=h,margin:v=(o=n.margin)!==null&&o!==void 0?o:0,marginLeft:y=v,marginBottom:b=v,marginTop:C=v,marginRight:x=v,padding:S=n.padding,paddingBottom:w=S,paddingLeft:O=S,paddingRight:$=S,paddingTop:P=S}=UCn(e,t,n,r),T=1/4,R=(ee,Q,te,ne,re)=>{const{marks:oe}=t;if(oe.length===0)return[ne,re];if(ee-ne-re-ee*T>0)return[ne,re];const be=ee*(1-T);return[Q==="auto"?be*ne/(ne+re):ne,te==="auto"?be*re/(ne+re):re]},M=ee=>ee==="auto"?20:ee??20,A=M(P),N=M(w),k=P$e(e,l-A-N,[A+C,N+b],["left","right"],t,n,r),{paddingLeft:D,paddingRight:L}=k,B=a-y-x,[j,z]=R(B,O,$,D,L),V=B-j-z,W=P$e(e,V,[j+y,z+x],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:K}=W,X=l-b-C,[G,Y]=R(X,w,P,K,U),J=X-G-Y;return{width:a,height:l,depth:s,insetLeft:d,insetTop:p,insetBottom:g,insetRight:m,innerWidth:V,innerHeight:J,paddingLeft:j,paddingRight:z,paddingTop:Y,paddingBottom:G,marginLeft:y,marginBottom:b,marginTop:C,marginRight:x,x:u,y:c,z:f}}function VCn(e){const{height:t,width:n,padding:r=0,paddingLeft:i=r,paddingRight:o=r,paddingTop:a=r,paddingBottom:l=r,margin:s=16,marginLeft:u=s,marginRight:c=s,marginTop:f=s,marginBottom:h=s,inset:d=0,insetLeft:p=d,insetRight:g=d,insetTop:m=d,insetBottom:v=d}=e,y=x=>x==="auto"?20:x,b=n-y(i)-y(o)-u-c-p-g,C=t-y(a)-y(l)-f-h-m-v;return{width:b,height:C}}function UCn(e,t,n,r){const{coordinates:i}=t;if(!Mv(i)&&!nE(i))return t;const o=e.filter(v=>typeof v.type=="string"&&v.type.startsWith("axis"));if(o.length===0)return t;const a=o.map(v=>{const y=v.type==="axisArc"?"arc":"linear";return dnt(v,y,n)}),l=ri(a,v=>{var y;return(y=v.labelSpacing)!==null&&y!==void 0?y:0}),s=o.flatMap((v,y)=>{const b=a[y],C=IH(v,r);return NH(b,C)}).filter(Pi),u=ri(s,v=>v.height)+l,c=o.flatMap((v,y)=>{const b=a[y];return AH(b)}).filter(v=>v!==null),f=c.length===0?0:ri(c,v=>v.height),{inset:h=u,insetLeft:d=h,insetBottom:p=h,insetTop:g=h+f,insetRight:m=h}=t;return Object.assign(Object.assign({},t),{insetLeft:d,insetBottom:p,insetTop:g,insetRight:m})}function P$e(e,t,n,r,i,o,a){const l=Ji(e,p=>p.position),{padding:s=o.padding,paddingLeft:u=s,paddingRight:c=s,paddingBottom:f=s,paddingTop:h=s}=i,d={paddingBottom:f,paddingLeft:u,paddingTop:h,paddingRight:c};for(const p of r){const g=`padding${Dae(ZZe(p))}`,m=l.get(p)||[],v=d[g],y=$=>{$.size===void 0&&($.size=$.defaultSize)},b=$=>{$.type==="group"?($.children.forEach(y),$.size=ri($.children,P=>P.size)):$.size=$.defaultSize},C=$=>{$.size||(v!=="auto"?b($):(unt($,t,n,p,o,a),y($)))},x=$=>{$.type.startsWith("axis")&&$.labelAutoHide===void 0&&($.labelAutoHide=!0)},S=p==="bottom"||p==="top",w=$c(m,$=>$.order),O=m.filter($=>$.type.startsWith("axis")&&$.order==w);if(O.length&&(O[0].crossPadding=0),typeof v=="number")m.forEach(y),m.forEach(x);else if(m.length===0)d[g]=0;else{const $=S?t+n[0]+n[1]:t,P=cnt(m,$);P.forEach(C);const T=P.reduce((R,{size:M,crossPadding:A=12})=>R+M+A,0);d[g]=T}}return d}function GCn(e,t,n){const r=Ji(e,S=>`${S.plane||"xy"}-${S.position}`),{paddingLeft:i,paddingRight:o,paddingTop:a,paddingBottom:l,marginLeft:s,marginTop:u,marginBottom:c,marginRight:f,innerHeight:h,innerWidth:d,insetBottom:p,insetLeft:g,insetRight:m,insetTop:v,height:y,width:b,depth:C}=n,x={xy:sX({width:b,height:y,paddingLeft:i,paddingRight:o,paddingTop:a,paddingBottom:l,marginLeft:s,marginTop:u,marginBottom:c,marginRight:f,innerHeight:h,innerWidth:d,insetBottom:p,insetLeft:g,insetRight:m,insetTop:v}),yz:sX({width:C,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:C,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:sX({width:b,height:C,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:C,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(const[S,w]of r.entries()){const[O,$]=S.split("-"),P=x[O][$],[T,R]=yGe(w,M=>typeof M.type!="string"?!1:!!($==="center"||M.type.startsWith("axis")&&["inner","outer"].includes($)));T.length&&KCn(T,t,P,$),R.length&&r6n(w,t,P)}}function sX({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:i,paddingBottom:o,marginLeft:a,marginTop:l,marginBottom:s,marginRight:u,innerHeight:c,innerWidth:f,insetBottom:h,insetLeft:d,insetRight:p,insetTop:g}){const m=n+a,v=i+l,y=r+u,b=o+s,C=e-a-u,x=[m+d,v+g,f-d-p,c-g-h,"center",null,null];return{top:[m,0,f,v,"vertical",!0,po,a,C],right:[e-y,v,y,c,"horizontal",!1,po],bottom:[m,t-b,f,b,"vertical",!1,po,a,C],left:[0,v,m,c,"horizontal",!0,po],"top-left":[m,0,f,v,"vertical",!0,po],"top-right":[m,0,f,v,"vertical",!0,po],"bottom-left":[m,t-b,f,b,"vertical",!1,po],"bottom-right":[m,t-b,f,b,"vertical",!1,po],center:x,inner:x,outer:x}}function KCn(e,t,n,r){const[i,o]=yGe(e,a=>!!(typeof a.type=="string"&&a.type.startsWith("axis")));XCn(i,t,n,r),i6n(o,t,n)}function XCn(e,t,n,r){r==="center"?Kan(t)?n6n(e,t,n):Ai(t)?QCn(e,t,n):aH(t)&&JCn(e,t,n,e[0].orientation):r==="inner"?YCn(e,t,n):r==="outer"&&ZCn(e,t,n)}function YCn(e,t,n){const[r,i,,o]=n,[a,l]=t.getCenter(),[s]=lH(t),u=o/2,c=s*u,f=a-c,h=l-c;for(let d=0;dc%2===0).map(u=>u+r);for(let u=0;uc%2===1).map(u=>u+i);for(let u=0;uu==null?void 0:u($.order,P.order));const C=$=>$==="title"||$==="group"||$.startsWith("legend"),x=($,P,T)=>T===void 0?P:C($)?T:P,S=($,P,T)=>T===void 0?P:C($)?T:P,w=s?d+v:d;for(let $=0,P=w;$$.type==="group");for(const $ of O){const{bbox:P,children:T}=$,R=P[y],M=R/T.length,A=T.reduce((B,j)=>{var z;const V=(z=j.layout)===null||z===void 0?void 0:z.justifyContent;return V||B},"flex-start"),N=T.map((B,j)=>{const{length:z=M,padding:V=0}=B;return z+(j===T.length-1?0:V)}),k=cu(N),D=R-k,L=A==="flex-start"?0:A==="center"?D/2:D;for(let B=0,j=P[p]+L;Bm6n(a)?a:{type:v6n(i,a),value:a});return[e,Object.assign(Object.assign({},t),{encode:o})]}function c6n(e,t,n){const{encode:r}=t;if(!r)return[e,t];const i=D0(r,(o,a)=>{const{type:l}=o;return l!=="constant"||gCn(a)?o:Object.assign(Object.assign({},o),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:i})]}function u6n(e,t,n){const{encode:r,data:i}=t;if(!r)return[e,t];const{library:o}=n,a=x6n(o),l=D0(r,s=>a(i,s));return[e,Object.assign(Object.assign({},t),{encode:l})]}function d6n(e,t,n){const{tooltip:r={}}=t;return xh(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:E7(r)&&TQe(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function f6n(e,t,n){const{data:r,encode:i,tooltip:o={}}=t;if(xh(o))return[e,t];const a=f=>{if(!f)return f;if(typeof f=="string")return e.map(h=>({name:f,value:r[h][f]}));if(E7(f)){const{field:h,channel:d,color:p,name:g=h,valueFormatter:m=S=>S}=f,v=typeof m=="string"?W0(m):m,y=d&&i[d],b=y&&i[d].field,C=g||b||d,x=[];for(const S of e){const w=h?r[S][h]:y?i[d].value[S]:null;x[S]={name:C,color:p,value:v(w)}}return x}if(typeof f=="function"){const h=[];for(const d of e){const p=f(r[d],d,r,i);E7(p)?h[d]=p:h[d]={value:p}}return h}return f},{title:l,items:s=[]}=o,u=X4(o,["title","items"]),c=Object.assign({title:a(l),items:Array.isArray(s)?s.map(a):[]},u);return[e,Object.assign(Object.assign({},t),{tooltip:c})]}function p6n(e,t,n){const{encode:r}=t,i=X4(t,["encode"]);if(!r)return[e,t];const o=Object.entries(r),a=o.filter(([,s])=>{const{value:u}=s;return Array.isArray(u[0])}).flatMap(([s,u])=>{const c=[[s,new Array(e.length).fill(void 0)]],{value:f}=u,h=X4(u,["value"]);for(let d=0;d[d,Object.assign({type:"column",value:p},h)])}),l=Object.fromEntries([...o,...a]);return[e,Object.assign(Object.assign({},i),{encode:l})]}function h6n(e,t,n){const{axis:r={},legend:i={},slider:o={},scrollbar:a={}}=t,l=(u,c)=>{if(typeof u=="boolean")return u?{}:null;const f=u[c];return f===void 0||f?f:null},s=typeof r=="object"?Array.from(new Set(["x","y",...Object.keys(r)])):["x","y"];return Dt(t,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(u=>{const c=l(a,u);return[u,Object.assign({guide:l(r,u),slider:l(o,u),scrollbar:c},c&&{ratio:c.ratio===void 0?.5:c.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[e,t]}function g6n(e,t,n){const{animate:r}=t;return r||r===void 0?[e,t]:(Dt(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t])}function m6n(e){if(typeof e!="object"||e instanceof Date||e===null)return!1;const{type:t}=e;return Pi(t)}function v6n(e,t){return typeof t=="function"?"transform":typeof t=="string"&&y6n(e,t)?"field":"constant"}function y6n(e,t){return Array.isArray(e)?e.some(n=>n[t]!==void 0):!1}function b6n(e){if(Ro(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};const{type:t="inline"}=e,n=X4(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}var hnt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},C6n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iPi(d)),d=>d.map(([p,g])=>Object.assign({name:p},g)),([d])=>{var p;const g=(p=/([^\d]+)\d*$/.exec(d))===null||p===void 0?void 0:p[1],m=c.find(v=>v.name===g);return m!=null&&m.independent?d:g}),h=c.filter(d=>{const{name:p,required:g}=d;if(f.find(([m])=>m===p))return!0;if(g)throw new Error(`Missing encoding for channel: ${p}.`);return!1}).flatMap(d=>{const{name:p,scale:g,scaleKey:m,range:v,quantitative:y,ordinal:b}=d;return f.filter(([x])=>x.startsWith(p)).map(([x,S],w)=>{const O=S.some(D=>D.visual),$=S.some(D=>D.constant),P=l[x]||{},{independent:T=!1,key:R=m||x,type:M=$?"constant":O?"identity":g}=P,A=C6n(P,["independent","key","type"]),N=M==="constant",k=N?void 0:v;return{name:x,values:S,scaleKey:T||N?Symbol("independent"):R,scale:Object.assign(Object.assign({type:M,range:k},A),{quantitative:y,ordinal:b})}})});return[o,Object.assign(Object.assign({},t),{index:i,channels:h,tooltip:u})]})}function x6n(e){const[t]=Wi("encode",e);return(n,r)=>r===void 0||n===void 0?null:Object.assign(Object.assign({},r),{type:"column",value:t(r)(n),field:w6n(r)})}function _6n(e,t,n){return hnt(this,void 0,void 0,function*(){const{library:r}=n,[i]=Wi("transform",r),{preInference:o=[],postInference:a=[]}=t,{transform:l=[]}=e,s=[a6n,pnt,l6n,s6n,c6n,u6n,p6n,g6n,h6n,d6n,...o.map(i),...l.map(i),...a.map(i),f6n];let u=[],c=e;for(const f of s)[u,c]=yield f(u,c,n);return[u,c]})}function w6n(e){const{type:t,value:n}=e;return t==="field"&&typeof n=="string"?n:null}var ih=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},_0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var A;return(A=/mark\.(.*)/.exec(M))===null||A===void 0?void 0:A[1]}).filter(Pi)),s=new Set(Object.keys(n).map(M=>{var A;return(A=/component\.(.*)/.exec(M))===null||A===void 0?void 0:A[1]}).filter(Pi)),u=M=>{const{type:A}=M;if(typeof A=="function"){const{props:N={}}=A,{composite:k=!0}=N;if(k)return"mark"}return typeof A!="string"?A:l.has(A)||s.has(A)?"mark":A},c=M=>u(M)==="mark",f=M=>u(M)==="standardView",h=M=>{const{type:A}=M;return typeof A!="string"?!1:!!s.has(A)},d=M=>{if(f(M))return[M];const A=u(M);return o({type:A,static:h(M)})(M)},p=[],g=new Map,m=new Map,v=[e],y=[];for(;v.length;){const M=v.shift();if(f(M)){const A=m.get(M),[N,k]=A?vnt(A,M,n):yield gnt(M,n);g.set(N,M),p.push(N);const D=k.flatMap(d).map(L=>Rtt(L,n));if(v.push(...D),D.every(f)){const L=yield Promise.all(D.map(B=>mnt(B,n)));K4n(L);for(let B=0;BM.key).join(M=>M.append("g").attr("className",gee).attr("id",A=>A.key).call(T$e).each(function(A,N,k){kee(A,Un(k),x,n,r),b.set(A,k)}),M=>M.call(T$e).each(function(A,N,k){kee(A,Un(k),x,n,r),C.set(A,k)}),M=>M.each(function(A,N,k){const D=k.nameInteraction.values();for(const L of D)L.destroy()}).remove());const S=(M,A,N)=>Array.from(M.entries()).map(([k,D])=>{const L=N||new Map,B=(V,W=U=>U)=>L.set(V,W),j=g.get(k),z=E6n(Un(D),j,n,r);return{view:k,container:D,options:j,setState:B,update:(V,W)=>ih(this,void 0,void 0,function*(){const K=jae(Array.from(L.values()))(j);return yield z(K,V,()=>{sa(W)&&A(M,W,L)})})}}),w=(M=C,A,N)=>{var k;const D=S(M,w,N);for(const L of D){const{options:B,container:j}=L,z=j.nameInteraction;let V=IL(B);A&&(V=V.filter(W=>A.includes(W[0])));for(const W of V){const[U,K]=W,X=z.get(U);if(X&&((k=X.destroy)===null||k===void 0||k.call(X)),K){const Y=Aee(L.view,U,K,a)(L,D,r.emitter);z.set(U,{destroy:Y})}}}},O=S(b,w);for(const M of O){const{options:A}=M,N=new Map;M.container.nameInteraction=N;for(const k of IL(A)){const[D,L]=k;if(L){const j=Aee(M.view,D,L,a)(M,O,r.emitter);N.set(D,{destroy:j})}}}w();const{width:$,height:P}=e,T=[];for(const M of y){const A=new Promise(N=>ih(this,void 0,void 0,function*(){for(const k of M){const D=Object.assign({width:$,height:P},k);yield Mse(D,t,n,r)}N()}));T.push(A)}r.views=p,(i=r.animations)===null||i===void 0||i.forEach(M=>M==null?void 0:M.cancel()),r.animations=x,r.emitter.emit(ni.AFTER_PAINT);const R=x.filter(Pi).map(F6n).map(M=>M.finished);return Promise.all([...R,...T])})}function T$e(e){e.style("transform",t=>`translate(${t.layout.x}, ${t.layout.y})`)}function O6n(e){const[,t]=Wi("interaction",e);return n=>{const[r,i]=n;try{return[r,t(r)]}catch{return[r,i.type]}}}function E6n(e,t,n,r){const i=O6n(n),o=s=>s[1]&&s[1].props&&s[1].props.reapplyWhenUpdate,l=IL(t).map(i).filter(o).map(s=>s[0]);return(s,u,c)=>ih(this,void 0,void 0,function*(){const f=[],[h,d]=yield gnt(s,n);kee(h,e,f,n,r);for(const p of l.filter(g=>g!==u))$6n(p,e,s,h,n,r);for(const p of d)Mse(p,e,n,r);return c(),{options:s,view:h}})}function $6n(e,t,n,r,i,o){var a;const[l]=Wi("interaction",i),u=t.node().nameInteraction,c=IL(n).find(([g])=>g===e),f=u.get(e);if(!f||((a=f.destroy)===null||a===void 0||a.call(f),!c[1]))return;const h=Aee(r,e,c[1],l),d={options:n,view:r,container:t.node(),update:g=>Promise.resolve(g)},p=h(d,[],o.emitter);u.set(e,{destroy:p})}function gnt(e,t){return ih(this,void 0,void 0,function*(){const n=yield T6n(e,t),r=P6n(n);e.interaction=r.interaction,e.coordinate=r.coordinate,e.marks=[...r.marks,...r.components];const i=Rtt(r,t),o=yield mnt(i,t);return vnt(o,i,t)})}function P6n(e){const{coordinate:t={},interaction:n={},style:r={},marks:i}=e,o=_0(e,["coordinate","interaction","style","marks"]),a=i.map(h=>h.coordinate||{}),l=i.map(h=>h.interaction||{}),s=i.map(h=>h.viewStyle||{}),u=[...a,t].reduceRight((h,d)=>Dt(h,d),{}),c=[n,...l].reduce((h,d)=>Dt(h,d),{}),f=[...s,r].reduce((h,d)=>Dt(h,d),{});return Object.assign(Object.assign({},o),{marks:i,coordinate:u,interaction:c,style:f})}function T6n(e,t){return ih(this,void 0,void 0,function*(){const[n,r]=Wi("mark",t),i=new Set(Object.keys(t).map(h=>{var d;return(d=/component\.(.*)/.exec(h))===null||d===void 0?void 0:d[1]}).filter(Pi)),{marks:o}=e,a=[],l=[],s=[...o],{width:u,height:c}=VCn(e),f={options:e,width:u,height:c};for(;s.length;){const[h]=s.splice(0,1),d=yield Snt(h,t),{type:p=I4("G2Mark type is required."),key:g}=d;if(i.has(p))l.push(d);else{const{props:m={}}=r(p),{composite:v=!0}=m;if(!v)a.push(d);else{const{data:y}=d,b=Object.assign(Object.assign({},d),{data:y&&(Array.isArray(y)?y:y.value)}),C=yield n(b,f),x=Array.isArray(C)?C:[C];s.unshift(...x.map((S,w)=>Object.assign(Object.assign({},S),{key:`${g}-${w}`})))}}}return Object.assign(Object.assign({},e),{marks:a,components:l})})}function mnt(e,t){return ih(this,void 0,void 0,function*(){const[n]=Wi("theme",t),[,r]=Wi("mark",t),{theme:i,marks:o,coordinates:a=[]}=e,l=n(Cnt(i)),s=new Map;for(const c of o){const{type:f}=c,{props:h={}}=r(f),d=yield S6n(c,h,t);if(d){const[p,g]=d;s.set(p,g)}}const u=Ji(Array.from(s.values()).flatMap(c=>c.channels),({scaleKey:c})=>c);for(const c of u.values()){const f=c.reduce((b,{scale:C})=>Dt(b,C),{}),{scaleKey:h}=c[0],{values:d}=c[0],p=Array.from(new Set(d.map(b=>b.field).filter(Pi))),g=Dt({guide:{title:p.length===0?void 0:p},field:p[0]},f),{name:m}=c[0],v=c.flatMap(({values:b})=>b.map(C=>C.value)),y=Object.assign(Object.assign({},q4n(m,v,g,a,l,t)),{key:h});c.forEach(b=>b.scale=y)}return s})}function Aee(e,t,n,r){const i=e.theme,o=typeof t=="string"?i[t]||{}:{};return r(Dt(o,Object.assign({type:t},n)))}function vnt(e,t,n){const[r]=Wi("mark",n),[i]=Wi("theme",n),[o]=Wi("labelTransform",n),{key:a,frame:l=!1,theme:s,clip:u,style:c={},labelTransform:f=[]}=t,h=i(Cnt(s)),d=Array.from(e.values()),p=U4n(d,t),g=xCn(SCn(V6n(Array.from(p),d,e),t,n)),m=qCn(g,t,h,n),v=F3n(m,t,n),y=l?Dt({mainLineWidth:1,mainStroke:"#000"},c):c;GCn(cnt(g),v,m),WCn(g);const b={};for(const S of g){const{scales:w=[]}=S,O=[];for(const $ of w){const{name:P}=$,T=C$e($,n);O.push(T),P==="y"&&T.update(Object.assign(Object.assign({},T.getOptions()),{xScale:b.x})),b$e(b,{[P]:T})}S.scaleInstances=O}const C=[];for(const[S,w]of e.entries()){const{children:O,dataDomain:$,modifier:P,key:T}=S,{index:R,channels:M,tooltip:A}=w,N=Object.fromEntries(M.map(({name:Y,scale:J})=>[Y,J])),k=D0(N,Y=>C$e(Y,n));b$e(b,k);const D=V4n(M,k),L=r(S),[B,j,z]=I6n(L(R,k,D,v)),V=$||B.length,W=P?P(j,V,m):[],U=Y=>{var J,ee;return(ee=(J=A.title)===null||J===void 0?void 0:J[Y])===null||ee===void 0?void 0:ee.value},K=Y=>A.items.map(J=>J[Y]),X=B.map((Y,J)=>{const ee=Object.assign({points:j[J],transform:W[J],index:Y,markKey:T,viewKey:a},A&&{title:U(Y),items:K(Y)});for(const[Q,te]of Object.entries(D))ee[Q]=te[Y],z&&(ee[`series${j0(Q)}`]=z[J].map(ne=>te[ne]));return z&&(ee.seriesIndex=z[J]),z&&A&&(ee.seriesItems=z[J].map(Q=>K(Q)),ee.seriesTitle=z[J].map(Q=>U(Q))),ee});w.data=X,w.index=B;const G=O==null?void 0:O(X,k,m);C.push(...G||[])}return[{layout:m,theme:h,coordinate:v,markState:e,key:a,clip:u,scale:b,style:y,components:g,labelTransform:jae(f.map(o))},C]}function kee(e,t,n,r,i){return ih(this,void 0,void 0,function*(){const{components:o,theme:a,layout:l,markState:s,coordinate:u,key:c,style:f,clip:h,scale:d}=e,{x:p,y:g,width:m,height:v}=l,y=_0(l,["x","y","width","height"]),b=["view","plot","main","content"],C=b.map((L,B)=>B),x=["a","margin","padding","inset"],S=b.map(L=>gGe(Object.assign({},a.view,f),L)),w=x.map(L=>hn(y,L)),O=L=>L.style("x",B=>M[B].x).style("y",B=>M[B].y).style("width",B=>M[B].width).style("height",B=>M[B].height).each(function(B,j,z){U6n(Un(z),S[B])});let $=0,P=0,T=m,R=v;const M=C.map(L=>{const B=w[L],{left:j=0,top:z=0,bottom:V=0,right:W=0}=B;return $+=j,P+=z,T-=j+W,R-=z+V,{x:$,y:P,width:T,height:R}});t.selectAll(Sf(H7e)).data(C.filter(L=>Pi(S[L])),L=>b[L]).join(L=>L.append("rect").attr("className",H7e).style("zIndex",-2).call(O),L=>L.call(O),L=>L.remove());const A=j6n(s),N=A?{duration:A[1]}:!1;for(const[,L]of Iae(o,B=>`${B.type}-${B.position}`))L.forEach((B,j)=>B.index=j);const k=t.selectAll(Sf(F7e)).data(o,L=>`${L.type}-${L.position}-${L.index}`).join(L=>L.append("g").style("zIndex",({zIndex:B})=>B||-1).attr("className",F7e).append(B=>$$e(Dt({animate:N,scale:d},B),u,a,r,s)),L=>L.transition(function(B,j,z){const{preserve:V=!1}=B;if(V)return;const W=$$e(Dt({animate:N,scale:d},B),u,a,r,s),{attributes:U}=W,[K]=z.childNodes;return K.update(U,!1)})).transitions();n.push(...k.flat().filter(Pi));const D=t.selectAll(Sf(W7)).data([l],()=>c).join(L=>L.append("rect").style("zIndex",0).style("fill","transparent").attr("className",W7).call(M$e).call(R$e,Array.from(s.keys())).call(I$e,h),L=>L.call(R$e,Array.from(s.keys())).call(B=>A?q6n(B,A):M$e(B)).call(I$e,h)).transitions();n.push(...D.flat());for(const[L,B]of s.entries()){const{data:j}=B,{key:z,class:V,type:W}=L,U=t.select(`#${z}`),K=z6n(L,B,e,r,i),X=B6n(L,B,e,r),G=H6n(L,B,e,r),Y=W6n(L,B,e,r),J=D6n(t,U,V,"element"),ee=U.selectAll(Sf(Bp)).selectFacetAll(J).data(j,Q=>Q.key,Q=>Q.groupKey).join(Q=>Q.append(K).attr("className",Bp).attr("markType",W).transition(function(te,ne,re){return X(te,[re])}),Q=>Q.call(te=>{const ne=te.parent(),re=cin(oe=>{const[se,ye]=oe.getBounds().min;return[se,ye]});te.transition(function(oe,se,ye){L6n(ye,ne,re);const be=K(oe,se),he=G(oe,[ye],[be]);return he!==null||(ye.nodeName===be.nodeName&&be.nodeName!=="g"?Lae(ye,be):(ye.parentNode.replaceChild(be,ye),be.className=Bp,be.markType=W,be.__data__=ye.__data__)),he}).attr("markType",W).attr("className",Bp)}),Q=>Q.each(function(te,ne,re){re.__removed__=!0}).transition(function(te,ne,re){return Y(te,[re])}).remove(),Q=>Q.append(K).attr("className",Bp).attr("markType",W).transition(function(te,ne,re){const{__fromElements__:oe}=re,se=G(te,oe,[re]);return new oL(oe,null,re.parentNode).transition(se).remove(),se}),Q=>Q.transition(function(te,ne,re){const se=new oL([],re.__toData__,re.parentNode).append(K).attr("className",Bp).attr("markType",W).nodes();return G(te,[re],se)}).remove()).transitions();n.push(...ee.flat())}M6n(e,t,n,r,i)})}function M6n(e,t,n,r,i){const[o]=Wi("labelTransform",r),{markState:a,labelTransform:l}=e,s=t.select(Sf(hee)).node(),u=new Map,c=new Map,f=Array.from(a.entries()).flatMap(([g,m])=>{const{labels:v=[],key:y}=g,b=k6n(g,m,e,r,i),C=t.select(`#${y}`).selectAll(Sf(Bp)).nodes().filter(x=>!x.__removed__);return v.flatMap((x,S)=>{const w=_0(x,["transform"]);return C.flatMap(O=>{const $=R6n(w,S,O);return $.forEach(P=>{u.set(P,b),c.set(P,x)}),$})})}),h=Un(s).selectAll(Sf(mee)).data(f,g=>g.key).join(g=>g.append(m=>u.get(m)(m)).attr("className",mee),g=>g.each(function(m,v,y){const C=u.get(m)(m);Lae(y,C)}),g=>g.remove()).nodes(),d=Ji(h,g=>c.get(g.__data__)),{coordinate:p}=e;for(const[g,m]of d){const{transform:v=[]}=g;jae(v.map(o))(m,p)}l&&l(h,p)}function R6n(e,t,n){const{seriesIndex:r,seriesKey:i,points:o,key:a,index:l}=n.__data__,s=A6n(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${a}-${t}`,bounds:s,index:l,points:o,dependentElement:n})];const u=N6n(e),c=r.map((f,h)=>Object.assign(Object.assign({},e),{key:`${i[h]}-${t}`,bounds:[o[h]],index:f,points:o,dependentElement:n}));return u?u(c):c}function I6n([e,t,n]){if(n)return[e,t,n];const r=[],i=[];for(let o=0;oPi(s)&&Pi(u))&&(r.push(a),i.push(l))}return[r,i]}function N6n(e){const{selector:t}=e;if(!t)return null;if(typeof t=="function")return t;if(t==="first")return n=>[n[0]];if(t==="last")return n=>[n[n.length-1]];throw new Error(`Unknown selector: ${t}`)}function A6n(e){const t=e.cloneNode(),n=e.getAnimations();t.style.visibility="hidden",n.forEach(a=>{const l=a.effect.getKeyframes();t.attr(l[l.length-1])}),e.parentNode.appendChild(t);const r=t.getLocalBounds();t.destroy();const{min:i,max:o}=r;return[i,o]}function k6n(e,t,n,r,i){const[o]=Wi("shape",r),{data:a}=e,{data:l,defaultLabelShape:s}=t,u=l.map(d=>d.points),{theme:c,coordinate:f}=n,h=Object.assign(Object.assign({},i),{document:Mtt(i),theme:c,coordinate:f});return d=>{const{index:p,points:g}=d,m=a[p],{formatter:v=N=>`${N}`,transform:y,style:b,render:C}=d,x=_0(d,["formatter","transform","style","render"]),S=D0(Object.assign(Object.assign({},x),b),N=>ynt(N,m,p,a)),{shape:w=s,text:O}=S,$=_0(S,["shape","text"]),P=typeof v=="string"?W0(v):v,T=Object.assign(Object.assign({},$),{text:P(O,m,p,a),datum:m}),R=Object.assign({type:`label.${w}`,render:C},$),M=o(R,h),A=bnt(c,"label",w,"label");return M(g,T,A,u)}}function ynt(e,t,n,r){return typeof e=="function"?e(t,n,r):typeof e!="string"?e:t[e]!==void 0?t[e]:e}function j6n(e){let t=-1/0,n=1/0;for(const[r,i]of e){const{animate:o={}}=r,{data:a}=i,{enter:l={},update:s={},exit:u={}}=o,{type:c,duration:f=300,delay:h=0}=s,{type:d,duration:p=300,delay:g=0}=l,{type:m,duration:v=300,delay:y=0}=u;for(const b of a){const{updateType:C=c,updateDuration:x=f,updateDelay:S=h,enterType:w=d,enterDuration:O=p,enterDelay:$=g,exitDuration:P=v,exitDelay:T=y,exitType:R=m}=b;(C===void 0||C)&&(t=Math.max(t,x+S),n=Math.min(n,S)),(R===void 0||R)&&(t=Math.max(t,P+T),n=Math.min(n,T)),(w===void 0||w)&&(t=Math.max(t,O+$),n=Math.min(n,$))}}return t===-1/0?null:[n,t-n]}function D6n(e,t,n,r){return e.node().parentElement.findAll(o=>o.style.facet!==void 0&&o.style.facet===n&&o!==t.node()).flatMap(o=>o.getElementsByClassName(r))}function L6n(e,t,n){if(!e.__facet__)return;const r=e.parentNode.parentNode,i=t.parentNode,[o,a]=n(r),[l,s]=n(i),u=`translate(${o-l}, ${a-s})`;uin(e,u),t.append(e)}function z6n(e,t,n,r,i){const[o]=Wi("shape",r),{data:a}=e,{defaultShape:l,data:s,shape:u}=t,c=s.map(m=>m.points),{theme:f,coordinate:h}=n,{type:d,style:p={}}=e,g=Object.assign(Object.assign({},i),{document:Mtt(i),coordinate:h,theme:f});return m=>{const{shape:v=l}=p,{shape:y=v,points:b,seriesIndex:C,index:x}=m,S=_0(m,["shape","points","seriesIndex","index"]),w=Object.assign(Object.assign({},S),{index:x}),O=C?C.map(M=>a[M]):a[x],$=C||x,P=D0(p,M=>ynt(M,O,$,a)),T=u[y]?u[y](P,g):o(Object.assign(Object.assign({},P),{type:xnt(e,y)}),g),R=bnt(f,d,y,l);return T(b,w,R,c)}}function bnt(e,t,n,r){if(typeof t!="string")return;const{color:i}=e,o=e[t]||{},a=o[n]||o[r];return Object.assign({color:i},a)}function Rse(e,t,n,r,i){var o,a;const[,l]=Wi("shape",i),[s]=Wi("animation",i),{defaultShape:u,shape:c}=n,{theme:f,coordinate:h}=r,p=`default${j0(e)}Animation`,{[p]:g}=((o=c[u])===null||o===void 0?void 0:o.props)||l(xnt(t,u)).props,{[e]:m={}}=f,v=((a=t.animate)===null||a===void 0?void 0:a[e])||{},y={coordinate:h};return(b,C,x)=>{const{[`${e}Type`]:S,[`${e}Delay`]:w,[`${e}Duration`]:O,[`${e}Easing`]:$}=b,P=Object.assign({type:S||g},v);if(!P.type)return null;const M=s(P,y)(C,x,Dt(m,{delay:w,duration:O,easing:$}));return Array.isArray(M)?M:[M]}}function B6n(e,t,n,r){return Rse("enter",e,t,n,r)}function F6n(e){return e.finished.then(()=>{e.cancel()}),e}function H6n(e,t,n,r){return Rse("update",e,t,n,r)}function W6n(e,t,n,r){return Rse("exit",e,t,n,r)}function Cnt(e={}){if(typeof e=="string")return{type:e};const{type:t="light"}=e,n=_0(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function IL(e){const t={event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},{interaction:n={}}=e;return Object.entries(Dt(t,n)).reverse()}function Snt(e,t){return ih(this,void 0,void 0,function*(){const n={library:t},{data:r}=e,i=_0(e,["data"]);if(r==null)return e;const[,{data:o}]=yield pnt([],{data:r},n);return Object.assign({data:o},i)})}function M$e(e){e.style("x",t=>t.paddingLeft+t.marginLeft).style("y",t=>t.paddingTop+t.marginTop).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function q6n(e,t){const[n,r]=t;e.transition(function(i,o,a){const{x:l,y:s,width:u,height:c}=a.style,{paddingLeft:f,paddingTop:h,innerWidth:d,innerHeight:p,marginLeft:g,marginTop:m}=i,v=[{x:l,y:s,width:u,height:c},{x:f+g,y:h+m,width:d,height:p}];return a.animate(v,{delay:n,duration:r,fill:"both"})})}function xnt(e,t){const{type:n}=e;return typeof t=="string"?`${n}.${t}`:t}function R$e(e,t){const n=o=>o.class!==void 0?`${o.class}`:"";e.nodes().length===0||(e.selectAll(Sf(B7e)).data(t,o=>o.key).join(o=>o.append("g").attr("className",B7e).attr("id",a=>a.key).style("facet",n).style("fill","transparent").style("zIndex",a=>{var l;return(l=a.zIndex)!==null&&l!==void 0?l:0}),o=>o.style("facet",n).style("fill","transparent").style("zIndex",a=>{var l;return(l=a.zIndex)!==null&&l!==void 0?l:0}),o=>o.remove()),e.select(Sf(hee)).node())||e.append("g").attr("className",hee).style("zIndex",0)}function Sf(...e){return e.map(t=>`.${t}`).join("")}function I$e(e,t){e.node()&&e.style("clipPath",n=>{if(!t)return null;const{paddingTop:r,paddingLeft:i,marginLeft:o,marginTop:a,innerWidth:l,innerHeight:s}=n;return new ib({style:{x:i+o,y:r+a,width:l,height:s}})})}function V6n(e,t,n){var r;for(const[u]of n.entries())if(u.type==="cell")return e.filter(c=>c.name!=="shape");if(t.length!==1||e.some(u=>u.name==="shape"))return e;const{defaultShape:i}=t[0];if(!["point","line","rect","hollow"].includes(i))return e;const a={point:"point",line:"hyphen",rect:"square",hollow:"hollow"},s={field:((r=e.find(u=>u.name==="color"))===null||r===void 0?void 0:r.field)||null,name:"shape",type:"constant",domain:[],range:[a[i]]};return[...e,s]}function U6n(e,t){for(const[n,r]of Object.entries(t))e.style(n,r)}function G6n(e){const t=Dt({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),i=[t];for(;i.length;){const o=i.shift();if(o.key===void 0){const l=n.get(o),s=r.get(o),u=l===null?"0":`${l.key}-${s}`;o.key=u}const{children:a=[]}=o;if(Array.isArray(a))for(let l=0;l{},r=i=>{throw i}){const{width:i=640,height:o=480,depth:a=0}=e,l=G6n(e),{canvas:s=K6n(i,o),emitter:u=new ise,library:c}=t;t.canvas=s,t.emitter=u;const{width:f,height:h}=s.getConfig();(f!==i||h!==o)&&s.resize(i,o),u.emit(ni.BEFORE_RENDER);const d=Un(s.document.documentElement);return s.ready.then(()=>Mse(Object.assign(Object.assign({},l),{width:i,height:o,depth:a}),d,c,t)).then(()=>{if(a){const[p,g]=s.document.documentElement.getPosition();s.document.documentElement.setPosition(p,g,-a/2)}s.requestAnimationFrame(()=>{u.emit(ni.AFTER_RENDER),n==null||n()})}).catch(p=>{r==null||r(p)}),Z6n(s.getConfig().container)}function N$e(e,t={},n=!1){const{canvas:r,emitter:i}=t;r&&(Y6n(r),n?r.destroy():r.destroyChildren()),i.off()}function Y6n(e){const t=e.getRoot().querySelectorAll(`.${gee}`);t==null||t.forEach(n=>{const{nameInteraction:r=new Map}=n;(r==null?void 0:r.size)>0&&Array.from(r==null?void 0:r.values()).forEach(i=>{i==null||i.destroy()})})}function Z6n(e){return typeof e=="string"?document.getElementById(e):e}const Q6n={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function J6n(e,t){var n;return(n=e.style[t])!==null&&n!==void 0?n:Q6n[t]}function Ise(e,t,n,r){e.style[t]=n,r&&e.children.forEach(i=>Ise(i,t,n,r))}function Nse(e){Ise(e,"visibility","hidden",!0)}function Ase(e){Ise(e,"visibility","visible",!0)}var rE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t.__removed__)}function _nt(e,t){return jee(e,t).flatMap(({container:n})=>w0(n))}function jee(e,t){return t.filter(n=>n!==e&&n.options.parentKey===e.options.key)}function zh(e){return Un(e).select(`.${W7}`).node()}function wnt(e){if(e.nodeName!=="rect")return e.getRenderBounds();const{x:t,y:n,width:r,height:i}=e.style;return{min:[t,n],max:[t+r,n+i]}}function kse(e,t){const{offsetX:n,offsetY:r}=t,i=wnt(e),{min:[o,a],max:[l,s]}=i,u=nl,c=rs;return u||c?null:[n-o,r-a]}function cX(e,t){const{offsetX:n,offsetY:r}=t,[i,o,a,l]=eSn(e);return[Math.min(a,Math.max(i,n))-i,Math.min(l,Math.max(o,r))-o]}function eSn(e){const t=e.getRenderBounds(),{min:[n,r],max:[i,o]}=t;return[n,r,i,o]}function Ont(e){return t=>t.__data__.color}function jse(e){return t=>t.__data__.x}function wy(e){const t=Array.isArray(e)?e:[e],n=new Map(t.flatMap(r=>Array.from(r.markState.keys()).map(o=>[NL(r.key,o.key),o.data])));return r=>{const{index:i,markKey:o,viewKey:a}=r.__data__;return n.get(NL(a,o))[i]}}function oh(e,t=(r,i)=>r,n=(r,i,o)=>r.setAttribute(i,o)){const r="__states__",i="__ordinal__",o=c=>{const{[r]:f=[],[i]:h={}}=c,d=f.reduce((p,g)=>Object.assign(Object.assign({},p),e[g]),h);if(Object.keys(d).length!==0){for(const[p,g]of Object.entries(d)){const m=J6n(c,p),v=t(g,c);n(c,p,v),p in h||(h[p]=m)}c[i]=h}},a=c=>{c[r]||(c[r]=[])};return{setState:(c,...f)=>{a(c),c[r]=[...f],o(c)},removeState:(c,...f)=>{a(c);for(const h of f){const d=c[r].indexOf(h);d!==-1&&c[r].splice(d,1)}o(c)},hasState:(c,f)=>(a(c),c[r].indexOf(f)!==-1)}}function tSn(e){return e===void 0?!0:typeof e!="object"?!1:Object.keys(e).length===0}function NL(e,t){return`${e},${t}`}function Y4(e,t){const r=(Array.isArray(e)?e:[e]).flatMap(o=>o.marks.map(a=>[NL(o.key,a.key),a.state])),i={};for(const o of t){const[a,l]=Array.isArray(o)?o:[o,{}];i[a]=r.reduce((s,u)=>{const[c,f={}]=u,h=tSn(f[a])?l:f[a];for(const[d,p]of Object.entries(h)){const g=s[d],m=(v,y,b,C)=>{const x=NL(C.__data__.viewKey,C.__data__.markKey);return c!==x?g==null?void 0:g(v,y,b,C):typeof p!="function"?p:p(v,y,b,C)};s[d]=m}return s},{})}return i}function VP(e,t){const n=new Map(e.map((i,o)=>[i,o])),r=t?e.map(t):e;return(i,o)=>{if(typeof i!="function")return i;const a=n.get(o),l=t?t(o):o;return i(l,a,r,o)}}function Ent(e){var{link:t=!1,valueof:n=(c,f)=>c,coordinate:r}=e,i=rE(e,["link","valueof","coordinate"]);const o="element-link";if(!t)return[()=>{},()=>{}];const a=c=>c.__data__.points,l=(c,f)=>{const[,h,d]=c,[p,,,g]=f;return[h,p,g,d]};return[c=>{var f;if(c.length<=1)return;const h=th(c,(d,p)=>{const{x:g}=d.__data__,{x:m}=p.__data__;return g-m});for(let d=1;dn($,g)),{fill:S=g.getAttribute("fill")}=x,w=rE(x,["fill"]),O=new is({className:o,style:Object.assign({d:p.toString(),fill:S,zIndex:-2},w)});(f=g.link)===null||f===void 0||f.remove(),g.parentNode.appendChild(O),g.link=O}},c=>{var f;(f=c.link)===null||f===void 0||f.remove(),c.link=null}]}function $nt(e,t,n){const r=i=>{const{transform:o}=e.style;return o?`${o} ${i}`:i};if(Ai(n)){const{points:i}=e.__data__,[o,a]=Hi(n)?hH(i):i,l=n.getCenter(),s=ho(o,l),u=ho(a,l),c=yu(s),f=zKe(s,u),h=c+f/2,d=t*Math.cos(h),p=t*Math.sin(h);return r(`translate(${d}, ${p})`)}return Hi(n)?r(`translate(${t}, 0)`):r(`translate(0, ${-t})`)}function Pnt(e){var{document:t,background:n,scale:r,coordinate:i,valueof:o}=e,a=rE(e,["document","background","scale","coordinate","valueof"]);const l="element-background";if(!n)return[()=>{},()=>{}];const s=(v,y,b)=>{const C=v.invert(y),x=y+v.getBandWidth(C)/2,S=v.getStep(C)/2,w=S*b;return[x-S+w,x+S-w]},u=(v,y)=>{const{x:b}=r;if(!Z9(b))return[0,1];const{__data__:C}=v,{x}=C,[S,w]=s(b,x,y);return[S,w]},c=(v,y)=>{const{y:b}=r;if(!Z9(b))return[0,1];const{__data__:C}=v,{y:x}=C,[S,w]=s(b,x,y);return[S,w]},f=(v,y)=>{const{padding:b}=y,[C,x]=u(v,b),[S,w]=c(v,b),O=[[C,S],[x,S],[x,w],[C,w]].map(R=>i.map(R)),{__data__:$}=v,{y:P,y1:T}=$;return iYe(t,O,{y:P,y1:T},i,y)},h=(v,y)=>{const{transform:b="scale(1.2, 1.2)",transformOrigin:C="center center",stroke:x=""}=y,S=rE(y,["transform","transformOrigin","stroke"]),w=Object.assign({transform:b,transformOrigin:C,stroke:x},S),O=v.cloneNode(!0);for(const[$,P]of Object.entries(w))O.style[$]=P;return O},d=()=>{const{x:v,y}=r;return[v,y].some(Z9)};return[v=>{v.background&&v.background.remove();const y=D0(a,R=>o(R,v)),{fill:b="#CCD6EC",fillOpacity:C=.3,zIndex:x=-2,padding:S=.001,strokeWidth:w=0}=y,O=rE(y,["fill","fillOpacity","zIndex","padding","strokeWidth"]),$=Object.assign(Object.assign({},O),{fill:b,fillOpacity:C,zIndex:x,padding:S,strokeWidth:w}),T=(d()?f:h)(v,$);T.className=l,v.parentNode.parentNode.appendChild(T),v.background=T},v=>{var y;(y=v.background)===null||y===void 0||y.remove(),v.background=null},v=>v.className===l]}function I1(e,t){const r=e.getRootNode().defaultView.getContextService().getDomElement();r!=null&&r.style&&(e.cursor=r.style.cursor,r.style.cursor=t)}function nSn(e){I1(e,e.cursor)}function Dse(e,t,n){return e.find(r=>Object.entries(t).every(([i,o])=>n(r)[i]===o))}var rSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);if,link:i=!1,background:o=!1,delay:a=60,scale:l,coordinate:s,emitter:u,state:c={}}){var f;const h=t(e),d=new Set(h),p=Ji(h,r),g=VP(h,n),[m,v]=Ent(Object.assign({elements:h,valueof:g,link:i,coordinate:s},hn(c.active,"link"))),[y,b,C]=Pnt(Object.assign({document:e.ownerDocument,scale:l,coordinate:s,background:o,valueof:g},hn(c.active,"background"))),x=Dt(c,{active:Object.assign({},((f=c.active)===null||f===void 0?void 0:f.offset)&&{transform:(...D)=>{const L=c.active.offset(...D),[,B]=D;return $nt(h[B],L,s)}})}),{setState:S,removeState:w,hasState:O}=oh(x,g);let $;const P=D=>{const{target:L,nativeEvent:B=!0}=D;if(!d.has(L))return;$&&clearTimeout($);const j=r(L),z=p.get(j),V=new Set(z);for(const W of h)V.has(W)?O(W,"active")||S(W,"active"):(S(W,"inactive"),v(W)),W!==L&&b(W);y(L),m(z),B&&u.emit("element:highlight",{nativeEvent:B,data:{data:n(L),group:z.map(n)}})},T=()=>{$&&clearTimeout($),$=setTimeout(()=>{R(),$=null},a)},R=(D=!0)=>{for(const L of h)w(L,"active","inactive"),b(L),v(L);D&&u.emit("element:unhighlight",{nativeEvent:D})},M=D=>{const{target:L}=D;o&&!C(L)||!o&&!d.has(L)||(a>0?T():R())},A=()=>{R()};e.addEventListener("pointerover",P),e.addEventListener("pointerout",M),e.addEventListener("pointerleave",A);const N=D=>{const{nativeEvent:L}=D;L||R(!1)},k=D=>{const{nativeEvent:L}=D;if(L)return;const{data:B}=D.data,j=Dse(h,B,n);j&&P({target:j,nativeEvent:!1})};return u.on("element:highlight",k),u.on("element:unhighlight",N),()=>{e.removeEventListener("pointerover",P),e.removeEventListener("pointerout",M),e.removeEventListener("pointerleave",A),u.off("element:highlight",k),u.off("element:unhighlight",N);for(const D of h)b(D),v(D)}}function kH(e){var{delay:t,createGroup:n,background:r=!1,link:i=!1}=e,o=rSn(e,["delay","createGroup","background","link"]);return(a,l,s)=>{const{container:u,view:c,options:f}=a,{scale:h,coordinate:d}=c,p=zh(u);return iSn(p,Object.assign({elements:w0,datum:wy(c),groupKey:n?n(c):void 0,coordinate:d,scale:h,state:Y4(f,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:t,emitter:s},o))}}kH.props={reapplyWhenUpdate:!0};function Tnt(e){return kH(Object.assign(Object.assign({},e),{createGroup:jse}))}Tnt.props={reapplyWhenUpdate:!0};function Mnt(e){return kH(Object.assign(Object.assign({},e),{createGroup:Ont}))}Mnt.props={reapplyWhenUpdate:!0};var oSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);if,link:i=!1,single:o=!1,coordinate:a,background:l=!1,scale:s,emitter:u,state:c={}}){var f;const h=t(e),d=new Set(h),p=Ji(h,r),g=VP(h,n),[m,v]=Ent(Object.assign({link:i,elements:h,valueof:g,coordinate:a},hn(c.selected,"link"))),[y,b]=Pnt(Object.assign({document:e.ownerDocument,background:l,coordinate:a,scale:s,valueof:g},hn(c.selected,"background"))),C=Dt(c,{selected:Object.assign({},((f=c.selected)===null||f===void 0?void 0:f.offset)&&{transform:(...A)=>{const N=c.selected.offset(...A),[,k]=A;return $nt(h[k],N,a)}})}),{setState:x,removeState:S,hasState:w}=oh(C,g),O=(A=!0)=>{for(const N of h)S(N,"selected","unselected"),v(N),b(N);A&&u.emit("element:unselect",{nativeEvent:!0})},$=(A,N,k=!0)=>{if(w(N,"selected"))O();else{const D=r(N),L=p.get(D),B=new Set(L);for(const j of h)B.has(j)?x(j,"selected"):(x(j,"unselected"),v(j)),j!==N&&b(j);if(m(L),y(N),!k)return;u.emit("element:select",Object.assign(Object.assign({},A),{nativeEvent:k,data:{data:[n(N),...L.map(n)]}}))}},P=(A,N,k=!0)=>{const D=r(N),L=p.get(D),B=new Set(L);if(w(N,"selected")){if(!h.some(z=>!B.has(z)&&w(z,"selected")))return O();for(const z of L)x(z,"unselected"),v(z),b(z)}else{const j=L.some(z=>w(z,"selected"));for(const z of h)B.has(z)?x(z,"selected"):w(z,"selected")||x(z,"unselected");!j&&i&&m(L),y(N)}k&&u.emit("element:select",Object.assign(Object.assign({},A),{nativeEvent:k,data:{data:h.filter(j=>w(j,"selected")).map(n)}}))},T=A=>{const{target:N,nativeEvent:k=!0}=A;return d.has(N)?o?$(A,N,k):P(A,N,k):O()};e.addEventListener("click",T);const R=A=>{const{nativeEvent:N,data:k}=A;if(N)return;const D=o?k.data.slice(0,1):k.data;for(const L of D){const B=Dse(h,L,n);T({target:B,nativeEvent:!1})}},M=()=>{O(!1)};return u.on("element:select",R),u.on("element:unselect",M),()=>{for(const A of h)v(A);e.removeEventListener("click",T),u.off("element:select",R),u.off("element:unselect",M)}}function jH(e){var{createGroup:t,background:n=!1,link:r=!1}=e,i=oSn(e,["createGroup","background","link"]);return(o,a,l)=>{const{container:s,view:u,options:c}=o,{coordinate:f,scale:h}=u,d=zh(s);return aSn(d,Object.assign({elements:w0,datum:wy(u),groupKey:t?t(u):void 0,coordinate:f,scale:h,state:Y4(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:l},i))}}jH.props={reapplyWhenUpdate:!0};function Rnt(e){return jH(Object.assign(Object.assign({},e),{createGroup:jse}))}Rnt.props={reapplyWhenUpdate:!0};function Int(e){return jH(Object.assign(Object.assign({},e),{createGroup:Ont}))}Int.props={reapplyWhenUpdate:!0};var lSn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},sSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii.type==="normalizeY");if(n)return n;const r={type:"normalizeY"};return t.push(r),e.transform=t,r}function uSn(e,t,n){const[r]=Array.from(e.entries()).filter(([i])=>i.type===t).map(([i])=>{const{encode:o}=i,a=l=>{const s=o[l];return[l,s?s.value:void 0]};return Object.fromEntries(n.map(a))});return r}function Nnt(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:i=a=>`${a}`}=e,o=sSn(e,["wait","leading","trailing","labelFormatter"]);return a=>{const{view:l,container:s,update:u,setState:c}=a,{markState:f,scale:h,coordinate:d}=l,p=uSn(f,"line",["x","y","series"]);if(!p)return;const{y:g,x:m,series:v=[]}=p,y=g.map((D,L)=>L),b=th(y.map(D=>m[D])),C=zh(s),x=s.getElementsByClassName(Bp),S=s.getElementsByClassName(mee),O=Ji(S,D=>D.__data__.key.split("-")[0]),$=new AP({style:Object.assign({x1:0,y1:0,x2:0,y2:C.getAttribute("height"),stroke:"black",lineWidth:1},hn(o,"rule"))}),P=new uu({style:Object.assign({x:0,y:C.getAttribute("height"),text:"",fontSize:10},hn(o,"label"))});$.append(P),C.appendChild($);const T=(D,L,B)=>{const[j]=D.invert(B),z=L.invert(j);return b[qrn(b,z)]},R=(D,L)=>{$.setAttribute("x1",D[0]),$.setAttribute("x2",D[0]),P.setAttribute("text",i(L))};let M;const A=D=>lSn(this,void 0,void 0,function*(){const{x:L}=h,B=T(d,L,D);R(D,B),c("chartIndex",z=>{const V=Dt({},z),W=V.marks.find(Y=>Y.type==="line"),K=ri(Nae(y,Y=>ri(Y,J=>+g[J])/$c(Y,J=>+g[J]),Y=>v[Y]).values()),X=[1/K,K];Dt(W,{scale:{y:{domain:X}}});const G=cSn(W);G.groupBy="color",G.basis=(Y,J)=>{const ee=Y[R4(Q=>m[+Q]).center(Y,B)];return J[ee]};for(const Y of V.marks)Y.animate=!1;return V}),M=(yield u("chartIndex")).view}),N=D=>{const{scale:L,coordinate:B}=M,{x:j,y:z}=L,V=T(B,j,D);R(D,V);for(const W of x){const{seriesIndex:U,key:K}=W.__data__,X=U[R4(ne=>m[+ne]).center(U,V)],G=[0,z.map(1)],Y=[0,z.map(g[X]/g[U[0]])],[,J]=B.map(G),[,ee]=B.map(Y),Q=J-ee;W.setAttribute("transform",`translate(0, ${Q})`);const te=O.get(K)||[];for(const ne of te)ne.setAttribute("dy",Q)}},k=py(D=>{const L=kse(C,D);L&&N(L)},t,{leading:n,trailing:r});return A([0,0]),C.addEventListener("pointerenter",k),C.addEventListener("pointermove",k),C.addEventListener("pointerleave",k),()=>{$.remove(),C.removeEventListener("pointerenter",k),C.removeEventListener("pointermove",k),C.removeEventListener("pointerleave",k)}}}Nnt.props={reapplyWhenUpdate:!0};function dSn(e){const{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(o=>o.type==="fisheye");if(r)return r;const i={type:"fisheye"};return n.push(i),t.transform=n,e.coordinate=t,i}function fSn({wait:e=30,leading:t,trailing:n=!1}){return r=>{const{options:i,update:o,setState:a,container:l}=r,s=zh(l),u=py(c=>{const f=kse(s,c);if(!f){a("fisheye"),o();return}a("fisheye",h=>{const d=Dt({},h,{interaction:{tooltip:{preserve:!0}}});for(const v of d.marks)v.animate=!1;const[p,g]=f,m=dSn(d);return m.focusX=p,m.focusY=g,m.visual=!0,d}),o()},e,{leading:t,trailing:n});return s.addEventListener("pointerenter",u),s.addEventListener("pointermove",u),s.addEventListener("pointerleave",u),()=>{s.removeEventListener("pointerenter",u),s.removeEventListener("pointermove",u),s.removeEventListener("pointerleave",u)}}}var UP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{color:a=jnt(e)}=o,l=UP(o,["color"]);return Object.assign(Object.assign({},l),{color:a})}).map(knt);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}function vSn(e,t){const{color:n,series:r,facet:i=!1}=e,{color:o,series:a}=t,l=s=>s&&s.invert&&!(s instanceof k4)&&!(s instanceof qae);if(l(r))return r.clone().invert(a);if(a&&r instanceof k4&&r.invert(a)!==o&&!i)return r.invert(a);if(l(n)){const s=n.invert(o);return Array.isArray(s)?null:s}return null}function jnt(e){const t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:i=t&&t!=="transparent"?t:n}=r;return i}function A$e(e,t=n=>n){const n=new Map(e.map(r=>[t(r),r]));return Array.from(n.values())}function Dnt(e,t,n,r=e.map(o=>o.__data__),i={}){const o=s=>s instanceof Date?+s:s,a=A$e(r.map(s=>s.title),o).filter(Pi),l=r.flatMap((s,u)=>{const c=e[u],{items:f=[],title:h}=s,d=f.filter(Pi),p=n!==void 0?n:f.length<=1;return d.map(g=>{var{color:m=jnt(c)||i.color,name:v}=g,y=UP(g,["color","name"]);const b=vSn(t,s),C=p?b||v:v||b;return Object.assign(Object.assign({},y),{color:m,name:C||h})})}).map(knt);return Object.assign(Object.assign({},a.length>0&&{title:a.join(",")}),{items:A$e(l,s=>`(${o(s.name)}, ${o(s.value)}, ${o(s.color)})`)})}function ySn(e,t,n){var{plotWidth:r,plotHeight:i,mainWidth:o,mainHeight:a,startX:l,startY:s,transposed:u,polar:c,insetLeft:f,insetTop:h}=n,d=UP(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);const p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},d),g=t.map($=>$[1]),m=t.map($=>$[0]),v=O7(g),y=O7(m),b=()=>{if(c){const $=Math.min(o,a)/2,P=l+f+o/2,T=s+h+a/2,R=yu(ho([y,v],[P,T])),M=P+$*Math.cos(R),A=T+$*Math.sin(R);return[P,M,T,A]}return u?[l,l+r,v+s,v+s]:[y+l,y+l,s,s+i]},[C,x,S,w]=b(),O=()=>{const $=new AP({style:Object.assign({x1:C,x2:x,y1:S,y2:w},p)});return e.appendChild($),$};if(m.length>0){const $=e.ruleY||O();$.style.x1=C,$.style.x2=x,$.style.y1=S,$.style.y2=w,e.ruleY=$}}function k$e(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function bSn(e,{data:t,style:n,theme:r}){e.markers&&e.markers.forEach(o=>o.remove());const i=t.filter(o=>{const[{x:a,y:l}]=o;return Pi(a)&&Pi(l)}).map(o=>{const[{color:a,element:l},s]=o,u=a||l.style.fill||l.style.stroke||r.color;return new NP({style:Object.assign({cx:s[0],cy:s[1],fill:u,r:4,stroke:"#fff",strokeWidth:2},n)})});for(const o of i)e.appendChild(o);e.markers=i}function j$e(e){e.markers&&(e.markers.forEach(t=>t.remove()),e.markers=[])}function D$e(e,t){return Array.from(e.values()).some(n=>{var r;return(r=n.interaction)===null||r===void 0?void 0:r[t]})}function uX(e,t){return e===void 0?t:e}function Lnt(e){const{title:t,items:n}=e;return n.length===0&&t===void 0}function CSn(e){return Array.from(e.values()).some(t=>{var n;return((n=t.interaction)===null||n===void 0?void 0:n.seriesTooltip)&&t.tooltip})}function L$e(e,t){var{elements:n,sort:r,filter:i,scale:o,coordinate:a,crosshairs:l,render:s,groupName:u,emitter:c,wait:f=50,leading:h=!0,trailing:d=!1,startX:p=0,startY:g=0,body:m=!0,single:v=!0,position:y,enterable:b,mount:C,bounding:x,theme:S,disableNative:w=!1,marker:O=!0,preserve:$=!1,style:P={},css:T={}}=t,R=UP(t,["elements","sort","filter","scale","coordinate","crosshairs","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","disableNative","marker","preserve","style","css"]);const M=n(e),A=Hi(a),N=Ai(a),k=Dt(P,R),{innerWidth:D,innerHeight:L,width:B,height:j,insetLeft:z,insetTop:V}=a.getOptions(),W=[],U=[];for(const Oe of M){const{__data__:Pe}=Oe,{seriesX:_e,title:ce,items:Te}=Pe;_e?W.push(Oe):(ce||Te)&&U.push(Oe)}const X=!!(A?o.y:o.x).getBandWidth&&U.length>0;W.sort((Oe,Pe)=>{const _e=A?0:1,ce=Te=>Te.getBounds().min[_e];return A?ce(Pe)-ce(Oe):ce(Oe)-ce(Pe)});const G=Oe=>{const Pe=A?1:0,{min:_e,max:ce}=Oe.getLocalBounds();return th([_e[Pe],ce[Pe]])};U.sort((Oe,Pe)=>{const[_e,ce]=G(Oe),[Te,Ne]=G(Pe),je=(_e+ce)/2,He=(Te+Ne)/2;return A?He-je:je-He});const Y=new Map(W.map(Oe=>{const{__data__:Pe}=Oe,{seriesX:_e}=Pe,ce=_e.map((Ne,je)=>je),Te=th(ce,Ne=>_e[+Ne]);return[Oe,[Te,_e]]})),{x:J}=o,ee=J!=null&&J.getBandWidth?J.getBandWidth()/2:0,Q=Oe=>{const[Pe]=a.invert(Oe);return Pe-ee},te=(Oe,Pe,_e)=>{const ce=Q(Oe),Te=_e.filter(Pi),[Ne,je]=th([Te[0],Te[Te.length-1]]),He=Ne===je;if(!X&&(ceje)&&!He)return null;const Be=R4(me=>_e[+me]).center,qe=Be(Pe,ce);return Pe[qe]},ne=(Oe,Pe)=>{const ce=Oe[A?1:0],Te=Pe.filter(He=>{const[Be,qe]=G(He);return ce>=Be&&ce<=qe});if(!X||Te.length>0)return Te;const Ne=R4(He=>{const[Be,qe]=G(He);return(Be+qe)/2}).center,je=Ne(Pe,ce);return[Pe[je]].filter(Pi)},re=(Oe,Pe)=>{const{__data__:_e}=Oe;return Object.fromEntries(Object.entries(_e).filter(([ce])=>ce.startsWith("series")&&ce!=="series").map(([ce,Te])=>{const Ne=Te[Pe];return[LUe(ce.replace("series","")),Ne]}))},oe=py(Oe=>{const Pe=kse(e,Oe);if(!Pe)return;const _e=wnt(e),ce=_e.min[0],Te=_e.min[1],Ne=[Pe[0]-p,Pe[1]-g];if(!Ne)return;const je=ne(Ne,U),He=[],Be=[];for(const Ke of W){const[lt,ft]=Y.get(Ke),Ye=te(Ne,lt,ft);if(Ye!==null){He.push(Ke);const we=re(Ke,Ye),{x:De,y:We}=we,Ge=a.map([(De||0)+ee,We||0]);Be.push([Object.assign(Object.assign({},we),{element:Ke}),Ge])}}const qe=Array.from(new Set(Be.map(Ke=>Ke[0].x))),me=qe[VF(qe,Ke=>Math.abs(Ke-Q(Ne)))],Ee=Be.filter(Ke=>Ke[0].x===me),$e=[...Ee.map(Ke=>Ke[0]),...je.map(Ke=>Ke.__data__)],Le=[...He,...je],Fe=Dnt(Le,o,u,$e,S);if(r&&Fe.items.sort((Ke,lt)=>r(Ke)-r(lt)),i&&(Fe.items=Fe.items.filter(i)),Le.length===0||Lnt(Fe)){se(Oe);return}if(m&&Ant({root:e,data:Fe,x:Pe[0]+ce,y:Pe[1]+Te,render:s,event:Oe,single:v,position:y,enterable:b,mount:C,bounding:x,css:T}),l){const Ke=Ee.map(ft=>ft[1]),lt=hn(k,"crosshairs");ySn(e,Ke,Object.assign(Object.assign({},lt),{plotWidth:D,plotHeight:L,mainWidth:B,mainHeight:j,insetLeft:z,insetTop:V,startX:p,startY:g,transposed:A,polar:N}))}if(O){const Ke=hn(k,"marker");bSn(e,{data:Ee,style:Ke,theme:S})}c.emit("tooltip:show",Object.assign(Object.assign({},Oe),{nativeEvent:!0,data:{data:{x:q4(o.x,Q(Ne),!0)}}}))},f,{leading:h,trailing:d}),se=Oe=>{L1({root:e,single:v,emitter:c,event:Oe}),l&&k$e(e),O&&j$e(e)},ye=()=>{Dee({root:e,single:v}),l&&k$e(e),O&&j$e(e)},be=({nativeEvent:Oe,data:Pe})=>{if(Oe)return;const{x:_e}=Pe.data,{x:ce}=o,Te=ce.map(_e),[Ne,je]=a.map([Te,.5]),{min:[He,Be]}=e.getRenderBounds();oe({offsetX:Ne+He,offsetY:je+Be})},he=()=>{L1({root:e,single:v,emitter:c,nativeEvent:!1})},le=()=>{Ie(),ye()},ve=()=>{ke()},ke=()=>{w||(e.addEventListener("pointerenter",oe),e.addEventListener("pointermove",oe),e.addEventListener("pointerleave",se))},Ie=()=>{w||(e.removeEventListener("pointerenter",oe),e.removeEventListener("pointermove",oe),e.removeEventListener("pointerleave",se))};return ke(),c.on("tooltip:show",be),c.on("tooltip:hide",he),c.on("tooltip:disable",le),c.on("tooltip:enable",ve),()=>{Ie(),c.off("tooltip:show",be),c.off("tooltip:hide",he),c.off("tooltip:disable",le),c.off("tooltip:enable",ve),$?L1({root:e,single:v,emitter:c,nativeEvent:!1}):ye()}}function SSn(e,{elements:t,scale:n,render:r,groupName:i,sort:o,filter:a,emitter:l,wait:s=50,leading:u=!0,trailing:c=!1,groupKey:f=$=>$,single:h=!0,position:d,enterable:p,datum:g,view:m,mount:v,bounding:y,theme:b,shared:C=!1,body:x=!0,disableNative:S=!1,preserve:w=!1,css:O={}}){const $=t(e),P=new Set($),T=Ji($,f),R=py(j=>{const{target:z}=j;if(!P.has(z)){L1({root:e,single:h,emitter:l,event:j});return}const V=f(z),W=T.get(V),U=W.length===1&&!C?mSn(W[0]):Dnt(W,n,i,void 0,b);if(o&&U.items.sort((G,Y)=>o(G)-o(Y)),a&&(U.items=U.items.filter(a)),Lnt(U)){L1({root:e,single:h,emitter:l,event:j});return}const{offsetX:K,offsetY:X}=j;x&&Ant({root:e,data:U,x:K,y:X,render:r,event:j,single:h,position:d,enterable:p,mount:v,bounding:y,css:O}),l.emit("tooltip:show",Object.assign(Object.assign({},j),{nativeEvent:!0,data:{data:Ptt(z,m)}}))},s,{leading:u,trailing:c}),M=j=>{L1({root:e,single:h,emitter:l,event:j})},A=()=>{S||(e.addEventListener("pointermove",R),e.addEventListener("pointerleave",M))},N=()=>{S||(e.removeEventListener("pointermove",R),e.removeEventListener("pointerleave",M))},k=({nativeEvent:j,data:z})=>{if(j)return;const V=Dse($,z.data,g);if(!V)return;const W=V.getBBox(),{x:U,y:K,width:X,height:G}=W;R({target:V,offsetX:U+X/2,offsetY:K+G/2})},D=({nativeEvent:j}={})=>{j||L1({root:e,single:h,emitter:l,nativeEvent:!1})},L=()=>{N(),Dee({root:e,single:h})},B=()=>{A()};return l.on("tooltip:show",k),l.on("tooltip:hide",D),l.on("tooltip:enable",B),l.on("tooltip:disable",L),A(),()=>{N(),l.off("tooltip:show",k),l.off("tooltip:hide",D),w?L1({root:e,single:h,emitter:l,nativeEvent:!1}):Dee({root:e,single:h})}}function znt(e){const{shared:t,crosshairs:n,series:r,name:i,item:o=()=>({}),facet:a=!1}=e,l=UP(e,["shared","crosshairs","series","name","item","facet"]);return(s,u,c)=>{const{container:f,view:h}=s,{scale:d,markState:p,coordinate:g,theme:m}=h,v=D$e(p,"seriesTooltip"),y=D$e(p,"crosshairs"),b=zh(f),C=uX(r,v);if(C&&CSn(p)&&!a)return L$e(b,Object.assign(Object.assign({},l),{theme:m,elements:w0,scale:d,coordinate:g,crosshairs:uX(n,y),item:o,emitter:c}));if(C&&a){const x=u.filter(T=>T!==s&&T.options.parentKey===s.options.key),S=_nt(s,u),w=x[0].view.scale,O=b.getBounds(),$=O.min[0],P=O.min[1];return Object.assign(w,{facet:!0}),L$e(b.parentNode.parentNode,Object.assign(Object.assign({},l),{theme:m,elements:()=>S,scale:w,coordinate:g,crosshairs:uX(n,y),item:o,startX:$,startY:P,emitter:c}))}return SSn(b,Object.assign(Object.assign({},l),{datum:wy(h),elements:w0,scale:d,coordinate:g,groupKey:t?jse():void 0,item:o,emitter:c,view:h,theme:m,shared:t}))}}znt.props={reapplyWhenUpdate:!0};var ej=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const Bnt="legend-category",xSn="legend-continuous",_Sn="items-item",wSn="legend-category-item-marker",OSn="legend-category-item-label";function Fnt(e){return e.getElementsByClassName(wSn)[0]}function Hnt(e){return e.getElementsByClassName(OSn)[0]}function Wnt(e){return e.getElementsByClassName(_Sn)}function Lse(e){return e.getElementsByClassName(Bnt)}function qnt(e){return e.getElementsByClassName(xSn)}function ESn(e,t){[...Lse(e),...qnt(e)].forEach(r=>{t(r,i=>i)})}function Lee(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function $Sn(e,{legends:t,marker:n,label:r,datum:i,filter:o,emitter:a,channel:l,state:s={}}){const u=new Map,c=new Map,f=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=s,d={unselected:hn(h,"marker")},p={unselected:hn(h,"label")},{setState:g,removeState:m}=oh(d,void 0),{setState:v,removeState:y}=oh(p,void 0),b=Array.from(t(e));let C=b.map(i);const x=()=>{for(const O of b){const $=i(O),P=n(O),T=r(O);C.includes($)?(m(P,"unselected"),y(T,"unselected")):(g(P,"unselected"),v(T,"unselected"))}};for(const O of b){const $=()=>{I1(e,"pointer")},P=()=>{nSn(e)},T=R=>ej(this,void 0,void 0,function*(){const M=i(O),A=C.indexOf(M);A===-1?C.push(M):C.splice(A,1),C.length===0&&C.push(...b.map(i)),yield o(C),x();const{nativeEvent:N=!0}=R;N&&(C.length===b.length?a.emit("legend:reset",{nativeEvent:N}):a.emit("legend:filter",Object.assign(Object.assign({},R),{nativeEvent:N,data:{channel:l,values:C}})))});O.addEventListener("click",T),O.addEventListener("pointerenter",$),O.addEventListener("pointerout",P),u.set(O,T),c.set(O,$),f.set(O,P)}const S=O=>ej(this,void 0,void 0,function*(){const{nativeEvent:$}=O;if($)return;const{data:P}=O,{channel:T,values:R}=P;T===l&&(C=R,yield o(C),x())}),w=O=>ej(this,void 0,void 0,function*(){const{nativeEvent:$}=O;$||(C=b.map(i),yield o(C),x())});return a.on("legend:filter",S),a.on("legend:reset",w),()=>{for(const O of b)O.removeEventListener("click",u.get(O)),O.removeEventListener("pointerenter",c.get(O)),O.removeEventListener("pointerout",f.get(O)),a.off("legend:filter",S),a.off("legend:reset",w)}}function PSn(e,{legend:t,filter:n,emitter:r,channel:i}){const o=({detail:{value:a}})=>{n(a),r.emit({nativeEvent:!0,data:{channel:i,values:a}})};return t.addEventListener("valuechange",o),()=>{t.removeEventListener("valuechange",o)}}function Vnt(e,{legend:t,channel:n,value:r,ordinal:i,channels:o,allChannels:a,facet:l=!1}){return ej(this,void 0,void 0,function*(){const{view:s,update:u,setState:c}=e;c(t,f=>{const{marks:h}=f,d=h.map(p=>{if(p.type==="legends")return p;const{transform:g=[]}=p,m=g.findIndex(({type:b})=>b.startsWith("group")||b.startsWith("bin")),v=[...g];v.splice(m+1,0,{type:"filter",[n]:{value:r,ordinal:i}});const y=Object.fromEntries(o.map(b=>[b,{domain:s.scale[b].getOptions().domain}]));return Dt({},p,Object.assign(Object.assign({transform:v,scale:y},!i&&{animate:!1}),{legend:l?!1:Object.fromEntries(a.map(b=>[b,{preserve:!0}]))}))});return Object.assign(Object.assign({},f),{marks:d})}),yield u()})}function TSn(e,t){for(const n of e)Vnt(n,Object.assign(Object.assign({},t),{facet:!0}))}function MSn(){return(e,t,n)=>{const{container:r}=e,i=t.filter(f=>f!==e),o=i.length>0,a=f=>Lee(f).scales.map(h=>h.name),l=[...Lse(r),...qnt(r)],s=l.flatMap(a),u=o?py(TSn,50,{trailing:!0}):py(Vnt,50,{trailing:!0}),c=l.map(f=>{const{name:h,domain:d}=Lee(f).scales[0],p=a(f),g={legend:f,channel:h,channels:p,allChannels:s};return f.className===Bnt?$Sn(r,{legends:Wnt,marker:Fnt,label:Hnt,datum:m=>{const{__data__:v}=m,{index:y}=v;return d[y]},filter:m=>{const v=Object.assign(Object.assign({},g),{value:m,ordinal:!0});u(o?i:e,v)},state:f.attributes.state,channel:h,emitter:n}):PSn(r,{legend:f,filter:m=>{const v=Object.assign(Object.assign({},g),{value:m,ordinal:!1});u(o?i:e,v)},emitter:n,channel:h})});return()=>{c.forEach(f=>f())}}}function RSn(){return(e,t,n)=>{const{container:r,view:i,options:o}=e,a=Lse(r),l=w0(r),s=d=>Lee(d).scales[0].name,u=d=>{const{scale:{[d]:p}}=i;return p},c=Y4(o,["active","inactive"]),f=VP(l,wy(i)),h=[];for(const d of a){const p=j=>{const{data:z}=d.attributes,{__data__:V}=j,{index:W}=V;return z[W].label},g=s(d),m=Wnt(d),v=u(g),y=Ji(l,j=>v.invert(j.__data__[g])),{state:b={}}=d.attributes,{inactive:C={}}=b,{setState:x,removeState:S}=oh(c,f),w={inactive:hn(C,"marker")},O={inactive:hn(C,"label")},{setState:$,removeState:P}=oh(w),{setState:T,removeState:R}=oh(O),M=j=>{for(const z of m){const V=Fnt(z),W=Hnt(z);z===j||j===null?(P(V,"inactive"),R(W,"inactive")):($(V,"inactive"),T(W,"inactive"))}},A=(j,z)=>{const V=p(z),W=new Set(y.get(V));for(const K of l)W.has(K)?x(K,"active"):x(K,"inactive");M(z);const{nativeEvent:U=!0}=j;U&&n.emit("legend:highlight",Object.assign(Object.assign({},j),{nativeEvent:U,data:{channel:g,value:V}}))},N=new Map;for(const j of m){const z=V=>{A(V,j)};j.addEventListener("pointerover",z),N.set(j,z)}const k=j=>{for(const V of l)S(V,"inactive","active");M(null);const{nativeEvent:z=!0}=j;z&&n.emit("legend:unhighlight",{nativeEvent:z})},D=j=>{const{nativeEvent:z,data:V}=j;if(z)return;const{channel:W,value:U}=V;if(W!==g)return;const K=m.find(X=>p(X)===U);K&&A({nativeEvent:!1},K)},L=j=>{const{nativeEvent:z}=j;z||k({nativeEvent:!1})};d.addEventListener("pointerleave",k),n.on("legend:highlight",D),n.on("legend:unhighlight",L);const B=()=>{d.removeEventListener(k),n.off("legend:highlight",D),n.off("legend:unhighlight",L);for(const[j,z]of N)j.removeEventListener(z)};h.push(B)}return()=>h.forEach(d=>d())}}var Js=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii||so||u{const t=e.attributes,{x:n,y:r,width:i,height:o,class:a,renders:l={},handleSize:s=10,document:u}=t,c=Js(t,["x","y","width","height","class","renders","handleSize","document"]);if(!u||i===void 0||o===void 0||n===void 0||r===void 0)return;const f=s/2,h=(U,K,X)=>{U.handle||(U.handle=X.createElement("rect"),U.append(U.handle));const{handle:G}=U;return G.attr(K),G},d=hn(hK(c,"handleNW","handleNE"),"handleN"),{render:p=h}=d,g=Js(d,["render"]),m=hn(c,"handleE"),{render:v=h}=m,y=Js(m,["render"]),b=hn(hK(c,"handleSE","handleSW"),"handleS"),{render:C=h}=b,x=Js(b,["render"]),S=hn(c,"handleW"),{render:w=h}=S,O=Js(S,["render"]),$=hn(c,"handleNW"),{render:P=h}=$,T=Js($,["render"]),R=hn(c,"handleNE"),{render:M=h}=R,A=Js(R,["render"]),N=hn(c,"handleSE"),{render:k=h}=N,D=Js(N,["render"]),L=hn(c,"handleSW"),{render:B=h}=L,j=Js(L,["render"]),z=(U,K)=>{const{id:X}=U,G=U.attributes,Y=Js(G,["x","y"]),J=K(U,Object.assign({x:0,y:0},Y),u);J.id=X,J.style.draggable=!0},V=U=>()=>{const K=B4(X=>z(X,U));return new K({})},W=Un(e).attr("className",a).style("x",n).style("y",r).style("draggable",!0);W.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(wp,Object.assign({width:i,height:o},hK(c,"handle"))),W.maybeAppend("handle-n",V(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(wp,g),W.maybeAppend("handle-e",V(v)).style("x",i-f).style("y",f).style("width",s).style("height",o-s).style("fill","transparent").call(wp,y),W.maybeAppend("handle-s",V(C)).style("x",f).style("y",o-f).style("width",i-s).style("height",s).style("fill","transparent").call(wp,x),W.maybeAppend("handle-w",V(w)).style("x",-f).style("y",f).style("width",s).style("height",o-s).style("fill","transparent").call(wp,O),W.maybeAppend("handle-nw",V(P)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(wp,T),W.maybeAppend("handle-ne",V(M)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(wp,A),W.maybeAppend("handle-se",V(k)).style("x",i-f).style("y",o-f).style("width",s).style("height",s).style("fill","transparent").call(wp,D),W.maybeAppend("handle-sw",V(B)).style("x",-f).style("y",o-f).style("width",s).style("height",s).style("fill","transparent").call(wp,j)});function zse(e,t){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:o=()=>{},brushupdated:a=()=>{},extent:l=ASn(e),brushRegion:s=(G,Y,J,ee,Q)=>[G,Y,J,ee],reverse:u=!1,fill:c="#777",fillOpacity:f="0.3",stroke:h="#fff",selectedHandles:d=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,p=Js(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,v=null,y=null,b=null,C=!1;const[x,S,w,O]=l;I1(e,"crosshair"),e.style.draggable=!0;const $=(G,Y,J)=>{if(o(J),y&&y.remove(),b&&b.remove(),g=[G,Y],u)return P();T()},P=()=>{b=new is({style:Object.assign(Object.assign({},p),{fill:c,fillOpacity:f,stroke:h,pointerEvents:"none"})}),y=new z$e({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(b),e.appendChild(y)},T=()=>{y=new z$e({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},p),{fill:c,fillOpacity:f,stroke:h,draggable:!0}),className:"mask"}),e.appendChild(y)},R=(G=!0)=>{y&&y.remove(),b&&b.remove(),g=null,m=null,v=null,C=!1,y=null,b=null,r(G)},M=(G,Y,J=!0)=>{const[ee,Q,te,ne]=NSn(G[0],G[1],Y[0],Y[1],l),[re,oe,se,ye]=s(ee,Q,te,ne,l);return u?N(re,oe,se,ye):A(re,oe,se,ye),n(re,oe,se,ye,J),[re,oe,se,ye]},A=(G,Y,J,ee)=>{y.style.x=G,y.style.y=Y,y.style.width=J-G,y.style.height=ee-Y},N=(G,Y,J,ee)=>{b.style.d=` + `}function byn(e,t){const[n,r,i,o]=hee(e),a=o/i,l=Math.ceil(Math.sqrt(t/a)),s=Math.ceil(t/l),u=[],c=o/s;let f=0,h=t;for(;h>0;){const d=Math.min(h,l),p=i/d;for(let g=0;g{c.style.transform="none",zae(c,n)},c.style.transform="none",h}function wyn(e,t,n,r){e.style.visibility="hidden";const i=r(e,t.length);return t.map((o,a)=>{const l=new is({style:Object.assign({path:i[a]},V4(e,U4))});return ise(o,l,o,n)})}function Oyn(e,t,n,r){const i=r(t,e.length),{fillOpacity:o=1,strokeOpacity:a=1,opacity:l=1}=t.style,s=[{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:0,strokeOpacity:0,opacity:0,offset:.99},{fillOpacity:o,strokeOpacity:a,opacity:l}],u=t.animate(s,n);return[...e.map((f,h)=>{const d=new is({style:{path:i[h],fill:t.style.fill}});return ise(f,f,d,n)}),u]}const Eet=e=>(t,n,r)=>{const i=Cyn(e.split),o=Object.assign(Object.assign({},r),e),{length:a}=t,{length:l}=n;if(a===1&&l===1||a>1&&l>1){const[s]=t,[u]=n;return ise(s,s,u,o)}if(a===1&&l>1){const[s]=t;return wyn(s,n,o,i)}if(a>1&&l===1){const[s]=n;return Oyn(t,s,o,i)}return null};Eet.props={};const $et=(e,t)=>{qXe.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:vn.NUMBER});const{coordinate:r}=t;return(i,o,a)=>{const[l]=i;if(!Ai(r))return rse(e,t)(i,o,a);const s=r.getCenter(),{__data__:u,style:c}=l,{radius:f=0,inset:h=0,fillOpacity:d=1,strokeOpacity:p=1,opacity:g=1}=c,{points:m,y:v,y1:y}=u,b=iH().cornerRadius(f).padAngle(h*Math.PI/180),C=ob(r,m,[v,y]),{startAngle:x,endAngle:S}=C,w=new is({}),O=T=>{w.attr({d:b(T),transform:`translate(${s[0]}, ${s[1]})`});const R=cle(w);return w.style.transform="",R},$=[{waveInArcAngle:x+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:x+1e-4,fillOpacity:d,strokeOpacity:p,opacity:g,offset:.01},{waveInArcAngle:S,fillOpacity:d,strokeOpacity:p,opacity:g}],P=l.animate($,Object.assign(Object.assign({},a),e));return P.onframe=function(){l.style.path=O(Object.assign(Object.assign({},C),{endAngle:Number(l.style.waveInArcAngle)}))},P.onfinish=function(){l.style.path=O(Object.assign(Object.assign({},C),{endAngle:S}))},P}};$et.props={};const Eyn=e=>(n,r,i)=>{const[o]=n,{transform:a="",fillOpacity:l=1,strokeOpacity:s=1,opacity:u=1}=o.style,c="center center",f=[{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u,offset:.01},{transform:`${a} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u}];return o.animate(f,Object.assign(Object.assign({},i),e))},$yn=e=>(n,r,i)=>{const[o]=n,{transform:a="",fillOpacity:l=1,strokeOpacity:s=1,opacity:u=1}=o.style,c="center center",f=[{transform:`${a} scale(1)`.trimStart(),transformOrigin:c},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:l,strokeOpacity:s,opacity:u,offset:.99},{transform:`${a} scale(${1e-4})`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}];return o.animate(f,Object.assign(Object.assign({},i),e))},Pet=e=>(t,n,r)=>{var i,o;const[a]=t,l=((o=(i=a).getTotalLength)===null||o===void 0?void 0:o.call(i))||0,s=[{lineDash:[0,l]},{lineDash:[l,0]}];return a.animate(s,Object.assign(Object.assign({},r),e))};Pet.props={};const Tet=(e,t)=>(n,r,i)=>{const[o]=n,{height:a,width:l}=o.getBoundingClientRect(),s=new is({style:{path:`M0,0L${l},0L${l},${a}L0,${a}Z`}});return o.appendChild(s),o.style.clipPath=s,rse(e,t)([s],r,i)};Tet.props={};const Met=(e,t)=>(n,r,i)=>{const[o]=n,{height:a,width:l}=o.getBoundingClientRect(),s=new is({style:{path:`M0,0L${l},0L${l},${a}L0,${a}Z`}});return o.appendChild(s),o.style.clipPath=s,xet(e,t)([s],r,i)};Met.props={};const F7e="main-layer",gee="label-layer",Bp="element",mee="view",q7="plot",H7e="component",vee="label",W7e="area";function Pyn(e,t){var n=t.r;e.arc(n,n,n,0,Math.PI*2,!1)}function Tyn(e,t){var n=t.rx,r=t.ry,i=n,o=r;if(e.ellipse)e.ellipse(i,o,i,o,0,0,Math.PI*2,!1);else{var a=i>o?i:o,l=i>o?1:i/o,s=i>o?o/i:1;e.save(),e.scale(l,s),e.arc(a,a,a,0,Math.PI*2)}}function Myn(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.defX,l=a===void 0?0:a,s=t.defY,u=s===void 0?0:s,c=t.markerStart,f=t.markerEnd,h=t.markerStartOffset,d=t.markerEndOffset,p=0,g=0,m=0,v=0,y=0,b,C;c&&Hr(c)&&h&&(b=i-n,C=o-r,y=Math.atan2(C,b),p=Math.cos(y)*(h||0),g=Math.sin(y)*(h||0)),f&&Hr(f)&&d&&(b=n-i,C=r-o,y=Math.atan2(C,b),m=Math.cos(y)*(d||0),v=Math.sin(y)*(d||0)),e.moveTo(n-l+p,r-u+g),e.lineTo(i-l+m,o-u+v)}function Ryn(e,t){var n=t.defX,r=n===void 0?0:n,i=t.defY,o=i===void 0?0:i,a=t.markerStart,l=t.markerEnd,s=t.markerStartOffset,u=t.markerEndOffset,c=t.path,f=c.absolutePath,h=c.segments,d=0,p=0,g=0,m=0,v=0,y,b;if(a&&Hr(a)&&s){var C=Ae(a.parentNode.getStartTangent(),2),x=C[0],S=C[1];y=x[0]-S[0],b=x[1]-S[1],v=Math.atan2(b,y),d=Math.cos(v)*(s||0),p=Math.sin(v)*(s||0)}if(l&&Hr(l)&&u){var w=Ae(l.parentNode.getEndTangent(),2),x=w[0],S=w[1];y=x[0]-S[0],b=x[1]-S[1],v=Math.atan2(b,y),g=Math.cos(v)*(u||0),m=Math.sin(v)*(u||0)}for(var O=0;OL?D:L,U=D>L?1:D/L,K=D>L?L/D:1;e.translate(N-r,j-o),e.rotate(z),e.scale(U,K),e.arc(0,0,W,B,k,!!(1-q)),e.scale(1/U,1/K),e.rotate(-z),e.translate(-(N-r),-(j-o))}M&&e.lineTo($[6]-r+g,$[7]-o+m);break}case"Z":e.closePath();break}}}function Iyn(e,t){var n=t.defX,r=n===void 0?0:n,i=t.defY,o=i===void 0?0:i,a=t.markerStart,l=t.markerEnd,s=t.markerStartOffset,u=t.markerEndOffset,c=t.points.points,f=c.length,h=c[0][0]-r,d=c[0][1]-o,p=c[f-1][0]-r,g=c[f-1][1]-o,m=0,v=0,y=0,b=0,C=0,x,S;a&&Hr(a)&&s&&(x=c[1][0]-c[0][0],S=c[1][1]-c[0][1],C=Math.atan2(S,x),m=Math.cos(C)*(s||0),v=Math.sin(C)*(s||0)),l&&Hr(l)&&u&&(x=c[f-1][0]-c[0][0],S=c[f-1][1]-c[0][1],C=Math.atan2(S,x),y=Math.cos(C)*(u||0),b=Math.sin(C)*(u||0)),e.moveTo(h+(m||y),d+(v||b));for(var w=1;w0?1:-1,u=i>0?1:-1,c=s+u===0,f=Ae(n.map(function(m){return vo(m,0,Math.min(Math.abs(o)/2,Math.abs(a)/2))}),4),h=f[0],d=f[1],p=f[2],g=f[3];e.moveTo(s*h,0),e.lineTo(o-s*d,0),d!==0&&e.arc(o-s*d,u*d,d,-u*Math.PI/2,s>0?0:Math.PI,c),e.lineTo(o,a-u*p),p!==0&&e.arc(o-s*p,a-u*p,p,s>0?0:Math.PI,u>0?Math.PI/2:1.5*Math.PI,c),e.lineTo(s*g,a),g!==0&&e.arc(s*g,a-u*g,g,u>0?Math.PI/2:-Math.PI/2,s>0?Math.PI:0,c),e.lineTo(0,u*h),h!==0&&e.arc(s*h,u*h,h,s>0?Math.PI:0,u>0?Math.PI*1.5:Math.PI/2,c)}}var kyn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.name="canvas-path-generator",n}return t.prototype.init=function(){var n,r=(n={},n[Rt.CIRCLE]=Pyn,n[Rt.ELLIPSE]=Tyn,n[Rt.RECT]=Ayn,n[Rt.LINE]=Myn,n[Rt.POLYLINE]=Nyn,n[Rt.POLYGON]=Iyn,n[Rt.PATH]=Ryn,n[Rt.TEXT]=void 0,n[Rt.GROUP]=void 0,n[Rt.IMAGE]=void 0,n[Rt.HTML]=void 0,n[Rt.MESH]=void 0,n);this.context.pathGeneratorFactory=r},t.prototype.destroy=function(){delete this.context.pathGeneratorFactory},t}(B0),jyn=_r(),Dyn=_r(),Lyn=_r(),zyn=ci(),Byn=function(){function e(){var t=this;this.isHit=function(n,r,i,o){var a=t.context.pointInPathPickerFactory[n.nodeName];if(a){var l=pd(zyn,i),s=xa(Dyn,ud(Lyn,r[0],r[1],0),l),u=n.getGeometryBounds().halfExtents,c=n.parsedStyle.anchor;if(s[0]+=(c&&c[0]||0)*u[0]*2,s[1]+=(c&&c[1]||0)*u[1]*2,a(n,new La(s[0],s[1]),o,t.isPointInPath,t.context,t.runtime))return!0}return!1},this.isPointInPath=function(n,r){var i=t.runtime.offscreenCanvasCreator.getOrCreateContext(t.context.config.offscreenCanvas),o=t.context.pathGeneratorFactory[n.nodeName];return o&&(i.beginPath(),o(i,n.parsedStyle),i.closePath()),i.isPointInPath(r.x,r.y)}}return e.prototype.apply=function(t,n){var r=this,i,o=t.renderingService,a=t.renderingContext;this.context=t,this.runtime=n;var l=(i=a.root)===null||i===void 0?void 0:i.ownerDocument;o.hooks.pick.tapPromise(e.tag,function(s){return T4(r,void 0,void 0,function(){return M4(this,function(u){return[2,this.pick(l,s)]})})}),o.hooks.pickSync.tap(e.tag,function(s){return r.pick(l,s)})},e.prototype.pick=function(t,n){var r,i,o=n.topmost,a=n.position,l=a.x,s=a.y,u=ud(jyn,l,s,0),c=t.elementsFromBBox(u[0],u[1],u[0],u[1]),f=[];try{for(var h=ac(c),d=h.next();!d.done;d=h.next()){var p=d.value,g=p.getWorldTransform(),m=this.isHit(p,u,g,!1);if(m){var v=kXe(p);if(v){var y=v.parsedStyle.clipPath,b=this.isHit(y,u,y.getWorldTransform(),!0);if(b){if(o)return n.picked=[p],n;f.push(p)}}else{if(o)return n.picked=[p],n;f.push(p)}}}}catch(C){r={error:C}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}return n.picked=f,n},e.tag="CanvasPicker",e}();function Fyn(e,t,n){var r=e.parsedStyle,i=r.r,o=r.fill,a=r.stroke,l=r.lineWidth,s=r.increasedLineWidthForHitTesting,u=r.pointerEvents,c=((l||0)+(s||0))/2,f=nh(i,i,t.x,t.y),h=Ae(rb(u,o,a),2),d=h[0],p=h[1];return d&&p||n?f<=i+c:d?f<=i:p?f>=i-c&&f<=i+c:!1}function SA(e,t,n,r){return e/(n*n)+t/(r*r)}function Hyn(e,t,n){var r=e.parsedStyle,i=r.rx,o=r.ry,a=r.fill,l=r.stroke,s=r.lineWidth,u=r.increasedLineWidthForHitTesting,c=r.pointerEvents,f=t.x,h=t.y,d=Ae(rb(c,a,l),2),p=d[0],g=d[1],m=((s||0)+(u||0))/2,v=(f-i)*(f-i),y=(h-o)*(h-o);return p&&g||n?SA(v,y,i+m,o+m)<=1:p?SA(v,y,i,o)<=1:g?SA(v,y,i-m,o-m)>=1&&SA(v,y,i+m,o+m)<=1:!1}function Tv(e,t,n,r,i,o){return i>=e&&i<=e+n&&o>=t&&o<=t+r}function Wyn(e,t,n,r,i,o,a){var l=i/2;return Tv(e-l,t-l,n,i,o,a)||Tv(e+n-l,t-l,i,r,o,a)||Tv(e+l,t+r-l,n,i,o,a)||Tv(e-l,t+l,i,r,o,a)}function xA(e,t,n,r,i,o,a,l){var s=(Math.atan2(l-t,a-e)+Math.PI*2)%(Math.PI*2),u={x:e+n*Math.cos(s),y:t+n*Math.sin(s)};return nh(u.x,u.y,a,l)<=o/2}function U1(e,t,n,r,i,o,a){var l=Math.min(e,n),s=Math.max(e,n),u=Math.min(t,r),c=Math.max(t,r),f=i/2;return o>=l-f&&o<=s+f&&a>=u-f&&a<=c+f?hln(e,t,n,r,o,a)<=i/2:!1}function Ret(e,t,n,r,i){var o=e.length;if(o<2)return!1;for(var a=0;a0!=JK(l[1]-n)>0&&JK(t-(n-a[1])*(a[0]-l[0])/(a[1]-l[1])-a[0])<0&&(r=!r)}return r}function q7e(e,t,n){for(var r=!1,i=0;iC&&$>x,g&&(g.resetTransform?g.resetTransform():g.setTransform(1,0,0,1,0,0),r.clearFullScreen&&r.clearRect(g,0,0,v*m,y*m,i.background))});var p=function(g,m){g.isVisible()&&!g.isCulled()&&(r.renderDisplayObject(g,m,r.context,r.restoreStack,n),r.saveDirtyAABB(g));var v=g.sortable.sorted||g.childNodes;v.forEach(function(y){p(y,m)})};a.hooks.endFrame.tap(e.tag,function(){var g=c.getContext(),m=c.getDPR();if(Mae(r.dprMatrix,[m,m,1]),Ol(r.vpMatrix,r.dprMatrix,o.getOrthoMatrix()),r.clearFullScreen)p(l.root,g);else{var v=r.safeMergeAABB.apply(r,Kt([r.mergeDirtyAABBs(r.renderQueue)],Ae(r.removedRBushNodeAABBs.map(function(z){var q=z.minX,W=z.minY,U=z.maxX,K=z.maxY,X=new Jo;return X.setMinMax([q,W,0],[U,K,0]),X})),!1));if(r.removedRBushNodeAABBs=[],Jo.isEmpty(v)){r.renderQueue=[];return}var y=r.convertAABB2Rect(v),b=y.x,C=y.y,x=y.width,S=y.height,w=xa(r.vec3a,[b,C,0],r.vpMatrix),O=xa(r.vec3b,[b+x,C,0],r.vpMatrix),$=xa(r.vec3c,[b,C+S,0],r.vpMatrix),P=xa(r.vec3d,[b+x,C+S,0],r.vpMatrix),T=Math.min(w[0],O[0],P[0],$[0]),R=Math.min(w[1],O[1],P[1],$[1]),M=Math.max(w[0],O[0],P[0],$[0]),A=Math.max(w[1],O[1],P[1],$[1]),N=Math.floor(T),j=Math.floor(R),D=Math.ceil(M-T),L=Math.ceil(A-R);g.save(),r.clearRect(g,N,j,D,L,i.background),g.beginPath(),g.rect(N,j,D,L),g.clip(),g.setTransform(r.vpMatrix[0],r.vpMatrix[1],r.vpMatrix[4],r.vpMatrix[5],r.vpMatrix[12],r.vpMatrix[13]);var B=i.renderer.getConfig().enableDirtyRectangleRenderingDebug;B&&f.dispatchEvent(new vi(Ss.DIRTY_RECTANGLE,{dirtyRect:{x:N,y:j,width:D,height:L}}));var k=r.searchDirtyObjects(v);k.sort(function(z,q){return z.sortable.renderOrder-q.sortable.renderOrder}).forEach(function(z){z&&z.isVisible()&&!z.isCulled()&&r.renderDisplayObject(z,g,r.context,r.restoreStack,n)}),g.restore(),r.renderQueue.forEach(function(z){r.saveDirtyAABB(z)}),r.renderQueue=[]}r.restoreStack.forEach(function(){g.restore()}),r.restoreStack=[]}),a.hooks.render.tap(e.tag,function(g){r.clearFullScreen||r.renderQueue.push(g)})},e.prototype.clearRect=function(t,n,r,i,o,a){t.clearRect(n,r,i,o),a&&(t.fillStyle=a,t.fillRect(n,r,i,o))},e.prototype.renderDisplayObject=function(t,n,r,i,o){var a=t.nodeName,l=i[i.length-1];l&&!(t.compareDocumentPosition(l)&Na.DOCUMENT_POSITION_CONTAINS)&&(n.restore(),i.pop());var s=this.context.styleRendererFactory[a],u=this.pathGeneratorFactory[a],c=t.parsedStyle.clipPath;if(c){this.applyWorldTransform(n,c);var f=this.pathGeneratorFactory[c.nodeName];f&&(n.save(),i.push(t),n.beginPath(),f(n,c.parsedStyle),n.closePath(),n.clip())}s&&(this.applyWorldTransform(n,t),n.save(),this.applyAttributesToContext(n,t)),u&&(n.beginPath(),u(n,t.parsedStyle),t.nodeName!==Rt.LINE&&t.nodeName!==Rt.PATH&&t.nodeName!==Rt.POLYLINE&&n.closePath()),s&&(s.render(n,t.parsedStyle,t,r,this,o),n.restore()),t.renderable.dirty=!1},e.prototype.convertAABB2Rect=function(t){var n=t.getMin(),r=t.getMax(),i=Math.floor(n[0]),o=Math.floor(n[1]),a=Math.ceil(r[0]),l=Math.ceil(r[1]),s=a-i,u=l-o;return{x:i,y:o,width:s,height:u}},e.prototype.mergeDirtyAABBs=function(t){var n=new Jo;return t.forEach(function(r){var i=r.getRenderBounds();n.add(i);var o=r.renderable.dirtyRenderBounds;o&&n.add(o)}),n},e.prototype.searchDirtyObjects=function(t){var n=Ae(t.getMin(),2),r=n[0],i=n[1],o=Ae(t.getMax(),2),a=o[0],l=o[1],s=this.rBush.search({minX:r,minY:i,maxX:a,maxY:l});return s.map(function(u){var c=u.displayObject;return c})},e.prototype.saveDirtyAABB=function(t){var n=t.renderable;n.dirtyRenderBounds||(n.dirtyRenderBounds=new Jo);var r=t.getRenderBounds();r&&n.dirtyRenderBounds.update(r.center,r.halfExtents)},e.prototype.applyAttributesToContext=function(t,n){var r=n.parsedStyle,i=r.stroke,o=r.fill,a=r.opacity,l=r.lineDash,s=r.lineDashOffset;l&&t.setLineDash(l),Cn(s)||(t.lineDashOffset=s),Cn(a)||(t.globalAlpha*=a),!Cn(i)&&!Array.isArray(i)&&!i.isNone&&(t.strokeStyle=n.attributes.stroke),!Cn(o)&&!Array.isArray(o)&&!o.isNone&&(t.fillStyle=n.attributes.fill)},e.prototype.applyWorldTransform=function(t,n,r){var i=0,o=0,a=(n.parsedStyle||{}).anchor,l=a&&a[0]||0,s=a&&a[1]||0;if(l!==0||s!==0){var u=n.geometry.contentBounds,c=u&&u.halfExtents[0]*2||0,f=u&&u.halfExtents[1]*2||0;i=-(l*c),o=-(s*f)}r?(hy(this.tmpMat4,n.getLocalTransform()),this.vec3a[0]=i,this.vec3a[1]=o,this.vec3a[2]=0,a0(this.tmpMat4,this.tmpMat4,this.vec3a),Ol(this.tmpMat4,r,this.tmpMat4),Ol(this.tmpMat4,this.vpMatrix,this.tmpMat4)):(hy(this.tmpMat4,n.getWorldTransform()),this.vec3a[0]=i,this.vec3a[1]=o,this.vec3a[2]=0,a0(this.tmpMat4,this.tmpMat4,this.vec3a),Ol(this.tmpMat4,this.vpMatrix,this.tmpMat4)),t.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])},e.prototype.safeMergeAABB=function(){for(var t=[],n=0;n0,w=l.alpha===0,O=!!(b&&b.length),$=!Cn(v)&&y>0,P=r.nodeName,T=m==="inner",R=S&&$&&(P===Rt.PATH||P===Rt.LINE||P===Rt.POLYLINE||w||T);x&&(t.globalAlpha=u*c,R||bL(r,t,$),this.fill(t,r,l,s,i,o,a),R||this.clearShadowAndFilter(t,O,$)),S&&(t.globalAlpha=u*h,t.lineWidth=d,Cn(C)||(t.miterLimit=C),Cn(p)||(t.lineCap=p),Cn(g)||(t.lineJoin=g),R&&(T&&(t.globalCompositeOperation="source-atop"),bL(r,t,!0),T&&(this.stroke(t,r,f,i,o,a),t.globalCompositeOperation="source-over",this.clearShadowAndFilter(t,O,!0))),this.stroke(t,r,f,i,o,a))},e.prototype.clearShadowAndFilter=function(t,n,r){if(r&&(t.shadowColor="transparent",t.shadowBlur=0),n){var i=t.filter;!Cn(i)&&i.indexOf("drop-shadow")>-1&&(t.filter=i.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}},e.prototype.fill=function(t,n,r,i,o,a,l){var s=this;Array.isArray(r)?r.forEach(function(u){t.fillStyle=s.getColor(u,n,t),i?t.fill(i):t.fill()}):(j7(r)&&(t.fillStyle=this.getPattern(r,n,t,o,a,l)),i?t.fill(i):t.fill())},e.prototype.stroke=function(t,n,r,i,o,a){var l=this;Array.isArray(r)?r.forEach(function(s){t.strokeStyle=l.getColor(s,n,t),t.stroke()}):(j7(r)&&(t.strokeStyle=this.getPattern(r,n,t,i,o,a)),t.stroke())},e.prototype.getPattern=function(t,n,r,i,o,a){var l,s;if(t.image.nodeName==="rect"){var u=t.image.parsedStyle,c=u.width,f=u.height;s=i.contextService.getDPR();var h=i.config.offscreenCanvas;l=a.offscreenCanvasCreator.getOrCreateCanvas(h),l.width=c*s,l.height=f*s;var d=a.offscreenCanvasCreator.getOrCreateContext(h),p=[];t.image.forEach(function(m){o.renderDisplayObject(m,d,i,p,a)}),p.forEach(function(){d.restore()})}var g=this.imagePool.getOrCreatePatternSync(t,r,l,s,function(){n.renderable.dirty=!0,i.renderingService.dirtify()});return g},e.prototype.getColor=function(t,n,r){var i;if(t.type===bf.LinearGradient||t.type===bf.RadialGradient){var o=n.getGeometryBounds(),a=o&&o.halfExtents[0]*2||1,l=o&&o.halfExtents[1]*2||1;i=this.imagePool.getOrCreateGradient(Mt(Mt({type:t.type},t.value),{width:a,height:l}),r)}return i},e}();function bL(e,t,n){var r=e.parsedStyle,i=r.filter,o=r.shadowColor,a=r.shadowBlur,l=r.shadowOffsetX,s=r.shadowOffsetY;i&&i.length&&(t.filter=e.style.filter),n&&(t.shadowColor=o.toString(),t.shadowBlur=a||0,t.shadowOffsetX=l||0,t.shadowOffsetY=s||0)}var nbn=function(){function e(t){this.imagePool=t}return e.prototype.render=function(t,n,r){var i=n.width,o=n.height,a=n.img,l=n.shadowColor,s=n.shadowBlur,u,c=i,f=o;if(eo(a)?u=this.imagePool.getImageSync(a):(c||(c=a.width),f||(f=a.height),u=a),u){var h=!Cn(l)&&s>0;bL(r,t,h);try{t.drawImage(u,0,0,c,f)}catch{}}},e}(),rbn=function(){function e(){}return e.prototype.render=function(t,n,r,i,o,a){var l=n,s=l.lineWidth,u=l.textAlign,c=l.textBaseline,f=l.lineJoin,h=l.miterLimit,d=l.letterSpacing,p=l.stroke,g=l.fill,m=l.fillOpacity,v=l.strokeOpacity,y=l.opacity,b=l.metrics,C=l.dx,x=l.dy,S=l.shadowColor,w=l.shadowBlur,O=b.font,$=b.lines,P=b.height,T=b.lineHeight,R=b.lineMetrics;t.font=O,t.lineWidth=s,t.textAlign=u==="middle"?"center":u;var M=c;!a.enableCSSParsing&&M==="alphabetic"&&(M="bottom"),t.lineJoin=f,Cn(h)||(t.miterLimit=h);var A=0;c==="middle"?A=-P/2-T/2:c==="bottom"||c==="alphabetic"||c==="ideographic"?A=-P:(c==="top"||c==="hanging")&&(A=-T);var N=C||0;A+=x||0,$.length===1&&(M==="bottom"?(M="middle",A-=.5*P):M==="top"&&(M="middle",A+=.5*P)),t.textBaseline=M;var j=!Cn(S)&&w>0;bL(r,t,j);for(var D=0;D<$.length;D++){var L=s/2+N;A+=T,!Cn(p)&&!p.isNone&&s&&this.drawLetterSpacing(t,$[D],R[D],u,L,A,d,m,v,y,!0),Cn(g)||this.drawLetterSpacing(t,$[D],R[D],u,L,A,d,m,v,y)}},e.prototype.drawLetterSpacing=function(t,n,r,i,o,a,l,s,u,c,f){if(f===void 0&&(f=!1),l===0){f?this.strokeText(t,n,o,a,u):this.fillText(t,n,o,a,s,c);return}var h=t.textAlign;t.textAlign="left";var d=o;i==="center"||i==="middle"?d=o-r.width/2:(i==="right"||i==="end")&&(d=o-r.width);for(var p=Array.from(n),g=t.measureText(n).width,m=0,v=0;v=1?Math.ceil(i):1,this.dpr=i,this.$canvas&&(this.$canvas.width=this.dpr*t,this.$canvas.height=this.dpr*n,ccn(this.$canvas,t,n)),this.renderingContext.renderReasons.add(u0.CAMERA_CHANGED)},e.prototype.applyCursorStyle=function(t){this.$container&&this.$container.style&&(this.$container.style.cursor=t)},e.prototype.toDataURL=function(t){return t===void 0&&(t={}),T4(this,void 0,void 0,function(){var n,r;return M4(this,function(i){return n=t.type,r=t.encoderOptions,[2,this.context.canvas.toDataURL(n,r)]})})},e}(),hbn=function(e){$n(t,e);function t(){var n=e.apply(this,Kt([],Ae(arguments),!1))||this;return n.name="canvas-context-register",n}return t.prototype.init=function(){this.context.ContextService=pbn},t.prototype.destroy=function(){delete this.context.ContextService},t}(B0),Net=function(e){$n(t,e);function t(n){var r=e.call(this,n)||this;return r.registerPlugin(new hbn),r.registerPlugin(new fbn),r.registerPlugin(new kyn),r.registerPlugin(new ibn),r.registerPlugin(new abn),r.registerPlugin(new ebn),r.registerPlugin(new cbn),r}return t}(wln),gbn=function(){function e(t){this.dragndropPluginOptions=t}return e.prototype.apply=function(t){var n=this,r=t.renderingService,i=t.renderingContext,o=i.root.ownerDocument,a=o.defaultView,l=function(s){var u=s.target,c=u===o,f=c&&n.dragndropPluginOptions.isDocumentDraggable?o:u.closest&&u.closest("[draggable=true]");if(f){var h=!1,d=s.timeStamp,p=[s.clientX,s.clientY],g=null,m=[s.clientX,s.clientY],v=function(b){return T4(n,void 0,void 0,function(){var C,x,S,w,O,$;return M4(this,function(P){switch(P.label){case 0:if(!h){if(C=b.timeStamp-d,x=ys([b.clientX,b.clientY],p),C<=this.dragndropPluginOptions.dragstartTimeThreshold||x<=this.dragndropPluginOptions.dragstartDistanceThreshold)return[2];b.type="dragstart",f.dispatchEvent(b),h=!0}return b.type="drag",b.dx=b.clientX-m[0],b.dy=b.clientY-m[1],f.dispatchEvent(b),m=[b.clientX,b.clientY],c?[3,2]:(S=this.dragndropPluginOptions.overlap==="pointer"?[b.canvasX,b.canvasY]:u.getBounds().center,[4,o.elementsFromPoint(S[0],S[1])]);case 1:w=P.sent(),O=w[w.indexOf(u)+1],$=(O==null?void 0:O.closest("[droppable=true]"))||(this.dragndropPluginOptions.isDocumentDroppable?o:null),g!==$&&(g&&(b.type="dragleave",b.target=g,g.dispatchEvent(b)),$&&(b.type="dragenter",b.target=$,$.dispatchEvent(b)),g=$,g&&(b.type="dragover",b.target=g,g.dispatchEvent(b))),P.label=2;case 2:return[2]}})})};a.addEventListener("pointermove",v);var y=function(b){if(h){b.detail={preventClick:!0};var C=b.clone();g&&(C.type="drop",C.target=g,g.dispatchEvent(C)),C.type="dragend",f.dispatchEvent(C),h=!1}a.removeEventListener("pointermove",v)};u.addEventListener("pointerup",y,{once:!0}),u.addEventListener("pointerupoutside",y,{once:!0})}};r.hooks.init.tap(e.tag,function(){a.addEventListener("pointerdown",l)}),r.hooks.destroy.tap(e.tag,function(){a.removeEventListener("pointerdown",l)})},e.tag="Dragndrop",e}(),Aet=function(e){$n(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.options=n,r.name="dragndrop",r}return t.prototype.init=function(){this.addRenderingPlugin(new gbn(Mt({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))},t.prototype.destroy=function(){this.removeAllRenderingPlugins()},t.prototype.setOptions=function(n){Object.assign(this.plugins[0].dragndropPluginOptions,n)},t}(B0),mbn="*",ose=function(){function e(){this._events={}}return e.prototype.on=function(t,n,r){return this._events[t]||(this._events[t]=[]),this._events[t].push({callback:n,once:!!r}),this},e.prototype.once=function(t,n){return this.on(t,n,!0)},e.prototype.emit=function(t){for(var n=this,r=[],i=1;i0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Het=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;rn;)e-=Math.PI*2;return e}var Pbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Tbn=function(e,t,n,r,i){var o=Pbn(e,2),a=o[0],l=o[1],s=LC();return Cnn(s,[a,l])},U7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Mbn=function(e,t,n,r,i){var o=new Ri({range:[t,t+r]}),a=new Ri({range:[n,n+i]});return{transform:function(l){var s=U7e(l,2),u=s[0],c=s[1];return[o.map(u),a.map(c)]},untransform:function(l){var s=U7e(l,2),u=s[0],c=s[1];return[o.invert(u),a.invert(c)]}}},Rbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Ibn=function(e,t,n,r,i){var o=Rbn(e,1),a=o[0];return a(t,n,r,i)},Nbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Abn=function(e,t,n,r,i){var o=Nbn(e,1),a=o[0];return a},eX=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},kbn=function(e,t,n,r,i){var o=eX(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=new Ri({range:[s,u]}),f=new Ri({range:[a,l]}),h=i/r,d=h>1?1:h,p=h>1?1/h:1;return{transform:function(g){var m=eX(g,2),v=m[0],y=m[1],b=f.map(v),C=c.map(y),x=C*Math.cos(b)*d,S=C*Math.sin(b)*p,w=x*.5+.5,O=S*.5+.5;return[w,O]},untransform:function(g){var m=eX(g,2),v=m[0],y=m[1],b=(v-.5)*2/d,C=(y-.5)*2/p,x=Math.sqrt(Math.pow(b,2)+Math.pow(C,2)),S=Math.atan2(C,b),w=Wet(S,a,l),O=f.invert(w),$=c.invert(x);return[O,$]}}},G7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},jbn=function(e,t,n,r,i){return{transform:function(o){var a=G7e(o,2),l=a[0],s=a[1];return[s,l]},untransform:function(o){var a=G7e(o,2),l=a[0],s=a[1];return[s,l]}}},Dbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},PH=function(e,t,n,r,i){var o=Dbn(e,2),a=o[0],l=o[1],s=LC();return xnn(s,[a,l])},lse=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},sse=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Hbn=function(e,t,n,r,i){var o=Fbn(e,1),a=o[0],l=LC();return Snn(l,a)},tX=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Wbn=function(e,t,n,r,i){var o=tX(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=(l-0)/(2*Math.PI)+1,f=(u-s)/c,h=f/(Math.PI*2),d=new Ri({range:[s,s+f*.99]}),p=new Ri({range:[a,l]}),g=i/r,m=g>1?1:g,v=g>1?1/g:1;return{transform:function(y){var b=tX(y,2),C=b[0],x=b[1],S=p.map(C),w=d.map(x),O=Math.cos(S)*(h*S+w)*m,$=Math.sin(S)*(h*S+w)*v,P=O*.5+.5,T=$*.5+.5;return[P,T]},untransform:function(y){var b=tX(y,2),C=b[0],x=b[1],S=(C-.5)*2/m,w=(x-.5)*2/v,O=Math.sqrt(Math.pow(S,2)+Math.pow(w,2)),$=Math.atan2(w,S)+Math.floor(O/f)*Math.PI*2,P=Wet($,a,l),T=O-h*P,R=p.invert(P),M=d.invert(T);return[R,M]}}},qbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Vbn=function(e,t,n,r,i){var o=qbn(e,4),a=o[0],l=o[1],s=o[2],u=o[3],c=new Ri({range:[s,u]});return{transform:function(f){for(var h=[],d=f.length,p=new cKe({domain:new Array(d).fill(0).map(function(b,C){return C}),range:[a,l]}),g=0;g0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function qet(e){return 1/Math.tan(e)}var Ubn=function(e,t,n,r,i){var o=F3(e,1),a=o[0],l=qet(a);return{transform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=c+f*l;return[h,f]},untransform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=c-f*l;return[h,f]}}},Gbn=function(e,t,n,r,i){var o=F3(e,1),a=o[0],l=qet(a);return{transform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=f+c*l;return[c,h]},untransform:function(s){var u=F3(s,2),c=u[0],f=u[1],h=f-c*l;return[c,h]}}},du=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function V7(e,t,n,r,i){var o=es)return[y,b];var w=V7(S,0,u,0,s),O=Math.atan2(x,C),$=p+w*Math.cos(O),P=g+w*Math.sin(O);return[h.invert($),d.invert(P)]},untransform:function(m){var v=du(m,2),y=v[0],b=v[1],C=h.map(y)-p,x=d.map(b)-g,S=Math.sqrt(C*C+x*x);if(S>s)return[y,b];var w=U7(S,0,u,0,s),O=Math.atan2(x,C),$=p+w*Math.cos(O),P=g+w*Math.sin(O);return[h.invert($),d.invert(P)]}}},K7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Qbn=function(e,t,n,r,i,o,a){var l=new Ri({range:[t,t+i]}),s=new Ri({range:[n,n+o]}),u=new Ri({range:[r,r+a]});return{transform:function(c){var f=K7e(c,3),h=f[0],d=f[1],p=f[2];return[l.map(h),s.map(d),u.map(p)]},untransform:function(c){var f=K7e(c,3),h=f[0],d=f[1],p=f[2];return[l.invert(h),s.invert(d),u.invert(p)]}}},Jbn=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},e2n=function(e,t,n,r,i,o,a){var l=Jbn(e,3),s=l[0],u=l[1],c=l[2];return Tae(ci(),[s,u,c])},X7e=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},t2n=function(e,t,n,r,i,o,a){return{transform:function(l){var s=X7e(l,3),u=s[0],c=s[1],f=s[2];return[c,u,f]},untransform:function(l){var s=X7e(l,3),u=s[0],c=s[1],f=s[2];return[c,u,f]}}},n2n=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},r2n=function(e,t,n,r,i,o,a){var l=n2n(e,3),s=l[0],u=l[1],c=l[2];return Mae(ci(),[s,u,c])},b2=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},C2=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o2n=function(){function e(t){this.options={x:0,y:0,width:300,height:150,transformations:[]},this.transformers={cartesian:Mbn,translate:Tbn,custom:Ibn,matrix:Abn,polar:kbn,transpose:jbn,scale:PH,"shear.x":Ubn,"shear.y":Gbn,reflect:Lbn,"reflect.x":zbn,"reflect.y":Bbn,rotate:Hbn,helix:Wbn,parallel:Vbn,fisheye:Ybn,"fisheye.x":Kbn,"fisheye.y":Xbn,"fisheye.circular":Zbn},this.update(t)}return e.prototype.update=function(t){this.options=Let({},this.options,t),this.recoordinate()},e.prototype.clone=function(){return new e(this.options)},e.prototype.getOptions=function(){return this.options},e.prototype.clear=function(){this.update({transformations:[]})},e.prototype.getSize=function(){var t=this.options,n=t.width,r=t.height;return[n,r]},e.prototype.getCenter=function(){var t=this.options,n=t.x,r=t.y,i=t.width,o=t.height;return[(n*2+i)/2,(r*2+o)/2]},e.prototype.transform=function(){for(var t=[],n=0;n0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},x2=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l2n=function(){function e(t){this.options={x:0,y:0,z:0,width:300,height:150,depth:150,transformations:[]},this.transformers={cartesian3D:Qbn,translate3D:e2n,scale3D:r2n,transpose3D:t2n},this.update(t)}return e.prototype.update=function(t){this.options=Let({},this.options,t),this.recoordinate()},e.prototype.clone=function(){return new e(this.options)},e.prototype.getOptions=function(){return this.options},e.prototype.clear=function(){this.update({transformations:[]})},e.prototype.getSize=function(){var t=this.options,n=t.width,r=t.height,i=t.depth;return[n,r,i]},e.prototype.getCenter=function(){var t=this.options,n=t.x,r=t.y,i=t.z,o=t.width,a=t.height,l=t.depth;return[(n*2+o)/2,(r*2+a)/2,(i*2+l)/2]},e.prototype.transform=function(){for(var t=[],n=0;nDt({},e(t,...n),t)}function GC(e){return(t,...n)=>Dt({},t,e(t,...n))}function cse(e,t){if(!e)return t;if(Array.isArray(e))return e;const{value:n=t}=e,r=s2n(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}var c2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie=>{const{children:t}=e;if(!Array.isArray(t))return[];const{x:n=0,y:r=0,width:i,height:o,data:a}=e;return t.map(l=>{var{data:s,x:u,y:c,width:f,height:h}=l,d=c2n(l,["data","x","y","width","height"]);return Object.assign(Object.assign({},d),{data:cse(s,a),x:u??n,y:c??r,width:f??i,height:h??o})})};Vet.props={};var u2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie=>{const{children:t}=e;if(!Array.isArray(t))return[];const{direction:n="row",ratio:r=t.map(()=>1),padding:i=0,data:o}=e,[a,l,s,u]=n==="col"?["y","height","width","x"]:["x","width","height","y"],c=r.reduce((g,m)=>g+m),f=e[l]-i*(t.length-1),h=r.map(g=>f*(g/c)),d=[];let p=e[a]||0;for(let g=0;ge=>{const{children:t}=e,n=nX(e,["children"]);if(!Array.isArray(t))return[];const{data:r,scale:i={},axis:o={},legend:a={},encode:l={},transform:s=[]}=n,u=nX(n,["data","scale","axis","legend","encode","transform"]),c=t.map(f=>{var{data:h,scale:d={},axis:p={},legend:g={},encode:m={},transform:v=[]}=f,y=nX(f,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:cse(h,r),scale:Dt({},i,d),encode:Dt({},l,m),transform:[...s,...v],axis:p&&o?Dt({},o,p):!1,legend:g&&a?Dt({},a,g):!1},y)});return[Object.assign(Object.assign({},u),{marks:c,type:"standardView"})]};Get.props={};var d2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it=>{const{width:n,height:r,depth:i,paddingLeft:o,paddingRight:a,paddingTop:l,paddingBottom:s,padding:u,inset:c,insetLeft:f,insetTop:h,insetRight:d,insetBottom:p,margin:g,marginLeft:m,marginBottom:v,marginTop:y,marginRight:b,data:C,coordinate:x,theme:S,component:w,interaction:O,x:$,y:P,z:T,key:R,frame:M,labelTransform:A,parentKey:N,clip:j,viewStyle:D,title:L}=t,B=d2n(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:$,y:P,z:T,key:R,width:n,height:r,depth:i,padding:u,paddingLeft:o,paddingRight:a,paddingTop:l,inset:c,insetLeft:f,insetTop:h,insetRight:d,insetBottom:p,paddingBottom:s,theme:S,coordinate:x,component:w,interaction:O,frame:M,labelTransform:A,margin:g,marginLeft:m,marginBottom:v,marginTop:y,marginRight:b,parentKey:N,clip:j,style:D},!e&&{title:L}),{marks:[Object.assign(Object.assign(Object.assign({},B),{key:`${R}-0`,data:C}),e&&{title:L})]})]};Ket.props={};class WP{constructor(t){this.$value=t}static of(t){return new WP(t)}call(t,...n){return this.$value=t(this.$value,...n),this}value(){return this.$value}}var f2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{encode:t,data:n,scale:r,shareSize:i=!1}=e,{x:o,y:a}=t,l=(s,u)=>{var c;if(s===void 0||!i)return{};const f=Ji(n,p=>p[s]),h=((c=r==null?void 0:r[u])===null||c===void 0?void 0:c.domain)||Array.from(f.keys()),d=h.map(p=>f.has(p)?f.get(p).length:1);return{domain:h,flex:d}};return{scale:{x:Object.assign(Object.assign({paddingOuter:0,paddingInner:.1,guide:o===void 0?null:{position:"top"}},o===void 0&&{paddingInner:0}),l(o,"x")),y:Object.assign(Object.assign({range:[0,1],paddingOuter:0,paddingInner:.1,guide:a===void 0?null:{position:"right"}},a===void 0&&{paddingInner:0}),l(a,"y"))}}}),use=UC(e=>{const{data:t,scale:n}=e,r=[e];let i,o,a;for(;r.length;){const f=r.shift(),{children:h,encode:d={},scale:p={},legend:g={}}=f,{color:m}=d,{color:v}=p,{color:y}=g;m!==void 0&&(i=m),v!==void 0&&(o=v),y!==void 0&&(a=y),Array.isArray(h)&&r.push(...h)}const l=()=>{var f;const h=(f=n==null?void 0:n.color)===null||f===void 0?void 0:f.domain;if(h!==void 0)return[h];if(i===void 0)return[void 0];const d=typeof i=="function"?i:g=>g[i],p=t.map(d);return p.some(g=>typeof g=="number")?[eh(p)]:[Array.from(new Set(p)),"ordinal"]},s=typeof i=="string"?i:"",[u,c]=l();return{encode:{color:i},scale:{color:Dt({},o,{domain:u,type:c})},legend:{color:Dt({title:s},a)}}}),dse=UC(()=>({animate:{enterType:"fadeIn"}})),fse=GC(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),pse=GC(()=>({type:"cell"})),Xet=GC(e=>{const{data:t}=e;return{data:{type:"inline",value:t,transform:[{type:"custom",callback:()=>{const{data:r,encode:i}=e,{x:o,y:a}=i,l=o?Array.from(new Set(r.map(c=>c[o]))):[],s=a?Array.from(new Set(r.map(c=>c[a]))):[];return(()=>{if(l.length&&s.length){const c=[];for(const f of l)for(const h of s)c.push({[o]:f,[a]:h});return c}if(l.length)return l.map(c=>({[o]:c}));if(s.length)return s.map(c=>({[a]:c}))})()}}]}}}),Yet=GC((e,t=h2n,n=g2n,r=m2n,i={})=>{const{data:o,encode:a,children:l,scale:s,x:u=0,y:c=0,shareData:f=!1,key:h}=e,{value:d}=o,{x:p,y:g}=a,{color:m}=s,{domain:v}=m;return{children:(b,C,x)=>{const{x:S,y:w}=C,{paddingLeft:O,paddingTop:$,marginLeft:P,marginTop:T}=x,{domain:R}=S.getOptions(),{domain:M}=w.getOptions(),A=tb(b),N=b.map(t),j=b.map(({x:q,y:W})=>[S.invert(q),w.invert(W)]),L=j.map(([q,W])=>U=>{const{[p]:K,[g]:X}=U;return(p!==void 0?K===q:!0)&&(g!==void 0?X===W:!0)}).map(q=>d.filter(q)),B=f?ri(L,q=>q.length):void 0,k=j.map(([q,W])=>({columnField:p,columnIndex:R.indexOf(q),columnValue:q,columnValuesLength:R.length,rowField:g,rowIndex:M.indexOf(W),rowValue:W,rowValuesLength:M.length})),z=k.map(q=>Array.isArray(l)?l:[l(q)].flat(1));return A.flatMap(q=>{const[W,U,K,X]=N[q],G=k[q],Y=L[q];return z[q].map(ee=>{var Q,te,{scale:ne,key:re,facet:oe=!0,axis:se={},legend:ye={}}=ee,be=f2n(ee,["scale","key","facet","axis","legend"]);const he=((Q=ne==null?void 0:ne.y)===null||Q===void 0?void 0:Q.guide)||se.y,le=((te=ne==null?void 0:ne.x)===null||te===void 0?void 0:te.guide)||se.x,ve={x:{tickCount:p?5:void 0},y:{tickCount:g?5:void 0}},ke=oe?Y:Y.length===0?[]:d,Ie={color:{domain:v}},Oe={x:Y7e(le,n)(G,ke),y:Y7e(he,r)(G,ke)};return Object.assign(Object.assign({key:`${re}-${q}`,data:ke,margin:0,x:W+O+u+P,y:U+$+c+T,parentKey:h,width:K,height:X,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!ke.length,dataDomain:B,scale:Dt(ve,ne,Ie),axis:Dt({},se,Oe),legend:!1},be),i)})})}}});function h2n(e){const{points:t}=e;return Kae(t)}function TH(e,t){return t.length?Dt({title:!1,tick:null,label:null},e):Dt({title:!1,tick:null,label:null,grid:null},e)}function g2n(e){return(t,n)=>{const{rowIndex:r,rowValuesLength:i,columnIndex:o,columnValuesLength:a}=t;if(r!==i-1)return TH(e,n);const l=o!==a-1?!1:void 0,s=n.length?void 0:null;return Dt({title:l,grid:s},e)}}function m2n(e){return(t,n)=>{const{rowIndex:r,columnIndex:i}=t;if(i!==0)return TH(e,n);const o=r!==0?!1:void 0,a=n.length?void 0:null;return Dt({title:o,grid:a},e)}}function Y7e(e,t){return typeof e=="function"?e:e===null||e===!1?()=>null:t(e)}const Zet=()=>e=>[WP.of(e).call(pse).call(use).call(dse).call(p2n).call(fse).call(Xet).call(Yet).value()];Zet.props={};var yee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),y2n=GC(e=>{const{data:t,children:n,x:r=0,y:i=0,key:o}=e;return{children:(l,s,u)=>{const{x:c,y:f}=s,{paddingLeft:h,paddingTop:d,marginLeft:p,marginTop:g}=u,{domain:m}=c.getOptions(),{domain:v}=f.getOptions(),y=tb(l),b=l.map(({points:w})=>Kae(w)),C=l.map(({x:w,y:O})=>[c.invert(w),f.invert(O)]),x=C.map(([w,O])=>({columnField:w,columnIndex:m.indexOf(w),columnValue:w,columnValuesLength:m.length,rowField:O,rowIndex:v.indexOf(O),rowValue:O,rowValuesLength:v.length})),S=x.map(w=>Array.isArray(n)?n:[n(w)].flat(1));return y.flatMap(w=>{const[O,$,P,T]=b[w],[R,M]=C[w],A=x[w];return S[w].map(j=>{var D,L;const{scale:B,key:k,encode:z,axis:q,interaction:W}=j,U=yee(j,["scale","key","encode","axis","interaction"]),K=(D=B==null?void 0:B.y)===null||D===void 0?void 0:D.guide,X=(L=B==null?void 0:B.x)===null||L===void 0?void 0:L.guide,G={x:{facet:!1},y:{facet:!1}},Y={x:C2n(X)(A,t),y:S2n(K)(A,t)},J={x:{tickCount:5},y:{tickCount:5}};return Object.assign({data:t,parentKey:o,key:`${k}-${w}`,x:O+h+r+p,y:$+d+i+g,width:P,height:T,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:Dt(G,B),axis:Dt(J,q,Y),legend:!1,encode:Dt({},z,{x:R,y:M}),interaction:Dt({},W,{legendFilter:!1})},U)})})}}}),b2n=GC(e=>{const{encode:t}=e,n=yee(e,["encode"]),{position:r=[],x:i=r,y:o=[...r].reverse()}=t,a=yee(t,["position","x","y"]),l=[];for(const s of[i].flat(1))for(const u of[o].flat(1))l.push({$x:s,$y:u});return Object.assign(Object.assign({},n),{data:l,encode:Object.assign(Object.assign({},a),{x:"$x",y:"$y"}),scale:Object.assign(Object.assign({},[i].flat(1).length===1&&{x:{paddingInner:0}}),[o].flat(1).length===1&&{y:{paddingInner:0}})})});function C2n(e){return typeof e=="function"?e:e===null?()=>null:(t,n)=>{const{rowIndex:r,rowValuesLength:i}=t;if(r!==i-1)return TH(e,n)}}function S2n(e){return typeof e=="function"?e:e===null?()=>null:(t,n)=>{const{columnIndex:r}=t;if(r!==0)return TH(e,n)}}const x2n=()=>e=>[WP.of(e).call(pse).call(use).call(y2n).call(b2n).call(dse).call(fse).call(v2n).value()];var _2n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),O2n=UC(e=>({coordinate:{type:"polar"}})),E2n=e=>{const{encode:t}=e,n=_2n(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function Z7e(e){return t=>null}function $2n(e){const{points:t}=e,[n,r,i,o]=t,a=Zi(n,o),l=go(n,o),s=go(r,i),u=zKe(l,s),c=1/Math.sin(u/2),f=a/(1+c),h=f*Math.sqrt(2),[d,p]=i,m=j4(l)+u/2,v=f*c,y=d+v*Math.sin(m),b=p-v*Math.cos(m);return[y-h/2,b-h/2,h,h]}const P2n=()=>e=>[WP.of(e).call(pse).call(E2n).call(use).call(O2n).call(Xet).call(Yet,$2n,Z7e,Z7e,{frame:!1}).call(dse).call(fse).call(w2n).value()];function T2n(e,t,n){const i=n,o=[0,i],a=[-i+1,1];if(e==="normal")return o;if(e==="reverse")return a;if(e==="alternate")return t%2===0?o:a;if(e==="reverse-alternate")return t%2===0?a:o}function M2n(e,t,n){const r=[e];for(;r.length;){const i=r.pop();i.animate=Dt({enter:{duration:t},update:{duration:t,easing:n,type:"morphing",fill:"both"},exit:{type:"fadeOut",duration:t}},i.animate||{});const{children:o}=i;Array.isArray(o)&&r.push(...o)}return e}const Qet=()=>e=>{const{children:t=[],duration:n=1e3,iterationCount:r=1,direction:i="normal",easing:o="ease-in-out-sine"}=e,a=t.length;if(!Array.isArray(t)||a===0)return[];const{key:l}=t[0],s=t.map(u=>Object.assign(Object.assign({},u),{key:l})).map(u=>M2n(u,n,o));return function*(){let u=0,c;for(;r==="infinite"||ue=>{const{type:t,data:n,scale:r,encode:i,style:o,animate:a,key:l,state:s}=e,u=R2n(e,["type","data","scale","encode","style","animate","key","state"]);return[Object.assign(Object.assign({type:"geoView"},u),{children:[{type:"geoPath",key:`${l}-0`,data:{value:n},scale:r,encode:i,style:o,animate:a,state:s}]})]};Jet.props={};var Qn=1e-6,ett=1e-12,Pr=Math.PI,Po=Pr/2,Q7e=Pr/4,Pc=Pr*2,Cl=180/Pr,fo=Pr/180,Xr=Math.abs,KC=Math.atan,Oh=Math.atan2,wr=Math.cos,wA=Math.ceil,ttt=Math.exp,SL=Math.log,rX=Math.pow,hr=Math.sin,nu=Math.sign||function(e){return e>0?1:e<0?-1:0},js=Math.sqrt,hse=Math.tan;function ntt(e){return e>1?0:e<-1?Pr:Math.acos(e)}function Cu(e){return e>1?Po:e<-1?-Po:Math.asin(e)}function ru(){}function xL(e,t){e&&e$e.hasOwnProperty(e.type)&&e$e[e.type](e,t)}var J7e={Feature:function(e,t){xL(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++rPr&&(e-=Math.round(e/Pc)*Pc),[e,t]}_ee.invert=_ee;function rtt(e,t,n){return(e%=Pc)?t||n?xee(r$e(e),i$e(t,n)):r$e(e):t||n?i$e(t,n):_ee}function n$e(e){return function(t,n){return t+=e,Xr(t)>Pr&&(t-=Math.round(t/Pc)*Pc),[t,n]}}function r$e(e){var t=n$e(e);return t.invert=n$e(-e),t}function i$e(e,t){var n=wr(e),r=hr(e),i=wr(t),o=hr(t);function a(l,s){var u=wr(s),c=wr(l)*u,f=hr(l)*u,h=hr(s),d=h*n+c*r;return[Oh(f*i-d*o,c*n-h*r),Cu(d*i+f*o)]}return a.invert=function(l,s){var u=wr(s),c=wr(l)*u,f=hr(l)*u,h=hr(s),d=h*i-f*o;return[Oh(f*i+h*o,c*n+d*r),Cu(d*n-c*r)]},a}function I2n(e){e=rtt(e[0]*fo,e[1]*fo,e.length>2?e[2]*fo:0);function t(n){return n=e(n[0]*fo,n[1]*fo),n[0]*=Cl,n[1]*=Cl,n}return t.invert=function(n){return n=e.invert(n[0]*fo,n[1]*fo),n[0]*=Cl,n[1]*=Cl,n},t}function N2n(e,t,n,r,i,o){if(n){var a=wr(t),l=hr(t),s=r*n;i==null?(i=t+r*Pc,o=t-s/2):(i=o$e(a,i),o=o$e(a,o),(r>0?io)&&(i+=r*Pc));for(var u,c=i;r>0?c>o:c1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function ej(e,t){return Xr(e[0]-t[0])=0;--l)i.point((f=c[l])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,d=!d}while(!h.v);i.lineEnd()}}}function a$e(e){if(t=e.length){for(var t,n=0,r=e[0],i;++n=0?1:-1,P=$*O,T=P>Pr,R=m*S;if(s.add(Oh(R*$*hr(P),v*w+R*wr(P))),a+=T?O+$*Pc:O,T^p>=n^C>=n){var M=_L(G4(d),G4(b));See(M);var A=_L(o,M);See(A);var N=(T^O>=0?-1:1)*Cu(A[2]);(r>N||r===N&&(M[0]||M[1]))&&(l+=T^O>=0?1:-1)}}return(a<-Qn||a0){for(s||(i.polygonStart(),s=!0),i.lineStart(),S=0;S1&&C&2&&x.push(x.pop().concat(x.shift())),c.push(x.filter(k2n))}}return h}}function k2n(e){return e.length>1}function j2n(e,t){return((e=e.x)[0]<0?e[1]-Po-Qn:Po-e[1])-((t=t.x)[0]<0?t[1]-Po-Qn:Po-t[1])}const l$e=att(function(){return!0},D2n,z2n,[-Pr,-Po]);function D2n(e){var t=NaN,n=NaN,r=NaN,i;return{lineStart:function(){e.lineStart(),i=1},point:function(o,a){var l=o>0?Pr:-Pr,s=Xr(o-t);Xr(s-Pr)0?Po:-Po),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(l,n),e.point(o,n),i=0):r!==l&&s>=Pr&&(Xr(t-r)Qn?KC((hr(t)*(o=wr(r))*hr(n)-hr(r)*(i=wr(t))*hr(e))/(i*o*a)):(t+r)/2}function z2n(e,t,n,r){var i;if(e==null)i=n*Po,r.point(-Pr,i),r.point(0,i),r.point(Pr,i),r.point(Pr,0),r.point(Pr,-i),r.point(0,-i),r.point(-Pr,-i),r.point(-Pr,0),r.point(-Pr,i);else if(Xr(e[0]-t[0])>Qn){var o=e[0]0,i=Xr(t)>Qn;function o(c,f,h,d){N2n(d,e,n,h,c,f)}function a(c,f){return wr(c)*wr(f)>t}function l(c){var f,h,d,p,g;return{lineStart:function(){p=d=!1,g=1},point:function(m,v){var y=[m,v],b,C=a(m,v),x=r?C?0:u(m,v):C?u(m+(m<0?Pr:-Pr),v):0;if(!f&&(p=d=C)&&c.lineStart(),C!==d&&(b=s(f,y),(!b||ej(f,b)||ej(y,b))&&(y[2]=1)),C!==d)g=0,C?(c.lineStart(),b=s(y,f),c.point(b[0],b[1])):(b=s(f,y),c.point(b[0],b[1],2),c.lineEnd()),f=b;else if(i&&f&&r^C){var S;!(x&h)&&(S=s(y,f,!0))&&(g=0,r?(c.lineStart(),c.point(S[0][0],S[0][1]),c.point(S[1][0],S[1][1]),c.lineEnd()):(c.point(S[1][0],S[1][1]),c.lineEnd(),c.lineStart(),c.point(S[0][0],S[0][1],3)))}C&&(!f||!ej(f,y))&&c.point(y[0],y[1]),f=y,d=C,h=x},lineEnd:function(){d&&c.lineEnd(),f=null},clean:function(){return g|(p&&d)<<1}}}function s(c,f,h){var d=G4(c),p=G4(f),g=[1,0,0],m=_L(d,p),v=OA(m,m),y=m[0],b=v-y*y;if(!b)return!h&&c;var C=t*v/b,x=-t*y/b,S=_L(g,m),w=EA(g,C),O=EA(m,x);iX(w,O);var $=S,P=OA(w,$),T=OA($,$),R=P*P-T*(OA(w,w)-1);if(!(R<0)){var M=js(R),A=EA($,(-P-M)/T);if(iX(A,w),A=Cee(A),!h)return A;var N=c[0],j=f[0],D=c[1],L=f[1],B;j0^A[1]<(Xr(A[0]-N)Pr^(N<=A[0]&&A[0]<=j)){var W=EA($,(-P+M)/T);return iX(W,w),[A,Cee(W)]}}}function u(c,f){var h=r?e:Pr-e,d=0;return c<-h?d|=1:c>h&&(d|=2),f<-h?d|=4:f>h&&(d|=8),d}return att(a,l,o,r?[0,-e]:[-Pr,e-Pr])}function F2n(e,t,n,r,i,o){var a=e[0],l=e[1],s=t[0],u=t[1],c=0,f=1,h=s-a,d=u-l,p;if(p=n-a,!(!h&&p>0)){if(p/=h,h<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=i-a,!(!h&&p<0)){if(p/=h,h<0){if(p>f)return;p>c&&(c=p)}else if(h>0){if(p0)){if(p/=d,d<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=o-l,!(!d&&p<0)){if(p/=d,d<0){if(p>f)return;p>c&&(c=p)}else if(d>0){if(p0&&(e[0]=a+c*h,e[1]=l+c*d),f<1&&(t[0]=a+f*h,t[1]=l+f*d),!0}}}}}var g9=1e9,PA=-g9;function ltt(e,t,n,r){function i(u,c){return e<=u&&u<=n&&t<=c&&c<=r}function o(u,c,f,h){var d=0,p=0;if(u==null||(d=a(u,f))!==(p=a(c,f))||s(u,c)<0^f>0)do h.point(d===0||d===3?e:n,d>1?r:t);while((d=(d+f+4)%4)!==p);else h.point(c[0],c[1])}function a(u,c){return Xr(u[0]-e)0?0:3:Xr(u[0]-n)0?2:1:Xr(u[1]-t)0?1:0:c>0?3:2}function l(u,c){return s(u.x,c.x)}function s(u,c){var f=a(u,1),h=a(c,1);return f!==h?f-h:f===0?c[1]-u[1]:f===1?u[0]-c[0]:f===2?u[1]-c[1]:c[0]-u[0]}return function(u){var c=u,f=itt(),h,d,p,g,m,v,y,b,C,x,S,w={point:O,lineStart:R,lineEnd:M,polygonStart:P,polygonEnd:T};function O(N,j){i(N,j)&&c.point(N,j)}function $(){for(var N=0,j=0,D=d.length;jr&&(U-q)*(r-W)>(K-W)*(e-q)&&++N:K<=r&&(U-q)*(r-W)<(K-W)*(e-q)&&--N;return N}function P(){c=f,h=[],d=[],S=!0}function T(){var N=$(),j=S&&N,D=(h=vWe(h)).length;(j||D)&&(u.polygonStart(),j&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),D&&ott(h,l,N,o,u),u.polygonEnd()),c=u,h=d=p=null}function R(){w.point=A,d&&d.push(p=[]),x=!0,C=!1,y=b=NaN}function M(){h&&(A(g,m),v&&C&&f.rejoin(),h.push(f.result())),w.point=O,C&&c.lineEnd()}function A(N,j){var D=i(N,j);if(d&&p.push([N,j]),x)g=N,m=j,v=D,x=!1,D&&(c.lineStart(),c.point(N,j));else if(D&&C)c.point(N,j);else{var L=[y=Math.max(PA,Math.min(g9,y)),b=Math.max(PA,Math.min(g9,b))],B=[N=Math.max(PA,Math.min(g9,N)),j=Math.max(PA,Math.min(g9,j))];F2n(L,B,e,t,n,r)?(C||(c.lineStart(),c.point(L[0],L[1])),c.point(B[0],B[1]),D||c.lineEnd(),S=!1):D&&(c.lineStart(),c.point(N,j),S=!1)}y=N,b=j,C=D}return w}}function s$e(e,t,n){var r=Pv(e,t-Qn,n).concat(t);return function(i){return r.map(function(o){return[i,o]})}}function c$e(e,t,n){var r=Pv(e,t-Qn,n).concat(t);return function(i){return r.map(function(o){return[o,i]})}}function H2n(){var e,t,n,r,i,o,a,l,s=10,u=s,c=90,f=360,h,d,p,g,m=2.5;function v(){return{type:"MultiLineString",coordinates:y()}}function y(){return Pv(wA(r/c)*c,n,c).map(p).concat(Pv(wA(l/f)*f,a,f).map(g)).concat(Pv(wA(t/s)*s,e,s).filter(function(b){return Xr(b%c)>Qn}).map(h)).concat(Pv(wA(o/u)*u,i,u).filter(function(b){return Xr(b%f)>Qn}).map(d))}return v.lines=function(){return y().map(function(b){return{type:"LineString",coordinates:b}})},v.outline=function(){return{type:"Polygon",coordinates:[p(r).concat(g(a).slice(1),p(n).reverse().slice(1),g(l).reverse().slice(1))]}},v.extent=function(b){return arguments.length?v.extentMajor(b).extentMinor(b):v.extentMinor()},v.extentMajor=function(b){return arguments.length?(r=+b[0][0],n=+b[1][0],l=+b[0][1],a=+b[1][1],r>n&&(b=r,r=n,n=b),l>a&&(b=l,l=a,a=b),v.precision(m)):[[r,l],[n,a]]},v.extentMinor=function(b){return arguments.length?(t=+b[0][0],e=+b[1][0],o=+b[0][1],i=+b[1][1],t>e&&(b=t,t=e,e=b),o>i&&(b=o,o=i,i=b),v.precision(m)):[[t,o],[e,i]]},v.step=function(b){return arguments.length?v.stepMajor(b).stepMinor(b):v.stepMinor()},v.stepMajor=function(b){return arguments.length?(c=+b[0],f=+b[1],v):[c,f]},v.stepMinor=function(b){return arguments.length?(s=+b[0],u=+b[1],v):[s,u]},v.precision=function(b){return arguments.length?(m=+b,h=s$e(o,i,90),d=c$e(t,e,m),p=s$e(l,a,90),g=c$e(r,n,m),v):m},v.extentMajor([[-180,-90+Qn],[180,90-Qn]]).extentMinor([[-180,-80-Qn],[180,80+Qn]])}function W2n(){return H2n()()}const G7=e=>e;var aX=new cy,wee=new cy,stt,ctt,Oee,Eee,qp={point:ru,lineStart:ru,lineEnd:ru,polygonStart:function(){qp.lineStart=q2n,qp.lineEnd=U2n},polygonEnd:function(){qp.lineStart=qp.lineEnd=qp.point=ru,aX.add(Xr(wee)),wee=new cy},result:function(){var e=aX/2;return aX=new cy,e}};function q2n(){qp.point=V2n}function V2n(e,t){qp.point=utt,stt=Oee=e,ctt=Eee=t}function utt(e,t){wee.add(Eee*e-Oee*t),Oee=e,Eee=t}function U2n(){utt(stt,ctt)}var K4=1/0,wL=K4,K7=-K4,OL=K7,EL={point:G2n,lineStart:ru,lineEnd:ru,polygonStart:ru,polygonEnd:ru,result:function(){var e=[[K4,wL],[K7,OL]];return K7=OL=-(wL=K4=1/0),e}};function G2n(e,t){eK7&&(K7=e),tOL&&(OL=t)}var $ee=0,Pee=0,m9=0,$L=0,PL=0,d3=0,Tee=0,Mee=0,v9=0,dtt,ftt,ff,pf,eu={point:_y,lineStart:u$e,lineEnd:d$e,polygonStart:function(){eu.lineStart=Y2n,eu.lineEnd=Z2n},polygonEnd:function(){eu.point=_y,eu.lineStart=u$e,eu.lineEnd=d$e},result:function(){var e=v9?[Tee/v9,Mee/v9]:d3?[$L/d3,PL/d3]:m9?[$ee/m9,Pee/m9]:[NaN,NaN];return $ee=Pee=m9=$L=PL=d3=Tee=Mee=v9=0,e}};function _y(e,t){$ee+=e,Pee+=t,++m9}function u$e(){eu.point=K2n}function K2n(e,t){eu.point=X2n,_y(ff=e,pf=t)}function X2n(e,t){var n=e-ff,r=t-pf,i=js(n*n+r*r);$L+=i*(ff+e)/2,PL+=i*(pf+t)/2,d3+=i,_y(ff=e,pf=t)}function d$e(){eu.point=_y}function Y2n(){eu.point=Q2n}function Z2n(){ptt(dtt,ftt)}function Q2n(e,t){eu.point=ptt,_y(dtt=ff=e,ftt=pf=t)}function ptt(e,t){var n=e-ff,r=t-pf,i=js(n*n+r*r);$L+=i*(ff+e)/2,PL+=i*(pf+t)/2,d3+=i,i=pf*e-ff*t,Tee+=i*(ff+e),Mee+=i*(pf+t),v9+=i*3,_y(ff=e,pf=t)}function htt(e){this._context=e}htt.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:{this._context.moveTo(e,t),this._point=1;break}case 1:{this._context.lineTo(e,t);break}default:{this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,Pc);break}}},result:ru};var Ree=new cy,lX,gtt,mtt,y9,b9,X7={point:ru,lineStart:function(){X7.point=J2n},lineEnd:function(){lX&&vtt(gtt,mtt),X7.point=ru},polygonStart:function(){lX=!0},polygonEnd:function(){lX=null},result:function(){var e=+Ree;return Ree=new cy,e}};function J2n(e,t){X7.point=vtt,gtt=y9=e,mtt=b9=t}function vtt(e,t){y9-=e,b9-=t,Ree.add(js(y9*y9+b9*b9)),y9=e,b9=t}let f$e,TL,p$e,h$e;class g$e{constructor(t){this._append=t==null?ytt:e3n(t),this._radius=4.5,this._=""}pointRadius(t){return this._radius=+t,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(t,n){switch(this._point){case 0:{this._append`M${t},${n}`,this._point=1;break}case 1:{this._append`L${t},${n}`;break}default:{if(this._append`M${t},${n}`,this._radius!==p$e||this._append!==TL){const r=this._radius,i=this._;this._="",this._append`m0,${r}a${r},${r} 0 1,1 0,${-2*r}a${r},${r} 0 1,1 0,${2*r}z`,p$e=r,TL=this._append,h$e=this._,this._=i}this._+=h$e;break}}}result(){const t=this._;return this._="",t.length?t:null}}function ytt(e){let t=1;this._+=e[0];for(const n=e.length;t=0))throw new RangeError(`invalid digits: ${e}`);if(t>15)return ytt;if(t!==f$e){const n=10**t;f$e=t,TL=function(i){let o=1;this._+=i[0];for(const a=i.length;o=0))throw new RangeError(`invalid digits: ${l}`);n=s}return t===null&&(o=new g$e(n)),a},a.projection(e).digits(n).context(t)}function MH(e){return function(t){var n=new Iee;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Iee(){}Iee.prototype={constructor:Iee,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function gse(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),N2(n,e.stream(EL)),t(EL.result()),r!=null&&e.clipExtent(r),e}function RH(e,t,n){return gse(e,function(r){var i=t[1][0]-t[0][0],o=t[1][1]-t[0][1],a=Math.min(i/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),l=+t[0][0]+(i-a*(r[1][0]+r[0][0]))/2,s=+t[0][1]+(o-a*(r[1][1]+r[0][1]))/2;e.scale(150*a).translate([l,s])},n)}function mse(e,t,n){return RH(e,[[0,0],t],n)}function vse(e,t,n){return gse(e,function(r){var i=+t,o=i/(r[1][0]-r[0][0]),a=(i-o*(r[1][0]+r[0][0]))/2,l=-o*r[0][1];e.scale(150*o).translate([a,l])},n)}function yse(e,t,n){return gse(e,function(r){var i=+t,o=i/(r[1][1]-r[0][1]),a=-o*r[0][0],l=(i-o*(r[1][1]+r[0][1]))/2;e.scale(150*o).translate([a,l])},n)}var m$e=16,t3n=wr(30*fo);function v$e(e,t){return+t?r3n(e,t):n3n(e)}function n3n(e){return MH({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function r3n(e,t){function n(r,i,o,a,l,s,u,c,f,h,d,p,g,m){var v=u-r,y=c-i,b=v*v+y*y;if(b>4*t&&g--){var C=a+h,x=l+d,S=s+p,w=js(C*C+x*x+S*S),O=Cu(S/=w),$=Xr(Xr(S)-1)t||Xr((v*M+y*A)/b-.5)>.3||a*h+l*d+s*p2?N[2]%360*fo:0,M()):[l*Cl,s*Cl,u*Cl]},T.angle=function(N){return arguments.length?(f=N%360*fo,M()):f*Cl},T.reflectX=function(N){return arguments.length?(h=N?-1:1,M()):h<0},T.reflectY=function(N){return arguments.length?(d=N?-1:1,M()):d<0},T.precision=function(N){return arguments.length?(S=v$e(w,x=N*N),A()):js(x)},T.fitExtent=function(N,j){return RH(T,N,j)},T.fitSize=function(N,j){return mse(T,N,j)},T.fitWidth=function(N,j){return vse(T,N,j)},T.fitHeight=function(N,j){return yse(T,N,j)};function M(){var N=y$e(n,0,0,h,d,f).apply(null,t(o,a)),j=y$e(n,r-N[0],i-N[1],h,d,f);return c=rtt(l,s,u),w=xee(t,j),O=xee(c,w),S=v$e(w,x),A()}function A(){return $=P=null,T}return function(){return t=e.apply(this,arguments),T.invert=t.invert&&R,M()}}function Cse(e){var t=0,n=Pr/3,r=bse(e),i=r(t,n);return i.parallels=function(o){return arguments.length?r(t=o[0]*fo,n=o[1]*fo):[t*Cl,n*Cl]},i}function l3n(e){var t=wr(e);function n(r,i){return[r*t,hr(i)/t]}return n.invert=function(r,i){return[r/t,Cu(i*t)]},n}function Ctt(e,t){var n=hr(e),r=(n+hr(t))/2;if(Xr(r)=.12&&m<.234&&g>=-.425&&g<-.214?i:m>=.166&&m<.234&&g>=-.214&&g<-.115?a:n).invert(h)},c.stream=function(h){return e&&t===h?e:e=s3n([n.stream(t=h),i.stream(h),a.stream(h)])},c.precision=function(h){return arguments.length?(n.precision(h),i.precision(h),a.precision(h),f()):n.precision()},c.scale=function(h){return arguments.length?(n.scale(h),i.scale(h*.35),a.scale(h),c.translate(n.translate())):n.scale()},c.translate=function(h){if(!arguments.length)return n.translate();var d=n.scale(),p=+h[0],g=+h[1];return r=n.translate(h).clipExtent([[p-.455*d,g-.238*d],[p+.455*d,g+.238*d]]).stream(u),o=i.translate([p-.307*d,g+.201*d]).clipExtent([[p-.425*d+Qn,g+.12*d+Qn],[p-.214*d-Qn,g+.234*d-Qn]]).stream(u),l=a.translate([p-.205*d,g+.212*d]).clipExtent([[p-.214*d+Qn,g+.166*d+Qn],[p-.115*d-Qn,g+.234*d-Qn]]).stream(u),f()},c.fitExtent=function(h,d){return RH(c,h,d)},c.fitSize=function(h,d){return mse(c,h,d)},c.fitWidth=function(h,d){return vse(c,h,d)},c.fitHeight=function(h,d){return yse(c,h,d)};function f(){return e=t=null,c}return c.scale(1070)}function xtt(e){return function(t,n){var r=wr(t),i=wr(n),o=e(r*i);return o===1/0?[2,0]:[o*i*hr(t),o*hr(n)]}}function qP(e){return function(t,n){var r=js(t*t+n*n),i=e(r),o=hr(i),a=wr(i);return[Oh(t*o,r*a),Cu(r&&n*o/r)]}}var Sse=xtt(function(e){return js(2/(1+e))});Sse.invert=qP(function(e){return 2*Cu(e/2)});function u3n(){return Uf(Sse).scale(124.75).clipAngle(180-.001)}var xse=xtt(function(e){return(e=ntt(e))&&e/hr(e)});xse.invert=qP(function(e){return e});function d3n(){return Uf(xse).scale(79.4188).clipAngle(180-.001)}function VP(e,t){return[e,SL(hse((Po+t)/2))]}VP.invert=function(e,t){return[e,2*KC(ttt(t))-Po]};function f3n(){return _tt(VP).scale(961/Pc)}function _tt(e){var t=Uf(e),n=t.center,r=t.scale,i=t.translate,o=t.clipExtent,a=null,l,s,u;t.scale=function(f){return arguments.length?(r(f),c()):r()},t.translate=function(f){return arguments.length?(i(f),c()):i()},t.center=function(f){return arguments.length?(n(f),c()):n()},t.clipExtent=function(f){return arguments.length?(f==null?a=l=s=u=null:(a=+f[0][0],l=+f[0][1],s=+f[1][0],u=+f[1][1]),c()):a==null?null:[[a,l],[s,u]]};function c(){var f=Pr*r(),h=t(I2n(t.rotate()).invert([0,0]));return o(a==null?[[h[0]-f,h[1]-f],[h[0]+f,h[1]+f]]:e===VP?[[Math.max(h[0]-f,a),l],[Math.min(h[0]+f,s),u]]:[[a,Math.max(h[1]-f,l)],[s,Math.min(h[1]+f,u)]])}return c()}function TA(e){return hse((Po+e)/2)}function wtt(e,t){var n=wr(e),r=e===t?hr(e):SL(n/wr(t))/SL(TA(t)/TA(e)),i=n*rX(TA(e),r)/r;if(!r)return VP;function o(a,l){i>0?l<-Po+Qn&&(l=-Po+Qn):l>Po-Qn&&(l=Po-Qn);var s=i/rX(TA(l),r);return[s*hr(r*a),i-s*wr(r*a)]}return o.invert=function(a,l){var s=i-l,u=nu(r)*js(a*a+s*s),c=Oh(a,Xr(s))*nu(s);return s*r<0&&(c-=Pr*nu(a)*nu(s)),[c/r,2*KC(rX(i/u,1/r))-Po]},o}function p3n(){return Cse(wtt).scale(109.5).parallels([30,30])}function Y7(e,t){return[e,t]}Y7.invert=Y7;function h3n(){return Uf(Y7).scale(152.63)}function Ott(e,t){var n=wr(e),r=e===t?hr(e):(n-wr(t))/(t-e),i=n/r+e;if(Xr(r)Qn&&--r>0);return[e/(.8707+(o=n*n)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),n]};function C3n(){return Uf(Ose).scale(175.295)}function Ese(e,t){return[wr(t)*hr(e),hr(t)]}Ese.invert=qP(Cu);function S3n(){return Uf(Ese).scale(249.5).clipAngle(90+Qn)}function $se(e,t){var n=wr(t),r=1+wr(e)*n;return[n*hr(e)/r,hr(t)/r]}$se.invert=qP(function(e){return 2*KC(e)});function x3n(){return Uf($se).scale(250).clipAngle(142)}function Pse(e,t){return[SL(hse((Po+t)/2)),-e]}Pse.invert=function(e,t){return[-t,2*KC(ttt(e))-Po]};function _3n(){var e=_tt(Pse),t=e.center,n=e.rotate;return e.center=function(r){return arguments.length?t([-r[1],r[0]]):(r=t(),[r[1],-r[0]])},e.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}const w3n=Object.freeze(Object.defineProperty({__proto__:null,geoAlbers:Stt,geoAlbersUsa:c3n,geoAzimuthalEqualArea:u3n,geoAzimuthalEqualAreaRaw:Sse,geoAzimuthalEquidistant:d3n,geoAzimuthalEquidistantRaw:xse,geoConicConformal:p3n,geoConicConformalRaw:wtt,geoConicEqualArea:ML,geoConicEqualAreaRaw:Ctt,geoConicEquidistant:g3n,geoConicEquidistantRaw:Ott,geoEqualEarth:v3n,geoEqualEarthRaw:_se,geoEquirectangular:h3n,geoEquirectangularRaw:Y7,geoGnomonic:y3n,geoGnomonicRaw:wse,geoIdentity:b3n,geoMercator:f3n,geoMercatorRaw:VP,geoNaturalEarth1:C3n,geoNaturalEarth1Raw:Ose,geoOrthographic:S3n,geoOrthographicRaw:Ese,geoProjection:Uf,geoProjectionMutator:bse,geoStereographic:x3n,geoStereographicRaw:$se,geoTransverseMercator:_3n,geoTransverseMercatorRaw:Pse},Symbol.toStringTag,{value:"Module"}));var O3n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iP3n(t).features)}}function P3n(e){const t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featureCollection"};if(!e||!e.type)return null;const n=t[e.type];if(!n)return null;if(n==="geometry")return{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]};if(n==="feature")return{type:"FeatureCollection",features:[e]};if(n==="featureCollection")return e}function T3n(e,t){var n;for(const[r,i]of Object.entries(t))(n=e[r])===null||n===void 0||n.call(e,i)}function M3n(e,t,n,r){const i=()=>{const l=t.filter(Ett);return l.find(u=>u.sphere)?{type:"Sphere"}:$3n(l.filter(u=>!u.sphere).flatMap(u=>u.data.value))},{outline:o=i()}=r,{size:a="fitExtent"}=r;if(a==="fitExtent")return R3n(e,o,n);if(a==="fitWidth")return I3n(e,o,n)}function R3n(e,t,n){const{x:r,y:i,width:o,height:a}=n;e.fitExtent([[r,i],[o,a]],t)}function I3n(e,t,n){const{width:r,height:i}=n,[[o,a],[l,s]]=btt(e.fitWidth(r,t)).bounds(t),u=Math.ceil(s-a),c=Math.min(Math.ceil(l-o),u),f=e.scale()*(c-1)/c,[h,d]=e.translate(),p=d+(i-u)/2;e.scale(f).translate([h,p]).precision(.2)}function N3n(e){const{data:t}=e;if(Array.isArray(t))return Object.assign(Object.assign({},e),{data:{value:t}});const{type:n}=t;return n==="graticule10"?Object.assign(Object.assign({},e),{data:{value:[W2n()]}}):n==="sphere"?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function Ett(e){return e.type==="geoPath"}const $tt=()=>e=>{const{children:t,coordinate:n={}}=e;if(!Array.isArray(t))return[];const{type:r="equalEarth"}=n,i=O3n(n,["type"]),o=E3n(r),a=t.map(N3n);let l;function s(){return[["custom",(f,h,d,p)=>{const g=o();M3n(g,a,{x:f,y:h,width:d,height:p},i),T3n(g,i),l=btt(g);const v=new Ri({domain:[f,f+d]}),y=new Ri({domain:[h,h+p]}),b=x=>{const S=g(x);if(!S)return[null,null];const[w,O]=S;return[v.map(w),y.map(O)]},C=x=>{if(!x)return null;const[S,w]=x,O=[v.invert(S),y.invert(w)];return g.invert(O)};return{transform:x=>b(x),untransform:x=>C(x)}}]]}function u(f){const{style:h,tooltip:d={}}=f;return Object.assign(Object.assign({},f),{type:"path",tooltip:mL(d,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},h),{d:p=>l(p)||[]})})}const c=f=>Ett(f)?u(f):f;return[Object.assign(Object.assign({},e),{type:"view",scale:{x:{type:"identity"},y:{type:"identity"}},axis:!1,coordinate:{type:s},children:a.flatMap(c)})]};$tt.props={};function Ptt(e,t){const{__data__:n}=e,{markKey:r,index:i,seriesIndex:o}=n,{markState:a}=t,l=Array.from(a.keys()).find(s=>s.key===r);if(l)return o?o.map(s=>l.data[s]):l.data[i]}function Tse(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function A3n(e){return Tse(e,t=>t.className==="component")}function k3n(e){return Tse(e,t=>t.className==="element")}function j3n(e){return Tse(e,t=>t.className==="label")}function Ia(e,t,n,r=i=>!0){return i=>{if(!r(i))return;n.emit(`plot:${e}`,i);const{target:o}=i;if(!o)return;const{className:a}=o;if(a==="plot")return;const l=k3n(o),s=A3n(o),u=j3n(o),c=l||s||u;if(!c)return;const{className:f,markType:h}=c,d=Object.assign(Object.assign({},i),{nativeEvent:!0});f==="element"?(d.data={data:Ptt(c,t)},n.emit(`element:${e}`,d),n.emit(`${h}:${e}`,d)):f==="label"?(d.data={data:c.attributes.datum},n.emit(`label:${e}`,d),n.emit(`${a}:${e}`,d)):(n.emit(`component:${e}`,d),n.emit(`${a}:${e}`,d))}}function Ttt(){return(e,t,n)=>{const{container:r,view:i}=e,o=Ia(ni.CLICK,i,n,w=>w.detail===1),a=Ia(ni.DBLCLICK,i,n,w=>w.detail===2),l=Ia(ni.POINTER_TAP,i,n),s=Ia(ni.POINTER_DOWN,i,n),u=Ia(ni.POINTER_UP,i,n),c=Ia(ni.POINTER_OVER,i,n),f=Ia(ni.POINTER_OUT,i,n),h=Ia(ni.POINTER_MOVE,i,n),d=Ia(ni.POINTER_ENTER,i,n),p=Ia(ni.POINTER_LEAVE,i,n),g=Ia(ni.POINTER_UPOUTSIDE,i,n),m=Ia(ni.DRAG_START,i,n),v=Ia(ni.DRAG,i,n),y=Ia(ni.DRAG_END,i,n),b=Ia(ni.DRAG_ENTER,i,n),C=Ia(ni.DRAG_LEAVE,i,n),x=Ia(ni.DRAG_OVER,i,n),S=Ia(ni.DROP,i,n);return r.addEventListener("click",o),r.addEventListener("click",a),r.addEventListener("pointertap",l),r.addEventListener("pointerdown",s),r.addEventListener("pointerup",u),r.addEventListener("pointerover",c),r.addEventListener("pointerout",f),r.addEventListener("pointermove",h),r.addEventListener("pointerenter",d),r.addEventListener("pointerleave",p),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",v),r.addEventListener("dragend",y),r.addEventListener("dragenter",b),r.addEventListener("dragleave",C),r.addEventListener("dragover",x),r.addEventListener("drop",S),()=>{r.removeEventListener("click",o),r.removeEventListener("click",a),r.removeEventListener("pointertap",l),r.removeEventListener("pointerdown",s),r.removeEventListener("pointerup",u),r.removeEventListener("pointerover",c),r.removeEventListener("pointerout",f),r.removeEventListener("pointermove",h),r.removeEventListener("pointerenter",d),r.removeEventListener("pointerleave",p),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",v),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",b),r.removeEventListener("dragleave",C),r.removeEventListener("dragover",x),r.removeEventListener("drop",S)}}}Ttt.props={reapplyWhenUpdate:!0};function D3n(){return{"component.axisRadar":fet,"component.axisLinear":q0,"component.axisArc":cet,"component.legendContinuousBlock":pet,"component.legendContinuousBlockSize":het,"component.legendContinuousSize":nse,"interaction.event":Ttt,"composition.mark":Ket,"composition.view":Get,"shape.label.label":rQe}}var L3n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof o!="string")return o;const a=`${e}.${o}`;return n[a]||I4(`Unknown Component: ${a}`)};return[(o,a)=>{const{type:l}=o,s=L3n(o,["type"]);l||I4("Plot type is required!");const u=r(l);return u==null?void 0:u(s,a)},r]}function Mtt(e){const{canvas:t,group:n}=e;return(t==null?void 0:t.document)||(n==null?void 0:n.ownerDocument)||I4("Cannot find library document")}var b$e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);in.type===t)}function Mv(e){return $d(e,"polar").length>0}function B3n(e){return $d(e,"helix").length>0}function H3(e){return $d(e,"transpose").length%2===1}function F3n(e){return $d(e,"parallel").length>0}function Itt(e){return $d(e,"theta").length>0}function H3n(e){return $d(e,"reflect").length>0}function rE(e){return $d(e,"radial").length>0}function W3n(e){return $d(e,"radar").length>0}function q3n(e){return $d(e,"reflectY").length>0}function V3n(e){return e.find(t=>t.type==="cartesian"||t.type==="cartesian3D")?e:[...e,{type:"cartesian"}]}function xr(e){for(var t=e.length/6|0,n=new Array(t),r=0;rOqt(e[e.length-1]);var Ntt=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(xr);const n4n=ki(Ntt);var Att=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(xr);const r4n=ki(Att);var ktt=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(xr);const i4n=ki(ktt);var jtt=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(xr);const o4n=ki(jtt);var Dtt=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(xr);const a4n=ki(Dtt);var Ltt=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(xr);const l4n=ki(Ltt);var ztt=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(xr);const s4n=ki(ztt);var Btt=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(xr);const c4n=ki(Btt);var Ftt=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(xr);const u4n=ki(Ftt);var Htt=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(xr);const d4n=ki(Htt);var Wtt=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(xr);const f4n=ki(Wtt);var qtt=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(xr);const p4n=ki(qtt);var Vtt=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(xr);const h4n=ki(Vtt);var Utt=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(xr);const g4n=ki(Utt);var Gtt=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(xr);const m4n=ki(Gtt);var Ktt=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(xr);const v4n=ki(Ktt);var Xtt=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(xr);const y4n=ki(Xtt);var Ytt=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(xr);const b4n=ki(Ytt);var Ztt=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(xr);const C4n=ki(Ztt);var Qtt=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(xr);const S4n=ki(Qtt);var Jtt=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(xr);const x4n=ki(Jtt);var ent=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(xr);const _4n=ki(ent);var tnt=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(xr);const w4n=ki(tnt);var nnt=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(xr);const O4n=ki(nnt);var rnt=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(xr);const E4n=ki(rnt);var int=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(xr);const $4n=ki(int);var ont=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(xr);const P4n=ki(ont);function T4n(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const M4n=_oe(Lf(300,.5,0),Lf(-240,.5,1));var R4n=_oe(Lf(-100,.75,.35),Lf(80,1.5,.8)),I4n=_oe(Lf(260,.75,.35),Lf(80,1.5,.8)),MA=Lf();function N4n(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return MA.h=360*e-100,MA.s=1.5-1.5*t,MA.l=.8-.9*t,MA+""}var RA=b7(),A4n=Math.PI/3,k4n=Math.PI*2/3;function j4n(e){var t;return e=(.5-e)*Math.PI,RA.r=255*(t=Math.sin(e))*t,RA.g=255*(t=Math.sin(e+A4n))*t,RA.b=255*(t=Math.sin(e+k4n))*t,RA+""}function D4n(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function IH(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const L4n=IH(xr("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var z4n=IH(xr("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),B4n=IH(xr("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),F4n=IH(xr("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));const Nee=Object.freeze(Object.defineProperty({__proto__:null,interpolateBlues:_4n,interpolateBrBG:n4n,interpolateBuGn:d4n,interpolateBuPu:f4n,interpolateCividis:T4n,interpolateCool:I4n,interpolateCubehelixDefault:M4n,interpolateGnBu:p4n,interpolateGreens:w4n,interpolateGreys:O4n,interpolateInferno:B4n,interpolateMagma:z4n,interpolateOrRd:h4n,interpolateOranges:P4n,interpolatePRGn:r4n,interpolatePiYG:i4n,interpolatePlasma:F4n,interpolatePuBu:m4n,interpolatePuBuGn:g4n,interpolatePuOr:o4n,interpolatePuRd:v4n,interpolatePurples:E4n,interpolateRainbow:N4n,interpolateRdBu:a4n,interpolateRdGy:l4n,interpolateRdPu:y4n,interpolateRdYlBu:s4n,interpolateRdYlGn:c4n,interpolateReds:$4n,interpolateSinebow:j4n,interpolateSpectral:u4n,interpolateTurbo:D4n,interpolateViridis:L4n,interpolateWarm:R4n,interpolateYlGn:C4n,interpolateYlGnBu:b4n,interpolateYlOrBr:S4n,interpolateYlOrRd:x4n,schemeAccent:G3n,schemeBlues:ent,schemeBrBG:Ntt,schemeBuGn:Htt,schemeBuPu:Wtt,schemeCategory10:U3n,schemeDark2:K3n,schemeGnBu:qtt,schemeGreens:tnt,schemeGreys:nnt,schemeOrRd:Vtt,schemeOranges:ont,schemePRGn:Att,schemePaired:X3n,schemePastel1:Y3n,schemePastel2:Z3n,schemePiYG:ktt,schemePuBu:Gtt,schemePuBuGn:Utt,schemePuOr:jtt,schemePuRd:Ktt,schemePurples:rnt,schemeRdBu:Dtt,schemeRdGy:Ltt,schemeRdPu:Xtt,schemeRdYlBu:ztt,schemeRdYlGn:Btt,schemeReds:int,schemeSet1:Q3n,schemeSet2:J3n,schemeSet3:e4n,schemeSpectral:Ftt,schemeTableau10:t4n,schemeYlGn:Ztt,schemeYlGnBu:Ytt,schemeYlOrBr:Qtt,schemeYlOrRd:Jtt},Symbol.toStringTag,{value:"Module"}));function H4n(e,t,n,r,i,o){const{guide:a={}}=n,l=Z4n(e,t,n);if(typeof l!="string")return n;const s=Q4n(l,e,t,n),u=K4n(l,s,n);return Object.assign(Object.assign(Object.assign({},n),eCn(l,e,t,n,r)),{domain:u,range:J4n(l,e,t,n,u,i,o),expectedDomain:s,guide:a,name:e,type:l})}function W4n(e,t){const n={};for(const r of e){const{values:i,name:o}=r,a=t[o];for(const l of i){const{name:s,value:u}=l;n[s]=u.map(c=>a.map(c))}}return n}function q4n(e,t){var n;const{components:r=[]}=t,i=["scale","encode","axis","legend","data","transform"],o=Array.from(new Set(e.flatMap(l=>l.channels.map(s=>s.scale)))),a=new Map(o.map(l=>[l.name,l]));for(const l of r){const s=G4n(l);for(const u of s){const c=a.get(u),f=((n=l.scale)===null||n===void 0?void 0:n[u])||{},{independent:h=!1}=f;if(c&&!h){const{guide:d}=c,p=typeof d=="boolean"?{}:d;c.guide=Dt({},p,l),Object.assign(c,f)}else{const d=Object.assign(Object.assign({},f),{expectedDomain:f.domain,name:u,guide:FUe(l,i)});o.push(d)}}}return o}function V4n(e){if(!e||!Array.isArray(e))return[gy,gy];let t,n;return[o=>{var a;t=o.map.bind(o),n=(a=o.invert)===null||a===void 0?void 0:a.bind(o);const l=e.filter(([h])=>typeof h=="function"),s=e.filter(([h])=>typeof h!="function"),u=new Map(s);if(o.map=h=>{for(const[d,p]of l)if(d(h))return p;return u.has(h)?u.get(h):t(h)},!n)return o;const c=new Map(s.map(([h,d])=>[d,h])),f=new Map(l.map(([h,d])=>[d,h]));return o.invert=h=>f.has(h)?h:c.has(h)?c.get(h):n(h),o},o=>(t!==null&&(o.map=t),n!==null&&(o.invert=n),o)]}function C$e(e,t){const n=Object.keys(e);for(const r of Object.values(t)){const{name:i}=r.getOptions();if(!(i in e))e[i]=r;else{const o=n.filter(s=>s.startsWith(i)).map(s=>+(s.replace(i,"")||0)),a=ri(o)+1,l=`${i}${a}`;e[l]=r,r.getOptions().key=l}}return e}function S$e(e,t){const[n]=Wi("scale",t),{relations:r}=e,[i]=V4n(r),o=n(e);return i(o)}function U4n(e){const t=e.flatMap(n=>Array.from(n.values())).flatMap(n=>n.channels.map(r=>r.scale));x$e(t,"x"),x$e(t,"y")}function G4n(e){const{channels:t=[],type:n,scale:r={}}=e,i=["shape","color","opacity","size"];return t.length!==0?t:n==="axisX"?["x"]:n==="axisY"?["y"]:n==="legends"?Object.keys(r).filter(o=>i.includes(o)):[]}function x$e(e,t){const n=e.filter(({name:o,facet:a=!0})=>a&&o===t),r=n.flatMap(o=>o.domain),i=n.every(ant)?eh(r):n.every(lnt)?Array.from(new Set(r)):null;if(i!==null)for(const o of n)o.domain=i}function K4n(e,t,n){const{ratio:r}=n;return r==null?t:ant({type:e})?X4n(t,r,e):lnt({type:e})?Y4n(t,r):t}function X4n(e,t,n){const r=e.map(Number),i=new Ri({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return n==="time"?e.map(o=>new Date(i.map(o))):e.map(o=>i.map(o))}function Y4n(e,t){const n=Math.round(e.length*t);return e.slice(0,n)}function ant(e){const{type:t}=e;return typeof t!="string"?!1:["linear","log","pow","time"].includes(t)}function lnt(e){const{type:t}=e;return typeof t!="string"?!1:["band","point","ordinal"].includes(t)}function Z4n(e,t,n){const{type:r,domain:i,range:o,quantitative:a,ordinal:l}=n;return r!==void 0?r:dCn(t)?"identity":typeof o=="string"?"linear":(i||o||[]).length>2?sX(e,l):i!==void 0?E$e([i])?sX(e,l):$$e(t)?"time":w$e(e,o,a):E$e(t)?sX(e,l):$$e(t)?"time":w$e(e,o,a)}function Q4n(e,t,n,r){const{domain:i}=r;if(i!==void 0)return i;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return O$e(lCn(n,r),r);case"band":case"ordinal":case"point":return snt(n);case"quantile":return sCn(n);case"sequential":return O$e(cCn(n),r);default:return[]}}function J4n(e,t,n,r,i,o,a){const{range:l}=r;if(typeof l=="string")return tCn(l);if(l!==void 0)return l;const{rangeMin:s,rangeMax:u}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{const c=_$e(n,r,i,o,a),[f,h]=uCn(t,c);return[s||f,u||h]}case"band":case"point":return[s||(t==="size"?5:0),u||(t==="size"?10:1)];case"ordinal":return _$e(n,r,i,o,a);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}function eCn(e,t,n,r,i){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":return iCn(i,r);case"band":case"point":return oCn(e,t,i,r);case"sequential":return rCn(r);default:return r}}function _$e(e,t,n,r,i){const[o]=Wi("palette",i),{category10:a,category20:l}=r,s=din(e.flat()).length<=a.length?a:l,{palette:u=s,offset:c}=t;if(Array.isArray(u))return u;try{return o({type:u})}catch{const h=nCn(u,n,c);if(h)return h;throw new Error(`Unknown Component: ${u} `)}}function tCn(e){return e.split("-")}function nCn(e,t,n=r=>r){if(!e)return null;const r=j0(e),i=Nee[`scheme${r}`],o=Nee[`interpolate${r}`];if(!i&&!o)return null;if(i){if(!i.some(Array.isArray))return i;const a=i[t.length];if(a)return a}return t.map((a,l)=>o(n(l/t.length)))}function rCn(e){const{palette:t="ylGnBu",offset:n}=e,r=j0(t),i=Nee[`interpolate${r}`];if(!i)throw new Error(`Unknown palette: ${r}`);return{interpolator:n?o=>i(n(o)):i}}function iCn(e,t){const{interpolate:n=$P,nice:r=!1,tickCount:i=5}=t;return Object.assign(Object.assign({},t),{interpolate:n,nice:r,tickCount:i})}function oCn(e,t,n,r){if(r.padding!==void 0||r.paddingInner!==void 0||r.paddingOuter!==void 0)return Object.assign(Object.assign({},r),{unknown:NaN});const i=aCn(e,t,n),{paddingInner:o=i,paddingOuter:a=i}=r;return Object.assign(Object.assign({},r),{paddingInner:o,paddingOuter:a,padding:i,unknown:NaN})}function aCn(e,t,n){return t==="enterDelay"||t==="enterDuration"||t==="size"?0:e==="band"?Itt(n)?0:.1:e==="point"?.5:0}function sX(e,t){return t||(fCn(e)?"point":"ordinal")}function w$e(e,t,n){return n||(e!=="color"||t?"linear":"sequential")}function O$e(e,t){if(e.length===0)return e;const{domainMin:n,domainMax:r}=t,[i,o]=e;return[n??i,r??o]}function lCn(e,t){const{zero:n=!1}=t;let r=1/0,i=-1/0;for(const o of e)for(const a of o)Pi(a)&&(r=Math.min(r,+a),i=Math.max(i,+a));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}function snt(e){return Array.from(new Set(e.flat()))}function sCn(e){return snt(e).sort()}function cCn(e){let t=1/0,n=-1/0;for(const r of e)for(const i of r)Pi(i)&&(t=Math.min(t,+i),n=Math.max(n,+i));return t===1/0?[]:[t<0?-n:t,n]}function uCn(e,t){return e==="enterDelay"?[0,1e3]:e=="enterDuration"?[300,1e3]:e.startsWith("y")||e.startsWith("position")?[1,0]:e==="color"?[uin(t),vGe(t)]:e==="opacity"?[0,1]:e==="size"?[1,10]:[0,1]}function E$e(e){return Mse(e,t=>{const n=typeof t;return n==="string"||n==="boolean"})}function $$e(e){return Mse(e,t=>t instanceof Date)}function dCn(e){return Mse(e,$7)}function Mse(e,t){for(const n of e)if(n.some(t))return!0;return!1}function fCn(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")}function pCn(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e==="enterDelay"||e==="enterDuration"||e==="updateDelay"||e==="updateDuration"||e==="exitDelay"||e==="exitDuration"}function hCn(e){if(!e||!e.type)return!1;if(typeof e.type=="function")return!0;const{type:t,domain:n,range:r,interpolator:i}=e,o=n&&n.length>0,a=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&o&&a||["sequential"].includes(t)&&o&&(a||i)||["constant","identity"].includes(t)&&a)}const gCn={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},mCn={threshold:"threshold",quantize:"quantize",quantile:"quantile"},vCn={ordinal:"ordinal",band:"band",point:"point"},yCn={constant:"constant"};var G0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ic!==null),l=[],s=TCn(t,e,n);if(l.push(...s),i){const{props:c}=o("title"),{defaultPosition:f,defaultOrientation:h,defaultOrder:d,defaultSize:p,defaultCrossPadding:g}=c,m=typeof i=="string"?{title:i}:i;l.push(Object.assign({type:"title",position:f,orientation:h,order:d,crossPadding:g[0],defaultSize:p},m))}return wCn(a,r).forEach(([c,f])=>{const{props:h}=o(c),{defaultPosition:d,defaultPlane:p="xy",defaultOrientation:g,defaultSize:m,defaultOrder:v,defaultLength:y,defaultPadding:b=[0,0],defaultCrossPadding:C=[0,0]}=h,x=Dt({},...f),{guide:S,field:w}=x,O=Array.isArray(S)?S:[S];for(const $ of O){const[P,T]=$Cn(c,d,g,$,f,a,r);if(!P&&!T)continue;const R=P==="left"||P==="right",M=R?b[1]:b[0],A=R?C[1]:C[0],{size:N,order:j=v,length:D=y,padding:L=M,crossPadding:B=A}=$;l.push(Object.assign(Object.assign({title:w},$),{defaultSize:m,length:D,position:P,plane:p,orientation:T,padding:L,order:j,crossPadding:B,size:N,type:c,scales:f}))}}),l}function P$e(e,t,n,r,i){const[o]=Wi("component",r),{scaleInstances:a,scale:l,bbox:s}=e,u=G0(e,["scaleInstances","scale","bbox"]),c={bbox:s,library:r};return o(u)({coordinate:t,library:r,markState:i,scales:a,theme:n,value:c,scale:l})}function CCn(e){return e.map(t=>{const n=Dt(t,t.style);return delete n.style,n})}function cnt(e,t){const n=["left","right","bottom","top"];return Nae(e,({type:o,position:a,group:l})=>n.includes(a)?l===void 0?o.startsWith("legend")?`legend-${a}`:Symbol("independent"):l==="independent"?Symbol("independent"):l:Symbol("independent")).flatMap(([,o])=>{if(o.length===1)return o[0];if(t!==void 0){const c=o.filter(g=>g.length!==void 0).map(g=>g.length),f=cu(c);if(f>t)return o.forEach(g=>g.group=Symbol("independent")),o;const h=t-f,d=o.length-c.length,p=h/d;o.forEach(g=>{g.length===void 0&&(g.length=p)})}const a=ri(o,c=>c.size),l=ri(o,c=>c.order),s=ri(o,c=>c.crossPadding),u=o[0].position;return{type:"group",size:a,order:l,position:u,children:o,crossPadding:s}})}function SCn(e,t){const n=["shape","size","color","opacity"],r=(h,d)=>h==="constant"&&d==="size",i=e.filter(({type:h,name:d})=>typeof h=="string"&&n.includes(d)&&!r(h,d)),o=i.filter(({type:h})=>h==="constant"),a=i.filter(({type:h})=>h!=="constant"),s=Nae(a,h=>h.field?h.field:Symbol("independent")).map(([h,d])=>[h,[...d,...o]]).filter(([,h])=>h.some(d=>d.type!=="constant")),u=new Map(s);if(u.size===0)return[];const c=h=>h.sort(([d],[p])=>d.localeCompare(p));return Array.from(u).map(([,h])=>{const p=fin(h).sort((g,m)=>m.length-g.length).map(g=>({combination:g,option:g.map(m=>[m.name,xCn(m)])}));for(const{option:g,combination:m}of p)if(!g.every(v=>v[1]==="constant")&&g.every(v=>v[1]==="discrete"||v[1]==="constant"))return["legendCategory",m];for(const[g,m]of vbn)for(const{option:v,combination:y}of p)if(m.some(b=>zD(c(b),c(v))))return[g,y];return null}).filter(Pi)}function xCn(e){const{type:t}=e;return typeof t!="string"?null:t in gCn?"continuous":t in vCn?"discrete":t in mCn?"distribution":t in yCn?"constant":null}function _Cn(e,t){return e.map(n=>{const{name:r}=n;if(B3n(t)||Itt(t)||H3(t)&&(Mv(t)||rE(t)))return null;if(r.startsWith("x"))return Mv(t)?["axisArc",[n]]:rE(t)?["axisLinear",[n]]:[H3(t)?"axisY":"axisX",[n]];if(r.startsWith("y"))return Mv(t)?["axisLinear",[n]]:rE(t)?["axisArc",[n]]:[H3(t)?"axisX":"axisY",[n]];if(r.startsWith("z"))return["axisZ",[n]];if(r.startsWith("position")){if(W3n(t))return["axisRadar",[n]];if(!Mv(t))return["axisY",[n]]}return null}).filter(Pi)}function wCn(e,t){const n=e.filter(r=>hCn(r));return[...SCn(n),..._Cn(n,t)]}function Aee(e){const t=$d(e,"polar");if(t.length){const r=t[t.length-1],{startAngle:i,endAngle:o}=EUe(r);return[i,o]}const n=$d(e,"radial");if(n.length){const r=n[n.length-1],{startAngle:i,endAngle:o}=PUe(r);return[i,o]}return[-Math.PI/2,Math.PI/2*3]}function OCn(e){const t=/position(\d*)/g.exec(e);return t?+t[1]:null}function ECn(e,t,n,r,i){const{name:o}=n[0];if(e==="axisRadar"){const a=r.filter(f=>f.name.startsWith("position")),l=OCn(o);if(o===a.slice(-1)[0].name||l===null)return[null,null];const[s,u]=Aee(i);return["center",(u-s)/(a.length-1)*l+s]}if(e==="axisY"&&F3n(i))return H3(i)?["center","horizontal"]:["center","vertical"];if(e==="axisLinear"){const[a]=Aee(i);return["center",a]}return e==="axisArc"?t[0]==="inner"?["inner",null]:["outer",null]:Mv(i)?["center",null]:rE(i)?["center",null]:e==="axisX"&&H3n(i)||e==="axisX"&&q3n(i)?["top",null]:t}function $Cn(e,t,n,r,i,o,a){const[l]=Aee(a),s=[r.position||t,l??n];return typeof e=="string"&&e.startsWith("axis")?ECn(e,s,i,o,a):typeof e=="string"&&e.startsWith("legend")&&Mv(a)&&r.position==="center"?["center","vertical"]:s}function PCn(e,t,n=[]){return e==="x"?H3(n)?`${t}Y`:`${t}X`:e==="y"?H3(n)?`${t}X`:`${t}Y`:null}function TCn(e,t,n){const[,r]=Wi("component",n),{coordinates:i}=e;function o(a,l,s,u){const c=PCn(l,a,i);if(!u||!c)return;const{props:f}=r(c),{defaultPosition:h,defaultSize:d,defaultOrder:p,defaultCrossPadding:[g]}=f;return Object.assign(Object.assign({position:h,defaultSize:d,order:p,type:c,crossPadding:g},u),{scales:[s]})}return t.filter(a=>a.slider||a.scrollbar).flatMap(a=>{const{slider:l,scrollbar:s,name:u}=a;return[o("slider",u,a,l),o("scrollbar",u,a,s)]}).filter(a=>!!a)}function unt(e,t,n,r,i,o){const{type:a}=e;if(!["left","right","bottom","top"].includes(r)||typeof a!="string")return;const s=a;return(s.startsWith("axis")?ACn:s.startsWith("group")?MCn:s.startsWith("legendContinuous")?kCn:s==="legendCategory"?jCn:s.startsWith("slider")?NCn:s==="title"?ICn:s.startsWith("scrollbar")?RCn:()=>{})(e,t,n,r,i,o)}function MCn(e,t,n,r,i,o){const{children:a}=e,l=ri(a,u=>u.crossPadding);a.forEach(u=>u.crossPadding=l),a.forEach(u=>unt(u,t,n,r,i,o));const s=ri(a,u=>u.size);e.size=s,a.forEach(u=>u.size=s)}function RCn(e,t,n,r,i,o){const{trackSize:a=6}=Dt({},i.scrollbar,e);e.size=a}function ICn(e,t,n,r,i,o){const a=Dt({},i.title,e),{title:l,subtitle:s,spacing:u=0}=a,c=G0(a,["title","subtitle","spacing"]);if(l){const f=hn(c,"title"),h=IL(l,f);e.size=h.height}if(s){const f=hn(c,"subtitle"),h=IL(s,f);e.size+=u+h.height}}function NCn(e,t,n,r,i,o){const a=()=>{const{slider:c}=i;return Dt({},c,e)},{trackSize:l,handleIconSize:s}=a(),u=Math.max(l,s*2.4);e.size=u}function ACn(e,t,n,r,i,o){e.transform=e.transform||[{type:"hide"}];const a=r==="left"||r==="right",l=dnt(e,r,i),{tickLength:s=0,labelSpacing:u=0,titleSpacing:c=0,labelAutoRotate:f}=l,h=G0(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),d=NH(e,o),p=AH(h,d),g=s+u;if(p&&p.length){const v=ri(p,b=>b.width),y=ri(p,b=>b.height);if(a)e.size=v+g;else{const{tickFilter:b,labelTransform:C}=e;zCn(d,p,t,n,b)&&!C&&f!==!1&&f!==null?(e.labelTransform="rotate(90)",e.size=v+g):e.size=y+g}}else e.size=s;const m=kH(h);m&&(a?e.size+=c+m.width:e.size+=c+m.height)}function kCn(e,t,n,r,i,o){const l=(()=>{const{legendContinuous:C}=i;return Dt({},C,e)})(),{labelSpacing:s=0,titleSpacing:u=0}=l,c=G0(l,["labelSpacing","titleSpacing"]),f=r==="left"||r==="right",h=hn(c,"ribbon"),{size:d}=h,p=hn(c,"handleIcon"),{size:g}=p,m=Math.max(d,g*2.4);e.size=m;const v=NH(e,o),y=AH(c,v);if(y){const C=f?"width":"height",x=ri(y,S=>S[C]);e.size+=x+s}const b=kH(c);b&&(f?e.size=Math.max(e.size,b.width):e.size+=u+b.height)}function jCn(e,t,n,r,i,o){const l=(()=>{const{legendCategory:A}=i,{title:N}=e,[j,D]=Array.isArray(N)?[N,void 0]:[void 0,N];return Dt({title:j},A,Object.assign(Object.assign({},e),{title:D}))})(),{itemSpacing:s,itemMarkerSize:u,titleSpacing:c,rowPadding:f,colPadding:h,maxCols:d=1/0,maxRows:p=1/0}=l,g=G0(l,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:m,length:v}=e,y=A=>Math.min(A,p),b=A=>Math.min(A,d),C=r==="left"||r==="right",x=v===void 0?t+(C?0:n[0]+n[1]):v,S=kH(g),w=NH(e,o),O=AH(g,w,"itemLabel"),$=Math.max(O[0].height,u)+f,P=(A,N=0)=>u+A+s[0]+N;C?(()=>{let A=-1/0,N=0,j=1,D=0,L=-1/0,B=-1/0;const k=S?S.height:0,z=x-k;for(const{width:q}of O){const W=P(q,h);A=Math.max(A,W),N+$>z?(j++,L=Math.max(L,D),B=Math.max(B,N),D=1,N=$):(N+=$,D++)}j<=1&&(L=D,B=N),e.size=A*b(j),e.length=B+k,Dt(e,{cols:b(j),gridRow:L})})():typeof m=="number"?(()=>{const A=Math.ceil(O.length/m),N=ri(O,j=>P(j.width))*m;e.size=$*y(A)-f,e.length=Math.min(N,x)})():(()=>{let A=1,N=0,j=-1/0;for(const{width:D}of O){const L=P(D,h);N+L>x?(j=Math.max(j,N),N=L,A++):N+=L}A===1&&(j=N),e.size=$*y(A)-f,e.length=j})(),S&&(C?e.size=Math.max(e.size,S.width):e.size+=c+S.height)}function NH(e,t){const[n]=Wi("scale",t),{scales:r,tickCount:i,tickMethod:o}=e,a=r.find(l=>l.type!=="constant"&&l.type!=="identity");return i!==void 0&&(a.tickCount=i),o!==void 0&&(a.tickMethod=o),n(a)}function AH(e,t,n="label"){const{labelFormatter:r,tickFilter:i,label:o=!0}=e,a=G0(e,["labelFormatter","tickFilter","label"]);if(!o)return null;const l=DCn(t,r,i),s=hn(a,n),u=l.map((h,d)=>Object.fromEntries(Object.entries(s).map(([p,g])=>[p,typeof g=="function"?g(h,d):g]))),c=l.map((h,d)=>{const p=u[d];return IL(h,p)});if(!u.some(h=>h.transform)){const h=l.map((d,p)=>p);e.indexBBox=new Map(h.map(d=>[d,[l[d],c[d]]]))}return c}function kH(e){const t=u=>u===!1||u===null,{title:n}=e,r=G0(e,["title"]);if(t(n)||n===void 0)return null;const i=hn(r,"title"),{direction:o,transform:a}=i,l=Array.isArray(n)?n.join(","):n;return typeof l!="string"?null:IL(l,Object.assign(Object.assign({},i),{transform:a||(o==="vertical"?"rotate(-90)":"")}))}function dnt(e,t,n){const{title:r}=e,[i,o]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:a,[`axis${Lae(t)}`]:l}=n;return Dt({title:i},a,l,Object.assign(Object.assign({},e),{title:o}))}function fnt(e,t){const n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function DCn(e,t,n){const i=fnt(e,n).map(a=>typeof a=="number"?lL(a):a),o=t?typeof t=="string"?W0(t):t:e.getFormatter?e.getFormatter():a=>`${a}`;return i.map(o)}function LCn(e,t){return e.getBandWidth?e.getBandWidth(t)/2:0}function zCn(e,t,n,r,i){if(cu(t,d=>d.width)>n)return!0;const a=e.clone();a.update({range:[0,n]});const l=fnt(e,i),s=l.map(d=>a.map(d)+LCn(a,d)),u=l.map((d,p)=>p),c=-r[0],f=n+r[1],h=(d,p)=>{const{width:g}=p;return[d-g/2,d+g/2]};for(let d=0;df)return!0;const v=s[d+1];if(v){const[y]=h(v,t[d+1]);if(m>y)return!0}}return!1}function IL(e,t){const n=BCn(e),r=G0(t,["filter"]);return n.attr(Object.assign(Object.assign({},r),{visibility:"none"})),n.getBBox()}function BCn(e){return e instanceof Al?e:new uu({style:{text:`${e}`}})}function FCn(e){const t=e.find(({type:n})=>n==="axisZ");if(t){const n=e.find(({type:i})=>i==="axisX");n.plane="xy";const r=e.find(({type:i})=>i==="axisY");r.plane="xy",t.plane="yz",t.origin=[n.bbox.x,n.bbox.y,0],t.eulerAngles=[0,-90,0],t.bbox.x=n.bbox.x,t.bbox.y=n.bbox.y,e.push(Object.assign(Object.assign({},n),{plane:"xz",showLabel:!1,showTitle:!1,origin:[n.bbox.x,n.bbox.y,0],eulerAngles:[-90,0,0]})),e.push(Object.assign(Object.assign({},r),{plane:"yz",showLabel:!1,showTitle:!1,origin:[r.bbox.x+r.bbox.width,r.bbox.y,0],eulerAngles:[0,-90,0]})),e.push(Object.assign(Object.assign({},t),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]}))}}function HCn(e,t,n,r){var i,o;const{width:a,height:l,depth:s,x:u=0,y:c=0,z:f=0,inset:h=(i=n.inset)!==null&&i!==void 0?i:0,insetLeft:d=h,insetTop:p=h,insetBottom:g=h,insetRight:m=h,margin:v=(o=n.margin)!==null&&o!==void 0?o:0,marginLeft:y=v,marginBottom:b=v,marginTop:C=v,marginRight:x=v,padding:S=n.padding,paddingBottom:w=S,paddingLeft:O=S,paddingRight:$=S,paddingTop:P=S}=qCn(e,t,n,r),T=1/4,R=(ee,Q,te,ne,re)=>{const{marks:oe}=t;if(oe.length===0)return[ne,re];if(ee-ne-re-ee*T>0)return[ne,re];const be=ee*(1-T);return[Q==="auto"?be*ne/(ne+re):ne,te==="auto"?be*re/(ne+re):re]},M=ee=>ee==="auto"?20:ee??20,A=M(P),N=M(w),j=T$e(e,l-A-N,[A+C,N+b],["left","right"],t,n,r),{paddingLeft:D,paddingRight:L}=j,B=a-y-x,[k,z]=R(B,O,$,D,L),q=B-k-z,W=T$e(e,q,[k+y,z+x],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:K}=W,X=l-b-C,[G,Y]=R(X,w,P,K,U),J=X-G-Y;return{width:a,height:l,depth:s,insetLeft:d,insetTop:p,insetBottom:g,insetRight:m,innerWidth:q,innerHeight:J,paddingLeft:k,paddingRight:z,paddingTop:Y,paddingBottom:G,marginLeft:y,marginBottom:b,marginTop:C,marginRight:x,x:u,y:c,z:f}}function WCn(e){const{height:t,width:n,padding:r=0,paddingLeft:i=r,paddingRight:o=r,paddingTop:a=r,paddingBottom:l=r,margin:s=16,marginLeft:u=s,marginRight:c=s,marginTop:f=s,marginBottom:h=s,inset:d=0,insetLeft:p=d,insetRight:g=d,insetTop:m=d,insetBottom:v=d}=e,y=x=>x==="auto"?20:x,b=n-y(i)-y(o)-u-c-p-g,C=t-y(a)-y(l)-f-h-m-v;return{width:b,height:C}}function qCn(e,t,n,r){const{coordinates:i}=t;if(!Mv(i)&&!rE(i))return t;const o=e.filter(v=>typeof v.type=="string"&&v.type.startsWith("axis"));if(o.length===0)return t;const a=o.map(v=>{const y=v.type==="axisArc"?"arc":"linear";return dnt(v,y,n)}),l=ri(a,v=>{var y;return(y=v.labelSpacing)!==null&&y!==void 0?y:0}),s=o.flatMap((v,y)=>{const b=a[y],C=NH(v,r);return AH(b,C)}).filter(Pi),u=ri(s,v=>v.height)+l,c=o.flatMap((v,y)=>{const b=a[y];return kH(b)}).filter(v=>v!==null),f=c.length===0?0:ri(c,v=>v.height),{inset:h=u,insetLeft:d=h,insetBottom:p=h,insetTop:g=h+f,insetRight:m=h}=t;return Object.assign(Object.assign({},t),{insetLeft:d,insetBottom:p,insetTop:g,insetRight:m})}function T$e(e,t,n,r,i,o,a){const l=Ji(e,p=>p.position),{padding:s=o.padding,paddingLeft:u=s,paddingRight:c=s,paddingBottom:f=s,paddingTop:h=s}=i,d={paddingBottom:f,paddingLeft:u,paddingTop:h,paddingRight:c};for(const p of r){const g=`padding${Lae(ZZe(p))}`,m=l.get(p)||[],v=d[g],y=$=>{$.size===void 0&&($.size=$.defaultSize)},b=$=>{$.type==="group"?($.children.forEach(y),$.size=ri($.children,P=>P.size)):$.size=$.defaultSize},C=$=>{$.size||(v!=="auto"?b($):(unt($,t,n,p,o,a),y($)))},x=$=>{$.type.startsWith("axis")&&$.labelAutoHide===void 0&&($.labelAutoHide=!0)},S=p==="bottom"||p==="top",w=$c(m,$=>$.order),O=m.filter($=>$.type.startsWith("axis")&&$.order==w);if(O.length&&(O[0].crossPadding=0),typeof v=="number")m.forEach(y),m.forEach(x);else if(m.length===0)d[g]=0;else{const $=S?t+n[0]+n[1]:t,P=cnt(m,$);P.forEach(C);const T=P.reduce((R,{size:M,crossPadding:A=12})=>R+M+A,0);d[g]=T}}return d}function VCn(e,t,n){const r=Ji(e,S=>`${S.plane||"xy"}-${S.position}`),{paddingLeft:i,paddingRight:o,paddingTop:a,paddingBottom:l,marginLeft:s,marginTop:u,marginBottom:c,marginRight:f,innerHeight:h,innerWidth:d,insetBottom:p,insetLeft:g,insetRight:m,insetTop:v,height:y,width:b,depth:C}=n,x={xy:cX({width:b,height:y,paddingLeft:i,paddingRight:o,paddingTop:a,paddingBottom:l,marginLeft:s,marginTop:u,marginBottom:c,marginRight:f,innerHeight:h,innerWidth:d,insetBottom:p,insetLeft:g,insetRight:m,insetTop:v}),yz:cX({width:C,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:C,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:cX({width:b,height:C,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:b,innerHeight:C,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(const[S,w]of r.entries()){const[O,$]=S.split("-"),P=x[O][$],[T,R]=yGe(w,M=>typeof M.type!="string"?!1:!!($==="center"||M.type.startsWith("axis")&&["inner","outer"].includes($)));T.length&&UCn(T,t,P,$),R.length&&t6n(w,t,P)}}function cX({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:i,paddingBottom:o,marginLeft:a,marginTop:l,marginBottom:s,marginRight:u,innerHeight:c,innerWidth:f,insetBottom:h,insetLeft:d,insetRight:p,insetTop:g}){const m=n+a,v=i+l,y=r+u,b=o+s,C=e-a-u,x=[m+d,v+g,f-d-p,c-g-h,"center",null,null];return{top:[m,0,f,v,"vertical",!0,ho,a,C],right:[e-y,v,y,c,"horizontal",!1,ho],bottom:[m,t-b,f,b,"vertical",!1,ho,a,C],left:[0,v,m,c,"horizontal",!0,ho],"top-left":[m,0,f,v,"vertical",!0,ho],"top-right":[m,0,f,v,"vertical",!0,ho],"bottom-left":[m,t-b,f,b,"vertical",!1,ho],"bottom-right":[m,t-b,f,b,"vertical",!1,ho],center:x,inner:x,outer:x}}function UCn(e,t,n,r){const[i,o]=yGe(e,a=>!!(typeof a.type=="string"&&a.type.startsWith("axis")));GCn(i,t,n,r),n6n(o,t,n)}function GCn(e,t,n,r){r==="center"?Uan(t)?e6n(e,t,n):Ai(t)?YCn(e,t,n):lH(t)&&ZCn(e,t,n,e[0].orientation):r==="inner"?KCn(e,t,n):r==="outer"&&XCn(e,t,n)}function KCn(e,t,n){const[r,i,,o]=n,[a,l]=t.getCenter(),[s]=sH(t),u=o/2,c=s*u,f=a-c,h=l-c;for(let d=0;dc%2===0).map(u=>u+r);for(let u=0;uc%2===1).map(u=>u+i);for(let u=0;uu==null?void 0:u($.order,P.order));const C=$=>$==="title"||$==="group"||$.startsWith("legend"),x=($,P,T)=>T===void 0?P:C($)?T:P,S=($,P,T)=>T===void 0?P:C($)?T:P,w=s?d+v:d;for(let $=0,P=w;$$.type==="group");for(const $ of O){const{bbox:P,children:T}=$,R=P[y],M=R/T.length,A=T.reduce((B,k)=>{var z;const q=(z=k.layout)===null||z===void 0?void 0:z.justifyContent;return q||B},"flex-start"),N=T.map((B,k)=>{const{length:z=M,padding:q=0}=B;return z+(k===T.length-1?0:q)}),j=cu(N),D=R-j,L=A==="flex-start"?0:A==="center"?D/2:D;for(let B=0,k=P[p]+L;Bh6n(a)?a:{type:g6n(i,a),value:a});return[e,Object.assign(Object.assign({},t),{encode:o})]}function l6n(e,t,n){const{encode:r}=t;if(!r)return[e,t];const i=D0(r,(o,a)=>{const{type:l}=o;return l!=="constant"||pCn(a)?o:Object.assign(Object.assign({},o),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:i})]}function s6n(e,t,n){const{encode:r,data:i}=t;if(!r)return[e,t];const{library:o}=n,a=C6n(o),l=D0(r,s=>a(i,s));return[e,Object.assign(Object.assign({},t),{encode:l})]}function c6n(e,t,n){const{tooltip:r={}}=t;return xh(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:$7(r)&&TQe(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function u6n(e,t,n){const{data:r,encode:i,tooltip:o={}}=t;if(xh(o))return[e,t];const a=f=>{if(!f)return f;if(typeof f=="string")return e.map(h=>({name:f,value:r[h][f]}));if($7(f)){const{field:h,channel:d,color:p,name:g=h,valueFormatter:m=S=>S}=f,v=typeof m=="string"?W0(m):m,y=d&&i[d],b=y&&i[d].field,C=g||b||d,x=[];for(const S of e){const w=h?r[S][h]:y?i[d].value[S]:null;x[S]={name:C,color:p,value:v(w)}}return x}if(typeof f=="function"){const h=[];for(const d of e){const p=f(r[d],d,r,i);$7(p)?h[d]=p:h[d]={value:p}}return h}return f},{title:l,items:s=[]}=o,u=X4(o,["title","items"]),c=Object.assign({title:a(l),items:Array.isArray(s)?s.map(a):[]},u);return[e,Object.assign(Object.assign({},t),{tooltip:c})]}function d6n(e,t,n){const{encode:r}=t,i=X4(t,["encode"]);if(!r)return[e,t];const o=Object.entries(r),a=o.filter(([,s])=>{const{value:u}=s;return Array.isArray(u[0])}).flatMap(([s,u])=>{const c=[[s,new Array(e.length).fill(void 0)]],{value:f}=u,h=X4(u,["value"]);for(let d=0;d[d,Object.assign({type:"column",value:p},h)])}),l=Object.fromEntries([...o,...a]);return[e,Object.assign(Object.assign({},i),{encode:l})]}function f6n(e,t,n){const{axis:r={},legend:i={},slider:o={},scrollbar:a={}}=t,l=(u,c)=>{if(typeof u=="boolean")return u?{}:null;const f=u[c];return f===void 0||f?f:null},s=typeof r=="object"?Array.from(new Set(["x","y",...Object.keys(r)])):["x","y"];return Dt(t,{scale:Object.assign(Object.assign({},Object.fromEntries(s.map(u=>{const c=l(a,u);return[u,Object.assign({guide:l(r,u),slider:l(o,u),scrollbar:c},c&&{ratio:c.ratio===void 0?.5:c.ratio})]}))),{color:{guide:l(i,"color")},size:{guide:l(i,"size")},shape:{guide:l(i,"shape")},opacity:{guide:l(i,"opacity")}})}),[e,t]}function p6n(e,t,n){const{animate:r}=t;return r||r===void 0?[e,t]:(Dt(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t])}function h6n(e){if(typeof e!="object"||e instanceof Date||e===null)return!1;const{type:t}=e;return Pi(t)}function g6n(e,t){return typeof t=="function"?"transform":typeof t=="string"&&m6n(e,t)?"field":"constant"}function m6n(e,t){return Array.isArray(e)?e.some(n=>n[t]!==void 0):!1}function v6n(e){if(Ro(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};const{type:t="inline"}=e,n=X4(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}var hnt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},y6n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iPi(d)),d=>d.map(([p,g])=>Object.assign({name:p},g)),([d])=>{var p;const g=(p=/([^\d]+)\d*$/.exec(d))===null||p===void 0?void 0:p[1],m=c.find(v=>v.name===g);return m!=null&&m.independent?d:g}),h=c.filter(d=>{const{name:p,required:g}=d;if(f.find(([m])=>m===p))return!0;if(g)throw new Error(`Missing encoding for channel: ${p}.`);return!1}).flatMap(d=>{const{name:p,scale:g,scaleKey:m,range:v,quantitative:y,ordinal:b}=d;return f.filter(([x])=>x.startsWith(p)).map(([x,S],w)=>{const O=S.some(D=>D.visual),$=S.some(D=>D.constant),P=l[x]||{},{independent:T=!1,key:R=m||x,type:M=$?"constant":O?"identity":g}=P,A=y6n(P,["independent","key","type"]),N=M==="constant",j=N?void 0:v;return{name:x,values:S,scaleKey:T||N?Symbol("independent"):R,scale:Object.assign(Object.assign({type:M,range:j},A),{quantitative:y,ordinal:b})}})});return[o,Object.assign(Object.assign({},t),{index:i,channels:h,tooltip:u})]})}function C6n(e){const[t]=Wi("encode",e);return(n,r)=>r===void 0||n===void 0?null:Object.assign(Object.assign({},r),{type:"column",value:t(r)(n),field:x6n(r)})}function S6n(e,t,n){return hnt(this,void 0,void 0,function*(){const{library:r}=n,[i]=Wi("transform",r),{preInference:o=[],postInference:a=[]}=t,{transform:l=[]}=e,s=[i6n,pnt,o6n,a6n,l6n,s6n,d6n,p6n,f6n,c6n,...o.map(i),...l.map(i),...a.map(i),u6n];let u=[],c=e;for(const f of s)[u,c]=yield f(u,c,n);return[u,c]})}function x6n(e){const{type:t,value:n}=e;return t==="field"&&typeof n=="string"?n:null}var ih=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},_0=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var A;return(A=/mark\.(.*)/.exec(M))===null||A===void 0?void 0:A[1]}).filter(Pi)),s=new Set(Object.keys(n).map(M=>{var A;return(A=/component\.(.*)/.exec(M))===null||A===void 0?void 0:A[1]}).filter(Pi)),u=M=>{const{type:A}=M;if(typeof A=="function"){const{props:N={}}=A,{composite:j=!0}=N;if(j)return"mark"}return typeof A!="string"?A:l.has(A)||s.has(A)?"mark":A},c=M=>u(M)==="mark",f=M=>u(M)==="standardView",h=M=>{const{type:A}=M;return typeof A!="string"?!1:!!s.has(A)},d=M=>{if(f(M))return[M];const A=u(M);return o({type:A,static:h(M)})(M)},p=[],g=new Map,m=new Map,v=[e],y=[];for(;v.length;){const M=v.shift();if(f(M)){const A=m.get(M),[N,j]=A?vnt(A,M,n):yield gnt(M,n);g.set(N,M),p.push(N);const D=j.flatMap(d).map(L=>Rtt(L,n));if(v.push(...D),D.every(f)){const L=yield Promise.all(D.map(B=>mnt(B,n)));U4n(L);for(let B=0;BM.key).join(M=>M.append("g").attr("className",mee).attr("id",A=>A.key).call(M$e).each(function(A,N,j){jee(A,Un(j),x,n,r),b.set(A,j)}),M=>M.call(M$e).each(function(A,N,j){jee(A,Un(j),x,n,r),C.set(A,j)}),M=>M.each(function(A,N,j){const D=j.nameInteraction.values();for(const L of D)L.destroy()}).remove());const S=(M,A,N)=>Array.from(M.entries()).map(([j,D])=>{const L=N||new Map,B=(q,W=U=>U)=>L.set(q,W),k=g.get(j),z=w6n(Un(D),k,n,r);return{view:j,container:D,options:k,setState:B,update:(q,W)=>ih(this,void 0,void 0,function*(){const K=Dae(Array.from(L.values()))(k);return yield z(K,q,()=>{sa(W)&&A(M,W,L)})})}}),w=(M=C,A,N)=>{var j;const D=S(M,w,N);for(const L of D){const{options:B,container:k}=L,z=k.nameInteraction;let q=NL(B);A&&(q=q.filter(W=>A.includes(W[0])));for(const W of q){const[U,K]=W,X=z.get(U);if(X&&((j=X.destroy)===null||j===void 0||j.call(X)),K){const Y=kee(L.view,U,K,a)(L,D,r.emitter);z.set(U,{destroy:Y})}}}},O=S(b,w);for(const M of O){const{options:A}=M,N=new Map;M.container.nameInteraction=N;for(const j of NL(A)){const[D,L]=j;if(L){const k=kee(M.view,D,L,a)(M,O,r.emitter);N.set(D,{destroy:k})}}}w();const{width:$,height:P}=e,T=[];for(const M of y){const A=new Promise(N=>ih(this,void 0,void 0,function*(){for(const j of M){const D=Object.assign({width:$,height:P},j);yield Rse(D,t,n,r)}N()}));T.push(A)}r.views=p,(i=r.animations)===null||i===void 0||i.forEach(M=>M==null?void 0:M.cancel()),r.animations=x,r.emitter.emit(ni.AFTER_PAINT);const R=x.filter(Pi).map(z6n).map(M=>M.finished);return Promise.all([...R,...T])})}function M$e(e){e.style("transform",t=>`translate(${t.layout.x}, ${t.layout.y})`)}function _6n(e){const[,t]=Wi("interaction",e);return n=>{const[r,i]=n;try{return[r,t(r)]}catch{return[r,i.type]}}}function w6n(e,t,n,r){const i=_6n(n),o=s=>s[1]&&s[1].props&&s[1].props.reapplyWhenUpdate,l=NL(t).map(i).filter(o).map(s=>s[0]);return(s,u,c)=>ih(this,void 0,void 0,function*(){const f=[],[h,d]=yield gnt(s,n);jee(h,e,f,n,r);for(const p of l.filter(g=>g!==u))O6n(p,e,s,h,n,r);for(const p of d)Rse(p,e,n,r);return c(),{options:s,view:h}})}function O6n(e,t,n,r,i,o){var a;const[l]=Wi("interaction",i),u=t.node().nameInteraction,c=NL(n).find(([g])=>g===e),f=u.get(e);if(!f||((a=f.destroy)===null||a===void 0||a.call(f),!c[1]))return;const h=kee(r,e,c[1],l),d={options:n,view:r,container:t.node(),update:g=>Promise.resolve(g)},p=h(d,[],o.emitter);u.set(e,{destroy:p})}function gnt(e,t){return ih(this,void 0,void 0,function*(){const n=yield $6n(e,t),r=E6n(n);e.interaction=r.interaction,e.coordinate=r.coordinate,e.marks=[...r.marks,...r.components];const i=Rtt(r,t),o=yield mnt(i,t);return vnt(o,i,t)})}function E6n(e){const{coordinate:t={},interaction:n={},style:r={},marks:i}=e,o=_0(e,["coordinate","interaction","style","marks"]),a=i.map(h=>h.coordinate||{}),l=i.map(h=>h.interaction||{}),s=i.map(h=>h.viewStyle||{}),u=[...a,t].reduceRight((h,d)=>Dt(h,d),{}),c=[n,...l].reduce((h,d)=>Dt(h,d),{}),f=[...s,r].reduce((h,d)=>Dt(h,d),{});return Object.assign(Object.assign({},o),{marks:i,coordinate:u,interaction:c,style:f})}function $6n(e,t){return ih(this,void 0,void 0,function*(){const[n,r]=Wi("mark",t),i=new Set(Object.keys(t).map(h=>{var d;return(d=/component\.(.*)/.exec(h))===null||d===void 0?void 0:d[1]}).filter(Pi)),{marks:o}=e,a=[],l=[],s=[...o],{width:u,height:c}=WCn(e),f={options:e,width:u,height:c};for(;s.length;){const[h]=s.splice(0,1),d=yield Snt(h,t),{type:p=I4("G2Mark type is required."),key:g}=d;if(i.has(p))l.push(d);else{const{props:m={}}=r(p),{composite:v=!0}=m;if(!v)a.push(d);else{const{data:y}=d,b=Object.assign(Object.assign({},d),{data:y&&(Array.isArray(y)?y:y.value)}),C=yield n(b,f),x=Array.isArray(C)?C:[C];s.unshift(...x.map((S,w)=>Object.assign(Object.assign({},S),{key:`${g}-${w}`})))}}}return Object.assign(Object.assign({},e),{marks:a,components:l})})}function mnt(e,t){return ih(this,void 0,void 0,function*(){const[n]=Wi("theme",t),[,r]=Wi("mark",t),{theme:i,marks:o,coordinates:a=[]}=e,l=n(Cnt(i)),s=new Map;for(const c of o){const{type:f}=c,{props:h={}}=r(f),d=yield b6n(c,h,t);if(d){const[p,g]=d;s.set(p,g)}}const u=Ji(Array.from(s.values()).flatMap(c=>c.channels),({scaleKey:c})=>c);for(const c of u.values()){const f=c.reduce((b,{scale:C})=>Dt(b,C),{}),{scaleKey:h}=c[0],{values:d}=c[0],p=Array.from(new Set(d.map(b=>b.field).filter(Pi))),g=Dt({guide:{title:p.length===0?void 0:p},field:p[0]},f),{name:m}=c[0],v=c.flatMap(({values:b})=>b.map(C=>C.value)),y=Object.assign(Object.assign({},H4n(m,v,g,a,l,t)),{key:h});c.forEach(b=>b.scale=y)}return s})}function kee(e,t,n,r){const i=e.theme,o=typeof t=="string"?i[t]||{}:{};return r(Dt(o,Object.assign({type:t},n)))}function vnt(e,t,n){const[r]=Wi("mark",n),[i]=Wi("theme",n),[o]=Wi("labelTransform",n),{key:a,frame:l=!1,theme:s,clip:u,style:c={},labelTransform:f=[]}=t,h=i(Cnt(s)),d=Array.from(e.values()),p=q4n(d,t),g=CCn(bCn(W6n(Array.from(p),d,e),t,n)),m=HCn(g,t,h,n),v=z3n(m,t,n),y=l?Dt({mainLineWidth:1,mainStroke:"#000"},c):c;VCn(cnt(g),v,m),FCn(g);const b={};for(const S of g){const{scales:w=[]}=S,O=[];for(const $ of w){const{name:P}=$,T=S$e($,n);O.push(T),P==="y"&&T.update(Object.assign(Object.assign({},T.getOptions()),{xScale:b.x})),C$e(b,{[P]:T})}S.scaleInstances=O}const C=[];for(const[S,w]of e.entries()){const{children:O,dataDomain:$,modifier:P,key:T}=S,{index:R,channels:M,tooltip:A}=w,N=Object.fromEntries(M.map(({name:Y,scale:J})=>[Y,J])),j=D0(N,Y=>S$e(Y,n));C$e(b,j);const D=W4n(M,j),L=r(S),[B,k,z]=M6n(L(R,j,D,v)),q=$||B.length,W=P?P(k,q,m):[],U=Y=>{var J,ee;return(ee=(J=A.title)===null||J===void 0?void 0:J[Y])===null||ee===void 0?void 0:ee.value},K=Y=>A.items.map(J=>J[Y]),X=B.map((Y,J)=>{const ee=Object.assign({points:k[J],transform:W[J],index:Y,markKey:T,viewKey:a},A&&{title:U(Y),items:K(Y)});for(const[Q,te]of Object.entries(D))ee[Q]=te[Y],z&&(ee[`series${j0(Q)}`]=z[J].map(ne=>te[ne]));return z&&(ee.seriesIndex=z[J]),z&&A&&(ee.seriesItems=z[J].map(Q=>K(Q)),ee.seriesTitle=z[J].map(Q=>U(Q))),ee});w.data=X,w.index=B;const G=O==null?void 0:O(X,j,m);C.push(...G||[])}return[{layout:m,theme:h,coordinate:v,markState:e,key:a,clip:u,scale:b,style:y,components:g,labelTransform:Dae(f.map(o))},C]}function jee(e,t,n,r,i){return ih(this,void 0,void 0,function*(){const{components:o,theme:a,layout:l,markState:s,coordinate:u,key:c,style:f,clip:h,scale:d}=e,{x:p,y:g,width:m,height:v}=l,y=_0(l,["x","y","width","height"]),b=["view","plot","main","content"],C=b.map((L,B)=>B),x=["a","margin","padding","inset"],S=b.map(L=>gGe(Object.assign({},a.view,f),L)),w=x.map(L=>hn(y,L)),O=L=>L.style("x",B=>M[B].x).style("y",B=>M[B].y).style("width",B=>M[B].width).style("height",B=>M[B].height).each(function(B,k,z){q6n(Un(z),S[B])});let $=0,P=0,T=m,R=v;const M=C.map(L=>{const B=w[L],{left:k=0,top:z=0,bottom:q=0,right:W=0}=B;return $+=k,P+=z,T-=k+W,R-=z+q,{x:$,y:P,width:T,height:R}});t.selectAll(Sf(W7e)).data(C.filter(L=>Pi(S[L])),L=>b[L]).join(L=>L.append("rect").attr("className",W7e).style("zIndex",-2).call(O),L=>L.call(O),L=>L.remove());const A=A6n(s),N=A?{duration:A[1]}:!1;for(const[,L]of Nae(o,B=>`${B.type}-${B.position}`))L.forEach((B,k)=>B.index=k);const j=t.selectAll(Sf(H7e)).data(o,L=>`${L.type}-${L.position}-${L.index}`).join(L=>L.append("g").style("zIndex",({zIndex:B})=>B||-1).attr("className",H7e).append(B=>P$e(Dt({animate:N,scale:d},B),u,a,r,s)),L=>L.transition(function(B,k,z){const{preserve:q=!1}=B;if(q)return;const W=P$e(Dt({animate:N,scale:d},B),u,a,r,s),{attributes:U}=W,[K]=z.childNodes;return K.update(U,!1)})).transitions();n.push(...j.flat().filter(Pi));const D=t.selectAll(Sf(q7)).data([l],()=>c).join(L=>L.append("rect").style("zIndex",0).style("fill","transparent").attr("className",q7).call(R$e).call(I$e,Array.from(s.keys())).call(N$e,h),L=>L.call(I$e,Array.from(s.keys())).call(B=>A?H6n(B,A):R$e(B)).call(N$e,h)).transitions();n.push(...D.flat());for(const[L,B]of s.entries()){const{data:k}=B,{key:z,class:q,type:W}=L,U=t.select(`#${z}`),K=D6n(L,B,e,r,i),X=L6n(L,B,e,r),G=B6n(L,B,e,r),Y=F6n(L,B,e,r),J=k6n(t,U,q,"element"),ee=U.selectAll(Sf(Bp)).selectFacetAll(J).data(k,Q=>Q.key,Q=>Q.groupKey).join(Q=>Q.append(K).attr("className",Bp).attr("markType",W).transition(function(te,ne,re){return X(te,[re])}),Q=>Q.call(te=>{const ne=te.parent(),re=lin(oe=>{const[se,ye]=oe.getBounds().min;return[se,ye]});te.transition(function(oe,se,ye){j6n(ye,ne,re);const be=K(oe,se),he=G(oe,[ye],[be]);return he!==null||(ye.nodeName===be.nodeName&&be.nodeName!=="g"?zae(ye,be):(ye.parentNode.replaceChild(be,ye),be.className=Bp,be.markType=W,be.__data__=ye.__data__)),he}).attr("markType",W).attr("className",Bp)}),Q=>Q.each(function(te,ne,re){re.__removed__=!0}).transition(function(te,ne,re){return Y(te,[re])}).remove(),Q=>Q.append(K).attr("className",Bp).attr("markType",W).transition(function(te,ne,re){const{__fromElements__:oe}=re,se=G(te,oe,[re]);return new aL(oe,null,re.parentNode).transition(se).remove(),se}),Q=>Q.transition(function(te,ne,re){const se=new aL([],re.__toData__,re.parentNode).append(K).attr("className",Bp).attr("markType",W).nodes();return G(te,[re],se)}).remove()).transitions();n.push(...ee.flat())}P6n(e,t,n,r,i)})}function P6n(e,t,n,r,i){const[o]=Wi("labelTransform",r),{markState:a,labelTransform:l}=e,s=t.select(Sf(gee)).node(),u=new Map,c=new Map,f=Array.from(a.entries()).flatMap(([g,m])=>{const{labels:v=[],key:y}=g,b=N6n(g,m,e,r,i),C=t.select(`#${y}`).selectAll(Sf(Bp)).nodes().filter(x=>!x.__removed__);return v.flatMap((x,S)=>{const w=_0(x,["transform"]);return C.flatMap(O=>{const $=T6n(w,S,O);return $.forEach(P=>{u.set(P,b),c.set(P,x)}),$})})}),h=Un(s).selectAll(Sf(vee)).data(f,g=>g.key).join(g=>g.append(m=>u.get(m)(m)).attr("className",vee),g=>g.each(function(m,v,y){const C=u.get(m)(m);zae(y,C)}),g=>g.remove()).nodes(),d=Ji(h,g=>c.get(g.__data__)),{coordinate:p}=e;for(const[g,m]of d){const{transform:v=[]}=g;Dae(v.map(o))(m,p)}l&&l(h,p)}function T6n(e,t,n){const{seriesIndex:r,seriesKey:i,points:o,key:a,index:l}=n.__data__,s=I6n(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${a}-${t}`,bounds:s,index:l,points:o,dependentElement:n})];const u=R6n(e),c=r.map((f,h)=>Object.assign(Object.assign({},e),{key:`${i[h]}-${t}`,bounds:[o[h]],index:f,points:o,dependentElement:n}));return u?u(c):c}function M6n([e,t,n]){if(n)return[e,t,n];const r=[],i=[];for(let o=0;oPi(s)&&Pi(u))&&(r.push(a),i.push(l))}return[r,i]}function R6n(e){const{selector:t}=e;if(!t)return null;if(typeof t=="function")return t;if(t==="first")return n=>[n[0]];if(t==="last")return n=>[n[n.length-1]];throw new Error(`Unknown selector: ${t}`)}function I6n(e){const t=e.cloneNode(),n=e.getAnimations();t.style.visibility="hidden",n.forEach(a=>{const l=a.effect.getKeyframes();t.attr(l[l.length-1])}),e.parentNode.appendChild(t);const r=t.getLocalBounds();t.destroy();const{min:i,max:o}=r;return[i,o]}function N6n(e,t,n,r,i){const[o]=Wi("shape",r),{data:a}=e,{data:l,defaultLabelShape:s}=t,u=l.map(d=>d.points),{theme:c,coordinate:f}=n,h=Object.assign(Object.assign({},i),{document:Mtt(i),theme:c,coordinate:f});return d=>{const{index:p,points:g}=d,m=a[p],{formatter:v=N=>`${N}`,transform:y,style:b,render:C}=d,x=_0(d,["formatter","transform","style","render"]),S=D0(Object.assign(Object.assign({},x),b),N=>ynt(N,m,p,a)),{shape:w=s,text:O}=S,$=_0(S,["shape","text"]),P=typeof v=="string"?W0(v):v,T=Object.assign(Object.assign({},$),{text:P(O,m,p,a),datum:m}),R=Object.assign({type:`label.${w}`,render:C},$),M=o(R,h),A=bnt(c,"label",w,"label");return M(g,T,A,u)}}function ynt(e,t,n,r){return typeof e=="function"?e(t,n,r):typeof e!="string"?e:t[e]!==void 0?t[e]:e}function A6n(e){let t=-1/0,n=1/0;for(const[r,i]of e){const{animate:o={}}=r,{data:a}=i,{enter:l={},update:s={},exit:u={}}=o,{type:c,duration:f=300,delay:h=0}=s,{type:d,duration:p=300,delay:g=0}=l,{type:m,duration:v=300,delay:y=0}=u;for(const b of a){const{updateType:C=c,updateDuration:x=f,updateDelay:S=h,enterType:w=d,enterDuration:O=p,enterDelay:$=g,exitDuration:P=v,exitDelay:T=y,exitType:R=m}=b;(C===void 0||C)&&(t=Math.max(t,x+S),n=Math.min(n,S)),(R===void 0||R)&&(t=Math.max(t,P+T),n=Math.min(n,T)),(w===void 0||w)&&(t=Math.max(t,O+$),n=Math.min(n,$))}}return t===-1/0?null:[n,t-n]}function k6n(e,t,n,r){return e.node().parentElement.findAll(o=>o.style.facet!==void 0&&o.style.facet===n&&o!==t.node()).flatMap(o=>o.getElementsByClassName(r))}function j6n(e,t,n){if(!e.__facet__)return;const r=e.parentNode.parentNode,i=t.parentNode,[o,a]=n(r),[l,s]=n(i),u=`translate(${o-l}, ${a-s})`;sin(e,u),t.append(e)}function D6n(e,t,n,r,i){const[o]=Wi("shape",r),{data:a}=e,{defaultShape:l,data:s,shape:u}=t,c=s.map(m=>m.points),{theme:f,coordinate:h}=n,{type:d,style:p={}}=e,g=Object.assign(Object.assign({},i),{document:Mtt(i),coordinate:h,theme:f});return m=>{const{shape:v=l}=p,{shape:y=v,points:b,seriesIndex:C,index:x}=m,S=_0(m,["shape","points","seriesIndex","index"]),w=Object.assign(Object.assign({},S),{index:x}),O=C?C.map(M=>a[M]):a[x],$=C||x,P=D0(p,M=>ynt(M,O,$,a)),T=u[y]?u[y](P,g):o(Object.assign(Object.assign({},P),{type:xnt(e,y)}),g),R=bnt(f,d,y,l);return T(b,w,R,c)}}function bnt(e,t,n,r){if(typeof t!="string")return;const{color:i}=e,o=e[t]||{},a=o[n]||o[r];return Object.assign({color:i},a)}function Ise(e,t,n,r,i){var o,a;const[,l]=Wi("shape",i),[s]=Wi("animation",i),{defaultShape:u,shape:c}=n,{theme:f,coordinate:h}=r,p=`default${j0(e)}Animation`,{[p]:g}=((o=c[u])===null||o===void 0?void 0:o.props)||l(xnt(t,u)).props,{[e]:m={}}=f,v=((a=t.animate)===null||a===void 0?void 0:a[e])||{},y={coordinate:h};return(b,C,x)=>{const{[`${e}Type`]:S,[`${e}Delay`]:w,[`${e}Duration`]:O,[`${e}Easing`]:$}=b,P=Object.assign({type:S||g},v);if(!P.type)return null;const M=s(P,y)(C,x,Dt(m,{delay:w,duration:O,easing:$}));return Array.isArray(M)?M:[M]}}function L6n(e,t,n,r){return Ise("enter",e,t,n,r)}function z6n(e){return e.finished.then(()=>{e.cancel()}),e}function B6n(e,t,n,r){return Ise("update",e,t,n,r)}function F6n(e,t,n,r){return Ise("exit",e,t,n,r)}function Cnt(e={}){if(typeof e=="string")return{type:e};const{type:t="light"}=e,n=_0(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function NL(e){const t={event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},{interaction:n={}}=e;return Object.entries(Dt(t,n)).reverse()}function Snt(e,t){return ih(this,void 0,void 0,function*(){const n={library:t},{data:r}=e,i=_0(e,["data"]);if(r==null)return e;const[,{data:o}]=yield pnt([],{data:r},n);return Object.assign({data:o},i)})}function R$e(e){e.style("x",t=>t.paddingLeft+t.marginLeft).style("y",t=>t.paddingTop+t.marginTop).style("width",t=>t.innerWidth).style("height",t=>t.innerHeight)}function H6n(e,t){const[n,r]=t;e.transition(function(i,o,a){const{x:l,y:s,width:u,height:c}=a.style,{paddingLeft:f,paddingTop:h,innerWidth:d,innerHeight:p,marginLeft:g,marginTop:m}=i,v=[{x:l,y:s,width:u,height:c},{x:f+g,y:h+m,width:d,height:p}];return a.animate(v,{delay:n,duration:r,fill:"both"})})}function xnt(e,t){const{type:n}=e;return typeof t=="string"?`${n}.${t}`:t}function I$e(e,t){const n=o=>o.class!==void 0?`${o.class}`:"";e.nodes().length===0||(e.selectAll(Sf(F7e)).data(t,o=>o.key).join(o=>o.append("g").attr("className",F7e).attr("id",a=>a.key).style("facet",n).style("fill","transparent").style("zIndex",a=>{var l;return(l=a.zIndex)!==null&&l!==void 0?l:0}),o=>o.style("facet",n).style("fill","transparent").style("zIndex",a=>{var l;return(l=a.zIndex)!==null&&l!==void 0?l:0}),o=>o.remove()),e.select(Sf(gee)).node())||e.append("g").attr("className",gee).style("zIndex",0)}function Sf(...e){return e.map(t=>`.${t}`).join("")}function N$e(e,t){e.node()&&e.style("clipPath",n=>{if(!t)return null;const{paddingTop:r,paddingLeft:i,marginLeft:o,marginTop:a,innerWidth:l,innerHeight:s}=n;return new ib({style:{x:i+o,y:r+a,width:l,height:s}})})}function W6n(e,t,n){var r;for(const[u]of n.entries())if(u.type==="cell")return e.filter(c=>c.name!=="shape");if(t.length!==1||e.some(u=>u.name==="shape"))return e;const{defaultShape:i}=t[0];if(!["point","line","rect","hollow"].includes(i))return e;const a={point:"point",line:"hyphen",rect:"square",hollow:"hollow"},s={field:((r=e.find(u=>u.name==="color"))===null||r===void 0?void 0:r.field)||null,name:"shape",type:"constant",domain:[],range:[a[i]]};return[...e,s]}function q6n(e,t){for(const[n,r]of Object.entries(t))e.style(n,r)}function V6n(e){const t=Dt({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),i=[t];for(;i.length;){const o=i.shift();if(o.key===void 0){const l=n.get(o),s=r.get(o),u=l===null?"0":`${l.key}-${s}`;o.key=u}const{children:a=[]}=o;if(Array.isArray(a))for(let l=0;l{},r=i=>{throw i}){const{width:i=640,height:o=480,depth:a=0}=e,l=V6n(e),{canvas:s=U6n(i,o),emitter:u=new ose,library:c}=t;t.canvas=s,t.emitter=u;const{width:f,height:h}=s.getConfig();(f!==i||h!==o)&&s.resize(i,o),u.emit(ni.BEFORE_RENDER);const d=Un(s.document.documentElement);return s.ready.then(()=>Rse(Object.assign(Object.assign({},l),{width:i,height:o,depth:a}),d,c,t)).then(()=>{if(a){const[p,g]=s.document.documentElement.getPosition();s.document.documentElement.setPosition(p,g,-a/2)}s.requestAnimationFrame(()=>{u.emit(ni.AFTER_RENDER),n==null||n()})}).catch(p=>{r==null||r(p)}),X6n(s.getConfig().container)}function A$e(e,t={},n=!1){const{canvas:r,emitter:i}=t;r&&(K6n(r),n?r.destroy():r.destroyChildren()),i.off()}function K6n(e){const t=e.getRoot().querySelectorAll(`.${mee}`);t==null||t.forEach(n=>{const{nameInteraction:r=new Map}=n;(r==null?void 0:r.size)>0&&Array.from(r==null?void 0:r.values()).forEach(i=>{i==null||i.destroy()})})}function X6n(e){return typeof e=="string"?document.getElementById(e):e}const Y6n={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function Z6n(e,t){var n;return(n=e.style[t])!==null&&n!==void 0?n:Y6n[t]}function Nse(e,t,n,r){e.style[t]=n,r&&e.children.forEach(i=>Nse(i,t,n,r))}function Ase(e){Nse(e,"visibility","hidden",!0)}function kse(e){Nse(e,"visibility","visible",!0)}var iE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!t.__removed__)}function _nt(e,t){return Dee(e,t).flatMap(({container:n})=>w0(n))}function Dee(e,t){return t.filter(n=>n!==e&&n.options.parentKey===e.options.key)}function zh(e){return Un(e).select(`.${q7}`).node()}function wnt(e){if(e.nodeName!=="rect")return e.getRenderBounds();const{x:t,y:n,width:r,height:i}=e.style;return{min:[t,n],max:[t+r,n+i]}}function jse(e,t){const{offsetX:n,offsetY:r}=t,i=wnt(e),{min:[o,a],max:[l,s]}=i,u=nl,c=rs;return u||c?null:[n-o,r-a]}function uX(e,t){const{offsetX:n,offsetY:r}=t,[i,o,a,l]=Q6n(e);return[Math.min(a,Math.max(i,n))-i,Math.min(l,Math.max(o,r))-o]}function Q6n(e){const t=e.getRenderBounds(),{min:[n,r],max:[i,o]}=t;return[n,r,i,o]}function Ont(e){return t=>t.__data__.color}function Dse(e){return t=>t.__data__.x}function wy(e){const t=Array.isArray(e)?e:[e],n=new Map(t.flatMap(r=>Array.from(r.markState.keys()).map(o=>[AL(r.key,o.key),o.data])));return r=>{const{index:i,markKey:o,viewKey:a}=r.__data__;return n.get(AL(a,o))[i]}}function oh(e,t=(r,i)=>r,n=(r,i,o)=>r.setAttribute(i,o)){const r="__states__",i="__ordinal__",o=c=>{const{[r]:f=[],[i]:h={}}=c,d=f.reduce((p,g)=>Object.assign(Object.assign({},p),e[g]),h);if(Object.keys(d).length!==0){for(const[p,g]of Object.entries(d)){const m=Z6n(c,p),v=t(g,c);n(c,p,v),p in h||(h[p]=m)}c[i]=h}},a=c=>{c[r]||(c[r]=[])};return{setState:(c,...f)=>{a(c),c[r]=[...f],o(c)},removeState:(c,...f)=>{a(c);for(const h of f){const d=c[r].indexOf(h);d!==-1&&c[r].splice(d,1)}o(c)},hasState:(c,f)=>(a(c),c[r].indexOf(f)!==-1)}}function J6n(e){return e===void 0?!0:typeof e!="object"?!1:Object.keys(e).length===0}function AL(e,t){return`${e},${t}`}function Y4(e,t){const r=(Array.isArray(e)?e:[e]).flatMap(o=>o.marks.map(a=>[AL(o.key,a.key),a.state])),i={};for(const o of t){const[a,l]=Array.isArray(o)?o:[o,{}];i[a]=r.reduce((s,u)=>{const[c,f={}]=u,h=J6n(f[a])?l:f[a];for(const[d,p]of Object.entries(h)){const g=s[d],m=(v,y,b,C)=>{const x=AL(C.__data__.viewKey,C.__data__.markKey);return c!==x?g==null?void 0:g(v,y,b,C):typeof p!="function"?p:p(v,y,b,C)};s[d]=m}return s},{})}return i}function UP(e,t){const n=new Map(e.map((i,o)=>[i,o])),r=t?e.map(t):e;return(i,o)=>{if(typeof i!="function")return i;const a=n.get(o),l=t?t(o):o;return i(l,a,r,o)}}function Ent(e){var{link:t=!1,valueof:n=(c,f)=>c,coordinate:r}=e,i=iE(e,["link","valueof","coordinate"]);const o="element-link";if(!t)return[()=>{},()=>{}];const a=c=>c.__data__.points,l=(c,f)=>{const[,h,d]=c,[p,,,g]=f;return[h,p,g,d]};return[c=>{var f;if(c.length<=1)return;const h=th(c,(d,p)=>{const{x:g}=d.__data__,{x:m}=p.__data__;return g-m});for(let d=1;dn($,g)),{fill:S=g.getAttribute("fill")}=x,w=iE(x,["fill"]),O=new is({className:o,style:Object.assign({d:p.toString(),fill:S,zIndex:-2},w)});(f=g.link)===null||f===void 0||f.remove(),g.parentNode.appendChild(O),g.link=O}},c=>{var f;(f=c.link)===null||f===void 0||f.remove(),c.link=null}]}function $nt(e,t,n){const r=i=>{const{transform:o}=e.style;return o?`${o} ${i}`:i};if(Ai(n)){const{points:i}=e.__data__,[o,a]=Hi(n)?gH(i):i,l=n.getCenter(),s=go(o,l),u=go(a,l),c=yu(s),f=zKe(s,u),h=c+f/2,d=t*Math.cos(h),p=t*Math.sin(h);return r(`translate(${d}, ${p})`)}return Hi(n)?r(`translate(${t}, 0)`):r(`translate(0, ${-t})`)}function Pnt(e){var{document:t,background:n,scale:r,coordinate:i,valueof:o}=e,a=iE(e,["document","background","scale","coordinate","valueof"]);const l="element-background";if(!n)return[()=>{},()=>{}];const s=(v,y,b)=>{const C=v.invert(y),x=y+v.getBandWidth(C)/2,S=v.getStep(C)/2,w=S*b;return[x-S+w,x+S-w]},u=(v,y)=>{const{x:b}=r;if(!Q9(b))return[0,1];const{__data__:C}=v,{x}=C,[S,w]=s(b,x,y);return[S,w]},c=(v,y)=>{const{y:b}=r;if(!Q9(b))return[0,1];const{__data__:C}=v,{y:x}=C,[S,w]=s(b,x,y);return[S,w]},f=(v,y)=>{const{padding:b}=y,[C,x]=u(v,b),[S,w]=c(v,b),O=[[C,S],[x,S],[x,w],[C,w]].map(R=>i.map(R)),{__data__:$}=v,{y:P,y1:T}=$;return iYe(t,O,{y:P,y1:T},i,y)},h=(v,y)=>{const{transform:b="scale(1.2, 1.2)",transformOrigin:C="center center",stroke:x=""}=y,S=iE(y,["transform","transformOrigin","stroke"]),w=Object.assign({transform:b,transformOrigin:C,stroke:x},S),O=v.cloneNode(!0);for(const[$,P]of Object.entries(w))O.style[$]=P;return O},d=()=>{const{x:v,y}=r;return[v,y].some(Q9)};return[v=>{v.background&&v.background.remove();const y=D0(a,R=>o(R,v)),{fill:b="#CCD6EC",fillOpacity:C=.3,zIndex:x=-2,padding:S=.001,strokeWidth:w=0}=y,O=iE(y,["fill","fillOpacity","zIndex","padding","strokeWidth"]),$=Object.assign(Object.assign({},O),{fill:b,fillOpacity:C,zIndex:x,padding:S,strokeWidth:w}),T=(d()?f:h)(v,$);T.className=l,v.parentNode.parentNode.appendChild(T),v.background=T},v=>{var y;(y=v.background)===null||y===void 0||y.remove(),v.background=null},v=>v.className===l]}function I1(e,t){const r=e.getRootNode().defaultView.getContextService().getDomElement();r!=null&&r.style&&(e.cursor=r.style.cursor,r.style.cursor=t)}function eSn(e){I1(e,e.cursor)}function Lse(e,t,n){return e.find(r=>Object.entries(t).every(([i,o])=>n(r)[i]===o))}var tSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);if,link:i=!1,background:o=!1,delay:a=60,scale:l,coordinate:s,emitter:u,state:c={}}){var f;const h=t(e),d=new Set(h),p=Ji(h,r),g=UP(h,n),[m,v]=Ent(Object.assign({elements:h,valueof:g,link:i,coordinate:s},hn(c.active,"link"))),[y,b,C]=Pnt(Object.assign({document:e.ownerDocument,scale:l,coordinate:s,background:o,valueof:g},hn(c.active,"background"))),x=Dt(c,{active:Object.assign({},((f=c.active)===null||f===void 0?void 0:f.offset)&&{transform:(...D)=>{const L=c.active.offset(...D),[,B]=D;return $nt(h[B],L,s)}})}),{setState:S,removeState:w,hasState:O}=oh(x,g);let $;const P=D=>{const{target:L,nativeEvent:B=!0}=D;if(!d.has(L))return;$&&clearTimeout($);const k=r(L),z=p.get(k),q=new Set(z);for(const W of h)q.has(W)?O(W,"active")||S(W,"active"):(S(W,"inactive"),v(W)),W!==L&&b(W);y(L),m(z),B&&u.emit("element:highlight",{nativeEvent:B,data:{data:n(L),group:z.map(n)}})},T=()=>{$&&clearTimeout($),$=setTimeout(()=>{R(),$=null},a)},R=(D=!0)=>{for(const L of h)w(L,"active","inactive"),b(L),v(L);D&&u.emit("element:unhighlight",{nativeEvent:D})},M=D=>{const{target:L}=D;o&&!C(L)||!o&&!d.has(L)||(a>0?T():R())},A=()=>{R()};e.addEventListener("pointerover",P),e.addEventListener("pointerout",M),e.addEventListener("pointerleave",A);const N=D=>{const{nativeEvent:L}=D;L||R(!1)},j=D=>{const{nativeEvent:L}=D;if(L)return;const{data:B}=D.data,k=Lse(h,B,n);k&&P({target:k,nativeEvent:!1})};return u.on("element:highlight",j),u.on("element:unhighlight",N),()=>{e.removeEventListener("pointerover",P),e.removeEventListener("pointerout",M),e.removeEventListener("pointerleave",A),u.off("element:highlight",j),u.off("element:unhighlight",N);for(const D of h)b(D),v(D)}}function jH(e){var{delay:t,createGroup:n,background:r=!1,link:i=!1}=e,o=tSn(e,["delay","createGroup","background","link"]);return(a,l,s)=>{const{container:u,view:c,options:f}=a,{scale:h,coordinate:d}=c,p=zh(u);return nSn(p,Object.assign({elements:w0,datum:wy(c),groupKey:n?n(c):void 0,coordinate:d,scale:h,state:Y4(f,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:i,delay:t,emitter:s},o))}}jH.props={reapplyWhenUpdate:!0};function Tnt(e){return jH(Object.assign(Object.assign({},e),{createGroup:Dse}))}Tnt.props={reapplyWhenUpdate:!0};function Mnt(e){return jH(Object.assign(Object.assign({},e),{createGroup:Ont}))}Mnt.props={reapplyWhenUpdate:!0};var rSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);if,link:i=!1,single:o=!1,coordinate:a,background:l=!1,scale:s,emitter:u,state:c={}}){var f;const h=t(e),d=new Set(h),p=Ji(h,r),g=UP(h,n),[m,v]=Ent(Object.assign({link:i,elements:h,valueof:g,coordinate:a},hn(c.selected,"link"))),[y,b]=Pnt(Object.assign({document:e.ownerDocument,background:l,coordinate:a,scale:s,valueof:g},hn(c.selected,"background"))),C=Dt(c,{selected:Object.assign({},((f=c.selected)===null||f===void 0?void 0:f.offset)&&{transform:(...A)=>{const N=c.selected.offset(...A),[,j]=A;return $nt(h[j],N,a)}})}),{setState:x,removeState:S,hasState:w}=oh(C,g),O=(A=!0)=>{for(const N of h)S(N,"selected","unselected"),v(N),b(N);A&&u.emit("element:unselect",{nativeEvent:!0})},$=(A,N,j=!0)=>{if(w(N,"selected"))O();else{const D=r(N),L=p.get(D),B=new Set(L);for(const k of h)B.has(k)?x(k,"selected"):(x(k,"unselected"),v(k)),k!==N&&b(k);if(m(L),y(N),!j)return;u.emit("element:select",Object.assign(Object.assign({},A),{nativeEvent:j,data:{data:[n(N),...L.map(n)]}}))}},P=(A,N,j=!0)=>{const D=r(N),L=p.get(D),B=new Set(L);if(w(N,"selected")){if(!h.some(z=>!B.has(z)&&w(z,"selected")))return O();for(const z of L)x(z,"unselected"),v(z),b(z)}else{const k=L.some(z=>w(z,"selected"));for(const z of h)B.has(z)?x(z,"selected"):w(z,"selected")||x(z,"unselected");!k&&i&&m(L),y(N)}j&&u.emit("element:select",Object.assign(Object.assign({},A),{nativeEvent:j,data:{data:h.filter(k=>w(k,"selected")).map(n)}}))},T=A=>{const{target:N,nativeEvent:j=!0}=A;return d.has(N)?o?$(A,N,j):P(A,N,j):O()};e.addEventListener("click",T);const R=A=>{const{nativeEvent:N,data:j}=A;if(N)return;const D=o?j.data.slice(0,1):j.data;for(const L of D){const B=Lse(h,L,n);T({target:B,nativeEvent:!1})}},M=()=>{O(!1)};return u.on("element:select",R),u.on("element:unselect",M),()=>{for(const A of h)v(A);e.removeEventListener("click",T),u.off("element:select",R),u.off("element:unselect",M)}}function DH(e){var{createGroup:t,background:n=!1,link:r=!1}=e,i=rSn(e,["createGroup","background","link"]);return(o,a,l)=>{const{container:s,view:u,options:c}=o,{coordinate:f,scale:h}=u,d=zh(s);return iSn(d,Object.assign({elements:w0,datum:wy(u),groupKey:t?t(u):void 0,coordinate:f,scale:h,state:Y4(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:l},i))}}DH.props={reapplyWhenUpdate:!0};function Rnt(e){return DH(Object.assign(Object.assign({},e),{createGroup:Dse}))}Rnt.props={reapplyWhenUpdate:!0};function Int(e){return DH(Object.assign(Object.assign({},e),{createGroup:Ont}))}Int.props={reapplyWhenUpdate:!0};var oSn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},aSn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii.type==="normalizeY");if(n)return n;const r={type:"normalizeY"};return t.push(r),e.transform=t,r}function sSn(e,t,n){const[r]=Array.from(e.entries()).filter(([i])=>i.type===t).map(([i])=>{const{encode:o}=i,a=l=>{const s=o[l];return[l,s?s.value:void 0]};return Object.fromEntries(n.map(a))});return r}function Nnt(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:i=a=>`${a}`}=e,o=aSn(e,["wait","leading","trailing","labelFormatter"]);return a=>{const{view:l,container:s,update:u,setState:c}=a,{markState:f,scale:h,coordinate:d}=l,p=sSn(f,"line",["x","y","series"]);if(!p)return;const{y:g,x:m,series:v=[]}=p,y=g.map((D,L)=>L),b=th(y.map(D=>m[D])),C=zh(s),x=s.getElementsByClassName(Bp),S=s.getElementsByClassName(vee),O=Ji(S,D=>D.__data__.key.split("-")[0]),$=new kP({style:Object.assign({x1:0,y1:0,x2:0,y2:C.getAttribute("height"),stroke:"black",lineWidth:1},hn(o,"rule"))}),P=new uu({style:Object.assign({x:0,y:C.getAttribute("height"),text:"",fontSize:10},hn(o,"label"))});$.append(P),C.appendChild($);const T=(D,L,B)=>{const[k]=D.invert(B),z=L.invert(k);return b[Hrn(b,z)]},R=(D,L)=>{$.setAttribute("x1",D[0]),$.setAttribute("x2",D[0]),P.setAttribute("text",i(L))};let M;const A=D=>oSn(this,void 0,void 0,function*(){const{x:L}=h,B=T(d,L,D);R(D,B),c("chartIndex",z=>{const q=Dt({},z),W=q.marks.find(Y=>Y.type==="line"),K=ri(Aae(y,Y=>ri(Y,J=>+g[J])/$c(Y,J=>+g[J]),Y=>v[Y]).values()),X=[1/K,K];Dt(W,{scale:{y:{domain:X}}});const G=lSn(W);G.groupBy="color",G.basis=(Y,J)=>{const ee=Y[R4(Q=>m[+Q]).center(Y,B)];return J[ee]};for(const Y of q.marks)Y.animate=!1;return q}),M=(yield u("chartIndex")).view}),N=D=>{const{scale:L,coordinate:B}=M,{x:k,y:z}=L,q=T(B,k,D);R(D,q);for(const W of x){const{seriesIndex:U,key:K}=W.__data__,X=U[R4(ne=>m[+ne]).center(U,q)],G=[0,z.map(1)],Y=[0,z.map(g[X]/g[U[0]])],[,J]=B.map(G),[,ee]=B.map(Y),Q=J-ee;W.setAttribute("transform",`translate(0, ${Q})`);const te=O.get(K)||[];for(const ne of te)ne.setAttribute("dy",Q)}},j=py(D=>{const L=jse(C,D);L&&N(L)},t,{leading:n,trailing:r});return A([0,0]),C.addEventListener("pointerenter",j),C.addEventListener("pointermove",j),C.addEventListener("pointerleave",j),()=>{$.remove(),C.removeEventListener("pointerenter",j),C.removeEventListener("pointermove",j),C.removeEventListener("pointerleave",j)}}}Nnt.props={reapplyWhenUpdate:!0};function cSn(e){const{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(o=>o.type==="fisheye");if(r)return r;const i={type:"fisheye"};return n.push(i),t.transform=n,e.coordinate=t,i}function uSn({wait:e=30,leading:t,trailing:n=!1}){return r=>{const{options:i,update:o,setState:a,container:l}=r,s=zh(l),u=py(c=>{const f=jse(s,c);if(!f){a("fisheye"),o();return}a("fisheye",h=>{const d=Dt({},h,{interaction:{tooltip:{preserve:!0}}});for(const v of d.marks)v.animate=!1;const[p,g]=f,m=cSn(d);return m.focusX=p,m.focusY=g,m.visual=!0,d}),o()},e,{leading:t,trailing:n});return s.addEventListener("pointerenter",u),s.addEventListener("pointermove",u),s.addEventListener("pointerleave",u),()=>{s.removeEventListener("pointerenter",u),s.removeEventListener("pointermove",u),s.removeEventListener("pointerleave",u)}}}var GP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{color:a=jnt(e)}=o,l=GP(o,["color"]);return Object.assign(Object.assign({},l),{color:a})}).map(knt);return Object.assign(Object.assign({},n&&{title:n}),{items:i})}function gSn(e,t){const{color:n,series:r,facet:i=!1}=e,{color:o,series:a}=t,l=s=>s&&s.invert&&!(s instanceof k4)&&!(s instanceof Vae);if(l(r))return r.clone().invert(a);if(a&&r instanceof k4&&r.invert(a)!==o&&!i)return r.invert(a);if(l(n)){const s=n.invert(o);return Array.isArray(s)?null:s}return null}function jnt(e){const t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:i=t&&t!=="transparent"?t:n}=r;return i}function k$e(e,t=n=>n){const n=new Map(e.map(r=>[t(r),r]));return Array.from(n.values())}function Dnt(e,t,n,r=e.map(o=>o.__data__),i={}){const o=s=>s instanceof Date?+s:s,a=k$e(r.map(s=>s.title),o).filter(Pi),l=r.flatMap((s,u)=>{const c=e[u],{items:f=[],title:h}=s,d=f.filter(Pi),p=n!==void 0?n:f.length<=1;return d.map(g=>{var{color:m=jnt(c)||i.color,name:v}=g,y=GP(g,["color","name"]);const b=gSn(t,s),C=p?b||v:v||b;return Object.assign(Object.assign({},y),{color:m,name:C||h})})}).map(knt);return Object.assign(Object.assign({},a.length>0&&{title:a.join(",")}),{items:k$e(l,s=>`(${o(s.name)}, ${o(s.value)}, ${o(s.color)})`)})}function mSn(e,t,n){var{plotWidth:r,plotHeight:i,mainWidth:o,mainHeight:a,startX:l,startY:s,transposed:u,polar:c,insetLeft:f,insetTop:h}=n,d=GP(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);const p=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},d),g=t.map($=>$[1]),m=t.map($=>$[0]),v=E7(g),y=E7(m),b=()=>{if(c){const $=Math.min(o,a)/2,P=l+f+o/2,T=s+h+a/2,R=yu(go([y,v],[P,T])),M=P+$*Math.cos(R),A=T+$*Math.sin(R);return[P,M,T,A]}return u?[l,l+r,v+s,v+s]:[y+l,y+l,s,s+i]},[C,x,S,w]=b(),O=()=>{const $=new kP({style:Object.assign({x1:C,x2:x,y1:S,y2:w},p)});return e.appendChild($),$};if(m.length>0){const $=e.ruleY||O();$.style.x1=C,$.style.x2=x,$.style.y1=S,$.style.y2=w,e.ruleY=$}}function j$e(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function vSn(e,{data:t,style:n,theme:r}){e.markers&&e.markers.forEach(o=>o.remove());const i=t.filter(o=>{const[{x:a,y:l}]=o;return Pi(a)&&Pi(l)}).map(o=>{const[{color:a,element:l},s]=o,u=a||l.style.fill||l.style.stroke||r.color;return new AP({style:Object.assign({cx:s[0],cy:s[1],fill:u,r:4,stroke:"#fff",strokeWidth:2},n)})});for(const o of i)e.appendChild(o);e.markers=i}function D$e(e){e.markers&&(e.markers.forEach(t=>t.remove()),e.markers=[])}function L$e(e,t){return Array.from(e.values()).some(n=>{var r;return(r=n.interaction)===null||r===void 0?void 0:r[t]})}function dX(e,t){return e===void 0?t:e}function Lnt(e){const{title:t,items:n}=e;return n.length===0&&t===void 0}function ySn(e){return Array.from(e.values()).some(t=>{var n;return((n=t.interaction)===null||n===void 0?void 0:n.seriesTooltip)&&t.tooltip})}function z$e(e,t){var{elements:n,sort:r,filter:i,scale:o,coordinate:a,crosshairs:l,render:s,groupName:u,emitter:c,wait:f=50,leading:h=!0,trailing:d=!1,startX:p=0,startY:g=0,body:m=!0,single:v=!0,position:y,enterable:b,mount:C,bounding:x,theme:S,disableNative:w=!1,marker:O=!0,preserve:$=!1,style:P={},css:T={}}=t,R=GP(t,["elements","sort","filter","scale","coordinate","crosshairs","render","groupName","emitter","wait","leading","trailing","startX","startY","body","single","position","enterable","mount","bounding","theme","disableNative","marker","preserve","style","css"]);const M=n(e),A=Hi(a),N=Ai(a),j=Dt(P,R),{innerWidth:D,innerHeight:L,width:B,height:k,insetLeft:z,insetTop:q}=a.getOptions(),W=[],U=[];for(const Oe of M){const{__data__:Pe}=Oe,{seriesX:_e,title:ce,items:Te}=Pe;_e?W.push(Oe):(ce||Te)&&U.push(Oe)}const X=!!(A?o.y:o.x).getBandWidth&&U.length>0;W.sort((Oe,Pe)=>{const _e=A?0:1,ce=Te=>Te.getBounds().min[_e];return A?ce(Pe)-ce(Oe):ce(Oe)-ce(Pe)});const G=Oe=>{const Pe=A?1:0,{min:_e,max:ce}=Oe.getLocalBounds();return th([_e[Pe],ce[Pe]])};U.sort((Oe,Pe)=>{const[_e,ce]=G(Oe),[Te,Ne]=G(Pe),je=(_e+ce)/2,He=(Te+Ne)/2;return A?He-je:je-He});const Y=new Map(W.map(Oe=>{const{__data__:Pe}=Oe,{seriesX:_e}=Pe,ce=_e.map((Ne,je)=>je),Te=th(ce,Ne=>_e[+Ne]);return[Oe,[Te,_e]]})),{x:J}=o,ee=J!=null&&J.getBandWidth?J.getBandWidth()/2:0,Q=Oe=>{const[Pe]=a.invert(Oe);return Pe-ee},te=(Oe,Pe,_e)=>{const ce=Q(Oe),Te=_e.filter(Pi),[Ne,je]=th([Te[0],Te[Te.length-1]]),He=Ne===je;if(!X&&(ceje)&&!He)return null;const Be=R4(me=>_e[+me]).center,qe=Be(Pe,ce);return Pe[qe]},ne=(Oe,Pe)=>{const ce=Oe[A?1:0],Te=Pe.filter(He=>{const[Be,qe]=G(He);return ce>=Be&&ce<=qe});if(!X||Te.length>0)return Te;const Ne=R4(He=>{const[Be,qe]=G(He);return(Be+qe)/2}).center,je=Ne(Pe,ce);return[Pe[je]].filter(Pi)},re=(Oe,Pe)=>{const{__data__:_e}=Oe;return Object.fromEntries(Object.entries(_e).filter(([ce])=>ce.startsWith("series")&&ce!=="series").map(([ce,Te])=>{const Ne=Te[Pe];return[LUe(ce.replace("series","")),Ne]}))},oe=py(Oe=>{const Pe=jse(e,Oe);if(!Pe)return;const _e=wnt(e),ce=_e.min[0],Te=_e.min[1],Ne=[Pe[0]-p,Pe[1]-g];if(!Ne)return;const je=ne(Ne,U),He=[],Be=[];for(const Ke of W){const[lt,ft]=Y.get(Ke),Ye=te(Ne,lt,ft);if(Ye!==null){He.push(Ke);const we=re(Ke,Ye),{x:De,y:We}=we,Ge=a.map([(De||0)+ee,We||0]);Be.push([Object.assign(Object.assign({},we),{element:Ke}),Ge])}}const qe=Array.from(new Set(Be.map(Ke=>Ke[0].x))),me=qe[UF(qe,Ke=>Math.abs(Ke-Q(Ne)))],Ee=Be.filter(Ke=>Ke[0].x===me),$e=[...Ee.map(Ke=>Ke[0]),...je.map(Ke=>Ke.__data__)],Le=[...He,...je],Fe=Dnt(Le,o,u,$e,S);if(r&&Fe.items.sort((Ke,lt)=>r(Ke)-r(lt)),i&&(Fe.items=Fe.items.filter(i)),Le.length===0||Lnt(Fe)){se(Oe);return}if(m&&Ant({root:e,data:Fe,x:Pe[0]+ce,y:Pe[1]+Te,render:s,event:Oe,single:v,position:y,enterable:b,mount:C,bounding:x,css:T}),l){const Ke=Ee.map(ft=>ft[1]),lt=hn(j,"crosshairs");mSn(e,Ke,Object.assign(Object.assign({},lt),{plotWidth:D,plotHeight:L,mainWidth:B,mainHeight:k,insetLeft:z,insetTop:q,startX:p,startY:g,transposed:A,polar:N}))}if(O){const Ke=hn(j,"marker");vSn(e,{data:Ee,style:Ke,theme:S})}c.emit("tooltip:show",Object.assign(Object.assign({},Oe),{nativeEvent:!0,data:{data:{x:q4(o.x,Q(Ne),!0)}}}))},f,{leading:h,trailing:d}),se=Oe=>{L1({root:e,single:v,emitter:c,event:Oe}),l&&j$e(e),O&&D$e(e)},ye=()=>{Lee({root:e,single:v}),l&&j$e(e),O&&D$e(e)},be=({nativeEvent:Oe,data:Pe})=>{if(Oe)return;const{x:_e}=Pe.data,{x:ce}=o,Te=ce.map(_e),[Ne,je]=a.map([Te,.5]),{min:[He,Be]}=e.getRenderBounds();oe({offsetX:Ne+He,offsetY:je+Be})},he=()=>{L1({root:e,single:v,emitter:c,nativeEvent:!1})},le=()=>{Ie(),ye()},ve=()=>{ke()},ke=()=>{w||(e.addEventListener("pointerenter",oe),e.addEventListener("pointermove",oe),e.addEventListener("pointerleave",se))},Ie=()=>{w||(e.removeEventListener("pointerenter",oe),e.removeEventListener("pointermove",oe),e.removeEventListener("pointerleave",se))};return ke(),c.on("tooltip:show",be),c.on("tooltip:hide",he),c.on("tooltip:disable",le),c.on("tooltip:enable",ve),()=>{Ie(),c.off("tooltip:show",be),c.off("tooltip:hide",he),c.off("tooltip:disable",le),c.off("tooltip:enable",ve),$?L1({root:e,single:v,emitter:c,nativeEvent:!1}):ye()}}function bSn(e,{elements:t,scale:n,render:r,groupName:i,sort:o,filter:a,emitter:l,wait:s=50,leading:u=!0,trailing:c=!1,groupKey:f=$=>$,single:h=!0,position:d,enterable:p,datum:g,view:m,mount:v,bounding:y,theme:b,shared:C=!1,body:x=!0,disableNative:S=!1,preserve:w=!1,css:O={}}){const $=t(e),P=new Set($),T=Ji($,f),R=py(k=>{const{target:z}=k;if(!P.has(z)){L1({root:e,single:h,emitter:l,event:k});return}const q=f(z),W=T.get(q),U=W.length===1&&!C?hSn(W[0]):Dnt(W,n,i,void 0,b);if(o&&U.items.sort((G,Y)=>o(G)-o(Y)),a&&(U.items=U.items.filter(a)),Lnt(U)){L1({root:e,single:h,emitter:l,event:k});return}const{offsetX:K,offsetY:X}=k;x&&Ant({root:e,data:U,x:K,y:X,render:r,event:k,single:h,position:d,enterable:p,mount:v,bounding:y,css:O}),l.emit("tooltip:show",Object.assign(Object.assign({},k),{nativeEvent:!0,data:{data:Ptt(z,m)}}))},s,{leading:u,trailing:c}),M=k=>{L1({root:e,single:h,emitter:l,event:k})},A=()=>{S||(e.addEventListener("pointermove",R),e.addEventListener("pointerleave",M))},N=()=>{S||(e.removeEventListener("pointermove",R),e.removeEventListener("pointerleave",M))},j=({nativeEvent:k,data:z})=>{if(k)return;const q=Lse($,z.data,g);if(!q)return;const W=q.getBBox(),{x:U,y:K,width:X,height:G}=W;R({target:q,offsetX:U+X/2,offsetY:K+G/2})},D=({nativeEvent:k}={})=>{k||L1({root:e,single:h,emitter:l,nativeEvent:!1})},L=()=>{N(),Lee({root:e,single:h})},B=()=>{A()};return l.on("tooltip:show",j),l.on("tooltip:hide",D),l.on("tooltip:enable",B),l.on("tooltip:disable",L),A(),()=>{N(),l.off("tooltip:show",j),l.off("tooltip:hide",D),w?L1({root:e,single:h,emitter:l,nativeEvent:!1}):Lee({root:e,single:h})}}function znt(e){const{shared:t,crosshairs:n,series:r,name:i,item:o=()=>({}),facet:a=!1}=e,l=GP(e,["shared","crosshairs","series","name","item","facet"]);return(s,u,c)=>{const{container:f,view:h}=s,{scale:d,markState:p,coordinate:g,theme:m}=h,v=L$e(p,"seriesTooltip"),y=L$e(p,"crosshairs"),b=zh(f),C=dX(r,v);if(C&&ySn(p)&&!a)return z$e(b,Object.assign(Object.assign({},l),{theme:m,elements:w0,scale:d,coordinate:g,crosshairs:dX(n,y),item:o,emitter:c}));if(C&&a){const x=u.filter(T=>T!==s&&T.options.parentKey===s.options.key),S=_nt(s,u),w=x[0].view.scale,O=b.getBounds(),$=O.min[0],P=O.min[1];return Object.assign(w,{facet:!0}),z$e(b.parentNode.parentNode,Object.assign(Object.assign({},l),{theme:m,elements:()=>S,scale:w,coordinate:g,crosshairs:dX(n,y),item:o,startX:$,startY:P,emitter:c}))}return bSn(b,Object.assign(Object.assign({},l),{datum:wy(h),elements:w0,scale:d,coordinate:g,groupKey:t?Dse():void 0,item:o,emitter:c,view:h,theme:m,shared:t}))}}znt.props={reapplyWhenUpdate:!0};var tj=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const Bnt="legend-category",CSn="legend-continuous",SSn="items-item",xSn="legend-category-item-marker",_Sn="legend-category-item-label";function Fnt(e){return e.getElementsByClassName(xSn)[0]}function Hnt(e){return e.getElementsByClassName(_Sn)[0]}function Wnt(e){return e.getElementsByClassName(SSn)}function zse(e){return e.getElementsByClassName(Bnt)}function qnt(e){return e.getElementsByClassName(CSn)}function wSn(e,t){[...zse(e),...qnt(e)].forEach(r=>{t(r,i=>i)})}function zee(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function OSn(e,{legends:t,marker:n,label:r,datum:i,filter:o,emitter:a,channel:l,state:s={}}){const u=new Map,c=new Map,f=new Map,{unselected:h={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=s,d={unselected:hn(h,"marker")},p={unselected:hn(h,"label")},{setState:g,removeState:m}=oh(d,void 0),{setState:v,removeState:y}=oh(p,void 0),b=Array.from(t(e));let C=b.map(i);const x=()=>{for(const O of b){const $=i(O),P=n(O),T=r(O);C.includes($)?(m(P,"unselected"),y(T,"unselected")):(g(P,"unselected"),v(T,"unselected"))}};for(const O of b){const $=()=>{I1(e,"pointer")},P=()=>{eSn(e)},T=R=>tj(this,void 0,void 0,function*(){const M=i(O),A=C.indexOf(M);A===-1?C.push(M):C.splice(A,1),C.length===0&&C.push(...b.map(i)),yield o(C),x();const{nativeEvent:N=!0}=R;N&&(C.length===b.length?a.emit("legend:reset",{nativeEvent:N}):a.emit("legend:filter",Object.assign(Object.assign({},R),{nativeEvent:N,data:{channel:l,values:C}})))});O.addEventListener("click",T),O.addEventListener("pointerenter",$),O.addEventListener("pointerout",P),u.set(O,T),c.set(O,$),f.set(O,P)}const S=O=>tj(this,void 0,void 0,function*(){const{nativeEvent:$}=O;if($)return;const{data:P}=O,{channel:T,values:R}=P;T===l&&(C=R,yield o(C),x())}),w=O=>tj(this,void 0,void 0,function*(){const{nativeEvent:$}=O;$||(C=b.map(i),yield o(C),x())});return a.on("legend:filter",S),a.on("legend:reset",w),()=>{for(const O of b)O.removeEventListener("click",u.get(O)),O.removeEventListener("pointerenter",c.get(O)),O.removeEventListener("pointerout",f.get(O)),a.off("legend:filter",S),a.off("legend:reset",w)}}function ESn(e,{legend:t,filter:n,emitter:r,channel:i}){const o=({detail:{value:a}})=>{n(a),r.emit({nativeEvent:!0,data:{channel:i,values:a}})};return t.addEventListener("valuechange",o),()=>{t.removeEventListener("valuechange",o)}}function Vnt(e,{legend:t,channel:n,value:r,ordinal:i,channels:o,allChannels:a,facet:l=!1}){return tj(this,void 0,void 0,function*(){const{view:s,update:u,setState:c}=e;c(t,f=>{const{marks:h}=f,d=h.map(p=>{if(p.type==="legends")return p;const{transform:g=[]}=p,m=g.findIndex(({type:b})=>b.startsWith("group")||b.startsWith("bin")),v=[...g];v.splice(m+1,0,{type:"filter",[n]:{value:r,ordinal:i}});const y=Object.fromEntries(o.map(b=>[b,{domain:s.scale[b].getOptions().domain}]));return Dt({},p,Object.assign(Object.assign({transform:v,scale:y},!i&&{animate:!1}),{legend:l?!1:Object.fromEntries(a.map(b=>[b,{preserve:!0}]))}))});return Object.assign(Object.assign({},f),{marks:d})}),yield u()})}function $Sn(e,t){for(const n of e)Vnt(n,Object.assign(Object.assign({},t),{facet:!0}))}function PSn(){return(e,t,n)=>{const{container:r}=e,i=t.filter(f=>f!==e),o=i.length>0,a=f=>zee(f).scales.map(h=>h.name),l=[...zse(r),...qnt(r)],s=l.flatMap(a),u=o?py($Sn,50,{trailing:!0}):py(Vnt,50,{trailing:!0}),c=l.map(f=>{const{name:h,domain:d}=zee(f).scales[0],p=a(f),g={legend:f,channel:h,channels:p,allChannels:s};return f.className===Bnt?OSn(r,{legends:Wnt,marker:Fnt,label:Hnt,datum:m=>{const{__data__:v}=m,{index:y}=v;return d[y]},filter:m=>{const v=Object.assign(Object.assign({},g),{value:m,ordinal:!0});u(o?i:e,v)},state:f.attributes.state,channel:h,emitter:n}):ESn(r,{legend:f,filter:m=>{const v=Object.assign(Object.assign({},g),{value:m,ordinal:!1});u(o?i:e,v)},emitter:n,channel:h})});return()=>{c.forEach(f=>f())}}}function TSn(){return(e,t,n)=>{const{container:r,view:i,options:o}=e,a=zse(r),l=w0(r),s=d=>zee(d).scales[0].name,u=d=>{const{scale:{[d]:p}}=i;return p},c=Y4(o,["active","inactive"]),f=UP(l,wy(i)),h=[];for(const d of a){const p=k=>{const{data:z}=d.attributes,{__data__:q}=k,{index:W}=q;return z[W].label},g=s(d),m=Wnt(d),v=u(g),y=Ji(l,k=>v.invert(k.__data__[g])),{state:b={}}=d.attributes,{inactive:C={}}=b,{setState:x,removeState:S}=oh(c,f),w={inactive:hn(C,"marker")},O={inactive:hn(C,"label")},{setState:$,removeState:P}=oh(w),{setState:T,removeState:R}=oh(O),M=k=>{for(const z of m){const q=Fnt(z),W=Hnt(z);z===k||k===null?(P(q,"inactive"),R(W,"inactive")):($(q,"inactive"),T(W,"inactive"))}},A=(k,z)=>{const q=p(z),W=new Set(y.get(q));for(const K of l)W.has(K)?x(K,"active"):x(K,"inactive");M(z);const{nativeEvent:U=!0}=k;U&&n.emit("legend:highlight",Object.assign(Object.assign({},k),{nativeEvent:U,data:{channel:g,value:q}}))},N=new Map;for(const k of m){const z=q=>{A(q,k)};k.addEventListener("pointerover",z),N.set(k,z)}const j=k=>{for(const q of l)S(q,"inactive","active");M(null);const{nativeEvent:z=!0}=k;z&&n.emit("legend:unhighlight",{nativeEvent:z})},D=k=>{const{nativeEvent:z,data:q}=k;if(z)return;const{channel:W,value:U}=q;if(W!==g)return;const K=m.find(X=>p(X)===U);K&&A({nativeEvent:!1},K)},L=k=>{const{nativeEvent:z}=k;z||j({nativeEvent:!1})};d.addEventListener("pointerleave",j),n.on("legend:highlight",D),n.on("legend:unhighlight",L);const B=()=>{d.removeEventListener(j),n.off("legend:highlight",D),n.off("legend:unhighlight",L);for(const[k,z]of N)k.removeEventListener(z)};h.push(B)}return()=>h.forEach(d=>d())}}var Js=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ii||so||u{const t=e.attributes,{x:n,y:r,width:i,height:o,class:a,renders:l={},handleSize:s=10,document:u}=t,c=Js(t,["x","y","width","height","class","renders","handleSize","document"]);if(!u||i===void 0||o===void 0||n===void 0||r===void 0)return;const f=s/2,h=(U,K,X)=>{U.handle||(U.handle=X.createElement("rect"),U.append(U.handle));const{handle:G}=U;return G.attr(K),G},d=hn(gK(c,"handleNW","handleNE"),"handleN"),{render:p=h}=d,g=Js(d,["render"]),m=hn(c,"handleE"),{render:v=h}=m,y=Js(m,["render"]),b=hn(gK(c,"handleSE","handleSW"),"handleS"),{render:C=h}=b,x=Js(b,["render"]),S=hn(c,"handleW"),{render:w=h}=S,O=Js(S,["render"]),$=hn(c,"handleNW"),{render:P=h}=$,T=Js($,["render"]),R=hn(c,"handleNE"),{render:M=h}=R,A=Js(R,["render"]),N=hn(c,"handleSE"),{render:j=h}=N,D=Js(N,["render"]),L=hn(c,"handleSW"),{render:B=h}=L,k=Js(L,["render"]),z=(U,K)=>{const{id:X}=U,G=U.attributes,Y=Js(G,["x","y"]),J=K(U,Object.assign({x:0,y:0},Y),u);J.id=X,J.style.draggable=!0},q=U=>()=>{const K=B4(X=>z(X,U));return new K({})},W=Un(e).attr("className",a).style("x",n).style("y",r).style("draggable",!0);W.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(wp,Object.assign({width:i,height:o},gK(c,"handle"))),W.maybeAppend("handle-n",q(p)).style("x",f).style("y",-f).style("width",i-s).style("height",s).style("fill","transparent").call(wp,g),W.maybeAppend("handle-e",q(v)).style("x",i-f).style("y",f).style("width",s).style("height",o-s).style("fill","transparent").call(wp,y),W.maybeAppend("handle-s",q(C)).style("x",f).style("y",o-f).style("width",i-s).style("height",s).style("fill","transparent").call(wp,x),W.maybeAppend("handle-w",q(w)).style("x",-f).style("y",f).style("width",s).style("height",o-s).style("fill","transparent").call(wp,O),W.maybeAppend("handle-nw",q(P)).style("x",-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(wp,T),W.maybeAppend("handle-ne",q(M)).style("x",i-f).style("y",-f).style("width",s).style("height",s).style("fill","transparent").call(wp,A),W.maybeAppend("handle-se",q(j)).style("x",i-f).style("y",o-f).style("width",s).style("height",s).style("fill","transparent").call(wp,D),W.maybeAppend("handle-sw",q(B)).style("x",-f).style("y",o-f).style("width",s).style("height",s).style("fill","transparent").call(wp,k)});function Bse(e,t){var{brushed:n=()=>{},brushended:r=()=>{},brushcreated:i=()=>{},brushstarted:o=()=>{},brushupdated:a=()=>{},extent:l=ISn(e),brushRegion:s=(G,Y,J,ee,Q)=>[G,Y,J,ee],reverse:u=!1,fill:c="#777",fillOpacity:f="0.3",stroke:h="#fff",selectedHandles:d=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,p=Js(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let g=null,m=null,v=null,y=null,b=null,C=!1;const[x,S,w,O]=l;I1(e,"crosshair"),e.style.draggable=!0;const $=(G,Y,J)=>{if(o(J),y&&y.remove(),b&&b.remove(),g=[G,Y],u)return P();T()},P=()=>{b=new is({style:Object.assign(Object.assign({},p),{fill:c,fillOpacity:f,stroke:h,pointerEvents:"none"})}),y=new B$e({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(b),e.appendChild(y)},T=()=>{y=new B$e({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},p),{fill:c,fillOpacity:f,stroke:h,draggable:!0}),className:"mask"}),e.appendChild(y)},R=(G=!0)=>{y&&y.remove(),b&&b.remove(),g=null,m=null,v=null,C=!1,y=null,b=null,r(G)},M=(G,Y,J=!0)=>{const[ee,Q,te,ne]=RSn(G[0],G[1],Y[0],Y[1],l),[re,oe,se,ye]=s(ee,Q,te,ne,l);return u?N(re,oe,se,ye):A(re,oe,se,ye),n(re,oe,se,ye,J),[re,oe,se,ye]},A=(G,Y,J,ee)=>{y.style.x=G,y.style.y=Y,y.style.width=J-G,y.style.height=ee-Y},N=(G,Y,J,ee)=>{b.style.d=` M${x},${S}L${w},${S}L${w},${O}L${x},${O}Z M${G},${Y}L${G},${ee}L${J},${ee}L${J},${Y}Z - `,y.style.x=G,y.style.y=Y,y.style.width=J-G,y.style.height=ee-Y},k=G=>{const Y=(oe,se,ye,be,he)=>oe+sehe?he-ye:oe,J=G[0]-v[0],ee=G[1]-v[1],Q=Y(J,g[0],m[0],x,w),te=Y(ee,g[1],m[1],S,O),ne=[g[0]+Q,g[1]+te],re=[m[0]+Q,m[1]+te];M(ne,re)},D={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},L=G=>j(G)||B(G),B=G=>{const{id:Y}=G;return d.indexOf(Y)===-1?!1:new Set(Object.keys(D)).has(Y)},j=G=>G===y.getElementById("selection"),z=G=>{const{target:Y}=G,[J,ee]=cX(e,G);if(!y||!L(Y)){$(J,ee,G),C=!0;return}L(Y)&&(v=[J,ee])},V=G=>{const{target:Y}=G,J=cX(e,G);if(!g)return;if(!v)return M(g,J);if(j(Y))return k(J);const[ee,Q]=[J[0]-v[0],J[1]-v[1]],{id:te}=Y;if(D[te]){const[ne,re,oe,se]=D[te].vector;return M([g[0]+ee*ne,g[1]+Q*re],[m[0]+ee*oe,m[1]+Q*se])}},W=G=>{if(v){v=null;const{x:te,y:ne,width:re,height:oe}=y.style;g=[te,ne],m=[te+re,ne+oe],a(te,ne,te+re,ne+oe,G);return}m=cX(e,G);const[Y,J,ee,Q]=M(g,m);C=!1,i(Y,J,ee,Q,G)},U=G=>{const{target:Y}=G;y&&!L(Y)&&R()},K=G=>{const{target:Y}=G;!y||!L(Y)||C?I1(e,"crosshair"):j(Y)?I1(e,"move"):B(Y)&&I1(e,D[Y.id].cursor)},X=()=>{I1(e,"default")};return e.addEventListener("dragstart",z),e.addEventListener("drag",V),e.addEventListener("dragend",W),e.addEventListener("click",U),e.addEventListener("pointermove",K),e.addEventListener("pointerleave",X),{mask:y,move(G,Y,J,ee,Q=!0){y||$(G,Y,{}),g=[G,Y],m=[J,ee],M([G,Y],[J,ee],Q)},remove(G=!0){y&&R(G)},destroy(){y&&R(!1),I1(e,"default"),e.removeEventListener("dragstart",z),e.removeEventListener("drag",V),e.removeEventListener("dragend",W),e.removeEventListener("click",U),e.removeEventListener("pointermove",K),e.removeEventListener("pointerleave",X)}}}function Bse(e,t,n){return t.filter(r=>{if(r===e)return!1;const{interaction:i={}}=r.options;return Object.values(i).find(o=>o.brushKey===n)})}function kSn(e,t,n){return Bse(e,t,n).map(r=>zh(r.container))}function jSn(e,t,n){return Bse(e,t,n).map(r=>r.options)}function B$e(e,t){var{elements:n,selectedHandles:r,siblings:i=V=>[],datum:o,brushRegion:a,extent:l,reverse:s,scale:u,coordinate:c,series:f=!1,key:h=V=>V,bboxOf:d=V=>{const{x:W,y:U,width:K,height:X}=V.style;return{x:W,y:U,width:K,height:X}},state:p={},emitter:g}=t,m=Js(t,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);const v=n(e),y=i(e),b=y.flatMap(n),C=VP(v,o),x=hn(m,"mask"),{setState:S,removeState:w}=oh(p,C),O=new Map,{width:$,height:P,x:T=0,y:R=0}=d(e),M=l||[0,0,$,P],A=()=>{for(const V of[...v,...b])w(V,"active","inactive")},N=(V,W,U,K)=>{var X;for(const Y of y)(X=Y.brush)===null||X===void 0||X.remove();const G=new Set;for(const Y of v){const{min:J,max:ee}=Y.getLocalBounds(),[Q,te]=J,[ne,re]=ee;ISn([Q,te,ne,re],[V,W,U,K])?(S(Y,"active"),G.add(h(Y))):S(Y,"inactive")}for(const Y of b)G.has(h(Y))?S(Y,"active"):S(Y,"inactive")},k=()=>{for(const V of v)w(V,"inactive");for(const V of O.values())V.remove();O.clear()},D=(V,W,U,K)=>{const X=G=>{const Y=G.cloneNode();return Y.__data__=G.__data__,G.parentNode.appendChild(Y),O.set(G,Y),Y};for(const G of v){const Y=O.get(G)||X(G);Y.style.clipPath=new ib({style:{x:V+T,y:W+R,width:U-V,height:K-W}}),S(G,"inactive"),S(Y,"active")}},L=zse(e,Object.assign(Object.assign({},x),{extent:M,brushRegion:a,reverse:s,selectedHandles:r,brushended:V=>{const W=f?k:A;V&&g.emit("brush:remove",{nativeEvent:!0}),W()},brushed:(V,W,U,K,X)=>{const G=Qk(V,W,U,K,u,c);X&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:G}}),(f?D:N)(V,W,U,K)},brushcreated:(V,W,U,K,X)=>{const G=Qk(V,W,U,K,u,c);g.emit("brush:end",Object.assign(Object.assign({},X),{nativeEvent:!0,data:{selection:G}}))},brushupdated:(V,W,U,K,X)=>{const G=Qk(V,W,U,K,u,c);g.emit("brush:end",Object.assign(Object.assign({},X),{nativeEvent:!0,data:{selection:G}}))},brushstarted:V=>{g.emit("brush:start",V)}})),B=({nativeEvent:V,data:W})=>{if(V)return;const{selection:U}=W,[K,X,G,Y]=fyn(U,u,c);L.move(K,X,G,Y,!1)};g.on("brush:highlight",B);const j=({nativeEvent:V}={})=>{V||L.remove(!1)};g.on("brush:remove",j);const z=L.destroy.bind(L);return L.destroy=()=>{g.off("brush:highlight",B),g.off("brush:remove",j),z()},L}function Fse(e){var{facet:t,brushKey:n}=e,r=Js(e,["facet","brushKey"]);return(i,o,a)=>{const{container:l,view:s,options:u}=i,c=zh(l),f={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},h=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:p}=s;if(t){const m=c.getBounds(),v=m.min[0],y=m.min[1],b=m.max[0],C=m.max[1];return B$e(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>_nt(i,o),datum:wy(jee(i,o).map(x=>x.view)),brushRegion:(x,S,w,O)=>[x,S,w,O],extent:[v,y,b,C],state:Y4(jee(i,o).map(x=>x.options),h),emitter:a,scale:d,coordinate:p,selectedHandles:void 0},f),r))}const g=B$e(c,Object.assign(Object.assign({elements:w0,key:m=>m.__data__.key,siblings:()=>kSn(i,o,n),datum:wy([s,...Bse(i,o,n).map(m=>m.view)]),brushRegion:(m,v,y,b)=>[m,v,y,b],extent:void 0,state:Y4([u,...jSn(i,o,n)],h),emitter:a,scale:d,coordinate:p,selectedHandles:void 0},f),r));return c.brush=g,()=>g.destroy()}}function Hse(e,t,n,r,i){const[,o,,a]=i;return[e,o,n,a]}function DSn(e){return Fse(Object.assign(Object.assign({},e),{brushRegion:Hse,selectedHandles:["handle-e","handle-w"]}))}function Wse(e,t,n,r,i){const[o,,a]=i;return[o,t,a,r]}function LSn(e){return Fse(Object.assign(Object.assign({},e),{brushRegion:Wse,selectedHandles:["handle-n","handle-s"]}))}var qse=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i[-1/0,g,1/0,v]:(p,g,m,v)=>[Math.floor(u-r),g,Math.ceil(f-r),v]}}function VSn(e,t){var{offsetY:n,offsetX:r,cross:i=!1}=t,o=qse(t,["offsetY","offsetX","cross"]);const a=Knt(e),l=Gnt(e),[,s]=l.getLocalBounds().min,[u,c]=a.min,[f,h]=a.max,d=h-c;return{brushRegion:Hse,hotZone:new ib({className:Unt,style:Object.assign({x:u,width:f-u,y:i?c:s-d,height:i?d:d*2},o)}),extent:i?(p,g,m,v)=>[p,-1/0,m,1/0]:(p,g,m,v)=>[p,Math.floor(c-n),m,Math.ceil(h-n)]}}function USn(e,t){var{axes:n,elements:r,points:i,horizontal:o,datum:a,offsetY:l,offsetX:s,reverse:u=!1,state:c={},emitter:f,coordinate:h}=t,d=qse(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);const p=r(e),g=n(e),m=VP(p,a),{setState:v,removeState:y}=oh(c,m),b=new Map,C=hn(d,"mask"),x=B=>Array.from(b.values()).every(([j,z,V,W])=>B.some(([U,K])=>U>=j&&U<=V&&K>=z&&K<=W)),S=g.map(B=>B.attributes.scale),w=B=>B.length>2?[B[0],B[B.length-1]]:B,O=new Map,$=()=>{O.clear();for(let B=0;B{const z=[];for(const W of p){const U=i(W);x(U)?(v(W,"active"),z.push(W)):v(W,"inactive")}if(O.set(B,R(z,B)),!j)return;const V=()=>{if(!M)return Array.from(O.values());const W=[];for(const[U,K]of O){const X=S[U],{name:G}=X.getOptions();G==="x"?W[0]=K:W[1]=K}return W};f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:V()}})},T=B=>{for(const j of p)y(j,"active","inactive");$(),B&&f.emit("brushAxis:remove",{nativeEvent:!0})},R=(B,j)=>{const z=S[j],{name:V}=z.getOptions(),W=B.map(U=>{const K=U.__data__;return z.invert(K[V])});return w(V1(z,W))},M=g.some(o)&&g.some(B=>!o(B)),A=[];for(let B=0;B{const{nativeEvent:j}=B;j||A.forEach(z=>z.remove(!1))},k=(B,j,z)=>{const[V,W]=B,U=G=>G.getStep?G.getStep():0,K=D(V,j,z),X=D(W,j,z)+U(j);return o(z)?[K,-1/0,X,1/0]:[-1/0,K,1/0,X]},D=(B,j,z)=>{const{height:V,width:W}=h.getOptions(),U=j.clone();return o(z)?U.update({range:[0,W]}):U.update({range:[V,0]}),U.map(B)},L=B=>{const{nativeEvent:j}=B;if(j)return;const{selection:z}=B.data;for(let V=0;V{A.forEach(B=>B.destroy()),f.off("brushAxis:remove",N),f.off("brushAxis:highlight",L)}}function GSn(e){return(t,n,r)=>{const{container:i,view:o,options:a}=t,l=zh(i),{x:s,y:u}=l.getBBox(),{coordinate:c}=o;return USn(i,Object.assign({elements:w0,axes:HSn,offsetY:u,offsetX:s,points:f=>f.__data__.points,horizontal:f=>{const{startPos:[h,d],endPos:[p,g]}=f.attributes;return h!==p&&d===g},datum:wy(o),state:Y4(a,["active",["inactive",{opacity:.5}]]),coordinate:c,emitter:r},e))}}var KSn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Xnt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{timeStamp:r}=n;return t!==null&&r-t{if(S)return;const{selection:O}=w;n(O,{nativeEvent:!1})};return l.on("brush:filter",x),()=>{y.destroy(),l.off("brush:filter",x),e.removeEventListener("click",C)}}function Vse(e){var{hideX:t=!0,hideY:n=!0}=e,r=Xnt(e,["hideX","hideY"]);return(i,o,a)=>{const{container:l,view:s,options:u,update:c,setState:f}=i,h=zh(l),d={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1};let p=!1,g=!1,m=s;const{scale:v,coordinate:y}=s;return YSn(h,Object.assign(Object.assign({brushRegion:(b,C,x,S)=>[b,C,x,S],selection:(b,C,x,S)=>{const{scale:w,coordinate:O}=m;return Qk(b,C,x,S,w,O)},filter:(b,C)=>KSn(this,void 0,void 0,function*(){if(g)return;g=!0;const[x,S]=b;f("brushFilter",O=>{const{marks:$}=O,P=$.map(T=>Dt({axis:Object.assign(Object.assign({},t&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},T,{scale:{x:{domain:x,nice:!1},y:{domain:S,nice:!1}}}));return Object.assign(Object.assign({},u),{marks:P,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},C),{data:{selection:[x,S]}})),m=(yield c()).view,g=!1,p=!0}),reset:b=>{if(g||!p)return;const{scale:C}=s,{x,y:S}=C,w=x.getOptions().domain,O=S.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},b),{data:{selection:[w,O]}})),p=!1,m=s,f("brushFilter"),c()},extent:void 0,emitter:a,scale:v,coordinate:y},d),r))}}function ZSn(e){return Vse(Object.assign(Object.assign({hideX:!0},e),{brushRegion:Hse}))}function QSn(e){return Vse(Object.assign(Object.assign({hideY:!0},e),{brushRegion:Wse}))}var JSn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const exn="slider";function txn(e,t,n,r=!1,i="x",o="y"){const{marks:a}=e,l=a.map(s=>{var u,c;return Dt({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},s,{scale:t,[n]:Object.assign(Object.assign({},((u=s[n])===null||u===void 0?void 0:u[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),((c=s[n])===null||c===void 0?void 0:c[o])&&{[o]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},e),{marks:l,clip:!0,animate:!1})}function nxn(e,t,n){const[r,i]=e,o=n?s=>1-s:s=>s,a=q4(t,o(r),!0),l=q4(t,o(i),!1);return V1(t,[a,l])}function RA(e){return[e[0],e[e.length-1]]}function Ynt({initDomain:e={},className:t=exn,prefix:n="slider",setValue:r=(u,c)=>u.setValues(c),hasState:i=!1,wait:o=50,leading:a=!0,trailing:l=!1,getInitValues:s=u=>{var c;const f=(c=u==null?void 0:u.attributes)===null||c===void 0?void 0:c.values;if(f[0]!==0||f[1]!==1)return f}}){return(u,c,f)=>{const{container:h,view:d,update:p,setState:g}=u,m=h.getElementsByClassName(t);if(!m.length)return()=>{};let v=!1;const{scale:y,coordinate:b,layout:C}=d,{paddingLeft:x,paddingTop:S,paddingBottom:w,paddingRight:O}=C,{x:$,y:P}=y,T=Hi(b),R=k=>{const D=k==="vertical"?"y":"x",L=k==="vertical"?"x":"y";return T?[L,D]:[D,L]},M=new Map,A=new Set,N={x:e.x||$.getOptions().domain,y:e.y||P.getOptions().domain};for(const k of m){const{orientation:D}=k.attributes,[L,B]=R(D),j=`${n}${j0(L)}:filter`,z=L==="x",{ratio:V}=$.getOptions(),{ratio:W}=P.getOptions(),U=Y=>{if(Y.data){const{selection:ne}=Y.data,[re=RA(N.x),oe=RA(N.y)]=ne;return z?[V1($,re,V),V1(P,oe,W)]:[V1(P,oe,W),V1($,re,V)]}const{value:J}=Y.detail,ee=y[L],Q=nxn(J,ee,T&&D==="horizontal"),te=N[B];return[Q,te]},K=py(Y=>JSn(this,void 0,void 0,function*(){const{initValue:J=!1}=Y;if(v&&!J)return;v=!0;const{nativeEvent:ee=!0}=Y,[Q,te]=U(Y);if(N[L]=Q,N[B]=te,ee){const ne=z?Q:te,re=z?te:Q;f.emit(j,Object.assign(Object.assign({},Y),{nativeEvent:ee,data:{selection:[RA(ne),RA(re)]}}))}g(k,ne=>Object.assign(Object.assign({},txn(ne,{[L]:{domain:Q,nice:!1}},n,i,L,B)),{paddingLeft:x,paddingTop:S,paddingBottom:w,paddingRight:O})),yield p(),v=!1}),o,{leading:a,trailing:l}),X=Y=>{const{nativeEvent:J}=Y;if(J)return;const{data:ee}=Y,{selection:Q}=ee,[te,ne]=Q;k.dispatchEvent(new vi("valuechange",{data:ee,nativeEvent:!1}));const re=z?vL(te,$):vL(ne,P);r(k,re)};f.on(j,X),k.addEventListener("valuechange",K),M.set(k,K),A.add([j,X]);const G=s(k);G&&k.dispatchEvent(new vi("valuechange",{detail:{value:G},nativeEvent:!1,initValue:!0}))}return p(),()=>{for(const[k,D]of M)k.removeEventListener("valuechange",D);for(const[k,D]of A)f.off(k,D)}}}const F$e="g2-scrollbar";function rxn(e={}){return(t,n,r)=>{const{view:i,container:o}=t;if(!o.getElementsByClassName(F$e).length)return()=>{};const{scale:l}=i,{x:s,y:u}=l,c={x:[...s.getOptions().domain],y:[...u.getOptions().domain]};return s.update({domain:s.getOptions().expectedDomain}),u.update({domain:u.getOptions().expectedDomain}),Ynt(Object.assign(Object.assign({},e),{initDomain:c,className:F$e,prefix:"scrollbar",hasState:!0,setValue:(h,d)=>h.setValue(d[0]),getInitValues:h=>{const d=h.slider.attributes.values;if(d[0]!==0)return d}}))(t,n,r)}}var ixn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i${t}`}const axn={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function H$e(e){return e.nodeName!=="text"?!1:!!e.isOverflowing()}function Znt(e){var{offsetX:t=8,offsetY:n=8}=e,r=ixn(e,["offsetX","offsetY"]);return i=>{const{container:o}=i,[a,l]=o.getBounds().min,s=hn(r,"tip"),u=new Set,c=h=>{const{target:d}=h;if(!H$e(d)){h.stopPropagation();return}const{offsetX:p,offsetY:g}=h,m=p+t-a,v=g+n-l;if(d.tip){d.tip.style.x=m,d.tip.style.y=v;return}const{text:y}=d.style,b=new fH({className:"poptip",style:{innerHTML:oxn("div",y,Object.assign(Object.assign({},axn),s)),x:m,y:v}});o.appendChild(b),d.tip=b,u.add(b)},f=h=>{const{target:d}=h;if(!H$e(d)){h.stopPropagation();return}d.tip&&(d.tip.remove(),d.tip=null,u.delete(d.tip))};return o.addEventListener("pointerover",c),o.addEventListener("pointerout",f),()=>{o.removeEventListener("pointerover",c),o.removeEventListener("pointerout",f),u.forEach(h=>h.remove())}}}Znt.props={reapplyWhenUpdate:!0};var lxn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},sxn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.querySelectorAll(".element");function uxn(e){return Un(e).select(`.${W7}`).node()}const dxn={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};function fxn(e={}){const{originData:t=[],layout:n}=e,r=sxn(e,["originData","layout"]),i=Dt({},dxn,r),o=hn(i,"breadCrumb"),a=hn(i,"active");return l=>{const{update:s,setState:u,container:c,options:f}=l,h=uxn(c),d=f.marks[0],{state:p}=d,g=new Ha;h.appendChild(g);const m=(C,x)=>lxn(this,void 0,void 0,function*(){if(g.removeChildren(),x){let S="",w=o.y,O=0;const $=[],P=h.getBBox().width,T=C.map((R,M)=>{S=`${S}${R}/`,$.push(R);const A=new uu({name:S.replace(/\/$/,""),style:Object.assign(Object.assign({text:R,x:O,path:[...$],depth:M},o),{y:w})});g.appendChild(A),O+=A.getBBox().width;const N=new uu({style:Object.assign(Object.assign({x:O,text:" / "},o),{y:w})});return g.appendChild(N),O+=N.getBBox().width,O>P&&(w=g.getBBox().height+o.y,O=0,A.attr({x:O,y:w}),O+=A.getBBox().width,N.attr({x:O,y:w}),O+=N.getBBox().width),M===gJ(C)-1&&N.remove(),A});T.forEach((R,M)=>{if(M===gJ(T)-1)return;const A=Object.assign({},R.attributes);R.attr("cursor","pointer"),R.addEventListener("mouseenter",()=>{R.attr(a)}),R.addEventListener("mouseleave",()=>{R.attr(A)}),R.addEventListener("click",()=>{m(Li(R,["style","path"]),Li(R,["style","depth"]))})})}ESn(c,u),u("treemapDrillDown",S=>{const{marks:w}=S,O=C.join("/"),$=w.map(P=>{if(P.type!=="rect")return P;let T=t;if(x){const M=t.filter(L=>{const B=Li(L,["id"]);return B&&(B.match(`${O}/`)||O.match(B))}).map(L=>({value:L.height===0?Li(L,["value"]):void 0,name:Li(L,["id"])})),{paddingLeft:A,paddingBottom:N,paddingRight:k}=n,D=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||g.getBBox().height+10)/(x+1),paddingLeft:A/(x+1),paddingBottom:N/(x+1),paddingRight:k/(x+1),path:L=>L.name,layer:L=>L.depth===x+1});T=WQe(M,D,{value:"value"})[0]}else T=t.filter(M=>M.depth===1);const R=[];return T.forEach(({path:M})=>{R.push(bP(M))}),Dt({},P,{data:T,scale:{color:{domain:R}}})});return Object.assign(Object.assign({},S),{marks:$})}),yield s(void 0,["legendFilter"])}),v=C=>{const x=C.target;if(Li(x,["markType"])!=="rect")return;const S=Li(x,["__data__","key"]),w=I8e(t,O=>O.id===S);Li(w,"height")&&m(Li(w,"path"),Li(w,"depth"))};h.addEventListener("click",v);const y=Oae(Object.assign(Object.assign({},p.active),p.inactive)),b=()=>{cxn(h).forEach(x=>{const S=Li(x,["style","cursor"]),w=I8e(t,O=>O.id===Li(x,["__data__","key"]));if(S!=="pointer"&&(w!=null&&w.height)){x.style.cursor="pointer";const O=Eae(x.attributes,y);x.addEventListener("mouseenter",()=>{x.attr(p.active)}),x.addEventListener("mouseleave",()=>{x.attr(Dt(O,p.inactive))})}})};return b(),h.addEventListener("mousemove",b),()=>{g.remove(),h.removeEventListener("click",v),h.removeEventListener("mousemove",b)}}}function zee(e){const{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function W$e(e,t){const[n,r]=e,[i,o]=t;return n>=i[0]&&n<=o[0]&&r>=i[1]&&r<=o[1]}function pxn(e,t){const[n,r]=e;return!(W$e(n,t)&&W$e(r,t))}function hxn(e,t){const[n,r]=e,[i,o]=t;return n[0]i[0]&&n[1]i[1]}const gxn=e=>{const{priority:t}=e;return n=>{const r=[];return t&&n.sort(t),n.forEach(i=>{Ase(i);const o=i.getLocalBounds();r.some(l=>hxn(zee(o),zee(l.getLocalBounds())))?Nse(i):r.push(i)}),n}};function mxn([e,t],[n,r]){return r>e&&t>n}function IA(){const e=new Map;return[r=>e.get(r),(r,i)=>e.set(r,i)]}function vxn(e){const t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);const{min:r,max:i}=t.getRenderBounds();return t.destroy(),{min:r,max:i}}const yxn=e=>{const{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return i=>{const o=i.length;if(o<=1)return i;const[a,l]=IA(),[s,u]=IA(),[c,f]=IA(),[h,d]=IA();for(const p of i){const{min:g,max:m}=vxn(p),[v,y]=g,[b,C]=m;l(p,y),u(p,y),f(p,C-y),d(p,[v,b])}for(let p=0;ppo(s(m),s(v)));let g=0;for(let m=0;mQnt(e,bxn(r)));return t[n]}const Sxn=e=>{const{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return r=>(r.forEach(i=>{const o=i.attr("dependentElement").parsedStyle.fill,a=i.parsedStyle.fill;Qnt(a,o)e=>(e.forEach(t=>{Ase(t);const n=t.attr("bounds"),r=t.getLocalBounds();pxn(zee(r),n)&&Nse(t)}),e);function _xn(){return{"data.fetch":iJe,"data.inline":dJe,"data.sortBy":uJe,"data.sort":lJe,"data.filter":aJe,"data.pick":sJe,"data.rename":cJe,"data.fold":oJe,"data.slice":vJe,"data.custom":fJe,"data.map":pJe,"data.join":mJe,"data.kde":CJe,"data.log":$Je,"transform.stackY":_Ge,"transform.binX":HKe,"transform.bin":Kae,"transform.dodgeX":AGe,"transform.jitter":wKe,"transform.jitterX":OKe,"transform.jitterY":EKe,"transform.symmetryY":$Ke,"transform.diffY":PKe,"transform.stackEnter":kGe,"transform.normalizeY":jGe,"transform.select":tH,"transform.selectX":TKe,"transform.selectY":MKe,"transform.groupX":RKe,"transform.groupY":IKe,"transform.groupColor":NKe,"transform.group":PP,"transform.sortX":kKe,"transform.sortY":DKe,"transform.sortColor":jKe,"transform.flexX":LKe,"transform.pack":FKe,"transform.sample":WKe,"transform.filter":qKe,"coordinate.cartesian":OUe,"coordinate.polar":vP,"coordinate.transpose":Sae,"coordinate.theta":$Ue,"coordinate.parallel":_ae,"coordinate.fisheye":TUe,"coordinate.radial":xae,"coordinate.radar":MUe,"encode.constant":RUe,"encode.field":NUe,"encode.transform":IUe,"encode.column":AUe,"mark.interval":dQe,"mark.rect":fQe,"mark.line":pQe,"mark.point":hQe,"mark.text":gQe,"mark.cell":mQe,"mark.area":vQe,"mark.link":qle,"mark.image":yQe,"mark.polygon":bQe,"mark.box":CQe,"mark.vector":SQe,"mark.lineX":_Qe,"mark.lineY":xQe,"mark.connector":wQe,"mark.range":OQe,"mark.rangeX":EQe,"mark.rangeY":$Qe,"mark.path":IQe,"mark.shape":XQe,"mark.density":MJe,"mark.heatmap":RJe,"palette.category10":NJe,"palette.category20":AJe,"scale.linear":jJe,"scale.ordinal":DJe,"scale.band":kJe,"scale.identity":LJe,"scale.point":zJe,"scale.time":BJe,"scale.log":FJe,"scale.pow":HJe,"scale.sqrt":UJe,"scale.threshold":WJe,"scale.quantile":qJe,"scale.quantize":VJe,"scale.sequential":GJe,"scale.constant":KJe,"theme.classic":XJe,"theme.classicDark":ZJe,"theme.academy":QJe,"theme.light":Qle,"theme.dark":YJe,"component.axisX":uet,"component.axisY":det,"component.legendCategory":ese,"component.legendContinuous":V0,"component.legends":Cet,"component.title":get,"component.sliderX":met,"component.sliderY":vet,"component.scrollbarX":yet,"component.scrollbarY":bet,"animation.scaleInX":nse,"animation.scaleOutX":yyn,"animation.scaleInY":xet,"animation.scaleOutY":byn,"animation.waveIn":$et,"animation.fadeIn":_et,"animation.fadeOut":wet,"animation.zoomIn":Pyn,"animation.zoomOut":Tyn,"animation.pathIn":Pet,"animation.morphing":Eet,"animation.growInX":Tet,"animation.growInY":Met,"interaction.elementHighlight":kH,"interaction.elementHighlightByX":Tnt,"interaction.elementHighlightByColor":Mnt,"interaction.elementSelect":jH,"interaction.elementSelectByX":Rnt,"interaction.elementSelectByColor":Int,"interaction.fisheye":fSn,"interaction.chartIndex":Nnt,"interaction.tooltip":znt,"interaction.legendFilter":MSn,"interaction.legendHighlight":RSn,"interaction.brushHighlight":Fse,"interaction.brushXHighlight":DSn,"interaction.brushYHighlight":LSn,"interaction.brushAxisHighlight":GSn,"interaction.brushFilter":Vse,"interaction.brushXFilter":ZSn,"interaction.brushYFilter":QSn,"interaction.sliderFilter":Ynt,"interaction.scrollbarFilter":rxn,"interaction.poptip":Znt,"interaction.treemapDrillDown":fxn,"composition.spaceLayer":Vet,"composition.spaceFlex":Uet,"composition.facetRect":Zet,"composition.repeatMatrix":w2n,"composition.facetCircle":M2n,"composition.timingKeyframe":Qet,"labelTransform.overlapHide":gxn,"labelTransform.overlapDodgeY":yxn,"labelTransform.overflowHide":xxn,"labelTransform.contrastReverse":Sxn}}function wxn(){return{"composition.geoView":$tt,"composition.geoPath":Jet}}function Oxn(){return{"data.arc":Ule,"data.cluster":eJe,"mark.forceGraph":QQe,"mark.tree":nJe,"mark.pack":VQe,"mark.sankey":MQe,"mark.chord":RQe,"mark.treemap":qQe}}function Exn(){return{"data.venn":EJe,"mark.boxplot":KQe,"mark.gauge":TJe,"mark.wordCloud":PJe,"mark.liquid":IJe}}function Jnt(){return Object.assign(Object.assign(Object.assign(Object.assign({},wxn()),Oxn()),Exn()),_xn())}function $xn(e,t){class n extends e{constructor(i){super(Object.assign(Object.assign({},i),{lib:t}))}}return n}const ert={};function trt(e,t){Object.assign(ert,{[e]:t})}const _2=e=>e?parseInt(e):0;function Pxn(e){const t=getComputedStyle(e),n=e.clientWidth||_2(t.width),r=e.clientHeight||_2(t.height),i=_2(t.paddingLeft)+_2(t.paddingRight),o=_2(t.paddingTop)+_2(t.paddingBottom);return{width:n-i,height:r-o}}function fX(e,t){const n=[e];for(;n.length;){const r=n.shift();t&&t(r);const i=r.children||[];for(const o of i)n.push(o)}}class Use{constructor(t={},n){this.parentNode=null,this.children=[],this.index=0,this.type=n,this.value=t}map(t=n=>n){const n=t(this.value);return this.value=n,this}attr(t,n){return arguments.length===1?this.value[t]:this.map(r=>(r[t]=n,r))}append(t){const n=new t({});return n.children=[],this.push(n),n}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){const t=this.parentNode;if(t){const{children:n}=t,r=n.findIndex(i=>i===this);n.splice(r,1)}return this}getNodeByKey(t){let n=null;return fX(this,i=>{t===i.attr("key")&&(n=i)}),n}getNodesByType(t){const n=[];return fX(this,i=>{t===i.type&&n.push(i)}),n}getNodeByType(t){let n=null;return fX(this,r=>{n||t===r.type&&(n=r)}),n}call(t,...n){return t(this.map(),...n),this}getRoot(){let t=this;for(;t&&t.parentNode;)t=t.parentNode;return t}}var nrt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{t=r,e=i}),t,e]}function Hxn(e,t,{key:n=t}){e.prototype[t]=function(r){return arguments.length===0?this.attr(n):this.attr(n,r)}}function Wxn(e,t,{key:n=t}){e.prototype[t]=function(r){if(arguments.length===0)return this.attr(n);if(Array.isArray(r))return this.attr(n,r);const i=[...this.attr(n)||[],r];return this.attr(n,i)}}function qxn(e,t,{key:n=t}){e.prototype[t]=function(r,i){if(arguments.length===0)return this.attr(n);if(arguments.length===1&&typeof r!="string")return this.attr(n,r);const o=this.attr(n)||{};return o[r]=arguments.length===1?!0:i,this.attr(n,o)}}function Vxn(e,t,n){e.prototype[t]=function(r){if(arguments.length===0)return this.attr(t);if(Array.isArray(r))return this.attr(t,{items:r});if(E7(r)&&(r.title!==void 0||r.items!==void 0))return this.attr(t,r);if(r===null||r===!1)return this.attr(t,r);const i=this.attr(t)||{},{items:o=[]}=i;return o.push(r),i.items=o,this.attr(t,i)}}function Uxn(e,t,{ctor:n}){e.prototype[t]=function(r){const i=this.append(n);return t==="mark"&&(i.type=r),i}}function Gxn(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}function kL(e){return t=>{for(const[n,r]of Object.entries(e)){const{type:i}=r;i==="value"?Hxn(t,n,r):i==="array"?Wxn(t,n,r):i==="object"?qxn(t,n,r):i==="node"?Uxn(t,n,r):i==="container"?Gxn(t,n,r):i==="mix"&&Vxn(t,n)}return t}}function K$e(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,{type:"node",ctor:n}]))}const ort={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},Kxn=Object.assign(Object.assign({},ort),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),Xxn=Object.assign(Object.assign({},ort),{labelTransform:{type:"array"}});var Yxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let jL=class extends Use{changeData(t){var n;const r=this.getRoot();if(r)return this.attr("data",t),!((n=this.children)===null||n===void 0)&&n.length&&this.children.forEach(i=>{i.attr("data",t)}),r==null?void 0:r.render()}getView(){const t=this.getRoot(),{views:n}=t.getContext();if(n!=null&&n.length)return n.find(r=>r.key===this._key)}getScale(){var t;return(t=this.getView())===null||t===void 0?void 0:t.scale}getScaleByChannel(t){const n=this.getScale();if(n)return n[t]}getCoordinate(){var t;return(t=this.getView())===null||t===void 0?void 0:t.coordinate}getTheme(){var t;return(t=this.getView())===null||t===void 0?void 0:t.theme}getGroup(){const t=this._key;return t?this.getRoot().getContext().canvas.getRoot().getElementById(t):void 0}show(){const t=this.getGroup();t&&!t.isVisible()&&Ase(t)}hide(){const t=this.getGroup();t&&t.isVisible()&&Nse(t)}};jL=Yxn([kL(Xxn)],jL);var Zxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let Fee=class extends Use{changeData(t){const n=this.getRoot();if(n)return this.attr("data",t),n==null?void 0:n.render()}getMark(){var t;const n=(t=this.getRoot())===null||t===void 0?void 0:t.getView();if(!n)return;const{markState:r}=n,i=Array.from(r.keys()).find(o=>o.key===this.attr("key"));return r.get(i)}getScale(){var t;const n=(t=this.getRoot())===null||t===void 0?void 0:t.getView();if(n)return n==null?void 0:n.scale}getScaleByChannel(t){var n,r;const i=(n=this.getRoot())===null||n===void 0?void 0:n.getView();if(i)return(r=i==null?void 0:i.scale)===null||r===void 0?void 0:r[t]}getGroup(){const t=this.attr("key");return t?this.getRoot().getContext().canvas.getRoot().getElementById(t):void 0}};Fee=Zxn([kL(Kxn)],Fee);var Qxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},Jxn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.forceFit()},300),this._renderer=i||new Net,this._plugins=o||[],this._container=Txn(n),this._emitter=new ise,this._context={library:Object.assign(Object.assign({},a),ert),emitter:this._emitter,canvas:r},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;const t=new Promise((o,a)=>X6n(this._computedOptions(),this._context,this._createResolve(o),this._createReject(a))),[n,r,i]=Fxn();return t.then(r).catch(i).then(()=>this._renderTrailing()),n}options(t){if(arguments.length===0)return Ixn(this);const{type:n}=t;return n&&(this._previousDefinedType=n),Bxn(this,t,this._previousDefinedType,this._marks,this._compositions),this}getContainer(){return this._container}getContext(){return this._context}on(t,n,r){return this._emitter.on(t,n,r),this}once(t,n){return this._emitter.once(t,n),this}emit(t,...n){return this._emitter.emit(t,...n),this}off(t,n){return this._emitter.off(t,n),this}clear(){const t=this.options();this.emit(ni.BEFORE_CLEAR),this._reset(),N$e(t,this._context,!1),this.emit(ni.AFTER_CLEAR)}destroy(){const t=this.options();this.emit(ni.BEFORE_DESTROY),this._unbindAutoFit(),this._reset(),N$e(t,this._context,!0),this._container[rrt]&&Mxn(this._container),this.emit(ni.AFTER_DESTROY)}forceFit(){this.options.autoFit=!0;const{width:t,height:n}=pX(this.options(),this._container);if(t===this._width&&n===this._height)return Promise.resolve(this);this.emit(ni.BEFORE_CHANGE_SIZE);const r=this.render();return r.then(()=>{this.emit(ni.AFTER_CHANGE_SIZE)}),r}changeSize(t,n){if(t===this._width&&n===this._height)return Promise.resolve(this);this.emit(ni.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",n);const r=this.render();return r.then(()=>{this.emit(ni.AFTER_CHANGE_SIZE)}),r}_create(){const{library:t}=this._context,n=o=>o.startsWith("mark.")||o==="component.axisX"||o==="component.axisY"||o==="component.legends",r=["mark.mark",...Object.keys(t).filter(n)];this._marks={};for(const o of r){const a=o.split(".").pop();class l extends Fee{constructor(){super({},a)}}this._marks[a]=l,this[a]=function(s){const u=this.append(l);return a==="mark"&&(u.type=s),u}}const i=["composition.view",...Object.keys(t).filter(o=>o.startsWith("composition.")&&o!=="composition.mark")];this._compositions=Object.fromEntries(i.map(o=>{const a=o.split(".").pop();let l=class extends jL{constructor(){super({},a)}};return l=Qxn([kL(K$e(this._marks))],l),[a,l]}));for(const o of Object.values(this._compositions))kL(K$e(this._compositions))(o);for(const o of i){const a=o.split(".").pop();this[a]=function(){const l=this._compositions[a];return this.type=null,this.append(l)}}}_reset(){const t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([n])=>n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{const t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{const n=this._trailingReject.bind(this);this._trailingReject=null,n(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return n=>{this._rendering=!1,t(n)}}_computedOptions(){const t=this.options(),{key:n=e5n}=t,{width:r,height:i,depth:o}=pX(t,this._container);return this._width=r,this._height=i,this._key=n,Object.assign(Object.assign({key:this._key},t),{width:r,height:i,depth:o})}_createCanvas(){const{width:t,height:n}=pX(this.options(),this._container);this._plugins.push(new Aet),this._plugins.forEach(r=>this._renderer.registerPlugin(r)),this._context.canvas=new VXe({container:this._container,width:t,height:n,renderer:this._renderer})}_addToTrailing(){var t;return(t=this._trailingResolve)===null||t===void 0||t.call(this,this),this._trailing=!0,new Promise((r,i)=>{this._trailingResolve=r,this._trailingReject=i})}_bindAutoFit(){const t=this.options(),{autoFit:n}=t;if(this._hasBindAutoFit){n||this._unbindAutoFit();return}n&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}}jt.enableCSSParsing=!1;Object.assign({},Jnt());var Hee=function(){return Hee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(Gse=GP.createRoot)}catch{}function X$e(e){var t=GP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&typeof t=="object"&&(t.usingClientEntryPoint=e)}var Y$e="__rc_react_root__";function o5n(e,t){X$e(!0);var n=t[Y$e]||Gse(t);X$e(!1),n.render(e),t[Y$e]=n}function a5n(e,t){r5n(e,t)}function l5n(e,t){if(Gse){o5n(e,t);return}a5n(e,t)}var tj=new Map;tj.set("tooltip",document.createElement("div"));var s5n=function(e,t){t===void 0&&(t=!1);var n=null;if(t)n=tj.get("tooltip");else if(n=document.createElement("div"),e!=null&&e.key){var r=tj.get(e.key);r?n=r:tj.set(e.key,n)}return l5n(e,n),n},c5n=function(e){var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=`.loading { + `,y.style.x=G,y.style.y=Y,y.style.width=J-G,y.style.height=ee-Y},j=G=>{const Y=(oe,se,ye,be,he)=>oe+sehe?he-ye:oe,J=G[0]-v[0],ee=G[1]-v[1],Q=Y(J,g[0],m[0],x,w),te=Y(ee,g[1],m[1],S,O),ne=[g[0]+Q,g[1]+te],re=[m[0]+Q,m[1]+te];M(ne,re)},D={"handle-n":{vector:[0,1,0,0],cursor:"ns-resize"},"handle-e":{vector:[0,0,1,0],cursor:"ew-resize"},"handle-s":{vector:[0,0,0,1],cursor:"ns-resize"},"handle-w":{vector:[1,0,0,0],cursor:"ew-resize"},"handle-nw":{vector:[1,1,0,0],cursor:"nwse-resize"},"handle-ne":{vector:[0,1,1,0],cursor:"nesw-resize"},"handle-se":{vector:[0,0,1,1],cursor:"nwse-resize"},"handle-sw":{vector:[1,0,0,1],cursor:"nesw-resize"}},L=G=>k(G)||B(G),B=G=>{const{id:Y}=G;return d.indexOf(Y)===-1?!1:new Set(Object.keys(D)).has(Y)},k=G=>G===y.getElementById("selection"),z=G=>{const{target:Y}=G,[J,ee]=uX(e,G);if(!y||!L(Y)){$(J,ee,G),C=!0;return}L(Y)&&(v=[J,ee])},q=G=>{const{target:Y}=G,J=uX(e,G);if(!g)return;if(!v)return M(g,J);if(k(Y))return j(J);const[ee,Q]=[J[0]-v[0],J[1]-v[1]],{id:te}=Y;if(D[te]){const[ne,re,oe,se]=D[te].vector;return M([g[0]+ee*ne,g[1]+Q*re],[m[0]+ee*oe,m[1]+Q*se])}},W=G=>{if(v){v=null;const{x:te,y:ne,width:re,height:oe}=y.style;g=[te,ne],m=[te+re,ne+oe],a(te,ne,te+re,ne+oe,G);return}m=uX(e,G);const[Y,J,ee,Q]=M(g,m);C=!1,i(Y,J,ee,Q,G)},U=G=>{const{target:Y}=G;y&&!L(Y)&&R()},K=G=>{const{target:Y}=G;!y||!L(Y)||C?I1(e,"crosshair"):k(Y)?I1(e,"move"):B(Y)&&I1(e,D[Y.id].cursor)},X=()=>{I1(e,"default")};return e.addEventListener("dragstart",z),e.addEventListener("drag",q),e.addEventListener("dragend",W),e.addEventListener("click",U),e.addEventListener("pointermove",K),e.addEventListener("pointerleave",X),{mask:y,move(G,Y,J,ee,Q=!0){y||$(G,Y,{}),g=[G,Y],m=[J,ee],M([G,Y],[J,ee],Q)},remove(G=!0){y&&R(G)},destroy(){y&&R(!1),I1(e,"default"),e.removeEventListener("dragstart",z),e.removeEventListener("drag",q),e.removeEventListener("dragend",W),e.removeEventListener("click",U),e.removeEventListener("pointermove",K),e.removeEventListener("pointerleave",X)}}}function Fse(e,t,n){return t.filter(r=>{if(r===e)return!1;const{interaction:i={}}=r.options;return Object.values(i).find(o=>o.brushKey===n)})}function NSn(e,t,n){return Fse(e,t,n).map(r=>zh(r.container))}function ASn(e,t,n){return Fse(e,t,n).map(r=>r.options)}function F$e(e,t){var{elements:n,selectedHandles:r,siblings:i=q=>[],datum:o,brushRegion:a,extent:l,reverse:s,scale:u,coordinate:c,series:f=!1,key:h=q=>q,bboxOf:d=q=>{const{x:W,y:U,width:K,height:X}=q.style;return{x:W,y:U,width:K,height:X}},state:p={},emitter:g}=t,m=Js(t,["elements","selectedHandles","siblings","datum","brushRegion","extent","reverse","scale","coordinate","series","key","bboxOf","state","emitter"]);const v=n(e),y=i(e),b=y.flatMap(n),C=UP(v,o),x=hn(m,"mask"),{setState:S,removeState:w}=oh(p,C),O=new Map,{width:$,height:P,x:T=0,y:R=0}=d(e),M=l||[0,0,$,P],A=()=>{for(const q of[...v,...b])w(q,"active","inactive")},N=(q,W,U,K)=>{var X;for(const Y of y)(X=Y.brush)===null||X===void 0||X.remove();const G=new Set;for(const Y of v){const{min:J,max:ee}=Y.getLocalBounds(),[Q,te]=J,[ne,re]=ee;MSn([Q,te,ne,re],[q,W,U,K])?(S(Y,"active"),G.add(h(Y))):S(Y,"inactive")}for(const Y of b)G.has(h(Y))?S(Y,"active"):S(Y,"inactive")},j=()=>{for(const q of v)w(q,"inactive");for(const q of O.values())q.remove();O.clear()},D=(q,W,U,K)=>{const X=G=>{const Y=G.cloneNode();return Y.__data__=G.__data__,G.parentNode.appendChild(Y),O.set(G,Y),Y};for(const G of v){const Y=O.get(G)||X(G);Y.style.clipPath=new ib({style:{x:q+T,y:W+R,width:U-q,height:K-W}}),S(G,"inactive"),S(Y,"active")}},L=Bse(e,Object.assign(Object.assign({},x),{extent:M,brushRegion:a,reverse:s,selectedHandles:r,brushended:q=>{const W=f?j:A;q&&g.emit("brush:remove",{nativeEvent:!0}),W()},brushed:(q,W,U,K,X)=>{const G=Jk(q,W,U,K,u,c);X&&g.emit("brush:highlight",{nativeEvent:!0,data:{selection:G}}),(f?D:N)(q,W,U,K)},brushcreated:(q,W,U,K,X)=>{const G=Jk(q,W,U,K,u,c);g.emit("brush:end",Object.assign(Object.assign({},X),{nativeEvent:!0,data:{selection:G}}))},brushupdated:(q,W,U,K,X)=>{const G=Jk(q,W,U,K,u,c);g.emit("brush:end",Object.assign(Object.assign({},X),{nativeEvent:!0,data:{selection:G}}))},brushstarted:q=>{g.emit("brush:start",q)}})),B=({nativeEvent:q,data:W})=>{if(q)return;const{selection:U}=W,[K,X,G,Y]=uyn(U,u,c);L.move(K,X,G,Y,!1)};g.on("brush:highlight",B);const k=({nativeEvent:q}={})=>{q||L.remove(!1)};g.on("brush:remove",k);const z=L.destroy.bind(L);return L.destroy=()=>{g.off("brush:highlight",B),g.off("brush:remove",k),z()},L}function Hse(e){var{facet:t,brushKey:n}=e,r=Js(e,["facet","brushKey"]);return(i,o,a)=>{const{container:l,view:s,options:u}=i,c=zh(l),f={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},h=["active",["inactive",{opacity:.5}]],{scale:d,coordinate:p}=s;if(t){const m=c.getBounds(),v=m.min[0],y=m.min[1],b=m.max[0],C=m.max[1];return F$e(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>_nt(i,o),datum:wy(Dee(i,o).map(x=>x.view)),brushRegion:(x,S,w,O)=>[x,S,w,O],extent:[v,y,b,C],state:Y4(Dee(i,o).map(x=>x.options),h),emitter:a,scale:d,coordinate:p,selectedHandles:void 0},f),r))}const g=F$e(c,Object.assign(Object.assign({elements:w0,key:m=>m.__data__.key,siblings:()=>NSn(i,o,n),datum:wy([s,...Fse(i,o,n).map(m=>m.view)]),brushRegion:(m,v,y,b)=>[m,v,y,b],extent:void 0,state:Y4([u,...ASn(i,o,n)],h),emitter:a,scale:d,coordinate:p,selectedHandles:void 0},f),r));return c.brush=g,()=>g.destroy()}}function Wse(e,t,n,r,i){const[,o,,a]=i;return[e,o,n,a]}function kSn(e){return Hse(Object.assign(Object.assign({},e),{brushRegion:Wse,selectedHandles:["handle-e","handle-w"]}))}function qse(e,t,n,r,i){const[o,,a]=i;return[o,t,a,r]}function jSn(e){return Hse(Object.assign(Object.assign({},e),{brushRegion:qse,selectedHandles:["handle-n","handle-s"]}))}var Vse=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i[-1/0,g,1/0,v]:(p,g,m,v)=>[Math.floor(u-r),g,Math.ceil(f-r),v]}}function WSn(e,t){var{offsetY:n,offsetX:r,cross:i=!1}=t,o=Vse(t,["offsetY","offsetX","cross"]);const a=Knt(e),l=Gnt(e),[,s]=l.getLocalBounds().min,[u,c]=a.min,[f,h]=a.max,d=h-c;return{brushRegion:Wse,hotZone:new ib({className:Unt,style:Object.assign({x:u,width:f-u,y:i?c:s-d,height:i?d:d*2},o)}),extent:i?(p,g,m,v)=>[p,-1/0,m,1/0]:(p,g,m,v)=>[p,Math.floor(c-n),m,Math.ceil(h-n)]}}function qSn(e,t){var{axes:n,elements:r,points:i,horizontal:o,datum:a,offsetY:l,offsetX:s,reverse:u=!1,state:c={},emitter:f,coordinate:h}=t,d=Vse(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);const p=r(e),g=n(e),m=UP(p,a),{setState:v,removeState:y}=oh(c,m),b=new Map,C=hn(d,"mask"),x=B=>Array.from(b.values()).every(([k,z,q,W])=>B.some(([U,K])=>U>=k&&U<=q&&K>=z&&K<=W)),S=g.map(B=>B.attributes.scale),w=B=>B.length>2?[B[0],B[B.length-1]]:B,O=new Map,$=()=>{O.clear();for(let B=0;B{const z=[];for(const W of p){const U=i(W);x(U)?(v(W,"active"),z.push(W)):v(W,"inactive")}if(O.set(B,R(z,B)),!k)return;const q=()=>{if(!M)return Array.from(O.values());const W=[];for(const[U,K]of O){const X=S[U],{name:G}=X.getOptions();G==="x"?W[0]=K:W[1]=K}return W};f.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:q()}})},T=B=>{for(const k of p)y(k,"active","inactive");$(),B&&f.emit("brushAxis:remove",{nativeEvent:!0})},R=(B,k)=>{const z=S[k],{name:q}=z.getOptions(),W=B.map(U=>{const K=U.__data__;return z.invert(K[q])});return w(V1(z,W))},M=g.some(o)&&g.some(B=>!o(B)),A=[];for(let B=0;B{const{nativeEvent:k}=B;k||A.forEach(z=>z.remove(!1))},j=(B,k,z)=>{const[q,W]=B,U=G=>G.getStep?G.getStep():0,K=D(q,k,z),X=D(W,k,z)+U(k);return o(z)?[K,-1/0,X,1/0]:[-1/0,K,1/0,X]},D=(B,k,z)=>{const{height:q,width:W}=h.getOptions(),U=k.clone();return o(z)?U.update({range:[0,W]}):U.update({range:[q,0]}),U.map(B)},L=B=>{const{nativeEvent:k}=B;if(k)return;const{selection:z}=B.data;for(let q=0;q{A.forEach(B=>B.destroy()),f.off("brushAxis:remove",N),f.off("brushAxis:highlight",L)}}function VSn(e){return(t,n,r)=>{const{container:i,view:o,options:a}=t,l=zh(i),{x:s,y:u}=l.getBBox(),{coordinate:c}=o;return qSn(i,Object.assign({elements:w0,axes:BSn,offsetY:u,offsetX:s,points:f=>f.__data__.points,horizontal:f=>{const{startPos:[h,d],endPos:[p,g]}=f.attributes;return h!==p&&d===g},datum:wy(o),state:Y4(a,["active",["inactive",{opacity:.5}]]),coordinate:c,emitter:r},e))}}var USn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Xnt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{timeStamp:r}=n;return t!==null&&r-t{if(S)return;const{selection:O}=w;n(O,{nativeEvent:!1})};return l.on("brush:filter",x),()=>{y.destroy(),l.off("brush:filter",x),e.removeEventListener("click",C)}}function Use(e){var{hideX:t=!0,hideY:n=!0}=e,r=Xnt(e,["hideX","hideY"]);return(i,o,a)=>{const{container:l,view:s,options:u,update:c,setState:f}=i,h=zh(l),d={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1};let p=!1,g=!1,m=s;const{scale:v,coordinate:y}=s;return KSn(h,Object.assign(Object.assign({brushRegion:(b,C,x,S)=>[b,C,x,S],selection:(b,C,x,S)=>{const{scale:w,coordinate:O}=m;return Jk(b,C,x,S,w,O)},filter:(b,C)=>USn(this,void 0,void 0,function*(){if(g)return;g=!0;const[x,S]=b;f("brushFilter",O=>{const{marks:$}=O,P=$.map(T=>Dt({axis:Object.assign(Object.assign({},t&&{x:{transform:[{type:"hide"}]}}),n&&{y:{transform:[{type:"hide"}]}})},T,{scale:{x:{domain:x,nice:!1},y:{domain:S,nice:!1}}}));return Object.assign(Object.assign({},u),{marks:P,clip:!0})}),a.emit("brush:filter",Object.assign(Object.assign({},C),{data:{selection:[x,S]}})),m=(yield c()).view,g=!1,p=!0}),reset:b=>{if(g||!p)return;const{scale:C}=s,{x,y:S}=C,w=x.getOptions().domain,O=S.getOptions().domain;a.emit("brush:filter",Object.assign(Object.assign({},b),{data:{selection:[w,O]}})),p=!1,m=s,f("brushFilter"),c()},extent:void 0,emitter:a,scale:v,coordinate:y},d),r))}}function XSn(e){return Use(Object.assign(Object.assign({hideX:!0},e),{brushRegion:Wse}))}function YSn(e){return Use(Object.assign(Object.assign({hideY:!0},e),{brushRegion:qse}))}var ZSn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const QSn="slider";function JSn(e,t,n,r=!1,i="x",o="y"){const{marks:a}=e,l=a.map(s=>{var u,c;return Dt({axis:{x:{transform:[{type:"hide"}]},y:{transform:[{type:"hide"}]}}},s,{scale:t,[n]:Object.assign(Object.assign({},((u=s[n])===null||u===void 0?void 0:u[i])&&{[i]:Object.assign({preserve:!0},r&&{ratio:null})}),((c=s[n])===null||c===void 0?void 0:c[o])&&{[o]:{preserve:!0}}),animate:!1})});return Object.assign(Object.assign({},e),{marks:l,clip:!0,animate:!1})}function exn(e,t,n){const[r,i]=e,o=n?s=>1-s:s=>s,a=q4(t,o(r),!0),l=q4(t,o(i),!1);return V1(t,[a,l])}function IA(e){return[e[0],e[e.length-1]]}function Ynt({initDomain:e={},className:t=QSn,prefix:n="slider",setValue:r=(u,c)=>u.setValues(c),hasState:i=!1,wait:o=50,leading:a=!0,trailing:l=!1,getInitValues:s=u=>{var c;const f=(c=u==null?void 0:u.attributes)===null||c===void 0?void 0:c.values;if(f[0]!==0||f[1]!==1)return f}}){return(u,c,f)=>{const{container:h,view:d,update:p,setState:g}=u,m=h.getElementsByClassName(t);if(!m.length)return()=>{};let v=!1;const{scale:y,coordinate:b,layout:C}=d,{paddingLeft:x,paddingTop:S,paddingBottom:w,paddingRight:O}=C,{x:$,y:P}=y,T=Hi(b),R=j=>{const D=j==="vertical"?"y":"x",L=j==="vertical"?"x":"y";return T?[L,D]:[D,L]},M=new Map,A=new Set,N={x:e.x||$.getOptions().domain,y:e.y||P.getOptions().domain};for(const j of m){const{orientation:D}=j.attributes,[L,B]=R(D),k=`${n}${j0(L)}:filter`,z=L==="x",{ratio:q}=$.getOptions(),{ratio:W}=P.getOptions(),U=Y=>{if(Y.data){const{selection:ne}=Y.data,[re=IA(N.x),oe=IA(N.y)]=ne;return z?[V1($,re,q),V1(P,oe,W)]:[V1(P,oe,W),V1($,re,q)]}const{value:J}=Y.detail,ee=y[L],Q=exn(J,ee,T&&D==="horizontal"),te=N[B];return[Q,te]},K=py(Y=>ZSn(this,void 0,void 0,function*(){const{initValue:J=!1}=Y;if(v&&!J)return;v=!0;const{nativeEvent:ee=!0}=Y,[Q,te]=U(Y);if(N[L]=Q,N[B]=te,ee){const ne=z?Q:te,re=z?te:Q;f.emit(k,Object.assign(Object.assign({},Y),{nativeEvent:ee,data:{selection:[IA(ne),IA(re)]}}))}g(j,ne=>Object.assign(Object.assign({},JSn(ne,{[L]:{domain:Q,nice:!1}},n,i,L,B)),{paddingLeft:x,paddingTop:S,paddingBottom:w,paddingRight:O})),yield p(),v=!1}),o,{leading:a,trailing:l}),X=Y=>{const{nativeEvent:J}=Y;if(J)return;const{data:ee}=Y,{selection:Q}=ee,[te,ne]=Q;j.dispatchEvent(new vi("valuechange",{data:ee,nativeEvent:!1}));const re=z?yL(te,$):yL(ne,P);r(j,re)};f.on(k,X),j.addEventListener("valuechange",K),M.set(j,K),A.add([k,X]);const G=s(j);G&&j.dispatchEvent(new vi("valuechange",{detail:{value:G},nativeEvent:!1,initValue:!0}))}return p(),()=>{for(const[j,D]of M)j.removeEventListener("valuechange",D);for(const[j,D]of A)f.off(j,D)}}}const H$e="g2-scrollbar";function txn(e={}){return(t,n,r)=>{const{view:i,container:o}=t;if(!o.getElementsByClassName(H$e).length)return()=>{};const{scale:l}=i,{x:s,y:u}=l,c={x:[...s.getOptions().domain],y:[...u.getOptions().domain]};return s.update({domain:s.getOptions().expectedDomain}),u.update({domain:u.getOptions().expectedDomain}),Ynt(Object.assign(Object.assign({},e),{initDomain:c,className:H$e,prefix:"scrollbar",hasState:!0,setValue:(h,d)=>h.setValue(d[0]),getInitValues:h=>{const d=h.slider.attributes.values;if(d[0]!==0)return d}}))(t,n,r)}}var nxn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i${t}`}const ixn={backgroundColor:"rgba(0,0,0,0.75)",color:"#fff",width:"max-content",padding:"1px 4px",fontSize:"12px",borderRadius:"2.5px",boxShadow:"0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05)"};function W$e(e){return e.nodeName!=="text"?!1:!!e.isOverflowing()}function Znt(e){var{offsetX:t=8,offsetY:n=8}=e,r=nxn(e,["offsetX","offsetY"]);return i=>{const{container:o}=i,[a,l]=o.getBounds().min,s=hn(r,"tip"),u=new Set,c=h=>{const{target:d}=h;if(!W$e(d)){h.stopPropagation();return}const{offsetX:p,offsetY:g}=h,m=p+t-a,v=g+n-l;if(d.tip){d.tip.style.x=m,d.tip.style.y=v;return}const{text:y}=d.style,b=new pH({className:"poptip",style:{innerHTML:rxn("div",y,Object.assign(Object.assign({},ixn),s)),x:m,y:v}});o.appendChild(b),d.tip=b,u.add(b)},f=h=>{const{target:d}=h;if(!W$e(d)){h.stopPropagation();return}d.tip&&(d.tip.remove(),d.tip=null,u.delete(d.tip))};return o.addEventListener("pointerover",c),o.addEventListener("pointerout",f),()=>{o.removeEventListener("pointerover",c),o.removeEventListener("pointerout",f),u.forEach(h=>h.remove())}}}Znt.props={reapplyWhenUpdate:!0};var oxn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},axn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie.querySelectorAll(".element");function sxn(e){return Un(e).select(`.${q7}`).node()}const cxn={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};function uxn(e={}){const{originData:t=[],layout:n}=e,r=axn(e,["originData","layout"]),i=Dt({},cxn,r),o=hn(i,"breadCrumb"),a=hn(i,"active");return l=>{const{update:s,setState:u,container:c,options:f}=l,h=sxn(c),d=f.marks[0],{state:p}=d,g=new Ha;h.appendChild(g);const m=(C,x)=>oxn(this,void 0,void 0,function*(){if(g.removeChildren(),x){let S="",w=o.y,O=0;const $=[],P=h.getBBox().width,T=C.map((R,M)=>{S=`${S}${R}/`,$.push(R);const A=new uu({name:S.replace(/\/$/,""),style:Object.assign(Object.assign({text:R,x:O,path:[...$],depth:M},o),{y:w})});g.appendChild(A),O+=A.getBBox().width;const N=new uu({style:Object.assign(Object.assign({x:O,text:" / "},o),{y:w})});return g.appendChild(N),O+=N.getBBox().width,O>P&&(w=g.getBBox().height+o.y,O=0,A.attr({x:O,y:w}),O+=A.getBBox().width,N.attr({x:O,y:w}),O+=N.getBBox().width),M===mJ(C)-1&&N.remove(),A});T.forEach((R,M)=>{if(M===mJ(T)-1)return;const A=Object.assign({},R.attributes);R.attr("cursor","pointer"),R.addEventListener("mouseenter",()=>{R.attr(a)}),R.addEventListener("mouseleave",()=>{R.attr(A)}),R.addEventListener("click",()=>{m(Li(R,["style","path"]),Li(R,["style","depth"]))})})}wSn(c,u),u("treemapDrillDown",S=>{const{marks:w}=S,O=C.join("/"),$=w.map(P=>{if(P.type!=="rect")return P;let T=t;if(x){const M=t.filter(L=>{const B=Li(L,["id"]);return B&&(B.match(`${O}/`)||O.match(B))}).map(L=>({value:L.height===0?Li(L,["value"]):void 0,name:Li(L,["id"])})),{paddingLeft:A,paddingBottom:N,paddingRight:j}=n,D=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||g.getBBox().height+10)/(x+1),paddingLeft:A/(x+1),paddingBottom:N/(x+1),paddingRight:j/(x+1),path:L=>L.name,layer:L=>L.depth===x+1});T=WQe(M,D,{value:"value"})[0]}else T=t.filter(M=>M.depth===1);const R=[];return T.forEach(({path:M})=>{R.push(CP(M))}),Dt({},P,{data:T,scale:{color:{domain:R}}})});return Object.assign(Object.assign({},S),{marks:$})}),yield s(void 0,["legendFilter"])}),v=C=>{const x=C.target;if(Li(x,["markType"])!=="rect")return;const S=Li(x,["__data__","key"]),w=N8e(t,O=>O.id===S);Li(w,"height")&&m(Li(w,"path"),Li(w,"depth"))};h.addEventListener("click",v);const y=Eae(Object.assign(Object.assign({},p.active),p.inactive)),b=()=>{lxn(h).forEach(x=>{const S=Li(x,["style","cursor"]),w=N8e(t,O=>O.id===Li(x,["__data__","key"]));if(S!=="pointer"&&(w!=null&&w.height)){x.style.cursor="pointer";const O=$ae(x.attributes,y);x.addEventListener("mouseenter",()=>{x.attr(p.active)}),x.addEventListener("mouseleave",()=>{x.attr(Dt(O,p.inactive))})}})};return b(),h.addEventListener("mousemove",b),()=>{g.remove(),h.removeEventListener("click",v),h.removeEventListener("mousemove",b)}}}function Bee(e){const{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function q$e(e,t){const[n,r]=e,[i,o]=t;return n>=i[0]&&n<=o[0]&&r>=i[1]&&r<=o[1]}function dxn(e,t){const[n,r]=e;return!(q$e(n,t)&&q$e(r,t))}function fxn(e,t){const[n,r]=e,[i,o]=t;return n[0]i[0]&&n[1]i[1]}const pxn=e=>{const{priority:t}=e;return n=>{const r=[];return t&&n.sort(t),n.forEach(i=>{kse(i);const o=i.getLocalBounds();r.some(l=>fxn(Bee(o),Bee(l.getLocalBounds())))?Ase(i):r.push(i)}),n}};function hxn([e,t],[n,r]){return r>e&&t>n}function NA(){const e=new Map;return[r=>e.get(r),(r,i)=>e.set(r,i)]}function gxn(e){const t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);const{min:r,max:i}=t.getRenderBounds();return t.destroy(),{min:r,max:i}}const mxn=e=>{const{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return i=>{const o=i.length;if(o<=1)return i;const[a,l]=NA(),[s,u]=NA(),[c,f]=NA(),[h,d]=NA();for(const p of i){const{min:g,max:m}=gxn(p),[v,y]=g,[b,C]=m;l(p,y),u(p,y),f(p,C-y),d(p,[v,b])}for(let p=0;pho(s(m),s(v)));let g=0;for(let m=0;mQnt(e,vxn(r)));return t[n]}const bxn=e=>{const{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return r=>(r.forEach(i=>{const o=i.attr("dependentElement").parsedStyle.fill,a=i.parsedStyle.fill;Qnt(a,o)e=>(e.forEach(t=>{kse(t);const n=t.attr("bounds"),r=t.getLocalBounds();dxn(Bee(r),n)&&Ase(t)}),e);function Sxn(){return{"data.fetch":iJe,"data.inline":dJe,"data.sortBy":uJe,"data.sort":lJe,"data.filter":aJe,"data.pick":sJe,"data.rename":cJe,"data.fold":oJe,"data.slice":vJe,"data.custom":fJe,"data.map":pJe,"data.join":mJe,"data.kde":CJe,"data.log":$Je,"transform.stackY":_Ge,"transform.binX":HKe,"transform.bin":Xae,"transform.dodgeX":AGe,"transform.jitter":wKe,"transform.jitterX":OKe,"transform.jitterY":EKe,"transform.symmetryY":$Ke,"transform.diffY":PKe,"transform.stackEnter":kGe,"transform.normalizeY":jGe,"transform.select":nH,"transform.selectX":TKe,"transform.selectY":MKe,"transform.groupX":RKe,"transform.groupY":IKe,"transform.groupColor":NKe,"transform.group":TP,"transform.sortX":kKe,"transform.sortY":DKe,"transform.sortColor":jKe,"transform.flexX":LKe,"transform.pack":FKe,"transform.sample":WKe,"transform.filter":qKe,"coordinate.cartesian":OUe,"coordinate.polar":yP,"coordinate.transpose":xae,"coordinate.theta":$Ue,"coordinate.parallel":wae,"coordinate.fisheye":TUe,"coordinate.radial":_ae,"coordinate.radar":MUe,"encode.constant":RUe,"encode.field":NUe,"encode.transform":IUe,"encode.column":AUe,"mark.interval":dQe,"mark.rect":fQe,"mark.line":pQe,"mark.point":hQe,"mark.text":gQe,"mark.cell":mQe,"mark.area":vQe,"mark.link":Vle,"mark.image":yQe,"mark.polygon":bQe,"mark.box":CQe,"mark.vector":SQe,"mark.lineX":_Qe,"mark.lineY":xQe,"mark.connector":wQe,"mark.range":OQe,"mark.rangeX":EQe,"mark.rangeY":$Qe,"mark.path":IQe,"mark.shape":XQe,"mark.density":MJe,"mark.heatmap":RJe,"palette.category10":NJe,"palette.category20":AJe,"scale.linear":jJe,"scale.ordinal":DJe,"scale.band":kJe,"scale.identity":LJe,"scale.point":zJe,"scale.time":BJe,"scale.log":FJe,"scale.pow":HJe,"scale.sqrt":UJe,"scale.threshold":WJe,"scale.quantile":qJe,"scale.quantize":VJe,"scale.sequential":GJe,"scale.constant":KJe,"theme.classic":XJe,"theme.classicDark":ZJe,"theme.academy":QJe,"theme.light":Jle,"theme.dark":YJe,"component.axisX":uet,"component.axisY":det,"component.legendCategory":tse,"component.legendContinuous":V0,"component.legends":Cet,"component.title":get,"component.sliderX":met,"component.sliderY":vet,"component.scrollbarX":yet,"component.scrollbarY":bet,"animation.scaleInX":rse,"animation.scaleOutX":myn,"animation.scaleInY":xet,"animation.scaleOutY":vyn,"animation.waveIn":$et,"animation.fadeIn":_et,"animation.fadeOut":wet,"animation.zoomIn":Eyn,"animation.zoomOut":$yn,"animation.pathIn":Pet,"animation.morphing":Eet,"animation.growInX":Tet,"animation.growInY":Met,"interaction.elementHighlight":jH,"interaction.elementHighlightByX":Tnt,"interaction.elementHighlightByColor":Mnt,"interaction.elementSelect":DH,"interaction.elementSelectByX":Rnt,"interaction.elementSelectByColor":Int,"interaction.fisheye":uSn,"interaction.chartIndex":Nnt,"interaction.tooltip":znt,"interaction.legendFilter":PSn,"interaction.legendHighlight":TSn,"interaction.brushHighlight":Hse,"interaction.brushXHighlight":kSn,"interaction.brushYHighlight":jSn,"interaction.brushAxisHighlight":VSn,"interaction.brushFilter":Use,"interaction.brushXFilter":XSn,"interaction.brushYFilter":YSn,"interaction.sliderFilter":Ynt,"interaction.scrollbarFilter":txn,"interaction.poptip":Znt,"interaction.treemapDrillDown":uxn,"composition.spaceLayer":Vet,"composition.spaceFlex":Uet,"composition.facetRect":Zet,"composition.repeatMatrix":x2n,"composition.facetCircle":P2n,"composition.timingKeyframe":Qet,"labelTransform.overlapHide":pxn,"labelTransform.overlapDodgeY":mxn,"labelTransform.overflowHide":Cxn,"labelTransform.contrastReverse":bxn}}function xxn(){return{"composition.geoView":$tt,"composition.geoPath":Jet}}function _xn(){return{"data.arc":Gle,"data.cluster":eJe,"mark.forceGraph":QQe,"mark.tree":nJe,"mark.pack":VQe,"mark.sankey":MQe,"mark.chord":RQe,"mark.treemap":qQe}}function wxn(){return{"data.venn":EJe,"mark.boxplot":KQe,"mark.gauge":TJe,"mark.wordCloud":PJe,"mark.liquid":IJe}}function Jnt(){return Object.assign(Object.assign(Object.assign(Object.assign({},xxn()),_xn()),wxn()),Sxn())}function Oxn(e,t){class n extends e{constructor(i){super(Object.assign(Object.assign({},i),{lib:t}))}}return n}const ert={};function trt(e,t){Object.assign(ert,{[e]:t})}const _2=e=>e?parseInt(e):0;function Exn(e){const t=getComputedStyle(e),n=e.clientWidth||_2(t.width),r=e.clientHeight||_2(t.height),i=_2(t.paddingLeft)+_2(t.paddingRight),o=_2(t.paddingTop)+_2(t.paddingBottom);return{width:n-i,height:r-o}}function pX(e,t){const n=[e];for(;n.length;){const r=n.shift();t&&t(r);const i=r.children||[];for(const o of i)n.push(o)}}class Gse{constructor(t={},n){this.parentNode=null,this.children=[],this.index=0,this.type=n,this.value=t}map(t=n=>n){const n=t(this.value);return this.value=n,this}attr(t,n){return arguments.length===1?this.value[t]:this.map(r=>(r[t]=n,r))}append(t){const n=new t({});return n.children=[],this.push(n),n}push(t){return t.parentNode=this,t.index=this.children.length,this.children.push(t),this}remove(){const t=this.parentNode;if(t){const{children:n}=t,r=n.findIndex(i=>i===this);n.splice(r,1)}return this}getNodeByKey(t){let n=null;return pX(this,i=>{t===i.attr("key")&&(n=i)}),n}getNodesByType(t){const n=[];return pX(this,i=>{t===i.type&&n.push(i)}),n}getNodeByType(t){let n=null;return pX(this,r=>{n||t===r.type&&(n=r)}),n}call(t,...n){return t(this.map(),...n),this}getRoot(){let t=this;for(;t&&t.parentNode;)t=t.parentNode;return t}}var nrt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{t=r,e=i}),t,e]}function Bxn(e,t,{key:n=t}){e.prototype[t]=function(r){return arguments.length===0?this.attr(n):this.attr(n,r)}}function Fxn(e,t,{key:n=t}){e.prototype[t]=function(r){if(arguments.length===0)return this.attr(n);if(Array.isArray(r))return this.attr(n,r);const i=[...this.attr(n)||[],r];return this.attr(n,i)}}function Hxn(e,t,{key:n=t}){e.prototype[t]=function(r,i){if(arguments.length===0)return this.attr(n);if(arguments.length===1&&typeof r!="string")return this.attr(n,r);const o=this.attr(n)||{};return o[r]=arguments.length===1?!0:i,this.attr(n,o)}}function Wxn(e,t,n){e.prototype[t]=function(r){if(arguments.length===0)return this.attr(t);if(Array.isArray(r))return this.attr(t,{items:r});if($7(r)&&(r.title!==void 0||r.items!==void 0))return this.attr(t,r);if(r===null||r===!1)return this.attr(t,r);const i=this.attr(t)||{},{items:o=[]}=i;return o.push(r),i.items=o,this.attr(t,i)}}function qxn(e,t,{ctor:n}){e.prototype[t]=function(r){const i=this.append(n);return t==="mark"&&(i.type=r),i}}function Vxn(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}function jL(e){return t=>{for(const[n,r]of Object.entries(e)){const{type:i}=r;i==="value"?Bxn(t,n,r):i==="array"?Fxn(t,n,r):i==="object"?Hxn(t,n,r):i==="node"?qxn(t,n,r):i==="container"?Vxn(t,n,r):i==="mix"&&Wxn(t,n)}return t}}function X$e(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,{type:"node",ctor:n}]))}const ort={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},Uxn=Object.assign(Object.assign({},ort),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),Gxn=Object.assign(Object.assign({},ort),{labelTransform:{type:"array"}});var Kxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let DL=class extends Gse{changeData(t){var n;const r=this.getRoot();if(r)return this.attr("data",t),!((n=this.children)===null||n===void 0)&&n.length&&this.children.forEach(i=>{i.attr("data",t)}),r==null?void 0:r.render()}getView(){const t=this.getRoot(),{views:n}=t.getContext();if(n!=null&&n.length)return n.find(r=>r.key===this._key)}getScale(){var t;return(t=this.getView())===null||t===void 0?void 0:t.scale}getScaleByChannel(t){const n=this.getScale();if(n)return n[t]}getCoordinate(){var t;return(t=this.getView())===null||t===void 0?void 0:t.coordinate}getTheme(){var t;return(t=this.getView())===null||t===void 0?void 0:t.theme}getGroup(){const t=this._key;return t?this.getRoot().getContext().canvas.getRoot().getElementById(t):void 0}show(){const t=this.getGroup();t&&!t.isVisible()&&kse(t)}hide(){const t=this.getGroup();t&&t.isVisible()&&Ase(t)}};DL=Kxn([jL(Gxn)],DL);var Xxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let Hee=class extends Gse{changeData(t){const n=this.getRoot();if(n)return this.attr("data",t),n==null?void 0:n.render()}getMark(){var t;const n=(t=this.getRoot())===null||t===void 0?void 0:t.getView();if(!n)return;const{markState:r}=n,i=Array.from(r.keys()).find(o=>o.key===this.attr("key"));return r.get(i)}getScale(){var t;const n=(t=this.getRoot())===null||t===void 0?void 0:t.getView();if(n)return n==null?void 0:n.scale}getScaleByChannel(t){var n,r;const i=(n=this.getRoot())===null||n===void 0?void 0:n.getView();if(i)return(r=i==null?void 0:i.scale)===null||r===void 0?void 0:r[t]}getGroup(){const t=this.attr("key");return t?this.getRoot().getContext().canvas.getRoot().getElementById(t):void 0}};Hee=Xxn([jL(Uxn)],Hee);var Yxn=function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},Zxn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{this.forceFit()},300),this._renderer=i||new Net,this._plugins=o||[],this._container=$xn(n),this._emitter=new ose,this._context={library:Object.assign(Object.assign({},a),ert),emitter:this._emitter,canvas:r},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._context.canvas.getConfig().supportsCSSTransform=!0,this._bindAutoFit(),this._rendering=!0;const t=new Promise((o,a)=>G6n(this._computedOptions(),this._context,this._createResolve(o),this._createReject(a))),[n,r,i]=zxn();return t.then(r).catch(i).then(()=>this._renderTrailing()),n}options(t){if(arguments.length===0)return Mxn(this);const{type:n}=t;return n&&(this._previousDefinedType=n),Lxn(this,t,this._previousDefinedType,this._marks,this._compositions),this}getContainer(){return this._container}getContext(){return this._context}on(t,n,r){return this._emitter.on(t,n,r),this}once(t,n){return this._emitter.once(t,n),this}emit(t,...n){return this._emitter.emit(t,...n),this}off(t,n){return this._emitter.off(t,n),this}clear(){const t=this.options();this.emit(ni.BEFORE_CLEAR),this._reset(),A$e(t,this._context,!1),this.emit(ni.AFTER_CLEAR)}destroy(){const t=this.options();this.emit(ni.BEFORE_DESTROY),this._unbindAutoFit(),this._reset(),A$e(t,this._context,!0),this._container[rrt]&&Pxn(this._container),this.emit(ni.AFTER_DESTROY)}forceFit(){this.options.autoFit=!0;const{width:t,height:n}=hX(this.options(),this._container);if(t===this._width&&n===this._height)return Promise.resolve(this);this.emit(ni.BEFORE_CHANGE_SIZE);const r=this.render();return r.then(()=>{this.emit(ni.AFTER_CHANGE_SIZE)}),r}changeSize(t,n){if(t===this._width&&n===this._height)return Promise.resolve(this);this.emit(ni.BEFORE_CHANGE_SIZE),this.attr("width",t),this.attr("height",n);const r=this.render();return r.then(()=>{this.emit(ni.AFTER_CHANGE_SIZE)}),r}_create(){const{library:t}=this._context,n=o=>o.startsWith("mark.")||o==="component.axisX"||o==="component.axisY"||o==="component.legends",r=["mark.mark",...Object.keys(t).filter(n)];this._marks={};for(const o of r){const a=o.split(".").pop();class l extends Hee{constructor(){super({},a)}}this._marks[a]=l,this[a]=function(s){const u=this.append(l);return a==="mark"&&(u.type=s),u}}const i=["composition.view",...Object.keys(t).filter(o=>o.startsWith("composition.")&&o!=="composition.mark")];this._compositions=Object.fromEntries(i.map(o=>{const a=o.split(".").pop();let l=class extends DL{constructor(){super({},a)}};return l=Yxn([jL(X$e(this._marks))],l),[a,l]}));for(const o of Object.values(this._compositions))jL(X$e(this._compositions))(o);for(const o of i){const a=o.split(".").pop();this[a]=function(){const l=this._compositions[a];return this.type=null,this.append(l)}}}_reset(){const t=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([n])=>n.startsWith("margin")||n.startsWith("padding")||n.startsWith("inset")||t.includes(n))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{const t=this._trailingResolve.bind(this);this._trailingResolve=null,t(this)}).catch(t=>{const n=this._trailingReject.bind(this);this._trailingReject=null,n(t)}))}_createResolve(t){return()=>{this._rendering=!1,t(this)}}_createReject(t){return n=>{this._rendering=!1,t(n)}}_computedOptions(){const t=this.options(),{key:n=Qxn}=t,{width:r,height:i,depth:o}=hX(t,this._container);return this._width=r,this._height=i,this._key=n,Object.assign(Object.assign({key:this._key},t),{width:r,height:i,depth:o})}_createCanvas(){const{width:t,height:n}=hX(this.options(),this._container);this._plugins.push(new Aet),this._plugins.forEach(r=>this._renderer.registerPlugin(r)),this._context.canvas=new VXe({container:this._container,width:t,height:n,renderer:this._renderer})}_addToTrailing(){var t;return(t=this._trailingResolve)===null||t===void 0||t.call(this,this),this._trailing=!0,new Promise((r,i)=>{this._trailingResolve=r,this._trailingReject=i})}_bindAutoFit(){const t=this.options(),{autoFit:n}=t;if(this._hasBindAutoFit){n||this._unbindAutoFit();return}n&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}}jt.enableCSSParsing=!1;Object.assign({},Jnt());var Wee=function(){return Wee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(Kse=KP.createRoot)}catch{}function Y$e(e){var t=KP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&typeof t=="object"&&(t.usingClientEntryPoint=e)}var Z$e="__rc_react_root__";function r5n(e,t){Y$e(!0);var n=t[Z$e]||Kse(t);Y$e(!1),n.render(e),t[Z$e]=n}function i5n(e,t){t5n(e,t)}function o5n(e,t){if(Kse){r5n(e,t);return}i5n(e,t)}var nj=new Map;nj.set("tooltip",document.createElement("div"));var a5n=function(e,t){t===void 0&&(t=!1);var n=null;if(t)n=nj.get("tooltip");else if(n=document.createElement("div"),e!=null&&e.key){var r=nj.get(e.key);r?n=r:nj.set(e.key,n)}return o5n(e,n),n},l5n=function(e){var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=`.loading { display: inline-block; position: relative; width: 80px; @@ -1064,69 +1064,69 @@ A`,a,a,0,l?1:0,1,o.p1.x,o.p1.y)}return r.join(" ")}}const EJe=e=>{const{sets:t=" transform: translate(24px, 0); } } - `,n.classList.add("loading"),n.innerHTML="
    ",t.appendChild(r),t.appendChild(n)},u5n=function(e){var t=e.loadingTemplate,n=e.theme,r=n===void 0?"light":n,i=Se.useRef(null);Se.useEffect(function(){!t&&i.current&&c5n(i.current)},[]);var o=function(){return t||Se.createElement("div",{ref:i})};return Se.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:r==="dark"?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},o())},d5n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),f5n=function(e){d5n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={hasError:!1},n.renderError=function(r){var i=n.props.errorTemplate;switch(r){default:return typeof i=="function"?i(r):i||Se.createElement("h5",null,"组件出错了,请核查后重试: ",r.message)}},n}return t.getDerivedStateFromError=function(n){return{hasError:!0,error:n}},t.getDerivedStateFromProps=function(n,r){return r.children!==n.children?{children:n.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):Se.createElement(_.Fragment,null,this.props.children)},t}(Se.Component),art=typeof global=="object"&&global&&global.Object===Object&&global,p5n=typeof self=="object"&&self&&self.Object===Object&&self,$u=art||p5n||Function("return this")(),Su=$u.Symbol,lrt=Object.prototype,h5n=lrt.hasOwnProperty,g5n=lrt.toString,j8=Su?Su.toStringTag:void 0;function m5n(e){var t=h5n.call(e,j8),n=e[j8];try{e[j8]=void 0;var r=!0}catch{}var i=g5n.call(e);return r&&(t?e[j8]=n:delete e[j8]),i}var v5n=Object.prototype,y5n=v5n.toString;function b5n(e){return y5n.call(e)}var C5n="[object Null]",S5n="[object Undefined]",Z$e=Su?Su.toStringTag:void 0;function Gf(e){return e==null?e===void 0?S5n:C5n:Z$e&&Z$e in Object(e)?m5n(e):b5n(e)}function Ds(e){return e!=null&&typeof e=="object"}var x5n="[object Symbol]";function KP(e){return typeof e=="symbol"||Ds(e)&&Gf(e)==x5n}var _5n=NaN;function Q$e(e){return typeof e=="number"?e:KP(e)?_5n:+e}function DH(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n0){if(++t>=o_n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function c_n(e){return function(){return e}}var BL=function(){try{var e=cb(Object,"defineProperty");return e({},"",{}),e}catch{}}(),u_n=BL?function(e,t){return BL(e,"toString",{configurable:!0,enumerable:!1,value:c_n(t),writable:!0})}:Kse;const d_n=u_n;var drt=s_n(d_n);function f_n(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var v_n=9007199254740991,y_n=/^(?:0|[1-9]\d*)$/;function LH(e,t){var n=typeof e;return t=t??v_n,!!t&&(n=="number"||n!="symbol"&&y_n.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=x_n}function K0(e){return e!=null&&Qse(e.length)&&!XC(e)}function __n(e,t,n){if(!sl(n))return!1;var r=typeof t;return(r=="number"?K0(n)&&LH(t,n.length):r=="string"&&t in n)?XP(n[t],e):!1}function hrt(e){return S_n(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&__n(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r-1}function jwn(e,t){var n=this.__data__,r=HH(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Bh(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(l)?t>1?Crt(l,t-1,n,r,i):rce(i,l):r||(i[i.length]=l)}return i}function Zwn(e){var t=e==null?0:e.length;return t?Crt(e,1):[]}function ice(e){return drt(prt(e,void 0,Zwn),e+"")}var Qwn=brt(Object.getPrototypeOf,Object);const oce=Qwn;var Jwn="[object Object]",eOn=Function.prototype,tOn=Object.prototype,Srt=eOn.toString,nOn=tOn.hasOwnProperty,rOn=Srt.call(Object);function ace(e){if(!Ds(e)||Gf(e)!=Jwn)return!1;var t=oce(e);if(t===null)return!0;var n=nOn.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Srt.call(n)==rOn}function iOn(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++rl))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=n&H8n?new n$:void 0;for(o.set(e,t),o.set(t,e);++f=t||w<0||f&&O>=o}function v(){var S=vX();if(m(S))return y(S);l=setTimeout(v,g(S))}function y(S){return l=void 0,h&&r?d(S):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function C(){return l===void 0?a:y(vX())}function x(){var S=vX(),w=m(S);if(r=arguments,i=this,s=S,w){if(l===void 0)return p(s);if(f)return clearTimeout(l),l=setTimeout(v,t),d(s)}return l===void 0&&(l=setTimeout(v,t)),a}return x.cancel=b,x.flush=C,x}function Gee(e,t,n){(n!==void 0&&!XP(e[t],n)||n===void 0&&!(t in e))&&zH(e,t,n)}function N9n(e){return Ds(e)&&K0(e)}function Kee(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function A9n(e){return ub(e,YP(e))}function k9n(e,t,n,r,i,o,a){var l=Kee(e,n),s=Kee(t,n),u=a.get(s);if(u){Gee(e,n,u);return}var c=o?o(l,s,n+"",e,t,a):void 0,f=c===void 0;if(f){var h=ii(s),d=!h&&Q7(s),p=!h&&!d&&ece(s);c=s,h||d||p?ii(l)?c=l:N9n(l)?c=Zse(l):d?(f=!1,c=_rt(s,!0)):p?(f=!1,c=Prt(s,!0)):c=[]:ace(s)||Z7(s)?(c=l,Z7(l)?c=A9n(l):(!sl(l)||XC(l))&&(c=Trt(s))):f=!1}f&&(a.set(s,c),i(c,s,r,o,a),a.delete(s)),Gee(e,n,c)}function Frt(e,t,n,r,i){e!==t&&Lrt(t,function(o,a){if(i||(i=new xd),sl(o))k9n(e,t,a,n,Frt,r,i);else{var l=r?r(Kee(e,a),o,a+"",e,t,i):void 0;l===void 0&&(l=o),Gee(e,a,l)}},YP)}var j9n=hrt(function(e,t,n,r){Frt(e,t,n,r)});function D9n(e,t,n){for(var r=-1,i=e==null?0:e.length;++r-1:!!i&&frt(e,t,n)>-1}function tEn(e,t){return t.length<2?e:qH(e,iOn(t,0,-1))}var nEn="[object Boolean]";function dce(e){return e===!0||e===!1||Ds(e)&&Gf(e)==nEn}function NPe(e,t){return VH(e,t)}var rEn="[object Number]";function eC(e){return typeof e=="number"||Ds(e)&&Gf(e)==rEn}function iEn(e){return e==null}function oEn(e){return e===void 0}function aEn(e,t){return t=YC(t,e),e=tEn(e,t),e==null||delete e[ZC(L9n(t))]}function lEn(e){return ace(e)?void 0:e}var sEn=1,cEn=2,uEn=4,dEn=ice(function(e,t){var n={};if(e==null)return n;var r=!1;t=DH(t,function(o){return o=YC(o,e),r||(r=o.length>1),o}),ub(e,$rt(e),n),r&&(n=oE(n,sEn|cEn|uEn,lEn));for(var i=t.length;i--;)aEn(n,t[i]);return n});const fce=dEn;function qrt(e,t,n,r){if(!sl(e))return e;t=YC(t,e);for(var i=-1,o=t.length,a=o-1,l=e;l!=null&&++i=yEn){var u=t?null:vEn(e);if(u)return cce(u);a=!1,i=Nrt,s=new n$}else s=t?[]:l;e:for(;++rt.value-e.value,as:["x","y"],ignoreParentValue:!0},_En="nodeIndex",r$="childNodeCount",wEn="nodeAncestor",bX="Invalid field: it must be a string!";function OEn(e,t){const{field:n,fields:r}=e;if(eo(n))return n;if(sa(n))return console.warn(bX),n[0];if(console.warn(`${bX} will try to get fields instead.`),eo(r))return r;if(sa(r)&&r.length)return r[0];if(t)return t;throw new TypeError(bX)}function EEn(e){const t=[];if(e&&e.each){let n,r;e.each(i=>{var o,a;i.parent!==n?(n=i.parent,r=0):r+=1;const l=nnn((((o=i.ancestors)===null||o===void 0?void 0:o.call(i))||[]).map(s=>t.find(u=>u.name===s.name)||s),({depth:s})=>s>0&&s{t.push(n)});return t}function $En(e,t){t=unn({},xEn,t);const n=t.as;if(!sa(n)||n.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');let r;try{r=OEn(t)}catch(s){console.warn(s)}const o=(s=>M0n().size(t.size).round(t.round).padding(t.padding)(VC(s).sum(u=>gJ(u.children)?t.ignoreParentValue?0:u[r]-kUe(u.children,(c,f)=>c+f[r],0):u[r]).sort(t.sort)))(e),a=n[0],l=n[1];return o.each(s=>{var u,c;s[a]=[s.x0,s.x1,s.x1,s.x0],s[l]=[s.y1,s.y1,s.y0,s.y0],s.name=s.name||((u=s.data)===null||u===void 0?void 0:u.name)||((c=s.data)===null||c===void 0?void 0:c.label),s.data.name=s.name,["x0","x1","y0","y1"].forEach(f=>{n.indexOf(f)===-1&&delete s[f]})}),EEn(o)}var PEn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var u,c,f,h;if(s.depth===0)return null;let d=s.data.name;const p=[d];let g=Object.assign({},s);for(;g.depth>1;)d=`${(u=g.parent.data)===null||u===void 0?void 0:u.name} / ${d}`,p.unshift((c=g.parent.data)===null||c===void 0?void 0:c.name),g=g.parent;const m=Object.assign(Object.assign(Object.assign({},Eae(s.data,[i])),{[Urt]:d,[HL]:g.data.name}),s);r&&r!==HL&&(m[r]=s.data[r]||((h=(f=s.parent)===null||f===void 0?void 0:f.data)===null||h===void 0?void 0:h[r])),l.push(m)}),l.map(s=>Object.assign(Object.assign({},s),{x:s.x.slice(0,2),y:[s.y[2],s.y[0]],fillOpacity:Math.pow(.85,s.depth)}))}const kPe={id:q3,encode:{x:"x",y:"y",key:Urt,color:HL,value:"value"},axis:{x:!1,y:!1},style:{[pce]:q3,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[r$]:r$,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},Grt=e=>{const{encode:t,data:n=[],legend:r}=e,i=PEn(e,["encode","data","legend"]),o=Object.assign(Object.assign({},i.coordinate),{innerRadius:Math.max(Li(i,["coordinate","innerRadius"],.2),1e-5)}),a=Object.assign(Object.assign({},kPe.encode),t),{value:l}=a,s=TEn({encode:a,data:n});return[Dt({},kPe,Object.assign(Object.assign({type:"rect",data:s,encode:a,tooltip:{title:"path",items:[u=>({name:l,value:u[l]})]}},i),{coordinate:o}))]};Grt.props={};var MEn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const REn=e=>e.querySelectorAll(".element").filter(t=>Li(t,["style",pce])===q3);function IEn(e){return Un(e).select(`.${W7}`).node()}const NEn={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}};function AEn(e={}){const{breadCrumb:t={},fixedColor:n=!0}=e,r=Dt({},NEn,t);return i=>{const{update:o,setState:a,container:l,view:s,options:u}=i,c=IEn(l),f=u.marks.find(({id:y})=>y===q3),{state:h}=f,d=new Ha;c.appendChild(d);const p=(y,b)=>MEn(this,void 0,void 0,function*(){if(d.removeChildren(),y){const C=new uu({style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});d.appendChild(C);let x="";const S=y==null?void 0:y.split(" / ");let w=r.style.y,O=d.getBBox().width;const $=c.getBBox().width,P=S.map((T,R)=>{const M=new uu({style:Object.assign(Object.assign({x:O,text:" / "},r.style),{y:w})});d.appendChild(M),O+=M.getBBox().width,x=`${x}${T} / `;const A=new uu({name:x.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:T,x:O,depth:R+1},r.style),{y:w})});return d.appendChild(A),O+=A.getBBox().width,O>$&&(w=d.getBBox().height,O=0,M.attr({x:O,y:w}),O+=M.getBBox().width,A.attr({x:O,y:w}),O+=A.getBBox().width),A});[C,...P].forEach((T,R)=>{if(R===P.length)return;const M=Object.assign({},T.attributes);T.attr("cursor","pointer"),T.addEventListener("mouseenter",()=>{T.attr(r.active)}),T.addEventListener("mouseleave",()=>{T.attr(M)}),T.addEventListener("click",()=>{p(T.name,Li(T,["style","depth"]))})})}a("drillDown",C=>{const{marks:x}=C,S=x.map(w=>{if(w.id!==q3&&w.type!=="rect")return w;const{data:O}=w,$=Object.fromEntries(["color"].map(T=>[T,{domain:s.scale[T].getOptions().domain}])),P=O.filter(T=>{const R=T.path;return n&&(T[HL]=R.split(" / ")[b]),y?new RegExp(`^${y}.+`).test(R):!0});return Dt({},w,n?{data:P}:{data:P,scale:$})});return Object.assign(Object.assign({},C),{marks:S})}),yield o()}),g=y=>{const b=y.target;if(Li(b,["style",pce])!==q3||Li(b,["markType"])!=="rect"||!Li(b,["style",r$]))return;const C=Li(b,["__data__","key"]),x=Li(b,["style","depth"]);b.style.cursor="pointer",p(C,x)};c.addEventListener("click",g);const m=Oae(Object.assign(Object.assign({},h.active),h.inactive)),v=()=>{REn(c).forEach(b=>{const C=Li(b,["style",r$]);if(Li(b,["style","cursor"])!=="pointer"&&C){b.style.cursor="pointer";const S=Eae(b.attributes,m);b.addEventListener("mouseenter",()=>{b.attr(h.active)}),b.addEventListener("mouseleave",()=>{b.attr(Dt(S,h.inactive))})}})};return c.addEventListener("mousemove",v),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",v)}}}jt.enableCSSParsing=!1;function kEn(){return{"interaction.drillDown":AEn,"mark.sunburst":Grt}}var WL=function(){return WL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var w=x.x,O=x.y,$=x.height,P=x.width,T=x.data,R=x.key,M=Fi(T,c),A=m/2;if(n){var N=w+P/2,k=O;d.push({points:[[N+A,k-h+C],[N+A,k-y-C],[N,k-C],[N-A,k-y-C],[N-A,k-h+C]],center:[N,k-h/2-C],width:h,value:[f,M],key:R})}else{var N=w,k=O+$/2;d.push({points:[[w-h+C,k-A],[w-y-C,k-A],[N-C,k],[w-y-C,k+A],[w-h+C,k+A]],center:[N-h/2-C,k],width:h,value:[f,M],key:R})}f=M}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var n=this.chart.getCoordinate(),r=Fi(n,"options.transformations"),i="horizontal";r.forEach(function(o){o.includes("transpose")&&(i="vertical")}),this.direction=i},t.prototype.drawConversionTag=function(){var n=this,r=this.getConversionTagLayout(),i=this.attributes,o=i.style,a=i.text,l=a.style,s=a.formatter;r.forEach(function(u){var c=u.points,f=u.center,h=u.value,d=u.key,p=h[0],g=h[1],m=f[0],v=f[1],y=new KEn({style:GL({points:c,fill:"#eee"},o),id:"polygon-".concat(d)}),b=new Xrt({style:GL({x:m,y:v,text:XC(s)?s(p,g):(g/p*100).toFixed(2)+"%"},l),id:"text-".concat(d)});n.appendChild(y),n.appendChild(b)})},t.prototype.update=function(){var n=this,r=this.getConversionTagLayout();r.forEach(function(i){var o=i.points,a=i.center,l=i.key,s=a[0],u=a[1],c=n.getElementById("polygon-".concat(l)),f=n.getElementById("text-".concat(l));c.setAttribute("points",o),f.setAttribute("x",s),f.setAttribute("y",u)})},t.tag="ConversionTag",t}(Yrt),Jee=32,LPe=16,zPe=48,QEn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),aE=function(){return aE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&Bn(r,"children",[{type:"interval"}]);var i=r.scale,o=r.markBackground,a=r.data,l=r.children,s=r.yField,u=Fi(i,"y.domain",[]);if(o&&u.length&&ii(a)){var c="domainMax",f=a.map(function(h){var d;return p3(p3({originData:p3({},h)},fce(h,s)),(d={},d[c]=u[u.length-1],d))});l.unshift(p3({type:"interval",data:f,yField:c,tooltip:!1,style:{fill:"#eee"},label:!1},o))}return n};return Jr(t,Co,oi)(e)}var f7n=function(){var e=function(t,n){return function(r){var i=t.fill,o=i===void 0?"#2888FF":i,a=t.stroke,l=t.fillOpacity,s=l===void 0?1:l,u=t.strokeOpacity,c=u===void 0?.2:u,f=t.pitch,h=f===void 0?8:f,d=r[0],p=r[1],g=r[2],m=r[3],v=(p[1]-d[1])/2,y=n.document,b=y.createElement("g",{}),C=y.createElement("polygon",{style:{points:[d,[d[0]-h,d[1]+v],[g[0]-h,d[1]+v],m],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c,inset:30}}),x=y.createElement("polygon",{style:{points:[[d[0]-h,d[1]+v],p,g,[g[0]-h,d[1]+v]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c}}),S=y.createElement("polygon",{style:{points:[d,[d[0]-h,d[1]+v],p,[d[0]+h,d[1]+v]],fill:o,fillOpacity:s-.2}});return b.appendChild(C),b.appendChild(x),b.appendChild(S),b}};trt("shape.interval.bar25D",e)},p7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();f7n();var h7n=function(e){p7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="Bar",n}return t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlightByColor:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Zrt},t}(Gr),g7n=function(){var e=function(t,n){return function(r){var i=t.fill,o=i===void 0?"#2888FF":i,a=t.stroke,l=t.fillOpacity,s=l===void 0?1:l,u=t.strokeOpacity,c=u===void 0?.2:u,f=t.pitch,h=f===void 0?8:f,d=r[1][0]-r[0][0],p=d/2+r[0][0],g=n.document,m=g.createElement("g",{}),v=g.createElement("polygon",{style:{points:[[r[0][0],r[0][1]],[p,r[1][1]+h],[p,r[3][1]+h],[r[3][0],r[3][1]]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c,inset:30}}),y=g.createElement("polygon",{style:{points:[[p,r[1][1]+h],[r[1][0],r[1][1]],[r[2][0],r[2][1]],[p,r[2][1]+h]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c}}),b=g.createElement("polygon",{style:{points:[[r[0][0],r[0][1]],[p,r[1][1]-h],[r[1][0],r[1][1]],[p,r[1][1]+h]],fill:o,fillOpacity:s-.2}});return m.appendChild(y),m.appendChild(v),m.appendChild(b),m}};trt("shape.interval.column25D",e)},m7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();g7n();var v7n=function(e){m7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="column",n}return t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlightByColor:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Zrt},t}(Gr);function y7n(e){var t=function(r){var i=r.options,o=i.children,a=o===void 0?[]:o,l=i.legend;return l&&a.forEach(function(s){if(!Fi(s,"colorField")){var u=Fi(s,"yField");Bn(s,"colorField",function(){return u})}}),r},n=function(r){var i=r.options,o=i.annotations,a=o===void 0?[]:o,l=i.children,s=l===void 0?[]:l,u=i.scale,c=!1;return Fi(u,"y.key")||s.forEach(function(f,h){if(!Fi(f,"scale.y.key")){var d="child".concat(h,"Scale");Bn(f,"scale.y.key",d);var p=f.annotations,g=p===void 0?[]:p;g.length>0&&(Bn(f,"scale.y.independent",!1),g.forEach(function(m){Bn(m,"scale.y.key",d)})),!c&&a.length>0&&Fi(f,"scale.y.independent")===void 0&&(c=!0,Bn(f,"scale.y.independent",!1),a.forEach(function(m){Bn(m,"scale.y.key",d)}))}}),r};return Jr(t,n,Co,oi)(e)}var b7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),FPe=function(e){b7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="DualAxes",n}return t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y7n},t}(Gr);function C7n(e){var t=function(o){var a=o.options,l=a.xField,s=a.colorField;return s||Bn(a,"colorField",l),o},n=function(o){var a=o.options,l=a.compareField,s=a.transform,u=a.isTransposed,c=u===void 0?!0:u,f=a.coordinate;return s||(l?Bn(a,"transform",[]):Bn(a,"transform",[{type:"symmetryY"}])),!f&&c&&Bn(a,"coordinate",{transform:[{type:"transpose"}]}),o},r=function(o){var a=o.options,l=a.compareField,s=a.seriesField,u=a.data,c=a.children,f=a.yField,h=a.isTransposed,d=h===void 0?!0:h;if(l||s){var p=Object.values(Hrt(u,function(g){return g[l||s]}));c[0].data=p[0],c.push({type:"interval",data:p[1],yField:function(g){return-g[f]}}),delete a.compareField,delete a.data}return s&&(Bn(a,"type","spaceFlex"),Bn(a,"ratio",[1,1]),Bn(a,"direction",d?"row":"col"),delete a.seriesField),o},i=function(o){var a=o.options,l=a.tooltip,s=a.xField,u=a.yField;return l||Bn(a,"tooltip",{title:!1,items:[function(c){return{name:c[s],value:c[u]}}]}),o};return Jr(t,n,r,i,Co,oi)(e)}var S7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),x7n=function(e){S7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="column",n}return t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return C7n},t}(Gr);function _7n(e){return Jr(Co,oi)(e)}var w7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),O7n=function(e){w7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="line",n}return t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return _7n},t}(Gr),N1=function(){return N1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(h.x1=f[l],h.x2=h[l],h.y1=f[w2]),h},[]),c.shift(),s.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:c,style:ite({stroke:"#697474"},u),label:!1,tooltip:!1}),r};return Jr(t,n,Co,oi)(e)}var c$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),u$n=function(e){c$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="waterfall",n}return t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:rte,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return s$n},t}(Gr);function d$n(e){var t=function(n){var r=n.options,i=r.data,o=r.binNumber,a=r.binWidth,l=r.children,s=r.channel,u=s===void 0?"count":s,c=Fi(l,"[0].transform[0]",{});return eC(a)?(pPe(c,{thresholds:sOn(B9n(i.length,a)),y:u}),n):(eC(o)&&pPe(c,{thresholds:o,y:u}),n)};return Jr(t,Co,oi)(e)}var f$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),p$n=function(e){f$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="Histogram",n}return t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return d$n},t}(Gr);function h$n(e){var t=function(r){var i=r.options,o=i.tooltip,a=i.colorField,l=i.sizeField;return o&&!o.field&&(o.field=a||l),r},n=function(r){var i=r.options,o=i.mark,a=i.children;return o&&(a[0].type=o),r};return Jr(t,n,Co,oi)(e)}var g$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),m$n=function(e){g$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="heatmap",n}return t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return h$n},t}(Gr);function v$n(e){var t=function(n){var r=n.options.boxType,i=r===void 0?"box":r;return n.options.children[0].type=i,n};return Jr(t,Co,oi)(e)}var y$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),b$n=function(e){y$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="box",n}return t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return v$n},t}(Gr);function C$n(e){var t=function(n){var r=n.options,i=r.data,o=[{type:"custom",callback:function(l){return{links:l}}}];if(ii(i))i.length>0?Bn(r,"data",{value:i,transform:o}):delete r.children;else if(Fi(i,"type")==="fetch"&&Fi(i,"value")){var a=Fi(i,"transform");ii(a)?Bn(i,"transform",a.concat(o)):Bn(i,"transform",o)}return n};return Jr(t,Co,oi)(e)}var S$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),x$n=function(e){S$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="sankey",n}return t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return C$n},t}(Gr),id=function(){return id=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(WPe);_.useEffect(()=>{t(WPe)});const n={data:e,padding:"auto",xField:"Date",yField:"scales",xAxis:{label:{rotate:Math.PI/2}},smooth:!0},r={appendPadding:10,data:sPn,angleField:"note_count",colorField:"categorie_title",radius:.8,label:{type:"inner",offset:"-50%",content:"{name} {percentage}",style:{textAlign:"center",fontSize:14,fill:"#fff"}},interactions:[{type:"element-active"}]};return ge.jsxs("div",{style:{padding:20},className:"analyticsBody",children:[ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsx("h2",{style:{textDecoration:"underline wavy #ce7397",marginBottom:20},children:"月更统计"}),ge.jsx("div",{style:{height:400},className:"monthAnalytics",children:ge.jsx(oPn,{...n})})]}),ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsx("h2",{style:{textDecoration:"underline wavy #e84749",marginBottom:20},children:"分类统计"}),ge.jsx("div",{style:{height:400},className:"categoriesAnalytics",children:ge.jsx(lPn,{...r})})]})]})},uPn=[{key:"1",label:ge.jsx("h3",{children:"站点信息"}),children:ge.jsx(ge.Fragment,{})},{key:"2",label:ge.jsx("h3",{children:"用户信息"}),children:ge.jsx(ge.Fragment,{})},{key:"3",label:ge.jsx("h3",{children:"社交媒体"}),children:ge.jsx(ge.Fragment,{})},{key:"4",label:ge.jsx("h3",{children:"背景图片"}),children:ge.jsx(ge.Fragment,{})}],dPn=()=>{const e=t=>{console.log(t)};return ge.jsx("div",{style:{padding:20},children:ge.jsx(YE,{defaultActiveKey:"1",items:uPn,onChange:e,centered:!0})})},fPn=()=>{const{RangePicker:e}=_8t,{token:t}=kFe.useToken(),[n]=dr.useForm(),r=Yl(l=>l.categories.categories),i=Yl(l=>l.tags.tag),o=l=>{console.log("Received values of form: ",l)},a={maxWidth:"98%",borderRadius:t.borderRadiusLG,padding:24,margin:"auto",background:"white",height:"140px"};return ge.jsx(dr,{form:n,name:"advanced_search",style:a,onFinish:o,children:ge.jsxs($B,{gutter:24,children:[ge.jsxs(Bv,{span:8,children:[ge.jsx(dr.Item,{name:"title",label:"文章标题",children:ge.jsx(au,{placeholder:"请输入文章标题"})}),ge.jsx(dr.Item,{name:"top",label:"是否置顶",children:ge.jsx(Ps,{placeholder:"请选择是否置顶",options:[{value:"true",label:"是"},{value:"false",label:"否"}]})})]}),ge.jsxs(Bv,{span:8,children:[ge.jsx(dr.Item,{name:"categories",label:"文章分类",children:ge.jsx(Ps,{placeholder:"请选择文章分类",children:r.map(l=>ge.jsx(Ps.Option,{value:l.categoryTitle,children:l.categoryTitle},l.key))})}),ge.jsx(dr.Item,{name:"time",label:"发布时间",children:ge.jsx(Td,{locale:Yie,children:ge.jsx(e,{})})})]}),ge.jsxs(Bv,{span:8,children:[ge.jsx(dr.Item,{name:"tagsLab",label:"文章标签",children:ge.jsx(FFe,{placeholder:"请选择文章标签",showSearch:!0,style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},allowClear:!0,multiple:!0,treeDefaultExpandAll:!0,treeData:i.map(l=>({...l,value:l.tagKey,key:l.tagKey,children:l.children?l.children.map(s=>({...s,value:s.tagKey,key:s.tagKey})):[]}))})}),ge.jsx("div",{style:{textAlign:"right"},children:ge.jsxs(CC,{size:"small",children:[ge.jsx(Ei,{type:"primary",htmlType:"submit",children:"搜索"}),ge.jsx(Ei,{onClick:()=>{n.resetFields()},children:"重置"})]})})]})]})})},pPn=()=>{const[e,t]=_.useState([]),n=My(),[r,i]=_.useState([]),[o,a]=_.useState(!1),[l,s]=_.useState(""),u=wC(),[c]=dr.useForm(),f=Yl(N=>N.tags.tag),h=Yl(N=>N.categories.categories),[d,p]=_.useState(!1);_.useEffect(()=>{g()},[]);const g=()=>{Tr({url:"/api/protected/notes",method:"GET"}).then(N=>{i(N.data.data.map(k=>({key:k.noteKey,noteTitle:k.noteTitle,noteContent:k.noteContent,description:k.description,cover:k.cover,noteCategory:k.noteCategory,noteTags:k.noteTags?k.noteTags.split(",").map(D=>parseInt(D,10)):[],isTop:k.isTop,status:k.status,createTime:k.createTime,updateTime:k.updateTime})))})},m=N=>{Tr({url:"/api/protected/notes",method:"DELETE",data:[N]}).then(k=>{k.status===200&&(g(),u(c7()),pr.success("删除成功"))}).catch(k=>{console.log(k)})},v=()=>{Tr({url:"/api/protected/notes",method:"DELETE",data:e}).then(N=>{N.status===200&&(g(),u(c7()),pr.success("删除成功"))}).catch(N=>{console.log(N)})},y=N=>{a(!0),s(N.key)},b=()=>{const N={isTop:Number(c.getFieldsValue().top),status:c.getFieldsValue().status};Tr({url:`/api/protected/notes/${l}`,method:"POST",data:N}).then(k=>{k.status===200&&(g(),pr.success("状态变更成功"))}).catch(k=>{pr.error("状态更新失败"+k)}),s("0"),c.resetFields(),a(!1)},C=()=>{a(!1)},x=()=>{},S=()=>{p(!0)},w=()=>{v(),p(!1)},O=()=>{p(!1)},$=[{title:"封面缩略图",dataIndex:"cover",key:"cover",align:"center",render:N=>ge.jsx(yEt,{src:N,alt:"封面缩略图",style:{maxWidth:"100px",borderRadius:5}})},{title:"文章标题",dataIndex:"noteTitle",key:"title",align:"center"},{title:"文章分类",dataIndex:"noteCategory",key:"categories",align:"center",render:N=>ge.jsx(ge.Fragment,{children:h.filter(k=>k.categoryTitle===N).map(k=>ge.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:ge.jsxs(i7,{color:k.color,children:[ge.jsx("i",{className:`iconfont ${k.icon}`,style:{display:"inline",fontSize:20,marginTop:1}}),ge.jsx("span",{style:{fontSize:16,marginBottom:1,marginLeft:3},children:k.categoryTitle})]},k.key)}))})},{title:"文章标签",key:"tags",dataIndex:"tags",align:"center",render:(N,k)=>ge.jsx(ge.Fragment,{children:k.noteTags.map(D=>{let L,B;return f.forEach(j=>{j.tagKey===D?(L=j.color,B=j.title):j.children&&j.children.some(z=>z.tagKey===D)&&(L=j.color,B=j.children.find(z=>z.tagKey===D).title)}),ge.jsx(i7,{color:L,style:{margin:5},children:B},D)})})},{title:"是否置顶",key:"isTop",dataIndex:"isTop",align:"center",render:N=>N?ge.jsx("i",{className:"iconfont icon-yes",style:{fontSize:24}}):ge.jsx("i",{className:"iconfont icon-no",style:{fontSize:24}})},{title:"最近更新时间",key:"updateTime",dataIndex:"updateTime",align:"center",render:N=>ge.jsx("div",{style:{width:160,height:26,color:"rgba(0,0,0.88)",fontWeight:600,borderRadius:10},children:N})},{title:"文章状态",key:"status",dataIndex:"status",align:"center",render:N=>N==="public"?ge.jsx("i",{className:"iconfont icon-public1"}):N==="private"?ge.jsx("i",{className:"iconfont icon-private4"}):N==="draft"?ge.jsx("i",{className:"iconfont icon-caogaoxiang1"}):"未知状态"},{title:"操作",key:"action",align:"center",render:N=>ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsxs(Ei,{type:"primary",onClick:()=>n(`newnote/${N.key}`),style:{marginBottom:10},children:[ge.jsx("i",{className:"iconfont icon-bianji",style:{fontSize:16,marginRight:"0.2em"}})," 编辑"]}),ge.jsx(pie,{title:"删除确认",description:"确定删除此文章?",icon:ge.jsx(die,{style:{color:"red"}}),okText:"删除",onConfirm:()=>m(N.key),cancelText:"取消",children:ge.jsxs(Ei,{type:"primary",style:{background:"#f5222d",marginBottom:10},children:[ge.jsx("i",{className:"iconfont icon-shanchu1",style:{fontSize:16,marginRight:"0.2em"}}),"删除"]})}),ge.jsxs(Ei,{type:"primary",style:{background:"#13c2c2"},onClick:()=>y(N),children:[ge.jsx("i",{className:"iconfont icon-biangeng",style:{fontSize:16,marginRight:"0.2em"}})," 状态变更"]})]})}],T={selectedRowKeys:e,onChange:N=>{console.log("selectedRowKeys changed: ",N),t(N)}},R=e.length>0,M=[{label:"全部文章",key:"1"},{label:"私密文章",key:"2"},{label:"草稿箱",key:"3"}],A=N=>{parseInt(N)===1?g():parseInt(N)===2?i(r.filter(k=>k.status==="private")):i(r.filter(k=>k.status==="draft"))};return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"AllCard",children:[ge.jsx(fPn,{}),ge.jsx(Ei,{type:"primary",style:{marginLeft:15,marginTop:15},onClick:()=>n("newnote"),children:"新增"}),R&&ge.jsx(Ei,{danger:!0,style:{marginLeft:15,marginTop:15,background:"transparent"},onClick:S,children:"批量删除"}),ge.jsx("span",{style:{marginLeft:8},children:R?`选中 ${e.length} 项`:""}),ge.jsxs("div",{className:"searchRes",children:[ge.jsx(YE,{defaultActiveKey:"1",items:M,style:{marginLeft:10},onChange:A}),ge.jsx("div",{style:{overflowX:"hidden"},children:ge.jsx(Td,{theme:{components:{Table:{}}},children:ge.jsx(IFe,{columns:$,dataSource:r,pagination:{pageSize:4},rowSelection:T,scroll:{y:290,x:1e3}})})})]})]}),ge.jsx(vh,{open:o,okText:"保存",cancelText:"取消",onCancel:C,onOk:b,children:ge.jsxs(dr,{form:c,layout:"vertical",name:"changeStatue",initialValues:{modifier:"public"},onFinish:x,children:[ge.jsx(dr.Item,{name:"status",className:"collection-create-form_last-form-item",label:ge.jsx("h4",{children:"文章状态"}),children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"public",children:"公开"}),ge.jsx(rc,{value:"private",children:"私密"}),ge.jsx(rc,{value:"draft",children:"草稿"})]})}),ge.jsx(dr.Item,{name:"top",label:ge.jsx("h4",{children:"是否置顶"}),children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"1",children:"是"}),ge.jsx(rc,{value:"0",children:"否"})]})})]})}),ge.jsx(vh,{title:"删除确认",open:d,onOk:w,onCancel:O,okText:"确定",cancelText:"取消",children:"是否删除选中所有文章?"})]})};function vc(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(vc(e,e.length,0,t),e):t}const qPe={}.hasOwnProperty;function Jrt(e){const t={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function QC(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const l=e.charCodeAt(n+1);o<56320&&l>56319&&l<57344?(a=String.fromCharCode(o,l),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function YL(e){if(e===null||Ii(e)||Ey(e))return 1;if(UH(e))return 2}function GH(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);VPe(f,-s),VPe(h,s),a={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Jc(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Jc(u,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),u=Jc(u,GH(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Jc(u,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Jc(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,vc(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n0&&Sr(S)?Wr(e,y,"linePrefix",o+1)(S):y(S)}function y(S){return S===null||Fn(S)?e.check(GPe,g,C)(S):(e.enter("codeFlowValue"),b(S))}function b(S){return S===null||Fn(S)?(e.exit("codeFlowValue"),y(S)):(e.consume(S),b)}function C(S){return e.exit("codeFenced"),t(S)}function x(S,w,O){let $=0;return P;function P(N){return S.enter("lineEnding"),S.consume(N),S.exit("lineEnding"),T}function T(N){return S.enter("codeFencedFence"),Sr(N)?Wr(S,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):R(N)}function R(N){return N===l?(S.enter("codeFencedFenceSequence"),M(N)):O(N)}function M(N){return N===l?($++,S.consume(N),M):$>=a?(S.exit("codeFencedFenceSequence"),Sr(N)?Wr(S,A,"whitespace")(N):A(N)):O(N)}function A(N){return N===null||Fn(N)?(S.exit("codeFencedFence"),w(N)):O(N)}}}function HPn(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const wX={name:"codeIndented",tokenize:qPn},WPn={tokenize:VPn,partial:!0};function qPn(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),Wr(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?s(u):Fn(u)?e.attempt(WPn,a,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Fn(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function VPn(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Fn(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Wr(e,o,"linePrefix",5)(a)}function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):Fn(a)?i(a):n(a)}}const UPn={name:"codeText",tokenize:XPn,resolve:GPn,previous:KPn};function GPn(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function fit(e,t,n,r,i,o,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),h):v===null||v===32||v===41||XL(v)?n(v):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),g(v))}function h(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(v))}function d(v){return v===62?(e.exit("chunkString"),e.exit(l),h(v)):v===null||v===60||Fn(v)?n(v):(e.consume(v),v===92?p:d)}function p(v){return v===60||v===62||v===92?(e.consume(v),d):d(v)}function g(v){return!c&&(v===null||v===41||Ii(v))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(v)):c999||d===null||d===91||d===93&&!s||d===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):Fn(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||Fn(d)||l++>999?(e.exit("chunkString"),c(d)):(e.consume(d),s||(s=!Sr(d)),d===92?h:f)}function h(d){return d===91||d===92||d===93?(e.consume(d),l++,f):f(d)}}function hit(e,t,n,r,i,o){let a;return l;function l(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),a=h===40?41:h,s):n(h)}function s(h){return h===a?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),u(h))}function u(h){return h===a?(e.exit(o),s(a)):h===null?n(h):Fn(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Wr(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===a||h===null||Fn(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?f:c)}function f(h){return h===a||h===92?(e.consume(h),c):c(h)}}function sE(e,t){let n;return r;function r(i){return Fn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Sr(i)?Wr(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function _d(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nTn={name:"definition",tokenize:iTn},rTn={tokenize:oTn,partial:!0};function iTn(e,t,n){const r=this;let i;return o;function o(d){return e.enter("definition"),a(d)}function a(d){return pit.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function l(d){return i=_d(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),s):n(d)}function s(d){return Ii(d)?sE(e,u)(d):u(d)}function u(d){return fit(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(rTn,f,f)(d)}function f(d){return Sr(d)?Wr(e,h,"whitespace")(d):h(d)}function h(d){return d===null||Fn(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function oTn(e,t,n){return r;function r(l){return Ii(l)?sE(e,i)(l):n(l)}function i(l){return hit(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function o(l){return Sr(l)?Wr(e,a,"whitespace")(l):a(l)}function a(l){return l===null||Fn(l)?t(l):n(l)}}const aTn={name:"hardBreakEscape",tokenize:lTn};function lTn(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Fn(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const sTn={name:"headingAtx",tokenize:uTn,resolve:cTn};function cTn(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},vc(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function uTn(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&r++<6?(e.consume(c),a):c===null||Ii(c)?(e.exit("atxHeadingSequence"),l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||Fn(c)?(e.exit("atxHeading"),t(c)):Sr(c)?Wr(e,l,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),l(c))}function u(c){return c===null||c===35||Ii(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),u)}}const dTn=["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"],XPe=["pre","script","style","textarea"],fTn={name:"htmlFlow",tokenize:mTn,resolveTo:gTn,concrete:!0},pTn={tokenize:yTn,partial:!0},hTn={tokenize:vTn,partial:!0};function gTn(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mTn(e,t,n){const r=this;let i,o,a,l,s;return u;function u(W){return c(W)}function c(W){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(W),f}function f(W){return W===33?(e.consume(W),h):W===47?(e.consume(W),o=!0,g):W===63?(e.consume(W),i=3,r.interrupt?t:j):Ul(W)?(e.consume(W),a=String.fromCharCode(W),m):n(W)}function h(W){return W===45?(e.consume(W),i=2,d):W===91?(e.consume(W),i=5,l=0,p):Ul(W)?(e.consume(W),i=4,r.interrupt?t:j):n(W)}function d(W){return W===45?(e.consume(W),r.interrupt?t:j):n(W)}function p(W){const U="CDATA[";return W===U.charCodeAt(l++)?(e.consume(W),l===U.length?r.interrupt?t:R:p):n(W)}function g(W){return Ul(W)?(e.consume(W),a=String.fromCharCode(W),m):n(W)}function m(W){if(W===null||W===47||W===62||Ii(W)){const U=W===47,K=a.toLowerCase();return!U&&!o&&XPe.includes(K)?(i=1,r.interrupt?t(W):R(W)):dTn.includes(a.toLowerCase())?(i=6,U?(e.consume(W),v):r.interrupt?t(W):R(W)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(W):o?y(W):b(W))}return W===45||El(W)?(e.consume(W),a+=String.fromCharCode(W),m):n(W)}function v(W){return W===62?(e.consume(W),r.interrupt?t:R):n(W)}function y(W){return Sr(W)?(e.consume(W),y):P(W)}function b(W){return W===47?(e.consume(W),P):W===58||W===95||Ul(W)?(e.consume(W),C):Sr(W)?(e.consume(W),b):P(W)}function C(W){return W===45||W===46||W===58||W===95||El(W)?(e.consume(W),C):x(W)}function x(W){return W===61?(e.consume(W),S):Sr(W)?(e.consume(W),x):b(W)}function S(W){return W===null||W===60||W===61||W===62||W===96?n(W):W===34||W===39?(e.consume(W),s=W,w):Sr(W)?(e.consume(W),S):O(W)}function w(W){return W===s?(e.consume(W),s=null,$):W===null||Fn(W)?n(W):(e.consume(W),w)}function O(W){return W===null||W===34||W===39||W===47||W===60||W===61||W===62||W===96||Ii(W)?x(W):(e.consume(W),O)}function $(W){return W===47||W===62||Sr(W)?b(W):n(W)}function P(W){return W===62?(e.consume(W),T):n(W)}function T(W){return W===null||Fn(W)?R(W):Sr(W)?(e.consume(W),T):n(W)}function R(W){return W===45&&i===2?(e.consume(W),k):W===60&&i===1?(e.consume(W),D):W===62&&i===4?(e.consume(W),z):W===63&&i===3?(e.consume(W),j):W===93&&i===5?(e.consume(W),B):Fn(W)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(pTn,V,M)(W)):W===null||Fn(W)?(e.exit("htmlFlowData"),M(W)):(e.consume(W),R)}function M(W){return e.check(hTn,A,V)(W)}function A(W){return e.enter("lineEnding"),e.consume(W),e.exit("lineEnding"),N}function N(W){return W===null||Fn(W)?M(W):(e.enter("htmlFlowData"),R(W))}function k(W){return W===45?(e.consume(W),j):R(W)}function D(W){return W===47?(e.consume(W),a="",L):R(W)}function L(W){if(W===62){const U=a.toLowerCase();return XPe.includes(U)?(e.consume(W),z):R(W)}return Ul(W)&&a.length<8?(e.consume(W),a+=String.fromCharCode(W),L):R(W)}function B(W){return W===93?(e.consume(W),j):R(W)}function j(W){return W===62?(e.consume(W),z):W===45&&i===2?(e.consume(W),j):R(W)}function z(W){return W===null||Fn(W)?(e.exit("htmlFlowData"),V(W)):(e.consume(W),z)}function V(W){return e.exit("htmlFlow"),t(W)}}function vTn(e,t,n){const r=this;return i;function i(a){return Fn(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function yTn(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ZP,t,n)}}const bTn={name:"htmlText",tokenize:CTn};function CTn(e,t,n){const r=this;let i,o,a;return l;function l(j){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(j),s}function s(j){return j===33?(e.consume(j),u):j===47?(e.consume(j),x):j===63?(e.consume(j),b):Ul(j)?(e.consume(j),O):n(j)}function u(j){return j===45?(e.consume(j),c):j===91?(e.consume(j),o=0,p):Ul(j)?(e.consume(j),y):n(j)}function c(j){return j===45?(e.consume(j),d):n(j)}function f(j){return j===null?n(j):j===45?(e.consume(j),h):Fn(j)?(a=f,D(j)):(e.consume(j),f)}function h(j){return j===45?(e.consume(j),d):f(j)}function d(j){return j===62?k(j):j===45?h(j):f(j)}function p(j){const z="CDATA[";return j===z.charCodeAt(o++)?(e.consume(j),o===z.length?g:p):n(j)}function g(j){return j===null?n(j):j===93?(e.consume(j),m):Fn(j)?(a=g,D(j)):(e.consume(j),g)}function m(j){return j===93?(e.consume(j),v):g(j)}function v(j){return j===62?k(j):j===93?(e.consume(j),v):g(j)}function y(j){return j===null||j===62?k(j):Fn(j)?(a=y,D(j)):(e.consume(j),y)}function b(j){return j===null?n(j):j===63?(e.consume(j),C):Fn(j)?(a=b,D(j)):(e.consume(j),b)}function C(j){return j===62?k(j):b(j)}function x(j){return Ul(j)?(e.consume(j),S):n(j)}function S(j){return j===45||El(j)?(e.consume(j),S):w(j)}function w(j){return Fn(j)?(a=w,D(j)):Sr(j)?(e.consume(j),w):k(j)}function O(j){return j===45||El(j)?(e.consume(j),O):j===47||j===62||Ii(j)?$(j):n(j)}function $(j){return j===47?(e.consume(j),k):j===58||j===95||Ul(j)?(e.consume(j),P):Fn(j)?(a=$,D(j)):Sr(j)?(e.consume(j),$):k(j)}function P(j){return j===45||j===46||j===58||j===95||El(j)?(e.consume(j),P):T(j)}function T(j){return j===61?(e.consume(j),R):Fn(j)?(a=T,D(j)):Sr(j)?(e.consume(j),T):$(j)}function R(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),i=j,M):Fn(j)?(a=R,D(j)):Sr(j)?(e.consume(j),R):(e.consume(j),A)}function M(j){return j===i?(e.consume(j),i=void 0,N):j===null?n(j):Fn(j)?(a=M,D(j)):(e.consume(j),M)}function A(j){return j===null||j===34||j===39||j===60||j===61||j===96?n(j):j===47||j===62||Ii(j)?$(j):(e.consume(j),A)}function N(j){return j===47||j===62||Ii(j)?$(j):n(j)}function k(j){return j===62?(e.consume(j),e.exit("htmlTextData"),e.exit("htmlText"),t):n(j)}function D(j){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),L}function L(j){return Sr(j)?Wr(e,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):B(j)}function B(j){return e.enter("htmlTextData"),a(j)}}const mce={name:"labelEnd",tokenize:ETn,resolveTo:OTn,resolveAll:wTn},STn={tokenize:$Tn},xTn={tokenize:PTn},_Tn={tokenize:TTn};function wTn(e){let t=-1;for(;++t=3&&(u===null||Fn(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),Sr(u)?Wr(e,l,"whitespace")(u):l(u))}}const fs={name:"list",tokenize:LTn,continuation:{tokenize:zTn},exit:FTn},jTn={tokenize:HTn,partial:!0},DTn={tokenize:BTn,partial:!0};function LTn(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return l;function l(d){const p=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:ste(d)){if(r.containerState.type||(r.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ij,n,u)(d):u(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(d)}return n(d)}function s(d){return ste(d)&&++a<10?(e.consume(d),s):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),u(d)):n(d)}function u(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(ZP,r.interrupt?n:c,e.attempt(jTn,h,f))}function c(d){return r.containerState.initialBlankLine=!0,o++,h(d)}function f(d){return Sr(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),h):n(d)}function h(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function zTn(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ZP,i,o);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Wr(e,t,"listItemIndent",r.containerState.size+1)(l)}function o(l){return r.containerState.furtherBlankLines||!Sr(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(DTn,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Wr(e,e.attempt(fs,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function BTn(e,t,n){const r=this;return Wr(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function FTn(e){e.exit(this.containerState.type)}function HTn(e,t,n){const r=this;return Wr(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Sr(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const YPe={name:"setextUnderline",tokenize:qTn,resolveTo:WTn};function WTn(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function qTn(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Sr(u)?Wr(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||Fn(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const VTn={tokenize:JTn,partial:!0};function UTn(){return{document:{91:{tokenize:YTn,continuation:{tokenize:ZTn},exit:QTn}},text:{91:{tokenize:XTn},93:{add:"after",tokenize:GTn,resolveTo:KTn}}}}function GTn(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){a=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!a||!a._balanced)return n(s);const u=_d(r.sliceSerialize({start:a.end,end:r.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function KTn(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function XTn(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,a;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),s}function s(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(o>999||f===93&&!a||f===null||f===91||Ii(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(_d(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Ii(f)||(a=!0),o++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,u):u(f)}}function YTn(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0,l;return s;function s(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(p)}function c(p){if(a>999||p===93&&!l||p===null||p===91||Ii(p))return n(p);if(p===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return o=_d(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Ii(p)||(l=!0),a++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),a++,c):c(p)}function h(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),i.includes(o)||i.push(o),Wr(e,d,"gfmFootnoteDefinitionWhitespace")):n(p)}function d(p){return t(p)}}function ZTn(e,t,n){return e.check(ZP,t,e.attempt(VTn,t,n))}function QTn(e){e.exit("gfmFootnoteDefinition")}function JTn(e,t,n){const r=this;return Wr(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function eMn(e){let n=(e||{}).singleTilde;const r={tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,l){let s=-1;for(;++s1?s(p):(a.consume(p),f++,d);if(f<2&&!n)return s(p);const m=a.exit("strikethroughSequenceTemporary"),v=YL(p);return m._open=!v||v===2&&!!g,m._close=!g||g===2&&!!v,l(p)}}}class tMn{constructor(){this.map=[]}add(t,n,r){nMn(this,t,n,r)}consume(t){if(this.map.sort((o,a)=>o[0]-a[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function nMn(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const A=r.events[T][1].type;if(A==="lineEnding"||A==="linePrefix")T--;else break}const R=T>-1?r.events[T][1].type:null,M=R==="tableHead"||R==="tableRow"?S:s;return M===S&&r.parser.lazy[r.now().line]?n(P):M(P)}function s(P){return e.enter("tableHead"),e.enter("tableRow"),u(P)}function u(P){return P===124||(a=!0,o+=1),c(P)}function c(P){return P===null?n(P):Fn(P)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),d):n(P):Sr(P)?Wr(e,c,"whitespace")(P):(o+=1,a&&(a=!1,i+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),a=!0,c):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||Ii(P)?(e.exit("data"),c(P)):(e.consume(P),P===92?h:f)}function h(P){return P===92||P===124?(e.consume(P),f):f(P)}function d(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),a=!1,Sr(P)?Wr(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):p(P))}function p(P){return P===45||P===58?m(P):P===124?(a=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),g):x(P)}function g(P){return Sr(P)?Wr(e,m,"whitespace")(P):m(P)}function m(P){return P===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(o+=1,v(P)):P===null||Fn(P)?C(P):x(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),y(P)):x(P)}function y(P){return P===45?(e.consume(P),y):P===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(P))}function b(P){return Sr(P)?Wr(e,C,"whitespace")(P):C(P)}function C(P){return P===124?p(P):P===null||Fn(P)?!a||i!==o?x(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):x(P)}function x(P){return n(P)}function S(P){return e.enter("tableRow"),w(P)}function w(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),w):P===null||Fn(P)?(e.exit("tableRow"),t(P)):Sr(P)?Wr(e,w,"whitespace")(P):(e.enter("data"),O(P))}function O(P){return P===null||P===124||Ii(P)?(e.exit("data"),w(P)):(e.consume(P),P===92?$:O)}function $(P){return P===92||P===124?(e.consume(P),O):O(P)}}function aMn(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],l=!1,s=0,u,c,f;const h=new tMn;for(;++nn[2]+1){const p=n[2]+1,g=n[3]-n[2]-1;e.add(p,g,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},A2(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function ZPe(e,t,n,r,i){const o=[],a=A2(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function A2(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const lMn={tokenize:cMn},sMn={text:{91:lMn}};function cMn(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),o)}function o(s){return Ii(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),a):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),a):n(s)}function a(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(s)}function l(s){return Fn(s)?t(s):Sr(s)?e.check({tokenize:uMn},t,n)(s):n(s)}}function uMn(e,t,n){return Wr(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function dMn(e){return Jrt([xPn,UTn(),eMn(e),iMn,sMn])}function ZL(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function fMn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const vce=function(e){if(e==null)return mMn;if(typeof e=="string")return gMn(e);if(typeof e=="object")return Array.isArray(e)?pMn(e):hMn(e);if(typeof e=="function")return KH(e);throw new Error("Expected function, string, or object as test")};function pMn(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let h=[],d,p,g;if((!t||i(l,s,u[u.length-1]||null))&&(h=bMn(n(l,u)),h[0]===QPe))return h;if(l.children&&h[0]!==yMn)for(p=(r?l.children.length:-1)+o,g=u.concat(l);p>-1&&p0?{type:"text",value:w}:void 0),w!==!1&&(m!==x&&b.push({type:"text",value:f.value.slice(m,x)}),Array.isArray(w)?b.push(...w):w&&b.push(w),m=x+C[0].length,y=!0),!p.global)break;C=p.exec(f.value)}return y?(me}const EX="phrasing",$X=["autolink","link","image","label"],xMn={transforms:[TMn],enter:{literalAutolink:wMn,literalAutolinkEmail:PX,literalAutolinkHttp:PX,literalAutolinkWww:PX},exit:{literalAutolink:PMn,literalAutolinkEmail:$Mn,literalAutolinkHttp:OMn,literalAutolinkWww:EMn}},_Mn={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:EX,notInConstruct:$X},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:EX,notInConstruct:$X},{character:":",before:"[ps]",after:"\\/",inConstruct:EX,notInConstruct:$X}]};function wMn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function PX(e){this.config.enter.autolinkProtocol.call(this,e)}function OMn(e){this.config.exit.autolinkProtocol.call(this,e)}function EMn(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function $Mn(e){this.config.exit.autolinkEmail.call(this,e)}function PMn(e){this.exit(e)}function TMn(e){mit(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MMn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,RMn]],{ignore:["link","linkReference"]})}function MMn(e,t,n,r,i){let o="";if(!vit(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!IMn(n)))return!1;const a=NMn(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function RMn(e,t,n,r){return!vit(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function IMn(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function NMn(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ZL(e,"(");let o=ZL(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function vit(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ey(n)||UH(n))&&(!t||n!==47)}function yit(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const AMn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bit(e){return e.replace(AMn,kMn)}function kMn(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return yit(n.slice(o?2:1),o?16:10)}return gce(n)||e}function Cit(e){return e.label||!e.identifier?e.label||"":bit(e.identifier)}function jMn(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l0){if(++t>=r_n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function l_n(e){return function(){return e}}var FL=function(){try{var e=cb(Object,"defineProperty");return e({},"",{}),e}catch{}}(),s_n=FL?function(e,t){return FL(e,"toString",{configurable:!0,enumerable:!1,value:l_n(t),writable:!0})}:Xse;const c_n=s_n;var drt=a_n(c_n);function u_n(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var g_n=9007199254740991,m_n=/^(?:0|[1-9]\d*)$/;function zH(e,t){var n=typeof e;return t=t??g_n,!!t&&(n=="number"||n!="symbol"&&m_n.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=C_n}function K0(e){return e!=null&&Jse(e.length)&&!XC(e)}function S_n(e,t,n){if(!sl(n))return!1;var r=typeof t;return(r=="number"?K0(n)&&zH(t,n.length):r=="string"&&t in n)?YP(n[t],e):!1}function hrt(e){return b_n(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&S_n(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r-1}function Awn(e,t){var n=this.__data__,r=WH(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Bh(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(l)?t>1?Crt(l,t-1,n,r,i):ice(i,l):r||(i[i.length]=l)}return i}function Xwn(e){var t=e==null?0:e.length;return t?Crt(e,1):[]}function oce(e){return drt(prt(e,void 0,Xwn),e+"")}var Ywn=brt(Object.getPrototypeOf,Object);const ace=Ywn;var Zwn="[object Object]",Qwn=Function.prototype,Jwn=Object.prototype,Srt=Qwn.toString,eOn=Jwn.hasOwnProperty,tOn=Srt.call(Object);function lce(e){if(!Ds(e)||Gf(e)!=Zwn)return!1;var t=ace(e);if(t===null)return!0;var n=eOn.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Srt.call(n)==tOn}function nOn(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++rl))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=n&B8n?new r$:void 0;for(o.set(e,t),o.set(t,e);++f=t||w<0||f&&O>=o}function v(){var S=yX();if(m(S))return y(S);l=setTimeout(v,g(S))}function y(S){return l=void 0,h&&r?d(S):(r=i=void 0,a)}function b(){l!==void 0&&clearTimeout(l),u=0,r=s=i=l=void 0}function C(){return l===void 0?a:y(yX())}function x(){var S=yX(),w=m(S);if(r=arguments,i=this,s=S,w){if(l===void 0)return p(s);if(f)return clearTimeout(l),l=setTimeout(v,t),d(s)}return l===void 0&&(l=setTimeout(v,t)),a}return x.cancel=b,x.flush=C,x}function Kee(e,t,n){(n!==void 0&&!YP(e[t],n)||n===void 0&&!(t in e))&&BH(e,t,n)}function R9n(e){return Ds(e)&&K0(e)}function Xee(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function I9n(e){return ub(e,ZP(e))}function N9n(e,t,n,r,i,o,a){var l=Xee(e,n),s=Xee(t,n),u=a.get(s);if(u){Kee(e,n,u);return}var c=o?o(l,s,n+"",e,t,a):void 0,f=c===void 0;if(f){var h=ii(s),d=!h&&J7(s),p=!h&&!d&&tce(s);c=s,h||d||p?ii(l)?c=l:R9n(l)?c=Qse(l):d?(f=!1,c=_rt(s,!0)):p?(f=!1,c=Prt(s,!0)):c=[]:lce(s)||Q7(s)?(c=l,Q7(l)?c=I9n(l):(!sl(l)||XC(l))&&(c=Trt(s))):f=!1}f&&(a.set(s,c),i(c,s,r,o,a),a.delete(s)),Kee(e,n,c)}function Frt(e,t,n,r,i){e!==t&&Lrt(t,function(o,a){if(i||(i=new xd),sl(o))N9n(e,t,a,n,Frt,r,i);else{var l=r?r(Xee(e,a),o,a+"",e,t,i):void 0;l===void 0&&(l=o),Kee(e,a,l)}},ZP)}var A9n=hrt(function(e,t,n,r){Frt(e,t,n,r)});function k9n(e,t,n){for(var r=-1,i=e==null?0:e.length;++r-1:!!i&&frt(e,t,n)>-1}function J9n(e,t){return t.length<2?e:VH(e,nOn(t,0,-1))}var eEn="[object Boolean]";function fce(e){return e===!0||e===!1||Ds(e)&&Gf(e)==eEn}function APe(e,t){return UH(e,t)}var tEn="[object Number]";function eC(e){return typeof e=="number"||Ds(e)&&Gf(e)==tEn}function nEn(e){return e==null}function rEn(e){return e===void 0}function iEn(e,t){return t=YC(t,e),e=J9n(e,t),e==null||delete e[ZC(j9n(t))]}function oEn(e){return lce(e)?void 0:e}var aEn=1,lEn=2,sEn=4,cEn=oce(function(e,t){var n={};if(e==null)return n;var r=!1;t=LH(t,function(o){return o=YC(o,e),r||(r=o.length>1),o}),ub(e,$rt(e),n),r&&(n=aE(n,aEn|lEn|sEn,oEn));for(var i=t.length;i--;)iEn(n,t[i]);return n});const pce=cEn;function qrt(e,t,n,r){if(!sl(e))return e;t=YC(t,e);for(var i=-1,o=t.length,a=o-1,l=e;l!=null&&++i=mEn){var u=t?null:gEn(e);if(u)return uce(u);a=!1,i=Nrt,s=new r$}else s=t?[]:l;e:for(;++rt.value-e.value,as:["x","y"],ignoreParentValue:!0},SEn="nodeIndex",i$="childNodeCount",xEn="nodeAncestor",CX="Invalid field: it must be a string!";function _En(e,t){const{field:n,fields:r}=e;if(eo(n))return n;if(sa(n))return console.warn(CX),n[0];if(console.warn(`${CX} will try to get fields instead.`),eo(r))return r;if(sa(r)&&r.length)return r[0];if(t)return t;throw new TypeError(CX)}function wEn(e){const t=[];if(e&&e.each){let n,r;e.each(i=>{var o,a;i.parent!==n?(n=i.parent,r=0):r+=1;const l=enn((((o=i.ancestors)===null||o===void 0?void 0:o.call(i))||[]).map(s=>t.find(u=>u.name===s.name)||s),({depth:s})=>s>0&&s{t.push(n)});return t}function OEn(e,t){t=snn({},CEn,t);const n=t.as;if(!sa(n)||n.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');let r;try{r=_En(t)}catch(s){console.warn(s)}const o=(s=>P0n().size(t.size).round(t.round).padding(t.padding)(VC(s).sum(u=>mJ(u.children)?t.ignoreParentValue?0:u[r]-kUe(u.children,(c,f)=>c+f[r],0):u[r]).sort(t.sort)))(e),a=n[0],l=n[1];return o.each(s=>{var u,c;s[a]=[s.x0,s.x1,s.x1,s.x0],s[l]=[s.y1,s.y1,s.y0,s.y0],s.name=s.name||((u=s.data)===null||u===void 0?void 0:u.name)||((c=s.data)===null||c===void 0?void 0:c.label),s.data.name=s.name,["x0","x1","y0","y1"].forEach(f=>{n.indexOf(f)===-1&&delete s[f]})}),wEn(o)}var EEn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var u,c,f,h;if(s.depth===0)return null;let d=s.data.name;const p=[d];let g=Object.assign({},s);for(;g.depth>1;)d=`${(u=g.parent.data)===null||u===void 0?void 0:u.name} / ${d}`,p.unshift((c=g.parent.data)===null||c===void 0?void 0:c.name),g=g.parent;const m=Object.assign(Object.assign(Object.assign({},$ae(s.data,[i])),{[Urt]:d,[WL]:g.data.name}),s);r&&r!==WL&&(m[r]=s.data[r]||((h=(f=s.parent)===null||f===void 0?void 0:f.data)===null||h===void 0?void 0:h[r])),l.push(m)}),l.map(s=>Object.assign(Object.assign({},s),{x:s.x.slice(0,2),y:[s.y[2],s.y[0]],fillOpacity:Math.pow(.85,s.depth)}))}const jPe={id:q3,encode:{x:"x",y:"y",key:Urt,color:WL,value:"value"},axis:{x:!1,y:!1},style:{[hce]:q3,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[i$]:i$,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},Grt=e=>{const{encode:t,data:n=[],legend:r}=e,i=EEn(e,["encode","data","legend"]),o=Object.assign(Object.assign({},i.coordinate),{innerRadius:Math.max(Li(i,["coordinate","innerRadius"],.2),1e-5)}),a=Object.assign(Object.assign({},jPe.encode),t),{value:l}=a,s=$En({encode:a,data:n});return[Dt({},jPe,Object.assign(Object.assign({type:"rect",data:s,encode:a,tooltip:{title:"path",items:[u=>({name:l,value:u[l]})]}},i),{coordinate:o}))]};Grt.props={};var PEn=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function l(c){try{u(r.next(c))}catch(f){a(f)}}function s(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?o(c.value):i(c.value).then(l,s)}u((r=r.apply(e,t||[])).next())})};const TEn=e=>e.querySelectorAll(".element").filter(t=>Li(t,["style",hce])===q3);function MEn(e){return Un(e).select(`.${q7}`).node()}const REn={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}};function IEn(e={}){const{breadCrumb:t={},fixedColor:n=!0}=e,r=Dt({},REn,t);return i=>{const{update:o,setState:a,container:l,view:s,options:u}=i,c=MEn(l),f=u.marks.find(({id:y})=>y===q3),{state:h}=f,d=new Ha;c.appendChild(d);const p=(y,b)=>PEn(this,void 0,void 0,function*(){if(d.removeChildren(),y){const C=new uu({style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});d.appendChild(C);let x="";const S=y==null?void 0:y.split(" / ");let w=r.style.y,O=d.getBBox().width;const $=c.getBBox().width,P=S.map((T,R)=>{const M=new uu({style:Object.assign(Object.assign({x:O,text:" / "},r.style),{y:w})});d.appendChild(M),O+=M.getBBox().width,x=`${x}${T} / `;const A=new uu({name:x.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:T,x:O,depth:R+1},r.style),{y:w})});return d.appendChild(A),O+=A.getBBox().width,O>$&&(w=d.getBBox().height,O=0,M.attr({x:O,y:w}),O+=M.getBBox().width,A.attr({x:O,y:w}),O+=A.getBBox().width),A});[C,...P].forEach((T,R)=>{if(R===P.length)return;const M=Object.assign({},T.attributes);T.attr("cursor","pointer"),T.addEventListener("mouseenter",()=>{T.attr(r.active)}),T.addEventListener("mouseleave",()=>{T.attr(M)}),T.addEventListener("click",()=>{p(T.name,Li(T,["style","depth"]))})})}a("drillDown",C=>{const{marks:x}=C,S=x.map(w=>{if(w.id!==q3&&w.type!=="rect")return w;const{data:O}=w,$=Object.fromEntries(["color"].map(T=>[T,{domain:s.scale[T].getOptions().domain}])),P=O.filter(T=>{const R=T.path;return n&&(T[WL]=R.split(" / ")[b]),y?new RegExp(`^${y}.+`).test(R):!0});return Dt({},w,n?{data:P}:{data:P,scale:$})});return Object.assign(Object.assign({},C),{marks:S})}),yield o()}),g=y=>{const b=y.target;if(Li(b,["style",hce])!==q3||Li(b,["markType"])!=="rect"||!Li(b,["style",i$]))return;const C=Li(b,["__data__","key"]),x=Li(b,["style","depth"]);b.style.cursor="pointer",p(C,x)};c.addEventListener("click",g);const m=Eae(Object.assign(Object.assign({},h.active),h.inactive)),v=()=>{TEn(c).forEach(b=>{const C=Li(b,["style",i$]);if(Li(b,["style","cursor"])!=="pointer"&&C){b.style.cursor="pointer";const S=$ae(b.attributes,m);b.addEventListener("mouseenter",()=>{b.attr(h.active)}),b.addEventListener("mouseleave",()=>{b.attr(Dt(S,h.inactive))})}})};return c.addEventListener("mousemove",v),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",v)}}}jt.enableCSSParsing=!1;function NEn(){return{"interaction.drillDown":IEn,"mark.sunburst":Grt}}var qL=function(){return qL=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var w=x.x,O=x.y,$=x.height,P=x.width,T=x.data,R=x.key,M=Fi(T,c),A=m/2;if(n){var N=w+P/2,j=O;d.push({points:[[N+A,j-h+C],[N+A,j-y-C],[N,j-C],[N-A,j-y-C],[N-A,j-h+C]],center:[N,j-h/2-C],width:h,value:[f,M],key:R})}else{var N=w,j=O+$/2;d.push({points:[[w-h+C,j-A],[w-y-C,j-A],[N-C,j],[w-y-C,j+A],[w-h+C,j+A]],center:[N-h/2-C,j],width:h,value:[f,M],key:R})}f=M}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var n=this.chart.getCoordinate(),r=Fi(n,"options.transformations"),i="horizontal";r.forEach(function(o){o.includes("transpose")&&(i="vertical")}),this.direction=i},t.prototype.drawConversionTag=function(){var n=this,r=this.getConversionTagLayout(),i=this.attributes,o=i.style,a=i.text,l=a.style,s=a.formatter;r.forEach(function(u){var c=u.points,f=u.center,h=u.value,d=u.key,p=h[0],g=h[1],m=f[0],v=f[1],y=new UEn({style:KL({points:c,fill:"#eee"},o),id:"polygon-".concat(d)}),b=new Xrt({style:KL({x:m,y:v,text:XC(s)?s(p,g):(g/p*100).toFixed(2)+"%"},l),id:"text-".concat(d)});n.appendChild(y),n.appendChild(b)})},t.prototype.update=function(){var n=this,r=this.getConversionTagLayout();r.forEach(function(i){var o=i.points,a=i.center,l=i.key,s=a[0],u=a[1],c=n.getElementById("polygon-".concat(l)),f=n.getElementById("text-".concat(l));c.setAttribute("points",o),f.setAttribute("x",s),f.setAttribute("y",u)})},t.tag="ConversionTag",t}(Yrt),ete=32,zPe=16,BPe=48,YEn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lE=function(){return lE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&Bn(r,"children",[{type:"interval"}]);var i=r.scale,o=r.markBackground,a=r.data,l=r.children,s=r.yField,u=Fi(i,"y.domain",[]);if(o&&u.length&&ii(a)){var c="domainMax",f=a.map(function(h){var d;return p3(p3({originData:p3({},h)},pce(h,s)),(d={},d[c]=u[u.length-1],d))});l.unshift(p3({type:"interval",data:f,yField:c,tooltip:!1,style:{fill:"#eee"},label:!1},o))}return n};return Jr(t,Co,oi)(e)}var u7n=function(){var e=function(t,n){return function(r){var i=t.fill,o=i===void 0?"#2888FF":i,a=t.stroke,l=t.fillOpacity,s=l===void 0?1:l,u=t.strokeOpacity,c=u===void 0?.2:u,f=t.pitch,h=f===void 0?8:f,d=r[0],p=r[1],g=r[2],m=r[3],v=(p[1]-d[1])/2,y=n.document,b=y.createElement("g",{}),C=y.createElement("polygon",{style:{points:[d,[d[0]-h,d[1]+v],[g[0]-h,d[1]+v],m],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c,inset:30}}),x=y.createElement("polygon",{style:{points:[[d[0]-h,d[1]+v],p,g,[g[0]-h,d[1]+v]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c}}),S=y.createElement("polygon",{style:{points:[d,[d[0]-h,d[1]+v],p,[d[0]+h,d[1]+v]],fill:o,fillOpacity:s-.2}});return b.appendChild(C),b.appendChild(x),b.appendChild(S),b}};trt("shape.interval.bar25D",e)},d7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();u7n();var f7n=function(e){d7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="Bar",n}return t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlightByColor:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Zrt},t}(Gr),p7n=function(){var e=function(t,n){return function(r){var i=t.fill,o=i===void 0?"#2888FF":i,a=t.stroke,l=t.fillOpacity,s=l===void 0?1:l,u=t.strokeOpacity,c=u===void 0?.2:u,f=t.pitch,h=f===void 0?8:f,d=r[1][0]-r[0][0],p=d/2+r[0][0],g=n.document,m=g.createElement("g",{}),v=g.createElement("polygon",{style:{points:[[r[0][0],r[0][1]],[p,r[1][1]+h],[p,r[3][1]+h],[r[3][0],r[3][1]]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c,inset:30}}),y=g.createElement("polygon",{style:{points:[[p,r[1][1]+h],[r[1][0],r[1][1]],[r[2][0],r[2][1]],[p,r[2][1]+h]],fill:o,fillOpacity:s,stroke:a,strokeOpacity:c}}),b=g.createElement("polygon",{style:{points:[[r[0][0],r[0][1]],[p,r[1][1]-h],[r[1][0],r[1][1]],[p,r[1][1]+h]],fill:o,fillOpacity:s-.2}});return m.appendChild(y),m.appendChild(v),m.appendChild(b),m}};trt("shape.interval.column25D",e)},h7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();p7n();var g7n=function(e){h7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="column",n}return t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlightByColor:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Zrt},t}(Gr);function m7n(e){var t=function(r){var i=r.options,o=i.children,a=o===void 0?[]:o,l=i.legend;return l&&a.forEach(function(s){if(!Fi(s,"colorField")){var u=Fi(s,"yField");Bn(s,"colorField",function(){return u})}}),r},n=function(r){var i=r.options,o=i.annotations,a=o===void 0?[]:o,l=i.children,s=l===void 0?[]:l,u=i.scale,c=!1;return Fi(u,"y.key")||s.forEach(function(f,h){if(!Fi(f,"scale.y.key")){var d="child".concat(h,"Scale");Bn(f,"scale.y.key",d);var p=f.annotations,g=p===void 0?[]:p;g.length>0&&(Bn(f,"scale.y.independent",!1),g.forEach(function(m){Bn(m,"scale.y.key",d)})),!c&&a.length>0&&Fi(f,"scale.y.independent")===void 0&&(c=!0,Bn(f,"scale.y.independent",!1),a.forEach(function(m){Bn(m,"scale.y.key",d)}))}}),r};return Jr(t,n,Co,oi)(e)}var v7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),HPe=function(e){v7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="DualAxes",n}return t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return m7n},t}(Gr);function y7n(e){var t=function(o){var a=o.options,l=a.xField,s=a.colorField;return s||Bn(a,"colorField",l),o},n=function(o){var a=o.options,l=a.compareField,s=a.transform,u=a.isTransposed,c=u===void 0?!0:u,f=a.coordinate;return s||(l?Bn(a,"transform",[]):Bn(a,"transform",[{type:"symmetryY"}])),!f&&c&&Bn(a,"coordinate",{transform:[{type:"transpose"}]}),o},r=function(o){var a=o.options,l=a.compareField,s=a.seriesField,u=a.data,c=a.children,f=a.yField,h=a.isTransposed,d=h===void 0?!0:h;if(l||s){var p=Object.values(Hrt(u,function(g){return g[l||s]}));c[0].data=p[0],c.push({type:"interval",data:p[1],yField:function(g){return-g[f]}}),delete a.compareField,delete a.data}return s&&(Bn(a,"type","spaceFlex"),Bn(a,"ratio",[1,1]),Bn(a,"direction",d?"row":"col"),delete a.seriesField),o},i=function(o){var a=o.options,l=a.tooltip,s=a.xField,u=a.yField;return l||Bn(a,"tooltip",{title:!1,items:[function(c){return{name:c[s],value:c[u]}}]}),o};return Jr(t,n,r,i,Co,oi)(e)}var b7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),C7n=function(e){b7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="column",n}return t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y7n},t}(Gr);function S7n(e){return Jr(Co,oi)(e)}var x7n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_7n=function(e){x7n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="line",n}return t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return S7n},t}(Gr),N1=function(){return N1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(h.x1=f[l],h.x2=h[l],h.y1=f[w2]),h},[]),c.shift(),s.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:c,style:ote({stroke:"#697474"},u),label:!1,tooltip:!1}),r};return Jr(t,n,Co,oi)(e)}var l$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),s$n=function(e){l$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="waterfall",n}return t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:ite,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return a$n},t}(Gr);function c$n(e){var t=function(n){var r=n.options,i=r.data,o=r.binNumber,a=r.binWidth,l=r.children,s=r.channel,u=s===void 0?"count":s,c=Fi(l,"[0].transform[0]",{});return eC(a)?(hPe(c,{thresholds:aOn(L9n(i.length,a)),y:u}),n):(eC(o)&&hPe(c,{thresholds:o,y:u}),n)};return Jr(t,Co,oi)(e)}var u$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),d$n=function(e){u$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="Histogram",n}return t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return c$n},t}(Gr);function f$n(e){var t=function(r){var i=r.options,o=i.tooltip,a=i.colorField,l=i.sizeField;return o&&!o.field&&(o.field=a||l),r},n=function(r){var i=r.options,o=i.mark,a=i.children;return o&&(a[0].type=o),r};return Jr(t,n,Co,oi)(e)}var p$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),h$n=function(e){p$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="heatmap",n}return t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlightByColor:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return f$n},t}(Gr);function g$n(e){var t=function(n){var r=n.options.boxType,i=r===void 0?"box":r;return n.options.children[0].type=i,n};return Jr(t,Co,oi)(e)}var m$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),v$n=function(e){m$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="box",n}return t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return g$n},t}(Gr);function y$n(e){var t=function(n){var r=n.options,i=r.data,o=[{type:"custom",callback:function(l){return{links:l}}}];if(ii(i))i.length>0?Bn(r,"data",{value:i,transform:o}):delete r.children;else if(Fi(i,"type")==="fetch"&&Fi(i,"value")){var a=Fi(i,"transform");ii(a)?Bn(i,"transform",a.concat(o)):Bn(i,"transform",o)}return n};return Jr(t,Co,oi)(e)}var b$n=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),C$n=function(e){b$n(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="sankey",n}return t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return y$n},t}(Gr),id=function(){return id=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(qPe);_.useEffect(()=>{t(qPe)});const n={data:e,padding:"auto",xField:"Date",yField:"scales",xAxis:{label:{rotate:Math.PI/2}},smooth:!0},r={appendPadding:10,data:aPn,angleField:"note_count",colorField:"categorie_title",radius:.8,label:{type:"inner",offset:"-50%",content:"{name} {percentage}",style:{textAlign:"center",fontSize:14,fill:"#fff"}},interactions:[{type:"element-active"}]};return ge.jsxs("div",{style:{padding:20},className:"analyticsBody",children:[ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsx("h2",{style:{textDecoration:"underline wavy #ce7397",marginBottom:20},children:"月更统计"}),ge.jsx("div",{style:{height:400},className:"monthAnalytics",children:ge.jsx(rPn,{...n})})]}),ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsx("h2",{style:{textDecoration:"underline wavy #e84749",marginBottom:20},children:"分类统计"}),ge.jsx("div",{style:{height:400},className:"categoriesAnalytics",children:ge.jsx(oPn,{...r})})]})]})},sPn=[{key:"1",label:ge.jsx("h3",{children:"站点信息"}),children:ge.jsx(ge.Fragment,{})},{key:"2",label:ge.jsx("h3",{children:"用户信息"}),children:ge.jsx(ge.Fragment,{})},{key:"3",label:ge.jsx("h3",{children:"社交媒体"}),children:ge.jsx(ge.Fragment,{})},{key:"4",label:ge.jsx("h3",{children:"背景图片"}),children:ge.jsx(ge.Fragment,{})}],cPn=()=>{const e=t=>{console.log(t)};return ge.jsx("div",{style:{padding:20},children:ge.jsx(ZE,{defaultActiveKey:"1",items:sPn,onChange:e,centered:!0})})},uPn=()=>{const{RangePicker:e}=x8t,{token:t}=jFe.useToken(),[n]=ur.useForm(),r=Yl(l=>l.categories.categories),i=Yl(l=>l.tags.tag),o=l=>{console.log("Received values of form: ",l)},a={maxWidth:"98%",borderRadius:t.borderRadiusLG,padding:24,margin:"auto",background:"white",height:"140px"};return ge.jsx(ur,{form:n,name:"advanced_search",style:a,onFinish:o,children:ge.jsxs(PB,{gutter:24,children:[ge.jsxs(Bv,{span:8,children:[ge.jsx(ur.Item,{name:"title",label:"文章标题",children:ge.jsx(au,{placeholder:"请输入文章标题"})}),ge.jsx(ur.Item,{name:"top",label:"是否置顶",children:ge.jsx(Ps,{placeholder:"请选择是否置顶",options:[{value:"true",label:"是"},{value:"false",label:"否"}]})})]}),ge.jsxs(Bv,{span:8,children:[ge.jsx(ur.Item,{name:"categories",label:"文章分类",children:ge.jsx(Ps,{placeholder:"请选择文章分类",children:r.map(l=>ge.jsx(Ps.Option,{value:l.categoryTitle,children:l.categoryTitle},l.key))})}),ge.jsx(ur.Item,{name:"time",label:"发布时间",children:ge.jsx(Td,{locale:Zie,children:ge.jsx(e,{})})})]}),ge.jsxs(Bv,{span:8,children:[ge.jsx(ur.Item,{name:"tagsLab",label:"文章标签",children:ge.jsx(HFe,{placeholder:"请选择文章标签",showSearch:!0,style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},allowClear:!0,multiple:!0,treeDefaultExpandAll:!0,treeData:i.map(l=>({...l,value:l.tagKey,key:l.tagKey,children:l.children?l.children.map(s=>({...s,value:s.tagKey,key:s.tagKey})):[]}))})}),ge.jsx("div",{style:{textAlign:"right"},children:ge.jsxs(CC,{size:"small",children:[ge.jsx(Ei,{type:"primary",htmlType:"submit",children:"搜索"}),ge.jsx(Ei,{onClick:()=>{n.resetFields()},children:"重置"})]})})]})]})})},dPn=()=>{const[e,t]=_.useState([]),n=My(),[r,i]=_.useState([]),[o,a]=_.useState(!1),[l,s]=_.useState(""),u=wC(),[c]=ur.useForm(),f=Yl(N=>N.tags.tag),h=Yl(N=>N.categories.categories),[d,p]=_.useState(!1);_.useEffect(()=>{g()},[]);const g=()=>{Tr({url:"/api/protected/notes",method:"GET"}).then(N=>{i(N.data.data.map(j=>({key:j.noteKey,noteTitle:j.noteTitle,noteContent:j.noteContent,description:j.description,cover:j.cover,noteCategory:j.noteCategory,noteTags:j.noteTags?j.noteTags.split(",").map(D=>parseInt(D,10)):[],isTop:j.isTop,status:j.status,createTime:j.createTime,updateTime:j.updateTime})))})},m=N=>{Tr({url:"/api/protected/notes",method:"DELETE",data:[N]}).then(j=>{j.status===200&&(g(),u(u7()),fr.success("删除成功"))}).catch(j=>{console.log(j)})},v=()=>{Tr({url:"/api/protected/notes",method:"DELETE",data:e}).then(N=>{N.status===200&&(g(),u(u7()),fr.success("删除成功"))}).catch(N=>{console.log(N)})},y=N=>{a(!0),s(N.key)},b=()=>{const N={isTop:Number(c.getFieldsValue().top),status:c.getFieldsValue().status};Tr({url:`/api/protected/notes/${l}`,method:"POST",data:N}).then(j=>{j.status===200&&(g(),fr.success("状态变更成功"))}).catch(j=>{fr.error("状态更新失败"+j)}),s("0"),c.resetFields(),a(!1)},C=()=>{a(!1)},x=()=>{},S=()=>{p(!0)},w=()=>{v(),p(!1)},O=()=>{p(!1)},$=[{title:"封面缩略图",dataIndex:"cover",key:"cover",align:"center",render:N=>ge.jsx(vEt,{src:N,alt:"封面缩略图",style:{maxWidth:"100px",borderRadius:5}})},{title:"文章标题",dataIndex:"noteTitle",key:"title",align:"center"},{title:"文章分类",dataIndex:"noteCategory",key:"categories",align:"center",render:N=>ge.jsx(ge.Fragment,{children:h.filter(j=>j.categoryTitle===N).map(j=>ge.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:ge.jsxs(o7,{color:j.color,children:[ge.jsx("i",{className:`iconfont ${j.icon}`,style:{display:"inline",fontSize:20,marginTop:1}}),ge.jsx("span",{style:{fontSize:16,marginBottom:1,marginLeft:3},children:j.categoryTitle})]},j.key)}))})},{title:"文章标签",key:"tags",dataIndex:"tags",align:"center",render:(N,j)=>ge.jsx(ge.Fragment,{children:j.noteTags.map(D=>{let L,B;return f.forEach(k=>{k.tagKey===D?(L=k.color,B=k.title):k.children&&k.children.some(z=>z.tagKey===D)&&(L=k.color,B=k.children.find(z=>z.tagKey===D).title)}),ge.jsx(o7,{color:L,style:{margin:5},children:B},D)})})},{title:"是否置顶",key:"isTop",dataIndex:"isTop",align:"center",render:N=>N?ge.jsx("i",{className:"iconfont icon-yes",style:{fontSize:24}}):ge.jsx("i",{className:"iconfont icon-no",style:{fontSize:24}})},{title:"最近更新时间",key:"updateTime",dataIndex:"updateTime",align:"center",render:N=>ge.jsx("div",{style:{width:160,height:26,color:"rgba(0,0,0.88)",fontWeight:600,borderRadius:10},children:N})},{title:"文章状态",key:"status",dataIndex:"status",align:"center",render:N=>N==="public"?ge.jsx("i",{className:"iconfont icon-public1"}):N==="private"?ge.jsx("i",{className:"iconfont icon-private4"}):N==="draft"?ge.jsx("i",{className:"iconfont icon-caogaoxiang1"}):"未知状态"},{title:"操作",key:"action",align:"center",render:N=>ge.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[ge.jsxs(Ei,{type:"primary",onClick:()=>n(`newnote/${N.key}`),style:{marginBottom:10},children:[ge.jsx("i",{className:"iconfont icon-bianji",style:{fontSize:16,marginRight:"0.2em"}})," 编辑"]}),ge.jsx(hie,{title:"删除确认",description:"确定删除此文章?",icon:ge.jsx(fie,{style:{color:"red"}}),okText:"删除",onConfirm:()=>m(N.key),cancelText:"取消",children:ge.jsxs(Ei,{type:"primary",style:{background:"#f5222d",marginBottom:10},children:[ge.jsx("i",{className:"iconfont icon-shanchu1",style:{fontSize:16,marginRight:"0.2em"}}),"删除"]})}),ge.jsxs(Ei,{type:"primary",style:{background:"#13c2c2"},onClick:()=>y(N),children:[ge.jsx("i",{className:"iconfont icon-biangeng",style:{fontSize:16,marginRight:"0.2em"}})," 状态变更"]})]})}],T={selectedRowKeys:e,onChange:N=>{console.log("selectedRowKeys changed: ",N),t(N)}},R=e.length>0,M=[{label:"全部文章",key:"1"},{label:"私密文章",key:"2"},{label:"草稿箱",key:"3"}],A=N=>{parseInt(N)===1?g():parseInt(N)===2?i(r.filter(j=>j.status==="private")):i(r.filter(j=>j.status==="draft"))};return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"AllCard",children:[ge.jsx(uPn,{}),ge.jsx(Ei,{type:"primary",style:{marginLeft:15,marginTop:15},onClick:()=>n("newnote"),children:"新增"}),R&&ge.jsx(Ei,{danger:!0,style:{marginLeft:15,marginTop:15,background:"transparent"},onClick:S,children:"批量删除"}),ge.jsx("span",{style:{marginLeft:8},children:R?`选中 ${e.length} 项`:""}),ge.jsxs("div",{className:"searchRes",children:[ge.jsx(ZE,{defaultActiveKey:"1",items:M,style:{marginLeft:10},onChange:A}),ge.jsx("div",{style:{overflowX:"hidden"},children:ge.jsx(Td,{theme:{components:{Table:{}}},children:ge.jsx(NFe,{columns:$,dataSource:r,pagination:{pageSize:4},rowSelection:T,scroll:{y:290,x:1e3}})})})]})]}),ge.jsx(vh,{open:o,okText:"保存",cancelText:"取消",onCancel:C,onOk:b,children:ge.jsxs(ur,{form:c,layout:"vertical",name:"changeStatue",initialValues:{modifier:"public"},onFinish:x,children:[ge.jsx(ur.Item,{name:"status",className:"collection-create-form_last-form-item",label:ge.jsx("h4",{children:"文章状态"}),children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"public",children:"公开"}),ge.jsx(rc,{value:"private",children:"私密"}),ge.jsx(rc,{value:"draft",children:"草稿"})]})}),ge.jsx(ur.Item,{name:"top",label:ge.jsx("h4",{children:"是否置顶"}),children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"1",children:"是"}),ge.jsx(rc,{value:"0",children:"否"})]})})]})}),ge.jsx(vh,{title:"删除确认",open:d,onOk:w,onCancel:O,okText:"确定",cancelText:"取消",children:"是否删除选中所有文章?"})]})};function vc(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o0?(vc(e,e.length,0,t),e):t}const VPe={}.hasOwnProperty;function Jrt(e){const t={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function QC(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const l=e.charCodeAt(n+1);o<56320&&l>56319&&l<57344?(a=String.fromCharCode(o,l),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function ZL(e){if(e===null||Ii(e)||Ey(e))return 1;if(GH(e))return 2}function KH(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);UPe(f,-s),UPe(h,s),a={type:s>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Jc(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Jc(u,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),u=Jc(u,KH(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Jc(u,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Jc(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,vc(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n0&&Sr(S)?Wr(e,y,"linePrefix",o+1)(S):y(S)}function y(S){return S===null||Fn(S)?e.check(KPe,g,C)(S):(e.enter("codeFlowValue"),b(S))}function b(S){return S===null||Fn(S)?(e.exit("codeFlowValue"),y(S)):(e.consume(S),b)}function C(S){return e.exit("codeFenced"),t(S)}function x(S,w,O){let $=0;return P;function P(N){return S.enter("lineEnding"),S.consume(N),S.exit("lineEnding"),T}function T(N){return S.enter("codeFencedFence"),Sr(N)?Wr(S,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):R(N)}function R(N){return N===l?(S.enter("codeFencedFenceSequence"),M(N)):O(N)}function M(N){return N===l?($++,S.consume(N),M):$>=a?(S.exit("codeFencedFenceSequence"),Sr(N)?Wr(S,A,"whitespace")(N):A(N)):O(N)}function A(N){return N===null||Fn(N)?(S.exit("codeFencedFence"),w(N)):O(N)}}}function BPn(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const OX={name:"codeIndented",tokenize:HPn},FPn={tokenize:WPn,partial:!0};function HPn(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),Wr(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?s(u):Fn(u)?e.attempt(FPn,a,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Fn(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function WPn(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Fn(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Wr(e,o,"linePrefix",5)(a)}function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):Fn(a)?i(a):n(a)}}const qPn={name:"codeText",tokenize:GPn,resolve:VPn,previous:UPn};function VPn(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function fit(e,t,n,r,i,o,a,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),h):v===null||v===32||v===41||YL(v)?n(v):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),g(v))}function h(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(v))}function d(v){return v===62?(e.exit("chunkString"),e.exit(l),h(v)):v===null||v===60||Fn(v)?n(v):(e.consume(v),v===92?p:d)}function p(v){return v===60||v===62||v===92?(e.consume(v),d):d(v)}function g(v){return!c&&(v===null||v===41||Ii(v))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(v)):c999||d===null||d===91||d===93&&!s||d===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):Fn(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||Fn(d)||l++>999?(e.exit("chunkString"),c(d)):(e.consume(d),s||(s=!Sr(d)),d===92?h:f)}function h(d){return d===91||d===92||d===93?(e.consume(d),l++,f):f(d)}}function hit(e,t,n,r,i,o){let a;return l;function l(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),a=h===40?41:h,s):n(h)}function s(h){return h===a?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),u(h))}function u(h){return h===a?(e.exit(o),s(a)):h===null?n(h):Fn(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Wr(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===a||h===null||Fn(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?f:c)}function f(h){return h===a||h===92?(e.consume(h),c):c(h)}}function cE(e,t){let n;return r;function r(i){return Fn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Sr(i)?Wr(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function _d(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const eTn={name:"definition",tokenize:nTn},tTn={tokenize:rTn,partial:!0};function nTn(e,t,n){const r=this;let i;return o;function o(d){return e.enter("definition"),a(d)}function a(d){return pit.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function l(d){return i=_d(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),s):n(d)}function s(d){return Ii(d)?cE(e,u)(d):u(d)}function u(d){return fit(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(tTn,f,f)(d)}function f(d){return Sr(d)?Wr(e,h,"whitespace")(d):h(d)}function h(d){return d===null||Fn(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function rTn(e,t,n){return r;function r(l){return Ii(l)?cE(e,i)(l):n(l)}function i(l){return hit(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function o(l){return Sr(l)?Wr(e,a,"whitespace")(l):a(l)}function a(l){return l===null||Fn(l)?t(l):n(l)}}const iTn={name:"hardBreakEscape",tokenize:oTn};function oTn(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Fn(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const aTn={name:"headingAtx",tokenize:sTn,resolve:lTn};function lTn(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},vc(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function sTn(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&r++<6?(e.consume(c),a):c===null||Ii(c)?(e.exit("atxHeadingSequence"),l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||Fn(c)?(e.exit("atxHeading"),t(c)):Sr(c)?Wr(e,l,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),l(c))}function u(c){return c===null||c===35||Ii(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),u)}}const cTn=["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"],YPe=["pre","script","style","textarea"],uTn={name:"htmlFlow",tokenize:hTn,resolveTo:pTn,concrete:!0},dTn={tokenize:mTn,partial:!0},fTn={tokenize:gTn,partial:!0};function pTn(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function hTn(e,t,n){const r=this;let i,o,a,l,s;return u;function u(W){return c(W)}function c(W){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(W),f}function f(W){return W===33?(e.consume(W),h):W===47?(e.consume(W),o=!0,g):W===63?(e.consume(W),i=3,r.interrupt?t:k):Ul(W)?(e.consume(W),a=String.fromCharCode(W),m):n(W)}function h(W){return W===45?(e.consume(W),i=2,d):W===91?(e.consume(W),i=5,l=0,p):Ul(W)?(e.consume(W),i=4,r.interrupt?t:k):n(W)}function d(W){return W===45?(e.consume(W),r.interrupt?t:k):n(W)}function p(W){const U="CDATA[";return W===U.charCodeAt(l++)?(e.consume(W),l===U.length?r.interrupt?t:R:p):n(W)}function g(W){return Ul(W)?(e.consume(W),a=String.fromCharCode(W),m):n(W)}function m(W){if(W===null||W===47||W===62||Ii(W)){const U=W===47,K=a.toLowerCase();return!U&&!o&&YPe.includes(K)?(i=1,r.interrupt?t(W):R(W)):cTn.includes(a.toLowerCase())?(i=6,U?(e.consume(W),v):r.interrupt?t(W):R(W)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(W):o?y(W):b(W))}return W===45||El(W)?(e.consume(W),a+=String.fromCharCode(W),m):n(W)}function v(W){return W===62?(e.consume(W),r.interrupt?t:R):n(W)}function y(W){return Sr(W)?(e.consume(W),y):P(W)}function b(W){return W===47?(e.consume(W),P):W===58||W===95||Ul(W)?(e.consume(W),C):Sr(W)?(e.consume(W),b):P(W)}function C(W){return W===45||W===46||W===58||W===95||El(W)?(e.consume(W),C):x(W)}function x(W){return W===61?(e.consume(W),S):Sr(W)?(e.consume(W),x):b(W)}function S(W){return W===null||W===60||W===61||W===62||W===96?n(W):W===34||W===39?(e.consume(W),s=W,w):Sr(W)?(e.consume(W),S):O(W)}function w(W){return W===s?(e.consume(W),s=null,$):W===null||Fn(W)?n(W):(e.consume(W),w)}function O(W){return W===null||W===34||W===39||W===47||W===60||W===61||W===62||W===96||Ii(W)?x(W):(e.consume(W),O)}function $(W){return W===47||W===62||Sr(W)?b(W):n(W)}function P(W){return W===62?(e.consume(W),T):n(W)}function T(W){return W===null||Fn(W)?R(W):Sr(W)?(e.consume(W),T):n(W)}function R(W){return W===45&&i===2?(e.consume(W),j):W===60&&i===1?(e.consume(W),D):W===62&&i===4?(e.consume(W),z):W===63&&i===3?(e.consume(W),k):W===93&&i===5?(e.consume(W),B):Fn(W)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(dTn,q,M)(W)):W===null||Fn(W)?(e.exit("htmlFlowData"),M(W)):(e.consume(W),R)}function M(W){return e.check(fTn,A,q)(W)}function A(W){return e.enter("lineEnding"),e.consume(W),e.exit("lineEnding"),N}function N(W){return W===null||Fn(W)?M(W):(e.enter("htmlFlowData"),R(W))}function j(W){return W===45?(e.consume(W),k):R(W)}function D(W){return W===47?(e.consume(W),a="",L):R(W)}function L(W){if(W===62){const U=a.toLowerCase();return YPe.includes(U)?(e.consume(W),z):R(W)}return Ul(W)&&a.length<8?(e.consume(W),a+=String.fromCharCode(W),L):R(W)}function B(W){return W===93?(e.consume(W),k):R(W)}function k(W){return W===62?(e.consume(W),z):W===45&&i===2?(e.consume(W),k):R(W)}function z(W){return W===null||Fn(W)?(e.exit("htmlFlowData"),q(W)):(e.consume(W),z)}function q(W){return e.exit("htmlFlow"),t(W)}}function gTn(e,t,n){const r=this;return i;function i(a){return Fn(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function mTn(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(QP,t,n)}}const vTn={name:"htmlText",tokenize:yTn};function yTn(e,t,n){const r=this;let i,o,a;return l;function l(k){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(k),s}function s(k){return k===33?(e.consume(k),u):k===47?(e.consume(k),x):k===63?(e.consume(k),b):Ul(k)?(e.consume(k),O):n(k)}function u(k){return k===45?(e.consume(k),c):k===91?(e.consume(k),o=0,p):Ul(k)?(e.consume(k),y):n(k)}function c(k){return k===45?(e.consume(k),d):n(k)}function f(k){return k===null?n(k):k===45?(e.consume(k),h):Fn(k)?(a=f,D(k)):(e.consume(k),f)}function h(k){return k===45?(e.consume(k),d):f(k)}function d(k){return k===62?j(k):k===45?h(k):f(k)}function p(k){const z="CDATA[";return k===z.charCodeAt(o++)?(e.consume(k),o===z.length?g:p):n(k)}function g(k){return k===null?n(k):k===93?(e.consume(k),m):Fn(k)?(a=g,D(k)):(e.consume(k),g)}function m(k){return k===93?(e.consume(k),v):g(k)}function v(k){return k===62?j(k):k===93?(e.consume(k),v):g(k)}function y(k){return k===null||k===62?j(k):Fn(k)?(a=y,D(k)):(e.consume(k),y)}function b(k){return k===null?n(k):k===63?(e.consume(k),C):Fn(k)?(a=b,D(k)):(e.consume(k),b)}function C(k){return k===62?j(k):b(k)}function x(k){return Ul(k)?(e.consume(k),S):n(k)}function S(k){return k===45||El(k)?(e.consume(k),S):w(k)}function w(k){return Fn(k)?(a=w,D(k)):Sr(k)?(e.consume(k),w):j(k)}function O(k){return k===45||El(k)?(e.consume(k),O):k===47||k===62||Ii(k)?$(k):n(k)}function $(k){return k===47?(e.consume(k),j):k===58||k===95||Ul(k)?(e.consume(k),P):Fn(k)?(a=$,D(k)):Sr(k)?(e.consume(k),$):j(k)}function P(k){return k===45||k===46||k===58||k===95||El(k)?(e.consume(k),P):T(k)}function T(k){return k===61?(e.consume(k),R):Fn(k)?(a=T,D(k)):Sr(k)?(e.consume(k),T):$(k)}function R(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),i=k,M):Fn(k)?(a=R,D(k)):Sr(k)?(e.consume(k),R):(e.consume(k),A)}function M(k){return k===i?(e.consume(k),i=void 0,N):k===null?n(k):Fn(k)?(a=M,D(k)):(e.consume(k),M)}function A(k){return k===null||k===34||k===39||k===60||k===61||k===96?n(k):k===47||k===62||Ii(k)?$(k):(e.consume(k),A)}function N(k){return k===47||k===62||Ii(k)?$(k):n(k)}function j(k){return k===62?(e.consume(k),e.exit("htmlTextData"),e.exit("htmlText"),t):n(k)}function D(k){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),L}function L(k){return Sr(k)?Wr(e,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):B(k)}function B(k){return e.enter("htmlTextData"),a(k)}}const vce={name:"labelEnd",tokenize:wTn,resolveTo:_Tn,resolveAll:xTn},bTn={tokenize:OTn},CTn={tokenize:ETn},STn={tokenize:$Tn};function xTn(e){let t=-1;for(;++t=3&&(u===null||Fn(u))?(e.exit("thematicBreak"),t(u)):n(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),Sr(u)?Wr(e,l,"whitespace")(u):l(u))}}const fs={name:"list",tokenize:jTn,continuation:{tokenize:DTn},exit:zTn},ATn={tokenize:BTn,partial:!0},kTn={tokenize:LTn,partial:!0};function jTn(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return l;function l(d){const p=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:cte(d)){if(r.containerState.type||(r.containerState.type=p,e.enter(p,{_container:!0})),p==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(oj,n,u)(d):u(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(d)}return n(d)}function s(d){return cte(d)&&++a<10?(e.consume(d),s):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),u(d)):n(d)}function u(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(QP,r.interrupt?n:c,e.attempt(ATn,h,f))}function c(d){return r.containerState.initialBlankLine=!0,o++,h(d)}function f(d){return Sr(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),h):n(d)}function h(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function DTn(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(QP,i,o);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Wr(e,t,"listItemIndent",r.containerState.size+1)(l)}function o(l){return r.containerState.furtherBlankLines||!Sr(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(kTn,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Wr(e,e.attempt(fs,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function LTn(e,t,n){const r=this;return Wr(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function zTn(e){e.exit(this.containerState.type)}function BTn(e,t,n){const r=this;return Wr(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Sr(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const ZPe={name:"setextUnderline",tokenize:HTn,resolveTo:FTn};function FTn(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function HTn(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Sr(u)?Wr(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||Fn(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const WTn={tokenize:ZTn,partial:!0};function qTn(){return{document:{91:{tokenize:KTn,continuation:{tokenize:XTn},exit:YTn}},text:{91:{tokenize:GTn},93:{add:"after",tokenize:VTn,resolveTo:UTn}}}}function VTn(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){a=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!a||!a._balanced)return n(s);const u=_d(r.sliceSerialize({start:a.end,end:r.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?n(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function UTn(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function GTn(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,a;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),s}function s(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(o>999||f===93&&!a||f===null||f===91||Ii(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(_d(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Ii(f)||(a=!0),o++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,u):u(f)}}function KTn(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,a=0,l;return s;function s(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(p)}function c(p){if(a>999||p===93&&!l||p===null||p===91||Ii(p))return n(p);if(p===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return o=_d(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Ii(p)||(l=!0),a++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),a++,c):c(p)}function h(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),i.includes(o)||i.push(o),Wr(e,d,"gfmFootnoteDefinitionWhitespace")):n(p)}function d(p){return t(p)}}function XTn(e,t,n){return e.check(QP,t,e.attempt(WTn,t,n))}function YTn(e){e.exit("gfmFootnoteDefinition")}function ZTn(e,t,n){const r=this;return Wr(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function QTn(e){let n=(e||{}).singleTilde;const r={tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,l){let s=-1;for(;++s1?s(p):(a.consume(p),f++,d);if(f<2&&!n)return s(p);const m=a.exit("strikethroughSequenceTemporary"),v=ZL(p);return m._open=!v||v===2&&!!g,m._close=!g||g===2&&!!v,l(p)}}}class JTn{constructor(){this.map=[]}add(t,n,r){eMn(this,t,n,r)}consume(t){if(this.map.sort((o,a)=>o[0]-a[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function eMn(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const A=r.events[T][1].type;if(A==="lineEnding"||A==="linePrefix")T--;else break}const R=T>-1?r.events[T][1].type:null,M=R==="tableHead"||R==="tableRow"?S:s;return M===S&&r.parser.lazy[r.now().line]?n(P):M(P)}function s(P){return e.enter("tableHead"),e.enter("tableRow"),u(P)}function u(P){return P===124||(a=!0,o+=1),c(P)}function c(P){return P===null?n(P):Fn(P)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),d):n(P):Sr(P)?Wr(e,c,"whitespace")(P):(o+=1,a&&(a=!1,i+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),a=!0,c):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||Ii(P)?(e.exit("data"),c(P)):(e.consume(P),P===92?h:f)}function h(P){return P===92||P===124?(e.consume(P),f):f(P)}function d(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),a=!1,Sr(P)?Wr(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):p(P))}function p(P){return P===45||P===58?m(P):P===124?(a=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),g):x(P)}function g(P){return Sr(P)?Wr(e,m,"whitespace")(P):m(P)}function m(P){return P===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(o+=1,v(P)):P===null||Fn(P)?C(P):x(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),y(P)):x(P)}function y(P){return P===45?(e.consume(P),y):P===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(P))}function b(P){return Sr(P)?Wr(e,C,"whitespace")(P):C(P)}function C(P){return P===124?p(P):P===null||Fn(P)?!a||i!==o?x(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):x(P)}function x(P){return n(P)}function S(P){return e.enter("tableRow"),w(P)}function w(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),w):P===null||Fn(P)?(e.exit("tableRow"),t(P)):Sr(P)?Wr(e,w,"whitespace")(P):(e.enter("data"),O(P))}function O(P){return P===null||P===124||Ii(P)?(e.exit("data"),w(P)):(e.consume(P),P===92?$:O)}function $(P){return P===92||P===124?(e.consume(P),O):O(P)}}function iMn(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],l=!1,s=0,u,c,f;const h=new JTn;for(;++nn[2]+1){const p=n[2]+1,g=n[3]-n[2]-1;e.add(p,g,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(o.end=Object.assign({},A2(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function QPe(e,t,n,r,i){const o=[],a=A2(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function A2(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const oMn={tokenize:lMn},aMn={text:{91:oMn}};function lMn(e,t,n){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),o)}function o(s){return Ii(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),a):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),a):n(s)}function a(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(s)}function l(s){return Fn(s)?t(s):Sr(s)?e.check({tokenize:sMn},t,n)(s):n(s)}}function sMn(e,t,n){return Wr(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function cMn(e){return Jrt([CPn,qTn(),QTn(e),nMn,aMn])}function QL(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function uMn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const yce=function(e){if(e==null)return hMn;if(typeof e=="string")return pMn(e);if(typeof e=="object")return Array.isArray(e)?dMn(e):fMn(e);if(typeof e=="function")return XH(e);throw new Error("Expected function, string, or object as test")};function dMn(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let h=[],d,p,g;if((!t||i(l,s,u[u.length-1]||null))&&(h=vMn(n(l,u)),h[0]===JPe))return h;if(l.children&&h[0]!==mMn)for(p=(r?l.children.length:-1)+o,g=u.concat(l);p>-1&&p0?{type:"text",value:w}:void 0),w!==!1&&(m!==x&&b.push({type:"text",value:f.value.slice(m,x)}),Array.isArray(w)?b.push(...w):w&&b.push(w),m=x+C[0].length,y=!0),!p.global)break;C=p.exec(f.value)}return y?(me}const $X="phrasing",PX=["autolink","link","image","label"],CMn={transforms:[$Mn],enter:{literalAutolink:xMn,literalAutolinkEmail:TX,literalAutolinkHttp:TX,literalAutolinkWww:TX},exit:{literalAutolink:EMn,literalAutolinkEmail:OMn,literalAutolinkHttp:_Mn,literalAutolinkWww:wMn}},SMn={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:PX},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:PX},{character:":",before:"[ps]",after:"\\/",inConstruct:$X,notInConstruct:PX}]};function xMn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function TX(e){this.config.enter.autolinkProtocol.call(this,e)}function _Mn(e){this.config.exit.autolinkProtocol.call(this,e)}function wMn(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function OMn(e){this.config.exit.autolinkEmail.call(this,e)}function EMn(e){this.exit(e)}function $Mn(e){mit(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,PMn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,TMn]],{ignore:["link","linkReference"]})}function PMn(e,t,n,r,i){let o="";if(!vit(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!MMn(n)))return!1;const a=RMn(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function TMn(e,t,n,r){return!vit(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function MMn(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function RMn(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=QL(e,"(");let o=QL(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function vit(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ey(n)||GH(n))&&(!t||n!==47)}function yit(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const IMn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bit(e){return e.replace(IMn,NMn)}function NMn(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return yit(n.slice(o?2:1),o?16:10)}return mce(n)||e}function Cit(e){return e.label||!e.identifier?e.label||"":bit(e.identifier)}function AMn(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l `}return` -`}const LMn=/\r?\n|\r/g;function zMn(e,t){const n=[];let r=0,i=0,o;for(;o=LMn.exec(e);)a(e.slice(r,o.index)),n.push(o[0]),r=o.index+o[0].length,i++;return a(e.slice(r)),n.join("");function a(l){n.push(t(l,i,!l))}}function Sit(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function BMn(e,t){return tTe(e,t.inConstruct,!0)&&!tTe(e,t.notInConstruct,!1)}function tTe(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=u||c+10?" ":"")),i.shift(4),o+=i.move(zMn(jMn(e,n,i.current()),eRn)),a(),o}function eRn(e,t,n){return t===0?e:(n?"":" ")+e}function wit(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++a0&&(l==="\r"||l===` -`)&&u.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(o.join(""))),o.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=o[o.length-1].slice(-1)}return r.pop(),o.join("")}const tRn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Oit.peek=aRn;const nRn={canContainEols:["delete"],enter:{strikethrough:iRn},exit:{strikethrough:oRn}},rRn={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:tRn}],handlers:{delete:Oit}};function iRn(e){this.enter({type:"delete",children:[]},e)}function oRn(e){this.exit(e)}function Oit(e,t,n,r){const i=XH(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=wit(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function aRn(){return"~"}Eit.peek=lRn;function Eit(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++os&&(s=e[u].length);++ml[m])&&(l[m]=y)}p.push(v)}o[u]=p,a[u]=g}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cl[c]&&(l[c]=v),h[c]=v),f[c]=y}o.splice(1,0,f),a.splice(1,0,h),u=-1;const d=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function pRn(e){this.exit(e),this.setData("inTable")}function hRn(e){this.enter({type:"tableRow",children:[]},e)}function TX(e){this.exit(e)}function iTe(e){this.enter({type:"tableCell",children:[]},e)}function gRn(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,mRn));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function mRn(e,t){return t==="|"?t:e}function vRn(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`}const jMn=/\r?\n|\r/g;function DMn(e,t){const n=[];let r=0,i=0,o;for(;o=jMn.exec(e);)a(e.slice(r,o.index)),n.push(o[0]),r=o.index+o[0].length,i++;return a(e.slice(r)),n.join("");function a(l){n.push(t(l,i,!l))}}function Sit(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function LMn(e,t){return nTe(e,t.inConstruct,!0)&&!nTe(e,t.notInConstruct,!1)}function nTe(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=u||c+10?" ":"")),i.shift(4),o+=i.move(DMn(AMn(e,n,i.current()),QMn)),a(),o}function QMn(e,t,n){return t===0?e:(n?"":" ")+e}function wit(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let a=-1,l=n.before;r.push(-1);let s=t.createTracker(n);for(;++a0&&(l==="\r"||l===` +`)&&u.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",s=t.createTracker(n),s.move(o.join(""))),o.push(s.move(t.handle(u,e,t,{...s.current(),before:l,after:c}))),l=o[o.length-1].slice(-1)}return r.pop(),o.join("")}const JMn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Oit.peek=iRn;const eRn={canContainEols:["delete"],enter:{strikethrough:nRn},exit:{strikethrough:rRn}},tRn={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:JMn}],handlers:{delete:Oit}};function nRn(e){this.enter({type:"delete",children:[]},e)}function rRn(e){this.exit(e)}function Oit(e,t,n,r){const i=YH(r),o=n.enter("strikethrough");let a=i.move("~~");return a+=wit(e,n,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),o(),a}function iRn(){return"~"}Eit.peek=oRn;function Eit(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++os&&(s=e[u].length);++ml[m])&&(l[m]=y)}p.push(v)}o[u]=p,a[u]=g}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cl[c]&&(l[c]=v),h[c]=v),f[c]=y}o.splice(1,0,f),a.splice(1,0,h),u=-1;const d=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function dRn(e){this.exit(e),this.setData("inTable")}function fRn(e){this.enter({type:"tableRow",children:[]},e)}function MX(e){this.exit(e)}function oTe(e){this.enter({type:"tableCell",children:[]},e)}function pRn(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,hRn));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function hRn(e,t){return t==="|"?t:e}function gRn(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:a,tableRow:l,tableCell:s,inlineCode:h}};function a(d,p,g,m){return u(c(d,g,m),d.align)}function l(d,p,g,m){const v=f(d,g,m),y=u([v]);return y.slice(0,y.indexOf(` -`))}function s(d,p,g,m){const v=g.enter("tableCell"),y=g.enter("phrasing"),b=wit(d,g,{...m,before:o,after:o});return y(),v(),b}function u(d,p){return sRn(d,{align:p,alignDelimiters:r,padding:n,stringLength:i})}function c(d,p,g){const m=d.children;let v=-1;const y=[],b=p.enter("table");for(;++v-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const l=n.createTracker(r);l.move(o+" ".repeat(a-o.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),c);return s(),u;function c(f,h,d){return h?(d?"":" ".repeat(a))+f:(d?o:o+" ".repeat(a-o.length))+f}}const SRn={exit:{taskListCheckValueChecked:oTe,taskListCheckValueUnchecked:oTe,paragraph:_Rn}},xRn={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:wRn}};function oTe(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function _Rn(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o',CheckCorrect:'',InsertTable:''},PRn="Strikethrough",TRn="text",MRn="Table",RRn="Heading",IRn="Task list",NRn="todo",ARn={strike:PRn,strikeText:TRn,table:MRn,tableHeading:RRn,task:IRn,taskText:NRn};function kRn({locale:e,...t}={}){const n={...ARn,...e};return{remark:r=>r.use($Rn,t),actions:[{title:n.strike,icon:MX.Strikethrough,cheatsheet:`~~${n.strikeText}~~`,handler:{type:"action",click({wrapText:r,editor:i}){r("~~"),i.focus()}}},{title:n.task,icon:MX.CheckCorrect,cheatsheet:`- [ ] ${n.taskText}`,handler:{type:"action",click({replaceLines:r,editor:i}){r(o=>"- [ ] "+o),i.focus()}}},{title:n.table,icon:MX.InsertTable,handler:{type:"action",click({editor:r,appendBlock:i,codemirror:o}){const{line:a}=i(`| ${n.tableHeading} | | +`))}function s(d,p,g,m){const v=g.enter("tableCell"),y=g.enter("phrasing"),b=wit(d,g,{...m,before:o,after:o});return y(),v(),b}function u(d,p){return aRn(d,{align:p,alignDelimiters:r,padding:n,stringLength:i})}function c(d,p,g){const m=d.children;let v=-1;const y=[],b=p.enter("table");for(;++v-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const l=n.createTracker(r);l.move(o+" ".repeat(a-o.length)),l.shift(a);const s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),c);return s(),u;function c(f,h,d){return h?(d?"":" ".repeat(a))+f:(d?o:o+" ".repeat(a-o.length))+f}}const bRn={exit:{taskListCheckValueChecked:aTe,taskListCheckValueUnchecked:aTe,paragraph:SRn}},CRn={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xRn}};function aTe(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function SRn(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o',CheckCorrect:'',InsertTable:''},ERn="Strikethrough",$Rn="text",PRn="Table",TRn="Heading",MRn="Task list",RRn="todo",IRn={strike:ERn,strikeText:$Rn,table:PRn,tableHeading:TRn,task:MRn,taskText:RRn};function NRn({locale:e,...t}={}){const n={...IRn,...e};return{remark:r=>r.use(ORn,t),actions:[{title:n.strike,icon:RX.Strikethrough,cheatsheet:`~~${n.strikeText}~~`,handler:{type:"action",click({wrapText:r,editor:i}){r("~~"),i.focus()}}},{title:n.task,icon:RX.CheckCorrect,cheatsheet:`- [ ] ${n.taskText}`,handler:{type:"action",click({replaceLines:r,editor:i}){r(o=>"- [ ] "+o),i.focus()}}},{title:n.table,icon:RX.InsertTable,handler:{type:"action",click({editor:r,appendBlock:i,codemirror:o}){const{line:a}=i(`| ${n.tableHeading} | | | --- | --- | | | | -`);r.setSelection(o.Pos(a,2),o.Pos(a,2+n.tableHeading.length)),r.focus()}}}]}}function jRn(e){mit(e,/\r?\n|\r/g,DRn)}function DRn(){return{type:"break"}}function LRn(){return jRn}function zRn(){return{remark:e=>e.use(LRn)}}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function $it(e){return typeof e>"u"||e===null}function BRn(e){return typeof e=="object"&&e!==null}function FRn(e){return Array.isArray(e)?e:$it(e)?[]:[e]}function HRn(e,t){var n,r,i,o;if(t)for(o=Object.keys(t),n=0,r=o.length;ne.use(jRn)}}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function $it(e){return typeof e>"u"||e===null}function LRn(e){return typeof e=="object"&&e!==null}function zRn(e){return Array.isArray(e)?e:$it(e)?[]:[e]}function BRn(e,t){var n,r,i,o;if(t)for(o=Object.keys(t),n=0,r=o.length;nl&&(o=" ... ",t=r-l+o.length),n-r>l&&(a=" ...",n=r+l-a.length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+o.length}}function IX(e,t){return Gl.repeat(" ",t-e.length)+e}function ZRn(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],o,a=-1;o=n.exec(e.buffer);)i.push(o.index),r.push(o.index+o[0].length),e.position<=o.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var l="",s,u,c=Math.min(e.line+t.linesAfter,i.length).toString().length,f=t.maxLength-(t.indent+c+3);for(s=1;s<=t.linesBefore&&!(a-s<0);s++)u=RX(e.buffer,r[a-s],i[a-s],e.position-(r[a]-r[a-s]),f),l=Gl.repeat(" ",t.indent)+IX((e.line-s+1).toString(),c)+" | "+u.str+` -`+l;for(u=RX(e.buffer,r[a],i[a],e.position,f),l+=Gl.repeat(" ",t.indent)+IX((e.line+1).toString(),c)+" | "+u.str+` +`+e.mark.snippet),r+" "+n):r}function a$(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Pit(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}a$.prototype=Object.create(Error.prototype);a$.prototype.constructor=a$;a$.prototype.toString=function(t){return this.name+": "+Pit(this,t)};var Vp=a$;function IX(e,t,n,r,i){var o="",a="",l=Math.floor(i/2)-1;return r-t>l&&(o=" ... ",t=r-l+o.length),n-r>l&&(a=" ...",n=r+l-a.length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+o.length}}function NX(e,t){return Gl.repeat(" ",t-e.length)+e}function XRn(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],o,a=-1;o=n.exec(e.buffer);)i.push(o.index),r.push(o.index+o[0].length),e.position<=o.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var l="",s,u,c=Math.min(e.line+t.linesAfter,i.length).toString().length,f=t.maxLength-(t.indent+c+3);for(s=1;s<=t.linesBefore&&!(a-s<0);s++)u=IX(e.buffer,r[a-s],i[a-s],e.position-(r[a]-r[a-s]),f),l=Gl.repeat(" ",t.indent)+NX((e.line-s+1).toString(),c)+" | "+u.str+` +`+l;for(u=IX(e.buffer,r[a],i[a],e.position,f),l+=Gl.repeat(" ",t.indent)+NX((e.line+1).toString(),c)+" | "+u.str+` `,l+=Gl.repeat("-",t.indent+c+3+u.pos)+`^ -`,s=1;s<=t.linesAfter&&!(a+s>=i.length);s++)u=RX(e.buffer,r[a+s],i[a+s],e.position-(r[a]-r[a+s]),f),l+=Gl.repeat(" ",t.indent)+IX((e.line+s+1).toString(),c)+" | "+u.str+` -`;return l.replace(/\n$/,"")}var QRn=ZRn,JRn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],eIn=["scalar","sequence","mapping"];function tIn(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function nIn(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(JRn.indexOf(n)===-1)throw new Vp('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=tIn(t.styleAliases||null),eIn.indexOf(this.kind)===-1)throw new Vp('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Pl=nIn;function aTe(e,t){var n=[];return e[t].forEach(function(r){var i=n.length;n.forEach(function(o,a){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(i=a)}),n[i]=r}),n}function rIn(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,n=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),wIn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function OIn(e){return!(e===null||!wIn.test(e)||e[e.length-1]==="_")}function EIn(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var $In=/^[-+]?[0-9]+e/;function PIn(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Gl.isNegativeZero(e))return"-0.0";return n=e.toString(10),$In.test(n)?n.replace("e",".e"):n}function TIn(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Gl.isNegativeZero(e))}var MIn=new Pl("tag:yaml.org,2002:float",{kind:"scalar",resolve:OIn,construct:EIn,predicate:TIn,represent:PIn,defaultStyle:"lowercase"}),RIn=sIn.extend({implicit:[fIn,mIn,_In,MIn]}),IIn=RIn,Tit=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Mit=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function NIn(e){return e===null?!1:Tit.exec(e)!==null||Mit.exec(e)!==null}function AIn(e){var t,n,r,i,o,a,l,s=0,u=null,c,f,h;if(t=Tit.exec(e),t===null&&(t=Mit.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(c=+t[10],f=+(t[11]||0),u=(c*60+f)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(n,r,i,o,a,l,s)),u&&h.setTime(h.getTime()-u),h}function kIn(e){return e.toISOString()}var jIn=new Pl("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:NIn,construct:AIn,instanceOf:Date,represent:kIn});function DIn(e){return e==="<<"||e===null}var LIn=new Pl("tag:yaml.org,2002:merge",{kind:"scalar",resolve:DIn}),yce=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function zIn(e){if(e===null)return!1;var t,n,r=0,i=e.length,o=yce;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function BIn(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=yce,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(a&255)),a=a<<6|o.indexOf(r.charAt(t));return n=i%4*6,n===0?(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)):n===18?(l.push(a>>10&255),l.push(a>>2&255)):n===12&&l.push(a>>4&255),new Uint8Array(l)}function FIn(e){var t="",n=0,r,i,o=e.length,a=yce;for(r=0;r>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]),n=(n<<8)+e[r];return i=o%3,i===0?(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]):i===2?(t+=a[n>>10&63],t+=a[n>>4&63],t+=a[n<<2&63],t+=a[64]):i===1&&(t+=a[n>>2&63],t+=a[n<<4&63],t+=a[64],t+=a[64]),t}function HIn(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var WIn=new Pl("tag:yaml.org,2002:binary",{kind:"scalar",resolve:zIn,construct:BIn,predicate:HIn,represent:FIn}),qIn=Object.prototype.hasOwnProperty,VIn=Object.prototype.toString;function UIn(e){if(e===null)return!0;var t=[],n,r,i,o,a,l=e;for(n=0,r=l.length;n>10)+55296,(e-65536&1023)+56320)}var kit=new Array(256),jit=new Array(256);for(var O2=0;O2<256;O2++)kit[O2]=cTe(O2)?1:0,jit[O2]=cTe(O2);function fNn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||rNn,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Dit(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=QRn(n),new Vp(t,n)}function Hn(e,t){throw Dit(e,t)}function ez(e,t){e.onWarning&&e.onWarning.call(null,Dit(e,t))}var uTe={YAML:function(t,n,r){var i,o,a;t.version!==null&&Hn(t,"duplication of %YAML directive"),r.length!==1&&Hn(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&Hn(t,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),a=parseInt(i[2],10),o!==1&&Hn(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,a!==1&&a!==2&&ez(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var i,o;r.length!==2&&Hn(t,"TAG directive accepts exactly two arguments"),i=r[0],o=r[1],Nit.test(i)||Hn(t,"ill-formed tag handle (first argument) of the TAG directive"),E0.call(t.tagMap,i)&&Hn(t,'there is a previously declared suffix for "'+i+'" tag handle'),Ait.test(o)||Hn(t,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{Hn(t,"tag prefix is malformed: "+o)}t.tagMap[i]=o}};function d0(e,t,n,r){var i,o,a,l;if(t1&&(e.result+=Gl.repeat(` -`,t-1))}function pNn(e,t,n){var r,i,o,a,l,s,u,c,f=e.kind,h=e.result,d;if(d=e.input.charCodeAt(e.position),ws(d)||h3(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(i=e.input.charCodeAt(e.position+1),ws(i)||n&&h3(i)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,l=!1;d!==0;){if(d===58){if(i=e.input.charCodeAt(e.position+1),ws(i)||n&&h3(i))break}else if(d===35){if(r=e.input.charCodeAt(e.position-1),ws(r))break}else{if(e.position===e.lineStart&&YH(e)||n&&h3(d))break;if(Rf(d))if(s=e.line,u=e.lineStart,c=e.lineIndent,ia(e,!1,-1),e.lineIndent>=t){l=!0,d=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}l&&(d0(e,o,a,!1),Cce(e,e.line-s),o=a=e.position,l=!1),Kv(d)||(a=e.position+1),d=e.input.charCodeAt(++e.position)}return d0(e,o,a,!1),e.result?!0:(e.kind=f,e.result=h,!1)}function hNn(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(d0(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else Rf(n)?(d0(e,r,i,!0),Cce(e,ia(e,!1,t)),r=i=e.position):e.position===e.lineStart&&YH(e)?Hn(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Hn(e,"unexpected end of the stream within a single quoted scalar")}function gNn(e,t){var n,r,i,o,a,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return d0(e,n,e.position,!0),e.position++,!0;if(l===92){if(d0(e,n,e.position,!0),l=e.input.charCodeAt(++e.position),Rf(l))ia(e,!1,t);else if(l<256&&kit[l])e.result+=jit[l],e.position++;else if((a=cNn(l))>0){for(i=a,o=0;i>0;i--)l=e.input.charCodeAt(++e.position),(a=sNn(l))>=0?o=(o<<4)+a:Hn(e,"expected hexadecimal character");e.result+=dNn(o),e.position++}else Hn(e,"unknown escape sequence");n=r=e.position}else Rf(l)?(d0(e,n,r,!0),Cce(e,ia(e,!1,t)),n=r=e.position):e.position===e.lineStart&&YH(e)?Hn(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Hn(e,"unexpected end of the stream within a double quoted scalar")}function mNn(e,t){var n=!0,r,i,o,a=e.tag,l,s=e.anchor,u,c,f,h,d,p=Object.create(null),g,m,v,y;if(y=e.input.charCodeAt(e.position),y===91)c=93,d=!1,l=[];else if(y===123)c=125,d=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),y=e.input.charCodeAt(++e.position);y!==0;){if(ia(e,!0,t),y=e.input.charCodeAt(e.position),y===c)return e.position++,e.tag=a,e.anchor=s,e.kind=d?"mapping":"sequence",e.result=l,!0;n?y===44&&Hn(e,"expected the node content, but found ','"):Hn(e,"missed comma between flow collection entries"),m=g=v=null,f=h=!1,y===63&&(u=e.input.charCodeAt(e.position+1),ws(u)&&(f=h=!0,e.position++,ia(e,!0,t))),r=e.line,i=e.lineStart,o=e.position,tC(e,t,QL,!1,!0),m=e.tag,g=e.result,ia(e,!0,t),y=e.input.charCodeAt(e.position),(h||e.line===r)&&y===58&&(f=!0,y=e.input.charCodeAt(++e.position),ia(e,!0,t),tC(e,t,QL,!1,!0),v=e.result),d?g3(e,l,p,m,g,v,r,i,o):f?l.push(g3(e,null,p,m,g,v,r,i,o)):l.push(g),ia(e,!0,t),y=e.input.charCodeAt(e.position),y===44?(n=!0,y=e.input.charCodeAt(++e.position)):n=!1}Hn(e,"unexpected end of the stream within a flow collection")}function vNn(e,t){var n,r,i=NX,o=!1,a=!1,l=t,s=0,u=!1,c,f;if(f=e.input.charCodeAt(e.position),f===124)r=!1;else if(f===62)r=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)NX===i?i=f===43?lTe:iNn:Hn(e,"repeat of a chomping mode identifier");else if((c=uNn(f))>=0)c===0?Hn(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?Hn(e,"repeat of an indentation width identifier"):(l=t+c-1,a=!0);else break;if(Kv(f)){do f=e.input.charCodeAt(++e.position);while(Kv(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!Rf(f)&&f!==0)}for(;f!==0;){for(bce(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!a||e.lineIndentl&&(l=e.lineIndent),Rf(f)){s++;continue}if(e.lineIndent=i.length);s++)u=IX(e.buffer,r[a+s],i[a+s],e.position-(r[a]-r[a+s]),f),l+=Gl.repeat(" ",t.indent)+NX((e.line+s+1).toString(),c)+" | "+u.str+` +`;return l.replace(/\n$/,"")}var YRn=XRn,ZRn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],QRn=["scalar","sequence","mapping"];function JRn(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function eIn(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(ZRn.indexOf(n)===-1)throw new Vp('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=JRn(t.styleAliases||null),QRn.indexOf(this.kind)===-1)throw new Vp('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Pl=eIn;function lTe(e,t){var n=[];return e[t].forEach(function(r){var i=n.length;n.forEach(function(o,a){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(i=a)}),n[i]=r}),n}function tIn(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,n=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),xIn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function _In(e){return!(e===null||!xIn.test(e)||e[e.length-1]==="_")}function wIn(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var OIn=/^[-+]?[0-9]+e/;function EIn(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Gl.isNegativeZero(e))return"-0.0";return n=e.toString(10),OIn.test(n)?n.replace("e",".e"):n}function $In(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Gl.isNegativeZero(e))}var PIn=new Pl("tag:yaml.org,2002:float",{kind:"scalar",resolve:_In,construct:wIn,predicate:$In,represent:EIn,defaultStyle:"lowercase"}),TIn=aIn.extend({implicit:[uIn,hIn,SIn,PIn]}),MIn=TIn,Tit=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Mit=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function RIn(e){return e===null?!1:Tit.exec(e)!==null||Mit.exec(e)!==null}function IIn(e){var t,n,r,i,o,a,l,s=0,u=null,c,f,h;if(t=Tit.exec(e),t===null&&(t=Mit.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(c=+t[10],f=+(t[11]||0),u=(c*60+f)*6e4,t[9]==="-"&&(u=-u)),h=new Date(Date.UTC(n,r,i,o,a,l,s)),u&&h.setTime(h.getTime()-u),h}function NIn(e){return e.toISOString()}var AIn=new Pl("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:RIn,construct:IIn,instanceOf:Date,represent:NIn});function kIn(e){return e==="<<"||e===null}var jIn=new Pl("tag:yaml.org,2002:merge",{kind:"scalar",resolve:kIn}),bce=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function DIn(e){if(e===null)return!1;var t,n,r=0,i=e.length,o=bce;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function LIn(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,o=bce,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(a&255)),a=a<<6|o.indexOf(r.charAt(t));return n=i%4*6,n===0?(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)):n===18?(l.push(a>>10&255),l.push(a>>2&255)):n===12&&l.push(a>>4&255),new Uint8Array(l)}function zIn(e){var t="",n=0,r,i,o=e.length,a=bce;for(r=0;r>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]),n=(n<<8)+e[r];return i=o%3,i===0?(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]):i===2?(t+=a[n>>10&63],t+=a[n>>4&63],t+=a[n<<2&63],t+=a[64]):i===1&&(t+=a[n>>2&63],t+=a[n<<4&63],t+=a[64],t+=a[64]),t}function BIn(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var FIn=new Pl("tag:yaml.org,2002:binary",{kind:"scalar",resolve:DIn,construct:LIn,predicate:BIn,represent:zIn}),HIn=Object.prototype.hasOwnProperty,WIn=Object.prototype.toString;function qIn(e){if(e===null)return!0;var t=[],n,r,i,o,a,l=e;for(n=0,r=l.length;n>10)+55296,(e-65536&1023)+56320)}var kit=new Array(256),jit=new Array(256);for(var O2=0;O2<256;O2++)kit[O2]=uTe(O2)?1:0,jit[O2]=uTe(O2);function uNn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||tNn,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Dit(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=YRn(n),new Vp(t,n)}function Hn(e,t){throw Dit(e,t)}function tz(e,t){e.onWarning&&e.onWarning.call(null,Dit(e,t))}var dTe={YAML:function(t,n,r){var i,o,a;t.version!==null&&Hn(t,"duplication of %YAML directive"),r.length!==1&&Hn(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&Hn(t,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),a=parseInt(i[2],10),o!==1&&Hn(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,a!==1&&a!==2&&tz(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var i,o;r.length!==2&&Hn(t,"TAG directive accepts exactly two arguments"),i=r[0],o=r[1],Nit.test(i)||Hn(t,"ill-formed tag handle (first argument) of the TAG directive"),E0.call(t.tagMap,i)&&Hn(t,'there is a previously declared suffix for "'+i+'" tag handle'),Ait.test(o)||Hn(t,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{Hn(t,"tag prefix is malformed: "+o)}t.tagMap[i]=o}};function d0(e,t,n,r){var i,o,a,l;if(t1&&(e.result+=Gl.repeat(` +`,t-1))}function dNn(e,t,n){var r,i,o,a,l,s,u,c,f=e.kind,h=e.result,d;if(d=e.input.charCodeAt(e.position),ws(d)||h3(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(i=e.input.charCodeAt(e.position+1),ws(i)||n&&h3(i)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,l=!1;d!==0;){if(d===58){if(i=e.input.charCodeAt(e.position+1),ws(i)||n&&h3(i))break}else if(d===35){if(r=e.input.charCodeAt(e.position-1),ws(r))break}else{if(e.position===e.lineStart&&ZH(e)||n&&h3(d))break;if(Rf(d))if(s=e.line,u=e.lineStart,c=e.lineIndent,ia(e,!1,-1),e.lineIndent>=t){l=!0,d=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=s,e.lineStart=u,e.lineIndent=c;break}}l&&(d0(e,o,a,!1),Sce(e,e.line-s),o=a=e.position,l=!1),Kv(d)||(a=e.position+1),d=e.input.charCodeAt(++e.position)}return d0(e,o,a,!1),e.result?!0:(e.kind=f,e.result=h,!1)}function fNn(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(d0(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else Rf(n)?(d0(e,r,i,!0),Sce(e,ia(e,!1,t)),r=i=e.position):e.position===e.lineStart&&ZH(e)?Hn(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Hn(e,"unexpected end of the stream within a single quoted scalar")}function pNn(e,t){var n,r,i,o,a,l;if(l=e.input.charCodeAt(e.position),l!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(l=e.input.charCodeAt(e.position))!==0;){if(l===34)return d0(e,n,e.position,!0),e.position++,!0;if(l===92){if(d0(e,n,e.position,!0),l=e.input.charCodeAt(++e.position),Rf(l))ia(e,!1,t);else if(l<256&&kit[l])e.result+=jit[l],e.position++;else if((a=lNn(l))>0){for(i=a,o=0;i>0;i--)l=e.input.charCodeAt(++e.position),(a=aNn(l))>=0?o=(o<<4)+a:Hn(e,"expected hexadecimal character");e.result+=cNn(o),e.position++}else Hn(e,"unknown escape sequence");n=r=e.position}else Rf(l)?(d0(e,n,r,!0),Sce(e,ia(e,!1,t)),n=r=e.position):e.position===e.lineStart&&ZH(e)?Hn(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Hn(e,"unexpected end of the stream within a double quoted scalar")}function hNn(e,t){var n=!0,r,i,o,a=e.tag,l,s=e.anchor,u,c,f,h,d,p=Object.create(null),g,m,v,y;if(y=e.input.charCodeAt(e.position),y===91)c=93,d=!1,l=[];else if(y===123)c=125,d=!0,l={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=l),y=e.input.charCodeAt(++e.position);y!==0;){if(ia(e,!0,t),y=e.input.charCodeAt(e.position),y===c)return e.position++,e.tag=a,e.anchor=s,e.kind=d?"mapping":"sequence",e.result=l,!0;n?y===44&&Hn(e,"expected the node content, but found ','"):Hn(e,"missed comma between flow collection entries"),m=g=v=null,f=h=!1,y===63&&(u=e.input.charCodeAt(e.position+1),ws(u)&&(f=h=!0,e.position++,ia(e,!0,t))),r=e.line,i=e.lineStart,o=e.position,tC(e,t,JL,!1,!0),m=e.tag,g=e.result,ia(e,!0,t),y=e.input.charCodeAt(e.position),(h||e.line===r)&&y===58&&(f=!0,y=e.input.charCodeAt(++e.position),ia(e,!0,t),tC(e,t,JL,!1,!0),v=e.result),d?g3(e,l,p,m,g,v,r,i,o):f?l.push(g3(e,null,p,m,g,v,r,i,o)):l.push(g),ia(e,!0,t),y=e.input.charCodeAt(e.position),y===44?(n=!0,y=e.input.charCodeAt(++e.position)):n=!1}Hn(e,"unexpected end of the stream within a flow collection")}function gNn(e,t){var n,r,i=AX,o=!1,a=!1,l=t,s=0,u=!1,c,f;if(f=e.input.charCodeAt(e.position),f===124)r=!1;else if(f===62)r=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)AX===i?i=f===43?sTe:nNn:Hn(e,"repeat of a chomping mode identifier");else if((c=sNn(f))>=0)c===0?Hn(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?Hn(e,"repeat of an indentation width identifier"):(l=t+c-1,a=!0);else break;if(Kv(f)){do f=e.input.charCodeAt(++e.position);while(Kv(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!Rf(f)&&f!==0)}for(;f!==0;){for(Cce(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!a||e.lineIndentl&&(l=e.lineIndent),Rf(f)){s++;continue}if(e.lineIndentt)&&s!==0)Hn(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(m&&(a=e.line,l=e.lineStart,s=e.position),tC(e,t,JL,!0,i)&&(m?p=e.result:g=e.result),m||(g3(e,f,h,d,p,g,a,l,s),d=p=g=null),ia(e,!0,-1),y=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&y!==0)Hn(e,"bad indentation of a mapping entry");else if(e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),f=0,h=e.implicitTypes.length;f"),e.result!==null&&p.kind!==e.kind&&Hn(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Hn(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function xNn(e){var t=e.position,n,r,i,o=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(ia(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(o=!0,a=e.input.charCodeAt(++e.position),n=e.position;a!==0&&!ws(a);)a=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Hn(e,"directive name must not be less than one character in length");a!==0;){for(;Kv(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!Rf(a));break}if(Rf(a))break;for(n=e.position;a!==0&&!ws(a);)a=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}a!==0&&bce(e),E0.call(uTe,r)?uTe[r](e,r,i):ez(e,'unknown document directive "'+r+'"')}if(ia(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,ia(e,!0,-1)):o&&Hn(e,"directives end mark is expected"),tC(e,e.lineIndent-1,JL,!1,!0),ia(e,!0,-1),e.checkLineBreaks&&aNn.test(e.input.slice(t,e.position))&&ez(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&YH(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,ia(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=Lit(e,n);if(typeof t!="function")return r;for(var i=0,o=r.length;i0?parseInt(b):null};st)&&s!==0)Hn(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(m&&(a=e.line,l=e.lineStart,s=e.position),tC(e,t,ez,!0,i)&&(m?p=e.result:g=e.result),m||(g3(e,f,h,d,p,g,a,l,s),d=p=g=null),ia(e,!0,-1),y=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&y!==0)Hn(e,"bad indentation of a mapping entry");else if(e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndentt?s=1:e.lineIndent===t?s=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),f=0,h=e.implicitTypes.length;f"),e.result!==null&&p.kind!==e.kind&&Hn(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Hn(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function CNn(e){var t=e.position,n,r,i,o=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(ia(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(o=!0,a=e.input.charCodeAt(++e.position),n=e.position;a!==0&&!ws(a);)a=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Hn(e,"directive name must not be less than one character in length");a!==0;){for(;Kv(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!Rf(a));break}if(Rf(a))break;for(n=e.position;a!==0&&!ws(a);)a=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}a!==0&&Cce(e),E0.call(dTe,r)?dTe[r](e,r,i):tz(e,'unknown document directive "'+r+'"')}if(ia(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,ia(e,!0,-1)):o&&Hn(e,"directives end mark is expected"),tC(e,e.lineIndent-1,ez,!1,!0),ia(e,!0,-1),e.checkLineBreaks&&iNn.test(e.input.slice(t,e.position))&&tz(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&ZH(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,ia(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=Lit(e,n);if(typeof t!="function")return r;for(var i=0,o=r.length;i0?parseInt(b):null};st.use(BNn).use(()=>(n,r)=>{const i=n.children[0];if((i==null?void 0:i.type)==="yaml")try{r.frontmatter=PNn(i.value)}catch(o){e==null||e(o)}})}}const mTe={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",face_in_clouds:"😶‍🌫️",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",face_exhaling:"😮‍💨",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",face_with_spiral_eyes:"😵‍💫",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart_on_fire:"❤️‍🔥",mending_heart:"❤️‍🩹",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",man_beard:"🧔‍♂️",woman_beard:"🧔‍♀️",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",u6708:"🈷️",u6709:"🈶",u6307:"🈯",ideograph_advantage:"🉐",u5272:"🈹",u7121:"🈚",u7981:"🈲",accept:"🉑",u7533:"🈸",u5408:"🈴",u7a7a:"🈳",congratulations:"㊗️",secret:"㊙️",u55b6:"🈺",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"},QP=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),git(e,t,i,r);function i(o,a){const l=a[a.length-1];return n(o,l?l.children.indexOf(o):null,l)}},DA=/:(\+1|[-\w]+):/g,HNn={}.hasOwnProperty;function WNn(){return e=>{QP(e,"text",t=>{const n=t.value,r=[];DA.lastIndex=0;let i=DA.exec(n),o=0;for(;i;){const a=i[1],l=i.index;HNn.call(mTe,a)?(o!==l&&r.push(n.slice(o,l)),r.push(mTe[a]),o=l+i[0].length):DA.lastIndex=l+1,i=DA.exec(n)}r.length>0&&(r.push(n.slice(o)),t.value=r.join(""))})}}function qNn(){return{remark:e=>e.use(WNn)}}const VNn="modulepreload",UNn=function(e,t){return new URL(e,t).href},vTe={},Bit=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");i=Promise.all(n.map(a=>{if(a=UNn(a,r),a in vTe)return;vTe[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===a&&(!l||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":VNn,l||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),l)return new Promise((f,h)=>{c.addEventListener("load",f),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};function GNn({init:e}={}){let t;return{viewerEffect({markdownBody:n}){(async()=>{const r=n.querySelectorAll("pre>code");r.length!==0&&(t||(t=await Bit(()=>import("./index--QSuqtyw.js"),__vite__mapDeps([]),import.meta.url).then(i=>i.default),e&&await e(t)),r.forEach(i=>{t.highlightElement(i)}))})()}}}const KNn=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,l=a&&(r?document.documentMode||6:+(o||i)[1]),s=!o&&/WebKit\//.test(e),u=s&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),f=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=h&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),m=/Android/.test(e),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),C=/win/i.test(t),x=f&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(f=!1,s=!0);var S=y&&(u||f&&(x==null||x<12.11)),w=n||a&&l>=9;function O(E){return new RegExp("(^|\\s)"+E+"(?:$|\\s)\\s*")}var $=function(E,I){var H=E.className,F=O(I).exec(H);if(F){var q=H.slice(F.index+F[0].length);E.className=H.slice(0,F.index)+(q?F[1]+q:"")}};function P(E){for(var I=E.childNodes.length;I>0;--I)E.removeChild(E.firstChild);return E}function T(E,I){return P(E).appendChild(I)}function R(E,I,H,F){var q=document.createElement(E);if(H&&(q.className=H),F&&(q.style.cssText=F),typeof I=="string")q.appendChild(document.createTextNode(I));else if(I)for(var Z=0;Z=I)return ie+(I-Z);ie+=ae-Z,ie+=H-ie%H,Z=ae+1}}var W=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};W.prototype.onTimeout=function(E){E.id=0,E.time<=+new Date?E.f():setTimeout(E.handler,E.time-+new Date)},W.prototype.set=function(E,I){this.f=I;var H=+new Date+E;(!this.id||H=I)return F+Math.min(ie,I-q);if(q+=Z-F,q+=H-q%H,F=Z+1,q>=I)return F}}var Q=[""];function te(E){for(;Q.length<=E;)Q.push(ne(Q)+" ");return Q[E]}function ne(E){return E[E.length-1]}function re(E,I){for(var H=[],F=0;F"€"&&(E.toUpperCase()!=E.toLowerCase()||be.test(E))}function le(E,I){return I?I.source.indexOf("\\w")>-1&&he(E)?!0:I.test(E):he(E)}function ve(E){for(var I in E)if(E.hasOwnProperty(I)&&E[I])return!1;return!0}var ke=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ie(E){return E.charCodeAt(0)>=768&&ke.test(E)}function Oe(E,I,H){for(;(H<0?I>0:IH?-1:1;;){if(I==H)return I;var q=(I+H)/2,Z=F<0?Math.ceil(q):Math.floor(q);if(Z==I)return E(Z)?I:H;E(Z)?H=Z:I=Z+F}}function _e(E,I,H,F){if(!E)return F(I,H,"ltr",0);for(var q=!1,Z=0;ZI||I==H&&ie.to==I)&&(F(Math.max(ie.from,I),Math.min(ie.to,H),ie.level==1?"rtl":"ltr",Z),q=!0)}q||F(I,H,"ltr")}var ce=null;function Te(E,I,H){var F;ce=null;for(var q=0;qI)return q;Z.to==I&&(Z.from!=Z.to&&H=="before"?F=q:ce=q),Z.from==I&&(Z.from!=Z.to&&H!="before"?F=q:ce=q)}return F??ce}var Ne=function(){var E="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function H(Ce){return Ce<=247?E.charAt(Ce):1424<=Ce&&Ce<=1524?"R":1536<=Ce&&Ce<=1785?I.charAt(Ce-1536):1774<=Ce&&Ce<=2220?"r":8192<=Ce&&Ce<=8203?"w":Ce==8204?"b":"L"}var F=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,q=/[stwN]/,Z=/[LRr]/,ie=/[Lb1n]/,ae=/[1n]/;function pe(Ce,Ue,Xe){this.level=Ce,this.from=Ue,this.to=Xe}return function(Ce,Ue){var Xe=Ue=="ltr"?"L":"R";if(Ce.length==0||Ue=="ltr"&&!F.test(Ce))return!1;for(var pt=Ce.length,st=[],Nt=0;Nt-1&&(F[I]=q.slice(0,Z).concat(q.slice(Z+1)))}}}function Ee(E,I){var H=qe(E,I);if(H.length)for(var F=Array.prototype.slice.call(arguments,2),q=0;q0}function Ke(E){E.prototype.on=function(I,H){Be(this,I,H)},E.prototype.off=function(I,H){me(this,I,H)}}function lt(E){E.preventDefault?E.preventDefault():E.returnValue=!1}function ft(E){E.stopPropagation?E.stopPropagation():E.cancelBubble=!0}function Ye(E){return E.defaultPrevented!=null?E.defaultPrevented:E.returnValue==!1}function we(E){lt(E),ft(E)}function De(E){return E.target||E.srcElement}function We(E){var I=E.which;return I==null&&(E.button&1?I=1:E.button&2?I=3:E.button&4&&(I=2)),y&&E.ctrlKey&&I==1&&(I=3),I}var Ge=function(){if(a&&l<9)return!1;var E=R("div");return"draggable"in E||"dragDrop"in E}(),Je;function bt(E){if(Je==null){var I=R("span","​");T(E,R("span",[I,document.createTextNode("x")])),E.firstChild.offsetHeight!=0&&(Je=I.offsetWidth<=1&&I.offsetHeight>2&&!(a&&l<8))}var H=Je?R("span","​"):R("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return H.setAttribute("cm-text",""),H}var at;function et(E){if(at!=null)return at;var I=T(E,document.createTextNode("AخA")),H=A(I,0,1).getBoundingClientRect(),F=A(I,1,2).getBoundingClientRect();return P(E),!H||H.left==H.right?!1:at=F.right-H.right<3}var rt=` +`+n}}function hte(e,t){return e.marker?mTe(e.marker,t).repeat(3):mTe(e.fence,t)}function mTe(e,t){return typeof e=="string"?e:e[t]}function LNn(e="yaml"){const t=this.data();n("micromarkExtensions",MNn(e)),n("fromMarkdownExtensions",INn(e)),n("toMarkdownExtensions",jNn(e));function n(r,i){(t[r]?t[r]:t[r]=[]).push(i)}}function zNn({onError:e}={}){return{remark:t=>t.use(LNn).use(()=>(n,r)=>{const i=n.children[0];if((i==null?void 0:i.type)==="yaml")try{r.frontmatter=ENn(i.value)}catch(o){e==null||e(o)}})}}const vTe={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",face_in_clouds:"😶‍🌫️",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",face_exhaling:"😮‍💨",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",face_with_spiral_eyes:"😵‍💫",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart_on_fire:"❤️‍🔥",mending_heart:"❤️‍🩹",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",man_beard:"🧔‍♂️",woman_beard:"🧔‍♀️",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",u6708:"🈷️",u6709:"🈶",u6307:"🈯",ideograph_advantage:"🉐",u5272:"🈹",u7121:"🈚",u7981:"🈲",accept:"🉑",u7533:"🈸",u5408:"🈴",u7a7a:"🈳",congratulations:"㊗️",secret:"㊙️",u55b6:"🈺",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"},JP=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),git(e,t,i,r);function i(o,a){const l=a[a.length-1];return n(o,l?l.children.indexOf(o):null,l)}},LA=/:(\+1|[-\w]+):/g,BNn={}.hasOwnProperty;function FNn(){return e=>{JP(e,"text",t=>{const n=t.value,r=[];LA.lastIndex=0;let i=LA.exec(n),o=0;for(;i;){const a=i[1],l=i.index;BNn.call(vTe,a)?(o!==l&&r.push(n.slice(o,l)),r.push(vTe[a]),o=l+i[0].length):LA.lastIndex=l+1,i=LA.exec(n)}r.length>0&&(r.push(n.slice(o)),t.value=r.join(""))})}}function HNn(){return{remark:e=>e.use(FNn)}}const WNn="modulepreload",qNn=function(e,t){return new URL(e,t).href},yTe={},Bit=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");i=Promise.all(n.map(a=>{if(a=qNn(a,r),a in yTe)return;yTe[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===a&&(!l||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":WNn,l||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),l)return new Promise((f,h)=>{c.addEventListener("load",f),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};function VNn({init:e}={}){let t;return{viewerEffect({markdownBody:n}){(async()=>{const r=n.querySelectorAll("pre>code");r.length!==0&&(t||(t=await Bit(()=>import("./index--2t6i7pD.js"),__vite__mapDeps([]),import.meta.url).then(i=>i.default),e&&await e(t)),r.forEach(i=>{t.highlightElement(i)}))})()}}}const UNn=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,l=a&&(r?document.documentMode||6:+(o||i)[1]),s=!o&&/WebKit\//.test(e),u=s&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),f=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=h&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),m=/Android/.test(e),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),C=/win/i.test(t),x=f&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(f=!1,s=!0);var S=y&&(u||f&&(x==null||x<12.11)),w=n||a&&l>=9;function O(E){return new RegExp("(^|\\s)"+E+"(?:$|\\s)\\s*")}var $=function(E,I){var H=E.className,F=O(I).exec(H);if(F){var V=H.slice(F.index+F[0].length);E.className=H.slice(0,F.index)+(V?F[1]+V:"")}};function P(E){for(var I=E.childNodes.length;I>0;--I)E.removeChild(E.firstChild);return E}function T(E,I){return P(E).appendChild(I)}function R(E,I,H,F){var V=document.createElement(E);if(H&&(V.className=H),F&&(V.style.cssText=F),typeof I=="string")V.appendChild(document.createTextNode(I));else if(I)for(var Z=0;Z=I)return ie+(I-Z);ie+=ae-Z,ie+=H-ie%H,Z=ae+1}}var W=function(){this.id=null,this.f=null,this.time=0,this.handler=k(this.onTimeout,this)};W.prototype.onTimeout=function(E){E.id=0,E.time<=+new Date?E.f():setTimeout(E.handler,E.time-+new Date)},W.prototype.set=function(E,I){this.f=I;var H=+new Date+E;(!this.id||H=I)return F+Math.min(ie,I-V);if(V+=Z-F,V+=H-V%H,F=Z+1,V>=I)return F}}var Q=[""];function te(E){for(;Q.length<=E;)Q.push(ne(Q)+" ");return Q[E]}function ne(E){return E[E.length-1]}function re(E,I){for(var H=[],F=0;F"€"&&(E.toUpperCase()!=E.toLowerCase()||be.test(E))}function le(E,I){return I?I.source.indexOf("\\w")>-1&&he(E)?!0:I.test(E):he(E)}function ve(E){for(var I in E)if(E.hasOwnProperty(I)&&E[I])return!1;return!0}var ke=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ie(E){return E.charCodeAt(0)>=768&&ke.test(E)}function Oe(E,I,H){for(;(H<0?I>0:IH?-1:1;;){if(I==H)return I;var V=(I+H)/2,Z=F<0?Math.ceil(V):Math.floor(V);if(Z==I)return E(Z)?I:H;E(Z)?H=Z:I=Z+F}}function _e(E,I,H,F){if(!E)return F(I,H,"ltr",0);for(var V=!1,Z=0;ZI||I==H&&ie.to==I)&&(F(Math.max(ie.from,I),Math.min(ie.to,H),ie.level==1?"rtl":"ltr",Z),V=!0)}V||F(I,H,"ltr")}var ce=null;function Te(E,I,H){var F;ce=null;for(var V=0;VI)return V;Z.to==I&&(Z.from!=Z.to&&H=="before"?F=V:ce=V),Z.from==I&&(Z.from!=Z.to&&H!="before"?F=V:ce=V)}return F??ce}var Ne=function(){var E="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function H(Ce){return Ce<=247?E.charAt(Ce):1424<=Ce&&Ce<=1524?"R":1536<=Ce&&Ce<=1785?I.charAt(Ce-1536):1774<=Ce&&Ce<=2220?"r":8192<=Ce&&Ce<=8203?"w":Ce==8204?"b":"L"}var F=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,V=/[stwN]/,Z=/[LRr]/,ie=/[Lb1n]/,ae=/[1n]/;function pe(Ce,Ue,Xe){this.level=Ce,this.from=Ue,this.to=Xe}return function(Ce,Ue){var Xe=Ue=="ltr"?"L":"R";if(Ce.length==0||Ue=="ltr"&&!F.test(Ce))return!1;for(var pt=Ce.length,st=[],Nt=0;Nt-1&&(F[I]=V.slice(0,Z).concat(V.slice(Z+1)))}}}function Ee(E,I){var H=qe(E,I);if(H.length)for(var F=Array.prototype.slice.call(arguments,2),V=0;V0}function Ke(E){E.prototype.on=function(I,H){Be(this,I,H)},E.prototype.off=function(I,H){me(this,I,H)}}function lt(E){E.preventDefault?E.preventDefault():E.returnValue=!1}function ft(E){E.stopPropagation?E.stopPropagation():E.cancelBubble=!0}function Ye(E){return E.defaultPrevented!=null?E.defaultPrevented:E.returnValue==!1}function we(E){lt(E),ft(E)}function De(E){return E.target||E.srcElement}function We(E){var I=E.which;return I==null&&(E.button&1?I=1:E.button&2?I=3:E.button&4&&(I=2)),y&&E.ctrlKey&&I==1&&(I=3),I}var Ge=function(){if(a&&l<9)return!1;var E=R("div");return"draggable"in E||"dragDrop"in E}(),Je;function bt(E){if(Je==null){var I=R("span","​");T(E,R("span",[I,document.createTextNode("x")])),E.firstChild.offsetHeight!=0&&(Je=I.offsetWidth<=1&&I.offsetHeight>2&&!(a&&l<8))}var H=Je?R("span","​"):R("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return H.setAttribute("cm-text",""),H}var at;function et(E){if(at!=null)return at;var I=T(E,document.createTextNode("AخA")),H=A(I,0,1).getBoundingClientRect(),F=A(I,1,2).getBoundingClientRect();return P(E),!H||H.left==H.right?!1:at=F.right-H.right<3}var rt=` -b`.split(/\n/).length!=3?function(E){for(var I=0,H=[],F=E.length;I<=F;){var q=E.indexOf(` -`,I);q==-1&&(q=E.length);var Z=E.slice(I,E.charAt(q-1)=="\r"?q-1:q),ie=Z.indexOf("\r");ie!=-1?(H.push(Z.slice(0,ie)),I+=ie+1):(H.push(Z),I=q+1)}return H}:function(E){return E.split(/\r\n?|\n/)},Ze=window.getSelection?function(E){try{return E.selectionStart!=E.selectionEnd}catch{return!1}}:function(E){var I;try{I=E.ownerDocument.selection.createRange()}catch{}return!I||I.parentElement()!=E?!1:I.compareEndPoints("StartToEnd",I)!=0},wt=function(){var E=R("div");return"oncopy"in E?!0:(E.setAttribute("oncopy","return;"),typeof E.oncopy=="function")}(),ut=null;function ot(E){if(ut!=null)return ut;var I=T(E,R("span","x")),H=I.getBoundingClientRect(),F=A(I,0,1).getBoundingClientRect();return ut=Math.abs(H.left-F.left)>1}var dt={},_t={};function Ot(E,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),dt[E]=I}function Ct(E,I){_t[E]=I}function mt(E){if(typeof E=="string"&&_t.hasOwnProperty(E))E=_t[E];else if(E&&typeof E.name=="string"&&_t.hasOwnProperty(E.name)){var I=_t[E.name];typeof I=="string"&&(I={name:I}),E=ye(I,E),E.name=I.name}else{if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(E))return mt("application/xml");if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(E))return mt("application/json")}return typeof E=="string"?{name:E}:E||{name:"null"}}function It(E,I){I=mt(I);var H=dt[I.name];if(!H)return It(E,"text/plain");var F=H(E,I);if(nt.hasOwnProperty(I.name)){var q=nt[I.name];for(var Z in q)q.hasOwnProperty(Z)&&(F.hasOwnProperty(Z)&&(F["_"+Z]=F[Z]),F[Z]=q[Z])}if(F.name=I.name,I.helperType&&(F.helperType=I.helperType),I.modeProps)for(var ie in I.modeProps)F[ie]=I.modeProps[ie];return F}var nt={};function yt(E,I){var H=nt.hasOwnProperty(E)?nt[E]:nt[E]={};z(I,H)}function xt(E,I){if(I===!0)return I;if(E.copyState)return E.copyState(I);var H={};for(var F in I){var q=I[F];q instanceof Array&&(q=q.concat([])),H[F]=q}return H}function At(E,I){for(var H;E.innerMode&&(H=E.innerMode(I),!(!H||H.mode==E));)I=H.state,E=H.mode;return H||{mode:E,state:I}}function cn(E,I,H){return E.startState?E.startState(I,H):!0}var Ht=function(E,I,H){this.pos=this.start=0,this.string=E,this.tabSize=I||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=H};Ht.prototype.eol=function(){return this.pos>=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.posI},Ht.prototype.eatSpace=function(){for(var E=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>E},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(E){var I=this.string.indexOf(E,this.pos);if(I>-1)return this.pos=I,!0},Ht.prototype.backUp=function(E){this.pos-=E},Ht.prototype.column=function(){return this.lastColumnPos0?null:(Z&&I!==!1&&(this.pos+=Z[0].length),Z)}},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(E,I){this.lineStart+=E;try{return I()}finally{this.lineStart-=E}},Ht.prototype.lookAhead=function(E){var I=this.lineOracle;return I&&I.lookAhead(E)},Ht.prototype.baseToken=function(){var E=this.lineOracle;return E&&E.baseToken(this.pos)};function $t(E,I){if(I-=E.first,I<0||I>=E.size)throw new Error("There is no line "+(I+E.first)+" in the document.");for(var H=E;!H.lines;)for(var F=0;;++F){var q=H.children[F],Z=q.chunkSize();if(I=E.first&&IH?gt(H,$t(E,H).text.length):pi(I,$t(E,I.line).text.length)}function pi(E,I){var H=E.ch;return H==null||H>I?gt(E.line,I):H<0?gt(E.line,0):E}function On(E,I){for(var H=[],F=0;Fthis.maxLookAhead&&(this.maxLookAhead=E),I},en.prototype.baseToken=function(E){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=E;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-E}},en.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},en.fromSaved=function(E,I,H){return I instanceof En?new en(E,xt(E.mode,I.state),H,I.lookAhead):new en(E,xt(E.mode,I),H)},en.prototype.save=function(E){var I=E!==!1?xt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new En(I,this.maxLookAhead):I};function gn(E,I,H,F){var q=[E.state.modeGen],Z={};qt(E,I.text,E.doc.mode,H,function(Ce,Ue){return q.push(Ce,Ue)},Z,F);for(var ie=H.state,ae=function(Ce){H.baseTokens=q;var Ue=E.state.overlays[Ce],Xe=1,pt=0;H.state=!0,qt(E,I.text,Ue.mode,H,function(st,Nt){for(var Ft=Xe;ptst&&q.splice(Xe,1,st,q[Xe+1],tn),Xe+=2,pt=Math.min(st,tn)}if(Nt)if(Ue.opaque)q.splice(Ft,Xe-Ft,st,"overlay "+Nt),Xe=Ft+2;else for(;FtE.options.maxHighlightLength&&xt(E.doc.mode,F.state),Z=gn(E,I,F);q&&(F.state=q),I.stateAfter=F.save(!q),I.styles=Z.styles,Z.classes?I.styleClasses=Z.classes:I.styleClasses&&(I.styleClasses=null),H===E.doc.highlightFrontier&&(E.doc.modeFrontier=Math.max(E.doc.modeFrontier,++E.doc.highlightFrontier))}return I.styles}function yr(E,I,H){var F=E.doc,q=E.display;if(!F.mode.startState)return new en(F,!0,I);var Z=Yt(E,I,H),ie=Z>F.first&&$t(F,Z-1).stateAfter,ae=ie?en.fromSaved(F,ie,Z):new en(F,cn(F.mode),Z);return F.iter(Z,I,function(pe){mn(E,pe.text,ae);var Ce=ae.line;pe.stateAfter=Ce==I-1||Ce%5==0||Ce>=q.viewFrom&&CeI.start)return Z}throw new Error("Mode "+E.name+" failed to advance stream.")}var Dn=function(E,I,H){this.start=E.start,this.end=E.pos,this.string=E.current(),this.type=I||null,this.state=H};function Xn(E,I,H,F){var q=E.doc,Z=q.mode,ie;I=Sn(q,I);var ae=$t(q,I.line),pe=yr(E,I.line,H),Ce=new Ht(ae.text,E.options.tabSize,pe),Ue;for(F&&(Ue=[]);(F||Ce.posE.options.maxHighlightLength?(ae=!1,ie&&mn(E,I,F,Ue.pos),Ue.pos=I.length,Xe=null):Xe=ur(nn(H,Ue,F.state,pt),Z),pt){var st=pt[0].name;st&&(Xe="m-"+(Xe?st+" "+Xe:st))}if(!ae||Ce!=Xe){for(;peie;--ae){if(ae<=Z.first)return Z.first;var pe=$t(Z,ae-1),Ce=pe.stateAfter;if(Ce&&(!H||ae+(Ce instanceof En?Ce.lookAhead:0)<=Z.modeFrontier))return ae;var Ue=V(pe.text,null,E.options.tabSize);(q==null||F>Ue)&&(q=ae-1,F=Ue)}return q}function Mn(E,I){if(E.modeFrontier=Math.min(E.modeFrontier,I),!(E.highlightFrontierH;F--){var q=$t(E,F).stateAfter;if(q&&(!(q instanceof En)||F+q.lookAhead=I:Z.to>I);(F||(F=[])).push(new Xo(ie,Z.from,pe?null:Z.to))}}return F}function qh(E,I,H){var F;if(E)for(var q=0;q=I:Z.to>I);if(ae||Z.from==I&&ie.type=="bookmark"&&(!H||Z.marker.insertLeft)){var pe=Z.from==null||(ie.inclusiveLeft?Z.from<=I:Z.from0&&ae)for(var xn=0;xn0)){var Ue=[pe,1],Xe=Bt(Ce.from,ae.from),pt=Bt(Ce.to,ae.to);(Xe<0||!ie.inclusiveLeft&&!Xe)&&Ue.push({from:Ce.from,to:ae.from}),(pt>0||!ie.inclusiveRight&&!pt)&&Ue.push({from:ae.to,to:Ce.to}),q.splice.apply(q,Ue),pe+=Ue.length-3}}return q}function Ti(E){var I=E.markedSpans;if(I){for(var H=0;HI)&&(!F||jc(F,Z.marker)<0)&&(F=Z.marker)}return F}function Ve(E,I,H,F,q){var Z=$t(E,I),ie=$r&&Z.markedSpans;if(ie)for(var ae=0;ae=0&&Xe<=0||Ue<=0&&Xe>=0)&&(Ue<=0&&(pe.marker.inclusiveRight&&q.inclusiveLeft?Bt(Ce.to,H)>=0:Bt(Ce.to,H)>0)||Ue>=0&&(pe.marker.inclusiveRight&&q.inclusiveLeft?Bt(Ce.from,F)<=0:Bt(Ce.from,F)<0)))return!0}}}function Et(E){for(var I;I=Iu(E);)E=I.find(-1,!0).line;return E}function Vt(E){for(var I;I=mb(E);)E=I.find(1,!0).line;return E}function An(E){for(var I,H;I=mb(E);)E=I.find(1,!0).line,(H||(H=[])).push(E);return H}function So(E,I){var H=$t(E,I),F=Et(H);return H==F?I:ct(F)}function Ta(E,I){if(I>E.lastLine())return I;var H=$t(E,I),F;if(!Ao(E,H))return I;for(;F=mb(H);)H=F.find(1,!0).line;return ct(H)+1}function Ao(E,I){var H=$r&&I.markedSpans;if(H){for(var F=void 0,q=0;qI.maxLineLength&&(I.maxLineLength=q,I.maxLine=F)})}var Zf=function(E,I,H){this.text=E,ro(this,I),this.height=H?H(this):1};Zf.prototype.lineNo=function(){return ct(this)},Ke(Zf);function aT(E,I,H,F){E.text=I,E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null),E.order!=null&&(E.order=null),Ti(E),ro(E,H);var q=F?F(E):1;q!=E.height&&Pt(E,q)}function i6(E){E.parent=null,Ti(E)}var yb={},sat={};function Hce(E,I){if(!E||/^\s*$/.test(E))return null;var H=I.addModeClass?sat:yb;return H[E]||(H[E]=E.replace(/\S+/g,"cm-$&"))}function Wce(E,I){var H=M("span",null,null,s?"padding-right: .1px":null),F={pre:M("pre",[H],"CodeMirror-line"),content:H,col:0,pos:0,cm:E,trailingSpace:!1,splitSpaces:E.getOption("lineWrapping")};I.measure={};for(var q=0;q<=(I.rest?I.rest.length:0);q++){var Z=q?I.rest[q-1]:I.line,ie=void 0;F.pos=0,F.addToken=uat,et(E.display.measure)&&(ie=je(Z,E.doc.direction))&&(F.addToken=fat(F.addToken,ie)),F.map=[];var ae=I!=E.display.externalMeasured&&ct(Z);pat(Z,F,qn(E,Z,ae)),Z.styleClasses&&(Z.styleClasses.bgClass&&(F.bgClass=L(Z.styleClasses.bgClass,F.bgClass||"")),Z.styleClasses.textClass&&(F.textClass=L(Z.styleClasses.textClass,F.textClass||""))),F.map.length==0&&F.map.push(0,0,F.content.appendChild(bt(E.display.measure))),q==0?(I.measure.map=F.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(F.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(s){var pe=F.content.lastChild;(/\bcm-tab\b/.test(pe.className)||pe.querySelector&&pe.querySelector(".cm-tab"))&&(F.content.className="cm-tab-wrap-hack")}return Ee(E,"renderLine",E,I.line,F.pre),F.pre.className&&(F.textClass=L(F.pre.className,F.textClass||"")),F}function cat(E){var I=R("span","•","cm-invalidchar");return I.title="\\u"+E.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function uat(E,I,H,F,q,Z,ie){if(I){var ae=E.splitSpaces?dat(I,E.trailingSpace):I,pe=E.cm.state.specialChars,Ce=!1,Ue;if(!pe.test(I))E.col+=I.length,Ue=document.createTextNode(ae),E.map.push(E.pos,E.pos+I.length,Ue),a&&l<9&&(Ce=!0),E.pos+=I.length;else{Ue=document.createDocumentFragment();for(var Xe=0;;){pe.lastIndex=Xe;var pt=pe.exec(I),st=pt?pt.index-Xe:I.length-Xe;if(st){var Nt=document.createTextNode(ae.slice(Xe,Xe+st));a&&l<9?Ue.appendChild(R("span",[Nt])):Ue.appendChild(Nt),E.map.push(E.pos,E.pos+st,Nt),E.col+=st,E.pos+=st}if(!pt)break;Xe+=st+1;var Ft=void 0;if(pt[0]==" "){var tn=E.cm.options.tabSize,fn=tn-E.col%tn;Ft=Ue.appendChild(R("span",te(fn),"cm-tab")),Ft.setAttribute("role","presentation"),Ft.setAttribute("cm-text"," "),E.col+=fn}else pt[0]=="\r"||pt[0]==` -`?(Ft=Ue.appendChild(R("span",pt[0]=="\r"?"␍":"␤","cm-invalidchar")),Ft.setAttribute("cm-text",pt[0]),E.col+=1):(Ft=E.cm.options.specialCharPlaceholder(pt[0]),Ft.setAttribute("cm-text",pt[0]),a&&l<9?Ue.appendChild(R("span",[Ft])):Ue.appendChild(Ft),E.col+=1);E.map.push(E.pos,E.pos+1,Ft),E.pos++}}if(E.trailingSpace=ae.charCodeAt(I.length-1)==32,H||F||q||Ce||Z||ie){var yn=H||"";F&&(yn+=F),q&&(yn+=q);var pn=R("span",[Ue],yn,Z);if(ie)for(var xn in ie)ie.hasOwnProperty(xn)&&xn!="style"&&xn!="class"&&pn.setAttribute(xn,ie[xn]);return E.content.appendChild(pn)}E.content.appendChild(Ue)}}function dat(E,I){if(E.length>1&&!/ /.test(E))return E;for(var H=I,F="",q=0;qCe&&Xe.from<=Ce));pt++);if(Xe.to>=Ue)return E(H,F,q,Z,ie,ae,pe);E(H,F.slice(0,Xe.to-Ce),q,Z,null,ae,pe),Z=null,F=F.slice(Xe.to-Ce),Ce=Xe.to}}}function qce(E,I,H,F){var q=!F&&H.widgetNode;q&&E.map.push(E.pos,E.pos+I,q),!F&&E.cm.display.input.needsContentAttribute&&(q||(q=E.content.appendChild(document.createElement("span"))),q.setAttribute("cm-marker",H.id)),q&&(E.cm.display.input.setUneditable(q),E.content.appendChild(q)),E.pos+=I,E.trailingSpace=!1}function pat(E,I,H){var F=E.markedSpans,q=E.text,Z=0;if(!F){for(var ie=1;iepe||mr.collapsed&&jn.to==pe&&jn.from==pe)){if(jn.to!=null&&jn.to!=pe&&st>jn.to&&(st=jn.to,Ft=""),mr.className&&(Nt+=" "+mr.className),mr.css&&(pt=(pt?pt+";":"")+mr.css),mr.startStyle&&jn.from==pe&&(tn+=" "+mr.startStyle),mr.endStyle&&jn.to==st&&(xn||(xn=[])).push(mr.endStyle,jn.to),mr.title&&((yn||(yn={})).title=mr.title),mr.attributes)for(var xi in mr.attributes)(yn||(yn={}))[xi]=mr.attributes[xi];mr.collapsed&&(!fn||jc(fn.marker,mr)<0)&&(fn=jn)}else jn.from>pe&&st>jn.from&&(st=jn.from)}if(xn)for(var ma=0;ma=ae)break;for(var ss=Math.min(ae,st);;){if(Ue){var Dl=pe+Ue.length;if(!fn){var ko=Dl>ss?Ue.slice(0,ss-pe):Ue;I.addToken(I,ko,Xe?Xe+Nt:Nt,tn,pe+ko.length==st?Ft:"",pt,yn)}if(Dl>=ss){Ue=Ue.slice(ss-pe),pe=ss;break}pe=Dl,tn=""}Ue=q.slice(Z,Z=H[Ce++]),Xe=Hce(H[Ce++],I.cm.options)}}}function Vce(E,I,H){this.line=I,this.rest=An(I),this.size=this.rest?ct(ne(this.rest))-H+1:1,this.node=this.text=null,this.hidden=Ao(E,I)}function lT(E,I,H){for(var F=[],q,Z=I;Z2&&Z.push((pe.bottom+Ce.top)/2-H.top)}}Z.push(H.bottom-H.top)}}function Qce(E,I,H){if(E.line==I)return{map:E.measure.map,cache:E.measure.cache};if(E.rest){for(var F=0;FH)return{map:E.measure.maps[q],cache:E.measure.caches[q],before:!0}}}function wat(E,I){I=Et(I);var H=ct(I),F=E.display.externalMeasured=new Vce(E.doc,I,H);F.lineN=H;var q=F.built=Wce(E,F);return F.text=q.pre,T(E.display.lineMeasure,q.pre),F}function Jce(E,I,H,F){return Fd(E,Cb(E,I),H,F)}function fW(E,I){if(I>=E.display.viewFrom&&I=H.lineN&&II)&&(Z=pe-ae,q=Z-1,I>=pe&&(ie="right")),q!=null){if(F=E[Ce+2],ae==pe&&H==(F.insertLeft?"left":"right")&&(ie=H),H=="left"&&q==0)for(;Ce&&E[Ce-2]==E[Ce-3]&&E[Ce-1].insertLeft;)F=E[(Ce-=3)+2],ie="left";if(H=="right"&&q==pe-ae)for(;Ce=0&&(H=E[q]).left==H.right;q--);return H}function Eat(E,I,H,F){var q=tue(I.map,H,F),Z=q.node,ie=q.start,ae=q.end,pe=q.collapse,Ce;if(Z.nodeType==3){for(var Ue=0;Ue<4;Ue++){for(;ie&&Ie(I.line.text.charAt(q.coverStart+ie));)--ie;for(;q.coverStart+ae0&&(pe=F="right");var Xe;E.options.lineWrapping&&(Xe=Z.getClientRects()).length>1?Ce=Xe[F=="right"?Xe.length-1:0]:Ce=Z.getBoundingClientRect()}if(a&&l<9&&!ie&&(!Ce||!Ce.left&&!Ce.right)){var pt=Z.parentNode.getClientRects()[0];pt?Ce={left:pt.left,right:pt.left+xb(E.display),top:pt.top,bottom:pt.bottom}:Ce=eue}for(var st=Ce.top-I.rect.top,Nt=Ce.bottom-I.rect.top,Ft=(st+Nt)/2,tn=I.view.measure.heights,fn=0;fn=F.text.length?(pe=F.text.length,Ce="before"):pe<=0&&(pe=0,Ce="after"),!ae)return ie(Ce=="before"?pe-1:pe,Ce=="before");function Ue(Nt,Ft,tn){var fn=ae[Ft],yn=fn.level==1;return ie(tn?Nt-1:Nt,yn!=tn)}var Xe=Te(ae,pe,Ce),pt=ce,st=Ue(pe,Xe,Ce=="before");return pt!=null&&(st.other=Ue(pe,pt,Ce!="before")),st}function lue(E,I){var H=0;I=Sn(E.doc,I),E.options.lineWrapping||(H=xb(E.display)*I.ch);var F=$t(E.doc,I.line),q=Dc(F)+sT(E.display);return{left:H,right:H,top:q,bottom:q+F.height}}function hW(E,I,H,F,q){var Z=gt(E,I,H);return Z.xRel=q,F&&(Z.outside=F),Z}function gW(E,I,H){var F=E.doc;if(H+=E.display.viewOffset,H<0)return hW(F.first,0,null,-1,-1);var q=Wt(F,H),Z=F.first+F.size-1;if(q>Z)return hW(F.first+F.size-1,$t(F,Z).text.length,null,1,1);I<0&&(I=0);for(var ie=$t(F,q);;){var ae=Pat(E,ie,q,I,H),pe=sW(ie,ae.ch+(ae.xRel>0||ae.outside>0?1:0));if(!pe)return ae;var Ce=pe.find(1);if(Ce.line==q)return Ce;ie=$t(F,q=Ce.line)}}function sue(E,I,H,F){F-=pW(I);var q=I.text.length,Z=Pe(function(ie){return Fd(E,H,ie-1).bottom<=F},q,0);return q=Pe(function(ie){return Fd(E,H,ie).top>F},Z,q),{begin:Z,end:q}}function cue(E,I,H,F){H||(H=Cb(E,I));var q=cT(E,I,Fd(E,H,F),"line").top;return sue(E,I,H,q)}function mW(E,I,H,F){return E.bottom<=H?!1:E.top>H?!0:(F?E.left:E.right)>I}function Pat(E,I,H,F,q){q-=Dc(I);var Z=Cb(E,I),ie=pW(I),ae=0,pe=I.text.length,Ce=!0,Ue=je(I,E.doc.direction);if(Ue){var Xe=(E.options.lineWrapping?Mat:Tat)(E,I,H,Z,Ue,F,q);Ce=Xe.level!=1,ae=Ce?Xe.from:Xe.to-1,pe=Ce?Xe.to:Xe.from-1}var pt=null,st=null,Nt=Pe(function(Ln){var jn=Fd(E,Z,Ln);return jn.top+=ie,jn.bottom+=ie,mW(jn,F,q,!1)?(jn.top<=q&&jn.left<=F&&(pt=Ln,st=jn),!0):!1},ae,pe),Ft,tn,fn=!1;if(st){var yn=F-st.left=xn.bottom?1:0}return Nt=Oe(I.text,Nt,1),hW(H,Nt,tn,fn,F-Ft)}function Tat(E,I,H,F,q,Z,ie){var ae=Pe(function(Xe){var pt=q[Xe],st=pt.level!=1;return mW(Au(E,gt(H,st?pt.to:pt.from,st?"before":"after"),"line",I,F),Z,ie,!0)},0,q.length-1),pe=q[ae];if(ae>0){var Ce=pe.level!=1,Ue=Au(E,gt(H,Ce?pe.from:pe.to,Ce?"after":"before"),"line",I,F);mW(Ue,Z,ie,!0)&&Ue.top>ie&&(pe=q[ae-1])}return pe}function Mat(E,I,H,F,q,Z,ie){var ae=sue(E,I,F,ie),pe=ae.begin,Ce=ae.end;/\s/.test(I.text.charAt(Ce-1))&&Ce--;for(var Ue=null,Xe=null,pt=0;pt=Ce||st.to<=pe)){var Nt=st.level!=1,Ft=Fd(E,F,Nt?Math.min(Ce,st.to)-1:Math.max(pe,st.from)).right,tn=Fttn)&&(Ue=st,Xe=tn)}}return Ue||(Ue=q[q.length-1]),Ue.fromCe&&(Ue={from:Ue.from,to:Ce,level:Ue.level}),Ue}var eg;function Sb(E){if(E.cachedTextHeight!=null)return E.cachedTextHeight;if(eg==null){eg=R("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)eg.appendChild(document.createTextNode("x")),eg.appendChild(R("br"));eg.appendChild(document.createTextNode("x"))}T(E.measure,eg);var H=eg.offsetHeight/50;return H>3&&(E.cachedTextHeight=H),P(E.measure),H||1}function xb(E){if(E.cachedCharWidth!=null)return E.cachedCharWidth;var I=R("span","xxxxxxxxxx"),H=R("pre",[I],"CodeMirror-line-like");T(E.measure,H);var F=I.getBoundingClientRect(),q=(F.right-F.left)/10;return q>2&&(E.cachedCharWidth=q),q||10}function vW(E){for(var I=E.display,H={},F={},q=I.gutters.clientLeft,Z=I.gutters.firstChild,ie=0;Z;Z=Z.nextSibling,++ie){var ae=E.display.gutterSpecs[ie].className;H[ae]=Z.offsetLeft+Z.clientLeft+q,F[ae]=Z.clientWidth}return{fixedPos:yW(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:H,gutterWidth:F,wrapperWidth:I.wrapper.clientWidth}}function yW(E){return E.scroller.getBoundingClientRect().left-E.sizer.getBoundingClientRect().left}function uue(E){var I=Sb(E.display),H=E.options.lineWrapping,F=H&&Math.max(5,E.display.scroller.clientWidth/xb(E.display)-3);return function(q){if(Ao(E.doc,q))return 0;var Z=0;if(q.widgets)for(var ie=0;ie0&&(Ce=$t(E.doc,pe.line).text).length==pe.ch){var Ue=V(Ce,Ce.length,E.options.tabSize)-Ce.length;pe=gt(pe.line,Math.max(0,Math.round((Z-Zce(E.display).left)/xb(E.display))-Ue))}return pe}function ng(E,I){if(I>=E.display.viewTo||(I-=E.display.viewFrom,I<0))return null;for(var H=E.display.view,F=0;FI)&&(q.updateLineNumbers=I),E.curOp.viewChanged=!0,I>=q.viewTo)$r&&So(E.doc,I)q.viewFrom?Uh(E):(q.viewFrom+=F,q.viewTo+=F);else if(I<=q.viewFrom&&H>=q.viewTo)Uh(E);else if(I<=q.viewFrom){var Z=dT(E,H,H+F,1);Z?(q.view=q.view.slice(Z.index),q.viewFrom=Z.lineN,q.viewTo+=F):Uh(E)}else if(H>=q.viewTo){var ie=dT(E,I,I,-1);ie?(q.view=q.view.slice(0,ie.index),q.viewTo=ie.lineN):Uh(E)}else{var ae=dT(E,I,I,-1),pe=dT(E,H,H+F,1);ae&&pe?(q.view=q.view.slice(0,ae.index).concat(lT(E,ae.lineN,pe.lineN)).concat(q.view.slice(pe.index)),q.viewTo+=F):Uh(E)}var Ce=q.externalMeasured;Ce&&(H=q.lineN&&I=F.viewTo)){var Z=F.view[ng(E,I)];if(Z.node!=null){var ie=Z.changes||(Z.changes=[]);U(ie,H)==-1&&ie.push(H)}}}function Uh(E){E.display.viewFrom=E.display.viewTo=E.doc.first,E.display.view=[],E.display.viewOffset=0}function dT(E,I,H,F){var q=ng(E,I),Z,ie=E.display.view;if(!$r||H==E.doc.first+E.doc.size)return{index:q,lineN:H};for(var ae=E.display.viewFrom,pe=0;pe0){if(q==ie.length-1)return null;Z=ae+ie[q].size-I,q++}else Z=ae-I;I+=Z,H+=Z}for(;So(E.doc,H)!=H;){if(q==(F<0?0:ie.length-1))return null;H+=F*ie[q-(F<0?1:0)].size,q+=F}return{index:q,lineN:H}}function Rat(E,I,H){var F=E.display,q=F.view;q.length==0||I>=F.viewTo||H<=F.viewFrom?(F.view=lT(E,I,H),F.viewFrom=I):(F.viewFrom>I?F.view=lT(E,I,F.viewFrom).concat(F.view):F.viewFromH&&(F.view=F.view.slice(0,ng(E,H)))),F.viewTo=H}function due(E){for(var I=E.display.view,H=0,F=0;F=E.display.viewTo||pe.to().line0?ie:E.defaultCharWidth())+"px"}if(F.other){var ae=H.appendChild(R("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));ae.style.display="",ae.style.left=F.other.left+"px",ae.style.top=F.other.top+"px",ae.style.height=(F.other.bottom-F.other.top)*.85+"px"}}function fT(E,I){return E.top-I.top||E.left-I.left}function Iat(E,I,H){var F=E.display,q=E.doc,Z=document.createDocumentFragment(),ie=Zce(E.display),ae=ie.left,pe=Math.max(F.sizerWidth,J0(E)-F.sizer.offsetLeft)-ie.right,Ce=q.direction=="ltr";function Ue(pn,xn,Ln,jn){xn<0&&(xn=0),xn=Math.round(xn),jn=Math.round(jn),Z.appendChild(R("div",null,"CodeMirror-selected","position: absolute; left: "+pn+`px; +b`.split(/\n/).length!=3?function(E){for(var I=0,H=[],F=E.length;I<=F;){var V=E.indexOf(` +`,I);V==-1&&(V=E.length);var Z=E.slice(I,E.charAt(V-1)=="\r"?V-1:V),ie=Z.indexOf("\r");ie!=-1?(H.push(Z.slice(0,ie)),I+=ie+1):(H.push(Z),I=V+1)}return H}:function(E){return E.split(/\r\n?|\n/)},Ze=window.getSelection?function(E){try{return E.selectionStart!=E.selectionEnd}catch{return!1}}:function(E){var I;try{I=E.ownerDocument.selection.createRange()}catch{}return!I||I.parentElement()!=E?!1:I.compareEndPoints("StartToEnd",I)!=0},wt=function(){var E=R("div");return"oncopy"in E?!0:(E.setAttribute("oncopy","return;"),typeof E.oncopy=="function")}(),ut=null;function ot(E){if(ut!=null)return ut;var I=T(E,R("span","x")),H=I.getBoundingClientRect(),F=A(I,0,1).getBoundingClientRect();return ut=Math.abs(H.left-F.left)>1}var dt={},_t={};function Ot(E,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),dt[E]=I}function Ct(E,I){_t[E]=I}function mt(E){if(typeof E=="string"&&_t.hasOwnProperty(E))E=_t[E];else if(E&&typeof E.name=="string"&&_t.hasOwnProperty(E.name)){var I=_t[E.name];typeof I=="string"&&(I={name:I}),E=ye(I,E),E.name=I.name}else{if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(E))return mt("application/xml");if(typeof E=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(E))return mt("application/json")}return typeof E=="string"?{name:E}:E||{name:"null"}}function It(E,I){I=mt(I);var H=dt[I.name];if(!H)return It(E,"text/plain");var F=H(E,I);if(nt.hasOwnProperty(I.name)){var V=nt[I.name];for(var Z in V)V.hasOwnProperty(Z)&&(F.hasOwnProperty(Z)&&(F["_"+Z]=F[Z]),F[Z]=V[Z])}if(F.name=I.name,I.helperType&&(F.helperType=I.helperType),I.modeProps)for(var ie in I.modeProps)F[ie]=I.modeProps[ie];return F}var nt={};function yt(E,I){var H=nt.hasOwnProperty(E)?nt[E]:nt[E]={};z(I,H)}function xt(E,I){if(I===!0)return I;if(E.copyState)return E.copyState(I);var H={};for(var F in I){var V=I[F];V instanceof Array&&(V=V.concat([])),H[F]=V}return H}function At(E,I){for(var H;E.innerMode&&(H=E.innerMode(I),!(!H||H.mode==E));)I=H.state,E=H.mode;return H||{mode:E,state:I}}function cn(E,I,H){return E.startState?E.startState(I,H):!0}var Ht=function(E,I,H){this.pos=this.start=0,this.string=E,this.tabSize=I||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=H};Ht.prototype.eol=function(){return this.pos>=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.posI},Ht.prototype.eatSpace=function(){for(var E=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>E},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(E){var I=this.string.indexOf(E,this.pos);if(I>-1)return this.pos=I,!0},Ht.prototype.backUp=function(E){this.pos-=E},Ht.prototype.column=function(){return this.lastColumnPos0?null:(Z&&I!==!1&&(this.pos+=Z[0].length),Z)}},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(E,I){this.lineStart+=E;try{return I()}finally{this.lineStart-=E}},Ht.prototype.lookAhead=function(E){var I=this.lineOracle;return I&&I.lookAhead(E)},Ht.prototype.baseToken=function(){var E=this.lineOracle;return E&&E.baseToken(this.pos)};function $t(E,I){if(I-=E.first,I<0||I>=E.size)throw new Error("There is no line "+(I+E.first)+" in the document.");for(var H=E;!H.lines;)for(var F=0;;++F){var V=H.children[F],Z=V.chunkSize();if(I=E.first&&IH?gt(H,$t(E,H).text.length):pi(I,$t(E,I.line).text.length)}function pi(E,I){var H=E.ch;return H==null||H>I?gt(E.line,I):H<0?gt(E.line,0):E}function On(E,I){for(var H=[],F=0;Fthis.maxLookAhead&&(this.maxLookAhead=E),I},en.prototype.baseToken=function(E){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=E;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-E}},en.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},en.fromSaved=function(E,I,H){return I instanceof En?new en(E,xt(E.mode,I.state),H,I.lookAhead):new en(E,xt(E.mode,I),H)},en.prototype.save=function(E){var I=E!==!1?xt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new En(I,this.maxLookAhead):I};function gn(E,I,H,F){var V=[E.state.modeGen],Z={};qt(E,I.text,E.doc.mode,H,function(Ce,Ue){return V.push(Ce,Ue)},Z,F);for(var ie=H.state,ae=function(Ce){H.baseTokens=V;var Ue=E.state.overlays[Ce],Xe=1,pt=0;H.state=!0,qt(E,I.text,Ue.mode,H,function(st,Nt){for(var Ft=Xe;ptst&&V.splice(Xe,1,st,V[Xe+1],tn),Xe+=2,pt=Math.min(st,tn)}if(Nt)if(Ue.opaque)V.splice(Ft,Xe-Ft,st,"overlay "+Nt),Xe=Ft+2;else for(;FtE.options.maxHighlightLength&&xt(E.doc.mode,F.state),Z=gn(E,I,F);V&&(F.state=V),I.stateAfter=F.save(!V),I.styles=Z.styles,Z.classes?I.styleClasses=Z.classes:I.styleClasses&&(I.styleClasses=null),H===E.doc.highlightFrontier&&(E.doc.modeFrontier=Math.max(E.doc.modeFrontier,++E.doc.highlightFrontier))}return I.styles}function yr(E,I,H){var F=E.doc,V=E.display;if(!F.mode.startState)return new en(F,!0,I);var Z=Yt(E,I,H),ie=Z>F.first&&$t(F,Z-1).stateAfter,ae=ie?en.fromSaved(F,ie,Z):new en(F,cn(F.mode),Z);return F.iter(Z,I,function(pe){mn(E,pe.text,ae);var Ce=ae.line;pe.stateAfter=Ce==I-1||Ce%5==0||Ce>=V.viewFrom&&CeI.start)return Z}throw new Error("Mode "+E.name+" failed to advance stream.")}var Dn=function(E,I,H){this.start=E.start,this.end=E.pos,this.string=E.current(),this.type=I||null,this.state=H};function Xn(E,I,H,F){var V=E.doc,Z=V.mode,ie;I=Sn(V,I);var ae=$t(V,I.line),pe=yr(E,I.line,H),Ce=new Ht(ae.text,E.options.tabSize,pe),Ue;for(F&&(Ue=[]);(F||Ce.posE.options.maxHighlightLength?(ae=!1,ie&&mn(E,I,F,Ue.pos),Ue.pos=I.length,Xe=null):Xe=cr(nn(H,Ue,F.state,pt),Z),pt){var st=pt[0].name;st&&(Xe="m-"+(Xe?st+" "+Xe:st))}if(!ae||Ce!=Xe){for(;peie;--ae){if(ae<=Z.first)return Z.first;var pe=$t(Z,ae-1),Ce=pe.stateAfter;if(Ce&&(!H||ae+(Ce instanceof En?Ce.lookAhead:0)<=Z.modeFrontier))return ae;var Ue=q(pe.text,null,E.options.tabSize);(V==null||F>Ue)&&(V=ae-1,F=Ue)}return V}function Mn(E,I){if(E.modeFrontier=Math.min(E.modeFrontier,I),!(E.highlightFrontierH;F--){var V=$t(E,F).stateAfter;if(V&&(!(V instanceof En)||F+V.lookAhead=I:Z.to>I);(F||(F=[])).push(new Xo(ie,Z.from,pe?null:Z.to))}}return F}function qh(E,I,H){var F;if(E)for(var V=0;V=I:Z.to>I);if(ae||Z.from==I&&ie.type=="bookmark"&&(!H||Z.marker.insertLeft)){var pe=Z.from==null||(ie.inclusiveLeft?Z.from<=I:Z.from0&&ae)for(var xn=0;xn0)){var Ue=[pe,1],Xe=Bt(Ce.from,ae.from),pt=Bt(Ce.to,ae.to);(Xe<0||!ie.inclusiveLeft&&!Xe)&&Ue.push({from:Ce.from,to:ae.from}),(pt>0||!ie.inclusiveRight&&!pt)&&Ue.push({from:ae.to,to:Ce.to}),V.splice.apply(V,Ue),pe+=Ue.length-3}}return V}function Ti(E){var I=E.markedSpans;if(I){for(var H=0;HI)&&(!F||jc(F,Z.marker)<0)&&(F=Z.marker)}return F}function Ve(E,I,H,F,V){var Z=$t(E,I),ie=$r&&Z.markedSpans;if(ie)for(var ae=0;ae=0&&Xe<=0||Ue<=0&&Xe>=0)&&(Ue<=0&&(pe.marker.inclusiveRight&&V.inclusiveLeft?Bt(Ce.to,H)>=0:Bt(Ce.to,H)>0)||Ue>=0&&(pe.marker.inclusiveRight&&V.inclusiveLeft?Bt(Ce.from,F)<=0:Bt(Ce.from,F)<0)))return!0}}}function Et(E){for(var I;I=Iu(E);)E=I.find(-1,!0).line;return E}function Vt(E){for(var I;I=mb(E);)E=I.find(1,!0).line;return E}function An(E){for(var I,H;I=mb(E);)E=I.find(1,!0).line,(H||(H=[])).push(E);return H}function So(E,I){var H=$t(E,I),F=Et(H);return H==F?I:ct(F)}function Ta(E,I){if(I>E.lastLine())return I;var H=$t(E,I),F;if(!Ao(E,H))return I;for(;F=mb(H);)H=F.find(1,!0).line;return ct(H)+1}function Ao(E,I){var H=$r&&I.markedSpans;if(H){for(var F=void 0,V=0;VI.maxLineLength&&(I.maxLineLength=V,I.maxLine=F)})}var Zf=function(E,I,H){this.text=E,ro(this,I),this.height=H?H(this):1};Zf.prototype.lineNo=function(){return ct(this)},Ke(Zf);function lT(E,I,H,F){E.text=I,E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null),E.order!=null&&(E.order=null),Ti(E),ro(E,H);var V=F?F(E):1;V!=E.height&&Pt(E,V)}function i6(E){E.parent=null,Ti(E)}var yb={},sat={};function Wce(E,I){if(!E||/^\s*$/.test(E))return null;var H=I.addModeClass?sat:yb;return H[E]||(H[E]=E.replace(/\S+/g,"cm-$&"))}function qce(E,I){var H=M("span",null,null,s?"padding-right: .1px":null),F={pre:M("pre",[H],"CodeMirror-line"),content:H,col:0,pos:0,cm:E,trailingSpace:!1,splitSpaces:E.getOption("lineWrapping")};I.measure={};for(var V=0;V<=(I.rest?I.rest.length:0);V++){var Z=V?I.rest[V-1]:I.line,ie=void 0;F.pos=0,F.addToken=uat,et(E.display.measure)&&(ie=je(Z,E.doc.direction))&&(F.addToken=fat(F.addToken,ie)),F.map=[];var ae=I!=E.display.externalMeasured&&ct(Z);pat(Z,F,qn(E,Z,ae)),Z.styleClasses&&(Z.styleClasses.bgClass&&(F.bgClass=L(Z.styleClasses.bgClass,F.bgClass||"")),Z.styleClasses.textClass&&(F.textClass=L(Z.styleClasses.textClass,F.textClass||""))),F.map.length==0&&F.map.push(0,0,F.content.appendChild(bt(E.display.measure))),V==0?(I.measure.map=F.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(F.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(s){var pe=F.content.lastChild;(/\bcm-tab\b/.test(pe.className)||pe.querySelector&&pe.querySelector(".cm-tab"))&&(F.content.className="cm-tab-wrap-hack")}return Ee(E,"renderLine",E,I.line,F.pre),F.pre.className&&(F.textClass=L(F.pre.className,F.textClass||"")),F}function cat(E){var I=R("span","•","cm-invalidchar");return I.title="\\u"+E.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function uat(E,I,H,F,V,Z,ie){if(I){var ae=E.splitSpaces?dat(I,E.trailingSpace):I,pe=E.cm.state.specialChars,Ce=!1,Ue;if(!pe.test(I))E.col+=I.length,Ue=document.createTextNode(ae),E.map.push(E.pos,E.pos+I.length,Ue),a&&l<9&&(Ce=!0),E.pos+=I.length;else{Ue=document.createDocumentFragment();for(var Xe=0;;){pe.lastIndex=Xe;var pt=pe.exec(I),st=pt?pt.index-Xe:I.length-Xe;if(st){var Nt=document.createTextNode(ae.slice(Xe,Xe+st));a&&l<9?Ue.appendChild(R("span",[Nt])):Ue.appendChild(Nt),E.map.push(E.pos,E.pos+st,Nt),E.col+=st,E.pos+=st}if(!pt)break;Xe+=st+1;var Ft=void 0;if(pt[0]==" "){var tn=E.cm.options.tabSize,fn=tn-E.col%tn;Ft=Ue.appendChild(R("span",te(fn),"cm-tab")),Ft.setAttribute("role","presentation"),Ft.setAttribute("cm-text"," "),E.col+=fn}else pt[0]=="\r"||pt[0]==` +`?(Ft=Ue.appendChild(R("span",pt[0]=="\r"?"␍":"␤","cm-invalidchar")),Ft.setAttribute("cm-text",pt[0]),E.col+=1):(Ft=E.cm.options.specialCharPlaceholder(pt[0]),Ft.setAttribute("cm-text",pt[0]),a&&l<9?Ue.appendChild(R("span",[Ft])):Ue.appendChild(Ft),E.col+=1);E.map.push(E.pos,E.pos+1,Ft),E.pos++}}if(E.trailingSpace=ae.charCodeAt(I.length-1)==32,H||F||V||Ce||Z||ie){var yn=H||"";F&&(yn+=F),V&&(yn+=V);var pn=R("span",[Ue],yn,Z);if(ie)for(var xn in ie)ie.hasOwnProperty(xn)&&xn!="style"&&xn!="class"&&pn.setAttribute(xn,ie[xn]);return E.content.appendChild(pn)}E.content.appendChild(Ue)}}function dat(E,I){if(E.length>1&&!/ /.test(E))return E;for(var H=I,F="",V=0;VCe&&Xe.from<=Ce));pt++);if(Xe.to>=Ue)return E(H,F,V,Z,ie,ae,pe);E(H,F.slice(0,Xe.to-Ce),V,Z,null,ae,pe),Z=null,F=F.slice(Xe.to-Ce),Ce=Xe.to}}}function Vce(E,I,H,F){var V=!F&&H.widgetNode;V&&E.map.push(E.pos,E.pos+I,V),!F&&E.cm.display.input.needsContentAttribute&&(V||(V=E.content.appendChild(document.createElement("span"))),V.setAttribute("cm-marker",H.id)),V&&(E.cm.display.input.setUneditable(V),E.content.appendChild(V)),E.pos+=I,E.trailingSpace=!1}function pat(E,I,H){var F=E.markedSpans,V=E.text,Z=0;if(!F){for(var ie=1;iepe||mr.collapsed&&jn.to==pe&&jn.from==pe)){if(jn.to!=null&&jn.to!=pe&&st>jn.to&&(st=jn.to,Ft=""),mr.className&&(Nt+=" "+mr.className),mr.css&&(pt=(pt?pt+";":"")+mr.css),mr.startStyle&&jn.from==pe&&(tn+=" "+mr.startStyle),mr.endStyle&&jn.to==st&&(xn||(xn=[])).push(mr.endStyle,jn.to),mr.title&&((yn||(yn={})).title=mr.title),mr.attributes)for(var xi in mr.attributes)(yn||(yn={}))[xi]=mr.attributes[xi];mr.collapsed&&(!fn||jc(fn.marker,mr)<0)&&(fn=jn)}else jn.from>pe&&st>jn.from&&(st=jn.from)}if(xn)for(var ma=0;ma=ae)break;for(var ss=Math.min(ae,st);;){if(Ue){var Dl=pe+Ue.length;if(!fn){var ko=Dl>ss?Ue.slice(0,ss-pe):Ue;I.addToken(I,ko,Xe?Xe+Nt:Nt,tn,pe+ko.length==st?Ft:"",pt,yn)}if(Dl>=ss){Ue=Ue.slice(ss-pe),pe=ss;break}pe=Dl,tn=""}Ue=V.slice(Z,Z=H[Ce++]),Xe=Wce(H[Ce++],I.cm.options)}}}function Uce(E,I,H){this.line=I,this.rest=An(I),this.size=this.rest?ct(ne(this.rest))-H+1:1,this.node=this.text=null,this.hidden=Ao(E,I)}function sT(E,I,H){for(var F=[],V,Z=I;Z2&&Z.push((pe.bottom+Ce.top)/2-H.top)}}Z.push(H.bottom-H.top)}}function Jce(E,I,H){if(E.line==I)return{map:E.measure.map,cache:E.measure.cache};if(E.rest){for(var F=0;FH)return{map:E.measure.maps[V],cache:E.measure.caches[V],before:!0}}}function wat(E,I){I=Et(I);var H=ct(I),F=E.display.externalMeasured=new Uce(E.doc,I,H);F.lineN=H;var V=F.built=qce(E,F);return F.text=V.pre,T(E.display.lineMeasure,V.pre),F}function eue(E,I,H,F){return Fd(E,Cb(E,I),H,F)}function pW(E,I){if(I>=E.display.viewFrom&&I=H.lineN&&II)&&(Z=pe-ae,V=Z-1,I>=pe&&(ie="right")),V!=null){if(F=E[Ce+2],ae==pe&&H==(F.insertLeft?"left":"right")&&(ie=H),H=="left"&&V==0)for(;Ce&&E[Ce-2]==E[Ce-3]&&E[Ce-1].insertLeft;)F=E[(Ce-=3)+2],ie="left";if(H=="right"&&V==pe-ae)for(;Ce=0&&(H=E[V]).left==H.right;V--);return H}function Eat(E,I,H,F){var V=nue(I.map,H,F),Z=V.node,ie=V.start,ae=V.end,pe=V.collapse,Ce;if(Z.nodeType==3){for(var Ue=0;Ue<4;Ue++){for(;ie&&Ie(I.line.text.charAt(V.coverStart+ie));)--ie;for(;V.coverStart+ae0&&(pe=F="right");var Xe;E.options.lineWrapping&&(Xe=Z.getClientRects()).length>1?Ce=Xe[F=="right"?Xe.length-1:0]:Ce=Z.getBoundingClientRect()}if(a&&l<9&&!ie&&(!Ce||!Ce.left&&!Ce.right)){var pt=Z.parentNode.getClientRects()[0];pt?Ce={left:pt.left,right:pt.left+xb(E.display),top:pt.top,bottom:pt.bottom}:Ce=tue}for(var st=Ce.top-I.rect.top,Nt=Ce.bottom-I.rect.top,Ft=(st+Nt)/2,tn=I.view.measure.heights,fn=0;fn=F.text.length?(pe=F.text.length,Ce="before"):pe<=0&&(pe=0,Ce="after"),!ae)return ie(Ce=="before"?pe-1:pe,Ce=="before");function Ue(Nt,Ft,tn){var fn=ae[Ft],yn=fn.level==1;return ie(tn?Nt-1:Nt,yn!=tn)}var Xe=Te(ae,pe,Ce),pt=ce,st=Ue(pe,Xe,Ce=="before");return pt!=null&&(st.other=Ue(pe,pt,Ce!="before")),st}function sue(E,I){var H=0;I=Sn(E.doc,I),E.options.lineWrapping||(H=xb(E.display)*I.ch);var F=$t(E.doc,I.line),V=Dc(F)+cT(E.display);return{left:H,right:H,top:V,bottom:V+F.height}}function gW(E,I,H,F,V){var Z=gt(E,I,H);return Z.xRel=V,F&&(Z.outside=F),Z}function mW(E,I,H){var F=E.doc;if(H+=E.display.viewOffset,H<0)return gW(F.first,0,null,-1,-1);var V=Wt(F,H),Z=F.first+F.size-1;if(V>Z)return gW(F.first+F.size-1,$t(F,Z).text.length,null,1,1);I<0&&(I=0);for(var ie=$t(F,V);;){var ae=Pat(E,ie,V,I,H),pe=cW(ie,ae.ch+(ae.xRel>0||ae.outside>0?1:0));if(!pe)return ae;var Ce=pe.find(1);if(Ce.line==V)return Ce;ie=$t(F,V=Ce.line)}}function cue(E,I,H,F){F-=hW(I);var V=I.text.length,Z=Pe(function(ie){return Fd(E,H,ie-1).bottom<=F},V,0);return V=Pe(function(ie){return Fd(E,H,ie).top>F},Z,V),{begin:Z,end:V}}function uue(E,I,H,F){H||(H=Cb(E,I));var V=uT(E,I,Fd(E,H,F),"line").top;return cue(E,I,H,V)}function vW(E,I,H,F){return E.bottom<=H?!1:E.top>H?!0:(F?E.left:E.right)>I}function Pat(E,I,H,F,V){V-=Dc(I);var Z=Cb(E,I),ie=hW(I),ae=0,pe=I.text.length,Ce=!0,Ue=je(I,E.doc.direction);if(Ue){var Xe=(E.options.lineWrapping?Mat:Tat)(E,I,H,Z,Ue,F,V);Ce=Xe.level!=1,ae=Ce?Xe.from:Xe.to-1,pe=Ce?Xe.to:Xe.from-1}var pt=null,st=null,Nt=Pe(function(Ln){var jn=Fd(E,Z,Ln);return jn.top+=ie,jn.bottom+=ie,vW(jn,F,V,!1)?(jn.top<=V&&jn.left<=F&&(pt=Ln,st=jn),!0):!1},ae,pe),Ft,tn,fn=!1;if(st){var yn=F-st.left=xn.bottom?1:0}return Nt=Oe(I.text,Nt,1),gW(H,Nt,tn,fn,F-Ft)}function Tat(E,I,H,F,V,Z,ie){var ae=Pe(function(Xe){var pt=V[Xe],st=pt.level!=1;return vW(Au(E,gt(H,st?pt.to:pt.from,st?"before":"after"),"line",I,F),Z,ie,!0)},0,V.length-1),pe=V[ae];if(ae>0){var Ce=pe.level!=1,Ue=Au(E,gt(H,Ce?pe.from:pe.to,Ce?"after":"before"),"line",I,F);vW(Ue,Z,ie,!0)&&Ue.top>ie&&(pe=V[ae-1])}return pe}function Mat(E,I,H,F,V,Z,ie){var ae=cue(E,I,F,ie),pe=ae.begin,Ce=ae.end;/\s/.test(I.text.charAt(Ce-1))&&Ce--;for(var Ue=null,Xe=null,pt=0;pt=Ce||st.to<=pe)){var Nt=st.level!=1,Ft=Fd(E,F,Nt?Math.min(Ce,st.to)-1:Math.max(pe,st.from)).right,tn=Fttn)&&(Ue=st,Xe=tn)}}return Ue||(Ue=V[V.length-1]),Ue.fromCe&&(Ue={from:Ue.from,to:Ce,level:Ue.level}),Ue}var eg;function Sb(E){if(E.cachedTextHeight!=null)return E.cachedTextHeight;if(eg==null){eg=R("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)eg.appendChild(document.createTextNode("x")),eg.appendChild(R("br"));eg.appendChild(document.createTextNode("x"))}T(E.measure,eg);var H=eg.offsetHeight/50;return H>3&&(E.cachedTextHeight=H),P(E.measure),H||1}function xb(E){if(E.cachedCharWidth!=null)return E.cachedCharWidth;var I=R("span","xxxxxxxxxx"),H=R("pre",[I],"CodeMirror-line-like");T(E.measure,H);var F=I.getBoundingClientRect(),V=(F.right-F.left)/10;return V>2&&(E.cachedCharWidth=V),V||10}function yW(E){for(var I=E.display,H={},F={},V=I.gutters.clientLeft,Z=I.gutters.firstChild,ie=0;Z;Z=Z.nextSibling,++ie){var ae=E.display.gutterSpecs[ie].className;H[ae]=Z.offsetLeft+Z.clientLeft+V,F[ae]=Z.clientWidth}return{fixedPos:bW(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:H,gutterWidth:F,wrapperWidth:I.wrapper.clientWidth}}function bW(E){return E.scroller.getBoundingClientRect().left-E.sizer.getBoundingClientRect().left}function due(E){var I=Sb(E.display),H=E.options.lineWrapping,F=H&&Math.max(5,E.display.scroller.clientWidth/xb(E.display)-3);return function(V){if(Ao(E.doc,V))return 0;var Z=0;if(V.widgets)for(var ie=0;ie0&&(Ce=$t(E.doc,pe.line).text).length==pe.ch){var Ue=q(Ce,Ce.length,E.options.tabSize)-Ce.length;pe=gt(pe.line,Math.max(0,Math.round((Z-Qce(E.display).left)/xb(E.display))-Ue))}return pe}function ng(E,I){if(I>=E.display.viewTo||(I-=E.display.viewFrom,I<0))return null;for(var H=E.display.view,F=0;FI)&&(V.updateLineNumbers=I),E.curOp.viewChanged=!0,I>=V.viewTo)$r&&So(E.doc,I)V.viewFrom?Uh(E):(V.viewFrom+=F,V.viewTo+=F);else if(I<=V.viewFrom&&H>=V.viewTo)Uh(E);else if(I<=V.viewFrom){var Z=fT(E,H,H+F,1);Z?(V.view=V.view.slice(Z.index),V.viewFrom=Z.lineN,V.viewTo+=F):Uh(E)}else if(H>=V.viewTo){var ie=fT(E,I,I,-1);ie?(V.view=V.view.slice(0,ie.index),V.viewTo=ie.lineN):Uh(E)}else{var ae=fT(E,I,I,-1),pe=fT(E,H,H+F,1);ae&&pe?(V.view=V.view.slice(0,ae.index).concat(sT(E,ae.lineN,pe.lineN)).concat(V.view.slice(pe.index)),V.viewTo+=F):Uh(E)}var Ce=V.externalMeasured;Ce&&(H=V.lineN&&I=F.viewTo)){var Z=F.view[ng(E,I)];if(Z.node!=null){var ie=Z.changes||(Z.changes=[]);U(ie,H)==-1&&ie.push(H)}}}function Uh(E){E.display.viewFrom=E.display.viewTo=E.doc.first,E.display.view=[],E.display.viewOffset=0}function fT(E,I,H,F){var V=ng(E,I),Z,ie=E.display.view;if(!$r||H==E.doc.first+E.doc.size)return{index:V,lineN:H};for(var ae=E.display.viewFrom,pe=0;pe0){if(V==ie.length-1)return null;Z=ae+ie[V].size-I,V++}else Z=ae-I;I+=Z,H+=Z}for(;So(E.doc,H)!=H;){if(V==(F<0?0:ie.length-1))return null;H+=F*ie[V-(F<0?1:0)].size,V+=F}return{index:V,lineN:H}}function Rat(E,I,H){var F=E.display,V=F.view;V.length==0||I>=F.viewTo||H<=F.viewFrom?(F.view=sT(E,I,H),F.viewFrom=I):(F.viewFrom>I?F.view=sT(E,I,F.viewFrom).concat(F.view):F.viewFromH&&(F.view=F.view.slice(0,ng(E,H)))),F.viewTo=H}function fue(E){for(var I=E.display.view,H=0,F=0;F=E.display.viewTo||pe.to().line0?ie:E.defaultCharWidth())+"px"}if(F.other){var ae=H.appendChild(R("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));ae.style.display="",ae.style.left=F.other.left+"px",ae.style.top=F.other.top+"px",ae.style.height=(F.other.bottom-F.other.top)*.85+"px"}}function pT(E,I){return E.top-I.top||E.left-I.left}function Iat(E,I,H){var F=E.display,V=E.doc,Z=document.createDocumentFragment(),ie=Qce(E.display),ae=ie.left,pe=Math.max(F.sizerWidth,J0(E)-F.sizer.offsetLeft)-ie.right,Ce=V.direction=="ltr";function Ue(pn,xn,Ln,jn){xn<0&&(xn=0),xn=Math.round(xn),jn=Math.round(jn),Z.appendChild(R("div",null,"CodeMirror-selected","position: absolute; left: "+pn+`px; top: `+xn+"px; width: "+(Ln??pe-pn)+`px; - height: `+(jn-xn)+"px"))}function Xe(pn,xn,Ln){var jn=$t(q,pn),mr=jn.text.length,xi,ma;function io(ko,Ll){return uT(E,gt(pn,ko),"div",jn,Ll)}function ss(ko,Ll,Ra){var Yo=cue(E,jn,null,ko),jo=Ll=="ltr"==(Ra=="after")?"left":"right",so=Ra=="after"?Yo.begin:Yo.end-(/\s/.test(jn.text.charAt(Yo.end-1))?2:1);return io(so,jo)[jo]}var Dl=je(jn,q.direction);return _e(Dl,xn||0,Ln??mr,function(ko,Ll,Ra,Yo){var jo=Ra=="ltr",so=io(ko,jo?"left":"right"),zl=io(Ll-1,jo?"right":"left"),kb=xn==null&&ko==0,Qh=Ln==null&&Ll==mr,Ua=Yo==0,Hd=!Dl||Yo==Dl.length-1;if(zl.top-so.top<=3){var va=(Ce?kb:Qh)&&Ua,UW=(Ce?Qh:kb)&&Hd,tp=va?ae:(jo?so:zl).left,lg=UW?pe:(jo?zl:so).right;Ue(tp,so.top,lg-tp,so.bottom)}else{var sg,gl,jb,GW;jo?(sg=Ce&&kb&&Ua?ae:so.left,gl=Ce?pe:ss(ko,Ra,"before"),jb=Ce?ae:ss(Ll,Ra,"after"),GW=Ce&&Qh&&Hd?pe:zl.right):(sg=Ce?ss(ko,Ra,"before"):ae,gl=!Ce&&kb&&Ua?pe:so.right,jb=!Ce&&Qh&&Hd?ae:zl.left,GW=Ce?ss(Ll,Ra,"after"):pe),Ue(sg,so.top,gl-sg,so.bottom),so.bottom0?I.blinker=setInterval(function(){E.hasFocus()||_b(E),I.cursorDiv.style.visibility=(H=!H)?"":"hidden"},E.options.cursorBlinkRate):E.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}}function pue(E){E.hasFocus()||(E.display.input.focus(),E.state.focused||_W(E))}function xW(E){E.state.delayingBlurEvent=!0,setTimeout(function(){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1,E.state.focused&&_b(E))},100)}function _W(E,I){E.state.delayingBlurEvent&&!E.state.draggingText&&(E.state.delayingBlurEvent=!1),E.options.readOnly!="nocursor"&&(E.state.focused||(Ee(E,"focus",E,I),E.state.focused=!0,D(E.display.wrapper,"CodeMirror-focused"),!E.curOp&&E.display.selForContextMenu!=E.doc.sel&&(E.display.input.reset(),s&&setTimeout(function(){return E.display.input.reset(!0)},20)),E.display.input.receivedFocus()),SW(E))}function _b(E,I){E.state.delayingBlurEvent||(E.state.focused&&(Ee(E,"blur",E,I),E.state.focused=!1,$(E.display.wrapper,"CodeMirror-focused")),clearInterval(E.display.blinker),setTimeout(function(){E.state.focused||(E.display.shift=!1)},150))}function pT(E){for(var I=E.display,H=I.lineDiv.offsetTop,F=Math.max(0,I.scroller.getBoundingClientRect().top),q=I.lineDiv.getBoundingClientRect().top,Z=0,ie=0;ie.005||st<-.005)&&(qE.display.sizerWidth){var Ft=Math.ceil(Ue/xb(E.display));Ft>E.display.maxLineLength&&(E.display.maxLineLength=Ft,E.display.maxLine=ae.line,E.display.maxLineChanged=!0)}}}Math.abs(Z)>2&&(I.scroller.scrollTop+=Z)}function hue(E){if(E.widgets)for(var I=0;I=ie&&(Z=Wt(I,Dc($t(I,pe))-E.wrapper.clientHeight),ie=pe)}return{from:Z,to:Math.max(ie,Z+1)}}function Nat(E,I){if(!$e(E,"scrollCursorIntoView")){var H=E.display,F=H.sizer.getBoundingClientRect(),q=null;if(I.top+F.top<0?q=!0:I.bottom+F.top>(window.innerHeight||document.documentElement.clientHeight)&&(q=!1),q!=null&&!p){var Z=R("div","​",null,`position: absolute; - top: `+(I.top-H.viewOffset-sT(E.display))+`px; + height: `+(jn-xn)+"px"))}function Xe(pn,xn,Ln){var jn=$t(V,pn),mr=jn.text.length,xi,ma;function io(ko,Ll){return dT(E,gt(pn,ko),"div",jn,Ll)}function ss(ko,Ll,Ra){var Yo=uue(E,jn,null,ko),jo=Ll=="ltr"==(Ra=="after")?"left":"right",co=Ra=="after"?Yo.begin:Yo.end-(/\s/.test(jn.text.charAt(Yo.end-1))?2:1);return io(co,jo)[jo]}var Dl=je(jn,V.direction);return _e(Dl,xn||0,Ln??mr,function(ko,Ll,Ra,Yo){var jo=Ra=="ltr",co=io(ko,jo?"left":"right"),zl=io(Ll-1,jo?"right":"left"),kb=xn==null&&ko==0,Qh=Ln==null&&Ll==mr,Ua=Yo==0,Hd=!Dl||Yo==Dl.length-1;if(zl.top-co.top<=3){var va=(Ce?kb:Qh)&&Ua,GW=(Ce?Qh:kb)&&Hd,tp=va?ae:(jo?co:zl).left,lg=GW?pe:(jo?zl:co).right;Ue(tp,co.top,lg-tp,co.bottom)}else{var sg,gl,jb,KW;jo?(sg=Ce&&kb&&Ua?ae:co.left,gl=Ce?pe:ss(ko,Ra,"before"),jb=Ce?ae:ss(Ll,Ra,"after"),KW=Ce&&Qh&&Hd?pe:zl.right):(sg=Ce?ss(ko,Ra,"before"):ae,gl=!Ce&&kb&&Ua?pe:co.right,jb=!Ce&&Qh&&Hd?ae:zl.left,KW=Ce?ss(Ll,Ra,"after"):pe),Ue(sg,co.top,gl-sg,co.bottom),co.bottom0?I.blinker=setInterval(function(){E.hasFocus()||_b(E),I.cursorDiv.style.visibility=(H=!H)?"":"hidden"},E.options.cursorBlinkRate):E.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}}function hue(E){E.hasFocus()||(E.display.input.focus(),E.state.focused||wW(E))}function _W(E){E.state.delayingBlurEvent=!0,setTimeout(function(){E.state.delayingBlurEvent&&(E.state.delayingBlurEvent=!1,E.state.focused&&_b(E))},100)}function wW(E,I){E.state.delayingBlurEvent&&!E.state.draggingText&&(E.state.delayingBlurEvent=!1),E.options.readOnly!="nocursor"&&(E.state.focused||(Ee(E,"focus",E,I),E.state.focused=!0,D(E.display.wrapper,"CodeMirror-focused"),!E.curOp&&E.display.selForContextMenu!=E.doc.sel&&(E.display.input.reset(),s&&setTimeout(function(){return E.display.input.reset(!0)},20)),E.display.input.receivedFocus()),xW(E))}function _b(E,I){E.state.delayingBlurEvent||(E.state.focused&&(Ee(E,"blur",E,I),E.state.focused=!1,$(E.display.wrapper,"CodeMirror-focused")),clearInterval(E.display.blinker),setTimeout(function(){E.state.focused||(E.display.shift=!1)},150))}function hT(E){for(var I=E.display,H=I.lineDiv.offsetTop,F=Math.max(0,I.scroller.getBoundingClientRect().top),V=I.lineDiv.getBoundingClientRect().top,Z=0,ie=0;ie.005||st<-.005)&&(VE.display.sizerWidth){var Ft=Math.ceil(Ue/xb(E.display));Ft>E.display.maxLineLength&&(E.display.maxLineLength=Ft,E.display.maxLine=ae.line,E.display.maxLineChanged=!0)}}}Math.abs(Z)>2&&(I.scroller.scrollTop+=Z)}function gue(E){if(E.widgets)for(var I=0;I=ie&&(Z=Wt(I,Dc($t(I,pe))-E.wrapper.clientHeight),ie=pe)}return{from:Z,to:Math.max(ie,Z+1)}}function Nat(E,I){if(!$e(E,"scrollCursorIntoView")){var H=E.display,F=H.sizer.getBoundingClientRect(),V=null;if(I.top+F.top<0?V=!0:I.bottom+F.top>(window.innerHeight||document.documentElement.clientHeight)&&(V=!1),V!=null&&!p){var Z=R("div","​",null,`position: absolute; + top: `+(I.top-H.viewOffset-cT(E.display))+`px; height: `+(I.bottom-I.top+Bd(E)+H.barHeight)+`px; - left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");E.display.lineSpace.appendChild(Z),Z.scrollIntoView(q),E.display.lineSpace.removeChild(Z)}}}function Aat(E,I,H,F){F==null&&(F=0);var q;!E.options.lineWrapping&&I==H&&(H=I.sticky=="before"?gt(I.line,I.ch+1,"before"):I,I=I.ch?gt(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I);for(var Z=0;Z<5;Z++){var ie=!1,ae=Au(E,I),pe=!H||H==I?ae:Au(E,H);q={left:Math.min(ae.left,pe.left),top:Math.min(ae.top,pe.top)-F,right:Math.max(ae.left,pe.left),bottom:Math.max(ae.bottom,pe.bottom)+F};var Ce=wW(E,q),Ue=E.doc.scrollTop,Xe=E.doc.scrollLeft;if(Ce.scrollTop!=null&&(d6(E,Ce.scrollTop),Math.abs(E.doc.scrollTop-Ue)>1&&(ie=!0)),Ce.scrollLeft!=null&&(rg(E,Ce.scrollLeft),Math.abs(E.doc.scrollLeft-Xe)>1&&(ie=!0)),!ie)break}return q}function kat(E,I){var H=wW(E,I);H.scrollTop!=null&&d6(E,H.scrollTop),H.scrollLeft!=null&&rg(E,H.scrollLeft)}function wW(E,I){var H=E.display,F=Sb(E.display);I.top<0&&(I.top=0);var q=E.curOp&&E.curOp.scrollTop!=null?E.curOp.scrollTop:H.scroller.scrollTop,Z=dW(E),ie={};I.bottom-I.top>Z&&(I.bottom=I.top+Z);var ae=E.doc.height+uW(H),pe=I.topae-F;if(I.topq+Z){var Ue=Math.min(I.top,(Ce?ae:I.bottom)-Z);Ue!=q&&(ie.scrollTop=Ue)}var Xe=E.options.fixedGutter?0:H.gutters.offsetWidth,pt=E.curOp&&E.curOp.scrollLeft!=null?E.curOp.scrollLeft:H.scroller.scrollLeft-Xe,st=J0(E)-H.gutters.offsetWidth,Nt=I.right-I.left>st;return Nt&&(I.right=I.left+st),I.left<10?ie.scrollLeft=0:I.leftst+pt-3&&(ie.scrollLeft=I.right+(Nt?0:10)-st),ie}function OW(E,I){I!=null&&(gT(E),E.curOp.scrollTop=(E.curOp.scrollTop==null?E.doc.scrollTop:E.curOp.scrollTop)+I)}function wb(E){gT(E);var I=E.getCursor();E.curOp.scrollToPos={from:I,to:I,margin:E.options.cursorScrollMargin}}function u6(E,I,H){(I!=null||H!=null)&&gT(E),I!=null&&(E.curOp.scrollLeft=I),H!=null&&(E.curOp.scrollTop=H)}function jat(E,I){gT(E),E.curOp.scrollToPos=I}function gT(E){var I=E.curOp.scrollToPos;if(I){E.curOp.scrollToPos=null;var H=lue(E,I.from),F=lue(E,I.to);gue(E,H,F,I.margin)}}function gue(E,I,H,F){var q=wW(E,{left:Math.min(I.left,H.left),top:Math.min(I.top,H.top)-F,right:Math.max(I.right,H.right),bottom:Math.max(I.bottom,H.bottom)+F});u6(E,q.scrollLeft,q.scrollTop)}function d6(E,I){Math.abs(E.doc.scrollTop-I)<2||(n||$W(E,{top:I}),mue(E,I,!0),n&&$W(E),h6(E,100))}function mue(E,I,H){I=Math.max(0,Math.min(E.display.scroller.scrollHeight-E.display.scroller.clientHeight,I)),!(E.display.scroller.scrollTop==I&&!H)&&(E.doc.scrollTop=I,E.display.scrollbars.setScrollTop(I),E.display.scroller.scrollTop!=I&&(E.display.scroller.scrollTop=I))}function rg(E,I,H,F){I=Math.max(0,Math.min(I,E.display.scroller.scrollWidth-E.display.scroller.clientWidth)),!((H?I==E.doc.scrollLeft:Math.abs(E.doc.scrollLeft-I)<2)&&!F)&&(E.doc.scrollLeft=I,Sue(E),E.display.scroller.scrollLeft!=I&&(E.display.scroller.scrollLeft=I),E.display.scrollbars.setScrollLeft(I))}function f6(E){var I=E.display,H=I.gutters.offsetWidth,F=Math.round(E.doc.height+uW(E.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:E.options.fixedGutter?H:0,docHeight:F,scrollHeight:F+Bd(E)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:H}}var ig=function(E,I,H){this.cm=H;var F=this.vert=R("div",[R("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),q=this.horiz=R("div",[R("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");F.tabIndex=q.tabIndex=-1,E(F),E(q),Be(F,"scroll",function(){F.clientHeight&&I(F.scrollTop,"vertical")}),Be(q,"scroll",function(){q.clientWidth&&I(q.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ig.prototype.update=function(E){var I=E.scrollWidth>E.clientWidth+1,H=E.scrollHeight>E.clientHeight+1,F=E.nativeBarWidth;if(H){this.vert.style.display="block",this.vert.style.bottom=I?F+"px":"0";var q=E.viewHeight-(I?F:0);this.vert.firstChild.style.height=Math.max(0,E.scrollHeight-E.clientHeight+q)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(I){this.horiz.style.display="block",this.horiz.style.right=H?F+"px":"0",this.horiz.style.left=E.barLeft+"px";var Z=E.viewWidth-E.barLeft-(H?F:0);this.horiz.firstChild.style.width=Math.max(0,E.scrollWidth-E.clientWidth+Z)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&E.clientHeight>0&&(F==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:H?F:0,bottom:I?F:0}},ig.prototype.setScrollLeft=function(E){this.horiz.scrollLeft!=E&&(this.horiz.scrollLeft=E),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ig.prototype.setScrollTop=function(E){this.vert.scrollTop!=E&&(this.vert.scrollTop=E),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ig.prototype.zeroWidthHack=function(){var E=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=E,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new W,this.disableVert=new W},ig.prototype.enableZeroWidthBar=function(E,I,H){E.style.pointerEvents="auto";function F(){var q=E.getBoundingClientRect(),Z=H=="vert"?document.elementFromPoint(q.right-1,(q.top+q.bottom)/2):document.elementFromPoint((q.right+q.left)/2,q.bottom-1);Z!=E?E.style.pointerEvents="none":I.set(1e3,F)}I.set(1e3,F)},ig.prototype.clear=function(){var E=this.horiz.parentNode;E.removeChild(this.horiz),E.removeChild(this.vert)};var p6=function(){};p6.prototype.update=function(){return{bottom:0,right:0}},p6.prototype.setScrollLeft=function(){},p6.prototype.setScrollTop=function(){},p6.prototype.clear=function(){};function Ob(E,I){I||(I=f6(E));var H=E.display.barWidth,F=E.display.barHeight;vue(E,I);for(var q=0;q<4&&H!=E.display.barWidth||F!=E.display.barHeight;q++)H!=E.display.barWidth&&E.options.lineWrapping&&pT(E),vue(E,f6(E)),H=E.display.barWidth,F=E.display.barHeight}function vue(E,I){var H=E.display,F=H.scrollbars.update(I);H.sizer.style.paddingRight=(H.barWidth=F.right)+"px",H.sizer.style.paddingBottom=(H.barHeight=F.bottom)+"px",H.heightForcer.style.borderBottom=F.bottom+"px solid transparent",F.right&&F.bottom?(H.scrollbarFiller.style.display="block",H.scrollbarFiller.style.height=F.bottom+"px",H.scrollbarFiller.style.width=F.right+"px"):H.scrollbarFiller.style.display="",F.bottom&&E.options.coverGutterNextToScrollbar&&E.options.fixedGutter?(H.gutterFiller.style.display="block",H.gutterFiller.style.height=F.bottom+"px",H.gutterFiller.style.width=I.gutterWidth+"px"):H.gutterFiller.style.display=""}var yue={native:ig,null:p6};function bue(E){E.display.scrollbars&&(E.display.scrollbars.clear(),E.display.scrollbars.addClass&&$(E.display.wrapper,E.display.scrollbars.addClass)),E.display.scrollbars=new yue[E.options.scrollbarStyle](function(I){E.display.wrapper.insertBefore(I,E.display.scrollbarFiller),Be(I,"mousedown",function(){E.state.focused&&setTimeout(function(){return E.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,H){H=="horizontal"?rg(E,I):d6(E,I)},E),E.display.scrollbars.addClass&&D(E.display.wrapper,E.display.scrollbars.addClass)}var Dat=0;function og(E){E.curOp={cm:E,viewChanged:!1,startHeight:E.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Dat,markArrays:null},hat(E.curOp)}function ag(E){var I=E.curOp;I&&mat(I,function(H){for(var F=0;F=H.viewTo)||H.maxLineChanged&&I.options.lineWrapping,E.update=E.mustUpdate&&new mT(I,E.mustUpdate&&{top:E.scrollTop,ensure:E.scrollToPos},E.forceUpdate)}function Bat(E){E.updatedDisplay=E.mustUpdate&&EW(E.cm,E.update)}function Fat(E){var I=E.cm,H=I.display;E.updatedDisplay&&pT(I),E.barMeasure=f6(I),H.maxLineChanged&&!I.options.lineWrapping&&(E.adjustWidthTo=Jce(I,H.maxLine,H.maxLine.text.length).left+3,I.display.sizerWidth=E.adjustWidthTo,E.barMeasure.scrollWidth=Math.max(H.scroller.clientWidth,H.sizer.offsetLeft+E.adjustWidthTo+Bd(I)+I.display.barWidth),E.maxScrollLeft=Math.max(0,H.sizer.offsetLeft+E.adjustWidthTo-J0(I))),(E.updatedDisplay||E.selectionChanged)&&(E.preparedSelection=H.input.prepareSelection())}function Hat(E){var I=E.cm;E.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=E.adjustWidthTo+"px",E.maxScrollLeft=E.display.viewTo)){var H=+new Date+E.options.workTime,F=yr(E,I.highlightFrontier),q=[];I.iter(F.line,Math.min(I.first+I.size,E.display.viewTo+500),function(Z){if(F.line>=E.display.viewFrom){var ie=Z.styles,ae=Z.text.length>E.options.maxHighlightLength?xt(I.mode,F.state):null,pe=gn(E,Z,F,!0);ae&&(F.state=ae),Z.styles=pe.styles;var Ce=Z.styleClasses,Ue=pe.classes;Ue?Z.styleClasses=Ue:Ce&&(Z.styleClasses=null);for(var Xe=!ie||ie.length!=Z.styles.length||Ce!=Ue&&(!Ce||!Ue||Ce.bgClass!=Ue.bgClass||Ce.textClass!=Ue.textClass),pt=0;!Xe&&ptH)return h6(E,E.options.workDelay),!0}),I.highlightFrontier=F.line,I.modeFrontier=Math.max(I.modeFrontier,F.line),q.length&&ls(E,function(){for(var Z=0;Z=H.viewFrom&&I.visible.to<=H.viewTo&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo)&&H.renderedView==H.view&&due(E)==0)return!1;xue(E)&&(Uh(E),I.dims=vW(E));var q=F.first+F.size,Z=Math.max(I.visible.from-E.options.viewportMargin,F.first),ie=Math.min(q,I.visible.to+E.options.viewportMargin);H.viewFromie&&H.viewTo-ie<20&&(ie=Math.min(q,H.viewTo)),$r&&(Z=So(E.doc,Z),ie=Ta(E.doc,ie));var ae=Z!=H.viewFrom||ie!=H.viewTo||H.lastWrapHeight!=I.wrapperHeight||H.lastWrapWidth!=I.wrapperWidth;Rat(E,Z,ie),H.viewOffset=Dc($t(E.doc,H.viewFrom)),E.display.mover.style.top=H.viewOffset+"px";var pe=due(E);if(!ae&&pe==0&&!I.force&&H.renderedView==H.view&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo))return!1;var Ce=Uat(E);return pe>4&&(H.lineDiv.style.display="none"),Kat(E,H.updateLineNumbers,I.dims),pe>4&&(H.lineDiv.style.display=""),H.renderedView=H.view,Gat(Ce),P(H.cursorDiv),P(H.selectionDiv),H.gutters.style.height=H.sizer.style.minHeight=0,ae&&(H.lastWrapHeight=I.wrapperHeight,H.lastWrapWidth=I.wrapperWidth,h6(E,400)),H.updateLineNumbers=null,!0}function Cue(E,I){for(var H=I.viewport,F=!0;;F=!1){if(!F||!E.options.lineWrapping||I.oldDisplayWidth==J0(E)){if(H&&H.top!=null&&(H={top:Math.min(E.doc.height+uW(E.display)-dW(E),H.top)}),I.visible=hT(E.display,E.doc,H),I.visible.from>=E.display.viewFrom&&I.visible.to<=E.display.viewTo)break}else F&&(I.visible=hT(E.display,E.doc,H));if(!EW(E,I))break;pT(E);var q=f6(E);c6(E),Ob(E,q),TW(E,q),I.force=!1}I.signal(E,"update",E),(E.display.viewFrom!=E.display.reportedViewFrom||E.display.viewTo!=E.display.reportedViewTo)&&(I.signal(E,"viewportChange",E,E.display.viewFrom,E.display.viewTo),E.display.reportedViewFrom=E.display.viewFrom,E.display.reportedViewTo=E.display.viewTo)}function $W(E,I){var H=new mT(E,I);if(EW(E,H)){pT(E),Cue(E,H);var F=f6(E);c6(E),Ob(E,F),TW(E,F),H.finish()}}function Kat(E,I,H){var F=E.display,q=E.options.lineNumbers,Z=F.lineDiv,ie=Z.firstChild;function ae(Nt){var Ft=Nt.nextSibling;return s&&y&&E.display.currentWheelTarget==Nt?Nt.style.display="none":Nt.parentNode.removeChild(Nt),Ft}for(var pe=F.view,Ce=F.viewFrom,Ue=0;Ue-1&&(st=!1),Uce(E,Xe,Ce,H)),st&&(P(Xe.lineNumber),Xe.lineNumber.appendChild(document.createTextNode(kt(E.options,Ce)))),ie=Xe.node.nextSibling}Ce+=Xe.size}for(;ie;)ie=ae(ie)}function PW(E){var I=E.gutters.offsetWidth;E.sizer.style.marginLeft=I+"px",pa(E,"gutterChanged",E)}function TW(E,I){E.display.sizer.style.minHeight=I.docHeight+"px",E.display.heightForcer.style.top=I.docHeight+"px",E.display.gutters.style.height=I.docHeight+E.display.barHeight+Bd(E)+"px"}function Sue(E){var I=E.display,H=I.view;if(!(!I.alignWidgets&&(!I.gutters.firstChild||!E.options.fixedGutter))){for(var F=yW(I)-I.scroller.scrollLeft+E.doc.scrollLeft,q=I.gutters.offsetWidth,Z=F+"px",ie=0;ieae.clientWidth,Ce=ae.scrollHeight>ae.clientHeight;if(F&&pe||q&&Ce){if(q&&y&&s){e:for(var Ue=I.target,Xe=ie.view;Ue!=ae;Ue=Ue.parentNode)for(var pt=0;pt=0&&Bt(E,F.to())<=0)return H}return-1};var Kr=function(E,I){this.anchor=E,this.head=I};Kr.prototype.from=function(){return ei(this.anchor,this.head)},Kr.prototype.to=function(){return Ar(this.anchor,this.head)},Kr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ku(E,I,H){var F=E&&E.options.selectionsMayTouch,q=I[H];I.sort(function(pt,st){return Bt(pt.from(),st.from())}),H=U(I,q);for(var Z=1;Z0:pe>=0){var Ce=ei(ae.from(),ie.from()),Ue=Ar(ae.to(),ie.to()),Xe=ae.empty()?ie.from()==ie.head:ae.from()==ae.head;Z<=H&&--H,I.splice(--Z,2,new Kr(Xe?Ue:Ce,Xe?Ce:Ue))}}return new qs(I,H)}function Gh(E,I){return new qs([new Kr(E,I||E)],0)}function Kh(E){return E.text?gt(E.from.line+E.text.length-1,ne(E.text).length+(E.text.length==1?E.from.ch:0)):E.to}function Eue(E,I){if(Bt(E,I.from)<0)return E;if(Bt(E,I.to)<=0)return Kh(I);var H=E.line+I.text.length-(I.to.line-I.from.line)-1,F=E.ch;return E.line==I.to.line&&(F+=Kh(I).ch-I.to.ch),gt(H,F)}function RW(E,I){for(var H=[],F=0;F1&&E.remove(ae.line+1,Nt-1),E.insert(ae.line+1,fn)}pa(E,"change",E,I)}function Xh(E,I,H){function F(q,Z,ie){if(q.linked)for(var ae=0;ae1&&!E.done[E.done.length-2].ranges)return E.done.pop(),ne(E.done)}function Iue(E,I,H,F){var q=E.history;q.undone.length=0;var Z=+new Date,ie,ae;if((q.lastOp==F||q.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&q.lastModTime>Z-(E.cm?E.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(ie=Jat(q,q.lastOp==F)))ae=ne(ie.changes),Bt(I.from,I.to)==0&&Bt(I.from,ae.to)==0?ae.to=Kh(I):ie.changes.push(AW(E,I));else{var pe=ne(q.done);for((!pe||!pe.ranges)&&bT(E.sel,q.done),ie={changes:[AW(E,I)],generation:q.generation},q.done.push(ie);q.done.length>q.undoDepth;)q.done.shift(),q.done[0].ranges||q.done.shift()}q.done.push(H),q.generation=++q.maxGeneration,q.lastModTime=q.lastSelTime=Z,q.lastOp=q.lastSelOp=F,q.lastOrigin=q.lastSelOrigin=I.origin,ae||Ee(E,"historyAdded")}function elt(E,I,H,F){var q=I.charAt(0);return q=="*"||q=="+"&&H.ranges.length==F.ranges.length&&H.somethingSelected()==F.somethingSelected()&&new Date-E.history.lastSelTime<=(E.cm?E.cm.options.historyEventDelay:500)}function tlt(E,I,H,F){var q=E.history,Z=F&&F.origin;H==q.lastSelOp||Z&&q.lastSelOrigin==Z&&(q.lastModTime==q.lastSelTime&&q.lastOrigin==Z||elt(E,Z,ne(q.done),I))?q.done[q.done.length-1]=I:bT(I,q.done),q.lastSelTime=+new Date,q.lastSelOrigin=Z,q.lastSelOp=H,F&&F.clearRedo!==!1&&Rue(q.undone)}function bT(E,I){var H=ne(I);H&&H.ranges&&H.equals(E)||I.push(E)}function Nue(E,I,H,F){var q=I["spans_"+E.id],Z=0;E.iter(Math.max(E.first,H),Math.min(E.first+E.size,F),function(ie){ie.markedSpans&&((q||(q=I["spans_"+E.id]={}))[Z]=ie.markedSpans),++Z})}function nlt(E){if(!E)return null;for(var I,H=0;H-1&&(ne(ae)[Xe]=Ce[Xe],delete Ce[Xe])}}return F}function kW(E,I,H,F){if(F){var q=E.anchor;if(H){var Z=Bt(I,q)<0;Z!=Bt(H,q)<0?(q=I,I=H):Z!=Bt(I,H)<0&&(I=H)}return new Kr(q,I)}else return new Kr(H||I,I)}function CT(E,I,H,F,q){q==null&&(q=E.cm&&(E.cm.display.shift||E.extend)),Va(E,new qs([kW(E.sel.primary(),I,H,q)],0),F)}function kue(E,I,H){for(var F=[],q=E.cm&&(E.cm.display.shift||E.extend),Z=0;Z=I.ch:ae.to>I.ch))){if(q&&(Ee(pe,"beforeCursorEnter"),pe.explicitlyCleared))if(Z.markedSpans){--ie;continue}else break;if(!pe.atomic)continue;if(H){var Xe=pe.find(F<0?1:-1),pt=void 0;if((F<0?Ue:Ce)&&(Xe=Fue(E,Xe,-F,Xe&&Xe.line==I.line?Z:null)),Xe&&Xe.line==I.line&&(pt=Bt(Xe,H))&&(F<0?pt<0:pt>0))return $b(E,Xe,I,F,q)}var st=pe.find(F<0?-1:1);return(F<0?Ce:Ue)&&(st=Fue(E,st,F,st.line==I.line?Z:null)),st?$b(E,st,I,F,q):null}}return I}function xT(E,I,H,F,q){var Z=F||1,ie=$b(E,I,H,Z,q)||!q&&$b(E,I,H,Z,!0)||$b(E,I,H,-Z,q)||!q&&$b(E,I,H,-Z,!0);return ie||(E.cantEdit=!0,gt(E.first,0))}function Fue(E,I,H,F){return H<0&&I.ch==0?I.line>E.first?Sn(E,gt(I.line-1)):null:H>0&&I.ch==(F||$t(E,I.line)).text.length?I.line=0;--q)que(E,{from:F[q].from,to:F[q].to,text:q?[""]:I.text,origin:I.origin});else que(E,I)}}function que(E,I){if(!(I.text.length==1&&I.text[0]==""&&Bt(I.from,I.to)==0)){var H=RW(E,I);Iue(E,I,H,E.cm?E.cm.curOp.id:NaN),v6(E,I,H,Yf(E,I));var F=[];Xh(E,function(q,Z){!Z&&U(F,q.history)==-1&&(Kue(q.history,I),F.push(q.history)),v6(q,I,null,Yf(q,I))})}}function _T(E,I,H){var F=E.cm&&E.cm.state.suppressEdits;if(!(F&&!H)){for(var q=E.history,Z,ie=E.sel,ae=I=="undo"?q.done:q.undone,pe=I=="undo"?q.undone:q.done,Ce=0;Ce=0;--st){var Nt=pt(st);if(Nt)return Nt.v}}}}function Vue(E,I){if(I!=0&&(E.first+=I,E.sel=new qs(re(E.sel.ranges,function(q){return new Kr(gt(q.anchor.line+I,q.anchor.ch),gt(q.head.line+I,q.head.ch))}),E.sel.primIndex),E.cm)){kl(E.cm,E.first,E.first-I,I);for(var H=E.cm.display,F=H.viewFrom;FE.lastLine())){if(I.from.lineZ&&(I={from:I.from,to:gt(Z,$t(E,Z).text.length),text:[I.text[0]],origin:I.origin}),I.removed=zt(E,I.from,I.to),H||(H=RW(E,I)),E.cm?olt(E.cm,I,F):NW(E,I,F),ST(E,H,G),E.cantEdit&&xT(E,gt(E.firstLine(),0))&&(E.cantEdit=!1)}}function olt(E,I,H){var F=E.doc,q=E.display,Z=I.from,ie=I.to,ae=!1,pe=Z.line;E.options.lineWrapping||(pe=ct(Et($t(F,Z.line))),F.iter(pe,ie.line+1,function(st){if(st==q.maxLine)return ae=!0,!0})),F.sel.contains(I.from,I.to)>-1&&Le(E),NW(F,I,H,uue(E)),E.options.lineWrapping||(F.iter(pe,Z.line+I.text.length,function(st){var Nt=Nu(st);Nt>q.maxLineLength&&(q.maxLine=st,q.maxLineLength=Nt,q.maxLineChanged=!0,ae=!1)}),ae&&(E.curOp.updateMaxLine=!0)),Mn(F,Z.line),h6(E,400);var Ce=I.text.length-(ie.line-Z.line)-1;I.full?kl(E):Z.line==ie.line&&I.text.length==1&&!Pue(E.doc,I)?Vh(E,Z.line,"text"):kl(E,Z.line,ie.line+1,Ce);var Ue=Fe(E,"changes"),Xe=Fe(E,"change");if(Xe||Ue){var pt={from:Z,to:ie,text:I.text,removed:I.removed,origin:I.origin};Xe&&pa(E,"change",E,pt),Ue&&(E.curOp.changeObjs||(E.curOp.changeObjs=[])).push(pt)}E.display.selForContextMenu=null}function Tb(E,I,H,F,q){var Z;F||(F=H),Bt(F,H)<0&&(Z=[F,H],H=Z[0],F=Z[1]),typeof I=="string"&&(I=E.splitLines(I)),Pb(E,{from:H,to:F,text:I,origin:q})}function Uue(E,I,H,F){H1||!(this.children[0]instanceof b6))){var ae=[];this.collapse(ae),this.children=[new b6(ae)],this.children[0].parent=this}},collapse:function(E){for(var I=0;I50){for(var ie=q.lines.length%25+25,ae=ie;ae10);E.parent.maybeSpill()}},iterN:function(E,I,H){for(var F=0;FE.display.maxLineLength&&(E.display.maxLine=Ce,E.display.maxLineLength=Ue,E.display.maxLineChanged=!0)}F!=null&&E&&this.collapsed&&kl(E,F,q+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,E&&zue(E.doc)),E&&pa(E,"markerCleared",E,this,F,q),I&&ag(E),this.parent&&this.parent.clear()}},Yh.prototype.find=function(E,I){E==null&&this.type=="bookmark"&&(E=1);for(var H,F,q=0;q0||ie==0&&Z.clearWhenEmpty!==!1)return Z;if(Z.replacedWith&&(Z.collapsed=!0,Z.widgetNode=M("span",[Z.replacedWith],"CodeMirror-widget"),F.handleMouseEvents||Z.widgetNode.setAttribute("cm-ignore-events","true"),F.insertLeft&&(Z.widgetNode.insertLeft=!0)),Z.collapsed){if(Ve(E,I.line,I,H,Z)||I.line!=H.line&&Ve(E,H.line,I,H,Z))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pa()}Z.addToHistory&&Iue(E,{from:I,to:H,origin:"markText"},E.sel,NaN);var ae=I.line,pe=E.cm,Ce;if(E.iter(ae,H.line+1,function(Xe){pe&&Z.collapsed&&!pe.options.lineWrapping&&Et(Xe)==pe.display.maxLine&&(Ce=!0),Z.collapsed&&ae!=I.line&&Pt(Xe,0),Ws(Xe,new Xo(Z,ae==I.line?I.ch:null,ae==H.line?H.ch:null),E.cm&&E.cm.curOp),++ae}),Z.collapsed&&E.iter(I.line,H.line+1,function(Xe){Ao(E,Xe)&&Pt(Xe,0)}),Z.clearOnEnter&&Be(Z,"beforeCursorEnter",function(){return Z.clear()}),Z.readOnly&&(qa(),(E.history.done.length||E.history.undone.length)&&E.clearHistory()),Z.collapsed&&(Z.id=++Yue,Z.atomic=!0),pe){if(Ce&&(pe.curOp.updateMaxLine=!0),Z.collapsed)kl(pe,I.line,H.line+1);else if(Z.className||Z.startStyle||Z.endStyle||Z.css||Z.attributes||Z.title)for(var Ue=I.line;Ue<=H.line;Ue++)Vh(pe,Ue,"text");Z.atomic&&zue(pe.doc),pa(pe,"markerAdded",pe,Z)}return Z}var x6=function(E,I){this.markers=E,this.primary=I;for(var H=0;H=0;pe--)Pb(this,F[pe]);ae?Due(this,ae):this.cm&&wb(this.cm)}),undo:ga(function(){_T(this,"undo")}),redo:ga(function(){_T(this,"redo")}),undoSelection:ga(function(){_T(this,"undo",!0)}),redoSelection:ga(function(){_T(this,"redo",!0)}),setExtending:function(E){this.extend=E},getExtending:function(){return this.extend},historySize:function(){for(var E=this.history,I=0,H=0,F=0;F=E.ch)&&I.push(q.marker.parent||q.marker)}return I},findMarks:function(E,I,H){E=Sn(this,E),I=Sn(this,I);var F=[],q=E.line;return this.iter(E.line,I.line+1,function(Z){var ie=Z.markedSpans;if(ie)for(var ae=0;ae=pe.to||pe.from==null&&q!=E.line||pe.from!=null&&q==I.line&&pe.from>=I.ch)&&(!H||H(pe.marker))&&F.push(pe.marker.parent||pe.marker)}++q}),F},getAllMarks:function(){var E=[];return this.iter(function(I){var H=I.markedSpans;if(H)for(var F=0;FE)return I=E,!0;E-=Z,++H}),Sn(this,gt(H,I))},indexFromPos:function(E){E=Sn(this,E);var I=E.ch;if(E.lineI&&(I=E.from),E.to!=null&&E.to-1){I.state.draggingText(E),setTimeout(function(){return I.display.input.focus()},20);return}try{var Ue=E.dataTransfer.getData("Text");if(Ue){var Xe;if(I.state.draggingText&&!I.state.draggingText.copy&&(Xe=I.listSelections()),ST(I.doc,Gh(H,H)),Xe)for(var pt=0;pt=0;ae--)Tb(E.doc,"",F[ae].from,F[ae].to,"+delete");wb(E)})}function DW(E,I,H){var F=Oe(E.text,I+H,H);return F<0||F>E.text.length?null:F}function LW(E,I,H){var F=DW(E,I.ch,H);return F==null?null:new gt(I.line,F,H<0?"after":"before")}function zW(E,I,H,F,q){if(E){I.doc.direction=="rtl"&&(q=-q);var Z=je(H,I.doc.direction);if(Z){var ie=q<0?ne(Z):Z[0],ae=q<0==(ie.level==1),pe=ae?"after":"before",Ce;if(ie.level>0||I.doc.direction=="rtl"){var Ue=Cb(I,H);Ce=q<0?H.text.length-1:0;var Xe=Fd(I,Ue,Ce).top;Ce=Pe(function(pt){return Fd(I,Ue,pt).top==Xe},q<0==(ie.level==1)?ie.from:ie.to-1,Ce),pe=="before"&&(Ce=DW(H,Ce,1))}else Ce=q<0?ie.to:ie.from;return new gt(F,Ce,pe)}}return new gt(F,q<0?H.text.length:0,q<0?"before":"after")}function blt(E,I,H,F){var q=je(I,E.doc.direction);if(!q)return LW(I,H,F);H.ch>=I.text.length?(H.ch=I.text.length,H.sticky="before"):H.ch<=0&&(H.ch=0,H.sticky="after");var Z=Te(q,H.ch,H.sticky),ie=q[Z];if(E.doc.direction=="ltr"&&ie.level%2==0&&(F>0?ie.to>H.ch:ie.from=ie.from&&pt>=Ue.begin)){var st=Xe?"before":"after";return new gt(H.line,pt,st)}}var Nt=function(fn,yn,pn){for(var xn=function(xi,ma){return ma?new gt(H.line,ae(xi,1),"before"):new gt(H.line,xi,"after")};fn>=0&&fn0==(Ln.level!=1),mr=jn?pn.begin:ae(pn.end,-1);if(Ln.from<=mr&&mr0?Ue.end:ae(Ue.begin,-1);return tn!=null&&!(F>0&&tn==I.text.length)&&(Ft=Nt(F>0?0:q.length-1,F,Ce(tn)),Ft)?Ft:null}var O6={selectAll:Hue,singleSelection:function(E){return E.setSelection(E.getCursor("anchor"),E.getCursor("head"),G)},killLine:function(E){return Ib(E,function(I){if(I.empty()){var H=$t(E.doc,I.head.line).text.length;return I.head.ch==H&&I.head.line0)q=new gt(q.line,q.ch+1),E.replaceRange(Z.charAt(q.ch-1)+Z.charAt(q.ch-2),gt(q.line,q.ch-2),q,"+transpose");else if(q.line>E.doc.first){var ie=$t(E.doc,q.line-1).text;ie&&(q=new gt(q.line,1),E.replaceRange(Z.charAt(0)+E.doc.lineSeparator()+ie.charAt(ie.length-1),gt(q.line-1,ie.length-1),q,"+transpose"))}}H.push(new Kr(q,q))}E.setSelections(H)})},newlineAndIndent:function(E){return ls(E,function(){for(var I=E.listSelections(),H=I.length-1;H>=0;H--)E.replaceRange(E.doc.lineSeparator(),I[H].anchor,I[H].head,"+input");I=E.listSelections();for(var F=0;FE&&Bt(I,this.pos)==0&&H==this.button};var $6,P6;function Elt(E,I){var H=+new Date;return P6&&P6.compare(H,E,I)?($6=P6=null,"triple"):$6&&$6.compare(H,E,I)?(P6=new FW(H,E,I),$6=null,"double"):($6=new FW(H,E,I),P6=null,"single")}function fde(E){var I=this,H=I.display;if(!($e(I,E)||H.activeTouch&&H.input.supportsTouch())){if(H.input.ensurePolled(),H.shift=E.shiftKey,Qf(H,E)){s||(H.scroller.draggable=!1,setTimeout(function(){return H.scroller.draggable=!0},100));return}if(!HW(I,E)){var F=tg(I,E),q=We(E),Z=F?Elt(F,q):"single";window.focus(),q==1&&I.state.selectingText&&I.state.selectingText(E),!(F&&$lt(I,q,F,Z,E))&&(q==1?F?Tlt(I,F,Z,E):De(E)==H.scroller&<(E):q==2?(F&&CT(I.doc,F),setTimeout(function(){return H.input.focus()},20)):q==3&&(w?I.display.input.onContextMenu(E):xW(I)))}}}function $lt(E,I,H,F,q){var Z="Click";return F=="double"?Z="Double"+Z:F=="triple"&&(Z="Triple"+Z),Z=(I==1?"Left":I==2?"Middle":"Right")+Z,E6(E,rde(Z,q),q,function(ie){if(typeof ie=="string"&&(ie=O6[ie]),!ie)return!1;var ae=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),ae=ie(E,H)!=X}finally{E.state.suppressEdits=!1}return ae})}function Plt(E,I,H){var F=E.getOption("configureMouse"),q=F?F(E,I,H):{};if(q.unit==null){var Z=b?H.shiftKey&&H.metaKey:H.altKey;q.unit=Z?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(q.extend==null||E.doc.extend)&&(q.extend=E.doc.extend||H.shiftKey),q.addNew==null&&(q.addNew=y?H.metaKey:H.ctrlKey),q.moveOnDrag==null&&(q.moveOnDrag=!(y?H.altKey:H.ctrlKey)),q}function Tlt(E,I,H,F){a?setTimeout(j(pue,E),0):E.curOp.focus=k();var q=Plt(E,H,F),Z=E.doc.sel,ie;E.options.dragDrop&&Ge&&!E.isReadOnly()&&H=="single"&&(ie=Z.contains(I))>-1&&(Bt((ie=Z.ranges[ie]).from(),I)<0||I.xRel>0)&&(Bt(ie.to(),I)>0||I.xRel<0)?Mlt(E,F,I,q):Rlt(E,F,I,q)}function Mlt(E,I,H,F){var q=E.display,Z=!1,ie=ha(E,function(Ce){s&&(q.scroller.draggable=!1),E.state.draggingText=!1,E.state.delayingBlurEvent&&(E.hasFocus()?E.state.delayingBlurEvent=!1:xW(E)),me(q.wrapper.ownerDocument,"mouseup",ie),me(q.wrapper.ownerDocument,"mousemove",ae),me(q.scroller,"dragstart",pe),me(q.scroller,"drop",ie),Z||(lt(Ce),F.addNew||CT(E.doc,H,null,null,F.extend),s&&!h||a&&l==9?setTimeout(function(){q.wrapper.ownerDocument.body.focus({preventScroll:!0}),q.input.focus()},20):q.input.focus())}),ae=function(Ce){Z=Z||Math.abs(I.clientX-Ce.clientX)+Math.abs(I.clientY-Ce.clientY)>=10},pe=function(){return Z=!0};s&&(q.scroller.draggable=!0),E.state.draggingText=ie,ie.copy=!F.moveOnDrag,Be(q.wrapper.ownerDocument,"mouseup",ie),Be(q.wrapper.ownerDocument,"mousemove",ae),Be(q.scroller,"dragstart",pe),Be(q.scroller,"drop",ie),E.state.delayingBlurEvent=!0,setTimeout(function(){return q.input.focus()},20),q.scroller.dragDrop&&q.scroller.dragDrop()}function pde(E,I,H){if(H=="char")return new Kr(I,I);if(H=="word")return E.findWordAt(I);if(H=="line")return new Kr(gt(I.line,0),Sn(E.doc,gt(I.line+1,0)));var F=H(E,I);return new Kr(F.from,F.to)}function Rlt(E,I,H,F){a&&xW(E);var q=E.display,Z=E.doc;lt(I);var ie,ae,pe=Z.sel,Ce=pe.ranges;if(F.addNew&&!F.extend?(ae=Z.sel.contains(H),ae>-1?ie=Ce[ae]:ie=new Kr(H,H)):(ie=Z.sel.primary(),ae=Z.sel.primIndex),F.unit=="rectangle")F.addNew||(ie=new Kr(H,H)),H=tg(E,I,!0,!0),ae=-1;else{var Ue=pde(E,H,F.unit);F.extend?ie=kW(ie,Ue.anchor,Ue.head,F.extend):ie=Ue}F.addNew?ae==-1?(ae=Ce.length,Va(Z,ku(E,Ce.concat([ie]),ae),{scroll:!1,origin:"*mouse"})):Ce.length>1&&Ce[ae].empty()&&F.unit=="char"&&!F.extend?(Va(Z,ku(E,Ce.slice(0,ae).concat(Ce.slice(ae+1)),0),{scroll:!1,origin:"*mouse"}),pe=Z.sel):jW(Z,ae,ie,Y):(ae=0,Va(Z,new qs([ie],0),Y),pe=Z.sel);var Xe=H;function pt(pn){if(Bt(Xe,pn)!=0)if(Xe=pn,F.unit=="rectangle"){for(var xn=[],Ln=E.options.tabSize,jn=V($t(Z,H.line).text,H.ch,Ln),mr=V($t(Z,pn.line).text,pn.ch,Ln),xi=Math.min(jn,mr),ma=Math.max(jn,mr),io=Math.min(H.line,pn.line),ss=Math.min(E.lastLine(),Math.max(H.line,pn.line));io<=ss;io++){var Dl=$t(Z,io).text,ko=ee(Dl,xi,Ln);xi==ma?xn.push(new Kr(gt(io,ko),gt(io,ko))):Dl.length>ko&&xn.push(new Kr(gt(io,ko),gt(io,ee(Dl,ma,Ln))))}xn.length||xn.push(new Kr(H,H)),Va(Z,ku(E,pe.ranges.slice(0,ae).concat(xn),ae),{origin:"*mouse",scroll:!1}),E.scrollIntoView(pn)}else{var Ll=ie,Ra=pde(E,pn,F.unit),Yo=Ll.anchor,jo;Bt(Ra.anchor,Yo)>0?(jo=Ra.head,Yo=ei(Ll.from(),Ra.anchor)):(jo=Ra.anchor,Yo=Ar(Ll.to(),Ra.head));var so=pe.ranges.slice(0);so[ae]=Ilt(E,new Kr(Sn(Z,Yo),jo)),Va(Z,ku(E,so,ae),Y)}}var st=q.wrapper.getBoundingClientRect(),Nt=0;function Ft(pn){var xn=++Nt,Ln=tg(E,pn,!0,F.unit=="rectangle");if(Ln)if(Bt(Ln,Xe)!=0){E.curOp.focus=k(),pt(Ln);var jn=hT(q,Z);(Ln.line>=jn.to||Ln.linest.bottom?20:0;mr&&setTimeout(ha(E,function(){Nt==xn&&(q.scroller.scrollTop+=mr,Ft(pn))}),50)}}function tn(pn){E.state.selectingText=!1,Nt=1/0,pn&&(lt(pn),q.input.focus()),me(q.wrapper.ownerDocument,"mousemove",fn),me(q.wrapper.ownerDocument,"mouseup",yn),Z.history.lastSelOrigin=null}var fn=ha(E,function(pn){pn.buttons===0||!We(pn)?tn(pn):Ft(pn)}),yn=ha(E,tn);E.state.selectingText=yn,Be(q.wrapper.ownerDocument,"mousemove",fn),Be(q.wrapper.ownerDocument,"mouseup",yn)}function Ilt(E,I){var H=I.anchor,F=I.head,q=$t(E.doc,H.line);if(Bt(H,F)==0&&H.sticky==F.sticky)return I;var Z=je(q);if(!Z)return I;var ie=Te(Z,H.ch,H.sticky),ae=Z[ie];if(ae.from!=H.ch&&ae.to!=H.ch)return I;var pe=ie+(ae.from==H.ch==(ae.level!=1)?0:1);if(pe==0||pe==Z.length)return I;var Ce;if(F.line!=H.line)Ce=(F.line-H.line)*(E.doc.direction=="ltr"?1:-1)>0;else{var Ue=Te(Z,F.ch,F.sticky),Xe=Ue-ie||(F.ch-H.ch)*(ae.level==1?-1:1);Ue==pe-1||Ue==pe?Ce=Xe<0:Ce=Xe>0}var pt=Z[pe+(Ce?-1:0)],st=Ce==(pt.level==1),Nt=st?pt.from:pt.to,Ft=st?"after":"before";return H.ch==Nt&&H.sticky==Ft?I:new Kr(new gt(H.line,Nt,Ft),F)}function hde(E,I,H,F){var q,Z;if(I.touches)q=I.touches[0].clientX,Z=I.touches[0].clientY;else try{q=I.clientX,Z=I.clientY}catch{return!1}if(q>=Math.floor(E.display.gutters.getBoundingClientRect().right))return!1;F&<(I);var ie=E.display,ae=ie.lineDiv.getBoundingClientRect();if(Z>ae.bottom||!Fe(E,H))return Ye(I);Z-=ae.top-ie.viewOffset;for(var pe=0;pe=q){var Ue=Wt(E.doc,Z),Xe=E.display.gutterSpecs[pe];return Ee(E,H,E,Ue,Xe.className,I),Ye(I)}}}function HW(E,I){return hde(E,I,"gutterClick",!0)}function gde(E,I){Qf(E.display,I)||Nlt(E,I)||$e(E,I,"contextmenu")||w||E.display.input.onContextMenu(I)}function Nlt(E,I){return Fe(E,"gutterContextMenu")?hde(E,I,"gutterContextMenu",!1):!1}function mde(E){E.display.wrapper.className=E.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+E.options.theme.replace(/(^|\s)\s*/g," cm-s-"),s6(E)}var Nb={toString:function(){return"CodeMirror.Init"}},vde={},$T={};function Alt(E){var I=E.optionHandlers;function H(F,q,Z,ie){E.defaults[F]=q,Z&&(I[F]=ie?function(ae,pe,Ce){Ce!=Nb&&Z(ae,pe,Ce)}:Z)}E.defineOption=H,E.Init=Nb,H("value","",function(F,q){return F.setValue(q)},!0),H("mode",null,function(F,q){F.doc.modeOption=q,IW(F)},!0),H("indentUnit",2,IW,!0),H("indentWithTabs",!1),H("smartIndent",!0),H("tabSize",4,function(F){m6(F),s6(F),kl(F)},!0),H("lineSeparator",null,function(F,q){if(F.doc.lineSep=q,!!q){var Z=[],ie=F.doc.first;F.doc.iter(function(pe){for(var Ce=0;;){var Ue=pe.text.indexOf(q,Ce);if(Ue==-1)break;Ce=Ue+q.length,Z.push(gt(ie,Ue))}ie++});for(var ae=Z.length-1;ae>=0;ae--)Tb(F.doc,q,Z[ae],gt(Z[ae].line,Z[ae].ch+q.length))}}),H("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(F,q,Z){F.state.specialChars=new RegExp(q.source+(q.test(" ")?"":"| "),"g"),Z!=Nb&&F.refresh()}),H("specialCharPlaceholder",cat,function(F){return F.refresh()},!0),H("electricChars",!0),H("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),H("spellcheck",!1,function(F,q){return F.getInputField().spellcheck=q},!0),H("autocorrect",!1,function(F,q){return F.getInputField().autocorrect=q},!0),H("autocapitalize",!1,function(F,q){return F.getInputField().autocapitalize=q},!0),H("rtlMoveVisually",!C),H("wholeLineUpdateBefore",!0),H("theme","default",function(F){mde(F),g6(F)},!0),H("keyMap","default",function(F,q,Z){var ie=OT(q),ae=Z!=Nb&&OT(Z);ae&&ae.detach&&ae.detach(F,ie),ie.attach&&ie.attach(F,ae||null)}),H("extraKeys",null),H("configureMouse",null),H("lineWrapping",!1,jlt,!0),H("gutters",[],function(F,q){F.display.gutterSpecs=MW(q,F.options.lineNumbers),g6(F)},!0),H("fixedGutter",!0,function(F,q){F.display.gutters.style.left=q?yW(F.display)+"px":"0",F.refresh()},!0),H("coverGutterNextToScrollbar",!1,function(F){return Ob(F)},!0),H("scrollbarStyle","native",function(F){bue(F),Ob(F),F.display.scrollbars.setScrollTop(F.doc.scrollTop),F.display.scrollbars.setScrollLeft(F.doc.scrollLeft)},!0),H("lineNumbers",!1,function(F,q){F.display.gutterSpecs=MW(F.options.gutters,q),g6(F)},!0),H("firstLineNumber",1,g6,!0),H("lineNumberFormatter",function(F){return F},g6,!0),H("showCursorWhenSelecting",!1,c6,!0),H("resetSelectionOnContextMenu",!0),H("lineWiseCopyCut",!0),H("pasteLinesPerSelection",!0),H("selectionsMayTouch",!1),H("readOnly",!1,function(F,q){q=="nocursor"&&(_b(F),F.display.input.blur()),F.display.input.readOnlyChanged(q)}),H("screenReaderLabel",null,function(F,q){q=q===""?null:q,F.display.input.screenReaderLabelChanged(q)}),H("disableInput",!1,function(F,q){q||F.display.input.reset()},!0),H("dragDrop",!0,klt),H("allowDropFileTypes",null),H("cursorBlinkRate",530),H("cursorScrollMargin",0),H("cursorHeight",1,c6,!0),H("singleCursorHeightPerLine",!0,c6,!0),H("workTime",100),H("workDelay",100),H("flattenSpans",!0,m6,!0),H("addModeClass",!1,m6,!0),H("pollInterval",100),H("undoDepth",200,function(F,q){return F.doc.history.undoDepth=q}),H("historyEventDelay",1250),H("viewportMargin",10,function(F){return F.refresh()},!0),H("maxHighlightLength",1e4,m6,!0),H("moveInputWithCursor",!0,function(F,q){q||F.display.input.resetPosition()}),H("tabindex",null,function(F,q){return F.display.input.getField().tabIndex=q||""}),H("autofocus",null),H("direction","ltr",function(F,q){return F.doc.setDirection(q)},!0),H("phrases",null)}function klt(E,I,H){var F=H&&H!=Nb;if(!I!=!F){var q=E.display.dragFunctions,Z=I?Be:me;Z(E.display.scroller,"dragstart",q.start),Z(E.display.scroller,"dragenter",q.enter),Z(E.display.scroller,"dragover",q.over),Z(E.display.scroller,"dragleave",q.leave),Z(E.display.scroller,"drop",q.drop)}}function jlt(E){E.options.lineWrapping?(D(E.display.wrapper,"CodeMirror-wrap"),E.display.sizer.style.minWidth="",E.display.sizerWidth=null):($(E.display.wrapper,"CodeMirror-wrap"),vb(E)),bW(E),kl(E),s6(E),setTimeout(function(){return Ob(E)},100)}function qi(E,I){var H=this;if(!(this instanceof qi))return new qi(E,I);this.options=I=I?z(I):{},z(vde,I,!1);var F=I.value;typeof F=="string"?F=new jl(F,I.mode,null,I.lineSeparator,I.direction):I.mode&&(F.modeOption=I.mode),this.doc=F;var q=new qi.inputStyles[I.inputStyle](this),Z=this.display=new Xat(E,F,q,I);Z.wrapper.CodeMirror=this,mde(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),bue(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new W,keySeq:null,specialChars:null},I.autofocus&&!v&&Z.input.focus(),a&&l<11&&setTimeout(function(){return H.display.input.reset(!0)},20),Dlt(this),hlt(),og(this),this.curOp.forceUpdate=!0,Tue(this,F),I.autofocus&&!v||this.hasFocus()?setTimeout(function(){H.hasFocus()&&!H.state.focused&&_W(H)},20):_b(this);for(var ie in $T)$T.hasOwnProperty(ie)&&$T[ie](this,I[ie],Nb);xue(this),I.finishInit&&I.finishInit(this);for(var ae=0;ae20*20}Be(I.scroller,"touchstart",function(pe){if(!$e(E,pe)&&!Z(pe)&&!HW(E,pe)){I.input.ensurePolled(),clearTimeout(H);var Ce=+new Date;I.activeTouch={start:Ce,moved:!1,prev:Ce-F.end<=300?F:null},pe.touches.length==1&&(I.activeTouch.left=pe.touches[0].pageX,I.activeTouch.top=pe.touches[0].pageY)}}),Be(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),Be(I.scroller,"touchend",function(pe){var Ce=I.activeTouch;if(Ce&&!Qf(I,pe)&&Ce.left!=null&&!Ce.moved&&new Date-Ce.start<300){var Ue=E.coordsChar(I.activeTouch,"page"),Xe;!Ce.prev||ie(Ce,Ce.prev)?Xe=new Kr(Ue,Ue):!Ce.prev.prev||ie(Ce,Ce.prev.prev)?Xe=E.findWordAt(Ue):Xe=new Kr(gt(Ue.line,0),Sn(E.doc,gt(Ue.line+1,0))),E.setSelection(Xe.anchor,Xe.head),E.focus(),lt(pe)}q()}),Be(I.scroller,"touchcancel",q),Be(I.scroller,"scroll",function(){I.scroller.clientHeight&&(d6(E,I.scroller.scrollTop),rg(E,I.scroller.scrollLeft,!0),Ee(E,"scroll",E))}),Be(I.scroller,"mousewheel",function(pe){return Oue(E,pe)}),Be(I.scroller,"DOMMouseScroll",function(pe){return Oue(E,pe)}),Be(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(pe){$e(E,pe)||we(pe)},over:function(pe){$e(E,pe)||(plt(E,pe),we(pe))},start:function(pe){return flt(E,pe)},drop:ha(E,dlt),leave:function(pe){$e(E,pe)||Jue(E)}};var ae=I.input.getField();Be(ae,"keyup",function(pe){return ude.call(E,pe)}),Be(ae,"keydown",ha(E,cde)),Be(ae,"keypress",ha(E,dde)),Be(ae,"focus",function(pe){return _W(E,pe)}),Be(ae,"blur",function(pe){return _b(E,pe)})}var WW=[];qi.defineInitHook=function(E){return WW.push(E)};function T6(E,I,H,F){var q=E.doc,Z;H==null&&(H="add"),H=="smart"&&(q.mode.indent?Z=yr(E,I).state:H="prev");var ie=E.options.tabSize,ae=$t(q,I),pe=V(ae.text,null,ie);ae.stateAfter&&(ae.stateAfter=null);var Ce=ae.text.match(/^\s*/)[0],Ue;if(!F&&!/\S/.test(ae.text))Ue=0,H="not";else if(H=="smart"&&(Ue=q.mode.indent(Z,ae.text.slice(Ce.length),ae.text),Ue==X||Ue>150)){if(!F)return;H="prev"}H=="prev"?I>q.first?Ue=V($t(q,I-1).text,null,ie):Ue=0:H=="add"?Ue=pe+E.options.indentUnit:H=="subtract"?Ue=pe-E.options.indentUnit:typeof H=="number"&&(Ue=pe+H),Ue=Math.max(0,Ue);var Xe="",pt=0;if(E.options.indentWithTabs)for(var st=Math.floor(Ue/ie);st;--st)pt+=ie,Xe+=" ";if(ptie,pe=rt(I),Ce=null;if(ae&&F.ranges.length>1)if(ju&&ju.text.join(` + left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");E.display.lineSpace.appendChild(Z),Z.scrollIntoView(V),E.display.lineSpace.removeChild(Z)}}}function Aat(E,I,H,F){F==null&&(F=0);var V;!E.options.lineWrapping&&I==H&&(H=I.sticky=="before"?gt(I.line,I.ch+1,"before"):I,I=I.ch?gt(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I);for(var Z=0;Z<5;Z++){var ie=!1,ae=Au(E,I),pe=!H||H==I?ae:Au(E,H);V={left:Math.min(ae.left,pe.left),top:Math.min(ae.top,pe.top)-F,right:Math.max(ae.left,pe.left),bottom:Math.max(ae.bottom,pe.bottom)+F};var Ce=OW(E,V),Ue=E.doc.scrollTop,Xe=E.doc.scrollLeft;if(Ce.scrollTop!=null&&(d6(E,Ce.scrollTop),Math.abs(E.doc.scrollTop-Ue)>1&&(ie=!0)),Ce.scrollLeft!=null&&(rg(E,Ce.scrollLeft),Math.abs(E.doc.scrollLeft-Xe)>1&&(ie=!0)),!ie)break}return V}function kat(E,I){var H=OW(E,I);H.scrollTop!=null&&d6(E,H.scrollTop),H.scrollLeft!=null&&rg(E,H.scrollLeft)}function OW(E,I){var H=E.display,F=Sb(E.display);I.top<0&&(I.top=0);var V=E.curOp&&E.curOp.scrollTop!=null?E.curOp.scrollTop:H.scroller.scrollTop,Z=fW(E),ie={};I.bottom-I.top>Z&&(I.bottom=I.top+Z);var ae=E.doc.height+dW(H),pe=I.topae-F;if(I.topV+Z){var Ue=Math.min(I.top,(Ce?ae:I.bottom)-Z);Ue!=V&&(ie.scrollTop=Ue)}var Xe=E.options.fixedGutter?0:H.gutters.offsetWidth,pt=E.curOp&&E.curOp.scrollLeft!=null?E.curOp.scrollLeft:H.scroller.scrollLeft-Xe,st=J0(E)-H.gutters.offsetWidth,Nt=I.right-I.left>st;return Nt&&(I.right=I.left+st),I.left<10?ie.scrollLeft=0:I.leftst+pt-3&&(ie.scrollLeft=I.right+(Nt?0:10)-st),ie}function EW(E,I){I!=null&&(mT(E),E.curOp.scrollTop=(E.curOp.scrollTop==null?E.doc.scrollTop:E.curOp.scrollTop)+I)}function wb(E){mT(E);var I=E.getCursor();E.curOp.scrollToPos={from:I,to:I,margin:E.options.cursorScrollMargin}}function u6(E,I,H){(I!=null||H!=null)&&mT(E),I!=null&&(E.curOp.scrollLeft=I),H!=null&&(E.curOp.scrollTop=H)}function jat(E,I){mT(E),E.curOp.scrollToPos=I}function mT(E){var I=E.curOp.scrollToPos;if(I){E.curOp.scrollToPos=null;var H=sue(E,I.from),F=sue(E,I.to);mue(E,H,F,I.margin)}}function mue(E,I,H,F){var V=OW(E,{left:Math.min(I.left,H.left),top:Math.min(I.top,H.top)-F,right:Math.max(I.right,H.right),bottom:Math.max(I.bottom,H.bottom)+F});u6(E,V.scrollLeft,V.scrollTop)}function d6(E,I){Math.abs(E.doc.scrollTop-I)<2||(n||PW(E,{top:I}),vue(E,I,!0),n&&PW(E),h6(E,100))}function vue(E,I,H){I=Math.max(0,Math.min(E.display.scroller.scrollHeight-E.display.scroller.clientHeight,I)),!(E.display.scroller.scrollTop==I&&!H)&&(E.doc.scrollTop=I,E.display.scrollbars.setScrollTop(I),E.display.scroller.scrollTop!=I&&(E.display.scroller.scrollTop=I))}function rg(E,I,H,F){I=Math.max(0,Math.min(I,E.display.scroller.scrollWidth-E.display.scroller.clientWidth)),!((H?I==E.doc.scrollLeft:Math.abs(E.doc.scrollLeft-I)<2)&&!F)&&(E.doc.scrollLeft=I,xue(E),E.display.scroller.scrollLeft!=I&&(E.display.scroller.scrollLeft=I),E.display.scrollbars.setScrollLeft(I))}function f6(E){var I=E.display,H=I.gutters.offsetWidth,F=Math.round(E.doc.height+dW(E.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:E.options.fixedGutter?H:0,docHeight:F,scrollHeight:F+Bd(E)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:H}}var ig=function(E,I,H){this.cm=H;var F=this.vert=R("div",[R("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),V=this.horiz=R("div",[R("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");F.tabIndex=V.tabIndex=-1,E(F),E(V),Be(F,"scroll",function(){F.clientHeight&&I(F.scrollTop,"vertical")}),Be(V,"scroll",function(){V.clientWidth&&I(V.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ig.prototype.update=function(E){var I=E.scrollWidth>E.clientWidth+1,H=E.scrollHeight>E.clientHeight+1,F=E.nativeBarWidth;if(H){this.vert.style.display="block",this.vert.style.bottom=I?F+"px":"0";var V=E.viewHeight-(I?F:0);this.vert.firstChild.style.height=Math.max(0,E.scrollHeight-E.clientHeight+V)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(I){this.horiz.style.display="block",this.horiz.style.right=H?F+"px":"0",this.horiz.style.left=E.barLeft+"px";var Z=E.viewWidth-E.barLeft-(H?F:0);this.horiz.firstChild.style.width=Math.max(0,E.scrollWidth-E.clientWidth+Z)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&E.clientHeight>0&&(F==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:H?F:0,bottom:I?F:0}},ig.prototype.setScrollLeft=function(E){this.horiz.scrollLeft!=E&&(this.horiz.scrollLeft=E),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ig.prototype.setScrollTop=function(E){this.vert.scrollTop!=E&&(this.vert.scrollTop=E),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ig.prototype.zeroWidthHack=function(){var E=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=E,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new W,this.disableVert=new W},ig.prototype.enableZeroWidthBar=function(E,I,H){E.style.pointerEvents="auto";function F(){var V=E.getBoundingClientRect(),Z=H=="vert"?document.elementFromPoint(V.right-1,(V.top+V.bottom)/2):document.elementFromPoint((V.right+V.left)/2,V.bottom-1);Z!=E?E.style.pointerEvents="none":I.set(1e3,F)}I.set(1e3,F)},ig.prototype.clear=function(){var E=this.horiz.parentNode;E.removeChild(this.horiz),E.removeChild(this.vert)};var p6=function(){};p6.prototype.update=function(){return{bottom:0,right:0}},p6.prototype.setScrollLeft=function(){},p6.prototype.setScrollTop=function(){},p6.prototype.clear=function(){};function Ob(E,I){I||(I=f6(E));var H=E.display.barWidth,F=E.display.barHeight;yue(E,I);for(var V=0;V<4&&H!=E.display.barWidth||F!=E.display.barHeight;V++)H!=E.display.barWidth&&E.options.lineWrapping&&hT(E),yue(E,f6(E)),H=E.display.barWidth,F=E.display.barHeight}function yue(E,I){var H=E.display,F=H.scrollbars.update(I);H.sizer.style.paddingRight=(H.barWidth=F.right)+"px",H.sizer.style.paddingBottom=(H.barHeight=F.bottom)+"px",H.heightForcer.style.borderBottom=F.bottom+"px solid transparent",F.right&&F.bottom?(H.scrollbarFiller.style.display="block",H.scrollbarFiller.style.height=F.bottom+"px",H.scrollbarFiller.style.width=F.right+"px"):H.scrollbarFiller.style.display="",F.bottom&&E.options.coverGutterNextToScrollbar&&E.options.fixedGutter?(H.gutterFiller.style.display="block",H.gutterFiller.style.height=F.bottom+"px",H.gutterFiller.style.width=I.gutterWidth+"px"):H.gutterFiller.style.display=""}var bue={native:ig,null:p6};function Cue(E){E.display.scrollbars&&(E.display.scrollbars.clear(),E.display.scrollbars.addClass&&$(E.display.wrapper,E.display.scrollbars.addClass)),E.display.scrollbars=new bue[E.options.scrollbarStyle](function(I){E.display.wrapper.insertBefore(I,E.display.scrollbarFiller),Be(I,"mousedown",function(){E.state.focused&&setTimeout(function(){return E.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,H){H=="horizontal"?rg(E,I):d6(E,I)},E),E.display.scrollbars.addClass&&D(E.display.wrapper,E.display.scrollbars.addClass)}var Dat=0;function og(E){E.curOp={cm:E,viewChanged:!1,startHeight:E.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Dat,markArrays:null},hat(E.curOp)}function ag(E){var I=E.curOp;I&&mat(I,function(H){for(var F=0;F=H.viewTo)||H.maxLineChanged&&I.options.lineWrapping,E.update=E.mustUpdate&&new vT(I,E.mustUpdate&&{top:E.scrollTop,ensure:E.scrollToPos},E.forceUpdate)}function Bat(E){E.updatedDisplay=E.mustUpdate&&$W(E.cm,E.update)}function Fat(E){var I=E.cm,H=I.display;E.updatedDisplay&&hT(I),E.barMeasure=f6(I),H.maxLineChanged&&!I.options.lineWrapping&&(E.adjustWidthTo=eue(I,H.maxLine,H.maxLine.text.length).left+3,I.display.sizerWidth=E.adjustWidthTo,E.barMeasure.scrollWidth=Math.max(H.scroller.clientWidth,H.sizer.offsetLeft+E.adjustWidthTo+Bd(I)+I.display.barWidth),E.maxScrollLeft=Math.max(0,H.sizer.offsetLeft+E.adjustWidthTo-J0(I))),(E.updatedDisplay||E.selectionChanged)&&(E.preparedSelection=H.input.prepareSelection())}function Hat(E){var I=E.cm;E.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=E.adjustWidthTo+"px",E.maxScrollLeft=E.display.viewTo)){var H=+new Date+E.options.workTime,F=yr(E,I.highlightFrontier),V=[];I.iter(F.line,Math.min(I.first+I.size,E.display.viewTo+500),function(Z){if(F.line>=E.display.viewFrom){var ie=Z.styles,ae=Z.text.length>E.options.maxHighlightLength?xt(I.mode,F.state):null,pe=gn(E,Z,F,!0);ae&&(F.state=ae),Z.styles=pe.styles;var Ce=Z.styleClasses,Ue=pe.classes;Ue?Z.styleClasses=Ue:Ce&&(Z.styleClasses=null);for(var Xe=!ie||ie.length!=Z.styles.length||Ce!=Ue&&(!Ce||!Ue||Ce.bgClass!=Ue.bgClass||Ce.textClass!=Ue.textClass),pt=0;!Xe&&ptH)return h6(E,E.options.workDelay),!0}),I.highlightFrontier=F.line,I.modeFrontier=Math.max(I.modeFrontier,F.line),V.length&&ls(E,function(){for(var Z=0;Z=H.viewFrom&&I.visible.to<=H.viewTo&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo)&&H.renderedView==H.view&&fue(E)==0)return!1;_ue(E)&&(Uh(E),I.dims=yW(E));var V=F.first+F.size,Z=Math.max(I.visible.from-E.options.viewportMargin,F.first),ie=Math.min(V,I.visible.to+E.options.viewportMargin);H.viewFromie&&H.viewTo-ie<20&&(ie=Math.min(V,H.viewTo)),$r&&(Z=So(E.doc,Z),ie=Ta(E.doc,ie));var ae=Z!=H.viewFrom||ie!=H.viewTo||H.lastWrapHeight!=I.wrapperHeight||H.lastWrapWidth!=I.wrapperWidth;Rat(E,Z,ie),H.viewOffset=Dc($t(E.doc,H.viewFrom)),E.display.mover.style.top=H.viewOffset+"px";var pe=fue(E);if(!ae&&pe==0&&!I.force&&H.renderedView==H.view&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo))return!1;var Ce=Uat(E);return pe>4&&(H.lineDiv.style.display="none"),Kat(E,H.updateLineNumbers,I.dims),pe>4&&(H.lineDiv.style.display=""),H.renderedView=H.view,Gat(Ce),P(H.cursorDiv),P(H.selectionDiv),H.gutters.style.height=H.sizer.style.minHeight=0,ae&&(H.lastWrapHeight=I.wrapperHeight,H.lastWrapWidth=I.wrapperWidth,h6(E,400)),H.updateLineNumbers=null,!0}function Sue(E,I){for(var H=I.viewport,F=!0;;F=!1){if(!F||!E.options.lineWrapping||I.oldDisplayWidth==J0(E)){if(H&&H.top!=null&&(H={top:Math.min(E.doc.height+dW(E.display)-fW(E),H.top)}),I.visible=gT(E.display,E.doc,H),I.visible.from>=E.display.viewFrom&&I.visible.to<=E.display.viewTo)break}else F&&(I.visible=gT(E.display,E.doc,H));if(!$W(E,I))break;hT(E);var V=f6(E);c6(E),Ob(E,V),MW(E,V),I.force=!1}I.signal(E,"update",E),(E.display.viewFrom!=E.display.reportedViewFrom||E.display.viewTo!=E.display.reportedViewTo)&&(I.signal(E,"viewportChange",E,E.display.viewFrom,E.display.viewTo),E.display.reportedViewFrom=E.display.viewFrom,E.display.reportedViewTo=E.display.viewTo)}function PW(E,I){var H=new vT(E,I);if($W(E,H)){hT(E),Sue(E,H);var F=f6(E);c6(E),Ob(E,F),MW(E,F),H.finish()}}function Kat(E,I,H){var F=E.display,V=E.options.lineNumbers,Z=F.lineDiv,ie=Z.firstChild;function ae(Nt){var Ft=Nt.nextSibling;return s&&y&&E.display.currentWheelTarget==Nt?Nt.style.display="none":Nt.parentNode.removeChild(Nt),Ft}for(var pe=F.view,Ce=F.viewFrom,Ue=0;Ue-1&&(st=!1),Gce(E,Xe,Ce,H)),st&&(P(Xe.lineNumber),Xe.lineNumber.appendChild(document.createTextNode(kt(E.options,Ce)))),ie=Xe.node.nextSibling}Ce+=Xe.size}for(;ie;)ie=ae(ie)}function TW(E){var I=E.gutters.offsetWidth;E.sizer.style.marginLeft=I+"px",pa(E,"gutterChanged",E)}function MW(E,I){E.display.sizer.style.minHeight=I.docHeight+"px",E.display.heightForcer.style.top=I.docHeight+"px",E.display.gutters.style.height=I.docHeight+E.display.barHeight+Bd(E)+"px"}function xue(E){var I=E.display,H=I.view;if(!(!I.alignWidgets&&(!I.gutters.firstChild||!E.options.fixedGutter))){for(var F=bW(I)-I.scroller.scrollLeft+E.doc.scrollLeft,V=I.gutters.offsetWidth,Z=F+"px",ie=0;ieae.clientWidth,Ce=ae.scrollHeight>ae.clientHeight;if(F&&pe||V&&Ce){if(V&&y&&s){e:for(var Ue=I.target,Xe=ie.view;Ue!=ae;Ue=Ue.parentNode)for(var pt=0;pt=0&&Bt(E,F.to())<=0)return H}return-1};var Kr=function(E,I){this.anchor=E,this.head=I};Kr.prototype.from=function(){return ei(this.anchor,this.head)},Kr.prototype.to=function(){return Ar(this.anchor,this.head)},Kr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ku(E,I,H){var F=E&&E.options.selectionsMayTouch,V=I[H];I.sort(function(pt,st){return Bt(pt.from(),st.from())}),H=U(I,V);for(var Z=1;Z0:pe>=0){var Ce=ei(ae.from(),ie.from()),Ue=Ar(ae.to(),ie.to()),Xe=ae.empty()?ie.from()==ie.head:ae.from()==ae.head;Z<=H&&--H,I.splice(--Z,2,new Kr(Xe?Ue:Ce,Xe?Ce:Ue))}}return new qs(I,H)}function Gh(E,I){return new qs([new Kr(E,I||E)],0)}function Kh(E){return E.text?gt(E.from.line+E.text.length-1,ne(E.text).length+(E.text.length==1?E.from.ch:0)):E.to}function $ue(E,I){if(Bt(E,I.from)<0)return E;if(Bt(E,I.to)<=0)return Kh(I);var H=E.line+I.text.length-(I.to.line-I.from.line)-1,F=E.ch;return E.line==I.to.line&&(F+=Kh(I).ch-I.to.ch),gt(H,F)}function IW(E,I){for(var H=[],F=0;F1&&E.remove(ae.line+1,Nt-1),E.insert(ae.line+1,fn)}pa(E,"change",E,I)}function Xh(E,I,H){function F(V,Z,ie){if(V.linked)for(var ae=0;ae1&&!E.done[E.done.length-2].ranges)return E.done.pop(),ne(E.done)}function Nue(E,I,H,F){var V=E.history;V.undone.length=0;var Z=+new Date,ie,ae;if((V.lastOp==F||V.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&V.lastModTime>Z-(E.cm?E.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(ie=Jat(V,V.lastOp==F)))ae=ne(ie.changes),Bt(I.from,I.to)==0&&Bt(I.from,ae.to)==0?ae.to=Kh(I):ie.changes.push(kW(E,I));else{var pe=ne(V.done);for((!pe||!pe.ranges)&&CT(E.sel,V.done),ie={changes:[kW(E,I)],generation:V.generation},V.done.push(ie);V.done.length>V.undoDepth;)V.done.shift(),V.done[0].ranges||V.done.shift()}V.done.push(H),V.generation=++V.maxGeneration,V.lastModTime=V.lastSelTime=Z,V.lastOp=V.lastSelOp=F,V.lastOrigin=V.lastSelOrigin=I.origin,ae||Ee(E,"historyAdded")}function elt(E,I,H,F){var V=I.charAt(0);return V=="*"||V=="+"&&H.ranges.length==F.ranges.length&&H.somethingSelected()==F.somethingSelected()&&new Date-E.history.lastSelTime<=(E.cm?E.cm.options.historyEventDelay:500)}function tlt(E,I,H,F){var V=E.history,Z=F&&F.origin;H==V.lastSelOp||Z&&V.lastSelOrigin==Z&&(V.lastModTime==V.lastSelTime&&V.lastOrigin==Z||elt(E,Z,ne(V.done),I))?V.done[V.done.length-1]=I:CT(I,V.done),V.lastSelTime=+new Date,V.lastSelOrigin=Z,V.lastSelOp=H,F&&F.clearRedo!==!1&&Iue(V.undone)}function CT(E,I){var H=ne(I);H&&H.ranges&&H.equals(E)||I.push(E)}function Aue(E,I,H,F){var V=I["spans_"+E.id],Z=0;E.iter(Math.max(E.first,H),Math.min(E.first+E.size,F),function(ie){ie.markedSpans&&((V||(V=I["spans_"+E.id]={}))[Z]=ie.markedSpans),++Z})}function nlt(E){if(!E)return null;for(var I,H=0;H-1&&(ne(ae)[Xe]=Ce[Xe],delete Ce[Xe])}}return F}function jW(E,I,H,F){if(F){var V=E.anchor;if(H){var Z=Bt(I,V)<0;Z!=Bt(H,V)<0?(V=I,I=H):Z!=Bt(I,H)<0&&(I=H)}return new Kr(V,I)}else return new Kr(H||I,I)}function ST(E,I,H,F,V){V==null&&(V=E.cm&&(E.cm.display.shift||E.extend)),Va(E,new qs([jW(E.sel.primary(),I,H,V)],0),F)}function jue(E,I,H){for(var F=[],V=E.cm&&(E.cm.display.shift||E.extend),Z=0;Z=I.ch:ae.to>I.ch))){if(V&&(Ee(pe,"beforeCursorEnter"),pe.explicitlyCleared))if(Z.markedSpans){--ie;continue}else break;if(!pe.atomic)continue;if(H){var Xe=pe.find(F<0?1:-1),pt=void 0;if((F<0?Ue:Ce)&&(Xe=Hue(E,Xe,-F,Xe&&Xe.line==I.line?Z:null)),Xe&&Xe.line==I.line&&(pt=Bt(Xe,H))&&(F<0?pt<0:pt>0))return $b(E,Xe,I,F,V)}var st=pe.find(F<0?-1:1);return(F<0?Ce:Ue)&&(st=Hue(E,st,F,st.line==I.line?Z:null)),st?$b(E,st,I,F,V):null}}return I}function _T(E,I,H,F,V){var Z=F||1,ie=$b(E,I,H,Z,V)||!V&&$b(E,I,H,Z,!0)||$b(E,I,H,-Z,V)||!V&&$b(E,I,H,-Z,!0);return ie||(E.cantEdit=!0,gt(E.first,0))}function Hue(E,I,H,F){return H<0&&I.ch==0?I.line>E.first?Sn(E,gt(I.line-1)):null:H>0&&I.ch==(F||$t(E,I.line)).text.length?I.line=0;--V)Vue(E,{from:F[V].from,to:F[V].to,text:V?[""]:I.text,origin:I.origin});else Vue(E,I)}}function Vue(E,I){if(!(I.text.length==1&&I.text[0]==""&&Bt(I.from,I.to)==0)){var H=IW(E,I);Nue(E,I,H,E.cm?E.cm.curOp.id:NaN),v6(E,I,H,Yf(E,I));var F=[];Xh(E,function(V,Z){!Z&&U(F,V.history)==-1&&(Xue(V.history,I),F.push(V.history)),v6(V,I,null,Yf(V,I))})}}function wT(E,I,H){var F=E.cm&&E.cm.state.suppressEdits;if(!(F&&!H)){for(var V=E.history,Z,ie=E.sel,ae=I=="undo"?V.done:V.undone,pe=I=="undo"?V.undone:V.done,Ce=0;Ce=0;--st){var Nt=pt(st);if(Nt)return Nt.v}}}}function Uue(E,I){if(I!=0&&(E.first+=I,E.sel=new qs(re(E.sel.ranges,function(V){return new Kr(gt(V.anchor.line+I,V.anchor.ch),gt(V.head.line+I,V.head.ch))}),E.sel.primIndex),E.cm)){kl(E.cm,E.first,E.first-I,I);for(var H=E.cm.display,F=H.viewFrom;FE.lastLine())){if(I.from.lineZ&&(I={from:I.from,to:gt(Z,$t(E,Z).text.length),text:[I.text[0]],origin:I.origin}),I.removed=zt(E,I.from,I.to),H||(H=IW(E,I)),E.cm?olt(E.cm,I,F):AW(E,I,F),xT(E,H,G),E.cantEdit&&_T(E,gt(E.firstLine(),0))&&(E.cantEdit=!1)}}function olt(E,I,H){var F=E.doc,V=E.display,Z=I.from,ie=I.to,ae=!1,pe=Z.line;E.options.lineWrapping||(pe=ct(Et($t(F,Z.line))),F.iter(pe,ie.line+1,function(st){if(st==V.maxLine)return ae=!0,!0})),F.sel.contains(I.from,I.to)>-1&&Le(E),AW(F,I,H,due(E)),E.options.lineWrapping||(F.iter(pe,Z.line+I.text.length,function(st){var Nt=Nu(st);Nt>V.maxLineLength&&(V.maxLine=st,V.maxLineLength=Nt,V.maxLineChanged=!0,ae=!1)}),ae&&(E.curOp.updateMaxLine=!0)),Mn(F,Z.line),h6(E,400);var Ce=I.text.length-(ie.line-Z.line)-1;I.full?kl(E):Z.line==ie.line&&I.text.length==1&&!Tue(E.doc,I)?Vh(E,Z.line,"text"):kl(E,Z.line,ie.line+1,Ce);var Ue=Fe(E,"changes"),Xe=Fe(E,"change");if(Xe||Ue){var pt={from:Z,to:ie,text:I.text,removed:I.removed,origin:I.origin};Xe&&pa(E,"change",E,pt),Ue&&(E.curOp.changeObjs||(E.curOp.changeObjs=[])).push(pt)}E.display.selForContextMenu=null}function Tb(E,I,H,F,V){var Z;F||(F=H),Bt(F,H)<0&&(Z=[F,H],H=Z[0],F=Z[1]),typeof I=="string"&&(I=E.splitLines(I)),Pb(E,{from:H,to:F,text:I,origin:V})}function Gue(E,I,H,F){H1||!(this.children[0]instanceof b6))){var ae=[];this.collapse(ae),this.children=[new b6(ae)],this.children[0].parent=this}},collapse:function(E){for(var I=0;I50){for(var ie=V.lines.length%25+25,ae=ie;ae10);E.parent.maybeSpill()}},iterN:function(E,I,H){for(var F=0;FE.display.maxLineLength&&(E.display.maxLine=Ce,E.display.maxLineLength=Ue,E.display.maxLineChanged=!0)}F!=null&&E&&this.collapsed&&kl(E,F,V+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,E&&Bue(E.doc)),E&&pa(E,"markerCleared",E,this,F,V),I&&ag(E),this.parent&&this.parent.clear()}},Yh.prototype.find=function(E,I){E==null&&this.type=="bookmark"&&(E=1);for(var H,F,V=0;V0||ie==0&&Z.clearWhenEmpty!==!1)return Z;if(Z.replacedWith&&(Z.collapsed=!0,Z.widgetNode=M("span",[Z.replacedWith],"CodeMirror-widget"),F.handleMouseEvents||Z.widgetNode.setAttribute("cm-ignore-events","true"),F.insertLeft&&(Z.widgetNode.insertLeft=!0)),Z.collapsed){if(Ve(E,I.line,I,H,Z)||I.line!=H.line&&Ve(E,H.line,I,H,Z))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pa()}Z.addToHistory&&Nue(E,{from:I,to:H,origin:"markText"},E.sel,NaN);var ae=I.line,pe=E.cm,Ce;if(E.iter(ae,H.line+1,function(Xe){pe&&Z.collapsed&&!pe.options.lineWrapping&&Et(Xe)==pe.display.maxLine&&(Ce=!0),Z.collapsed&&ae!=I.line&&Pt(Xe,0),Ws(Xe,new Xo(Z,ae==I.line?I.ch:null,ae==H.line?H.ch:null),E.cm&&E.cm.curOp),++ae}),Z.collapsed&&E.iter(I.line,H.line+1,function(Xe){Ao(E,Xe)&&Pt(Xe,0)}),Z.clearOnEnter&&Be(Z,"beforeCursorEnter",function(){return Z.clear()}),Z.readOnly&&(qa(),(E.history.done.length||E.history.undone.length)&&E.clearHistory()),Z.collapsed&&(Z.id=++Zue,Z.atomic=!0),pe){if(Ce&&(pe.curOp.updateMaxLine=!0),Z.collapsed)kl(pe,I.line,H.line+1);else if(Z.className||Z.startStyle||Z.endStyle||Z.css||Z.attributes||Z.title)for(var Ue=I.line;Ue<=H.line;Ue++)Vh(pe,Ue,"text");Z.atomic&&Bue(pe.doc),pa(pe,"markerAdded",pe,Z)}return Z}var x6=function(E,I){this.markers=E,this.primary=I;for(var H=0;H=0;pe--)Pb(this,F[pe]);ae?Lue(this,ae):this.cm&&wb(this.cm)}),undo:ga(function(){wT(this,"undo")}),redo:ga(function(){wT(this,"redo")}),undoSelection:ga(function(){wT(this,"undo",!0)}),redoSelection:ga(function(){wT(this,"redo",!0)}),setExtending:function(E){this.extend=E},getExtending:function(){return this.extend},historySize:function(){for(var E=this.history,I=0,H=0,F=0;F=E.ch)&&I.push(V.marker.parent||V.marker)}return I},findMarks:function(E,I,H){E=Sn(this,E),I=Sn(this,I);var F=[],V=E.line;return this.iter(E.line,I.line+1,function(Z){var ie=Z.markedSpans;if(ie)for(var ae=0;ae=pe.to||pe.from==null&&V!=E.line||pe.from!=null&&V==I.line&&pe.from>=I.ch)&&(!H||H(pe.marker))&&F.push(pe.marker.parent||pe.marker)}++V}),F},getAllMarks:function(){var E=[];return this.iter(function(I){var H=I.markedSpans;if(H)for(var F=0;FE)return I=E,!0;E-=Z,++H}),Sn(this,gt(H,I))},indexFromPos:function(E){E=Sn(this,E);var I=E.ch;if(E.lineI&&(I=E.from),E.to!=null&&E.to-1){I.state.draggingText(E),setTimeout(function(){return I.display.input.focus()},20);return}try{var Ue=E.dataTransfer.getData("Text");if(Ue){var Xe;if(I.state.draggingText&&!I.state.draggingText.copy&&(Xe=I.listSelections()),xT(I.doc,Gh(H,H)),Xe)for(var pt=0;pt=0;ae--)Tb(E.doc,"",F[ae].from,F[ae].to,"+delete");wb(E)})}function LW(E,I,H){var F=Oe(E.text,I+H,H);return F<0||F>E.text.length?null:F}function zW(E,I,H){var F=LW(E,I.ch,H);return F==null?null:new gt(I.line,F,H<0?"after":"before")}function BW(E,I,H,F,V){if(E){I.doc.direction=="rtl"&&(V=-V);var Z=je(H,I.doc.direction);if(Z){var ie=V<0?ne(Z):Z[0],ae=V<0==(ie.level==1),pe=ae?"after":"before",Ce;if(ie.level>0||I.doc.direction=="rtl"){var Ue=Cb(I,H);Ce=V<0?H.text.length-1:0;var Xe=Fd(I,Ue,Ce).top;Ce=Pe(function(pt){return Fd(I,Ue,pt).top==Xe},V<0==(ie.level==1)?ie.from:ie.to-1,Ce),pe=="before"&&(Ce=LW(H,Ce,1))}else Ce=V<0?ie.to:ie.from;return new gt(F,Ce,pe)}}return new gt(F,V<0?H.text.length:0,V<0?"before":"after")}function blt(E,I,H,F){var V=je(I,E.doc.direction);if(!V)return zW(I,H,F);H.ch>=I.text.length?(H.ch=I.text.length,H.sticky="before"):H.ch<=0&&(H.ch=0,H.sticky="after");var Z=Te(V,H.ch,H.sticky),ie=V[Z];if(E.doc.direction=="ltr"&&ie.level%2==0&&(F>0?ie.to>H.ch:ie.from=ie.from&&pt>=Ue.begin)){var st=Xe?"before":"after";return new gt(H.line,pt,st)}}var Nt=function(fn,yn,pn){for(var xn=function(xi,ma){return ma?new gt(H.line,ae(xi,1),"before"):new gt(H.line,xi,"after")};fn>=0&&fn0==(Ln.level!=1),mr=jn?pn.begin:ae(pn.end,-1);if(Ln.from<=mr&&mr0?Ue.end:ae(Ue.begin,-1);return tn!=null&&!(F>0&&tn==I.text.length)&&(Ft=Nt(F>0?0:V.length-1,F,Ce(tn)),Ft)?Ft:null}var O6={selectAll:Wue,singleSelection:function(E){return E.setSelection(E.getCursor("anchor"),E.getCursor("head"),G)},killLine:function(E){return Ib(E,function(I){if(I.empty()){var H=$t(E.doc,I.head.line).text.length;return I.head.ch==H&&I.head.line0)V=new gt(V.line,V.ch+1),E.replaceRange(Z.charAt(V.ch-1)+Z.charAt(V.ch-2),gt(V.line,V.ch-2),V,"+transpose");else if(V.line>E.doc.first){var ie=$t(E.doc,V.line-1).text;ie&&(V=new gt(V.line,1),E.replaceRange(Z.charAt(0)+E.doc.lineSeparator()+ie.charAt(ie.length-1),gt(V.line-1,ie.length-1),V,"+transpose"))}}H.push(new Kr(V,V))}E.setSelections(H)})},newlineAndIndent:function(E){return ls(E,function(){for(var I=E.listSelections(),H=I.length-1;H>=0;H--)E.replaceRange(E.doc.lineSeparator(),I[H].anchor,I[H].head,"+input");I=E.listSelections();for(var F=0;FE&&Bt(I,this.pos)==0&&H==this.button};var $6,P6;function Elt(E,I){var H=+new Date;return P6&&P6.compare(H,E,I)?($6=P6=null,"triple"):$6&&$6.compare(H,E,I)?(P6=new HW(H,E,I),$6=null,"double"):($6=new HW(H,E,I),P6=null,"single")}function pde(E){var I=this,H=I.display;if(!($e(I,E)||H.activeTouch&&H.input.supportsTouch())){if(H.input.ensurePolled(),H.shift=E.shiftKey,Qf(H,E)){s||(H.scroller.draggable=!1,setTimeout(function(){return H.scroller.draggable=!0},100));return}if(!WW(I,E)){var F=tg(I,E),V=We(E),Z=F?Elt(F,V):"single";window.focus(),V==1&&I.state.selectingText&&I.state.selectingText(E),!(F&&$lt(I,V,F,Z,E))&&(V==1?F?Tlt(I,F,Z,E):De(E)==H.scroller&<(E):V==2?(F&&ST(I.doc,F),setTimeout(function(){return H.input.focus()},20)):V==3&&(w?I.display.input.onContextMenu(E):_W(I)))}}}function $lt(E,I,H,F,V){var Z="Click";return F=="double"?Z="Double"+Z:F=="triple"&&(Z="Triple"+Z),Z=(I==1?"Left":I==2?"Middle":"Right")+Z,E6(E,ide(Z,V),V,function(ie){if(typeof ie=="string"&&(ie=O6[ie]),!ie)return!1;var ae=!1;try{E.isReadOnly()&&(E.state.suppressEdits=!0),ae=ie(E,H)!=X}finally{E.state.suppressEdits=!1}return ae})}function Plt(E,I,H){var F=E.getOption("configureMouse"),V=F?F(E,I,H):{};if(V.unit==null){var Z=b?H.shiftKey&&H.metaKey:H.altKey;V.unit=Z?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(V.extend==null||E.doc.extend)&&(V.extend=E.doc.extend||H.shiftKey),V.addNew==null&&(V.addNew=y?H.metaKey:H.ctrlKey),V.moveOnDrag==null&&(V.moveOnDrag=!(y?H.altKey:H.ctrlKey)),V}function Tlt(E,I,H,F){a?setTimeout(k(hue,E),0):E.curOp.focus=j();var V=Plt(E,H,F),Z=E.doc.sel,ie;E.options.dragDrop&&Ge&&!E.isReadOnly()&&H=="single"&&(ie=Z.contains(I))>-1&&(Bt((ie=Z.ranges[ie]).from(),I)<0||I.xRel>0)&&(Bt(ie.to(),I)>0||I.xRel<0)?Mlt(E,F,I,V):Rlt(E,F,I,V)}function Mlt(E,I,H,F){var V=E.display,Z=!1,ie=ha(E,function(Ce){s&&(V.scroller.draggable=!1),E.state.draggingText=!1,E.state.delayingBlurEvent&&(E.hasFocus()?E.state.delayingBlurEvent=!1:_W(E)),me(V.wrapper.ownerDocument,"mouseup",ie),me(V.wrapper.ownerDocument,"mousemove",ae),me(V.scroller,"dragstart",pe),me(V.scroller,"drop",ie),Z||(lt(Ce),F.addNew||ST(E.doc,H,null,null,F.extend),s&&!h||a&&l==9?setTimeout(function(){V.wrapper.ownerDocument.body.focus({preventScroll:!0}),V.input.focus()},20):V.input.focus())}),ae=function(Ce){Z=Z||Math.abs(I.clientX-Ce.clientX)+Math.abs(I.clientY-Ce.clientY)>=10},pe=function(){return Z=!0};s&&(V.scroller.draggable=!0),E.state.draggingText=ie,ie.copy=!F.moveOnDrag,Be(V.wrapper.ownerDocument,"mouseup",ie),Be(V.wrapper.ownerDocument,"mousemove",ae),Be(V.scroller,"dragstart",pe),Be(V.scroller,"drop",ie),E.state.delayingBlurEvent=!0,setTimeout(function(){return V.input.focus()},20),V.scroller.dragDrop&&V.scroller.dragDrop()}function hde(E,I,H){if(H=="char")return new Kr(I,I);if(H=="word")return E.findWordAt(I);if(H=="line")return new Kr(gt(I.line,0),Sn(E.doc,gt(I.line+1,0)));var F=H(E,I);return new Kr(F.from,F.to)}function Rlt(E,I,H,F){a&&_W(E);var V=E.display,Z=E.doc;lt(I);var ie,ae,pe=Z.sel,Ce=pe.ranges;if(F.addNew&&!F.extend?(ae=Z.sel.contains(H),ae>-1?ie=Ce[ae]:ie=new Kr(H,H)):(ie=Z.sel.primary(),ae=Z.sel.primIndex),F.unit=="rectangle")F.addNew||(ie=new Kr(H,H)),H=tg(E,I,!0,!0),ae=-1;else{var Ue=hde(E,H,F.unit);F.extend?ie=jW(ie,Ue.anchor,Ue.head,F.extend):ie=Ue}F.addNew?ae==-1?(ae=Ce.length,Va(Z,ku(E,Ce.concat([ie]),ae),{scroll:!1,origin:"*mouse"})):Ce.length>1&&Ce[ae].empty()&&F.unit=="char"&&!F.extend?(Va(Z,ku(E,Ce.slice(0,ae).concat(Ce.slice(ae+1)),0),{scroll:!1,origin:"*mouse"}),pe=Z.sel):DW(Z,ae,ie,Y):(ae=0,Va(Z,new qs([ie],0),Y),pe=Z.sel);var Xe=H;function pt(pn){if(Bt(Xe,pn)!=0)if(Xe=pn,F.unit=="rectangle"){for(var xn=[],Ln=E.options.tabSize,jn=q($t(Z,H.line).text,H.ch,Ln),mr=q($t(Z,pn.line).text,pn.ch,Ln),xi=Math.min(jn,mr),ma=Math.max(jn,mr),io=Math.min(H.line,pn.line),ss=Math.min(E.lastLine(),Math.max(H.line,pn.line));io<=ss;io++){var Dl=$t(Z,io).text,ko=ee(Dl,xi,Ln);xi==ma?xn.push(new Kr(gt(io,ko),gt(io,ko))):Dl.length>ko&&xn.push(new Kr(gt(io,ko),gt(io,ee(Dl,ma,Ln))))}xn.length||xn.push(new Kr(H,H)),Va(Z,ku(E,pe.ranges.slice(0,ae).concat(xn),ae),{origin:"*mouse",scroll:!1}),E.scrollIntoView(pn)}else{var Ll=ie,Ra=hde(E,pn,F.unit),Yo=Ll.anchor,jo;Bt(Ra.anchor,Yo)>0?(jo=Ra.head,Yo=ei(Ll.from(),Ra.anchor)):(jo=Ra.anchor,Yo=Ar(Ll.to(),Ra.head));var co=pe.ranges.slice(0);co[ae]=Ilt(E,new Kr(Sn(Z,Yo),jo)),Va(Z,ku(E,co,ae),Y)}}var st=V.wrapper.getBoundingClientRect(),Nt=0;function Ft(pn){var xn=++Nt,Ln=tg(E,pn,!0,F.unit=="rectangle");if(Ln)if(Bt(Ln,Xe)!=0){E.curOp.focus=j(),pt(Ln);var jn=gT(V,Z);(Ln.line>=jn.to||Ln.linest.bottom?20:0;mr&&setTimeout(ha(E,function(){Nt==xn&&(V.scroller.scrollTop+=mr,Ft(pn))}),50)}}function tn(pn){E.state.selectingText=!1,Nt=1/0,pn&&(lt(pn),V.input.focus()),me(V.wrapper.ownerDocument,"mousemove",fn),me(V.wrapper.ownerDocument,"mouseup",yn),Z.history.lastSelOrigin=null}var fn=ha(E,function(pn){pn.buttons===0||!We(pn)?tn(pn):Ft(pn)}),yn=ha(E,tn);E.state.selectingText=yn,Be(V.wrapper.ownerDocument,"mousemove",fn),Be(V.wrapper.ownerDocument,"mouseup",yn)}function Ilt(E,I){var H=I.anchor,F=I.head,V=$t(E.doc,H.line);if(Bt(H,F)==0&&H.sticky==F.sticky)return I;var Z=je(V);if(!Z)return I;var ie=Te(Z,H.ch,H.sticky),ae=Z[ie];if(ae.from!=H.ch&&ae.to!=H.ch)return I;var pe=ie+(ae.from==H.ch==(ae.level!=1)?0:1);if(pe==0||pe==Z.length)return I;var Ce;if(F.line!=H.line)Ce=(F.line-H.line)*(E.doc.direction=="ltr"?1:-1)>0;else{var Ue=Te(Z,F.ch,F.sticky),Xe=Ue-ie||(F.ch-H.ch)*(ae.level==1?-1:1);Ue==pe-1||Ue==pe?Ce=Xe<0:Ce=Xe>0}var pt=Z[pe+(Ce?-1:0)],st=Ce==(pt.level==1),Nt=st?pt.from:pt.to,Ft=st?"after":"before";return H.ch==Nt&&H.sticky==Ft?I:new Kr(new gt(H.line,Nt,Ft),F)}function gde(E,I,H,F){var V,Z;if(I.touches)V=I.touches[0].clientX,Z=I.touches[0].clientY;else try{V=I.clientX,Z=I.clientY}catch{return!1}if(V>=Math.floor(E.display.gutters.getBoundingClientRect().right))return!1;F&<(I);var ie=E.display,ae=ie.lineDiv.getBoundingClientRect();if(Z>ae.bottom||!Fe(E,H))return Ye(I);Z-=ae.top-ie.viewOffset;for(var pe=0;pe=V){var Ue=Wt(E.doc,Z),Xe=E.display.gutterSpecs[pe];return Ee(E,H,E,Ue,Xe.className,I),Ye(I)}}}function WW(E,I){return gde(E,I,"gutterClick",!0)}function mde(E,I){Qf(E.display,I)||Nlt(E,I)||$e(E,I,"contextmenu")||w||E.display.input.onContextMenu(I)}function Nlt(E,I){return Fe(E,"gutterContextMenu")?gde(E,I,"gutterContextMenu",!1):!1}function vde(E){E.display.wrapper.className=E.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+E.options.theme.replace(/(^|\s)\s*/g," cm-s-"),s6(E)}var Nb={toString:function(){return"CodeMirror.Init"}},yde={},PT={};function Alt(E){var I=E.optionHandlers;function H(F,V,Z,ie){E.defaults[F]=V,Z&&(I[F]=ie?function(ae,pe,Ce){Ce!=Nb&&Z(ae,pe,Ce)}:Z)}E.defineOption=H,E.Init=Nb,H("value","",function(F,V){return F.setValue(V)},!0),H("mode",null,function(F,V){F.doc.modeOption=V,NW(F)},!0),H("indentUnit",2,NW,!0),H("indentWithTabs",!1),H("smartIndent",!0),H("tabSize",4,function(F){m6(F),s6(F),kl(F)},!0),H("lineSeparator",null,function(F,V){if(F.doc.lineSep=V,!!V){var Z=[],ie=F.doc.first;F.doc.iter(function(pe){for(var Ce=0;;){var Ue=pe.text.indexOf(V,Ce);if(Ue==-1)break;Ce=Ue+V.length,Z.push(gt(ie,Ue))}ie++});for(var ae=Z.length-1;ae>=0;ae--)Tb(F.doc,V,Z[ae],gt(Z[ae].line,Z[ae].ch+V.length))}}),H("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(F,V,Z){F.state.specialChars=new RegExp(V.source+(V.test(" ")?"":"| "),"g"),Z!=Nb&&F.refresh()}),H("specialCharPlaceholder",cat,function(F){return F.refresh()},!0),H("electricChars",!0),H("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),H("spellcheck",!1,function(F,V){return F.getInputField().spellcheck=V},!0),H("autocorrect",!1,function(F,V){return F.getInputField().autocorrect=V},!0),H("autocapitalize",!1,function(F,V){return F.getInputField().autocapitalize=V},!0),H("rtlMoveVisually",!C),H("wholeLineUpdateBefore",!0),H("theme","default",function(F){vde(F),g6(F)},!0),H("keyMap","default",function(F,V,Z){var ie=ET(V),ae=Z!=Nb&&ET(Z);ae&&ae.detach&&ae.detach(F,ie),ie.attach&&ie.attach(F,ae||null)}),H("extraKeys",null),H("configureMouse",null),H("lineWrapping",!1,jlt,!0),H("gutters",[],function(F,V){F.display.gutterSpecs=RW(V,F.options.lineNumbers),g6(F)},!0),H("fixedGutter",!0,function(F,V){F.display.gutters.style.left=V?bW(F.display)+"px":"0",F.refresh()},!0),H("coverGutterNextToScrollbar",!1,function(F){return Ob(F)},!0),H("scrollbarStyle","native",function(F){Cue(F),Ob(F),F.display.scrollbars.setScrollTop(F.doc.scrollTop),F.display.scrollbars.setScrollLeft(F.doc.scrollLeft)},!0),H("lineNumbers",!1,function(F,V){F.display.gutterSpecs=RW(F.options.gutters,V),g6(F)},!0),H("firstLineNumber",1,g6,!0),H("lineNumberFormatter",function(F){return F},g6,!0),H("showCursorWhenSelecting",!1,c6,!0),H("resetSelectionOnContextMenu",!0),H("lineWiseCopyCut",!0),H("pasteLinesPerSelection",!0),H("selectionsMayTouch",!1),H("readOnly",!1,function(F,V){V=="nocursor"&&(_b(F),F.display.input.blur()),F.display.input.readOnlyChanged(V)}),H("screenReaderLabel",null,function(F,V){V=V===""?null:V,F.display.input.screenReaderLabelChanged(V)}),H("disableInput",!1,function(F,V){V||F.display.input.reset()},!0),H("dragDrop",!0,klt),H("allowDropFileTypes",null),H("cursorBlinkRate",530),H("cursorScrollMargin",0),H("cursorHeight",1,c6,!0),H("singleCursorHeightPerLine",!0,c6,!0),H("workTime",100),H("workDelay",100),H("flattenSpans",!0,m6,!0),H("addModeClass",!1,m6,!0),H("pollInterval",100),H("undoDepth",200,function(F,V){return F.doc.history.undoDepth=V}),H("historyEventDelay",1250),H("viewportMargin",10,function(F){return F.refresh()},!0),H("maxHighlightLength",1e4,m6,!0),H("moveInputWithCursor",!0,function(F,V){V||F.display.input.resetPosition()}),H("tabindex",null,function(F,V){return F.display.input.getField().tabIndex=V||""}),H("autofocus",null),H("direction","ltr",function(F,V){return F.doc.setDirection(V)},!0),H("phrases",null)}function klt(E,I,H){var F=H&&H!=Nb;if(!I!=!F){var V=E.display.dragFunctions,Z=I?Be:me;Z(E.display.scroller,"dragstart",V.start),Z(E.display.scroller,"dragenter",V.enter),Z(E.display.scroller,"dragover",V.over),Z(E.display.scroller,"dragleave",V.leave),Z(E.display.scroller,"drop",V.drop)}}function jlt(E){E.options.lineWrapping?(D(E.display.wrapper,"CodeMirror-wrap"),E.display.sizer.style.minWidth="",E.display.sizerWidth=null):($(E.display.wrapper,"CodeMirror-wrap"),vb(E)),CW(E),kl(E),s6(E),setTimeout(function(){return Ob(E)},100)}function qi(E,I){var H=this;if(!(this instanceof qi))return new qi(E,I);this.options=I=I?z(I):{},z(yde,I,!1);var F=I.value;typeof F=="string"?F=new jl(F,I.mode,null,I.lineSeparator,I.direction):I.mode&&(F.modeOption=I.mode),this.doc=F;var V=new qi.inputStyles[I.inputStyle](this),Z=this.display=new Xat(E,F,V,I);Z.wrapper.CodeMirror=this,vde(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Cue(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new W,keySeq:null,specialChars:null},I.autofocus&&!v&&Z.input.focus(),a&&l<11&&setTimeout(function(){return H.display.input.reset(!0)},20),Dlt(this),hlt(),og(this),this.curOp.forceUpdate=!0,Mue(this,F),I.autofocus&&!v||this.hasFocus()?setTimeout(function(){H.hasFocus()&&!H.state.focused&&wW(H)},20):_b(this);for(var ie in PT)PT.hasOwnProperty(ie)&&PT[ie](this,I[ie],Nb);_ue(this),I.finishInit&&I.finishInit(this);for(var ae=0;ae20*20}Be(I.scroller,"touchstart",function(pe){if(!$e(E,pe)&&!Z(pe)&&!WW(E,pe)){I.input.ensurePolled(),clearTimeout(H);var Ce=+new Date;I.activeTouch={start:Ce,moved:!1,prev:Ce-F.end<=300?F:null},pe.touches.length==1&&(I.activeTouch.left=pe.touches[0].pageX,I.activeTouch.top=pe.touches[0].pageY)}}),Be(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),Be(I.scroller,"touchend",function(pe){var Ce=I.activeTouch;if(Ce&&!Qf(I,pe)&&Ce.left!=null&&!Ce.moved&&new Date-Ce.start<300){var Ue=E.coordsChar(I.activeTouch,"page"),Xe;!Ce.prev||ie(Ce,Ce.prev)?Xe=new Kr(Ue,Ue):!Ce.prev.prev||ie(Ce,Ce.prev.prev)?Xe=E.findWordAt(Ue):Xe=new Kr(gt(Ue.line,0),Sn(E.doc,gt(Ue.line+1,0))),E.setSelection(Xe.anchor,Xe.head),E.focus(),lt(pe)}V()}),Be(I.scroller,"touchcancel",V),Be(I.scroller,"scroll",function(){I.scroller.clientHeight&&(d6(E,I.scroller.scrollTop),rg(E,I.scroller.scrollLeft,!0),Ee(E,"scroll",E))}),Be(I.scroller,"mousewheel",function(pe){return Eue(E,pe)}),Be(I.scroller,"DOMMouseScroll",function(pe){return Eue(E,pe)}),Be(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(pe){$e(E,pe)||we(pe)},over:function(pe){$e(E,pe)||(plt(E,pe),we(pe))},start:function(pe){return flt(E,pe)},drop:ha(E,dlt),leave:function(pe){$e(E,pe)||ede(E)}};var ae=I.input.getField();Be(ae,"keyup",function(pe){return dde.call(E,pe)}),Be(ae,"keydown",ha(E,ude)),Be(ae,"keypress",ha(E,fde)),Be(ae,"focus",function(pe){return wW(E,pe)}),Be(ae,"blur",function(pe){return _b(E,pe)})}var qW=[];qi.defineInitHook=function(E){return qW.push(E)};function T6(E,I,H,F){var V=E.doc,Z;H==null&&(H="add"),H=="smart"&&(V.mode.indent?Z=yr(E,I).state:H="prev");var ie=E.options.tabSize,ae=$t(V,I),pe=q(ae.text,null,ie);ae.stateAfter&&(ae.stateAfter=null);var Ce=ae.text.match(/^\s*/)[0],Ue;if(!F&&!/\S/.test(ae.text))Ue=0,H="not";else if(H=="smart"&&(Ue=V.mode.indent(Z,ae.text.slice(Ce.length),ae.text),Ue==X||Ue>150)){if(!F)return;H="prev"}H=="prev"?I>V.first?Ue=q($t(V,I-1).text,null,ie):Ue=0:H=="add"?Ue=pe+E.options.indentUnit:H=="subtract"?Ue=pe-E.options.indentUnit:typeof H=="number"&&(Ue=pe+H),Ue=Math.max(0,Ue);var Xe="",pt=0;if(E.options.indentWithTabs)for(var st=Math.floor(Ue/ie);st;--st)pt+=ie,Xe+=" ";if(ptie,pe=rt(I),Ce=null;if(ae&&F.ranges.length>1)if(ju&&ju.text.join(` `)==I){if(F.ranges.length%ju.text.length==0){Ce=[];for(var Ue=0;Ue=0;pt--){var st=F.ranges[pt],Nt=st.from(),Ft=st.to();st.empty()&&(H&&H>0?Nt=gt(Nt.line,Nt.ch-H):E.state.overwrite&&!ae?Ft=gt(Ft.line,Math.min($t(Z,Ft.line).text.length,Ft.ch+ne(pe).length)):ae&&ju&&ju.lineWise&&ju.text.join(` `)==pe.join(` -`)&&(Nt=Ft=gt(Nt.line,0)));var tn={from:Nt,to:Ft,text:Ce?Ce[pt%Ce.length]:pe,origin:q||(ae?"paste":E.state.cutIncoming>ie?"cut":"+input")};Pb(E.doc,tn),pa(E,"inputRead",E,tn)}I&&!ae&&bde(E,I),wb(E),E.curOp.updateInput<2&&(E.curOp.updateInput=Xe),E.curOp.typing=!0,E.state.pasteIncoming=E.state.cutIncoming=-1}function yde(E,I){var H=E.clipboardData&&E.clipboardData.getData("Text");if(H)return E.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&ls(I,function(){return qW(I,H,0,null,"paste")}),!0}function bde(E,I){if(!(!E.options.electricChars||!E.options.smartIndent))for(var H=E.doc.sel,F=H.ranges.length-1;F>=0;F--){var q=H.ranges[F];if(!(q.head.ch>100||F&&H.ranges[F-1].head.line==q.head.line)){var Z=E.getModeAt(q.head),ie=!1;if(Z.electricChars){for(var ae=0;ae-1){ie=T6(E,q.head.line,"smart");break}}else Z.electricInput&&Z.electricInput.test($t(E.doc,q.head.line).text.slice(0,q.head.ch))&&(ie=T6(E,q.head.line,"smart"));ie&&pa(E,"electricInput",E,q.head.line)}}}function Cde(E){for(var I=[],H=[],F=0;FZ&&(T6(this,ae.head.line,F,!0),Z=ae.head.line,ie==this.doc.sel.primIndex&&wb(this));else{var pe=ae.from(),Ce=ae.to(),Ue=Math.max(Z,pe.line);Z=Math.min(this.lastLine(),Ce.line-(Ce.ch?0:1))+1;for(var Xe=Ue;Xe0&&jW(this.doc,ie,new Kr(pe,pt[ie].to()),G)}}}),getTokenAt:function(F,q){return Xn(this,F,q)},getLineTokens:function(F,q){return Xn(this,gt(F),q,!0)},getTokenTypeAt:function(F){F=Sn(this.doc,F);var q=qn(this,$t(this.doc,F.line)),Z=0,ie=(q.length-1)/2,ae=F.ch,pe;if(ae==0)pe=q[2];else for(;;){var Ce=Z+ie>>1;if((Ce?q[Ce*2-1]:0)>=ae)ie=Ce;else if(q[Ce*2+1]pe&&(F=pe,ie=!0),ae=$t(this.doc,F)}else ae=F;return cT(this,ae,{top:0,left:0},q||"page",Z||ie).top+(ie?this.doc.height-Dc(ae):0)},defaultTextHeight:function(){return Sb(this.display)},defaultCharWidth:function(){return xb(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(F,q,Z,ie,ae){var pe=this.display;F=Au(this,Sn(this.doc,F));var Ce=F.bottom,Ue=F.left;if(q.style.position="absolute",q.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(q),pe.sizer.appendChild(q),ie=="over")Ce=F.top;else if(ie=="above"||ie=="near"){var Xe=Math.max(pe.wrapper.clientHeight,this.doc.height),pt=Math.max(pe.sizer.clientWidth,pe.lineSpace.clientWidth);(ie=="above"||F.bottom+q.offsetHeight>Xe)&&F.top>q.offsetHeight?Ce=F.top-q.offsetHeight:F.bottom+q.offsetHeight<=Xe&&(Ce=F.bottom),Ue+q.offsetWidth>pt&&(Ue=pt-q.offsetWidth)}q.style.top=Ce+"px",q.style.left=q.style.right="",ae=="right"?(Ue=pe.sizer.clientWidth-q.offsetWidth,q.style.right="0px"):(ae=="left"?Ue=0:ae=="middle"&&(Ue=(pe.sizer.clientWidth-q.offsetWidth)/2),q.style.left=Ue+"px"),Z&&kat(this,{left:Ue,top:Ce,right:Ue+q.offsetWidth,bottom:Ce+q.offsetHeight})},triggerOnKeyDown:hl(cde),triggerOnKeyPress:hl(dde),triggerOnKeyUp:ude,triggerOnMouseDown:hl(fde),execCommand:function(F){if(O6.hasOwnProperty(F))return O6[F].call(null,this)},triggerElectric:hl(function(F){bde(this,F)}),findPosH:function(F,q,Z,ie){var ae=1;q<0&&(ae=-1,q=-q);for(var pe=Sn(this.doc,F),Ce=0;Ce0&&Ue(Z.charAt(ie-1));)--ie;for(;ae.5||this.options.lineWrapping)&&bW(this),Ee(this,"refresh",this)}),swapDoc:hl(function(F){var q=this.doc;return q.cm=null,this.state.selectingText&&this.state.selectingText(),Tue(this,F),s6(this),this.display.input.reset(),u6(this,F.scrollLeft,F.scrollTop),this.curOp.forceScroll=!0,pa(this,"swapDoc",this,q),q}),phrase:function(F){var q=this.options.phrases;return q&&Object.prototype.hasOwnProperty.call(q,F)?q[F]:F},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ke(E),E.registerHelper=function(F,q,Z){H.hasOwnProperty(F)||(H[F]=E[F]={_global:[]}),H[F][q]=Z},E.registerGlobalHelper=function(F,q,Z,ie){E.registerHelper(F,q,ie),H[F]._global.push({pred:Z,val:ie})}}function VW(E,I,H,F,q){var Z=I,ie=H,ae=$t(E,I.line),pe=q&&E.direction=="rtl"?-H:H;function Ce(){var yn=I.line+pe;return yn=E.first+E.size?!1:(I=new gt(yn,I.ch,I.sticky),ae=$t(E,yn))}function Ue(yn){var pn;if(F=="codepoint"){var xn=ae.text.charCodeAt(I.ch+(H>0?0:-1));if(isNaN(xn))pn=null;else{var Ln=H>0?xn>=55296&&xn<56320:xn>=56320&&xn<57343;pn=new gt(I.line,Math.max(0,Math.min(ae.text.length,I.ch+H*(Ln?2:1))),-H)}}else q?pn=blt(E.cm,ae,I,H):pn=LW(ae,I,H);if(pn==null)if(!yn&&Ce())I=zW(q,E.cm,ae,I.line,pe);else return!1;else I=pn;return!0}if(F=="char"||F=="codepoint")Ue();else if(F=="column")Ue(!0);else if(F=="word"||F=="group")for(var Xe=null,pt=F=="group",st=E.cm&&E.cm.getHelper(I,"wordChars"),Nt=!0;!(H<0&&!Ue(!Nt));Nt=!1){var Ft=ae.text.charAt(I.ch)||` +`)&&(Nt=Ft=gt(Nt.line,0)));var tn={from:Nt,to:Ft,text:Ce?Ce[pt%Ce.length]:pe,origin:V||(ae?"paste":E.state.cutIncoming>ie?"cut":"+input")};Pb(E.doc,tn),pa(E,"inputRead",E,tn)}I&&!ae&&Cde(E,I),wb(E),E.curOp.updateInput<2&&(E.curOp.updateInput=Xe),E.curOp.typing=!0,E.state.pasteIncoming=E.state.cutIncoming=-1}function bde(E,I){var H=E.clipboardData&&E.clipboardData.getData("Text");if(H)return E.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&ls(I,function(){return VW(I,H,0,null,"paste")}),!0}function Cde(E,I){if(!(!E.options.electricChars||!E.options.smartIndent))for(var H=E.doc.sel,F=H.ranges.length-1;F>=0;F--){var V=H.ranges[F];if(!(V.head.ch>100||F&&H.ranges[F-1].head.line==V.head.line)){var Z=E.getModeAt(V.head),ie=!1;if(Z.electricChars){for(var ae=0;ae-1){ie=T6(E,V.head.line,"smart");break}}else Z.electricInput&&Z.electricInput.test($t(E.doc,V.head.line).text.slice(0,V.head.ch))&&(ie=T6(E,V.head.line,"smart"));ie&&pa(E,"electricInput",E,V.head.line)}}}function Sde(E){for(var I=[],H=[],F=0;FZ&&(T6(this,ae.head.line,F,!0),Z=ae.head.line,ie==this.doc.sel.primIndex&&wb(this));else{var pe=ae.from(),Ce=ae.to(),Ue=Math.max(Z,pe.line);Z=Math.min(this.lastLine(),Ce.line-(Ce.ch?0:1))+1;for(var Xe=Ue;Xe0&&DW(this.doc,ie,new Kr(pe,pt[ie].to()),G)}}}),getTokenAt:function(F,V){return Xn(this,F,V)},getLineTokens:function(F,V){return Xn(this,gt(F),V,!0)},getTokenTypeAt:function(F){F=Sn(this.doc,F);var V=qn(this,$t(this.doc,F.line)),Z=0,ie=(V.length-1)/2,ae=F.ch,pe;if(ae==0)pe=V[2];else for(;;){var Ce=Z+ie>>1;if((Ce?V[Ce*2-1]:0)>=ae)ie=Ce;else if(V[Ce*2+1]pe&&(F=pe,ie=!0),ae=$t(this.doc,F)}else ae=F;return uT(this,ae,{top:0,left:0},V||"page",Z||ie).top+(ie?this.doc.height-Dc(ae):0)},defaultTextHeight:function(){return Sb(this.display)},defaultCharWidth:function(){return xb(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(F,V,Z,ie,ae){var pe=this.display;F=Au(this,Sn(this.doc,F));var Ce=F.bottom,Ue=F.left;if(V.style.position="absolute",V.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(V),pe.sizer.appendChild(V),ie=="over")Ce=F.top;else if(ie=="above"||ie=="near"){var Xe=Math.max(pe.wrapper.clientHeight,this.doc.height),pt=Math.max(pe.sizer.clientWidth,pe.lineSpace.clientWidth);(ie=="above"||F.bottom+V.offsetHeight>Xe)&&F.top>V.offsetHeight?Ce=F.top-V.offsetHeight:F.bottom+V.offsetHeight<=Xe&&(Ce=F.bottom),Ue+V.offsetWidth>pt&&(Ue=pt-V.offsetWidth)}V.style.top=Ce+"px",V.style.left=V.style.right="",ae=="right"?(Ue=pe.sizer.clientWidth-V.offsetWidth,V.style.right="0px"):(ae=="left"?Ue=0:ae=="middle"&&(Ue=(pe.sizer.clientWidth-V.offsetWidth)/2),V.style.left=Ue+"px"),Z&&kat(this,{left:Ue,top:Ce,right:Ue+V.offsetWidth,bottom:Ce+V.offsetHeight})},triggerOnKeyDown:hl(ude),triggerOnKeyPress:hl(fde),triggerOnKeyUp:dde,triggerOnMouseDown:hl(pde),execCommand:function(F){if(O6.hasOwnProperty(F))return O6[F].call(null,this)},triggerElectric:hl(function(F){Cde(this,F)}),findPosH:function(F,V,Z,ie){var ae=1;V<0&&(ae=-1,V=-V);for(var pe=Sn(this.doc,F),Ce=0;Ce0&&Ue(Z.charAt(ie-1));)--ie;for(;ae.5||this.options.lineWrapping)&&CW(this),Ee(this,"refresh",this)}),swapDoc:hl(function(F){var V=this.doc;return V.cm=null,this.state.selectingText&&this.state.selectingText(),Mue(this,F),s6(this),this.display.input.reset(),u6(this,F.scrollLeft,F.scrollTop),this.curOp.forceScroll=!0,pa(this,"swapDoc",this,V),V}),phrase:function(F){var V=this.options.phrases;return V&&Object.prototype.hasOwnProperty.call(V,F)?V[F]:F},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ke(E),E.registerHelper=function(F,V,Z){H.hasOwnProperty(F)||(H[F]=E[F]={_global:[]}),H[F][V]=Z},E.registerGlobalHelper=function(F,V,Z,ie){E.registerHelper(F,V,ie),H[F]._global.push({pred:Z,val:ie})}}function UW(E,I,H,F,V){var Z=I,ie=H,ae=$t(E,I.line),pe=V&&E.direction=="rtl"?-H:H;function Ce(){var yn=I.line+pe;return yn=E.first+E.size?!1:(I=new gt(yn,I.ch,I.sticky),ae=$t(E,yn))}function Ue(yn){var pn;if(F=="codepoint"){var xn=ae.text.charCodeAt(I.ch+(H>0?0:-1));if(isNaN(xn))pn=null;else{var Ln=H>0?xn>=55296&&xn<56320:xn>=56320&&xn<57343;pn=new gt(I.line,Math.max(0,Math.min(ae.text.length,I.ch+H*(Ln?2:1))),-H)}}else V?pn=blt(E.cm,ae,I,H):pn=zW(ae,I,H);if(pn==null)if(!yn&&Ce())I=BW(V,E.cm,ae,I.line,pe);else return!1;else I=pn;return!0}if(F=="char"||F=="codepoint")Ue();else if(F=="column")Ue(!0);else if(F=="word"||F=="group")for(var Xe=null,pt=F=="group",st=E.cm&&E.cm.getHelper(I,"wordChars"),Nt=!0;!(H<0&&!Ue(!Nt));Nt=!1){var Ft=ae.text.charAt(I.ch)||` `,tn=le(Ft,st)?"w":pt&&Ft==` -`?"n":!pt||/\s/.test(Ft)?null:"p";if(pt&&!Nt&&!tn&&(tn="s"),Xe&&Xe!=tn){H<0&&(H=1,Ue(),I.sticky="after");break}if(tn&&(Xe=tn),H>0&&!Ue(!Nt))break}var fn=xT(E,I,Z,ie,!0);return Nn(Z,fn)&&(fn.hitSide=!0),fn}function _de(E,I,H,F){var q=E.doc,Z=I.left,ie;if(F=="page"){var ae=Math.min(E.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),pe=Math.max(ae-.5*Sb(E.display),3);ie=(H>0?I.bottom:I.top)+H*pe}else F=="line"&&(ie=H>0?I.bottom+3:I.top-3);for(var Ce;Ce=gW(E,Z,ie),!!Ce.outside;){if(H<0?ie<=0:ie>=q.height){Ce.hitSide=!0;break}ie+=H*5}return Ce}var li=function(E){this.cm=E,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new W,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};li.prototype.init=function(E){var I=this,H=this,F=H.cm,q=H.div=E.lineDiv;q.contentEditable=!0,Sde(q,F.options.spellcheck,F.options.autocorrect,F.options.autocapitalize);function Z(ae){for(var pe=ae.target;pe;pe=pe.parentNode){if(pe==q)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(pe.className))break}return!1}Be(q,"paste",function(ae){!Z(ae)||$e(F,ae)||yde(ae,F)||l<=11&&setTimeout(ha(F,function(){return I.updateFromDOM()}),20)}),Be(q,"compositionstart",function(ae){I.composing={data:ae.data,done:!1}}),Be(q,"compositionupdate",function(ae){I.composing||(I.composing={data:ae.data,done:!1})}),Be(q,"compositionend",function(ae){I.composing&&(ae.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),Be(q,"touchstart",function(){return H.forceCompositionEnd()}),Be(q,"input",function(){I.composing||I.readFromDOMSoon()});function ie(ae){if(!(!Z(ae)||$e(F,ae))){if(F.somethingSelected())PT({lineWise:!1,text:F.getSelections()}),ae.type=="cut"&&F.replaceSelection("",null,"cut");else if(F.options.lineWiseCopyCut){var pe=Cde(F);PT({lineWise:!0,text:pe.text}),ae.type=="cut"&&F.operation(function(){F.setSelections(pe.ranges,0,G),F.replaceSelection("",null,"cut")})}else return;if(ae.clipboardData){ae.clipboardData.clearData();var Ce=ju.text.join(` -`);if(ae.clipboardData.setData("Text",Ce),ae.clipboardData.getData("Text")==Ce){ae.preventDefault();return}}var Ue=xde(),Xe=Ue.firstChild;F.display.lineSpace.insertBefore(Ue,F.display.lineSpace.firstChild),Xe.value=ju.text.join(` -`);var pt=k();B(Xe),setTimeout(function(){F.display.lineSpace.removeChild(Ue),pt.focus(),pt==q&&H.showPrimarySelection()},50)}}Be(q,"copy",ie),Be(q,"cut",ie)},li.prototype.screenReaderLabelChanged=function(E){E?this.div.setAttribute("aria-label",E):this.div.removeAttribute("aria-label")},li.prototype.prepareSelection=function(){var E=fue(this.cm,!1);return E.focus=k()==this.div,E},li.prototype.showSelection=function(E,I){!E||!this.cm.display.view.length||((E.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(E))},li.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},li.prototype.showPrimarySelection=function(){var E=this.getSelection(),I=this.cm,H=I.doc.sel.primary(),F=H.from(),q=H.to();if(I.display.viewTo==I.display.viewFrom||F.line>=I.display.viewTo||q.line=I.display.viewFrom&&wde(I,F)||{node:ae[0].measure.map[2],offset:0},Ce=q.lineE.firstLine()&&(F=gt(F.line-1,$t(E.doc,F.line-1).length)),q.ch==$t(E.doc,q.line).text.length&&q.lineI.viewTo-1)return!1;var Z,ie,ae;F.line==I.viewFrom||(Z=ng(E,F.line))==0?(ie=ct(I.view[0].line),ae=I.view[0].node):(ie=ct(I.view[Z].line),ae=I.view[Z-1].node.nextSibling);var pe=ng(E,q.line),Ce,Ue;if(pe==I.view.length-1?(Ce=I.viewTo-1,Ue=I.lineDiv.lastChild):(Ce=ct(I.view[pe+1].line)-1,Ue=I.view[pe+1].node.previousSibling),!ae)return!1;for(var Xe=E.doc.splitLines(Blt(E,ae,Ue,ie,Ce)),pt=zt(E.doc,gt(ie,0),gt(Ce,$t(E.doc,Ce).text.length));Xe.length>1&&pt.length>1;)if(ne(Xe)==ne(pt))Xe.pop(),pt.pop(),Ce--;else if(Xe[0]==pt[0])Xe.shift(),pt.shift(),ie++;else break;for(var st=0,Nt=0,Ft=Xe[0],tn=pt[0],fn=Math.min(Ft.length,tn.length);stF.ch&&yn.charCodeAt(yn.length-Nt-1)==pn.charCodeAt(pn.length-Nt-1);)st--,Nt++;Xe[Xe.length-1]=yn.slice(0,yn.length-Nt).replace(/^\u200b+/,""),Xe[0]=Xe[0].slice(st).replace(/\u200b+$/,"");var Ln=gt(ie,st),jn=gt(Ce,pt.length?ne(pt).length-Nt:0);if(Xe.length>1||Xe[0]||Bt(Ln,jn))return Tb(E.doc,Xe,Ln,jn,"+input"),!0},li.prototype.ensurePolled=function(){this.forceCompositionEnd()},li.prototype.reset=function(){this.forceCompositionEnd()},li.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},li.prototype.readFromDOMSoon=function(){var E=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(E.readDOMTimeout=null,E.composing)if(E.composing.done)E.composing=null;else return;E.updateFromDOM()},80))},li.prototype.updateFromDOM=function(){var E=this;(this.cm.isReadOnly()||!this.pollContent())&&ls(this.cm,function(){return kl(E.cm)})},li.prototype.setUneditable=function(E){E.contentEditable="false"},li.prototype.onKeyPress=function(E){E.charCode==0||this.composing||(E.preventDefault(),this.cm.isReadOnly()||ha(this.cm,qW)(this.cm,String.fromCharCode(E.charCode==null?E.keyCode:E.charCode),0))},li.prototype.readOnlyChanged=function(E){this.div.contentEditable=String(E!="nocursor")},li.prototype.onContextMenu=function(){},li.prototype.resetPosition=function(){},li.prototype.needsContentAttribute=!0;function wde(E,I){var H=fW(E,I.line);if(!H||H.hidden)return null;var F=$t(E.doc,I.line),q=Qce(H,F,I.line),Z=je(F,E.doc.direction),ie="left";if(Z){var ae=Te(Z,I.ch);ie=ae%2?"right":"left"}var pe=tue(q.map,I.ch,ie);return pe.offset=pe.collapse=="right"?pe.end:pe.start,pe}function zlt(E){for(var I=E;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function Ab(E,I){return I&&(E.bad=!0),E}function Blt(E,I,H,F,q){var Z="",ie=!1,ae=E.doc.lineSeparator(),pe=!1;function Ce(st){return function(Nt){return Nt.id==st}}function Ue(){ie&&(Z+=ae,pe&&(Z+=ae),ie=pe=!1)}function Xe(st){st&&(Ue(),Z+=st)}function pt(st){if(st.nodeType==1){var Nt=st.getAttribute("cm-text");if(Nt){Xe(Nt);return}var Ft=st.getAttribute("cm-marker"),tn;if(Ft){var fn=E.findMarks(gt(F,0),gt(q+1,0),Ce(+Ft));fn.length&&(tn=fn[0].find(0))&&Xe(zt(E.doc,tn.from,tn.to).join(ae));return}if(st.getAttribute("contenteditable")=="false")return;var yn=/^(pre|div|p|li|table|br)$/i.test(st.nodeName);if(!/^br$/i.test(st.nodeName)&&st.textContent.length==0)return;yn&&Ue();for(var pn=0;pn=9&&I.hasSelection&&(I.hasSelection=null),H.poll()}),Be(q,"paste",function(ie){$e(F,ie)||yde(ie,F)||(F.state.pasteIncoming=+new Date,H.fastPoll())});function Z(ie){if(!$e(F,ie)){if(F.somethingSelected())PT({lineWise:!1,text:F.getSelections()});else if(F.options.lineWiseCopyCut){var ae=Cde(F);PT({lineWise:!0,text:ae.text}),ie.type=="cut"?F.setSelections(ae.ranges,null,G):(H.prevInput="",q.value=ae.text.join(` -`),B(q))}else return;ie.type=="cut"&&(F.state.cutIncoming=+new Date)}}Be(q,"cut",Z),Be(q,"copy",Z),Be(E.scroller,"paste",function(ie){if(!(Qf(E,ie)||$e(F,ie))){if(!q.dispatchEvent){F.state.pasteIncoming=+new Date,H.focus();return}var ae=new Event("paste");ae.clipboardData=ie.clipboardData,q.dispatchEvent(ae)}}),Be(E.lineSpace,"selectstart",function(ie){Qf(E,ie)||lt(ie)}),Be(q,"compositionstart",function(){var ie=F.getCursor("from");H.composing&&H.composing.range.clear(),H.composing={start:ie,range:F.markText(ie,F.getCursor("to"),{className:"CodeMirror-composing"})}}),Be(q,"compositionend",function(){H.composing&&(H.poll(),H.composing.range.clear(),H.composing=null)})},xo.prototype.createField=function(E){this.wrapper=xde(),this.textarea=this.wrapper.firstChild},xo.prototype.screenReaderLabelChanged=function(E){E?this.textarea.setAttribute("aria-label",E):this.textarea.removeAttribute("aria-label")},xo.prototype.prepareSelection=function(){var E=this.cm,I=E.display,H=E.doc,F=fue(E);if(E.options.moveInputWithCursor){var q=Au(E,H.sel.primary().head,"div"),Z=I.wrapper.getBoundingClientRect(),ie=I.lineDiv.getBoundingClientRect();F.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,q.top+ie.top-Z.top)),F.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,q.left+ie.left-Z.left))}return F},xo.prototype.showSelection=function(E){var I=this.cm,H=I.display;T(H.cursorDiv,E.cursors),T(H.selectionDiv,E.selection),E.teTop!=null&&(this.wrapper.style.top=E.teTop+"px",this.wrapper.style.left=E.teLeft+"px")},xo.prototype.reset=function(E){if(!(this.contextMenuPending||this.composing)){var I=this.cm;if(I.somethingSelected()){this.prevInput="";var H=I.getSelection();this.textarea.value=H,I.state.focused&&B(this.textarea),a&&l>=9&&(this.hasSelection=H)}else E||(this.prevInput=this.textarea.value="",a&&l>=9&&(this.hasSelection=null))}},xo.prototype.getField=function(){return this.textarea},xo.prototype.supportsTouch=function(){return!1},xo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!v||k()!=this.textarea))try{this.textarea.focus()}catch{}},xo.prototype.blur=function(){this.textarea.blur()},xo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xo.prototype.receivedFocus=function(){this.slowPoll()},xo.prototype.slowPoll=function(){var E=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){E.poll(),E.cm.state.focused&&E.slowPoll()})},xo.prototype.fastPoll=function(){var E=!1,I=this;I.pollingFast=!0;function H(){var F=I.poll();!F&&!E?(E=!0,I.polling.set(60,H)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,H)},xo.prototype.poll=function(){var E=this,I=this.cm,H=this.textarea,F=this.prevInput;if(this.contextMenuPending||!I.state.focused||Ze(H)&&!F&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var q=H.value;if(q==F&&!I.somethingSelected())return!1;if(a&&l>=9&&this.hasSelection===q||y&&/[\uf700-\uf7ff]/.test(q))return I.display.input.reset(),!1;if(I.doc.sel==I.display.selForContextMenu){var Z=q.charCodeAt(0);if(Z==8203&&!F&&(F="​"),Z==8666)return this.reset(),this.cm.execCommand("undo")}for(var ie=0,ae=Math.min(F.length,q.length);ie1e3||q.indexOf(` -`)>-1?H.value=E.prevInput="":E.prevInput=q,E.composing&&(E.composing.range.clear(),E.composing.range=I.markText(E.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xo.prototype.onKeyPress=function(){a&&l>=9&&(this.hasSelection=null),this.fastPoll()},xo.prototype.onContextMenu=function(E){var I=this,H=I.cm,F=H.display,q=I.textarea;I.contextMenuPending&&I.contextMenuPending();var Z=tg(H,E),ie=F.scroller.scrollTop;if(!Z||f)return;var ae=H.options.resetSelectionOnContextMenu;ae&&H.doc.sel.contains(Z)==-1&&ha(H,Va)(H.doc,Gh(Z),G);var pe=q.style.cssText,Ce=I.wrapper.style.cssText,Ue=I.wrapper.offsetParent.getBoundingClientRect();I.wrapper.style.cssText="position: static",q.style.cssText=`position: absolute; width: 30px; height: 30px; +`?"n":!pt||/\s/.test(Ft)?null:"p";if(pt&&!Nt&&!tn&&(tn="s"),Xe&&Xe!=tn){H<0&&(H=1,Ue(),I.sticky="after");break}if(tn&&(Xe=tn),H>0&&!Ue(!Nt))break}var fn=_T(E,I,Z,ie,!0);return Nn(Z,fn)&&(fn.hitSide=!0),fn}function wde(E,I,H,F){var V=E.doc,Z=I.left,ie;if(F=="page"){var ae=Math.min(E.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),pe=Math.max(ae-.5*Sb(E.display),3);ie=(H>0?I.bottom:I.top)+H*pe}else F=="line"&&(ie=H>0?I.bottom+3:I.top-3);for(var Ce;Ce=mW(E,Z,ie),!!Ce.outside;){if(H<0?ie<=0:ie>=V.height){Ce.hitSide=!0;break}ie+=H*5}return Ce}var li=function(E){this.cm=E,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new W,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};li.prototype.init=function(E){var I=this,H=this,F=H.cm,V=H.div=E.lineDiv;V.contentEditable=!0,xde(V,F.options.spellcheck,F.options.autocorrect,F.options.autocapitalize);function Z(ae){for(var pe=ae.target;pe;pe=pe.parentNode){if(pe==V)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(pe.className))break}return!1}Be(V,"paste",function(ae){!Z(ae)||$e(F,ae)||bde(ae,F)||l<=11&&setTimeout(ha(F,function(){return I.updateFromDOM()}),20)}),Be(V,"compositionstart",function(ae){I.composing={data:ae.data,done:!1}}),Be(V,"compositionupdate",function(ae){I.composing||(I.composing={data:ae.data,done:!1})}),Be(V,"compositionend",function(ae){I.composing&&(ae.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),Be(V,"touchstart",function(){return H.forceCompositionEnd()}),Be(V,"input",function(){I.composing||I.readFromDOMSoon()});function ie(ae){if(!(!Z(ae)||$e(F,ae))){if(F.somethingSelected())TT({lineWise:!1,text:F.getSelections()}),ae.type=="cut"&&F.replaceSelection("",null,"cut");else if(F.options.lineWiseCopyCut){var pe=Sde(F);TT({lineWise:!0,text:pe.text}),ae.type=="cut"&&F.operation(function(){F.setSelections(pe.ranges,0,G),F.replaceSelection("",null,"cut")})}else return;if(ae.clipboardData){ae.clipboardData.clearData();var Ce=ju.text.join(` +`);if(ae.clipboardData.setData("Text",Ce),ae.clipboardData.getData("Text")==Ce){ae.preventDefault();return}}var Ue=_de(),Xe=Ue.firstChild;F.display.lineSpace.insertBefore(Ue,F.display.lineSpace.firstChild),Xe.value=ju.text.join(` +`);var pt=j();B(Xe),setTimeout(function(){F.display.lineSpace.removeChild(Ue),pt.focus(),pt==V&&H.showPrimarySelection()},50)}}Be(V,"copy",ie),Be(V,"cut",ie)},li.prototype.screenReaderLabelChanged=function(E){E?this.div.setAttribute("aria-label",E):this.div.removeAttribute("aria-label")},li.prototype.prepareSelection=function(){var E=pue(this.cm,!1);return E.focus=j()==this.div,E},li.prototype.showSelection=function(E,I){!E||!this.cm.display.view.length||((E.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(E))},li.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},li.prototype.showPrimarySelection=function(){var E=this.getSelection(),I=this.cm,H=I.doc.sel.primary(),F=H.from(),V=H.to();if(I.display.viewTo==I.display.viewFrom||F.line>=I.display.viewTo||V.line=I.display.viewFrom&&Ode(I,F)||{node:ae[0].measure.map[2],offset:0},Ce=V.lineE.firstLine()&&(F=gt(F.line-1,$t(E.doc,F.line-1).length)),V.ch==$t(E.doc,V.line).text.length&&V.lineI.viewTo-1)return!1;var Z,ie,ae;F.line==I.viewFrom||(Z=ng(E,F.line))==0?(ie=ct(I.view[0].line),ae=I.view[0].node):(ie=ct(I.view[Z].line),ae=I.view[Z-1].node.nextSibling);var pe=ng(E,V.line),Ce,Ue;if(pe==I.view.length-1?(Ce=I.viewTo-1,Ue=I.lineDiv.lastChild):(Ce=ct(I.view[pe+1].line)-1,Ue=I.view[pe+1].node.previousSibling),!ae)return!1;for(var Xe=E.doc.splitLines(Blt(E,ae,Ue,ie,Ce)),pt=zt(E.doc,gt(ie,0),gt(Ce,$t(E.doc,Ce).text.length));Xe.length>1&&pt.length>1;)if(ne(Xe)==ne(pt))Xe.pop(),pt.pop(),Ce--;else if(Xe[0]==pt[0])Xe.shift(),pt.shift(),ie++;else break;for(var st=0,Nt=0,Ft=Xe[0],tn=pt[0],fn=Math.min(Ft.length,tn.length);stF.ch&&yn.charCodeAt(yn.length-Nt-1)==pn.charCodeAt(pn.length-Nt-1);)st--,Nt++;Xe[Xe.length-1]=yn.slice(0,yn.length-Nt).replace(/^\u200b+/,""),Xe[0]=Xe[0].slice(st).replace(/\u200b+$/,"");var Ln=gt(ie,st),jn=gt(Ce,pt.length?ne(pt).length-Nt:0);if(Xe.length>1||Xe[0]||Bt(Ln,jn))return Tb(E.doc,Xe,Ln,jn,"+input"),!0},li.prototype.ensurePolled=function(){this.forceCompositionEnd()},li.prototype.reset=function(){this.forceCompositionEnd()},li.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},li.prototype.readFromDOMSoon=function(){var E=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(E.readDOMTimeout=null,E.composing)if(E.composing.done)E.composing=null;else return;E.updateFromDOM()},80))},li.prototype.updateFromDOM=function(){var E=this;(this.cm.isReadOnly()||!this.pollContent())&&ls(this.cm,function(){return kl(E.cm)})},li.prototype.setUneditable=function(E){E.contentEditable="false"},li.prototype.onKeyPress=function(E){E.charCode==0||this.composing||(E.preventDefault(),this.cm.isReadOnly()||ha(this.cm,VW)(this.cm,String.fromCharCode(E.charCode==null?E.keyCode:E.charCode),0))},li.prototype.readOnlyChanged=function(E){this.div.contentEditable=String(E!="nocursor")},li.prototype.onContextMenu=function(){},li.prototype.resetPosition=function(){},li.prototype.needsContentAttribute=!0;function Ode(E,I){var H=pW(E,I.line);if(!H||H.hidden)return null;var F=$t(E.doc,I.line),V=Jce(H,F,I.line),Z=je(F,E.doc.direction),ie="left";if(Z){var ae=Te(Z,I.ch);ie=ae%2?"right":"left"}var pe=nue(V.map,I.ch,ie);return pe.offset=pe.collapse=="right"?pe.end:pe.start,pe}function zlt(E){for(var I=E;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function Ab(E,I){return I&&(E.bad=!0),E}function Blt(E,I,H,F,V){var Z="",ie=!1,ae=E.doc.lineSeparator(),pe=!1;function Ce(st){return function(Nt){return Nt.id==st}}function Ue(){ie&&(Z+=ae,pe&&(Z+=ae),ie=pe=!1)}function Xe(st){st&&(Ue(),Z+=st)}function pt(st){if(st.nodeType==1){var Nt=st.getAttribute("cm-text");if(Nt){Xe(Nt);return}var Ft=st.getAttribute("cm-marker"),tn;if(Ft){var fn=E.findMarks(gt(F,0),gt(V+1,0),Ce(+Ft));fn.length&&(tn=fn[0].find(0))&&Xe(zt(E.doc,tn.from,tn.to).join(ae));return}if(st.getAttribute("contenteditable")=="false")return;var yn=/^(pre|div|p|li|table|br)$/i.test(st.nodeName);if(!/^br$/i.test(st.nodeName)&&st.textContent.length==0)return;yn&&Ue();for(var pn=0;pn=9&&I.hasSelection&&(I.hasSelection=null),H.poll()}),Be(V,"paste",function(ie){$e(F,ie)||bde(ie,F)||(F.state.pasteIncoming=+new Date,H.fastPoll())});function Z(ie){if(!$e(F,ie)){if(F.somethingSelected())TT({lineWise:!1,text:F.getSelections()});else if(F.options.lineWiseCopyCut){var ae=Sde(F);TT({lineWise:!0,text:ae.text}),ie.type=="cut"?F.setSelections(ae.ranges,null,G):(H.prevInput="",V.value=ae.text.join(` +`),B(V))}else return;ie.type=="cut"&&(F.state.cutIncoming=+new Date)}}Be(V,"cut",Z),Be(V,"copy",Z),Be(E.scroller,"paste",function(ie){if(!(Qf(E,ie)||$e(F,ie))){if(!V.dispatchEvent){F.state.pasteIncoming=+new Date,H.focus();return}var ae=new Event("paste");ae.clipboardData=ie.clipboardData,V.dispatchEvent(ae)}}),Be(E.lineSpace,"selectstart",function(ie){Qf(E,ie)||lt(ie)}),Be(V,"compositionstart",function(){var ie=F.getCursor("from");H.composing&&H.composing.range.clear(),H.composing={start:ie,range:F.markText(ie,F.getCursor("to"),{className:"CodeMirror-composing"})}}),Be(V,"compositionend",function(){H.composing&&(H.poll(),H.composing.range.clear(),H.composing=null)})},xo.prototype.createField=function(E){this.wrapper=_de(),this.textarea=this.wrapper.firstChild},xo.prototype.screenReaderLabelChanged=function(E){E?this.textarea.setAttribute("aria-label",E):this.textarea.removeAttribute("aria-label")},xo.prototype.prepareSelection=function(){var E=this.cm,I=E.display,H=E.doc,F=pue(E);if(E.options.moveInputWithCursor){var V=Au(E,H.sel.primary().head,"div"),Z=I.wrapper.getBoundingClientRect(),ie=I.lineDiv.getBoundingClientRect();F.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,V.top+ie.top-Z.top)),F.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,V.left+ie.left-Z.left))}return F},xo.prototype.showSelection=function(E){var I=this.cm,H=I.display;T(H.cursorDiv,E.cursors),T(H.selectionDiv,E.selection),E.teTop!=null&&(this.wrapper.style.top=E.teTop+"px",this.wrapper.style.left=E.teLeft+"px")},xo.prototype.reset=function(E){if(!(this.contextMenuPending||this.composing)){var I=this.cm;if(I.somethingSelected()){this.prevInput="";var H=I.getSelection();this.textarea.value=H,I.state.focused&&B(this.textarea),a&&l>=9&&(this.hasSelection=H)}else E||(this.prevInput=this.textarea.value="",a&&l>=9&&(this.hasSelection=null))}},xo.prototype.getField=function(){return this.textarea},xo.prototype.supportsTouch=function(){return!1},xo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!v||j()!=this.textarea))try{this.textarea.focus()}catch{}},xo.prototype.blur=function(){this.textarea.blur()},xo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xo.prototype.receivedFocus=function(){this.slowPoll()},xo.prototype.slowPoll=function(){var E=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){E.poll(),E.cm.state.focused&&E.slowPoll()})},xo.prototype.fastPoll=function(){var E=!1,I=this;I.pollingFast=!0;function H(){var F=I.poll();!F&&!E?(E=!0,I.polling.set(60,H)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,H)},xo.prototype.poll=function(){var E=this,I=this.cm,H=this.textarea,F=this.prevInput;if(this.contextMenuPending||!I.state.focused||Ze(H)&&!F&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var V=H.value;if(V==F&&!I.somethingSelected())return!1;if(a&&l>=9&&this.hasSelection===V||y&&/[\uf700-\uf7ff]/.test(V))return I.display.input.reset(),!1;if(I.doc.sel==I.display.selForContextMenu){var Z=V.charCodeAt(0);if(Z==8203&&!F&&(F="​"),Z==8666)return this.reset(),this.cm.execCommand("undo")}for(var ie=0,ae=Math.min(F.length,V.length);ie1e3||V.indexOf(` +`)>-1?H.value=E.prevInput="":E.prevInput=V,E.composing&&(E.composing.range.clear(),E.composing.range=I.markText(E.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xo.prototype.onKeyPress=function(){a&&l>=9&&(this.hasSelection=null),this.fastPoll()},xo.prototype.onContextMenu=function(E){var I=this,H=I.cm,F=H.display,V=I.textarea;I.contextMenuPending&&I.contextMenuPending();var Z=tg(H,E),ie=F.scroller.scrollTop;if(!Z||f)return;var ae=H.options.resetSelectionOnContextMenu;ae&&H.doc.sel.contains(Z)==-1&&ha(H,Va)(H.doc,Gh(Z),G);var pe=V.style.cssText,Ce=I.wrapper.style.cssText,Ue=I.wrapper.offsetParent.getBoundingClientRect();I.wrapper.style.cssText="position: static",V.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(E.clientY-Ue.top-5)+"px; left: "+(E.clientX-Ue.left-5)+`px; z-index: 1000; background: `+(a?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Xe;s&&(Xe=window.scrollY),F.input.focus(),s&&window.scrollTo(null,Xe),F.input.reset(),H.somethingSelected()||(q.value=I.prevInput=" "),I.contextMenuPending=st,F.selForContextMenu=H.doc.sel,clearTimeout(F.detectingSelectAll);function pt(){if(q.selectionStart!=null){var Ft=H.somethingSelected(),tn="​"+(Ft?q.value:"");q.value="⇚",q.value=tn,I.prevInput=Ft?"":"​",q.selectionStart=1,q.selectionEnd=tn.length,F.selForContextMenu=H.doc.sel}}function st(){if(I.contextMenuPending==st&&(I.contextMenuPending=!1,I.wrapper.style.cssText=Ce,q.style.cssText=pe,a&&l<9&&F.scrollbars.setScrollTop(F.scroller.scrollTop=ie),q.selectionStart!=null)){(!a||a&&l<9)&&pt();var Ft=0,tn=function(){F.selForContextMenu==H.doc.sel&&q.selectionStart==0&&q.selectionEnd>0&&I.prevInput=="​"?ha(H,Hue)(H):Ft++<10?F.detectingSelectAll=setTimeout(tn,500):(F.selForContextMenu=null,F.input.reset())};F.detectingSelectAll=setTimeout(tn,200)}}if(a&&l>=9&&pt(),w){we(E);var Nt=function(){me(window,"mouseup",Nt),setTimeout(st,20)};Be(window,"mouseup",Nt)}else setTimeout(st,50)},xo.prototype.readOnlyChanged=function(E){E||this.reset(),this.textarea.disabled=E=="nocursor",this.textarea.readOnly=!!E},xo.prototype.setUneditable=function(){},xo.prototype.needsContentAttribute=!1;function Hlt(E,I){if(I=I?z(I):{},I.value=E.value,!I.tabindex&&E.tabIndex&&(I.tabindex=E.tabIndex),!I.placeholder&&E.placeholder&&(I.placeholder=E.placeholder),I.autofocus==null){var H=k();I.autofocus=H==E||E.getAttribute("autofocus")!=null&&H==document.body}function F(){E.value=ae.getValue()}var q;if(E.form&&(Be(E.form,"submit",F),!I.leaveSubmitMethodAlone)){var Z=E.form;q=Z.submit;try{var ie=Z.submit=function(){F(),Z.submit=q,Z.submit(),Z.submit=ie}}catch{}}I.finishInit=function(pe){pe.save=F,pe.getTextArea=function(){return E},pe.toTextArea=function(){pe.toTextArea=isNaN,F(),E.parentNode.removeChild(pe.getWrapperElement()),E.style.display="",E.form&&(me(E.form,"submit",F),!I.leaveSubmitMethodAlone&&typeof E.form.submit=="function"&&(E.form.submit=q))}},E.style.display="none";var ae=qi(function(pe){return E.parentNode.insertBefore(pe,E.nextSibling)},I);return ae}function Wlt(E){E.off=me,E.on=Be,E.wheelEventPixels=Yat,E.Doc=jl,E.splitLines=rt,E.countColumn=V,E.findColumn=ee,E.isWordChar=he,E.Pass=X,E.signal=Ee,E.Line=Zf,E.changeEnd=Kh,E.scrollbarModel=yue,E.Pos=gt,E.cmpPos=Bt,E.modes=dt,E.mimeModes=_t,E.resolveMode=mt,E.getMode=It,E.modeExtensions=nt,E.extendMode=yt,E.copyState=xt,E.startState=cn,E.innerMode=At,E.commands=O6,E.keyMap=ep,E.keyName=ide,E.isModifierKey=nde,E.lookupKey=Rb,E.normalizeKeyMap=ylt,E.StringStream=Ht,E.SharedTextMarker=x6,E.TextMarker=Yh,E.LineWidget=S6,E.e_preventDefault=lt,E.e_stopPropagation=ft,E.e_stop=we,E.addClass=D,E.contains=N,E.rmClass=$,E.keyNames=Zh}Alt(qi),Llt(qi);var qlt="iter insert remove copy getEditor constructor".split(" ");for(var MT in jl.prototype)jl.prototype.hasOwnProperty(MT)&&U(qlt,MT)<0&&(qi.prototype[MT]=function(E){return function(){return E.apply(this.doc,arguments)}}(jl.prototype[MT]));return Ke(jl),qi.inputStyles={textarea:xo,contenteditable:li},qi.defineMode=function(E){!qi.defaults.mode&&E!="null"&&(qi.defaults.mode=E),Ot.apply(this,arguments)},qi.defineMIME=Ct,qi.defineMode("null",function(){return{token:function(E){return E.skipToEnd()}}}),qi.defineMIME("text/plain","null"),qi.defineExtension=function(E,I){qi.prototype[E]=I},qi.defineDocExtension=function(E,I){jl.prototype[E]=I},qi.fromTextArea=Hlt,Wlt(qi),qi.version="5.65.3",qi},XNn=function(e){e.defineOption("placeholder","",function(l,s,u){var c=u&&u!=e.Init;if(s&&!c)l.on("blur",i),l.on("change",o),l.on("swapDoc",o),e.on(l.getInputField(),"compositionupdate",l.state.placeholderCompose=function(){r(l)}),o(l);else if(!s&&c){l.off("blur",i),l.off("change",o),l.off("swapDoc",o),e.off(l.getInputField(),"compositionupdate",l.state.placeholderCompose),t(l);var f=l.getWrapperElement();f.className=f.className.replace(" CodeMirror-empty","")}s&&!l.hasFocus()&&i(l)});function t(l){l.state.placeholder&&(l.state.placeholder.parentNode.removeChild(l.state.placeholder),l.state.placeholder=null)}function n(l){t(l);var s=l.state.placeholder=document.createElement("pre");s.style.cssText="height: 0; overflow: visible",s.style.direction=l.getOption("direction"),s.className="CodeMirror-placeholder CodeMirror-line-like";var u=l.getOption("placeholder");typeof u=="string"&&(u=document.createTextNode(u)),s.appendChild(u),l.display.lineSpace.insertBefore(s,l.display.lineSpace.firstChild)}function r(l){setTimeout(function(){var s=!1;if(l.lineCount()==1){var u=l.getInputField();s=u.nodeName=="TEXTAREA"?!l.getLine(0).length:!/[^\u200b]/.test(u.querySelector(".CodeMirror-line").textContent)}s?n(l):t(l)},20)}function i(l){a(l)&&n(l)}function o(l){var s=l.getWrapperElement(),u=a(l);s.className=s.className.replace(" CodeMirror-empty","")+(u?" CodeMirror-empty":""),u?n(l):t(l)}function a(l){return l.lineCount()===1&&l.getLine(0)===""}},YNn=function(e){var t=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;e.commands.newlineAndIndentContinueMarkdownList=function(o){if(o.getOption("disableInput"))return e.Pass;for(var a=o.listSelections(),l=[],s=0;s\s*$/.test(p),y=!/>\s*$/.test(p);(v||y)&&o.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),l[s]=` + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Xe;s&&(Xe=window.scrollY),F.input.focus(),s&&window.scrollTo(null,Xe),F.input.reset(),H.somethingSelected()||(V.value=I.prevInput=" "),I.contextMenuPending=st,F.selForContextMenu=H.doc.sel,clearTimeout(F.detectingSelectAll);function pt(){if(V.selectionStart!=null){var Ft=H.somethingSelected(),tn="​"+(Ft?V.value:"");V.value="⇚",V.value=tn,I.prevInput=Ft?"":"​",V.selectionStart=1,V.selectionEnd=tn.length,F.selForContextMenu=H.doc.sel}}function st(){if(I.contextMenuPending==st&&(I.contextMenuPending=!1,I.wrapper.style.cssText=Ce,V.style.cssText=pe,a&&l<9&&F.scrollbars.setScrollTop(F.scroller.scrollTop=ie),V.selectionStart!=null)){(!a||a&&l<9)&&pt();var Ft=0,tn=function(){F.selForContextMenu==H.doc.sel&&V.selectionStart==0&&V.selectionEnd>0&&I.prevInput=="​"?ha(H,Wue)(H):Ft++<10?F.detectingSelectAll=setTimeout(tn,500):(F.selForContextMenu=null,F.input.reset())};F.detectingSelectAll=setTimeout(tn,200)}}if(a&&l>=9&&pt(),w){we(E);var Nt=function(){me(window,"mouseup",Nt),setTimeout(st,20)};Be(window,"mouseup",Nt)}else setTimeout(st,50)},xo.prototype.readOnlyChanged=function(E){E||this.reset(),this.textarea.disabled=E=="nocursor",this.textarea.readOnly=!!E},xo.prototype.setUneditable=function(){},xo.prototype.needsContentAttribute=!1;function Hlt(E,I){if(I=I?z(I):{},I.value=E.value,!I.tabindex&&E.tabIndex&&(I.tabindex=E.tabIndex),!I.placeholder&&E.placeholder&&(I.placeholder=E.placeholder),I.autofocus==null){var H=j();I.autofocus=H==E||E.getAttribute("autofocus")!=null&&H==document.body}function F(){E.value=ae.getValue()}var V;if(E.form&&(Be(E.form,"submit",F),!I.leaveSubmitMethodAlone)){var Z=E.form;V=Z.submit;try{var ie=Z.submit=function(){F(),Z.submit=V,Z.submit(),Z.submit=ie}}catch{}}I.finishInit=function(pe){pe.save=F,pe.getTextArea=function(){return E},pe.toTextArea=function(){pe.toTextArea=isNaN,F(),E.parentNode.removeChild(pe.getWrapperElement()),E.style.display="",E.form&&(me(E.form,"submit",F),!I.leaveSubmitMethodAlone&&typeof E.form.submit=="function"&&(E.form.submit=V))}},E.style.display="none";var ae=qi(function(pe){return E.parentNode.insertBefore(pe,E.nextSibling)},I);return ae}function Wlt(E){E.off=me,E.on=Be,E.wheelEventPixels=Yat,E.Doc=jl,E.splitLines=rt,E.countColumn=q,E.findColumn=ee,E.isWordChar=he,E.Pass=X,E.signal=Ee,E.Line=Zf,E.changeEnd=Kh,E.scrollbarModel=bue,E.Pos=gt,E.cmpPos=Bt,E.modes=dt,E.mimeModes=_t,E.resolveMode=mt,E.getMode=It,E.modeExtensions=nt,E.extendMode=yt,E.copyState=xt,E.startState=cn,E.innerMode=At,E.commands=O6,E.keyMap=ep,E.keyName=ode,E.isModifierKey=rde,E.lookupKey=Rb,E.normalizeKeyMap=ylt,E.StringStream=Ht,E.SharedTextMarker=x6,E.TextMarker=Yh,E.LineWidget=S6,E.e_preventDefault=lt,E.e_stopPropagation=ft,E.e_stop=we,E.addClass=D,E.contains=N,E.rmClass=$,E.keyNames=Zh}Alt(qi),Llt(qi);var qlt="iter insert remove copy getEditor constructor".split(" ");for(var RT in jl.prototype)jl.prototype.hasOwnProperty(RT)&&U(qlt,RT)<0&&(qi.prototype[RT]=function(E){return function(){return E.apply(this.doc,arguments)}}(jl.prototype[RT]));return Ke(jl),qi.inputStyles={textarea:xo,contenteditable:li},qi.defineMode=function(E){!qi.defaults.mode&&E!="null"&&(qi.defaults.mode=E),Ot.apply(this,arguments)},qi.defineMIME=Ct,qi.defineMode("null",function(){return{token:function(E){return E.skipToEnd()}}}),qi.defineMIME("text/plain","null"),qi.defineExtension=function(E,I){qi.prototype[E]=I},qi.defineDocExtension=function(E,I){jl.prototype[E]=I},qi.fromTextArea=Hlt,Wlt(qi),qi.version="5.65.3",qi},GNn=function(e){e.defineOption("placeholder","",function(l,s,u){var c=u&&u!=e.Init;if(s&&!c)l.on("blur",i),l.on("change",o),l.on("swapDoc",o),e.on(l.getInputField(),"compositionupdate",l.state.placeholderCompose=function(){r(l)}),o(l);else if(!s&&c){l.off("blur",i),l.off("change",o),l.off("swapDoc",o),e.off(l.getInputField(),"compositionupdate",l.state.placeholderCompose),t(l);var f=l.getWrapperElement();f.className=f.className.replace(" CodeMirror-empty","")}s&&!l.hasFocus()&&i(l)});function t(l){l.state.placeholder&&(l.state.placeholder.parentNode.removeChild(l.state.placeholder),l.state.placeholder=null)}function n(l){t(l);var s=l.state.placeholder=document.createElement("pre");s.style.cssText="height: 0; overflow: visible",s.style.direction=l.getOption("direction"),s.className="CodeMirror-placeholder CodeMirror-line-like";var u=l.getOption("placeholder");typeof u=="string"&&(u=document.createTextNode(u)),s.appendChild(u),l.display.lineSpace.insertBefore(s,l.display.lineSpace.firstChild)}function r(l){setTimeout(function(){var s=!1;if(l.lineCount()==1){var u=l.getInputField();s=u.nodeName=="TEXTAREA"?!l.getLine(0).length:!/[^\u200b]/.test(u.querySelector(".CodeMirror-line").textContent)}s?n(l):t(l)},20)}function i(l){a(l)&&n(l)}function o(l){var s=l.getWrapperElement(),u=a(l);s.className=s.className.replace(" CodeMirror-empty","")+(u?" CodeMirror-empty":""),u?n(l):t(l)}function a(l){return l.lineCount()===1&&l.getLine(0)===""}},KNn=function(e){var t=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,n=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,r=/[*+-]\s/;e.commands.newlineAndIndentContinueMarkdownList=function(o){if(o.getOption("disableInput"))return e.Pass;for(var a=o.listSelections(),l=[],s=0;s\s*$/.test(p),y=!/>\s*$/.test(p);(v||y)&&o.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}),l[s]=` `}else{var b=g[1],C=g[5],x=!(r.test(g[2])||g[2].indexOf(">")>=0),S=x?parseInt(g[3],10)+1+g[4]:g[2].replace("x"," ");l[s]=` -`+b+S+C,x&&i(o,u)}}o.replaceSelections(l)};function i(o,a){var l=a.line,s=0,u=0,c=t.exec(o.getLine(l)),f=c[1];do{s+=1;var h=l+s,d=o.getLine(h),p=t.exec(d);if(p){var g=p[1],m=parseInt(c[3],10)+s-u,v=parseInt(p[3],10),y=v;if(f===g&&!isNaN(v))m===v&&(y=v+1),m>v&&(y=m+1),o.replaceRange(d.replace(t,g+y+p[4]+p[5]),{line:h,ch:0},{line:h,ch:d.length});else{if(f.length>g.length||f.length]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",function(n,r){var i=0;function o(u){return u.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(u){return{code:u.code,codeBlock:u.codeBlock,ateSpace:u.ateSpace}},token:function(u,c){if(c.combineTokens=null,c.codeBlock)return u.match(/^```+/)?(c.codeBlock=!1,null):(u.skipToEnd(),null);if(u.sol()&&(c.code=!1),u.sol()&&u.match(/^```+/))return u.skipToEnd(),c.codeBlock=!0,null;if(u.peek()==="`"){u.next();var f=u.pos;u.eatWhile("`");var h=1+u.pos-f;return c.code?h===i&&(c.code=!1):(i=h,c.code=!0),null}else if(c.code)return u.next(),null;if(u.eatSpace())return c.ateSpace=!0,null;if((u.sol()||c.ateSpace)&&(c.ateSpace=!1,r.gitHubSpice!==!1)){if(u.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return c.combineTokens=!0,"link";if(u.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return c.combineTokens=!0,"link"}return u.match(t)&&u.string.slice(u.start-2,u.start)!="]("&&(u.start==0||/\W/.test(u.string.charAt(u.start-1)))?(c.combineTokens=!0,"link"):(u.next(),null)},blankLine:o},l={taskLists:!0,strikethrough:!0,emoji:!0};for(var s in r)l[s]=r[s];return l.name="markdown",e.overlayMode(e.getMode(n,l),a)},"markdown"),e.defineMIME("text/x-gfm","gfm")},JNn=function(e){e.defineMode("markdown",function(t,n){var r=e.getMode(t,"text/html"),i=r.name=="null";function o(j){if(e.findModeByName){var z=e.findModeByName(j);z&&(j=z.mime||z.mimes[0])}var V=e.getMode(t,j);return V.name=="null"?null:V}n.highlightFormatting===void 0&&(n.highlightFormatting=!1),n.maxBlockquoteDepth===void 0&&(n.maxBlockquoteDepth=0),n.taskLists===void 0&&(n.taskLists=!1),n.strikethrough===void 0&&(n.strikethrough=!1),n.emoji===void 0&&(n.emoji=!1),n.fencedCodeBlockHighlighting===void 0&&(n.fencedCodeBlockHighlighting=!0),n.fencedCodeBlockDefaultMode===void 0&&(n.fencedCodeBlockDefaultMode="text/plain"),n.xml===void 0&&(n.xml=!0),n.tokenTypeOverrides===void 0&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var l in a)a.hasOwnProperty(l)&&n.tokenTypeOverrides[l]&&(a[l]=n.tokenTypeOverrides[l]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,u=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,f=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,g=/^\s*\[[^\]]+?\]:.*$/,m=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(j,z,V){return z.f=z.inline=V,V(j,z)}function b(j,z,V){return z.f=z.block=V,V(j,z)}function C(j){return!j||!/\S/.test(j.string)}function x(j){if(j.linkTitle=!1,j.linkHref=!1,j.linkText=!1,j.em=!1,j.strong=!1,j.strikethrough=!1,j.quote=0,j.indentedCode=!1,j.f==w){var z=i;if(!z){var V=e.innerMode(r,j.htmlState);z=V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText}z&&(j.f=T,j.block=S,j.htmlState=null)}return j.trailingSpace=0,j.trailingSpaceNewLine=!1,j.prevLine=j.thisLine,j.thisLine={stream:null},null}function S(j,z){var V=j.column()===z.indentation,W=C(z.prevLine.stream),U=z.indentedCode,K=z.prevLine.hr,X=z.list!==!1,G=(z.listStack[z.listStack.length-1]||0)+3;z.indentedCode=!1;var Y=z.indentation;if(z.indentationDiff===null&&(z.indentationDiff=z.indentation,X)){for(z.list=null;Y=4&&(U||z.prevLine.fencedCodeEnd||z.prevLine.header||W))return j.skipToEnd(),z.indentedCode=!0,a.code;if(j.eatSpace())return null;if(V&&z.indentation<=G&&(Q=j.match(f))&&Q[1].length<=6)return z.quote=0,z.header=Q[1].length,z.thisLine.header=!0,n.highlightFormatting&&(z.formatting="header"),z.f=z.inline,$(z);if(z.indentation<=G&&j.eat(">"))return z.quote=V?1:z.quote+1,n.highlightFormatting&&(z.formatting="quote"),j.eatSpace(),$(z);if(!ee&&!z.setext&&V&&z.indentation<=G&&(Q=j.match(u))){var te=Q[1]?"ol":"ul";return z.indentation=Y+j.current().length,z.list=!0,z.quote=0,z.listStack.push(z.indentation),z.em=!1,z.strong=!1,z.code=!1,z.strikethrough=!1,n.taskLists&&j.match(c,!1)&&(z.taskList=!0),z.f=z.inline,n.highlightFormatting&&(z.formatting=["list","list-"+te]),$(z)}else{if(V&&z.indentation<=G&&(Q=j.match(p,!0)))return z.quote=0,z.fencedEndRE=new RegExp(Q[1]+"+ *$"),z.localMode=n.fencedCodeBlockHighlighting&&o(Q[2]||n.fencedCodeBlockDefaultMode),z.localMode&&(z.localState=e.startState(z.localMode)),z.f=z.block=O,n.highlightFormatting&&(z.formatting="code-block"),z.code=-1,$(z);if(z.setext||(!J||!X)&&!z.quote&&z.list===!1&&!z.code&&!ee&&!g.test(j.string)&&(Q=j.lookAhead(1))&&(Q=Q.match(h)))return z.setext?(z.header=z.setext,z.setext=0,j.skipToEnd(),n.highlightFormatting&&(z.formatting="header")):(z.header=Q[0].charAt(0)=="="?1:2,z.setext=z.header),z.thisLine.header=!0,z.f=z.inline,$(z);if(ee)return j.skipToEnd(),z.hr=!0,z.thisLine.hr=!0,a.hr;if(j.peek()==="[")return y(j,z,k)}return y(j,z,z.inline)}function w(j,z){var V=r.token(j,z.htmlState);if(!i){var W=e.innerMode(r,z.htmlState);(W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText||z.md_inside&&j.current().indexOf(">")>-1)&&(z.f=T,z.block=S,z.htmlState=null)}return V}function O(j,z){var V=z.listStack[z.listStack.length-1]||0,W=z.indentation=j.quote?z.push(a.formatting+"-"+j.formatting[V]+"-"+j.quote):z.push("error"))}if(j.taskOpen)return z.push("meta"),z.length?z.join(" "):null;if(j.taskClosed)return z.push("property"),z.length?z.join(" "):null;if(j.linkHref?z.push(a.linkHref,"url"):(j.strong&&z.push(a.strong),j.em&&z.push(a.em),j.strikethrough&&z.push(a.strikethrough),j.emoji&&z.push(a.emoji),j.linkText&&z.push(a.linkText),j.code&&z.push(a.code),j.image&&z.push(a.image),j.imageAltText&&z.push(a.imageAltText,"link"),j.imageMarker&&z.push(a.imageMarker)),j.header&&z.push(a.header,a.header+"-"+j.header),j.quote&&(z.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=j.quote?z.push(a.quote+"-"+j.quote):z.push(a.quote+"-"+n.maxBlockquoteDepth)),j.list!==!1){var W=(j.listStack.length-1)%3;W?W===1?z.push(a.list2):z.push(a.list3):z.push(a.list1)}return j.trailingSpaceNewLine?z.push("trailing-space-new-line"):j.trailingSpace&&z.push("trailing-space-"+(j.trailingSpace%2?"a":"b")),z.length?z.join(" "):null}function P(j,z){if(j.match(d,!0))return $(z)}function T(j,z){var V=z.text(j,z);if(typeof V<"u")return V;if(z.list)return z.list=null,$(z);if(z.taskList){var W=j.match(c,!0)[1]===" ";return W?z.taskOpen=!0:z.taskClosed=!0,n.highlightFormatting&&(z.formatting="task"),z.taskList=!1,$(z)}if(z.taskOpen=!1,z.taskClosed=!1,z.header&&j.match(/^#+$/,!0))return n.highlightFormatting&&(z.formatting="header"),$(z);var U=j.next();if(z.linkTitle){z.linkTitle=!1;var K=U;U==="("&&(K=")"),K=(K+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var X="^\\s*(?:[^"+K+"\\\\]+|\\\\\\\\|\\\\.)"+K;if(j.match(new RegExp(X),!0))return a.linkHref}if(U==="`"){var G=z.formatting;n.highlightFormatting&&(z.formatting="code"),j.eatWhile("`");var Y=j.current().length;if(z.code==0&&(!z.quote||Y==1))return z.code=Y,$(z);if(Y==z.code){var J=$(z);return z.code=0,J}else return z.formatting=G,$(z)}else if(z.code)return $(z);if(U==="\\"&&(j.next(),n.highlightFormatting)){var ee=$(z),Q=a.formatting+"-escape";return ee?ee+" "+Q:Q}if(U==="!"&&j.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return z.imageMarker=!0,z.image=!0,n.highlightFormatting&&(z.formatting="image"),$(z);if(U==="["&&z.imageMarker&&j.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return z.imageMarker=!1,z.imageAltText=!0,n.highlightFormatting&&(z.formatting="image"),$(z);if(U==="]"&&z.imageAltText){n.highlightFormatting&&(z.formatting="image");var ee=$(z);return z.imageAltText=!1,z.image=!1,z.inline=z.f=M,ee}if(U==="["&&!z.image)return z.linkText&&j.match(/^.*?\]/)||(z.linkText=!0,n.highlightFormatting&&(z.formatting="link")),$(z);if(U==="]"&&z.linkText){n.highlightFormatting&&(z.formatting="link");var ee=$(z);return z.linkText=!1,z.inline=z.f=j.match(/\(.*?\)| ?\[.*?\]/,!1)?M:T,ee}if(U==="<"&&j.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=R,n.highlightFormatting&&(z.formatting="link");var ee=$(z);return ee?ee+=" ":ee="",ee+a.linkInline}if(U==="<"&&j.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=R,n.highlightFormatting&&(z.formatting="link");var ee=$(z);return ee?ee+=" ":ee="",ee+a.linkEmail}if(n.xml&&U==="<"&&j.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var te=j.string.indexOf(">",j.pos);if(te!=-1){var ne=j.string.substring(j.start,te);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ne)&&(z.md_inside=!0)}return j.backUp(1),z.htmlState=e.startState(r),b(j,z,w)}if(n.xml&&U==="<"&&j.match(/^\/\w*?>/))return z.md_inside=!1,"tag";if(U==="*"||U==="_"){for(var re=1,oe=j.pos==1?" ":j.string.charAt(j.pos-2);re<3&&j.eat(U);)re++;var se=j.peek()||" ",ye=!/\s/.test(se)&&(!m.test(se)||/\s/.test(oe)||m.test(oe)),be=!/\s/.test(oe)&&(!m.test(oe)||/\s/.test(se)||m.test(se)),he=null,le=null;if(re%2&&(!z.em&&ye&&(U==="*"||!be||m.test(oe))?he=!0:z.em==U&&be&&(U==="*"||!ye||m.test(se))&&(he=!1)),re>1&&(!z.strong&&ye&&(U==="*"||!be||m.test(oe))?le=!0:z.strong==U&&be&&(U==="*"||!ye||m.test(se))&&(le=!1)),le!=null||he!=null){n.highlightFormatting&&(z.formatting=he==null?"strong":le==null?"em":"strong em"),he===!0&&(z.em=U),le===!0&&(z.strong=U);var J=$(z);return he===!1&&(z.em=!1),le===!1&&(z.strong=!1),J}}else if(U===" "&&(j.eat("*")||j.eat("_"))){if(j.peek()===" ")return $(z);j.backUp(1)}if(n.strikethrough){if(U==="~"&&j.eatWhile(U)){if(z.strikethrough){n.highlightFormatting&&(z.formatting="strikethrough");var J=$(z);return z.strikethrough=!1,J}else if(j.match(/^[^\s]/,!1))return z.strikethrough=!0,n.highlightFormatting&&(z.formatting="strikethrough"),$(z)}else if(U===" "&&j.match("~~",!0)){if(j.peek()===" ")return $(z);j.backUp(2)}}if(n.emoji&&U===":"&&j.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){z.emoji=!0,n.highlightFormatting&&(z.formatting="emoji");var ve=$(z);return z.emoji=!1,ve}return U===" "&&(j.match(/^ +$/,!1)?z.trailingSpace++:z.trailingSpace&&(z.trailingSpaceNewLine=!0)),$(z)}function R(j,z){var V=j.next();if(V===">"){z.f=z.inline=T,n.highlightFormatting&&(z.formatting="link");var W=$(z);return W?W+=" ":W="",W+a.linkInline}return j.match(/^[^>]+/,!0),a.linkInline}function M(j,z){if(j.eatSpace())return null;var V=j.next();return V==="("||V==="["?(z.f=z.inline=N(V==="("?")":"]"),n.highlightFormatting&&(z.formatting="link-string"),z.linkHref=!0,$(z)):"error"}var A={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(j){return function(z,V){var W=z.next();if(W===j){V.f=V.inline=T,n.highlightFormatting&&(V.formatting="link-string");var U=$(V);return V.linkHref=!1,U}return z.match(A[j]),V.linkHref=!0,$(V)}}function k(j,z){return j.match(/^([^\]\\]|\\.)*\]:/,!1)?(z.f=D,j.next(),n.highlightFormatting&&(z.formatting="link"),z.linkText=!0,$(z)):y(j,z,T)}function D(j,z){if(j.match("]:",!0)){z.f=z.inline=L,n.highlightFormatting&&(z.formatting="link");var V=$(z);return z.linkText=!1,V}return j.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function L(j,z){return j.eatSpace()?null:(j.match(/^[^\s]+/,!0),j.peek()===void 0?z.linkTitle=!0:j.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),z.f=z.inline=T,a.linkHref+" url")}var B={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:T,text:P,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(j){return{f:j.f,prevLine:j.prevLine,thisLine:j.thisLine,block:j.block,htmlState:j.htmlState&&e.copyState(r,j.htmlState),indentation:j.indentation,localMode:j.localMode,localState:j.localMode?e.copyState(j.localMode,j.localState):null,inline:j.inline,text:j.text,formatting:!1,linkText:j.linkText,linkTitle:j.linkTitle,linkHref:j.linkHref,code:j.code,em:j.em,strong:j.strong,strikethrough:j.strikethrough,emoji:j.emoji,header:j.header,setext:j.setext,hr:j.hr,taskList:j.taskList,list:j.list,listStack:j.listStack.slice(0),quote:j.quote,indentedCode:j.indentedCode,trailingSpace:j.trailingSpace,trailingSpaceNewLine:j.trailingSpaceNewLine,md_inside:j.md_inside,fencedEndRE:j.fencedEndRE}},token:function(j,z){if(z.formatting=!1,j!=z.thisLine.stream){if(z.header=0,z.hr=!1,j.match(/^\s*$/,!0))return x(z),null;if(z.prevLine=z.thisLine,z.thisLine={stream:j},z.taskList=!1,z.trailingSpace=0,z.trailingSpaceNewLine=!1,!z.localState&&(z.f=z.block,z.f!=w)){var V=j.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(z.indentation=V,z.indentationDiff=null,V>0)return null}}return z.f(j,z)},innerMode:function(j){return j.block==w?{state:j.htmlState,mode:r}:j.localState?{state:j.localState,mode:j.localMode}:{state:j,mode:B}},indent:function(j,z,V){return j.block==w&&r.indent?r.indent(j.htmlState,z,V):j.localState&&j.localMode.indent?j.localMode.indent(j.localState,z,V):e.Pass},blankLine:x,getType:$,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return B},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")},eAn=function(e){var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,i){var o=r.indentUnit,a={},l=i.htmlMode?t:n;for(var s in l)a[s]=l[s];for(var s in i)a[s]=i[s];var u,c;function f(M,A){function N(L){return A.tokenize=L,L(M,A)}var k=M.next();if(k=="<")return M.eat("!")?M.eat("[")?M.match("CDATA[")?N(p("atom","]]>")):null:M.match("--")?N(p("comment","-->")):M.match("DOCTYPE",!0,!0)?(M.eatWhile(/[\w\._\-]/),N(g(1))):null:M.eat("?")?(M.eatWhile(/[\w\._\-]/),A.tokenize=p("meta","?>"),"meta"):(u=M.eat("/")?"closeTag":"openTag",A.tokenize=h,"tag bracket");if(k=="&"){var D;return M.eat("#")?M.eat("x")?D=M.eatWhile(/[a-fA-F\d]/)&&M.eat(";"):D=M.eatWhile(/[\d]/)&&M.eat(";"):D=M.eatWhile(/[\w\.\-:]/)&&M.eat(";"),D?"atom":"error"}else return M.eatWhile(/[^&<]/),null}f.isInText=!0;function h(M,A){var N=M.next();if(N==">"||N=="/"&&M.eat(">"))return A.tokenize=f,u=N==">"?"endTag":"selfcloseTag","tag bracket";if(N=="=")return u="equals",null;if(N=="<"){A.tokenize=f,A.state=C,A.tagName=A.tagStart=null;var k=A.tokenize(M,A);return k?k+" tag error":"tag error"}else return/[\'\"]/.test(N)?(A.tokenize=d(N),A.stringStartCol=M.column(),A.tokenize(M,A)):(M.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function d(M){var A=function(N,k){for(;!N.eol();)if(N.next()==M){k.tokenize=h;break}return"string"};return A.isInAttribute=!0,A}function p(M,A){return function(N,k){for(;!N.eol();){if(N.match(A)){k.tokenize=f;break}N.next()}return M}}function g(M){return function(A,N){for(var k;(k=A.next())!=null;){if(k=="<")return N.tokenize=g(M+1),N.tokenize(A,N);if(k==">")if(M==1){N.tokenize=f;break}else return N.tokenize=g(M-1),N.tokenize(A,N)}return"meta"}}function m(M){return M&&M.toLowerCase()}function v(M,A,N){this.prev=M.context,this.tagName=A||"",this.indent=M.indented,this.startOfLine=N,(a.doNotIndent.hasOwnProperty(A)||M.context&&M.context.noIndent)&&(this.noIndent=!0)}function y(M){M.context&&(M.context=M.context.prev)}function b(M,A){for(var N;;){if(!M.context||(N=M.context.tagName,!a.contextGrabbers.hasOwnProperty(m(N))||!a.contextGrabbers[m(N)].hasOwnProperty(m(A))))return;y(M)}}function C(M,A,N){return M=="openTag"?(N.tagStart=A.column(),x):M=="closeTag"?S:C}function x(M,A,N){return M=="word"?(N.tagName=A.current(),c="tag",$):a.allowMissingTagName&&M=="endTag"?(c="tag bracket",$(M,A,N)):(c="error",x)}function S(M,A,N){if(M=="word"){var k=A.current();return N.context&&N.context.tagName!=k&&a.implicitlyClosed.hasOwnProperty(m(N.context.tagName))&&y(N),N.context&&N.context.tagName==k||a.matchClosing===!1?(c="tag",w):(c="tag error",O)}else return a.allowMissingTagName&&M=="endTag"?(c="tag bracket",w(M,A,N)):(c="error",O)}function w(M,A,N){return M!="endTag"?(c="error",w):(y(N),C)}function O(M,A,N){return c="error",w(M,A,N)}function $(M,A,N){if(M=="word")return c="attribute",P;if(M=="endTag"||M=="selfcloseTag"){var k=N.tagName,D=N.tagStart;return N.tagName=N.tagStart=null,M=="selfcloseTag"||a.autoSelfClosers.hasOwnProperty(m(k))?b(N,k):(b(N,k),N.context=new v(N,k,D==N.indented)),C}return c="error",$}function P(M,A,N){return M=="equals"?T:(a.allowMissing||(c="error"),$(M,A,N))}function T(M,A,N){return M=="string"?R:M=="word"&&a.allowUnquoted?(c="string",$):(c="error",$(M,A,N))}function R(M,A,N){return M=="string"?R:$(M,A,N)}return{startState:function(M){var A={tokenize:f,state:C,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(A.baseIndent=M),A},token:function(M,A){if(!A.tagName&&M.sol()&&(A.indented=M.indentation()),M.eatSpace())return null;u=null;var N=A.tokenize(M,A);return(N||u)&&N!="comment"&&(c=null,A.state=A.state(u||N,M,A),c&&(N=c=="error"?N+" error":c)),N},indent:function(M,A,N){var k=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+o;if(k&&k.noIndent)return e.Pass;if(M.tokenize!=h&&M.tokenize!=f)return N?N.match(/^(\s*)/)[0].length:0;if(M.tagName)return a.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+o*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(M){M.state==T&&(M.state=$)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var A=[],N=M.context;N;N=N.prev)A.push(N.tagName);return A.reverse()}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})},tAn=function(e){var t=0,n=1,r=2;e.defineMode("yaml-frontmatter",function(i,o){var a=e.getMode(i,"yaml"),l=e.getMode(i,o&&o.base||"gfm");function s(u){return u.state==n?{mode:a,state:u.yaml}:{mode:l,state:u.inner}}return{startState:function(){return{state:t,yaml:null,inner:e.startState(l)}},copyState:function(u){return{state:u.state,yaml:u.yaml&&e.copyState(a,u.yaml),inner:e.copyState(l,u.inner)}},token:function(u,c){if(c.state==t)return u.match("---",!1)?(c.state=n,c.yaml=e.startState(a),a.token(u,c.yaml)):(c.state=r,l.token(u,c.inner));if(c.state==n){var f=u.sol()&&u.match(/(---|\.\.\.)/,!1),h=a.token(u,c.yaml);return f&&(c.state=r,c.yaml=null),h}else return l.token(u,c.inner)},innerMode:s,indent:function(u,c,f){var h=s(u);return h.mode.indent?h.mode.indent(h.state,c,f):e.Pass},blankLine:function(u){var c=s(u);if(c.mode.blankLine)return c.mode.blankLine(c.state)}}})},nAn=function(e){e.defineMode("yaml",function(){var t=["true","false","on","off","yes","no"],n=new RegExp("\\b(("+t.join(")|(")+"))$","i");return{token:function(r,i){var o=r.peek(),a=i.escaped;if(i.escaped=!1,o=="#"&&(r.pos==0||/\s/.test(r.string.charAt(r.pos-1))))return r.skipToEnd(),"comment";if(r.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&r.indentation()>i.keyCol)return r.skipToEnd(),"string";if(i.literal&&(i.literal=!1),r.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,r.match("---")||r.match("..."))return"def";if(r.match(/\s*-\s+/))return"meta"}if(r.match(/^(\{|\}|\[|\])/))return o=="{"?i.inlinePairs++:o=="}"?i.inlinePairs--:o=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!a&&o==",")return r.next(),"meta";if(i.inlinePairs>0&&!a&&o==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,r.next(),"meta";if(i.pairStart){if(r.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(r.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(i.inlinePairs==0&&r.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&r.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(r.match(n))return"keyword"}return!i.pair&&r.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(i.pair=!0,i.keyCol=r.indentation(),"atom"):i.pair&&r.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=o=="\\",r.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")};var rAn=function(e){e===void 0&&(e={});var t=e.accept;t===void 0&&(t="");var n=e.capture;n===void 0&&(n=!1);var r=e.multiple;r===void 0&&(r=!1);var i=document.createElement("input");return i.type="file",i.accept=t,i.capture=n,i.multiple=r,i},Fit=function(e){return new Promise(function(t){var n=rAn(e);n.addEventListener("change",function(){return t(n.files||null)}),setTimeout(function(){var r=new MouseEvent("click");n.dispatchEvent(r)},0)})},iAn=/[a-zA-Z0-9_\u0392-\u03c9\u00c0-\u00ff\u0600-\u06ff]+|[\u4e00-\u9fff\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g,oAn=function(e){var t=e.match(iAn),n=0;if(!t)return 0;for(var r=0;r=19968?n+=t[r].length:n+=1;return n};const aAn=bo(oAn),xce={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto","xmpp","irc","ircs"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],attributes:{a:["href"],img:["src","longDesc"],input:[["type","checkbox"],["disabled",!0]],li:[["className","task-list-item"]],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},required:{input:{type:"checkbox",disabled:!0}}},af={}.hasOwnProperty,AX={root:{children:yTe},doctype:sAn,comment:cAn,element:{tagName:Wit,properties:uAn,children:yTe},text:{value:pAn},"*":{data:bTe,position:bTe}};function lAn(e,t){let n={type:"root",children:[]};if(e&&typeof e=="object"&&e.type){const r=Hit(Object.assign({},xce,t||{}),e,[]);r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r)}return n}function Hit(e,t,n){const r=t&&t.type,i={type:t.type};let o;if(af.call(AX,r)){let a=AX[r];if(typeof a=="function"&&(a=a(e,t)),a){const l=Object.assign({},a,AX["*"]);let s;o=!0;for(s in l)if(af.call(l,s)){const u=l[s](e,t[s],t,n);u===!1?(o=void 0,i[s]=t[s]):u!=null&&(i[s]=u)}}}return o?i:i.type==="element"&&e.strip&&!e.strip.includes(i.tagName)?i.children:void 0}function yTe(e,t,n,r){const i=[];if(Array.isArray(t)){let o=-1;for(n.type==="element"&&r.push(n.tagName);++o");return r<0?n:n.slice(0,r)}function pAn(e,t){return typeof t=="string"?t:""}function bTe(e,t){return t}function hAn(e,t,n,r){let i=-1;const o=[];for(;++ii&&typeof i=="object"&&"flags"in i?i.test(String(t)):i===t)))return e.clobberPrefix&&e.clobber&&e.clobber.includes(n)?e.clobberPrefix+t:t}function gAn(e,t,n){const r=String(t),i=r.indexOf(":"),o=r.indexOf("?"),a=r.indexOf("#"),l=r.indexOf("/"),s=e.protocols&&af.call(e.protocols,n)?e.protocols[n].concat():[];let u=-1;if(s.length===0||i<0||l>-1&&i>l||o>-1&&i>o||a>-1&&i>a)return!0;for(;++u4&&e.slice(0,4).toLowerCase()==="data"}var Ld={};const vAn=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Ld.REPLACEMENT_CHARACTER="�";Ld.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Ld.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Ld.isSurrogate=function(e){return e>=55296&&e<=57343};Ld.isSurrogatePair=function(e){return e>=56320&&e<=57343};Ld.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};Ld.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};Ld.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||vAn.indexOf(e)>-1};var _ce={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const k2=Ld,kX=_ce,Zm=k2.CODE_POINTS,yAn=65536;let bAn=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=yAn}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(k2.isSurrogatePair(n))return this.pos++,this._addGap(),k2.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Zm.EOF;return this._err(kX.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Zm.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===Zm.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===Zm.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Zm.LINE_FEED):(this.skipNextNewLine=!1,k2.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===Zm.LINE_FEED||t===Zm.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){k2.isControlCodePoint(t)?this._err(kX.controlCharacterInInputStream):k2.isUndefinedCodePoint(t)&&this._err(kX.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};var CAn=bAn,SAn=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const xAn=CAn,wi=Ld,Rv=SAn,Ut=_ce,tt=wi.CODE_POINTS,Qm=wi.CODE_POINT_SEQUENCES,_An={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},Vit=1,Uit=2,Git=4,wAn=Vit|Uit|Git,Mr="DATA_STATE",j2="RCDATA_STATE",b9="RAWTEXT_STATE",Ip="SCRIPT_DATA_STATE",Kit="PLAINTEXT_STATE",STe="TAG_OPEN_STATE",xTe="END_TAG_OPEN_STATE",jX="TAG_NAME_STATE",_Te="RCDATA_LESS_THAN_SIGN_STATE",wTe="RCDATA_END_TAG_OPEN_STATE",OTe="RCDATA_END_TAG_NAME_STATE",ETe="RAWTEXT_LESS_THAN_SIGN_STATE",$Te="RAWTEXT_END_TAG_OPEN_STATE",PTe="RAWTEXT_END_TAG_NAME_STATE",TTe="SCRIPT_DATA_LESS_THAN_SIGN_STATE",MTe="SCRIPT_DATA_END_TAG_OPEN_STATE",RTe="SCRIPT_DATA_END_TAG_NAME_STATE",ITe="SCRIPT_DATA_ESCAPE_START_STATE",NTe="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Zu="SCRIPT_DATA_ESCAPED_STATE",ATe="SCRIPT_DATA_ESCAPED_DASH_STATE",DX="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",LA="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",kTe="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",jTe="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",DTe="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",Op="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",LTe="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",zTe="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",zA="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",BTe="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Jd="BEFORE_ATTRIBUTE_NAME_STATE",BA="ATTRIBUTE_NAME_STATE",LX="AFTER_ATTRIBUTE_NAME_STATE",zX="BEFORE_ATTRIBUTE_VALUE_STATE",FA="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",HA="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",WA="ATTRIBUTE_VALUE_UNQUOTED_STATE",BX="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",g1="SELF_CLOSING_START_TAG_STATE",D8="BOGUS_COMMENT_STATE",FTe="MARKUP_DECLARATION_OPEN_STATE",HTe="COMMENT_START_STATE",WTe="COMMENT_START_DASH_STATE",m1="COMMENT_STATE",qTe="COMMENT_LESS_THAN_SIGN_STATE",VTe="COMMENT_LESS_THAN_SIGN_BANG_STATE",UTe="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",GTe="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",qA="COMMENT_END_DASH_STATE",VA="COMMENT_END_STATE",KTe="COMMENT_END_BANG_STATE",XTe="DOCTYPE_STATE",UA="BEFORE_DOCTYPE_NAME_STATE",GA="DOCTYPE_NAME_STATE",YTe="AFTER_DOCTYPE_NAME_STATE",ZTe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",QTe="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",FX="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",HX="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",WX="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",JTe="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",eMe="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",tMe="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",L8="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",z8="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",qX="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ep="BOGUS_DOCTYPE_STATE",KA="CDATA_SECTION_STATE",nMe="CDATA_SECTION_BRACKET_STATE",rMe="CDATA_SECTION_END_STATE",E2="CHARACTER_REFERENCE_STATE",iMe="NAMED_CHARACTER_REFERENCE_STATE",oMe="AMBIGUOS_AMPERSAND_STATE",aMe="NUMERIC_CHARACTER_REFERENCE_STATE",lMe="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",sMe="DECIMAL_CHARACTER_REFERENCE_START_STATE",cMe="HEXADEMICAL_CHARACTER_REFERENCE_STATE",uMe="DECIMAL_CHARACTER_REFERENCE_STATE",B8="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Vi(e){return e===tt.SPACE||e===tt.LINE_FEED||e===tt.TABULATION||e===tt.FORM_FEED}function cE(e){return e>=tt.DIGIT_0&&e<=tt.DIGIT_9}function Ju(e){return e>=tt.LATIN_CAPITAL_A&&e<=tt.LATIN_CAPITAL_Z}function lv(e){return e>=tt.LATIN_SMALL_A&&e<=tt.LATIN_SMALL_Z}function w1(e){return lv(e)||Ju(e)}function VX(e){return w1(e)||cE(e)}function Xit(e){return e>=tt.LATIN_CAPITAL_A&&e<=tt.LATIN_CAPITAL_F}function Yit(e){return e>=tt.LATIN_SMALL_A&&e<=tt.LATIN_SMALL_F}function OAn(e){return cE(e)||Xit(e)||Yit(e)}function oj(e){return e+32}function _o(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function v1(e){return String.fromCharCode(oj(e))}function dMe(e,t){const n=Rv[++e];let r=++e,i=r+n-1;for(;r<=i;){const o=r+i>>>1,a=Rv[o];if(at)i=o-1;else return Rv[o+n]}return-1}let Pu=class ps{constructor(){this.preprocessor=new xAn,this.tokenQueue=[],this.allowCDATA=!1,this.state=Mr,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:ps.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,o=!0;const a=t.length;let l=0,s=n,u;for(;l0&&(s=this._consume(),i++),s===tt.EOF){o=!1;break}if(u=t[l],s!==u&&(r||s!==oj(u))){o=!1;break}}if(!o)for(;i--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Qm.SCRIPT_STRING.length)return!1;for(let t=0;t0&&this._err(Ut.endTagWithAttributes),t.selfClosing&&this._err(Ut.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=ps.CHARACTER_TOKEN;Vi(t)?n=ps.WHITESPACE_CHARACTER_TOKEN:t===tt.NULL&&(n=ps.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,_o(t))}_emitSeveralCodePoints(t){for(let n=0;n-1;){const o=Rv[i],a=o")):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.state=Zu,this._emitChars(wi.REPLACEMENT_CHARACTER)):t===tt.EOF?(this._err(Ut.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Zu,this._emitCodePoint(t))}[LA](t){t===tt.SOLIDUS?(this.tempBuff=[],this.state=kTe):w1(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(DTe)):(this._emitChars("<"),this._reconsumeInState(Zu))}[kTe](t){w1(t)?(this._createEndTagToken(),this._reconsumeInState(jTe)):(this._emitChars("")):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.state=Op,this._emitChars(wi.REPLACEMENT_CHARACTER)):t===tt.EOF?(this._err(Ut.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Op,this._emitCodePoint(t))}[zA](t){t===tt.SOLIDUS?(this.tempBuff=[],this.state=BTe,this._emitChars("/")):this._reconsumeInState(Op)}[BTe](t){Vi(t)||t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Zu:Op,this._emitCodePoint(t)):Ju(t)?(this.tempBuff.push(oj(t)),this._emitCodePoint(t)):lv(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(Op)}[Jd](t){Vi(t)||(t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN||t===tt.EOF?this._reconsumeInState(LX):t===tt.EQUALS_SIGN?(this._err(Ut.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=BA):(this._createAttr(""),this._reconsumeInState(BA)))}[BA](t){Vi(t)||t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN||t===tt.EOF?(this._leaveAttrName(LX),this._unconsume()):t===tt.EQUALS_SIGN?this._leaveAttrName(zX):Ju(t)?this.currentAttr.name+=v1(t):t===tt.QUOTATION_MARK||t===tt.APOSTROPHE||t===tt.LESS_THAN_SIGN?(this._err(Ut.unexpectedCharacterInAttributeName),this.currentAttr.name+=_o(t)):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.name+=wi.REPLACEMENT_CHARACTER):this.currentAttr.name+=_o(t)}[LX](t){Vi(t)||(t===tt.SOLIDUS?this.state=g1:t===tt.EQUALS_SIGN?this.state=zX:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(BA)))}[zX](t){Vi(t)||(t===tt.QUOTATION_MARK?this.state=FA:t===tt.APOSTROPHE?this.state=HA:t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingAttributeValue),this.state=Mr,this._emitCurrentToken()):this._reconsumeInState(WA))}[FA](t){t===tt.QUOTATION_MARK?this.state=BX:t===tt.AMPERSAND?(this.returnState=FA,this.state=E2):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[HA](t){t===tt.APOSTROPHE?this.state=BX:t===tt.AMPERSAND?(this.returnState=HA,this.state=E2):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[WA](t){Vi(t)?this._leaveAttrValue(Jd):t===tt.AMPERSAND?(this.returnState=WA,this.state=E2):t===tt.GREATER_THAN_SIGN?(this._leaveAttrValue(Mr),this._emitCurrentToken()):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.QUOTATION_MARK||t===tt.APOSTROPHE||t===tt.LESS_THAN_SIGN||t===tt.EQUALS_SIGN||t===tt.GRAVE_ACCENT?(this._err(Ut.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=_o(t)):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[BX](t){Vi(t)?this._leaveAttrValue(Jd):t===tt.SOLIDUS?this._leaveAttrValue(g1):t===tt.GREATER_THAN_SIGN?(this._leaveAttrValue(Mr),this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._err(Ut.missingWhitespaceBetweenAttributes),this._reconsumeInState(Jd))}[g1](t){t===tt.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._err(Ut.unexpectedSolidusInTag),this._reconsumeInState(Jd))}[D8](t){t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.data+=wi.REPLACEMENT_CHARACTER):this.currentToken.data+=_o(t)}[FTe](t){this._consumeSequenceIfMatch(Qm.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=HTe):this._consumeSequenceIfMatch(Qm.DOCTYPE_STRING,t,!1)?this.state=XTe:this._consumeSequenceIfMatch(Qm.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=KA:(this._err(Ut.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=D8):this._ensureHibernation()||(this._err(Ut.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(D8))}[HTe](t){t===tt.HYPHEN_MINUS?this.state=WTe:t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptClosingOfEmptyComment),this.state=Mr,this._emitCurrentToken()):this._reconsumeInState(m1)}[WTe](t){t===tt.HYPHEN_MINUS?this.state=VA:t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptClosingOfEmptyComment),this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(m1))}[m1](t){t===tt.HYPHEN_MINUS?this.state=qA:t===tt.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=qTe):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.data+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=_o(t)}[qTe](t){t===tt.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=VTe):t===tt.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(m1)}[VTe](t){t===tt.HYPHEN_MINUS?this.state=UTe:this._reconsumeInState(m1)}[UTe](t){t===tt.HYPHEN_MINUS?this.state=GTe:this._reconsumeInState(qA)}[GTe](t){t!==tt.GREATER_THAN_SIGN&&t!==tt.EOF&&this._err(Ut.nestedComment),this._reconsumeInState(VA)}[qA](t){t===tt.HYPHEN_MINUS?this.state=VA:t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(m1))}[VA](t){t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EXCLAMATION_MARK?this.state=KTe:t===tt.HYPHEN_MINUS?this.currentToken.data+="-":t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(m1))}[KTe](t){t===tt.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=qA):t===tt.GREATER_THAN_SIGN?(this._err(Ut.incorrectlyClosedComment),this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(m1))}[XTe](t){Vi(t)?this.state=UA:t===tt.GREATER_THAN_SIGN?this._reconsumeInState(UA):t===tt.EOF?(this._err(Ut.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(UA))}[UA](t){Vi(t)||(Ju(t)?(this._createDoctypeToken(v1(t)),this.state=GA):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this._createDoctypeToken(wi.REPLACEMENT_CHARACTER),this.state=GA):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(_o(t)),this.state=GA))}[GA](t){Vi(t)?this.state=YTe:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):Ju(t)?this.currentToken.name+=v1(t):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.name+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=_o(t)}[YTe](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Qm.PUBLIC_STRING,t,!1)?this.state=ZTe:this._consumeSequenceIfMatch(Qm.SYSTEM_STRING,t,!1)?this.state=eMe:this._ensureHibernation()||(this._err(Ut.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[ZTe](t){Vi(t)?this.state=QTe:t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=FX):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=HX):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[QTe](t){Vi(t)||(t===tt.QUOTATION_MARK?(this.currentToken.publicId="",this.state=FX):t===tt.APOSTROPHE?(this.currentToken.publicId="",this.state=HX):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[FX](t){t===tt.QUOTATION_MARK?this.state=WX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.publicId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=_o(t)}[HX](t){t===tt.APOSTROPHE?this.state=WX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.publicId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=_o(t)}[WX](t){Vi(t)?this.state=JTe:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=L8):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=z8):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[JTe](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.QUOTATION_MARK?(this.currentToken.systemId="",this.state=L8):t===tt.APOSTROPHE?(this.currentToken.systemId="",this.state=z8):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[eMe](t){Vi(t)?this.state=tMe:t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=L8):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=z8):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[tMe](t){Vi(t)||(t===tt.QUOTATION_MARK?(this.currentToken.systemId="",this.state=L8):t===tt.APOSTROPHE?(this.currentToken.systemId="",this.state=z8):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[L8](t){t===tt.QUOTATION_MARK?this.state=qX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.systemId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=_o(t)}[z8](t){t===tt.APOSTROPHE?this.state=qX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.systemId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=_o(t)}[qX](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Ep)))}[Ep](t){t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.NULL?this._err(Ut.unexpectedNullCharacter):t===tt.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[KA](t){t===tt.RIGHT_SQUARE_BRACKET?this.state=nMe:t===tt.EOF?(this._err(Ut.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[nMe](t){t===tt.RIGHT_SQUARE_BRACKET?this.state=rMe:(this._emitChars("]"),this._reconsumeInState(KA))}[rMe](t){t===tt.GREATER_THAN_SIGN?this.state=Mr:t===tt.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(KA))}[E2](t){this.tempBuff=[tt.AMPERSAND],t===tt.NUMBER_SIGN?(this.tempBuff.push(t),this.state=aMe):VX(t)?this._reconsumeInState(iMe):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[iMe](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[tt.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===tt.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(Ut.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=oMe}[oMe](t){VX(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=_o(t):this._emitCodePoint(t):(t===tt.SEMICOLON&&this._err(Ut.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[aMe](t){this.charRefCode=0,t===tt.LATIN_SMALL_X||t===tt.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=lMe):this._reconsumeInState(sMe)}[lMe](t){OAn(t)?this._reconsumeInState(cMe):(this._err(Ut.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[sMe](t){cE(t)?this._reconsumeInState(uMe):(this._err(Ut.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[cMe](t){Xit(t)?this.charRefCode=this.charRefCode*16+t-55:Yit(t)?this.charRefCode=this.charRefCode*16+t-87:cE(t)?this.charRefCode=this.charRefCode*16+t-48:t===tt.SEMICOLON?this.state=B8:(this._err(Ut.missingSemicolonAfterCharacterReference),this._reconsumeInState(B8))}[uMe](t){cE(t)?this.charRefCode=this.charRefCode*10+t-48:t===tt.SEMICOLON?this.state=B8:(this._err(Ut.missingSemicolonAfterCharacterReference),this._reconsumeInState(B8))}[B8](){if(this.charRefCode===tt.NULL)this._err(Ut.nullCharacterReference),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Ut.characterReferenceOutsideUnicodeRange),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(wi.isSurrogate(this.charRefCode))this._err(Ut.surrogateCharacterReference),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(wi.isUndefinedCodePoint(this.charRefCode))this._err(Ut.noncharacterCharacterReference);else if(wi.isControlCodePoint(this.charRefCode)||this.charRefCode===tt.CARRIAGE_RETURN){this._err(Ut.controlCharacterReference);const t=_An[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};Pu.CHARACTER_TOKEN="CHARACTER_TOKEN";Pu.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";Pu.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";Pu.START_TAG_TOKEN="START_TAG_TOKEN";Pu.END_TAG_TOKEN="END_TAG_TOKEN";Pu.COMMENT_TOKEN="COMMENT_TOKEN";Pu.DOCTYPE_TOKEN="DOCTYPE_TOKEN";Pu.EOF_TOKEN="EOF_TOKEN";Pu.HIBERNATION_TOKEN="HIBERNATION_TOKEN";Pu.MODE={DATA:Mr,RCDATA:j2,RAWTEXT:b9,SCRIPT_DATA:Ip,PLAINTEXT:Kit};Pu.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var ZH=Pu,zd={};const UX=zd.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};zd.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};zd.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const sn=zd.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};zd.SPECIAL_ELEMENTS={[UX.HTML]:{[sn.ADDRESS]:!0,[sn.APPLET]:!0,[sn.AREA]:!0,[sn.ARTICLE]:!0,[sn.ASIDE]:!0,[sn.BASE]:!0,[sn.BASEFONT]:!0,[sn.BGSOUND]:!0,[sn.BLOCKQUOTE]:!0,[sn.BODY]:!0,[sn.BR]:!0,[sn.BUTTON]:!0,[sn.CAPTION]:!0,[sn.CENTER]:!0,[sn.COL]:!0,[sn.COLGROUP]:!0,[sn.DD]:!0,[sn.DETAILS]:!0,[sn.DIR]:!0,[sn.DIV]:!0,[sn.DL]:!0,[sn.DT]:!0,[sn.EMBED]:!0,[sn.FIELDSET]:!0,[sn.FIGCAPTION]:!0,[sn.FIGURE]:!0,[sn.FOOTER]:!0,[sn.FORM]:!0,[sn.FRAME]:!0,[sn.FRAMESET]:!0,[sn.H1]:!0,[sn.H2]:!0,[sn.H3]:!0,[sn.H4]:!0,[sn.H5]:!0,[sn.H6]:!0,[sn.HEAD]:!0,[sn.HEADER]:!0,[sn.HGROUP]:!0,[sn.HR]:!0,[sn.HTML]:!0,[sn.IFRAME]:!0,[sn.IMG]:!0,[sn.INPUT]:!0,[sn.LI]:!0,[sn.LINK]:!0,[sn.LISTING]:!0,[sn.MAIN]:!0,[sn.MARQUEE]:!0,[sn.MENU]:!0,[sn.META]:!0,[sn.NAV]:!0,[sn.NOEMBED]:!0,[sn.NOFRAMES]:!0,[sn.NOSCRIPT]:!0,[sn.OBJECT]:!0,[sn.OL]:!0,[sn.P]:!0,[sn.PARAM]:!0,[sn.PLAINTEXT]:!0,[sn.PRE]:!0,[sn.SCRIPT]:!0,[sn.SECTION]:!0,[sn.SELECT]:!0,[sn.SOURCE]:!0,[sn.STYLE]:!0,[sn.SUMMARY]:!0,[sn.TABLE]:!0,[sn.TBODY]:!0,[sn.TD]:!0,[sn.TEMPLATE]:!0,[sn.TEXTAREA]:!0,[sn.TFOOT]:!0,[sn.TH]:!0,[sn.THEAD]:!0,[sn.TITLE]:!0,[sn.TR]:!0,[sn.TRACK]:!0,[sn.UL]:!0,[sn.WBR]:!0,[sn.XMP]:!0},[UX.MATHML]:{[sn.MI]:!0,[sn.MO]:!0,[sn.MN]:!0,[sn.MS]:!0,[sn.MTEXT]:!0,[sn.ANNOTATION_XML]:!0},[UX.SVG]:{[sn.TITLE]:!0,[sn.FOREIGN_OBJECT]:!0,[sn.DESC]:!0}};const Zit=zd,un=Zit.TAG_NAMES,Oi=Zit.NAMESPACES;function fMe(e){switch(e.length){case 1:return e===un.P;case 2:return e===un.RB||e===un.RP||e===un.RT||e===un.DD||e===un.DT||e===un.LI;case 3:return e===un.RTC;case 6:return e===un.OPTION;case 8:return e===un.OPTGROUP}return!1}function EAn(e){switch(e.length){case 1:return e===un.P;case 2:return e===un.RB||e===un.RP||e===un.RT||e===un.DD||e===un.DT||e===un.LI||e===un.TD||e===un.TH||e===un.TR;case 3:return e===un.RTC;case 5:return e===un.TBODY||e===un.TFOOT||e===un.THEAD;case 6:return e===un.OPTION;case 7:return e===un.CAPTION;case 8:return e===un.OPTGROUP||e===un.COLGROUP}return!1}function XA(e,t){switch(e.length){case 2:if(e===un.TD||e===un.TH)return t===Oi.HTML;if(e===un.MI||e===un.MO||e===un.MN||e===un.MS)return t===Oi.MATHML;break;case 4:if(e===un.HTML)return t===Oi.HTML;if(e===un.DESC)return t===Oi.SVG;break;case 5:if(e===un.TABLE)return t===Oi.HTML;if(e===un.MTEXT)return t===Oi.MATHML;if(e===un.TITLE)return t===Oi.SVG;break;case 6:return(e===un.APPLET||e===un.OBJECT)&&t===Oi.HTML;case 7:return(e===un.CAPTION||e===un.MARQUEE)&&t===Oi.HTML;case 8:return e===un.TEMPLATE&&t===Oi.HTML;case 13:return e===un.FOREIGN_OBJECT&&t===Oi.SVG;case 14:return e===un.ANNOTATION_XML&&t===Oi.MATHML}return!1}let $An=class{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===un.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oi.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===Oi.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===un.H1||t===un.H2||t===un.H3||t===un.H4||t===un.H5||t===un.H6&&n===Oi.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===un.TD||t===un.TH&&n===Oi.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==un.TABLE&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==un.TBODY&&this.currentTagName!==un.TFOOT&&this.currentTagName!==un.THEAD&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==un.TR&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===un.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===un.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if(XA(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===un.H1||n===un.H2||n===un.H3||n===un.H4||n===un.H5||n===un.H6)&&r===Oi.HTML)return!0;if(XA(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if((r===un.UL||r===un.OL)&&i===Oi.HTML||XA(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if(r===un.BUTTON&&i===Oi.HTML||XA(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oi.HTML){if(r===t)return!0;if(r===un.TABLE||r===un.TEMPLATE||r===un.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Oi.HTML){if(n===un.TBODY||n===un.THEAD||n===un.TFOOT)return!0;if(n===un.TABLE||n===un.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oi.HTML){if(r===t)return!0;if(r!==un.OPTION&&r!==un.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;fMe(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;EAn(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;fMe(this.currentTagName)&&this.currentTagName!==t;)this.pop()}};var PAn=$An;const YA=3;let wce=class O1{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=YA){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let a=this.length-1;a>=0;a--){const l=this.entries[a];if(l.type===O1.MARKER_ENTRY)break;const s=l.element,u=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===o&&u.length===r&&n.push({idx:a,attrs:u})}}return n.length=YA-1;l--)this.entries.splice(n[l].idx,1),this.length--}}insertMarker(){this.entries.push({type:O1.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:O1.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:O1.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===O1.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===O1.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===O1.ELEMENT_ENTRY&&r.element===t)return r}return null}};wce.MARKER_ENTRY="MARKER_ENTRY";wce.ELEMENT_ENTRY="ELEMENT_ENTRY";var TAn=wce;let Qit=class{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}};Qit.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;iv&&(y=m+1),o.replaceRange(d.replace(t,g+y+p[4]+p[5]),{line:h,ch:0},{line:h,ch:d.length});else{if(f.length>g.length||f.length]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",function(n,r){var i=0;function o(u){return u.code=!1,null}var a={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(u){return{code:u.code,codeBlock:u.codeBlock,ateSpace:u.ateSpace}},token:function(u,c){if(c.combineTokens=null,c.codeBlock)return u.match(/^```+/)?(c.codeBlock=!1,null):(u.skipToEnd(),null);if(u.sol()&&(c.code=!1),u.sol()&&u.match(/^```+/))return u.skipToEnd(),c.codeBlock=!0,null;if(u.peek()==="`"){u.next();var f=u.pos;u.eatWhile("`");var h=1+u.pos-f;return c.code?h===i&&(c.code=!1):(i=h,c.code=!0),null}else if(c.code)return u.next(),null;if(u.eatSpace())return c.ateSpace=!0,null;if((u.sol()||c.ateSpace)&&(c.ateSpace=!1,r.gitHubSpice!==!1)){if(u.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return c.combineTokens=!0,"link";if(u.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return c.combineTokens=!0,"link"}return u.match(t)&&u.string.slice(u.start-2,u.start)!="]("&&(u.start==0||/\W/.test(u.string.charAt(u.start-1)))?(c.combineTokens=!0,"link"):(u.next(),null)},blankLine:o},l={taskLists:!0,strikethrough:!0,emoji:!0};for(var s in r)l[s]=r[s];return l.name="markdown",e.overlayMode(e.getMode(n,l),a)},"markdown"),e.defineMIME("text/x-gfm","gfm")},ZNn=function(e){e.defineMode("markdown",function(t,n){var r=e.getMode(t,"text/html"),i=r.name=="null";function o(k){if(e.findModeByName){var z=e.findModeByName(k);z&&(k=z.mime||z.mimes[0])}var q=e.getMode(t,k);return q.name=="null"?null:q}n.highlightFormatting===void 0&&(n.highlightFormatting=!1),n.maxBlockquoteDepth===void 0&&(n.maxBlockquoteDepth=0),n.taskLists===void 0&&(n.taskLists=!1),n.strikethrough===void 0&&(n.strikethrough=!1),n.emoji===void 0&&(n.emoji=!1),n.fencedCodeBlockHighlighting===void 0&&(n.fencedCodeBlockHighlighting=!0),n.fencedCodeBlockDefaultMode===void 0&&(n.fencedCodeBlockDefaultMode="text/plain"),n.xml===void 0&&(n.xml=!0),n.tokenTypeOverrides===void 0&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var l in a)a.hasOwnProperty(l)&&n.tokenTypeOverrides[l]&&(a[l]=n.tokenTypeOverrides[l]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,u=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,f=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,g=/^\s*\[[^\]]+?\]:.*$/,m=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(k,z,q){return z.f=z.inline=q,q(k,z)}function b(k,z,q){return z.f=z.block=q,q(k,z)}function C(k){return!k||!/\S/.test(k.string)}function x(k){if(k.linkTitle=!1,k.linkHref=!1,k.linkText=!1,k.em=!1,k.strong=!1,k.strikethrough=!1,k.quote=0,k.indentedCode=!1,k.f==w){var z=i;if(!z){var q=e.innerMode(r,k.htmlState);z=q.mode.name=="xml"&&q.state.tagStart===null&&!q.state.context&&q.state.tokenize.isInText}z&&(k.f=T,k.block=S,k.htmlState=null)}return k.trailingSpace=0,k.trailingSpaceNewLine=!1,k.prevLine=k.thisLine,k.thisLine={stream:null},null}function S(k,z){var q=k.column()===z.indentation,W=C(z.prevLine.stream),U=z.indentedCode,K=z.prevLine.hr,X=z.list!==!1,G=(z.listStack[z.listStack.length-1]||0)+3;z.indentedCode=!1;var Y=z.indentation;if(z.indentationDiff===null&&(z.indentationDiff=z.indentation,X)){for(z.list=null;Y=4&&(U||z.prevLine.fencedCodeEnd||z.prevLine.header||W))return k.skipToEnd(),z.indentedCode=!0,a.code;if(k.eatSpace())return null;if(q&&z.indentation<=G&&(Q=k.match(f))&&Q[1].length<=6)return z.quote=0,z.header=Q[1].length,z.thisLine.header=!0,n.highlightFormatting&&(z.formatting="header"),z.f=z.inline,$(z);if(z.indentation<=G&&k.eat(">"))return z.quote=q?1:z.quote+1,n.highlightFormatting&&(z.formatting="quote"),k.eatSpace(),$(z);if(!ee&&!z.setext&&q&&z.indentation<=G&&(Q=k.match(u))){var te=Q[1]?"ol":"ul";return z.indentation=Y+k.current().length,z.list=!0,z.quote=0,z.listStack.push(z.indentation),z.em=!1,z.strong=!1,z.code=!1,z.strikethrough=!1,n.taskLists&&k.match(c,!1)&&(z.taskList=!0),z.f=z.inline,n.highlightFormatting&&(z.formatting=["list","list-"+te]),$(z)}else{if(q&&z.indentation<=G&&(Q=k.match(p,!0)))return z.quote=0,z.fencedEndRE=new RegExp(Q[1]+"+ *$"),z.localMode=n.fencedCodeBlockHighlighting&&o(Q[2]||n.fencedCodeBlockDefaultMode),z.localMode&&(z.localState=e.startState(z.localMode)),z.f=z.block=O,n.highlightFormatting&&(z.formatting="code-block"),z.code=-1,$(z);if(z.setext||(!J||!X)&&!z.quote&&z.list===!1&&!z.code&&!ee&&!g.test(k.string)&&(Q=k.lookAhead(1))&&(Q=Q.match(h)))return z.setext?(z.header=z.setext,z.setext=0,k.skipToEnd(),n.highlightFormatting&&(z.formatting="header")):(z.header=Q[0].charAt(0)=="="?1:2,z.setext=z.header),z.thisLine.header=!0,z.f=z.inline,$(z);if(ee)return k.skipToEnd(),z.hr=!0,z.thisLine.hr=!0,a.hr;if(k.peek()==="[")return y(k,z,j)}return y(k,z,z.inline)}function w(k,z){var q=r.token(k,z.htmlState);if(!i){var W=e.innerMode(r,z.htmlState);(W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText||z.md_inside&&k.current().indexOf(">")>-1)&&(z.f=T,z.block=S,z.htmlState=null)}return q}function O(k,z){var q=z.listStack[z.listStack.length-1]||0,W=z.indentation=k.quote?z.push(a.formatting+"-"+k.formatting[q]+"-"+k.quote):z.push("error"))}if(k.taskOpen)return z.push("meta"),z.length?z.join(" "):null;if(k.taskClosed)return z.push("property"),z.length?z.join(" "):null;if(k.linkHref?z.push(a.linkHref,"url"):(k.strong&&z.push(a.strong),k.em&&z.push(a.em),k.strikethrough&&z.push(a.strikethrough),k.emoji&&z.push(a.emoji),k.linkText&&z.push(a.linkText),k.code&&z.push(a.code),k.image&&z.push(a.image),k.imageAltText&&z.push(a.imageAltText,"link"),k.imageMarker&&z.push(a.imageMarker)),k.header&&z.push(a.header,a.header+"-"+k.header),k.quote&&(z.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=k.quote?z.push(a.quote+"-"+k.quote):z.push(a.quote+"-"+n.maxBlockquoteDepth)),k.list!==!1){var W=(k.listStack.length-1)%3;W?W===1?z.push(a.list2):z.push(a.list3):z.push(a.list1)}return k.trailingSpaceNewLine?z.push("trailing-space-new-line"):k.trailingSpace&&z.push("trailing-space-"+(k.trailingSpace%2?"a":"b")),z.length?z.join(" "):null}function P(k,z){if(k.match(d,!0))return $(z)}function T(k,z){var q=z.text(k,z);if(typeof q<"u")return q;if(z.list)return z.list=null,$(z);if(z.taskList){var W=k.match(c,!0)[1]===" ";return W?z.taskOpen=!0:z.taskClosed=!0,n.highlightFormatting&&(z.formatting="task"),z.taskList=!1,$(z)}if(z.taskOpen=!1,z.taskClosed=!1,z.header&&k.match(/^#+$/,!0))return n.highlightFormatting&&(z.formatting="header"),$(z);var U=k.next();if(z.linkTitle){z.linkTitle=!1;var K=U;U==="("&&(K=")"),K=(K+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var X="^\\s*(?:[^"+K+"\\\\]+|\\\\\\\\|\\\\.)"+K;if(k.match(new RegExp(X),!0))return a.linkHref}if(U==="`"){var G=z.formatting;n.highlightFormatting&&(z.formatting="code"),k.eatWhile("`");var Y=k.current().length;if(z.code==0&&(!z.quote||Y==1))return z.code=Y,$(z);if(Y==z.code){var J=$(z);return z.code=0,J}else return z.formatting=G,$(z)}else if(z.code)return $(z);if(U==="\\"&&(k.next(),n.highlightFormatting)){var ee=$(z),Q=a.formatting+"-escape";return ee?ee+" "+Q:Q}if(U==="!"&&k.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return z.imageMarker=!0,z.image=!0,n.highlightFormatting&&(z.formatting="image"),$(z);if(U==="["&&z.imageMarker&&k.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return z.imageMarker=!1,z.imageAltText=!0,n.highlightFormatting&&(z.formatting="image"),$(z);if(U==="]"&&z.imageAltText){n.highlightFormatting&&(z.formatting="image");var ee=$(z);return z.imageAltText=!1,z.image=!1,z.inline=z.f=M,ee}if(U==="["&&!z.image)return z.linkText&&k.match(/^.*?\]/)||(z.linkText=!0,n.highlightFormatting&&(z.formatting="link")),$(z);if(U==="]"&&z.linkText){n.highlightFormatting&&(z.formatting="link");var ee=$(z);return z.linkText=!1,z.inline=z.f=k.match(/\(.*?\)| ?\[.*?\]/,!1)?M:T,ee}if(U==="<"&&k.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=R,n.highlightFormatting&&(z.formatting="link");var ee=$(z);return ee?ee+=" ":ee="",ee+a.linkInline}if(U==="<"&&k.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){z.f=z.inline=R,n.highlightFormatting&&(z.formatting="link");var ee=$(z);return ee?ee+=" ":ee="",ee+a.linkEmail}if(n.xml&&U==="<"&&k.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var te=k.string.indexOf(">",k.pos);if(te!=-1){var ne=k.string.substring(k.start,te);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ne)&&(z.md_inside=!0)}return k.backUp(1),z.htmlState=e.startState(r),b(k,z,w)}if(n.xml&&U==="<"&&k.match(/^\/\w*?>/))return z.md_inside=!1,"tag";if(U==="*"||U==="_"){for(var re=1,oe=k.pos==1?" ":k.string.charAt(k.pos-2);re<3&&k.eat(U);)re++;var se=k.peek()||" ",ye=!/\s/.test(se)&&(!m.test(se)||/\s/.test(oe)||m.test(oe)),be=!/\s/.test(oe)&&(!m.test(oe)||/\s/.test(se)||m.test(se)),he=null,le=null;if(re%2&&(!z.em&&ye&&(U==="*"||!be||m.test(oe))?he=!0:z.em==U&&be&&(U==="*"||!ye||m.test(se))&&(he=!1)),re>1&&(!z.strong&&ye&&(U==="*"||!be||m.test(oe))?le=!0:z.strong==U&&be&&(U==="*"||!ye||m.test(se))&&(le=!1)),le!=null||he!=null){n.highlightFormatting&&(z.formatting=he==null?"strong":le==null?"em":"strong em"),he===!0&&(z.em=U),le===!0&&(z.strong=U);var J=$(z);return he===!1&&(z.em=!1),le===!1&&(z.strong=!1),J}}else if(U===" "&&(k.eat("*")||k.eat("_"))){if(k.peek()===" ")return $(z);k.backUp(1)}if(n.strikethrough){if(U==="~"&&k.eatWhile(U)){if(z.strikethrough){n.highlightFormatting&&(z.formatting="strikethrough");var J=$(z);return z.strikethrough=!1,J}else if(k.match(/^[^\s]/,!1))return z.strikethrough=!0,n.highlightFormatting&&(z.formatting="strikethrough"),$(z)}else if(U===" "&&k.match("~~",!0)){if(k.peek()===" ")return $(z);k.backUp(2)}}if(n.emoji&&U===":"&&k.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){z.emoji=!0,n.highlightFormatting&&(z.formatting="emoji");var ve=$(z);return z.emoji=!1,ve}return U===" "&&(k.match(/^ +$/,!1)?z.trailingSpace++:z.trailingSpace&&(z.trailingSpaceNewLine=!0)),$(z)}function R(k,z){var q=k.next();if(q===">"){z.f=z.inline=T,n.highlightFormatting&&(z.formatting="link");var W=$(z);return W?W+=" ":W="",W+a.linkInline}return k.match(/^[^>]+/,!0),a.linkInline}function M(k,z){if(k.eatSpace())return null;var q=k.next();return q==="("||q==="["?(z.f=z.inline=N(q==="("?")":"]"),n.highlightFormatting&&(z.formatting="link-string"),z.linkHref=!0,$(z)):"error"}var A={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function N(k){return function(z,q){var W=z.next();if(W===k){q.f=q.inline=T,n.highlightFormatting&&(q.formatting="link-string");var U=$(q);return q.linkHref=!1,U}return z.match(A[k]),q.linkHref=!0,$(q)}}function j(k,z){return k.match(/^([^\]\\]|\\.)*\]:/,!1)?(z.f=D,k.next(),n.highlightFormatting&&(z.formatting="link"),z.linkText=!0,$(z)):y(k,z,T)}function D(k,z){if(k.match("]:",!0)){z.f=z.inline=L,n.highlightFormatting&&(z.formatting="link");var q=$(z);return z.linkText=!1,q}return k.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function L(k,z){return k.eatSpace()?null:(k.match(/^[^\s]+/,!0),k.peek()===void 0?z.linkTitle=!0:k.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),z.f=z.inline=T,a.linkHref+" url")}var B={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:T,text:P,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(k){return{f:k.f,prevLine:k.prevLine,thisLine:k.thisLine,block:k.block,htmlState:k.htmlState&&e.copyState(r,k.htmlState),indentation:k.indentation,localMode:k.localMode,localState:k.localMode?e.copyState(k.localMode,k.localState):null,inline:k.inline,text:k.text,formatting:!1,linkText:k.linkText,linkTitle:k.linkTitle,linkHref:k.linkHref,code:k.code,em:k.em,strong:k.strong,strikethrough:k.strikethrough,emoji:k.emoji,header:k.header,setext:k.setext,hr:k.hr,taskList:k.taskList,list:k.list,listStack:k.listStack.slice(0),quote:k.quote,indentedCode:k.indentedCode,trailingSpace:k.trailingSpace,trailingSpaceNewLine:k.trailingSpaceNewLine,md_inside:k.md_inside,fencedEndRE:k.fencedEndRE}},token:function(k,z){if(z.formatting=!1,k!=z.thisLine.stream){if(z.header=0,z.hr=!1,k.match(/^\s*$/,!0))return x(z),null;if(z.prevLine=z.thisLine,z.thisLine={stream:k},z.taskList=!1,z.trailingSpace=0,z.trailingSpaceNewLine=!1,!z.localState&&(z.f=z.block,z.f!=w)){var q=k.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(z.indentation=q,z.indentationDiff=null,q>0)return null}}return z.f(k,z)},innerMode:function(k){return k.block==w?{state:k.htmlState,mode:r}:k.localState?{state:k.localState,mode:k.localMode}:{state:k,mode:B}},indent:function(k,z,q){return k.block==w&&r.indent?r.indent(k.htmlState,z,q):k.localState&&k.localMode.indent?k.localMode.indent(k.localState,z,q):e.Pass},blankLine:x,getType:$,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return B},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")},QNn=function(e){var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,i){var o=r.indentUnit,a={},l=i.htmlMode?t:n;for(var s in l)a[s]=l[s];for(var s in i)a[s]=i[s];var u,c;function f(M,A){function N(L){return A.tokenize=L,L(M,A)}var j=M.next();if(j=="<")return M.eat("!")?M.eat("[")?M.match("CDATA[")?N(p("atom","]]>")):null:M.match("--")?N(p("comment","-->")):M.match("DOCTYPE",!0,!0)?(M.eatWhile(/[\w\._\-]/),N(g(1))):null:M.eat("?")?(M.eatWhile(/[\w\._\-]/),A.tokenize=p("meta","?>"),"meta"):(u=M.eat("/")?"closeTag":"openTag",A.tokenize=h,"tag bracket");if(j=="&"){var D;return M.eat("#")?M.eat("x")?D=M.eatWhile(/[a-fA-F\d]/)&&M.eat(";"):D=M.eatWhile(/[\d]/)&&M.eat(";"):D=M.eatWhile(/[\w\.\-:]/)&&M.eat(";"),D?"atom":"error"}else return M.eatWhile(/[^&<]/),null}f.isInText=!0;function h(M,A){var N=M.next();if(N==">"||N=="/"&&M.eat(">"))return A.tokenize=f,u=N==">"?"endTag":"selfcloseTag","tag bracket";if(N=="=")return u="equals",null;if(N=="<"){A.tokenize=f,A.state=C,A.tagName=A.tagStart=null;var j=A.tokenize(M,A);return j?j+" tag error":"tag error"}else return/[\'\"]/.test(N)?(A.tokenize=d(N),A.stringStartCol=M.column(),A.tokenize(M,A)):(M.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function d(M){var A=function(N,j){for(;!N.eol();)if(N.next()==M){j.tokenize=h;break}return"string"};return A.isInAttribute=!0,A}function p(M,A){return function(N,j){for(;!N.eol();){if(N.match(A)){j.tokenize=f;break}N.next()}return M}}function g(M){return function(A,N){for(var j;(j=A.next())!=null;){if(j=="<")return N.tokenize=g(M+1),N.tokenize(A,N);if(j==">")if(M==1){N.tokenize=f;break}else return N.tokenize=g(M-1),N.tokenize(A,N)}return"meta"}}function m(M){return M&&M.toLowerCase()}function v(M,A,N){this.prev=M.context,this.tagName=A||"",this.indent=M.indented,this.startOfLine=N,(a.doNotIndent.hasOwnProperty(A)||M.context&&M.context.noIndent)&&(this.noIndent=!0)}function y(M){M.context&&(M.context=M.context.prev)}function b(M,A){for(var N;;){if(!M.context||(N=M.context.tagName,!a.contextGrabbers.hasOwnProperty(m(N))||!a.contextGrabbers[m(N)].hasOwnProperty(m(A))))return;y(M)}}function C(M,A,N){return M=="openTag"?(N.tagStart=A.column(),x):M=="closeTag"?S:C}function x(M,A,N){return M=="word"?(N.tagName=A.current(),c="tag",$):a.allowMissingTagName&&M=="endTag"?(c="tag bracket",$(M,A,N)):(c="error",x)}function S(M,A,N){if(M=="word"){var j=A.current();return N.context&&N.context.tagName!=j&&a.implicitlyClosed.hasOwnProperty(m(N.context.tagName))&&y(N),N.context&&N.context.tagName==j||a.matchClosing===!1?(c="tag",w):(c="tag error",O)}else return a.allowMissingTagName&&M=="endTag"?(c="tag bracket",w(M,A,N)):(c="error",O)}function w(M,A,N){return M!="endTag"?(c="error",w):(y(N),C)}function O(M,A,N){return c="error",w(M,A,N)}function $(M,A,N){if(M=="word")return c="attribute",P;if(M=="endTag"||M=="selfcloseTag"){var j=N.tagName,D=N.tagStart;return N.tagName=N.tagStart=null,M=="selfcloseTag"||a.autoSelfClosers.hasOwnProperty(m(j))?b(N,j):(b(N,j),N.context=new v(N,j,D==N.indented)),C}return c="error",$}function P(M,A,N){return M=="equals"?T:(a.allowMissing||(c="error"),$(M,A,N))}function T(M,A,N){return M=="string"?R:M=="word"&&a.allowUnquoted?(c="string",$):(c="error",$(M,A,N))}function R(M,A,N){return M=="string"?R:$(M,A,N)}return{startState:function(M){var A={tokenize:f,state:C,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(A.baseIndent=M),A},token:function(M,A){if(!A.tagName&&M.sol()&&(A.indented=M.indentation()),M.eatSpace())return null;u=null;var N=A.tokenize(M,A);return(N||u)&&N!="comment"&&(c=null,A.state=A.state(u||N,M,A),c&&(N=c=="error"?N+" error":c)),N},indent:function(M,A,N){var j=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+o;if(j&&j.noIndent)return e.Pass;if(M.tokenize!=h&&M.tokenize!=f)return N?N.match(/^(\s*)/)[0].length:0;if(M.tagName)return a.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+o*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/$/,blockCommentStart:"",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(M){M.state==T&&(M.state=$)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var A=[],N=M.context;N;N=N.prev)A.push(N.tagName);return A.reverse()}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})},JNn=function(e){var t=0,n=1,r=2;e.defineMode("yaml-frontmatter",function(i,o){var a=e.getMode(i,"yaml"),l=e.getMode(i,o&&o.base||"gfm");function s(u){return u.state==n?{mode:a,state:u.yaml}:{mode:l,state:u.inner}}return{startState:function(){return{state:t,yaml:null,inner:e.startState(l)}},copyState:function(u){return{state:u.state,yaml:u.yaml&&e.copyState(a,u.yaml),inner:e.copyState(l,u.inner)}},token:function(u,c){if(c.state==t)return u.match("---",!1)?(c.state=n,c.yaml=e.startState(a),a.token(u,c.yaml)):(c.state=r,l.token(u,c.inner));if(c.state==n){var f=u.sol()&&u.match(/(---|\.\.\.)/,!1),h=a.token(u,c.yaml);return f&&(c.state=r,c.yaml=null),h}else return l.token(u,c.inner)},innerMode:s,indent:function(u,c,f){var h=s(u);return h.mode.indent?h.mode.indent(h.state,c,f):e.Pass},blankLine:function(u){var c=s(u);if(c.mode.blankLine)return c.mode.blankLine(c.state)}}})},eAn=function(e){e.defineMode("yaml",function(){var t=["true","false","on","off","yes","no"],n=new RegExp("\\b(("+t.join(")|(")+"))$","i");return{token:function(r,i){var o=r.peek(),a=i.escaped;if(i.escaped=!1,o=="#"&&(r.pos==0||/\s/.test(r.string.charAt(r.pos-1))))return r.skipToEnd(),"comment";if(r.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&r.indentation()>i.keyCol)return r.skipToEnd(),"string";if(i.literal&&(i.literal=!1),r.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,r.match("---")||r.match("..."))return"def";if(r.match(/\s*-\s+/))return"meta"}if(r.match(/^(\{|\}|\[|\])/))return o=="{"?i.inlinePairs++:o=="}"?i.inlinePairs--:o=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!a&&o==",")return r.next(),"meta";if(i.inlinePairs>0&&!a&&o==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,r.next(),"meta";if(i.pairStart){if(r.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(r.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(i.inlinePairs==0&&r.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&r.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(r.match(n))return"keyword"}return!i.pair&&r.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(i.pair=!0,i.keyCol=r.indentation(),"atom"):i.pair&&r.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=o=="\\",r.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")};var tAn=function(e){e===void 0&&(e={});var t=e.accept;t===void 0&&(t="");var n=e.capture;n===void 0&&(n=!1);var r=e.multiple;r===void 0&&(r=!1);var i=document.createElement("input");return i.type="file",i.accept=t,i.capture=n,i.multiple=r,i},Fit=function(e){return new Promise(function(t){var n=tAn(e);n.addEventListener("change",function(){return t(n.files||null)}),setTimeout(function(){var r=new MouseEvent("click");n.dispatchEvent(r)},0)})},nAn=/[a-zA-Z0-9_\u0392-\u03c9\u00c0-\u00ff\u0600-\u06ff]+|[\u4e00-\u9fff\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g,rAn=function(e){var t=e.match(nAn),n=0;if(!t)return 0;for(var r=0;r=19968?n+=t[r].length:n+=1;return n};const iAn=so(rAn),_ce={strip:["script"],clobberPrefix:"user-content-",clobber:["name","id"],ancestors:{tbody:["table"],tfoot:["table"],thead:["table"],td:["table"],th:["table"],tr:["table"]},protocols:{href:["http","https","mailto","xmpp","irc","ircs"],cite:["http","https"],src:["http","https"],longDesc:["http","https"]},tagNames:["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],attributes:{a:["href"],img:["src","longDesc"],input:[["type","checkbox"],["disabled",!0]],li:[["className","task-list-item"]],div:["itemScope","itemType"],blockquote:["cite"],del:["cite"],ins:["cite"],q:["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},required:{input:{type:"checkbox",disabled:!0}}},af={}.hasOwnProperty,kX={root:{children:bTe},doctype:aAn,comment:lAn,element:{tagName:Wit,properties:sAn,children:bTe},text:{value:dAn},"*":{data:CTe,position:CTe}};function oAn(e,t){let n={type:"root",children:[]};if(e&&typeof e=="object"&&e.type){const r=Hit(Object.assign({},_ce,t||{}),e,[]);r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r)}return n}function Hit(e,t,n){const r=t&&t.type,i={type:t.type};let o;if(af.call(kX,r)){let a=kX[r];if(typeof a=="function"&&(a=a(e,t)),a){const l=Object.assign({},a,kX["*"]);let s;o=!0;for(s in l)if(af.call(l,s)){const u=l[s](e,t[s],t,n);u===!1?(o=void 0,i[s]=t[s]):u!=null&&(i[s]=u)}}}return o?i:i.type==="element"&&e.strip&&!e.strip.includes(i.tagName)?i.children:void 0}function bTe(e,t,n,r){const i=[];if(Array.isArray(t)){let o=-1;for(n.type==="element"&&r.push(n.tagName);++o");return r<0?n:n.slice(0,r)}function dAn(e,t){return typeof t=="string"?t:""}function CTe(e,t){return t}function fAn(e,t,n,r){let i=-1;const o=[];for(;++ii&&typeof i=="object"&&"flags"in i?i.test(String(t)):i===t)))return e.clobberPrefix&&e.clobber&&e.clobber.includes(n)?e.clobberPrefix+t:t}function pAn(e,t,n){const r=String(t),i=r.indexOf(":"),o=r.indexOf("?"),a=r.indexOf("#"),l=r.indexOf("/"),s=e.protocols&&af.call(e.protocols,n)?e.protocols[n].concat():[];let u=-1;if(s.length===0||i<0||l>-1&&i>l||o>-1&&i>o||a>-1&&i>a)return!0;for(;++u4&&e.slice(0,4).toLowerCase()==="data"}var Ld={};const gAn=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Ld.REPLACEMENT_CHARACTER="�";Ld.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Ld.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Ld.isSurrogate=function(e){return e>=55296&&e<=57343};Ld.isSurrogatePair=function(e){return e>=56320&&e<=57343};Ld.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};Ld.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};Ld.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||gAn.indexOf(e)>-1};var wce={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const k2=Ld,jX=wce,Zm=k2.CODE_POINTS,mAn=65536;let vAn=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=mAn}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(k2.isSurrogatePair(n))return this.pos++,this._addGap(),k2.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Zm.EOF;return this._err(jX.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Zm.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===Zm.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===Zm.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Zm.LINE_FEED):(this.skipNextNewLine=!1,k2.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===Zm.LINE_FEED||t===Zm.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){k2.isControlCodePoint(t)?this._err(jX.controlCharacterInInputStream):k2.isUndefinedCodePoint(t)&&this._err(jX.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};var yAn=vAn,bAn=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const CAn=yAn,wi=Ld,Rv=bAn,Ut=wce,tt=wi.CODE_POINTS,Qm=wi.CODE_POINT_SEQUENCES,SAn={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},Vit=1,Uit=2,Git=4,xAn=Vit|Uit|Git,Mr="DATA_STATE",j2="RCDATA_STATE",C9="RAWTEXT_STATE",Ip="SCRIPT_DATA_STATE",Kit="PLAINTEXT_STATE",xTe="TAG_OPEN_STATE",_Te="END_TAG_OPEN_STATE",DX="TAG_NAME_STATE",wTe="RCDATA_LESS_THAN_SIGN_STATE",OTe="RCDATA_END_TAG_OPEN_STATE",ETe="RCDATA_END_TAG_NAME_STATE",$Te="RAWTEXT_LESS_THAN_SIGN_STATE",PTe="RAWTEXT_END_TAG_OPEN_STATE",TTe="RAWTEXT_END_TAG_NAME_STATE",MTe="SCRIPT_DATA_LESS_THAN_SIGN_STATE",RTe="SCRIPT_DATA_END_TAG_OPEN_STATE",ITe="SCRIPT_DATA_END_TAG_NAME_STATE",NTe="SCRIPT_DATA_ESCAPE_START_STATE",ATe="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Zu="SCRIPT_DATA_ESCAPED_STATE",kTe="SCRIPT_DATA_ESCAPED_DASH_STATE",LX="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",zA="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",jTe="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",DTe="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",LTe="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",Op="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",zTe="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",BTe="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",BA="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",FTe="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",Jd="BEFORE_ATTRIBUTE_NAME_STATE",FA="ATTRIBUTE_NAME_STATE",zX="AFTER_ATTRIBUTE_NAME_STATE",BX="BEFORE_ATTRIBUTE_VALUE_STATE",HA="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",WA="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",qA="ATTRIBUTE_VALUE_UNQUOTED_STATE",FX="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",g1="SELF_CLOSING_START_TAG_STATE",L8="BOGUS_COMMENT_STATE",HTe="MARKUP_DECLARATION_OPEN_STATE",WTe="COMMENT_START_STATE",qTe="COMMENT_START_DASH_STATE",m1="COMMENT_STATE",VTe="COMMENT_LESS_THAN_SIGN_STATE",UTe="COMMENT_LESS_THAN_SIGN_BANG_STATE",GTe="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",KTe="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",VA="COMMENT_END_DASH_STATE",UA="COMMENT_END_STATE",XTe="COMMENT_END_BANG_STATE",YTe="DOCTYPE_STATE",GA="BEFORE_DOCTYPE_NAME_STATE",KA="DOCTYPE_NAME_STATE",ZTe="AFTER_DOCTYPE_NAME_STATE",QTe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",JTe="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",HX="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",WX="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",qX="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",eMe="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",tMe="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",nMe="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",z8="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",B8="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",VX="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ep="BOGUS_DOCTYPE_STATE",XA="CDATA_SECTION_STATE",rMe="CDATA_SECTION_BRACKET_STATE",iMe="CDATA_SECTION_END_STATE",E2="CHARACTER_REFERENCE_STATE",oMe="NAMED_CHARACTER_REFERENCE_STATE",aMe="AMBIGUOS_AMPERSAND_STATE",lMe="NUMERIC_CHARACTER_REFERENCE_STATE",sMe="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",cMe="DECIMAL_CHARACTER_REFERENCE_START_STATE",uMe="HEXADEMICAL_CHARACTER_REFERENCE_STATE",dMe="DECIMAL_CHARACTER_REFERENCE_STATE",F8="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Vi(e){return e===tt.SPACE||e===tt.LINE_FEED||e===tt.TABULATION||e===tt.FORM_FEED}function uE(e){return e>=tt.DIGIT_0&&e<=tt.DIGIT_9}function Ju(e){return e>=tt.LATIN_CAPITAL_A&&e<=tt.LATIN_CAPITAL_Z}function lv(e){return e>=tt.LATIN_SMALL_A&&e<=tt.LATIN_SMALL_Z}function w1(e){return lv(e)||Ju(e)}function UX(e){return w1(e)||uE(e)}function Xit(e){return e>=tt.LATIN_CAPITAL_A&&e<=tt.LATIN_CAPITAL_F}function Yit(e){return e>=tt.LATIN_SMALL_A&&e<=tt.LATIN_SMALL_F}function _An(e){return uE(e)||Xit(e)||Yit(e)}function aj(e){return e+32}function _o(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function v1(e){return String.fromCharCode(aj(e))}function fMe(e,t){const n=Rv[++e];let r=++e,i=r+n-1;for(;r<=i;){const o=r+i>>>1,a=Rv[o];if(at)i=o-1;else return Rv[o+n]}return-1}let Pu=class ps{constructor(){this.preprocessor=new CAn,this.tokenQueue=[],this.allowCDATA=!1,this.state=Mr,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:ps.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,o=!0;const a=t.length;let l=0,s=n,u;for(;l0&&(s=this._consume(),i++),s===tt.EOF){o=!1;break}if(u=t[l],s!==u&&(r||s!==aj(u))){o=!1;break}}if(!o)for(;i--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Qm.SCRIPT_STRING.length)return!1;for(let t=0;t0&&this._err(Ut.endTagWithAttributes),t.selfClosing&&this._err(Ut.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=ps.CHARACTER_TOKEN;Vi(t)?n=ps.WHITESPACE_CHARACTER_TOKEN:t===tt.NULL&&(n=ps.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,_o(t))}_emitSeveralCodePoints(t){for(let n=0;n-1;){const o=Rv[i],a=o")):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.state=Zu,this._emitChars(wi.REPLACEMENT_CHARACTER)):t===tt.EOF?(this._err(Ut.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Zu,this._emitCodePoint(t))}[zA](t){t===tt.SOLIDUS?(this.tempBuff=[],this.state=jTe):w1(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(LTe)):(this._emitChars("<"),this._reconsumeInState(Zu))}[jTe](t){w1(t)?(this._createEndTagToken(),this._reconsumeInState(DTe)):(this._emitChars("")):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.state=Op,this._emitChars(wi.REPLACEMENT_CHARACTER)):t===tt.EOF?(this._err(Ut.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Op,this._emitCodePoint(t))}[BA](t){t===tt.SOLIDUS?(this.tempBuff=[],this.state=FTe,this._emitChars("/")):this._reconsumeInState(Op)}[FTe](t){Vi(t)||t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Zu:Op,this._emitCodePoint(t)):Ju(t)?(this.tempBuff.push(aj(t)),this._emitCodePoint(t)):lv(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(Op)}[Jd](t){Vi(t)||(t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN||t===tt.EOF?this._reconsumeInState(zX):t===tt.EQUALS_SIGN?(this._err(Ut.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=FA):(this._createAttr(""),this._reconsumeInState(FA)))}[FA](t){Vi(t)||t===tt.SOLIDUS||t===tt.GREATER_THAN_SIGN||t===tt.EOF?(this._leaveAttrName(zX),this._unconsume()):t===tt.EQUALS_SIGN?this._leaveAttrName(BX):Ju(t)?this.currentAttr.name+=v1(t):t===tt.QUOTATION_MARK||t===tt.APOSTROPHE||t===tt.LESS_THAN_SIGN?(this._err(Ut.unexpectedCharacterInAttributeName),this.currentAttr.name+=_o(t)):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.name+=wi.REPLACEMENT_CHARACTER):this.currentAttr.name+=_o(t)}[zX](t){Vi(t)||(t===tt.SOLIDUS?this.state=g1:t===tt.EQUALS_SIGN?this.state=BX:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(FA)))}[BX](t){Vi(t)||(t===tt.QUOTATION_MARK?this.state=HA:t===tt.APOSTROPHE?this.state=WA:t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingAttributeValue),this.state=Mr,this._emitCurrentToken()):this._reconsumeInState(qA))}[HA](t){t===tt.QUOTATION_MARK?this.state=FX:t===tt.AMPERSAND?(this.returnState=HA,this.state=E2):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[WA](t){t===tt.APOSTROPHE?this.state=FX:t===tt.AMPERSAND?(this.returnState=WA,this.state=E2):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[qA](t){Vi(t)?this._leaveAttrValue(Jd):t===tt.AMPERSAND?(this.returnState=qA,this.state=E2):t===tt.GREATER_THAN_SIGN?(this._leaveAttrValue(Mr),this._emitCurrentToken()):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentAttr.value+=wi.REPLACEMENT_CHARACTER):t===tt.QUOTATION_MARK||t===tt.APOSTROPHE||t===tt.LESS_THAN_SIGN||t===tt.EQUALS_SIGN||t===tt.GRAVE_ACCENT?(this._err(Ut.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=_o(t)):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):this.currentAttr.value+=_o(t)}[FX](t){Vi(t)?this._leaveAttrValue(Jd):t===tt.SOLIDUS?this._leaveAttrValue(g1):t===tt.GREATER_THAN_SIGN?(this._leaveAttrValue(Mr),this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._err(Ut.missingWhitespaceBetweenAttributes),this._reconsumeInState(Jd))}[g1](t){t===tt.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInTag),this._emitEOFToken()):(this._err(Ut.unexpectedSolidusInTag),this._reconsumeInState(Jd))}[L8](t){t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.data+=wi.REPLACEMENT_CHARACTER):this.currentToken.data+=_o(t)}[HTe](t){this._consumeSequenceIfMatch(Qm.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=WTe):this._consumeSequenceIfMatch(Qm.DOCTYPE_STRING,t,!1)?this.state=YTe:this._consumeSequenceIfMatch(Qm.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=XA:(this._err(Ut.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=L8):this._ensureHibernation()||(this._err(Ut.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(L8))}[WTe](t){t===tt.HYPHEN_MINUS?this.state=qTe:t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptClosingOfEmptyComment),this.state=Mr,this._emitCurrentToken()):this._reconsumeInState(m1)}[qTe](t){t===tt.HYPHEN_MINUS?this.state=UA:t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptClosingOfEmptyComment),this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(m1))}[m1](t){t===tt.HYPHEN_MINUS?this.state=VA:t===tt.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=VTe):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.data+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=_o(t)}[VTe](t){t===tt.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=UTe):t===tt.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(m1)}[UTe](t){t===tt.HYPHEN_MINUS?this.state=GTe:this._reconsumeInState(m1)}[GTe](t){t===tt.HYPHEN_MINUS?this.state=KTe:this._reconsumeInState(VA)}[KTe](t){t!==tt.GREATER_THAN_SIGN&&t!==tt.EOF&&this._err(Ut.nestedComment),this._reconsumeInState(UA)}[VA](t){t===tt.HYPHEN_MINUS?this.state=UA:t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(m1))}[UA](t){t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EXCLAMATION_MARK?this.state=XTe:t===tt.HYPHEN_MINUS?this.currentToken.data+="-":t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(m1))}[XTe](t){t===tt.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=VA):t===tt.GREATER_THAN_SIGN?(this._err(Ut.incorrectlyClosedComment),this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(m1))}[YTe](t){Vi(t)?this.state=GA:t===tt.GREATER_THAN_SIGN?this._reconsumeInState(GA):t===tt.EOF?(this._err(Ut.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(GA))}[GA](t){Vi(t)||(Ju(t)?(this._createDoctypeToken(v1(t)),this.state=KA):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this._createDoctypeToken(wi.REPLACEMENT_CHARACTER),this.state=KA):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(_o(t)),this.state=KA))}[KA](t){Vi(t)?this.state=ZTe:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):Ju(t)?this.currentToken.name+=v1(t):t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.name+=wi.REPLACEMENT_CHARACTER):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=_o(t)}[ZTe](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Qm.PUBLIC_STRING,t,!1)?this.state=QTe:this._consumeSequenceIfMatch(Qm.SYSTEM_STRING,t,!1)?this.state=tMe:this._ensureHibernation()||(this._err(Ut.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[QTe](t){Vi(t)?this.state=JTe:t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=HX):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=WX):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[JTe](t){Vi(t)||(t===tt.QUOTATION_MARK?(this.currentToken.publicId="",this.state=HX):t===tt.APOSTROPHE?(this.currentToken.publicId="",this.state=WX):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[HX](t){t===tt.QUOTATION_MARK?this.state=qX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.publicId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=_o(t)}[WX](t){t===tt.APOSTROPHE?this.state=qX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.publicId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=_o(t)}[qX](t){Vi(t)?this.state=eMe:t===tt.GREATER_THAN_SIGN?(this.state=Mr,this._emitCurrentToken()):t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=z8):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=B8):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[eMe](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.QUOTATION_MARK?(this.currentToken.systemId="",this.state=z8):t===tt.APOSTROPHE?(this.currentToken.systemId="",this.state=B8):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[tMe](t){Vi(t)?this.state=nMe:t===tt.QUOTATION_MARK?(this._err(Ut.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=z8):t===tt.APOSTROPHE?(this._err(Ut.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=B8):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep))}[nMe](t){Vi(t)||(t===tt.QUOTATION_MARK?(this.currentToken.systemId="",this.state=z8):t===tt.APOSTROPHE?(this.currentToken.systemId="",this.state=B8):t===tt.GREATER_THAN_SIGN?(this._err(Ut.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Mr,this._emitCurrentToken()):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Ep)))}[z8](t){t===tt.QUOTATION_MARK?this.state=VX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.systemId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=_o(t)}[B8](t){t===tt.APOSTROPHE?this.state=VX:t===tt.NULL?(this._err(Ut.unexpectedNullCharacter),this.currentToken.systemId+=wi.REPLACEMENT_CHARACTER):t===tt.GREATER_THAN_SIGN?(this._err(Ut.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=_o(t)}[VX](t){Vi(t)||(t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.EOF?(this._err(Ut.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ut.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Ep)))}[Ep](t){t===tt.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Mr):t===tt.NULL?this._err(Ut.unexpectedNullCharacter):t===tt.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[XA](t){t===tt.RIGHT_SQUARE_BRACKET?this.state=rMe:t===tt.EOF?(this._err(Ut.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[rMe](t){t===tt.RIGHT_SQUARE_BRACKET?this.state=iMe:(this._emitChars("]"),this._reconsumeInState(XA))}[iMe](t){t===tt.GREATER_THAN_SIGN?this.state=Mr:t===tt.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(XA))}[E2](t){this.tempBuff=[tt.AMPERSAND],t===tt.NUMBER_SIGN?(this.tempBuff.push(t),this.state=lMe):UX(t)?this._reconsumeInState(oMe):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[oMe](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[tt.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===tt.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(Ut.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=aMe}[aMe](t){UX(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=_o(t):this._emitCodePoint(t):(t===tt.SEMICOLON&&this._err(Ut.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[lMe](t){this.charRefCode=0,t===tt.LATIN_SMALL_X||t===tt.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=sMe):this._reconsumeInState(cMe)}[sMe](t){_An(t)?this._reconsumeInState(uMe):(this._err(Ut.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[cMe](t){uE(t)?this._reconsumeInState(dMe):(this._err(Ut.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[uMe](t){Xit(t)?this.charRefCode=this.charRefCode*16+t-55:Yit(t)?this.charRefCode=this.charRefCode*16+t-87:uE(t)?this.charRefCode=this.charRefCode*16+t-48:t===tt.SEMICOLON?this.state=F8:(this._err(Ut.missingSemicolonAfterCharacterReference),this._reconsumeInState(F8))}[dMe](t){uE(t)?this.charRefCode=this.charRefCode*10+t-48:t===tt.SEMICOLON?this.state=F8:(this._err(Ut.missingSemicolonAfterCharacterReference),this._reconsumeInState(F8))}[F8](){if(this.charRefCode===tt.NULL)this._err(Ut.nullCharacterReference),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Ut.characterReferenceOutsideUnicodeRange),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(wi.isSurrogate(this.charRefCode))this._err(Ut.surrogateCharacterReference),this.charRefCode=tt.REPLACEMENT_CHARACTER;else if(wi.isUndefinedCodePoint(this.charRefCode))this._err(Ut.noncharacterCharacterReference);else if(wi.isControlCodePoint(this.charRefCode)||this.charRefCode===tt.CARRIAGE_RETURN){this._err(Ut.controlCharacterReference);const t=SAn[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};Pu.CHARACTER_TOKEN="CHARACTER_TOKEN";Pu.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";Pu.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";Pu.START_TAG_TOKEN="START_TAG_TOKEN";Pu.END_TAG_TOKEN="END_TAG_TOKEN";Pu.COMMENT_TOKEN="COMMENT_TOKEN";Pu.DOCTYPE_TOKEN="DOCTYPE_TOKEN";Pu.EOF_TOKEN="EOF_TOKEN";Pu.HIBERNATION_TOKEN="HIBERNATION_TOKEN";Pu.MODE={DATA:Mr,RCDATA:j2,RAWTEXT:C9,SCRIPT_DATA:Ip,PLAINTEXT:Kit};Pu.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var QH=Pu,zd={};const GX=zd.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};zd.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};zd.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const sn=zd.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};zd.SPECIAL_ELEMENTS={[GX.HTML]:{[sn.ADDRESS]:!0,[sn.APPLET]:!0,[sn.AREA]:!0,[sn.ARTICLE]:!0,[sn.ASIDE]:!0,[sn.BASE]:!0,[sn.BASEFONT]:!0,[sn.BGSOUND]:!0,[sn.BLOCKQUOTE]:!0,[sn.BODY]:!0,[sn.BR]:!0,[sn.BUTTON]:!0,[sn.CAPTION]:!0,[sn.CENTER]:!0,[sn.COL]:!0,[sn.COLGROUP]:!0,[sn.DD]:!0,[sn.DETAILS]:!0,[sn.DIR]:!0,[sn.DIV]:!0,[sn.DL]:!0,[sn.DT]:!0,[sn.EMBED]:!0,[sn.FIELDSET]:!0,[sn.FIGCAPTION]:!0,[sn.FIGURE]:!0,[sn.FOOTER]:!0,[sn.FORM]:!0,[sn.FRAME]:!0,[sn.FRAMESET]:!0,[sn.H1]:!0,[sn.H2]:!0,[sn.H3]:!0,[sn.H4]:!0,[sn.H5]:!0,[sn.H6]:!0,[sn.HEAD]:!0,[sn.HEADER]:!0,[sn.HGROUP]:!0,[sn.HR]:!0,[sn.HTML]:!0,[sn.IFRAME]:!0,[sn.IMG]:!0,[sn.INPUT]:!0,[sn.LI]:!0,[sn.LINK]:!0,[sn.LISTING]:!0,[sn.MAIN]:!0,[sn.MARQUEE]:!0,[sn.MENU]:!0,[sn.META]:!0,[sn.NAV]:!0,[sn.NOEMBED]:!0,[sn.NOFRAMES]:!0,[sn.NOSCRIPT]:!0,[sn.OBJECT]:!0,[sn.OL]:!0,[sn.P]:!0,[sn.PARAM]:!0,[sn.PLAINTEXT]:!0,[sn.PRE]:!0,[sn.SCRIPT]:!0,[sn.SECTION]:!0,[sn.SELECT]:!0,[sn.SOURCE]:!0,[sn.STYLE]:!0,[sn.SUMMARY]:!0,[sn.TABLE]:!0,[sn.TBODY]:!0,[sn.TD]:!0,[sn.TEMPLATE]:!0,[sn.TEXTAREA]:!0,[sn.TFOOT]:!0,[sn.TH]:!0,[sn.THEAD]:!0,[sn.TITLE]:!0,[sn.TR]:!0,[sn.TRACK]:!0,[sn.UL]:!0,[sn.WBR]:!0,[sn.XMP]:!0},[GX.MATHML]:{[sn.MI]:!0,[sn.MO]:!0,[sn.MN]:!0,[sn.MS]:!0,[sn.MTEXT]:!0,[sn.ANNOTATION_XML]:!0},[GX.SVG]:{[sn.TITLE]:!0,[sn.FOREIGN_OBJECT]:!0,[sn.DESC]:!0}};const Zit=zd,un=Zit.TAG_NAMES,Oi=Zit.NAMESPACES;function pMe(e){switch(e.length){case 1:return e===un.P;case 2:return e===un.RB||e===un.RP||e===un.RT||e===un.DD||e===un.DT||e===un.LI;case 3:return e===un.RTC;case 6:return e===un.OPTION;case 8:return e===un.OPTGROUP}return!1}function wAn(e){switch(e.length){case 1:return e===un.P;case 2:return e===un.RB||e===un.RP||e===un.RT||e===un.DD||e===un.DT||e===un.LI||e===un.TD||e===un.TH||e===un.TR;case 3:return e===un.RTC;case 5:return e===un.TBODY||e===un.TFOOT||e===un.THEAD;case 6:return e===un.OPTION;case 7:return e===un.CAPTION;case 8:return e===un.OPTGROUP||e===un.COLGROUP}return!1}function YA(e,t){switch(e.length){case 2:if(e===un.TD||e===un.TH)return t===Oi.HTML;if(e===un.MI||e===un.MO||e===un.MN||e===un.MS)return t===Oi.MATHML;break;case 4:if(e===un.HTML)return t===Oi.HTML;if(e===un.DESC)return t===Oi.SVG;break;case 5:if(e===un.TABLE)return t===Oi.HTML;if(e===un.MTEXT)return t===Oi.MATHML;if(e===un.TITLE)return t===Oi.SVG;break;case 6:return(e===un.APPLET||e===un.OBJECT)&&t===Oi.HTML;case 7:return(e===un.CAPTION||e===un.MARQUEE)&&t===Oi.HTML;case 8:return e===un.TEMPLATE&&t===Oi.HTML;case 13:return e===un.FOREIGN_OBJECT&&t===Oi.SVG;case 14:return e===un.ANNOTATION_XML&&t===Oi.MATHML}return!1}let OAn=class{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===un.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oi.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===Oi.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===un.H1||t===un.H2||t===un.H3||t===un.H4||t===un.H5||t===un.H6&&n===Oi.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===un.TD||t===un.TH&&n===Oi.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==un.TABLE&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==un.TBODY&&this.currentTagName!==un.TFOOT&&this.currentTagName!==un.THEAD&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==un.TR&&this.currentTagName!==un.TEMPLATE&&this.currentTagName!==un.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oi.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===un.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===un.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if(YA(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===un.H1||n===un.H2||n===un.H3||n===un.H4||n===un.H5||n===un.H6)&&r===Oi.HTML)return!0;if(YA(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if((r===un.UL||r===un.OL)&&i===Oi.HTML||YA(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oi.HTML)return!0;if(r===un.BUTTON&&i===Oi.HTML||YA(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oi.HTML){if(r===t)return!0;if(r===un.TABLE||r===un.TEMPLATE||r===un.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Oi.HTML){if(n===un.TBODY||n===un.THEAD||n===un.TFOOT)return!0;if(n===un.TABLE||n===un.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oi.HTML){if(r===t)return!0;if(r!==un.OPTION&&r!==un.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;pMe(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;wAn(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;pMe(this.currentTagName)&&this.currentTagName!==t;)this.pop()}};var EAn=OAn;const ZA=3;let Oce=class O1{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=ZA){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let a=this.length-1;a>=0;a--){const l=this.entries[a];if(l.type===O1.MARKER_ENTRY)break;const s=l.element,u=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===o&&u.length===r&&n.push({idx:a,attrs:u})}}return n.length=ZA-1;l--)this.entries.splice(n[l].idx,1),this.length--}}insertMarker(){this.entries.push({type:O1.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:O1.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:O1.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===O1.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===O1.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===O1.ELEMENT_ENTRY&&r.element===t)return r}return null}};Oce.MARKER_ENTRY="MARKER_ENTRY";Oce.ELEMENT_ENTRY="ELEMENT_ENTRY";var $An=Oce;let Qit=class{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}};Qit.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i{const o=GX.MODE[i];r[o]=function(a){t.ctLoc=t._getCurrentLocation(),n[o].call(this,a)}}),r}};var eot=NAn;const AAn=Wh;let kAn=class extends AAn{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}};var jAn=kAn;const KX=Wh,hMe=ZH,DAn=eot,LAn=jAn,zAn=zd,XX=zAn.TAG_NAMES;let BAn=class extends KX{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,o=this.treeAdapter.getTagName(t),a=n.type===hMe.END_TAG_TOKEN&&o===n.tagName,l={};a?(l.endTag=Object.assign({},i),l.endLine=i.endLine,l.endCol=i.endCol,l.endOffset=i.endOffset):(l.endLine=i.startLine,l.endCol=i.startCol,l.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,l)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const o=KX.install(this.tokenizer,DAn);t.posTracker=o.posTracker,KX.install(this.openElements,LAn,{onItemPop:function(a){t._setEndLocation(a,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===hMe.END_TAG_TOKEN&&(r.tagName===XX.HTML||r.tagName===XX.BODY&&this.openElements.hasInScope(XX.BODY)))for(let o=this.openElements.stackTop;o>=0;o--){const a=this.openElements.items[o];if(this.treeAdapter.getTagName(a)===r.tagName){t._setEndLocation(a,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),o=i.length;for(let a=0;a(Object.keys(i).forEach(o=>{r[o]=i[o]}),r),Object.create(null))},QH={};const{DOCUMENT_MODE:$2}=zd,rot="html",skn="about:legacy-compat",ckn="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",iot=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],ukn=iot.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),dkn=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],oot=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],fkn=oot.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function mMe(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function vMe(e,t){for(let n=0;n-1)return $2.QUIRKS;let r=t===null?ukn:iot;if(vMe(n,r))return $2.QUIRKS;if(r=t===null?oot:fkn,vMe(n,r))return $2.LIMITED_QUIRKS}return $2.NO_QUIRKS};QH.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+mMe(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+mMe(n)),r};var Y0={};const YX=ZH,Ece=zd,Vn=Ece.TAG_NAMES,Ja=Ece.NAMESPACES,aj=Ece.ATTRS,yMe={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pkn="definitionurl",hkn="definitionURL",gkn={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},mkn={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:Ja.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:Ja.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:Ja.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:Ja.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:Ja.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:Ja.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:Ja.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:Ja.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:Ja.XML},"xml:space":{prefix:"xml",name:"space",namespace:Ja.XML},xmlns:{prefix:"",name:"xmlns",namespace:Ja.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:Ja.XMLNS}},vkn=Y0.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},ykn={[Vn.B]:!0,[Vn.BIG]:!0,[Vn.BLOCKQUOTE]:!0,[Vn.BODY]:!0,[Vn.BR]:!0,[Vn.CENTER]:!0,[Vn.CODE]:!0,[Vn.DD]:!0,[Vn.DIV]:!0,[Vn.DL]:!0,[Vn.DT]:!0,[Vn.EM]:!0,[Vn.EMBED]:!0,[Vn.H1]:!0,[Vn.H2]:!0,[Vn.H3]:!0,[Vn.H4]:!0,[Vn.H5]:!0,[Vn.H6]:!0,[Vn.HEAD]:!0,[Vn.HR]:!0,[Vn.I]:!0,[Vn.IMG]:!0,[Vn.LI]:!0,[Vn.LISTING]:!0,[Vn.MENU]:!0,[Vn.META]:!0,[Vn.NOBR]:!0,[Vn.OL]:!0,[Vn.P]:!0,[Vn.PRE]:!0,[Vn.RUBY]:!0,[Vn.S]:!0,[Vn.SMALL]:!0,[Vn.SPAN]:!0,[Vn.STRONG]:!0,[Vn.STRIKE]:!0,[Vn.SUB]:!0,[Vn.SUP]:!0,[Vn.TABLE]:!0,[Vn.TT]:!0,[Vn.U]:!0,[Vn.UL]:!0,[Vn.VAR]:!0};Y0.causesExit=function(e){const t=e.tagName;return t===Vn.FONT&&(YX.getTokenAttr(e,aj.COLOR)!==null||YX.getTokenAttr(e,aj.SIZE)!==null||YX.getTokenAttr(e,aj.FACE)!==null)?!0:ykn[t]};Y0.adjustTokenMathMLAttrs=function(e){for(let t=0;t0);for(let i=n;i=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),o=Mkn[i];if(o){this.insertionMode=o;break}else if(!n&&(i===de.TD||i===de.TH)){this.insertionMode=nW;break}else if(!n&&i===de.HEAD){this.insertionMode=JC;break}else if(i===de.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===de.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===de.HTML){this.insertionMode=this.headElement?eW:JH;break}else if(n){this.insertionMode=If;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===de.TEMPLATE)break;if(i===de.TABLE){this.insertionMode=Tce;return}}this.insertionMode=Pce}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===de.TABLE||n===de.TBODY||n===de.TFOOT||n===de.THEAD||n===de.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),o=this.treeAdapter.getNamespaceURI(r);if(i===de.TEMPLATE&&o===In.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===de.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return fb.SPECIAL_ELEMENTS[r][n]}}var Nkn=Ikn;function Akn(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ed(e,t),n}function kkn(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function jkn(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const l=e.activeFormattingElements.getElementEntry(a),s=l&&o>=Tkn;!l||s?(s&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(a)):(a=Dkn(e,l),r===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Dkn(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Lkn(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===de.TEMPLATE&&i===In.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function zkn(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function A1(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==de.TEMPLATE&&e._err(il.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(de.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(il.endTagWithoutMatchingOpenElement)}function fE(e,t){e.openElements.pop(),e.insertionMode=eW,e._processToken(t)}function Ukn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.BASEFONT||n===de.BGSOUND||n===de.HEAD||n===de.LINK||n===de.META||n===de.NOFRAMES||n===de.STYLE?Da(e,t):n===de.NOSCRIPT?e._err(il.nestedNoscriptInHead):pE(e,t)}function Gkn(e,t){const n=t.tagName;n===de.NOSCRIPT?(e.openElements.pop(),e.insertionMode=JC):n===de.BR?pE(e,t):e._err(il.endTagWithoutMatchingOpenElement)}function pE(e,t){const n=t.type===it.EOF_TOKEN?il.openElementsLeftAfterEof:il.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=JC,e._processToken(t)}function Kkn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.BODY?(e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode=If):n===de.FRAMESET?(e._insertElement(t,In.HTML),e.insertionMode=rW):n===de.BASE||n===de.BASEFONT||n===de.BGSOUND||n===de.LINK||n===de.META||n===de.NOFRAMES||n===de.SCRIPT||n===de.STYLE||n===de.TEMPLATE||n===de.TITLE?(e._err(il.abandonedHeadElementChild),e.openElements.push(e.headElement),Da(e,t),e.openElements.remove(e.headElement)):n===de.HEAD?e._err(il.misplacedStartTagForHeadElement):hE(e,t)}function Xkn(e,t){const n=t.tagName;n===de.BODY||n===de.HTML||n===de.BR?hE(e,t):n===de.TEMPLATE?pb(e,t):e._err(il.endTagWithoutMatchingOpenElement)}function hE(e,t){e._insertFakeElement(de.BODY),e.insertionMode=If,e._processToken(t)}function Jm(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function QA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ykn(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Zkn(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Qkn(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,In.HTML),e.insertionMode=rW)}function $p(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function Jkn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6)&&e.openElements.pop(),e._insertElement(t,In.HTML)}function wMe(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ejn(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),n||(e.formElement=e.openElements.current))}function tjn(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],o=e.treeAdapter.getTagName(i);let a=null;if(n===de.LI&&o===de.LI?a=de.LI:(n===de.DD||n===de.DT)&&(o===de.DD||o===de.DT)&&(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==de.ADDRESS&&o!==de.DIV&&o!==de.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function njn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.tokenizer.state=it.MODE.PLAINTEXT}function rjn(e,t){e.openElements.hasInScope(de.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(de.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.framesetOk=!1}function ijn(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(de.A);n&&(A1(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function P2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ojn(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(de.NOBR)&&(A1(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function OMe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function ajn(e,t){e.treeAdapter.getDocumentMode(e.document)!==fb.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode=_l}function D2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,In.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ljn(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,In.HTML);const n=it.getTokenAttr(t,aot.TYPE);(!n||n.toLowerCase()!==lot)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function EMe(e,t){e._appendElement(t,In.HTML),t.ackSelfClosing=!0}function sjn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._appendElement(t,In.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function cjn(e,t){t.tagName=de.IMG,D2(e,t)}function ujn(e,t){e._insertElement(t,In.HTML),e.skipNextNewLine=!0,e.tokenizer.state=it.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=tz}function djn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,it.MODE.RAWTEXT)}function fjn(e,t){e.framesetOk=!1,e._switchToTextParsing(t,it.MODE.RAWTEXT)}function $Me(e,t){e._switchToTextParsing(t,it.MODE.RAWTEXT)}function pjn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode===_l||e.insertionMode===tW||e.insertionMode===fu||e.insertionMode===Eh||e.insertionMode===nW?e.insertionMode=Tce:e.insertionMode=Pce}function PMe(e,t){e.openElements.currentTagName===de.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML)}function TMe(e,t){e.openElements.hasInScope(de.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,In.HTML)}function hjn(e,t){e.openElements.hasInScope(de.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(de.RTC),e._insertElement(t,In.HTML)}function gjn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function mjn(e,t){e._reconstructActiveFormattingElements(),hf.adjustTokenMathMLAttrs(t),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,In.MATHML):e._insertElement(t,In.MATHML),t.ackSelfClosing=!0}function vjn(e,t){e._reconstructActiveFormattingElements(),hf.adjustTokenSVGAttrs(t),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,In.SVG):e._insertElement(t,In.SVG),t.ackSelfClosing=!0}function Vc(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML)}function Fs(e,t){const n=t.tagName;switch(n.length){case 1:n===de.I||n===de.S||n===de.B||n===de.U?P2(e,t):n===de.P?$p(e,t):n===de.A?ijn(e,t):Vc(e,t);break;case 2:n===de.DL||n===de.OL||n===de.UL?$p(e,t):n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6?Jkn(e,t):n===de.LI||n===de.DD||n===de.DT?tjn(e,t):n===de.EM||n===de.TT?P2(e,t):n===de.BR?D2(e,t):n===de.HR?sjn(e,t):n===de.RB?TMe(e,t):n===de.RT||n===de.RP?hjn(e,t):n!==de.TH&&n!==de.TD&&n!==de.TR&&Vc(e,t);break;case 3:n===de.DIV||n===de.DIR||n===de.NAV?$p(e,t):n===de.PRE?wMe(e,t):n===de.BIG?P2(e,t):n===de.IMG||n===de.WBR?D2(e,t):n===de.XMP?djn(e,t):n===de.SVG?vjn(e,t):n===de.RTC?TMe(e,t):n!==de.COL&&Vc(e,t);break;case 4:n===de.HTML?Ykn(e,t):n===de.BASE||n===de.LINK||n===de.META?Da(e,t):n===de.BODY?Zkn(e,t):n===de.MAIN||n===de.MENU?$p(e,t):n===de.FORM?ejn(e,t):n===de.CODE||n===de.FONT?P2(e,t):n===de.NOBR?ojn(e,t):n===de.AREA?D2(e,t):n===de.MATH?mjn(e,t):n===de.MENU?gjn(e,t):n!==de.HEAD&&Vc(e,t);break;case 5:n===de.STYLE||n===de.TITLE?Da(e,t):n===de.ASIDE?$p(e,t):n===de.SMALL?P2(e,t):n===de.TABLE?ajn(e,t):n===de.EMBED?D2(e,t):n===de.INPUT?ljn(e,t):n===de.PARAM||n===de.TRACK?EMe(e,t):n===de.IMAGE?cjn(e,t):n!==de.FRAME&&n!==de.TBODY&&n!==de.TFOOT&&n!==de.THEAD&&Vc(e,t);break;case 6:n===de.SCRIPT?Da(e,t):n===de.CENTER||n===de.FIGURE||n===de.FOOTER||n===de.HEADER||n===de.HGROUP||n===de.DIALOG?$p(e,t):n===de.BUTTON?rjn(e,t):n===de.STRIKE||n===de.STRONG?P2(e,t):n===de.APPLET||n===de.OBJECT?OMe(e,t):n===de.KEYGEN?D2(e,t):n===de.SOURCE?EMe(e,t):n===de.IFRAME?fjn(e,t):n===de.SELECT?pjn(e,t):n===de.OPTION?PMe(e,t):Vc(e,t);break;case 7:n===de.BGSOUND?Da(e,t):n===de.DETAILS||n===de.ADDRESS||n===de.ARTICLE||n===de.SECTION||n===de.SUMMARY?$p(e,t):n===de.LISTING?wMe(e,t):n===de.MARQUEE?OMe(e,t):n===de.NOEMBED?$Me(e,t):n!==de.CAPTION&&Vc(e,t);break;case 8:n===de.BASEFONT?Da(e,t):n===de.FRAMESET?Qkn(e,t):n===de.FIELDSET?$p(e,t):n===de.TEXTAREA?ujn(e,t):n===de.TEMPLATE?Da(e,t):n===de.NOSCRIPT?e.options.scriptingEnabled?$Me(e,t):Vc(e,t):n===de.OPTGROUP?PMe(e,t):n!==de.COLGROUP&&Vc(e,t);break;case 9:n===de.PLAINTEXT?njn(e,t):Vc(e,t);break;case 10:n===de.BLOCKQUOTE||n===de.FIGCAPTION?$p(e,t):Vc(e,t);break;default:Vc(e,t)}}function yjn(e){e.openElements.hasInScope(de.BODY)&&(e.insertionMode=Mce)}function bjn(e,t){e.openElements.hasInScope(de.BODY)&&(e.insertionMode=Mce,e._processToken(t))}function y1(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Cjn(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(de.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(de.FORM):e.openElements.remove(n))}function Sjn(e){e.openElements.hasInButtonScope(de.P)||e._insertFakeElement(de.P),e._closePElement()}function xjn(e){e.openElements.hasInListItemScope(de.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(de.LI),e.openElements.popUntilTagNamePopped(de.LI))}function _jn(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function wjn(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function MMe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Ojn(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(de.BR),e.openElements.pop(),e.framesetOk=!1}function ed(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function Rce(e,t){const n=t.tagName;switch(n.length){case 1:n===de.A||n===de.B||n===de.I||n===de.S||n===de.U?A1(e,t):n===de.P?Sjn(e):ed(e,t);break;case 2:n===de.DL||n===de.UL||n===de.OL?y1(e,t):n===de.LI?xjn(e):n===de.DD||n===de.DT?_jn(e,t):n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6?wjn(e):n===de.BR?Ojn(e):n===de.EM||n===de.TT?A1(e,t):ed(e,t);break;case 3:n===de.BIG?A1(e,t):n===de.DIR||n===de.DIV||n===de.NAV||n===de.PRE?y1(e,t):ed(e,t);break;case 4:n===de.BODY?yjn(e):n===de.HTML?bjn(e,t):n===de.FORM?Cjn(e):n===de.CODE||n===de.FONT||n===de.NOBR?A1(e,t):n===de.MAIN||n===de.MENU?y1(e,t):ed(e,t);break;case 5:n===de.ASIDE?y1(e,t):n===de.SMALL?A1(e,t):ed(e,t);break;case 6:n===de.CENTER||n===de.FIGURE||n===de.FOOTER||n===de.HEADER||n===de.HGROUP||n===de.DIALOG?y1(e,t):n===de.APPLET||n===de.OBJECT?MMe(e,t):n===de.STRIKE||n===de.STRONG?A1(e,t):ed(e,t);break;case 7:n===de.ADDRESS||n===de.ARTICLE||n===de.DETAILS||n===de.SECTION||n===de.SUMMARY||n===de.LISTING?y1(e,t):n===de.MARQUEE?MMe(e,t):ed(e,t);break;case 8:n===de.FIELDSET?y1(e,t):n===de.TEMPLATE?pb(e,t):ed(e,t);break;case 10:n===de.BLOCKQUOTE||n===de.FIGCAPTION?y1(e,t):ed(e,t);break;default:ed(e,t)}}function Pp(e,t){e.tmplInsertionModeStackTop>-1?mot(e,t):e.stopped=!0}function Ejn(e,t){t.tagName===de.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function $jn(e,t){e._err(il.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Tp(e,t){const n=e.openElements.currentTagName;n===de.TABLE||n===de.TBODY||n===de.TFOOT||n===de.THEAD||n===de.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=uot,e._processToken(t)):Xc(e,t)}function Pjn(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,In.HTML),e.insertionMode=tW}function Tjn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,In.HTML),e.insertionMode=JP}function Mjn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(de.COLGROUP),e.insertionMode=JP,e._processToken(t)}function Rjn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,In.HTML),e.insertionMode=fu}function Ijn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(de.TBODY),e.insertionMode=fu,e._processToken(t)}function Njn(e,t){e.openElements.hasInTableScope(de.TABLE)&&(e.openElements.popUntilTagNamePopped(de.TABLE),e._resetInsertionMode(),e._processToken(t))}function Ajn(e,t){const n=it.getTokenAttr(t,aot.TYPE);n&&n.toLowerCase()===lot?e._appendElement(t,In.HTML):Xc(e,t),t.ackSelfClosing=!0}function kjn(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,In.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ice(e,t){const n=t.tagName;switch(n.length){case 2:n===de.TD||n===de.TH||n===de.TR?Ijn(e,t):Xc(e,t);break;case 3:n===de.COL?Mjn(e,t):Xc(e,t);break;case 4:n===de.FORM?kjn(e,t):Xc(e,t);break;case 5:n===de.TABLE?Njn(e,t):n===de.STYLE?Da(e,t):n===de.TBODY||n===de.TFOOT||n===de.THEAD?Rjn(e,t):n===de.INPUT?Ajn(e,t):Xc(e,t);break;case 6:n===de.SCRIPT?Da(e,t):Xc(e,t);break;case 7:n===de.CAPTION?Pjn(e,t):Xc(e,t);break;case 8:n===de.COLGROUP?Tjn(e,t):n===de.TEMPLATE?Da(e,t):Xc(e,t);break;default:Xc(e,t)}}function Nce(e,t){const n=t.tagName;n===de.TABLE?e.openElements.hasInTableScope(de.TABLE)&&(e.openElements.popUntilTagNamePopped(de.TABLE),e._resetInsertionMode()):n===de.TEMPLATE?pb(e,t):n!==de.BODY&&n!==de.CAPTION&&n!==de.COL&&n!==de.COLGROUP&&n!==de.HTML&&n!==de.TBODY&&n!==de.TD&&n!==de.TFOOT&&n!==de.TH&&n!==de.THEAD&&n!==de.TR&&Xc(e,t)}function Xc(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function jjn(e,t){e.pendingCharacterTokens.push(t)}function Djn(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function W8(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(de.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Qjn(e,t){t.tagName===de.HTML?Fs(e,t):iz(e,t)}function Jjn(e,t){t.tagName===de.HTML?e.fragmentContext||(e.insertionMode=fot):iz(e,t)}function iz(e,t){e.insertionMode=If,e._processToken(t)}function eDn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.FRAMESET?e._insertElement(t,In.HTML):n===de.FRAME?(e._appendElement(t,In.HTML),t.ackSelfClosing=!0):n===de.NOFRAMES&&Da(e,t)}function tDn(e,t){t.tagName===de.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==de.FRAMESET&&(e.insertionMode=dot))}function nDn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.NOFRAMES&&Da(e,t)}function rDn(e,t){t.tagName===de.HTML&&(e.insertionMode=pot)}function iDn(e,t){t.tagName===de.HTML?Fs(e,t):lj(e,t)}function lj(e,t){e.insertionMode=If,e._processToken(t)}function oDn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.NOFRAMES&&Da(e,t)}function aDn(e,t){t.chars=Ekn.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function lDn(e,t){e._insertCharacters(t),e.framesetOk=!1}function sDn(e,t){if(hf.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==In.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===In.MATHML?hf.adjustTokenMathMLAttrs(t):r===In.SVG&&(hf.adjustTokenSVGTagName(t),hf.adjustTokenSVGAttrs(t)),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function cDn(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===In.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const uDn=bo(Nkn),eT=vot("start"),iW=vot("end");function dDn(e){return{start:eT(e),end:iW(e)}}function vot(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}class tT{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}tT.prototype.property={};tT.prototype.normal={};tT.prototype.space=null;function yot(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&mDn.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(IMe,bDn);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!IMe.test(o)){let a=o.replace(vDn,yDn);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Ace}return new i(r,t)}function yDn(e){return"-"+e.toLowerCase()}function bDn(e){return e.charAt(1).toUpperCase()}const nT=yot([Sot,Cot,wot,Oot,hDn],"html"),gb=yot([Sot,Cot,wot,Oot,gDn],"svg"),NMe=/[#.]/g;function CDn(e,t){const n=e||"",r={};let i=0,o,a;for(;i-1&&aa)return{line:l+1,column:a-(l>0?n[l-1]:0)+1,offset:a}}return{line:void 0,column:void 0,offset:void 0}}function o(a){const l=a&&a.line,s=a&&a.column;if(typeof l=="number"&&typeof s=="number"&&!Number.isNaN(l)&&!Number.isNaN(s)&&l-1 in n){const u=(n[l-2]||0)+s-1||0;if(u>-1&&u{const P=w;if(P.value.stitch&&$!==null&&O!==null)return $.children[O]=P.value.stitch,O}),e.type!=="root"&&f.type==="root"&&f.children.length===1)return f.children[0];return f;function h(){const w={nodeName:"template",tagName:"template",attrs:[],namespaceURI:l$.html,childNodes:[]},O={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:l$.html,childNodes:[]},$={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(O,w),i._pushTmplInsertionMode(qDn),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),l=i.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,c=l.__mixins[0],u=c.posTracker,o(e),S(),i._adoptNodes(O.childNodes[0],$),$}function d(){const w=i.treeAdapter.createDocument();if(i._bootstrap(w,void 0),l=i.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,c=l.__mixins[0],u=c.posTracker,o(e),S(),w}function p(w){let O=-1;if(w)for(;++ONot(t,n,e)}function oLn(e=xce){return t=>lAn(t,e)}function aLn(e,t){if(e=e.replace(t.subset?lLn(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(i,o,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),t)}function r(i,o,a){return t.format(i.charCodeAt(0),a.charCodeAt(o+1),t)}}function lLn(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},dLn=["cent","copy","divide","gt","lt","not","para","times"],Aot={}.hasOwnProperty,vte={};let JA;for(JA in QX)Aot.call(QX,JA)&&(vte[QX[JA]]=JA);function fLn(e,t,n,r){const i=String.fromCharCode(e);if(Aot.call(vte,i)){const o=vte[i],a="&"+o;return n&&uLn.includes(o)&&!dLn.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?a:a+";"}return""}function pLn(e,t,n){let r=sLn(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=fLn(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const o=cLn(e,t,n.omitOptionalSemicolons);o.length"]}))+">":"|--!>|";function i(o){return U3(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function gLn(e,t,n,r){return""}function Lce(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}const da=jot(1),kot=jot(-1);function jot(e){return t;function t(n,r,i){const o=n?n.children:[];let a=(r||0)+e,l=o&&o[a];if(!i)for(;l&&Lce(l);)a+=e,l=o[a];return l}}const mLn={}.hasOwnProperty;function Dot(e){return t;function t(n,r,i){return mLn.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const zce=Dot({html:vLn,head:JX,body:yLn,p:bLn,li:CLn,dt:SLn,dd:xLn,rt:zMe,rp:zMe,optgroup:_Ln,option:wLn,menuitem:OLn,colgroup:JX,caption:JX,thead:ELn,tbody:$Ln,tfoot:PLn,tr:TLn,td:BMe,th:BMe});function JX(e,t,n){const r=da(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Lce(r.value.charAt(0)))}function vLn(e,t,n){const r=da(n,t);return!r||r.type!=="comment"}function yLn(e,t,n){const r=da(n,t);return!r||r.type!=="comment"}function bLn(e,t,n){const r=da(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function CLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="li"}function SLn(e,t,n){const r=da(n,t);return r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function xLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function zMe(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function _Ln(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function wLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function OLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="menuitem"||r.tagName==="hr"||r.tagName==="menu")}function ELn(e,t,n){const r=da(n,t);return r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function $Ln(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function PLn(e,t,n){return!da(n,t)}function TLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function BMe(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const MLn=Dot({html:RLn,head:ILn,body:NLn,colgroup:ALn,tbody:kLn});function RLn(e){const t=da(e,-1);return!t||t.type!=="comment"}function ILn(e){const t=e.children,n=[];let r=-1;for(;++r0}function NLn(e){const t=da(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Lce(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function ALn(e,t,n){const r=kot(n,t),i=da(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&zce(r,n.children.indexOf(r),n)?!1:i&&i.type==="element"&&i.tagName==="col"}function kLn(e,t,n){const r=kot(n,t),i=da(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&zce(r,n.children.indexOf(r),n)?!1:i&&i.type==="element"&&i.tagName==="tr"}const ek={name:[[` +`)&&(t.isEol=!0),t.col=r-t.lineStartPos+1,t.offset=t.droppedBufferSize+r,n.advance.call(this)},retreat(){n.retreat.call(this),t.isEol=!1,t.col=this.pos-t.lineStartPos+1},dropParsedChunk(){const r=this.pos;n.dropParsedChunk.call(this);const i=r-this.pos;t.lineStartPos-=i,t.droppedBufferSize+=i,t.offset=t.droppedBufferSize+this.pos}}}};var Jit=TAn;const hMe=Wh,KX=QH,MAn=Jit;let RAn=class extends hMe{constructor(t){super(t),this.tokenizer=t,this.posTracker=hMe.install(t.preprocessor,MAn),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const t=this.tokenizer.currentToken,n=this.tokenizer.currentAttr;t.location.attrs||(t.location.attrs=Object.create(null)),t.location.attrs[n.name]=this.currentAttrLocation}_getOverriddenMethods(t,n){const r={_createStartTagToken(){n._createStartTagToken.call(this),this.currentToken.location=t.ctLoc},_createEndTagToken(){n._createEndTagToken.call(this),this.currentToken.location=t.ctLoc},_createCommentToken(){n._createCommentToken.call(this),this.currentToken.location=t.ctLoc},_createDoctypeToken(i){n._createDoctypeToken.call(this,i),this.currentToken.location=t.ctLoc},_createCharacterToken(i,o){n._createCharacterToken.call(this,i,o),this.currentCharacterToken.location=t.ctLoc},_createEOFToken(){n._createEOFToken.call(this),this.currentToken.location=t._getCurrentLocation()},_createAttr(i){n._createAttr.call(this,i),t.currentAttrLocation=t._getCurrentLocation()},_leaveAttrName(i){n._leaveAttrName.call(this,i),t._attachCurrentAttrLocationInfo()},_leaveAttrValue(i){n._leaveAttrValue.call(this,i),t._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const i=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentToken.type===KX.EOF_TOKEN?(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset):(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col+1,i.endOffset=t.posTracker.offset+1),n._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const i=this.currentCharacterToken&&this.currentCharacterToken.location;i&&i.endOffset===-1&&(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col,i.endOffset=t.posTracker.offset),n._emitCurrentCharacterToken.call(this)}};return Object.keys(KX.MODE).forEach(i=>{const o=KX.MODE[i];r[o]=function(a){t.ctLoc=t._getCurrentLocation(),n[o].call(this,a)}}),r}};var eot=RAn;const IAn=Wh;let NAn=class extends IAn{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}};var AAn=NAn;const XX=Wh,gMe=QH,kAn=eot,jAn=AAn,DAn=zd,YX=DAn.TAG_NAMES;let LAn=class extends XX{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,o=this.treeAdapter.getTagName(t),a=n.type===gMe.END_TAG_TOKEN&&o===n.tagName,l={};a?(l.endTag=Object.assign({},i),l.endLine=i.endLine,l.endCol=i.endCol,l.endOffset=i.endOffset):(l.endLine=i.startLine,l.endCol=i.startCol,l.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,l)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const o=XX.install(this.tokenizer,kAn);t.posTracker=o.posTracker,XX.install(this.openElements,jAn,{onItemPop:function(a){t._setEndLocation(a,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===gMe.END_TAG_TOKEN&&(r.tagName===YX.HTML||r.tagName===YX.BODY&&this.openElements.hasInScope(YX.BODY)))for(let o=this.openElements.stackTop;o>=0;o--){const a=this.openElements.items[o];if(this.treeAdapter.getTagName(a)===r.tagName){t._setEndLocation(a,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),o=i.length;for(let a=0;a(Object.keys(i).forEach(o=>{r[o]=i[o]}),r),Object.create(null))},JH={};const{DOCUMENT_MODE:$2}=zd,rot="html",akn="about:legacy-compat",lkn="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",iot=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],skn=iot.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),ckn=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],oot=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ukn=oot.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function vMe(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function yMe(e,t){for(let n=0;n-1)return $2.QUIRKS;let r=t===null?skn:iot;if(yMe(n,r))return $2.QUIRKS;if(r=t===null?oot:ukn,yMe(n,r))return $2.LIMITED_QUIRKS}return $2.NO_QUIRKS};JH.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+vMe(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+vMe(n)),r};var Y0={};const ZX=QH,$ce=zd,Vn=$ce.TAG_NAMES,Ja=$ce.NAMESPACES,lj=$ce.ATTRS,bMe={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},dkn="definitionurl",fkn="definitionURL",pkn={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},hkn={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:Ja.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:Ja.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:Ja.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:Ja.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:Ja.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:Ja.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:Ja.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:Ja.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:Ja.XML},"xml:space":{prefix:"xml",name:"space",namespace:Ja.XML},xmlns:{prefix:"",name:"xmlns",namespace:Ja.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:Ja.XMLNS}},gkn=Y0.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},mkn={[Vn.B]:!0,[Vn.BIG]:!0,[Vn.BLOCKQUOTE]:!0,[Vn.BODY]:!0,[Vn.BR]:!0,[Vn.CENTER]:!0,[Vn.CODE]:!0,[Vn.DD]:!0,[Vn.DIV]:!0,[Vn.DL]:!0,[Vn.DT]:!0,[Vn.EM]:!0,[Vn.EMBED]:!0,[Vn.H1]:!0,[Vn.H2]:!0,[Vn.H3]:!0,[Vn.H4]:!0,[Vn.H5]:!0,[Vn.H6]:!0,[Vn.HEAD]:!0,[Vn.HR]:!0,[Vn.I]:!0,[Vn.IMG]:!0,[Vn.LI]:!0,[Vn.LISTING]:!0,[Vn.MENU]:!0,[Vn.META]:!0,[Vn.NOBR]:!0,[Vn.OL]:!0,[Vn.P]:!0,[Vn.PRE]:!0,[Vn.RUBY]:!0,[Vn.S]:!0,[Vn.SMALL]:!0,[Vn.SPAN]:!0,[Vn.STRONG]:!0,[Vn.STRIKE]:!0,[Vn.SUB]:!0,[Vn.SUP]:!0,[Vn.TABLE]:!0,[Vn.TT]:!0,[Vn.U]:!0,[Vn.UL]:!0,[Vn.VAR]:!0};Y0.causesExit=function(e){const t=e.tagName;return t===Vn.FONT&&(ZX.getTokenAttr(e,lj.COLOR)!==null||ZX.getTokenAttr(e,lj.SIZE)!==null||ZX.getTokenAttr(e,lj.FACE)!==null)?!0:mkn[t]};Y0.adjustTokenMathMLAttrs=function(e){for(let t=0;t0);for(let i=n;i=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),o=Pkn[i];if(o){this.insertionMode=o;break}else if(!n&&(i===de.TD||i===de.TH)){this.insertionMode=rW;break}else if(!n&&i===de.HEAD){this.insertionMode=JC;break}else if(i===de.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===de.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===de.HTML){this.insertionMode=this.headElement?tW:eW;break}else if(n){this.insertionMode=If;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===de.TEMPLATE)break;if(i===de.TABLE){this.insertionMode=Mce;return}}this.insertionMode=Tce}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===de.TABLE||n===de.TBODY||n===de.TFOOT||n===de.THEAD||n===de.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),o=this.treeAdapter.getNamespaceURI(r);if(i===de.TEMPLATE&&o===In.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===de.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return fb.SPECIAL_ELEMENTS[r][n]}}var Rkn=Mkn;function Ikn(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ed(e,t),n}function Nkn(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Akn(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);const l=e.activeFormattingElements.getElementEntry(a),s=l&&o>=$kn;!l||s?(s&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(a)):(a=kkn(e,l),r===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function kkn(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function jkn(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===de.TEMPLATE&&i===In.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Dkn(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function A1(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==de.TEMPLATE&&e._err(il.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(de.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(il.endTagWithoutMatchingOpenElement)}function pE(e,t){e.openElements.pop(),e.insertionMode=tW,e._processToken(t)}function qkn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.BASEFONT||n===de.BGSOUND||n===de.HEAD||n===de.LINK||n===de.META||n===de.NOFRAMES||n===de.STYLE?Da(e,t):n===de.NOSCRIPT?e._err(il.nestedNoscriptInHead):hE(e,t)}function Vkn(e,t){const n=t.tagName;n===de.NOSCRIPT?(e.openElements.pop(),e.insertionMode=JC):n===de.BR?hE(e,t):e._err(il.endTagWithoutMatchingOpenElement)}function hE(e,t){const n=t.type===it.EOF_TOKEN?il.openElementsLeftAfterEof:il.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=JC,e._processToken(t)}function Ukn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.BODY?(e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode=If):n===de.FRAMESET?(e._insertElement(t,In.HTML),e.insertionMode=iW):n===de.BASE||n===de.BASEFONT||n===de.BGSOUND||n===de.LINK||n===de.META||n===de.NOFRAMES||n===de.SCRIPT||n===de.STYLE||n===de.TEMPLATE||n===de.TITLE?(e._err(il.abandonedHeadElementChild),e.openElements.push(e.headElement),Da(e,t),e.openElements.remove(e.headElement)):n===de.HEAD?e._err(il.misplacedStartTagForHeadElement):gE(e,t)}function Gkn(e,t){const n=t.tagName;n===de.BODY||n===de.HTML||n===de.BR?gE(e,t):n===de.TEMPLATE?pb(e,t):e._err(il.endTagWithoutMatchingOpenElement)}function gE(e,t){e._insertFakeElement(de.BODY),e.insertionMode=If,e._processToken(t)}function Jm(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function JA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Kkn(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Xkn(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Ykn(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,In.HTML),e.insertionMode=iW)}function $p(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function Zkn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6)&&e.openElements.pop(),e._insertElement(t,In.HTML)}function OMe(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Qkn(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),n||(e.formElement=e.openElements.current))}function Jkn(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],o=e.treeAdapter.getTagName(i);let a=null;if(n===de.LI&&o===de.LI?a=de.LI:(n===de.DD||n===de.DT)&&(o===de.DD||o===de.DT)&&(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==de.ADDRESS&&o!==de.DIV&&o!==de.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function ejn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.tokenizer.state=it.MODE.PLAINTEXT}function tjn(e,t){e.openElements.hasInScope(de.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(de.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.framesetOk=!1}function njn(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(de.A);n&&(A1(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function P2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function rjn(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(de.NOBR)&&(A1(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,In.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function EMe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function ijn(e,t){e.treeAdapter.getDocumentMode(e.document)!==fb.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode=_l}function D2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,In.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ojn(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,In.HTML);const n=it.getTokenAttr(t,aot.TYPE);(!n||n.toLowerCase()!==lot)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function $Me(e,t){e._appendElement(t,In.HTML),t.ackSelfClosing=!0}function ajn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._appendElement(t,In.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ljn(e,t){t.tagName=de.IMG,D2(e,t)}function sjn(e,t){e._insertElement(t,In.HTML),e.skipNextNewLine=!0,e.tokenizer.state=it.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=nz}function cjn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,it.MODE.RAWTEXT)}function ujn(e,t){e.framesetOk=!1,e._switchToTextParsing(t,it.MODE.RAWTEXT)}function PMe(e,t){e._switchToTextParsing(t,it.MODE.RAWTEXT)}function djn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML),e.framesetOk=!1,e.insertionMode===_l||e.insertionMode===nW||e.insertionMode===fu||e.insertionMode===Eh||e.insertionMode===rW?e.insertionMode=Mce:e.insertionMode=Tce}function TMe(e,t){e.openElements.currentTagName===de.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML)}function MMe(e,t){e.openElements.hasInScope(de.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,In.HTML)}function fjn(e,t){e.openElements.hasInScope(de.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(de.RTC),e._insertElement(t,In.HTML)}function pjn(e,t){e.openElements.hasInButtonScope(de.P)&&e._closePElement(),e._insertElement(t,In.HTML)}function hjn(e,t){e._reconstructActiveFormattingElements(),hf.adjustTokenMathMLAttrs(t),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,In.MATHML):e._insertElement(t,In.MATHML),t.ackSelfClosing=!0}function gjn(e,t){e._reconstructActiveFormattingElements(),hf.adjustTokenSVGAttrs(t),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,In.SVG):e._insertElement(t,In.SVG),t.ackSelfClosing=!0}function Vc(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,In.HTML)}function Fs(e,t){const n=t.tagName;switch(n.length){case 1:n===de.I||n===de.S||n===de.B||n===de.U?P2(e,t):n===de.P?$p(e,t):n===de.A?njn(e,t):Vc(e,t);break;case 2:n===de.DL||n===de.OL||n===de.UL?$p(e,t):n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6?Zkn(e,t):n===de.LI||n===de.DD||n===de.DT?Jkn(e,t):n===de.EM||n===de.TT?P2(e,t):n===de.BR?D2(e,t):n===de.HR?ajn(e,t):n===de.RB?MMe(e,t):n===de.RT||n===de.RP?fjn(e,t):n!==de.TH&&n!==de.TD&&n!==de.TR&&Vc(e,t);break;case 3:n===de.DIV||n===de.DIR||n===de.NAV?$p(e,t):n===de.PRE?OMe(e,t):n===de.BIG?P2(e,t):n===de.IMG||n===de.WBR?D2(e,t):n===de.XMP?cjn(e,t):n===de.SVG?gjn(e,t):n===de.RTC?MMe(e,t):n!==de.COL&&Vc(e,t);break;case 4:n===de.HTML?Kkn(e,t):n===de.BASE||n===de.LINK||n===de.META?Da(e,t):n===de.BODY?Xkn(e,t):n===de.MAIN||n===de.MENU?$p(e,t):n===de.FORM?Qkn(e,t):n===de.CODE||n===de.FONT?P2(e,t):n===de.NOBR?rjn(e,t):n===de.AREA?D2(e,t):n===de.MATH?hjn(e,t):n===de.MENU?pjn(e,t):n!==de.HEAD&&Vc(e,t);break;case 5:n===de.STYLE||n===de.TITLE?Da(e,t):n===de.ASIDE?$p(e,t):n===de.SMALL?P2(e,t):n===de.TABLE?ijn(e,t):n===de.EMBED?D2(e,t):n===de.INPUT?ojn(e,t):n===de.PARAM||n===de.TRACK?$Me(e,t):n===de.IMAGE?ljn(e,t):n!==de.FRAME&&n!==de.TBODY&&n!==de.TFOOT&&n!==de.THEAD&&Vc(e,t);break;case 6:n===de.SCRIPT?Da(e,t):n===de.CENTER||n===de.FIGURE||n===de.FOOTER||n===de.HEADER||n===de.HGROUP||n===de.DIALOG?$p(e,t):n===de.BUTTON?tjn(e,t):n===de.STRIKE||n===de.STRONG?P2(e,t):n===de.APPLET||n===de.OBJECT?EMe(e,t):n===de.KEYGEN?D2(e,t):n===de.SOURCE?$Me(e,t):n===de.IFRAME?ujn(e,t):n===de.SELECT?djn(e,t):n===de.OPTION?TMe(e,t):Vc(e,t);break;case 7:n===de.BGSOUND?Da(e,t):n===de.DETAILS||n===de.ADDRESS||n===de.ARTICLE||n===de.SECTION||n===de.SUMMARY?$p(e,t):n===de.LISTING?OMe(e,t):n===de.MARQUEE?EMe(e,t):n===de.NOEMBED?PMe(e,t):n!==de.CAPTION&&Vc(e,t);break;case 8:n===de.BASEFONT?Da(e,t):n===de.FRAMESET?Ykn(e,t):n===de.FIELDSET?$p(e,t):n===de.TEXTAREA?sjn(e,t):n===de.TEMPLATE?Da(e,t):n===de.NOSCRIPT?e.options.scriptingEnabled?PMe(e,t):Vc(e,t):n===de.OPTGROUP?TMe(e,t):n!==de.COLGROUP&&Vc(e,t);break;case 9:n===de.PLAINTEXT?ejn(e,t):Vc(e,t);break;case 10:n===de.BLOCKQUOTE||n===de.FIGCAPTION?$p(e,t):Vc(e,t);break;default:Vc(e,t)}}function mjn(e){e.openElements.hasInScope(de.BODY)&&(e.insertionMode=Rce)}function vjn(e,t){e.openElements.hasInScope(de.BODY)&&(e.insertionMode=Rce,e._processToken(t))}function y1(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function yjn(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(de.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(de.FORM):e.openElements.remove(n))}function bjn(e){e.openElements.hasInButtonScope(de.P)||e._insertFakeElement(de.P),e._closePElement()}function Cjn(e){e.openElements.hasInListItemScope(de.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(de.LI),e.openElements.popUntilTagNamePopped(de.LI))}function Sjn(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function xjn(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function RMe(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function _jn(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(de.BR),e.openElements.pop(),e.framesetOk=!1}function ed(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function Ice(e,t){const n=t.tagName;switch(n.length){case 1:n===de.A||n===de.B||n===de.I||n===de.S||n===de.U?A1(e,t):n===de.P?bjn(e):ed(e,t);break;case 2:n===de.DL||n===de.UL||n===de.OL?y1(e,t):n===de.LI?Cjn(e):n===de.DD||n===de.DT?Sjn(e,t):n===de.H1||n===de.H2||n===de.H3||n===de.H4||n===de.H5||n===de.H6?xjn(e):n===de.BR?_jn(e):n===de.EM||n===de.TT?A1(e,t):ed(e,t);break;case 3:n===de.BIG?A1(e,t):n===de.DIR||n===de.DIV||n===de.NAV||n===de.PRE?y1(e,t):ed(e,t);break;case 4:n===de.BODY?mjn(e):n===de.HTML?vjn(e,t):n===de.FORM?yjn(e):n===de.CODE||n===de.FONT||n===de.NOBR?A1(e,t):n===de.MAIN||n===de.MENU?y1(e,t):ed(e,t);break;case 5:n===de.ASIDE?y1(e,t):n===de.SMALL?A1(e,t):ed(e,t);break;case 6:n===de.CENTER||n===de.FIGURE||n===de.FOOTER||n===de.HEADER||n===de.HGROUP||n===de.DIALOG?y1(e,t):n===de.APPLET||n===de.OBJECT?RMe(e,t):n===de.STRIKE||n===de.STRONG?A1(e,t):ed(e,t);break;case 7:n===de.ADDRESS||n===de.ARTICLE||n===de.DETAILS||n===de.SECTION||n===de.SUMMARY||n===de.LISTING?y1(e,t):n===de.MARQUEE?RMe(e,t):ed(e,t);break;case 8:n===de.FIELDSET?y1(e,t):n===de.TEMPLATE?pb(e,t):ed(e,t);break;case 10:n===de.BLOCKQUOTE||n===de.FIGCAPTION?y1(e,t):ed(e,t);break;default:ed(e,t)}}function Pp(e,t){e.tmplInsertionModeStackTop>-1?mot(e,t):e.stopped=!0}function wjn(e,t){t.tagName===de.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Ojn(e,t){e._err(il.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Tp(e,t){const n=e.openElements.currentTagName;n===de.TABLE||n===de.TBODY||n===de.TFOOT||n===de.THEAD||n===de.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=uot,e._processToken(t)):Xc(e,t)}function Ejn(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,In.HTML),e.insertionMode=nW}function $jn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,In.HTML),e.insertionMode=eT}function Pjn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(de.COLGROUP),e.insertionMode=eT,e._processToken(t)}function Tjn(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,In.HTML),e.insertionMode=fu}function Mjn(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(de.TBODY),e.insertionMode=fu,e._processToken(t)}function Rjn(e,t){e.openElements.hasInTableScope(de.TABLE)&&(e.openElements.popUntilTagNamePopped(de.TABLE),e._resetInsertionMode(),e._processToken(t))}function Ijn(e,t){const n=it.getTokenAttr(t,aot.TYPE);n&&n.toLowerCase()===lot?e._appendElement(t,In.HTML):Xc(e,t),t.ackSelfClosing=!0}function Njn(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,In.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Nce(e,t){const n=t.tagName;switch(n.length){case 2:n===de.TD||n===de.TH||n===de.TR?Mjn(e,t):Xc(e,t);break;case 3:n===de.COL?Pjn(e,t):Xc(e,t);break;case 4:n===de.FORM?Njn(e,t):Xc(e,t);break;case 5:n===de.TABLE?Rjn(e,t):n===de.STYLE?Da(e,t):n===de.TBODY||n===de.TFOOT||n===de.THEAD?Tjn(e,t):n===de.INPUT?Ijn(e,t):Xc(e,t);break;case 6:n===de.SCRIPT?Da(e,t):Xc(e,t);break;case 7:n===de.CAPTION?Ejn(e,t):Xc(e,t);break;case 8:n===de.COLGROUP?$jn(e,t):n===de.TEMPLATE?Da(e,t):Xc(e,t);break;default:Xc(e,t)}}function Ace(e,t){const n=t.tagName;n===de.TABLE?e.openElements.hasInTableScope(de.TABLE)&&(e.openElements.popUntilTagNamePopped(de.TABLE),e._resetInsertionMode()):n===de.TEMPLATE?pb(e,t):n!==de.BODY&&n!==de.CAPTION&&n!==de.COL&&n!==de.COLGROUP&&n!==de.HTML&&n!==de.TBODY&&n!==de.TD&&n!==de.TFOOT&&n!==de.TH&&n!==de.THEAD&&n!==de.TR&&Xc(e,t)}function Xc(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Ajn(e,t){e.pendingCharacterTokens.push(t)}function kjn(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function q8(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(de.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Yjn(e,t){t.tagName===de.HTML?Fs(e,t):oz(e,t)}function Zjn(e,t){t.tagName===de.HTML?e.fragmentContext||(e.insertionMode=fot):oz(e,t)}function oz(e,t){e.insertionMode=If,e._processToken(t)}function Qjn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.FRAMESET?e._insertElement(t,In.HTML):n===de.FRAME?(e._appendElement(t,In.HTML),t.ackSelfClosing=!0):n===de.NOFRAMES&&Da(e,t)}function Jjn(e,t){t.tagName===de.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==de.FRAMESET&&(e.insertionMode=dot))}function eDn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.NOFRAMES&&Da(e,t)}function tDn(e,t){t.tagName===de.HTML&&(e.insertionMode=pot)}function nDn(e,t){t.tagName===de.HTML?Fs(e,t):sj(e,t)}function sj(e,t){e.insertionMode=If,e._processToken(t)}function rDn(e,t){const n=t.tagName;n===de.HTML?Fs(e,t):n===de.NOFRAMES&&Da(e,t)}function iDn(e,t){t.chars=wkn.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function oDn(e,t){e._insertCharacters(t),e.framesetOk=!1}function aDn(e,t){if(hf.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==In.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===In.MATHML?hf.adjustTokenMathMLAttrs(t):r===In.SVG&&(hf.adjustTokenSVGTagName(t),hf.adjustTokenSVGAttrs(t)),hf.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function lDn(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===In.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const sDn=so(Rkn),tT=vot("start"),oW=vot("end");function cDn(e){return{start:tT(e),end:oW(e)}}function vot(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}class nT{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}nT.prototype.property={};nT.prototype.normal={};nT.prototype.space=null;function yot(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&hDn.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(NMe,vDn);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!NMe.test(o)){let a=o.replace(gDn,mDn);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=kce}return new i(r,t)}function mDn(e){return"-"+e.toLowerCase()}function vDn(e){return e.charAt(1).toUpperCase()}const rT=yot([Sot,Cot,wot,Oot,fDn],"html"),gb=yot([Sot,Cot,wot,Oot,pDn],"svg"),AMe=/[#.]/g;function yDn(e,t){const n=e||"",r={};let i=0,o,a;for(;i-1&&aa)return{line:l+1,column:a-(l>0?n[l-1]:0)+1,offset:a}}return{line:void 0,column:void 0,offset:void 0}}function o(a){const l=a&&a.line,s=a&&a.column;if(typeof l=="number"&&typeof s=="number"&&!Number.isNaN(l)&&!Number.isNaN(s)&&l-1 in n){const u=(n[l-2]||0)+s-1||0;if(u>-1&&u{const P=w;if(P.value.stitch&&$!==null&&O!==null)return $.children[O]=P.value.stitch,O}),e.type!=="root"&&f.type==="root"&&f.children.length===1)return f.children[0];return f;function h(){const w={nodeName:"template",tagName:"template",attrs:[],namespaceURI:s$.html,childNodes:[]},O={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:s$.html,childNodes:[]},$={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(O,w),i._pushTmplInsertionMode(HDn),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),l=i.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,c=l.__mixins[0],u=c.posTracker,o(e),S(),i._adoptNodes(O.childNodes[0],$),$}function d(){const w=i.treeAdapter.createDocument();if(i._bootstrap(w,void 0),l=i.tokenizer,!l)throw new Error("Expected `tokenizer`");return s=l.preprocessor,c=l.__mixins[0],u=c.posTracker,o(e),S(),w}function p(w){let O=-1;if(w)for(;++ONot(t,n,e)}function rLn(e=_ce){return t=>oAn(t,e)}function iLn(e,t){if(e=e.replace(t.subset?oLn(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(i,o,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(o+2),t)}function r(i,o,a){return t.format(i.charCodeAt(0),a.charCodeAt(o+1),t)}}function oLn(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},cLn=["cent","copy","divide","gt","lt","not","para","times"],Aot={}.hasOwnProperty,yte={};let ek;for(ek in JX)Aot.call(JX,ek)&&(yte[JX[ek]]=ek);function uLn(e,t,n,r){const i=String.fromCharCode(e);if(Aot.call(yte,i)){const o=yte[i],a="&"+o;return n&&sLn.includes(o)&&!cLn.includes(o)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?a:a+";"}return""}function dLn(e,t,n){let r=aLn(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=uLn(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const o=lLn(e,t,n.omitOptionalSemicolons);o.length"]}))+">":"|--!>|";function i(o){return U3(o,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function pLn(e,t,n,r){return""}function zce(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}const da=jot(1),kot=jot(-1);function jot(e){return t;function t(n,r,i){const o=n?n.children:[];let a=(r||0)+e,l=o&&o[a];if(!i)for(;l&&zce(l);)a+=e,l=o[a];return l}}const hLn={}.hasOwnProperty;function Dot(e){return t;function t(n,r,i){return hLn.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const Bce=Dot({html:gLn,head:eY,body:mLn,p:vLn,li:yLn,dt:bLn,dd:CLn,rt:BMe,rp:BMe,optgroup:SLn,option:xLn,menuitem:_Ln,colgroup:eY,caption:eY,thead:wLn,tbody:OLn,tfoot:ELn,tr:$Ln,td:FMe,th:FMe});function eY(e,t,n){const r=da(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&zce(r.value.charAt(0)))}function gLn(e,t,n){const r=da(n,t);return!r||r.type!=="comment"}function mLn(e,t,n){const r=da(n,t);return!r||r.type!=="comment"}function vLn(e,t,n){const r=da(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function yLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="li"}function bLn(e,t,n){const r=da(n,t);return r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function CLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function BMe(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function SLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function xLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function _Ln(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="menuitem"||r.tagName==="hr"||r.tagName==="menu")}function wLn(e,t,n){const r=da(n,t);return r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function OLn(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function ELn(e,t,n){return!da(n,t)}function $Ln(e,t,n){const r=da(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function FMe(e,t,n){const r=da(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const PLn=Dot({html:TLn,head:MLn,body:RLn,colgroup:ILn,tbody:NLn});function TLn(e){const t=da(e,-1);return!t||t.type!=="comment"}function MLn(e){const t=e.children,n=[];let r=-1;for(;++r0}function RLn(e){const t=da(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&zce(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function ILn(e,t,n){const r=kot(n,t),i=da(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Bce(r,n.children.indexOf(r),n)?!1:i&&i.type==="element"&&i.tagName==="col"}function NLn(e,t,n){const r=kot(n,t),i=da(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Bce(r,n.children.indexOf(r),n)?!1:i&&i.type==="element"&&i.tagName==="tr"}const tk={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 @@ -1134,31 +1134,31 @@ b`.split(/\n/).length!=3?function(E){for(var I=0,H=[],F=E.length;I<=F;){var q=E. \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function jLn(e,t,n,r){const i=r.schema,o=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let s;i.space==="html"&&e.tagName==="svg"&&(r.schema=gb);const u=DLn(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(a=!1),(u||!o||!MLn(e,t,n))&&(l.push("<",e.tagName,u?" "+u:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(s=u.charAt(u.length-1),(!r.settings.tightSelfClosing||s==="/"||s&&s!=='"'&&s!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(c),!a&&(!o||!zce(e,t,n))&&l.push(""),l.join("")}function DLn(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==void 0&&t[i]!==null){const o=LLn(e,i,t[i]);o&&n.push(o)}}for(;++rZL(n,e.alternative)&&(a=e.alternative),l=a+U3(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?ek.single:ek.double)[i][o],attribute:!0}))+a),s+(l&&"="+l))}function Lot(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:U3(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function zLn(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Lot(e,t,n,r)}function BLn(e,t,n,r){return r.all(e)}const FLn=jce("type",{invalid:HLn,unknown:WLn,handlers:{comment:hLn,doctype:gLn,element:jLn,raw:zLn,root:BLn,text:Lot}});function HLn(e){throw new Error("Expected node, not `"+e+"`")}function WLn(e){throw new Error("Cannot compile unknown node `"+e.type+"`")}function qLn(e,t){const n=t||{},r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:VLn,all:ULn,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Iot,characterReferences:n.characterReferences||n.entities||{},closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?gb:nT,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function VLn(e,t,n){return FLn(e,t,n,this)}function ULn(e){const t=[],n=e&&e.children||[];let r=-1;for(;++ra))return;const w=t.events.length;let O=w,$,P;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if($){P=t.events[O][1].end;break}$=!0}for(v(r),S=w;Sb;){const x=n[C];t.containerState=x[1],x[0].exit.call(t,e)}n.length=b}function y(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function tzn(e,t,n){return Wr(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const nzn={tokenize:rzn};function rzn(e){const t=this,n=e.attempt(ZP,r,e.attempt(this.parser.constructs.flowInitial,i,Wr(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ZPn,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const izn={resolveAll:Fot()},ozn=Bot("string"),azn=Bot("text");function Bot(e){return{tokenize:t,resolveAll:Fot(e==="text"?lzn:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,l);return a;function a(c){return u(c)?o(c):l(c)}function l(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),s}function s(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),s)}function u(c){if(c===null)return!0;const f=i[c];let h=-1;if(f)for(;++h-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function uzn(e,t){let n=-1;const r=[];let i;for(;++n\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function ALn(e,t,n,r){const i=r.schema,o=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let s;i.space==="html"&&e.tagName==="svg"&&(r.schema=gb);const u=kLn(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(a=!1),(u||!o||!PLn(e,t,n))&&(l.push("<",e.tagName,u?" "+u:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(s=u.charAt(u.length-1),(!r.settings.tightSelfClosing||s==="/"||s&&s!=='"'&&s!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(c),!a&&(!o||!Bce(e,t,n))&&l.push(""),l.join("")}function kLn(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==void 0&&t[i]!==null){const o=jLn(e,i,t[i]);o&&n.push(o)}}for(;++rQL(n,e.alternative)&&(a=e.alternative),l=a+U3(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?tk.single:tk.double)[i][o],attribute:!0}))+a),s+(l&&"="+l))}function Lot(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:U3(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function DLn(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Lot(e,t,n,r)}function LLn(e,t,n,r){return r.all(e)}const zLn=Dce("type",{invalid:BLn,unknown:FLn,handlers:{comment:fLn,doctype:pLn,element:ALn,raw:DLn,root:LLn,text:Lot}});function BLn(e){throw new Error("Expected node, not `"+e+"`")}function FLn(e){throw new Error("Cannot compile unknown node `"+e.type+"`")}function HLn(e,t){const n=t||{},r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:WLn,all:qLn,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Iot,characterReferences:n.characterReferences||n.entities||{},closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?gb:rT,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function WLn(e,t,n){return zLn(e,t,n,this)}function qLn(e){const t=[],n=e&&e.children||[];let r=-1;for(;++ra))return;const w=t.events.length;let O=w,$,P;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if($){P=t.events[O][1].end;break}$=!0}for(v(r),S=w;Sb;){const x=n[C];t.containerState=x[1],x[0].exit.call(t,e)}n.length=b}function y(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function JLn(e,t,n){return Wr(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const ezn={tokenize:tzn};function tzn(e){const t=this,n=e.attempt(QP,r,e.attempt(this.parser.constructs.flowInitial,i,Wr(e,e.attempt(this.parser.constructs.flow,i,e.attempt(XPn,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const nzn={resolveAll:Fot()},rzn=Bot("string"),izn=Bot("text");function Bot(e){return{tokenize:t,resolveAll:Fot(e==="text"?ozn:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,l);return a;function a(c){return u(c)?o(c):l(c)}function l(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),s}function s(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),s)}function u(c){if(c===null)return!0;const f=i[c];let h=-1;if(f)for(;++h-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function szn(e,t){let n=-1;const r=[];let i;for(;++n0){const Be=Ne.tokenStack[Ne.tokenStack.length-1];(Be[1]||UMe).call(Ne,void 0,Be[0])}for(Te.position={start:b1(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:b1(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He{const r=this.data("settings");return wzn(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Pzn(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Tzn(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` -`}]}function Mzn(e,t){const n=t.value?t.value+` -`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function Rzn(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Izn(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qot(e,t){const n=String(t.identifier).toUpperCase(),r=QC(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function Nzn(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},qot(e,{type:"footnoteReference",identifier:i,position:t.position})}function Azn(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kzn(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Vot(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function jzn(e,t){const n=e.definition(t.identifier);if(!n)return Vot(e,t);const r={src:QC(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function Dzn(e,t){const n={src:QC(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Lzn(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function zzn(e,t){const n=e.definition(t.identifier);if(!n)return Vot(e,t);const r={href:QC(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Bzn(e,t){const n={href:QC(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Fzn(e,t,n){const r=e.all(t),i=n?Hzn(n):Uot(t),o={},a=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){const Be=Ne.tokenStack[Ne.tokenStack.length-1];(Be[1]||GMe).call(Ne,void 0,Be[0])}for(Te.position={start:b1(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:b1(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He{const r=this.data("settings");return xzn(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Ezn(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function $zn(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function Pzn(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function Tzn(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mzn(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qot(e,t){const n=String(t.identifier).toUpperCase(),r=QC(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const s={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,s),e.applyData(t,s)}function Rzn(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},qot(e,{type:"footnoteReference",identifier:i,position:t.position})}function Izn(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Nzn(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Vot(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function Azn(e,t){const n=e.definition(t.identifier);if(!n)return Vot(e,t);const r={src:QC(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function kzn(e,t){const n={src:QC(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function jzn(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Dzn(e,t){const n=e.definition(t.identifier);if(!n)return Vot(e,t);const r={href:QC(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Lzn(e,t){const n={href:QC(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zzn(e,t,n){const r=e.all(t),i=n?Bzn(n):Uot(t),o={},a=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l1}function Wzn(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=eT(t.children[1]),s=iW(t.children[t.children.length-1]);l.line&&s.line&&(a.position={start:l,end:s}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Kzn(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let s=-1;const u=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(XMe(t.slice(i),i>0,!1)),o.join("")}function XMe(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===GMe||o===KMe;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===GMe||o===KMe;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Zzn(e,t){const n={type:"text",value:Yzn(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Qzn(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Jzn={blockquote:Pzn,break:Tzn,code:Mzn,delete:Rzn,emphasis:Izn,footnoteReference:qot,footnote:Nzn,heading:Azn,html:kzn,imageReference:jzn,image:Dzn,inlineCode:Lzn,linkReference:zzn,link:Bzn,listItem:Fzn,list:Wzn,paragraph:qzn,root:Vzn,strong:Uzn,table:Gzn,tableCell:Xzn,tableRow:Kzn,text:Zzn,thematicBreak:Qzn,toml:tk,yaml:tk,definition:tk,footnoteDefinition:tk};function tk(){return null}function eBn(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const YMe={}.hasOwnProperty;function tBn(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return QP(e,"definition",r=>{const i=ZMe(r.identifier);i&&!YMe.call(t,i)&&(t[i]=r)}),n;function n(r){const i=ZMe(r);return i&&YMe.call(t,i)?t[i]:null}}function ZMe(e){return String(e||"").toUpperCase()}const oz={}.hasOwnProperty;function nBn(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...Jzn,...n.handlers},a.definition=tBn(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=rBn,a.applyData=iBn,a.one=l,a.all=s,a.wrap=aBn,a.augment=o,QP(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();oz.call(i,c)||(i[c]=u)}),a;function o(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};eBn(f)||(c.position={start:eT(f),end:iW(f)})}return c}function a(u,c,f,h){return Array.isArray(f)&&(h=f,f={}),o(u,{type:"element",tagName:c,properties:f||{},children:h||[]})}function l(u,c){return Got(a,u,c)}function s(u){return Bce(a,u)}}function rBn(e,t){e.position&&(t.position=dDn(e))}function iBn(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Got(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return oz.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Bce(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):oBn(e,t)}function Bce(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i1}function Fzn(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=tT(t.children[1]),s=oW(t.children[t.children.length-1]);l.line&&s.line&&(a.position={start:l,end:s}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Uzn(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let s=-1;const u=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(YMe(t.slice(i),i>0,!1)),o.join("")}function YMe(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===KMe||o===XMe;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===KMe||o===XMe;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Xzn(e,t){const n={type:"text",value:Kzn(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Yzn(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Zzn={blockquote:Ezn,break:$zn,code:Pzn,delete:Tzn,emphasis:Mzn,footnoteReference:qot,footnote:Rzn,heading:Izn,html:Nzn,imageReference:Azn,image:kzn,inlineCode:jzn,linkReference:Dzn,link:Lzn,listItem:zzn,list:Fzn,paragraph:Hzn,root:Wzn,strong:qzn,table:Vzn,tableCell:Gzn,tableRow:Uzn,text:Xzn,thematicBreak:Yzn,toml:nk,yaml:nk,definition:nk,footnoteDefinition:nk};function nk(){return null}function Qzn(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const ZMe={}.hasOwnProperty;function Jzn(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return JP(e,"definition",r=>{const i=QMe(r.identifier);i&&!ZMe.call(t,i)&&(t[i]=r)}),n;function n(r){const i=QMe(r);return i&&ZMe.call(t,i)?t[i]:null}}function QMe(e){return String(e||"").toUpperCase()}const az={}.hasOwnProperty;function eBn(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...Zzn,...n.handlers},a.definition=Jzn(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=tBn,a.applyData=nBn,a.one=l,a.all=s,a.wrap=iBn,a.augment=o,JP(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();az.call(i,c)||(i[c]=u)}),a;function o(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};Qzn(f)||(c.position={start:tT(f),end:oW(f)})}return c}function a(u,c,f,h){return Array.isArray(f)&&(h=f,f={}),o(u,{type:"element",tagName:c,properties:f||{},children:h||[]})}function l(u,c){return Got(a,u,c)}function s(u){return Fce(a,u)}}function tBn(e,t){e.position&&(t.position=cDn(e))}function nBn(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Got(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return az.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Fce(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):rBn(e,t)}function Fce(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function lBn(e){const t=[];let n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`}),n}function oBn(e){const t=[];let n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...s)}else i.push(...s);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` -`}]}}function Kot(e,t){const n=nBn(e,t),r=n.one(e,null),i=lBn(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const sBn=function(e,t){return e&&"run"in e?uBn(e,t):dBn(e||t)},cBn=sBn;function uBn(e,t){return(n,r,i)=>{e.run(Kot(n,t),r,o=>{i(o)})}}function dBn(e){return t=>Kot(t,e)}function QMe(e){if(e)throw e}/*! +`}]}}function Kot(e,t){const n=eBn(e,t),r=n.one(e,null),i=oBn(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const aBn=function(e,t){return e&&"run"in e?sBn(e,t):cBn(e||t)},lBn=aBn;function sBn(e,t){return(n,r,i)=>{e.run(Kot(n,t),r,o=>{i(o)})}}function cBn(e){return t=>Kot(t,e)}function JMe(e){if(e)throw e}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var fBn=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const Xot=bo(fBn);var cj=Object.prototype.hasOwnProperty,Yot=Object.prototype.toString,JMe=Object.defineProperty,eRe=Object.getOwnPropertyDescriptor,tRe=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Yot.call(t)==="[object Array]"},nRe=function(t){if(!t||Yot.call(t)!=="[object Object]")return!1;var n=cj.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&cj.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||cj.call(t,i)},rRe=function(t,n){JMe&&n.name==="__proto__"?JMe(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},iRe=function(t,n){if(n==="__proto__")if(cj.call(t,n)){if(eRe)return eRe(t,n).value}else return;return t[n]},pBn=function e(){var t,n,r,i,o,a,l=arguments[0],s=1,u=arguments.length,c=!1;for(typeof l=="boolean"&&(c=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});sa.length;let s;l&&a.push(i);try{s=e.apply(this,a)}catch(u){const c=u;if(l&&n)throw c;return i(c)}l||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(a,...l){n||(n=!0,t(a,...l))}function o(a){i(null,a)}}class Mu extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=gE(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Mu.prototype.file="";Mu.prototype.name="";Mu.prototype.reason="";Mu.prototype.message="";Mu.prototype.stack="";Mu.prototype.fatal=null;Mu.prototype.column=null;Mu.prototype.line=null;Mu.prototype.source=null;Mu.prototype.ruleId=null;Mu.prototype.position=null;const rf={basename:mBn,dirname:vBn,extname:yBn,join:bBn,sep:"/"};function mBn(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');rT(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(r=i):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function vBn(e){if(rT(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function yBn(e){rT(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const l=e.charCodeAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function bBn(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function SBn(e,t){let n="",r=0,i=-1,o=0,a=-1,l,s;for(;++a<=e.length;){if(a2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else l===46&&o>-1?o++:o=-1}return n}function rT(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const xBn={cwd:_Bn};function _Bn(){return"/"}function Cte(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function wBn(e){if(typeof e=="string")e=new URL(e);else if(!Cte(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return OBn(e)}function OBn(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n{if(S||!w||!O)x(S);else{const $=o.stringify(w,O);$==null||(RBn($)?O.value=$:O.result=$),x(S,O)}});function x(S,w){S||!w?b(S):y?y(w):m(null,w)}}}function p(g){let m;o.freeze(),rY("processSync",o.Parser),iY("processSync",o.Compiler);const v=q8(g);return o.process(v,y),cRe("processSync","process",m),v;function y(b){m=!0,QMe(b)}}}function lRe(e,t){return typeof e=="function"&&e.prototype&&(TBn(e.prototype)||t in e.prototype)}function TBn(e){let t;for(t in e)if(Zot.call(e,t))return!0;return!1}function rY(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function iY(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function oY(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function sRe(e){if(!bte(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function cRe(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function q8(e){return MBn(e)?e:new EBn(e)}function MBn(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function RBn(e){return typeof e=="string"||Xot(e)}function Tc(){}function Jot(e){return e()}function uRe(){return Object.create(null)}function Xf(e){e.forEach(Jot)}function eat(e){return typeof e=="function"}function tat(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function aW(e,t){return e!=e?t==t:e!==t}function IBn(e){return Object.keys(e).length===0}function nr(e,t){e.appendChild(t)}function ca(e,t,n){e.insertBefore(t,n||null)}function Uo(e){e.parentNode&&e.parentNode.removeChild(e)}function s$(e,t){for(let n=0;ne.removeEventListener(t,n,r)}function nC(e){return function(t){t.target===this&&e.call(this,t)}}function Rr(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function NBn(e){return Array.from(e.childNodes)}function el(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function na(e,t,n){e.classList[n?"add":"remove"](t)}function ABn(e,t,{bubbles:n=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,r,t),i}let c$;function mE(e){c$=e}function lW(){if(!c$)throw new Error("Function called outside component initialization");return c$}function Fce(e){lW().$$.on_mount.push(e)}function kBn(e){lW().$$.after_update.push(e)}function nat(e){lW().$$.on_destroy.push(e)}function oT(){const e=lW();return(t,n,{cancelable:r=!1}={})=>{const i=e.$$.callbacks[t];if(i){const o=ABn(t,n,{cancelable:r});return i.slice().forEach(a=>{a.call(e,o)}),!o.defaultPrevented}return!0}}const L2=[],Xv=[];let G3=[];const dRe=[],rat=Promise.resolve();let Ste=!1;function iat(){Ste||(Ste=!0,rat.then(oat))}function uj(){return iat(),rat}function xte(e){G3.push(e)}const aY=new Set;let T2=0;function oat(){if(T2!==0)return;const e=c$;do{try{for(;T2e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),G3=t}const dj=new Set;let Iv;function LBn(){Iv={r:0,c:[],p:Iv}}function zBn(){Iv.r||Xf(Iv.c),Iv=Iv.p}function jp(e,t){e&&e.i&&(dj.delete(e),e.i(t))}function sv(e,t,n,r){if(e&&e.o){if(dj.has(e))return;dj.add(e),Iv.c.push(()=>{dj.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function C9(e){e&&e.c()}function y3(e,t,n,r){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),r||xte(()=>{const a=e.$$.on_mount.map(Jot).filter(eat);e.$$.on_destroy?e.$$.on_destroy.push(...a):Xf(a),e.$$.on_mount=[]}),o.forEach(xte)}function b3(e,t){const n=e.$$;n.fragment!==null&&(DBn(n.after_update),Xf(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function BBn(e,t){e.$$.dirty[0]===-1&&(L2.push(e),iat(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const p=d.length?d[0]:h;return u.ctx&&i(u.ctx[f],u.ctx[f]=p)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](p),c&&BBn(e,f)),h}):[],u.update(),c=!0,Xf(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const f=NBn(t.target);u.fragment&&u.fragment.l(f),f.forEach(Uo)}else u.fragment&&u.fragment.c();t.intro&&jp(e.$$.fragment),y3(e,t.target,t.anchor,t.customElement),oat()}mE(s)}class r6{$destroy(){b3(this,1),this.$destroy=Tc}$on(t,n){if(!eat(n))return Tc;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!IBn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const FBn="Bold",HBn="bold text",WBn="Markdown Cheatsheet",qBn="Close help",VBn="Close table of contents",UBn="Code",GBn="Code block",KBn="lang",XBn="code",YBn="Exit fullscreen",ZBn="Exit preview only",QBn="Exit write only",JBn="Fullscreen",eFn="Heading 1",tFn="Heading 2",nFn="Heading 3",rFn="Heading 4",iFn="Heading 5",oFn="Heading 6",aFn="heading",lFn="Help",sFn="Horizontal rule",cFn="Image",uFn="alt",dFn="title",fFn="Italic",pFn="italic text",hFn="The maximum character limit has been reached",gFn="Lines",mFn="Link",vFn="link text",yFn="Ordered list",bFn="item",CFn="Preview",SFn="Preview only",xFn="Quote",_Fn="quoted text",wFn="Shortcuts",OFn="Source code",EFn="Scroll sync",$Fn="Table of contents",PFn="Scroll to top",TFn="Unordered list",MFn="item",RFn="Words",IFn="Write",NFn="Write only",AFn={bold:FBn,boldText:HBn,cheatsheet:WBn,closeHelp:qBn,closeToc:VBn,code:UBn,codeBlock:GBn,codeLang:KBn,codeText:XBn,exitFullscreen:YBn,exitPreviewOnly:ZBn,exitWriteOnly:QBn,fullscreen:JBn,h1:eFn,h2:tFn,h3:nFn,h4:rFn,h5:iFn,h6:oFn,headingText:aFn,help:lFn,hr:sFn,image:cFn,imageAlt:uFn,imageTitle:dFn,italic:fFn,italicText:pFn,limited:hFn,lines:gFn,link:mFn,linkText:vFn,ol:yFn,olItem:bFn,preview:CFn,previewOnly:SFn,quote:xFn,quotedText:_Fn,shortcuts:wFn,source:OFn,sync:EFn,toc:$Fn,top:PFn,ul:TFn,ulItem:MFn,words:RFn,write:IFn,writeOnly:NFn},Gi={Close:'',H:'',H1:'',H2:'',H3:'',LevelFourTitle:'',LevelFiveTitle:'',LevelSixTitle:'',TextBold:'',TextItalic:'',Quote:'',LinkOne:'',Pic:'',Code:'',CodeBrackets:'',ListTwo:'',OrderedList:'',DividingLine:'',AlignTextLeftOne:'',Helpcenter:'',LeftExpand:'',RightExpand:'',OffScreen:'',FullScreen:'',GithubOne:''};function kFn(){const e=KNn();return XNn(e),ZNn(e),eAn(e),JNn(e),QNn(e),nAn(e),tAn(e),YNn(e),e}function jFn(e,t){return{wrapText(n,r=n){const i=t.somethingSelected()?t.listSelections()[0]:t.findWordAt(t.getCursor()),o=i.from(),a=i.to(),l=t.getRange(o,a),s=e.Pos(o.line,o.ch-n.length),u=e.Pos(a.line,a.ch+r.length);if(t.getRange(s,o)===n&&t.getRange(a,u)===r)t.replaceRange(l,s,u),t.setSelection(s,e.Pos(s.line,s.ch+l.length));else{t.replaceRange(n+l+r,o,a);const c=t.getCursor();t.setSelection(e.Pos(c.line,c.ch-r.length-l.length),e.Pos(c.line,c.ch-r.length))}},replaceLines(n){const[r]=t.listSelections(),i=[e.Pos(r.from().line,0),e.Pos(r.to().line)],o=t.getRange(...i).split(` + */var uBn=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const Xot=so(uBn);var uj=Object.prototype.hasOwnProperty,Yot=Object.prototype.toString,eRe=Object.defineProperty,tRe=Object.getOwnPropertyDescriptor,nRe=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Yot.call(t)==="[object Array]"},rRe=function(t){if(!t||Yot.call(t)!=="[object Object]")return!1;var n=uj.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&uj.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||uj.call(t,i)},iRe=function(t,n){eRe&&n.name==="__proto__"?eRe(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},oRe=function(t,n){if(n==="__proto__")if(uj.call(t,n)){if(tRe)return tRe(t,n).value}else return;return t[n]},dBn=function e(){var t,n,r,i,o,a,l=arguments[0],s=1,u=arguments.length,c=!1;for(typeof l=="boolean"&&(c=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});sa.length;let s;l&&a.push(i);try{s=e.apply(this,a)}catch(u){const c=u;if(l&&n)throw c;return i(c)}l||(s instanceof Promise?s.then(o,i):s instanceof Error?i(s):o(s))}function i(a,...l){n||(n=!0,t(a,...l))}function o(a){i(null,a)}}class Mu extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=mE(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Mu.prototype.file="";Mu.prototype.name="";Mu.prototype.reason="";Mu.prototype.message="";Mu.prototype.stack="";Mu.prototype.fatal=null;Mu.prototype.column=null;Mu.prototype.line=null;Mu.prototype.source=null;Mu.prototype.ruleId=null;Mu.prototype.position=null;const rf={basename:hBn,dirname:gBn,extname:mBn,join:vBn,sep:"/"};function hBn(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');iT(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(r=i):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function gBn(e){if(iT(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function mBn(e){iT(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const l=e.charCodeAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function vBn(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function bBn(e,t){let n="",r=0,i=-1,o=0,a=-1,l,s;for(;++a<=e.length;){if(a2){if(s=n.lastIndexOf("/"),s!==n.length-1){s<0?(n="",r=0):(n=n.slice(0,s),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else l===46&&o>-1?o++:o=-1}return n}function iT(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const CBn={cwd:SBn};function SBn(){return"/"}function Ste(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function xBn(e){if(typeof e=="string")e=new URL(e);else if(!Ste(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return _Bn(e)}function _Bn(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n{if(S||!w||!O)x(S);else{const $=o.stringify(w,O);$==null||(TBn($)?O.value=$:O.result=$),x(S,O)}});function x(S,w){S||!w?b(S):y?y(w):m(null,w)}}}function p(g){let m;o.freeze(),iY("processSync",o.Parser),oY("processSync",o.Compiler);const v=V8(g);return o.process(v,y),uRe("processSync","process",m),v;function y(b){m=!0,JMe(b)}}}function sRe(e,t){return typeof e=="function"&&e.prototype&&($Bn(e.prototype)||t in e.prototype)}function $Bn(e){let t;for(t in e)if(Zot.call(e,t))return!0;return!1}function iY(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function oY(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function aY(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function cRe(e){if(!Cte(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function uRe(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function V8(e){return PBn(e)?e:new wBn(e)}function PBn(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function TBn(e){return typeof e=="string"||Xot(e)}function Tc(){}function Jot(e){return e()}function dRe(){return Object.create(null)}function Xf(e){e.forEach(Jot)}function eat(e){return typeof e=="function"}function tat(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function lW(e,t){return e!=e?t==t:e!==t}function MBn(e){return Object.keys(e).length===0}function nr(e,t){e.appendChild(t)}function ca(e,t,n){e.insertBefore(t,n||null)}function Uo(e){e.parentNode&&e.parentNode.removeChild(e)}function c$(e,t){for(let n=0;ne.removeEventListener(t,n,r)}function nC(e){return function(t){t.target===this&&e.call(this,t)}}function Rr(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function RBn(e){return Array.from(e.childNodes)}function el(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function na(e,t,n){e.classList[n?"add":"remove"](t)}function IBn(e,t,{bubbles:n=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,r,t),i}let u$;function vE(e){u$=e}function sW(){if(!u$)throw new Error("Function called outside component initialization");return u$}function Hce(e){sW().$$.on_mount.push(e)}function NBn(e){sW().$$.after_update.push(e)}function nat(e){sW().$$.on_destroy.push(e)}function aT(){const e=sW();return(t,n,{cancelable:r=!1}={})=>{const i=e.$$.callbacks[t];if(i){const o=IBn(t,n,{cancelable:r});return i.slice().forEach(a=>{a.call(e,o)}),!o.defaultPrevented}return!0}}const L2=[],Xv=[];let G3=[];const fRe=[],rat=Promise.resolve();let xte=!1;function iat(){xte||(xte=!0,rat.then(oat))}function dj(){return iat(),rat}function _te(e){G3.push(e)}const lY=new Set;let T2=0;function oat(){if(T2!==0)return;const e=u$;do{try{for(;T2e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),G3=t}const fj=new Set;let Iv;function jBn(){Iv={r:0,c:[],p:Iv}}function DBn(){Iv.r||Xf(Iv.c),Iv=Iv.p}function jp(e,t){e&&e.i&&(fj.delete(e),e.i(t))}function sv(e,t,n,r){if(e&&e.o){if(fj.has(e))return;fj.add(e),Iv.c.push(()=>{fj.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function S9(e){e&&e.c()}function y3(e,t,n,r){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),r||_te(()=>{const a=e.$$.on_mount.map(Jot).filter(eat);e.$$.on_destroy?e.$$.on_destroy.push(...a):Xf(a),e.$$.on_mount=[]}),o.forEach(_te)}function b3(e,t){const n=e.$$;n.fragment!==null&&(kBn(n.after_update),Xf(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function LBn(e,t){e.$$.dirty[0]===-1&&(L2.push(e),iat(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const p=d.length?d[0]:h;return u.ctx&&i(u.ctx[f],u.ctx[f]=p)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](p),c&&LBn(e,f)),h}):[],u.update(),c=!0,Xf(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const f=RBn(t.target);u.fragment&&u.fragment.l(f),f.forEach(Uo)}else u.fragment&&u.fragment.c();t.intro&&jp(e.$$.fragment),y3(e,t.target,t.anchor,t.customElement),oat()}vE(s)}class r6{$destroy(){b3(this,1),this.$destroy=Tc}$on(t,n){if(!eat(n))return Tc;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!MBn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const zBn="Bold",BBn="bold text",FBn="Markdown Cheatsheet",HBn="Close help",WBn="Close table of contents",qBn="Code",VBn="Code block",UBn="lang",GBn="code",KBn="Exit fullscreen",XBn="Exit preview only",YBn="Exit write only",ZBn="Fullscreen",QBn="Heading 1",JBn="Heading 2",eFn="Heading 3",tFn="Heading 4",nFn="Heading 5",rFn="Heading 6",iFn="heading",oFn="Help",aFn="Horizontal rule",lFn="Image",sFn="alt",cFn="title",uFn="Italic",dFn="italic text",fFn="The maximum character limit has been reached",pFn="Lines",hFn="Link",gFn="link text",mFn="Ordered list",vFn="item",yFn="Preview",bFn="Preview only",CFn="Quote",SFn="quoted text",xFn="Shortcuts",_Fn="Source code",wFn="Scroll sync",OFn="Table of contents",EFn="Scroll to top",$Fn="Unordered list",PFn="item",TFn="Words",MFn="Write",RFn="Write only",IFn={bold:zBn,boldText:BBn,cheatsheet:FBn,closeHelp:HBn,closeToc:WBn,code:qBn,codeBlock:VBn,codeLang:UBn,codeText:GBn,exitFullscreen:KBn,exitPreviewOnly:XBn,exitWriteOnly:YBn,fullscreen:ZBn,h1:QBn,h2:JBn,h3:eFn,h4:tFn,h5:nFn,h6:rFn,headingText:iFn,help:oFn,hr:aFn,image:lFn,imageAlt:sFn,imageTitle:cFn,italic:uFn,italicText:dFn,limited:fFn,lines:pFn,link:hFn,linkText:gFn,ol:mFn,olItem:vFn,preview:yFn,previewOnly:bFn,quote:CFn,quotedText:SFn,shortcuts:xFn,source:_Fn,sync:wFn,toc:OFn,top:EFn,ul:$Fn,ulItem:PFn,words:TFn,write:MFn,writeOnly:RFn},Gi={Close:'',H:'',H1:'',H2:'',H3:'',LevelFourTitle:'',LevelFiveTitle:'',LevelSixTitle:'',TextBold:'',TextItalic:'',Quote:'',LinkOne:'',Pic:'',Code:'',CodeBrackets:'',ListTwo:'',OrderedList:'',DividingLine:'',AlignTextLeftOne:'',Helpcenter:'',LeftExpand:'',RightExpand:'',OffScreen:'',FullScreen:'',GithubOne:''};function NFn(){const e=UNn();return GNn(e),XNn(e),QNn(e),ZNn(e),YNn(e),eAn(e),JNn(e),KNn(e),e}function AFn(e,t){return{wrapText(n,r=n){const i=t.somethingSelected()?t.listSelections()[0]:t.findWordAt(t.getCursor()),o=i.from(),a=i.to(),l=t.getRange(o,a),s=e.Pos(o.line,o.ch-n.length),u=e.Pos(a.line,a.ch+r.length);if(t.getRange(s,o)===n&&t.getRange(a,u)===r)t.replaceRange(l,s,u),t.setSelection(s,e.Pos(s.line,s.ch+l.length));else{t.replaceRange(n+l+r,o,a);const c=t.getCursor();t.setSelection(e.Pos(c.line,c.ch-r.length-l.length),e.Pos(c.line,c.ch-r.length))}},replaceLines(n){const[r]=t.listSelections(),i=[e.Pos(r.from().line,0),e.Pos(r.to().line)],o=t.getRange(...i).split(` `);t.replaceRange(o.map(n).join(` `),...i),t.setSelection(...i)},appendBlock(n){const r=t.getCursor();let i=-1;for(let o=r.line;o{const n=t?"Shift-":"",r=typeof navigator<"u"&&/Mac/.test(navigator.platform)?"Cmd-":"Ctrl-";return n+r+e};async function aat({editor:e,appendBlock:t,codemirror:n},r,i){const o=await r(i),a=t(o.map(({url:l,alt:s,title:u},c)=>(s=s??i[c].name,`![${s}](${l}${u?` "${u}"`:""})`)).join(` +`+n,e.Pos(i)),e.Pos(i+1,0)},selectFiles:Fit}}function sY(e,t){let n=t.length-2;for(let r=0;r{const n=t?"Shift-":"",r=typeof navigator<"u"&&/Mac/.test(navigator.platform)?"Cmd-":"Ctrl-";return n+r+e};async function aat({editor:e,appendBlock:t,codemirror:n},r,i){const o=await r(i),a=t(o.map(({url:l,alt:s,title:u},c)=>(s=s??i[c].name,`![${s}](${l}${u?` "${u}"`:""})`)).join(` -`));e.setSelection(a,n.Pos(a.line+o.length*2-2)),e.focus()}function DFn(e,t,n){const r=[{icon:Gi.H,handler:{type:"dropdown",actions:[1,2,3,4,5,6].map(o=>({title:e[`h${o}`],icon:[Gi.H1,Gi.H2,Gi.H3,Gi.LevelFourTitle,Gi.LevelFiveTitle,Gi.LevelSixTitle][o-1],cheatsheet:o<=3?`${"#".repeat(o)} ${e.headingText}`:void 0,handler:{type:"action",click({replaceLines:a,editor:l}){a(s=>(s=s.trim().replace(/^#*/,"").trim(),s="#".repeat(o)+" "+s,s)),l.focus()}}}))}},{title:e.bold,icon:Gi.TextBold,cheatsheet:`**${e.boldText}**`,handler:{type:"action",shortcut:C1("B"),click({wrapText:o,editor:a}){o("**"),a.focus()}}},{title:e.italic,icon:Gi.TextItalic,cheatsheet:`*${e.italicText}*`,handler:{type:"action",shortcut:C1("I"),click({wrapText:o,editor:a}){o("*"),a.focus()}}},{title:e.quote,icon:Gi.Quote,cheatsheet:`> ${e.quotedText}`,handler:{type:"action",click({replaceLines:o,editor:a}){o(l=>"> "+l),a.focus()}}},{title:e.link,icon:Gi.LinkOne,cheatsheet:`[${e.linkText}](url)`,handler:{type:"action",shortcut:C1("K"),click({editor:o,wrapText:a,codemirror:l}){a("[","](url)");const s=o.getCursor();o.setSelection(l.Pos(s.line,s.ch+2),l.Pos(s.line,s.ch+5)),o.focus()}}},{title:e.image,icon:Gi.Pic,cheatsheet:`![${e.imageAlt}](url "${e.imageTitle}")`,handler:n?{type:"action",shortcut:C1("I",!0),async click(o){const a=await Fit({accept:"image/*",multiple:!0});a!=null&&a.length&&await aat(o,n,Array.from(a))}}:void 0},{title:e.code,icon:Gi.Code,cheatsheet:"`"+e.codeText+"`",handler:{type:"action",shortcut:C1("K",!0),click({wrapText:o,editor:a}){o("`"),a.focus()}}},{title:e.codeBlock,icon:Gi.CodeBrackets,cheatsheet:"```"+e.codeLang+"↵",handler:{type:"action",shortcut:C1("C",!0),click({editor:o,appendBlock:a,codemirror:l}){const s=a("```js\n```");o.setSelection(l.Pos(s.line,3),l.Pos(s.line,5)),o.focus()}}},{title:e.ul,icon:Gi.ListTwo,cheatsheet:`- ${e.ulItem}`,handler:{type:"action",shortcut:C1("U",!0),click({replaceLines:o,editor:a}){o(l=>"- "+l),a.focus()}}},{title:e.ol,icon:Gi.OrderedList,cheatsheet:`1. ${e.olItem}`,handler:{type:"action",shortcut:C1("O",!0),click({replaceLines:o,editor:a}){o((l,s)=>`${s+1}. ${l}`),a.focus()}}},{title:e.hr,icon:Gi.DividingLine,cheatsheet:"---"}],i=[];return t.forEach(({actions:o})=>{o&&o.forEach(a=>{!a.position||a.position!=="right"?r.push(a):i.unshift(a)})}),{leftActions:r,rightActions:i}}function fRe(e,t,n){const r=e.slice();return r[5]=t[n],r}function pRe(e,t,n){const r=e.slice();return r[5]=t[n],r}function hRe(e){let t,n,r=e[5].icon+"",i,o=e[5].title+"",a,l,s,u=e[5].cheatsheet+"",c;return{c(){t=fr("li"),n=fr("div"),i=fr("div"),a=ea(o),l=fr("div"),s=fr("code"),c=ea(u),Rr(n,"class","bytemd-help-icon"),Rr(i,"class","bytemd-help-title"),Rr(l,"class","bytemd-help-content")},m(f,h){ca(f,t,h),nr(t,n),n.innerHTML=r,nr(t,i),nr(i,a),nr(t,l),nr(l,s),nr(s,c)},p(f,h){h&4&&r!==(r=f[5].icon+"")&&(n.innerHTML=r),h&4&&o!==(o=f[5].title+"")&&el(a,o),h&4&&u!==(u=f[5].cheatsheet+"")&&el(c,u)},d(f){f&&Uo(t)}}}function gRe(e){let t,n=e[5].cheatsheet&&hRe(e);return{c(){n&&n.c(),t=iT()},m(r,i){n&&n.m(r,i),ca(r,t,i)},p(r,i){r[5].cheatsheet?n?n.p(r,i):(n=hRe(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Uo(t)}}}function mRe(e){let t,n,r=e[5].icon+"",i,o=e[5].title+"",a,l,s,u=e[5].handler.shortcut+"",c;return{c(){t=fr("li"),n=fr("div"),i=fr("div"),a=ea(o),l=fr("div"),s=fr("kbd"),c=ea(u),Rr(n,"class","bytemd-help-icon"),Rr(i,"class","bytemd-help-title"),Rr(l,"class","bytemd-help-content")},m(f,h){ca(f,t,h),nr(t,n),n.innerHTML=r,nr(t,i),nr(i,a),nr(t,l),nr(l,s),nr(s,c)},p(f,h){h&4&&r!==(r=f[5].icon+"")&&(n.innerHTML=r),h&4&&o!==(o=f[5].title+"")&&el(a,o),h&4&&u!==(u=f[5].handler.shortcut+"")&&el(c,u)},d(f){f&&Uo(t)}}}function vRe(e){let t,n=e[5].handler&&e[5].handler.type==="action"&&e[5].handler.shortcut&&mRe(e);return{c(){n&&n.c(),t=iT()},m(r,i){n&&n.m(r,i),ca(r,t,i)},p(r,i){r[5].handler&&r[5].handler.type==="action"&&r[5].handler.shortcut?n?n.p(r,i):(n=mRe(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Uo(t)}}}function LFn(e){let t,n,r=e[0].cheatsheet+"",i,o,a,l=e[0].shortcuts+"",s,u,c=e[2],f=[];for(let p=0;p{const{handler:f,cheatsheet:h}=c;(f==null?void 0:f.type)==="dropdown"&&u.push(...l(f.actions)),h&&u.push(c)}),u}return e.$$set=s=>{"actions"in s&&n(3,i=s.actions),"locale"in s&&n(0,o=s.locale),"visible"in s&&n(1,a=s.visible)},e.$$.update=()=>{e.$$.dirty&8&&n(2,r=l(i))},[o,a,r,i]}class BFn extends r6{constructor(t){super(),n6(this,t,zFn,LFn,tat,{actions:3,locale:0,visible:1})}}function yRe(e){let t,n=e[2].limited+"",r;return{c(){t=fr("span"),r=ea(n),Rr(t,"class","bytemd-status-error")},m(i,o){ca(i,t,o),nr(t,r)},p(i,o){o&4&&n!==(n=i[2].limited+"")&&el(r,n)},d(i){i&&Uo(t)}}}function bRe(e){let t,n,r=e[2].sync+"",i,o,a;return{c(){t=fr("label"),n=fr("input"),i=ea(r),Rr(n,"type","checkbox"),n.checked=e[1]},m(l,s){ca(l,t,s),nr(t,n),nr(t,i),o||(a=gc(n,"change",e[8]),o=!0)},p(l,s){s&2&&(n.checked=l[1]),s&4&&r!==(r=l[2].sync+"")&&el(i,r)},d(l){l&&Uo(t),o=!1,a()}}}function FFn(e){let t,n,r,i=e[2].words+"",o,a,l,s,u,c=e[2].lines+"",f,h,d,p,g,m,v=e[2].top+"",y,b,C,x=e[3]&&yRe(e),S=e[0]&&bRe(e);return{c(){t=fr("div"),n=fr("div"),r=fr("span"),o=ea(i),a=ea(": "),l=fr("strong"),s=ea(e[5]),u=fr("span"),f=ea(c),h=ea(": "),d=fr("strong"),p=ea(e[4]),x&&x.c(),g=fr("div"),S&&S.c(),m=fr("span"),y=ea(v),Rr(n,"class","bytemd-status-left"),Rr(g,"class","bytemd-status-right"),Rr(t,"class","bytemd-status")},m(w,O){ca(w,t,O),nr(t,n),nr(n,r),nr(r,o),nr(r,a),nr(r,l),nr(l,s),nr(n,u),nr(u,f),nr(u,h),nr(u,d),nr(d,p),x&&x.m(n,null),nr(t,g),S&&S.m(g,null),nr(g,m),nr(m,y),b||(C=[gc(m,"click",e[9]),gc(m,"keydown",nC(e[10]))],b=!0)},p(w,[O]){O&4&&i!==(i=w[2].words+"")&&el(o,i),O&32&&el(s,w[5]),O&4&&c!==(c=w[2].lines+"")&&el(f,c),O&16&&el(p,w[4]),w[3]?x?x.p(w,O):(x=yRe(w),x.c(),x.m(n,null)):x&&(x.d(1),x=null),w[0]?S?S.p(w,O):(S=bRe(w),S.c(),S.m(g,m)):S&&(S.d(1),S=null),O&4&&v!==(v=w[2].top+"")&&el(y,v)},i:Tc,o:Tc,d(w){w&&Uo(t),x&&x.d(),S&&S.d(),b=!1,Xf(C)}}}function HFn(e,t,n){let r,i,{showSync:o}=t,{value:a}=t,{syncEnabled:l}=t,{locale:s}=t,{islimited:u}=t;const c=oT(),f=()=>c("sync",!l),h=()=>c("top"),d=p=>["Enter","Space"].includes(p.code)&&c("top");return e.$$set=p=>{"showSync"in p&&n(0,o=p.showSync),"value"in p&&n(7,a=p.value),"syncEnabled"in p&&n(1,l=p.syncEnabled),"locale"in p&&n(2,s=p.locale),"islimited"in p&&n(3,u=p.islimited)},e.$$.update=()=>{e.$$.dirty&128&&n(5,r=aAn(a)),e.$$.dirty&128&&n(4,i=a.split(` -`).length)},[o,l,s,u,i,r,c,a,f,h,d]}class WFn extends r6{constructor(t){super(),n6(this,t,HFn,FFn,tat,{showSync:0,value:7,syncEnabled:1,locale:2,islimited:3})}}function CRe(e,t,n){const r=e.slice();return r[11]=t[n],r[13]=n,r}function SRe(e){let t,n=e[11].text+"",r,i,o,a,l;function s(){return e[8](e[13])}function u(...c){return e[9](e[13],...c)}return{c(){t=fr("li"),r=ea(n),Rr(t,"class",i=`bytemd-toc-${e[11].level}`),Rr(t,"style",o=`padding-left:${(e[11].level-e[3])*16+8}px`),na(t,"bytemd-toc-active",e[4]===e[13]),na(t,"bytemd-toc-first",e[11].level===e[3])},m(c,f){ca(c,t,f),nr(t,r),a||(l=[gc(t,"click",s),gc(t,"keydown",nC(u))],a=!0)},p(c,f){e=c,f&4&&n!==(n=e[11].text+"")&&el(r,n),f&4&&i!==(i=`bytemd-toc-${e[11].level}`)&&Rr(t,"class",i),f&12&&o!==(o=`padding-left:${(e[11].level-e[3])*16+8}px`)&&Rr(t,"style",o),f&20&&na(t,"bytemd-toc-active",e[4]===e[13]),f&12&&na(t,"bytemd-toc-first",e[11].level===e[3])},d(c){c&&Uo(t),a=!1,Xf(l)}}}function qFn(e){let t,n,r=e[0].toc+"",i,o,a=e[2],l=[];for(let s=0;s{m.type==="text"&&(g+=m.value)}),g}const h=p=>{l("click",p)},d=(p,g)=>{["Enter","Space"].includes(g.code)&&l("click",p)};return e.$$set=p=>{"hast"in p&&n(6,r=p.hast),"currentBlockIndex"in p&&n(7,i=p.currentBlockIndex),"locale"in p&&n(0,o=p.locale),"visible"in p&&n(1,a=p.visible)},e.$$.update=()=>{e.$$.dirty&204&&(n(2,s=[]),n(4,c=0),r.children.filter(p=>p.type==="element").forEach((p,g)=>{if(p.tagName[0]==="h"&&p.children.length){const m=Number(p.tagName[1]);n(3,u=Math.min(u,m)),s.push({level:m,text:f(p)})}i>=g&&n(4,c=s.length-1)}))},[o,a,s,u,c,l,r,i,h,d]}class UFn extends r6{constructor(t){super(),n6(this,t,VFn,qFn,aW,{hast:6,currentBlockIndex:7,locale:0,visible:1})}}function xRe(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function _Re(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function GFn(e){let t,n=e[2].write+"",r,i,o=e[2].preview+"",a,l,s;return{c(){t=fr("div"),r=ea(n),i=fr("div"),a=ea(o),Rr(t,"class","bytemd-toolbar-tab"),na(t,"bytemd-toolbar-tab-active",e[1]!=="preview"),Rr(i,"class","bytemd-toolbar-tab"),na(i,"bytemd-toolbar-tab-active",e[1]==="preview")},m(u,c){ca(u,t,c),nr(t,r),ca(u,i,c),nr(i,a),l||(s=[gc(t,"click",e[16]),gc(t,"keydown",nC(e[17])),gc(i,"click",e[18]),gc(i,"keydown",nC(e[19]))],l=!0)},p(u,c){c&4&&n!==(n=u[2].write+"")&&el(r,n),c&2&&na(t,"bytemd-toolbar-tab-active",u[1]!=="preview"),c&4&&o!==(o=u[2].preview+"")&&el(a,o),c&2&&na(i,"bytemd-toolbar-tab-active",u[1]==="preview")},d(u){u&&Uo(t),u&&Uo(i),l=!1,Xf(s)}}}function KFn(e){let t,n=e[3],r=[];for(let i=0;iparseInt(D,10));if(!N)return;let k={title:"",handler:{type:"dropdown",actions:R.classList.contains(fj)?l:m}};return N==null||N.forEach(D=>{var L;((L=k.handler)==null?void 0:L.type)==="dropdown"&&(k=k.handler.actions[D])}),{paths:N,item:k}}let b;function C(){b=lqt(u,{target:`.${az}`,onCreate({setProps:R,reference:M}){const A=y(M);if(!A)return;const{item:N,paths:k}=A,{handler:D}=N;if(D){if(D.type==="action")R({content:N.title,onHidden(L){L.destroy()}});else if(D.type==="dropdown"){const L=document.createElement("div");if(L.classList.add("bytemd-dropdown"),N.title){const B=document.createElement("div");B.classList.add("bytemd-dropdown-title"),B.appendChild(document.createTextNode(N.title)),L.appendChild(B)}D.actions.forEach((B,j)=>{var z;const V=document.createElement("div");V.classList.add("bytemd-dropdown-item"),V.setAttribute(sY,[...k,j].join("-")),((z=B.handler)==null?void 0:z.type)==="dropdown"&&V.classList.add(az),M.classList.contains(fj)&&V.classList.add(fj),V.innerHTML=`${B.icon?`
    ${B.icon}
    `:""}
    ${B.title}
    `,L.appendChild(V)}),R({allowHTML:!0,showOnCreate:!0,theme:"light-border",placement:"bottom-start",interactive:!0,interactiveDebounce:50,arrow:!1,offset:[0,4],content:L.outerHTML,onHidden(B){B.destroy()},onCreate(B){[...B.popper.querySelectorAll(".bytemd-dropdown-item")].forEach((j,z)=>{var V;const W=(V=D.actions[z])==null?void 0:V.handler;if((W==null?void 0:W.type)==="action"){const{mouseenter:U,mouseleave:K}=W;U&&j.addEventListener("mouseenter",()=>{U(c)}),K&&j.addEventListener("mouseleave",()=>{K(c)})}})}})}}}})}Fce(()=>{C()});function x(R){var M,A;const N=R.target.closest(`[${sY}]`);if(!N)return;const k=(A=(M=y(N))==null?void 0:M.item)==null?void 0:A.handler;(k==null?void 0:k.type)==="action"&&k.click(c),b==null||b.destroy(),C()}const S=()=>s("tab","write"),w=R=>["Enter","Space"].includes(R.code)&&s("tab","write"),O=()=>s("tab","preview"),$=R=>["Enter","Space"].includes(R.code)&&s("tab","preview");function P(R){Xv[R?"unshift":"push"](()=>{u=R,n(4,u)})}const T=R=>["Enter","Space"].includes(R.code)&&x(R);return e.$$set=R=>{"context"in R&&n(8,c=R.context),"split"in R&&n(0,f=R.split),"activeTab"in R&&n(1,h=R.activeTab),"fullscreen"in R&&n(9,d=R.fullscreen),"sidebar"in R&&n(10,p=R.sidebar),"locale"in R&&n(2,g=R.locale),"actions"in R&&n(3,m=R.actions),"rightAfferentActions"in R&&n(11,v=R.rightAfferentActions)},e.$$.update=()=>{e.$$.dirty&1024&&n(15,r=p==="toc"),e.$$.dirty&1024&&n(14,i=p==="help"),e.$$.dirty&2&&n(13,o=h==="write"),e.$$.dirty&2&&n(12,a=h==="preview"),e.$$.dirty&64005&&n(5,l=[{title:r?g.closeToc:g.toc,icon:Gi.AlignTextLeftOne,handler:{type:"action",click(){s("click","toc")}},active:r},{title:i?g.closeHelp:g.help,icon:Gi.Helpcenter,handler:{type:"action",click(){s("click","help")}},active:i},{title:o?g.exitWriteOnly:g.writeOnly,icon:Gi.LeftExpand,handler:{type:"action",click(){s("tab","write")}},active:o,hidden:!f},{title:a?g.exitPreviewOnly:g.previewOnly,icon:Gi.RightExpand,handler:{type:"action",click(){s("tab","preview")}},active:a,hidden:!f},{title:d?g.exitFullscreen:g.fullscreen,icon:d?Gi.OffScreen:Gi.FullScreen,handler:{type:"action",click(){s("click","fullscreen")}}},{title:g.source,icon:Gi.GithubOne,handler:{type:"action",click(){window.open("https://github.com/bytedance/bytemd")}}},...v])},[f,h,g,m,u,l,s,x,c,d,p,v,a,o,i,r,S,w,O,$,P,T]}class ZFn extends r6{constructor(t){super(),n6(this,t,YFn,XFn,aW,{context:8,split:0,activeTab:1,fullscreen:9,sidebar:10,locale:2,actions:3,rightAfferentActions:11})}}const QFn=JSON.stringify(xce);function JFn({sanitize:e,plugins:t,remarkRehype:n={}}){let r=PBn().use($zn);t==null||t.forEach(({remark:o})=>{o&&(r=o(r))}),r=r.use(cBn,{allowDangerousHtml:!0,...n}).use(iLn);let i=JSON.parse(QFn);return i.attributes["*"].push("className"),typeof e=="function"&&(i=e(i)),r=r.use(oLn,i),t==null||t.forEach(({rehype:o})=>{o&&(r=o(r))}),r.use(GLn)}function eHn(e){let t;return{c(){t=fr("div"),Rr(t,"class","markdown-body")},m(n,r){ca(n,t,r),t.innerHTML=e[1],e[8](t)},p(n,[r]){r&2&&(t.innerHTML=n[1])},i:Tc,o:Tc,d(n){n&&Uo(t),e[8](null)}}}function tHn(e,t,n){let r;const i=oT();let{value:o=""}=t,{plugins:a=[]}=t,{sanitize:l=void 0}=t,{remarkRehype:s=void 0}=t,u,c=[];function f(){c=a.map(v=>{var y;return(y=v.viewerEffect)==null?void 0:y.call(v,{markdownBody:u,file:d})})}function h(){c.forEach(v=>v==null?void 0:v())}Fce(()=>{u.addEventListener("click",v=>{var y;const b=v.target;if(b.tagName!=="A")return;const C=b.getAttribute("href");C!=null&&C.startsWith("#")&&((y=u.querySelector("#user-content-"+C.slice(1)))==null||y.scrollIntoView())})}),nat(h);let d,p=0;const g=()=>(v,y)=>{uj().then(()=>{i("hast",{hast:v,file:y})})};kBn(()=>{h(),f()});function m(v){Xv[v?"unshift":"push"](()=>{u=v,n(0,u)})}return e.$$set=v=>{"value"in v&&n(2,o=v.value),"plugins"in v&&n(3,a=v.plugins),"sanitize"in v&&n(4,l=v.sanitize),"remarkRehype"in v&&n(5,s=v.remarkRehype)},e.$$.update=()=>{if(e.$$.dirty&188)try{n(6,d=JFn({sanitize:l,plugins:[...a,{rehype:v=>v.use(g)}],remarkRehype:s}).processSync(o)),n(7,p++,p)}catch(v){console.error(v)}e.$$.dirty&192&&n(1,r=`${d}`)},[u,r,o,a,l,s,d,p,m]}class nHn extends r6{constructor(t){super(),n6(this,t,tHn,eHn,aW,{value:2,plugins:3,sanitize:4,remarkRehype:5})}}function PRe(e){let t,n;return t=new nHn({props:{value:e[16],plugins:e[1],sanitize:e[2],remarkRehype:e[3]}}),t.$on("hast",e[35]),{c(){C9(t.$$.fragment)},m(r,i){y3(t,r,i),n=!0},p(r,i){const o={};i[0]&65536&&(o.value=r[16]),i[0]&2&&(o.plugins=r[1]),i[0]&4&&(o.sanitize=r[2]),i[0]&8&&(o.remarkRehype=r[3]),t.$set(o)},i(r){n||(jp(t.$$.fragment,r),n=!0)},o(r){sv(t.$$.fragment,r),n=!1},d(r){b3(t,r)}}}function rHn(e){let t,n,r,i,o,a,l,s,u,c=Gi.Close+"",f,h,d,p,g,m;n=new ZFn({props:{context:e[10],split:e[11],activeTab:e[8],sidebar:e[9],fullscreen:e[15],rightAfferentActions:e[21].rightActions,locale:e[12],actions:e[21].leftActions}}),n.$on("key",e[31]),n.$on("tab",e[32]),n.$on("click",e[33]);let v=!e[4]&&(e[11]||e[8]==="preview")&&PRe(e);return f=new BFn({props:{locale:e[12],actions:e[21].leftActions,visible:e[9]==="help"}}),h=new UFn({props:{hast:e[18],locale:e[12],currentBlockIndex:e[20],visible:e[9]==="toc"}}),h.$on("click",e[39]),d=new WFn({props:{locale:e[12],showSync:!e[4]&&e[11],value:e[16],syncEnabled:e[17],islimited:e[0].length>e[5]}}),d.$on("sync",e[40]),d.$on("top",e[41]),{c(){t=fr("div"),C9(n.$$.fragment),r=fr("div"),i=fr("div"),a=fr("div"),v&&v.c(),s=fr("div"),u=fr("div"),C9(f.$$.fragment),C9(h.$$.fragment),C9(d.$$.fragment),Rr(i,"class","bytemd-editor"),Rr(i,"style",o=e[22].edit),Rr(a,"class","bytemd-preview"),Rr(a,"style",l=e[22].preview),Rr(u,"class","bytemd-sidebar-close"),Rr(s,"class","bytemd-sidebar"),na(s,"bytemd-hidden",e[9]===!1),Rr(r,"class","bytemd-body"),Rr(t,"class","bytemd"),na(t,"bytemd-split",e[11]&&e[8]===!1),na(t,"bytemd-fullscreen",e[15])},m(y,b){ca(y,t,b),y3(n,t,null),nr(t,r),nr(r,i),e[34](i),nr(r,a),v&&v.m(a,null),e[36](a),nr(r,s),nr(s,u),u.innerHTML=c,y3(f,s,null),y3(h,s,null),y3(d,t,null),e[42](t),p=!0,g||(m=[gc(u,"click",e[37]),gc(u,"keydown",nC(e[38]))],g=!0)},p(y,b){const C={};b[0]&1024&&(C.context=y[10]),b[0]&2048&&(C.split=y[11]),b[0]&256&&(C.activeTab=y[8]),b[0]&512&&(C.sidebar=y[9]),b[0]&32768&&(C.fullscreen=y[15]),b[0]&2097152&&(C.rightAfferentActions=y[21].rightActions),b[0]&4096&&(C.locale=y[12]),b[0]&2097152&&(C.actions=y[21].leftActions),n.$set(C),(!p||b[0]&4194304&&o!==(o=y[22].edit))&&Rr(i,"style",o),!y[4]&&(y[11]||y[8]==="preview")?v?(v.p(y,b),b[0]&2320&&jp(v,1)):(v=PRe(y),v.c(),jp(v,1),v.m(a,null)):v&&(LBn(),sv(v,1,1,()=>{v=null}),zBn()),(!p||b[0]&4194304&&l!==(l=y[22].preview))&&Rr(a,"style",l);const x={};b[0]&4096&&(x.locale=y[12]),b[0]&2097152&&(x.actions=y[21].leftActions),b[0]&512&&(x.visible=y[9]==="help"),f.$set(x);const S={};b[0]&262144&&(S.hast=y[18]),b[0]&4096&&(S.locale=y[12]),b[0]&1048576&&(S.currentBlockIndex=y[20]),b[0]&512&&(S.visible=y[9]==="toc"),h.$set(S),(!p||b[0]&512)&&na(s,"bytemd-hidden",y[9]===!1);const w={};b[0]&4096&&(w.locale=y[12]),b[0]&2064&&(w.showSync=!y[4]&&y[11]),b[0]&65536&&(w.value=y[16]),b[0]&131072&&(w.syncEnabled=y[17]),b[0]&33&&(w.islimited=y[0].length>y[5]),d.$set(w),(!p||b[0]&2304)&&na(t,"bytemd-split",y[11]&&y[8]===!1),(!p||b[0]&32768)&&na(t,"bytemd-fullscreen",y[15])},i(y){p||(jp(n.$$.fragment,y),jp(v),jp(f.$$.fragment,y),jp(h.$$.fragment,y),jp(d.$$.fragment,y),p=!0)},o(y){sv(n.$$.fragment,y),sv(v),sv(f.$$.fragment,y),sv(h.$$.fragment,y),sv(d.$$.fragment,y),p=!1},d(y){y&&Uo(t),b3(n),e[34](null),v&&v.d(),e[36](null),b3(f),b3(h),b3(d),e[42](null),g=!1,Xf(m)}}}function iHn(e,t,n){let r,i,o,a,l,{value:s=""}=t,{plugins:u=[]}=t,{sanitize:c=void 0}=t,{remarkRehype:f=void 0}=t,{mode:h="auto"}=t,{previewDebounce:d=300}=t,{placeholder:p=void 0}=t,{editorConfig:g=void 0}=t,{locale:m=void 0}=t,{uploadImages:v=void 0}=t,{overridePreview:y=void 0}=t,{maxLength:b=1/0}=t;const C=oT();let x,S,w,O=1/0,$,P,T,R=!1,M=!1,A=[],N={};function k(){A=u.map(le=>{var ve;return(ve=le.editorEffect)==null?void 0:ve.call(le,l)}),N={},i.leftActions.forEach(({handler:le})=>{(le==null?void 0:le.type)==="action"&&le.shortcut&&(N[le.shortcut]=()=>{le.click(l)})}),P.addKeyMap(N)}function D(){A.forEach(le=>le&&le()),P==null||P.removeKeyMap(N)}let L=s;const B=Brt(le=>{n(16,L=le),y==null||y(w,{value:L,plugins:u,sanitize:c,remarkRehype:f})},d);let j=!0,z=!1,V=!1,W,U,K={type:"root",children:[]},X,G=0;Fce(async()=>{n(30,$=kFn()),n(7,P=$(S,{value:s,mode:"yaml-frontmatter",lineWrapping:!0,tabSize:8,indentUnit:4,extraKeys:{Enter:"newlineAndIndentContinueMarkdownList"},...g,placeholder:p})),P.addKeyMap({Tab:"indentMore","Shift-Tab":"indentLess"}),P.on("change",()=>{C("change",{value:P.getValue()})});const le=gEn(()=>{W=[],U=[];const Oe=P.getScrollInfo(),Pe=w.childNodes[0];if(!(Pe instanceof HTMLElement))return;const _e=K.children.filter(Te=>Te.type==="element"),ce=[...Pe.childNodes].filter(Te=>Te instanceof HTMLElement);for(let Te=0;Te<_e.length;Te++){const Ne=_e[Te],je=ce[Te];if(!Ne.position)continue;const He=P.heightAtLine(Ne.position.start.line-1,"local")/(Oe.height-Oe.clientHeight),Be=(je.offsetTop-Pe.offsetTop)/(w.scrollHeight-w.clientHeight);if(He>=1||Be>=1)break;W.push(He),U.push(Be)}W.push(1),U.push(1)},1e3),ve=()=>{if(y||!j)return;if(V){V=!1;return}le();const Oe=P.getScrollInfo(),Pe=Oe.top/(Oe.height-Oe.clientHeight),_e=lY(Pe,W),ce=(Pe-W[_e])*(U[_e+1]-U[_e])/(W[_e+1]-W[_e])+U[_e];w.scrollTo(0,ce*(w.scrollHeight-w.clientHeight)),z=!0},ke=()=>{if(y||(le(),n(20,G=lY(w.scrollTop/(w.scrollHeight-w.offsetHeight),U)),!j))return;if(z){z=!1;return}const Oe=w.scrollTop/(w.scrollHeight-w.clientHeight),Pe=lY(Oe,U),_e=(Oe-U[Pe])*(W[Pe+1]-W[Pe])/(U[Pe+1]-U[Pe])+W[Pe];if(isNaN(_e))return;const ce=P.getScrollInfo();P.scrollTo(0,_e*(ce.height-ce.clientHeight)),V=!0};P.on("scroll",ve),w.addEventListener("scroll",ke,{passive:!0});const Ie=async(Oe,Pe)=>{if(!v)return;const _e=Array.from(Pe??[]).map(ce=>{if(ce.type.startsWith("image/"))return ce.getAsFile()}).filter(ce=>ce!=null);_e.length&&(Oe.preventDefault(),await aat(l,v,_e))};P.on("drop",async(Oe,Pe)=>{var _e;Ie(Pe,(_e=Pe.dataTransfer)==null?void 0:_e.items)}),P.on("paste",async(Oe,Pe)=>{var _e;Ie(Pe,(_e=Pe.clipboardData)==null?void 0:_e.items)}),new ResizeObserver(Oe=>{n(29,O=Oe[0].contentRect.width)}).observe(x,{box:"border-box"})}),nat(D);const Y=le=>{P.setOption("keyMap",le.detail),P.focus()},J=le=>{const ve=le.detail;o?n(8,T=T===ve?!1:ve):n(8,T=ve),T==="write"&&uj().then(()=>{P&&P.focus()}),ve==="write"&&uj().then(()=>{P&&P.setSize(null,null)})},ee=le=>{switch(le.detail){case"fullscreen":n(15,R=!R);break;case"help":n(9,M=M==="help"?!1:"help");break;case"toc":n(9,M=M==="toc"?!1:"toc");break}};function Q(le){Xv[le?"unshift":"push"](()=>{S=le,n(13,S)})}const te=le=>{n(18,K=le.detail.hast),n(19,X=le.detail.file)};function ne(le){Xv[le?"unshift":"push"](()=>{w=le,n(14,w)})}const re=()=>{n(9,M=!1)},oe=le=>{["Enter","Space"].includes(le.code)&&n(9,M=!1)},se=le=>{w.querySelectorAll("h1,h2,h3,h4,h5,h6")[le.detail].scrollIntoView()},ye=le=>{n(17,j=le.detail)},be=()=>{P.scrollTo(null,0),w.scrollTo({top:0})};function he(le){Xv[le?"unshift":"push"](()=>{x=le,n(6,x)})}return e.$$set=le=>{"value"in le&&n(0,s=le.value),"plugins"in le&&n(1,u=le.plugins),"sanitize"in le&&n(2,c=le.sanitize),"remarkRehype"in le&&n(3,f=le.remarkRehype),"mode"in le&&n(23,h=le.mode),"previewDebounce"in le&&n(24,d=le.previewDebounce),"placeholder"in le&&n(25,p=le.placeholder),"editorConfig"in le&&n(26,g=le.editorConfig),"locale"in le&&n(27,m=le.locale),"uploadImages"in le&&n(28,v=le.uploadImages),"overridePreview"in le&&n(4,y=le.overridePreview),"maxLength"in le&&n(5,b=le.maxLength)},e.$$.update=()=>{e.$$.dirty[0]&134217728&&n(12,r={...AFn,...m}),e.$$.dirty[0]&268439554&&n(21,i=DFn(r,u,v)),e.$$.dirty[0]&545259520&&n(11,o=h==="split"||h==="auto"&&O>=800),e.$$.dirty[0]&2048&&(le=>{o&&n(8,T=!1)})(),e.$$.dirty[0]&2816&&n(22,a=(()=>{let le,ve;return o&&T===!1?M?(le=`width:calc(50% - ${M?140:0}px)`,ve=`width:calc(50% - ${M?140:0}px)`):(le="width:50%",ve="width:50%"):T==="preview"?(le="display:none",ve=`width:calc(100% - ${M?280:0}px)`):(le=`width:calc(100% - ${M?280:0}px)`,ve="display:none"),{edit:le,preview:ve}})()),e.$$.dirty[0]&1073742016&&n(10,l={codemirror:$,editor:P,root:x,...jFn($,P)}),e.$$.dirty[0]&1&&B(s),e.$$.dirty[0]&129&&P&&s!==P.getValue()&&P.setValue(s),e.$$.dirty[0]&130&&P&&u&&(D(),uj().then(()=>{k()}))},[s,u,c,f,y,b,x,P,T,M,l,o,r,S,w,R,L,j,K,X,G,i,a,h,d,p,g,m,v,O,$,Y,J,ee,Q,te,ne,re,oe,se,ye,be,he]}let oHn=class extends r6{constructor(t){super(),n6(this,t,iHn,rHn,aW,{value:0,plugins:1,sanitize:2,remarkRehype:3,mode:23,previewDebounce:24,placeholder:25,editorConfig:26,locale:27,uploadImages:28,overridePreview:4,maxLength:5},null,[-1,-1])}};const aHn=({onChange:e,...t})=>{const n=_.useRef(),r=_.useRef(null),i=_.useRef();return _.useEffect(()=>{if(!r.current)return;const o=new oHn({target:r.current,props:t});return o.$on("change",a=>{var l;(l=i.current)==null||l.call(i,a.detail.value)}),n.current=o,()=>{o.$destroy()}},[]),_.useEffect(()=>{i.current=e},[e]),_.useEffect(()=>{var o;(o=n.current)==null||o.$set(t)},[t]),Se.createElement("div",{ref:r})};function lHn(e){let t;return{viewerEffect({markdownBody:n}){const r=[...n.querySelectorAll("img")].filter(i=>{var o,a;return((a=(o=e==null?void 0:e.filter)==null?void 0:o.call(e,i))!=null?a:!0)&&!i.closest("a")});r.length!==0&&(async()=>(t||(t=await Bit(()=>import("./medium-zoom.esm-dIaqigme.js"),__vite__mapDeps([]),import.meta.url)),t.default(r,e)))()}}}const sHn="粗体",cHn="粗体文本",uHn="Markdown 语法",dHn="关闭帮助",fHn="关闭目录",pHn="代码",hHn="代码块",gHn="编程语言",mHn="代码",vHn="退出全屏",yHn="恢复默认",bHn="恢复默认",CHn="全屏",SHn="一级标题",xHn="二级标题",_Hn="三级标题",wHn="四级标题",OHn="五级标题",EHn="六级标题",$Hn="标题",PHn="帮助",THn="分割线",MHn="图片",RHn="alt",IHn="图片描述",NHn="斜体",AHn="斜体文本",kHn="已达最大字符数限制",jHn="行数",DHn="链接",LHn="链接描述",zHn="有序列表",BHn="项目",FHn="预览",HHn="仅预览区",WHn="引用",qHn="引用文本",VHn="快捷键",UHn="源代码",GHn="同步滚动",KHn="目录",XHn="回到顶部",YHn="无序列表",ZHn="项目",QHn="字数",JHn="编辑",eWn="仅编辑区",tWn={bold:sHn,boldText:cHn,cheatsheet:uHn,closeHelp:dHn,closeToc:fHn,code:pHn,codeBlock:hHn,codeLang:gHn,codeText:mHn,exitFullscreen:vHn,exitPreviewOnly:yHn,exitWriteOnly:bHn,fullscreen:CHn,h1:SHn,h2:xHn,h3:_Hn,h4:wHn,h5:OHn,h6:EHn,headingText:$Hn,help:PHn,hr:THn,image:MHn,imageAlt:RHn,imageTitle:IHn,italic:NHn,italicText:AHn,limited:kHn,lines:jHn,link:DHn,linkText:LHn,ol:zHn,olItem:BHn,preview:FHn,previewOnly:HHn,quote:WHn,quotedText:qHn,shortcuts:VHn,source:UHn,sync:GHn,toc:KHn,top:XHn,ul:YHn,ulItem:ZHn,words:QHn,write:JHn,writeOnly:eWn},nWn=[kRn(),zRn(),FNn(),qNn(),GNn(),lHn()],rWn=({setNoteContent:e,noteContent:t})=>{const n=async r=>{try{const i=new FormData;i.append("file",r[0]);const o=await Tr({url:"/api/protect/upload",method:"POST",data:i});return o.status===200?(pr.success("添加成功"),[{alt:"",url:o.data.data,title:""}]):(pr.error("添加失败"),[])}catch(i){throw console.error("Error during image upload:",i),i}};return ge.jsx("div",{className:'markdown-body"',children:ge.jsx(aHn,{value:t,plugins:nWn,locale:tWn,onChange:r=>{e(r)},uploadImages:r=>n(r)})})},iWn=()=>{const[e,t]=_.useState(!1),[n,r]=_.useState(""),[i,o]=_.useState(""),[a,l]=_.useState(""),[s,u]=_.useState(),[c,f]=_.useState(!1),[h,d]=_.useState([]),p=wC(),g=My(),{id:m}=udt(),[v]=dr.useForm(),y=Yl(A=>A.tags.tag),b=Yl(A=>A.categories.categories),C={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}};_.useEffect(()=>{m&&Tr({url:`/api/protected/notes/${m}`,method:"GET"}).then(A=>{console.log(A.data.data),v.setFieldsValue({noteTitle:A.data.data.noteTitle,description:A.data.data.description,noteCategory:A.data.data.noteCategory,isTop:A.data.data.isTop,status:A.data.data.status}),r(A.data.data.noteTitle),o(A.data.data.noteContent),u(A.data.data.noteTags.split(",").map(N=>parseInt(N,10)))})},[m]);const x=async A=>{const N=new FormData;N.append("file",A);const k=await Tr({url:"/api/protect/upload",method:"POST",data:N});k.status===200&&(l(k.data.data),console.log(a))},S=async()=>{t(!0),v.setFieldsValue({noteTitle:n})},w=()=>{f(!0),R(),t(!1),f(!1)},O=A=>{r(A.target.value)},$=({fileList:A})=>{d(A)},P=async A=>{let N=A.url;N||(N=await new Promise(L=>{const B=new FileReader;B.readAsDataURL(A.originFileObj),B.onload=()=>L(B.result)}));const k=new Image;k.src=N;const D=window.open(N);D==null||D.document.write(k.outerHTML)},T=()=>{t(!1)},R=()=>{const A=v.getFieldsValue();if(m){const N={noteTitle:A.noteTitle,noteContent:i,cover:a,description:A.description,noteCategory:A.noteCategory,noteTags:s.toString(),isTop:Number(A.isTop),status:A.status,updateTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss")};console.log(N),Tr({url:`/api/protected/notes/${m}`,method:"POST",data:N}).then(k=>{k.status===200&&(p(c7()),pr.success("文章更新成功"),g("/dashboard/notes"))}).catch(k=>{pr.error("文章更新失败:"+k),g("/dashboard/notes")})}else{const N={noteTitle:A.noteTitle,noteContent:i,cover:a,description:A.description,noteCategory:A.noteCategory,noteTags:s.toString(),isTop:Number(A.isTop),status:A.status,createTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss"),updateTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss")};Tr({url:"/api/protected/notes",method:"POST",data:N}).then(k=>{k.status===200&&(p(c7()),pr.success("文章创建成功"))}).catch(k=>{pr.error("文章创建失败:"+k)})}o(" "),r(" "),u([]),o(""),v.resetFields()},M=A=>{u(A)};return ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"notes-container",children:[ge.jsxs("div",{className:"article_title",children:[ge.jsx("label",{style:{width:115,fontSize:18,fontWeight:600},children:"文章标题"}),ge.jsx(au,{style:{background:"transparent",border:"1px solid #4096ff",width:"95%",marginRight:10},onChange:O,value:n}),ge.jsx(Ei,{type:"primary",onClick:S,style:{float:"right"},children:"提交"})]}),ge.jsx("div",{className:"new_article",children:ge.jsx(rWn,{setNoteContent:o,noteContent:i})}),ge.jsx(vh,{title:"发布文章",open:e,onOk:w,confirmLoading:c,onCancel:T,okText:"发布",cancelText:"返回",children:ge.jsxs(dr,{...C,variant:"filled",style:{maxWidth:600},form:v,onFinish:R,children:[ge.jsx(dr.Item,{label:"文章标题",name:"noteTitle",children:ge.jsx(au,{disabled:!0,value:n})}),ge.jsx(dr.Item,{label:"文章描述",name:"description",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au.TextArea,{autoSize:{minRows:4,maxRows:8}})}),ge.jsx(dr.Item,{label:"文章分类",name:"noteCategory",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(Ps,{children:b.map(A=>ge.jsx(Ps.Option,{value:A.categoryTitle,children:A.categoryTitle}))})}),ge.jsx(dr.Item,{label:"文章标签",name:"noteTags",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(Td,{theme:{components:{TreeSelect:{}}},children:ge.jsx(FFe,{placeholder:"请选择文章标签",showSearch:!0,style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},allowClear:!0,multiple:!0,treeDefaultExpandAll:!0,treeData:y.map(A=>({...A,value:A.tagKey,key:A.tagKey,children:A.children?A.children.map(N=>({...N,value:N.tagKey,key:N.tagKey})):[]})),onChange:M,value:s})})}),ge.jsx(dr.Item,{label:"文章封面",name:"cover",valuePropName:"fileList",getValueFromEvent:A=>Array.isArray(A)?A.slice(-1):A&&A.fileList.slice(-1),rules:[{required:!0,message:"Please input!"}],children:ge.jsx(qFe,{action:x,listType:"picture-card",fileList:h,onPreview:P,onChange:$,children:ge.jsxs("button",{style:{border:0,background:"none"},type:"button",children:[ge.jsx(qLe,{}),ge.jsx("div",{style:{marginTop:8},children:"Upload"})]})})}),ge.jsx(dr.Item,{label:"置顶",name:"isTop",valuePropName:"checked",children:ge.jsx(FPt,{})}),ge.jsx(dr.Item,{name:"status",label:"文章状态",rules:[{required:!0,message:"Please input!"}],children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"public",children:"公开"}),ge.jsx(rc,{value:"private",children:"私密"}),ge.jsx(rc,{value:"draft",children:"草稿"})]})})]})})]})})},oWn=()=>{const[e,t]=_.useState([]),[n,r]=_.useState([]),[i,o]=_.useState(!1),[a,l]=_.useState(!1),[s,u]=_.useState(0),[c]=dr.useForm(),f=wC(),[h,d]=_.useState(!1);_.useEffect(()=>{p()},[]);const p=()=>{Tr({url:"/api/protected/category",method:"GET"}).then(N=>{r(N.data.data.map(k=>({key:k.categoryKey,categoryTitle:k.categoryTitle,color:k.color,icon:k.icon,introduce:k.introduce,noteCount:k.noteCount})))})},g=N=>{Tr({url:"/api/protected/category",method:"DELETE",data:[N]}).then(k=>{k.status===200&&(p(),f(jk()),pr.success("删除成功"))}).catch(k=>{console.log(k)})},m=()=>{e.length===0?pr.warning("待选中"):(Tr({url:"/api/protected/category",method:"DELETE",data:e}).then(N=>{N.status===200&&(p(),f(jk()),pr.success("删除成功"))}).catch(N=>{console.log(N)}),t([]))},v=N=>{u(N.key),O(),c.setFieldsValue({categorie:N.categoryTitle,introduce:N.introduce,categorie_icon:N.icon,categorie_color:N.color})},y=()=>{const{categorie:N,introduce:k,categorie_icon:D,categorie_color:L}=c.getFieldsValue(),B={categoryTitle:N,icon:D,color:c.getFieldsValue().categorie?"#000000":L.toHexString(),introduce:k};Tr({url:"/api/protected/category",method:"POST",data:B}).then(j=>{j.status===200&&(p(),f(jk()),pr.success("添加成功"))}).catch(j=>{console.log(j)})},b=()=>{if(s!==0){const N={categoryTitle:c.getFieldsValue().categorie,introduce:c.getFieldsValue().introduce,icon:c.getFieldsValue().categorie_icon,color:c.getFieldsValue().categorie_color};Tr({url:`/api/protected/category/${s}`,method:"POST",data:N}).then(k=>{k.status===200&&(p(),pr.success("更新成功"))}).catch(k=>{console.log(k)}),u(0),c.resetFields(),o(!1)}else c.validateFields().then(()=>{l(!0),y(),l(!1),c.resetFields(),o(!1)})},C=()=>{c.resetFields(),u(0),o(!1)},S={selectedRowKeys:e,onChange:N=>{t(N)}},w=e.length>0,O=()=>{o(!0)},$=[{title:"序列",render:(N,k,D)=>D+1,key:"key",align:"center"},{title:"分类名称",dataIndex:"categoryTitle",key:"key",align:"center"},{title:"分类介绍",dataIndex:"introduce",key:"key",align:"center"},{title:"分类图标",dataIndex:"icon",key:"key",align:"center",render:N=>ge.jsx("i",{className:`iconfont ${N} icon`})},{title:"文章数量",key:"key",dataIndex:"noteCount",align:"center"},{title:"颜色",key:"key",dataIndex:"color",align:"center",render:N=>ge.jsx(i7,{color:N,children:N})},{title:"操作",key:"key",align:"center",render:N=>ge.jsxs(CC,{size:"middle",children:[ge.jsx(Ei,{type:"primary",onClick:()=>v(N),children:"编辑"}),ge.jsx(pie,{title:"删除确认",description:"确定删除此分类?",icon:ge.jsx(die,{style:{color:"red"}}),okText:"删除",onConfirm:()=>g(N.key),cancelText:"取消",children:ge.jsx(Ei,{type:"primary",style:{background:"#f5222d"},children:"删除"})})]})}],P={lineHeight:"200px",textAlign:"center",background:"white",borderRadius:"10px",marginTop:10,maxWidth:"98%",height:"90%",marginLeft:"1%",overflowY:"hidden"},T={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}},R=()=>{d(!0)},M=()=>{m(),d(!1)},A=()=>{d(!1)};return ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:P,className:"searchRes",children:ge.jsx(IFe,{columns:$,dataSource:n,pagination:{pageSize:8},title:()=>ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{style:{float:"left"},children:[ge.jsx(Ei,{type:"primary",onClick:O,children:"新增"}),w&&ge.jsx(Ei,{type:"primary",style:{marginLeft:10,background:"#f5222d"},onClick:R,children:"批量删除"}),ge.jsx("span",{style:{marginLeft:8,position:"absolute",fontSize:20,fontWeight:600},children:w?`选中 ${e.length} 项`:""})]}),ge.jsxs("h2",{style:{marginRight:150},children:[ge.jsx(bFe,{})," 分类管理"]})]}),rowSelection:S,scroll:{y:480,x:1e3}})}),ge.jsx(vh,{title:"分类新增",open:i,onOk:b,confirmLoading:a,onCancel:C,okText:s===0?"添加":"保存",cancelText:"取消",children:ge.jsxs(dr,{...T,variant:"filled",style:{maxWidth:600},form:c,onFinish:y,children:[ge.jsx(dr.Item,{label:"分类名称",name:"categorie",children:ge.jsx(au,{})}),ge.jsx(dr.Item,{label:"分类介绍",name:"introduce",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au.TextArea,{autoSize:{minRows:4,maxRows:8}})}),ge.jsx(dr.Item,{label:"分类图标",name:"categorie_icon",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au,{})}),ge.jsx(dr.Item,{label:"颜色",name:"categorie_color",children:ge.jsx(qze,{defaultValue:"black",showText:!0,format:"hex"})})]})}),ge.jsx(vh,{title:"删除确认",open:h,onOk:M,onCancel:A,okText:"确定",cancelText:"取消",children:"是否删除选中所有分类?"})]})},aWn=()=>{const e=_.useRef(null),[t,n]=_.useState([]),[r,i]=_.useState("level_1"),[o,a]=_.useState([]),l=wC();_.useEffect(()=>{s()},[]);const s=async()=>{const g=await u(),m=await c(),v=g.map(y=>(y.children=m.filter(b=>b.fatherTag===y.title),y));a(v)},u=async()=>{try{return(await Tr({url:"/api/protected/tagone",method:"GET"})).data.data.map(m=>({key:m.tagKey,title:m.title,level:m.level,color:m.color,children:[]}))}catch(g){return console.error("Error fetching tag one data:",g),[]}},c=async()=>{try{return(await Tr({url:"/api/protected/tagtwo",method:"GET"})).data.data.map(m=>({key:m.tagKey,title:m.title,level:m.level,color:m.color,fatherTag:m.fatherTag}))}catch(g){return console.error("Error fetching tag two data:",g),[]}},f=g=>{console.log(g),n(g)},h=g=>{console.log(g),i(g)},d=()=>{if(t.length===0){pr.warning("待选中");return}Tr({url:"/api/protected/tag",method:"DELETE",data:t}).then(g=>{g.status===200&&(s(),n([]),e.current&&(e.current.state.selectedKeys=[]),l(Dk()),pr.success("删除成功"))})},p=g=>{var m;if(g.level==="level_1"){let v;g.color&&g.color.toHexString?v=g.color.toHexString():v="black";const y={title:g.title,color:v};Tr({url:"/api/protected/tagone",method:"POST",data:y}).then(async b=>{b.status===200&&(await s(),l(Dk()),pr.success("添加成功"))}).catch(async()=>{await pr.error("添加失败:已存在")})}else{const v=o.find(y=>y.key===g.fatherTag);if(v){const y=(m=v.children)==null?void 0:m.length,b={title:g.title,tagKey:(v==null?void 0:v.children.length)>0?v.children[y-1].key+1:v.key*100+1,color:v.color,fatherTag:v.title};console.log(b),Tr({url:"/api/protected/tagtwo",method:"POST",data:b}).then(C=>{C.status===200&&(s(),l(Dk()),pr.success("添加成功"))}).catch(()=>{pr.error("添加失败:已存在")})}}};return ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"tag_card",children:[ge.jsx("div",{className:"newTagForm",children:ge.jsxs(dr,{initialValues:{tagType:"一级标签"},style:{maxWidth:"400px"},name:"标签管理",onFinish:p,children:[ge.jsxs("h2",{style:{marginBottom:"20px"},children:[ge.jsx(qVt,{})," 标签管理"]}),ge.jsx(dr.Item,{name:"title",label:"标签名称",rules:[{required:!0,message:"必填项"}],children:ge.jsx(au,{})}),ge.jsx(dr.Item,{name:"level",label:"标签等级",children:ge.jsx(Ps,{options:[{value:"level_1",label:"一级标签"},{value:"level_2",label:"二级标签"}],onChange:h})}),r==="level_2"&&ge.jsx(dr.Item,{name:"fatherTag",label:"父标签",shouldUpdate:!0,children:ge.jsx(Ps,{options:o.map(({children:g,...m})=>({...m})).map(g=>({value:g.key,label:g.title}))})}),r==="level_1"&&ge.jsx(dr.Item,{name:"color",label:"标签颜色",children:ge.jsx(qze,{defaultValue:"black",showText:!0,format:"hex"})}),ge.jsxs(dr.Item,{children:[ge.jsx(Ei,{type:"primary",htmlType:"submit",children:"添加"}),ge.jsx(Ei,{type:"primary",style:{marginLeft:20,backgroundColor:"#f5222d"},onClick:d,children:"删除"})]}),ge.jsx(j0t,{message:`选中删除标签:${t.length} 个`,type:"warning",showIcon:!0,style:{position:"absolute",transition:"0.3s",opacity:t.length===0?0:1}})]})}),ge.jsx("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",height:"100%"},children:ge.jsx(wFe,{showLine:!0,multiple:!0,defaultExpandAll:!0,onSelect:f,treeData:o,titleRender:g=>ge.jsx(i7,{color:g.color,children:g.title}),ref:e,virtual:!0,height:500})})]})})},lWn=Mdt([{index:!0,element:ge.jsx(xDt,{})},{path:"/dashboard",element:ge.jsxs(LDt,{children:[" ",ge.jsx(DDt,{})," "]}),children:[{index:!0,element:ge.jsx(PVt,{})},{path:"notes",element:ge.jsx(YVt,{}),children:[{index:!0,element:ge.jsx(pPn,{})},{path:"newnote/:id?",element:ge.jsx(iWn,{})},{path:"allcategorize",element:ge.jsx(oWn,{})},{path:"alltags",element:ge.jsx(aWn,{})}]},{path:"comments",element:ge.jsx(Vtn,{})},{path:"albums",element:ge.jsx(Ztn,{})},{path:"friends",element:ge.jsx(Qtn,{})},{path:"analytics",element:ge.jsx(cPn,{})},{path:"usercontrol",element:ge.jsx(dPn,{})}]}]),lat=H$({name:"talks",initialState:{talks:[]},reducers:{setTalks:(e,t)=>{e.talks=t.payload}}});lat.actions;const sWn=lat.reducer,cWn=kkt({reducer:{user:bDt,talks:sWn,categories:PDt,tags:IDt,notes:jDt}});cY.createRoot(document.getElementById("root")).render(ge.jsx(YAt,{store:cWn,children:ge.jsx(zdt,{router:lWn})}));export{bo as g}; +`));e.setSelection(a,n.Pos(a.line+o.length*2-2)),e.focus()}function kFn(e,t,n){const r=[{icon:Gi.H,handler:{type:"dropdown",actions:[1,2,3,4,5,6].map(o=>({title:e[`h${o}`],icon:[Gi.H1,Gi.H2,Gi.H3,Gi.LevelFourTitle,Gi.LevelFiveTitle,Gi.LevelSixTitle][o-1],cheatsheet:o<=3?`${"#".repeat(o)} ${e.headingText}`:void 0,handler:{type:"action",click({replaceLines:a,editor:l}){a(s=>(s=s.trim().replace(/^#*/,"").trim(),s="#".repeat(o)+" "+s,s)),l.focus()}}}))}},{title:e.bold,icon:Gi.TextBold,cheatsheet:`**${e.boldText}**`,handler:{type:"action",shortcut:C1("B"),click({wrapText:o,editor:a}){o("**"),a.focus()}}},{title:e.italic,icon:Gi.TextItalic,cheatsheet:`*${e.italicText}*`,handler:{type:"action",shortcut:C1("I"),click({wrapText:o,editor:a}){o("*"),a.focus()}}},{title:e.quote,icon:Gi.Quote,cheatsheet:`> ${e.quotedText}`,handler:{type:"action",click({replaceLines:o,editor:a}){o(l=>"> "+l),a.focus()}}},{title:e.link,icon:Gi.LinkOne,cheatsheet:`[${e.linkText}](url)`,handler:{type:"action",shortcut:C1("K"),click({editor:o,wrapText:a,codemirror:l}){a("[","](url)");const s=o.getCursor();o.setSelection(l.Pos(s.line,s.ch+2),l.Pos(s.line,s.ch+5)),o.focus()}}},{title:e.image,icon:Gi.Pic,cheatsheet:`![${e.imageAlt}](url "${e.imageTitle}")`,handler:n?{type:"action",shortcut:C1("I",!0),async click(o){const a=await Fit({accept:"image/*",multiple:!0});a!=null&&a.length&&await aat(o,n,Array.from(a))}}:void 0},{title:e.code,icon:Gi.Code,cheatsheet:"`"+e.codeText+"`",handler:{type:"action",shortcut:C1("K",!0),click({wrapText:o,editor:a}){o("`"),a.focus()}}},{title:e.codeBlock,icon:Gi.CodeBrackets,cheatsheet:"```"+e.codeLang+"↵",handler:{type:"action",shortcut:C1("C",!0),click({editor:o,appendBlock:a,codemirror:l}){const s=a("```js\n```");o.setSelection(l.Pos(s.line,3),l.Pos(s.line,5)),o.focus()}}},{title:e.ul,icon:Gi.ListTwo,cheatsheet:`- ${e.ulItem}`,handler:{type:"action",shortcut:C1("U",!0),click({replaceLines:o,editor:a}){o(l=>"- "+l),a.focus()}}},{title:e.ol,icon:Gi.OrderedList,cheatsheet:`1. ${e.olItem}`,handler:{type:"action",shortcut:C1("O",!0),click({replaceLines:o,editor:a}){o((l,s)=>`${s+1}. ${l}`),a.focus()}}},{title:e.hr,icon:Gi.DividingLine,cheatsheet:"---"}],i=[];return t.forEach(({actions:o})=>{o&&o.forEach(a=>{!a.position||a.position!=="right"?r.push(a):i.unshift(a)})}),{leftActions:r,rightActions:i}}function pRe(e,t,n){const r=e.slice();return r[5]=t[n],r}function hRe(e,t,n){const r=e.slice();return r[5]=t[n],r}function gRe(e){let t,n,r=e[5].icon+"",i,o=e[5].title+"",a,l,s,u=e[5].cheatsheet+"",c;return{c(){t=dr("li"),n=dr("div"),i=dr("div"),a=ea(o),l=dr("div"),s=dr("code"),c=ea(u),Rr(n,"class","bytemd-help-icon"),Rr(i,"class","bytemd-help-title"),Rr(l,"class","bytemd-help-content")},m(f,h){ca(f,t,h),nr(t,n),n.innerHTML=r,nr(t,i),nr(i,a),nr(t,l),nr(l,s),nr(s,c)},p(f,h){h&4&&r!==(r=f[5].icon+"")&&(n.innerHTML=r),h&4&&o!==(o=f[5].title+"")&&el(a,o),h&4&&u!==(u=f[5].cheatsheet+"")&&el(c,u)},d(f){f&&Uo(t)}}}function mRe(e){let t,n=e[5].cheatsheet&&gRe(e);return{c(){n&&n.c(),t=oT()},m(r,i){n&&n.m(r,i),ca(r,t,i)},p(r,i){r[5].cheatsheet?n?n.p(r,i):(n=gRe(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Uo(t)}}}function vRe(e){let t,n,r=e[5].icon+"",i,o=e[5].title+"",a,l,s,u=e[5].handler.shortcut+"",c;return{c(){t=dr("li"),n=dr("div"),i=dr("div"),a=ea(o),l=dr("div"),s=dr("kbd"),c=ea(u),Rr(n,"class","bytemd-help-icon"),Rr(i,"class","bytemd-help-title"),Rr(l,"class","bytemd-help-content")},m(f,h){ca(f,t,h),nr(t,n),n.innerHTML=r,nr(t,i),nr(i,a),nr(t,l),nr(l,s),nr(s,c)},p(f,h){h&4&&r!==(r=f[5].icon+"")&&(n.innerHTML=r),h&4&&o!==(o=f[5].title+"")&&el(a,o),h&4&&u!==(u=f[5].handler.shortcut+"")&&el(c,u)},d(f){f&&Uo(t)}}}function yRe(e){let t,n=e[5].handler&&e[5].handler.type==="action"&&e[5].handler.shortcut&&vRe(e);return{c(){n&&n.c(),t=oT()},m(r,i){n&&n.m(r,i),ca(r,t,i)},p(r,i){r[5].handler&&r[5].handler.type==="action"&&r[5].handler.shortcut?n?n.p(r,i):(n=vRe(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){n&&n.d(r),r&&Uo(t)}}}function jFn(e){let t,n,r=e[0].cheatsheet+"",i,o,a,l=e[0].shortcuts+"",s,u,c=e[2],f=[];for(let p=0;p{const{handler:f,cheatsheet:h}=c;(f==null?void 0:f.type)==="dropdown"&&u.push(...l(f.actions)),h&&u.push(c)}),u}return e.$$set=s=>{"actions"in s&&n(3,i=s.actions),"locale"in s&&n(0,o=s.locale),"visible"in s&&n(1,a=s.visible)},e.$$.update=()=>{e.$$.dirty&8&&n(2,r=l(i))},[o,a,r,i]}class LFn extends r6{constructor(t){super(),n6(this,t,DFn,jFn,tat,{actions:3,locale:0,visible:1})}}function bRe(e){let t,n=e[2].limited+"",r;return{c(){t=dr("span"),r=ea(n),Rr(t,"class","bytemd-status-error")},m(i,o){ca(i,t,o),nr(t,r)},p(i,o){o&4&&n!==(n=i[2].limited+"")&&el(r,n)},d(i){i&&Uo(t)}}}function CRe(e){let t,n,r=e[2].sync+"",i,o,a;return{c(){t=dr("label"),n=dr("input"),i=ea(r),Rr(n,"type","checkbox"),n.checked=e[1]},m(l,s){ca(l,t,s),nr(t,n),nr(t,i),o||(a=gc(n,"change",e[8]),o=!0)},p(l,s){s&2&&(n.checked=l[1]),s&4&&r!==(r=l[2].sync+"")&&el(i,r)},d(l){l&&Uo(t),o=!1,a()}}}function zFn(e){let t,n,r,i=e[2].words+"",o,a,l,s,u,c=e[2].lines+"",f,h,d,p,g,m,v=e[2].top+"",y,b,C,x=e[3]&&bRe(e),S=e[0]&&CRe(e);return{c(){t=dr("div"),n=dr("div"),r=dr("span"),o=ea(i),a=ea(": "),l=dr("strong"),s=ea(e[5]),u=dr("span"),f=ea(c),h=ea(": "),d=dr("strong"),p=ea(e[4]),x&&x.c(),g=dr("div"),S&&S.c(),m=dr("span"),y=ea(v),Rr(n,"class","bytemd-status-left"),Rr(g,"class","bytemd-status-right"),Rr(t,"class","bytemd-status")},m(w,O){ca(w,t,O),nr(t,n),nr(n,r),nr(r,o),nr(r,a),nr(r,l),nr(l,s),nr(n,u),nr(u,f),nr(u,h),nr(u,d),nr(d,p),x&&x.m(n,null),nr(t,g),S&&S.m(g,null),nr(g,m),nr(m,y),b||(C=[gc(m,"click",e[9]),gc(m,"keydown",nC(e[10]))],b=!0)},p(w,[O]){O&4&&i!==(i=w[2].words+"")&&el(o,i),O&32&&el(s,w[5]),O&4&&c!==(c=w[2].lines+"")&&el(f,c),O&16&&el(p,w[4]),w[3]?x?x.p(w,O):(x=bRe(w),x.c(),x.m(n,null)):x&&(x.d(1),x=null),w[0]?S?S.p(w,O):(S=CRe(w),S.c(),S.m(g,m)):S&&(S.d(1),S=null),O&4&&v!==(v=w[2].top+"")&&el(y,v)},i:Tc,o:Tc,d(w){w&&Uo(t),x&&x.d(),S&&S.d(),b=!1,Xf(C)}}}function BFn(e,t,n){let r,i,{showSync:o}=t,{value:a}=t,{syncEnabled:l}=t,{locale:s}=t,{islimited:u}=t;const c=aT(),f=()=>c("sync",!l),h=()=>c("top"),d=p=>["Enter","Space"].includes(p.code)&&c("top");return e.$$set=p=>{"showSync"in p&&n(0,o=p.showSync),"value"in p&&n(7,a=p.value),"syncEnabled"in p&&n(1,l=p.syncEnabled),"locale"in p&&n(2,s=p.locale),"islimited"in p&&n(3,u=p.islimited)},e.$$.update=()=>{e.$$.dirty&128&&n(5,r=iAn(a)),e.$$.dirty&128&&n(4,i=a.split(` +`).length)},[o,l,s,u,i,r,c,a,f,h,d]}class FFn extends r6{constructor(t){super(),n6(this,t,BFn,zFn,tat,{showSync:0,value:7,syncEnabled:1,locale:2,islimited:3})}}function SRe(e,t,n){const r=e.slice();return r[11]=t[n],r[13]=n,r}function xRe(e){let t,n=e[11].text+"",r,i,o,a,l;function s(){return e[8](e[13])}function u(...c){return e[9](e[13],...c)}return{c(){t=dr("li"),r=ea(n),Rr(t,"class",i=`bytemd-toc-${e[11].level}`),Rr(t,"style",o=`padding-left:${(e[11].level-e[3])*16+8}px`),na(t,"bytemd-toc-active",e[4]===e[13]),na(t,"bytemd-toc-first",e[11].level===e[3])},m(c,f){ca(c,t,f),nr(t,r),a||(l=[gc(t,"click",s),gc(t,"keydown",nC(u))],a=!0)},p(c,f){e=c,f&4&&n!==(n=e[11].text+"")&&el(r,n),f&4&&i!==(i=`bytemd-toc-${e[11].level}`)&&Rr(t,"class",i),f&12&&o!==(o=`padding-left:${(e[11].level-e[3])*16+8}px`)&&Rr(t,"style",o),f&20&&na(t,"bytemd-toc-active",e[4]===e[13]),f&12&&na(t,"bytemd-toc-first",e[11].level===e[3])},d(c){c&&Uo(t),a=!1,Xf(l)}}}function HFn(e){let t,n,r=e[0].toc+"",i,o,a=e[2],l=[];for(let s=0;s{m.type==="text"&&(g+=m.value)}),g}const h=p=>{l("click",p)},d=(p,g)=>{["Enter","Space"].includes(g.code)&&l("click",p)};return e.$$set=p=>{"hast"in p&&n(6,r=p.hast),"currentBlockIndex"in p&&n(7,i=p.currentBlockIndex),"locale"in p&&n(0,o=p.locale),"visible"in p&&n(1,a=p.visible)},e.$$.update=()=>{e.$$.dirty&204&&(n(2,s=[]),n(4,c=0),r.children.filter(p=>p.type==="element").forEach((p,g)=>{if(p.tagName[0]==="h"&&p.children.length){const m=Number(p.tagName[1]);n(3,u=Math.min(u,m)),s.push({level:m,text:f(p)})}i>=g&&n(4,c=s.length-1)}))},[o,a,s,u,c,l,r,i,h,d]}class qFn extends r6{constructor(t){super(),n6(this,t,WFn,HFn,lW,{hast:6,currentBlockIndex:7,locale:0,visible:1})}}function _Re(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function wRe(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function VFn(e){let t,n=e[2].write+"",r,i,o=e[2].preview+"",a,l,s;return{c(){t=dr("div"),r=ea(n),i=dr("div"),a=ea(o),Rr(t,"class","bytemd-toolbar-tab"),na(t,"bytemd-toolbar-tab-active",e[1]!=="preview"),Rr(i,"class","bytemd-toolbar-tab"),na(i,"bytemd-toolbar-tab-active",e[1]==="preview")},m(u,c){ca(u,t,c),nr(t,r),ca(u,i,c),nr(i,a),l||(s=[gc(t,"click",e[16]),gc(t,"keydown",nC(e[17])),gc(i,"click",e[18]),gc(i,"keydown",nC(e[19]))],l=!0)},p(u,c){c&4&&n!==(n=u[2].write+"")&&el(r,n),c&2&&na(t,"bytemd-toolbar-tab-active",u[1]!=="preview"),c&4&&o!==(o=u[2].preview+"")&&el(a,o),c&2&&na(i,"bytemd-toolbar-tab-active",u[1]==="preview")},d(u){u&&Uo(t),u&&Uo(i),l=!1,Xf(s)}}}function UFn(e){let t,n=e[3],r=[];for(let i=0;iparseInt(D,10));if(!N)return;let j={title:"",handler:{type:"dropdown",actions:R.classList.contains(pj)?l:m}};return N==null||N.forEach(D=>{var L;((L=j.handler)==null?void 0:L.type)==="dropdown"&&(j=j.handler.actions[D])}),{paths:N,item:j}}let b;function C(){b=aqt(u,{target:`.${lz}`,onCreate({setProps:R,reference:M}){const A=y(M);if(!A)return;const{item:N,paths:j}=A,{handler:D}=N;if(D){if(D.type==="action")R({content:N.title,onHidden(L){L.destroy()}});else if(D.type==="dropdown"){const L=document.createElement("div");if(L.classList.add("bytemd-dropdown"),N.title){const B=document.createElement("div");B.classList.add("bytemd-dropdown-title"),B.appendChild(document.createTextNode(N.title)),L.appendChild(B)}D.actions.forEach((B,k)=>{var z;const q=document.createElement("div");q.classList.add("bytemd-dropdown-item"),q.setAttribute(cY,[...j,k].join("-")),((z=B.handler)==null?void 0:z.type)==="dropdown"&&q.classList.add(lz),M.classList.contains(pj)&&q.classList.add(pj),q.innerHTML=`${B.icon?`
    ${B.icon}
    `:""}
    ${B.title}
    `,L.appendChild(q)}),R({allowHTML:!0,showOnCreate:!0,theme:"light-border",placement:"bottom-start",interactive:!0,interactiveDebounce:50,arrow:!1,offset:[0,4],content:L.outerHTML,onHidden(B){B.destroy()},onCreate(B){[...B.popper.querySelectorAll(".bytemd-dropdown-item")].forEach((k,z)=>{var q;const W=(q=D.actions[z])==null?void 0:q.handler;if((W==null?void 0:W.type)==="action"){const{mouseenter:U,mouseleave:K}=W;U&&k.addEventListener("mouseenter",()=>{U(c)}),K&&k.addEventListener("mouseleave",()=>{K(c)})}})}})}}}})}Hce(()=>{C()});function x(R){var M,A;const N=R.target.closest(`[${cY}]`);if(!N)return;const j=(A=(M=y(N))==null?void 0:M.item)==null?void 0:A.handler;(j==null?void 0:j.type)==="action"&&j.click(c),b==null||b.destroy(),C()}const S=()=>s("tab","write"),w=R=>["Enter","Space"].includes(R.code)&&s("tab","write"),O=()=>s("tab","preview"),$=R=>["Enter","Space"].includes(R.code)&&s("tab","preview");function P(R){Xv[R?"unshift":"push"](()=>{u=R,n(4,u)})}const T=R=>["Enter","Space"].includes(R.code)&&x(R);return e.$$set=R=>{"context"in R&&n(8,c=R.context),"split"in R&&n(0,f=R.split),"activeTab"in R&&n(1,h=R.activeTab),"fullscreen"in R&&n(9,d=R.fullscreen),"sidebar"in R&&n(10,p=R.sidebar),"locale"in R&&n(2,g=R.locale),"actions"in R&&n(3,m=R.actions),"rightAfferentActions"in R&&n(11,v=R.rightAfferentActions)},e.$$.update=()=>{e.$$.dirty&1024&&n(15,r=p==="toc"),e.$$.dirty&1024&&n(14,i=p==="help"),e.$$.dirty&2&&n(13,o=h==="write"),e.$$.dirty&2&&n(12,a=h==="preview"),e.$$.dirty&64005&&n(5,l=[{title:r?g.closeToc:g.toc,icon:Gi.AlignTextLeftOne,handler:{type:"action",click(){s("click","toc")}},active:r},{title:i?g.closeHelp:g.help,icon:Gi.Helpcenter,handler:{type:"action",click(){s("click","help")}},active:i},{title:o?g.exitWriteOnly:g.writeOnly,icon:Gi.LeftExpand,handler:{type:"action",click(){s("tab","write")}},active:o,hidden:!f},{title:a?g.exitPreviewOnly:g.previewOnly,icon:Gi.RightExpand,handler:{type:"action",click(){s("tab","preview")}},active:a,hidden:!f},{title:d?g.exitFullscreen:g.fullscreen,icon:d?Gi.OffScreen:Gi.FullScreen,handler:{type:"action",click(){s("click","fullscreen")}}},{title:g.source,icon:Gi.GithubOne,handler:{type:"action",click(){window.open("https://github.com/bytedance/bytemd")}}},...v])},[f,h,g,m,u,l,s,x,c,d,p,v,a,o,i,r,S,w,O,$,P,T]}class XFn extends r6{constructor(t){super(),n6(this,t,KFn,GFn,lW,{context:8,split:0,activeTab:1,fullscreen:9,sidebar:10,locale:2,actions:3,rightAfferentActions:11})}}const YFn=JSON.stringify(_ce);function ZFn({sanitize:e,plugins:t,remarkRehype:n={}}){let r=EBn().use(Ozn);t==null||t.forEach(({remark:o})=>{o&&(r=o(r))}),r=r.use(lBn,{allowDangerousHtml:!0,...n}).use(nLn);let i=JSON.parse(YFn);return i.attributes["*"].push("className"),typeof e=="function"&&(i=e(i)),r=r.use(rLn,i),t==null||t.forEach(({rehype:o})=>{o&&(r=o(r))}),r.use(VLn)}function QFn(e){let t;return{c(){t=dr("div"),Rr(t,"class","markdown-body")},m(n,r){ca(n,t,r),t.innerHTML=e[1],e[8](t)},p(n,[r]){r&2&&(t.innerHTML=n[1])},i:Tc,o:Tc,d(n){n&&Uo(t),e[8](null)}}}function JFn(e,t,n){let r;const i=aT();let{value:o=""}=t,{plugins:a=[]}=t,{sanitize:l=void 0}=t,{remarkRehype:s=void 0}=t,u,c=[];function f(){c=a.map(v=>{var y;return(y=v.viewerEffect)==null?void 0:y.call(v,{markdownBody:u,file:d})})}function h(){c.forEach(v=>v==null?void 0:v())}Hce(()=>{u.addEventListener("click",v=>{var y;const b=v.target;if(b.tagName!=="A")return;const C=b.getAttribute("href");C!=null&&C.startsWith("#")&&((y=u.querySelector("#user-content-"+C.slice(1)))==null||y.scrollIntoView())})}),nat(h);let d,p=0;const g=()=>(v,y)=>{dj().then(()=>{i("hast",{hast:v,file:y})})};NBn(()=>{h(),f()});function m(v){Xv[v?"unshift":"push"](()=>{u=v,n(0,u)})}return e.$$set=v=>{"value"in v&&n(2,o=v.value),"plugins"in v&&n(3,a=v.plugins),"sanitize"in v&&n(4,l=v.sanitize),"remarkRehype"in v&&n(5,s=v.remarkRehype)},e.$$.update=()=>{if(e.$$.dirty&188)try{n(6,d=ZFn({sanitize:l,plugins:[...a,{rehype:v=>v.use(g)}],remarkRehype:s}).processSync(o)),n(7,p++,p)}catch(v){console.error(v)}e.$$.dirty&192&&n(1,r=`${d}`)},[u,r,o,a,l,s,d,p,m]}class eHn extends r6{constructor(t){super(),n6(this,t,JFn,QFn,lW,{value:2,plugins:3,sanitize:4,remarkRehype:5})}}function TRe(e){let t,n;return t=new eHn({props:{value:e[16],plugins:e[1],sanitize:e[2],remarkRehype:e[3]}}),t.$on("hast",e[35]),{c(){S9(t.$$.fragment)},m(r,i){y3(t,r,i),n=!0},p(r,i){const o={};i[0]&65536&&(o.value=r[16]),i[0]&2&&(o.plugins=r[1]),i[0]&4&&(o.sanitize=r[2]),i[0]&8&&(o.remarkRehype=r[3]),t.$set(o)},i(r){n||(jp(t.$$.fragment,r),n=!0)},o(r){sv(t.$$.fragment,r),n=!1},d(r){b3(t,r)}}}function tHn(e){let t,n,r,i,o,a,l,s,u,c=Gi.Close+"",f,h,d,p,g,m;n=new XFn({props:{context:e[10],split:e[11],activeTab:e[8],sidebar:e[9],fullscreen:e[15],rightAfferentActions:e[21].rightActions,locale:e[12],actions:e[21].leftActions}}),n.$on("key",e[31]),n.$on("tab",e[32]),n.$on("click",e[33]);let v=!e[4]&&(e[11]||e[8]==="preview")&&TRe(e);return f=new LFn({props:{locale:e[12],actions:e[21].leftActions,visible:e[9]==="help"}}),h=new qFn({props:{hast:e[18],locale:e[12],currentBlockIndex:e[20],visible:e[9]==="toc"}}),h.$on("click",e[39]),d=new FFn({props:{locale:e[12],showSync:!e[4]&&e[11],value:e[16],syncEnabled:e[17],islimited:e[0].length>e[5]}}),d.$on("sync",e[40]),d.$on("top",e[41]),{c(){t=dr("div"),S9(n.$$.fragment),r=dr("div"),i=dr("div"),a=dr("div"),v&&v.c(),s=dr("div"),u=dr("div"),S9(f.$$.fragment),S9(h.$$.fragment),S9(d.$$.fragment),Rr(i,"class","bytemd-editor"),Rr(i,"style",o=e[22].edit),Rr(a,"class","bytemd-preview"),Rr(a,"style",l=e[22].preview),Rr(u,"class","bytemd-sidebar-close"),Rr(s,"class","bytemd-sidebar"),na(s,"bytemd-hidden",e[9]===!1),Rr(r,"class","bytemd-body"),Rr(t,"class","bytemd"),na(t,"bytemd-split",e[11]&&e[8]===!1),na(t,"bytemd-fullscreen",e[15])},m(y,b){ca(y,t,b),y3(n,t,null),nr(t,r),nr(r,i),e[34](i),nr(r,a),v&&v.m(a,null),e[36](a),nr(r,s),nr(s,u),u.innerHTML=c,y3(f,s,null),y3(h,s,null),y3(d,t,null),e[42](t),p=!0,g||(m=[gc(u,"click",e[37]),gc(u,"keydown",nC(e[38]))],g=!0)},p(y,b){const C={};b[0]&1024&&(C.context=y[10]),b[0]&2048&&(C.split=y[11]),b[0]&256&&(C.activeTab=y[8]),b[0]&512&&(C.sidebar=y[9]),b[0]&32768&&(C.fullscreen=y[15]),b[0]&2097152&&(C.rightAfferentActions=y[21].rightActions),b[0]&4096&&(C.locale=y[12]),b[0]&2097152&&(C.actions=y[21].leftActions),n.$set(C),(!p||b[0]&4194304&&o!==(o=y[22].edit))&&Rr(i,"style",o),!y[4]&&(y[11]||y[8]==="preview")?v?(v.p(y,b),b[0]&2320&&jp(v,1)):(v=TRe(y),v.c(),jp(v,1),v.m(a,null)):v&&(jBn(),sv(v,1,1,()=>{v=null}),DBn()),(!p||b[0]&4194304&&l!==(l=y[22].preview))&&Rr(a,"style",l);const x={};b[0]&4096&&(x.locale=y[12]),b[0]&2097152&&(x.actions=y[21].leftActions),b[0]&512&&(x.visible=y[9]==="help"),f.$set(x);const S={};b[0]&262144&&(S.hast=y[18]),b[0]&4096&&(S.locale=y[12]),b[0]&1048576&&(S.currentBlockIndex=y[20]),b[0]&512&&(S.visible=y[9]==="toc"),h.$set(S),(!p||b[0]&512)&&na(s,"bytemd-hidden",y[9]===!1);const w={};b[0]&4096&&(w.locale=y[12]),b[0]&2064&&(w.showSync=!y[4]&&y[11]),b[0]&65536&&(w.value=y[16]),b[0]&131072&&(w.syncEnabled=y[17]),b[0]&33&&(w.islimited=y[0].length>y[5]),d.$set(w),(!p||b[0]&2304)&&na(t,"bytemd-split",y[11]&&y[8]===!1),(!p||b[0]&32768)&&na(t,"bytemd-fullscreen",y[15])},i(y){p||(jp(n.$$.fragment,y),jp(v),jp(f.$$.fragment,y),jp(h.$$.fragment,y),jp(d.$$.fragment,y),p=!0)},o(y){sv(n.$$.fragment,y),sv(v),sv(f.$$.fragment,y),sv(h.$$.fragment,y),sv(d.$$.fragment,y),p=!1},d(y){y&&Uo(t),b3(n),e[34](null),v&&v.d(),e[36](null),b3(f),b3(h),b3(d),e[42](null),g=!1,Xf(m)}}}function nHn(e,t,n){let r,i,o,a,l,{value:s=""}=t,{plugins:u=[]}=t,{sanitize:c=void 0}=t,{remarkRehype:f=void 0}=t,{mode:h="auto"}=t,{previewDebounce:d=300}=t,{placeholder:p=void 0}=t,{editorConfig:g=void 0}=t,{locale:m=void 0}=t,{uploadImages:v=void 0}=t,{overridePreview:y=void 0}=t,{maxLength:b=1/0}=t;const C=aT();let x,S,w,O=1/0,$,P,T,R=!1,M=!1,A=[],N={};function j(){A=u.map(le=>{var ve;return(ve=le.editorEffect)==null?void 0:ve.call(le,l)}),N={},i.leftActions.forEach(({handler:le})=>{(le==null?void 0:le.type)==="action"&&le.shortcut&&(N[le.shortcut]=()=>{le.click(l)})}),P.addKeyMap(N)}function D(){A.forEach(le=>le&&le()),P==null||P.removeKeyMap(N)}let L=s;const B=Brt(le=>{n(16,L=le),y==null||y(w,{value:L,plugins:u,sanitize:c,remarkRehype:f})},d);let k=!0,z=!1,q=!1,W,U,K={type:"root",children:[]},X,G=0;Hce(async()=>{n(30,$=NFn()),n(7,P=$(S,{value:s,mode:"yaml-frontmatter",lineWrapping:!0,tabSize:8,indentUnit:4,extraKeys:{Enter:"newlineAndIndentContinueMarkdownList"},...g,placeholder:p})),P.addKeyMap({Tab:"indentMore","Shift-Tab":"indentLess"}),P.on("change",()=>{C("change",{value:P.getValue()})});const le=pEn(()=>{W=[],U=[];const Oe=P.getScrollInfo(),Pe=w.childNodes[0];if(!(Pe instanceof HTMLElement))return;const _e=K.children.filter(Te=>Te.type==="element"),ce=[...Pe.childNodes].filter(Te=>Te instanceof HTMLElement);for(let Te=0;Te<_e.length;Te++){const Ne=_e[Te],je=ce[Te];if(!Ne.position)continue;const He=P.heightAtLine(Ne.position.start.line-1,"local")/(Oe.height-Oe.clientHeight),Be=(je.offsetTop-Pe.offsetTop)/(w.scrollHeight-w.clientHeight);if(He>=1||Be>=1)break;W.push(He),U.push(Be)}W.push(1),U.push(1)},1e3),ve=()=>{if(y||!k)return;if(q){q=!1;return}le();const Oe=P.getScrollInfo(),Pe=Oe.top/(Oe.height-Oe.clientHeight),_e=sY(Pe,W),ce=(Pe-W[_e])*(U[_e+1]-U[_e])/(W[_e+1]-W[_e])+U[_e];w.scrollTo(0,ce*(w.scrollHeight-w.clientHeight)),z=!0},ke=()=>{if(y||(le(),n(20,G=sY(w.scrollTop/(w.scrollHeight-w.offsetHeight),U)),!k))return;if(z){z=!1;return}const Oe=w.scrollTop/(w.scrollHeight-w.clientHeight),Pe=sY(Oe,U),_e=(Oe-U[Pe])*(W[Pe+1]-W[Pe])/(U[Pe+1]-U[Pe])+W[Pe];if(isNaN(_e))return;const ce=P.getScrollInfo();P.scrollTo(0,_e*(ce.height-ce.clientHeight)),q=!0};P.on("scroll",ve),w.addEventListener("scroll",ke,{passive:!0});const Ie=async(Oe,Pe)=>{if(!v)return;const _e=Array.from(Pe??[]).map(ce=>{if(ce.type.startsWith("image/"))return ce.getAsFile()}).filter(ce=>ce!=null);_e.length&&(Oe.preventDefault(),await aat(l,v,_e))};P.on("drop",async(Oe,Pe)=>{var _e;Ie(Pe,(_e=Pe.dataTransfer)==null?void 0:_e.items)}),P.on("paste",async(Oe,Pe)=>{var _e;Ie(Pe,(_e=Pe.clipboardData)==null?void 0:_e.items)}),new ResizeObserver(Oe=>{n(29,O=Oe[0].contentRect.width)}).observe(x,{box:"border-box"})}),nat(D);const Y=le=>{P.setOption("keyMap",le.detail),P.focus()},J=le=>{const ve=le.detail;o?n(8,T=T===ve?!1:ve):n(8,T=ve),T==="write"&&dj().then(()=>{P&&P.focus()}),ve==="write"&&dj().then(()=>{P&&P.setSize(null,null)})},ee=le=>{switch(le.detail){case"fullscreen":n(15,R=!R);break;case"help":n(9,M=M==="help"?!1:"help");break;case"toc":n(9,M=M==="toc"?!1:"toc");break}};function Q(le){Xv[le?"unshift":"push"](()=>{S=le,n(13,S)})}const te=le=>{n(18,K=le.detail.hast),n(19,X=le.detail.file)};function ne(le){Xv[le?"unshift":"push"](()=>{w=le,n(14,w)})}const re=()=>{n(9,M=!1)},oe=le=>{["Enter","Space"].includes(le.code)&&n(9,M=!1)},se=le=>{w.querySelectorAll("h1,h2,h3,h4,h5,h6")[le.detail].scrollIntoView()},ye=le=>{n(17,k=le.detail)},be=()=>{P.scrollTo(null,0),w.scrollTo({top:0})};function he(le){Xv[le?"unshift":"push"](()=>{x=le,n(6,x)})}return e.$$set=le=>{"value"in le&&n(0,s=le.value),"plugins"in le&&n(1,u=le.plugins),"sanitize"in le&&n(2,c=le.sanitize),"remarkRehype"in le&&n(3,f=le.remarkRehype),"mode"in le&&n(23,h=le.mode),"previewDebounce"in le&&n(24,d=le.previewDebounce),"placeholder"in le&&n(25,p=le.placeholder),"editorConfig"in le&&n(26,g=le.editorConfig),"locale"in le&&n(27,m=le.locale),"uploadImages"in le&&n(28,v=le.uploadImages),"overridePreview"in le&&n(4,y=le.overridePreview),"maxLength"in le&&n(5,b=le.maxLength)},e.$$.update=()=>{e.$$.dirty[0]&134217728&&n(12,r={...IFn,...m}),e.$$.dirty[0]&268439554&&n(21,i=kFn(r,u,v)),e.$$.dirty[0]&545259520&&n(11,o=h==="split"||h==="auto"&&O>=800),e.$$.dirty[0]&2048&&(le=>{o&&n(8,T=!1)})(),e.$$.dirty[0]&2816&&n(22,a=(()=>{let le,ve;return o&&T===!1?M?(le=`width:calc(50% - ${M?140:0}px)`,ve=`width:calc(50% - ${M?140:0}px)`):(le="width:50%",ve="width:50%"):T==="preview"?(le="display:none",ve=`width:calc(100% - ${M?280:0}px)`):(le=`width:calc(100% - ${M?280:0}px)`,ve="display:none"),{edit:le,preview:ve}})()),e.$$.dirty[0]&1073742016&&n(10,l={codemirror:$,editor:P,root:x,...AFn($,P)}),e.$$.dirty[0]&1&&B(s),e.$$.dirty[0]&129&&P&&s!==P.getValue()&&P.setValue(s),e.$$.dirty[0]&130&&P&&u&&(D(),dj().then(()=>{j()}))},[s,u,c,f,y,b,x,P,T,M,l,o,r,S,w,R,L,k,K,X,G,i,a,h,d,p,g,m,v,O,$,Y,J,ee,Q,te,ne,re,oe,se,ye,be,he]}let rHn=class extends r6{constructor(t){super(),n6(this,t,nHn,tHn,lW,{value:0,plugins:1,sanitize:2,remarkRehype:3,mode:23,previewDebounce:24,placeholder:25,editorConfig:26,locale:27,uploadImages:28,overridePreview:4,maxLength:5},null,[-1,-1])}};const iHn=({onChange:e,...t})=>{const n=_.useRef(),r=_.useRef(null),i=_.useRef();return _.useEffect(()=>{if(!r.current)return;const o=new rHn({target:r.current,props:t});return o.$on("change",a=>{var l;(l=i.current)==null||l.call(i,a.detail.value)}),n.current=o,()=>{o.$destroy()}},[]),_.useEffect(()=>{i.current=e},[e]),_.useEffect(()=>{var o;(o=n.current)==null||o.$set(t)},[t]),Se.createElement("div",{ref:r})};function oHn(e){let t;return{viewerEffect({markdownBody:n}){const r=[...n.querySelectorAll("img")].filter(i=>{var o,a;return((a=(o=e==null?void 0:e.filter)==null?void 0:o.call(e,i))!=null?a:!0)&&!i.closest("a")});r.length!==0&&(async()=>(t||(t=await Bit(()=>import("./medium-zoom.esm-dIaqigme.js"),__vite__mapDeps([]),import.meta.url)),t.default(r,e)))()}}}const aHn="粗体",lHn="粗体文本",sHn="Markdown 语法",cHn="关闭帮助",uHn="关闭目录",dHn="代码",fHn="代码块",pHn="编程语言",hHn="代码",gHn="退出全屏",mHn="恢复默认",vHn="恢复默认",yHn="全屏",bHn="一级标题",CHn="二级标题",SHn="三级标题",xHn="四级标题",_Hn="五级标题",wHn="六级标题",OHn="标题",EHn="帮助",$Hn="分割线",PHn="图片",THn="alt",MHn="图片描述",RHn="斜体",IHn="斜体文本",NHn="已达最大字符数限制",AHn="行数",kHn="链接",jHn="链接描述",DHn="有序列表",LHn="项目",zHn="预览",BHn="仅预览区",FHn="引用",HHn="引用文本",WHn="快捷键",qHn="源代码",VHn="同步滚动",UHn="目录",GHn="回到顶部",KHn="无序列表",XHn="项目",YHn="字数",ZHn="编辑",QHn="仅编辑区",JHn={bold:aHn,boldText:lHn,cheatsheet:sHn,closeHelp:cHn,closeToc:uHn,code:dHn,codeBlock:fHn,codeLang:pHn,codeText:hHn,exitFullscreen:gHn,exitPreviewOnly:mHn,exitWriteOnly:vHn,fullscreen:yHn,h1:bHn,h2:CHn,h3:SHn,h4:xHn,h5:_Hn,h6:wHn,headingText:OHn,help:EHn,hr:$Hn,image:PHn,imageAlt:THn,imageTitle:MHn,italic:RHn,italicText:IHn,limited:NHn,lines:AHn,link:kHn,linkText:jHn,ol:DHn,olItem:LHn,preview:zHn,previewOnly:BHn,quote:FHn,quotedText:HHn,shortcuts:WHn,source:qHn,sync:VHn,toc:UHn,top:GHn,ul:KHn,ulItem:XHn,words:YHn,write:ZHn,writeOnly:QHn},eWn=[NRn(),DRn(),zNn(),HNn(),VNn(),oHn()],tWn=({setNoteContent:e,noteContent:t})=>{const n=async r=>{try{const i=new FormData;i.append("file",r[0]);const o=await Tr({url:"/api/protect/upload",method:"POST",data:i});return o.status===200?(fr.success("添加成功"),[{alt:"",url:o.data.data,title:""}]):(fr.error("添加失败"),[])}catch(i){throw console.error("Error during image upload:",i),i}};return ge.jsx("div",{className:'markdown-body"',children:ge.jsx(iHn,{value:t,plugins:eWn,locale:JHn,onChange:r=>{e(r)},uploadImages:r=>n(r)})})},nWn=()=>{const[e,t]=_.useState(!1),[n,r]=_.useState(""),[i,o]=_.useState(""),[a,l]=_.useState(""),[s,u]=_.useState(),[c,f]=_.useState(!1),[h,d]=_.useState([]),p=wC(),g=My(),{id:m}=udt(),[v]=ur.useForm(),y=Yl(A=>A.tags.tag),b=Yl(A=>A.categories.categories),C={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}};_.useEffect(()=>{m&&Tr({url:`/api/protected/notes/${m}`,method:"GET"}).then(A=>{console.log(A.data.data),v.setFieldsValue({noteTitle:A.data.data.noteTitle,description:A.data.data.description,noteCategory:A.data.data.noteCategory,isTop:A.data.data.isTop,status:A.data.data.status}),r(A.data.data.noteTitle),o(A.data.data.noteContent),u(A.data.data.noteTags.split(",").map(N=>parseInt(N,10)))})},[m]);const x=async A=>{const N=new FormData;N.append("file",A);const j=await Tr({url:"/api/protect/upload",method:"POST",data:N});j.status===200&&(l(j.data.data),console.log(a))},S=async()=>{t(!0),v.setFieldsValue({noteTitle:n})},w=()=>{f(!0),R(),t(!1),f(!1)},O=A=>{r(A.target.value)},$=({fileList:A})=>{d(A)},P=async A=>{let N=A.url;N||(N=await new Promise(L=>{const B=new FileReader;B.readAsDataURL(A.originFileObj),B.onload=()=>L(B.result)}));const j=new Image;j.src=N;const D=window.open(N);D==null||D.document.write(j.outerHTML)},T=()=>{t(!1)},R=()=>{const A=v.getFieldsValue();if(m){const N={noteTitle:A.noteTitle,noteContent:i,cover:a,description:A.description,noteCategory:A.noteCategory,noteTags:s.toString(),isTop:Number(A.isTop),status:A.status,updateTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss")};console.log(N),Tr({url:`/api/protected/notes/${m}`,method:"POST",data:N}).then(j=>{j.status===200&&(p(u7()),fr.success("文章更新成功"),g("/dashboard/notes"))}).catch(j=>{fr.error("文章更新失败:"+j),g("/dashboard/notes")})}else{const N={noteTitle:A.noteTitle,noteContent:i,cover:a,description:A.description,noteCategory:A.noteCategory,noteTags:s.toString(),isTop:Number(A.isTop),status:A.status,createTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss"),updateTime:$o(new Date).format("YYYY-MM-DD hh:mm:ss")};Tr({url:"/api/protected/notes",method:"POST",data:N}).then(j=>{j.status===200&&(p(u7()),fr.success("文章创建成功"))}).catch(j=>{fr.error("文章创建失败:"+j)})}o(" "),r(" "),u([]),o(""),v.resetFields()},M=A=>{u(A)};return ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"notes-container",children:[ge.jsxs("div",{className:"article_title",children:[ge.jsx("label",{style:{width:115,fontSize:18,fontWeight:600},children:"文章标题"}),ge.jsx(au,{style:{background:"transparent",border:"1px solid #4096ff",width:"95%",marginRight:10},onChange:O,value:n}),ge.jsx(Ei,{type:"primary",onClick:S,style:{float:"right"},children:"提交"})]}),ge.jsx("div",{className:"new_article",children:ge.jsx(tWn,{setNoteContent:o,noteContent:i})}),ge.jsx(vh,{title:"发布文章",open:e,onOk:w,confirmLoading:c,onCancel:T,okText:"发布",cancelText:"返回",children:ge.jsxs(ur,{...C,variant:"filled",style:{maxWidth:600},form:v,onFinish:R,children:[ge.jsx(ur.Item,{label:"文章标题",name:"noteTitle",children:ge.jsx(au,{disabled:!0,value:n})}),ge.jsx(ur.Item,{label:"文章描述",name:"description",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au.TextArea,{autoSize:{minRows:4,maxRows:8}})}),ge.jsx(ur.Item,{label:"文章分类",name:"noteCategory",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(Ps,{children:b.map(A=>ge.jsx(Ps.Option,{value:A.categoryTitle,children:A.categoryTitle}))})}),ge.jsx(ur.Item,{label:"文章标签",name:"noteTags",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(Td,{theme:{components:{TreeSelect:{}}},children:ge.jsx(HFe,{placeholder:"请选择文章标签",showSearch:!0,style:{width:"100%"},dropdownStyle:{maxHeight:400,overflow:"auto"},allowClear:!0,multiple:!0,treeDefaultExpandAll:!0,treeData:y.map(A=>({...A,value:A.tagKey,key:A.tagKey,children:A.children?A.children.map(N=>({...N,value:N.tagKey,key:N.tagKey})):[]})),onChange:M,value:s})})}),ge.jsx(ur.Item,{label:"文章封面",name:"cover",valuePropName:"fileList",getValueFromEvent:A=>Array.isArray(A)?A.slice(-1):A&&A.fileList.slice(-1),rules:[{required:!0,message:"Please input!"}],children:ge.jsx(VFe,{action:x,listType:"picture-card",fileList:h,onPreview:P,onChange:$,children:ge.jsxs("button",{style:{border:0,background:"none"},type:"button",children:[ge.jsx(qLe,{}),ge.jsx("div",{style:{marginTop:8},children:"Upload"})]})})}),ge.jsx(ur.Item,{label:"置顶",name:"isTop",valuePropName:"checked",children:ge.jsx(BPt,{})}),ge.jsx(ur.Item,{name:"status",label:"文章状态",rules:[{required:!0,message:"Please input!"}],children:ge.jsxs(rc.Group,{children:[ge.jsx(rc,{value:"public",children:"公开"}),ge.jsx(rc,{value:"private",children:"私密"}),ge.jsx(rc,{value:"draft",children:"草稿"})]})})]})})]})})},rWn=()=>{const[e,t]=_.useState([]),[n,r]=_.useState([]),[i,o]=_.useState(!1),[a,l]=_.useState(!1),[s,u]=_.useState(0),[c]=ur.useForm(),f=wC(),[h,d]=_.useState(!1);_.useEffect(()=>{p()},[]);const p=()=>{Tr({url:"/api/protected/category",method:"GET"}).then(N=>{r(N.data.data.map(j=>({key:j.categoryKey,categoryTitle:j.categoryTitle,color:j.color,icon:j.icon,introduce:j.introduce,noteCount:j.noteCount})))})},g=N=>{Tr({url:"/api/protected/category",method:"DELETE",data:[N]}).then(j=>{j.status===200&&(p(),f(Dk()),fr.success("删除成功"))}).catch(j=>{console.log(j)})},m=()=>{e.length===0?fr.warning("待选中"):(Tr({url:"/api/protected/category",method:"DELETE",data:e}).then(N=>{N.status===200&&(p(),f(Dk()),fr.success("删除成功"))}).catch(N=>{console.log(N)}),t([]))},v=N=>{u(N.key),O(),c.setFieldsValue({categorie:N.categoryTitle,introduce:N.introduce,categorie_icon:N.icon,categorie_color:N.color})},y=()=>{const{categorie:N,introduce:j,categorie_icon:D,categorie_color:L}=c.getFieldsValue(),B={categoryTitle:N,icon:D,color:c.getFieldsValue().categorie?"#000000":L.toHexString(),introduce:j};Tr({url:"/api/protected/category",method:"POST",data:B}).then(k=>{k.status===200&&(p(),f(Dk()),fr.success("添加成功"))}).catch(k=>{console.log(k)})},b=()=>{if(s!==0){const N={categoryTitle:c.getFieldsValue().categorie,introduce:c.getFieldsValue().introduce,icon:c.getFieldsValue().categorie_icon,color:c.getFieldsValue().categorie_color};Tr({url:`/api/protected/category/${s}`,method:"POST",data:N}).then(j=>{j.status===200&&(p(),fr.success("更新成功"))}).catch(j=>{console.log(j)}),u(0),c.resetFields(),o(!1)}else c.validateFields().then(()=>{l(!0),y(),l(!1),c.resetFields(),o(!1)})},C=()=>{c.resetFields(),u(0),o(!1)},S={selectedRowKeys:e,onChange:N=>{t(N)}},w=e.length>0,O=()=>{o(!0)},$=[{title:"序列",render:(N,j,D)=>D+1,key:"key",align:"center"},{title:"分类名称",dataIndex:"categoryTitle",key:"key",align:"center"},{title:"分类介绍",dataIndex:"introduce",key:"key",align:"center"},{title:"分类图标",dataIndex:"icon",key:"key",align:"center",render:N=>ge.jsx("i",{className:`iconfont ${N} icon`})},{title:"文章数量",key:"key",dataIndex:"noteCount",align:"center"},{title:"颜色",key:"key",dataIndex:"color",align:"center",render:N=>ge.jsx(o7,{color:N,children:N})},{title:"操作",key:"key",align:"center",render:N=>ge.jsxs(CC,{size:"middle",children:[ge.jsx(Ei,{type:"primary",onClick:()=>v(N),children:"编辑"}),ge.jsx(hie,{title:"删除确认",description:"确定删除此分类?",icon:ge.jsx(fie,{style:{color:"red"}}),okText:"删除",onConfirm:()=>g(N.key),cancelText:"取消",children:ge.jsx(Ei,{type:"primary",style:{background:"#f5222d"},children:"删除"})})]})}],P={lineHeight:"200px",textAlign:"center",background:"white",borderRadius:"10px",marginTop:10,maxWidth:"98%",height:"90%",marginLeft:"1%",overflowY:"hidden"},T={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:14}}},R=()=>{d(!0)},M=()=>{m(),d(!1)},A=()=>{d(!1)};return ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:P,className:"searchRes",children:ge.jsx(NFe,{columns:$,dataSource:n,pagination:{pageSize:8},title:()=>ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{style:{float:"left"},children:[ge.jsx(Ei,{type:"primary",onClick:O,children:"新增"}),w&&ge.jsx(Ei,{type:"primary",style:{marginLeft:10,background:"#f5222d"},onClick:R,children:"批量删除"}),ge.jsx("span",{style:{marginLeft:8,position:"absolute",fontSize:20,fontWeight:600},children:w?`选中 ${e.length} 项`:""})]}),ge.jsxs("h2",{style:{marginRight:150},children:[ge.jsx(CFe,{})," 分类管理"]})]}),rowSelection:S,scroll:{y:480,x:1e3}})}),ge.jsx(vh,{title:"分类新增",open:i,onOk:b,confirmLoading:a,onCancel:C,okText:s===0?"添加":"保存",cancelText:"取消",children:ge.jsxs(ur,{...T,variant:"filled",style:{maxWidth:600},form:c,onFinish:y,children:[ge.jsx(ur.Item,{label:"分类名称",name:"categorie",children:ge.jsx(au,{})}),ge.jsx(ur.Item,{label:"分类介绍",name:"introduce",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au.TextArea,{autoSize:{minRows:4,maxRows:8}})}),ge.jsx(ur.Item,{label:"分类图标",name:"categorie_icon",rules:[{required:!0,message:"Please input!"}],children:ge.jsx(au,{})}),ge.jsx(ur.Item,{label:"颜色",name:"categorie_color",children:ge.jsx(Vze,{defaultValue:"black",showText:!0,format:"hex"})})]})}),ge.jsx(vh,{title:"删除确认",open:h,onOk:M,onCancel:A,okText:"确定",cancelText:"取消",children:"是否删除选中所有分类?"})]})},iWn=()=>{const e=_.useRef(null),[t,n]=_.useState([]),[r,i]=_.useState("level_1"),[o,a]=_.useState([]),l=wC();_.useEffect(()=>{s()},[]);const s=async()=>{const g=await u(),m=await c(),v=g.map(y=>(y.children=m.filter(b=>b.fatherTag===y.title),y));a(v)},u=async()=>{try{return(await Tr({url:"/api/protected/tagone",method:"GET"})).data.data.map(m=>({key:m.tagKey,title:m.title,level:m.level,color:m.color,children:[]}))}catch(g){return console.error("Error fetching tag one data:",g),[]}},c=async()=>{try{return(await Tr({url:"/api/protected/tagtwo",method:"GET"})).data.data.map(m=>({key:m.tagKey,title:m.title,level:m.level,color:m.color,fatherTag:m.fatherTag}))}catch(g){return console.error("Error fetching tag two data:",g),[]}},f=g=>{console.log(g),n(g)},h=g=>{console.log(g),i(g)},d=()=>{if(t.length===0){fr.warning("待选中");return}Tr({url:"/api/protected/tag",method:"DELETE",data:t}).then(g=>{g.status===200&&(s(),n([]),e.current&&(e.current.state.selectedKeys=[]),l(Lk()),fr.success("删除成功"))})},p=g=>{var m;if(g.level==="level_1"){let v;g.color&&g.color.toHexString?v=g.color.toHexString():v="black";const y={title:g.title,color:v};Tr({url:"/api/protected/tagone",method:"POST",data:y}).then(async b=>{b.status===200&&(await s(),l(Lk()),fr.success("添加成功"))}).catch(async()=>{await fr.error("添加失败:已存在")})}else{const v=o.find(y=>y.key===g.fatherTag);if(v){const y=(m=v.children)==null?void 0:m.length,b={title:g.title,tagKey:(v==null?void 0:v.children.length)>0?v.children[y-1].key+1:v.key*100+1,color:v.color,fatherTag:v.title};console.log(b),Tr({url:"/api/protected/tagtwo",method:"POST",data:b}).then(C=>{C.status===200&&(s(),l(Lk()),fr.success("添加成功"))}).catch(()=>{fr.error("添加失败:已存在")})}}};return ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"tag_card",children:[ge.jsx("div",{className:"newTagForm",children:ge.jsxs(ur,{initialValues:{tagType:"一级标签"},style:{maxWidth:"400px"},name:"标签管理",onFinish:p,children:[ge.jsxs("h2",{style:{marginBottom:"20px"},children:[ge.jsx(WVt,{})," 标签管理"]}),ge.jsx(ur.Item,{name:"title",label:"标签名称",rules:[{required:!0,message:"必填项"}],children:ge.jsx(au,{})}),ge.jsx(ur.Item,{name:"level",label:"标签等级",children:ge.jsx(Ps,{options:[{value:"level_1",label:"一级标签"},{value:"level_2",label:"二级标签"}],onChange:h})}),r==="level_2"&&ge.jsx(ur.Item,{name:"fatherTag",label:"父标签",shouldUpdate:!0,children:ge.jsx(Ps,{options:o.map(({children:g,...m})=>({...m})).map(g=>({value:g.key,label:g.title}))})}),r==="level_1"&&ge.jsx(ur.Item,{name:"color",label:"标签颜色",children:ge.jsx(Vze,{defaultValue:"black",showText:!0,format:"hex"})}),ge.jsxs(ur.Item,{children:[ge.jsx(Ei,{type:"primary",htmlType:"submit",children:"添加"}),ge.jsx(Ei,{type:"primary",style:{marginLeft:20,backgroundColor:"#f5222d"},onClick:d,children:"删除"})]}),ge.jsx(j0t,{message:`选中删除标签:${t.length} 个`,type:"warning",showIcon:!0,style:{position:"absolute",transition:"0.3s",opacity:t.length===0?0:1}})]})}),ge.jsx("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",height:"100%"},children:ge.jsx(OFe,{showLine:!0,multiple:!0,defaultExpandAll:!0,onSelect:f,treeData:o,titleRender:g=>ge.jsx(o7,{color:g.color,children:g.title}),ref:e,virtual:!0,height:500})})]})})},oWn=Mdt([{index:!0,element:ge.jsx(SDt,{})},{path:"/dashboard",element:ge.jsxs(DDt,{children:[" ",ge.jsx(jDt,{})," "]}),children:[{index:!0,element:ge.jsx($Vt,{})},{path:"notes",element:ge.jsx(XVt,{}),children:[{index:!0,element:ge.jsx(dPn,{})},{path:"newnote/:id?",element:ge.jsx(nWn,{})},{path:"allcategorize",element:ge.jsx(rWn,{})},{path:"alltags",element:ge.jsx(iWn,{})}]},{path:"comments",element:ge.jsx(Wtn,{})},{path:"albums",element:ge.jsx(Xtn,{})},{path:"friends",element:ge.jsx(Ytn,{})},{path:"analytics",element:ge.jsx(lPn,{})},{path:"usercontrol",element:ge.jsx(cPn,{})}]}]),lat=W$({name:"talks",initialState:{talks:[]},reducers:{setTalks:(e,t)=>{e.talks=t.payload}}});lat.actions;const aWn=lat.reducer,lWn=Akt({reducer:{user:yDt,talks:aWn,categories:$Dt,tags:RDt,notes:kDt}});uY.createRoot(document.getElementById("root")).render(ge.jsx(XAt,{store:lWn,children:ge.jsx(zdt,{router:oWn})}));export{so as g}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/index.html b/index.html index c4d7739..eb211ca 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Vite + React + TS - +